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.ByteStringgetActingPartiesBytes(int index) The parties that exercised the choice.intThe parties that exercised the choice.com.google.protobuf.ProtocolStringListThe 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.ByteStringThe choice that was exercised on the target contract.booleanIf true, the target contract may no longer be exercised.The ID of the target contract.com.google.protobuf.ByteStringThe ID of the target contract.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe 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.intIf 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.intSpecifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of this ``ExercisedEvent``.intThe position of this event in the originating transaction or reassignment.longThe offset of origin.The package name of the contract.com.google.protobuf.ByteStringThe 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.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 argument of the exercised choice.booleanThe result of exercising the choice.booleanThe interface where the choice is defined, if inherited.booleanThe template of the target contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe 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, 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.ExercisedEvent.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.ExercisedEvent.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.ExercisedEvent.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.ExercisedEvent.Builder>
-
setField
public EventOuterClass.ExercisedEvent.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.ExercisedEvent.Builder>
-
clearField
public EventOuterClass.ExercisedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
clearOneof
public EventOuterClass.ExercisedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
addRepeatedField
public EventOuterClass.ExercisedEvent.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.ExercisedEvent.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getOffsetin 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:
getNodeIdin 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:
getContractIdin 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:
getContractIdBytesin 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:
hasTemplateIdin 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:
getTemplateIdin 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:
getTemplateIdOrBuilderin 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:
hasInterfaceIdin 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:
getInterfaceIdin 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:
getInterfaceIdOrBuilderin 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:
getChoicein 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:
getChoiceBytesin 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:
hasChoiceArgumentin 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:
getChoiceArgumentin 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:
getChoiceArgumentOrBuilderin 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:
getActingPartiesListin 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:
getActingPartiesCountin 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:
getActingPartiesin 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:
getActingPartiesBytesin 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:
getConsumingin 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:
getWitnessPartiesListin 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:
getWitnessPartiesCountin 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:
getWitnessPartiesin 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:
getWitnessPartiesBytesin 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:
getLastDescendantNodeIdin 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:
hasExerciseResultin 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:
getExerciseResultin 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:
getExerciseResultOrBuilderin interfaceEventOuterClass.ExercisedEventOrBuilder
-
getPackageName
The package name of the contract. Required
string package_name = 13 [json_name = "packageName"];- Specified by:
getPackageNamein 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:
getPackageNameBytesin 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:
getImplementedInterfacesListin 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:
getImplementedInterfacesCountin 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:
getImplementedInterfacesin 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:
getImplementedInterfacesOrBuilderin 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:
getImplementedInterfacesOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeUnknownFields
public final EventOuterClass.ExercisedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-