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.v1.CreatedEvent| Modifier and Type | Class and Description |
|---|---|
static class |
EventOuterClass.CreatedEvent.Builder
Records that a contract has been created, and choices may now be exercised on it.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
AGREEMENT_TEXT_FIELD_NUMBER |
static int |
CONTRACT_ID_FIELD_NUMBER |
static int |
CONTRACT_KEY_FIELD_NUMBER |
static int |
CREATE_ARGUMENTS_FIELD_NUMBER |
static int |
EVENT_ID_FIELD_NUMBER |
static int |
OBSERVERS_FIELD_NUMBER |
static int |
SIGNATORIES_FIELD_NUMBER |
static int |
TEMPLATE_ID_FIELD_NUMBER |
static int |
WITNESS_PARTIES_FIELD_NUMBER |
| Modifier and Type | Method and 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, 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.
|
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.
|
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, if defined.
|
boolean |
hasCreateArguments()
The arguments that have been used to create the contract.
|
int |
hashCode() |
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(java.nio.ByteBuffer data) |
static EventOuterClass.CreatedEvent |
parseFrom(java.nio.ByteBuffer 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 com.google.protobuf.Parser<EventOuterClass.CreatedEvent> |
parser() |
EventOuterClass.CreatedEvent.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EVENT_ID_FIELD_NUMBER
public static final int CONTRACT_ID_FIELD_NUMBER
public static final int TEMPLATE_ID_FIELD_NUMBER
public static final int CONTRACT_KEY_FIELD_NUMBER
public static final int CREATE_ARGUMENTS_FIELD_NUMBER
public static final int WITNESS_PARTIES_FIELD_NUMBER
public static final int SIGNATORIES_FIELD_NUMBER
public static final int OBSERVERS_FIELD_NUMBER
public static final int AGREEMENT_TEXT_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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"];getEventId in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getEventIdBytes in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getContractId in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getContractIdBytes in interface EventOuterClass.CreatedEventOrBuilderpublic boolean hasTemplateId()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];hasTemplateId in interface EventOuterClass.CreatedEventOrBuilderpublic ValueOuterClass.Identifier getTemplateId()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];getTemplateId in interface EventOuterClass.CreatedEventOrBuilderpublic ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];getTemplateIdOrBuilder in interface EventOuterClass.CreatedEventOrBuilderpublic boolean hasContractKey()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];hasContractKey in interface EventOuterClass.CreatedEventOrBuilderpublic ValueOuterClass.Value getContractKey()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];getContractKey in interface EventOuterClass.CreatedEventOrBuilderpublic ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];getContractKeyOrBuilder in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];hasCreateArguments in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getCreateArguments in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getCreateArgumentsOrBuilder in interface EventOuterClass.CreatedEventOrBuilderpublic 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). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];getWitnessPartiesList in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getWitnessPartiesCount in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getWitnessParties in interface EventOuterClass.CreatedEventOrBuilderindex - The index of the element to return.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). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];getWitnessPartiesBytes in interface EventOuterClass.CreatedEventOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getSignatoriesList()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];getSignatoriesList in interface EventOuterClass.CreatedEventOrBuilderpublic int getSignatoriesCount()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];getSignatoriesCount in interface EventOuterClass.CreatedEventOrBuilderpublic java.lang.String getSignatories(int index)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];getSignatories in interface EventOuterClass.CreatedEventOrBuilderindex - The index of the element to return.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"];getSignatoriesBytes in interface EventOuterClass.CreatedEventOrBuilderindex - The index of the value to return.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"];getObserversList in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getObserversCount in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getObservers in interface EventOuterClass.CreatedEventOrBuilderindex - The index of the element to return.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"];getObserversBytes in interface EventOuterClass.CreatedEventOrBuilderindex - The index of the value to return.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"];hasAgreementText in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getAgreementText in interface EventOuterClass.CreatedEventOrBuilderpublic 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"];getAgreementTextOrBuilder in interface EventOuterClass.CreatedEventOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EventOuterClass.CreatedEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventOuterClass.CreatedEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventOuterClass.CreatedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventOuterClass.CreatedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventOuterClass.CreatedEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EventOuterClass.CreatedEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static EventOuterClass.CreatedEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EventOuterClass.CreatedEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic EventOuterClass.CreatedEvent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EventOuterClass.CreatedEvent.Builder newBuilder()
public static EventOuterClass.CreatedEvent.Builder newBuilder(EventOuterClass.CreatedEvent prototype)
public EventOuterClass.CreatedEvent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EventOuterClass.CreatedEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EventOuterClass.CreatedEvent getDefaultInstance()
public static com.google.protobuf.Parser<EventOuterClass.CreatedEvent> parser()
public com.google.protobuf.Parser<EventOuterClass.CreatedEvent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EventOuterClass.CreatedEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder