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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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
|
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;
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
|
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListExamplesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListExamplesResponse build()
buildPartial()
public ListExamplesResponse buildPartial()
clear()
public ListExamplesResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ListExamplesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListExamplesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListExamplesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListExamplesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListExamplesResponse other)
public ListExamplesResponse.Builder mergeFrom(ListExamplesResponse other)
public ListExamplesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListExamplesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListExamplesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListExamplesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListExamplesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListExamplesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides