1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: multi/multi3.proto 3 4package multitest 5 6import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10) 11 12// Reference imports to suppress errors if they are not otherwise used. 13var _ = proto.Marshal 14var _ = fmt.Errorf 15var _ = math.Inf 16 17// This is a compile-time assertion to ensure that this generated file 18// is compatible with the proto package it is being compiled against. 19// A compilation error at this line likely means your copy of the 20// proto package needs to be updated. 21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23type Multi3_HatType int32 24 25const ( 26 Multi3_FEDORA Multi3_HatType = 1 27 Multi3_FEZ Multi3_HatType = 2 28) 29 30var Multi3_HatType_name = map[int32]string{ 31 1: "FEDORA", 32 2: "FEZ", 33} 34 35var Multi3_HatType_value = map[string]int32{ 36 "FEDORA": 1, 37 "FEZ": 2, 38} 39 40func (x Multi3_HatType) Enum() *Multi3_HatType { 41 p := new(Multi3_HatType) 42 *p = x 43 return p 44} 45 46func (x Multi3_HatType) String() string { 47 return proto.EnumName(Multi3_HatType_name, int32(x)) 48} 49 50func (x *Multi3_HatType) UnmarshalJSON(data []byte) error { 51 value, err := proto.UnmarshalJSONEnum(Multi3_HatType_value, data, "Multi3_HatType") 52 if err != nil { 53 return err 54 } 55 *x = Multi3_HatType(value) 56 return nil 57} 58 59func (Multi3_HatType) EnumDescriptor() ([]byte, []int) { 60 return fileDescriptor_580398fc0bbeeaa7, []int{0, 0} 61} 62 63type Multi3 struct { 64 HatType *Multi3_HatType `protobuf:"varint,1,opt,name=hat_type,json=hatType,enum=multitest.Multi3_HatType" json:"hat_type,omitempty"` 65 XXX_NoUnkeyedLiteral struct{} `json:"-"` 66 XXX_unrecognized []byte `json:"-"` 67 XXX_sizecache int32 `json:"-"` 68} 69 70func (m *Multi3) Reset() { *m = Multi3{} } 71func (m *Multi3) String() string { return proto.CompactTextString(m) } 72func (*Multi3) ProtoMessage() {} 73func (*Multi3) Descriptor() ([]byte, []int) { 74 return fileDescriptor_580398fc0bbeeaa7, []int{0} 75} 76 77func (m *Multi3) XXX_Unmarshal(b []byte) error { 78 return xxx_messageInfo_Multi3.Unmarshal(m, b) 79} 80func (m *Multi3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 81 return xxx_messageInfo_Multi3.Marshal(b, m, deterministic) 82} 83func (m *Multi3) XXX_Merge(src proto.Message) { 84 xxx_messageInfo_Multi3.Merge(m, src) 85} 86func (m *Multi3) XXX_Size() int { 87 return xxx_messageInfo_Multi3.Size(m) 88} 89func (m *Multi3) XXX_DiscardUnknown() { 90 xxx_messageInfo_Multi3.DiscardUnknown(m) 91} 92 93var xxx_messageInfo_Multi3 proto.InternalMessageInfo 94 95func (m *Multi3) GetHatType() Multi3_HatType { 96 if m != nil && m.HatType != nil { 97 return *m.HatType 98 } 99 return Multi3_FEDORA 100} 101 102func init() { 103 proto.RegisterEnum("multitest.Multi3_HatType", Multi3_HatType_name, Multi3_HatType_value) 104 proto.RegisterType((*Multi3)(nil), "multitest.Multi3") 105} 106 107func init() { proto.RegisterFile("multi/multi3.proto", fileDescriptor_580398fc0bbeeaa7) } 108 109var fileDescriptor_580398fc0bbeeaa7 = []byte{ 110 // 170 bytes of a gzipped FileDescriptorProto 111 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xca, 0x2d, 0xcd, 0x29, 112 0xc9, 0xd4, 0x07, 0x93, 0xc6, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x9c, 0x60, 0x5e, 0x49, 113 0x6a, 0x71, 0x89, 0x52, 0x1c, 0x17, 0x9b, 0x2f, 0x58, 0x4a, 0xc8, 0x84, 0x8b, 0x23, 0x23, 0xb1, 114 0x24, 0xbe, 0xa4, 0xb2, 0x20, 0x55, 0x82, 0x51, 0x81, 0x51, 0x83, 0xcf, 0x48, 0x52, 0x0f, 0xae, 115 0x4e, 0x0f, 0xa2, 0x48, 0xcf, 0x23, 0xb1, 0x24, 0xa4, 0xb2, 0x20, 0x35, 0x88, 0x3d, 0x03, 0xc2, 116 0x50, 0x92, 0xe3, 0x62, 0x87, 0x8a, 0x09, 0x71, 0x71, 0xb1, 0xb9, 0xb9, 0xba, 0xf8, 0x07, 0x39, 117 0x0a, 0x30, 0x0a, 0xb1, 0x73, 0x31, 0xbb, 0xb9, 0x46, 0x09, 0x30, 0x39, 0x39, 0x47, 0x39, 0xa6, 118 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 119 0xeb, 0x83, 0x5d, 0x91, 0x54, 0x9a, 0x06, 0x61, 0x24, 0xeb, 0xa6, 0xa7, 0xe6, 0xe9, 0xa6, 0xe7, 120 0xeb, 0x83, 0x2c, 0x4a, 0x49, 0x2c, 0x49, 0x84, 0x38, 0xd6, 0x1a, 0x6e, 0x39, 0x20, 0x00, 0x00, 121 0xff, 0xff, 0xd5, 0xa4, 0x1a, 0x0e, 0xc4, 0x00, 0x00, 0x00, 122} 123