public static final class TransactionOuterClass.Transaction extends com.google.protobuf.GeneratedMessageV3 implements TransactionOuterClass.TransactionOrBuilder
Filtered view of an on-ledger transaction.Protobuf type
com.daml.ledger.api.v1.Transaction| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionOuterClass.Transaction.Builder
Filtered 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_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
TRANSACTION_ID_FIELD_NUMBER |
static int |
WORKFLOW_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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.Transaction |
getDefaultInstance() |
TransactionOuterClass.Transaction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEffectiveAt()
Ledger effective time.
|
com.google.protobuf.TimestampOrBuilder |
getEffectiveAtOrBuilder()
Ledger effective time.
|
EventOuterClass.Event |
getEvents(int index)
The collection of events.
|
int |
getEventsCount()
The collection of events.
|
java.util.List<EventOuterClass.Event> |
getEventsList()
The collection of events.
|
EventOuterClass.EventOrBuilder |
getEventsOrBuilder(int index)
The collection of events.
|
java.util.List<? extends EventOuterClass.EventOrBuilder> |
getEventsOrBuilderList()
The collection of events.
|
java.lang.String |
getOffset()
The absolute offset.
|
com.google.protobuf.ByteString |
getOffsetBytes()
The absolute offset.
|
com.google.protobuf.Parser<TransactionOuterClass.Transaction> |
getParserForType() |
int |
getSerializedSize() |
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() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransactionOuterClass.Transaction.Builder |
newBuilder() |
static TransactionOuterClass.Transaction.Builder |
newBuilder(TransactionOuterClass.Transaction prototype) |
TransactionOuterClass.Transaction.Builder |
newBuilderForType() |
protected TransactionOuterClass.Transaction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransactionOuterClass.Transaction |
parseDelimitedFrom(java.io.InputStream input) |
static TransactionOuterClass.Transaction |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.Transaction |
parseFrom(byte[] data) |
static TransactionOuterClass.Transaction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.Transaction |
parseFrom(java.nio.ByteBuffer data) |
static TransactionOuterClass.Transaction |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.Transaction |
parseFrom(com.google.protobuf.ByteString data) |
static TransactionOuterClass.Transaction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.Transaction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransactionOuterClass.Transaction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOuterClass.Transaction |
parseFrom(java.io.InputStream input) |
static TransactionOuterClass.Transaction |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransactionOuterClass.Transaction> |
parser() |
TransactionOuterClass.Transaction.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, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 EVENTS_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.TransactionOrBuilderpublic 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.TransactionOrBuilderpublic 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.TransactionOrBuilderpublic 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.TransactionOrBuilderpublic java.lang.String getWorkflowId()
The workflow ID used in command submission. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];getWorkflowId in interface TransactionOuterClass.TransactionOrBuilderpublic com.google.protobuf.ByteString getWorkflowIdBytes()
The workflow ID used in command submission. Must be a valid LedgerString (as described in ``value.proto``). Optional
string workflow_id = 3 [json_name = "workflowId"];getWorkflowIdBytes in interface TransactionOuterClass.TransactionOrBuilderpublic boolean hasEffectiveAt()
Ledger effective time. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];hasEffectiveAt in interface TransactionOuterClass.TransactionOrBuilderpublic com.google.protobuf.Timestamp getEffectiveAt()
Ledger effective time. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];getEffectiveAt in interface TransactionOuterClass.TransactionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEffectiveAtOrBuilder()
Ledger effective time. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];getEffectiveAtOrBuilder in interface TransactionOuterClass.TransactionOrBuilderpublic java.util.List<EventOuterClass.Event> getEventsList()
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5 [json_name = "events"];getEventsList in interface TransactionOuterClass.TransactionOrBuilderpublic java.util.List<? extends EventOuterClass.EventOrBuilder> getEventsOrBuilderList()
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5 [json_name = "events"];getEventsOrBuilderList in interface TransactionOuterClass.TransactionOrBuilderpublic int getEventsCount()
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5 [json_name = "events"];getEventsCount in interface TransactionOuterClass.TransactionOrBuilderpublic EventOuterClass.Event getEvents(int index)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5 [json_name = "events"];getEvents in interface TransactionOuterClass.TransactionOrBuilderpublic EventOuterClass.EventOrBuilder getEventsOrBuilder(int index)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5 [json_name = "events"];getEventsOrBuilder in interface TransactionOuterClass.TransactionOrBuilderpublic 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.TransactionOrBuilderpublic 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.TransactionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TransactionOuterClass.Transaction parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionOuterClass.Transaction parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionOuterClass.Transaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionOuterClass.Transaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionOuterClass.Transaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionOuterClass.Transaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionOuterClass.Transaction parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionOuterClass.Transaction parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransactionOuterClass.Transaction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionOuterClass.Transaction parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransactionOuterClass.Transaction parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionOuterClass.Transaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic TransactionOuterClass.Transaction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransactionOuterClass.Transaction.Builder newBuilder()
public static TransactionOuterClass.Transaction.Builder newBuilder(TransactionOuterClass.Transaction prototype)
public TransactionOuterClass.Transaction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransactionOuterClass.Transaction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransactionOuterClass.Transaction getDefaultInstance()
public static com.google.protobuf.Parser<TransactionOuterClass.Transaction> parser()
public com.google.protobuf.Parser<TransactionOuterClass.Transaction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransactionOuterClass.Transaction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder