Class ListExamplesResponse.Builder (0.51.0)

public static final class ListExamplesResponse.Builder extends GeneratedMessageV3.Builder<ListExamplesResponse.Builder> implements ListExamplesResponseOrBuilder

The response message for Examples.ListExamples.

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

Static Methods

getDescriptor()

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

Methods

addAllExamples(Iterable<? extends Example> values)

public ListExamplesResponse.Builder addAllExamples(Iterable<? extends Example> values)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

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

addExamples(Example value)

public ListExamplesResponse.Builder addExamples(Example value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameter
Name Description
value Example
Returns
Type Description
ListExamplesResponse.Builder

addExamples(Example.Builder builderForValue)

public ListExamplesResponse.Builder addExamples(Example.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameter
Name Description
builderForValue Example.Builder
Returns
Type Description
ListExamplesResponse.Builder

addExamples(int index, Example value)

public ListExamplesResponse.Builder addExamples(int index, Example value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameters
Name Description
index int
value Example
Returns
Type Description
ListExamplesResponse.Builder

addExamples(int index, Example.Builder builderForValue)

public ListExamplesResponse.Builder addExamples(int index, Example.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameters
Name Description
index int
builderForValue Example.Builder
Returns
Type Description
ListExamplesResponse.Builder

addExamplesBuilder()

public Example.Builder addExamplesBuilder()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Returns
Type Description
Example.Builder

addExamplesBuilder(int index)

public Example.Builder addExamplesBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
Example.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListExamplesResponse build()
Returns
Type Description
ListExamplesResponse

buildPartial()

public ListExamplesResponse buildPartial()
Returns
Type Description
ListExamplesResponse

clear()

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

clearExamples()

public ListExamplesResponse.Builder clearExamples()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Returns
Type Description
ListExamplesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListExamplesResponse.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
ListExamplesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListExamplesResponse getDefaultInstanceForType()
Returns
Type Description
ListExamplesResponse

getDescriptorForType()

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

getExamples(int index)

public Example getExamples(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
Example

getExamplesBuilder(int index)

public Example.Builder getExamplesBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
Example.Builder

getExamplesBuilderList()

public List<Example.Builder> getExamplesBuilderList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Returns
Type Description
List<Builder>

getExamplesCount()

public int getExamplesCount()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Returns
Type Description
int

getExamplesList()

public List<Example> getExamplesList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Returns
Type Description
List<Example>

getExamplesOrBuilder(int index)

public ExampleOrBuilder getExamplesOrBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
ExampleOrBuilder

getExamplesOrBuilderList()

public List<? extends ExampleOrBuilder> getExamplesOrBuilderList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListExamplesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExamples(int index)

public ListExamplesResponse.Builder removeExamples(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
ListExamplesResponse.Builder

setExamples(int index, Example value)

public ListExamplesResponse.Builder setExamples(int index, Example value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameters
Name Description
index int
value Example
Returns
Type Description
ListExamplesResponse.Builder

setExamples(int index, Example.Builder builderForValue)

public ListExamplesResponse.Builder setExamples(int index, Example.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 1;

Parameters
Name Description
index int
builderForValue Example.Builder
Returns
Type Description
ListExamplesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListExamplesResponse.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
ListExamplesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListExamplesResponse.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
ListExamplesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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