Interface ModelOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Model, Model.Builder

    public interface ModelOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasTranslationModelMetadata

        boolean hasTranslationModelMetadata()
         Metadata for translation models.
         
        .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
        Returns:
        Whether the translationModelMetadata field is set.
      • getTranslationModelMetadata

        TranslationModelMetadata getTranslationModelMetadata()
         Metadata for translation models.
         
        .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
        Returns:
        The translationModelMetadata.
      • getTranslationModelMetadataOrBuilder

        TranslationModelMetadataOrBuilder getTranslationModelMetadataOrBuilder()
         Metadata for translation models.
         
        .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
      • hasImageClassificationModelMetadata

        boolean hasImageClassificationModelMetadata()
         Metadata for image classification models.
         
        .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
        Returns:
        Whether the imageClassificationModelMetadata field is set.
      • getImageClassificationModelMetadata

        ImageClassificationModelMetadata getImageClassificationModelMetadata()
         Metadata for image classification models.
         
        .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
        Returns:
        The imageClassificationModelMetadata.
      • getImageClassificationModelMetadataOrBuilder

        ImageClassificationModelMetadataOrBuilder getImageClassificationModelMetadataOrBuilder()
         Metadata for image classification models.
         
        .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
      • hasTextClassificationModelMetadata

        boolean hasTextClassificationModelMetadata()
         Metadata for text classification models.
         
        .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
        Returns:
        Whether the textClassificationModelMetadata field is set.
      • getTextClassificationModelMetadata

        TextClassificationModelMetadata getTextClassificationModelMetadata()
         Metadata for text classification models.
         
        .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
        Returns:
        The textClassificationModelMetadata.
      • getTextClassificationModelMetadataOrBuilder

        TextClassificationModelMetadataOrBuilder getTextClassificationModelMetadataOrBuilder()
         Metadata for text classification models.
         
        .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
      • hasImageObjectDetectionModelMetadata

        boolean hasImageObjectDetectionModelMetadata()
         Metadata for image object detection models.
         
        .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
        Returns:
        Whether the imageObjectDetectionModelMetadata field is set.
      • getImageObjectDetectionModelMetadata

        ImageObjectDetectionModelMetadata getImageObjectDetectionModelMetadata()
         Metadata for image object detection models.
         
        .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
        Returns:
        The imageObjectDetectionModelMetadata.
      • getImageObjectDetectionModelMetadataOrBuilder

        ImageObjectDetectionModelMetadataOrBuilder getImageObjectDetectionModelMetadataOrBuilder()
         Metadata for image object detection models.
         
        .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
      • hasVideoClassificationModelMetadata

        boolean hasVideoClassificationModelMetadata()
         Metadata for video classification models.
         
        .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
        Returns:
        Whether the videoClassificationModelMetadata field is set.
      • getVideoClassificationModelMetadata

        VideoClassificationModelMetadata getVideoClassificationModelMetadata()
         Metadata for video classification models.
         
        .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
        Returns:
        The videoClassificationModelMetadata.
      • getVideoClassificationModelMetadataOrBuilder

        VideoClassificationModelMetadataOrBuilder getVideoClassificationModelMetadataOrBuilder()
         Metadata for video classification models.
         
        .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
      • hasVideoObjectTrackingModelMetadata

        boolean hasVideoObjectTrackingModelMetadata()
         Metadata for video object tracking models.
         
        .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
        Returns:
        Whether the videoObjectTrackingModelMetadata field is set.
      • getVideoObjectTrackingModelMetadata

        VideoObjectTrackingModelMetadata getVideoObjectTrackingModelMetadata()
         Metadata for video object tracking models.
         
        .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
        Returns:
        The videoObjectTrackingModelMetadata.
      • getVideoObjectTrackingModelMetadataOrBuilder

        VideoObjectTrackingModelMetadataOrBuilder getVideoObjectTrackingModelMetadataOrBuilder()
         Metadata for video object tracking models.
         
        .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
      • hasTextExtractionModelMetadata

        boolean hasTextExtractionModelMetadata()
         Metadata for text extraction models.
         
        .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
        Returns:
        Whether the textExtractionModelMetadata field is set.
      • getTextExtractionModelMetadata

        TextExtractionModelMetadata getTextExtractionModelMetadata()
         Metadata for text extraction models.
         
        .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
        Returns:
        The textExtractionModelMetadata.
      • getTextExtractionModelMetadataOrBuilder

        TextExtractionModelMetadataOrBuilder getTextExtractionModelMetadataOrBuilder()
         Metadata for text extraction models.
         
        .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
      • hasTablesModelMetadata

        boolean hasTablesModelMetadata()
         Metadata for Tables models.
         
        .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
        Returns:
        Whether the tablesModelMetadata field is set.
      • getTablesModelMetadata

        TablesModelMetadata getTablesModelMetadata()
         Metadata for Tables models.
         
        .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
        Returns:
        The tablesModelMetadata.
      • getTablesModelMetadataOrBuilder

        TablesModelMetadataOrBuilder getTablesModelMetadataOrBuilder()
         Metadata for Tables models.
         
        .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
      • hasTextSentimentModelMetadata

        boolean hasTextSentimentModelMetadata()
         Metadata for text sentiment models.
         
        .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
        Returns:
        Whether the textSentimentModelMetadata field is set.
      • getTextSentimentModelMetadata

        TextSentimentModelMetadata getTextSentimentModelMetadata()
         Metadata for text sentiment models.
         
        .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
        Returns:
        The textSentimentModelMetadata.
      • getTextSentimentModelMetadataOrBuilder

        TextSentimentModelMetadataOrBuilder getTextSentimentModelMetadataOrBuilder()
         Metadata for text sentiment models.
         
        .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
      • getName

        String getName()
         Output only. Resource name of the model.
         Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. Resource name of the model.
         Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDisplayName

        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:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.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:
        The bytes for displayName.
      • getDatasetId

        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:
        The datasetId.
      • getDatasetIdBytes

        com.google.protobuf.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:
        The bytes for datasetId.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. Timestamp when the model training finished  and can be used for prediction.
         
        .google.protobuf.Timestamp create_time = 7;
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. Timestamp when the model training finished  and can be used for prediction.
         
        .google.protobuf.Timestamp create_time = 7;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Timestamp when the model training finished  and can be used for prediction.
         
        .google.protobuf.Timestamp create_time = 7;
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. Timestamp when this model was last updated.
         
        .google.protobuf.Timestamp update_time = 11;
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. Timestamp when this model was last updated.
         
        .google.protobuf.Timestamp update_time = 11;
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Timestamp when this model was last updated.
         
        .google.protobuf.Timestamp update_time = 11;
      • getDeploymentStateValue

        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:
        The enum numeric value on the wire for deploymentState.
      • getDeploymentState

        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:
        The deploymentState.