Package com.daml.ledger.api.v2
Class UpdateServiceOuterClass.GetUpdatesPageRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.UpdateServiceOuterClass.GetUpdatesPageRequest
- All Implemented Interfaces:
UpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
UpdateServiceOuterClass
public static final class UpdateServiceOuterClass.GetUpdatesPageRequest
extends com.google.protobuf.GeneratedMessageV3
implements UpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder
Protobuf type
com.daml.ledger.api.v2.GetUpdatesPageRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecom.daml.ledger.api.v2.GetUpdatesPageRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongExclusive lower bound offset of the requested ledger section (non-negative integer).booleanIf set, the page will populate the elements in descending order starting from the end_offset_inclusive.static final com.google.protobuf.Descriptors.DescriptorlongInclusive upper bound offset of the requested ledger section.intThe result page will contain the first max_page_size Updates of all matching updates.com.google.protobuf.ByteStringTo get the next page of updates, the ``page_token`` should be set to the ``next_page_token`` of the last ``GetUpdatesPageResponse``.com.google.protobuf.Parser<UpdateServiceOuterClass.GetUpdatesPageRequest> intRequiredRequiredbooleanExclusive lower bound offset of the requested ledger section (non-negative integer).booleanInclusive upper bound offset of the requested ledger section.inthashCode()booleanThe result page will contain the first max_page_size Updates of all matching updates.booleanTo get the next page of updates, the ``page_token`` should be set to the ``next_page_token`` of the last ``GetUpdatesPageResponse``.booleanRequiredprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateServiceOuterClass.GetUpdatesPageRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BEGIN_OFFSET_EXCLUSIVE_FIELD_NUMBER
public static final int BEGIN_OFFSET_EXCLUSIVE_FIELD_NUMBER- See Also:
-
END_OFFSET_INCLUSIVE_FIELD_NUMBER
public static final int END_OFFSET_INCLUSIVE_FIELD_NUMBER- See Also:
-
MAX_PAGE_SIZE_FIELD_NUMBER
public static final int MAX_PAGE_SIZE_FIELD_NUMBER- See Also:
-
UPDATE_FORMAT_FIELD_NUMBER
public static final int UPDATE_FORMAT_FIELD_NUMBER- See Also:
-
DESCENDING_ORDER_FIELD_NUMBER
public static final int DESCENDING_ORDER_FIELD_NUMBER- See Also:
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasBeginOffsetExclusive
public boolean hasBeginOffsetExclusive()Exclusive lower bound offset of the requested ledger section (non-negative integer). The response page will only contain updates whose offset is strictly greater than this. If set to zero or not defined, the lower bound is set to the actual pruning offset or to the beginning of the ledger if the participant was not pruned yet. If set to positive and the ledger has been pruned, this parameter must be greater or equal than the pruning offset. Optional
optional int64 begin_offset_exclusive = 1;- Specified by:
hasBeginOffsetExclusivein interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- Whether the beginOffsetExclusive field is set.
-
getBeginOffsetExclusive
public long getBeginOffsetExclusive()Exclusive lower bound offset of the requested ledger section (non-negative integer). The response page will only contain updates whose offset is strictly greater than this. If set to zero or not defined, the lower bound is set to the actual pruning offset or to the beginning of the ledger if the participant was not pruned yet. If set to positive and the ledger has been pruned, this parameter must be greater or equal than the pruning offset. Optional
optional int64 begin_offset_exclusive = 1;- Specified by:
getBeginOffsetExclusivein interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- The beginOffsetExclusive.
-
hasEndOffsetInclusive
public boolean hasEndOffsetInclusive()Inclusive upper bound offset of the requested ledger section. If specified the response will only contain updates whose offset is less than or equal to this. If not specified response will only contain updates whose offset is less than the current ledger-end. Optional
optional int64 end_offset_inclusive = 2;- Specified by:
hasEndOffsetInclusivein interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- Whether the endOffsetInclusive field is set.
-
getEndOffsetInclusive
public long getEndOffsetInclusive()Inclusive upper bound offset of the requested ledger section. If specified the response will only contain updates whose offset is less than or equal to this. If not specified response will only contain updates whose offset is less than the current ledger-end. Optional
optional int64 end_offset_inclusive = 2;- Specified by:
getEndOffsetInclusivein interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- The endOffsetInclusive.
-
hasMaxPageSize
public boolean hasMaxPageSize()The result page will contain the first max_page_size Updates of all matching updates. The server may reject queries with max_page_size above server specified limits. If not specified, the default max_page_size is determined by the server. Optional
optional int32 max_page_size = 3;- Specified by:
hasMaxPageSizein interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- Whether the maxPageSize field is set.
-
getMaxPageSize
public int getMaxPageSize()The result page will contain the first max_page_size Updates of all matching updates. The server may reject queries with max_page_size above server specified limits. If not specified, the default max_page_size is determined by the server. Optional
optional int32 max_page_size = 3;- Specified by:
getMaxPageSizein interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- The maxPageSize.
-
hasUpdateFormat
public boolean hasUpdateFormat()Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 4;- Specified by:
hasUpdateFormatin interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- Whether the updateFormat field is set.
-
getUpdateFormat
Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 4;- Specified by:
getUpdateFormatin interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- The updateFormat.
-
getUpdateFormatOrBuilder
Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 4;- Specified by:
getUpdateFormatOrBuilderin interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder
-
getDescendingOrder
public boolean getDescendingOrder()If set, the page will populate the elements in descending order starting from the end_offset_inclusive. Optional
bool descending_order = 5;- Specified by:
getDescendingOrderin interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- The descendingOrder.
-
hasPageToken
public boolean hasPageToken()To get the next page of updates, the ``page_token`` should be set to the ``next_page_token`` of the last ``GetUpdatesPageResponse``. To achieve correct paging: subsequent requests must - be executed on the same participant with the same version of canton, - have the same begin_offset_exclusive, - have the same end_offset_inclusive, - have the same update_format and - have the same descending_order. If not specified, the first page of updates will be returned. Optional: can be empty
optional bytes page_token = 6;- Specified by:
hasPageTokenin interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- Whether the pageToken field is set.
-
getPageToken
public com.google.protobuf.ByteString getPageToken()To get the next page of updates, the ``page_token`` should be set to the ``next_page_token`` of the last ``GetUpdatesPageResponse``. To achieve correct paging: subsequent requests must - be executed on the same participant with the same version of canton, - have the same begin_offset_exclusive, - have the same end_offset_inclusive, - have the same update_format and - have the same descending_order. If not specified, the first page of updates will be returned. Optional: can be empty
optional bytes page_token = 6;- Specified by:
getPageTokenin interfaceUpdateServiceOuterClass.GetUpdatesPageRequestOrBuilder- Returns:
- The pageToken.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesPageRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static UpdateServiceOuterClass.GetUpdatesPageRequest.Builder newBuilder(UpdateServiceOuterClass.GetUpdatesPageRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpdateServiceOuterClass.GetUpdatesPageRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-