Package com.daml.ledger.api.v1
Class TransactionOuterClass.TransactionTree.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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.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
clearTraceContext()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.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.TraceContextOuterClass.TraceContext
getTraceContext()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.TraceContextOuterClass.TraceContext.Builder
getTraceContextBuilder()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.TraceContextOuterClass.TraceContextOrBuilder
getTraceContextOrBuilder()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.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.boolean
hasTraceContext()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.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(TransactionOuterClass.TransactionTree other)
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
mergeTraceContext(TraceContextOuterClass.TraceContext value)
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.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 value)
Ledger effective time.TransactionOuterClass.TransactionTree.Builder
setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)
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
setTraceContext(TraceContextOuterClass.TraceContext value)
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.TransactionOuterClass.TransactionTree.Builder
setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue)
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.TransactionTree.Builder>
-
clear
public TransactionOuterClass.TransactionTree.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.TransactionTree.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.TransactionTree.Builder>
-
getDefaultInstanceForType
public TransactionOuterClass.TransactionTree getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionOuterClass.TransactionTree build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionOuterClass.TransactionTree buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
setField
public TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
clearField
public TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
clearOneof
public TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
setRepeatedField
public TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
addRepeatedField
public TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
mergeFrom
public TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
mergeFrom
public TransactionOuterClass.TransactionTree.Builder mergeFrom(TransactionOuterClass.TransactionTree other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.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:
getTransactionId
in 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:
getTransactionIdBytes
in 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:
getCommandId
in 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:
getCommandIdBytes
in 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:
getWorkflowId
in 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:
getWorkflowIdBytes
in 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:
hasEffectiveAt
in 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:
getEffectiveAt
in 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:
getEffectiveAtOrBuilder
in 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:
getOffset
in 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:
getOffsetBytes
in 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.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"];
- Specified by:
getEventsByIdCount
in 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:
containsEventsById
in interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
getEventsById
@Deprecated public java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> getEventsById()
Deprecated.UsegetEventsByIdMap()
instead.- Specified by:
getEventsById
in 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:
getEventsByIdMap
in 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:
getEventsByIdOrDefault
in 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:
getEventsByIdOrThrow
in 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:
getRootEventIdsList
in 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:
getRootEventIdsCount
in 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:
getRootEventIds
in 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:
getRootEventIdsBytes
in 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.
-
hasTraceContext
public boolean hasTraceContext()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v1.TraceContext trace_context = 9 [json_name = "traceContext"];
- Specified by:
hasTraceContext
in interfaceTransactionOuterClass.TransactionTreeOrBuilder
- Returns:
- Whether the traceContext field is set.
-
getTraceContext
public TraceContextOuterClass.TraceContext getTraceContext()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v1.TraceContext trace_context = 9 [json_name = "traceContext"];
- Specified by:
getTraceContext
in interfaceTransactionOuterClass.TransactionTreeOrBuilder
- Returns:
- The traceContext.
-
setTraceContext
public TransactionOuterClass.TransactionTree.Builder setTraceContext(TraceContextOuterClass.TraceContext value)
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v1.TraceContext trace_context = 9 [json_name = "traceContext"];
-
setTraceContext
public TransactionOuterClass.TransactionTree.Builder setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue)
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v1.TraceContext trace_context = 9 [json_name = "traceContext"];
-
mergeTraceContext
public TransactionOuterClass.TransactionTree.Builder mergeTraceContext(TraceContextOuterClass.TraceContext value)
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v1.TraceContext trace_context = 9 [json_name = "traceContext"];
-
clearTraceContext
public TransactionOuterClass.TransactionTree.Builder clearTraceContext()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v1.TraceContext trace_context = 9 [json_name = "traceContext"];
-
getTraceContextBuilder
public TraceContextOuterClass.TraceContext.Builder getTraceContextBuilder()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v1.TraceContext trace_context = 9 [json_name = "traceContext"];
-
getTraceContextOrBuilder
public TraceContextOuterClass.TraceContextOrBuilder getTraceContextOrBuilder()
Optional; ledger api trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v1.TraceContext trace_context = 9 [json_name = "traceContext"];
- Specified by:
getTraceContextOrBuilder
in interfaceTransactionOuterClass.TransactionTreeOrBuilder
-
setUnknownFields
public final TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
mergeUnknownFields
public final TransactionOuterClass.TransactionTree.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.TransactionTree.Builder>
-
-