Interface TranslationOrBuilder

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

public interface TranslationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Locale country code (e.g., "en-US", "de-DE").
    com.google.protobuf.ByteString
    Locale country code (e.g., "en-US", "de-DE").
    The translated content string.
    com.google.protobuf.ByteString
    The translated content string.

    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

    • getCode

      String getCode()
       Locale country code (e.g., "en-US", "de-DE").
       
      string code = 1 [json_name = "code"];
      Returns:
      The code.
    • getCodeBytes

      com.google.protobuf.ByteString getCodeBytes()
       Locale country code (e.g., "en-US", "de-DE").
       
      string code = 1 [json_name = "code"];
      Returns:
      The bytes for code.
    • getContent

      String getContent()
       The translated content string.
       
      string content = 2 [json_name = "content"];
      Returns:
      The content.
    • getContentBytes

      com.google.protobuf.ByteString getContentBytes()
       The translated content string.
       
      string content = 2 [json_name = "content"];
      Returns:
      The bytes for content.