Package com.daml.ledger.api.v2
Class TransactionOuterClass.Transaction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
com.daml.ledger.api.v2.TransactionOuterClass.Transaction.Builder
- All Implemented Interfaces:
TransactionOuterClass.TransactionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TransactionOuterClass.Transaction
public static final class TransactionOuterClass.Transaction.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
implements TransactionOuterClass.TransactionOrBuilder
Filtered view of an on-ledger transaction's create and archive events.Protobuf type
com.daml.ledger.api.v2.Transaction
-
Method Summary
Modifier and TypeMethodDescriptionaddAllEvents
(Iterable<? extends EventOuterClass.Event> values) The collection of events.addEvents
(int index, EventOuterClass.Event value) The collection of events.addEvents
(int index, EventOuterClass.Event.Builder builderForValue) The collection of events.addEvents
(EventOuterClass.Event value) The collection of events.addEvents
(EventOuterClass.Event.Builder builderForValue) The collection of events.The collection of events.addEventsBuilder
(int index) The collection of events.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The ID of the command which resulted in this transaction.Ledger effective time.The collection of events.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The absolute offset.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The time at which the transaction was recorded.A valid synchronizer id.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Assigned by the server.The workflow ID used in command submission.clone()
The ID of the command which resulted in this transaction.com.google.protobuf.ByteString
The ID of the command which resulted in this transaction.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Timestamp
Ledger effective time.com.google.protobuf.Timestamp.Builder
Ledger effective time.com.google.protobuf.TimestampOrBuilder
Ledger effective time.getEvents
(int index) The collection of events.getEventsBuilder
(int index) The collection of events.The collection of events.int
The collection of events.The collection of events.getEventsOrBuilder
(int index) The collection of events.List<? extends EventOuterClass.EventOrBuilder>
The collection of events.long
The absolute offset.com.google.protobuf.Timestamp
The time at which the transaction was recorded.com.google.protobuf.Timestamp.Builder
The time at which the transaction was recorded.com.google.protobuf.TimestampOrBuilder
The time at which the transaction was recorded.A valid synchronizer id.com.google.protobuf.ByteString
A valid synchronizer id.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Assigned by the server.com.google.protobuf.ByteString
Assigned by the server.The workflow ID used in command submission.com.google.protobuf.ByteString
The workflow ID used in command submission.boolean
Ledger effective time.boolean
The time at which the transaction was recorded.boolean
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeEffectiveAt
(com.google.protobuf.Timestamp value) Ledger effective time.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeRecordTime
(com.google.protobuf.Timestamp value) The time at which the transaction was recorded.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeEvents
(int index) The collection of events.setCommandId
(String value) The ID of the command which resulted in this transaction.setCommandIdBytes
(com.google.protobuf.ByteString value) The ID of the command which resulted in this transaction.setEffectiveAt
(com.google.protobuf.Timestamp value) Ledger effective time.setEffectiveAt
(com.google.protobuf.Timestamp.Builder builderForValue) Ledger effective time.setEvents
(int index, EventOuterClass.Event value) The collection of events.setEvents
(int index, EventOuterClass.Event.Builder builderForValue) The collection of events.setOffset
(long value) The absolute offset.setRecordTime
(com.google.protobuf.Timestamp value) The time at which the transaction was recorded.setRecordTime
(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the transaction was recorded.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSynchronizerId
(String value) A valid synchronizer id.setSynchronizerIdBytes
(com.google.protobuf.ByteString value) A valid synchronizer id.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.setTraceContext
(TraceContextOuterClass.TraceContext.Builder builderForValue) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateId
(String value) Assigned by the server.setUpdateIdBytes
(com.google.protobuf.ByteString value) Assigned by the server.setWorkflowId
(String value) The workflow ID used in command submission.setWorkflowIdBytes
(com.google.protobuf.ByteString value) The workflow ID used in command submission.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
setField
public TransactionOuterClass.Transaction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
clearField
public TransactionOuterClass.Transaction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
clearOneof
public TransactionOuterClass.Transaction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
setRepeatedField
public TransactionOuterClass.Transaction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
addRepeatedField
public TransactionOuterClass.Transaction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.Transaction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
mergeFrom
public TransactionOuterClass.Transaction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.Transaction.Builder>
- Throws:
IOException
-
getUpdateId
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];
- Specified by:
getUpdateId
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The updateId.
-
getUpdateIdBytes
public com.google.protobuf.ByteString getUpdateIdBytes()Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];
- Specified by:
getUpdateIdBytes
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The bytes for updateId.
-
setUpdateId
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];
- Parameters:
value
- The updateId to set.- Returns:
- This builder for chaining.
-
clearUpdateId
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];
- Returns:
- This builder for chaining.
-
setUpdateIdBytes
public TransactionOuterClass.Transaction.Builder setUpdateIdBytes(com.google.protobuf.ByteString value) Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];
- Parameters:
value
- The bytes for updateId to set.- Returns:
- This builder for chaining.
-
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"];
- Specified by:
getCommandId
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The commandId.
-
getCommandIdBytes
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"];
- Specified by:
getCommandIdBytes
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The bytes for commandId.
-
setCommandId
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"];
- Parameters:
value
- The commandId to set.- Returns:
- This builder for chaining.
-
clearCommandId
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:
- This builder for chaining.
-
setCommandIdBytes
public TransactionOuterClass.Transaction.Builder setCommandIdBytes(com.google.protobuf.ByteString value) 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"];
- Parameters:
value
- The bytes for commandId to set.- Returns:
- This builder for chaining.
-
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"];
- Specified by:
getWorkflowId
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The workflowId.
-
getWorkflowIdBytes
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"];
- Specified by:
getWorkflowIdBytes
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The bytes for workflowId.
-
setWorkflowId
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"];
- Parameters:
value
- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
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:
- This builder for chaining.
-
setWorkflowIdBytes
public TransactionOuterClass.Transaction.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value) 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"];
- Parameters:
value
- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
hasEffectiveAt
public boolean hasEffectiveAt()Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
- Specified by:
hasEffectiveAt
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- Whether the effectiveAt field is set.
-
getEffectiveAt
public com.google.protobuf.Timestamp getEffectiveAt()Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
- Specified by:
getEffectiveAt
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The effectiveAt.
-
setEffectiveAt
public TransactionOuterClass.Transaction.Builder setEffectiveAt(com.google.protobuf.Timestamp value) Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
setEffectiveAt
public TransactionOuterClass.Transaction.Builder setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue) Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
mergeEffectiveAt
public TransactionOuterClass.Transaction.Builder mergeEffectiveAt(com.google.protobuf.Timestamp value) Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
clearEffectiveAt
Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
getEffectiveAtBuilder
public com.google.protobuf.Timestamp.Builder getEffectiveAtBuilder()Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
getEffectiveAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getEffectiveAtOrBuilder()Ledger effective time. Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
- Specified by:
getEffectiveAtOrBuilder
in interfaceTransactionOuterClass.TransactionOrBuilder
-
getEventsList
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
- Specified by:
getEventsList
in interfaceTransactionOuterClass.TransactionOrBuilder
-
getEventsCount
public int getEventsCount()The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
- Specified by:
getEventsCount
in interfaceTransactionOuterClass.TransactionOrBuilder
-
getEvents
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
- Specified by:
getEvents
in interfaceTransactionOuterClass.TransactionOrBuilder
-
setEvents
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
setEvents
public TransactionOuterClass.Transaction.Builder setEvents(int index, EventOuterClass.Event.Builder builderForValue) The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
addEvents
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
addEvents
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
addEvents
public TransactionOuterClass.Transaction.Builder addEvents(EventOuterClass.Event.Builder builderForValue) The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
addEvents
public TransactionOuterClass.Transaction.Builder addEvents(int index, EventOuterClass.Event.Builder builderForValue) The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
addAllEvents
public TransactionOuterClass.Transaction.Builder addAllEvents(Iterable<? extends EventOuterClass.Event> values) The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
clearEvents
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
removeEvents
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
getEventsBuilder
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
getEventsOrBuilder
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
- Specified by:
getEventsOrBuilder
in interfaceTransactionOuterClass.TransactionOrBuilder
-
getEventsOrBuilderList
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
- Specified by:
getEventsOrBuilderList
in interfaceTransactionOuterClass.TransactionOrBuilder
-
addEventsBuilder
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
addEventsBuilder
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
getEventsBuilderList
The collection of events. Contains: - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape Required
repeated .com.daml.ledger.api.v2.Event events = 5 [json_name = "events"];
-
getOffset
public long getOffset()The absolute offset. The details of this field are described in ``community/ledger-api/README.md``. Required, it is a valid absolute offset (positive integer).
int64 offset = 6 [json_name = "offset"];
- Specified by:
getOffset
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The offset.
-
setOffset
The absolute offset. The details of this field are described in ``community/ledger-api/README.md``. Required, it is a valid absolute offset (positive integer).
int64 offset = 6 [json_name = "offset"];
- Parameters:
value
- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
The absolute offset. The details of this field are described in ``community/ledger-api/README.md``. Required, it is a valid absolute offset (positive integer).
int64 offset = 6 [json_name = "offset"];
- Returns:
- This builder for chaining.
-
getSynchronizerId
A valid synchronizer id. Identifies the synchronizer that synchronized the transaction. Required
string synchronizer_id = 7 [json_name = "synchronizerId"];
- Specified by:
getSynchronizerId
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
public com.google.protobuf.ByteString getSynchronizerIdBytes()A valid synchronizer id. Identifies the synchronizer that synchronized the transaction. Required
string synchronizer_id = 7 [json_name = "synchronizerId"];
- Specified by:
getSynchronizerIdBytes
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The bytes for synchronizerId.
-
setSynchronizerId
A valid synchronizer id. Identifies the synchronizer that synchronized the transaction. Required
string synchronizer_id = 7 [json_name = "synchronizerId"];
- Parameters:
value
- The synchronizerId to set.- Returns:
- This builder for chaining.
-
clearSynchronizerId
A valid synchronizer id. Identifies the synchronizer that synchronized the transaction. Required
string synchronizer_id = 7 [json_name = "synchronizerId"];
- Returns:
- This builder for chaining.
-
setSynchronizerIdBytes
public TransactionOuterClass.Transaction.Builder setSynchronizerIdBytes(com.google.protobuf.ByteString value) A valid synchronizer id. Identifies the synchronizer that synchronized the transaction. Required
string synchronizer_id = 7 [json_name = "synchronizerId"];
- Parameters:
value
- The bytes for synchronizerId to set.- Returns:
- This builder for chaining.
-
hasTraceContext
public boolean hasTraceContext()Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
- Specified by:
hasTraceContext
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- Whether the traceContext field is set.
-
getTraceContext
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
- Specified by:
getTraceContext
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The traceContext.
-
setTraceContext
public TransactionOuterClass.Transaction.Builder setTraceContext(TraceContextOuterClass.TraceContext value) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
-
setTraceContext
public TransactionOuterClass.Transaction.Builder setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
-
mergeTraceContext
public TransactionOuterClass.Transaction.Builder mergeTraceContext(TraceContextOuterClass.TraceContext value) Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
-
clearTraceContext
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
-
getTraceContextBuilder
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
-
getTraceContextOrBuilder
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 8 [json_name = "traceContext"];
- Specified by:
getTraceContextOrBuilder
in interfaceTransactionOuterClass.TransactionOrBuilder
-
hasRecordTime
public boolean hasRecordTime()The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
.google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
- Specified by:
hasRecordTime
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- Whether the recordTime field is set.
-
getRecordTime
public com.google.protobuf.Timestamp getRecordTime()The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
.google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
- Specified by:
getRecordTime
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The recordTime.
-
setRecordTime
The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
.google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
-
setRecordTime
public TransactionOuterClass.Transaction.Builder setRecordTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
.google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
-
mergeRecordTime
public TransactionOuterClass.Transaction.Builder mergeRecordTime(com.google.protobuf.Timestamp value) The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
.google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
-
clearRecordTime
The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
.google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
-
getRecordTimeBuilder
public com.google.protobuf.Timestamp.Builder getRecordTimeBuilder()The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
.google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
-
getRecordTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRecordTimeOrBuilder()The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
.google.protobuf.Timestamp record_time = 9 [json_name = "recordTime"];
- Specified by:
getRecordTimeOrBuilder
in interfaceTransactionOuterClass.TransactionOrBuilder
-
setUnknownFields
public final TransactionOuterClass.Transaction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
mergeUnknownFields
public final TransactionOuterClass.Transaction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-