Package com.daml.ledger.api.v2
Class EventOuterClass.CreatedEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
com.daml.ledger.api.v2.EventOuterClass.CreatedEvent.Builder
- All Implemented Interfaces:
EventOuterClass.CreatedEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EventOuterClass.CreatedEvent
public static final class EventOuterClass.CreatedEvent.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllInterfaceViews(Iterable<? extends EventOuterClass.InterfaceView> values) Interface views specified in the transaction filter.addAllObservers(Iterable<String> values) The observers for this contract as specified explicitly by the template or implicitly as choice controllers.addAllSignatories(Iterable<String> values) The signatories for this contract as specified by the template.addAllWitnessParties(Iterable<String> values) The parties that are notified of this event.addInterfaceViews(int index, EventOuterClass.InterfaceView value) Interface views specified in the transaction filter.addInterfaceViews(int index, EventOuterClass.InterfaceView.Builder builderForValue) Interface views specified in the transaction filter.Interface views specified in the transaction filter.addInterfaceViews(EventOuterClass.InterfaceView.Builder builderForValue) Interface views specified in the transaction filter.Interface views specified in the transaction filter.addInterfaceViewsBuilder(int index) Interface views specified in the transaction filter.addObservers(String value) The observers for this contract as specified explicitly by the template or implicitly as choice controllers.addObserversBytes(com.google.protobuf.ByteString value) The observers for this contract as specified explicitly by the template or implicitly as choice controllers.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSignatories(String value) The signatories for this contract as specified by the template.addSignatoriesBytes(com.google.protobuf.ByteString value) The signatories for this contract as specified by the template.addWitnessParties(String value) The parties that are notified of this event.addWitnessPartiesBytes(com.google.protobuf.ByteString value) The parties that are notified of this event.build()clear()The ID of the created contract.The key of the created contract.The arguments that have been used to create the contract.Ledger effective time of the transaction that created the contract.Opaque representation of contract create event payload intended for forwarding to an API server as a contract disclosed as part of a command submission.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Interface views specified in the transaction filter.The position of this event in the originating transaction or reassignment.The observers for this contract as specified explicitly by the template or implicitly as choice controllers.The offset of origin, which has contextual meaning, please see description at messages that include a CreatedEvent.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The package name of the created contract.The signatories for this contract as specified by the template.The template of the created contract.The parties that are notified of this event.clone()The 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 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.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.Timestamp.BuilderLedger 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 final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInterfaceViews(int index) Interface views specified in the transaction filter.getInterfaceViewsBuilder(int index) Interface views specified in the transaction filter.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.getSignatories(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.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.booleanThe template of the created contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe key of the created contract.The arguments that have been used to create the contract.mergeCreatedAt(com.google.protobuf.Timestamp value) Ledger effective time of the transaction that created the contract.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The template of the created contract.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeInterfaceViews(int index) Interface views specified in the transaction filter.setContractId(String value) The ID of the created contract.setContractIdBytes(com.google.protobuf.ByteString value) The ID of the created contract.The key of the created contract.setContractKey(ValueOuterClass.Value.Builder builderForValue) The key of the created contract.The arguments that have been used to create the contract.setCreateArguments(ValueOuterClass.Record.Builder builderForValue) The arguments that have been used to create the contract.setCreatedAt(com.google.protobuf.Timestamp value) Ledger effective time of the transaction that created the contract.setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Ledger effective time of the transaction that created the contract.setCreatedEventBlob(com.google.protobuf.ByteString value) Opaque representation of contract create event payload intended for forwarding to an API server as a contract disclosed as part of a command submission.setInterfaceViews(int index, EventOuterClass.InterfaceView value) Interface views specified in the transaction filter.setInterfaceViews(int index, EventOuterClass.InterfaceView.Builder builderForValue) Interface views specified in the transaction filter.setNodeId(int value) The position of this event in the originating transaction or reassignment.setObservers(int index, String value) The observers for this contract as specified explicitly by the template or implicitly as choice controllers.setOffset(long value) The offset of origin, which has contextual meaning, please see description at messages that include a CreatedEvent.setPackageName(String value) The package name of the created contract.setPackageNameBytes(com.google.protobuf.ByteString value) The package name of the created contract.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSignatories(int index, String value) The signatories for this contract as specified by the template.The template of the created contract.setTemplateId(ValueOuterClass.Identifier.Builder builderForValue) The template of the created contract.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWitnessParties(int index, String value) The parties that are notified of this event.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<EventOuterClass.CreatedEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
setField
public EventOuterClass.CreatedEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
clearField
public EventOuterClass.CreatedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
clearOneof
public EventOuterClass.CreatedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
setRepeatedField
public EventOuterClass.CreatedEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
addRepeatedField
public EventOuterClass.CreatedEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeFrom
public EventOuterClass.CreatedEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.CreatedEvent.Builder>- Throws:
IOException
-
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.
-
setOffset
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"];- Parameters:
value- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
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"];- Returns:
- This builder for chaining.
-
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.
-
setNodeId
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"];- Parameters:
value- The nodeId to set.- Returns:
- This builder for chaining.
-
clearNodeId
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"];- Returns:
- This builder for chaining.
-
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.
-
setContractId
The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 3 [json_name = "contractId"];- Parameters:
value- The contractId to set.- Returns:
- This builder for chaining.
-
clearContractId
The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 3 [json_name = "contractId"];- Returns:
- This builder for chaining.
-
setContractIdBytes
public EventOuterClass.CreatedEvent.Builder setContractIdBytes(com.google.protobuf.ByteString value) The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 3 [json_name = "contractId"];- Parameters:
value- The bytes for contractId to set.- Returns:
- This builder for chaining.
-
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.
-
setTemplateId
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"]; -
setTemplateId
public EventOuterClass.CreatedEvent.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue) 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"]; -
mergeTemplateId
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"]; -
clearTemplateId
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"]; -
getTemplateIdBuilder
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"]; -
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.
-
setContractKey
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"]; -
setContractKey
public EventOuterClass.CreatedEvent.Builder setContractKey(ValueOuterClass.Value.Builder builderForValue) 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"]; -
mergeContractKey
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"]; -
clearContractKey
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"]; -
getContractKeyBuilder
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"]; -
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.
-
setCreateArguments
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"]; -
setCreateArguments
public EventOuterClass.CreatedEvent.Builder setCreateArguments(ValueOuterClass.Record.Builder builderForValue) 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"]; -
mergeCreateArguments
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"]; -
clearCreateArguments
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"]; -
getCreateArgumentsBuilder
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"]; -
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.
-
setCreatedEventBlob
public EventOuterClass.CreatedEvent.Builder setCreatedEventBlob(com.google.protobuf.ByteString value) 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"];- Parameters:
value- The createdEventBlob to set.- Returns:
- This builder for chaining.
-
clearCreatedEventBlob
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"];- Returns:
- This builder for chaining.
-
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
-
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
-
setInterfaceViews
public EventOuterClass.CreatedEvent.Builder setInterfaceViews(int index, EventOuterClass.InterfaceView value) 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"]; -
setInterfaceViews
public EventOuterClass.CreatedEvent.Builder setInterfaceViews(int index, EventOuterClass.InterfaceView.Builder builderForValue) 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"]; -
addInterfaceViews
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"]; -
addInterfaceViews
public EventOuterClass.CreatedEvent.Builder addInterfaceViews(int index, EventOuterClass.InterfaceView value) 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"]; -
addInterfaceViews
public EventOuterClass.CreatedEvent.Builder addInterfaceViews(EventOuterClass.InterfaceView.Builder builderForValue) 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"]; -
addInterfaceViews
public EventOuterClass.CreatedEvent.Builder addInterfaceViews(int index, EventOuterClass.InterfaceView.Builder builderForValue) 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"]; -
addAllInterfaceViews
public EventOuterClass.CreatedEvent.Builder addAllInterfaceViews(Iterable<? extends EventOuterClass.InterfaceView> values) 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"]; -
clearInterfaceViews
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"]; -
removeInterfaceViews
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"]; -
getInterfaceViewsBuilder
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"]; -
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
-
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
-
addInterfaceViewsBuilder
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"]; -
addInterfaceViewsBuilder
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"]; -
getInterfaceViewsBuilderList
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"]; -
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.
-
setWitnessParties
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"];- Parameters:
index- The index to set the value at.value- The witnessParties to set.- Returns:
- This builder for chaining.
-
addWitnessParties
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"];- Parameters:
value- The witnessParties to add.- Returns:
- This builder for chaining.
-
addAllWitnessParties
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"];- Parameters:
values- The witnessParties to add.- Returns:
- This builder for chaining.
-
clearWitnessParties
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"];- Returns:
- This builder for chaining.
-
addWitnessPartiesBytes
public EventOuterClass.CreatedEvent.Builder addWitnessPartiesBytes(com.google.protobuf.ByteString value) 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"];- Parameters:
value- The bytes of the witnessParties to add.- Returns:
- This builder for chaining.
-
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.
-
setSignatories
The signatories for this contract as specified by the template. Required
repeated string signatories = 10 [json_name = "signatories"];- Parameters:
index- The index to set the value at.value- The signatories to set.- Returns:
- This builder for chaining.
-
addSignatories
The signatories for this contract as specified by the template. Required
repeated string signatories = 10 [json_name = "signatories"];- Parameters:
value- The signatories to add.- Returns:
- This builder for chaining.
-
addAllSignatories
The signatories for this contract as specified by the template. Required
repeated string signatories = 10 [json_name = "signatories"];- Parameters:
values- The signatories to add.- Returns:
- This builder for chaining.
-
clearSignatories
The signatories for this contract as specified by the template. Required
repeated string signatories = 10 [json_name = "signatories"];- Returns:
- This builder for chaining.
-
addSignatoriesBytes
public EventOuterClass.CreatedEvent.Builder addSignatoriesBytes(com.google.protobuf.ByteString value) The signatories for this contract as specified by the template. Required
repeated string signatories = 10 [json_name = "signatories"];- Parameters:
value- The bytes of the signatories to add.- Returns:
- This builder for chaining.
-
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.
-
setObservers
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"];- Parameters:
index- The index to set the value at.value- The observers to set.- Returns:
- This builder for chaining.
-
addObservers
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"];- Parameters:
value- The observers to add.- Returns:
- This builder for chaining.
-
addAllObservers
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"];- Parameters:
values- The observers to add.- Returns:
- This builder for chaining.
-
clearObservers
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"];- Returns:
- This builder for chaining.
-
addObserversBytes
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"];- Parameters:
value- The bytes of the observers to add.- Returns:
- This builder for chaining.
-
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.
-
setCreatedAt
Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 12 [json_name = "createdAt"]; -
setCreatedAt
public EventOuterClass.CreatedEvent.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 12 [json_name = "createdAt"]; -
mergeCreatedAt
Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 12 [json_name = "createdAt"]; -
clearCreatedAt
Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 12 [json_name = "createdAt"]; -
getCreatedAtBuilder
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 12 [json_name = "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.
-
setPackageName
The package name of the created contract. Required
string package_name = 13 [json_name = "packageName"];- Parameters:
value- The packageName to set.- Returns:
- This builder for chaining.
-
clearPackageName
The package name of the created contract. Required
string package_name = 13 [json_name = "packageName"];- Returns:
- This builder for chaining.
-
setPackageNameBytes
public EventOuterClass.CreatedEvent.Builder setPackageNameBytes(com.google.protobuf.ByteString value) The package name of the created contract. Required
string package_name = 13 [json_name = "packageName"];- Parameters:
value- The bytes for packageName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EventOuterClass.CreatedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeUnknownFields
public final EventOuterClass.CreatedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-