Interface CustomAPIPaginationOrBuilder (0.37.0)

public interface CustomAPIPaginationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

public abstract CustomAPIPagination.LinkPagination getLink()

Follow links provided in the response to get more data.

.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6;

Returns
Type Description
CustomAPIPagination.LinkPagination

The link.

getLinkOrBuilder()

public abstract CustomAPIPagination.LinkPaginationOrBuilder getLinkOrBuilder()

Follow links provided in the response to get more data.

.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6;

Returns
Type Description
CustomAPIPagination.LinkPaginationOrBuilder

getNone()

public abstract CustomAPIPagination.NonePagination getNone()

Fetch data in a single request without paging.

.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4;

Returns
Type Description
CustomAPIPagination.NonePagination

The none.

getNoneOrBuilder()

public abstract CustomAPIPagination.NonePaginationOrBuilder getNoneOrBuilder()

Fetch data in a single request without paging.

.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4;

Returns
Type Description
CustomAPIPagination.NonePaginationOrBuilder

getOffset()

public abstract CustomAPIPagination.OffsetPagination getOffset()

Skip a set number of records to get the next set.

.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7;

Returns
Type Description
CustomAPIPagination.OffsetPagination

The offset.

getOffsetOrBuilder()

public abstract CustomAPIPagination.OffsetPaginationOrBuilder getOffsetOrBuilder()

Skip a set number of records to get the next set.

.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7;

Returns
Type Description
CustomAPIPagination.OffsetPaginationOrBuilder

getPageNumber()

public abstract CustomAPIPagination.PageNumberPagination getPageNumber()

Go to the next page number (e.g., page 2).

.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8;

Returns
Type Description
CustomAPIPagination.PageNumberPagination

The pageNumber.

getPageNumberOrBuilder()

public abstract CustomAPIPagination.PageNumberPaginationOrBuilder getPageNumberOrBuilder()

Go to the next page number (e.g., page 2).

.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8;

Returns
Type Description
CustomAPIPagination.PageNumberPaginationOrBuilder

getPaginationStrategyCase()

public abstract CustomAPIPagination.PaginationStrategyCase getPaginationStrategyCase()
Returns
Type Description
CustomAPIPagination.PaginationStrategyCase

getToken()

public abstract CustomAPIPagination.TokenPagination getToken()

Use tokens (custom keys) to get the next page of data.

.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5;

Returns
Type Description
CustomAPIPagination.TokenPagination

The token.

getTokenOrBuilder()

public abstract CustomAPIPagination.TokenPaginationOrBuilder getTokenOrBuilder()

Use tokens (custom keys) to get the next page of data.

.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5;

Returns
Type Description
CustomAPIPagination.TokenPaginationOrBuilder
public abstract boolean hasLink()

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.

hasNone()

public abstract boolean hasNone()

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.

hasOffset()

public abstract 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.

hasPageNumber()

public abstract 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.

hasToken()

public abstract 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.