Class BatchImportModelEvaluationSlicesRequest.Builder (3.6.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.ModelEvaluationSlice>
Returns

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
NameDescription
valueModelEvaluationSlice
Returns

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
NameDescription
builderForValueModelEvaluationSlice.Builder
Returns

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
NameDescription
indexint
valueModelEvaluationSlice
Returns

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

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

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
NameDescription
indexint
Returns

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchImportModelEvaluationSlicesRequest build()
Returns

buildPartial()

public BatchImportModelEvaluationSlicesRequest buildPartial()
Returns

clear()

public BatchImportModelEvaluationSlicesRequest.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchImportModelEvaluationSlicesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns 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

clearOneof(Descriptors.OneofDescriptor oneof)

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

getDefaultInstanceForType()

public BatchImportModelEvaluationSlicesRequest getDefaultInstanceForType()
Returns

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.v1.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.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchImportModelEvaluationSlicesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
indexint
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public BatchImportModelEvaluationSlicesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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
NameDescription
indexint
valueModelEvaluationSlice
Returns

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

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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