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.Protobuf type
com.daml.ledger.api.v1.Transaction
Modifier and Type | Method and Description |
---|---|
TransactionOuterClass.Transaction.Builder |
addAllEvents(java.lang.Iterable<? extends EventOuterClass.Event> values)
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
addEvents(EventOuterClass.Event.Builder builderForValue)
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
addEvents(EventOuterClass.Event value)
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
addEvents(int index,
EventOuterClass.Event.Builder builderForValue)
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
addEvents(int index,
EventOuterClass.Event value)
The collection of events.
|
EventOuterClass.Event.Builder |
addEventsBuilder()
The collection of events.
|
EventOuterClass.Event.Builder |
addEventsBuilder(int index)
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
TransactionOuterClass.Transaction |
build() |
TransactionOuterClass.Transaction |
buildPartial() |
TransactionOuterClass.Transaction.Builder |
clear() |
TransactionOuterClass.Transaction.Builder |
clearCommandId()
The ID of the command which resulted in this transaction.
|
TransactionOuterClass.Transaction.Builder |
clearEffectiveAt()
Ledger effective time.
|
TransactionOuterClass.Transaction.Builder |
clearEvents()
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransactionOuterClass.Transaction.Builder |
clearOffset()
The absolute offset.
|
TransactionOuterClass.Transaction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransactionOuterClass.Transaction.Builder |
clearTraceContext()
Zipkin trace context.
|
TransactionOuterClass.Transaction.Builder |
clearTransactionId()
Assigned by the server.
|
TransactionOuterClass.Transaction.Builder |
clearWorkflowId()
The workflow ID used in command submission.
|
TransactionOuterClass.Transaction.Builder |
clone() |
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.
|
TransactionOuterClass.Transaction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEffectiveAt()
Ledger effective time.
|
com.google.protobuf.Timestamp.Builder |
getEffectiveAtBuilder()
Ledger effective time.
|
com.google.protobuf.TimestampOrBuilder |
getEffectiveAtOrBuilder()
Ledger effective time.
|
EventOuterClass.Event |
getEvents(int index)
The collection of events.
|
EventOuterClass.Event.Builder |
getEventsBuilder(int index)
The collection of events.
|
java.util.List<EventOuterClass.Event.Builder> |
getEventsBuilderList()
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.
|
TraceContextOuterClass.TraceContext |
getTraceContext()
Zipkin trace context.
|
TraceContextOuterClass.TraceContext.Builder |
getTraceContextBuilder()
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.
|
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.
|
boolean |
hasTraceContext()
Zipkin trace context.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransactionOuterClass.Transaction.Builder |
mergeEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time.
|
TransactionOuterClass.Transaction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransactionOuterClass.Transaction.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransactionOuterClass.Transaction.Builder |
mergeFrom(TransactionOuterClass.Transaction other) |
TransactionOuterClass.Transaction.Builder |
mergeTraceContext(TraceContextOuterClass.TraceContext value)
Zipkin trace context.
|
TransactionOuterClass.Transaction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionOuterClass.Transaction.Builder |
removeEvents(int index)
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
setCommandId(java.lang.String value)
The ID of the command which resulted in this transaction.
|
TransactionOuterClass.Transaction.Builder |
setCommandIdBytes(com.google.protobuf.ByteString value)
The ID of the command which resulted in this transaction.
|
TransactionOuterClass.Transaction.Builder |
setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)
Ledger effective time.
|
TransactionOuterClass.Transaction.Builder |
setEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time.
|
TransactionOuterClass.Transaction.Builder |
setEvents(int index,
EventOuterClass.Event.Builder builderForValue)
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
setEvents(int index,
EventOuterClass.Event value)
The collection of events.
|
TransactionOuterClass.Transaction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
TransactionOuterClass.Transaction.Builder |
setOffset(java.lang.String value)
The absolute offset.
|
TransactionOuterClass.Transaction.Builder |
setOffsetBytes(com.google.protobuf.ByteString value)
The absolute offset.
|
TransactionOuterClass.Transaction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
TransactionOuterClass.Transaction.Builder |
setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue)
Zipkin trace context.
|
TransactionOuterClass.Transaction.Builder |
setTraceContext(TraceContextOuterClass.TraceContext value)
Zipkin trace context.
|
TransactionOuterClass.Transaction.Builder |
setTransactionId(java.lang.String value)
Assigned by the server.
|
TransactionOuterClass.Transaction.Builder |
setTransactionIdBytes(com.google.protobuf.ByteString value)
Assigned by the server.
|
TransactionOuterClass.Transaction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionOuterClass.Transaction.Builder |
setWorkflowId(java.lang.String value)
The workflow ID used in command submission.
|
TransactionOuterClass.Transaction.Builder |
setWorkflowIdBytes(com.google.protobuf.ByteString value)
The workflow ID used in command submission.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TransactionOuterClass.Transaction build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TransactionOuterClass.Transaction buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TransactionOuterClass.Transaction.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder mergeFrom(TransactionOuterClass.Transaction other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public TransactionOuterClass.Transaction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.Transaction.Builder>
java.io.IOException
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 TransactionOuterClass.Transaction.Builder setTransactionId(java.lang.String value)
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"];
value
- The transactionId to set.public TransactionOuterClass.Transaction.Builder clearTransactionId()
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"];
public TransactionOuterClass.Transaction.Builder setTransactionIdBytes(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 transaction_id = 1[json_name = "transactionId"];
value
- The bytes for transactionId to set.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 TransactionOuterClass.Transaction.Builder setCommandId(java.lang.String 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"];
value
- The commandId to set.public TransactionOuterClass.Transaction.Builder 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"];
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"];
value
- The bytes for commandId to set.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 TransactionOuterClass.Transaction.Builder setWorkflowId(java.lang.String 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"];
value
- The workflowId to set.public TransactionOuterClass.Transaction.Builder 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"];
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"];
value
- The bytes for workflowId to set.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 TransactionOuterClass.Transaction.Builder setEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4[json_name = "effectiveAt"];
public TransactionOuterClass.Transaction.Builder setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)
Ledger effective time. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4[json_name = "effectiveAt"];
public TransactionOuterClass.Transaction.Builder mergeEffectiveAt(com.google.protobuf.Timestamp value)
Ledger effective time. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4[json_name = "effectiveAt"];
public TransactionOuterClass.Transaction.Builder clearEffectiveAt()
Ledger effective time. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4[json_name = "effectiveAt"];
public com.google.protobuf.Timestamp.Builder getEffectiveAtBuilder()
Ledger effective time. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4[json_name = "effectiveAt"];
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 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 TransactionOuterClass.Transaction.Builder setEvents(int index, EventOuterClass.Event value)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public TransactionOuterClass.Transaction.Builder setEvents(int index, EventOuterClass.Event.Builder builderForValue)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public TransactionOuterClass.Transaction.Builder addEvents(EventOuterClass.Event value)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public TransactionOuterClass.Transaction.Builder addEvents(int index, EventOuterClass.Event value)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public TransactionOuterClass.Transaction.Builder addEvents(EventOuterClass.Event.Builder builderForValue)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public TransactionOuterClass.Transaction.Builder addEvents(int index, EventOuterClass.Event.Builder builderForValue)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public TransactionOuterClass.Transaction.Builder addAllEvents(java.lang.Iterable<? extends EventOuterClass.Event> values)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public TransactionOuterClass.Transaction.Builder clearEvents()
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public TransactionOuterClass.Transaction.Builder removeEvents(int index)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public EventOuterClass.Event.Builder getEventsBuilder(int index)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
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.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 EventOuterClass.Event.Builder addEventsBuilder()
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public EventOuterClass.Event.Builder addEventsBuilder(int index)
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
public java.util.List<EventOuterClass.Event.Builder> getEventsBuilderList()
The collection of events. Only contains ``CreatedEvent`` or ``ArchivedEvent``. Required
repeated .com.daml.ledger.api.v1.Event events = 5[json_name = "events"];
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 TransactionOuterClass.Transaction.Builder setOffset(java.lang.String value)
The absolute offset. The format of this field is described in ``ledger_offset.proto``. Required
string offset = 6[json_name = "offset"];
value
- The offset to set.public TransactionOuterClass.Transaction.Builder clearOffset()
The absolute offset. The format of this field is described in ``ledger_offset.proto``. Required
string offset = 6[json_name = "offset"];
public TransactionOuterClass.Transaction.Builder setOffsetBytes(com.google.protobuf.ByteString value)
The absolute offset. The format of this field is described in ``ledger_offset.proto``. Required
string offset = 6[json_name = "offset"];
value
- The bytes for offset to set.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.TransactionOrBuilder
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.TransactionOrBuilder
public TransactionOuterClass.Transaction.Builder setTraceContext(TraceContextOuterClass.TraceContext value)
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"];
public TransactionOuterClass.Transaction.Builder setTraceContext(TraceContextOuterClass.TraceContext.Builder builderForValue)
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"];
public TransactionOuterClass.Transaction.Builder mergeTraceContext(TraceContextOuterClass.TraceContext value)
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"];
public TransactionOuterClass.Transaction.Builder clearTraceContext()
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"];
public TraceContextOuterClass.TraceContext.Builder getTraceContextBuilder()
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"];
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.TransactionOrBuilder
public final TransactionOuterClass.Transaction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
public final TransactionOuterClass.Transaction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>