Documentation ¶
Index ¶
- Variables
- type LocalizedText
- func (*LocalizedText) Descriptor() ([]byte, []int)deprecated
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var File_google_type_localized_text_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LocalizedText ¶
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 }
Localized variant of a text in a particular language.
func (*LocalizedText) Descriptor
deprecated
func (*LocalizedText) Descriptor() ([]byte, []int)
Deprecated: Use LocalizedText.ProtoReflect.Descriptor instead.
func (*LocalizedText) GetLanguageCode ¶
func (x *LocalizedText) GetLanguageCode() string
func (*LocalizedText) GetText ¶
func (x *LocalizedText) GetText() string
func (*LocalizedText) ProtoMessage ¶
func (*LocalizedText) ProtoMessage()
func (*LocalizedText) ProtoReflect ¶
func (x *LocalizedText) ProtoReflect() protoreflect.Message
func (*LocalizedText) Reset ¶
func (x *LocalizedText) Reset()
func (*LocalizedText) String ¶
func (x *LocalizedText) String() string
Click to show internal directories.
Click to hide internal directories.