Interface ModelOrBuilder (2.8.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ImageClassificationModelMetadata

The imageClassificationModelMetadata.

getImageClassificationModelMetadataOrBuilder()

public abstract ImageClassificationModelMetadataOrBuilder getImageClassificationModelMetadataOrBuilder()

Metadata for image classification models.

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

Returns
TypeDescription
ImageClassificationModelMetadataOrBuilder

getImageObjectDetectionModelMetadata()

public abstract ImageObjectDetectionModelMetadata getImageObjectDetectionModelMetadata()

Metadata for image object detection models.

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

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

getModelMetadataCase()

public abstract Model.ModelMetadataCase getModelMetadataCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getTablesModelMetadata()

public abstract TablesModelMetadata getTablesModelMetadata()

Metadata for Tables models.

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

Returns
TypeDescription
TablesModelMetadata

The tablesModelMetadata.

getTablesModelMetadataOrBuilder()

public abstract TablesModelMetadataOrBuilder getTablesModelMetadataOrBuilder()

Metadata for Tables models.

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

Returns
TypeDescription
TablesModelMetadataOrBuilder

getTextClassificationModelMetadata()

public abstract TextClassificationModelMetadata getTextClassificationModelMetadata()

Metadata for text classification models.

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

Returns
TypeDescription
TextClassificationModelMetadata

The textClassificationModelMetadata.

getTextClassificationModelMetadataOrBuilder()

public abstract TextClassificationModelMetadataOrBuilder getTextClassificationModelMetadataOrBuilder()

Metadata for text classification models.

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

Returns
TypeDescription
TextClassificationModelMetadataOrBuilder

getTextExtractionModelMetadata()

public abstract TextExtractionModelMetadata getTextExtractionModelMetadata()

Metadata for text extraction models.

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

Returns
TypeDescription
TextExtractionModelMetadata

The textExtractionModelMetadata.

getTextExtractionModelMetadataOrBuilder()

public abstract TextExtractionModelMetadataOrBuilder getTextExtractionModelMetadataOrBuilder()

Metadata for text extraction models.

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

Returns
TypeDescription
TextExtractionModelMetadataOrBuilder

getTextSentimentModelMetadata()

public abstract TextSentimentModelMetadata getTextSentimentModelMetadata()

Metadata for text sentiment models.

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

Returns
TypeDescription
TextSentimentModelMetadata

The textSentimentModelMetadata.

getTextSentimentModelMetadataOrBuilder()

public abstract TextSentimentModelMetadataOrBuilder getTextSentimentModelMetadataOrBuilder()

Metadata for text sentiment models.

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

Returns
TypeDescription
TextSentimentModelMetadataOrBuilder

getTranslationModelMetadata()

public abstract TranslationModelMetadata getTranslationModelMetadata()

Metadata for translation models.

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

Returns
TypeDescription
TranslationModelMetadata

The translationModelMetadata.

getTranslationModelMetadataOrBuilder()

public abstract TranslationModelMetadataOrBuilder getTranslationModelMetadataOrBuilder()

Metadata for translation models.

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

Returns
TypeDescription
TranslationModelMetadataOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Timestamp when this model was last updated.

.google.protobuf.Timestamp update_time = 11;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this model was last updated.

.google.protobuf.Timestamp update_time = 11;

Returns
TypeDescription
TimestampOrBuilder

getVideoClassificationModelMetadata()

public abstract VideoClassificationModelMetadata getVideoClassificationModelMetadata()

Metadata for video classification models.

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

Returns
TypeDescription
VideoClassificationModelMetadata

The videoClassificationModelMetadata.

getVideoClassificationModelMetadataOrBuilder()

public abstract VideoClassificationModelMetadataOrBuilder getVideoClassificationModelMetadataOrBuilder()

Metadata for video classification models.

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

Returns
TypeDescription
VideoClassificationModelMetadataOrBuilder

getVideoObjectTrackingModelMetadata()

public abstract VideoObjectTrackingModelMetadata getVideoObjectTrackingModelMetadata()

Metadata for video object tracking models.

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

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

Whether the videoObjectTrackingModelMetadata field is set.