public final class CustomAPIPagination extends GeneratedMessage implements CustomAPIPaginationOrBuilder
Pagination strategy for the request.
Protobuf type google.cloud.chronicle.v1.CustomAPIPagination
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int NONE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int OFFSET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PAGE_NUMBER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOKEN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static CustomAPIPagination getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CustomAPIPagination.Builder newBuilder()
public static CustomAPIPagination.Builder newBuilder(CustomAPIPagination prototype)
public static CustomAPIPagination parseDelimitedFrom(InputStream input)
public static CustomAPIPagination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPIPagination parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static CustomAPIPagination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomAPIPagination parseFrom(ByteString data)
public static CustomAPIPagination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomAPIPagination parseFrom(CodedInputStream input)
public static CustomAPIPagination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPIPagination parseFrom(InputStream input)
public static CustomAPIPagination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPIPagination parseFrom(ByteBuffer data)
public static CustomAPIPagination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CustomAPIPagination> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public CustomAPIPagination getDefaultInstanceForType()
public CustomAPIPagination.LinkPagination getLink()
Follow links provided in the response to get more data.
.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6;
public CustomAPIPagination.LinkPaginationOrBuilder getLinkOrBuilder()
Follow links provided in the response to get more data.
.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6;
public CustomAPIPagination.NonePagination getNone()
Fetch data in a single request without paging.
.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4;
public CustomAPIPagination.NonePaginationOrBuilder getNoneOrBuilder()
Fetch data in a single request without paging.
.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4;
public CustomAPIPagination.OffsetPagination getOffset()
Skip a set number of records to get the next set.
.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7;
public CustomAPIPagination.OffsetPaginationOrBuilder getOffsetOrBuilder()
Skip a set number of records to get the next set.
.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7;
public CustomAPIPagination.PageNumberPagination getPageNumber()
Go to the next page number (e.g., page 2).
.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8;
public CustomAPIPagination.PageNumberPaginationOrBuilder getPageNumberOrBuilder()
Go to the next page number (e.g., page 2).
.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8;
public CustomAPIPagination.PaginationStrategyCase getPaginationStrategyCase()
public Parser<CustomAPIPagination> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public CustomAPIPagination.TokenPagination getToken()
Use tokens (custom keys) to get the next page of data.
.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5;
public CustomAPIPagination.TokenPaginationOrBuilder getTokenOrBuilder()
Use tokens (custom keys) to get the next page of data.
.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5;
Follow links provided in the response to get more data.
.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6;
| Returns |
| Type |
Description |
boolean |
Whether the link field is set.
|
Fetch data in a single request without paging.
.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4;
| Returns |
| Type |
Description |
boolean |
Whether the none field is set.
|
public boolean hasOffset()
Skip a set number of records to get the next set.
.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7;
| Returns |
| Type |
Description |
boolean |
Whether the offset field is set.
|
public boolean hasPageNumber()
Go to the next page number (e.g., page 2).
.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8;
| Returns |
| Type |
Description |
boolean |
Whether the pageNumber field is set.
|
public boolean hasToken()
Use tokens (custom keys) to get the next page of data.
.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5;
| Returns |
| Type |
Description |
boolean |
Whether the token field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CustomAPIPagination.Builder newBuilderForType()
protected CustomAPIPagination.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public CustomAPIPagination.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides