Class ListModelEvaluationsResponse.Builder (2.51.0)

public static final class ListModelEvaluationsResponse.Builder extends GeneratedMessageV3.Builder<ListModelEvaluationsResponse.Builder> implements ListModelEvaluationsResponseOrBuilder

Response message for AutoMl.ListModelEvaluations.

Protobuf type google.cloud.automl.v1.ListModelEvaluationsResponse

Static Methods

getDescriptor()

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

Methods

addAllModelEvaluation(Iterable<? extends ModelEvaluation> values)

public ListModelEvaluationsResponse.Builder addAllModelEvaluation(Iterable<? extends ModelEvaluation> values)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.automl.v1.ModelEvaluation>
Returns
Type Description
ListModelEvaluationsResponse.Builder

addModelEvaluation(ModelEvaluation value)

public ListModelEvaluationsResponse.Builder addModelEvaluation(ModelEvaluation value)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameter
Name Description
value ModelEvaluation
Returns
Type Description
ListModelEvaluationsResponse.Builder

addModelEvaluation(ModelEvaluation.Builder builderForValue)

public ListModelEvaluationsResponse.Builder addModelEvaluation(ModelEvaluation.Builder builderForValue)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameter
Name Description
builderForValue ModelEvaluation.Builder
Returns
Type Description
ListModelEvaluationsResponse.Builder

addModelEvaluation(int index, ModelEvaluation value)

public ListModelEvaluationsResponse.Builder addModelEvaluation(int index, ModelEvaluation value)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameters
Name Description
index int
value ModelEvaluation
Returns
Type Description
ListModelEvaluationsResponse.Builder

addModelEvaluation(int index, ModelEvaluation.Builder builderForValue)

public ListModelEvaluationsResponse.Builder addModelEvaluation(int index, ModelEvaluation.Builder builderForValue)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameters
Name Description
index int
builderForValue ModelEvaluation.Builder
Returns
Type Description
ListModelEvaluationsResponse.Builder

addModelEvaluationBuilder()

public ModelEvaluation.Builder addModelEvaluationBuilder()

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Returns
Type Description
ModelEvaluation.Builder

addModelEvaluationBuilder(int index)

public ModelEvaluation.Builder addModelEvaluationBuilder(int index)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListModelEvaluationsResponse build()
Returns
Type Description
ListModelEvaluationsResponse

buildPartial()

public ListModelEvaluationsResponse buildPartial()
Returns
Type Description
ListModelEvaluationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelEvaluation()

public ListModelEvaluationsResponse.Builder clearModelEvaluation()

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Returns
Type Description
ListModelEvaluationsResponse.Builder

clearNextPageToken()

public ListModelEvaluationsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass to the ListModelEvaluationsRequest.page_token field of a new AutoMl.ListModelEvaluations request to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListModelEvaluationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListModelEvaluationsResponse getDefaultInstanceForType()
Returns
Type Description
ListModelEvaluationsResponse

getDescriptorForType()

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

getModelEvaluation(int index)

public ModelEvaluation getModelEvaluation(int index)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluation

getModelEvaluationBuilder(int index)

public ModelEvaluation.Builder getModelEvaluationBuilder(int index)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluation.Builder

getModelEvaluationBuilderList()

public List<ModelEvaluation.Builder> getModelEvaluationBuilderList()

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Returns
Type Description
List<Builder>

getModelEvaluationCount()

public int getModelEvaluationCount()

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Returns
Type Description
int

getModelEvaluationList()

public List<ModelEvaluation> getModelEvaluationList()

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Returns
Type Description
List<ModelEvaluation>

getModelEvaluationOrBuilder(int index)

public ModelEvaluationOrBuilder getModelEvaluationOrBuilder(int index)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationOrBuilder

getModelEvaluationOrBuilderList()

public List<? extends ModelEvaluationOrBuilder> getModelEvaluationOrBuilderList()

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Returns
Type Description
List<? extends com.google.cloud.automl.v1.ModelEvaluationOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to the ListModelEvaluationsRequest.page_token field of a new AutoMl.ListModelEvaluations request to obtain that page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass to the ListModelEvaluationsRequest.page_token field of a new AutoMl.ListModelEvaluations request to obtain that page.

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(ListModelEvaluationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeModelEvaluation(int index)

public ListModelEvaluationsResponse.Builder removeModelEvaluation(int index)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameter
Name Description
index int
Returns
Type Description
ListModelEvaluationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelEvaluation(int index, ModelEvaluation value)

public ListModelEvaluationsResponse.Builder setModelEvaluation(int index, ModelEvaluation value)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameters
Name Description
index int
value ModelEvaluation
Returns
Type Description
ListModelEvaluationsResponse.Builder

setModelEvaluation(int index, ModelEvaluation.Builder builderForValue)

public ListModelEvaluationsResponse.Builder setModelEvaluation(int index, ModelEvaluation.Builder builderForValue)

List of model evaluations in the requested page.

repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;

Parameters
Name Description
index int
builderForValue ModelEvaluation.Builder
Returns
Type Description
ListModelEvaluationsResponse.Builder

setNextPageToken(String value)

public ListModelEvaluationsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass to the ListModelEvaluationsRequest.page_token field of a new AutoMl.ListModelEvaluations request to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListModelEvaluationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListModelEvaluationsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass to the ListModelEvaluationsRequest.page_token field of a new AutoMl.ListModelEvaluations request to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListModelEvaluationsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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