Class DeployModelRequest (2.1.23)

public final class DeployModelRequest extends GeneratedMessageV3 implements DeployModelRequestOrBuilder

Request message for AutoMl.DeployModel.

Protobuf type google.cloud.automl.v1beta1.DeployModelRequest

Static Fields

IMAGE_CLASSIFICATION_MODEL_DEPLOYMENT_METADATA_FIELD_NUMBER

public static final int IMAGE_CLASSIFICATION_MODEL_DEPLOYMENT_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_OBJECT_DETECTION_MODEL_DEPLOYMENT_METADATA_FIELD_NUMBER

public static final int IMAGE_OBJECT_DETECTION_MODEL_DEPLOYMENT_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeployModelRequest getDefaultInstance()
Returns
TypeDescription
DeployModelRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeployModelRequest.Builder newBuilder()
Returns
TypeDescription
DeployModelRequest.Builder

newBuilder(DeployModelRequest prototype)

public static DeployModelRequest.Builder newBuilder(DeployModelRequest prototype)
Parameter
NameDescription
prototypeDeployModelRequest
Returns
TypeDescription
DeployModelRequest.Builder

parseDelimitedFrom(InputStream input)

public static DeployModelRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployModelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeployModelRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeployModelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeployModelRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeployModelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeployModelRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployModelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeployModelRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployModelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeployModelRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeployModelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeployModelRequest> parser()
Returns
TypeDescription
Parser<DeployModelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DeployModelRequest getDefaultInstanceForType()
Returns
TypeDescription
DeployModelRequest

getImageClassificationModelDeploymentMetadata()

public ImageClassificationModelDeploymentMetadata getImageClassificationModelDeploymentMetadata()

Model deployment metadata specific to Image Classification.

.google.cloud.automl.v1beta1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;

Returns
TypeDescription
ImageClassificationModelDeploymentMetadata

The imageClassificationModelDeploymentMetadata.

getImageClassificationModelDeploymentMetadataOrBuilder()

public ImageClassificationModelDeploymentMetadataOrBuilder getImageClassificationModelDeploymentMetadataOrBuilder()

Model deployment metadata specific to Image Classification.

.google.cloud.automl.v1beta1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;

Returns
TypeDescription
ImageClassificationModelDeploymentMetadataOrBuilder

getImageObjectDetectionModelDeploymentMetadata()

public ImageObjectDetectionModelDeploymentMetadata getImageObjectDetectionModelDeploymentMetadata()

Model deployment metadata specific to Image Object Detection.

.google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;

Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata

The imageObjectDetectionModelDeploymentMetadata.

getImageObjectDetectionModelDeploymentMetadataOrBuilder()

public ImageObjectDetectionModelDeploymentMetadataOrBuilder getImageObjectDetectionModelDeploymentMetadataOrBuilder()

Model deployment metadata specific to Image Object Detection.

.google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;

Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadataOrBuilder

getModelDeploymentMetadataCase()

public DeployModelRequest.ModelDeploymentMetadataCase getModelDeploymentMetadataCase()
Returns
TypeDescription
DeployModelRequest.ModelDeploymentMetadataCase

getName()

public String getName()

Required. Resource name of the model to deploy.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<DeployModelRequest> getParserForType()
Returns
TypeDescription
Parser<DeployModelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasImageClassificationModelDeploymentMetadata()

public boolean hasImageClassificationModelDeploymentMetadata()

Model deployment metadata specific to Image Classification.

.google.cloud.automl.v1beta1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;

Returns
TypeDescription
boolean

Whether the imageClassificationModelDeploymentMetadata field is set.

hasImageObjectDetectionModelDeploymentMetadata()

public boolean hasImageObjectDetectionModelDeploymentMetadata()

Model deployment metadata specific to Image Object Detection.

.google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;

Returns
TypeDescription
boolean

Whether the imageObjectDetectionModelDeploymentMetadata field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeployModelRequest.Builder newBuilderForType()
Returns
TypeDescription
DeployModelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeployModelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeployModelRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeployModelRequest.Builder toBuilder()
Returns
TypeDescription
DeployModelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException