localized_text

package
v0.0.0-...-6cb3ea0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL