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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
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 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.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.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.TransactionOrBuilder
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.TransactionOrBuilder
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.TransactionOrBuilder
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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
public 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.TransactionOrBuilder
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.TransactionOrBuilder
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.TransactionOrBuilder
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.Transaction parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.Transaction parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.Transaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.Transaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.Transaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.Transaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TransactionOuterClass.Transaction parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.Transaction parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.Transaction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.Transaction parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.Transaction parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TransactionOuterClass.Transaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public TransactionOuterClass.Transaction.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TransactionOuterClass.Transaction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TransactionOuterClass.Transaction getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder