public static interface TransactionOuterClass.TransactionTreeOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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.
|
com.google.protobuf.Timestamp |
getEffectiveAt()
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.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.
|
java.util.List<java.lang.String> |
getRootEventIdsList()
Roots of the transaction tree.
|
TraceContextOuterClass.TraceContext |
getTraceContext()
Zipkin trace context.
|
TraceContextOuterClass.TraceContextOrBuilder |
getTraceContextOrBuilder()
Zipkin trace context.
|
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()
Zipkin trace context.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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"];
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"];
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"];
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"];
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"];
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"];
boolean hasEffectiveAt()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4[json_name = "effectiveAt"];
com.google.protobuf.Timestamp getEffectiveAt()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4[json_name = "effectiveAt"];
com.google.protobuf.TimestampOrBuilder getEffectiveAtOrBuilder()
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4[json_name = "effectiveAt"];
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"];
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"];
int getEventsByIdCount()
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"];
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"];
@Deprecated java.util.Map<java.lang.String,TransactionOuterClass.TreeEvent> getEventsById()
getEventsByIdMap()
instead.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"];
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"];
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"];
java.util.List<java.lang.String> 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"];
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"];
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"];
index
- The index of the element to return.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"];
index
- The index of the value to return.boolean hasTraceContext()
Zipkin trace context. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
TraceContextOuterClass.TraceContext getTraceContext()
Zipkin trace context. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];
TraceContextOuterClass.TraceContextOrBuilder getTraceContextOrBuilder()
Zipkin trace context. This field is a future extension point and is currently not supported. Optional
.com.daml.ledger.api.v1.TraceContext trace_context = 1000[json_name = "traceContext"];