Class ListExperimentsResponse.Builder (0.55.0)

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.v3beta1.ListExperimentsResponse

Static Methods

getDescriptor()

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

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.v3beta1.Experiment experiments = 1;

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

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.v3beta1.Experiment experiments = 1;

Parameter
Name Description
value Experiment
Returns
Type Description
ListExperimentsResponse.Builder

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.v3beta1.Experiment experiments = 1;

Parameter
Name Description
builderForValue Experiment.Builder
Returns
Type Description
ListExperimentsResponse.Builder

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.v3beta1.Experiment experiments = 1;

Parameters
Name Description
index int
value Experiment
Returns
Type Description
ListExperimentsResponse.Builder

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.v3beta1.Experiment experiments = 1;

Parameters
Name Description
index int
builderForValue Experiment.Builder
Returns
Type Description
ListExperimentsResponse.Builder

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.v3beta1.Experiment experiments = 1;

Returns
Type Description
Experiment.Builder

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.v3beta1.Experiment experiments = 1;

Parameter
Name Description
index int
Returns
Type Description
Experiment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListExperimentsResponse build()
Returns
Type Description
ListExperimentsResponse

buildPartial()

public ListExperimentsResponse buildPartial()
Returns
Type Description
ListExperimentsResponse

clear()

public ListExperimentsResponse.Builder clear()
Returns
Type Description
ListExperimentsResponse.Builder
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.v3beta1.Experiment experiments = 1;

Returns
Type Description
ListExperimentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListExperimentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListExperimentsResponse.Builder
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
Type Description
ListExperimentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListExperimentsResponse getDefaultInstanceForType()
Returns
Type Description
ListExperimentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.v3beta1.Experiment experiments = 1;

Parameter
Name Description
index int
Returns
Type Description
Experiment

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.v3beta1.Experiment experiments = 1;

Parameter
Name Description
index int
Returns
Type Description
Experiment.Builder

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.v3beta1.Experiment experiments = 1;

Returns
Type Description
List<Builder>

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.v3beta1.Experiment experiments = 1;

Returns
Type Description
int

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.v3beta1.Experiment experiments = 1;

Returns
Type Description
List<Experiment>

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.v3beta1.Experiment experiments = 1;

Parameter
Name Description
index int
Returns
Type Description
ExperimentOrBuilder

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.v3beta1.Experiment experiments = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListExperimentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListExperimentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListExperimentsResponse.Builder
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.v3beta1.Experiment experiments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListExperimentsResponse.Builder

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.v3beta1.Experiment experiments = 1;

Parameters
Name Description
index int
value Experiment
Returns
Type Description
ListExperimentsResponse.Builder

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.v3beta1.Experiment experiments = 1;

Parameters
Name Description
index int
builderForValue Experiment.Builder
Returns
Type Description
ListExperimentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListExperimentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListExperimentsResponse.Builder
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
Type Description
ListExperimentsResponse.Builder

This builder for chaining.

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
Type Description
ListExperimentsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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