public static final class DeployModelRequest.Builder extends GeneratedMessageV3.Builder<DeployModelRequest.Builder> implements DeployModelRequestOrBuilder
Request message for AutoMl.DeployModel.
Protobuf type google.cloud.automl.v1.DeployModelRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeployModelRequest build()
Returns
buildPartial()
public DeployModelRequest buildPartial()
Returns
clear()
public DeployModelRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeployModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DeployModelRequest.Builder clearImageClassificationModelDeploymentMetadata()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
Returns
public DeployModelRequest.Builder clearImageObjectDetectionModelDeploymentMetadata()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
Returns
public DeployModelRequest.Builder clearModelDeploymentMetadata()
Returns
clearName()
public DeployModelRequest.Builder clearName()
Required. Resource name of the model to deploy.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DeployModelRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeployModelRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ImageClassificationModelDeploymentMetadata getImageClassificationModelDeploymentMetadata()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
Returns
public ImageClassificationModelDeploymentMetadata.Builder getImageClassificationModelDeploymentMetadataBuilder()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
Returns
public ImageClassificationModelDeploymentMetadataOrBuilder getImageClassificationModelDeploymentMetadataOrBuilder()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
Returns
public ImageObjectDetectionModelDeploymentMetadata getImageObjectDetectionModelDeploymentMetadata()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
Returns
public ImageObjectDetectionModelDeploymentMetadata.Builder getImageObjectDetectionModelDeploymentMetadataBuilder()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
Returns
public ImageObjectDetectionModelDeploymentMetadataOrBuilder getImageObjectDetectionModelDeploymentMetadataOrBuilder()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
Returns
public DeployModelRequest.ModelDeploymentMetadataCase getModelDeploymentMetadataCase()
Returns
getName()
Required. Resource name of the model to deploy.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Resource name of the model to deploy.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public boolean hasImageClassificationModelDeploymentMetadata()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
Returns
Type | Description |
boolean | Whether the imageClassificationModelDeploymentMetadata field is set.
|
public boolean hasImageObjectDetectionModelDeploymentMetadata()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
Returns
Type | Description |
boolean | Whether the imageObjectDetectionModelDeploymentMetadata field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DeployModelRequest other)
public DeployModelRequest.Builder mergeFrom(DeployModelRequest other)
Parameter
Returns
public DeployModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeployModelRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public DeployModelRequest.Builder mergeImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata value)
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
Parameter
Returns
public DeployModelRequest.Builder mergeImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata value)
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeployModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeployModelRequest.Builder setImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata value)
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
Parameter
Returns
public DeployModelRequest.Builder setImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata.Builder builderForValue)
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
Parameter
Returns
public DeployModelRequest.Builder setImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata value)
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
Parameter
Returns
public DeployModelRequest.Builder setImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata.Builder builderForValue)
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
Parameter
Returns
setName(String value)
public DeployModelRequest.Builder setName(String value)
Required. Resource name of the model to deploy.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public DeployModelRequest.Builder setNameBytes(ByteString value)
Required. Resource name of the model to deploy.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides