# Copyright (c) 2017-2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# fmt: off
# isort: skip_file
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: com/digitalasset/canton/participant/admin/v0/package_service.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nBcom/digitalasset/canton/participant/admin/v0/package_service.proto\x12,com.digitalasset.canton.participant.admin.v0\x1a\x1bgoogle/protobuf/empty.proto\";\n\x1aListPackageContentsRequest\x12\x1d\n\npackage_id\x18\x01 \x01(\tR\tpackageId\"x\n\x1bListPackageContentsResponse\x12Y\n\x07modules\x18\x01 \x03(\x0b\x32?.com.digitalasset.canton.participant.admin.v0.ModuleDescriptionR\x07modules\"/\n\x16ListDarContentsRequest\x12\x15\n\x06\x64\x61r_id\x18\x01 \x01(\tR\x05\x64\x61rId\"\x8f\x01\n\x17ListDarContentsResponse\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04main\x18\x02 \x01(\tR\x04main\x12\x1a\n\x08packages\x18\x03 \x03(\tR\x08packages\x12\"\n\x0c\x64\x65pendencies\x18\x04 \x03(\tR\x0c\x64\x65pendencies\"K\n\x14RemovePackageRequest\x12\x1d\n\npackage_id\x18\x01 \x01(\tR\tpackageId\x12\x14\n\x05\x66orce\x18\x02 \x01(\x08R\x05\x66orce\"I\n\x15RemovePackageResponse\x12\x30\n\x07success\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x07success\"-\n\x10RemoveDarRequest\x12\x19\n\x08\x64\x61r_hash\x18\x01 \x01(\tR\x07\x64\x61rHash\"E\n\x11RemoveDarResponse\x12\x30\n\x07success\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x07success\"\'\n\x11ModuleDescription\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"+\n\x13ListPackagesRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\"\x8b\x01\n\x14ListPackagesResponse\x12s\n\x14package_descriptions\x18\x01 \x03(\x0b\x32@.com.digitalasset.canton.participant.admin.v0.PackageDescriptionR\x13packageDescriptions\"\'\n\x0fListDarsRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\"d\n\x10ListDarsResponse\x12P\n\x04\x64\x61rs\x18\x01 \x03(\x0b\x32<.com.digitalasset.canton.participant.admin.v0.DarDescriptionR\x04\x64\x61rs\"8\n\x0e\x44\x61rDescription\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x9d\x01\n\x10UploadDarRequest\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x1a\n\x08\x66ilename\x18\x02 \x01(\tR\x08\x66ilename\x12(\n\x10vet_all_packages\x18\x03 \x01(\x08R\x0evetAllPackages\x12/\n\x13synchronize_vetting\x18\x04 \x01(\x08R\x12synchronizeVetting\"\xa8\x02\n\x11UploadDarResponse\x12\x63\n\x07success\x18\x01 \x01(\x0b\x32G.com.digitalasset.canton.participant.admin.v0.UploadDarResponse.SuccessH\x00R\x07success\x12\x63\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32G.com.digitalasset.canton.participant.admin.v0.UploadDarResponse.FailureH\x00R\x07\x66\x61ilure\x1a\x1d\n\x07Success\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\x1a!\n\x07\x46\x61ilure\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reasonB\x07\n\x05value\"#\n\rGetDarRequest\x12\x12\n\x04hash\x18\x01 \x01(\tR\x04hash\"8\n\x0eGetDarResponse\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"b\n\x12PackageDescription\x12\x1d\n\npackage_id\x18\x01 \x01(\tR\tpackageId\x12-\n\x12source_description\x18\x03 \x01(\tR\x11sourceDescription\"L\n\x0cShareRequest\x12\x19\n\x08\x64\x61r_hash\x18\x01 \x01(\tR\x07\x64\x61rHash\x12!\n\x0crecipient_id\x18\x02 \x01(\tR\x0brecipientId\"\xfa\x01\n\x19ListShareRequestsResponse\x12s\n\x0eshare_requests\x18\x01 \x03(\x0b\x32L.com.digitalasset.canton.participant.admin.v0.ListShareRequestsResponse.ItemR\rshareRequests\x1ah\n\x04Item\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x64\x61r_hash\x18\x02 \x01(\tR\x07\x64\x61rHash\x12!\n\x0crecipient_id\x18\x03 \x01(\tR\x0brecipientId\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"\xea\x01\n\x17ListShareOffersResponse\x12m\n\x0cshare_offers\x18\x01 \x03(\x0b\x32J.com.digitalasset.canton.participant.admin.v0.ListShareOffersResponse.ItemR\x0bshareOffers\x1a`\n\x04Item\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x64\x61r_hash\x18\x02 \x01(\tR\x07\x64\x61rHash\x12\x19\n\x08owner_id\x18\x03 \x01(\tR\x07ownerId\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\")\n\x17\x41\x63\x63\x65ptShareOfferRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"A\n\x17RejectShareOfferRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\"3\n\x16WhitelistChangeRequest\x12\x19\n\x08party_id\x18\x01 \x01(\tR\x07partyId\"4\n\x15WhitelistListResponse\x12\x1b\n\tparty_ids\x18\x01 \x03(\tR\x08partyIds2\xb9\x10\n\x0ePackageService\x12\x95\x01\n\x0cListPackages\x12\x41.com.digitalasset.canton.participant.admin.v0.ListPackagesRequest\x1a\x42.com.digitalasset.canton.participant.admin.v0.ListPackagesResponse\x12\xaa\x01\n\x13ListPackageContents\x12H.com.digitalasset.canton.participant.admin.v0.ListPackageContentsRequest\x1aI.com.digitalasset.canton.participant.admin.v0.ListPackageContentsResponse\x12\x89\x01\n\x08ListDars\x12=.com.digitalasset.canton.participant.admin.v0.ListDarsRequest\x1a>.com.digitalasset.canton.participant.admin.v0.ListDarsResponse\x12\x9e\x01\n\x0fListDarContents\x12\x44.com.digitalasset.canton.participant.admin.v0.ListDarContentsRequest\x1a\x45.com.digitalasset.canton.participant.admin.v0.ListDarContentsResponse\x12\x8c\x01\n\tUploadDar\x12>.com.digitalasset.canton.participant.admin.v0.UploadDarRequest\x1a?.com.digitalasset.canton.participant.admin.v0.UploadDarResponse\x12\x98\x01\n\rRemovePackage\x12\x42.com.digitalasset.canton.participant.admin.v0.RemovePackageRequest\x1a\x43.com.digitalasset.canton.participant.admin.v0.RemovePackageResponse\x12\x8c\x01\n\tRemoveDar\x12>.com.digitalasset.canton.participant.admin.v0.RemoveDarRequest\x1a?.com.digitalasset.canton.participant.admin.v0.RemoveDarResponse\x12\x83\x01\n\x06GetDar\x12;.com.digitalasset.canton.participant.admin.v0.GetDarRequest\x1a<.com.digitalasset.canton.participant.admin.v0.GetDarResponse\x12[\n\x05Share\x12:.com.digitalasset.canton.participant.admin.v0.ShareRequest\x1a\x16.google.protobuf.Empty\x12t\n\x11ListShareRequests\x12\x16.google.protobuf.Empty\x1aG.com.digitalasset.canton.participant.admin.v0.ListShareRequestsResponse\x12p\n\x0fListShareOffers\x12\x16.google.protobuf.Empty\x1a\x45.com.digitalasset.canton.participant.admin.v0.ListShareOffersResponse\x12q\n\x10\x41\x63\x63\x65ptShareOffer\x12\x45.com.digitalasset.canton.participant.admin.v0.AcceptShareOfferRequest\x1a\x16.google.protobuf.Empty\x12q\n\x10RejectShareOffer\x12\x45.com.digitalasset.canton.participant.admin.v0.RejectShareOfferRequest\x1a\x16.google.protobuf.Empty\x12l\n\x0cWhitelistAdd\x12\x44.com.digitalasset.canton.participant.admin.v0.WhitelistChangeRequest\x1a\x16.google.protobuf.Empty\x12o\n\x0fWhitelistRemove\x12\x44.com.digitalasset.canton.participant.admin.v0.WhitelistChangeRequest\x1a\x16.google.protobuf.Empty\x12l\n\rWhitelistList\x12\x16.google.protobuf.Empty\x1a\x43.com.digitalasset.canton.participant.admin.v0.WhitelistListResponseB]Z[github.com/digital-asset/dazl-client/v7/go/api/com/digitalasset/canton/participant/admin/v0b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.digitalasset.canton.participant.admin.v0.package_service_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z[github.com/digital-asset/dazl-client/v7/go/api/com/digitalasset/canton/participant/admin/v0'
  _globals['_LISTPACKAGECONTENTSREQUEST']._serialized_start=145
  _globals['_LISTPACKAGECONTENTSREQUEST']._serialized_end=204
  _globals['_LISTPACKAGECONTENTSRESPONSE']._serialized_start=206
  _globals['_LISTPACKAGECONTENTSRESPONSE']._serialized_end=326
  _globals['_LISTDARCONTENTSREQUEST']._serialized_start=328
  _globals['_LISTDARCONTENTSREQUEST']._serialized_end=375
  _globals['_LISTDARCONTENTSRESPONSE']._serialized_start=378
  _globals['_LISTDARCONTENTSRESPONSE']._serialized_end=521
  _globals['_REMOVEPACKAGEREQUEST']._serialized_start=523
  _globals['_REMOVEPACKAGEREQUEST']._serialized_end=598
  _globals['_REMOVEPACKAGERESPONSE']._serialized_start=600
  _globals['_REMOVEPACKAGERESPONSE']._serialized_end=673
  _globals['_REMOVEDARREQUEST']._serialized_start=675
  _globals['_REMOVEDARREQUEST']._serialized_end=720
  _globals['_REMOVEDARRESPONSE']._serialized_start=722
  _globals['_REMOVEDARRESPONSE']._serialized_end=791
  _globals['_MODULEDESCRIPTION']._serialized_start=793
  _globals['_MODULEDESCRIPTION']._serialized_end=832
  _globals['_LISTPACKAGESREQUEST']._serialized_start=834
  _globals['_LISTPACKAGESREQUEST']._serialized_end=877
  _globals['_LISTPACKAGESRESPONSE']._serialized_start=880
  _globals['_LISTPACKAGESRESPONSE']._serialized_end=1019
  _globals['_LISTDARSREQUEST']._serialized_start=1021
  _globals['_LISTDARSREQUEST']._serialized_end=1060
  _globals['_LISTDARSRESPONSE']._serialized_start=1062
  _globals['_LISTDARSRESPONSE']._serialized_end=1162
  _globals['_DARDESCRIPTION']._serialized_start=1164
  _globals['_DARDESCRIPTION']._serialized_end=1220
  _globals['_UPLOADDARREQUEST']._serialized_start=1223
  _globals['_UPLOADDARREQUEST']._serialized_end=1380
  _globals['_UPLOADDARRESPONSE']._serialized_start=1383
  _globals['_UPLOADDARRESPONSE']._serialized_end=1679
  _globals['_UPLOADDARRESPONSE_SUCCESS']._serialized_start=1606
  _globals['_UPLOADDARRESPONSE_SUCCESS']._serialized_end=1635
  _globals['_UPLOADDARRESPONSE_FAILURE']._serialized_start=1637
  _globals['_UPLOADDARRESPONSE_FAILURE']._serialized_end=1670
  _globals['_GETDARREQUEST']._serialized_start=1681
  _globals['_GETDARREQUEST']._serialized_end=1716
  _globals['_GETDARRESPONSE']._serialized_start=1718
  _globals['_GETDARRESPONSE']._serialized_end=1774
  _globals['_PACKAGEDESCRIPTION']._serialized_start=1776
  _globals['_PACKAGEDESCRIPTION']._serialized_end=1874
  _globals['_SHAREREQUEST']._serialized_start=1876
  _globals['_SHAREREQUEST']._serialized_end=1952
  _globals['_LISTSHAREREQUESTSRESPONSE']._serialized_start=1955
  _globals['_LISTSHAREREQUESTSRESPONSE']._serialized_end=2205
  _globals['_LISTSHAREREQUESTSRESPONSE_ITEM']._serialized_start=2101
  _globals['_LISTSHAREREQUESTSRESPONSE_ITEM']._serialized_end=2205
  _globals['_LISTSHAREOFFERSRESPONSE']._serialized_start=2208
  _globals['_LISTSHAREOFFERSRESPONSE']._serialized_end=2442
  _globals['_LISTSHAREOFFERSRESPONSE_ITEM']._serialized_start=2346
  _globals['_LISTSHAREOFFERSRESPONSE_ITEM']._serialized_end=2442
  _globals['_ACCEPTSHAREOFFERREQUEST']._serialized_start=2444
  _globals['_ACCEPTSHAREOFFERREQUEST']._serialized_end=2485
  _globals['_REJECTSHAREOFFERREQUEST']._serialized_start=2487
  _globals['_REJECTSHAREOFFERREQUEST']._serialized_end=2552
  _globals['_WHITELISTCHANGEREQUEST']._serialized_start=2554
  _globals['_WHITELISTCHANGEREQUEST']._serialized_end=2605
  _globals['_WHITELISTLISTRESPONSE']._serialized_start=2607
  _globals['_WHITELISTLISTRESPONSE']._serialized_end=2659
  _globals['_PACKAGESERVICE']._serialized_start=2662
  _globals['_PACKAGESERVICE']._serialized_end=4767
# @@protoc_insertion_point(module_scope)
