Package com.daml.ledger.api.v1
Class CommandsOuterClass.DisclosedContract.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.DisclosedContract.Builder>
-
- com.daml.ledger.api.v1.CommandsOuterClass.DisclosedContract.Builder
-
- All Implemented Interfaces:
CommandsOuterClass.DisclosedContractOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CommandsOuterClass.DisclosedContract
public static final class CommandsOuterClass.DisclosedContract.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.DisclosedContract.Builder> implements CommandsOuterClass.DisclosedContractOrBuilder
An additional contract that is used to resolve contract & contract key lookups.
Protobuf typecom.daml.ledger.api.v1.DisclosedContract
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandsOuterClass.DisclosedContract.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommandsOuterClass.DisclosedContract
build()
CommandsOuterClass.DisclosedContract
buildPartial()
CommandsOuterClass.DisclosedContract.Builder
clear()
CommandsOuterClass.DisclosedContract.Builder
clearArguments()
CommandsOuterClass.DisclosedContract.Builder
clearContractId()
The contract id RequiredCommandsOuterClass.DisclosedContract.Builder
clearCreateArguments()
The contract arguments as typed RecordCommandsOuterClass.DisclosedContract.Builder
clearCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.CommandsOuterClass.DisclosedContract.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommandsOuterClass.DisclosedContract.Builder
clearMetadata()
The contract metadata from the create event.CommandsOuterClass.DisclosedContract.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommandsOuterClass.DisclosedContract.Builder
clearTemplateId()
The template id of the contract.CommandsOuterClass.DisclosedContract.Builder
clone()
CommandsOuterClass.DisclosedContract.ArgumentsCase
getArgumentsCase()
java.lang.String
getContractId()
The contract id Requiredcom.google.protobuf.ByteString
getContractIdBytes()
The contract id RequiredValueOuterClass.Record
getCreateArguments()
The contract arguments as typed Recordcom.google.protobuf.Any
getCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.com.google.protobuf.Any.Builder
getCreateArgumentsBlobBuilder()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.com.google.protobuf.AnyOrBuilder
getCreateArgumentsBlobOrBuilder()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.ValueOuterClass.Record.Builder
getCreateArgumentsBuilder()
The contract arguments as typed RecordValueOuterClass.RecordOrBuilder
getCreateArgumentsOrBuilder()
The contract arguments as typed RecordCommandsOuterClass.DisclosedContract
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ContractMetadataOuterClass.ContractMetadata
getMetadata()
The contract metadata from the create event.ContractMetadataOuterClass.ContractMetadata.Builder
getMetadataBuilder()
The contract metadata from the create event.ContractMetadataOuterClass.ContractMetadataOrBuilder
getMetadataOrBuilder()
The contract metadata from the create event.ValueOuterClass.Identifier
getTemplateId()
The template id of the contract.ValueOuterClass.Identifier.Builder
getTemplateIdBuilder()
The template id of the contract.ValueOuterClass.IdentifierOrBuilder
getTemplateIdOrBuilder()
The template id of the contract.boolean
hasCreateArguments()
The contract arguments as typed Recordboolean
hasCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.boolean
hasMetadata()
The contract metadata from the create event.boolean
hasTemplateId()
The template id of the contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CommandsOuterClass.DisclosedContract.Builder
mergeCreateArguments(ValueOuterClass.Record value)
The contract arguments as typed RecordCommandsOuterClass.DisclosedContract.Builder
mergeCreateArgumentsBlob(com.google.protobuf.Any value)
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.CommandsOuterClass.DisclosedContract.Builder
mergeFrom(CommandsOuterClass.DisclosedContract other)
CommandsOuterClass.DisclosedContract.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommandsOuterClass.DisclosedContract.Builder
mergeFrom(com.google.protobuf.Message other)
CommandsOuterClass.DisclosedContract.Builder
mergeMetadata(ContractMetadataOuterClass.ContractMetadata value)
The contract metadata from the create event.CommandsOuterClass.DisclosedContract.Builder
mergeTemplateId(ValueOuterClass.Identifier value)
The template id of the contract.CommandsOuterClass.DisclosedContract.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommandsOuterClass.DisclosedContract.Builder
setContractId(java.lang.String value)
The contract id RequiredCommandsOuterClass.DisclosedContract.Builder
setContractIdBytes(com.google.protobuf.ByteString value)
The contract id RequiredCommandsOuterClass.DisclosedContract.Builder
setCreateArguments(ValueOuterClass.Record value)
The contract arguments as typed RecordCommandsOuterClass.DisclosedContract.Builder
setCreateArguments(ValueOuterClass.Record.Builder builderForValue)
The contract arguments as typed RecordCommandsOuterClass.DisclosedContract.Builder
setCreateArgumentsBlob(com.google.protobuf.Any value)
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.CommandsOuterClass.DisclosedContract.Builder
setCreateArgumentsBlob(com.google.protobuf.Any.Builder builderForValue)
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.CommandsOuterClass.DisclosedContract.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommandsOuterClass.DisclosedContract.Builder
setMetadata(ContractMetadataOuterClass.ContractMetadata value)
The contract metadata from the create event.CommandsOuterClass.DisclosedContract.Builder
setMetadata(ContractMetadataOuterClass.ContractMetadata.Builder builderForValue)
The contract metadata from the create event.CommandsOuterClass.DisclosedContract.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CommandsOuterClass.DisclosedContract.Builder
setTemplateId(ValueOuterClass.Identifier value)
The template id of the contract.CommandsOuterClass.DisclosedContract.Builder
setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template id of the contract.CommandsOuterClass.DisclosedContract.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, 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<CommandsOuterClass.DisclosedContract.Builder>
-
clear
public CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.Builder>
-
getDefaultInstanceForType
public CommandsOuterClass.DisclosedContract getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandsOuterClass.DisclosedContract build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandsOuterClass.DisclosedContract buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.Builder>
-
setField
public CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.Builder>
-
clearField
public CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.Builder>
-
clearOneof
public CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.Builder>
-
setRepeatedField
public CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.Builder>
-
addRepeatedField
public CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.Builder>
-
mergeFrom
public CommandsOuterClass.DisclosedContract.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.DisclosedContract.Builder>
-
mergeFrom
public CommandsOuterClass.DisclosedContract.Builder mergeFrom(CommandsOuterClass.DisclosedContract other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.DisclosedContract.Builder>
-
mergeFrom
public CommandsOuterClass.DisclosedContract.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<CommandsOuterClass.DisclosedContract.Builder>
- Throws:
java.io.IOException
-
getArgumentsCase
public CommandsOuterClass.DisclosedContract.ArgumentsCase getArgumentsCase()
- Specified by:
getArgumentsCase
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
-
clearArguments
public CommandsOuterClass.DisclosedContract.Builder clearArguments()
-
hasTemplateId
public boolean hasTemplateId()
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
hasTemplateId
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- Whether the templateId field is set.
-
getTemplateId
public ValueOuterClass.Identifier getTemplateId()
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
getTemplateId
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- The templateId.
-
setTemplateId
public CommandsOuterClass.DisclosedContract.Builder setTemplateId(ValueOuterClass.Identifier value)
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
setTemplateId
public CommandsOuterClass.DisclosedContract.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
mergeTemplateId
public CommandsOuterClass.DisclosedContract.Builder mergeTemplateId(ValueOuterClass.Identifier value)
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
clearTemplateId
public CommandsOuterClass.DisclosedContract.Builder clearTemplateId()
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
getTemplateIdBuilder
public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
getTemplateIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
getTemplateIdOrBuilder
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
-
getContractId
public java.lang.String getContractId()
The contract id Required
string contract_id = 2 [json_name = "contractId"];
- Specified by:
getContractId
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- The contractId.
-
getContractIdBytes
public com.google.protobuf.ByteString getContractIdBytes()
The contract id Required
string contract_id = 2 [json_name = "contractId"];
- Specified by:
getContractIdBytes
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- The bytes for contractId.
-
setContractId
public CommandsOuterClass.DisclosedContract.Builder setContractId(java.lang.String value)
The contract id Required
string contract_id = 2 [json_name = "contractId"];
- Parameters:
value
- The contractId to set.- Returns:
- This builder for chaining.
-
clearContractId
public CommandsOuterClass.DisclosedContract.Builder clearContractId()
The contract id Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- This builder for chaining.
-
setContractIdBytes
public CommandsOuterClass.DisclosedContract.Builder setContractIdBytes(com.google.protobuf.ByteString value)
The contract id Required
string contract_id = 2 [json_name = "contractId"];
- Parameters:
value
- The bytes for contractId to set.- Returns:
- This builder for chaining.
-
hasCreateArguments
public boolean hasCreateArguments()
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
- Specified by:
hasCreateArguments
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- Whether the createArguments field is set.
-
getCreateArguments
public ValueOuterClass.Record getCreateArguments()
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
- Specified by:
getCreateArguments
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- The createArguments.
-
setCreateArguments
public CommandsOuterClass.DisclosedContract.Builder setCreateArguments(ValueOuterClass.Record value)
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
-
setCreateArguments
public CommandsOuterClass.DisclosedContract.Builder setCreateArguments(ValueOuterClass.Record.Builder builderForValue)
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
-
mergeCreateArguments
public CommandsOuterClass.DisclosedContract.Builder mergeCreateArguments(ValueOuterClass.Record value)
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
-
clearCreateArguments
public CommandsOuterClass.DisclosedContract.Builder clearCreateArguments()
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
-
getCreateArgumentsBuilder
public ValueOuterClass.Record.Builder getCreateArgumentsBuilder()
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
-
getCreateArgumentsOrBuilder
public ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
- Specified by:
getCreateArgumentsOrBuilder
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
-
hasCreateArgumentsBlob
public boolean hasCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
- Specified by:
hasCreateArgumentsBlob
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- Whether the createArgumentsBlob field is set.
-
getCreateArgumentsBlob
public com.google.protobuf.Any getCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
- Specified by:
getCreateArgumentsBlob
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- The createArgumentsBlob.
-
setCreateArgumentsBlob
public CommandsOuterClass.DisclosedContract.Builder setCreateArgumentsBlob(com.google.protobuf.Any value)
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
-
setCreateArgumentsBlob
public CommandsOuterClass.DisclosedContract.Builder setCreateArgumentsBlob(com.google.protobuf.Any.Builder builderForValue)
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
-
mergeCreateArgumentsBlob
public CommandsOuterClass.DisclosedContract.Builder mergeCreateArgumentsBlob(com.google.protobuf.Any value)
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
-
clearCreateArgumentsBlob
public CommandsOuterClass.DisclosedContract.Builder clearCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
-
getCreateArgumentsBlobBuilder
public com.google.protobuf.Any.Builder getCreateArgumentsBlobBuilder()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
-
getCreateArgumentsBlobOrBuilder
public com.google.protobuf.AnyOrBuilder getCreateArgumentsBlobOrBuilder()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
- Specified by:
getCreateArgumentsBlobOrBuilder
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
-
hasMetadata
public boolean hasMetadata()
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public ContractMetadataOuterClass.ContractMetadata getMetadata()
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- The metadata.
-
setMetadata
public CommandsOuterClass.DisclosedContract.Builder setMetadata(ContractMetadataOuterClass.ContractMetadata value)
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
-
setMetadata
public CommandsOuterClass.DisclosedContract.Builder setMetadata(ContractMetadataOuterClass.ContractMetadata.Builder builderForValue)
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
-
mergeMetadata
public CommandsOuterClass.DisclosedContract.Builder mergeMetadata(ContractMetadataOuterClass.ContractMetadata value)
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
-
clearMetadata
public CommandsOuterClass.DisclosedContract.Builder clearMetadata()
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
-
getMetadataBuilder
public ContractMetadataOuterClass.ContractMetadata.Builder getMetadataBuilder()
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
-
getMetadataOrBuilder
public ContractMetadataOuterClass.ContractMetadataOrBuilder getMetadataOrBuilder()
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
- Specified by:
getMetadataOrBuilder
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
-
setUnknownFields
public final CommandsOuterClass.DisclosedContract.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.DisclosedContract.Builder>
-
mergeUnknownFields
public final CommandsOuterClass.DisclosedContract.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.DisclosedContract.Builder>
-
-