Package com.daml.ledger.api.v1
Class TransactionOuterClass.TransactionTree.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
- com.daml.ledger.api.v1.TransactionOuterClass.TransactionTree.Builder
-
- All Implemented Interfaces:
TransactionOuterClass.TransactionTreeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- TransactionOuterClass.TransactionTree
public static final class TransactionOuterClass.TransactionTree.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder> implements TransactionOuterClass.TransactionTreeOrBuilder
Complete view of an on-ledger transaction.
Protobuf typecom.daml.ledger.api.v1.TransactionTree
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TransactionOuterClass.TransactionTree.BuilderaddAllRootEventIds(java.lang.Iterable<java.lang.String> values)Roots of the transaction tree.TransactionOuterClass.TransactionTree.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TransactionOuterClass.TransactionTree.BuilderaddRootEventIds(java.lang.String value)Roots of the transaction tree.TransactionOuterClass.TransactionTree.BuilderaddRootEventIdsBytes(com.google.protobuf.ByteString value)Roots of the transaction tree.TransactionOuterClass.TransactionTreebuild()TransactionOuterClass.TransactionTreebuildPartial()TransactionOuterClass.TransactionTree.Builderclear()TransactionOuterClass.TransactionTree.BuilderclearCommandId()The ID of the command which resulted in this transaction.TransactionOuterClass.TransactionTree.BuilderclearEffectiveAt()Ledger effective time.TransactionOuterClass.TransactionTree.BuilderclearEventsById()TransactionOuterClass.TransactionTree.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TransactionOuterClass.TransactionTree.BuilderclearOffset()The absolute offset.TransactionOuterClass.TransactionTree.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TransactionOuterClass.TransactionTree.BuilderclearRootEventIds()Roots of the transaction tree.TransactionOuterClass.TransactionTree.BuilderclearTransactionId()Assigned by the server.TransactionOuterClass.TransactionTree.BuilderclearWorkflowId()The workflow ID used in command submission.TransactionOuterClass.TransactionTree.Builderclone()booleancontainsEventsById(java.lang.String key)Changes to the ledger that were caused by this transaction.java.lang.StringgetCommandId()The ID of the command which resulted in this transaction.com.google.protobuf.ByteStringgetCommandIdBytes()The ID of the command which resulted in this transaction.TransactionOuterClass.TransactionTreegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEffectiveAt()Ledger effective time.com.google.protobuf.Timestamp.BuildergetEffectiveAtBuilder()Ledger effective time.com.google.protobuf.TimestampOrBuildergetEffectiveAtOrBuilder()Ledger effective time.java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent>getEventsById()Deprecated.intgetEventsByIdCount()Changes to the ledger that were caused by this transaction.java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent>getEventsByIdMap()Changes to the ledger that were caused by this transaction.TransactionOuterClass.TreeEventgetEventsByIdOrDefault(java.lang.String key, TransactionOuterClass.TreeEvent defaultValue)Changes to the ledger that were caused by this transaction.TransactionOuterClass.TreeEventgetEventsByIdOrThrow(java.lang.String key)Changes to the ledger that were caused by this transaction.java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent>getMutableEventsById()Deprecated.java.lang.StringgetOffset()The absolute offset.com.google.protobuf.ByteStringgetOffsetBytes()The absolute offset.java.lang.StringgetRootEventIds(int index)Roots of the transaction tree.com.google.protobuf.ByteStringgetRootEventIdsBytes(int index)Roots of the transaction tree.intgetRootEventIdsCount()Roots of the transaction tree.com.google.protobuf.ProtocolStringListgetRootEventIdsList()Roots of the transaction tree.java.lang.StringgetTransactionId()Assigned by the server.com.google.protobuf.ByteStringgetTransactionIdBytes()Assigned by the server.java.lang.StringgetWorkflowId()The workflow ID used in command submission.com.google.protobuf.ByteStringgetWorkflowIdBytes()The workflow ID used in command submission.booleanhasEffectiveAt()Ledger effective time.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()TransactionOuterClass.TransactionTree.BuildermergeEffectiveAt(com.google.protobuf.Timestamp value)Ledger effective time.TransactionOuterClass.TransactionTree.BuildermergeFrom(TransactionOuterClass.TransactionTree other)TransactionOuterClass.TransactionTree.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransactionOuterClass.TransactionTree.BuildermergeFrom(com.google.protobuf.Message other)TransactionOuterClass.TransactionTree.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransactionOuterClass.TransactionTree.BuilderputAllEventsById(java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> values)Changes to the ledger that were caused by this transaction.TransactionOuterClass.TransactionTree.BuilderputEventsById(java.lang.String key, TransactionOuterClass.TreeEvent value)Changes to the ledger that were caused by this transaction.TransactionOuterClass.TransactionTree.BuilderremoveEventsById(java.lang.String key)Changes to the ledger that were caused by this transaction.TransactionOuterClass.TransactionTree.BuildersetCommandId(java.lang.String value)The ID of the command which resulted in this transaction.TransactionOuterClass.TransactionTree.BuildersetCommandIdBytes(com.google.protobuf.ByteString value)The ID of the command which resulted in this transaction.TransactionOuterClass.TransactionTree.BuildersetEffectiveAt(com.google.protobuf.Timestamp value)Ledger effective time.TransactionOuterClass.TransactionTree.BuildersetEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)Ledger effective time.TransactionOuterClass.TransactionTree.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TransactionOuterClass.TransactionTree.BuildersetOffset(java.lang.String value)The absolute offset.TransactionOuterClass.TransactionTree.BuildersetOffsetBytes(com.google.protobuf.ByteString value)The absolute offset.TransactionOuterClass.TransactionTree.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TransactionOuterClass.TransactionTree.BuildersetRootEventIds(int index, java.lang.String value)Roots of the transaction tree.TransactionOuterClass.TransactionTree.BuildersetTransactionId(java.lang.String value)Assigned by the server.TransactionOuterClass.TransactionTree.BuildersetTransactionIdBytes(com.google.protobuf.ByteString value)Assigned by the server.TransactionOuterClass.TransactionTree.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransactionOuterClass.TransactionTree.BuildersetWorkflowId(java.lang.String value)The workflow ID used in command submission.TransactionOuterClass.TransactionTree.BuildersetWorkflowIdBytes(com.google.protobuf.ByteString value)The workflow ID used in command submission.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
clear
public TransactionOuterClass.TransactionTree.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<TransactionOuterClass.TransactionTree.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<TransactionOuterClass.TransactionTree.Builder>
-
getDefaultInstanceForType
public TransactionOuterClass.TransactionTree getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionOuterClass.TransactionTree build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionOuterClass.TransactionTree buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionOuterClass.TransactionTree.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<TransactionOuterClass.TransactionTree.Builder>
-
setField
public TransactionOuterClass.TransactionTree.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<TransactionOuterClass.TransactionTree.Builder>
-
clearField
public TransactionOuterClass.TransactionTree.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
clearOneof
public TransactionOuterClass.TransactionTree.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
setRepeatedField
public TransactionOuterClass.TransactionTree.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<TransactionOuterClass.TransactionTree.Builder>
-
addRepeatedField
public TransactionOuterClass.TransactionTree.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<TransactionOuterClass.TransactionTree.Builder>
-
mergeFrom
public TransactionOuterClass.TransactionTree.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.TransactionTree.Builder>
-
mergeFrom
public TransactionOuterClass.TransactionTree.Builder mergeFrom(TransactionOuterClass.TransactionTree other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
mergeFrom
public TransactionOuterClass.TransactionTree.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<TransactionOuterClass.TransactionTree.Builder>- Throws:
java.io.IOException
-
getTransactionId
public java.lang.String getTransactionId()
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string transaction_id = 1 [json_name = "transactionId"];- Specified by:
getTransactionIdin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The transactionId.
-
getTransactionIdBytes
public com.google.protobuf.ByteString getTransactionIdBytes()
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string transaction_id = 1 [json_name = "transactionId"];- Specified by:
getTransactionIdBytesin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The bytes for transactionId.
-
setTransactionId
public TransactionOuterClass.TransactionTree.Builder setTransactionId(java.lang.String value)
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string transaction_id = 1 [json_name = "transactionId"];- Parameters:
value- The transactionId to set.- Returns:
- This builder for chaining.
-
clearTransactionId
public TransactionOuterClass.TransactionTree.Builder clearTransactionId()
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string transaction_id = 1 [json_name = "transactionId"];- Returns:
- This builder for chaining.
-
setTransactionIdBytes
public TransactionOuterClass.TransactionTree.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string transaction_id = 1 [json_name = "transactionId"];- Parameters:
value- The bytes for transactionId to set.- Returns:
- This builder for chaining.
-
getCommandId
public java.lang.String getCommandId()
The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Specified by:
getCommandIdin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The commandId.
-
getCommandIdBytes
public com.google.protobuf.ByteString getCommandIdBytes()
The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Specified by:
getCommandIdBytesin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The bytes for commandId.
-
setCommandId
public TransactionOuterClass.TransactionTree.Builder setCommandId(java.lang.String value)
The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Parameters:
value- The commandId to set.- Returns:
- This builder for chaining.
-
clearCommandId
public TransactionOuterClass.TransactionTree.Builder clearCommandId()
The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Returns:
- This builder for chaining.
-
setCommandIdBytes
public TransactionOuterClass.TransactionTree.Builder setCommandIdBytes(com.google.protobuf.ByteString value)
The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. Must be a valid LedgerString (as described in ``value.proto``). Optional
string command_id = 2 [json_name = "commandId"];- Parameters:
value- The bytes for commandId to set.- Returns:
- This builder for chaining.
-
getWorkflowId
public java.lang.String getWorkflowId()
The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Specified by:
getWorkflowIdin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()
The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Specified by:
getWorkflowIdBytesin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The bytes for workflowId.
-
setWorkflowId
public TransactionOuterClass.TransactionTree.Builder setWorkflowId(java.lang.String value)
The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Parameters:
value- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
public TransactionOuterClass.TransactionTree.Builder clearWorkflowId()
The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public TransactionOuterClass.TransactionTree.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value)
The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];- Parameters:
value- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
hasEffectiveAt
public boolean hasEffectiveAt()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];- Specified by:
hasEffectiveAtin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- Whether the effectiveAt field is set.
-
getEffectiveAt
public com.google.protobuf.Timestamp getEffectiveAt()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];- Specified by:
getEffectiveAtin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The effectiveAt.
-
setEffectiveAt
public TransactionOuterClass.TransactionTree.Builder setEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
setEffectiveAt
public TransactionOuterClass.TransactionTree.Builder setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
mergeEffectiveAt
public TransactionOuterClass.TransactionTree.Builder mergeEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
clearEffectiveAt
public TransactionOuterClass.TransactionTree.Builder clearEffectiveAt()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
getEffectiveAtBuilder
public com.google.protobuf.Timestamp.Builder getEffectiveAtBuilder()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
getEffectiveAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getEffectiveAtOrBuilder()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];- Specified by:
getEffectiveAtOrBuilderin interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
getOffset
public java.lang.String getOffset()
The absolute offset. The format of this field is described in ``ledger_offset.proto``. Required
string offset = 6 [json_name = "offset"];- Specified by:
getOffsetin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The offset.
-
getOffsetBytes
public com.google.protobuf.ByteString getOffsetBytes()
The absolute offset. The format of this field is described in ``ledger_offset.proto``. Required
string offset = 6 [json_name = "offset"];- Specified by:
getOffsetBytesin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The bytes for offset.
-
setOffset
public TransactionOuterClass.TransactionTree.Builder setOffset(java.lang.String value)
The absolute offset. The format of this field is described in ``ledger_offset.proto``. Required
string offset = 6 [json_name = "offset"];- Parameters:
value- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
public TransactionOuterClass.TransactionTree.Builder clearOffset()
The absolute offset. The format of this field is described in ``ledger_offset.proto``. Required
string offset = 6 [json_name = "offset"];- Returns:
- This builder for chaining.
-
setOffsetBytes
public TransactionOuterClass.TransactionTree.Builder setOffsetBytes(com.google.protobuf.ByteString value)
The absolute offset. The format of this field is described in ``ledger_offset.proto``. Required
string offset = 6 [json_name = "offset"];- Parameters:
value- The bytes for offset to set.- Returns:
- This builder for chaining.
-
getEventsByIdCount
public int getEventsByIdCount()
Description copied from interface:TransactionOuterClass.TransactionTreeOrBuilderChanges to the ledger that were caused by this transaction. Nodes of the transaction tree. Each key be a valid LedgerString (as describe in ``value.proto``). Required
map<string, .com.daml.ledger.api.v1.TreeEvent> events_by_id = 7 [json_name = "eventsById"];- Specified by:
getEventsByIdCountin interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
containsEventsById
public boolean containsEventsById(java.lang.String key)
Changes to the ledger that were caused by this transaction. Nodes of the transaction tree. Each key be a valid LedgerString (as describe in ``value.proto``). Required
map<string, .com.daml.ledger.api.v1.TreeEvent> events_by_id = 7 [json_name = "eventsById"];- Specified by:
containsEventsByIdin interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
getEventsById
@Deprecated public java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> getEventsById()
Deprecated.UsegetEventsByIdMap()instead.- Specified by:
getEventsByIdin interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
getEventsByIdMap
public java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> getEventsByIdMap()
Changes to the ledger that were caused by this transaction. Nodes of the transaction tree. Each key be a valid LedgerString (as describe in ``value.proto``). Required
map<string, .com.daml.ledger.api.v1.TreeEvent> events_by_id = 7 [json_name = "eventsById"];- Specified by:
getEventsByIdMapin interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
getEventsByIdOrDefault
public TransactionOuterClass.TreeEvent getEventsByIdOrDefault(java.lang.String key, TransactionOuterClass.TreeEvent defaultValue)
Changes to the ledger that were caused by this transaction. Nodes of the transaction tree. Each key be a valid LedgerString (as describe in ``value.proto``). Required
map<string, .com.daml.ledger.api.v1.TreeEvent> events_by_id = 7 [json_name = "eventsById"];- Specified by:
getEventsByIdOrDefaultin interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
getEventsByIdOrThrow
public TransactionOuterClass.TreeEvent getEventsByIdOrThrow(java.lang.String key)
Changes to the ledger that were caused by this transaction. Nodes of the transaction tree. Each key be a valid LedgerString (as describe in ``value.proto``). Required
map<string, .com.daml.ledger.api.v1.TreeEvent> events_by_id = 7 [json_name = "eventsById"];- Specified by:
getEventsByIdOrThrowin interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
clearEventsById
public TransactionOuterClass.TransactionTree.Builder clearEventsById()
-
removeEventsById
public TransactionOuterClass.TransactionTree.Builder removeEventsById(java.lang.String key)
Changes to the ledger that were caused by this transaction. Nodes of the transaction tree. Each key be a valid LedgerString (as describe in ``value.proto``). Required
map<string, .com.daml.ledger.api.v1.TreeEvent> events_by_id = 7 [json_name = "eventsById"];
-
getMutableEventsById
@Deprecated public java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> getMutableEventsById()
Deprecated.Use alternate mutation accessors instead.
-
putEventsById
public TransactionOuterClass.TransactionTree.Builder putEventsById(java.lang.String key, TransactionOuterClass.TreeEvent value)
Changes to the ledger that were caused by this transaction. Nodes of the transaction tree. Each key be a valid LedgerString (as describe in ``value.proto``). Required
map<string, .com.daml.ledger.api.v1.TreeEvent> events_by_id = 7 [json_name = "eventsById"];
-
putAllEventsById
public TransactionOuterClass.TransactionTree.Builder putAllEventsById(java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> values)
Changes to the ledger that were caused by this transaction. Nodes of the transaction tree. Each key be a valid LedgerString (as describe in ``value.proto``). Required
map<string, .com.daml.ledger.api.v1.TreeEvent> events_by_id = 7 [json_name = "eventsById"];
-
getRootEventIdsList
public com.google.protobuf.ProtocolStringList getRootEventIdsList()
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Specified by:
getRootEventIdsListin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- A list containing the rootEventIds.
-
getRootEventIdsCount
public int getRootEventIdsCount()
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Specified by:
getRootEventIdsCountin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Returns:
- The count of rootEventIds.
-
getRootEventIds
public java.lang.String getRootEventIds(int index)
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Specified by:
getRootEventIdsin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The rootEventIds at the given index.
-
getRootEventIdsBytes
public com.google.protobuf.ByteString getRootEventIdsBytes(int index)
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Specified by:
getRootEventIdsBytesin interfaceTransactionOuterClass.TransactionTreeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the rootEventIds at the given index.
-
setRootEventIds
public TransactionOuterClass.TransactionTree.Builder setRootEventIds(int index, java.lang.String value)
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Parameters:
index- The index to set the value at.value- The rootEventIds to set.- Returns:
- This builder for chaining.
-
addRootEventIds
public TransactionOuterClass.TransactionTree.Builder addRootEventIds(java.lang.String value)
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Parameters:
value- The rootEventIds to add.- Returns:
- This builder for chaining.
-
addAllRootEventIds
public TransactionOuterClass.TransactionTree.Builder addAllRootEventIds(java.lang.Iterable<java.lang.String> values)
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Parameters:
values- The rootEventIds to add.- Returns:
- This builder for chaining.
-
clearRootEventIds
public TransactionOuterClass.TransactionTree.Builder clearRootEventIds()
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Returns:
- This builder for chaining.
-
addRootEventIdsBytes
public TransactionOuterClass.TransactionTree.Builder addRootEventIdsBytes(com.google.protobuf.ByteString value)
Roots of the transaction tree. Each element must be a valid LedgerString (as describe in ``value.proto``). The elements are in the same order as the commands in the corresponding Commands object that triggered this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];- Parameters:
value- The bytes of the rootEventIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransactionOuterClass.TransactionTree.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
mergeUnknownFields
public final TransactionOuterClass.TransactionTree.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
-