Package com.daml.ledger.api.v1.admin
Class UserManagementServiceOuterClass.UpdateUserRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.UpdateUserRequest.Builder>
-
- com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.UpdateUserRequest.Builder
-
- All Implemented Interfaces:
UserManagementServiceOuterClass.UpdateUserRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UserManagementServiceOuterClass.UpdateUserRequest
public static final class UserManagementServiceOuterClass.UpdateUserRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.UpdateUserRequest.Builder> implements UserManagementServiceOuterClass.UpdateUserRequestOrBuilder
Required authorization: ``HasRight(ParticipantAdmin)``
Protobuf typecom.daml.ledger.api.v1.admin.UpdateUserRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserManagementServiceOuterClass.UpdateUserRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserManagementServiceOuterClass.UpdateUserRequest
build()
UserManagementServiceOuterClass.UpdateUserRequest
buildPartial()
UserManagementServiceOuterClass.UpdateUserRequest.Builder
clear()
UserManagementServiceOuterClass.UpdateUserRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
clearUpdateMask()
An update mask specifies how and which properties of the ``User`` message are to be updated.UserManagementServiceOuterClass.UpdateUserRequest.Builder
clearUser()
The user to update.UserManagementServiceOuterClass.UpdateUserRequest.Builder
clone()
UserManagementServiceOuterClass.UpdateUserRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.FieldMask
getUpdateMask()
An update mask specifies how and which properties of the ``User`` message are to be updated.com.google.protobuf.FieldMask.Builder
getUpdateMaskBuilder()
An update mask specifies how and which properties of the ``User`` message are to be updated.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
An update mask specifies how and which properties of the ``User`` message are to be updated.UserManagementServiceOuterClass.User
getUser()
The user to update.UserManagementServiceOuterClass.User.Builder
getUserBuilder()
The user to update.UserManagementServiceOuterClass.UserOrBuilder
getUserOrBuilder()
The user to update.boolean
hasUpdateMask()
An update mask specifies how and which properties of the ``User`` message are to be updated.boolean
hasUser()
The user to update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UserManagementServiceOuterClass.UpdateUserRequest.Builder
mergeFrom(UserManagementServiceOuterClass.UpdateUserRequest other)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
mergeUpdateMask(com.google.protobuf.FieldMask value)
An update mask specifies how and which properties of the ``User`` message are to be updated.UserManagementServiceOuterClass.UpdateUserRequest.Builder
mergeUser(UserManagementServiceOuterClass.User value)
The user to update.UserManagementServiceOuterClass.UpdateUserRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UserManagementServiceOuterClass.UpdateUserRequest.Builder
setUpdateMask(com.google.protobuf.FieldMask value)
An update mask specifies how and which properties of the ``User`` message are to be updated.UserManagementServiceOuterClass.UpdateUserRequest.Builder
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
An update mask specifies how and which properties of the ``User`` message are to be updated.UserManagementServiceOuterClass.UpdateUserRequest.Builder
setUser(UserManagementServiceOuterClass.User value)
The user to update.UserManagementServiceOuterClass.UpdateUserRequest.Builder
setUser(UserManagementServiceOuterClass.User.Builder builderForValue)
The user to update.-
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.UpdateUserRequest.Builder>
-
clear
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
getDefaultInstanceForType
public UserManagementServiceOuterClass.UpdateUserRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserManagementServiceOuterClass.UpdateUserRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserManagementServiceOuterClass.UpdateUserRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
setField
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
clearField
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
clearOneof
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
setRepeatedField
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
addRepeatedField
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.UpdateUserRequest.Builder mergeFrom(UserManagementServiceOuterClass.UpdateUserRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.UpdateUserRequest.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
- Throws:
java.io.IOException
-
hasUser
public boolean hasUser()
The user to update. Required, Modifiable
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
- Specified by:
hasUser
in interfaceUserManagementServiceOuterClass.UpdateUserRequestOrBuilder
- Returns:
- Whether the user field is set.
-
getUser
public UserManagementServiceOuterClass.User getUser()
The user to update. Required, Modifiable
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
- Specified by:
getUser
in interfaceUserManagementServiceOuterClass.UpdateUserRequestOrBuilder
- Returns:
- The user.
-
setUser
public UserManagementServiceOuterClass.UpdateUserRequest.Builder setUser(UserManagementServiceOuterClass.User value)
The user to update. Required, Modifiable
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
setUser
public UserManagementServiceOuterClass.UpdateUserRequest.Builder setUser(UserManagementServiceOuterClass.User.Builder builderForValue)
The user to update. Required, Modifiable
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
mergeUser
public UserManagementServiceOuterClass.UpdateUserRequest.Builder mergeUser(UserManagementServiceOuterClass.User value)
The user to update. Required, Modifiable
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
clearUser
public UserManagementServiceOuterClass.UpdateUserRequest.Builder clearUser()
The user to update. Required, Modifiable
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
getUserBuilder
public UserManagementServiceOuterClass.User.Builder getUserBuilder()
The user to update. Required, Modifiable
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
-
getUserOrBuilder
public UserManagementServiceOuterClass.UserOrBuilder getUserOrBuilder()
The user to update. Required, Modifiable
.com.daml.ledger.api.v1.admin.User user = 1 [json_name = "user"];
- Specified by:
getUserOrBuilder
in interfaceUserManagementServiceOuterClass.UpdateUserRequestOrBuilder
-
hasUpdateMask
public boolean hasUpdateMask()
An update mask specifies how and which properties of the ``User`` message are to be updated. An update mask consists of a set of update paths. A valid update path points to a field or a subfield relative to the ``User`` message. A valid update mask must: (1) contain at least one update path, (2) contain only valid update paths. Fields that can be updated are marked as ``Modifiable``. An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version' because they are used: (1) to identify the user resource subject to the update, (2) for concurrent change control. Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
- Specified by:
hasUpdateMask
in interfaceUserManagementServiceOuterClass.UpdateUserRequestOrBuilder
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()
An update mask specifies how and which properties of the ``User`` message are to be updated. An update mask consists of a set of update paths. A valid update path points to a field or a subfield relative to the ``User`` message. A valid update mask must: (1) contain at least one update path, (2) contain only valid update paths. Fields that can be updated are marked as ``Modifiable``. An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version' because they are used: (1) to identify the user resource subject to the update, (2) for concurrent change control. Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
- Specified by:
getUpdateMask
in interfaceUserManagementServiceOuterClass.UpdateUserRequestOrBuilder
- Returns:
- The updateMask.
-
setUpdateMask
public UserManagementServiceOuterClass.UpdateUserRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
An update mask specifies how and which properties of the ``User`` message are to be updated. An update mask consists of a set of update paths. A valid update path points to a field or a subfield relative to the ``User`` message. A valid update mask must: (1) contain at least one update path, (2) contain only valid update paths. Fields that can be updated are marked as ``Modifiable``. An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version' because they are used: (1) to identify the user resource subject to the update, (2) for concurrent change control. Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
setUpdateMask
public UserManagementServiceOuterClass.UpdateUserRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
An update mask specifies how and which properties of the ``User`` message are to be updated. An update mask consists of a set of update paths. A valid update path points to a field or a subfield relative to the ``User`` message. A valid update mask must: (1) contain at least one update path, (2) contain only valid update paths. Fields that can be updated are marked as ``Modifiable``. An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version' because they are used: (1) to identify the user resource subject to the update, (2) for concurrent change control. Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
mergeUpdateMask
public UserManagementServiceOuterClass.UpdateUserRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
An update mask specifies how and which properties of the ``User`` message are to be updated. An update mask consists of a set of update paths. A valid update path points to a field or a subfield relative to the ``User`` message. A valid update mask must: (1) contain at least one update path, (2) contain only valid update paths. Fields that can be updated are marked as ``Modifiable``. An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version' because they are used: (1) to identify the user resource subject to the update, (2) for concurrent change control. Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
clearUpdateMask
public UserManagementServiceOuterClass.UpdateUserRequest.Builder clearUpdateMask()
An update mask specifies how and which properties of the ``User`` message are to be updated. An update mask consists of a set of update paths. A valid update path points to a field or a subfield relative to the ``User`` message. A valid update mask must: (1) contain at least one update path, (2) contain only valid update paths. Fields that can be updated are marked as ``Modifiable``. An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version' because they are used: (1) to identify the user resource subject to the update, (2) for concurrent change control. Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
An update mask specifies how and which properties of the ``User`` message are to be updated. An update mask consists of a set of update paths. A valid update path points to a field or a subfield relative to the ``User`` message. A valid update mask must: (1) contain at least one update path, (2) contain only valid update paths. Fields that can be updated are marked as ``Modifiable``. An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version' because they are used: (1) to identify the user resource subject to the update, (2) for concurrent change control. Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
An update mask specifies how and which properties of the ``User`` message are to be updated. An update mask consists of a set of update paths. A valid update path points to a field or a subfield relative to the ``User`` message. A valid update mask must: (1) contain at least one update path, (2) contain only valid update paths. Fields that can be updated are marked as ``Modifiable``. An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version' because they are used: (1) to identify the user resource subject to the update, (2) for concurrent change control. Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
- Specified by:
getUpdateMaskOrBuilder
in interfaceUserManagementServiceOuterClass.UpdateUserRequestOrBuilder
-
setUnknownFields
public final UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
mergeUnknownFields
public final UserManagementServiceOuterClass.UpdateUserRequest.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.UpdateUserRequest.Builder>
-
-