Class ListModelEvaluationSlicesResponse.Builder (3.16.0)

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

Response message for ModelService.ListModelEvaluationSlices.

Protobuf type google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesResponse

Static Methods

getDescriptor()

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice>
Returns
TypeDescription
ListModelEvaluationSlicesResponse.Builder

addModelEvaluationSlices(ModelEvaluationSlice value)

public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(ModelEvaluationSlice value)

List of ModelEvaluations in the requested page.

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

Parameter
NameDescription
valueModelEvaluationSlice
Returns
TypeDescription
ListModelEvaluationSlicesResponse.Builder

addModelEvaluationSlices(ModelEvaluationSlice.Builder builderForValue)

public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(ModelEvaluationSlice.Builder builderForValue)

List of ModelEvaluations in the requested page.

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

Parameter
NameDescription
builderForValueModelEvaluationSlice.Builder
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameters
NameDescription
indexint
valueModelEvaluationSlice
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 1;

Parameters
NameDescription
indexint
builderForValueModelEvaluationSlice.Builder
Returns
TypeDescription
ListModelEvaluationSlicesResponse.Builder

addModelEvaluationSlicesBuilder()

public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder()

List of ModelEvaluations in the requested page.

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

Returns
TypeDescription
ModelEvaluationSlice.Builder

addModelEvaluationSlicesBuilder(int index)

public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder(int index)

List of ModelEvaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSlice.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListModelEvaluationSlicesResponse build()
Returns
TypeDescription
ListModelEvaluationSlicesResponse

buildPartial()

public ListModelEvaluationSlicesResponse buildPartial()
Returns
TypeDescription
ListModelEvaluationSlicesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelEvaluationSlices()

public ListModelEvaluationSlicesResponse.Builder clearModelEvaluationSlices()

List of ModelEvaluations in the requested page.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListModelEvaluationSlicesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListModelEvaluationSlicesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModelEvaluationSlices(int index)

public ModelEvaluationSlice getModelEvaluationSlices(int index)

List of ModelEvaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSlice

getModelEvaluationSlicesBuilder(int index)

public ModelEvaluationSlice.Builder getModelEvaluationSlicesBuilder(int index)

List of ModelEvaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSlice.Builder

getModelEvaluationSlicesBuilderList()

public List<ModelEvaluationSlice.Builder> getModelEvaluationSlicesBuilderList()

List of ModelEvaluations in the requested page.

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

Returns
TypeDescription
List<Builder>

getModelEvaluationSlicesCount()

public int getModelEvaluationSlicesCount()

List of ModelEvaluations in the requested page.

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

Returns
TypeDescription
int

getModelEvaluationSlicesList()

public List<ModelEvaluationSlice> getModelEvaluationSlicesList()

List of ModelEvaluations in the requested page.

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

Returns
TypeDescription
List<ModelEvaluationSlice>

getModelEvaluationSlicesOrBuilder(int index)

public ModelEvaluationSliceOrBuilder getModelEvaluationSlicesOrBuilder(int index)

List of ModelEvaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSliceOrBuilder

getModelEvaluationSlicesOrBuilderList()

public List<? extends ModelEvaluationSliceOrBuilder> getModelEvaluationSlicesOrBuilderList()

List of ModelEvaluations in the requested page.

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

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

public ListModelEvaluationSlicesResponse.Builder mergeFrom(ListModelEvaluationSlicesResponse other)
Parameter
NameDescription
otherListModelEvaluationSlicesResponse
Returns
TypeDescription
ListModelEvaluationSlicesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeModelEvaluationSlices(int index)

public ListModelEvaluationSlicesResponse.Builder removeModelEvaluationSlices(int index)

List of ModelEvaluations in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListModelEvaluationSlicesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

Parameters
NameDescription
indexint
valueModelEvaluationSlice
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 1;

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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