Package com.daml.ledger.api.v1.admin
Class PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder>
-
- com.daml.ledger.api.v1.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
,java.lang.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)`` In a scenario when a party is known to this participant but has been allocated through a different participant, the resource version of it might be not set on this participant until after the first update RPC has been completed.
Protobuf typecom.daml.ledger.api.v1.admin.UpdatePartyDetailsRequest
-
-
Method Summary
-
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<PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder>
-
clear
public 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
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.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, java.lang.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, java.lang.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, java.lang.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
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder mergeFrom(PartyManagementServiceOuterClass.UpdatePartyDetailsRequest other)
-
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 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<PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder>
- Throws:
java.io.IOException
-
hasPartyDetails
public boolean hasPartyDetails()
Party to be updated Required, Modifiable
.com.daml.ledger.api.v1.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
- Specified by:
hasPartyDetails
in interfacePartyManagementServiceOuterClass.UpdatePartyDetailsRequestOrBuilder
- Returns:
- Whether the partyDetails field is set.
-
getPartyDetails
public PartyManagementServiceOuterClass.PartyDetails getPartyDetails()
Party to be updated Required, Modifiable
.com.daml.ledger.api.v1.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.v1.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.v1.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.v1.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
-
clearPartyDetails
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder clearPartyDetails()
Party to be updated Required, Modifiable
.com.daml.ledger.api.v1.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
-
getPartyDetailsBuilder
public PartyManagementServiceOuterClass.PartyDetails.Builder getPartyDetailsBuilder()
Party to be updated Required, Modifiable
.com.daml.ledger.api.v1.admin.PartyDetails party_details = 1 [json_name = "partyDetails"];
-
getPartyDetailsOrBuilder
public PartyManagementServiceOuterClass.PartyDetailsOrBuilder getPartyDetailsOrBuilder()
Party to be updated Required, Modifiable
.com.daml.ledger.api.v1.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' and 'display_name' 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.v1.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' and 'display_name' 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.v1.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' and 'display_name' 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.v1.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' and 'display_name' 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.v1.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' and 'display_name' 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.v1.admin.UpdateUserRequest``. Required
.google.protobuf.FieldMask update_mask = 2 [json_name = "updateMask"];
-
clearUpdateMask
public PartyManagementServiceOuterClass.UpdatePartyDetailsRequest.Builder 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' and 'display_name' 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.v1.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' and 'display_name' 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.v1.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' and 'display_name' 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.v1.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>
-
-