genproto: google.golang.org/genproto/googleapis/type/localized_text Index | Files

package localized_text

import "google.golang.org/genproto/googleapis/type/localized_text"

Index

Package Files

localized_text.pb.go

Variables

var File_google_type_localized_text_proto protoreflect.FileDescriptor

type LocalizedText Uses

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 Uses

func (*LocalizedText) Descriptor() ([]byte, []int)

Deprecated: Use LocalizedText.ProtoReflect.Descriptor instead.

func (*LocalizedText) GetLanguageCode Uses

func (x *LocalizedText) GetLanguageCode() string

func (*LocalizedText) GetText Uses

func (x *LocalizedText) GetText() string

func (*LocalizedText) ProtoMessage Uses

func (*LocalizedText) ProtoMessage()

func (*LocalizedText) ProtoReflect Uses

func (x *LocalizedText) ProtoReflect() protoreflect.Message

func (*LocalizedText) Reset Uses

func (x *LocalizedText) Reset()

func (*LocalizedText) String Uses

func (x *LocalizedText) String() string

Package localized_text imports 5 packages (graph). Updated 2020-10-23. Refresh now. Tools for package owners.