1// Code generated by protoc-gen-gogo. DO NOT EDIT. 2// source: issue438.proto 3 4package issue438 5 6import ( 7 fmt "fmt" 8 _ "github.com/gogo/protobuf/gogoproto" 9 proto "github.com/gogo/protobuf/proto" 10 types "github.com/gogo/protobuf/types" 11 math "math" 12 math_bits "math/bits" 13) 14 15// Reference imports to suppress errors if they are not otherwise used. 16var _ = proto.Marshal 17var _ = fmt.Errorf 18var _ = math.Inf 19 20// This is a compile-time assertion to ensure that this generated file 21// is compatible with the proto package it is being compiled against. 22// A compilation error at this line likely means your copy of the 23// proto package needs to be updated. 24const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package 25 26type Types struct { 27 Any *types.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` 28 Api *types.Api `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` 29 Met *types.Method `protobuf:"bytes,3,opt,name=met,proto3" json:"met,omitempty"` 30 Mx *types.Mixin `protobuf:"bytes,4,opt,name=mx,proto3" json:"mx,omitempty"` 31 Dur *types.Duration `protobuf:"bytes,5,opt,name=dur,proto3" json:"dur,omitempty"` 32 Em *types.Empty `protobuf:"bytes,6,opt,name=em,proto3" json:"em,omitempty"` 33 Fm *types.FieldMask `protobuf:"bytes,7,opt,name=fm,proto3" json:"fm,omitempty"` 34 Sc *types.SourceContext `protobuf:"bytes,8,opt,name=sc,proto3" json:"sc,omitempty"` 35 St *types.Struct `protobuf:"bytes,9,opt,name=st,proto3" json:"st,omitempty"` 36 Val *types.Value `protobuf:"bytes,10,opt,name=val,proto3" json:"val,omitempty"` 37 Nlval types.NullValue `protobuf:"varint,11,opt,name=nlval,proto3,enum=google.protobuf.NullValue" json:"nlval,omitempty"` 38 Stval *types.StringValue `protobuf:"bytes,12,opt,name=stval,proto3" json:"stval,omitempty"` 39 Bval *types.BoolValue `protobuf:"bytes,13,opt,name=bval,proto3" json:"bval,omitempty"` 40 Strval *types.Struct `protobuf:"bytes,14,opt,name=strval,proto3" json:"strval,omitempty"` 41 Lstv *types.ListValue `protobuf:"bytes,15,opt,name=lstv,proto3" json:"lstv,omitempty"` 42 Ts *types.Timestamp `protobuf:"bytes,16,opt,name=ts,proto3" json:"ts,omitempty"` 43 T *types.Type `protobuf:"bytes,17,opt,name=t,proto3" json:"t,omitempty"` 44 F *types.Field `protobuf:"bytes,18,opt,name=f,proto3" json:"f,omitempty"` 45 En *types.Enum `protobuf:"bytes,19,opt,name=en,proto3" json:"en,omitempty"` 46 Enval *types.EnumValue `protobuf:"bytes,20,opt,name=enval,proto3" json:"enval,omitempty"` 47 Opt *types.Option `protobuf:"bytes,21,opt,name=opt,proto3" json:"opt,omitempty"` 48 Dbl *types.DoubleValue `protobuf:"bytes,22,opt,name=dbl,proto3" json:"dbl,omitempty"` 49 Flt *types.FloatValue `protobuf:"bytes,23,opt,name=flt,proto3" json:"flt,omitempty"` 50 I64 *types.Int64Value `protobuf:"bytes,24,opt,name=i64,proto3" json:"i64,omitempty"` 51 U64 *types.UInt64Value `protobuf:"bytes,25,opt,name=u64,proto3" json:"u64,omitempty"` 52 I32 *types.Int32Value `protobuf:"bytes,26,opt,name=i32,proto3" json:"i32,omitempty"` 53 U32 *types.UInt32Value `protobuf:"bytes,27,opt,name=u32,proto3" json:"u32,omitempty"` 54 Bool *types.BoolValue `protobuf:"bytes,28,opt,name=bool,proto3" json:"bool,omitempty"` 55 Str *types.StringValue `protobuf:"bytes,29,opt,name=str,proto3" json:"str,omitempty"` 56 Bytes *types.BytesValue `protobuf:"bytes,30,opt,name=bytes,proto3" json:"bytes,omitempty"` 57 XXX_NoUnkeyedLiteral struct{} `json:"-"` 58 XXX_unrecognized []byte `json:"-"` 59 XXX_sizecache int32 `json:"-"` 60} 61 62func (m *Types) Reset() { *m = Types{} } 63func (m *Types) String() string { return proto.CompactTextString(m) } 64func (*Types) ProtoMessage() {} 65func (*Types) Descriptor() ([]byte, []int) { 66 return fileDescriptor_43147f0c8dedbac4, []int{0} 67} 68func (m *Types) XXX_Unmarshal(b []byte) error { 69 return xxx_messageInfo_Types.Unmarshal(m, b) 70} 71func (m *Types) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 72 return xxx_messageInfo_Types.Marshal(b, m, deterministic) 73} 74func (m *Types) XXX_Merge(src proto.Message) { 75 xxx_messageInfo_Types.Merge(m, src) 76} 77func (m *Types) XXX_Size() int { 78 return xxx_messageInfo_Types.Size(m) 79} 80func (m *Types) XXX_DiscardUnknown() { 81 xxx_messageInfo_Types.DiscardUnknown(m) 82} 83 84var xxx_messageInfo_Types proto.InternalMessageInfo 85 86func (m *Types) GetAny() *types.Any { 87 if m != nil { 88 return m.Any 89 } 90 return nil 91} 92 93func (m *Types) GetApi() *types.Api { 94 if m != nil { 95 return m.Api 96 } 97 return nil 98} 99 100func (m *Types) GetMet() *types.Method { 101 if m != nil { 102 return m.Met 103 } 104 return nil 105} 106 107func (m *Types) GetMx() *types.Mixin { 108 if m != nil { 109 return m.Mx 110 } 111 return nil 112} 113 114func (m *Types) GetDur() *types.Duration { 115 if m != nil { 116 return m.Dur 117 } 118 return nil 119} 120 121func (m *Types) GetEm() *types.Empty { 122 if m != nil { 123 return m.Em 124 } 125 return nil 126} 127 128func (m *Types) GetFm() *types.FieldMask { 129 if m != nil { 130 return m.Fm 131 } 132 return nil 133} 134 135func (m *Types) GetSc() *types.SourceContext { 136 if m != nil { 137 return m.Sc 138 } 139 return nil 140} 141 142func (m *Types) GetSt() *types.Struct { 143 if m != nil { 144 return m.St 145 } 146 return nil 147} 148 149func (m *Types) GetVal() *types.Value { 150 if m != nil { 151 return m.Val 152 } 153 return nil 154} 155 156func (m *Types) GetNlval() types.NullValue { 157 if m != nil { 158 return m.Nlval 159 } 160 return types.NullValue_NULL_VALUE 161} 162 163func (m *Types) GetStval() *types.StringValue { 164 if m != nil { 165 return m.Stval 166 } 167 return nil 168} 169 170func (m *Types) GetBval() *types.BoolValue { 171 if m != nil { 172 return m.Bval 173 } 174 return nil 175} 176 177func (m *Types) GetStrval() *types.Struct { 178 if m != nil { 179 return m.Strval 180 } 181 return nil 182} 183 184func (m *Types) GetLstv() *types.ListValue { 185 if m != nil { 186 return m.Lstv 187 } 188 return nil 189} 190 191func (m *Types) GetTs() *types.Timestamp { 192 if m != nil { 193 return m.Ts 194 } 195 return nil 196} 197 198func (m *Types) GetT() *types.Type { 199 if m != nil { 200 return m.T 201 } 202 return nil 203} 204 205func (m *Types) GetF() *types.Field { 206 if m != nil { 207 return m.F 208 } 209 return nil 210} 211 212func (m *Types) GetEn() *types.Enum { 213 if m != nil { 214 return m.En 215 } 216 return nil 217} 218 219func (m *Types) GetEnval() *types.EnumValue { 220 if m != nil { 221 return m.Enval 222 } 223 return nil 224} 225 226func (m *Types) GetOpt() *types.Option { 227 if m != nil { 228 return m.Opt 229 } 230 return nil 231} 232 233func (m *Types) GetDbl() *types.DoubleValue { 234 if m != nil { 235 return m.Dbl 236 } 237 return nil 238} 239 240func (m *Types) GetFlt() *types.FloatValue { 241 if m != nil { 242 return m.Flt 243 } 244 return nil 245} 246 247func (m *Types) GetI64() *types.Int64Value { 248 if m != nil { 249 return m.I64 250 } 251 return nil 252} 253 254func (m *Types) GetU64() *types.UInt64Value { 255 if m != nil { 256 return m.U64 257 } 258 return nil 259} 260 261func (m *Types) GetI32() *types.Int32Value { 262 if m != nil { 263 return m.I32 264 } 265 return nil 266} 267 268func (m *Types) GetU32() *types.UInt32Value { 269 if m != nil { 270 return m.U32 271 } 272 return nil 273} 274 275func (m *Types) GetBool() *types.BoolValue { 276 if m != nil { 277 return m.Bool 278 } 279 return nil 280} 281 282func (m *Types) GetStr() *types.StringValue { 283 if m != nil { 284 return m.Str 285 } 286 return nil 287} 288 289func (m *Types) GetBytes() *types.BytesValue { 290 if m != nil { 291 return m.Bytes 292 } 293 return nil 294} 295 296func init() { 297 proto.RegisterType((*Types)(nil), "issue438.Types") 298} 299 300func init() { proto.RegisterFile("issue438.proto", fileDescriptor_43147f0c8dedbac4) } 301 302var fileDescriptor_43147f0c8dedbac4 = []byte{ 303 // 682 bytes of a gzipped FileDescriptorProto 304 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd3, 0xef, 0x4e, 0x14, 0x3b, 305 0x14, 0x00, 0xf0, 0x3b, 0x33, 0x2c, 0x97, 0x5b, 0xae, 0xa8, 0x95, 0x3f, 0x65, 0xc1, 0x95, 0x28, 306 0x22, 0x6a, 0x18, 0x74, 0x77, 0xb3, 0xf1, 0xab, 0x08, 0x26, 0x26, 0xa2, 0x49, 0x41, 0xbf, 0x92, 307 0x99, 0xdd, 0xce, 0xd2, 0xd0, 0x99, 0x36, 0xd3, 0x16, 0x77, 0xde, 0xc6, 0x47, 0xf2, 0x11, 0x8c, 308 0xbe, 0x88, 0x69, 0xa7, 0xab, 0x66, 0x87, 0x12, 0xbe, 0xcd, 0xe4, 0xfc, 0xce, 0x69, 0x7b, 0x4e, 309 0x0b, 0x96, 0xa8, 0x94, 0x9a, 0xf4, 0x7b, 0xaf, 0x62, 0x51, 0x72, 0xc5, 0xe1, 0xc2, 0xf4, 0xbf, 310 0xbd, 0x37, 0xa6, 0xea, 0x5c, 0xa7, 0xf1, 0x90, 0xe7, 0xfb, 0x63, 0x3e, 0xe6, 0xfb, 0x16, 0xa4, 311 0x3a, 0xb3, 0x7f, 0xf6, 0xc7, 0x7e, 0xd5, 0x89, 0xed, 0xf5, 0x31, 0xe7, 0x63, 0x46, 0xfe, 0xa8, 312 0xa4, 0xa8, 0xbc, 0x21, 0x41, 0x5d, 0xa8, 0x33, 0x1b, 0x1a, 0xe9, 0x32, 0x51, 0x94, 0x17, 0x2e, 313 0xbe, 0x31, 0x1b, 0x27, 0xb9, 0x50, 0xd3, 0xba, 0x5b, 0xb3, 0xc1, 0x8c, 0x12, 0x36, 0x3a, 0xcb, 314 0x13, 0x79, 0xe1, 0xc4, 0xf6, 0xac, 0x90, 0x5c, 0x97, 0x43, 0x72, 0x36, 0xe4, 0x85, 0x22, 0x13, 315 0xe5, 0xd4, 0x66, 0x43, 0xa9, 0x52, 0x0f, 0xa7, 0xd1, 0x07, 0xb3, 0x51, 0x45, 0x73, 0x22, 0x55, 316 0x92, 0x0b, 0x07, 0xda, 0x0d, 0x50, 0x09, 0xe2, 0x3b, 0xdf, 0x97, 0x32, 0x11, 0x82, 0x94, 0xb2, 317 0x8e, 0x3f, 0xfc, 0x06, 0x40, 0xeb, 0xb4, 0x12, 0x44, 0xc2, 0x1d, 0x10, 0x25, 0x45, 0x85, 0x82, 318 0xad, 0x60, 0x77, 0xb1, 0xbb, 0x1c, 0xd7, 0x79, 0xf1, 0x34, 0x2f, 0x7e, 0x5d, 0x54, 0xd8, 0x00, 319 0xeb, 0x04, 0x45, 0xa1, 0xcf, 0x09, 0x8a, 0x0d, 0x80, 0x4f, 0x41, 0x94, 0x13, 0x85, 0x22, 0xeb, 320 0xd6, 0x1a, 0xee, 0x98, 0xa8, 0x73, 0x3e, 0xc2, 0xc6, 0xc0, 0x1d, 0x10, 0xe6, 0x13, 0x34, 0x67, 321 0xe5, 0x6a, 0x53, 0xd2, 0x09, 0x2d, 0x70, 0x98, 0x4f, 0xe0, 0x73, 0x10, 0x8d, 0x74, 0x89, 0x5a, 322 0x16, 0xae, 0x37, 0xe0, 0xa1, 0x1b, 0x1d, 0x36, 0xca, 0x14, 0x25, 0x39, 0x9a, 0xf7, 0x14, 0x3d, 323 0x32, 0x63, 0xc4, 0x21, 0xc9, 0xe1, 0x33, 0x10, 0x66, 0x39, 0xfa, 0xd7, 0xba, 0x76, 0xc3, 0xbd, 324 0x35, 0x13, 0x3d, 0x4e, 0xe4, 0x05, 0x0e, 0xb3, 0x1c, 0xc6, 0x20, 0x94, 0x43, 0xb4, 0x60, 0x6d, 325 0xa7, 0x61, 0x4f, 0xec, 0x6c, 0xdf, 0xd4, 0xa3, 0xc5, 0xa1, 0x1c, 0xc2, 0x27, 0x20, 0x94, 0x0a, 326 0xfd, 0xe7, 0x69, 0xc1, 0x89, 0x9d, 0x32, 0x0e, 0xa5, 0x82, 0xbb, 0x20, 0xba, 0x4c, 0x18, 0x02, 327 0x9e, 0xdd, 0x7e, 0x4e, 0x98, 0x26, 0xd8, 0x10, 0xf8, 0x02, 0xb4, 0x0a, 0x66, 0xec, 0xe2, 0x56, 328 0xb0, 0xbb, 0x74, 0xc5, 0x8e, 0x3f, 0x68, 0xc6, 0x6a, 0x5f, 0x43, 0xd8, 0x05, 0x2d, 0xa9, 0x4c, 329 0xc6, 0xff, 0xb6, 0xfa, 0xe6, 0x55, 0xfb, 0xa0, 0xc5, 0xd8, 0xe5, 0x58, 0x0a, 0x63, 0x30, 0x97, 330 0x9a, 0x94, 0x5b, 0x9e, 0xb6, 0x1c, 0x70, 0xee, 0x16, 0xb1, 0x0e, 0xee, 0x83, 0x79, 0xa9, 0x4a, 331 0x93, 0xb1, 0x74, 0xfd, 0x61, 0x1d, 0x33, 0x0b, 0x30, 0xa9, 0x2e, 0xd1, 0x6d, 0xcf, 0x02, 0xef, 332 0xa9, 0x54, 0x6e, 0x01, 0xe3, 0xcc, 0x94, 0x94, 0x44, 0x77, 0x3c, 0xfa, 0x74, 0xfa, 0x22, 0x70, 333 0xa8, 0x24, 0x7c, 0x04, 0x02, 0x85, 0xee, 0x5a, 0xba, 0xd2, 0xa4, 0x95, 0x20, 0x38, 0x50, 0x70, 334 0x1b, 0x04, 0x19, 0x82, 0x9e, 0x7e, 0xdb, 0xa9, 0xe3, 0x20, 0x83, 0x8f, 0x41, 0x48, 0x0a, 0x74, 335 0xcf, 0x53, 0xeb, 0xa8, 0xd0, 0x39, 0x0e, 0x49, 0x61, 0x86, 0x42, 0x0a, 0x73, 0xfa, 0x65, 0xcf, 336 0x06, 0x8d, 0x74, 0x0d, 0xb6, 0xd0, 0xbc, 0x0e, 0x2e, 0x14, 0x5a, 0xf1, 0x74, 0xeb, 0xa3, 0xa8, 337 0x2f, 0x32, 0x17, 0x0a, 0xc6, 0x20, 0x1a, 0xa5, 0x0c, 0xad, 0x7a, 0xa6, 0x77, 0xc8, 0x75, 0xca, 338 0x88, 0xbb, 0x21, 0xa3, 0x94, 0xc1, 0x3d, 0x10, 0x65, 0x4c, 0xa1, 0x35, 0xeb, 0x37, 0x9a, 0x67, 339 0x63, 0x3c, 0x71, 0xad, 0x35, 0xce, 0x70, 0x3a, 0xe8, 0x23, 0xe4, 0xe1, 0xef, 0x0a, 0x35, 0xe8, 340 0x3b, 0x4e, 0x07, 0x7d, 0xb3, 0x1b, 0x3d, 0xe8, 0xa3, 0x75, 0xcf, 0x6e, 0x3e, 0xfd, 0xed, 0xf5, 341 0xa0, 0x6f, 0xcb, 0xf7, 0xba, 0xa8, 0xed, 0x2f, 0xdf, 0xeb, 0x4e, 0xcb, 0xf7, 0xba, 0xb6, 0x7c, 342 0xaf, 0x8b, 0x36, 0xae, 0x29, 0xff, 0xdb, 0x6b, 0xeb, 0xe7, 0x52, 0xce, 0x19, 0xda, 0xbc, 0xc1, 343 0x45, 0xe5, 0xdc, 0xdc, 0xbb, 0x48, 0xaa, 0x12, 0xdd, 0xbf, 0xc1, 0x53, 0x30, 0x10, 0xbe, 0x04, 344 0xad, 0xb4, 0x52, 0x44, 0xa2, 0x8e, 0xe7, 0x00, 0x07, 0x26, 0xea, 0x46, 0x6b, 0xe5, 0xc1, 0xc2, 345 0xf7, 0x1f, 0x9d, 0x7f, 0xbe, 0xfe, 0xec, 0x04, 0xe9, 0xbc, 0x55, 0xbd, 0x5f, 0x01, 0x00, 0x00, 346 0xff, 0xff, 0x99, 0xa8, 0x9a, 0xae, 0xe4, 0x06, 0x00, 0x00, 347} 348 349func (m *Types) ProtoSize() (n int) { 350 if m == nil { 351 return 0 352 } 353 var l int 354 _ = l 355 if m.Any != nil { 356 l = m.Any.ProtoSize() 357 n += 1 + l + sovIssue438(uint64(l)) 358 } 359 if m.Api != nil { 360 l = m.Api.ProtoSize() 361 n += 1 + l + sovIssue438(uint64(l)) 362 } 363 if m.Met != nil { 364 l = m.Met.ProtoSize() 365 n += 1 + l + sovIssue438(uint64(l)) 366 } 367 if m.Mx != nil { 368 l = m.Mx.ProtoSize() 369 n += 1 + l + sovIssue438(uint64(l)) 370 } 371 if m.Dur != nil { 372 l = m.Dur.ProtoSize() 373 n += 1 + l + sovIssue438(uint64(l)) 374 } 375 if m.Em != nil { 376 l = m.Em.ProtoSize() 377 n += 1 + l + sovIssue438(uint64(l)) 378 } 379 if m.Fm != nil { 380 l = m.Fm.ProtoSize() 381 n += 1 + l + sovIssue438(uint64(l)) 382 } 383 if m.Sc != nil { 384 l = m.Sc.ProtoSize() 385 n += 1 + l + sovIssue438(uint64(l)) 386 } 387 if m.St != nil { 388 l = m.St.ProtoSize() 389 n += 1 + l + sovIssue438(uint64(l)) 390 } 391 if m.Val != nil { 392 l = m.Val.ProtoSize() 393 n += 1 + l + sovIssue438(uint64(l)) 394 } 395 if m.Nlval != 0 { 396 n += 1 + sovIssue438(uint64(m.Nlval)) 397 } 398 if m.Stval != nil { 399 l = m.Stval.ProtoSize() 400 n += 1 + l + sovIssue438(uint64(l)) 401 } 402 if m.Bval != nil { 403 l = m.Bval.ProtoSize() 404 n += 1 + l + sovIssue438(uint64(l)) 405 } 406 if m.Strval != nil { 407 l = m.Strval.ProtoSize() 408 n += 1 + l + sovIssue438(uint64(l)) 409 } 410 if m.Lstv != nil { 411 l = m.Lstv.ProtoSize() 412 n += 1 + l + sovIssue438(uint64(l)) 413 } 414 if m.Ts != nil { 415 l = m.Ts.ProtoSize() 416 n += 2 + l + sovIssue438(uint64(l)) 417 } 418 if m.T != nil { 419 l = m.T.ProtoSize() 420 n += 2 + l + sovIssue438(uint64(l)) 421 } 422 if m.F != nil { 423 l = m.F.ProtoSize() 424 n += 2 + l + sovIssue438(uint64(l)) 425 } 426 if m.En != nil { 427 l = m.En.ProtoSize() 428 n += 2 + l + sovIssue438(uint64(l)) 429 } 430 if m.Enval != nil { 431 l = m.Enval.ProtoSize() 432 n += 2 + l + sovIssue438(uint64(l)) 433 } 434 if m.Opt != nil { 435 l = m.Opt.ProtoSize() 436 n += 2 + l + sovIssue438(uint64(l)) 437 } 438 if m.Dbl != nil { 439 l = m.Dbl.ProtoSize() 440 n += 2 + l + sovIssue438(uint64(l)) 441 } 442 if m.Flt != nil { 443 l = m.Flt.ProtoSize() 444 n += 2 + l + sovIssue438(uint64(l)) 445 } 446 if m.I64 != nil { 447 l = m.I64.ProtoSize() 448 n += 2 + l + sovIssue438(uint64(l)) 449 } 450 if m.U64 != nil { 451 l = m.U64.ProtoSize() 452 n += 2 + l + sovIssue438(uint64(l)) 453 } 454 if m.I32 != nil { 455 l = m.I32.ProtoSize() 456 n += 2 + l + sovIssue438(uint64(l)) 457 } 458 if m.U32 != nil { 459 l = m.U32.ProtoSize() 460 n += 2 + l + sovIssue438(uint64(l)) 461 } 462 if m.Bool != nil { 463 l = m.Bool.ProtoSize() 464 n += 2 + l + sovIssue438(uint64(l)) 465 } 466 if m.Str != nil { 467 l = m.Str.ProtoSize() 468 n += 2 + l + sovIssue438(uint64(l)) 469 } 470 if m.Bytes != nil { 471 l = m.Bytes.ProtoSize() 472 n += 2 + l + sovIssue438(uint64(l)) 473 } 474 if m.XXX_unrecognized != nil { 475 n += len(m.XXX_unrecognized) 476 } 477 return n 478} 479 480func sovIssue438(x uint64) (n int) { 481 return (math_bits.Len64(x|1) + 6) / 7 482} 483func sozIssue438(x uint64) (n int) { 484 return sovIssue438(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 485} 486