Package com.daml.ledger.api.v2.admin
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The id of the ``Identity Provider`` whose parties should be retrieved.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Maximum number of results to be returned by the server.Pagination token to determine the specific page to fetch.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The id of the ``Identity Provider`` whose parties should be retrieved.com.google.protobuf.ByteString
The id of the ``Identity Provider`` whose parties should be retrieved.int
Maximum number of results to be returned by the server.Pagination token to determine the specific page to fetch.com.google.protobuf.ByteString
Pagination token to determine the specific page to fetch.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setIdentityProviderId
(String value) The id of the ``Identity Provider`` whose parties should be retrieved.setIdentityProviderIdBytes
(com.google.protobuf.ByteString value) The id of the ``Identity Provider`` whose parties should be retrieved.setPageSize
(int value) Maximum number of results to be returned by the server.setPageToken
(String value) Pagination token to determine the specific page to fetch.setPageTokenBytes
(com.google.protobuf.ByteString value) Pagination token to determine the specific page to fetch.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-
clearField
public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-
clearOneof
public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
- Throws:
IOException
-
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 interfacePartyManagementServiceOuterClass.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 interfacePartyManagementServiceOuterClass.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 interfacePartyManagementServiceOuterClass.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
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 interfacePartyManagementServiceOuterClass.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 interfacePartyManagementServiceOuterClass.ListKnownPartiesRequestOrBuilder
- Returns:
- The bytes for identityProviderId.
-
setIdentityProviderId
public PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder setIdentityProviderId(String 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 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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-
mergeUnknownFields
public final PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.ListKnownPartiesRequest.Builder>
-