public final class DeployModelRequest extends GeneratedMessageV3 implements DeployModelRequestOrBuilder
Request message for AutoMl.DeployModel.
Protobuf type google.cloud.automl.v1.DeployModelRequest
Static Fields
public static final int IMAGE_CLASSIFICATION_MODEL_DEPLOYMENT_METADATA_FIELD_NUMBER
Field Value
public static final int IMAGE_OBJECT_DETECTION_MODEL_DEPLOYMENT_METADATA_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DeployModelRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DeployModelRequest.Builder newBuilder()
Returns
newBuilder(DeployModelRequest prototype)
public static DeployModelRequest.Builder newBuilder(DeployModelRequest prototype)
Parameter
Returns
public static DeployModelRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeployModelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DeployModelRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeployModelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DeployModelRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeployModelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeployModelRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeployModelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeployModelRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeployModelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DeployModelRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeployModelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DeployModelRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DeployModelRequest getDefaultInstanceForType()
Returns
public ImageClassificationModelDeploymentMetadata getImageClassificationModelDeploymentMetadata()
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 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
getParserForType()
public Parser<DeployModelRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DeployModelRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DeployModelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DeployModelRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions