public static final class ListPagesResponse.Builder extends GeneratedMessage.Builder<ListPagesResponse.Builder> implements ListPagesResponseOrBuilderThe response message for Pages.ListPages.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ListPagesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListPagesResponse.BuilderImplements
ListPagesResponseOrBuilderStatic 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 |
|
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 |
|
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. |
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 |
|
getDefaultInstanceForType()
public ListPagesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListPagesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListPagesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListPagesResponse.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|