Package com.daml.ledger.api.v1
Class EventOuterClass.CreatedEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.daml.ledger.api.v1.EventOuterClass.CreatedEvent
-
- All Implemented Interfaces:
EventOuterClass.CreatedEventOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
- Enclosing class:
- EventOuterClass
public static final class EventOuterClass.CreatedEvent extends com.google.protobuf.GeneratedMessageV3 implements EventOuterClass.CreatedEventOrBuilder
Records that a contract has been created, and choices may now be exercised on it.
Protobuf typecom.daml.ledger.api.v1.CreatedEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventOuterClass.CreatedEvent.Builder
Records that a contract has been created, and choices may now be exercised on it.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AGREEMENT_TEXT_FIELD_NUMBER
static int
CONTRACT_ID_FIELD_NUMBER
static int
CONTRACT_KEY_FIELD_NUMBER
static int
CREATE_ARGUMENTS_BLOB_FIELD_NUMBER
static int
CREATE_ARGUMENTS_FIELD_NUMBER
static int
EVENT_ID_FIELD_NUMBER
static int
INTERFACE_VIEWS_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
OBSERVERS_FIELD_NUMBER
static int
SIGNATORIES_FIELD_NUMBER
static int
TEMPLATE_ID_FIELD_NUMBER
static int
WITNESS_PARTIES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
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.ValueOuterClass.ValueOrBuilder
getContractKeyOrBuilder()
The key of the created contract.ValueOuterClass.Record
getCreateArguments()
The arguments that have been used to create the contract.com.google.protobuf.Any
getCreateArgumentsBlob()
Opaque representation of contract payload intended for forwarding to an API server as a contract disclosed as part of a command submission.com.google.protobuf.AnyOrBuilder
getCreateArgumentsBlobOrBuilder()
Opaque representation of contract payload intended for forwarding to an API server as a contract disclosed as part of a command submission.ValueOuterClass.RecordOrBuilder
getCreateArgumentsOrBuilder()
The arguments that have been used to create the contract.static EventOuterClass.CreatedEvent
getDefaultInstance()
EventOuterClass.CreatedEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
java.lang.String
getEventId()
The ID of this particular event.com.google.protobuf.ByteString
getEventIdBytes()
The ID of this particular event.EventOuterClass.InterfaceView
getInterfaceViews(int index)
Interface views specified in the transaction filter.int
getInterfaceViewsCount()
Interface views specified in the transaction filter.java.util.List<EventOuterClass.InterfaceView>
getInterfaceViewsList()
Interface views specified in the transaction filter.EventOuterClass.InterfaceViewOrBuilder
getInterfaceViewsOrBuilder(int index)
Interface views specified in the transaction filter.java.util.List<? extends EventOuterClass.InterfaceViewOrBuilder>
getInterfaceViewsOrBuilderList()
Interface views specified in the transaction filter.ContractMetadataOuterClass.ContractMetadata
getMetadata()
Metadata of the contract.ContractMetadataOuterClass.ContractMetadataOrBuilder
getMetadataOrBuilder()
Metadata of the contract.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.com.google.protobuf.ProtocolStringList
getObserversList()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.com.google.protobuf.Parser<EventOuterClass.CreatedEvent>
getParserForType()
int
getSerializedSize()
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.com.google.protobuf.ProtocolStringList
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.com.google.protobuf.UnknownFieldSet
getUnknownFields()
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.com.google.protobuf.ProtocolStringList
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.boolean
hasCreateArguments()
The arguments that have been used to create the contract.boolean
hasCreateArgumentsBlob()
Opaque representation of contract payload intended for forwarding to an API server as a contract disclosed as part of a command submission.int
hashCode()
boolean
hasMetadata()
Metadata of the contract.boolean
hasTemplateId()
The template of the created contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EventOuterClass.CreatedEvent.Builder
newBuilder()
static EventOuterClass.CreatedEvent.Builder
newBuilder(EventOuterClass.CreatedEvent prototype)
EventOuterClass.CreatedEvent.Builder
newBuilderForType()
protected EventOuterClass.CreatedEvent.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static EventOuterClass.CreatedEvent
parseDelimitedFrom(java.io.InputStream input)
static EventOuterClass.CreatedEvent
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventOuterClass.CreatedEvent
parseFrom(byte[] data)
static EventOuterClass.CreatedEvent
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventOuterClass.CreatedEvent
parseFrom(com.google.protobuf.ByteString data)
static EventOuterClass.CreatedEvent
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventOuterClass.CreatedEvent
parseFrom(com.google.protobuf.CodedInputStream input)
static EventOuterClass.CreatedEvent
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventOuterClass.CreatedEvent
parseFrom(java.io.InputStream input)
static EventOuterClass.CreatedEvent
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventOuterClass.CreatedEvent
parseFrom(java.nio.ByteBuffer data)
static EventOuterClass.CreatedEvent
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EventOuterClass.CreatedEvent>
parser()
EventOuterClass.CreatedEvent.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTRACT_ID_FIELD_NUMBER
public static final int CONTRACT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEMPLATE_ID_FIELD_NUMBER
public static final int TEMPLATE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTRACT_KEY_FIELD_NUMBER
public static final int CONTRACT_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_ARGUMENTS_FIELD_NUMBER
public static final int CREATE_ARGUMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_ARGUMENTS_BLOB_FIELD_NUMBER
public static final int CREATE_ARGUMENTS_BLOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERFACE_VIEWS_FIELD_NUMBER
public static final int INTERFACE_VIEWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WITNESS_PARTIES_FIELD_NUMBER
public static final int WITNESS_PARTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIGNATORIES_FIELD_NUMBER
public static final int SIGNATORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBSERVERS_FIELD_NUMBER
public static final int OBSERVERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AGREEMENT_TEXT_FIELD_NUMBER
public static final int AGREEMENT_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getEventId
public 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"];
- Specified by:
getEventId
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The eventId.
-
getEventIdBytes
public 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"];
- Specified by:
getEventIdBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The bytes for eventId.
-
getContractId
public 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"];
- Specified by:
getContractId
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The contractId.
-
getContractIdBytes
public 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"];
- Specified by:
getContractIdBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The bytes for contractId.
-
hasTemplateId
public boolean hasTemplateId()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
- Specified by:
hasTemplateId
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the templateId field is set.
-
getTemplateId
public ValueOuterClass.Identifier getTemplateId()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
- Specified by:
getTemplateId
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The templateId.
-
getTemplateIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
- Specified by:
getTemplateIdOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
hasContractKey
public boolean hasContractKey()
The key of the created contract. This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
- Specified by:
hasContractKey
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the contractKey field is set.
-
getContractKey
public ValueOuterClass.Value getContractKey()
The key of the created contract. This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
- Specified by:
getContractKey
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The contractKey.
-
getContractKeyOrBuilder
public ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()
The key of the created contract. This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
- Specified by:
getContractKeyOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
hasCreateArguments
public boolean hasCreateArguments()
The arguments that have been used to create the contract. Set either: - if there was a party, which is in the ``witness_parties`` of this event, and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event among the ``template_ids``, - or if there was a party, which is in the ``witness_parties`` of this event, and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``, or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``). Optional
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
- Specified by:
hasCreateArguments
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the createArguments field is set.
-
getCreateArguments
public ValueOuterClass.Record getCreateArguments()
The arguments that have been used to create the contract. Set either: - if there was a party, which is in the ``witness_parties`` of this event, and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event among the ``template_ids``, - or if there was a party, which is in the ``witness_parties`` of this event, and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``, or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``). Optional
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
- Specified by:
getCreateArguments
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The createArguments.
-
getCreateArgumentsOrBuilder
public ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
The arguments that have been used to create the contract. Set either: - if there was a party, which is in the ``witness_parties`` of this event, and for which an ``InclusiveFilters`` exists with the ``template_id`` of this event among the ``template_ids``, - or if there was a party, which is in the ``witness_parties`` of this event, and for which a wildcard filter exists (``Filters`` without ``InclusiveFilters``, or with an ``InclusiveFilters`` with empty ``template_ids`` and empty ``interface_filters``). Optional
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
- Specified by:
getCreateArgumentsOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
hasCreateArgumentsBlob
public boolean hasCreateArgumentsBlob()
Opaque representation of contract payload intended for forwarding to an API server as a contract disclosed as part of a command submission. Optional
.google.protobuf.Any create_arguments_blob = 12 [json_name = "createArgumentsBlob"];
- Specified by:
hasCreateArgumentsBlob
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the createArgumentsBlob field is set.
-
getCreateArgumentsBlob
public com.google.protobuf.Any getCreateArgumentsBlob()
Opaque representation of contract payload intended for forwarding to an API server as a contract disclosed as part of a command submission. Optional
.google.protobuf.Any create_arguments_blob = 12 [json_name = "createArgumentsBlob"];
- Specified by:
getCreateArgumentsBlob
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The createArgumentsBlob.
-
getCreateArgumentsBlobOrBuilder
public com.google.protobuf.AnyOrBuilder getCreateArgumentsBlobOrBuilder()
Opaque representation of contract payload intended for forwarding to an API server as a contract disclosed as part of a command submission. Optional
.google.protobuf.Any create_arguments_blob = 12 [json_name = "createArgumentsBlob"];
- Specified by:
getCreateArgumentsBlobOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
getInterfaceViewsList
public java.util.List<EventOuterClass.InterfaceView> getInterfaceViewsList()
Interface views specified in the transaction filter. Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with - its party in the ``witness_parties`` of this event, - and which is implemented by the template of this event, - and which has ``include_interface_view`` set. Optional
repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
- Specified by:
getInterfaceViewsList
in interfaceEventOuterClass.CreatedEventOrBuilder
-
getInterfaceViewsOrBuilderList
public java.util.List<? extends EventOuterClass.InterfaceViewOrBuilder> getInterfaceViewsOrBuilderList()
Interface views specified in the transaction filter. Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with - its party in the ``witness_parties`` of this event, - and which is implemented by the template of this event, - and which has ``include_interface_view`` set. Optional
repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
- Specified by:
getInterfaceViewsOrBuilderList
in interfaceEventOuterClass.CreatedEventOrBuilder
-
getInterfaceViewsCount
public int getInterfaceViewsCount()
Interface views specified in the transaction filter. Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with - its party in the ``witness_parties`` of this event, - and which is implemented by the template of this event, - and which has ``include_interface_view`` set. Optional
repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
- Specified by:
getInterfaceViewsCount
in interfaceEventOuterClass.CreatedEventOrBuilder
-
getInterfaceViews
public EventOuterClass.InterfaceView getInterfaceViews(int index)
Interface views specified in the transaction filter. Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with - its party in the ``witness_parties`` of this event, - and which is implemented by the template of this event, - and which has ``include_interface_view`` set. Optional
repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
- Specified by:
getInterfaceViews
in interfaceEventOuterClass.CreatedEventOrBuilder
-
getInterfaceViewsOrBuilder
public EventOuterClass.InterfaceViewOrBuilder getInterfaceViewsOrBuilder(int index)
Interface views specified in the transaction filter. Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with - its party in the ``witness_parties`` of this event, - and which is implemented by the template of this event, - and which has ``include_interface_view`` set. Optional
repeated .com.daml.ledger.api.v1.InterfaceView interface_views = 11 [json_name = "interfaceViews"];
- Specified by:
getInterfaceViewsOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
getWitnessPartiesList
public com.google.protobuf.ProtocolStringList 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). In case of v2 API: If the ``CreatedEvent`` is returned as part of an AssignedEvent, ActiveContract or IncompleteUnassigned (so the event is related to an assignment or unassignment): this will include all parties of the ``TransactionFilter`` that are stakeholders of the contract. Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesList
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- A list containing the witnessParties.
-
getWitnessPartiesCount
public 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). In case of v2 API: If the ``CreatedEvent`` is returned as part of an AssignedEvent, ActiveContract or IncompleteUnassigned (so the event is related to an assignment or unassignment): this will include all parties of the ``TransactionFilter`` that are stakeholders of the contract. Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesCount
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The count of witnessParties.
-
getWitnessParties
public 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). In case of v2 API: If the ``CreatedEvent`` is returned as part of an AssignedEvent, ActiveContract or IncompleteUnassigned (so the event is related to an assignment or unassignment): this will include all parties of the ``TransactionFilter`` that are stakeholders of the contract. Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Specified by:
getWitnessParties
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The witnessParties at the given index.
-
getWitnessPartiesBytes
public 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). In case of v2 API: If the ``CreatedEvent`` is returned as part of an AssignedEvent, ActiveContract or IncompleteUnassigned (so the event is related to an assignment or unassignment): this will include all parties of the ``TransactionFilter`` that are stakeholders of the contract. Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the witnessParties at the given index.
-
getSignatoriesList
public com.google.protobuf.ProtocolStringList getSignatoriesList()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Specified by:
getSignatoriesList
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- A list containing the signatories.
-
getSignatoriesCount
public int getSignatoriesCount()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Specified by:
getSignatoriesCount
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The count of signatories.
-
getSignatories
public java.lang.String getSignatories(int index)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Specified by:
getSignatories
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The signatories at the given index.
-
getSignatoriesBytes
public 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"];
- Specified by:
getSignatoriesBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the signatories at the given index.
-
getObserversList
public com.google.protobuf.ProtocolStringList 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"];
- Specified by:
getObserversList
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- A list containing the observers.
-
getObserversCount
public 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"];
- Specified by:
getObserversCount
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The count of observers.
-
getObservers
public 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"];
- Specified by:
getObservers
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The observers at the given index.
-
getObserversBytes
public 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"];
- Specified by:
getObserversBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the observers at the given index.
-
hasAgreementText
public 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"];
- Specified by:
hasAgreementText
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the agreementText field is set.
-
getAgreementText
public 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"];
- Specified by:
getAgreementText
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The agreementText.
-
getAgreementTextOrBuilder
public 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"];
- Specified by:
getAgreementTextOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
hasMetadata
public boolean hasMetadata()
Metadata of the contract. Required for contracts created after the introduction of explicit disclosure. Optional
.com.daml.ledger.api.v1.ContractMetadata metadata = 10 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public ContractMetadataOuterClass.ContractMetadata getMetadata()
Metadata of the contract. Required for contracts created after the introduction of explicit disclosure. Optional
.com.daml.ledger.api.v1.ContractMetadata metadata = 10 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public ContractMetadataOuterClass.ContractMetadataOrBuilder getMetadataOrBuilder()
Metadata of the contract. Required for contracts created after the introduction of explicit disclosure. Optional
.com.daml.ledger.api.v1.ContractMetadata metadata = 10 [json_name = "metadata"];
- Specified by:
getMetadataOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static EventOuterClass.CreatedEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static EventOuterClass.CreatedEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public EventOuterClass.CreatedEvent.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EventOuterClass.CreatedEvent.Builder newBuilder()
-
newBuilder
public static EventOuterClass.CreatedEvent.Builder newBuilder(EventOuterClass.CreatedEvent prototype)
-
toBuilder
public EventOuterClass.CreatedEvent.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EventOuterClass.CreatedEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EventOuterClass.CreatedEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EventOuterClass.CreatedEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<EventOuterClass.CreatedEvent> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EventOuterClass.CreatedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-