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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DeployModelRequest build()
buildPartial()
public DeployModelRequest buildPartial()
clear()
public DeployModelRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeployModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DeployModelRequest.Builder clearImageClassificationModelDeploymentMetadata()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
public DeployModelRequest.Builder clearImageObjectDetectionModelDeploymentMetadata()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
public DeployModelRequest.Builder clearModelDeploymentMetadata()
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DeployModelRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public DeployModelRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ImageClassificationModelDeploymentMetadata getImageClassificationModelDeploymentMetadata()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
public ImageClassificationModelDeploymentMetadata.Builder getImageClassificationModelDeploymentMetadataBuilder()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
public ImageClassificationModelDeploymentMetadataOrBuilder getImageClassificationModelDeploymentMetadataOrBuilder()
Model deployment metadata specific to Image Classification.
.google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
public ImageObjectDetectionModelDeploymentMetadata getImageObjectDetectionModelDeploymentMetadata()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
public ImageObjectDetectionModelDeploymentMetadata.Builder getImageObjectDetectionModelDeploymentMetadataBuilder()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
public ImageObjectDetectionModelDeploymentMetadataOrBuilder getImageObjectDetectionModelDeploymentMetadataOrBuilder()
Model deployment metadata specific to Image Object Detection.
.google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
public DeployModelRequest.ModelDeploymentMetadataCase getModelDeploymentMetadataCase()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DeployModelRequest other)
public DeployModelRequest.Builder mergeFrom(DeployModelRequest other)
public DeployModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DeployModelRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeployModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides