1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: more_test_objects.proto 3 4package jsonpb 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 Numeral int32 24 25const ( 26 Numeral_UNKNOWN Numeral = 0 27 Numeral_ARABIC Numeral = 1 28 Numeral_ROMAN Numeral = 2 29) 30 31var Numeral_name = map[int32]string{ 32 0: "UNKNOWN", 33 1: "ARABIC", 34 2: "ROMAN", 35} 36 37var Numeral_value = map[string]int32{ 38 "UNKNOWN": 0, 39 "ARABIC": 1, 40 "ROMAN": 2, 41} 42 43func (x Numeral) String() string { 44 return proto.EnumName(Numeral_name, int32(x)) 45} 46 47func (Numeral) EnumDescriptor() ([]byte, []int) { 48 return fileDescriptor_e6c135db3023e377, []int{0} 49} 50 51type Simple3 struct { 52 Dub float64 `protobuf:"fixed64,1,opt,name=dub,proto3" json:"dub,omitempty"` 53 XXX_NoUnkeyedLiteral struct{} `json:"-"` 54 XXX_unrecognized []byte `json:"-"` 55 XXX_sizecache int32 `json:"-"` 56} 57 58func (m *Simple3) Reset() { *m = Simple3{} } 59func (m *Simple3) String() string { return proto.CompactTextString(m) } 60func (*Simple3) ProtoMessage() {} 61func (*Simple3) Descriptor() ([]byte, []int) { 62 return fileDescriptor_e6c135db3023e377, []int{0} 63} 64 65func (m *Simple3) XXX_Unmarshal(b []byte) error { 66 return xxx_messageInfo_Simple3.Unmarshal(m, b) 67} 68func (m *Simple3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 69 return xxx_messageInfo_Simple3.Marshal(b, m, deterministic) 70} 71func (m *Simple3) XXX_Merge(src proto.Message) { 72 xxx_messageInfo_Simple3.Merge(m, src) 73} 74func (m *Simple3) XXX_Size() int { 75 return xxx_messageInfo_Simple3.Size(m) 76} 77func (m *Simple3) XXX_DiscardUnknown() { 78 xxx_messageInfo_Simple3.DiscardUnknown(m) 79} 80 81var xxx_messageInfo_Simple3 proto.InternalMessageInfo 82 83func (m *Simple3) GetDub() float64 { 84 if m != nil { 85 return m.Dub 86 } 87 return 0 88} 89 90type SimpleSlice3 struct { 91 Slices []string `protobuf:"bytes,1,rep,name=slices,proto3" json:"slices,omitempty"` 92 XXX_NoUnkeyedLiteral struct{} `json:"-"` 93 XXX_unrecognized []byte `json:"-"` 94 XXX_sizecache int32 `json:"-"` 95} 96 97func (m *SimpleSlice3) Reset() { *m = SimpleSlice3{} } 98func (m *SimpleSlice3) String() string { return proto.CompactTextString(m) } 99func (*SimpleSlice3) ProtoMessage() {} 100func (*SimpleSlice3) Descriptor() ([]byte, []int) { 101 return fileDescriptor_e6c135db3023e377, []int{1} 102} 103 104func (m *SimpleSlice3) XXX_Unmarshal(b []byte) error { 105 return xxx_messageInfo_SimpleSlice3.Unmarshal(m, b) 106} 107func (m *SimpleSlice3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 108 return xxx_messageInfo_SimpleSlice3.Marshal(b, m, deterministic) 109} 110func (m *SimpleSlice3) XXX_Merge(src proto.Message) { 111 xxx_messageInfo_SimpleSlice3.Merge(m, src) 112} 113func (m *SimpleSlice3) XXX_Size() int { 114 return xxx_messageInfo_SimpleSlice3.Size(m) 115} 116func (m *SimpleSlice3) XXX_DiscardUnknown() { 117 xxx_messageInfo_SimpleSlice3.DiscardUnknown(m) 118} 119 120var xxx_messageInfo_SimpleSlice3 proto.InternalMessageInfo 121 122func (m *SimpleSlice3) GetSlices() []string { 123 if m != nil { 124 return m.Slices 125 } 126 return nil 127} 128 129type SimpleMap3 struct { 130 Stringy map[string]string `protobuf:"bytes,1,rep,name=stringy,proto3" json:"stringy,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 131 XXX_NoUnkeyedLiteral struct{} `json:"-"` 132 XXX_unrecognized []byte `json:"-"` 133 XXX_sizecache int32 `json:"-"` 134} 135 136func (m *SimpleMap3) Reset() { *m = SimpleMap3{} } 137func (m *SimpleMap3) String() string { return proto.CompactTextString(m) } 138func (*SimpleMap3) ProtoMessage() {} 139func (*SimpleMap3) Descriptor() ([]byte, []int) { 140 return fileDescriptor_e6c135db3023e377, []int{2} 141} 142 143func (m *SimpleMap3) XXX_Unmarshal(b []byte) error { 144 return xxx_messageInfo_SimpleMap3.Unmarshal(m, b) 145} 146func (m *SimpleMap3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 147 return xxx_messageInfo_SimpleMap3.Marshal(b, m, deterministic) 148} 149func (m *SimpleMap3) XXX_Merge(src proto.Message) { 150 xxx_messageInfo_SimpleMap3.Merge(m, src) 151} 152func (m *SimpleMap3) XXX_Size() int { 153 return xxx_messageInfo_SimpleMap3.Size(m) 154} 155func (m *SimpleMap3) XXX_DiscardUnknown() { 156 xxx_messageInfo_SimpleMap3.DiscardUnknown(m) 157} 158 159var xxx_messageInfo_SimpleMap3 proto.InternalMessageInfo 160 161func (m *SimpleMap3) GetStringy() map[string]string { 162 if m != nil { 163 return m.Stringy 164 } 165 return nil 166} 167 168type SimpleNull3 struct { 169 Simple *Simple3 `protobuf:"bytes,1,opt,name=simple,proto3" json:"simple,omitempty"` 170 XXX_NoUnkeyedLiteral struct{} `json:"-"` 171 XXX_unrecognized []byte `json:"-"` 172 XXX_sizecache int32 `json:"-"` 173} 174 175func (m *SimpleNull3) Reset() { *m = SimpleNull3{} } 176func (m *SimpleNull3) String() string { return proto.CompactTextString(m) } 177func (*SimpleNull3) ProtoMessage() {} 178func (*SimpleNull3) Descriptor() ([]byte, []int) { 179 return fileDescriptor_e6c135db3023e377, []int{3} 180} 181 182func (m *SimpleNull3) XXX_Unmarshal(b []byte) error { 183 return xxx_messageInfo_SimpleNull3.Unmarshal(m, b) 184} 185func (m *SimpleNull3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 186 return xxx_messageInfo_SimpleNull3.Marshal(b, m, deterministic) 187} 188func (m *SimpleNull3) XXX_Merge(src proto.Message) { 189 xxx_messageInfo_SimpleNull3.Merge(m, src) 190} 191func (m *SimpleNull3) XXX_Size() int { 192 return xxx_messageInfo_SimpleNull3.Size(m) 193} 194func (m *SimpleNull3) XXX_DiscardUnknown() { 195 xxx_messageInfo_SimpleNull3.DiscardUnknown(m) 196} 197 198var xxx_messageInfo_SimpleNull3 proto.InternalMessageInfo 199 200func (m *SimpleNull3) GetSimple() *Simple3 { 201 if m != nil { 202 return m.Simple 203 } 204 return nil 205} 206 207type Mappy struct { 208 Nummy map[int64]int32 `protobuf:"bytes,1,rep,name=nummy,proto3" json:"nummy,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 209 Strry map[string]string `protobuf:"bytes,2,rep,name=strry,proto3" json:"strry,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 210 Objjy map[int32]*Simple3 `protobuf:"bytes,3,rep,name=objjy,proto3" json:"objjy,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 211 Buggy map[int64]string `protobuf:"bytes,4,rep,name=buggy,proto3" json:"buggy,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 212 Booly map[bool]bool `protobuf:"bytes,5,rep,name=booly,proto3" json:"booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 213 Enumy map[string]Numeral `protobuf:"bytes,6,rep,name=enumy,proto3" json:"enumy,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=jsonpb.Numeral"` 214 S32Booly map[int32]bool `protobuf:"bytes,7,rep,name=s32booly,proto3" json:"s32booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 215 S64Booly map[int64]bool `protobuf:"bytes,8,rep,name=s64booly,proto3" json:"s64booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 216 U32Booly map[uint32]bool `protobuf:"bytes,9,rep,name=u32booly,proto3" json:"u32booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 217 U64Booly map[uint64]bool `protobuf:"bytes,10,rep,name=u64booly,proto3" json:"u64booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 218 XXX_NoUnkeyedLiteral struct{} `json:"-"` 219 XXX_unrecognized []byte `json:"-"` 220 XXX_sizecache int32 `json:"-"` 221} 222 223func (m *Mappy) Reset() { *m = Mappy{} } 224func (m *Mappy) String() string { return proto.CompactTextString(m) } 225func (*Mappy) ProtoMessage() {} 226func (*Mappy) Descriptor() ([]byte, []int) { 227 return fileDescriptor_e6c135db3023e377, []int{4} 228} 229 230func (m *Mappy) XXX_Unmarshal(b []byte) error { 231 return xxx_messageInfo_Mappy.Unmarshal(m, b) 232} 233func (m *Mappy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 234 return xxx_messageInfo_Mappy.Marshal(b, m, deterministic) 235} 236func (m *Mappy) XXX_Merge(src proto.Message) { 237 xxx_messageInfo_Mappy.Merge(m, src) 238} 239func (m *Mappy) XXX_Size() int { 240 return xxx_messageInfo_Mappy.Size(m) 241} 242func (m *Mappy) XXX_DiscardUnknown() { 243 xxx_messageInfo_Mappy.DiscardUnknown(m) 244} 245 246var xxx_messageInfo_Mappy proto.InternalMessageInfo 247 248func (m *Mappy) GetNummy() map[int64]int32 { 249 if m != nil { 250 return m.Nummy 251 } 252 return nil 253} 254 255func (m *Mappy) GetStrry() map[string]string { 256 if m != nil { 257 return m.Strry 258 } 259 return nil 260} 261 262func (m *Mappy) GetObjjy() map[int32]*Simple3 { 263 if m != nil { 264 return m.Objjy 265 } 266 return nil 267} 268 269func (m *Mappy) GetBuggy() map[int64]string { 270 if m != nil { 271 return m.Buggy 272 } 273 return nil 274} 275 276func (m *Mappy) GetBooly() map[bool]bool { 277 if m != nil { 278 return m.Booly 279 } 280 return nil 281} 282 283func (m *Mappy) GetEnumy() map[string]Numeral { 284 if m != nil { 285 return m.Enumy 286 } 287 return nil 288} 289 290func (m *Mappy) GetS32Booly() map[int32]bool { 291 if m != nil { 292 return m.S32Booly 293 } 294 return nil 295} 296 297func (m *Mappy) GetS64Booly() map[int64]bool { 298 if m != nil { 299 return m.S64Booly 300 } 301 return nil 302} 303 304func (m *Mappy) GetU32Booly() map[uint32]bool { 305 if m != nil { 306 return m.U32Booly 307 } 308 return nil 309} 310 311func (m *Mappy) GetU64Booly() map[uint64]bool { 312 if m != nil { 313 return m.U64Booly 314 } 315 return nil 316} 317 318func init() { 319 proto.RegisterEnum("jsonpb.Numeral", Numeral_name, Numeral_value) 320 proto.RegisterType((*Simple3)(nil), "jsonpb.Simple3") 321 proto.RegisterType((*SimpleSlice3)(nil), "jsonpb.SimpleSlice3") 322 proto.RegisterType((*SimpleMap3)(nil), "jsonpb.SimpleMap3") 323 proto.RegisterMapType((map[string]string)(nil), "jsonpb.SimpleMap3.StringyEntry") 324 proto.RegisterType((*SimpleNull3)(nil), "jsonpb.SimpleNull3") 325 proto.RegisterType((*Mappy)(nil), "jsonpb.Mappy") 326 proto.RegisterMapType((map[bool]bool)(nil), "jsonpb.Mappy.BoolyEntry") 327 proto.RegisterMapType((map[int64]string)(nil), "jsonpb.Mappy.BuggyEntry") 328 proto.RegisterMapType((map[string]Numeral)(nil), "jsonpb.Mappy.EnumyEntry") 329 proto.RegisterMapType((map[int64]int32)(nil), "jsonpb.Mappy.NummyEntry") 330 proto.RegisterMapType((map[int32]*Simple3)(nil), "jsonpb.Mappy.ObjjyEntry") 331 proto.RegisterMapType((map[int32]bool)(nil), "jsonpb.Mappy.S32boolyEntry") 332 proto.RegisterMapType((map[int64]bool)(nil), "jsonpb.Mappy.S64boolyEntry") 333 proto.RegisterMapType((map[string]string)(nil), "jsonpb.Mappy.StrryEntry") 334 proto.RegisterMapType((map[uint32]bool)(nil), "jsonpb.Mappy.U32boolyEntry") 335 proto.RegisterMapType((map[uint64]bool)(nil), "jsonpb.Mappy.U64boolyEntry") 336} 337 338func init() { proto.RegisterFile("more_test_objects.proto", fileDescriptor_e6c135db3023e377) } 339 340var fileDescriptor_e6c135db3023e377 = []byte{ 341 // 526 bytes of a gzipped FileDescriptorProto 342 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdd, 0x6b, 0xdb, 0x3c, 343 0x14, 0x87, 0x5f, 0x27, 0xf5, 0xd7, 0x49, 0xfb, 0x2e, 0x88, 0xb1, 0x99, 0xf4, 0x62, 0xc5, 0xb0, 344 0xad, 0x0c, 0xe6, 0x8b, 0x78, 0x74, 0x5d, 0x77, 0x95, 0x8e, 0x5e, 0x94, 0x11, 0x07, 0x1c, 0xc2, 345 0x2e, 0x4b, 0xdc, 0x99, 0x90, 0xcc, 0x5f, 0xd8, 0xd6, 0xc0, 0xd7, 0xfb, 0xbb, 0x07, 0xe3, 0x48, 346 0x72, 0x2d, 0x07, 0x85, 0x6c, 0x77, 0x52, 0x7e, 0xcf, 0xe3, 0x73, 0x24, 0x1d, 0x02, 0x2f, 0xd3, 347 0xbc, 0x8c, 0x1f, 0xea, 0xb8, 0xaa, 0x1f, 0xf2, 0x68, 0x17, 0x3f, 0xd6, 0x95, 0x57, 0x94, 0x79, 348 0x9d, 0x13, 0x63, 0x57, 0xe5, 0x59, 0x11, 0xb9, 0xe7, 0x60, 0x2e, 0xb7, 0x69, 0x91, 0xc4, 0x3e, 349 0x19, 0xc3, 0xf0, 0x3b, 0x8d, 0x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x82, 0x8c, 0xc0, 372 0x5c, 0x05, 0x5f, 0x83, 0xc5, 0xb7, 0x60, 0xfc, 0x1f, 0x01, 0x30, 0x66, 0xe1, 0xec, 0xf6, 0xfe, 373 0xcb, 0x58, 0x23, 0x36, 0xe8, 0xe1, 0x62, 0x3e, 0x0b, 0xc6, 0x83, 0xc8, 0x60, 0x7f, 0xe0, 0xfe, 374 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x84, 0x34, 0xaf, 0xdb, 0x05, 0x00, 0x00, 375} 376