Interface TranslationDatasetMetadataOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getSourceLanguageCode()
      Required.
      com.google.protobuf.ByteString getSourceLanguageCodeBytes()
      Required.
      String getTargetLanguageCode()
      Required.
      com.google.protobuf.ByteString getTargetLanguageCodeBytes()
      Required.
      • 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 Detail

      • getSourceLanguageCode

        String getSourceLanguageCode()
         Required. The BCP-47 language code of the source language.
         
        string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The sourceLanguageCode.
      • getSourceLanguageCodeBytes

        com.google.protobuf.ByteString getSourceLanguageCodeBytes()
         Required. The BCP-47 language code of the source language.
         
        string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for sourceLanguageCode.
      • getTargetLanguageCode

        String getTargetLanguageCode()
         Required. The BCP-47 language code of the target language.
         
        string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The targetLanguageCode.
      • getTargetLanguageCodeBytes

        com.google.protobuf.ByteString getTargetLanguageCodeBytes()
         Required. The BCP-47 language code of the target language.
         
        string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for targetLanguageCode.