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 Requiredcom.google.protobuf.ByteString
The contract id Requiredcom.google.protobuf.ByteString
Opaque 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.ByteString
The ID of the synchronizer where the contract is currently assigned OptionalThe template id of the contract.The template id of the contract.boolean
The template id of the contract.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
- Returns:
- Whether the templateId field is set.
-
getTemplateId
ValueOuterClass.Identifier getTemplateId()The template id of the contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
- Returns:
- The templateId.
-
getTemplateIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()The template id of the contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
-
getContractId
String getContractId()The contract id Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- The contractId.
-
getContractIdBytes
com.google.protobuf.ByteString getContractIdBytes()The contract id Required
string contract_id = 2 [json_name = "contractId"];
- 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
bytes created_event_blob = 3 [json_name = "createdEventBlob"];
- Returns:
- The createdEventBlob.
-
getSynchronizerId
String getSynchronizerId()The ID of the synchronizer where the contract is currently assigned Optional
string synchronizer_id = 4 [json_name = "synchronizerId"];
- 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 [json_name = "synchronizerId"];
- Returns:
- The bytes for synchronizerId.
-