Package com.daml.ledger.api.v1.admin
Class UserManagementServiceOuterClass.CreateUserRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.CreateUserRequest.Builder>
-
- com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.CreateUserRequest.Builder
-
- All Implemented Interfaces:
UserManagementServiceOuterClass.CreateUserRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UserManagementServiceOuterClass.CreateUserRequest
public static final class UserManagementServiceOuterClass.CreateUserRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.CreateUserRequest.Builder> implements UserManagementServiceOuterClass.CreateUserRequestOrBuilder
Required authorization: ``HasRight(ParticipantAdmin)``
Protobuf typecom.daml.ledger.api.v1.admin.CreateUserRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserManagementServiceOuterClass.CreateUserRequest.Builder
addAllRights(java.lang.Iterable<? extends UserManagementServiceOuterClass.Right> values)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserManagementServiceOuterClass.CreateUserRequest.Builder
addRights(int index, UserManagementServiceOuterClass.Right value)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest.Builder
addRights(int index, UserManagementServiceOuterClass.Right.Builder builderForValue)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest.Builder
addRights(UserManagementServiceOuterClass.Right value)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest.Builder
addRights(UserManagementServiceOuterClass.Right.Builder builderForValue)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.Right.Builder
addRightsBuilder()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.Right.Builder
addRightsBuilder(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest
build()
UserManagementServiceOuterClass.CreateUserRequest
buildPartial()
UserManagementServiceOuterClass.CreateUserRequest.Builder
clear()
UserManagementServiceOuterClass.CreateUserRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UserManagementServiceOuterClass.CreateUserRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UserManagementServiceOuterClass.CreateUserRequest.Builder
clearRights()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest.Builder
clearUser()
The user to create.UserManagementServiceOuterClass.CreateUserRequest.Builder
clone()
UserManagementServiceOuterClass.CreateUserRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
UserManagementServiceOuterClass.Right
getRights(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.Right.Builder
getRightsBuilder(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.java.util.List<UserManagementServiceOuterClass.Right.Builder>
getRightsBuilderList()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.int
getRightsCount()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.java.util.List<UserManagementServiceOuterClass.Right>
getRightsList()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.RightOrBuilder
getRightsOrBuilder(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.java.util.List<? extends UserManagementServiceOuterClass.RightOrBuilder>
getRightsOrBuilderList()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.User
getUser()
The user to create.UserManagementServiceOuterClass.User.Builder
getUserBuilder()
The user to create.UserManagementServiceOuterClass.UserOrBuilder
getUserOrBuilder()
The user to create.boolean
hasUser()
The user to create.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UserManagementServiceOuterClass.CreateUserRequest.Builder
mergeFrom(UserManagementServiceOuterClass.CreateUserRequest other)
UserManagementServiceOuterClass.CreateUserRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UserManagementServiceOuterClass.CreateUserRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UserManagementServiceOuterClass.CreateUserRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UserManagementServiceOuterClass.CreateUserRequest.Builder
mergeUser(UserManagementServiceOuterClass.User value)
The user to create.UserManagementServiceOuterClass.CreateUserRequest.Builder
removeRights(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserManagementServiceOuterClass.CreateUserRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
UserManagementServiceOuterClass.CreateUserRequest.Builder
setRights(int index, UserManagementServiceOuterClass.Right value)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest.Builder
setRights(int index, UserManagementServiceOuterClass.Right.Builder builderForValue)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``.UserManagementServiceOuterClass.CreateUserRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UserManagementServiceOuterClass.CreateUserRequest.Builder
setUser(UserManagementServiceOuterClass.User value)
The user to create.UserManagementServiceOuterClass.CreateUserRequest.Builder
setUser(UserManagementServiceOuterClass.User.Builder builderForValue)
The user to create.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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.CreateUserRequest.Builder>
-
clear
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.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.CreateUserRequest.Builder>
-
getDefaultInstanceForType
public UserManagementServiceOuterClass.CreateUserRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserManagementServiceOuterClass.CreateUserRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserManagementServiceOuterClass.CreateUserRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
setField
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
clearField
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
clearOneof
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
setRepeatedField
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
addRepeatedField
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.CreateUserRequest.Builder mergeFrom(UserManagementServiceOuterClass.CreateUserRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.CreateUserRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
- Throws:
java.io.IOException
-
hasUser
public boolean hasUser()
The user to create. Required
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
- Specified by:
hasUser
in interfaceUserManagementServiceOuterClass.CreateUserRequestOrBuilder
- Returns:
- Whether the user field is set.
-
getUser
public UserManagementServiceOuterClass.User getUser()
The user to create. Required
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
- Specified by:
getUser
in interfaceUserManagementServiceOuterClass.CreateUserRequestOrBuilder
- Returns:
- The user.
-
setUser
public UserManagementServiceOuterClass.CreateUserRequest.Builder setUser(UserManagementServiceOuterClass.User value)
The user to create. Required
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
setUser
public UserManagementServiceOuterClass.CreateUserRequest.Builder setUser(UserManagementServiceOuterClass.User.Builder builderForValue)
The user to create. Required
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
mergeUser
public UserManagementServiceOuterClass.CreateUserRequest.Builder mergeUser(UserManagementServiceOuterClass.User value)
The user to create. Required
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
clearUser
public UserManagementServiceOuterClass.CreateUserRequest.Builder clearUser()
The user to create. Required
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
getUserBuilder
public UserManagementServiceOuterClass.User.Builder getUserBuilder()
The user to create. Required
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
getUserOrBuilder
public UserManagementServiceOuterClass.UserOrBuilder getUserOrBuilder()
The user to create. Required
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
- Specified by:
getUserOrBuilder
in interfaceUserManagementServiceOuterClass.CreateUserRequestOrBuilder
-
getRightsList
public java.util.List<UserManagementServiceOuterClass.Right> getRightsList()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
- Specified by:
getRightsList
in interfaceUserManagementServiceOuterClass.CreateUserRequestOrBuilder
-
getRightsCount
public int getRightsCount()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
- Specified by:
getRightsCount
in interfaceUserManagementServiceOuterClass.CreateUserRequestOrBuilder
-
getRights
public UserManagementServiceOuterClass.Right getRights(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
- Specified by:
getRights
in interfaceUserManagementServiceOuterClass.CreateUserRequestOrBuilder
-
setRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder setRights(int index, UserManagementServiceOuterClass.Right value)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
setRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder setRights(int index, UserManagementServiceOuterClass.Right.Builder builderForValue)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
addRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder addRights(UserManagementServiceOuterClass.Right value)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
addRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder addRights(int index, UserManagementServiceOuterClass.Right value)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
addRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder addRights(UserManagementServiceOuterClass.Right.Builder builderForValue)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
addRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder addRights(int index, UserManagementServiceOuterClass.Right.Builder builderForValue)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
addAllRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder addAllRights(java.lang.Iterable<? extends UserManagementServiceOuterClass.Right> values)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
clearRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder clearRights()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
removeRights
public UserManagementServiceOuterClass.CreateUserRequest.Builder removeRights(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
getRightsBuilder
public UserManagementServiceOuterClass.Right.Builder getRightsBuilder(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
getRightsOrBuilder
public UserManagementServiceOuterClass.RightOrBuilder getRightsOrBuilder(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
- Specified by:
getRightsOrBuilder
in interfaceUserManagementServiceOuterClass.CreateUserRequestOrBuilder
-
getRightsOrBuilderList
public java.util.List<? extends UserManagementServiceOuterClass.RightOrBuilder> getRightsOrBuilderList()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
- Specified by:
getRightsOrBuilderList
in interfaceUserManagementServiceOuterClass.CreateUserRequestOrBuilder
-
addRightsBuilder
public UserManagementServiceOuterClass.Right.Builder addRightsBuilder()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
addRightsBuilder
public UserManagementServiceOuterClass.Right.Builder addRightsBuilder(int index)
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
getRightsBuilderList
public java.util.List<UserManagementServiceOuterClass.Right.Builder> getRightsBuilderList()
The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the ``user.primary_party``. Required
repeated .com.daml.ledger.api.v1.admin.Right rights = 2 [json_name = "rights"];
-
setUnknownFields
public final UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
mergeUnknownFields
public final UserManagementServiceOuterClass.CreateUserRequest.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.CreateUserRequest.Builder>
-
-