Package com.daml.ledger.api.v1
Interface ActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActiveContractsServiceOuterClass.GetActiveContractsRequest
,ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
- Enclosing class:
- ActiveContractsServiceOuterClass
public static interface ActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getActiveAtOffset()
The offset at which the snapshot of the active contracts will be computed.com.google.protobuf.ByteString
getActiveAtOffsetBytes()
The offset at which the snapshot of the active contracts will be computed.TransactionFilterOuterClass.TransactionFilter
getFilter()
Templates to include in the served snapshot, per party.TransactionFilterOuterClass.TransactionFilterOrBuilder
getFilterOrBuilder()
Templates to include in the served snapshot, per party.java.lang.String
getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.ByteString
getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service.boolean
getVerbose()
If enabled, values served over the API will contain more information than strictly necessary to interpret the data.boolean
hasFilter()
Templates to include in the served snapshot, per party.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLedgerId
java.lang.String getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- The ledgerId.
-
getLedgerIdBytes
com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- The bytes for ledgerId.
-
hasFilter
boolean hasFilter()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
- Returns:
- Whether the filter field is set.
-
getFilter
TransactionFilterOuterClass.TransactionFilter getFilter()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
- Returns:
- The filter.
-
getFilterOrBuilder
TransactionFilterOuterClass.TransactionFilterOrBuilder getFilterOrBuilder()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
getVerbose
boolean getVerbose()
If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. Optional
bool verbose = 3 [json_name = "verbose"];
- Returns:
- The verbose.
-
getActiveAtOffset
java.lang.String getActiveAtOffset()
The offset at which the snapshot of the active contracts will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. If not set the current ledger end offset will be used. Optional
string active_at_offset = 4 [json_name = "activeAtOffset"];
- Returns:
- The activeAtOffset.
-
getActiveAtOffsetBytes
com.google.protobuf.ByteString getActiveAtOffsetBytes()
The offset at which the snapshot of the active contracts will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. If not set the current ledger end offset will be used. Optional
string active_at_offset = 4 [json_name = "activeAtOffset"];
- Returns:
- The bytes for activeAtOffset.
-
-