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.Builder
addActingParties(java.lang.String value)
The parties that made the choice.EventOuterClass.ExercisedEvent.Builder
addActingPartiesBytes(com.google.protobuf.ByteString value)
The parties that made the choice.EventOuterClass.ExercisedEvent.Builder
addAllActingParties(java.lang.Iterable<java.lang.String> values)
The parties that made the choice.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``.EventOuterClass.ExercisedEvent.Builder
addAllWitnessParties(java.lang.Iterable<java.lang.String> values)
The parties that are notified of this event.EventOuterClass.ExercisedEvent.Builder
addChildEventIds(java.lang.String value)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.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``.EventOuterClass.ExercisedEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EventOuterClass.ExercisedEvent.Builder
addWitnessParties(java.lang.String value)
The parties that are notified of this event.EventOuterClass.ExercisedEvent.Builder
addWitnessPartiesBytes(com.google.protobuf.ByteString value)
The parties that are notified of this event.EventOuterClass.ExercisedEvent
build()
EventOuterClass.ExercisedEvent
buildPartial()
EventOuterClass.ExercisedEvent.Builder
clear()
EventOuterClass.ExercisedEvent.Builder
clearActingParties()
The parties that made the choice.EventOuterClass.ExercisedEvent.Builder
clearChildEventIds()
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.EventOuterClass.ExercisedEvent.Builder
clearChoice()
The choice that's been exercised on the target contract.EventOuterClass.ExercisedEvent.Builder
clearChoiceArgument()
The argument the choice was made with.EventOuterClass.ExercisedEvent.Builder
clearConsuming()
If true, the target contract may no longer be exercised.EventOuterClass.ExercisedEvent.Builder
clearContractId()
The ID of the target contract.EventOuterClass.ExercisedEvent.Builder
clearEventId()
The ID of this particular event.EventOuterClass.ExercisedEvent.Builder
clearExerciseResult()
The result of exercising the choice RequiredEventOuterClass.ExercisedEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EventOuterClass.ExercisedEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EventOuterClass.ExercisedEvent.Builder
clearTemplateId()
The template of the target contract.EventOuterClass.ExercisedEvent.Builder
clearWitnessParties()
The parties that are notified of this event.EventOuterClass.ExercisedEvent.Builder
clone()
java.lang.String
getActingParties(int index)
The parties that made the choice.com.google.protobuf.ByteString
getActingPartiesBytes(int index)
The parties that made the choice.int
getActingPartiesCount()
The parties that made the choice.com.google.protobuf.ProtocolStringList
getActingPartiesList()
The parties that made the choice.java.lang.String
getChildEventIds(int index)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.com.google.protobuf.ByteString
getChildEventIdsBytes(int index)
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.int
getChildEventIdsCount()
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.com.google.protobuf.ProtocolStringList
getChildEventIdsList()
References to further events in the same transaction that appeared as a result of this ``ExercisedEvent``.java.lang.String
getChoice()
The choice that's been exercised on the target contract.ValueOuterClass.Value
getChoiceArgument()
The argument the choice was made with.ValueOuterClass.Value.Builder
getChoiceArgumentBuilder()
The argument the choice was made with.ValueOuterClass.ValueOrBuilder
getChoiceArgumentOrBuilder()
The argument the choice was made with.com.google.protobuf.ByteString
getChoiceBytes()
The choice that's been exercised on the target contract.boolean
getConsuming()
If true, the target contract may no longer be exercised.java.lang.String
getContractId()
The ID of the target contract.com.google.protobuf.ByteString
getContractIdBytes()
The ID of the target contract.EventOuterClass.ExercisedEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getEventId()
The ID of this particular event.com.google.protobuf.ByteString
getEventIdBytes()
The ID of this particular event.ValueOuterClass.Value
getExerciseResult()
The result of exercising the choice RequiredValueOuterClass.Value.Builder
getExerciseResultBuilder()
The result of exercising the choice RequiredValueOuterClass.ValueOrBuilder
getExerciseResultOrBuilder()
The result of exercising the choice RequiredValueOuterClass.Identifier
getTemplateId()
The template of the target contract.ValueOuterClass.Identifier.Builder
getTemplateIdBuilder()
The template of the target contract.ValueOuterClass.IdentifierOrBuilder
getTemplateIdOrBuilder()
The template of the target contract.java.lang.String
getWitnessParties(int index)
The parties that are notified of this event.com.google.protobuf.ByteString
getWitnessPartiesBytes(int index)
The parties that are notified of this event.int
getWitnessPartiesCount()
The parties that are notified of this event.com.google.protobuf.ProtocolStringList
getWitnessPartiesList()
The parties that are notified of this event.boolean
hasChoiceArgument()
The argument the choice was made with.boolean
hasExerciseResult()
The result of exercising the choice Requiredboolean
hasTemplateId()
The template of the target contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EventOuterClass.ExercisedEvent.Builder
mergeChoiceArgument(ValueOuterClass.Value value)
The argument the choice was made with.EventOuterClass.ExercisedEvent.Builder
mergeExerciseResult(ValueOuterClass.Value value)
The result of exercising the choice RequiredEventOuterClass.ExercisedEvent.Builder
mergeFrom(EventOuterClass.ExercisedEvent other)
EventOuterClass.ExercisedEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EventOuterClass.ExercisedEvent.Builder
mergeFrom(com.google.protobuf.Message other)
EventOuterClass.ExercisedEvent.Builder
mergeTemplateId(ValueOuterClass.Identifier value)
The template of the target contract.EventOuterClass.ExercisedEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EventOuterClass.ExercisedEvent.Builder
setActingParties(int index, java.lang.String value)
The parties that made the choice.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``.EventOuterClass.ExercisedEvent.Builder
setChoice(java.lang.String value)
The choice that's been exercised on the target contract.EventOuterClass.ExercisedEvent.Builder
setChoiceArgument(ValueOuterClass.Value value)
The argument the choice was made with.EventOuterClass.ExercisedEvent.Builder
setChoiceArgument(ValueOuterClass.Value.Builder builderForValue)
The argument the choice was made with.EventOuterClass.ExercisedEvent.Builder
setChoiceBytes(com.google.protobuf.ByteString value)
The choice that's been exercised on the target contract.EventOuterClass.ExercisedEvent.Builder
setConsuming(boolean value)
If true, the target contract may no longer be exercised.EventOuterClass.ExercisedEvent.Builder
setContractId(java.lang.String value)
The ID of the target contract.EventOuterClass.ExercisedEvent.Builder
setContractIdBytes(com.google.protobuf.ByteString value)
The ID of the target contract.EventOuterClass.ExercisedEvent.Builder
setEventId(java.lang.String value)
The ID of this particular event.EventOuterClass.ExercisedEvent.Builder
setEventIdBytes(com.google.protobuf.ByteString value)
The ID of this particular event.EventOuterClass.ExercisedEvent.Builder
setExerciseResult(ValueOuterClass.Value value)
The result of exercising the choice RequiredEventOuterClass.ExercisedEvent.Builder
setExerciseResult(ValueOuterClass.Value.Builder builderForValue)
The result of exercising the choice RequiredEventOuterClass.ExercisedEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EventOuterClass.ExercisedEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
EventOuterClass.ExercisedEvent.Builder
setTemplateId(ValueOuterClass.Identifier value)
The template of the target contract.EventOuterClass.ExercisedEvent.Builder
setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of the target contract.EventOuterClass.ExercisedEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EventOuterClass.ExercisedEvent.Builder
setWitnessParties(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
clear
public EventOuterClass.ExercisedEvent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
getDefaultInstanceForType
public EventOuterClass.ExercisedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventOuterClass.ExercisedEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventOuterClass.ExercisedEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventOuterClass.ExercisedEvent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
setField
public EventOuterClass.ExercisedEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
clearField
public EventOuterClass.ExercisedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
clearOneof
public EventOuterClass.ExercisedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
setRepeatedField
public EventOuterClass.ExercisedEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
addRepeatedField
public EventOuterClass.ExercisedEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
public EventOuterClass.ExercisedEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
public EventOuterClass.ExercisedEvent.Builder mergeFrom(EventOuterClass.ExercisedEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeFrom
public EventOuterClass.ExercisedEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.ExercisedEvent.Builder>
- Throws:
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:
getEventId
in 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:
getEventIdBytes
in 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:
getContractId
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The contractId.
-
getContractIdBytes
public com.google.protobuf.ByteString getContractIdBytes()
The ID of the target contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Specified by:
getContractIdBytes
in 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:
hasTemplateId
in 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:
getTemplateId
in 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:
getTemplateIdOrBuilder
in 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:
getChoice
in 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:
getChoiceBytes
in 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:
hasChoiceArgument
in 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:
getChoiceArgument
in 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:
getChoiceArgumentOrBuilder
in 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:
getActingPartiesList
in 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:
getActingPartiesCount
in 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:
getActingParties
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The actingParties at the given index.
-
getActingPartiesBytes
public com.google.protobuf.ByteString getActingPartiesBytes(int index)
The parties that 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:
getActingPartiesBytes
in 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:
getConsuming
in 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:
getWitnessPartiesList
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- A list containing the witnessParties.
-
getWitnessPartiesCount
public int getWitnessPartiesCount()
The parties that are notified of this event. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesCount
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Returns:
- The count of witnessParties.
-
getWitnessParties
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:
getWitnessParties
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The witnessParties at the given index.
-
getWitnessPartiesBytes
public com.google.protobuf.ByteString getWitnessPartiesBytes(int index)
The parties that are notified of this event. The witnesses of an exercise node will depend on whether the exercise was consuming or not. If consuming, the witnesses are the union of the stakeholders and the actors. If not consuming, the witnesses are the union of the signatories and the actors. Note that the actors might not necessarily be observers and thus signatories. This is the case when the controllers of a choice are specified using "flexible controllers", using the ``choice ... controller`` syntax, and said controllers are not explicitly marked as observers. Each element must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 10 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesBytes
in interfaceEventOuterClass.ExercisedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the witnessParties at the given index.
-
setWitnessParties
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. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];
- Specified by:
getChildEventIdsList
in 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. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];
- Specified by:
getChildEventIdsCount
in 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. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];
- Specified by:
getChildEventIds
in 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. Each element must be a valid LedgerString (as described in ``value.proto``). Optional
repeated string child_event_ids = 11 [json_name = "childEventIds"];
- Specified by:
getChildEventIdsBytes
in 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. 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. 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. 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. 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. 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:
hasExerciseResult
in 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:
getExerciseResult
in 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:
getExerciseResultOrBuilder
in interfaceEventOuterClass.ExercisedEventOrBuilder
-
setUnknownFields
public final EventOuterClass.ExercisedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
mergeUnknownFields
public final EventOuterClass.ExercisedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ExercisedEvent.Builder>
-
-