Class ListModelEvaluationsResponse.Builder (2.3.0)

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

Response message for AutoMl.ListModelEvaluations.

Protobuf type google.cloud.automl.v1beta1.ListModelEvaluationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.ModelEvaluation model_evaluation = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.automl.v1beta1.ModelEvaluation>
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

addModelEvaluation(ModelEvaluation value)

public ListModelEvaluationsResponse.Builder addModelEvaluation(ModelEvaluation value)

List of model evaluations in the requested page.

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

Parameter
NameDescription
valueModelEvaluation
Returns
TypeDescription
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.v1beta1.ModelEvaluation model_evaluation = 1;

Parameter
NameDescription
builderForValueModelEvaluation.Builder
Returns
TypeDescription
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.v1beta1.ModelEvaluation model_evaluation = 1;

Parameters
NameDescription
indexint
valueModelEvaluation
Returns
TypeDescription
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.v1beta1.ModelEvaluation model_evaluation = 1;

Parameters
NameDescription
indexint
builderForValueModelEvaluation.Builder
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

addModelEvaluationBuilder()

public ModelEvaluation.Builder addModelEvaluationBuilder()

List of model evaluations in the requested page.

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

Returns
TypeDescription
ModelEvaluation.Builder

addModelEvaluationBuilder(int index)

public ModelEvaluation.Builder addModelEvaluationBuilder(int index)

List of model evaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListModelEvaluationsResponse build()
Returns
TypeDescription
ListModelEvaluationsResponse

buildPartial()

public ListModelEvaluationsResponse buildPartial()
Returns
TypeDescription
ListModelEvaluationsResponse

clear()

public ListModelEvaluationsResponse.Builder clear()
Returns
TypeDescription
ListModelEvaluationsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListModelEvaluationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListModelEvaluationsResponse.Builder
Overrides

clearModelEvaluation()

public ListModelEvaluationsResponse.Builder clearModelEvaluation()

List of model evaluations in the requested page.

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

Returns
TypeDescription
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
TypeDescription
ListModelEvaluationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListModelEvaluationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListModelEvaluationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModelEvaluation(int index)

public ModelEvaluation getModelEvaluation(int index)

List of model evaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluation

getModelEvaluationBuilder(int index)

public ModelEvaluation.Builder getModelEvaluationBuilder(int index)

List of model evaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluation.Builder

getModelEvaluationBuilderList()

public List<ModelEvaluation.Builder> getModelEvaluationBuilderList()

List of model evaluations in the requested page.

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

Returns
TypeDescription
List<Builder>

getModelEvaluationCount()

public int getModelEvaluationCount()

List of model evaluations in the requested page.

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

Returns
TypeDescription
int

getModelEvaluationList()

public List<ModelEvaluation> getModelEvaluationList()

List of model evaluations in the requested page.

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

Returns
TypeDescription
List<ModelEvaluation>

getModelEvaluationOrBuilder(int index)

public ModelEvaluationOrBuilder getModelEvaluationOrBuilder(int index)

List of model evaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationOrBuilder

getModelEvaluationOrBuilderList()

public List<? extends ModelEvaluationOrBuilder> getModelEvaluationOrBuilderList()

List of model evaluations in the requested page.

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

Returns
TypeDescription
List<? extends com.google.cloud.automl.v1beta1.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
TypeDescription
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
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(ListModelEvaluationsResponse other)

public ListModelEvaluationsResponse.Builder mergeFrom(ListModelEvaluationsResponse other)
Parameter
NameDescription
otherListModelEvaluationsResponse
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListModelEvaluationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListModelEvaluationsResponse.Builder
Overrides

removeModelEvaluation(int index)

public ListModelEvaluationsResponse.Builder removeModelEvaluation(int index)

List of model evaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListModelEvaluationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.ModelEvaluation model_evaluation = 1;

Parameters
NameDescription
indexint
valueModelEvaluation
Returns
TypeDescription
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.v1beta1.ModelEvaluation model_evaluation = 1;

Parameters
NameDescription
indexint
builderForValueModelEvaluation.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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