Package com.daml.ledger.api.v1.admin
Class UserManagementServiceOuterClass.ListUsersRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
- com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.ListUsersRequest.Builder
-
- All Implemented Interfaces:
UserManagementServiceOuterClass.ListUsersRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UserManagementServiceOuterClass.ListUsersRequest
public static final class UserManagementServiceOuterClass.ListUsersRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder> implements UserManagementServiceOuterClass.ListUsersRequestOrBuilder
Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)``
Protobuf typecom.daml.ledger.api.v1.admin.ListUsersRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserManagementServiceOuterClass.ListUsersRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserManagementServiceOuterClass.ListUsersRequest
build()
UserManagementServiceOuterClass.ListUsersRequest
buildPartial()
UserManagementServiceOuterClass.ListUsersRequest.Builder
clear()
UserManagementServiceOuterClass.ListUsersRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UserManagementServiceOuterClass.ListUsersRequest.Builder
clearIdentityProviderId()
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.UserManagementServiceOuterClass.ListUsersRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UserManagementServiceOuterClass.ListUsersRequest.Builder
clearPageSize()
Maximum number of results to be returned by the server.UserManagementServiceOuterClass.ListUsersRequest.Builder
clearPageToken()
Pagination token to determine the specific page to fetch.UserManagementServiceOuterClass.ListUsersRequest.Builder
clone()
UserManagementServiceOuterClass.ListUsersRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getIdentityProviderId()
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.com.google.protobuf.ByteString
getIdentityProviderIdBytes()
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.int
getPageSize()
Maximum number of results to be returned by the server.java.lang.String
getPageToken()
Pagination token to determine the specific page to fetch.com.google.protobuf.ByteString
getPageTokenBytes()
Pagination token to determine the specific page to fetch.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UserManagementServiceOuterClass.ListUsersRequest.Builder
mergeFrom(UserManagementServiceOuterClass.ListUsersRequest other)
UserManagementServiceOuterClass.ListUsersRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UserManagementServiceOuterClass.ListUsersRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UserManagementServiceOuterClass.ListUsersRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UserManagementServiceOuterClass.ListUsersRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserManagementServiceOuterClass.ListUsersRequest.Builder
setIdentityProviderId(java.lang.String value)
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.UserManagementServiceOuterClass.ListUsersRequest.Builder
setIdentityProviderIdBytes(com.google.protobuf.ByteString value)
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.UserManagementServiceOuterClass.ListUsersRequest.Builder
setPageSize(int value)
Maximum number of results to be returned by the server.UserManagementServiceOuterClass.ListUsersRequest.Builder
setPageToken(java.lang.String value)
Pagination token to determine the specific page to fetch.UserManagementServiceOuterClass.ListUsersRequest.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
Pagination token to determine the specific page to fetch.UserManagementServiceOuterClass.ListUsersRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
UserManagementServiceOuterClass.ListUsersRequest.Builder
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, internalGetMutableMapField, 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
-
-
-
-
Method Detail
-
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<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
clear
public UserManagementServiceOuterClass.ListUsersRequest.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<UserManagementServiceOuterClass.ListUsersRequest.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<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
getDefaultInstanceForType
public UserManagementServiceOuterClass.ListUsersRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserManagementServiceOuterClass.ListUsersRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserManagementServiceOuterClass.ListUsersRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserManagementServiceOuterClass.ListUsersRequest.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<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
setField
public UserManagementServiceOuterClass.ListUsersRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
clearField
public UserManagementServiceOuterClass.ListUsersRequest.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<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
clearOneof
public UserManagementServiceOuterClass.ListUsersRequest.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<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
setRepeatedField
public UserManagementServiceOuterClass.ListUsersRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
addRepeatedField
public UserManagementServiceOuterClass.ListUsersRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUsersRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUsersRequest.Builder mergeFrom(UserManagementServiceOuterClass.ListUsersRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUsersRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<UserManagementServiceOuterClass.ListUsersRequest.Builder>
- Throws:
java.io.IOException
-
getPageToken
public java.lang.String getPageToken()
Pagination token to determine the specific page to fetch. Leave empty to fetch the first page. Optional
string page_token = 2 [json_name = "pageToken"];
- Specified by:
getPageToken
in interfaceUserManagementServiceOuterClass.ListUsersRequestOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
Pagination token to determine the specific page to fetch. Leave empty to fetch the first page. Optional
string page_token = 2 [json_name = "pageToken"];
- Specified by:
getPageTokenBytes
in interfaceUserManagementServiceOuterClass.ListUsersRequestOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
public UserManagementServiceOuterClass.ListUsersRequest.Builder setPageToken(java.lang.String value)
Pagination token to determine the specific page to fetch. 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
public UserManagementServiceOuterClass.ListUsersRequest.Builder clearPageToken()
Pagination token to determine the specific page to fetch. Leave empty to fetch the first page. Optional
string page_token = 2 [json_name = "pageToken"];
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public UserManagementServiceOuterClass.ListUsersRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Pagination token to determine the specific page to fetch. 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 0, the server will decide the number of results to be returned. Optional
int32 page_size = 3 [json_name = "pageSize"];
- Specified by:
getPageSize
in interfaceUserManagementServiceOuterClass.ListUsersRequestOrBuilder
- Returns:
- The pageSize.
-
setPageSize
public UserManagementServiceOuterClass.ListUsersRequest.Builder setPageSize(int value)
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 0, the server will decide the number of results to be returned. Optional
int32 page_size = 3 [json_name = "pageSize"];
- Parameters:
value
- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public UserManagementServiceOuterClass.ListUsersRequest.Builder 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 0, the server will decide the number of results to be returned. Optional
int32 page_size = 3 [json_name = "pageSize"];
- Returns:
- This builder for chaining.
-
getIdentityProviderId
public java.lang.String getIdentityProviderId()
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.
string identity_provider_id = 4 [json_name = "identityProviderId"];
- Specified by:
getIdentityProviderId
in interfaceUserManagementServiceOuterClass.ListUsersRequestOrBuilder
- Returns:
- The identityProviderId.
-
getIdentityProviderIdBytes
public com.google.protobuf.ByteString getIdentityProviderIdBytes()
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.
string identity_provider_id = 4 [json_name = "identityProviderId"];
- Specified by:
getIdentityProviderIdBytes
in interfaceUserManagementServiceOuterClass.ListUsersRequestOrBuilder
- Returns:
- The bytes for identityProviderId.
-
setIdentityProviderId
public UserManagementServiceOuterClass.ListUsersRequest.Builder setIdentityProviderId(java.lang.String value)
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.
string identity_provider_id = 4 [json_name = "identityProviderId"];
- Parameters:
value
- The identityProviderId to set.- Returns:
- This builder for chaining.
-
clearIdentityProviderId
public UserManagementServiceOuterClass.ListUsersRequest.Builder clearIdentityProviderId()
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.
string identity_provider_id = 4 [json_name = "identityProviderId"];
- Returns:
- This builder for chaining.
-
setIdentityProviderIdBytes
public UserManagementServiceOuterClass.ListUsersRequest.Builder setIdentityProviderIdBytes(com.google.protobuf.ByteString value)
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.
string identity_provider_id = 4 [json_name = "identityProviderId"];
- Parameters:
value
- The bytes for identityProviderId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserManagementServiceOuterClass.ListUsersRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
mergeUnknownFields
public final UserManagementServiceOuterClass.ListUsersRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUsersRequest.Builder>
-
-