Class CustomAPIPagination.LinkPagination.Builder (0.37.0)

public static final class CustomAPIPagination.LinkPagination.Builder extends GeneratedMessage.Builder<CustomAPIPagination.LinkPagination.Builder> implements CustomAPIPagination.LinkPaginationOrBuilder

Follow links provided in the response to get more data.

Protobuf type google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CustomAPIPagination.LinkPagination build()
Returns
Type Description
CustomAPIPagination.LinkPagination

buildPartial()

public CustomAPIPagination.LinkPagination buildPartial()
Returns
Type Description
CustomAPIPagination.LinkPagination

clear()

public CustomAPIPagination.LinkPagination.Builder clear()
Returns
Type Description
CustomAPIPagination.LinkPagination.Builder
Overrides

clearNextPageLinkJsonPath()

public CustomAPIPagination.LinkPagination.Builder clearNextPageLinkJsonPath()

Required. Enter the field in the API response that contains the URL or token needed to fetch the next page of data.

string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomAPIPagination.LinkPagination.Builder

This builder for chaining.

getDefaultInstanceForType()

public CustomAPIPagination.LinkPagination getDefaultInstanceForType()
Returns
Type Description
CustomAPIPagination.LinkPagination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageLinkJsonPath()

public String getNextPageLinkJsonPath()

Required. Enter the field in the API response that contains the URL or token needed to fetch the next page of data.

string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The nextPageLinkJsonPath.

getNextPageLinkJsonPathBytes()

public ByteString getNextPageLinkJsonPathBytes()

Required. Enter the field in the API response that contains the URL or token needed to fetch the next page of data.

string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for nextPageLinkJsonPath.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomAPIPagination.LinkPagination other)

public CustomAPIPagination.LinkPagination.Builder mergeFrom(CustomAPIPagination.LinkPagination other)
Parameter
Name Description
other CustomAPIPagination.LinkPagination
Returns
Type Description
CustomAPIPagination.LinkPagination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomAPIPagination.LinkPagination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomAPIPagination.LinkPagination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomAPIPagination.LinkPagination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomAPIPagination.LinkPagination.Builder
Overrides

setNextPageLinkJsonPath(String value)

public CustomAPIPagination.LinkPagination.Builder setNextPageLinkJsonPath(String value)

Required. Enter the field in the API response that contains the URL or token needed to fetch the next page of data.

string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The nextPageLinkJsonPath to set.

Returns
Type Description
CustomAPIPagination.LinkPagination.Builder

This builder for chaining.

setNextPageLinkJsonPathBytes(ByteString value)

public CustomAPIPagination.LinkPagination.Builder setNextPageLinkJsonPathBytes(ByteString value)

Required. Enter the field in the API response that contains the URL or token needed to fetch the next page of data.

string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for nextPageLinkJsonPath to set.

Returns
Type Description
CustomAPIPagination.LinkPagination.Builder

This builder for chaining.