Class ListModelEvaluationsResponse.Builder (3.18.0)

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

Response message for ModelService.ListModelEvaluations.

Protobuf type google.cloud.aiplatform.v1.ListModelEvaluationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllModelEvaluations(Iterable<? extends ModelEvaluation> values)

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

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

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

addModelEvaluations(ModelEvaluation value)

public ListModelEvaluationsResponse.Builder addModelEvaluations(ModelEvaluation value)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Parameter
NameDescription
valueModelEvaluation
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

addModelEvaluations(ModelEvaluation.Builder builderForValue)

public ListModelEvaluationsResponse.Builder addModelEvaluations(ModelEvaluation.Builder builderForValue)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Parameter
NameDescription
builderForValueModelEvaluation.Builder
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

addModelEvaluations(int index, ModelEvaluation value)

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

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Parameters
NameDescription
indexint
valueModelEvaluation
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

addModelEvaluations(int index, ModelEvaluation.Builder builderForValue)

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

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Parameters
NameDescription
indexint
builderForValueModelEvaluation.Builder
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

addModelEvaluationsBuilder()

public ModelEvaluation.Builder addModelEvaluationsBuilder()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Returns
TypeDescription
ModelEvaluation.Builder

addModelEvaluationsBuilder(int index)

public ModelEvaluation.Builder addModelEvaluationsBuilder(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 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

clearModelEvaluations()

public ListModelEvaluationsResponse.Builder clearModelEvaluations()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Returns
TypeDescription
ListModelEvaluationsResponse.Builder

clearNextPageToken()

public ListModelEvaluationsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass to ListModelEvaluationsRequest.page_token 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

getModelEvaluations(int index)

public ModelEvaluation getModelEvaluations(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluation

getModelEvaluationsBuilder(int index)

public ModelEvaluation.Builder getModelEvaluationsBuilder(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluation.Builder

getModelEvaluationsBuilderList()

public List<ModelEvaluation.Builder> getModelEvaluationsBuilderList()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Returns
TypeDescription
List<Builder>

getModelEvaluationsCount()

public int getModelEvaluationsCount()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Returns
TypeDescription
int

getModelEvaluationsList()

public List<ModelEvaluation> getModelEvaluationsList()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Returns
TypeDescription
List<ModelEvaluation>

getModelEvaluationsOrBuilder(int index)

public ModelEvaluationOrBuilder getModelEvaluationsOrBuilder(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationOrBuilder

getModelEvaluationsOrBuilderList()

public List<? extends ModelEvaluationOrBuilder> getModelEvaluationsOrBuilderList()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to ListModelEvaluationsRequest.page_token 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 ListModelEvaluationsRequest.page_token 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

removeModelEvaluations(int index)

public ListModelEvaluationsResponse.Builder removeModelEvaluations(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 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

setModelEvaluations(int index, ModelEvaluation value)

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

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;

Parameters
NameDescription
indexint
valueModelEvaluation
Returns
TypeDescription
ListModelEvaluationsResponse.Builder

setModelEvaluations(int index, ModelEvaluation.Builder builderForValue)

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

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 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 ListModelEvaluationsRequest.page_token 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 ListModelEvaluationsRequest.page_token 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