Package com.daml.ledger.api.v2
Interface UpdateServiceOuterClass.GetUpdatesPageResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateServiceOuterClass.GetUpdatesPageResponse,UpdateServiceOuterClass.GetUpdatesPageResponse.Builder
- Enclosing class:
UpdateServiceOuterClass
public static interface UpdateServiceOuterClass.GetUpdatesPageResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongRepresents the upper bound of the page.longRepresents the lower bound of this page.com.google.protobuf.ByteStringIf the value is not populated, this is the last page.getUpdates(int index) The first max_page_size updates that match the filter in the request.intThe first max_page_size updates that match the filter in the request.The first max_page_size updates that match the filter in the request.getUpdatesOrBuilder(int index) The first max_page_size updates that match the filter in the request.The first max_page_size updates that match the filter in the request.booleanIf the value is not populated, 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
-
getUpdatesList
List<UpdateServiceOuterClass.GetUpdateResponse> getUpdatesList()The first max_page_size updates that match the filter in the request. In case descending_order was selected, the order of the updates is in reversed offset order. Optional: can be empty
repeated .com.daml.ledger.api.v2.GetUpdateResponse updates = 1; -
getUpdates
The first max_page_size updates that match the filter in the request. In case descending_order was selected, the order of the updates is in reversed offset order. Optional: can be empty
repeated .com.daml.ledger.api.v2.GetUpdateResponse updates = 1; -
getUpdatesCount
int getUpdatesCount()The first max_page_size updates that match the filter in the request. In case descending_order was selected, the order of the updates is in reversed offset order. Optional: can be empty
repeated .com.daml.ledger.api.v2.GetUpdateResponse updates = 1; -
getUpdatesOrBuilderList
List<? extends UpdateServiceOuterClass.GetUpdateResponseOrBuilder> getUpdatesOrBuilderList()The first max_page_size updates that match the filter in the request. In case descending_order was selected, the order of the updates is in reversed offset order. Optional: can be empty
repeated .com.daml.ledger.api.v2.GetUpdateResponse updates = 1; -
getUpdatesOrBuilder
The first max_page_size updates that match the filter in the request. In case descending_order was selected, the order of the updates is in reversed offset order. Optional: can be empty
repeated .com.daml.ledger.api.v2.GetUpdateResponse updates = 1; -
getLowestPageOffsetExclusive
long getLowestPageOffsetExclusive()Represents the lower bound of this page. Required
int64 lowest_page_offset_exclusive = 2;- Returns:
- The lowestPageOffsetExclusive.
-
getHighestPageOffsetInclusive
long getHighestPageOffsetInclusive()Represents the upper bound of the page. Required
int64 highest_page_offset_inclusive = 3;- Returns:
- The highestPageOffsetInclusive.
-
hasNextPageToken
boolean hasNextPageToken()If the value is not populated, this is the last page. If the value is populated, this token can be used to get the next page. If the original ``GetFirstUpdatePageRequest`` end_offset_inclusive was not specified and the request uses ascending order, then this token will always be populated, so you can use it to "tail" the ledger by repeatedly polling with the new page token returned. Optional: can be empty
optional bytes next_page_token = 4;- Returns:
- Whether the nextPageToken field is set.
-
getNextPageToken
com.google.protobuf.ByteString getNextPageToken()If the value is not populated, this is the last page. If the value is populated, this token can be used to get the next page. If the original ``GetFirstUpdatePageRequest`` end_offset_inclusive was not specified and the request uses ascending order, then this token will always be populated, so you can use it to "tail" the ledger by repeatedly polling with the new page token returned. Optional: can be empty
optional bytes next_page_token = 4;- Returns:
- The nextPageToken.
-