Package com.daml.ledger.api.v2
Interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateServiceOuterClass.GetTransactionByIdRequest
,UpdateServiceOuterClass.GetTransactionByIdRequest.Builder
- Enclosing class:
- UpdateServiceOuterClass
public static interface UpdateServiceOuterClass.GetTransactionByIdRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetRequestingParties
(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.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.The ID of a particular transaction.com.google.protobuf.ByteString
The ID of a particular transaction.boolean
Must be unset for GetTransactionTreeById request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUpdateId
String 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"];
- Returns:
- The updateId.
-
getUpdateIdBytes
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"];
- Returns:
- The bytes for updateId.
-
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"];
- Returns:
- A list containing the requestingParties.
-
getRequestingPartiesCount
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"];
- 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"];
- Parameters:
index
- The index of the element to return.- Returns:
- The requestingParties at the given index.
-
getRequestingPartiesBytes
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"];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requestingParties at the given index.
-
hasTransactionFormat
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"];
- Returns:
- Whether the transactionFormat field is set.
-
getTransactionFormat
TransactionFilterOuterClass.TransactionFormat 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"];
- Returns:
- The transactionFormat.
-
getTransactionFormatOrBuilder
TransactionFilterOuterClass.TransactionFormatOrBuilder 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"];
-