Interface Value.LangStringOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Value.LangString, Value.LangString.Builder
Enclosing class:
Value

public static interface Value.LangStringOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    BCP 47 “language tag” (e.g.
    com.google.protobuf.ByteString
    BCP 47 “language tag” (e.g.
    Text, for humans.
    com.google.protobuf.ByteString
    Text, for humans.

    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

    • getText

       Text, for humans.
       
      string text = 1;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Text, for humans.
       
      string text = 1;
      Returns:
      The bytes for text.
    • getLang

       BCP 47 “language tag” (e.g. “de-ch”) of the text.
       
      string lang = 2;
      Returns:
      The lang.
    • getLangBytes

      com.google.protobuf.ByteString getLangBytes()
       BCP 47 “language tag” (e.g. “de-ch”) of the text.
       
      string lang = 2;
      Returns:
      The bytes for lang.