Class ListModelEvaluationsResponse.Builder (3.43.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.ModelEvaluation>
Returns
Type Description
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
Name Description
value ModelEvaluation
Returns
Type Description
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
Name Description
builderForValue ModelEvaluation.Builder
Returns
Type Description
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
Name Description
index int
value ModelEvaluation
Returns
Type Description
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
Name Description
index int
builderForValue ModelEvaluation.Builder
Returns
Type Description
ListModelEvaluationsResponse.Builder

addModelEvaluationsBuilder()

public ModelEvaluation.Builder addModelEvaluationsBuilder()

List of ModelEvaluations in the requested page.

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

Returns
Type Description
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
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

clearModelEvaluations()

public ListModelEvaluationsResponse.Builder clearModelEvaluations()

List of ModelEvaluations in the requested page.

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

Returns
Type Description
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
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

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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getModelEvaluationsCount()

public int getModelEvaluationsCount()

List of ModelEvaluations in the requested page.

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

Returns
Type Description
int

getModelEvaluationsList()

public List<ModelEvaluation> getModelEvaluationsList()

List of ModelEvaluations in the requested page.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ModelEvaluationOrBuilder

getModelEvaluationsOrBuilderList()

public List<? extends ModelEvaluationOrBuilder> getModelEvaluationsOrBuilderList()

List of ModelEvaluations in the requested page.

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

Returns
Type Description
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
Type Description
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
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

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
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

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
Name Description
index int
value ModelEvaluation
Returns
Type Description
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
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 ListModelEvaluationsRequest.page_token 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 ListModelEvaluationsRequest.page_token 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