Class BatchImportModelEvaluationSlicesRequest.Builder (3.44.0)

public static final class BatchImportModelEvaluationSlicesRequest.Builder extends GeneratedMessageV3.Builder<BatchImportModelEvaluationSlicesRequest.Builder> implements BatchImportModelEvaluationSlicesRequestOrBuilder

Request message for ModelService.BatchImportModelEvaluationSlices

Protobuf type google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest

Static Methods

getDescriptor()

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

Methods

addAllModelEvaluationSlices(Iterable<? extends ModelEvaluationSlice> values)

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

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

addModelEvaluationSlices(ModelEvaluationSlice value)

public BatchImportModelEvaluationSlicesRequest.Builder addModelEvaluationSlices(ModelEvaluationSlice value)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ModelEvaluationSlice
Returns
Type Description
BatchImportModelEvaluationSlicesRequest.Builder

addModelEvaluationSlices(ModelEvaluationSlice.Builder builderForValue)

public BatchImportModelEvaluationSlicesRequest.Builder addModelEvaluationSlices(ModelEvaluationSlice.Builder builderForValue)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

addModelEvaluationSlices(int index, ModelEvaluationSlice value)

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

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

addModelEvaluationSlices(int index, ModelEvaluationSlice.Builder builderForValue)

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

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

addModelEvaluationSlicesBuilder()

public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelEvaluationSlice.Builder

addModelEvaluationSlicesBuilder(int index)

public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder(int index)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationSlice.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchImportModelEvaluationSlicesRequest build()
Returns
Type Description
BatchImportModelEvaluationSlicesRequest

buildPartial()

public BatchImportModelEvaluationSlicesRequest buildPartial()
Returns
Type Description
BatchImportModelEvaluationSlicesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelEvaluationSlices()

public BatchImportModelEvaluationSlicesRequest.Builder clearModelEvaluationSlices()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchImportModelEvaluationSlicesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchImportModelEvaluationSlicesRequest.Builder clearParent()

Required. The name of the parent ModelEvaluation resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchImportModelEvaluationSlicesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BatchImportModelEvaluationSlicesRequest getDefaultInstanceForType()
Returns
Type Description
BatchImportModelEvaluationSlicesRequest

getDescriptorForType()

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

getModelEvaluationSlices(int index)

public ModelEvaluationSlice getModelEvaluationSlices(int index)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationSlice

getModelEvaluationSlicesBuilder(int index)

public ModelEvaluationSlice.Builder getModelEvaluationSlicesBuilder(int index)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationSlice.Builder

getModelEvaluationSlicesBuilderList()

public List<ModelEvaluationSlice.Builder> getModelEvaluationSlicesBuilderList()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getModelEvaluationSlicesCount()

public int getModelEvaluationSlicesCount()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getModelEvaluationSlicesList()

public List<ModelEvaluationSlice> getModelEvaluationSlicesList()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ModelEvaluationSlice>

getModelEvaluationSlicesOrBuilder(int index)

public ModelEvaluationSliceOrBuilder getModelEvaluationSlicesOrBuilder(int index)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ModelEvaluationSliceOrBuilder

getModelEvaluationSlicesOrBuilderList()

public List<? extends ModelEvaluationSliceOrBuilder> getModelEvaluationSlicesOrBuilderList()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

getParent()

public String getParent()

Required. The name of the parent ModelEvaluation resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the parent ModelEvaluation resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchImportModelEvaluationSlicesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeModelEvaluationSlices(int index)

public BatchImportModelEvaluationSlicesRequest.Builder removeModelEvaluationSlices(int index)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchImportModelEvaluationSlicesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelEvaluationSlices(int index, ModelEvaluationSlice value)

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

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

setModelEvaluationSlices(int index, ModelEvaluationSlice.Builder builderForValue)

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

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

setParent(String value)

public BatchImportModelEvaluationSlicesRequest.Builder setParent(String value)

Required. The name of the parent ModelEvaluation resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchImportModelEvaluationSlicesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchImportModelEvaluationSlicesRequest.Builder setParentBytes(ByteString value)

Required. The name of the parent ModelEvaluation resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchImportModelEvaluationSlicesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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