Package com.daml.ledger.api.v1
Interface TransactionOuterClass.TransactionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransactionOuterClass.Transaction,TransactionOuterClass.Transaction.Builder
- Enclosing class:
- TransactionOuterClass
public static interface TransactionOuterClass.TransactionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCommandId()The ID of the command which resulted in this transaction.com.google.protobuf.ByteStringgetCommandIdBytes()The ID of the command which resulted in this transaction.com.google.protobuf.TimestampgetEffectiveAt()Ledger effective time.com.google.protobuf.TimestampOrBuildergetEffectiveAtOrBuilder()Ledger effective time.EventOuterClass.EventgetEvents(int index)The collection of events.intgetEventsCount()The collection of events.java.util.List<EventOuterClass.Event>getEventsList()The collection of events.EventOuterClass.EventOrBuildergetEventsOrBuilder(int index)The collection of events.java.util.List<? extends EventOuterClass.EventOrBuilder>getEventsOrBuilderList()The collection of events.java.lang.StringgetOffset()The absolute offset.com.google.protobuf.ByteStringgetOffsetBytes()The absolute offset.java.lang.StringgetTransactionId()Assigned by the server.com.google.protobuf.ByteStringgetTransactionIdBytes()Assigned by the server.java.lang.StringgetWorkflowId()The workflow ID used in command submission.com.google.protobuf.ByteStringgetWorkflowIdBytes()The workflow ID used in command submission.booleanhasEffectiveAt()Ledger effective time.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTransactionId
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"];- Returns:
- The transactionId.
-
getTransactionIdBytes
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"];- Returns:
- The bytes for transactionId.
-
getCommandId
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"];- Returns:
- The commandId.
-
getCommandIdBytes
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"];- Returns:
- The bytes for commandId.
-
getWorkflowId
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"];- Returns:
- The workflowId.
-
getWorkflowIdBytes
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"];- Returns:
- The bytes for workflowId.
-
hasEffectiveAt
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"];- Returns:
- Whether the effectiveAt field is set.
-
getEffectiveAt
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"];- Returns:
- The effectiveAt.
-
getEffectiveAtOrBuilder
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"];
-
getEventsList
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"];
-
getEvents
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"];
-
getEventsCount
int getEventsCount()
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5 [json_name = "events"];
-
getEventsOrBuilderList
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"];
-
getEventsOrBuilder
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"];
-
getOffset
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"];- Returns:
- The offset.
-
getOffsetBytes
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"];- Returns:
- The bytes for offset.
-
-