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.v3.ListPagesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v3.Page pages = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.Page>
|
Returns
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.v3.Page pages = 1;
Parameter
Name |
Description |
value |
Page
|
Returns
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.v3.Page pages = 1;
Parameter
Returns
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.v3.Page pages = 1;
Parameters
Name |
Description |
index |
int
|
value |
Page
|
Returns
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.v3.Page pages = 1;
Parameters
Returns
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.v3.Page pages = 1;
Returns
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.v3.Page pages = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListPagesResponse build()
Returns
buildPartial()
public ListPagesResponse buildPartial()
Returns
clear()
public ListPagesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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.v3.Page pages = 1;
Returns
clone()
public ListPagesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListPagesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v3.Page pages = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v3.Page pages = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v3.Page pages = 1;
Returns
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.v3.Page pages = 1;
Returns
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.v3.Page pages = 1;
Returns
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.v3.Page pages = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v3.Page pages = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.PageOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListPagesResponse other)
public ListPagesResponse.Builder mergeFrom(ListPagesResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListPagesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v3.Page pages = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListPagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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.v3.Page pages = 1;
Parameters
Name |
Description |
index |
int
|
value |
Page
|
Returns
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.v3.Page pages = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides