Package com.daml.ledger.api.v2
Class UpdateServiceOuterClass.GetTransactionByIdRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
com.daml.ledger.api.v2.UpdateServiceOuterClass.GetTransactionByIdRequest.Builder
- All Implemented Interfaces:
UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateServiceOuterClass.GetTransactionByIdRequest
public static final class UpdateServiceOuterClass.GetTransactionByIdRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
implements UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.Protobuf type
com.daml.ledger.api.v2.GetTransactionByIdRequest-
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) 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 GetTransactionTreeById request.The ID of a particular transaction.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRequestingParties(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 GetTransactionTreeById request.Must be unset for GetTransactionTreeById request.Must be unset for GetTransactionTreeById request.The ID of a particular transaction.com.google.protobuf.ByteStringThe ID of a particular transaction.booleanMust be unset for GetTransactionTreeById 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 GetTransactionTreeById request.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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 GetTransactionTreeById request.Must be unset for GetTransactionTreeById request.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateId(String value) The ID of a particular transaction.setUpdateIdBytes(com.google.protobuf.ByteString value) The ID of a particular transaction.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.GetTransactionByIdRequest.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.GetTransactionByIdRequest.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.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
setField
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
clearField
public UpdateServiceOuterClass.GetTransactionByIdRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
-
clearOneof
public UpdateServiceOuterClass.GetTransactionByIdRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
-
setRepeatedField
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
addRepeatedField
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetTransactionByIdRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>- Throws:
IOException
-
getUpdateId
The ID of a particular transaction. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Specified by:
getUpdateIdin interfaceUpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder- Returns:
- The updateId.
-
getUpdateIdBytes
public com.google.protobuf.ByteString getUpdateIdBytes()The ID of a particular transaction. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Specified by:
getUpdateIdBytesin interfaceUpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder- Returns:
- The bytes for updateId.
-
setUpdateId
The ID of a particular transaction. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Parameters:
value- The updateId to set.- Returns:
- This builder for chaining.
-
clearUpdateId
The ID of a particular transaction. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Returns:
- This builder for chaining.
-
setUpdateIdBytes
public UpdateServiceOuterClass.GetTransactionByIdRequest.Builder setUpdateIdBytes(com.google.protobuf.ByteString value) The ID of a particular transaction. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];- Parameters:
value- The bytes for updateId to set.- Returns:
- This builder for chaining.
-
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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesListin interfaceUpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder- 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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesCountin interfaceUpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder- 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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesin interfaceUpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder- 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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be unset (falling back to defaults).
repeated string requesting_parties = 2 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesBytesin interfaceUpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestingParties at the given index.
-
setRequestingParties
public UpdateServiceOuterClass.GetTransactionByIdRequest.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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById 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
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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById 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.GetTransactionByIdRequest.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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById 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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById 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.GetTransactionByIdRequest.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 GetTransactionTreeById request. Optional for backwards compatibility for GetTransactionById 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 GetTransactionTreeById request. Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, 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.GetTransactionByIdRequestOrBuilder- Returns:
- Whether the transactionFormat field is set.
-
getTransactionFormat
Must be unset for GetTransactionTreeById request. Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, 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.GetTransactionByIdRequestOrBuilder- Returns:
- The transactionFormat.
-
setTransactionFormat
public UpdateServiceOuterClass.GetTransactionByIdRequest.Builder setTransactionFormat(TransactionFilterOuterClass.TransactionFormat value) Must be unset for GetTransactionTreeById request. Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, 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.GetTransactionByIdRequest.Builder setTransactionFormat(TransactionFilterOuterClass.TransactionFormat.Builder builderForValue) Must be unset for GetTransactionTreeById request. Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, 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.GetTransactionByIdRequest.Builder mergeTransactionFormat(TransactionFilterOuterClass.TransactionFormat value) Must be unset for GetTransactionTreeById request. Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, 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 GetTransactionTreeById request. Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, 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 GetTransactionTreeById request. Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, 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 GetTransactionTreeById request. Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, 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.GetTransactionByIdRequestOrBuilder
-
setUnknownFields
public final UpdateServiceOuterClass.GetTransactionByIdRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
-
mergeUnknownFields
public final UpdateServiceOuterClass.GetTransactionByIdRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetTransactionByIdRequest.Builder>
-