package localized_text
import "google.golang.org/genproto/googleapis/type/localized_text"
Index ¶
- Variables
- type LocalizedText
- func (*LocalizedText) Descriptor() ([]byte, []int)
- 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
Variables ¶
var File_google_type_localized_text_proto protoreflect.FileDescriptor
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 ¶
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
Source Files ¶
localized_text.pb.go
- Version
- v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.