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
Inherited Members
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
public BatchImportModelEvaluationSlicesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BatchImportModelEvaluationSlicesRequest build()
Returns
public BatchImportModelEvaluationSlicesRequest buildPartial()
Returns
public BatchImportModelEvaluationSlicesRequest.Builder clear()
Returns
Overrides
public BatchImportModelEvaluationSlicesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public BatchImportModelEvaluationSlicesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public BatchImportModelEvaluationSlicesRequest.Builder clone()
Returns
Overrides
public BatchImportModelEvaluationSlicesRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Returns
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
Returns
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
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
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
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
Returns
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
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ModelEvaluationSliceOrBuilder> | |
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.
|
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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchImportModelEvaluationSlicesRequest.Builder mergeFrom(BatchImportModelEvaluationSlicesRequest other)
Parameter
Returns
public BatchImportModelEvaluationSlicesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public BatchImportModelEvaluationSlicesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final BatchImportModelEvaluationSlicesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public BatchImportModelEvaluationSlicesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
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
public BatchImportModelEvaluationSlicesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final BatchImportModelEvaluationSlicesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides