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.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe 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.ByteStringgetRequestingPartiesBytes(int index) Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.intProvided for backwards compatibility, it will be removed in the Canton version 3.4.0.com.google.protobuf.ProtocolStringListProvided 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.booleanMust be unset for GetTransactionTreeByOffset request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
setField
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
clearField
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
clearOneof
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
addRepeatedField
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getOffsetin 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:
getRequestingPartiesListin 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:
getRequestingPartiesCountin 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:
getRequestingPartiesin 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:
getRequestingPartiesBytesin 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:
hasTransactionFormatin 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:
getTransactionFormatin 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:
getTransactionFormatOrBuilderin interfaceUpdateServiceOuterClass.GetTransactionByOffsetRequestOrBuilder
-
setUnknownFields
public final UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-
mergeUnknownFields
public final UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByOffsetRequest.Builder>
-