Package com.daml.ledger.api.v2
Class EventOuterClass.ExercisedEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
com.daml.ledger.api.v2.EventOuterClass.ExercisedEvent.Builder
- All Implemented Interfaces:
EventOuterClass.ExercisedEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- EventOuterClass.ExercisedEvent
public static final class EventOuterClass.ExercisedEvent.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
implements EventOuterClass.ExercisedEventOrBuilder
Records that a choice has been exercised on a target contract.Protobuf type
com.daml.ledger.api.v2.ExercisedEvent
-
Method Summary
Modifier and TypeMethodDescriptionaddActingParties
(String value) The parties that exercised the choice.addActingPartiesBytes
(com.google.protobuf.ByteString value) The parties that exercised the choice.addAllActingParties
(Iterable<String> values) The parties that exercised the choice.addAllImplementedInterfaces
(Iterable<? extends ValueOuterClass.Identifier> values) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.addAllWitnessParties
(Iterable<String> values) The parties that are notified of this event.addImplementedInterfaces
(int index, ValueOuterClass.Identifier value) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.addImplementedInterfaces
(int index, ValueOuterClass.Identifier.Builder builderForValue) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.addImplementedInterfaces
(ValueOuterClass.Identifier.Builder builderForValue) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.addImplementedInterfacesBuilder
(int index) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) 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 parties that exercised the choice.The choice that was exercised on the target contract.The argument of the exercised choice.If true, the target contract may no longer be exercised.The ID of the target contract.The result of exercising the choice.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.The interface where the choice is defined, if inherited.Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of this ``ExercisedEvent``.The position of this event in the originating transaction or reassignment.The offset of origin.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The package name of the contract.The template of the target contract.The parties that are notified of this event.clone()
getActingParties
(int index) The parties that exercised the choice.com.google.protobuf.ByteString
getActingPartiesBytes
(int index) The parties that exercised the choice.int
The parties that exercised the choice.com.google.protobuf.ProtocolStringList
The parties that exercised the choice.The choice that was exercised on the target contract.The argument of the exercised choice.The argument of the exercised choice.The argument of the exercised choice.com.google.protobuf.ByteString
The choice that was exercised on the target contract.boolean
If true, the target contract may no longer be exercised.The ID of the target contract.com.google.protobuf.ByteString
The ID of the target contract.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The result of exercising the choice.The result of exercising the choice.The result of exercising the choice.getImplementedInterfaces
(int index) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.getImplementedInterfacesBuilder
(int index) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.int
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.getImplementedInterfacesOrBuilder
(int index) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.List<? extends ValueOuterClass.IdentifierOrBuilder>
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.The interface where the choice is defined, if inherited.The interface where the choice is defined, if inherited.The interface where the choice is defined, if inherited.int
Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of this ``ExercisedEvent``.int
The position of this event in the originating transaction or reassignment.long
The offset of origin.The package name of the contract.com.google.protobuf.ByteString
The package name of the contract.The template of the target contract.The template of the target contract.The template of the target contract.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
The parties that are notified of this event.com.google.protobuf.ProtocolStringList
The parties that are notified of this event.boolean
The argument of the exercised choice.boolean
The result of exercising the choice.boolean
The interface where the choice is defined, if inherited.boolean
The template of the target contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
The argument of the exercised choice.The result of exercising the choice.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) The interface where the choice is defined, if inherited.The template of the target contract.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeImplementedInterfaces
(int index) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.setActingParties
(int index, String value) The parties that exercised the choice.The choice that was exercised on the target contract.The argument of the exercised choice.setChoiceArgument
(ValueOuterClass.Value.Builder builderForValue) The argument of the exercised choice.setChoiceBytes
(com.google.protobuf.ByteString value) The choice that was exercised on the target contract.setConsuming
(boolean value) If true, the target contract may no longer be exercised.setContractId
(String value) The ID of the target contract.setContractIdBytes
(com.google.protobuf.ByteString value) The ID of the target contract.The result of exercising the choice.setExerciseResult
(ValueOuterClass.Value.Builder builderForValue) The result of exercising the choice.setImplementedInterfaces
(int index, ValueOuterClass.Identifier value) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.setImplementedInterfaces
(int index, ValueOuterClass.Identifier.Builder builderForValue) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query.The interface where the choice is defined, if inherited.setInterfaceId
(ValueOuterClass.Identifier.Builder builderForValue) The interface where the choice is defined, if inherited.setLastDescendantNodeId
(int value) Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of this ``ExercisedEvent``.setNodeId
(int value) The position of this event in the originating transaction or reassignment.setOffset
(long value) The offset of origin.setPackageName
(String value) The package name of the contract.setPackageNameBytes
(com.google.protobuf.ByteString value) The package name of the contract.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The template of the target contract.setTemplateId
(ValueOuterClass.Identifier.Builder builderForValue) The template of the target 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
setField
public EventOuterClass.ExercisedEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
clearField
public EventOuterClass.ExercisedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
clearOneof
public EventOuterClass.ExercisedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
setRepeatedField
public EventOuterClass.ExercisedEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
addRepeatedField
public EventOuterClass.ExercisedEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
public EventOuterClass.ExercisedEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.ExercisedEvent.Builder>
- Throws:
IOException
-
getOffset
public long getOffset()The offset of origin. 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:
getOffset
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The offset.
-
setOffset
The offset of origin. 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. 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. 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:
getNodeId
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The nodeId.
-
setNodeId
The position of this event in the originating transaction or reassignment. 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. 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 target contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 3 [json_name = "contractId"];
- Specified by:
getContractId
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The contractId.
-
getContractIdBytes
public com.google.protobuf.ByteString getContractIdBytes()The ID of the target contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 3 [json_name = "contractId"];
- Specified by:
getContractIdBytes
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The bytes for contractId.
-
setContractId
The ID of the target 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 target 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.ExercisedEvent.Builder setContractIdBytes(com.google.protobuf.ByteString value) The ID of the target 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 target contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
- Specified by:
hasTemplateId
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- Whether the templateId field is set.
-
getTemplateId
The template of the target contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
- Specified by:
getTemplateId
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The templateId.
-
setTemplateId
The template of the target 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.ExercisedEvent.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue) The template of the target 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 target 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 target 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 target 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 target contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 4 [json_name = "templateId"];
- Specified by:
getTemplateIdOrBuilder
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
hasInterfaceId
public boolean hasInterfaceId()The interface where the choice is defined, if inherited. If defined, the identifier uses the package-id reference format. Optional
.com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
- Specified by:
hasInterfaceId
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- Whether the interfaceId field is set.
-
getInterfaceId
The interface where the choice is defined, if inherited. If defined, the identifier uses the package-id reference format. Optional
.com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
- Specified by:
getInterfaceId
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The interfaceId.
-
setInterfaceId
The interface where the choice is defined, if inherited. If defined, the identifier uses the package-id reference format. Optional
.com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
-
setInterfaceId
public EventOuterClass.ExercisedEvent.Builder setInterfaceId(ValueOuterClass.Identifier.Builder builderForValue) The interface where the choice is defined, if inherited. If defined, the identifier uses the package-id reference format. Optional
.com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
-
mergeInterfaceId
The interface where the choice is defined, if inherited. If defined, the identifier uses the package-id reference format. Optional
.com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
-
clearInterfaceId
The interface where the choice is defined, if inherited. If defined, the identifier uses the package-id reference format. Optional
.com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
-
getInterfaceIdBuilder
The interface where the choice is defined, if inherited. If defined, the identifier uses the package-id reference format. Optional
.com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
-
getInterfaceIdOrBuilder
The interface where the choice is defined, if inherited. If defined, the identifier uses the package-id reference format. Optional
.com.daml.ledger.api.v2.Identifier interface_id = 5 [json_name = "interfaceId"];
- Specified by:
getInterfaceIdOrBuilder
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
getChoice
The choice that was exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 6 [json_name = "choice"];
- Specified by:
getChoice
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The choice.
-
getChoiceBytes
public com.google.protobuf.ByteString getChoiceBytes()The choice that was exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 6 [json_name = "choice"];
- Specified by:
getChoiceBytes
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The bytes for choice.
-
setChoice
The choice that was exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 6 [json_name = "choice"];
- Parameters:
value
- The choice to set.- Returns:
- This builder for chaining.
-
clearChoice
The choice that was exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 6 [json_name = "choice"];
- Returns:
- This builder for chaining.
-
setChoiceBytes
The choice that was exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 6 [json_name = "choice"];
- Parameters:
value
- The bytes for choice to set.- Returns:
- This builder for chaining.
-
hasChoiceArgument
public boolean hasChoiceArgument()The argument of the exercised choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
- Specified by:
hasChoiceArgument
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- Whether the choiceArgument field is set.
-
getChoiceArgument
The argument of the exercised choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
- Specified by:
getChoiceArgument
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The choiceArgument.
-
setChoiceArgument
The argument of the exercised choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
-
setChoiceArgument
public EventOuterClass.ExercisedEvent.Builder setChoiceArgument(ValueOuterClass.Value.Builder builderForValue) The argument of the exercised choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
-
mergeChoiceArgument
The argument of the exercised choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
-
clearChoiceArgument
The argument of the exercised choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
-
getChoiceArgumentBuilder
The argument of the exercised choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
-
getChoiceArgumentOrBuilder
The argument of the exercised choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 7 [json_name = "choiceArgument"];
- Specified by:
getChoiceArgumentOrBuilder
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
getActingPartiesList
public com.google.protobuf.ProtocolStringList getActingPartiesList()The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Specified by:
getActingPartiesList
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- A list containing the actingParties.
-
getActingPartiesCount
public int getActingPartiesCount()The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Specified by:
getActingPartiesCount
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The count of actingParties.
-
getActingParties
The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Specified by:
getActingParties
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The actingParties at the given index.
-
getActingPartiesBytes
public com.google.protobuf.ByteString getActingPartiesBytes(int index) The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Specified by:
getActingPartiesBytes
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the actingParties at the given index.
-
setActingParties
The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Parameters:
index
- The index to set the value at.value
- The actingParties to set.- Returns:
- This builder for chaining.
-
addActingParties
The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Parameters:
value
- The actingParties to add.- Returns:
- This builder for chaining.
-
addAllActingParties
The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Parameters:
values
- The actingParties to add.- Returns:
- This builder for chaining.
-
clearActingParties
The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Returns:
- This builder for chaining.
-
addActingPartiesBytes
public EventOuterClass.ExercisedEvent.Builder addActingPartiesBytes(com.google.protobuf.ByteString value) The parties that exercised the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 8 [json_name = "actingParties"];
- Parameters:
value
- The bytes of the actingParties to add.- Returns:
- This builder for chaining.
-
getConsuming
public boolean getConsuming()If true, the target contract may no longer be exercised. Required
bool consuming = 9 [json_name = "consuming"];
- Specified by:
getConsuming
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The consuming.
-
setConsuming
If true, the target contract may no longer be exercised. Required
bool consuming = 9 [json_name = "consuming"];
- Parameters:
value
- The consuming to set.- Returns:
- This builder for chaining.
-
clearConsuming
If true, the target contract may no longer be exercised. Required
bool consuming = 9 [json_name = "consuming"];
- Returns:
- This builder for chaining.
-
getWitnessPartiesList
public com.google.protobuf.ProtocolStringList getWitnessPartiesList()The parties that are notified of this event. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesList
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- A list containing the witnessParties.
-
getWitnessPartiesCount
public int getWitnessPartiesCount()The parties that are notified of this event. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesCount
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The count of witnessParties.
-
getWitnessParties
The parties that are notified of this event. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Specified by:
getWitnessParties
in interfaceEventOuterClass.ExercisedEventOrBuilder
- 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. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesBytes
in interfaceEventOuterClass.ExercisedEventOrBuilder
- 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. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [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. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Parameters:
value
- The witnessParties to add.- Returns:
- This builder for chaining.
-
addAllWitnessParties
The parties that are notified of this event. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Parameters:
values
- The witnessParties to add.- Returns:
- This builder for chaining.
-
clearWitnessParties
The parties that are notified of this event. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Returns:
- This builder for chaining.
-
addWitnessPartiesBytes
public EventOuterClass.ExercisedEvent.Builder addWitnessPartiesBytes(com.google.protobuf.ByteString value) The parties that are notified of this event. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Parameters:
value
- The bytes of the witnessParties to add.- Returns:
- This builder for chaining.
-
getLastDescendantNodeId
public int getLastDescendantNodeId()Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of this ``ExercisedEvent``. This allows unambiguous identification of all the members of the subtree rooted at this node. A full subtree can be constructed when all descendant nodes are present in the stream. If nodes are heavily filtered, it is only possible to determine if a node is in a consequent subtree or not. Required
int32 last_descendant_node_id = 11 [json_name = "lastDescendantNodeId"];
- Specified by:
getLastDescendantNodeId
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The lastDescendantNodeId.
-
setLastDescendantNodeId
Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of this ``ExercisedEvent``. This allows unambiguous identification of all the members of the subtree rooted at this node. A full subtree can be constructed when all descendant nodes are present in the stream. If nodes are heavily filtered, it is only possible to determine if a node is in a consequent subtree or not. Required
int32 last_descendant_node_id = 11 [json_name = "lastDescendantNodeId"];
- Parameters:
value
- The lastDescendantNodeId to set.- Returns:
- This builder for chaining.
-
clearLastDescendantNodeId
Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of this ``ExercisedEvent``. This allows unambiguous identification of all the members of the subtree rooted at this node. A full subtree can be constructed when all descendant nodes are present in the stream. If nodes are heavily filtered, it is only possible to determine if a node is in a consequent subtree or not. Required
int32 last_descendant_node_id = 11 [json_name = "lastDescendantNodeId"];
- Returns:
- This builder for chaining.
-
hasExerciseResult
public boolean hasExerciseResult()The result of exercising the choice. Required
.com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
- Specified by:
hasExerciseResult
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- Whether the exerciseResult field is set.
-
getExerciseResult
The result of exercising the choice. Required
.com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
- Specified by:
getExerciseResult
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The exerciseResult.
-
setExerciseResult
The result of exercising the choice. Required
.com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
-
setExerciseResult
public EventOuterClass.ExercisedEvent.Builder setExerciseResult(ValueOuterClass.Value.Builder builderForValue) The result of exercising the choice. Required
.com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
-
mergeExerciseResult
The result of exercising the choice. Required
.com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
-
clearExerciseResult
The result of exercising the choice. Required
.com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
-
getExerciseResultBuilder
The result of exercising the choice. Required
.com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
-
getExerciseResultOrBuilder
The result of exercising the choice. Required
.com.daml.ledger.api.v2.Value exercise_result = 12 [json_name = "exerciseResult"];
- Specified by:
getExerciseResultOrBuilder
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
getPackageName
The package name of the contract. Required
string package_name = 13 [json_name = "packageName"];
- Specified by:
getPackageName
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The packageName.
-
getPackageNameBytes
public com.google.protobuf.ByteString getPackageNameBytes()The package name of the contract. Required
string package_name = 13 [json_name = "packageName"];
- Specified by:
getPackageNameBytes
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The bytes for packageName.
-
setPackageName
The package name of the 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 contract. Required
string package_name = 13 [json_name = "packageName"];
- Returns:
- This builder for chaining.
-
setPackageNameBytes
public EventOuterClass.ExercisedEvent.Builder setPackageNameBytes(com.google.protobuf.ByteString value) The package name of the contract. Required
string package_name = 13 [json_name = "packageName"];
- Parameters:
value
- The bytes for packageName to set.- Returns:
- This builder for chaining.
-
getImplementedInterfacesList
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
- Specified by:
getImplementedInterfacesList
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
getImplementedInterfacesCount
public int getImplementedInterfacesCount()If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
- Specified by:
getImplementedInterfacesCount
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
getImplementedInterfaces
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
- Specified by:
getImplementedInterfaces
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
setImplementedInterfaces
public EventOuterClass.ExercisedEvent.Builder setImplementedInterfaces(int index, ValueOuterClass.Identifier value) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
setImplementedInterfaces
public EventOuterClass.ExercisedEvent.Builder setImplementedInterfaces(int index, ValueOuterClass.Identifier.Builder builderForValue) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
addImplementedInterfaces
public EventOuterClass.ExercisedEvent.Builder addImplementedInterfaces(ValueOuterClass.Identifier value) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
addImplementedInterfaces
public EventOuterClass.ExercisedEvent.Builder addImplementedInterfaces(int index, ValueOuterClass.Identifier value) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
addImplementedInterfaces
public EventOuterClass.ExercisedEvent.Builder addImplementedInterfaces(ValueOuterClass.Identifier.Builder builderForValue) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
addImplementedInterfaces
public EventOuterClass.ExercisedEvent.Builder addImplementedInterfaces(int index, ValueOuterClass.Identifier.Builder builderForValue) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
addAllImplementedInterfaces
public EventOuterClass.ExercisedEvent.Builder addAllImplementedInterfaces(Iterable<? extends ValueOuterClass.Identifier> values) If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
clearImplementedInterfaces
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
removeImplementedInterfaces
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
getImplementedInterfacesBuilder
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
getImplementedInterfacesOrBuilder
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
- Specified by:
getImplementedInterfacesOrBuilder
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
getImplementedInterfacesOrBuilderList
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
- Specified by:
getImplementedInterfacesOrBuilderList
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
addImplementedInterfacesBuilder
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
addImplementedInterfacesBuilder
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
getImplementedInterfacesBuilderList
If the event is consuming, the interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. The identifier uses the package-id reference format. Optional
repeated .com.daml.ledger.api.v2.Identifier implemented_interfaces = 14 [json_name = "implementedInterfaces"];
-
setUnknownFields
public final EventOuterClass.ExercisedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeUnknownFields
public final EventOuterClass.ExercisedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-