Package com.daml.ledger.api.v2.admin
Class PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder>
com.daml.ledger.api.v2.admin.PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder
- All Implemented Interfaces:
PartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- PartyManagementServiceOuterClass.UpdatePartyDetailsRequest
public static final class PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder>
implements PartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(party_details.identity_provider_id)``Protobuf type
com.daml.ledger.api.v2.admin.UpdatePartyDetailsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Party to be updated Required, ModifiableAn update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Party to be updated Required, ModifiableParty to be updated Required, ModifiableParty to be updated Required, Modifiablecom.google.protobuf.FieldMask
An update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.com.google.protobuf.FieldMask.Builder
An update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.com.google.protobuf.FieldMaskOrBuilder
An update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.boolean
Party to be updated Required, Modifiableboolean
An update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.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) Party to be updated Required, ModifiablemergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateMask
(com.google.protobuf.FieldMask value) An update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.Party to be updated Required, ModifiablesetPartyDetails
(PartyManagementServiceOuterClass.PartyDetails.Builder builderForValue) Party to be updated Required, ModifiablesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateMask
(com.google.protobuf.FieldMask value) An update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.setUpdateMask
(com.google.protobuf.FieldMask.Builder builderForValue) An update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.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.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-
setField
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-
clearField
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-
clearOneof
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-
setRepeatedField
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-
addRepeatedField
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder>
-
mergeFrom
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
- Throws:
IOException
-
hasPartyDetails
public boolean hasPartyDetails()Party to be updated Required, Modifiable
.com.daml.ledger.api.v2.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
- Specified by:
hasPartyDetails
in interfacePartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
- Returns:
- Whether the partyDetails field is set.
-
getPartyDetails
Party to be updated Required, Modifiable
.com.daml.ledger.api.v2.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
- Specified by:
getPartyDetails
in interfacePartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
- Returns:
- The partyDetails.
-
setPartyDetails
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder setPartyDetails(PartyManagementServiceOuterClass.PartyDetails value) Party to be updated Required, Modifiable
.com.daml.ledger.api.v2.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
-
setPartyDetails
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder setPartyDetails(PartyManagementServiceOuterClass.PartyDetails.Builder builderForValue) Party to be updated Required, Modifiable
.com.daml.ledger.api.v2.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
-
mergePartyDetails
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder mergePartyDetails(PartyManagementServiceOuterClass.PartyDetails value) Party to be updated Required, Modifiable
.com.daml.ledger.api.v2.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
-
clearPartyDetails
Party to be updated Required, Modifiable
.com.daml.ledger.api.v2.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
-
getPartyDetailsBuilder
Party to be updated Required, Modifiable
.com.daml.ledger.api.v2.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
-
getPartyDetailsOrBuilder
Party to be updated Required, Modifiable
.com.daml.ledger.api.v2.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
- Specified by:
getPartyDetailsOrBuilder
in interfacePartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
-
hasUpdateMask
public boolean hasUpdateMask()An update mask specifies how and which properties of the ``PartyDetails`` 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 ``PartyDetails`` 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 non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version' because they are used: 1. to identify the party details resource subject to the update, 2. for concurrent change control. An update path can also point to non-``Modifiable`` fields such as 'is_local' as long as the values provided in the update request match the server values. Examples of update paths: 'local_metadata.annotations', 'local_metadata'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
- Specified by:
hasUpdateMask
in interfacePartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()An update mask specifies how and which properties of the ``PartyDetails`` 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 ``PartyDetails`` 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 non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version' because they are used: 1. to identify the party details resource subject to the update, 2. for concurrent change control. An update path can also point to non-``Modifiable`` fields such as 'is_local' as long as the values provided in the update request match the server values. Examples of update paths: 'local_metadata.annotations', 'local_metadata'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
- Specified by:
getUpdateMask
in interfacePartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
- Returns:
- The updateMask.
-
setUpdateMask
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value) An update mask specifies how and which properties of the ``PartyDetails`` 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 ``PartyDetails`` 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 non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version' because they are used: 1. to identify the party details resource subject to the update, 2. for concurrent change control. An update path can also point to non-``Modifiable`` fields such as 'is_local' as long as the values provided in the update request match the server values. Examples of update paths: 'local_metadata.annotations', 'local_metadata'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
setUpdateMask
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) An update mask specifies how and which properties of the ``PartyDetails`` 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 ``PartyDetails`` 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 non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version' because they are used: 1. to identify the party details resource subject to the update, 2. for concurrent change control. An update path can also point to non-``Modifiable`` fields such as 'is_local' as long as the values provided in the update request match the server values. Examples of update paths: 'local_metadata.annotations', 'local_metadata'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
mergeUpdateMask
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value) An update mask specifies how and which properties of the ``PartyDetails`` 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 ``PartyDetails`` 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 non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version' because they are used: 1. to identify the party details resource subject to the update, 2. for concurrent change control. An update path can also point to non-``Modifiable`` fields such as 'is_local' as long as the values provided in the update request match the server values. Examples of update paths: 'local_metadata.annotations', 'local_metadata'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
clearUpdateMask
An update mask specifies how and which properties of the ``PartyDetails`` 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 ``PartyDetails`` 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 non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version' because they are used: 1. to identify the party details resource subject to the update, 2. for concurrent change control. An update path can also point to non-``Modifiable`` fields such as 'is_local' as long as the values provided in the update request match the server values. Examples of update paths: 'local_metadata.annotations', 'local_metadata'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``. 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 ``PartyDetails`` 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 ``PartyDetails`` 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 non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version' because they are used: 1. to identify the party details resource subject to the update, 2. for concurrent change control. An update path can also point to non-``Modifiable`` fields such as 'is_local' as long as the values provided in the update request match the server values. Examples of update paths: 'local_metadata.annotations', 'local_metadata'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``. 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 ``PartyDetails`` 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 ``PartyDetails`` 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 non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version' because they are used: 1. to identify the party details resource subject to the update, 2. for concurrent change control. An update path can also point to non-``Modifiable`` fields such as 'is_local' as long as the values provided in the update request match the server values. Examples of update paths: 'local_metadata.annotations', 'local_metadata'. For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``. For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
- Specified by:
getUpdateMaskOrBuilder
in interfacePartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
-
setUnknownFields
public final PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-
mergeUnknownFields
public final PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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.UpdatePartyDetailsRequest.Builder>
-