Package com.daml.ledger.api.v2
Interface StateServiceOuterClass.GetActiveContractsPageResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StateServiceOuterClass.GetActiveContractsPageResponse,StateServiceOuterClass.GetActiveContractsPageResponse.Builder
- Enclosing class:
StateServiceOuterClass
public static interface StateServiceOuterClass.GetActiveContractsPageResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe active_at_offset which was specified in the request, or the calculated active_at_offset from the actual ledger end from at the evaluation of the request.getActiveContracts(int index) The collection of active contracts for this page response.intThe collection of active contracts for this page response.The collection of active contracts for this page response.getActiveContractsOrBuilder(int index) The collection of active contracts for this page response.The collection of active contracts for this page response.com.google.protobuf.ByteStringIf not present this is the last page.booleanIf not present this is the last page.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getActiveContractsList
List<StateServiceOuterClass.GetActiveContractsResponse> getActiveContractsList()The collection of active contracts for this page response. Required: must be non-empty
repeated .com.daml.ledger.api.v2.GetActiveContractsResponse active_contracts = 1; -
getActiveContracts
The collection of active contracts for this page response. Required: must be non-empty
repeated .com.daml.ledger.api.v2.GetActiveContractsResponse active_contracts = 1; -
getActiveContractsCount
int getActiveContractsCount()The collection of active contracts for this page response. Required: must be non-empty
repeated .com.daml.ledger.api.v2.GetActiveContractsResponse active_contracts = 1; -
getActiveContractsOrBuilderList
List<? extends StateServiceOuterClass.GetActiveContractsResponseOrBuilder> getActiveContractsOrBuilderList()The collection of active contracts for this page response. Required: must be non-empty
repeated .com.daml.ledger.api.v2.GetActiveContractsResponse active_contracts = 1; -
getActiveContractsOrBuilder
The collection of active contracts for this page response. Required: must be non-empty
repeated .com.daml.ledger.api.v2.GetActiveContractsResponse active_contracts = 1; -
getActiveAtOffset
long getActiveAtOffset()The active_at_offset which was specified in the request, or the calculated active_at_offset from the actual ledger end from at the evaluation of the request. Required
int64 active_at_offset = 2;- Returns:
- The activeAtOffset.
-
hasNextPageToken
boolean hasNextPageToken()If not present this is the last page. If present, this token must be used to get the next page. Optional: can be empty
optional bytes next_page_token = 3;- Returns:
- Whether the nextPageToken field is set.
-
getNextPageToken
com.google.protobuf.ByteString getNextPageToken()If not present this is the last page. If present, this token must be used to get the next page. Optional: can be empty
optional bytes next_page_token = 3;- Returns:
- The nextPageToken.
-