Package com.daml.ledger.api.v1
Class TransactionOuterClass.TreeEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TreeEvent.Builder>
-
- com.daml.ledger.api.v1.TransactionOuterClass.TreeEvent.Builder
-
- All Implemented Interfaces:
TransactionOuterClass.TreeEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TransactionOuterClass.TreeEvent
public static final class TransactionOuterClass.TreeEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TreeEvent.Builder> implements TransactionOuterClass.TreeEventOrBuilder
Each tree event message type below contains a ``witness_parties`` field which indicates the subset of the requested parties that can see the event in question. Note that transaction trees might contain events with _no_ witness parties, which were included simply because they were children of events which have witnesses.
Protobuf typecom.daml.ledger.api.v1.TreeEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionOuterClass.TreeEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionOuterClass.TreeEvent
build()
TransactionOuterClass.TreeEvent
buildPartial()
TransactionOuterClass.TreeEvent.Builder
clear()
TransactionOuterClass.TreeEvent.Builder
clearCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
TransactionOuterClass.TreeEvent.Builder
clearExercised()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
TransactionOuterClass.TreeEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransactionOuterClass.TreeEvent.Builder
clearKind()
TransactionOuterClass.TreeEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransactionOuterClass.TreeEvent.Builder
clone()
EventOuterClass.CreatedEvent
getCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
EventOuterClass.CreatedEvent.Builder
getCreatedBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
EventOuterClass.CreatedEventOrBuilder
getCreatedOrBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
TransactionOuterClass.TreeEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
EventOuterClass.ExercisedEvent
getExercised()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
EventOuterClass.ExercisedEvent.Builder
getExercisedBuilder()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
EventOuterClass.ExercisedEventOrBuilder
getExercisedOrBuilder()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
TransactionOuterClass.TreeEvent.KindCase
getKindCase()
boolean
hasCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
boolean
hasExercised()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransactionOuterClass.TreeEvent.Builder
mergeCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
TransactionOuterClass.TreeEvent.Builder
mergeExercised(EventOuterClass.ExercisedEvent value)
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
TransactionOuterClass.TreeEvent.Builder
mergeFrom(TransactionOuterClass.TreeEvent other)
TransactionOuterClass.TreeEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransactionOuterClass.TreeEvent.Builder
mergeFrom(com.google.protobuf.Message other)
TransactionOuterClass.TreeEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransactionOuterClass.TreeEvent.Builder
setCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
TransactionOuterClass.TreeEvent.Builder
setCreated(EventOuterClass.CreatedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
TransactionOuterClass.TreeEvent.Builder
setExercised(EventOuterClass.ExercisedEvent value)
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
TransactionOuterClass.TreeEvent.Builder
setExercised(EventOuterClass.ExercisedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
TransactionOuterClass.TreeEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionOuterClass.TreeEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TransactionOuterClass.TreeEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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<TransactionOuterClass.TreeEvent.Builder>
-
clear
public TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.Builder>
-
getDefaultInstanceForType
public TransactionOuterClass.TreeEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionOuterClass.TreeEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionOuterClass.TreeEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.Builder>
-
setField
public TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.Builder>
-
clearField
public TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.Builder>
-
clearOneof
public TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.Builder>
-
setRepeatedField
public TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.Builder>
-
addRepeatedField
public TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.Builder>
-
mergeFrom
public TransactionOuterClass.TreeEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.TreeEvent.Builder>
-
mergeFrom
public TransactionOuterClass.TreeEvent.Builder mergeFrom(TransactionOuterClass.TreeEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TreeEvent.Builder>
-
mergeFrom
public TransactionOuterClass.TreeEvent.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<TransactionOuterClass.TreeEvent.Builder>
- Throws:
java.io.IOException
-
getKindCase
public TransactionOuterClass.TreeEvent.KindCase getKindCase()
- Specified by:
getKindCase
in interfaceTransactionOuterClass.TreeEventOrBuilder
-
clearKind
public TransactionOuterClass.TreeEvent.Builder clearKind()
-
hasCreated
public boolean hasCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
- Specified by:
hasCreated
in interfaceTransactionOuterClass.TreeEventOrBuilder
- Returns:
- Whether the created field is set.
-
getCreated
public EventOuterClass.CreatedEvent getCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
- Specified by:
getCreated
in interfaceTransactionOuterClass.TreeEventOrBuilder
- Returns:
- The created.
-
setCreated
public TransactionOuterClass.TreeEvent.Builder setCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
setCreated
public TransactionOuterClass.TreeEvent.Builder setCreated(EventOuterClass.CreatedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
mergeCreated
public TransactionOuterClass.TreeEvent.Builder mergeCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
clearCreated
public TransactionOuterClass.TreeEvent.Builder clearCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
getCreatedBuilder
public EventOuterClass.CreatedEvent.Builder getCreatedBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
getCreatedOrBuilder
public EventOuterClass.CreatedEventOrBuilder getCreatedOrBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
- Specified by:
getCreatedOrBuilder
in interfaceTransactionOuterClass.TreeEventOrBuilder
-
hasExercised
public boolean hasExercised()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
- Specified by:
hasExercised
in interfaceTransactionOuterClass.TreeEventOrBuilder
- Returns:
- Whether the exercised field is set.
-
getExercised
public EventOuterClass.ExercisedEvent getExercised()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
- Specified by:
getExercised
in interfaceTransactionOuterClass.TreeEventOrBuilder
- Returns:
- The exercised.
-
setExercised
public TransactionOuterClass.TreeEvent.Builder setExercised(EventOuterClass.ExercisedEvent value)
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
-
setExercised
public TransactionOuterClass.TreeEvent.Builder setExercised(EventOuterClass.ExercisedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
-
mergeExercised
public TransactionOuterClass.TreeEvent.Builder mergeExercised(EventOuterClass.ExercisedEvent value)
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
-
clearExercised
public TransactionOuterClass.TreeEvent.Builder clearExercised()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
-
getExercisedBuilder
public EventOuterClass.ExercisedEvent.Builder getExercisedBuilder()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
-
getExercisedOrBuilder
public EventOuterClass.ExercisedEventOrBuilder getExercisedOrBuilder()
.com.daml.ledger.api.v1.ExercisedEvent exercised = 2 [json_name = "exercised"];
- Specified by:
getExercisedOrBuilder
in interfaceTransactionOuterClass.TreeEventOrBuilder
-
setUnknownFields
public final TransactionOuterClass.TreeEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TreeEvent.Builder>
-
mergeUnknownFields
public final TransactionOuterClass.TreeEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TreeEvent.Builder>
-
-