public static final class TransactionOuterClass.TransactionTree extends com.google.protobuf.GeneratedMessageV3 implements TransactionOuterClass.TransactionTreeOrBuilder
Complete view of an on-ledger transaction.Protobuf type
com.daml.ledger.api.v1.TransactionTree
Modifier and Type | Class and Description |
---|---|
static class |
TransactionOuterClass.TransactionTree.Builder
Complete view of an on-ledger transaction.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
COMMAND_ID_FIELD_NUMBER |
static int |
EFFECTIVE_AT_FIELD_NUMBER |
static int |
EVENTS_BY_ID_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
ROOT_EVENT_IDS_FIELD_NUMBER |
static int |
TRACE_CONTEXT_FIELD_NUMBER |
static int |
TRANSACTION_ID_FIELD_NUMBER |
static int |
WORKFLOW_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsEventsById(java.lang.String key)
Changes to the ledger that were caused by this transaction.
|
boolean |
equals(java.lang.Object obj) |
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.
|
static TransactionOuterClass.TransactionTree |
getDefaultInstance() |
TransactionOuterClass.TransactionTree |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<TransactionOuterClass.TransactionTree> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
boolean |
hasTraceContext()
Zipkin trace context.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static TransactionOuterClass.TransactionTree.Builder |
newBuilder() |
static TransactionOuterClass.TransactionTree.Builder |
newBuilder(TransactionOuterClass.TransactionTree prototype) |
TransactionOuterClass.TransactionTree.Builder |
newBuilderForType() |
protected TransactionOuterClass.TransactionTree.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransactionOuterClass.TransactionTree |
parseDelimitedFrom(java.io.InputStream input) |
static TransactionOuterClass.TransactionTree |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.TransactionTree |
parseFrom(byte[] data) |
static TransactionOuterClass.TransactionTree |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.TransactionTree |
parseFrom(java.nio.ByteBuffer data) |
static TransactionOuterClass.TransactionTree |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.TransactionTree |
parseFrom(com.google.protobuf.ByteString data) |
static TransactionOuterClass.TransactionTree |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.TransactionTree |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransactionOuterClass.TransactionTree |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.TransactionTree |
parseFrom(java.io.InputStream input) |
static TransactionOuterClass.TransactionTree |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransactionOuterClass.TransactionTree> |
parser() |
TransactionOuterClass.TransactionTree.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int TRANSACTION_ID_FIELD_NUMBER
public static final int COMMAND_ID_FIELD_NUMBER
public static final int WORKFLOW_ID_FIELD_NUMBER
public static final int EFFECTIVE_AT_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int EVENTS_BY_ID_FIELD_NUMBER
public static final int ROOT_EVENT_IDS_FIELD_NUMBER
public static final int TRACE_CONTEXT_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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 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 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 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 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
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
public 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"];
hasTraceContext
in interface TransactionOuterClass.TransactionTreeOrBuilder
public 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"];
getTraceContext
in interface TransactionOuterClass.TransactionTreeOrBuilder
public 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"];
getTraceContextOrBuilder
in interface TransactionOuterClass.TransactionTreeOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static TransactionOuterClass.TransactionTree parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.TransactionTree parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.TransactionTree parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.TransactionTree parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.TransactionTree parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.TransactionTree parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.TransactionTree parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.TransactionTree parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.TransactionTree parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.TransactionTree parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.TransactionTree parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.TransactionTree parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public TransactionOuterClass.TransactionTree.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TransactionOuterClass.TransactionTree.Builder newBuilder()
public static TransactionOuterClass.TransactionTree.Builder newBuilder(TransactionOuterClass.TransactionTree prototype)
public TransactionOuterClass.TransactionTree.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TransactionOuterClass.TransactionTree.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static TransactionOuterClass.TransactionTree getDefaultInstance()
public static com.google.protobuf.Parser<TransactionOuterClass.TransactionTree> parser()
public com.google.protobuf.Parser<TransactionOuterClass.TransactionTree> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TransactionOuterClass.TransactionTree getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder