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 TypeMethodDescriptionbooleanstatic CreatedEventfromProto(EventOuterClass.CreatedEvent createdEvent) @NonNull DamlRecord@NonNull String@NonNull InstantcreatedAthas been introduced in the Ledger APIEventOuterClass.CreatedEventstarting 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 IdentifierinthashCode()@NonNull EventOuterClass.CreatedEventtoProto()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.daml.ledger.javaapi.data.Event
toProtoEventMethods 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:
getWitnessPartiesin interfaceEvent- Specified by:
getWitnessPartiesin interfaceTreeEvent
-
getOffset
-
getNodeId
-
getTemplateId
- Specified by:
getTemplateIdin interfaceEvent- Specified by:
getTemplateIdin interfaceTreeEvent
-
getPackageName
- Specified by:
getPackageNamein interfaceEvent- Specified by:
getPackageNamein interfaceTreeEvent
-
getContractId
- Specified by:
getContractIdin interfaceEvent- Specified by:
getContractIdin interfaceTreeEvent
-
getArguments
-
getCreatedEventBlob
public com.google.protobuf.ByteString getCreatedEventBlob() -
getInterfaceViews
-
getFailedInterfaceViews
-
getContractKey
-
getSignatories
-
getObservers
-
getCreatedAt
createdAthas been introduced in the Ledger APIEventOuterClass.CreatedEventstarting with Canton version 2.8.0. Events sourced from the Ledger API prior to this version will return the defaultInstant.EPOCHvalue. -
equals
-
hashCode
public int hashCode() -
toString
-
toProto
-
fromProto
-