Package com.daml.ledger.api.v2
Interface CommandsOuterClass.DisclosedContractOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandsOuterClass.DisclosedContract,CommandsOuterClass.DisclosedContract.Builder
- Enclosing class:
CommandsOuterClass
public static interface CommandsOuterClass.DisclosedContractOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe contract id If provided, used to validate the contract id of the contract serialized in the created_event_blob.com.google.protobuf.ByteStringThe contract id If provided, used to validate the contract id of the contract serialized in the created_event_blob.com.google.protobuf.ByteStringOpaque byte string containing the complete payload required by the Daml engine to reconstruct a contract not known to the receiving participant.The ID of the synchronizer where the contract is currently assigned Optionalcom.google.protobuf.ByteStringThe ID of the synchronizer where the contract is currently assigned Optionalcom.daml.ledger.api.v2.ValueOuterClass.IdentifierThe template id of the contract.com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilderThe template id of the contract.booleanThe template id of the contract.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTemplateId
boolean hasTemplateId()The template id of the contract. The identifier uses the package-id reference format. If provided, used to validate the template id of the contract serialized in the created_event_blob. Optional
.com.daml.ledger.api.v2.Identifier template_id = 1;- Returns:
- Whether the templateId field is set.
-
getTemplateId
com.daml.ledger.api.v2.ValueOuterClass.Identifier getTemplateId()The template id of the contract. The identifier uses the package-id reference format. If provided, used to validate the template id of the contract serialized in the created_event_blob. Optional
.com.daml.ledger.api.v2.Identifier template_id = 1;- Returns:
- The templateId.
-
getTemplateIdOrBuilder
com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()The template id of the contract. The identifier uses the package-id reference format. If provided, used to validate the template id of the contract serialized in the created_event_blob. Optional
.com.daml.ledger.api.v2.Identifier template_id = 1; -
getContractId
String getContractId()The contract id If provided, used to validate the contract id of the contract serialized in the created_event_blob. Optional
string contract_id = 2;- Returns:
- The contractId.
-
getContractIdBytes
com.google.protobuf.ByteString getContractIdBytes()The contract id If provided, used to validate the contract id of the contract serialized in the created_event_blob. Optional
string contract_id = 2;- Returns:
- The bytes for contractId.
-
getCreatedEventBlob
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: must be non-empty
bytes created_event_blob = 3;- Returns:
- The createdEventBlob.
-
getSynchronizerId
String getSynchronizerId()The ID of the synchronizer where the contract is currently assigned Optional
string synchronizer_id = 4;- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
com.google.protobuf.ByteString getSynchronizerIdBytes()The ID of the synchronizer where the contract is currently assigned Optional
string synchronizer_id = 4;- Returns:
- The bytes for synchronizerId.
-