Class DeployModelRequest.Builder (2.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeployModelRequest.Builder
Overrides

build()

public DeployModelRequest build()
Returns
TypeDescription
DeployModelRequest

buildPartial()

public DeployModelRequest buildPartial()
Returns
TypeDescription
DeployModelRequest

clear()

public DeployModelRequest.Builder clear()
Returns
TypeDescription
DeployModelRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeployModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DeployModelRequest.Builder

clearModelDeploymentMetadata()

public DeployModelRequest.Builder clearModelDeploymentMetadata()
Returns
TypeDescription
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
TypeDescription
DeployModelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeployModelRequest.Builder
Overrides

clone()

public DeployModelRequest.Builder clone()
Returns
TypeDescription
DeployModelRequest.Builder
Overrides

getDefaultInstanceForType()

public DeployModelRequest getDefaultInstanceForType()
Returns
TypeDescription
DeployModelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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
TypeDescription
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
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeployModelRequest other)

public DeployModelRequest.Builder mergeFrom(DeployModelRequest other)
Parameter
NameDescription
otherDeployModelRequest
Returns
TypeDescription
DeployModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployModelRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeployModelRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueImageClassificationModelDeploymentMetadata
Returns
TypeDescription
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
NameDescription
valueImageObjectDetectionModelDeploymentMetadata
Returns
TypeDescription
DeployModelRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeployModelRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeployModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueImageClassificationModelDeploymentMetadata
Returns
TypeDescription
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
NameDescription
builderForValueImageClassificationModelDeploymentMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueImageObjectDetectionModelDeploymentMetadata
Returns
TypeDescription
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
NameDescription
builderForValueImageObjectDetectionModelDeploymentMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeployModelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeployModelRequest.Builder
Overrides