Package com.daml.ledger.api.v1
Class EventOuterClass.ExercisedEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
- com.daml.ledger.api.v1.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,java.lang.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 typecom.daml.ledger.api.v1.ExercisedEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventOuterClass.ExercisedEvent.BuilderaddActingParties(java.lang.String value)The parties that made the choice.EventOuterClass.ExercisedEvent.BuilderaddActingPartiesBytes(com.google.protobuf.ByteString value)The parties that made the choice.EventOuterClass.ExercisedEvent.BuilderaddAllActingParties(java.lang.Iterable<java.lang.String> values)The parties that made the choice.EventOuterClass.ExercisedEvent.BuilderaddAllChildEventIds(java.lang.Iterable<java.lang.String> values)References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.EventOuterClass.ExercisedEvent.BuilderaddAllWitnessParties(java.lang.Iterable<java.lang.String> values)The parties that are notified of this event.EventOuterClass.ExercisedEvent.BuilderaddChildEventIds(java.lang.String value)References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.EventOuterClass.ExercisedEvent.BuilderaddChildEventIdsBytes(com.google.protobuf.ByteString value)References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.EventOuterClass.ExercisedEvent.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)EventOuterClass.ExercisedEvent.BuilderaddWitnessParties(java.lang.String value)The parties that are notified of this event.EventOuterClass.ExercisedEvent.BuilderaddWitnessPartiesBytes(com.google.protobuf.ByteString value)The parties that are notified of this event.EventOuterClass.ExercisedEventbuild()EventOuterClass.ExercisedEventbuildPartial()EventOuterClass.ExercisedEvent.Builderclear()EventOuterClass.ExercisedEvent.BuilderclearActingParties()The parties that made the choice.EventOuterClass.ExercisedEvent.BuilderclearChildEventIds()References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.EventOuterClass.ExercisedEvent.BuilderclearChoice()The choice that's been exercised on the target contract.EventOuterClass.ExercisedEvent.BuilderclearChoiceArgument()The argument the choice was made with.EventOuterClass.ExercisedEvent.BuilderclearConsuming()If true, the target contract may no longer be exercised.EventOuterClass.ExercisedEvent.BuilderclearContractId()The ID of the target contract.EventOuterClass.ExercisedEvent.BuilderclearEventId()The ID of this particular event.EventOuterClass.ExercisedEvent.BuilderclearExerciseResult()The result of exercising the choice RequiredEventOuterClass.ExercisedEvent.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)EventOuterClass.ExercisedEvent.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)EventOuterClass.ExercisedEvent.BuilderclearTemplateId()The template of the target contract.EventOuterClass.ExercisedEvent.BuilderclearWitnessParties()The parties that are notified of this event.EventOuterClass.ExercisedEvent.Builderclone()java.lang.StringgetActingParties(int index)The parties that made the choice.com.google.protobuf.ByteStringgetActingPartiesBytes(int index)The parties that made the choice.intgetActingPartiesCount()The parties that made the choice.com.google.protobuf.ProtocolStringListgetActingPartiesList()The parties that made the choice.java.lang.StringgetChildEventIds(int index)References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.com.google.protobuf.ByteStringgetChildEventIdsBytes(int index)References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.intgetChildEventIdsCount()References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.com.google.protobuf.ProtocolStringListgetChildEventIdsList()References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.java.lang.StringgetChoice()The choice that's been exercised on the target contract.ValueOuterClass.ValuegetChoiceArgument()The argument the choice was made with.ValueOuterClass.Value.BuildergetChoiceArgumentBuilder()The argument the choice was made with.ValueOuterClass.ValueOrBuildergetChoiceArgumentOrBuilder()The argument the choice was made with.com.google.protobuf.ByteStringgetChoiceBytes()The choice that's been exercised on the target contract.booleangetConsuming()If true, the target contract may no longer be exercised.java.lang.StringgetContractId()The ID of the target contract.com.google.protobuf.ByteStringgetContractIdBytes()The ID of the target contract.EventOuterClass.ExercisedEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetEventId()The ID of this particular event.com.google.protobuf.ByteStringgetEventIdBytes()The ID of this particular event.ValueOuterClass.ValuegetExerciseResult()The result of exercising the choice RequiredValueOuterClass.Value.BuildergetExerciseResultBuilder()The result of exercising the choice RequiredValueOuterClass.ValueOrBuildergetExerciseResultOrBuilder()The result of exercising the choice RequiredValueOuterClass.IdentifiergetTemplateId()The template of the target contract.ValueOuterClass.Identifier.BuildergetTemplateIdBuilder()The template of the target contract.ValueOuterClass.IdentifierOrBuildergetTemplateIdOrBuilder()The template of the target contract.java.lang.StringgetWitnessParties(int index)The parties that are notified of this event.com.google.protobuf.ByteStringgetWitnessPartiesBytes(int index)The parties that are notified of this event.intgetWitnessPartiesCount()The parties that are notified of this event.com.google.protobuf.ProtocolStringListgetWitnessPartiesList()The parties that are notified of this event.booleanhasChoiceArgument()The argument the choice was made with.booleanhasExerciseResult()The result of exercising the choice RequiredbooleanhasTemplateId()The template of the target contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()EventOuterClass.ExercisedEvent.BuildermergeChoiceArgument(ValueOuterClass.Value value)The argument the choice was made with.EventOuterClass.ExercisedEvent.BuildermergeExerciseResult(ValueOuterClass.Value value)The result of exercising the choice RequiredEventOuterClass.ExercisedEvent.BuildermergeFrom(EventOuterClass.ExercisedEvent other)EventOuterClass.ExercisedEvent.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)EventOuterClass.ExercisedEvent.BuildermergeFrom(com.google.protobuf.Message other)EventOuterClass.ExercisedEvent.BuildermergeTemplateId(ValueOuterClass.Identifier value)The template of the target contract.EventOuterClass.ExercisedEvent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EventOuterClass.ExercisedEvent.BuildersetActingParties(int index, java.lang.String value)The parties that made the choice.EventOuterClass.ExercisedEvent.BuildersetChildEventIds(int index, java.lang.String value)References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.EventOuterClass.ExercisedEvent.BuildersetChoice(java.lang.String value)The choice that's been exercised on the target contract.EventOuterClass.ExercisedEvent.BuildersetChoiceArgument(ValueOuterClass.Value value)The argument the choice was made with.EventOuterClass.ExercisedEvent.BuildersetChoiceArgument(ValueOuterClass.Value.Builder builderForValue)The argument the choice was made with.EventOuterClass.ExercisedEvent.BuildersetChoiceBytes(com.google.protobuf.ByteString value)The choice that's been exercised on the target contract.EventOuterClass.ExercisedEvent.BuildersetConsuming(boolean value)If true, the target contract may no longer be exercised.EventOuterClass.ExercisedEvent.BuildersetContractId(java.lang.String value)The ID of the target contract.EventOuterClass.ExercisedEvent.BuildersetContractIdBytes(com.google.protobuf.ByteString value)The ID of the target contract.EventOuterClass.ExercisedEvent.BuildersetEventId(java.lang.String value)The ID of this particular event.EventOuterClass.ExercisedEvent.BuildersetEventIdBytes(com.google.protobuf.ByteString value)The ID of this particular event.EventOuterClass.ExercisedEvent.BuildersetExerciseResult(ValueOuterClass.Value value)The result of exercising the choice RequiredEventOuterClass.ExercisedEvent.BuildersetExerciseResult(ValueOuterClass.Value.Builder builderForValue)The result of exercising the choice RequiredEventOuterClass.ExercisedEvent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)EventOuterClass.ExercisedEvent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)EventOuterClass.ExercisedEvent.BuildersetTemplateId(ValueOuterClass.Identifier value)The template of the target contract.EventOuterClass.ExercisedEvent.BuildersetTemplateId(ValueOuterClass.Identifier.Builder builderForValue)The template of the target contract.EventOuterClass.ExercisedEvent.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EventOuterClass.ExercisedEvent.BuildersetWitnessParties(int index, java.lang.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public EventOuterClass.ExercisedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventOuterClass.ExercisedEvent build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventOuterClass.ExercisedEvent buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventOuterClass.ExercisedEvent.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
public EventOuterClass.ExercisedEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
public EventOuterClass.ExercisedEvent.Builder mergeFrom(EventOuterClass.ExercisedEvent other)
-
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 java.io.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:
java.io.IOException
-
getEventId
public java.lang.String getEventId()
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdBytesin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The bytes for eventId.
-
setEventId
public EventOuterClass.ExercisedEvent.Builder setEventId(java.lang.String value)
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public EventOuterClass.ExercisedEvent.Builder clearEventId()
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];- Returns:
- This builder for chaining.
-
setEventIdBytes
public EventOuterClass.ExercisedEvent.Builder setEventIdBytes(com.google.protobuf.ByteString value)
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];- Parameters:
value- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
getContractId
public java.lang.String getContractId()
The ID of the target contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [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 = 2 [json_name = "contractId"];- Specified by:
getContractIdBytesin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The bytes for contractId.
-
setContractId
public EventOuterClass.ExercisedEvent.Builder setContractId(java.lang.String value)
The ID of the target contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];- Parameters:
value- The contractId to set.- Returns:
- This builder for chaining.
-
clearContractId
public EventOuterClass.ExercisedEvent.Builder clearContractId()
The ID of the target contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [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 = 2 [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. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];- Specified by:
hasTemplateIdin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- Whether the templateId field is set.
-
getTemplateId
public ValueOuterClass.Identifier getTemplateId()
The template of the target contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];- Specified by:
getTemplateIdin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The templateId.
-
setTemplateId
public EventOuterClass.ExercisedEvent.Builder setTemplateId(ValueOuterClass.Identifier value)
The template of the target contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
setTemplateId
public EventOuterClass.ExercisedEvent.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of the target contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
mergeTemplateId
public EventOuterClass.ExercisedEvent.Builder mergeTemplateId(ValueOuterClass.Identifier value)
The template of the target contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
clearTemplateId
public EventOuterClass.ExercisedEvent.Builder clearTemplateId()
The template of the target contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
getTemplateIdBuilder
public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
The template of the target contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
getTemplateIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of the target contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];- Specified by:
getTemplateIdOrBuilderin interfaceEventOuterClass.ExercisedEventOrBuilder
-
getChoice
public java.lang.String getChoice()
The choice that's been exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 5 [json_name = "choice"];- Specified by:
getChoicein interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The choice.
-
getChoiceBytes
public com.google.protobuf.ByteString getChoiceBytes()
The choice that's been exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 5 [json_name = "choice"];- Specified by:
getChoiceBytesin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The bytes for choice.
-
setChoice
public EventOuterClass.ExercisedEvent.Builder setChoice(java.lang.String value)
The choice that's been exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 5 [json_name = "choice"];- Parameters:
value- The choice to set.- Returns:
- This builder for chaining.
-
clearChoice
public EventOuterClass.ExercisedEvent.Builder clearChoice()
The choice that's been exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 5 [json_name = "choice"];- Returns:
- This builder for chaining.
-
setChoiceBytes
public EventOuterClass.ExercisedEvent.Builder setChoiceBytes(com.google.protobuf.ByteString value)
The choice that's been exercised on the target contract. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 5 [json_name = "choice"];- Parameters:
value- The bytes for choice to set.- Returns:
- This builder for chaining.
-
hasChoiceArgument
public boolean hasChoiceArgument()
The argument the choice was made with. Required
.com.daml.ledger.api.v1.Value choice_argument = 6 [json_name = "choiceArgument"];- Specified by:
hasChoiceArgumentin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- Whether the choiceArgument field is set.
-
getChoiceArgument
public ValueOuterClass.Value getChoiceArgument()
The argument the choice was made with. Required
.com.daml.ledger.api.v1.Value choice_argument = 6 [json_name = "choiceArgument"];- Specified by:
getChoiceArgumentin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The choiceArgument.
-
setChoiceArgument
public EventOuterClass.ExercisedEvent.Builder setChoiceArgument(ValueOuterClass.Value value)
The argument the choice was made with. Required
.com.daml.ledger.api.v1.Value choice_argument = 6 [json_name = "choiceArgument"];
-
setChoiceArgument
public EventOuterClass.ExercisedEvent.Builder setChoiceArgument(ValueOuterClass.Value.Builder builderForValue)
The argument the choice was made with. Required
.com.daml.ledger.api.v1.Value choice_argument = 6 [json_name = "choiceArgument"];
-
mergeChoiceArgument
public EventOuterClass.ExercisedEvent.Builder mergeChoiceArgument(ValueOuterClass.Value value)
The argument the choice was made with. Required
.com.daml.ledger.api.v1.Value choice_argument = 6 [json_name = "choiceArgument"];
-
clearChoiceArgument
public EventOuterClass.ExercisedEvent.Builder clearChoiceArgument()
The argument the choice was made with. Required
.com.daml.ledger.api.v1.Value choice_argument = 6 [json_name = "choiceArgument"];
-
getChoiceArgumentBuilder
public ValueOuterClass.Value.Builder getChoiceArgumentBuilder()
The argument the choice was made with. Required
.com.daml.ledger.api.v1.Value choice_argument = 6 [json_name = "choiceArgument"];
-
getChoiceArgumentOrBuilder
public ValueOuterClass.ValueOrBuilder getChoiceArgumentOrBuilder()
The argument the choice was made with. Required
.com.daml.ledger.api.v1.Value choice_argument = 6 [json_name = "choiceArgument"];- Specified by:
getChoiceArgumentOrBuilderin interfaceEventOuterClass.ExercisedEventOrBuilder
-
getActingPartiesList
public com.google.protobuf.ProtocolStringList getActingPartiesList()
The parties that made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [json_name = "actingParties"];- Specified by:
getActingPartiesListin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- A list containing the actingParties.
-
getActingPartiesCount
public int getActingPartiesCount()
The parties that made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [json_name = "actingParties"];- Specified by:
getActingPartiesCountin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The count of actingParties.
-
getActingParties
public java.lang.String getActingParties(int index)
The parties that made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [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 made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [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
public EventOuterClass.ExercisedEvent.Builder setActingParties(int index, java.lang.String value)
The parties that made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [json_name = "actingParties"];- Parameters:
index- The index to set the value at.value- The actingParties to set.- Returns:
- This builder for chaining.
-
addActingParties
public EventOuterClass.ExercisedEvent.Builder addActingParties(java.lang.String value)
The parties that made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [json_name = "actingParties"];- Parameters:
value- The actingParties to add.- Returns:
- This builder for chaining.
-
addAllActingParties
public EventOuterClass.ExercisedEvent.Builder addAllActingParties(java.lang.Iterable<java.lang.String> values)
The parties that made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [json_name = "actingParties"];- Parameters:
values- The actingParties to add.- Returns:
- This builder for chaining.
-
clearActingParties
public EventOuterClass.ExercisedEvent.Builder clearActingParties()
The parties that made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [json_name = "actingParties"];- Returns:
- This builder for chaining.
-
addActingPartiesBytes
public EventOuterClass.ExercisedEvent.Builder addActingPartiesBytes(com.google.protobuf.ByteString value)
The parties that made the choice. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string acting_parties = 7 [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 = 8 [json_name = "consuming"];- Specified by:
getConsumingin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The consuming.
-
setConsuming
public EventOuterClass.ExercisedEvent.Builder setConsuming(boolean value)
If true, the target contract may no longer be exercised. Required
bool consuming = 8 [json_name = "consuming"];- Parameters:
value- The consuming to set.- Returns:
- This builder for chaining.
-
clearConsuming
public EventOuterClass.ExercisedEvent.Builder clearConsuming()
If true, the target contract may no longer be exercised. Required
bool consuming = 8 [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
public java.lang.String getWitnessParties(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:
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
public EventOuterClass.ExercisedEvent.Builder setWitnessParties(int index, java.lang.String 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:
index- The index to set the value at.value- The witnessParties to set.- Returns:
- This builder for chaining.
-
addWitnessParties
public EventOuterClass.ExercisedEvent.Builder addWitnessParties(java.lang.String 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 witnessParties to add.- Returns:
- This builder for chaining.
-
addAllWitnessParties
public EventOuterClass.ExercisedEvent.Builder addAllWitnessParties(java.lang.Iterable<java.lang.String> values)
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
public EventOuterClass.ExercisedEvent.Builder 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.
-
getChildEventIdsList
public com.google.protobuf.ProtocolStringList getChildEventIdsList()
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Specified by:
getChildEventIdsListin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- A list containing the childEventIds.
-
getChildEventIdsCount
public int getChildEventIdsCount()
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Specified by:
getChildEventIdsCountin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The count of childEventIds.
-
getChildEventIds
public java.lang.String getChildEventIds(int index)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Specified by:
getChildEventIdsin interfaceEventOuterClass.ExercisedEventOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The childEventIds at the given index.
-
getChildEventIdsBytes
public com.google.protobuf.ByteString getChildEventIdsBytes(int index)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Specified by:
getChildEventIdsBytesin interfaceEventOuterClass.ExercisedEventOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the childEventIds at the given index.
-
setChildEventIds
public EventOuterClass.ExercisedEvent.Builder setChildEventIds(int index, java.lang.String value)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Parameters:
index- The index to set the value at.value- The childEventIds to set.- Returns:
- This builder for chaining.
-
addChildEventIds
public EventOuterClass.ExercisedEvent.Builder addChildEventIds(java.lang.String value)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Parameters:
value- The childEventIds to add.- Returns:
- This builder for chaining.
-
addAllChildEventIds
public EventOuterClass.ExercisedEvent.Builder addAllChildEventIds(java.lang.Iterable<java.lang.String> values)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Parameters:
values- The childEventIds to add.- Returns:
- This builder for chaining.
-
clearChildEventIds
public EventOuterClass.ExercisedEvent.Builder clearChildEventIds()
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Returns:
- This builder for chaining.
-
addChildEventIdsBytes
public EventOuterClass.ExercisedEvent.Builder addChildEventIdsBytes(com.google.protobuf.ByteString value)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``. It contains only the immediate children of this event, not all members of the subtree rooted at this node. The order of the children is the same as the event order in the transaction. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];- Parameters:
value- The bytes of the childEventIds to add.- Returns:
- This builder for chaining.
-
hasExerciseResult
public boolean hasExerciseResult()
The result of exercising the choice Required
.com.daml.ledger.api.v1.Value exercise_result = 12 [json_name = "exerciseResult"];- Specified by:
hasExerciseResultin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- Whether the exerciseResult field is set.
-
getExerciseResult
public ValueOuterClass.Value getExerciseResult()
The result of exercising the choice Required
.com.daml.ledger.api.v1.Value exercise_result = 12 [json_name = "exerciseResult"];- Specified by:
getExerciseResultin interfaceEventOuterClass.ExercisedEventOrBuilder- Returns:
- The exerciseResult.
-
setExerciseResult
public EventOuterClass.ExercisedEvent.Builder setExerciseResult(ValueOuterClass.Value value)
The result of exercising the choice Required
.com.daml.ledger.api.v1.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.v1.Value exercise_result = 12 [json_name = "exerciseResult"];
-
mergeExerciseResult
public EventOuterClass.ExercisedEvent.Builder mergeExerciseResult(ValueOuterClass.Value value)
The result of exercising the choice Required
.com.daml.ledger.api.v1.Value exercise_result = 12 [json_name = "exerciseResult"];
-
clearExerciseResult
public EventOuterClass.ExercisedEvent.Builder clearExerciseResult()
The result of exercising the choice Required
.com.daml.ledger.api.v1.Value exercise_result = 12 [json_name = "exerciseResult"];
-
getExerciseResultBuilder
public ValueOuterClass.Value.Builder getExerciseResultBuilder()
The result of exercising the choice Required
.com.daml.ledger.api.v1.Value exercise_result = 12 [json_name = "exerciseResult"];
-
getExerciseResultOrBuilder
public ValueOuterClass.ValueOrBuilder getExerciseResultOrBuilder()
The result of exercising the choice Required
.com.daml.ledger.api.v1.Value exercise_result = 12 [json_name = "exerciseResult"];- Specified by:
getExerciseResultOrBuilderin interfaceEventOuterClass.ExercisedEventOrBuilder
-
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>
-
-