public static final class ListExperimentsResponse.Builder extends GeneratedMessageV3.Builder<ListExperimentsResponse.Builder> implements ListExperimentsResponseOrBuilder
The response message for Experiments.ListExperiments.
Protobuf type google.cloud.dialogflow.cx.v3.ListExperimentsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllExperiments(Iterable<? extends Experiment> values)
public ListExperimentsResponse.Builder addAllExperiments(Iterable<? extends Experiment> values)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.Experiment>
|
Returns
addExperiments(Experiment value)
public ListExperimentsResponse.Builder addExperiments(Experiment value)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameter
Returns
addExperiments(Experiment.Builder builderForValue)
public ListExperimentsResponse.Builder addExperiments(Experiment.Builder builderForValue)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameter
Returns
addExperiments(int index, Experiment value)
public ListExperimentsResponse.Builder addExperiments(int index, Experiment value)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameters
Returns
addExperiments(int index, Experiment.Builder builderForValue)
public ListExperimentsResponse.Builder addExperiments(int index, Experiment.Builder builderForValue)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameters
Returns
addExperimentsBuilder()
public Experiment.Builder addExperimentsBuilder()
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Returns
addExperimentsBuilder(int index)
public Experiment.Builder addExperimentsBuilder(int index)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListExperimentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListExperimentsResponse build()
Returns
buildPartial()
public ListExperimentsResponse buildPartial()
Returns
clear()
public ListExperimentsResponse.Builder clear()
Returns
Overrides
clearExperiments()
public ListExperimentsResponse.Builder clearExperiments()
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListExperimentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListExperimentsResponse.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 ListExperimentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListExperimentsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListExperimentsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExperiments(int index)
public Experiment getExperiments(int index)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getExperimentsBuilder(int index)
public Experiment.Builder getExperimentsBuilder(int index)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getExperimentsBuilderList()
public List<Experiment.Builder> getExperimentsBuilderList()
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Returns
getExperimentsCount()
public int getExperimentsCount()
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Returns
getExperimentsList()
public List<Experiment> getExperimentsList()
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Returns
getExperimentsOrBuilder(int index)
public ExperimentOrBuilder getExperimentsOrBuilder(int index)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getExperimentsOrBuilderList()
public List<? extends ExperimentOrBuilder> getExperimentsOrBuilderList()
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.ExperimentOrBuilder> |
|
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListExperimentsResponse other)
public ListExperimentsResponse.Builder mergeFrom(ListExperimentsResponse other)
Parameter
Returns
public ListExperimentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListExperimentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListExperimentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeExperiments(int index)
public ListExperimentsResponse.Builder removeExperiments(int index)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setExperiments(int index, Experiment value)
public ListExperimentsResponse.Builder setExperiments(int index, Experiment value)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameters
Returns
setExperiments(int index, Experiment.Builder builderForValue)
public ListExperimentsResponse.Builder setExperiments(int index, Experiment.Builder builderForValue)
The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.
repeated .google.cloud.dialogflow.cx.v3.Experiment experiments = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListExperimentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListExperimentsResponse.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 ListExperimentsResponse.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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListExperimentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListExperimentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides