Package com.daml.ledger.api.v1
Interface EventOuterClass.CreatedEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventOuterClass.CreatedEvent
,EventOuterClass.CreatedEvent.Builder
- Enclosing class:
- EventOuterClass
public static interface EventOuterClass.CreatedEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.StringValue
getAgreementText()
The agreement text of the contract.com.google.protobuf.StringValueOrBuilder
getAgreementTextOrBuilder()
The agreement text of the contract.java.lang.String
getContractId()
The ID of the created contract.com.google.protobuf.ByteString
getContractIdBytes()
The ID of the created contract.ValueOuterClass.Value
getContractKey()
The key of the created contract, if defined.ValueOuterClass.ValueOrBuilder
getContractKeyOrBuilder()
The key of the created contract, if defined.ValueOuterClass.Record
getCreateArguments()
The arguments that have been used to create the contract.ValueOuterClass.RecordOrBuilder
getCreateArgumentsOrBuilder()
The arguments that have been used to create the contract.java.lang.String
getEventId()
The ID of this particular event.com.google.protobuf.ByteString
getEventIdBytes()
The ID of this particular event.java.lang.String
getObservers(int index)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.com.google.protobuf.ByteString
getObserversBytes(int index)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.int
getObserversCount()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.java.util.List<java.lang.String>
getObserversList()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.java.lang.String
getSignatories(int index)
The signatories for this contract as specified by the template.com.google.protobuf.ByteString
getSignatoriesBytes(int index)
The signatories for this contract as specified by the template.int
getSignatoriesCount()
The signatories for this contract as specified by the template.java.util.List<java.lang.String>
getSignatoriesList()
The signatories for this contract as specified by the template.ValueOuterClass.Identifier
getTemplateId()
The template of the created contract.ValueOuterClass.IdentifierOrBuilder
getTemplateIdOrBuilder()
The template of the created contract.java.lang.String
getWitnessParties(int index)
The parties that are notified of this event.com.google.protobuf.ByteString
getWitnessPartiesBytes(int index)
The parties that are notified of this event.int
getWitnessPartiesCount()
The parties that are notified of this event.java.util.List<java.lang.String>
getWitnessPartiesList()
The parties that are notified of this event.boolean
hasAgreementText()
The agreement text of the contract.boolean
hasContractKey()
The key of the created contract, if defined.boolean
hasCreateArguments()
The arguments that have been used to create the contract.boolean
hasTemplateId()
The template of the created 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 created 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 created 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 created 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 created 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 created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
hasContractKey
boolean hasContractKey()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
- Returns:
- Whether the contractKey field is set.
-
getContractKey
ValueOuterClass.Value getContractKey()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
- Returns:
- The contractKey.
-
getContractKeyOrBuilder
ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
-
hasCreateArguments
boolean hasCreateArguments()
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
- Returns:
- Whether the createArguments field is set.
-
getCreateArguments
ValueOuterClass.Record getCreateArguments()
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
- Returns:
- The createArguments.
-
getCreateArgumentsOrBuilder
ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
-
getWitnessPartiesList
java.util.List<java.lang.String> getWitnessPartiesList()
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Returns:
- A list containing the witnessParties.
-
getWitnessPartiesCount
int getWitnessPartiesCount()
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Returns:
- The count of witnessParties.
-
getWitnessParties
java.lang.String getWitnessParties(int index)
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [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. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the witnessParties at the given index.
-
getSignatoriesList
java.util.List<java.lang.String> getSignatoriesList()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Returns:
- A list containing the signatories.
-
getSignatoriesCount
int getSignatoriesCount()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Returns:
- The count of signatories.
-
getSignatories
java.lang.String getSignatories(int index)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Parameters:
index
- The index of the element to return.- Returns:
- The signatories at the given index.
-
getSignatoriesBytes
com.google.protobuf.ByteString getSignatoriesBytes(int index)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the signatories at the given index.
-
getObserversList
java.util.List<java.lang.String> getObserversList()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Returns:
- A list containing the observers.
-
getObserversCount
int getObserversCount()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Returns:
- The count of observers.
-
getObservers
java.lang.String getObservers(int index)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Parameters:
index
- The index of the element to return.- Returns:
- The observers at the given index.
-
getObserversBytes
com.google.protobuf.ByteString getObserversBytes(int index)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the observers at the given index.
-
hasAgreementText
boolean hasAgreementText()
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
- Returns:
- Whether the agreementText field is set.
-
getAgreementText
com.google.protobuf.StringValue getAgreementText()
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
- Returns:
- The agreementText.
-
getAgreementTextOrBuilder
com.google.protobuf.StringValueOrBuilder getAgreementTextOrBuilder()
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
-
-