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()
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>
|
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];
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
public BatchImportModelEvaluationSlicesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchImportModelEvaluationSlicesRequest build()
public BatchImportModelEvaluationSlicesRequest buildPartial()
public BatchImportModelEvaluationSlicesRequest.Builder clear()
Overrides
public BatchImportModelEvaluationSlicesRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
public BatchImportModelEvaluationSlicesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public BatchImportModelEvaluationSlicesRequest.Builder clone()
Overrides
public BatchImportModelEvaluationSlicesRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchImportModelEvaluationSlicesRequest.Builder mergeFrom(BatchImportModelEvaluationSlicesRequest other)
public BatchImportModelEvaluationSlicesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchImportModelEvaluationSlicesRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final BatchImportModelEvaluationSlicesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
public BatchImportModelEvaluationSlicesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
public BatchImportModelEvaluationSlicesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchImportModelEvaluationSlicesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides