Package com.daml.ledger.api.v1
Class CommandsOuterClass.DisclosedContract.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
clearContractId()
The contract id RequiredCommandsOuterClass.DisclosedContract.Builder
clearCreatedEventBlob()
Opaque byte string containing the complete payload required by the Daml engine to reconstruct a contract not known to the receiving participant.CommandsOuterClass.DisclosedContract.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommandsOuterClass.DisclosedContract.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommandsOuterClass.DisclosedContract.Builder
clearTemplateId()
The template id of the contract.CommandsOuterClass.DisclosedContract.Builder
clone()
java.lang.String
getContractId()
The contract id Requiredcom.google.protobuf.ByteString
getContractIdBytes()
The contract id Requiredcom.google.protobuf.ByteString
getCreatedEventBlob()
Opaque byte string containing the complete payload required by the Daml engine to reconstruct a contract not known to the receiving participant.CommandsOuterClass.DisclosedContract
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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
hasTemplateId()
The template id of the contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
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
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
setCreatedEventBlob(com.google.protobuf.ByteString value)
Opaque byte string containing the complete payload required by the Daml engine to reconstruct a contract not known to the receiving participant.CommandsOuterClass.DisclosedContract.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
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, 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
-
-
-
-
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
-
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.
-
getCreatedEventBlob
public com.google.protobuf.ByteString getCreatedEventBlob()
Opaque byte string containing the complete payload required by the Daml engine to reconstruct a contract not known to the receiving participant. Required
bytes created_event_blob = 6 [json_name = "createdEventBlob"];
- Specified by:
getCreatedEventBlob
in interfaceCommandsOuterClass.DisclosedContractOrBuilder
- Returns:
- The createdEventBlob.
-
setCreatedEventBlob
public CommandsOuterClass.DisclosedContract.Builder setCreatedEventBlob(com.google.protobuf.ByteString value)
Opaque byte string containing the complete payload required by the Daml engine to reconstruct a contract not known to the receiving participant. Required
bytes created_event_blob = 6 [json_name = "createdEventBlob"];
- Parameters:
value
- The createdEventBlob to set.- Returns:
- This builder for chaining.
-
clearCreatedEventBlob
public CommandsOuterClass.DisclosedContract.Builder clearCreatedEventBlob()
Opaque byte string containing the complete payload required by the Daml engine to reconstruct a contract not known to the receiving participant. Required
bytes created_event_blob = 6 [json_name = "createdEventBlob"];
- Returns:
- This builder for chaining.
-
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>
-
-