Class ListPagesResponse.Builder (0.14.5)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Page>
Returns
TypeDescription
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
NameDescription
valuePage
Returns
TypeDescription
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
NameDescription
builderForValuePage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePage
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Page.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPagesResponse.Builder
Overrides

build()

public ListPagesResponse build()
Returns
TypeDescription
ListPagesResponse

buildPartial()

public ListPagesResponse buildPartial()
Returns
TypeDescription
ListPagesResponse

clear()

public ListPagesResponse.Builder clear()
Returns
TypeDescription
ListPagesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListPagesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListPagesResponse.Builder

clone()

public ListPagesResponse.Builder clone()
Returns
TypeDescription
ListPagesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPagesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPagesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPagesResponse other)

public ListPagesResponse.Builder mergeFrom(ListPagesResponse other)
Parameter
NameDescription
otherListPagesResponse
Returns
TypeDescription
ListPagesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPagesResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListPagesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListPagesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListPagesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePage
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePage.Builder
Returns
TypeDescription
ListPagesResponse.Builder

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

public ListPagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPagesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPagesResponse.Builder
Overrides