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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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"];
getEventId
in interface EventOuterClass.CreatedEventOrBuilder
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"];
getEventIdBytes
in interface EventOuterClass.CreatedEventOrBuilder
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"];
getContractId
in interface EventOuterClass.CreatedEventOrBuilder
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"];
getContractIdBytes
in interface EventOuterClass.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
public 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.CreatedEventOrBuilder
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). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
getWitnessPartiesList
in interface EventOuterClass.CreatedEventOrBuilder
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). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
getWitnessPartiesCount
in interface EventOuterClass.CreatedEventOrBuilder
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). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
getWitnessParties
in interface EventOuterClass.CreatedEventOrBuilder
index
- 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.CreatedEventOrBuilder
index
- 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.CreatedEventOrBuilder
public int getSignatoriesCount()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
getSignatoriesCount
in interface EventOuterClass.CreatedEventOrBuilder
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"];
getSignatories
in interface EventOuterClass.CreatedEventOrBuilder
index
- 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.CreatedEventOrBuilder
index
- 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.CreatedEventOrBuilder
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"];
getObserversCount
in interface EventOuterClass.CreatedEventOrBuilder
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"];
getObservers
in interface EventOuterClass.CreatedEventOrBuilder
index
- 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.CreatedEventOrBuilder
index
- 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.CreatedEventOrBuilder
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"];
getAgreementText
in interface EventOuterClass.CreatedEventOrBuilder
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"];
getAgreementTextOrBuilder
in interface EventOuterClass.CreatedEventOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static EventOuterClass.CreatedEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EventOuterClass.CreatedEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EventOuterClass.CreatedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EventOuterClass.CreatedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EventOuterClass.CreatedEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static EventOuterClass.CreatedEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static EventOuterClass.CreatedEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static EventOuterClass.CreatedEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static EventOuterClass.CreatedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public EventOuterClass.CreatedEvent.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected EventOuterClass.CreatedEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public EventOuterClass.CreatedEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder