protobuf: google.golang.org/protobuf/internal/testprotos/legacy/bug1052 Index | Files

package bug1052

import "google.golang.org/protobuf/internal/testprotos/legacy/bug1052"

Index

Package Files

bug1052.pb.go

Variables

var E_ExtensionEnum = &proto.ExtensionDesc{
    ExtendedType:  (*descriptor.MethodOptions)(nil),
    ExtensionType: (*Enum)(nil),
    Field:         5000,
    Name:          "goproto.proto.legacy.extension_enum",
    Tag:           "varint,5000,opt,name=extension_enum,enum=goproto.proto.legacy.Enum",
    Filename:      "internal/testprotos/legacy/bug1052/bug1052.proto",
}
var Enum_name = map[int32]string{
    0: "ZERO",
}
var Enum_value = map[string]int32{
    "ZERO": 0,
}

type Enum Uses

type Enum int32
const (
    Enum_ZERO Enum = 0
)

func (Enum) Enum Uses

func (x Enum) Enum() *Enum

func (Enum) EnumDescriptor Uses

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

func (Enum) String Uses

func (x Enum) String() string

func (*Enum) UnmarshalJSON Uses

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

Package bug1052 imports 4 packages (graph). Updated 2020-07-14. Refresh now. Tools for package owners.