Interface ModelOrBuilder (2.47.0)

public interface ModelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Timestamp when the model training finished and can be used for prediction.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when the model training finished and can be used for prediction.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
TimestampOrBuilder

getDatasetId()

public abstract String getDatasetId()

Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.

string dataset_id = 3;

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public abstract ByteString getDatasetIdBytes()

Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.

string dataset_id = 3;

Returns
Type Description
ByteString

The bytes for datasetId.

getDeploymentState()

public abstract Model.DeploymentState getDeploymentState()

Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.

.google.cloud.automl.v1beta1.Model.DeploymentState deployment_state = 8;

Returns
Type Description
Model.DeploymentState

The deploymentState.

getDeploymentStateValue()

public abstract int getDeploymentStateValue()

Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.

.google.cloud.automl.v1beta1.Model.DeploymentState deployment_state = 8;

Returns
Type Description
int

The enum numeric value on the wire for deploymentState.

getDisplayName()

public abstract String getDisplayName()

Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getImageClassificationModelMetadata()

public abstract ImageClassificationModelMetadata getImageClassificationModelMetadata()

Metadata for image classification models.

.google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;

Returns
Type Description
ImageClassificationModelMetadata

The imageClassificationModelMetadata.

getImageClassificationModelMetadataOrBuilder()

public abstract ImageClassificationModelMetadataOrBuilder getImageClassificationModelMetadataOrBuilder()

Metadata for image classification models.

.google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;

Returns
Type Description
ImageClassificationModelMetadataOrBuilder

getImageObjectDetectionModelMetadata()

public abstract ImageObjectDetectionModelMetadata getImageObjectDetectionModelMetadata()

Metadata for image object detection models.

.google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;

Returns
Type Description
ImageObjectDetectionModelMetadata

The imageObjectDetectionModelMetadata.

getImageObjectDetectionModelMetadataOrBuilder()

public abstract ImageObjectDetectionModelMetadataOrBuilder getImageObjectDetectionModelMetadataOrBuilder()

Metadata for image object detection models.

.google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;

Returns
Type Description
ImageObjectDetectionModelMetadataOrBuilder

getModelMetadataCase()

public abstract Model.ModelMetadataCase getModelMetadataCase()
Returns
Type Description
Model.ModelMetadataCase

getName()

public abstract String getName()

Output only. Resource name of the model. Format: projects/{project_id}/locations/{location_id}/models/{model_id}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Resource name of the model. Format: projects/{project_id}/locations/{location_id}/models/{model_id}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getTablesModelMetadata()

public abstract TablesModelMetadata getTablesModelMetadata()

Metadata for Tables models.

.google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;

Returns
Type Description
TablesModelMetadata

The tablesModelMetadata.

getTablesModelMetadataOrBuilder()

public abstract TablesModelMetadataOrBuilder getTablesModelMetadataOrBuilder()

Metadata for Tables models.

.google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;

Returns
Type Description
TablesModelMetadataOrBuilder

getTextClassificationModelMetadata()

public abstract TextClassificationModelMetadata getTextClassificationModelMetadata()

Metadata for text classification models.

.google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;

Returns
Type Description
TextClassificationModelMetadata

The textClassificationModelMetadata.

getTextClassificationModelMetadataOrBuilder()

public abstract TextClassificationModelMetadataOrBuilder getTextClassificationModelMetadataOrBuilder()

Metadata for text classification models.

.google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;

Returns
Type Description
TextClassificationModelMetadataOrBuilder

getTextExtractionModelMetadata()

public abstract TextExtractionModelMetadata getTextExtractionModelMetadata()

Metadata for text extraction models.

.google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;

Returns
Type Description
TextExtractionModelMetadata

The textExtractionModelMetadata.

getTextExtractionModelMetadataOrBuilder()

public abstract TextExtractionModelMetadataOrBuilder getTextExtractionModelMetadataOrBuilder()

Metadata for text extraction models.

.google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;

Returns
Type Description
TextExtractionModelMetadataOrBuilder

getTextSentimentModelMetadata()

public abstract TextSentimentModelMetadata getTextSentimentModelMetadata()

Metadata for text sentiment models.

.google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;

Returns
Type Description
TextSentimentModelMetadata

The textSentimentModelMetadata.

getTextSentimentModelMetadataOrBuilder()

public abstract TextSentimentModelMetadataOrBuilder getTextSentimentModelMetadataOrBuilder()

Metadata for text sentiment models.

.google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;

Returns
Type Description
TextSentimentModelMetadataOrBuilder

getTranslationModelMetadata()

public abstract TranslationModelMetadata getTranslationModelMetadata()

Metadata for translation models.

.google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;

Returns
Type Description
TranslationModelMetadata

The translationModelMetadata.

getTranslationModelMetadataOrBuilder()

public abstract TranslationModelMetadataOrBuilder getTranslationModelMetadataOrBuilder()

Metadata for translation models.

.google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;

Returns
Type Description
TranslationModelMetadataOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Timestamp when this model was last updated.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this model was last updated.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
TimestampOrBuilder

getVideoClassificationModelMetadata()

public abstract VideoClassificationModelMetadata getVideoClassificationModelMetadata()

Metadata for video classification models.

.google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;

Returns
Type Description
VideoClassificationModelMetadata

The videoClassificationModelMetadata.

getVideoClassificationModelMetadataOrBuilder()

public abstract VideoClassificationModelMetadataOrBuilder getVideoClassificationModelMetadataOrBuilder()

Metadata for video classification models.

.google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;

Returns
Type Description
VideoClassificationModelMetadataOrBuilder

getVideoObjectTrackingModelMetadata()

public abstract VideoObjectTrackingModelMetadata getVideoObjectTrackingModelMetadata()

Metadata for video object tracking models.

.google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;

Returns
Type Description
VideoObjectTrackingModelMetadata

The videoObjectTrackingModelMetadata.

getVideoObjectTrackingModelMetadataOrBuilder()

public abstract VideoObjectTrackingModelMetadataOrBuilder getVideoObjectTrackingModelMetadataOrBuilder()

Metadata for video object tracking models.

.google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;

Returns
Type Description
VideoObjectTrackingModelMetadataOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Timestamp when the model training finished and can be used for prediction.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
boolean

Whether the createTime field is set.

hasImageClassificationModelMetadata()

public abstract boolean hasImageClassificationModelMetadata()

Metadata for image classification models.

.google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;

Returns
Type Description
boolean

Whether the imageClassificationModelMetadata field is set.

hasImageObjectDetectionModelMetadata()

public abstract boolean hasImageObjectDetectionModelMetadata()

Metadata for image object detection models.

.google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;

Returns
Type Description
boolean

Whether the imageObjectDetectionModelMetadata field is set.

hasTablesModelMetadata()

public abstract boolean hasTablesModelMetadata()

Metadata for Tables models.

.google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;

Returns
Type Description
boolean

Whether the tablesModelMetadata field is set.

hasTextClassificationModelMetadata()

public abstract boolean hasTextClassificationModelMetadata()

Metadata for text classification models.

.google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;

Returns
Type Description
boolean

Whether the textClassificationModelMetadata field is set.

hasTextExtractionModelMetadata()

public abstract boolean hasTextExtractionModelMetadata()

Metadata for text extraction models.

.google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;

Returns
Type Description
boolean

Whether the textExtractionModelMetadata field is set.

hasTextSentimentModelMetadata()

public abstract boolean hasTextSentimentModelMetadata()

Metadata for text sentiment models.

.google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;

Returns
Type Description
boolean

Whether the textSentimentModelMetadata field is set.

hasTranslationModelMetadata()

public abstract boolean hasTranslationModelMetadata()

Metadata for translation models.

.google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;

Returns
Type Description
boolean

Whether the translationModelMetadata field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Timestamp when this model was last updated.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVideoClassificationModelMetadata()

public abstract boolean hasVideoClassificationModelMetadata()

Metadata for video classification models.

.google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;

Returns
Type Description
boolean

Whether the videoClassificationModelMetadata field is set.

hasVideoObjectTrackingModelMetadata()

public abstract boolean hasVideoObjectTrackingModelMetadata()

Metadata for video object tracking models.

.google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;

Returns
Type Description
boolean

Whether the videoObjectTrackingModelMetadata field is set.