Package com.daml.ledger.api.v1.admin
Class UserManagementServiceOuterClass.ListUserRightsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUserRightsRequest.Builder>
-
- com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.ListUserRightsRequest.Builder
-
- All Implemented Interfaces:
UserManagementServiceOuterClass.ListUserRightsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UserManagementServiceOuterClass.ListUserRightsRequest
public static final class UserManagementServiceOuterClass.ListUserRightsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUserRightsRequest.Builder> implements UserManagementServiceOuterClass.ListUserRightsRequestOrBuilder
Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id) OR IsAuthenticatedUser(user_id)``
Protobuf typecom.daml.ledger.api.v1.admin.ListUserRightsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserManagementServiceOuterClass.ListUserRightsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserManagementServiceOuterClass.ListUserRightsRequest
build()
UserManagementServiceOuterClass.ListUserRightsRequest
buildPartial()
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
clear()
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
clearIdentityProviderId()
The id of the ``Identity Provider`` Optional, if not set, assume the user is managed by the default identity provider.UserManagementServiceOuterClass.ListUserRightsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
clearUserId()
The user for which to list the rights.UserManagementServiceOuterClass.ListUserRightsRequest.Builder
clone()
UserManagementServiceOuterClass.ListUserRightsRequest
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.java.lang.String
getUserId()
The user for which to list the rights.com.google.protobuf.ByteString
getUserIdBytes()
The user for which to list the rights.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
mergeFrom(UserManagementServiceOuterClass.ListUserRightsRequest other)
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.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.ListUserRightsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UserManagementServiceOuterClass.ListUserRightsRequest.Builder
setUserId(java.lang.String value)
The user for which to list the rights.UserManagementServiceOuterClass.ListUserRightsRequest.Builder
setUserIdBytes(com.google.protobuf.ByteString value)
The user for which to list the rights.-
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.ListUserRightsRequest.Builder>
-
clear
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
getDefaultInstanceForType
public UserManagementServiceOuterClass.ListUserRightsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserManagementServiceOuterClass.ListUserRightsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserManagementServiceOuterClass.ListUserRightsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
setField
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
clearField
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
clearOneof
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
setRepeatedField
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
addRepeatedField
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUserRightsRequest.Builder mergeFrom(UserManagementServiceOuterClass.ListUserRightsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUserRightsRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
- Throws:
java.io.IOException
-
getUserId
public java.lang.String getUserId()
The user for which to list the rights. If set to empty string (the default), then the rights for the authenticated user will be listed. Required
string user_id = 1 [json_name = "userId"];
- Specified by:
getUserId
in interfaceUserManagementServiceOuterClass.ListUserRightsRequestOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()
The user for which to list the rights. If set to empty string (the default), then the rights for the authenticated user will be listed. Required
string user_id = 1 [json_name = "userId"];
- Specified by:
getUserIdBytes
in interfaceUserManagementServiceOuterClass.ListUserRightsRequestOrBuilder
- Returns:
- The bytes for userId.
-
setUserId
public UserManagementServiceOuterClass.ListUserRightsRequest.Builder setUserId(java.lang.String value)
The user for which to list the rights. If set to empty string (the default), then the rights for the authenticated user will be listed. Required
string user_id = 1 [json_name = "userId"];
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
public UserManagementServiceOuterClass.ListUserRightsRequest.Builder clearUserId()
The user for which to list the rights. If set to empty string (the default), then the rights for the authenticated user will be listed. Required
string user_id = 1 [json_name = "userId"];
- Returns:
- This builder for chaining.
-
setUserIdBytes
public UserManagementServiceOuterClass.ListUserRightsRequest.Builder setUserIdBytes(com.google.protobuf.ByteString value)
The user for which to list the rights. If set to empty string (the default), then the rights for the authenticated user will be listed. Required
string user_id = 1 [json_name = "userId"];
- Parameters:
value
- The bytes for userId to set.- 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 = 2 [json_name = "identityProviderId"];
- Specified by:
getIdentityProviderId
in interfaceUserManagementServiceOuterClass.ListUserRightsRequestOrBuilder
- 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 = 2 [json_name = "identityProviderId"];
- Specified by:
getIdentityProviderIdBytes
in interfaceUserManagementServiceOuterClass.ListUserRightsRequestOrBuilder
- Returns:
- The bytes for identityProviderId.
-
setIdentityProviderId
public UserManagementServiceOuterClass.ListUserRightsRequest.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 = 2 [json_name = "identityProviderId"];
- Parameters:
value
- The identityProviderId to set.- Returns:
- This builder for chaining.
-
clearIdentityProviderId
public UserManagementServiceOuterClass.ListUserRightsRequest.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 = 2 [json_name = "identityProviderId"];
- Returns:
- This builder for chaining.
-
setIdentityProviderIdBytes
public UserManagementServiceOuterClass.ListUserRightsRequest.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 = 2 [json_name = "identityProviderId"];
- Parameters:
value
- The bytes for identityProviderId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
mergeUnknownFields
public final UserManagementServiceOuterClass.ListUserRightsRequest.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.ListUserRightsRequest.Builder>
-
-