Class ListExperimentsResponse.Builder (0.13.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Experiment>
Returns
TypeDescription
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
NameDescription
valueExperiment
Returns
TypeDescription
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
NameDescription
builderForValueExperiment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExperiment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExperiment.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Experiment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListExperimentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListExperimentsResponse.Builder
Overrides

build()

public ListExperimentsResponse build()
Returns
TypeDescription
ListExperimentsResponse

buildPartial()

public ListExperimentsResponse buildPartial()
Returns
TypeDescription
ListExperimentsResponse

clear()

public ListExperimentsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListExperimentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListExperimentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListExperimentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListExperimentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListExperimentsResponse.Builder
Overrides

clone()

public ListExperimentsResponse.Builder clone()
Returns
TypeDescription
ListExperimentsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListExperimentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListExperimentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListExperimentsResponse other)

public ListExperimentsResponse.Builder mergeFrom(ListExperimentsResponse other)
Parameter
NameDescription
otherListExperimentsResponse
Returns
TypeDescription
ListExperimentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListExperimentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListExperimentsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListExperimentsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListExperimentsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListExperimentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueExperiment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExperiment.Builder
Returns
TypeDescription
ListExperimentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListExperimentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListExperimentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListExperimentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListExperimentsResponse.Builder
Overrides