Class PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder
All Implemented Interfaces:
PartyManagementServiceOuterClass.ListKnownPartiesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PartyManagementServiceOuterClass.ListKnownPartiesRequest

public static final class PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder> implements PartyManagementServiceOuterClass.ListKnownPartiesRequestOrBuilder
 Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)``
 
Protobuf type com.daml.ledger.api.v2.admin.ListKnownPartiesRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • getDefaultInstanceForType

      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • setField

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • clearField

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • clearOneof

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • setRepeatedField

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • addRepeatedField

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • mergeFrom

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • mergeFrom

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
      Throws:
      IOException
    • getPageToken

      public String getPageToken()
       Pagination token to determine the specific page to fetch. Using the token guarantees that parties on a subsequent
       page are all lexically greater than the last party on a previous page. Server does not store intermediate results
       between calls chained by a series of page tokens. As a consequence, if new parties are being added and a page is
       requested twice using the same token, more parties can be returned on the second call.
       Leave empty to fetch the first page.
       Optional
       
      string page_token = 2 [json_name = "pageToken"];
      Specified by:
      getPageToken in interface PartyManagementServiceOuterClass.ListKnownPartiesRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Pagination token to determine the specific page to fetch. Using the token guarantees that parties on a subsequent
       page are all lexically greater than the last party on a previous page. Server does not store intermediate results
       between calls chained by a series of page tokens. As a consequence, if new parties are being added and a page is
       requested twice using the same token, more parties can be returned on the second call.
       Leave empty to fetch the first page.
       Optional
       
      string page_token = 2 [json_name = "pageToken"];
      Specified by:
      getPageTokenBytes in interface PartyManagementServiceOuterClass.ListKnownPartiesRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

       Pagination token to determine the specific page to fetch. Using the token guarantees that parties on a subsequent
       page are all lexically greater than the last party on a previous page. Server does not store intermediate results
       between calls chained by a series of page tokens. As a consequence, if new parties are being added and a page is
       requested twice using the same token, more parties can be returned on the second call.
       Leave empty to fetch the first page.
       Optional
       
      string page_token = 2 [json_name = "pageToken"];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

       Pagination token to determine the specific page to fetch. Using the token guarantees that parties on a subsequent
       page are all lexically greater than the last party on a previous page. Server does not store intermediate results
       between calls chained by a series of page tokens. As a consequence, if new parties are being added and a page is
       requested twice using the same token, more parties can be returned on the second call.
       Leave empty to fetch the first page.
       Optional
       
      string page_token = 2 [json_name = "pageToken"];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Pagination token to determine the specific page to fetch. Using the token guarantees that parties on a subsequent
       page are all lexically greater than the last party on a previous page. Server does not store intermediate results
       between calls chained by a series of page tokens. As a consequence, if new parties are being added and a page is
       requested twice using the same token, more parties can be returned on the second call.
       Leave empty to fetch the first page.
       Optional
       
      string page_token = 2 [json_name = "pageToken"];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Maximum number of results to be returned by the server. The server will return no more than that many results,
       but it might return fewer. If the page_size is 0, the server will decide the number of results to be returned.
       If the page_size exceeds the maximum supported by the server, an error will be returned. To obtain the server's
       maximum consult the PartyManagementFeature descriptor available in the VersionService.
       Optional
       
      int32 page_size = 3 [json_name = "pageSize"];
      Specified by:
      getPageSize in interface PartyManagementServiceOuterClass.ListKnownPartiesRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

       Maximum number of results to be returned by the server. The server will return no more than that many results,
       but it might return fewer. If the page_size is 0, the server will decide the number of results to be returned.
       If the page_size exceeds the maximum supported by the server, an error will be returned. To obtain the server's
       maximum consult the PartyManagementFeature descriptor available in the VersionService.
       Optional
       
      int32 page_size = 3 [json_name = "pageSize"];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       Maximum number of results to be returned by the server. The server will return no more than that many results,
       but it might return fewer. If the page_size is 0, the server will decide the number of results to be returned.
       If the page_size exceeds the maximum supported by the server, an error will be returned. To obtain the server's
       maximum consult the PartyManagementFeature descriptor available in the VersionService.
       Optional
       
      int32 page_size = 3 [json_name = "pageSize"];
      Returns:
      This builder for chaining.
    • getIdentityProviderId

      public String getIdentityProviderId()
       The id of the ``Identity Provider`` whose parties should be retrieved.
       Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
       
      string identity_provider_id = 1 [json_name = "identityProviderId"];
      Specified by:
      getIdentityProviderId in interface PartyManagementServiceOuterClass.ListKnownPartiesRequestOrBuilder
      Returns:
      The identityProviderId.
    • getIdentityProviderIdBytes

      public com.google.protobuf.ByteString getIdentityProviderIdBytes()
       The id of the ``Identity Provider`` whose parties should be retrieved.
       Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
       
      string identity_provider_id = 1 [json_name = "identityProviderId"];
      Specified by:
      getIdentityProviderIdBytes in interface PartyManagementServiceOuterClass.ListKnownPartiesRequestOrBuilder
      Returns:
      The bytes for identityProviderId.
    • setIdentityProviderId

       The id of the ``Identity Provider`` whose parties should be retrieved.
       Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
       
      string identity_provider_id = 1 [json_name = "identityProviderId"];
      Parameters:
      value - The identityProviderId to set.
      Returns:
      This builder for chaining.
    • clearIdentityProviderId

       The id of the ``Identity Provider`` whose parties should be retrieved.
       Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
       
      string identity_provider_id = 1 [json_name = "identityProviderId"];
      Returns:
      This builder for chaining.
    • setIdentityProviderIdBytes

      public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder setIdentityProviderIdBytes(com.google.protobuf.ByteString value)
       The id of the ``Identity Provider`` whose parties should be retrieved.
       Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
       
      string identity_provider_id = 1 [json_name = "identityProviderId"];
      Parameters:
      value - The bytes for identityProviderId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
    • mergeUnknownFields

      public final PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>