// Code generated by protoc-gen-gogo. // source: enumprefix.proto // DO NOT EDIT! /* Package enumprefix is a generated protocol buffer package. It is generated from these files: enumprefix.proto It has these top-level messages: MyMessage */ package enumprefix import proto "QmfH4HuZyN1p2wQLWWkXC91Z76435xKrBVfLQ2MY8ayG5R/gogo-protobuf/proto" import fmt "fmt" import math "math" import test "QmfH4HuZyN1p2wQLWWkXC91Z76435xKrBVfLQ2MY8ayG5R/gogo-protobuf/test" // discarding unused import gogoproto "github.com/gogo/protobuf/gogoproto" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf type MyMessage struct { TheField test.TheTestEnum `protobuf:"varint,1,opt,name=TheField,enum=test.TheTestEnum" json:"TheField"` XXX_unrecognized []byte `json:"-"` } func (m *MyMessage) Reset() { *m = MyMessage{} } func (m *MyMessage) String() string { return proto.CompactTextString(m) } func (*MyMessage) ProtoMessage() {} func (m *MyMessage) GetTheField() test.TheTestEnum { if m != nil { return m.TheField } return test.A }