Class DeployModelRequest.Builder (2.46.0)

public static final class DeployModelRequest.Builder extends GeneratedMessageV3.Builder<DeployModelRequest.Builder> implements DeployModelRequestOrBuilder

Request message for AutoMl.DeployModel.

Protobuf type google.cloud.automl.v1beta1.DeployModelRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployModelRequest.Builder
Overrides

build()

public DeployModelRequest build()
Returns
Type Description
DeployModelRequest

buildPartial()

public DeployModelRequest buildPartial()
Returns
Type Description
DeployModelRequest

clear()

public DeployModelRequest.Builder clear()
Returns
Type Description
DeployModelRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeployModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeployModelRequest.Builder
Overrides

clearImageClassificationModelDeploymentMetadata()

public DeployModelRequest.Builder clearImageClassificationModelDeploymentMetadata()

Model deployment metadata specific to Image Classification.

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

Returns
Type Description
DeployModelRequest.Builder

clearImageObjectDetectionModelDeploymentMetadata()

public DeployModelRequest.Builder clearImageObjectDetectionModelDeploymentMetadata()

Model deployment metadata specific to Image Object Detection.

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

Returns
Type Description
DeployModelRequest.Builder

clearModelDeploymentMetadata()

public DeployModelRequest.Builder clearModelDeploymentMetadata()
Returns
Type Description
DeployModelRequest.Builder

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
Type Description
DeployModelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeployModelRequest.Builder
Overrides

clone()

public DeployModelRequest.Builder clone()
Returns
Type Description
DeployModelRequest.Builder
Overrides

getDefaultInstanceForType()

public DeployModelRequest getDefaultInstanceForType()
Returns
Type Description
DeployModelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImageClassificationModelDeploymentMetadata()

public ImageClassificationModelDeploymentMetadata getImageClassificationModelDeploymentMetadata()

Model deployment metadata specific to Image Classification.

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

Returns
Type Description
ImageClassificationModelDeploymentMetadata

The imageClassificationModelDeploymentMetadata.

getImageClassificationModelDeploymentMetadataBuilder()

public ImageClassificationModelDeploymentMetadata.Builder getImageClassificationModelDeploymentMetadataBuilder()

Model deployment metadata specific to Image Classification.

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

Returns
Type Description
ImageClassificationModelDeploymentMetadata.Builder

getImageClassificationModelDeploymentMetadataOrBuilder()

public ImageClassificationModelDeploymentMetadataOrBuilder getImageClassificationModelDeploymentMetadataOrBuilder()

Model deployment metadata specific to Image Classification.

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

Returns
Type Description
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
Type Description
ImageObjectDetectionModelDeploymentMetadata

The imageObjectDetectionModelDeploymentMetadata.

getImageObjectDetectionModelDeploymentMetadataBuilder()

public ImageObjectDetectionModelDeploymentMetadata.Builder getImageObjectDetectionModelDeploymentMetadataBuilder()

Model deployment metadata specific to Image Object Detection.

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

Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder

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
Type Description
ImageObjectDetectionModelDeploymentMetadataOrBuilder

getModelDeploymentMetadataCase()

public DeployModelRequest.ModelDeploymentMetadataCase getModelDeploymentMetadataCase()
Returns
Type Description
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
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.

hasImageClassificationModelDeploymentMetadata()

public boolean hasImageClassificationModelDeploymentMetadata()

Model deployment metadata specific to Image Classification.

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

Returns
Type Description
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
Type Description
boolean

Whether the imageObjectDetectionModelDeploymentMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployModelRequest other)

public DeployModelRequest.Builder mergeFrom(DeployModelRequest other)
Parameter
Name Description
other DeployModelRequest
Returns
Type Description
DeployModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployModelRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeployModelRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeployModelRequest.Builder
Overrides

mergeImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata value)

public DeployModelRequest.Builder mergeImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata value)

Model deployment metadata specific to Image Classification.

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

Parameter
Name Description
value ImageClassificationModelDeploymentMetadata
Returns
Type Description
DeployModelRequest.Builder

mergeImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata value)

public DeployModelRequest.Builder mergeImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata value)

Model deployment metadata specific to Image Object Detection.

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

Parameter
Name Description
value ImageObjectDetectionModelDeploymentMetadata
Returns
Type Description
DeployModelRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployModelRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeployModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployModelRequest.Builder
Overrides

setImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata value)

public DeployModelRequest.Builder setImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata value)

Model deployment metadata specific to Image Classification.

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

Parameter
Name Description
value ImageClassificationModelDeploymentMetadata
Returns
Type Description
DeployModelRequest.Builder

setImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata.Builder builderForValue)

public DeployModelRequest.Builder setImageClassificationModelDeploymentMetadata(ImageClassificationModelDeploymentMetadata.Builder builderForValue)

Model deployment metadata specific to Image Classification.

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

Parameter
Name Description
builderForValue ImageClassificationModelDeploymentMetadata.Builder
Returns
Type Description
DeployModelRequest.Builder

setImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata value)

public DeployModelRequest.Builder setImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata value)

Model deployment metadata specific to Image Object Detection.

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

Parameter
Name Description
value ImageObjectDetectionModelDeploymentMetadata
Returns
Type Description
DeployModelRequest.Builder

setImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata.Builder builderForValue)

public DeployModelRequest.Builder setImageObjectDetectionModelDeploymentMetadata(ImageObjectDetectionModelDeploymentMetadata.Builder builderForValue)

Model deployment metadata specific to Image Object Detection.

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

Parameter
Name Description
builderForValue ImageObjectDetectionModelDeploymentMetadata.Builder
Returns
Type Description
DeployModelRequest.Builder

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
Type Description
DeployModelRequest.Builder

This builder for chaining.

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
Type Description
DeployModelRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeployModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeployModelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployModelRequest.Builder
Overrides