one

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Language_name = map[int32]string{
		0: "UNKNOWN",
		1: "ENGLISH",
		3: "SPANISH",
		4: "FRENCH",
		5: "GERMAN",
	}
	Language_value = map[string]int32{
		"UNKNOWN": 0,
		"ENGLISH": 1,
		"SPANISH": 3,
		"FRENCH":  4,
		"GERMAN":  5,
	}
)

Enum value maps for Language.

View Source
var File_msg_one_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Language

type Language int32
const (
	Language_UNKNOWN Language = 0
	Language_ENGLISH Language = 1
	Language_SPANISH Language = 3
	Language_FRENCH  Language = 4
	Language_GERMAN  Language = 5
)

func (Language) Descriptor

func (Language) Descriptor() protoreflect.EnumDescriptor

func (Language) Enum

func (x Language) Enum() *Language

func (Language) EnumDescriptor deprecated

func (Language) EnumDescriptor() ([]byte, []int)

Deprecated: Use Language.Descriptor instead.

func (Language) Number

func (x Language) Number() protoreflect.EnumNumber

func (Language) String

func (x Language) String() string

func (Language) Type

type Message

type Message struct {
	Int32 int32 `protobuf:"varint,1,opt,name=int32,proto3" json:"int32,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetInt32

func (x *Message) GetInt32() int32

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Nop

type Nop struct {
	// contains filtered or unexported fields
}

func (*Nop) Descriptor deprecated

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

Deprecated: Use Nop.ProtoReflect.Descriptor instead.

func (*Nop) ProtoMessage

func (*Nop) ProtoMessage()

func (*Nop) ProtoReflect

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

func (*Nop) Reset

func (x *Nop) Reset()

func (*Nop) String

func (x *Nop) String() string

type Types

type Types struct {
	Int32     int32             `protobuf:"varint,1,opt,name=int32,proto3" json:"int32,omitempty"`
	Int64     int64             `protobuf:"varint,2,opt,name=int64,proto3" json:"int64,omitempty"`
	Uint32    uint32            `protobuf:"varint,3,opt,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64    uint64            `protobuf:"varint,4,opt,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32    int32             `protobuf:"zigzag32,5,opt,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64    int64             `protobuf:"zigzag64,6,opt,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32   uint32            `protobuf:"fixed32,7,opt,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64   uint64            `protobuf:"fixed64,8,opt,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32  int32             `protobuf:"fixed32,9,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64  int64             `protobuf:"fixed64,10,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Float     float32           `protobuf:"fixed32,11,opt,name=float,proto3" json:"float,omitempty"`
	Double    float64           `protobuf:"fixed64,12,opt,name=double,proto3" json:"double,omitempty"`
	Bool      bool              `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"`
	String_   string            `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"`
	Bytes     []byte            `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Message   *Message          `protobuf:"bytes,16,opt,name=message,proto3" json:"message,omitempty"`
	Language  Language          `protobuf:"varint,17,opt,name=language,proto3,enum=one.Language" json:"language,omitempty"`
	Int32S    []int32           `protobuf:"varint,18,rep,packed,name=int32s,proto3" json:"int32s,omitempty"`
	Int64S    []int64           `protobuf:"varint,19,rep,packed,name=int64s,proto3" json:"int64s,omitempty"`
	Uint32S   []uint32          `protobuf:"varint,20,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"`
	Uint64S   []uint64          `protobuf:"varint,21,rep,packed,name=uint64s,proto3" json:"uint64s,omitempty"`
	Sint32S   []int32           `protobuf:"zigzag32,22,rep,packed,name=sint32s,proto3" json:"sint32s,omitempty"`
	Sint64S   []int64           `protobuf:"zigzag64,23,rep,packed,name=sint64s,proto3" json:"sint64s,omitempty"`
	Fixed32S  []uint32          `protobuf:"fixed32,24,rep,packed,name=fixed32s,proto3" json:"fixed32s,omitempty"`
	Fixed64S  []uint64          `protobuf:"fixed64,25,rep,packed,name=fixed64s,proto3" json:"fixed64s,omitempty"`
	Sfixed32S []int32           `protobuf:"fixed32,26,rep,packed,name=sfixed32s,proto3" json:"sfixed32s,omitempty"`
	Sfixed64S []int64           `protobuf:"fixed64,27,rep,packed,name=sfixed64s,proto3" json:"sfixed64s,omitempty"`
	Floats    []float32         `protobuf:"fixed32,28,rep,packed,name=floats,proto3" json:"floats,omitempty"`
	Doubles   []float64         `protobuf:"fixed64,29,rep,packed,name=doubles,proto3" json:"doubles,omitempty"`
	Bools     []bool            `protobuf:"varint,30,rep,packed,name=bools,proto3" json:"bools,omitempty"`
	Strings   []string          `protobuf:"bytes,31,rep,name=strings,proto3" json:"strings,omitempty"`
	Bytess    [][]byte          `protobuf:"bytes,32,rep,name=bytess,proto3" json:"bytess,omitempty"`
	Messages  []*Message        `protobuf:"bytes,33,rep,name=messages,proto3" json:"messages,omitempty"`
	Languages []Language        `protobuf:"varint,34,rep,packed,name=languages,proto3,enum=one.Language" json:"languages,omitempty"`
	Values    map[string]string `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Types) Descriptor deprecated

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

Deprecated: Use Types.ProtoReflect.Descriptor instead.

func (*Types) GetBool

func (x *Types) GetBool() bool

func (*Types) GetBools

func (x *Types) GetBools() []bool

func (*Types) GetBytes

func (x *Types) GetBytes() []byte

func (*Types) GetBytess

func (x *Types) GetBytess() [][]byte

func (*Types) GetDouble

func (x *Types) GetDouble() float64

func (*Types) GetDoubles

func (x *Types) GetDoubles() []float64

func (*Types) GetFixed32

func (x *Types) GetFixed32() uint32

func (*Types) GetFixed32S

func (x *Types) GetFixed32S() []uint32

func (*Types) GetFixed64

func (x *Types) GetFixed64() uint64

func (*Types) GetFixed64S

func (x *Types) GetFixed64S() []uint64

func (*Types) GetFloat

func (x *Types) GetFloat() float32

func (*Types) GetFloats

func (x *Types) GetFloats() []float32

func (*Types) GetInt32

func (x *Types) GetInt32() int32

func (*Types) GetInt32S

func (x *Types) GetInt32S() []int32

func (*Types) GetInt64

func (x *Types) GetInt64() int64

func (*Types) GetInt64S

func (x *Types) GetInt64S() []int64

func (*Types) GetLanguage

func (x *Types) GetLanguage() Language

func (*Types) GetLanguages

func (x *Types) GetLanguages() []Language

func (*Types) GetMessage

func (x *Types) GetMessage() *Message

func (*Types) GetMessages

func (x *Types) GetMessages() []*Message

func (*Types) GetSfixed32

func (x *Types) GetSfixed32() int32

func (*Types) GetSfixed32S

func (x *Types) GetSfixed32S() []int32

func (*Types) GetSfixed64

func (x *Types) GetSfixed64() int64

func (*Types) GetSfixed64S

func (x *Types) GetSfixed64S() []int64

func (*Types) GetSint32

func (x *Types) GetSint32() int32

func (*Types) GetSint32S

func (x *Types) GetSint32S() []int32

func (*Types) GetSint64

func (x *Types) GetSint64() int64

func (*Types) GetSint64S

func (x *Types) GetSint64S() []int64

func (*Types) GetString_

func (x *Types) GetString_() string

func (*Types) GetStrings

func (x *Types) GetStrings() []string

func (*Types) GetUint32

func (x *Types) GetUint32() uint32

func (*Types) GetUint32S

func (x *Types) GetUint32S() []uint32

func (*Types) GetUint64

func (x *Types) GetUint64() uint64

func (*Types) GetUint64S

func (x *Types) GetUint64S() []uint64

func (*Types) GetValues

func (x *Types) GetValues() map[string]string

func (*Types) ProtoMessage

func (*Types) ProtoMessage()

func (*Types) ProtoReflect

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

func (*Types) Reset

func (x *Types) Reset()

func (*Types) String

func (x *Types) String() string

Jump to

Keyboard shortcuts

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