api

package
v0.0.0-...-81fab84 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Apple_Size_name = map[int32]string{
		0: "SIZE_UNDEFINED",
		4: "BIG",
		5: "MID",
		6: "SMALL",
	}
	Apple_Size_value = map[string]int32{
		"SIZE_UNDEFINED": 0,
		"BIG":            4,
		"MID":            5,
		"SMALL":          6,
	}
)

Enum value maps for Apple_Size.

View Source
var File_api_apple_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Apple

type Apple struct {
	Number int32      `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Name   string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Size   Apple_Size `protobuf:"varint,3,opt,name=size,proto3,enum=api.Apple_Size" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*Apple) Descriptor deprecated

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

Deprecated: Use Apple.ProtoReflect.Descriptor instead.

func (*Apple) GetName

func (x *Apple) GetName() string

func (*Apple) GetNumber

func (x *Apple) GetNumber() int32

func (*Apple) GetSize

func (x *Apple) GetSize() Apple_Size

func (*Apple) ProtoMessage

func (*Apple) ProtoMessage()

func (*Apple) ProtoReflect

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

func (*Apple) Reset

func (x *Apple) Reset()

func (*Apple) String

func (x *Apple) String() string

type Apple_Size

type Apple_Size int32
const (
	Apple_SIZE_UNDEFINED Apple_Size = 0
	Apple_BIG            Apple_Size = 4
	Apple_MID            Apple_Size = 5
	Apple_SMALL          Apple_Size = 6
)

func (Apple_Size) Descriptor

func (Apple_Size) Descriptor() protoreflect.EnumDescriptor

func (Apple_Size) Enum

func (x Apple_Size) Enum() *Apple_Size

func (Apple_Size) EnumDescriptor deprecated

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

Deprecated: Use Apple_Size.Descriptor instead.

func (Apple_Size) Number

func (x Apple_Size) Number() protoreflect.EnumNumber

func (Apple_Size) String

func (x Apple_Size) String() string

func (Apple_Size) Type

Directories

Path Synopsis
Package operation is a reverse proxy.
Package operation is a reverse proxy.

Jump to

Keyboard shortcuts

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