var File_google_type_localized_text_proto protoreflect.FileDescriptor
Localized variant of a text in a particular language.
type LocalizedText struct { // Localized string in the language corresponding to `language_code' below. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // The text's BCP-47 language code, such as "en-US" or "sr-Latn". // // For more information, see // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
func (*LocalizedText) Descriptor() ([]byte, []int)
Deprecated: Use LocalizedText.ProtoReflect.Descriptor instead.
func (x *LocalizedText) GetLanguageCode() string
func (x *LocalizedText) GetText() string
func (*LocalizedText) ProtoMessage()
func (x *LocalizedText) ProtoReflect() protoreflect.Message
func (x *LocalizedText) Reset()
func (x *LocalizedText) String() string