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 TypeMethodDescriptiongetCode()Locale country code (e.g., "en-US", "de-DE").com.google.protobuf.ByteStringLocale country code (e.g., "en-US", "de-DE").The translated content string.com.google.protobuf.ByteStringThe translated content string.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-