Class ListPagesResponse.Builder (0.65.0)

public static final class ListPagesResponse.Builder extends GeneratedMessageV3.Builder<ListPagesResponse.Builder> implements ListPagesResponseOrBuilder

The response message for Pages.ListPages.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ListPagesResponse

Static Methods

getDescriptor()

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

Methods

addAllPages(Iterable<? extends Page> values)

public ListPagesResponse.Builder addAllPages(Iterable<? extends Page> values)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Page>
Returns
Type Description
ListPagesResponse.Builder

addPages(Page value)

public ListPagesResponse.Builder addPages(Page value)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameter
Name Description
value Page
Returns
Type Description
ListPagesResponse.Builder

addPages(Page.Builder builderForValue)

public ListPagesResponse.Builder addPages(Page.Builder builderForValue)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameter
Name Description
builderForValue Page.Builder
Returns
Type Description
ListPagesResponse.Builder

addPages(int index, Page value)

public ListPagesResponse.Builder addPages(int index, Page value)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameters
Name Description
index int
value Page
Returns
Type Description
ListPagesResponse.Builder

addPages(int index, Page.Builder builderForValue)

public ListPagesResponse.Builder addPages(int index, Page.Builder builderForValue)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameters
Name Description
index int
builderForValue Page.Builder
Returns
Type Description
ListPagesResponse.Builder

addPagesBuilder()

public Page.Builder addPagesBuilder()

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Returns
Type Description
Page.Builder

addPagesBuilder(int index)

public Page.Builder addPagesBuilder(int index)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameter
Name Description
index int
Returns
Type Description
Page.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPagesResponse.Builder
Overrides

build()

public ListPagesResponse build()
Returns
Type Description
ListPagesResponse

buildPartial()

public ListPagesResponse buildPartial()
Returns
Type Description
ListPagesResponse

clear()

public ListPagesResponse.Builder clear()
Returns
Type Description
ListPagesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListPagesResponse.Builder
Overrides

clearNextPageToken()

public ListPagesResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListPagesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListPagesResponse.Builder
Overrides

clearPages()

public ListPagesResponse.Builder clearPages()

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Returns
Type Description
ListPagesResponse.Builder

clone()

public ListPagesResponse.Builder clone()
Returns
Type Description
ListPagesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPagesResponse getDefaultInstanceForType()
Returns
Type Description
ListPagesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPages(int index)

public Page getPages(int index)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameter
Name Description
index int
Returns
Type Description
Page

getPagesBuilder(int index)

public Page.Builder getPagesBuilder(int index)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameter
Name Description
index int
Returns
Type Description
Page.Builder

getPagesBuilderList()

public List<Page.Builder> getPagesBuilderList()

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Returns
Type Description
List<Builder>

getPagesCount()

public int getPagesCount()

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Returns
Type Description
int

getPagesList()

public List<Page> getPagesList()

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Returns
Type Description
List<Page>

getPagesOrBuilder(int index)

public PageOrBuilder getPagesOrBuilder(int index)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameter
Name Description
index int
Returns
Type Description
PageOrBuilder

getPagesOrBuilderList()

public List<? extends PageOrBuilder> getPagesOrBuilderList()

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPagesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPagesResponse.Builder
Overrides

removePages(int index)

public ListPagesResponse.Builder removePages(int index)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPagesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPagesResponse.Builder
Overrides

setNextPageToken(String value)

public ListPagesResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListPagesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPagesResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListPagesResponse.Builder

This builder for chaining.

setPages(int index, Page value)

public ListPagesResponse.Builder setPages(int index, Page value)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameters
Name Description
index int
value Page
Returns
Type Description
ListPagesResponse.Builder

setPages(int index, Page.Builder builderForValue)

public ListPagesResponse.Builder setPages(int index, Page.Builder builderForValue)

The list of pages. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;

Parameters
Name Description
index int
builderForValue Page.Builder
Returns
Type Description
ListPagesResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListPagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListPagesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPagesResponse.Builder
Overrides