Class BatchImportModelEvaluationSlicesRequest.Builder (3.37.0)

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

Request message for ModelService.BatchImportModelEvaluationSlices

Protobuf type google.cloud.aiplatform.v1beta1.BatchImportModelEvaluationSlicesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

addModelEvaluationSlices(ModelEvaluationSlice value)

public BatchImportModelEvaluationSlicesRequest.Builder addModelEvaluationSlices(ModelEvaluationSlice value)

Required. Model evaluation slice resource to be imported.

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

Parameter
NameDescription
valueModelEvaluationSlice
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueModelEvaluationSlice.Builder
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueModelEvaluationSlice
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueModelEvaluationSlice.Builder
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest.Builder

addModelEvaluationSlicesBuilder()

public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder()

Required. Model evaluation slice resource to be imported.

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

Returns
TypeDescription
ModelEvaluationSlice.Builder

addModelEvaluationSlicesBuilder(int index)

public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder(int index)

Required. Model evaluation slice resource to be imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSlice.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchImportModelEvaluationSlicesRequest build()
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest

buildPartial()

public BatchImportModelEvaluationSlicesRequest buildPartial()
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelEvaluationSlices()

public BatchImportModelEvaluationSlicesRequest.Builder clearModelEvaluationSlices()

Required. Model evaluation slice resource to be imported.

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

Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchImportModelEvaluationSlicesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
BatchImportModelEvaluationSlicesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BatchImportModelEvaluationSlicesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModelEvaluationSlices(int index)

public ModelEvaluationSlice getModelEvaluationSlices(int index)

Required. Model evaluation slice resource to be imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSlice

getModelEvaluationSlicesBuilder(int index)

public ModelEvaluationSlice.Builder getModelEvaluationSlicesBuilder(int index)

Required. Model evaluation slice resource to be imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSlice.Builder

getModelEvaluationSlicesBuilderList()

public List<ModelEvaluationSlice.Builder> getModelEvaluationSlicesBuilderList()

Required. Model evaluation slice resource to be imported.

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

Returns
TypeDescription
List<Builder>

getModelEvaluationSlicesCount()

public int getModelEvaluationSlicesCount()

Required. Model evaluation slice resource to be imported.

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

Returns
TypeDescription
int

getModelEvaluationSlicesList()

public List<ModelEvaluationSlice> getModelEvaluationSlicesList()

Required. Model evaluation slice resource to be imported.

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

Returns
TypeDescription
List<ModelEvaluationSlice>

getModelEvaluationSlicesOrBuilder(int index)

public ModelEvaluationSliceOrBuilder getModelEvaluationSlicesOrBuilder(int index)

Required. Model evaluation slice resource to be imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSliceOrBuilder

getModelEvaluationSlicesOrBuilderList()

public List<? extends ModelEvaluationSliceOrBuilder> getModelEvaluationSlicesOrBuilderList()

Required. Model evaluation slice resource to be imported.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchImportModelEvaluationSlicesRequest other)

public BatchImportModelEvaluationSlicesRequest.Builder mergeFrom(BatchImportModelEvaluationSlicesRequest other)
Parameter
NameDescription
otherBatchImportModelEvaluationSlicesRequest
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeModelEvaluationSlices(int index)

public BatchImportModelEvaluationSlicesRequest.Builder removeModelEvaluationSlices(int index)

Required. Model evaluation slice resource to be imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchImportModelEvaluationSlicesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueModelEvaluationSlice
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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