Package com.daml.ledger.api.v2
Class UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
com.daml.ledger.api.v2.UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder
- All Implemented Interfaces:
UpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- UpdateServiceOuterClass.GetTransactionByOffsetRequest
public static final class UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
implements UpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.Protobuf type
com.daml.ledger.api.v2.GetTransactionByOffsetRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestingParties
(Iterable<String> values) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRequestingParties
(String value) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.addRequestingPartiesBytes
(com.google.protobuf.ByteString value) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The offset of the transaction being looked up.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.Must be unset for GetTransactionTreeByOffset request.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
The offset of the transaction being looked up.getRequestingParties
(int index) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.com.google.protobuf.ByteString
getRequestingPartiesBytes
(int index) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.int
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.com.google.protobuf.ProtocolStringList
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.Must be unset for GetTransactionTreeByOffset request.Must be unset for GetTransactionTreeByOffset request.Must be unset for GetTransactionTreeByOffset request.boolean
Must be unset for GetTransactionTreeByOffset request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) Must be unset for GetTransactionTreeByOffset request.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setOffset
(long value) The offset of the transaction being looked up.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestingParties
(int index, String value) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.Must be unset for GetTransactionTreeByOffset request.Must be unset for GetTransactionTreeByOffset request.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
setField
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
clearField
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
clearOneof
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
setRepeatedField
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
addRepeatedField
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.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<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
- Throws:
IOException
-
getOffset
public long getOffset()The offset of the transaction being looked up. Must be a valid absolute offset (positive integer). Required
int64 offset = 1 [json_name = "offset"];
- Specified by:
getOffset
in interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
- Returns:
- The offset.
-
setOffset
The offset of the transaction being looked up. Must be a valid absolute offset (positive integer). Required
int64 offset = 1 [json_name = "offset"];
- Parameters:
value
- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
The offset of the transaction being looked up. Must be a valid absolute offset (positive integer). Required
int64 offset = 1 [json_name = "offset"];
- Returns:
- This builder for chaining.
-
getRequestingPartiesList
public com.google.protobuf.ProtocolStringList getRequestingPartiesList()Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Specified by:
getRequestingPartiesList
in interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
- Returns:
- A list containing the requestingParties.
-
getRequestingPartiesCount
public int getRequestingPartiesCount()Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Specified by:
getRequestingPartiesCount
in interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
- Returns:
- The count of requestingParties.
-
getRequestingParties
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Specified by:
getRequestingParties
in interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The requestingParties at the given index.
-
getRequestingPartiesBytes
public com.google.protobuf.ByteString getRequestingPartiesBytes(int index) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Specified by:
getRequestingPartiesBytes
in interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requestingParties at the given index.
-
setRequestingParties
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder setRequestingParties(int index, String value) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Parameters:
index
- The index to set the value at.value
- The requestingParties to set.- Returns:
- This builder for chaining.
-
addRequestingParties
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder addRequestingParties(String value) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Parameters:
value
- The requestingParties to add.- Returns:
- This builder for chaining.
-
addAllRequestingParties
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder addAllRequestingParties(Iterable<String> values) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Parameters:
values
- The requestingParties to add.- Returns:
- This builder for chaining.
-
clearRequestingParties
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Returns:
- This builder for chaining.
-
addRequestingPartiesBytes
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder addRequestingPartiesBytes(com.google.protobuf.ByteString value) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in ``value.proto``). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];
- Parameters:
value
- The bytes of the requestingParties to add.- Returns:
- This builder for chaining.
-
hasTransactionFormat
public boolean hasTransactionFormat()Must be unset for GetTransactionTreeByOffset request. Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where: - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties - event_format.filters_for_any_party is unset - event_format.verbose = true - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
- Specified by:
hasTransactionFormat
in interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
- Returns:
- Whether the transactionFormat field is set.
-
getTransactionFormat
Must be unset for GetTransactionTreeByOffset request. Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where: - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties - event_format.filters_for_any_party is unset - event_format.verbose = true - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
- Specified by:
getTransactionFormat
in interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
- Returns:
- The transactionFormat.
-
setTransactionFormat
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder setTransactionFormat(TransactionFilterOuterClass.TransactionFormat value) Must be unset for GetTransactionTreeByOffset request. Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where: - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties - event_format.filters_for_any_party is unset - event_format.verbose = true - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
-
setTransactionFormat
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder setTransactionFormat(TransactionFilterOuterClass.TransactionFormat.Builder builderForValue) Must be unset for GetTransactionTreeByOffset request. Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where: - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties - event_format.filters_for_any_party is unset - event_format.verbose = true - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
-
mergeTransactionFormat
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder mergeTransactionFormat(TransactionFilterOuterClass.TransactionFormat value) Must be unset for GetTransactionTreeByOffset request. Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where: - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties - event_format.filters_for_any_party is unset - event_format.verbose = true - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
-
clearTransactionFormat
Must be unset for GetTransactionTreeByOffset request. Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where: - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties - event_format.filters_for_any_party is unset - event_format.verbose = true - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
-
getTransactionFormatBuilder
Must be unset for GetTransactionTreeByOffset request. Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where: - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties - event_format.filters_for_any_party is unset - event_format.verbose = true - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
-
getTransactionFormatOrBuilder
Must be unset for GetTransactionTreeByOffset request. Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where: - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties - event_format.filters_for_any_party is unset - event_format.verbose = true - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 3 [json_name = "transactionFormat"];
- Specified by:
getTransactionFormatOrBuilder
in interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
-
setUnknownFields
public final UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
mergeUnknownFields
public final UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-