github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/golang/protobuf/jsonpb/jsonpb_test_proto/more_test_objects.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: more_test_objects.proto 3 // DO NOT EDIT! 4 5 /* 6 Package jsonpb is a generated protocol buffer package. 7 8 It is generated from these files: 9 more_test_objects.proto 10 test_objects.proto 11 12 It has these top-level messages: 13 Simple3 14 Mappy 15 Simple 16 Repeats 17 Widget 18 Maps 19 MsgWithOneof 20 Real 21 Complex 22 KnownTypes 23 */ 24 package jsonpb 25 26 import proto "github.com/insionng/yougam/libraries/golang/protobuf/proto" 27 import fmt "fmt" 28 import math "math" 29 30 // Reference imports to suppress errors if they are not otherwise used. 31 var _ = proto.Marshal 32 var _ = fmt.Errorf 33 var _ = math.Inf 34 35 // This is a compile-time assertion to ensure that this generated file 36 // is compatible with the proto package it is being compiled against. 37 const _ = proto.ProtoPackageIsVersion1 38 39 type Numeral int32 40 41 const ( 42 Numeral_UNKNOWN Numeral = 0 43 Numeral_ARABIC Numeral = 1 44 Numeral_ROMAN Numeral = 2 45 ) 46 47 var Numeral_name = map[int32]string{ 48 0: "UNKNOWN", 49 1: "ARABIC", 50 2: "ROMAN", 51 } 52 var Numeral_value = map[string]int32{ 53 "UNKNOWN": 0, 54 "ARABIC": 1, 55 "ROMAN": 2, 56 } 57 58 func (x Numeral) String() string { 59 return proto.EnumName(Numeral_name, int32(x)) 60 } 61 func (Numeral) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 62 63 type Simple3 struct { 64 Dub float64 `protobuf:"fixed64,1,opt,name=dub" json:"dub,omitempty"` 65 } 66 67 func (m *Simple3) Reset() { *m = Simple3{} } 68 func (m *Simple3) String() string { return proto.CompactTextString(m) } 69 func (*Simple3) ProtoMessage() {} 70 func (*Simple3) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 71 72 type Mappy struct { 73 Nummy map[int64]int32 `protobuf:"bytes,1,rep,name=nummy" json:"nummy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` 74 Strry map[string]string `protobuf:"bytes,2,rep,name=strry" json:"strry,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 75 Objjy map[int32]*Simple3 `protobuf:"bytes,3,rep,name=objjy" json:"objjy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 76 Buggy map[int64]string `protobuf:"bytes,4,rep,name=buggy" json:"buggy,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 77 Booly map[bool]bool `protobuf:"bytes,5,rep,name=booly" json:"booly,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` 78 Enumy map[string]Numeral `protobuf:"bytes,6,rep,name=enumy" json:"enumy,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=jsonpb.Numeral"` 79 } 80 81 func (m *Mappy) Reset() { *m = Mappy{} } 82 func (m *Mappy) String() string { return proto.CompactTextString(m) } 83 func (*Mappy) ProtoMessage() {} 84 func (*Mappy) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 85 86 func (m *Mappy) GetNummy() map[int64]int32 { 87 if m != nil { 88 return m.Nummy 89 } 90 return nil 91 } 92 93 func (m *Mappy) GetStrry() map[string]string { 94 if m != nil { 95 return m.Strry 96 } 97 return nil 98 } 99 100 func (m *Mappy) GetObjjy() map[int32]*Simple3 { 101 if m != nil { 102 return m.Objjy 103 } 104 return nil 105 } 106 107 func (m *Mappy) GetBuggy() map[int64]string { 108 if m != nil { 109 return m.Buggy 110 } 111 return nil 112 } 113 114 func (m *Mappy) GetBooly() map[bool]bool { 115 if m != nil { 116 return m.Booly 117 } 118 return nil 119 } 120 121 func (m *Mappy) GetEnumy() map[string]Numeral { 122 if m != nil { 123 return m.Enumy 124 } 125 return nil 126 } 127 128 func init() { 129 proto.RegisterType((*Simple3)(nil), "jsonpb.Simple3") 130 proto.RegisterType((*Mappy)(nil), "jsonpb.Mappy") 131 proto.RegisterEnum("jsonpb.Numeral", Numeral_name, Numeral_value) 132 } 133 134 var fileDescriptor0 = []byte{ 135 // 357 bytes of a gzipped FileDescriptorProto 136 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x93, 0x4d, 0x4b, 0xc3, 0x40, 137 0x10, 0x86, 0x4d, 0xe2, 0xa6, 0xcd, 0x14, 0x34, 0x2c, 0x82, 0x8b, 0x5e, 0x4a, 0x41, 0x28, 0x82, 138 0x39, 0xb4, 0x97, 0xe2, 0xad, 0x95, 0x1e, 0x8a, 0x34, 0x85, 0x14, 0xf1, 0x58, 0x1a, 0x5d, 0x8a, 139 0x31, 0xc9, 0x86, 0x7c, 0x08, 0xfb, 0x83, 0xfc, 0x9f, 0x32, 0x9b, 0xd4, 0xc4, 0xb2, 0xe0, 0x6d, 140 0x92, 0xf7, 0x79, 0xc2, 0xec, 0x1b, 0x16, 0xae, 0x13, 0x91, 0xf3, 0x5d, 0xc9, 0x8b, 0x72, 0x27, 141 0xc2, 0x88, 0xbf, 0x95, 0x85, 0x97, 0xe5, 0xa2, 0x14, 0xd4, 0x8e, 0x0a, 0x91, 0x66, 0xe1, 0xe8, 142 0x16, 0x7a, 0xdb, 0x8f, 0x24, 0x8b, 0xf9, 0x94, 0xba, 0x60, 0xbd, 0x57, 0x21, 0x33, 0x86, 0xc6, 143 0xd8, 0x08, 0x70, 0x1c, 0x7d, 0x13, 0x20, 0xeb, 0x7d, 0x96, 0x49, 0xea, 0x01, 0x49, 0xab, 0x24, 144 0x91, 0xcc, 0x18, 0x5a, 0xe3, 0xc1, 0x84, 0x79, 0xb5, 0xee, 0xa9, 0xd4, 0xf3, 0x31, 0x5a, 0xa6, 145 0x65, 0x2e, 0x83, 0x1a, 0x43, 0xbe, 0x28, 0xf3, 0x5c, 0x32, 0x53, 0xc7, 0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