Package com.daml.ledger.api.v1
Class TransactionOuterClass.Transaction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
- com.daml.ledger.api.v1.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
,java.lang.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.
Protobuf typecom.daml.ledger.api.v1.Transaction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionOuterClass.Transaction.Builder
addAllEvents(java.lang.Iterable<? extends EventOuterClass.Event> values)
The collection of events.TransactionOuterClass.Transaction.Builder
addEvents(int index, 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(EventOuterClass.Event value)
The collection of events.TransactionOuterClass.Transaction.Builder
addEvents(EventOuterClass.Event.Builder builderForValue)
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
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.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.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(TransactionOuterClass.Transaction other)
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
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 value)
Ledger effective time.TransactionOuterClass.Transaction.Builder
setEffectiveAt(com.google.protobuf.Timestamp.Builder builderForValue)
Ledger effective time.TransactionOuterClass.Transaction.Builder
setEvents(int index, EventOuterClass.Event value)
The collection of events.TransactionOuterClass.Transaction.Builder
setEvents(int index, EventOuterClass.Event.Builder builderForValue)
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
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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public TransactionOuterClass.Transaction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionOuterClass.Transaction build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionOuterClass.Transaction buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionOuterClass.Transaction.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionOuterClass.Transaction.Builder>
-
mergeFrom
public TransactionOuterClass.Transaction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionOuterClass.Transaction.Builder>
-
mergeFrom
public TransactionOuterClass.Transaction.Builder mergeFrom(TransactionOuterClass.Transaction other)
-
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 java.io.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:
java.io.IOException
-
getTransactionId
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"];
- Specified by:
getTransactionId
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The transactionId.
-
getTransactionIdBytes
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"];
- Specified by:
getTransactionIdBytes
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The bytes for transactionId.
-
setTransactionId
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"];
- Parameters:
value
- The transactionId to set.- Returns:
- This builder for chaining.
-
clearTransactionId
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"];
- Returns:
- This builder for chaining.
-
setTransactionIdBytes
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"];
- Parameters:
value
- The bytes for transactionId to set.- Returns:
- This builder for chaining.
-
getCommandId
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"];
- 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
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"];
- Parameters:
value
- The commandId to set.- Returns:
- This builder for chaining.
-
clearCommandId
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"];
- 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
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"];
- 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
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"];
- Parameters:
value
- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
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"];
- 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. Must be a valid LedgerString (as described in ``value.proto``). 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. Must be a valid LedgerString (as described in ``value.proto``). 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. Must be a valid LedgerString (as described in ``value.proto``). 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. Must be a valid LedgerString (as described in ``value.proto``). Required
.google.protobuf.Timestamp effective_at = 4 [json_name = "effectiveAt"];
-
mergeEffectiveAt
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"];
-
clearEffectiveAt
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"];
-
getEffectiveAtBuilder
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"];
-
getEffectiveAtOrBuilder
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"];
- Specified by:
getEffectiveAtOrBuilder
in interfaceTransactionOuterClass.TransactionOrBuilder
-
getEventsList
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"];
- Specified by:
getEventsList
in interfaceTransactionOuterClass.TransactionOrBuilder
-
getEventsCount
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"];
- Specified by:
getEventsCount
in interfaceTransactionOuterClass.TransactionOrBuilder
-
getEvents
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"];
- Specified by:
getEvents
in interfaceTransactionOuterClass.TransactionOrBuilder
-
setEvents
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"];
-
setEvents
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"];
-
addEvents
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"];
-
addEvents
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"];
-
addEvents
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"];
-
addEvents
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"];
-
addAllEvents
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"];
-
clearEvents
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"];
-
removeEvents
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"];
-
getEventsBuilder
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"];
-
getEventsOrBuilder
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"];
- Specified by:
getEventsOrBuilder
in interfaceTransactionOuterClass.TransactionOrBuilder
-
getEventsOrBuilderList
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"];
- Specified by:
getEventsOrBuilderList
in interfaceTransactionOuterClass.TransactionOrBuilder
-
addEventsBuilder
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"];
-
addEventsBuilder
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"];
-
getEventsBuilderList
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"];
-
getOffset
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"];
- Specified by:
getOffset
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The offset.
-
getOffsetBytes
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"];
- Specified by:
getOffsetBytes
in interfaceTransactionOuterClass.TransactionOrBuilder
- Returns:
- The bytes for offset.
-
setOffset
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"];
- Parameters:
value
- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
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"];
- Returns:
- This builder for chaining.
-
setOffsetBytes
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"];
- Parameters:
value
- The bytes for offset to set.- Returns:
- This builder for chaining.
-
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>
-
-