Class Model.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Model.Builder>
com.google.cloud.automl.v1beta1.Model.Builder
All Implemented Interfaces:
ModelOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Model

public static final class Model.Builder extends com.google.protobuf.GeneratedMessage.Builder<Model.Builder> implements ModelOrBuilder
 API proto representing a trained machine learning model.
 
Protobuf type google.cloud.automl.v1beta1.Model
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Model.Builder>
    • clear

      public Model.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Model.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Model.Builder>
    • getDefaultInstanceForType

      public Model getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Model build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Model buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Model.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Model.Builder>
    • mergeFrom

      public Model.Builder mergeFrom(Model other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Model.Builder>
    • mergeFrom

      public Model.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Model.Builder>
      Throws:
      IOException
    • getModelMetadataCase

      public Model.ModelMetadataCase getModelMetadataCase()
      Specified by:
      getModelMetadataCase in interface ModelOrBuilder
    • clearModelMetadata

      public Model.Builder clearModelMetadata()
    • hasTranslationModelMetadata

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

      public TranslationModelMetadata getTranslationModelMetadata()
       Metadata for translation models.
       
      .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
      Specified by:
      getTranslationModelMetadata in interface ModelOrBuilder
      Returns:
      The translationModelMetadata.
    • setTranslationModelMetadata

      public Model.Builder setTranslationModelMetadata(TranslationModelMetadata value)
       Metadata for translation models.
       
      .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
    • setTranslationModelMetadata

      public Model.Builder setTranslationModelMetadata(TranslationModelMetadata.Builder builderForValue)
       Metadata for translation models.
       
      .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
    • mergeTranslationModelMetadata

      public Model.Builder mergeTranslationModelMetadata(TranslationModelMetadata value)
       Metadata for translation models.
       
      .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
    • clearTranslationModelMetadata

      public Model.Builder clearTranslationModelMetadata()
       Metadata for translation models.
       
      .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
    • getTranslationModelMetadataBuilder

      public TranslationModelMetadata.Builder getTranslationModelMetadataBuilder()
       Metadata for translation models.
       
      .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
    • getTranslationModelMetadataOrBuilder

      public TranslationModelMetadataOrBuilder getTranslationModelMetadataOrBuilder()
       Metadata for translation models.
       
      .google.cloud.automl.v1beta1.TranslationModelMetadata translation_model_metadata = 15;
      Specified by:
      getTranslationModelMetadataOrBuilder in interface ModelOrBuilder
    • hasImageClassificationModelMetadata

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

      public ImageClassificationModelMetadata getImageClassificationModelMetadata()
       Metadata for image classification models.
       
      .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
      Specified by:
      getImageClassificationModelMetadata in interface ModelOrBuilder
      Returns:
      The imageClassificationModelMetadata.
    • setImageClassificationModelMetadata

      public Model.Builder setImageClassificationModelMetadata(ImageClassificationModelMetadata value)
       Metadata for image classification models.
       
      .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
    • setImageClassificationModelMetadata

      public Model.Builder setImageClassificationModelMetadata(ImageClassificationModelMetadata.Builder builderForValue)
       Metadata for image classification models.
       
      .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
    • mergeImageClassificationModelMetadata

      public Model.Builder mergeImageClassificationModelMetadata(ImageClassificationModelMetadata value)
       Metadata for image classification models.
       
      .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
    • clearImageClassificationModelMetadata

      public Model.Builder clearImageClassificationModelMetadata()
       Metadata for image classification models.
       
      .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
    • getImageClassificationModelMetadataBuilder

      public ImageClassificationModelMetadata.Builder getImageClassificationModelMetadataBuilder()
       Metadata for image classification models.
       
      .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
    • getImageClassificationModelMetadataOrBuilder

      public ImageClassificationModelMetadataOrBuilder getImageClassificationModelMetadataOrBuilder()
       Metadata for image classification models.
       
      .google.cloud.automl.v1beta1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
      Specified by:
      getImageClassificationModelMetadataOrBuilder in interface ModelOrBuilder
    • hasTextClassificationModelMetadata

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

      public TextClassificationModelMetadata getTextClassificationModelMetadata()
       Metadata for text classification models.
       
      .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
      Specified by:
      getTextClassificationModelMetadata in interface ModelOrBuilder
      Returns:
      The textClassificationModelMetadata.
    • setTextClassificationModelMetadata

      public Model.Builder setTextClassificationModelMetadata(TextClassificationModelMetadata value)
       Metadata for text classification models.
       
      .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
    • setTextClassificationModelMetadata

      public Model.Builder setTextClassificationModelMetadata(TextClassificationModelMetadata.Builder builderForValue)
       Metadata for text classification models.
       
      .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
    • mergeTextClassificationModelMetadata

      public Model.Builder mergeTextClassificationModelMetadata(TextClassificationModelMetadata value)
       Metadata for text classification models.
       
      .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
    • clearTextClassificationModelMetadata

      public Model.Builder clearTextClassificationModelMetadata()
       Metadata for text classification models.
       
      .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
    • getTextClassificationModelMetadataBuilder

      public TextClassificationModelMetadata.Builder getTextClassificationModelMetadataBuilder()
       Metadata for text classification models.
       
      .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
    • getTextClassificationModelMetadataOrBuilder

      public TextClassificationModelMetadataOrBuilder getTextClassificationModelMetadataOrBuilder()
       Metadata for text classification models.
       
      .google.cloud.automl.v1beta1.TextClassificationModelMetadata text_classification_model_metadata = 14;
      Specified by:
      getTextClassificationModelMetadataOrBuilder in interface ModelOrBuilder
    • hasImageObjectDetectionModelMetadata

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

      public ImageObjectDetectionModelMetadata getImageObjectDetectionModelMetadata()
       Metadata for image object detection models.
       
      .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
      Specified by:
      getImageObjectDetectionModelMetadata in interface ModelOrBuilder
      Returns:
      The imageObjectDetectionModelMetadata.
    • setImageObjectDetectionModelMetadata

      public Model.Builder setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
       Metadata for image object detection models.
       
      .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
    • setImageObjectDetectionModelMetadata

      public Model.Builder setImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata.Builder builderForValue)
       Metadata for image object detection models.
       
      .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
    • mergeImageObjectDetectionModelMetadata

      public Model.Builder mergeImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata value)
       Metadata for image object detection models.
       
      .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
    • clearImageObjectDetectionModelMetadata

      public Model.Builder clearImageObjectDetectionModelMetadata()
       Metadata for image object detection models.
       
      .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
    • getImageObjectDetectionModelMetadataBuilder

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

      public ImageObjectDetectionModelMetadataOrBuilder getImageObjectDetectionModelMetadataOrBuilder()
       Metadata for image object detection models.
       
      .google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
      Specified by:
      getImageObjectDetectionModelMetadataOrBuilder in interface ModelOrBuilder
    • hasVideoClassificationModelMetadata

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

      public VideoClassificationModelMetadata getVideoClassificationModelMetadata()
       Metadata for video classification models.
       
      .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
      Specified by:
      getVideoClassificationModelMetadata in interface ModelOrBuilder
      Returns:
      The videoClassificationModelMetadata.
    • setVideoClassificationModelMetadata

      public Model.Builder setVideoClassificationModelMetadata(VideoClassificationModelMetadata value)
       Metadata for video classification models.
       
      .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
    • setVideoClassificationModelMetadata

      public Model.Builder setVideoClassificationModelMetadata(VideoClassificationModelMetadata.Builder builderForValue)
       Metadata for video classification models.
       
      .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
    • mergeVideoClassificationModelMetadata

      public Model.Builder mergeVideoClassificationModelMetadata(VideoClassificationModelMetadata value)
       Metadata for video classification models.
       
      .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
    • clearVideoClassificationModelMetadata

      public Model.Builder clearVideoClassificationModelMetadata()
       Metadata for video classification models.
       
      .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
    • getVideoClassificationModelMetadataBuilder

      public VideoClassificationModelMetadata.Builder getVideoClassificationModelMetadataBuilder()
       Metadata for video classification models.
       
      .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
    • getVideoClassificationModelMetadataOrBuilder

      public VideoClassificationModelMetadataOrBuilder getVideoClassificationModelMetadataOrBuilder()
       Metadata for video classification models.
       
      .google.cloud.automl.v1beta1.VideoClassificationModelMetadata video_classification_model_metadata = 23;
      Specified by:
      getVideoClassificationModelMetadataOrBuilder in interface ModelOrBuilder
    • hasVideoObjectTrackingModelMetadata

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

      public VideoObjectTrackingModelMetadata getVideoObjectTrackingModelMetadata()
       Metadata for video object tracking models.
       
      .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
      Specified by:
      getVideoObjectTrackingModelMetadata in interface ModelOrBuilder
      Returns:
      The videoObjectTrackingModelMetadata.
    • setVideoObjectTrackingModelMetadata

      public Model.Builder setVideoObjectTrackingModelMetadata(VideoObjectTrackingModelMetadata value)
       Metadata for video object tracking models.
       
      .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
    • setVideoObjectTrackingModelMetadata

      public Model.Builder setVideoObjectTrackingModelMetadata(VideoObjectTrackingModelMetadata.Builder builderForValue)
       Metadata for video object tracking models.
       
      .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
    • mergeVideoObjectTrackingModelMetadata

      public Model.Builder mergeVideoObjectTrackingModelMetadata(VideoObjectTrackingModelMetadata value)
       Metadata for video object tracking models.
       
      .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
    • clearVideoObjectTrackingModelMetadata

      public Model.Builder clearVideoObjectTrackingModelMetadata()
       Metadata for video object tracking models.
       
      .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
    • getVideoObjectTrackingModelMetadataBuilder

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

      public VideoObjectTrackingModelMetadataOrBuilder getVideoObjectTrackingModelMetadataOrBuilder()
       Metadata for video object tracking models.
       
      .google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata video_object_tracking_model_metadata = 21;
      Specified by:
      getVideoObjectTrackingModelMetadataOrBuilder in interface ModelOrBuilder
    • hasTextExtractionModelMetadata

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

      public TextExtractionModelMetadata getTextExtractionModelMetadata()
       Metadata for text extraction models.
       
      .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
      Specified by:
      getTextExtractionModelMetadata in interface ModelOrBuilder
      Returns:
      The textExtractionModelMetadata.
    • setTextExtractionModelMetadata

      public Model.Builder setTextExtractionModelMetadata(TextExtractionModelMetadata value)
       Metadata for text extraction models.
       
      .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
    • setTextExtractionModelMetadata

      public Model.Builder setTextExtractionModelMetadata(TextExtractionModelMetadata.Builder builderForValue)
       Metadata for text extraction models.
       
      .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
    • mergeTextExtractionModelMetadata

      public Model.Builder mergeTextExtractionModelMetadata(TextExtractionModelMetadata value)
       Metadata for text extraction models.
       
      .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
    • clearTextExtractionModelMetadata

      public Model.Builder clearTextExtractionModelMetadata()
       Metadata for text extraction models.
       
      .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
    • getTextExtractionModelMetadataBuilder

      public TextExtractionModelMetadata.Builder getTextExtractionModelMetadataBuilder()
       Metadata for text extraction models.
       
      .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
    • getTextExtractionModelMetadataOrBuilder

      public TextExtractionModelMetadataOrBuilder getTextExtractionModelMetadataOrBuilder()
       Metadata for text extraction models.
       
      .google.cloud.automl.v1beta1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
      Specified by:
      getTextExtractionModelMetadataOrBuilder in interface ModelOrBuilder
    • hasTablesModelMetadata

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

      public TablesModelMetadata getTablesModelMetadata()
       Metadata for Tables models.
       
      .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
      Specified by:
      getTablesModelMetadata in interface ModelOrBuilder
      Returns:
      The tablesModelMetadata.
    • setTablesModelMetadata

      public Model.Builder setTablesModelMetadata(TablesModelMetadata value)
       Metadata for Tables models.
       
      .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
    • setTablesModelMetadata

      public Model.Builder setTablesModelMetadata(TablesModelMetadata.Builder builderForValue)
       Metadata for Tables models.
       
      .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
    • mergeTablesModelMetadata

      public Model.Builder mergeTablesModelMetadata(TablesModelMetadata value)
       Metadata for Tables models.
       
      .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
    • clearTablesModelMetadata

      public Model.Builder clearTablesModelMetadata()
       Metadata for Tables models.
       
      .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
    • getTablesModelMetadataBuilder

      public TablesModelMetadata.Builder getTablesModelMetadataBuilder()
       Metadata for Tables models.
       
      .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
    • getTablesModelMetadataOrBuilder

      public TablesModelMetadataOrBuilder getTablesModelMetadataOrBuilder()
       Metadata for Tables models.
       
      .google.cloud.automl.v1beta1.TablesModelMetadata tables_model_metadata = 24;
      Specified by:
      getTablesModelMetadataOrBuilder in interface ModelOrBuilder
    • hasTextSentimentModelMetadata

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

      public TextSentimentModelMetadata getTextSentimentModelMetadata()
       Metadata for text sentiment models.
       
      .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
      Specified by:
      getTextSentimentModelMetadata in interface ModelOrBuilder
      Returns:
      The textSentimentModelMetadata.
    • setTextSentimentModelMetadata

      public Model.Builder setTextSentimentModelMetadata(TextSentimentModelMetadata value)
       Metadata for text sentiment models.
       
      .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
    • setTextSentimentModelMetadata

      public Model.Builder setTextSentimentModelMetadata(TextSentimentModelMetadata.Builder builderForValue)
       Metadata for text sentiment models.
       
      .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
    • mergeTextSentimentModelMetadata

      public Model.Builder mergeTextSentimentModelMetadata(TextSentimentModelMetadata value)
       Metadata for text sentiment models.
       
      .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
    • clearTextSentimentModelMetadata

      public Model.Builder clearTextSentimentModelMetadata()
       Metadata for text sentiment models.
       
      .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
    • getTextSentimentModelMetadataBuilder

      public TextSentimentModelMetadata.Builder getTextSentimentModelMetadataBuilder()
       Metadata for text sentiment models.
       
      .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
    • getTextSentimentModelMetadataOrBuilder

      public TextSentimentModelMetadataOrBuilder getTextSentimentModelMetadataOrBuilder()
       Metadata for text sentiment models.
       
      .google.cloud.automl.v1beta1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
      Specified by:
      getTextSentimentModelMetadataOrBuilder in interface ModelOrBuilder
    • getName

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

      public 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;
      Specified by:
      getNameBytes in interface ModelOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Model.Builder setName(String value)
       Output only. Resource name of the model.
       Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Model.Builder clearName()
       Output only. Resource name of the model.
       Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Model.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Resource name of the model.
       Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public 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;
      Specified by:
      getDisplayName in interface ModelOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public 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;
      Specified by:
      getDisplayNameBytes in interface ModelOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Model.Builder setDisplayName(String value)
       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;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Model.Builder clearDisplayName()
       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:
      This builder for chaining.
    • setDisplayNameBytes

      public Model.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDatasetId

      public 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;
      Specified by:
      getDatasetId in interface ModelOrBuilder
      Returns:
      The datasetId.
    • getDatasetIdBytes

      public 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;
      Specified by:
      getDatasetIdBytes in interface ModelOrBuilder
      Returns:
      The bytes for datasetId.
    • setDatasetId

      public Model.Builder setDatasetId(String value)
       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;
      Parameters:
      value - The datasetId to set.
      Returns:
      This builder for chaining.
    • clearDatasetId

      public Model.Builder clearDatasetId()
       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:
      This builder for chaining.
    • setDatasetIdBytes

      public Model.Builder setDatasetIdBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for datasetId to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

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

      public 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;
      Specified by:
      getCreateTime in interface ModelOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Model.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when the model training finished  and can be used for prediction.
       
      .google.protobuf.Timestamp create_time = 7;
    • setCreateTime

      public Model.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when the model training finished  and can be used for prediction.
       
      .google.protobuf.Timestamp create_time = 7;
    • mergeCreateTime

      public Model.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when the model training finished  and can be used for prediction.
       
      .google.protobuf.Timestamp create_time = 7;
    • clearCreateTime

      public Model.Builder clearCreateTime()
       Output only. Timestamp when the model training finished  and can be used for prediction.
       
      .google.protobuf.Timestamp create_time = 7;
    • getCreateTimeBuilder

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

      public 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;
      Specified by:
      getCreateTimeOrBuilder in interface ModelOrBuilder
    • hasUpdateTime

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

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when this model was last updated.
       
      .google.protobuf.Timestamp update_time = 11;
      Specified by:
      getUpdateTime in interface ModelOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Model.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this model was last updated.
       
      .google.protobuf.Timestamp update_time = 11;
    • setUpdateTime

      public Model.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this model was last updated.
       
      .google.protobuf.Timestamp update_time = 11;
    • mergeUpdateTime

      public Model.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this model was last updated.
       
      .google.protobuf.Timestamp update_time = 11;
    • clearUpdateTime

      public Model.Builder clearUpdateTime()
       Output only. Timestamp when this model was last updated.
       
      .google.protobuf.Timestamp update_time = 11;
    • getUpdateTimeBuilder

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

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this model was last updated.
       
      .google.protobuf.Timestamp update_time = 11;
      Specified by:
      getUpdateTimeOrBuilder in interface ModelOrBuilder
    • getDeploymentStateValue

      public 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;
      Specified by:
      getDeploymentStateValue in interface ModelOrBuilder
      Returns:
      The enum numeric value on the wire for deploymentState.
    • setDeploymentStateValue

      public Model.Builder setDeploymentStateValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for deploymentState to set.
      Returns:
      This builder for chaining.
    • getDeploymentState

      public 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;
      Specified by:
      getDeploymentState in interface ModelOrBuilder
      Returns:
      The deploymentState.
    • setDeploymentState

      public Model.Builder setDeploymentState(Model.DeploymentState value)
       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;
      Parameters:
      value - The deploymentState to set.
      Returns:
      This builder for chaining.
    • clearDeploymentState

      public Model.Builder clearDeploymentState()
       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:
      This builder for chaining.