Interface TranslationModelMetadataOrBuilder

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

@Generated public interface TranslationModelMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The resource name of the model to use as a baseline to train the custom model.
    com.google.protobuf.ByteString
    The resource name of the model to use as a baseline to train the custom model.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getBaseModel

      String getBaseModel()
       The resource name of the model to use as a baseline to train the custom
       model. If unset, we use the default base model provided by Google
       Translate. Format:
       `projects/{project_id}/locations/{location_id}/models/{model_id}`
       
      string base_model = 1;
      Returns:
      The baseModel.
    • getBaseModelBytes

      com.google.protobuf.ByteString getBaseModelBytes()
       The resource name of the model to use as a baseline to train the custom
       model. If unset, we use the default base model provided by Google
       Translate. Format:
       `projects/{project_id}/locations/{location_id}/models/{model_id}`
       
      string base_model = 1;
      Returns:
      The bytes for baseModel.
    • getSourceLanguageCode

      String getSourceLanguageCode()
       Output only. Inferred from the dataset.
       The source language (The BCP-47 language code) that is used for training.
       
      string source_language_code = 2;
      Returns:
      The sourceLanguageCode.
    • getSourceLanguageCodeBytes

      com.google.protobuf.ByteString getSourceLanguageCodeBytes()
       Output only. Inferred from the dataset.
       The source language (The BCP-47 language code) that is used for training.
       
      string source_language_code = 2;
      Returns:
      The bytes for sourceLanguageCode.
    • getTargetLanguageCode

      String getTargetLanguageCode()
       Output only. The target language (The BCP-47 language code) that is used
       for training.
       
      string target_language_code = 3;
      Returns:
      The targetLanguageCode.
    • getTargetLanguageCodeBytes

      com.google.protobuf.ByteString getTargetLanguageCodeBytes()
       Output only. The target language (The BCP-47 language code) that is used
       for training.
       
      string target_language_code = 3;
      Returns:
      The bytes for targetLanguageCode.