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 type
com.daml.ledger.api.v1.TransactionTree
Modifier and Type | Method and Description |
---|---|
TransactionOuterClass.TransactionTree.Builder |
addAllRootEventIds(java.lang.Iterable<java.lang.String> values)
Roots of the transaction tree.
|
TransactionOuterClass.TransactionTree.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
TransactionOuterClass.TransactionTree.Builder |
addRootEventIds(java.lang.String value)
Roots of the transaction tree.
|
TransactionOuterClass.TransactionTree.Builder |
addRootEventIdsBytes(com.google.protobuf.ByteString value)
Roots of the transaction tree.
|
TransactionOuterClass.TransactionTree |
build() |
TransactionOuterClass.TransactionTree |
buildPartial() |
TransactionOuterClass.TransactionTree.Builder |
clear() |
TransactionOuterClass.TransactionTree.Builder |
clearCommandId()
The ID of the command which resulted in this transaction.
|
TransactionOuterClass.TransactionTree.Builder |
clearEffectiveAt()
Ledger effective time.
|
TransactionOuterClass.TransactionTree.Builder |
clearEventsById() |
TransactionOuterClass.TransactionTree.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransactionOuterClass.TransactionTree.Builder |
clearOffset()
The absolute offset.
|
TransactionOuterClass.TransactionTree.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransactionOuterClass.TransactionTree.Builder |
clearRootEventIds()
Roots of the transaction tree.
|
TransactionOuterClass.TransactionTree.Builder |
clearTransactionId()
Assigned by the server.
|
TransactionOuterClass.TransactionTree.Builder |
clearWorkflowId()
The workflow ID used in command submission.
|
TransactionOuterClass.TransactionTree.Builder |
clone() |
boolean |
containsEventsById(java.lang.String key)
Changes to the ledger that were caused by this transaction.
|
java.lang.String |
getCommandId()
The ID of the command which resulted in this transaction.
|
com.google.protobuf.ByteString |
getCommandIdBytes()
The ID of the command which resulted in this transaction.
|
TransactionOuterClass.TransactionTree |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEffectiveAt()
Ledger effective time.
|
com.google.protobuf.Timestamp.Builder |
getEffectiveAtBuilder()
Ledger effective time.
|
com.google.protobuf.TimestampOrBuilder |
getEffectiveAtOrBuilder()
Ledger effective time.
|
java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> |
getEventsById()
Deprecated.
|
int |
getEventsByIdCount()
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.TreeEvent |
getEventsByIdOrDefault(java.lang.String key,
TransactionOuterClass.TreeEvent defaultValue)
Changes to the ledger that were caused by this transaction.
|
TransactionOuterClass.TreeEvent |
getEventsByIdOrThrow(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.String |
getOffset()
The absolute offset.
|
com.google.protobuf.ByteString |
getOffsetBytes()
The absolute offset.
|
java.lang.String |
getRootEventIds(int index)
Roots of the transaction tree.
|
com.google.protobuf.ByteString |
getRootEventIdsBytes(int index)
Roots of the transaction tree.
|
int |
getRootEventIdsCount()
Roots of the transaction tree.
|
com.google.protobuf.ProtocolStringList |
getRootEventIdsList()
Roots of the transaction tree.
|
java.lang.String |
getTransactionId()
Assigned by the server.
|
com.google.protobuf.ByteString |
getTransactionIdBytes()
Assigned by the server.
|
java.lang.String |
getWorkflowId()
The workflow ID used in command submission.
|
com.google.protobuf.ByteString |
getWorkflowIdBytes()
The workflow ID used in command submission.
|
boolean |
hasEffectiveAt()
Ledger effective time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
TransactionOuterClass.TransactionTree.Builder |
mergeEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time.
|
TransactionOuterClass.TransactionTree.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransactionOuterClass.TransactionTree.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransactionOuterClass.TransactionTree.Builder |
mergeFrom(TransactionOuterClass.TransactionTree other) |
TransactionOuterClass.TransactionTree.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionOuterClass.TransactionTree.Builder |
putAllEventsById(java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> values)
Changes to the ledger that were caused by this transaction.
|
TransactionOuterClass.TransactionTree.Builder |
putEventsById(java.lang.String key,
TransactionOuterClass.TreeEvent value)
Changes to the ledger that were caused by this transaction.
|
TransactionOuterClass.TransactionTree.Builder |
removeEventsById(java.lang.String key)
Changes to the ledger that were caused by this transaction.
|
TransactionOuterClass.TransactionTree.Builder |
setCommandId(java.lang.String value)
The ID of the command which resulted in this transaction.
|
TransactionOuterClass.TransactionTree.Builder |
setCommandIdBytes(com.google.protobuf.ByteString value)
The ID of the command which resulted in this transaction.
|
TransactionOuterClass.TransactionTree.Builder |
setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)
Ledger effective time.
|
TransactionOuterClass.TransactionTree.Builder |
setEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time.
|
TransactionOuterClass.TransactionTree.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
TransactionOuterClass.TransactionTree.Builder |
setOffset(java.lang.String value)
The absolute offset.
|
TransactionOuterClass.TransactionTree.Builder |
setOffsetBytes(com.google.protobuf.ByteString value)
The absolute offset.
|
TransactionOuterClass.TransactionTree.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
TransactionOuterClass.TransactionTree.Builder |
setRootEventIds(int index,
java.lang.String value)
Roots of the transaction tree.
|
TransactionOuterClass.TransactionTree.Builder |
setTransactionId(java.lang.String value)
Assigned by the server.
|
TransactionOuterClass.TransactionTree.Builder |
setTransactionIdBytes(com.google.protobuf.ByteString value)
Assigned by the server.
|
TransactionOuterClass.TransactionTree.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionOuterClass.TransactionTree.Builder |
setWorkflowId(java.lang.String value)
The workflow ID used in command submission.
|
TransactionOuterClass.TransactionTree.Builder |
setWorkflowIdBytes(com.google.protobuf.ByteString value)
The workflow ID used in command submission.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TransactionOuterClass.TransactionTree build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TransactionOuterClass.TransactionTree buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TransactionOuterClass.TransactionTree.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder mergeFrom(TransactionOuterClass.TransactionTree other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public TransactionOuterClass.TransactionTree.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.TransactionTree.Builder>
java.io.IOException
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"];
getTransactionId
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
getTransactionIdBytes
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
value
- The transactionId to set.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"];
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"];
value
- The bytes for transactionId to set.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"];
getCommandId
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
getCommandIdBytes
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
value
- The commandId to set.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"];
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"];
value
- The bytes for commandId to set.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"];
getWorkflowId
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
getWorkflowIdBytes
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
value
- The workflowId to set.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"];
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"];
value
- The bytes for workflowId to set.public boolean hasEffectiveAt()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
hasEffectiveAt
in interface TransactionOuterClass.TransactionTreeOrBuilder
public com.google.protobuf.Timestamp getEffectiveAt()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
getEffectiveAt
in interface TransactionOuterClass.TransactionTreeOrBuilder
public TransactionOuterClass.TransactionTree.Builder setEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
public TransactionOuterClass.TransactionTree.Builder setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
public TransactionOuterClass.TransactionTree.Builder mergeEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
public TransactionOuterClass.TransactionTree.Builder clearEffectiveAt()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
public com.google.protobuf.Timestamp.Builder getEffectiveAtBuilder()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
public com.google.protobuf.TimestampOrBuilder getEffectiveAtOrBuilder()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
getEffectiveAtOrBuilder
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
getOffset
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
getOffsetBytes
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
value
- The offset to set.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"];
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"];
value
- The bytes for offset to set.public int getEventsByIdCount()
TransactionOuterClass.TransactionTreeOrBuilder
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"];
getEventsByIdCount
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
containsEventsById
in interface TransactionOuterClass.TransactionTreeOrBuilder
@Deprecated public java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> getEventsById()
getEventsByIdMap()
instead.getEventsById
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
getEventsByIdMap
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
getEventsByIdOrDefault
in interface TransactionOuterClass.TransactionTreeOrBuilder
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"];
getEventsByIdOrThrow
in interface TransactionOuterClass.TransactionTreeOrBuilder
public TransactionOuterClass.TransactionTree.Builder clearEventsById()
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"];
@Deprecated public java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> getMutableEventsById()
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"];
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"];
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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
getRootEventIdsList
in interface TransactionOuterClass.TransactionTreeOrBuilder
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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
getRootEventIdsCount
in interface TransactionOuterClass.TransactionTreeOrBuilder
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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
getRootEventIds
in interface TransactionOuterClass.TransactionTreeOrBuilder
index
- The index of the element to return.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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
getRootEventIdsBytes
in interface TransactionOuterClass.TransactionTreeOrBuilder
index
- The index of the value to return.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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
index
- The index to set the value at.value
- The rootEventIds to set.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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
value
- The rootEventIds to add.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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
values
- The rootEventIds to add.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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
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 triggerd this transaction. Required
repeated string root_event_ids = 8 [json_name = "rootEventIds"];
value
- The bytes of the rootEventIds to add.public final TransactionOuterClass.TransactionTree.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
public final TransactionOuterClass.TransactionTree.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>