pkg

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Foo_name = map[int32]string{
	0: "ABC",
	1: "DEF",
	2: "GHI",
	3: "JKL",
	4: "MNO",
	5: "PQR",
	6: "STU",
	7: "VWX",
	8: "Y_Z",
}
View Source
var Foo_value = map[string]int32{
	"ABC": 0,
	"DEF": 1,
	"GHI": 2,
	"JKL": 3,
	"MNO": 4,
	"PQR": 5,
	"STU": 6,
	"VWX": 7,
	"Y_Z": 8,
}

Functions

This section is empty.

Types

type Bar

type Bar struct {
	Baz                  []Foo    `protobuf:"varint,1,rep,name=baz,enum=jhump.protoreflect.desc.Foo" json:"baz,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Bar) Descriptor

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

func (*Bar) GetBaz

func (m *Bar) GetBaz() []Foo

func (*Bar) ProtoMessage

func (*Bar) ProtoMessage()

func (*Bar) Reset

func (m *Bar) Reset()

func (*Bar) String

func (m *Bar) String() string

func (*Bar) XXX_DiscardUnknown

func (m *Bar) XXX_DiscardUnknown()

func (*Bar) XXX_Marshal

func (m *Bar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bar) XXX_Merge

func (m *Bar) XXX_Merge(src proto.Message)

func (*Bar) XXX_Size

func (m *Bar) XXX_Size() int

func (*Bar) XXX_Unmarshal

func (m *Bar) XXX_Unmarshal(b []byte) error

type Foo

type Foo int32
const (
	Foo_ABC Foo = 0
	Foo_DEF Foo = 1
	Foo_GHI Foo = 2
	Foo_JKL Foo = 3
	Foo_MNO Foo = 4
	Foo_PQR Foo = 5
	Foo_STU Foo = 6
	Foo_VWX Foo = 7
	Foo_Y_Z Foo = 8
)

func (Foo) Enum

func (x Foo) Enum() *Foo

func (Foo) EnumDescriptor

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

func (Foo) String

func (x Foo) String() string

func (*Foo) UnmarshalJSON

func (x *Foo) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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