public static final class ImportModelEvaluationRequest.Builder extends GeneratedMessageV3.Builder<ImportModelEvaluationRequest.Builder> implements ImportModelEvaluationRequestOrBuilder
Request message for ModelService.ImportModelEvaluation
Protobuf type google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ImportModelEvaluationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportModelEvaluationRequest build()
Returns
public ImportModelEvaluationRequest buildPartial()
Returns
public ImportModelEvaluationRequest.Builder clear()
Returns
Overrides
public ImportModelEvaluationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportModelEvaluationRequest.Builder clearModelEvaluation()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ImportModelEvaluationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImportModelEvaluationRequest.Builder clearParent()
Required. The name of the parent model resource.
Format: projects/{project}/locations/{location}/models/{model}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public ImportModelEvaluationRequest.Builder clone()
Returns
Overrides
public ImportModelEvaluationRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ModelEvaluation getModelEvaluation()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ModelEvaluation.Builder getModelEvaluationBuilder()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ModelEvaluationOrBuilder getModelEvaluationOrBuilder()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public String getParent()
Required. The name of the parent model resource.
Format: projects/{project}/locations/{location}/models/{model}
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 model resource.
Format: projects/{project}/locations/{location}/models/{model}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public boolean hasModelEvaluation()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the modelEvaluation field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportModelEvaluationRequest.Builder mergeFrom(ImportModelEvaluationRequest other)
Parameter
Returns
public ImportModelEvaluationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImportModelEvaluationRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ImportModelEvaluationRequest.Builder mergeModelEvaluation(ModelEvaluation value)
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public final ImportModelEvaluationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImportModelEvaluationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportModelEvaluationRequest.Builder setModelEvaluation(ModelEvaluation value)
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportModelEvaluationRequest.Builder setModelEvaluation(ModelEvaluation.Builder builderForValue)
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportModelEvaluationRequest.Builder setParent(String value)
Required. The name of the parent model resource.
Format: projects/{project}/locations/{location}/models/{model}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public ImportModelEvaluationRequest.Builder setParentBytes(ByteString value)
Required. The name of the parent model resource.
Format: projects/{project}/locations/{location}/models/{model}
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 ImportModelEvaluationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImportModelEvaluationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides