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.Descriptor
com.google.protobuf.Descriptors.Descriptor
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 GetTransactionTreeById request.Must be unset for GetTransactionTreeById request.Must be unset for GetTransactionTreeById request.The ID of a particular transaction.com.google.protobuf.ByteString
The ID of a particular transaction.boolean
Must be unset for GetTransactionTreeById 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 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, 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.GetTransactionByIdRequest.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.GetTransactionByIdRequest.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.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
setField
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
clearField
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
clearOneof
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
setRepeatedField
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
addRepeatedField
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.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:
getUpdateId
in 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:
getUpdateIdBytes
in 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:
getRequestingPartiesList
in 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:
getRequestingPartiesCount
in 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:
getRequestingParties
in 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:
getRequestingPartiesBytes
in 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:
hasTransactionFormat
in 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:
getTransactionFormat
in 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:
getTransactionFormatOrBuilder
in interfaceUpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
-
setUnknownFields
public final UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
mergeUnknownFields
public final UpdateServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-