Class ListModelEvaluationSlicesResponse.Builder (3.47.0)

public static final class ListModelEvaluationSlicesResponse.Builder extends GeneratedMessageV3.Builder<ListModelEvaluationSlicesResponse.Builder> implements ListModelEvaluationSlicesResponseOrBuilder

Response message for ModelService.ListModelEvaluationSlices.

Protobuf type google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse

Static Methods

getDescriptor()

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

Methods

addAllModelEvaluationSlices(Iterable<? extends ModelEvaluationSlice> values)

public ListModelEvaluationSlicesResponse.Builder addAllModelEvaluationSlices(Iterable<? extends ModelEvaluationSlice> values)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.ModelEvaluationSlice>
Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

addModelEvaluationSlices(ModelEvaluationSlice value)

public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(ModelEvaluationSlice value)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameter
Name Description
value ModelEvaluationSlice
Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

addModelEvaluationSlices(ModelEvaluationSlice.Builder builderForValue)

public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(ModelEvaluationSlice.Builder builderForValue)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameter
Name Description
builderForValue ModelEvaluationSlice.Builder
Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

addModelEvaluationSlices(int index, ModelEvaluationSlice value)

public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(int index, ModelEvaluationSlice value)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameters
Name Description
index int
value ModelEvaluationSlice
Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

addModelEvaluationSlices(int index, ModelEvaluationSlice.Builder builderForValue)

public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(int index, ModelEvaluationSlice.Builder builderForValue)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameters
Name Description
index int
builderForValue ModelEvaluationSlice.Builder
Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

addModelEvaluationSlicesBuilder()

public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Returns
Type Description
ModelEvaluationSlice.Builder

addModelEvaluationSlicesBuilder(int index)

public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationSlice.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListModelEvaluationSlicesResponse build()
Returns
Type Description
ListModelEvaluationSlicesResponse

buildPartial()

public ListModelEvaluationSlicesResponse buildPartial()
Returns
Type Description
ListModelEvaluationSlicesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelEvaluationSlices()

public ListModelEvaluationSlicesResponse.Builder clearModelEvaluationSlices()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

clearNextPageToken()

public ListModelEvaluationSlicesResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass to ListModelEvaluationSlicesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListModelEvaluationSlicesResponse getDefaultInstanceForType()
Returns
Type Description
ListModelEvaluationSlicesResponse

getDescriptorForType()

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

getModelEvaluationSlices(int index)

public ModelEvaluationSlice getModelEvaluationSlices(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationSlice

getModelEvaluationSlicesBuilder(int index)

public ModelEvaluationSlice.Builder getModelEvaluationSlicesBuilder(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationSlice.Builder

getModelEvaluationSlicesBuilderList()

public List<ModelEvaluationSlice.Builder> getModelEvaluationSlicesBuilderList()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Returns
Type Description
List<Builder>

getModelEvaluationSlicesCount()

public int getModelEvaluationSlicesCount()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Returns
Type Description
int

getModelEvaluationSlicesList()

public List<ModelEvaluationSlice> getModelEvaluationSlicesList()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Returns
Type Description
List<ModelEvaluationSlice>

getModelEvaluationSlicesOrBuilder(int index)

public ModelEvaluationSliceOrBuilder getModelEvaluationSlicesOrBuilder(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationSliceOrBuilder

getModelEvaluationSlicesOrBuilderList()

public List<? extends ModelEvaluationSliceOrBuilder> getModelEvaluationSlicesOrBuilderList()

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ModelEvaluationSliceOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to ListModelEvaluationSlicesRequest.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 ListModelEvaluationSlicesRequest.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(ListModelEvaluationSlicesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeModelEvaluationSlices(int index)

public ListModelEvaluationSlicesResponse.Builder removeModelEvaluationSlices(int index)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameter
Name Description
index int
Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelEvaluationSlices(int index, ModelEvaluationSlice value)

public ListModelEvaluationSlicesResponse.Builder setModelEvaluationSlices(int index, ModelEvaluationSlice value)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameters
Name Description
index int
value ModelEvaluationSlice
Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

setModelEvaluationSlices(int index, ModelEvaluationSlice.Builder builderForValue)

public ListModelEvaluationSlicesResponse.Builder setModelEvaluationSlices(int index, ModelEvaluationSlice.Builder builderForValue)

List of ModelEvaluations in the requested page.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameters
Name Description
index int
builderForValue ModelEvaluationSlice.Builder
Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

setNextPageToken(String value)

public ListModelEvaluationSlicesResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass to ListModelEvaluationSlicesRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListModelEvaluationSlicesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListModelEvaluationSlicesResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass to ListModelEvaluationSlicesRequest.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
ListModelEvaluationSlicesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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