Package com.daml.ledger.api.v1
Interface EventOuterClass.ArchivedEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventOuterClass.ArchivedEvent,EventOuterClass.ArchivedEvent.Builder
- Enclosing class:
- EventOuterClass
public static interface EventOuterClass.ArchivedEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContractId()The ID of the archived contract.com.google.protobuf.ByteStringgetContractIdBytes()The ID of the archived contract.java.lang.StringgetEventId()The ID of this particular event.com.google.protobuf.ByteStringgetEventIdBytes()The ID of this particular event.ValueOuterClass.IdentifiergetTemplateId()The template of the archived contract.ValueOuterClass.IdentifierOrBuildergetTemplateIdOrBuilder()The template of the archived contract.java.lang.StringgetWitnessParties(int index)The parties that are notified of this event.com.google.protobuf.ByteStringgetWitnessPartiesBytes(int index)The parties that are notified of this event.intgetWitnessPartiesCount()The parties that are notified of this event.java.util.List<java.lang.String>getWitnessPartiesList()The parties that are notified of this event.booleanhasTemplateId()The template of the archived contract.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEventId
java.lang.String getEventId()
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];- Returns:
- The eventId.
-
getEventIdBytes
com.google.protobuf.ByteString getEventIdBytes()
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];- Returns:
- The bytes for eventId.
-
getContractId
java.lang.String getContractId()
The ID of the archived contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];- Returns:
- The contractId.
-
getContractIdBytes
com.google.protobuf.ByteString getContractIdBytes()
The ID of the archived contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];- Returns:
- The bytes for contractId.
-
hasTemplateId
boolean hasTemplateId()
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];- Returns:
- Whether the templateId field is set.
-
getTemplateId
ValueOuterClass.Identifier getTemplateId()
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];- Returns:
- The templateId.
-
getTemplateIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
getWitnessPartiesList
java.util.List<java.lang.String> getWitnessPartiesList()
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];- Returns:
- A list containing the witnessParties.
-
getWitnessPartiesCount
int getWitnessPartiesCount()
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];- Returns:
- The count of witnessParties.
-
getWitnessParties
java.lang.String getWitnessParties(int index)
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];- Parameters:
index- The index of the element to return.- Returns:
- The witnessParties at the given index.
-
getWitnessPartiesBytes
com.google.protobuf.ByteString getWitnessPartiesBytes(int index)
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the witnessParties at the given index.
-
-