Package com.daml.ledger.api.v2
Class EventOuterClass.CreatedEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.EventOuterClass.CreatedEvent
- All Implemented Interfaces:
EventOuterClass.CreatedEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,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 type
com.daml.ledger.api.v2.CreatedEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRecords 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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe ID of the created contract.com.google.protobuf.ByteStringThe ID of the created contract.The key of the created contract.The key of the created contract.The arguments that have been used to create the contract.The arguments that have been used to create the contract.com.google.protobuf.TimestampLedger effective time of the transaction that created the contract.com.google.protobuf.TimestampOrBuilderLedger effective time of the transaction that created the contract.com.google.protobuf.ByteStringOpaque representation of contract create event payload intended for forwarding to an API server as a contract disclosed as part of a command submission.static EventOuterClass.CreatedEventstatic final com.google.protobuf.Descriptors.DescriptorgetInterfaceViews(int index) Interface views specified in the transaction filter.intInterface views specified in the transaction filter.Interface views specified in the transaction filter.getInterfaceViewsOrBuilder(int index) Interface views specified in the transaction filter.List<? extends EventOuterClass.InterfaceViewOrBuilder>Interface views specified in the transaction filter.intThe position of this event in the originating transaction or reassignment.getObservers(int index) The observers for this contract as specified explicitly by the template or implicitly as choice controllers.com.google.protobuf.ByteStringgetObserversBytes(int index) The observers for this contract as specified explicitly by the template or implicitly as choice controllers.intThe observers for this contract as specified explicitly by the template or implicitly as choice controllers.com.google.protobuf.ProtocolStringListThe observers for this contract as specified explicitly by the template or implicitly as choice controllers.longThe offset of origin, which has contextual meaning, please see description at messages that include a CreatedEvent.The package name of the created contract.com.google.protobuf.ByteStringThe package name of the created contract.com.google.protobuf.Parser<EventOuterClass.CreatedEvent>intgetSignatories(int index) The signatories for this contract as specified by the template.com.google.protobuf.ByteStringgetSignatoriesBytes(int index) The signatories for this contract as specified by the template.intThe signatories for this contract as specified by the template.com.google.protobuf.ProtocolStringListThe signatories for this contract as specified by the template.The template of the created contract.The template of the created contract.getWitnessParties(int index) The parties that are notified of this event.com.google.protobuf.ByteStringgetWitnessPartiesBytes(int index) The parties that are notified of this event.intThe parties that are notified of this event.com.google.protobuf.ProtocolStringListThe parties that are notified of this event.booleanThe key of the created contract.booleanThe arguments that have been used to create the contract.booleanLedger effective time of the transaction that created the contract.inthashCode()booleanThe template of the created contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(EventOuterClass.CreatedEvent prototype) protected EventOuterClass.CreatedEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static EventOuterClass.CreatedEventparseDelimitedFrom(InputStream input) static EventOuterClass.CreatedEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventOuterClass.CreatedEventparseFrom(byte[] data) static EventOuterClass.CreatedEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventOuterClass.CreatedEventparseFrom(com.google.protobuf.ByteString data) static EventOuterClass.CreatedEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventOuterClass.CreatedEventparseFrom(com.google.protobuf.CodedInputStream input) static EventOuterClass.CreatedEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventOuterClass.CreatedEventparseFrom(InputStream input) static EventOuterClass.CreatedEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventOuterClass.CreatedEventparseFrom(ByteBuffer data) static EventOuterClass.CreatedEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EventOuterClass.CreatedEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
-
NODE_ID_FIELD_NUMBER
public static final int NODE_ID_FIELD_NUMBER- See Also:
-
CONTRACT_ID_FIELD_NUMBER
public static final int CONTRACT_ID_FIELD_NUMBER- See Also:
-
TEMPLATE_ID_FIELD_NUMBER
public static final int TEMPLATE_ID_FIELD_NUMBER- See Also:
-
CONTRACT_KEY_FIELD_NUMBER
public static final int CONTRACT_KEY_FIELD_NUMBER- See Also:
-
CREATE_ARGUMENTS_FIELD_NUMBER
public static final int CREATE_ARGUMENTS_FIELD_NUMBER- See Also:
-
CREATED_EVENT_BLOB_FIELD_NUMBER
public static final int CREATED_EVENT_BLOB_FIELD_NUMBER- See Also:
-
INTERFACE_VIEWS_FIELD_NUMBER
public static final int INTERFACE_VIEWS_FIELD_NUMBER- See Also:
-
WITNESS_PARTIES_FIELD_NUMBER
public static final int WITNESS_PARTIES_FIELD_NUMBER- See Also:
-
SIGNATORIES_FIELD_NUMBER
public static final int SIGNATORIES_FIELD_NUMBER- See Also:
-
OBSERVERS_FIELD_NUMBER
public static final int OBSERVERS_FIELD_NUMBER- See Also:
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER- See Also:
-
PACKAGE_NAME_FIELD_NUMBER
public static final int PACKAGE_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getOffset
public long getOffset()The offset of origin, which has contextual meaning, please see description at messages that include a CreatedEvent. Offsets are managed by the participant nodes. Transactions can thus NOT be assumed to have the same offsets on different participant nodes. Required, it is a valid absolute offset (positive integer)
int64 offset = 1 [json_name = "offset"];- Specified by:
getOffsetin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The offset.
-
getNodeId
public int getNodeId()The position of this event in the originating transaction or reassignment. The origin has contextual meaning, please see description at messages that include a CreatedEvent. Node IDs are not necessarily equal across participants, as these may see different projections/parts of transactions. Required, must be valid node ID (non-negative integer)
int32 node_id = 2 [json_name = "nodeId"];- Specified by:
getNodeIdin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The nodeId.
-
getContractId
The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 3 [json_name = "contractId"];- Specified by:
getContractIdin 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 = 3 [json_name = "contractId"];- Specified by:
getContractIdBytesin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The bytes for contractId.
-
hasTemplateId
public boolean hasTemplateId()The template of the created contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];- Specified by:
hasTemplateIdin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- Whether the templateId field is set.
-
getTemplateId
The template of the created contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];- Specified by:
getTemplateIdin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The templateId.
-
getTemplateIdOrBuilder
The template of the created contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];- Specified by:
getTemplateIdOrBuilderin 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.v2.Value contract_key = 5 [json_name = "contractKey"];- Specified by:
hasContractKeyin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- Whether the contractKey field is set.
-
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.v2.Value contract_key = 5 [json_name = "contractKey"];- Specified by:
getContractKeyin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The contractKey.
-
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.v2.Value contract_key = 5 [json_name = "contractKey"];- Specified by:
getContractKeyOrBuilderin 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 a ``CumulativeFilter`` exists with the ``template_id`` of this event among the ``template_filters``, - or if there was a party, which is in the ``witness_parties`` of this event, and for which a wildcard filter exists (``Filters`` with a ``CumulativeFilter`` of ``WildcardFilter``). Optional
.com.daml.ledger.api.v2.Record create_arguments = 6 [json_name = "createArguments"];- Specified by:
hasCreateArgumentsin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- Whether the createArguments field is set.
-
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 a ``CumulativeFilter`` exists with the ``template_id`` of this event among the ``template_filters``, - or if there was a party, which is in the ``witness_parties`` of this event, and for which a wildcard filter exists (``Filters`` with a ``CumulativeFilter`` of ``WildcardFilter``). Optional
.com.daml.ledger.api.v2.Record create_arguments = 6 [json_name = "createArguments"];- Specified by:
getCreateArgumentsin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The createArguments.
-
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 a ``CumulativeFilter`` exists with the ``template_id`` of this event among the ``template_filters``, - or if there was a party, which is in the ``witness_parties`` of this event, and for which a wildcard filter exists (``Filters`` with a ``CumulativeFilter`` of ``WildcardFilter``). Optional
.com.daml.ledger.api.v2.Record create_arguments = 6 [json_name = "createArguments"];- Specified by:
getCreateArgumentsOrBuilderin interfaceEventOuterClass.CreatedEventOrBuilder
-
getCreatedEventBlob
public com.google.protobuf.ByteString getCreatedEventBlob()Opaque representation of contract create event payload intended for forwarding to an API server as a contract disclosed as part of a command submission. Optional
bytes created_event_blob = 7 [json_name = "createdEventBlob"];- Specified by:
getCreatedEventBlobin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The createdEventBlob.
-
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.v2.InterfaceView interface_views = 8 [json_name = "interfaceViews"];- Specified by:
getInterfaceViewsListin interfaceEventOuterClass.CreatedEventOrBuilder
-
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.v2.InterfaceView interface_views = 8 [json_name = "interfaceViews"];- Specified by:
getInterfaceViewsOrBuilderListin 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.v2.InterfaceView interface_views = 8 [json_name = "interfaceViews"];- Specified by:
getInterfaceViewsCountin interfaceEventOuterClass.CreatedEventOrBuilder
-
getInterfaceViews
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.v2.InterfaceView interface_views = 8 [json_name = "interfaceViews"];- Specified by:
getInterfaceViewsin interfaceEventOuterClass.CreatedEventOrBuilder
-
getInterfaceViewsOrBuilder
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.v2.InterfaceView interface_views = 8 [json_name = "interfaceViews"];- Specified by:
getInterfaceViewsOrBuilderin 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 or ledger-effects transaction, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a ACS delta transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). 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. The behavior of reading create events visible to parties not hosted on the participant node serving the Ledger API is undefined. Concretely, there is neither a guarantee that the participant node will serve all their create events on the ACS stream, nor is there a guarantee that matching archive events are delivered for such create events. For most clients this is not a problem, as they only read events for parties that are hosted on the participant node. If you need to read events for parties that may not be hosted at all times on the participant node, subscribe to the ``TopologyEvent``s for that party by setting a corresponding ``UpdateFormat``. Using these events, query the ACS as-of an offset where the party is hosted on the participant node, and ignore create events at offsets where the party is not hosted on the participant node. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];- Specified by:
getWitnessPartiesListin 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 or ledger-effects transaction, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a ACS delta transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). 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. The behavior of reading create events visible to parties not hosted on the participant node serving the Ledger API is undefined. Concretely, there is neither a guarantee that the participant node will serve all their create events on the ACS stream, nor is there a guarantee that matching archive events are delivered for such create events. For most clients this is not a problem, as they only read events for parties that are hosted on the participant node. If you need to read events for parties that may not be hosted at all times on the participant node, subscribe to the ``TopologyEvent``s for that party by setting a corresponding ``UpdateFormat``. Using these events, query the ACS as-of an offset where the party is hosted on the participant node, and ignore create events at offsets where the party is not hosted on the participant node. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];- Specified by:
getWitnessPartiesCountin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The count of witnessParties.
-
getWitnessParties
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree or ledger-effects transaction, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a ACS delta transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). 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. The behavior of reading create events visible to parties not hosted on the participant node serving the Ledger API is undefined. Concretely, there is neither a guarantee that the participant node will serve all their create events on the ACS stream, nor is there a guarantee that matching archive events are delivered for such create events. For most clients this is not a problem, as they only read events for parties that are hosted on the participant node. If you need to read events for parties that may not be hosted at all times on the participant node, subscribe to the ``TopologyEvent``s for that party by setting a corresponding ``UpdateFormat``. Using these events, query the ACS as-of an offset where the party is hosted on the participant node, and ignore create events at offsets where the party is not hosted on the participant node. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];- Specified by:
getWitnessPartiesin 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 or ledger-effects transaction, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a ACS delta transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). 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. The behavior of reading create events visible to parties not hosted on the participant node serving the Ledger API is undefined. Concretely, there is neither a guarantee that the participant node will serve all their create events on the ACS stream, nor is there a guarantee that matching archive events are delivered for such create events. For most clients this is not a problem, as they only read events for parties that are hosted on the participant node. If you need to read events for parties that may not be hosted at all times on the participant node, subscribe to the ``TopologyEvent``s for that party by setting a corresponding ``UpdateFormat``. Using these events, query the ACS as-of an offset where the party is hosted on the participant node, and ignore create events at offsets where the party is not hosted on the participant node. Required
repeated string witness_parties = 9 [json_name = "witnessParties"];- Specified by:
getWitnessPartiesBytesin 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 = 10 [json_name = "signatories"];- Specified by:
getSignatoriesListin 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 = 10 [json_name = "signatories"];- Specified by:
getSignatoriesCountin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The count of signatories.
-
getSignatories
The signatories for this contract as specified by the template. Required
repeated string signatories = 10 [json_name = "signatories"];- Specified by:
getSignatoriesin 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 = 10 [json_name = "signatories"];- Specified by:
getSignatoriesBytesin 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 = 11 [json_name = "observers"];- Specified by:
getObserversListin 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 = 11 [json_name = "observers"];- Specified by:
getObserversCountin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The count of observers.
-
getObservers
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 = 11 [json_name = "observers"];- Specified by:
getObserversin 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 = 11 [json_name = "observers"];- Specified by:
getObserversBytesin interfaceEventOuterClass.CreatedEventOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the observers at the given index.
-
hasCreatedAt
public boolean hasCreatedAt()Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 12 [json_name = "createdAt"];- Specified by:
hasCreatedAtin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt()Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 12 [json_name = "createdAt"];- Specified by:
getCreatedAtin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The createdAt.
-
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 12 [json_name = "createdAt"];- Specified by:
getCreatedAtOrBuilderin interfaceEventOuterClass.CreatedEventOrBuilder
-
getPackageName
The package name of the created contract. Required
string package_name = 13 [json_name = "packageName"];- Specified by:
getPackageNamein interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The packageName.
-
getPackageNameBytes
public com.google.protobuf.ByteString getPackageNameBytes()The package name of the created contract. Required
string package_name = 13 [json_name = "packageName"];- Specified by:
getPackageNameBytesin interfaceEventOuterClass.CreatedEventOrBuilder- Returns:
- The bytes for packageName.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(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
- Throws:
IOException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EventOuterClass.CreatedEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static EventOuterClass.CreatedEvent.Builder newBuilder(EventOuterClass.CreatedEvent prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EventOuterClass.CreatedEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-