Package com.daml.ledger.javaapi.data
Class CreatedEvent
java.lang.Object
com.daml.ledger.javaapi.data.CreatedEvent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreatedEvent
(@NonNull List<@NonNull String> witnessParties, @NonNull Long offset, @NonNull Integer nodeId, @NonNull Identifier templateId, @NonNull String packageName, @NonNull String contractId, @NonNull DamlRecord arguments, @NonNull com.google.protobuf.ByteString createdEventBlob, @NonNull Map<@NonNull Identifier, @NonNull DamlRecord> interfaceViews, @NonNull Map<@NonNull Identifier, @NonNull com.google.rpc.Status> failedInterfaceViews, @NonNull Optional<Value> contractKey, @NonNull Collection<@NonNull String> signatories, @NonNull Collection<@NonNull String> observers, @NonNull Instant createdAt) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CreatedEvent
fromProto
(EventOuterClass.CreatedEvent createdEvent) @NonNull DamlRecord
@NonNull String
@NonNull Instant
createdAt
has been introduced in the Ledger APIEventOuterClass.CreatedEvent
starting with Canton version 2.8.0.com.google.protobuf.ByteString
@NonNull Map<@NonNull Identifier,
@NonNull com.google.rpc.Status> @NonNull Map<@NonNull Identifier,
@NonNull DamlRecord> @NonNull Integer
@NonNull Long
@NonNull String
@NonNull Identifier
int
hashCode()
@NonNull EventOuterClass.CreatedEvent
toProto()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.daml.ledger.javaapi.data.Event
toProtoEvent
Methods inherited from interface com.daml.ledger.javaapi.data.TreeEvent
toProtoTreeEvent
-
Field Details
-
createdAt
-
-
Constructor Details
-
CreatedEvent
public CreatedEvent(@NonNull List<@NonNull String> witnessParties, @NonNull Long offset, @NonNull Integer nodeId, @NonNull Identifier templateId, @NonNull String packageName, @NonNull String contractId, @NonNull DamlRecord arguments, @NonNull com.google.protobuf.ByteString createdEventBlob, @NonNull Map<@NonNull Identifier, @NonNull DamlRecord> interfaceViews, @NonNull Map<@NonNull Identifier, @NonNull com.google.rpc.Status> failedInterfaceViews, @NonNull Optional<Value> contractKey, @NonNull Collection<@NonNull String> signatories, @NonNull Collection<@NonNull String> observers, @NonNull Instant createdAt)
-
-
Method Details
-
getWitnessParties
- Specified by:
getWitnessParties
in interfaceEvent
- Specified by:
getWitnessParties
in interfaceTreeEvent
-
getOffset
-
getNodeId
-
getTemplateId
- Specified by:
getTemplateId
in interfaceEvent
- Specified by:
getTemplateId
in interfaceTreeEvent
-
getPackageName
- Specified by:
getPackageName
in interfaceEvent
- Specified by:
getPackageName
in interfaceTreeEvent
-
getContractId
- Specified by:
getContractId
in interfaceEvent
- Specified by:
getContractId
in interfaceTreeEvent
-
getArguments
-
getCreatedEventBlob
public com.google.protobuf.ByteString getCreatedEventBlob() -
getInterfaceViews
-
getFailedInterfaceViews
-
getContractKey
-
getSignatories
-
getObservers
-
getCreatedAt
createdAt
has been introduced in the Ledger APIEventOuterClass.CreatedEvent
starting with Canton version 2.8.0. Events sourced from the Ledger API prior to this version will return the defaultInstant.EPOCH
value. -
equals
-
hashCode
public int hashCode() -
toString
-
toProto
-
fromProto
-