| 1 |
// Code generated by protoc-gen-gogo. DO NOT EDIT. |
| 2 |
// source: combos/neither/one.proto |
| 3 |
|
| 4 |
package one |
| 5 |
|
| 6 |
import ( |
| 7 |
bytes "bytes" |
| 8 |
compress_gzip "compress/gzip" |
| 9 |
fmt "fmt" |
| 10 |
_ "github.com/gogo/protobuf/gogoproto" |
| 11 |
github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" |
| 12 |
proto "github.com/gogo/protobuf/proto" |
| 13 |
github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" |
| 14 |
github_com_gogo_protobuf_test_casttype "github.com/gogo/protobuf/test/casttype" |
| 15 |
github_com_gogo_protobuf_test_custom "github.com/gogo/protobuf/test/custom" |
| 16 |
io_ioutil "io/ioutil" |
| 17 |
math "math" |
| 18 |
math_bits "math/bits" |
| 19 |
reflect "reflect" |
| 20 |
strings "strings" |
| 21 |
) |
| 22 |
|
| 23 |
// Reference imports to suppress errors if they are not otherwise used. |
| 24 |
var _ = proto.Marshal |
| 25 |
var _ = fmt.Errorf |
| 26 |
var _ = math.Inf |
| 27 |
|
| 28 |
// This is a compile-time assertion to ensure that this generated file |
| 29 |
// is compatible with the proto package it is being compiled against. |
| 30 |
// A compilation error at this line likely means your copy of the |
| 31 |
// proto package needs to be updated. |
| 32 |
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package |
| 33 |
|
| 34 |
type Subby struct { |
| 35 |
Sub *string `protobuf:"bytes,1,opt,name=sub" json:"sub,omitempty"` |
| 36 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 37 |
XXX_unrecognized []byte `json:"-"` |
| 38 |
XXX_sizecache int32 `json:"-"` |
| 39 |
} |
| 40 |
|
| 41 |
func (m *Subby) Reset() { *m = Subby{} } |
| 42 |
func (*Subby) ProtoMessage() {} |
| 43 |
func (*Subby) Descriptor() ([]byte, []int) { |
| 44 |
return fileDescriptor_e4ee9759a7520144, []int{0} |
| 45 |
} |
| 46 |
func (m *Subby) XXX_Unmarshal(b []byte) error { |
| 47 |
return xxx_messageInfo_Subby.Unmarshal(m, b) |
| 48 |
} |
| 49 |
func (m *Subby) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 50 |
return xxx_messageInfo_Subby.Marshal(b, m, deterministic) |
| 51 |
} |
| 52 |
func (m *Subby) XXX_Merge(src proto.Message) { |
| 53 |
xxx_messageInfo_Subby.Merge(m, src) |
| 54 |
} |
| 55 |
func (m *Subby) XXX_Size() int { |
| 56 |
return xxx_messageInfo_Subby.Size(m) |
| 57 |
} |
| 58 |
func (m *Subby) XXX_DiscardUnknown() { |
| 59 |
xxx_messageInfo_Subby.DiscardUnknown(m) |
| 60 |
} |
| 61 |
|
| 62 |
var xxx_messageInfo_Subby proto.InternalMessageInfo |
| 63 |
|
| 64 |
type AllTypesOneOf struct { |
| 65 |
// Types that are valid to be assigned to TestOneof: |
| 66 |
// *AllTypesOneOf_Field1 |
| 67 |
// *AllTypesOneOf_Field2 |
| 68 |
// *AllTypesOneOf_Field3 |
| 69 |
// *AllTypesOneOf_Field4 |
| 70 |
// *AllTypesOneOf_Field5 |
| 71 |
// *AllTypesOneOf_Field6 |
| 72 |
// *AllTypesOneOf_Field7 |
| 73 |
// *AllTypesOneOf_Field8 |
| 74 |
// *AllTypesOneOf_Field9 |
| 75 |
// *AllTypesOneOf_Field10 |
| 76 |
// *AllTypesOneOf_Field11 |
| 77 |
// *AllTypesOneOf_Field12 |
| 78 |
// *AllTypesOneOf_Field13 |
| 79 |
// *AllTypesOneOf_Field14 |
| 80 |
// *AllTypesOneOf_Field15 |
| 81 |
// *AllTypesOneOf_SubMessage |
| 82 |
TestOneof isAllTypesOneOf_TestOneof `protobuf_oneof:"test_oneof"` |
| 83 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 84 |
XXX_unrecognized []byte `json:"-"` |
| 85 |
XXX_sizecache int32 `json:"-"` |
| 86 |
} |
| 87 |
|
| 88 |
func (m *AllTypesOneOf) Reset() { *m = AllTypesOneOf{} } |
| 89 |
func (*AllTypesOneOf) ProtoMessage() {} |
| 90 |
func (*AllTypesOneOf) Descriptor() ([]byte, []int) { |
| 91 |
return fileDescriptor_e4ee9759a7520144, []int{1} |
| 92 |
} |
| 93 |
func (m *AllTypesOneOf) XXX_Unmarshal(b []byte) error { |
| 94 |
return xxx_messageInfo_AllTypesOneOf.Unmarshal(m, b) |
| 95 |
} |
| 96 |
func (m *AllTypesOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 97 |
return xxx_messageInfo_AllTypesOneOf.Marshal(b, m, deterministic) |
| 98 |
} |
| 99 |
func (m *AllTypesOneOf) XXX_Merge(src proto.Message) { |
| 100 |
xxx_messageInfo_AllTypesOneOf.Merge(m, src) |
| 101 |
} |
| 102 |
func (m *AllTypesOneOf) XXX_Size() int { |
| 103 |
return xxx_messageInfo_AllTypesOneOf.Size(m) |
| 104 |
} |
| 105 |
func (m *AllTypesOneOf) XXX_DiscardUnknown() { |
| 106 |
xxx_messageInfo_AllTypesOneOf.DiscardUnknown(m) |
| 107 |
} |
| 108 |
|
| 109 |
var xxx_messageInfo_AllTypesOneOf proto.InternalMessageInfo |
| 110 |
|
| 111 |
type isAllTypesOneOf_TestOneof interface { |
| 112 |
isAllTypesOneOf_TestOneof() |
| 113 |
Equal(interface{}) bool |
| 114 |
VerboseEqual(interface{}) error |
| 115 |
Size() int |
| 116 |
Compare(interface{}) int |
| 117 |
} |
| 118 |
|
| 119 |
type AllTypesOneOf_Field1 struct { |
| 120 |
Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof" json:"Field1,omitempty"` |
| 121 |
} |
| 122 |
type AllTypesOneOf_Field2 struct { |
| 123 |
Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof" json:"Field2,omitempty"` |
| 124 |
} |
| 125 |
type AllTypesOneOf_Field3 struct { |
| 126 |
Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof" json:"Field3,omitempty"` |
| 127 |
} |
| 128 |
type AllTypesOneOf_Field4 struct { |
| 129 |
Field4 int64 `protobuf:"varint,4,opt,name=Field4,oneof" json:"Field4,omitempty"` |
| 130 |
} |
| 131 |
type AllTypesOneOf_Field5 struct { |
| 132 |
Field5 uint32 `protobuf:"varint,5,opt,name=Field5,oneof" json:"Field5,omitempty"` |
| 133 |
} |
| 134 |
type AllTypesOneOf_Field6 struct { |
| 135 |
Field6 uint64 `protobuf:"varint,6,opt,name=Field6,oneof" json:"Field6,omitempty"` |
| 136 |
} |
| 137 |
type AllTypesOneOf_Field7 struct { |
| 138 |
Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,oneof" json:"Field7,omitempty"` |
| 139 |
} |
| 140 |
type AllTypesOneOf_Field8 struct { |
| 141 |
Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,oneof" json:"Field8,omitempty"` |
| 142 |
} |
| 143 |
type AllTypesOneOf_Field9 struct { |
| 144 |
Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,oneof" json:"Field9,omitempty"` |
| 145 |
} |
| 146 |
type AllTypesOneOf_Field10 struct { |
| 147 |
Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,oneof" json:"Field10,omitempty"` |
| 148 |
} |
| 149 |
type AllTypesOneOf_Field11 struct { |
| 150 |
Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,oneof" json:"Field11,omitempty"` |
| 151 |
} |
| 152 |
type AllTypesOneOf_Field12 struct { |
| 153 |
Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,oneof" json:"Field12,omitempty"` |
| 154 |
} |
| 155 |
type AllTypesOneOf_Field13 struct { |
| 156 |
Field13 bool `protobuf:"varint,13,opt,name=Field13,oneof" json:"Field13,omitempty"` |
| 157 |
} |
| 158 |
type AllTypesOneOf_Field14 struct { |
| 159 |
Field14 string `protobuf:"bytes,14,opt,name=Field14,oneof" json:"Field14,omitempty"` |
| 160 |
} |
| 161 |
type AllTypesOneOf_Field15 struct { |
| 162 |
Field15 []byte `protobuf:"bytes,15,opt,name=Field15,oneof" json:"Field15,omitempty"` |
| 163 |
} |
| 164 |
type AllTypesOneOf_SubMessage struct { |
| 165 |
SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,oneof" json:"sub_message,omitempty"` |
| 166 |
} |
| 167 |
|
| 168 |
func (*AllTypesOneOf_Field1) isAllTypesOneOf_TestOneof() {} |
| 169 |
func (*AllTypesOneOf_Field2) isAllTypesOneOf_TestOneof() {} |
| 170 |
func (*AllTypesOneOf_Field3) isAllTypesOneOf_TestOneof() {} |
| 171 |
func (*AllTypesOneOf_Field4) isAllTypesOneOf_TestOneof() {} |
| 172 |
func (*AllTypesOneOf_Field5) isAllTypesOneOf_TestOneof() {} |
| 173 |
func (*AllTypesOneOf_Field6) isAllTypesOneOf_TestOneof() {} |
| 174 |
func (*AllTypesOneOf_Field7) isAllTypesOneOf_TestOneof() {} |
| 175 |
func (*AllTypesOneOf_Field8) isAllTypesOneOf_TestOneof() {} |
| 176 |
func (*AllTypesOneOf_Field9) isAllTypesOneOf_TestOneof() {} |
| 177 |
func (*AllTypesOneOf_Field10) isAllTypesOneOf_TestOneof() {} |
| 178 |
func (*AllTypesOneOf_Field11) isAllTypesOneOf_TestOneof() {} |
| 179 |
func (*AllTypesOneOf_Field12) isAllTypesOneOf_TestOneof() {} |
| 180 |
func (*AllTypesOneOf_Field13) isAllTypesOneOf_TestOneof() {} |
| 181 |
func (*AllTypesOneOf_Field14) isAllTypesOneOf_TestOneof() {} |
| 182 |
func (*AllTypesOneOf_Field15) isAllTypesOneOf_TestOneof() {} |
| 183 |
func (*AllTypesOneOf_SubMessage) isAllTypesOneOf_TestOneof() {} |
| 184 |
|
| 185 |
func (m *AllTypesOneOf) GetTestOneof() isAllTypesOneOf_TestOneof { |
| 186 |
if m != nil { |
| 187 |
return m.TestOneof |
| 188 |
} |
| 189 |
return nil |
| 190 |
} |
| 191 |
|
| 192 |
func (m *AllTypesOneOf) GetField1() float64 { |
| 193 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field1); ok { |
| 194 |
return x.Field1 |
| 195 |
} |
| 196 |
return 0 |
| 197 |
} |
| 198 |
|
| 199 |
func (m *AllTypesOneOf) GetField2() float32 { |
| 200 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field2); ok { |
| 201 |
return x.Field2 |
| 202 |
} |
| 203 |
return 0 |
| 204 |
} |
| 205 |
|
| 206 |
func (m *AllTypesOneOf) GetField3() int32 { |
| 207 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field3); ok { |
| 208 |
return x.Field3 |
| 209 |
} |
| 210 |
return 0 |
| 211 |
} |
| 212 |
|
| 213 |
func (m *AllTypesOneOf) GetField4() int64 { |
| 214 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field4); ok { |
| 215 |
return x.Field4 |
| 216 |
} |
| 217 |
return 0 |
| 218 |
} |
| 219 |
|
| 220 |
func (m *AllTypesOneOf) GetField5() uint32 { |
| 221 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field5); ok { |
| 222 |
return x.Field5 |
| 223 |
} |
| 224 |
return 0 |
| 225 |
} |
| 226 |
|
| 227 |
func (m *AllTypesOneOf) GetField6() uint64 { |
| 228 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field6); ok { |
| 229 |
return x.Field6 |
| 230 |
} |
| 231 |
return 0 |
| 232 |
} |
| 233 |
|
| 234 |
func (m *AllTypesOneOf) GetField7() int32 { |
| 235 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field7); ok { |
| 236 |
return x.Field7 |
| 237 |
} |
| 238 |
return 0 |
| 239 |
} |
| 240 |
|
| 241 |
func (m *AllTypesOneOf) GetField8() int64 { |
| 242 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field8); ok { |
| 243 |
return x.Field8 |
| 244 |
} |
| 245 |
return 0 |
| 246 |
} |
| 247 |
|
| 248 |
func (m *AllTypesOneOf) GetField9() uint32 { |
| 249 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field9); ok { |
| 250 |
return x.Field9 |
| 251 |
} |
| 252 |
return 0 |
| 253 |
} |
| 254 |
|
| 255 |
func (m *AllTypesOneOf) GetField10() int32 { |
| 256 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field10); ok { |
| 257 |
return x.Field10 |
| 258 |
} |
| 259 |
return 0 |
| 260 |
} |
| 261 |
|
| 262 |
func (m *AllTypesOneOf) GetField11() uint64 { |
| 263 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field11); ok { |
| 264 |
return x.Field11 |
| 265 |
} |
| 266 |
return 0 |
| 267 |
} |
| 268 |
|
| 269 |
func (m *AllTypesOneOf) GetField12() int64 { |
| 270 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field12); ok { |
| 271 |
return x.Field12 |
| 272 |
} |
| 273 |
return 0 |
| 274 |
} |
| 275 |
|
| 276 |
func (m *AllTypesOneOf) GetField13() bool { |
| 277 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field13); ok { |
| 278 |
return x.Field13 |
| 279 |
} |
| 280 |
return false |
| 281 |
} |
| 282 |
|
| 283 |
func (m *AllTypesOneOf) GetField14() string { |
| 284 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field14); ok { |
| 285 |
return x.Field14 |
| 286 |
} |
| 287 |
return "" |
| 288 |
} |
| 289 |
|
| 290 |
func (m *AllTypesOneOf) GetField15() []byte { |
| 291 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field15); ok { |
| 292 |
return x.Field15 |
| 293 |
} |
| 294 |
return nil |
| 295 |
} |
| 296 |
|
| 297 |
func (m *AllTypesOneOf) GetSubMessage() *Subby { |
| 298 |
if x, ok := m.GetTestOneof().(*AllTypesOneOf_SubMessage); ok { |
| 299 |
return x.SubMessage |
| 300 |
} |
| 301 |
return nil |
| 302 |
} |
| 303 |
|
| 304 |
// XXX_OneofWrappers is for the internal use of the proto package. |
| 305 |
func (*AllTypesOneOf) XXX_OneofWrappers() []interface{} { |
| 306 |
return []interface{}{ |
| 307 |
(*AllTypesOneOf_Field1)(nil), |
| 308 |
(*AllTypesOneOf_Field2)(nil), |
| 309 |
(*AllTypesOneOf_Field3)(nil), |
| 310 |
(*AllTypesOneOf_Field4)(nil), |
| 311 |
(*AllTypesOneOf_Field5)(nil), |
| 312 |
(*AllTypesOneOf_Field6)(nil), |
| 313 |
(*AllTypesOneOf_Field7)(nil), |
| 314 |
(*AllTypesOneOf_Field8)(nil), |
| 315 |
(*AllTypesOneOf_Field9)(nil), |
| 316 |
(*AllTypesOneOf_Field10)(nil), |
| 317 |
(*AllTypesOneOf_Field11)(nil), |
| 318 |
(*AllTypesOneOf_Field12)(nil), |
| 319 |
(*AllTypesOneOf_Field13)(nil), |
| 320 |
(*AllTypesOneOf_Field14)(nil), |
| 321 |
(*AllTypesOneOf_Field15)(nil), |
| 322 |
(*AllTypesOneOf_SubMessage)(nil), |
| 323 |
} |
| 324 |
} |
| 325 |
|
| 326 |
type TwoOneofs struct { |
| 327 |
// Types that are valid to be assigned to One: |
| 328 |
// *TwoOneofs_Field1 |
| 329 |
// *TwoOneofs_Field2 |
| 330 |
// *TwoOneofs_Field3 |
| 331 |
One isTwoOneofs_One `protobuf_oneof:"one"` |
| 332 |
// Types that are valid to be assigned to Two: |
| 333 |
// *TwoOneofs_Field34 |
| 334 |
// *TwoOneofs_Field35 |
| 335 |
// *TwoOneofs_SubMessage2 |
| 336 |
Two isTwoOneofs_Two `protobuf_oneof:"two"` |
| 337 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 338 |
XXX_unrecognized []byte `json:"-"` |
| 339 |
XXX_sizecache int32 `json:"-"` |
| 340 |
} |
| 341 |
|
| 342 |
func (m *TwoOneofs) Reset() { *m = TwoOneofs{} } |
| 343 |
func (*TwoOneofs) ProtoMessage() {} |
| 344 |
func (*TwoOneofs) Descriptor() ([]byte, []int) { |
| 345 |
return fileDescriptor_e4ee9759a7520144, []int{2} |
| 346 |
} |
| 347 |
func (m *TwoOneofs) XXX_Unmarshal(b []byte) error { |
| 348 |
return xxx_messageInfo_TwoOneofs.Unmarshal(m, b) |
| 349 |
} |
| 350 |
func (m *TwoOneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 351 |
return xxx_messageInfo_TwoOneofs.Marshal(b, m, deterministic) |
| 352 |
} |
| 353 |
func (m *TwoOneofs) XXX_Merge(src proto.Message) { |
| 354 |
xxx_messageInfo_TwoOneofs.Merge(m, src) |
| 355 |
} |
| 356 |
func (m *TwoOneofs) XXX_Size() int { |
| 357 |
return xxx_messageInfo_TwoOneofs.Size(m) |
| 358 |
} |
| 359 |
func (m *TwoOneofs) XXX_DiscardUnknown() { |
| 360 |
xxx_messageInfo_TwoOneofs.DiscardUnknown(m) |
| 361 |
} |
| 362 |
|
| 363 |
var xxx_messageInfo_TwoOneofs proto.InternalMessageInfo |
| 364 |
|
| 365 |
type isTwoOneofs_One interface { |
| 366 |
isTwoOneofs_One() |
| 367 |
Equal(interface{}) bool |
| 368 |
VerboseEqual(interface{}) error |
| 369 |
Size() int |
| 370 |
Compare(interface{}) int |
| 371 |
} |
| 372 |
type isTwoOneofs_Two interface { |
| 373 |
isTwoOneofs_Two() |
| 374 |
Equal(interface{}) bool |
| 375 |
VerboseEqual(interface{}) error |
| 376 |
Size() int |
| 377 |
Compare(interface{}) int |
| 378 |
} |
| 379 |
|
| 380 |
type TwoOneofs_Field1 struct { |
| 381 |
Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof" json:"Field1,omitempty"` |
| 382 |
} |
| 383 |
type TwoOneofs_Field2 struct { |
| 384 |
Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof" json:"Field2,omitempty"` |
| 385 |
} |
| 386 |
type TwoOneofs_Field3 struct { |
| 387 |
Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof" json:"Field3,omitempty"` |
| 388 |
} |
| 389 |
type TwoOneofs_Field34 struct { |
| 390 |
Field34 string `protobuf:"bytes,34,opt,name=Field34,oneof" json:"Field34,omitempty"` |
| 391 |
} |
| 392 |
type TwoOneofs_Field35 struct { |
| 393 |
Field35 []byte `protobuf:"bytes,35,opt,name=Field35,oneof" json:"Field35,omitempty"` |
| 394 |
} |
| 395 |
type TwoOneofs_SubMessage2 struct { |
| 396 |
SubMessage2 *Subby `protobuf:"bytes,36,opt,name=sub_message2,json=subMessage2,oneof" json:"sub_message2,omitempty"` |
| 397 |
} |
| 398 |
|
| 399 |
func (*TwoOneofs_Field1) isTwoOneofs_One() {} |
| 400 |
func (*TwoOneofs_Field2) isTwoOneofs_One() {} |
| 401 |
func (*TwoOneofs_Field3) isTwoOneofs_One() {} |
| 402 |
func (*TwoOneofs_Field34) isTwoOneofs_Two() {} |
| 403 |
func (*TwoOneofs_Field35) isTwoOneofs_Two() {} |
| 404 |
func (*TwoOneofs_SubMessage2) isTwoOneofs_Two() {} |
| 405 |
|
| 406 |
func (m *TwoOneofs) GetOne() isTwoOneofs_One { |
| 407 |
if m != nil { |
| 408 |
return m.One |
| 409 |
} |
| 410 |
return nil |
| 411 |
} |
| 412 |
func (m *TwoOneofs) GetTwo() isTwoOneofs_Two { |
| 413 |
if m != nil { |
| 414 |
return m.Two |
| 415 |
} |
| 416 |
return nil |
| 417 |
} |
| 418 |
|
| 419 |
func (m *TwoOneofs) GetField1() float64 { |
| 420 |
if x, ok := m.GetOne().(*TwoOneofs_Field1); ok { |
| 421 |
return x.Field1 |
| 422 |
} |
| 423 |
return 0 |
| 424 |
} |
| 425 |
|
| 426 |
func (m *TwoOneofs) GetField2() float32 { |
| 427 |
if x, ok := m.GetOne().(*TwoOneofs_Field2); ok { |
| 428 |
return x.Field2 |
| 429 |
} |
| 430 |
return 0 |
| 431 |
} |
| 432 |
|
| 433 |
func (m *TwoOneofs) GetField3() int32 { |
| 434 |
if x, ok := m.GetOne().(*TwoOneofs_Field3); ok { |
| 435 |
return x.Field3 |
| 436 |
} |
| 437 |
return 0 |
| 438 |
} |
| 439 |
|
| 440 |
func (m *TwoOneofs) GetField34() string { |
| 441 |
if x, ok := m.GetTwo().(*TwoOneofs_Field34); ok { |
| 442 |
return x.Field34 |
| 443 |
} |
| 444 |
return "" |
| 445 |
} |
| 446 |
|
| 447 |
func (m *TwoOneofs) GetField35() []byte { |
| 448 |
if x, ok := m.GetTwo().(*TwoOneofs_Field35); ok { |
| 449 |
return x.Field35 |
| 450 |
} |
| 451 |
return nil |
| 452 |
} |
| 453 |
|
| 454 |
func (m *TwoOneofs) GetSubMessage2() *Subby { |
| 455 |
if x, ok := m.GetTwo().(*TwoOneofs_SubMessage2); ok { |
| 456 |
return x.SubMessage2 |
| 457 |
} |
| 458 |
return nil |
| 459 |
} |
| 460 |
|
| 461 |
// XXX_OneofWrappers is for the internal use of the proto package. |
| 462 |
func (*TwoOneofs) XXX_OneofWrappers() []interface{} { |
| 463 |
return []interface{}{ |
| 464 |
(*TwoOneofs_Field1)(nil), |
| 465 |
(*TwoOneofs_Field2)(nil), |
| 466 |
(*TwoOneofs_Field3)(nil), |
| 467 |
(*TwoOneofs_Field34)(nil), |
| 468 |
(*TwoOneofs_Field35)(nil), |
| 469 |
(*TwoOneofs_SubMessage2)(nil), |
| 470 |
} |
| 471 |
} |
| 472 |
|
| 473 |
type CustomOneof struct { |
| 474 |
// Types that are valid to be assigned to Custom: |
| 475 |
// *CustomOneof_Stringy |
| 476 |
// *CustomOneof_CustomType |
| 477 |
// *CustomOneof_CastType |
| 478 |
// *CustomOneof_MyCustomName |
| 479 |
Custom isCustomOneof_Custom `protobuf_oneof:"custom"` |
| 480 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 481 |
XXX_unrecognized []byte `json:"-"` |
| 482 |
XXX_sizecache int32 `json:"-"` |
| 483 |
} |
| 484 |
|
| 485 |
func (m *CustomOneof) Reset() { *m = CustomOneof{} } |
| 486 |
func (*CustomOneof) ProtoMessage() {} |
| 487 |
func (*CustomOneof) Descriptor() ([]byte, []int) { |
| 488 |
return fileDescriptor_e4ee9759a7520144, []int{3} |
| 489 |
} |
| 490 |
func (m *CustomOneof) XXX_Unmarshal(b []byte) error { |
| 491 |
return xxx_messageInfo_CustomOneof.Unmarshal(m, b) |
| 492 |
} |
| 493 |
func (m *CustomOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 494 |
return xxx_messageInfo_CustomOneof.Marshal(b, m, deterministic) |
| 495 |
} |
| 496 |
func (m *CustomOneof) XXX_Merge(src proto.Message) { |
| 497 |
xxx_messageInfo_CustomOneof.Merge(m, src) |
| 498 |
} |
| 499 |
func (m *CustomOneof) XXX_Size() int { |
| 500 |
return xxx_messageInfo_CustomOneof.Size(m) |
| 501 |
} |
| 502 |
func (m *CustomOneof) XXX_DiscardUnknown() { |
| 503 |
xxx_messageInfo_CustomOneof.DiscardUnknown(m) |
| 504 |
} |
| 505 |
|
| 506 |
var xxx_messageInfo_CustomOneof proto.InternalMessageInfo |
| 507 |
|
| 508 |
type isCustomOneof_Custom interface { |
| 509 |
isCustomOneof_Custom() |
| 510 |
Equal(interface{}) bool |
| 511 |
VerboseEqual(interface{}) error |
| 512 |
Size() int |
| 513 |
Compare(interface{}) int |
| 514 |
} |
| 515 |
|
| 516 |
type CustomOneof_Stringy struct { |
| 517 |
Stringy string `protobuf:"bytes,34,opt,name=Stringy,oneof" json:"Stringy,omitempty"` |
| 518 |
} |
| 519 |
type CustomOneof_CustomType struct { |
| 520 |
CustomType github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,35,opt,name=CustomType,oneof,customtype=github.com/gogo/protobuf/test/custom.Uint128" json:"CustomType,omitempty"` |
| 521 |
} |
| 522 |
type CustomOneof_CastType struct { |
| 523 |
CastType github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,36,opt,name=CastType,oneof,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"CastType,omitempty"` |
| 524 |
} |
| 525 |
type CustomOneof_MyCustomName struct { |
| 526 |
MyCustomName int64 `protobuf:"varint,37,opt,name=CustomName,oneof" json:"CustomName,omitempty"` |
| 527 |
} |
| 528 |
|
| 529 |
func (*CustomOneof_Stringy) isCustomOneof_Custom() {} |
| 530 |
func (*CustomOneof_CustomType) isCustomOneof_Custom() {} |
| 531 |
func (*CustomOneof_CastType) isCustomOneof_Custom() {} |
| 532 |
func (*CustomOneof_MyCustomName) isCustomOneof_Custom() {} |
| 533 |
|
| 534 |
func (m *CustomOneof) GetCustom() isCustomOneof_Custom { |
| 535 |
if m != nil { |
| 536 |
return m.Custom |
| 537 |
} |
| 538 |
return nil |
| 539 |
} |
| 540 |
|
| 541 |
func (m *CustomOneof) GetStringy() string { |
| 542 |
if x, ok := m.GetCustom().(*CustomOneof_Stringy); ok { |
| 543 |
return x.Stringy |
| 544 |
} |
| 545 |
return "" |
| 546 |
} |
| 547 |
|
| 548 |
func (m *CustomOneof) GetCastType() github_com_gogo_protobuf_test_casttype.MyUint64Type { |
| 549 |
if x, ok := m.GetCustom().(*CustomOneof_CastType); ok { |
| 550 |
return x.CastType |
| 551 |
} |
| 552 |
return 0 |
| 553 |
} |
| 554 |
|
| 555 |
func (m *CustomOneof) GetMyCustomName() int64 { |
| 556 |
if x, ok := m.GetCustom().(*CustomOneof_MyCustomName); ok { |
| 557 |
return x.MyCustomName |
| 558 |
} |
| 559 |
return 0 |
| 560 |
} |
| 561 |
|
| 562 |
// XXX_OneofWrappers is for the internal use of the proto package. |
| 563 |
func (*CustomOneof) XXX_OneofWrappers() []interface{} { |
| 564 |
return []interface{}{ |
| 565 |
(*CustomOneof_Stringy)(nil), |
| 566 |
(*CustomOneof_CustomType)(nil), |
| 567 |
(*CustomOneof_CastType)(nil), |
| 568 |
(*CustomOneof_MyCustomName)(nil), |
| 569 |
} |
| 570 |
} |
| 571 |
|
| 572 |
func init() { |
| 573 |
proto.RegisterType((*Subby)(nil), "one.Subby") |
| 574 |
proto.RegisterType((*AllTypesOneOf)(nil), "one.AllTypesOneOf") |
| 575 |
proto.RegisterType((*TwoOneofs)(nil), "one.TwoOneofs") |
| 576 |
proto.RegisterType((*CustomOneof)(nil), "one.CustomOneof") |
| 577 |
} |
| 578 |
|
| 579 |
func init() { proto.RegisterFile("combos/neither/one.proto", fileDescriptor_e4ee9759a7520144) } |
| 580 |
|
| 581 |
var fileDescriptor_e4ee9759a7520144 = []byte{ |
| 582 |
// 599 bytes of a gzipped FileDescriptorProto |
| 583 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd3, 0x3f, 0x4f, 0x1b, 0x31, |
| 584 |
0x14, 0x00, 0x70, 0x3f, 0x42, 0x42, 0x70, 0x42, 0x49, 0x6f, 0x72, 0x19, 0x8c, 0x95, 0xb6, 0x92, |
| 585 |
0x87, 0x92, 0x90, 0x4b, 0xc2, 0x9f, 0xb1, 0x87, 0x54, 0x65, 0xa1, 0x48, 0x07, 0xcc, 0x28, 0x47, |
| 586 |
0x4d, 0x88, 0x44, 0xce, 0x08, 0xfb, 0x84, 0xb2, 0xf1, 0x19, 0xfa, 0x29, 0x18, 0x3b, 0xf6, 0x23, |
| 587 |
0x30, 0x66, 0xac, 0x3a, 0x44, 0xe4, 0x58, 0x3a, 0x32, 0xa2, 0x4e, 0x95, 0xef, 0x88, 0x5d, 0xa9, |
| 588 |
0xaa, 0xba, 0x74, 0xca, 0xbd, 0xf7, 0x3b, 0xbf, 0xbc, 0x77, 0xb6, 0x31, 0x39, 0x95, 0xa3, 0x48, |
| 589 |
0xaa, 0x66, 0x2c, 0x86, 0xfa, 0x5c, 0x5c, 0x35, 0x65, 0x2c, 0x1a, 0x97, 0x57, 0x52, 0x4b, 0xaf, |
| 590 |
0x20, 0x63, 0xb1, 0xb6, 0x31, 0x18, 0xea, 0xf3, 0x24, 0x6a, 0x9c, 0xca, 0x51, 0x73, 0x20, 0x07, |
| 591 |
0xb2, 0x99, 0x59, 0x94, 0x9c, 0x65, 0x51, 0x16, 0x64, 0x4f, 0xf9, 0x9a, 0xfa, 0x2b, 0x5c, 0x3c, |
| 592 |
0x4c, 0xa2, 0x68, 0xec, 0xd5, 0x70, 0x41, 0x25, 0x11, 0x01, 0x06, 0x7c, 0x39, 0x34, 0x8f, 0xf5, |
| 593 |
0x69, 0x01, 0xaf, 0xbc, 0xbf, 0xb8, 0x38, 0x1a, 0x5f, 0x0a, 0x75, 0x10, 0x8b, 0x83, 0x33, 0x8f, |
| 594 |
0xe0, 0xd2, 0x87, 0xa1, 0xb8, 0xf8, 0xd4, 0xca, 0x5e, 0x83, 0x1e, 0x0a, 0x9f, 0x63, 0x2b, 0x3e, |
| 595 |
0x59, 0x60, 0xc0, 0x17, 0xac, 0xf8, 0x56, 0xda, 0xa4, 0xc0, 0x80, 0x17, 0xad, 0xb4, 0xad, 0x74, |
| 596 |
0xc8, 0x22, 0x03, 0x5e, 0xb0, 0xd2, 0xb1, 0xd2, 0x25, 0x45, 0x06, 0x7c, 0xc5, 0x4a, 0xd7, 0xca, |
| 597 |
0x16, 0x29, 0x31, 0xe0, 0x8b, 0x56, 0xb6, 0xac, 0x6c, 0x93, 0x25, 0x06, 0xfc, 0xa5, 0x95, 0x6d, |
| 598 |
0x2b, 0x3b, 0xa4, 0xcc, 0x80, 0x7b, 0x56, 0x76, 0xac, 0xec, 0x92, 0x65, 0x06, 0x7c, 0xc9, 0xca, |
| 599 |
0xae, 0xb7, 0x86, 0x97, 0xf2, 0xc9, 0x36, 0x09, 0x66, 0xc0, 0x57, 0x7b, 0x28, 0x9c, 0x27, 0x9c, |
| 600 |
0xb5, 0x48, 0x85, 0x01, 0x2f, 0x39, 0x6b, 0x39, 0xf3, 0x49, 0x95, 0x01, 0xaf, 0x39, 0xf3, 0x9d, |
| 601 |
0xb5, 0xc9, 0x0a, 0x03, 0x5e, 0x76, 0xd6, 0x76, 0xd6, 0x21, 0x2f, 0xcc, 0x0e, 0x38, 0xeb, 0x38, |
| 602 |
0xeb, 0x92, 0x55, 0x06, 0xbc, 0xea, 0xac, 0xeb, 0x6d, 0xe0, 0x8a, 0x4a, 0xa2, 0x93, 0x91, 0x50, |
| 603 |
0xaa, 0x3f, 0x10, 0xa4, 0xc6, 0x80, 0x57, 0x7c, 0xdc, 0x30, 0x67, 0x22, 0xdb, 0xd6, 0x1e, 0x0a, |
| 604 |
0xb1, 0x4a, 0xa2, 0xfd, 0xdc, 0x83, 0x2a, 0xc6, 0x5a, 0x28, 0x7d, 0x22, 0x63, 0x21, 0xcf, 0xea, |
| 605 |
0x13, 0xc0, 0xcb, 0x47, 0xd7, 0xf2, 0xc0, 0x04, 0xea, 0x3f, 0x6f, 0xee, 0xbc, 0xe9, 0x76, 0x87, |
| 606 |
0xd4, 0xb3, 0x81, 0x20, 0x9c, 0x27, 0x9c, 0x75, 0xc9, 0xeb, 0x6c, 0x20, 0x6b, 0x5d, 0xaf, 0x89, |
| 607 |
0xab, 0xbf, 0x0d, 0xe4, 0x93, 0x37, 0x7f, 0x4c, 0x04, 0x61, 0xc5, 0x4d, 0xe4, 0x07, 0x45, 0x6c, |
| 608 |
0x8e, 0xbd, 0xf9, 0xd1, 0xd7, 0xb2, 0xfe, 0x79, 0x01, 0x57, 0xf6, 0x12, 0xa5, 0xe5, 0x28, 0x9b, |
| 609 |
0xca, 0xfc, 0xd5, 0xa1, 0xbe, 0x1a, 0xc6, 0x83, 0xf1, 0x73, 0x1b, 0x28, 0x9c, 0x27, 0xbc, 0x10, |
| 610 |
0xe3, 0xfc, 0x55, 0x73, 0xc2, 0xf3, 0x4e, 0x82, 0xcd, 0xef, 0xd3, 0xf5, 0x77, 0x7f, 0xbd, 0x41, |
| 611 |
0xe6, 0xdb, 0x35, 0x4f, 0xb3, 0x35, 0x8d, 0xe3, 0x61, 0xac, 0x5b, 0xfe, 0x8e, 0xf9, 0xc0, 0xae, |
| 612 |
0x8a, 0x77, 0x8c, 0xcb, 0x7b, 0x7d, 0xa5, 0xb3, 0x8a, 0xa6, 0xf5, 0xc5, 0x60, 0xfb, 0xe7, 0x74, |
| 613 |
0xbd, 0xfd, 0x8f, 0x8a, 0x7d, 0xa5, 0xf5, 0xf8, 0x52, 0x34, 0xf6, 0xc7, 0xa6, 0xea, 0x56, 0xc7, |
| 614 |
0x2c, 0xef, 0xa1, 0xd0, 0x96, 0xf2, 0xfc, 0x79, 0xab, 0x1f, 0xfb, 0x23, 0x41, 0xde, 0x9a, 0xeb, |
| 615 |
0x12, 0xd4, 0xd2, 0xe9, 0x7a, 0x75, 0x7f, 0xec, 0xf2, 0xae, 0x15, 0x13, 0x05, 0x65, 0x5c, 0xca, |
| 616 |
0x5b, 0x0d, 0x7a, 0x77, 0x33, 0x8a, 0x26, 0x33, 0x8a, 0xbe, 0xcd, 0x28, 0xba, 0x9f, 0x51, 0x78, |
| 617 |
0x9c, 0x51, 0x78, 0x9a, 0x51, 0xb8, 0x49, 0x29, 0xdc, 0xa6, 0x14, 0xbe, 0xa4, 0x14, 0xbe, 0xa6, |
| 618 |
0x14, 0xee, 0x52, 0x8a, 0x26, 0x29, 0x45, 0xf7, 0x29, 0x85, 0x1f, 0x29, 0x45, 0x8f, 0x29, 0x85, |
| 619 |
0xa7, 0x94, 0xa2, 0x9b, 0x07, 0x8a, 0x6e, 0x1f, 0x28, 0xfc, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xbe, |
| 620 |
0x17, 0xbb, 0x31, 0x7c, 0x04, 0x00, 0x00, |
| 621 |
} |
| 622 |
|
| 623 |
func (this *Subby) Compare(that interface{}) int { |
| 624 |
if that == nil { |
| 625 |
if this == nil { |
| 626 |
return 0 |
| 627 |
} |
| 628 |
return 1 |
| 629 |
} |
| 630 |
|
| 631 |
that1, ok := that.(*Subby) |
| 632 |
if !ok { |
| 633 |
that2, ok := that.(Subby) |
| 634 |
if ok { |
| 635 |
that1 = &that2 |
| 636 |
} else { |
| 637 |
return 1 |
| 638 |
} |
| 639 |
} |
| 640 |
if that1 == nil { |
| 641 |
if this == nil { |
| 642 |
return 0 |
| 643 |
} |
| 644 |
return 1 |
| 645 |
} else if this == nil { |
| 646 |
return -1 |
| 647 |
} |
| 648 |
if this.Sub != nil && that1.Sub != nil { |
| 649 |
if *this.Sub != *that1.Sub { |
| 650 |
if *this.Sub < *that1.Sub { |
| 651 |
return -1 |
| 652 |
} |
| 653 |
return 1 |
| 654 |
} |
| 655 |
} else if this.Sub != nil { |
| 656 |
return 1 |
| 657 |
} else if that1.Sub != nil { |
| 658 |
return -1 |
| 659 |
} |
| 660 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 661 |
return c |
| 662 |
} |
| 663 |
return 0 |
| 664 |
} |
| 665 |
func (this *AllTypesOneOf) Compare(that interface{}) int { |
| 666 |
if that == nil { |
| 667 |
if this == nil { |
| 668 |
return 0 |
| 669 |
} |
| 670 |
return 1 |
| 671 |
} |
| 672 |
|
| 673 |
that1, ok := that.(*AllTypesOneOf) |
| 674 |
if !ok { |
| 675 |
that2, ok := that.(AllTypesOneOf) |
| 676 |
if ok { |
| 677 |
that1 = &that2 |
| 678 |
} else { |
| 679 |
return 1 |
| 680 |
} |
| 681 |
} |
| 682 |
if that1 == nil { |
| 683 |
if this == nil { |
| 684 |
return 0 |
| 685 |
} |
| 686 |
return 1 |
| 687 |
} else if this == nil { |
| 688 |
return -1 |
| 689 |
} |
| 690 |
if that1.TestOneof == nil { |
| 691 |
if this.TestOneof != nil { |
| 692 |
return 1 |
| 693 |
} |
| 694 |
} else if this.TestOneof == nil { |
| 695 |
return -1 |
| 696 |
} else { |
| 697 |
thisType := -1 |
| 698 |
switch this.TestOneof.(type) { |
| 699 |
case *AllTypesOneOf_Field1: |
| 700 |
thisType = 0 |
| 701 |
case *AllTypesOneOf_Field2: |
| 702 |
thisType = 1 |
| 703 |
case *AllTypesOneOf_Field3: |
| 704 |
thisType = 2 |
| 705 |
case *AllTypesOneOf_Field4: |
| 706 |
thisType = 3 |
| 707 |
case *AllTypesOneOf_Field5: |
| 708 |
thisType = 4 |
| 709 |
case *AllTypesOneOf_Field6: |
| 710 |
thisType = 5 |
| 711 |
case *AllTypesOneOf_Field7: |
| 712 |
thisType = 6 |
| 713 |
case *AllTypesOneOf_Field8: |
| 714 |
thisType = 7 |
| 715 |
case *AllTypesOneOf_Field9: |
| 716 |
thisType = 8 |
| 717 |
case *AllTypesOneOf_Field10: |
| 718 |
thisType = 9 |
| 719 |
case *AllTypesOneOf_Field11: |
| 720 |
thisType = 10 |
| 721 |
case *AllTypesOneOf_Field12: |
| 722 |
thisType = 11 |
| 723 |
case *AllTypesOneOf_Field13: |
| 724 |
thisType = 12 |
| 725 |
case *AllTypesOneOf_Field14: |
| 726 |
thisType = 13 |
| 727 |
case *AllTypesOneOf_Field15: |
| 728 |
thisType = 14 |
| 729 |
case *AllTypesOneOf_SubMessage: |
| 730 |
thisType = 15 |
| 731 |
default: |
| 732 |
panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.TestOneof)) |
| 733 |
} |
| 734 |
that1Type := -1 |
| 735 |
switch that1.TestOneof.(type) { |
| 736 |
case *AllTypesOneOf_Field1: |
| 737 |
that1Type = 0 |
| 738 |
case *AllTypesOneOf_Field2: |
| 739 |
that1Type = 1 |
| 740 |
case *AllTypesOneOf_Field3: |
| 741 |
that1Type = 2 |
| 742 |
case *AllTypesOneOf_Field4: |
| 743 |
that1Type = 3 |
| 744 |
case *AllTypesOneOf_Field5: |
| 745 |
that1Type = 4 |
| 746 |
case *AllTypesOneOf_Field6: |
| 747 |
that1Type = 5 |
| 748 |
case *AllTypesOneOf_Field7: |
| 749 |
that1Type = 6 |
| 750 |
case *AllTypesOneOf_Field8: |
| 751 |
that1Type = 7 |
| 752 |
case *AllTypesOneOf_Field9: |
| 753 |
that1Type = 8 |
| 754 |
case *AllTypesOneOf_Field10: |
| 755 |
that1Type = 9 |
| 756 |
case *AllTypesOneOf_Field11: |
| 757 |
that1Type = 10 |
| 758 |
case *AllTypesOneOf_Field12: |
| 759 |
that1Type = 11 |
| 760 |
case *AllTypesOneOf_Field13: |
| 761 |
that1Type = 12 |
| 762 |
case *AllTypesOneOf_Field14: |
| 763 |
that1Type = 13 |
| 764 |
case *AllTypesOneOf_Field15: |
| 765 |
that1Type = 14 |
| 766 |
case *AllTypesOneOf_SubMessage: |
| 767 |
that1Type = 15 |
| 768 |
default: |
| 769 |
panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.TestOneof)) |
| 770 |
} |
| 771 |
if thisType == that1Type { |
| 772 |
if c := this.TestOneof.Compare(that1.TestOneof); c != 0 { |
| 773 |
return c |
| 774 |
} |
| 775 |
} else if thisType < that1Type { |
| 776 |
return -1 |
| 777 |
} else if thisType > that1Type { |
| 778 |
return 1 |
| 779 |
} |
| 780 |
} |
| 781 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 782 |
return c |
| 783 |
} |
| 784 |
return 0 |
| 785 |
} |
| 786 |
func (this *AllTypesOneOf_Field1) Compare(that interface{}) int { |
| 787 |
if that == nil { |
| 788 |
if this == nil { |
| 789 |
return 0 |
| 790 |
} |
| 791 |
return 1 |
| 792 |
} |
| 793 |
|
| 794 |
that1, ok := that.(*AllTypesOneOf_Field1) |
| 795 |
if !ok { |
| 796 |
that2, ok := that.(AllTypesOneOf_Field1) |
| 797 |
if ok { |
| 798 |
that1 = &that2 |
| 799 |
} else { |
| 800 |
return 1 |
| 801 |
} |
| 802 |
} |
| 803 |
if that1 == nil { |
| 804 |
if this == nil { |
| 805 |
return 0 |
| 806 |
} |
| 807 |
return 1 |
| 808 |
} else if this == nil { |
| 809 |
return -1 |
| 810 |
} |
| 811 |
if this.Field1 != that1.Field1 { |
| 812 |
if this.Field1 < that1.Field1 { |
| 813 |
return -1 |
| 814 |
} |
| 815 |
return 1 |
| 816 |
} |
| 817 |
return 0 |
| 818 |
} |
| 819 |
func (this *AllTypesOneOf_Field2) Compare(that interface{}) int { |
| 820 |
if that == nil { |
| 821 |
if this == nil { |
| 822 |
return 0 |
| 823 |
} |
| 824 |
return 1 |
| 825 |
} |
| 826 |
|
| 827 |
that1, ok := that.(*AllTypesOneOf_Field2) |
| 828 |
if !ok { |
| 829 |
that2, ok := that.(AllTypesOneOf_Field2) |
| 830 |
if ok { |
| 831 |
that1 = &that2 |
| 832 |
} else { |
| 833 |
return 1 |
| 834 |
} |
| 835 |
} |
| 836 |
if that1 == nil { |
| 837 |
if this == nil { |
| 838 |
return 0 |
| 839 |
} |
| 840 |
return 1 |
| 841 |
} else if this == nil { |
| 842 |
return -1 |
| 843 |
} |
| 844 |
if this.Field2 != that1.Field2 { |
| 845 |
if this.Field2 < that1.Field2 { |
| 846 |
return -1 |
| 847 |
} |
| 848 |
return 1 |
| 849 |
} |
| 850 |
return 0 |
| 851 |
} |
| 852 |
func (this *AllTypesOneOf_Field3) Compare(that interface{}) int { |
| 853 |
if that == nil { |
| 854 |
if this == nil { |
| 855 |
return 0 |
| 856 |
} |
| 857 |
return 1 |
| 858 |
} |
| 859 |
|
| 860 |
that1, ok := that.(*AllTypesOneOf_Field3) |
| 861 |
if !ok { |
| 862 |
that2, ok := that.(AllTypesOneOf_Field3) |
| 863 |
if ok { |
| 864 |
that1 = &that2 |
| 865 |
} else { |
| 866 |
return 1 |
| 867 |
} |
| 868 |
} |
| 869 |
if that1 == nil { |
| 870 |
if this == nil { |
| 871 |
return 0 |
| 872 |
} |
| 873 |
return 1 |
| 874 |
} else if this == nil { |
| 875 |
return -1 |
| 876 |
} |
| 877 |
if this.Field3 != that1.Field3 { |
| 878 |
if this.Field3 < that1.Field3 { |
| 879 |
return -1 |
| 880 |
} |
| 881 |
return 1 |
| 882 |
} |
| 883 |
return 0 |
| 884 |
} |
| 885 |
func (this *AllTypesOneOf_Field4) Compare(that interface{}) int { |
| 886 |
if that == nil { |
| 887 |
if this == nil { |
| 888 |
return 0 |
| 889 |
} |
| 890 |
return 1 |
| 891 |
} |
| 892 |
|
| 893 |
that1, ok := that.(*AllTypesOneOf_Field4) |
| 894 |
if !ok { |
| 895 |
that2, ok := that.(AllTypesOneOf_Field4) |
| 896 |
if ok { |
| 897 |
that1 = &that2 |
| 898 |
} else { |
| 899 |
return 1 |
| 900 |
} |
| 901 |
} |
| 902 |
if that1 == nil { |
| 903 |
if this == nil { |
| 904 |
return 0 |
| 905 |
} |
| 906 |
return 1 |
| 907 |
} else if this == nil { |
| 908 |
return -1 |
| 909 |
} |
| 910 |
if this.Field4 != that1.Field4 { |
| 911 |
if this.Field4 < that1.Field4 { |
| 912 |
return -1 |
| 913 |
} |
| 914 |
return 1 |
| 915 |
} |
| 916 |
return 0 |
| 917 |
} |
| 918 |
func (this *AllTypesOneOf_Field5) Compare(that interface{}) int { |
| 919 |
if that == nil { |
| 920 |
if this == nil { |
| 921 |
return 0 |
| 922 |
} |
| 923 |
return 1 |
| 924 |
} |
| 925 |
|
| 926 |
that1, ok := that.(*AllTypesOneOf_Field5) |
| 927 |
if !ok { |
| 928 |
that2, ok := that.(AllTypesOneOf_Field5) |
| 929 |
if ok { |
| 930 |
that1 = &that2 |
| 931 |
} else { |
| 932 |
return 1 |
| 933 |
} |
| 934 |
} |
| 935 |
if that1 == nil { |
| 936 |
if this == nil { |
| 937 |
return 0 |
| 938 |
} |
| 939 |
return 1 |
| 940 |
} else if this == nil { |
| 941 |
return -1 |
| 942 |
} |
| 943 |
if this.Field5 != that1.Field5 { |
| 944 |
if this.Field5 < that1.Field5 { |
| 945 |
return -1 |
| 946 |
} |
| 947 |
return 1 |
| 948 |
} |
| 949 |
return 0 |
| 950 |
} |
| 951 |
func (this *AllTypesOneOf_Field6) Compare(that interface{}) int { |
| 952 |
if that == nil { |
| 953 |
if this == nil { |
| 954 |
return 0 |
| 955 |
} |
| 956 |
return 1 |
| 957 |
} |
| 958 |
|
| 959 |
that1, ok := that.(*AllTypesOneOf_Field6) |
| 960 |
if !ok { |
| 961 |
that2, ok := that.(AllTypesOneOf_Field6) |
| 962 |
if ok { |
| 963 |
that1 = &that2 |
| 964 |
} else { |
| 965 |
return 1 |
| 966 |
} |
| 967 |
} |
| 968 |
if that1 == nil { |
| 969 |
if this == nil { |
| 970 |
return 0 |
| 971 |
} |
| 972 |
return 1 |
| 973 |
} else if this == nil { |
| 974 |
return -1 |
| 975 |
} |
| 976 |
if this.Field6 != that1.Field6 { |
| 977 |
if this.Field6 < that1.Field6 { |
| 978 |
return -1 |
| 979 |
} |
| 980 |
return 1 |
| 981 |
} |
| 982 |
return 0 |
| 983 |
} |
| 984 |
func (this *AllTypesOneOf_Field7) Compare(that interface{}) int { |
| 985 |
if that == nil { |
| 986 |
if this == nil { |
| 987 |
return 0 |
| 988 |
} |
| 989 |
return 1 |
| 990 |
} |
| 991 |
|
| 992 |
that1, ok := that.(*AllTypesOneOf_Field7) |
| 993 |
if !ok { |
| 994 |
that2, ok := that.(AllTypesOneOf_Field7) |
| 995 |
if ok { |
| 996 |
that1 = &that2 |
| 997 |
} else { |
| 998 |
return 1 |
| 999 |
} |
| 1000 |
} |
| 1001 |
if that1 == nil { |
| 1002 |
if this == nil { |
| 1003 |
return 0 |
| 1004 |
} |
| 1005 |
return 1 |
| 1006 |
} else if this == nil { |
| 1007 |
return -1 |
| 1008 |
} |
| 1009 |
if this.Field7 != that1.Field7 { |
| 1010 |
if this.Field7 < that1.Field7 { |
| 1011 |
return -1 |
| 1012 |
} |
| 1013 |
return 1 |
| 1014 |
} |
| 1015 |
return 0 |
| 1016 |
} |
| 1017 |
func (this *AllTypesOneOf_Field8) Compare(that interface{}) int { |
| 1018 |
if that == nil { |
| 1019 |
if this == nil { |
| 1020 |
return 0 |
| 1021 |
} |
| 1022 |
return 1 |
| 1023 |
} |
| 1024 |
|
| 1025 |
that1, ok := that.(*AllTypesOneOf_Field8) |
| 1026 |
if !ok { |
| 1027 |
that2, ok := that.(AllTypesOneOf_Field8) |
| 1028 |
if ok { |
| 1029 |
that1 = &that2 |
| 1030 |
} else { |
| 1031 |
return 1 |
| 1032 |
} |
| 1033 |
} |
| 1034 |
if that1 == nil { |
| 1035 |
if this == nil { |
| 1036 |
return 0 |
| 1037 |
} |
| 1038 |
return 1 |
| 1039 |
} else if this == nil { |
| 1040 |
return -1 |
| 1041 |
} |
| 1042 |
if this.Field8 != that1.Field8 { |
| 1043 |
if this.Field8 < that1.Field8 { |
| 1044 |
return -1 |
| 1045 |
} |
| 1046 |
return 1 |
| 1047 |
} |
| 1048 |
return 0 |
| 1049 |
} |
| 1050 |
func (this *AllTypesOneOf_Field9) Compare(that interface{}) int { |
| 1051 |
if that == nil { |
| 1052 |
if this == nil { |
| 1053 |
return 0 |
| 1054 |
} |
| 1055 |
return 1 |
| 1056 |
} |
| 1057 |
|
| 1058 |
that1, ok := that.(*AllTypesOneOf_Field9) |
| 1059 |
if !ok { |
| 1060 |
that2, ok := that.(AllTypesOneOf_Field9) |
| 1061 |
if ok { |
| 1062 |
that1 = &that2 |
| 1063 |
} else { |
| 1064 |
return 1 |
| 1065 |
} |
| 1066 |
} |
| 1067 |
if that1 == nil { |
| 1068 |
if this == nil { |
| 1069 |
return 0 |
| 1070 |
} |
| 1071 |
return 1 |
| 1072 |
} else if this == nil { |
| 1073 |
return -1 |
| 1074 |
} |
| 1075 |
if this.Field9 != that1.Field9 { |
| 1076 |
if this.Field9 < that1.Field9 { |
| 1077 |
return -1 |
| 1078 |
} |
| 1079 |
return 1 |
| 1080 |
} |
| 1081 |
return 0 |
| 1082 |
} |
| 1083 |
func (this *AllTypesOneOf_Field10) Compare(that interface{}) int { |
| 1084 |
if that == nil { |
| 1085 |
if this == nil { |
| 1086 |
return 0 |
| 1087 |
} |
| 1088 |
return 1 |
| 1089 |
} |
| 1090 |
|
| 1091 |
that1, ok := that.(*AllTypesOneOf_Field10) |
| 1092 |
if !ok { |
| 1093 |
that2, ok := that.(AllTypesOneOf_Field10) |
| 1094 |
if ok { |
| 1095 |
that1 = &that2 |
| 1096 |
} else { |
| 1097 |
return 1 |
| 1098 |
} |
| 1099 |
} |
| 1100 |
if that1 == nil { |
| 1101 |
if this == nil { |
| 1102 |
return 0 |
| 1103 |
} |
| 1104 |
return 1 |
| 1105 |
} else if this == nil { |
| 1106 |
return -1 |
| 1107 |
} |
| 1108 |
if this.Field10 != that1.Field10 { |
| 1109 |
if this.Field10 < that1.Field10 { |
| 1110 |
return -1 |
| 1111 |
} |
| 1112 |
return 1 |
| 1113 |
} |
| 1114 |
return 0 |
| 1115 |
} |
| 1116 |
func (this *AllTypesOneOf_Field11) Compare(that interface{}) int { |
| 1117 |
if that == nil { |
| 1118 |
if this == nil { |
| 1119 |
return 0 |
| 1120 |
} |
| 1121 |
return 1 |
| 1122 |
} |
| 1123 |
|
| 1124 |
that1, ok := that.(*AllTypesOneOf_Field11) |
| 1125 |
if !ok { |
| 1126 |
that2, ok := that.(AllTypesOneOf_Field11) |
| 1127 |
if ok { |
| 1128 |
that1 = &that2 |
| 1129 |
} else { |
| 1130 |
return 1 |
| 1131 |
} |
| 1132 |
} |
| 1133 |
if that1 == nil { |
| 1134 |
if this == nil { |
| 1135 |
return 0 |
| 1136 |
} |
| 1137 |
return 1 |
| 1138 |
} else if this == nil { |
| 1139 |
return -1 |
| 1140 |
} |
| 1141 |
if this.Field11 != that1.Field11 { |
| 1142 |
if this.Field11 < that1.Field11 { |
| 1143 |
return -1 |
| 1144 |
} |
| 1145 |
return 1 |
| 1146 |
} |
| 1147 |
return 0 |
| 1148 |
} |
| 1149 |
func (this *AllTypesOneOf_Field12) Compare(that interface{}) int { |
| 1150 |
if that == nil { |
| 1151 |
if this == nil { |
| 1152 |
return 0 |
| 1153 |
} |
| 1154 |
return 1 |
| 1155 |
} |
| 1156 |
|
| 1157 |
that1, ok := that.(*AllTypesOneOf_Field12) |
| 1158 |
if !ok { |
| 1159 |
that2, ok := that.(AllTypesOneOf_Field12) |
| 1160 |
if ok { |
| 1161 |
that1 = &that2 |
| 1162 |
} else { |
| 1163 |
return 1 |
| 1164 |
} |
| 1165 |
} |
| 1166 |
if that1 == nil { |
| 1167 |
if this == nil { |
| 1168 |
return 0 |
| 1169 |
} |
| 1170 |
return 1 |
| 1171 |
} else if this == nil { |
| 1172 |
return -1 |
| 1173 |
} |
| 1174 |
if this.Field12 != that1.Field12 { |
| 1175 |
if this.Field12 < that1.Field12 { |
| 1176 |
return -1 |
| 1177 |
} |
| 1178 |
return 1 |
| 1179 |
} |
| 1180 |
return 0 |
| 1181 |
} |
| 1182 |
func (this *AllTypesOneOf_Field13) Compare(that interface{}) int { |
| 1183 |
if that == nil { |
| 1184 |
if this == nil { |
| 1185 |
return 0 |
| 1186 |
} |
| 1187 |
return 1 |
| 1188 |
} |
| 1189 |
|
| 1190 |
that1, ok := that.(*AllTypesOneOf_Field13) |
| 1191 |
if !ok { |
| 1192 |
that2, ok := that.(AllTypesOneOf_Field13) |
| 1193 |
if ok { |
| 1194 |
that1 = &that2 |
| 1195 |
} else { |
| 1196 |
return 1 |
| 1197 |
} |
| 1198 |
} |
| 1199 |
if that1 == nil { |
| 1200 |
if this == nil { |
| 1201 |
return 0 |
| 1202 |
} |
| 1203 |
return 1 |
| 1204 |
} else if this == nil { |
| 1205 |
return -1 |
| 1206 |
} |
| 1207 |
if this.Field13 != that1.Field13 { |
| 1208 |
if !this.Field13 { |
| 1209 |
return -1 |
| 1210 |
} |
| 1211 |
return 1 |
| 1212 |
} |
| 1213 |
return 0 |
| 1214 |
} |
| 1215 |
func (this *AllTypesOneOf_Field14) Compare(that interface{}) int { |
| 1216 |
if that == nil { |
| 1217 |
if this == nil { |
| 1218 |
return 0 |
| 1219 |
} |
| 1220 |
return 1 |
| 1221 |
} |
| 1222 |
|
| 1223 |
that1, ok := that.(*AllTypesOneOf_Field14) |
| 1224 |
if !ok { |
| 1225 |
that2, ok := that.(AllTypesOneOf_Field14) |
| 1226 |
if ok { |
| 1227 |
that1 = &that2 |
| 1228 |
} else { |
| 1229 |
return 1 |
| 1230 |
} |
| 1231 |
} |
| 1232 |
if that1 == nil { |
| 1233 |
if this == nil { |
| 1234 |
return 0 |
| 1235 |
} |
| 1236 |
return 1 |
| 1237 |
} else if this == nil { |
| 1238 |
return -1 |
| 1239 |
} |
| 1240 |
if this.Field14 != that1.Field14 { |
| 1241 |
if this.Field14 < that1.Field14 { |
| 1242 |
return -1 |
| 1243 |
} |
| 1244 |
return 1 |
| 1245 |
} |
| 1246 |
return 0 |
| 1247 |
} |
| 1248 |
func (this *AllTypesOneOf_Field15) Compare(that interface{}) int { |
| 1249 |
if that == nil { |
| 1250 |
if this == nil { |
| 1251 |
return 0 |
| 1252 |
} |
| 1253 |
return 1 |
| 1254 |
} |
| 1255 |
|
| 1256 |
that1, ok := that.(*AllTypesOneOf_Field15) |
| 1257 |
if !ok { |
| 1258 |
that2, ok := that.(AllTypesOneOf_Field15) |
| 1259 |
if ok { |
| 1260 |
that1 = &that2 |
| 1261 |
} else { |
| 1262 |
return 1 |
| 1263 |
} |
| 1264 |
} |
| 1265 |
if that1 == nil { |
| 1266 |
if this == nil { |
| 1267 |
return 0 |
| 1268 |
} |
| 1269 |
return 1 |
| 1270 |
} else if this == nil { |
| 1271 |
return -1 |
| 1272 |
} |
| 1273 |
if c := bytes.Compare(this.Field15, that1.Field15); c != 0 { |
| 1274 |
return c |
| 1275 |
} |
| 1276 |
return 0 |
| 1277 |
} |
| 1278 |
func (this *AllTypesOneOf_SubMessage) Compare(that interface{}) int { |
| 1279 |
if that == nil { |
| 1280 |
if this == nil { |
| 1281 |
return 0 |
| 1282 |
} |
| 1283 |
return 1 |
| 1284 |
} |
| 1285 |
|
| 1286 |
that1, ok := that.(*AllTypesOneOf_SubMessage) |
| 1287 |
if !ok { |
| 1288 |
that2, ok := that.(AllTypesOneOf_SubMessage) |
| 1289 |
if ok { |
| 1290 |
that1 = &that2 |
| 1291 |
} else { |
| 1292 |
return 1 |
| 1293 |
} |
| 1294 |
} |
| 1295 |
if that1 == nil { |
| 1296 |
if this == nil { |
| 1297 |
return 0 |
| 1298 |
} |
| 1299 |
return 1 |
| 1300 |
} else if this == nil { |
| 1301 |
return -1 |
| 1302 |
} |
| 1303 |
if c := this.SubMessage.Compare(that1.SubMessage); c != 0 { |
| 1304 |
return c |
| 1305 |
} |
| 1306 |
return 0 |
| 1307 |
} |
| 1308 |
func (this *TwoOneofs) Compare(that interface{}) int { |
| 1309 |
if that == nil { |
| 1310 |
if this == nil { |
| 1311 |
return 0 |
| 1312 |
} |
| 1313 |
return 1 |
| 1314 |
} |
| 1315 |
|
| 1316 |
that1, ok := that.(*TwoOneofs) |
| 1317 |
if !ok { |
| 1318 |
that2, ok := that.(TwoOneofs) |
| 1319 |
if ok { |
| 1320 |
that1 = &that2 |
| 1321 |
} else { |
| 1322 |
return 1 |
| 1323 |
} |
| 1324 |
} |
| 1325 |
if that1 == nil { |
| 1326 |
if this == nil { |
| 1327 |
return 0 |
| 1328 |
} |
| 1329 |
return 1 |
| 1330 |
} else if this == nil { |
| 1331 |
return -1 |
| 1332 |
} |
| 1333 |
if that1.One == nil { |
| 1334 |
if this.One != nil { |
| 1335 |
return 1 |
| 1336 |
} |
| 1337 |
} else if this.One == nil { |
| 1338 |
return -1 |
| 1339 |
} else { |
| 1340 |
thisType := -1 |
| 1341 |
switch this.One.(type) { |
| 1342 |
case *TwoOneofs_Field1: |
| 1343 |
thisType = 0 |
| 1344 |
case *TwoOneofs_Field2: |
| 1345 |
thisType = 1 |
| 1346 |
case *TwoOneofs_Field3: |
| 1347 |
thisType = 2 |
| 1348 |
default: |
| 1349 |
panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.One)) |
| 1350 |
} |
| 1351 |
that1Type := -1 |
| 1352 |
switch that1.One.(type) { |
| 1353 |
case *TwoOneofs_Field1: |
| 1354 |
that1Type = 0 |
| 1355 |
case *TwoOneofs_Field2: |
| 1356 |
that1Type = 1 |
| 1357 |
case *TwoOneofs_Field3: |
| 1358 |
that1Type = 2 |
| 1359 |
default: |
| 1360 |
panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.One)) |
| 1361 |
} |
| 1362 |
if thisType == that1Type { |
| 1363 |
if c := this.One.Compare(that1.One); c != 0 { |
| 1364 |
return c |
| 1365 |
} |
| 1366 |
} else if thisType < that1Type { |
| 1367 |
return -1 |
| 1368 |
} else if thisType > that1Type { |
| 1369 |
return 1 |
| 1370 |
} |
| 1371 |
} |
| 1372 |
if that1.Two == nil { |
| 1373 |
if this.Two != nil { |
| 1374 |
return 1 |
| 1375 |
} |
| 1376 |
} else if this.Two == nil { |
| 1377 |
return -1 |
| 1378 |
} else { |
| 1379 |
thisType := -1 |
| 1380 |
switch this.Two.(type) { |
| 1381 |
case *TwoOneofs_Field34: |
| 1382 |
thisType = 3 |
| 1383 |
case *TwoOneofs_Field35: |
| 1384 |
thisType = 4 |
| 1385 |
case *TwoOneofs_SubMessage2: |
| 1386 |
thisType = 5 |
| 1387 |
default: |
| 1388 |
panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.Two)) |
| 1389 |
} |
| 1390 |
that1Type := -1 |
| 1391 |
switch that1.Two.(type) { |
| 1392 |
case *TwoOneofs_Field34: |
| 1393 |
that1Type = 3 |
| 1394 |
case *TwoOneofs_Field35: |
| 1395 |
that1Type = 4 |
| 1396 |
case *TwoOneofs_SubMessage2: |
| 1397 |
that1Type = 5 |
| 1398 |
default: |
| 1399 |
panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.Two)) |
| 1400 |
} |
| 1401 |
if thisType == that1Type { |
| 1402 |
if c := this.Two.Compare(that1.Two); c != 0 { |
| 1403 |
return c |
| 1404 |
} |
| 1405 |
} else if thisType < that1Type { |
| 1406 |
return -1 |
| 1407 |
} else if thisType > that1Type { |
| 1408 |
return 1 |
| 1409 |
} |
| 1410 |
} |
| 1411 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 1412 |
return c |
| 1413 |
} |
| 1414 |
return 0 |
| 1415 |
} |
| 1416 |
func (this *TwoOneofs_Field1) Compare(that interface{}) int { |
| 1417 |
if that == nil { |
| 1418 |
if this == nil { |
| 1419 |
return 0 |
| 1420 |
} |
| 1421 |
return 1 |
| 1422 |
} |
| 1423 |
|
| 1424 |
that1, ok := that.(*TwoOneofs_Field1) |
| 1425 |
if !ok { |
| 1426 |
that2, ok := that.(TwoOneofs_Field1) |
| 1427 |
if ok { |
| 1428 |
that1 = &that2 |
| 1429 |
} else { |
| 1430 |
return 1 |
| 1431 |
} |
| 1432 |
} |
| 1433 |
if that1 == nil { |
| 1434 |
if this == nil { |
| 1435 |
return 0 |
| 1436 |
} |
| 1437 |
return 1 |
| 1438 |
} else if this == nil { |
| 1439 |
return -1 |
| 1440 |
} |
| 1441 |
if this.Field1 != that1.Field1 { |
| 1442 |
if this.Field1 < that1.Field1 { |
| 1443 |
return -1 |
| 1444 |
} |
| 1445 |
return 1 |
| 1446 |
} |
| 1447 |
return 0 |
| 1448 |
} |
| 1449 |
func (this *TwoOneofs_Field2) Compare(that interface{}) int { |
| 1450 |
if that == nil { |
| 1451 |
if this == nil { |
| 1452 |
return 0 |
| 1453 |
} |
| 1454 |
return 1 |
| 1455 |
} |
| 1456 |
|
| 1457 |
that1, ok := that.(*TwoOneofs_Field2) |
| 1458 |
if !ok { |
| 1459 |
that2, ok := that.(TwoOneofs_Field2) |
| 1460 |
if ok { |
| 1461 |
that1 = &that2 |
| 1462 |
} else { |
| 1463 |
return 1 |
| 1464 |
} |
| 1465 |
} |
| 1466 |
if that1 == nil { |
| 1467 |
if this == nil { |
| 1468 |
return 0 |
| 1469 |
} |
| 1470 |
return 1 |
| 1471 |
} else if this == nil { |
| 1472 |
return -1 |
| 1473 |
} |
| 1474 |
if this.Field2 != that1.Field2 { |
| 1475 |
if this.Field2 < that1.Field2 { |
| 1476 |
return -1 |
| 1477 |
} |
| 1478 |
return 1 |
| 1479 |
} |
| 1480 |
return 0 |
| 1481 |
} |
| 1482 |
func (this *TwoOneofs_Field3) Compare(that interface{}) int { |
| 1483 |
if that == nil { |
| 1484 |
if this == nil { |
| 1485 |
return 0 |
| 1486 |
} |
| 1487 |
return 1 |
| 1488 |
} |
| 1489 |
|
| 1490 |
that1, ok := that.(*TwoOneofs_Field3) |
| 1491 |
if !ok { |
| 1492 |
that2, ok := that.(TwoOneofs_Field3) |
| 1493 |
if ok { |
| 1494 |
that1 = &that2 |
| 1495 |
} else { |
| 1496 |
return 1 |
| 1497 |
} |
| 1498 |
} |
| 1499 |
if that1 == nil { |
| 1500 |
if this == nil { |
| 1501 |
return 0 |
| 1502 |
} |
| 1503 |
return 1 |
| 1504 |
} else if this == nil { |
| 1505 |
return -1 |
| 1506 |
} |
| 1507 |
if this.Field3 != that1.Field3 { |
| 1508 |
if this.Field3 < that1.Field3 { |
| 1509 |
return -1 |
| 1510 |
} |
| 1511 |
return 1 |
| 1512 |
} |
| 1513 |
return 0 |
| 1514 |
} |
| 1515 |
func (this *TwoOneofs_Field34) Compare(that interface{}) int { |
| 1516 |
if that == nil { |
| 1517 |
if this == nil { |
| 1518 |
return 0 |
| 1519 |
} |
| 1520 |
return 1 |
| 1521 |
} |
| 1522 |
|
| 1523 |
that1, ok := that.(*TwoOneofs_Field34) |
| 1524 |
if !ok { |
| 1525 |
that2, ok := that.(TwoOneofs_Field34) |
| 1526 |
if ok { |
| 1527 |
that1 = &that2 |
| 1528 |
} else { |
| 1529 |
return 1 |
| 1530 |
} |
| 1531 |
} |
| 1532 |
if that1 == nil { |
| 1533 |
if this == nil { |
| 1534 |
return 0 |
| 1535 |
} |
| 1536 |
return 1 |
| 1537 |
} else if this == nil { |
| 1538 |
return -1 |
| 1539 |
} |
| 1540 |
if this.Field34 != that1.Field34 { |
| 1541 |
if this.Field34 < that1.Field34 { |
| 1542 |
return -1 |
| 1543 |
} |
| 1544 |
return 1 |
| 1545 |
} |
| 1546 |
return 0 |
| 1547 |
} |
| 1548 |
func (this *TwoOneofs_Field35) Compare(that interface{}) int { |
| 1549 |
if that == nil { |
| 1550 |
if this == nil { |
| 1551 |
return 0 |
| 1552 |
} |
| 1553 |
return 1 |
| 1554 |
} |
| 1555 |
|
| 1556 |
that1, ok := that.(*TwoOneofs_Field35) |
| 1557 |
if !ok { |
| 1558 |
that2, ok := that.(TwoOneofs_Field35) |
| 1559 |
if ok { |
| 1560 |
that1 = &that2 |
| 1561 |
} else { |
| 1562 |
return 1 |
| 1563 |
} |
| 1564 |
} |
| 1565 |
if that1 == nil { |
| 1566 |
if this == nil { |
| 1567 |
return 0 |
| 1568 |
} |
| 1569 |
return 1 |
| 1570 |
} else if this == nil { |
| 1571 |
return -1 |
| 1572 |
} |
| 1573 |
if c := bytes.Compare(this.Field35, that1.Field35); c != 0 { |
| 1574 |
return c |
| 1575 |
} |
| 1576 |
return 0 |
| 1577 |
} |
| 1578 |
func (this *TwoOneofs_SubMessage2) Compare(that interface{}) int { |
| 1579 |
if that == nil { |
| 1580 |
if this == nil { |
| 1581 |
return 0 |
| 1582 |
} |
| 1583 |
return 1 |
| 1584 |
} |
| 1585 |
|
| 1586 |
that1, ok := that.(*TwoOneofs_SubMessage2) |
| 1587 |
if !ok { |
| 1588 |
that2, ok := that.(TwoOneofs_SubMessage2) |
| 1589 |
if ok { |
| 1590 |
that1 = &that2 |
| 1591 |
} else { |
| 1592 |
return 1 |
| 1593 |
} |
| 1594 |
} |
| 1595 |
if that1 == nil { |
| 1596 |
if this == nil { |
| 1597 |
return 0 |
| 1598 |
} |
| 1599 |
return 1 |
| 1600 |
} else if this == nil { |
| 1601 |
return -1 |
| 1602 |
} |
| 1603 |
if c := this.SubMessage2.Compare(that1.SubMessage2); c != 0 { |
| 1604 |
return c |
| 1605 |
} |
| 1606 |
return 0 |
| 1607 |
} |
| 1608 |
func (this *CustomOneof) Compare(that interface{}) int { |
| 1609 |
if that == nil { |
| 1610 |
if this == nil { |
| 1611 |
return 0 |
| 1612 |
} |
| 1613 |
return 1 |
| 1614 |
} |
| 1615 |
|
| 1616 |
that1, ok := that.(*CustomOneof) |
| 1617 |
if !ok { |
| 1618 |
that2, ok := that.(CustomOneof) |
| 1619 |
if ok { |
| 1620 |
that1 = &that2 |
| 1621 |
} else { |
| 1622 |
return 1 |
| 1623 |
} |
| 1624 |
} |
| 1625 |
if that1 == nil { |
| 1626 |
if this == nil { |
| 1627 |
return 0 |
| 1628 |
} |
| 1629 |
return 1 |
| 1630 |
} else if this == nil { |
| 1631 |
return -1 |
| 1632 |
} |
| 1633 |
if that1.Custom == nil { |
| 1634 |
if this.Custom != nil { |
| 1635 |
return 1 |
| 1636 |
} |
| 1637 |
} else if this.Custom == nil { |
| 1638 |
return -1 |
| 1639 |
} else { |
| 1640 |
thisType := -1 |
| 1641 |
switch this.Custom.(type) { |
| 1642 |
case *CustomOneof_Stringy: |
| 1643 |
thisType = 0 |
| 1644 |
case *CustomOneof_CustomType: |
| 1645 |
thisType = 1 |
| 1646 |
case *CustomOneof_CastType: |
| 1647 |
thisType = 2 |
| 1648 |
case *CustomOneof_MyCustomName: |
| 1649 |
thisType = 3 |
| 1650 |
default: |
| 1651 |
panic(fmt.Sprintf("compare: unexpected type %T in oneof", this.Custom)) |
| 1652 |
} |
| 1653 |
that1Type := -1 |
| 1654 |
switch that1.Custom.(type) { |
| 1655 |
case *CustomOneof_Stringy: |
| 1656 |
that1Type = 0 |
| 1657 |
case *CustomOneof_CustomType: |
| 1658 |
that1Type = 1 |
| 1659 |
case *CustomOneof_CastType: |
| 1660 |
that1Type = 2 |
| 1661 |
case *CustomOneof_MyCustomName: |
| 1662 |
that1Type = 3 |
| 1663 |
default: |
| 1664 |
panic(fmt.Sprintf("compare: unexpected type %T in oneof", that1.Custom)) |
| 1665 |
} |
| 1666 |
if thisType == that1Type { |
| 1667 |
if c := this.Custom.Compare(that1.Custom); c != 0 { |
| 1668 |
return c |
| 1669 |
} |
| 1670 |
} else if thisType < that1Type { |
| 1671 |
return -1 |
| 1672 |
} else if thisType > that1Type { |
| 1673 |
return 1 |
| 1674 |
} |
| 1675 |
} |
| 1676 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 1677 |
return c |
| 1678 |
} |
| 1679 |
return 0 |
| 1680 |
} |
| 1681 |
func (this *CustomOneof_Stringy) Compare(that interface{}) int { |
| 1682 |
if that == nil { |
| 1683 |
if this == nil { |
| 1684 |
return 0 |
| 1685 |
} |
| 1686 |
return 1 |
| 1687 |
} |
| 1688 |
|
| 1689 |
that1, ok := that.(*CustomOneof_Stringy) |
| 1690 |
if !ok { |
| 1691 |
that2, ok := that.(CustomOneof_Stringy) |
| 1692 |
if ok { |
| 1693 |
that1 = &that2 |
| 1694 |
} else { |
| 1695 |
return 1 |
| 1696 |
} |
| 1697 |
} |
| 1698 |
if that1 == nil { |
| 1699 |
if this == nil { |
| 1700 |
return 0 |
| 1701 |
} |
| 1702 |
return 1 |
| 1703 |
} else if this == nil { |
| 1704 |
return -1 |
| 1705 |
} |
| 1706 |
if this.Stringy != that1.Stringy { |
| 1707 |
if this.Stringy < that1.Stringy { |
| 1708 |
return -1 |
| 1709 |
} |
| 1710 |
return 1 |
| 1711 |
} |
| 1712 |
return 0 |
| 1713 |
} |
| 1714 |
func (this *CustomOneof_CustomType) Compare(that interface{}) int { |
| 1715 |
if that == nil { |
| 1716 |
if this == nil { |
| 1717 |
return 0 |
| 1718 |
} |
| 1719 |
return 1 |
| 1720 |
} |
| 1721 |
|
| 1722 |
that1, ok := that.(*CustomOneof_CustomType) |
| 1723 |
if !ok { |
| 1724 |
that2, ok := that.(CustomOneof_CustomType) |
| 1725 |
if ok { |
| 1726 |
that1 = &that2 |
| 1727 |
} else { |
| 1728 |
return 1 |
| 1729 |
} |
| 1730 |
} |
| 1731 |
if that1 == nil { |
| 1732 |
if this == nil { |
| 1733 |
return 0 |
| 1734 |
} |
| 1735 |
return 1 |
| 1736 |
} else if this == nil { |
| 1737 |
return -1 |
| 1738 |
} |
| 1739 |
if c := this.CustomType.Compare(that1.CustomType); c != 0 { |
| 1740 |
return c |
| 1741 |
} |
| 1742 |
return 0 |
| 1743 |
} |
| 1744 |
func (this *CustomOneof_CastType) Compare(that interface{}) int { |
| 1745 |
if that == nil { |
| 1746 |
if this == nil { |
| 1747 |
return 0 |
| 1748 |
} |
| 1749 |
return 1 |
| 1750 |
} |
| 1751 |
|
| 1752 |
that1, ok := that.(*CustomOneof_CastType) |
| 1753 |
if !ok { |
| 1754 |
that2, ok := that.(CustomOneof_CastType) |
| 1755 |
if ok { |
| 1756 |
that1 = &that2 |
| 1757 |
} else { |
| 1758 |
return 1 |
| 1759 |
} |
| 1760 |
} |
| 1761 |
if that1 == nil { |
| 1762 |
if this == nil { |
| 1763 |
return 0 |
| 1764 |
} |
| 1765 |
return 1 |
| 1766 |
} else if this == nil { |
| 1767 |
return -1 |
| 1768 |
} |
| 1769 |
if this.CastType != that1.CastType { |
| 1770 |
if this.CastType < that1.CastType { |
| 1771 |
return -1 |
| 1772 |
} |
| 1773 |
return 1 |
| 1774 |
} |
| 1775 |
return 0 |
| 1776 |
} |
| 1777 |
func (this *CustomOneof_MyCustomName) Compare(that interface{}) int { |
| 1778 |
if that == nil { |
| 1779 |
if this == nil { |
| 1780 |
return 0 |
| 1781 |
} |
| 1782 |
return 1 |
| 1783 |
} |
| 1784 |
|
| 1785 |
that1, ok := that.(*CustomOneof_MyCustomName) |
| 1786 |
if !ok { |
| 1787 |
that2, ok := that.(CustomOneof_MyCustomName) |
| 1788 |
if ok { |
| 1789 |
that1 = &that2 |
| 1790 |
} else { |
| 1791 |
return 1 |
| 1792 |
} |
| 1793 |
} |
| 1794 |
if that1 == nil { |
| 1795 |
if this == nil { |
| 1796 |
return 0 |
| 1797 |
} |
| 1798 |
return 1 |
| 1799 |
} else if this == nil { |
| 1800 |
return -1 |
| 1801 |
} |
| 1802 |
if this.MyCustomName != that1.MyCustomName { |
| 1803 |
if this.MyCustomName < that1.MyCustomName { |
| 1804 |
return -1 |
| 1805 |
} |
| 1806 |
return 1 |
| 1807 |
} |
| 1808 |
return 0 |
| 1809 |
} |
| 1810 |
func (this *Subby) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { |
| 1811 |
return OneDescription() |
| 1812 |
} |
| 1813 |
func (this *AllTypesOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { |
| 1814 |
return OneDescription() |
| 1815 |
} |
| 1816 |
func (this *TwoOneofs) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { |
| 1817 |
return OneDescription() |
| 1818 |
} |
| 1819 |
func (this *CustomOneof) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { |
| 1820 |
return OneDescription() |
| 1821 |
} |
| 1822 |
func OneDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { |
| 1823 |
d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{} |
| 1824 |
var gzipped = []byte{ |
| 1825 |
// 4303 bytes of a gzipped FileDescriptorSet |
| 1826 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0x5b, 0x70, 0x1b, 0xe7, |
| 1827 |
0x75, 0xe6, 0xe2, 0x42, 0x02, 0x07, 0x20, 0xb8, 0x5c, 0xd2, 0x12, 0x44, 0xc7, 0x90, 0x04, 0xdb, |
| 1828 |
0x31, 0x7d, 0x23, 0x6d, 0x8a, 0xa4, 0x24, 0xa8, 0x89, 0x0b, 0x92, 0x10, 0x45, 0x97, 0x24, 0x98, |
| 1829 |
0x05, 0x19, 0x5f, 0x32, 0x9d, 0x9d, 0xe5, 0xe2, 0x07, 0xb8, 0xd2, 0x62, 0x77, 0xb3, 0xbb, 0x90, |
| 1830 |
0x0c, 0x4d, 0x1f, 0xd4, 0x71, 0x2f, 0x93, 0xe9, 0x3d, 0xed, 0x4c, 0x13, 0xd7, 0x71, 0x9b, 0x74, |
| 1831 |
0x1a, 0xbb, 0xe9, 0x2d, 0xe9, 0x25, 0x4d, 0xd2, 0x97, 0xbe, 0xa4, 0xf5, 0x53, 0xc7, 0x79, 0xeb, |
| 1832 |
0x74, 0x3a, 0x1e, 0x8b, 0xf6, 0x4c, 0xd3, 0xd6, 0x6d, 0xdd, 0x56, 0x0f, 0x9e, 0xba, 0x0f, 0x9d, |
| 1833 |
0xff, 0xb6, 0xbb, 0xb8, 0x50, 0x0b, 0x66, 0x6a, 0xfb, 0x49, 0xdc, 0x73, 0xce, 0xf7, 0xed, 0xf9, |
| 1834 |
0xcf, 0x7f, 0xfe, 0xf3, 0x9f, 0xff, 0x5f, 0x08, 0x5e, 0x2f, 0xc1, 0x99, 0xa6, 0x65, 0x35, 0x0d, |
| 1835 |
0x34, 0x6f, 0x3b, 0x96, 0x67, 0xed, 0xb7, 0x1b, 0xf3, 0x75, 0xe4, 0x6a, 0x8e, 0x6e, 0x7b, 0x96, |
| 1836 |
0x33, 0x47, 0x64, 0xd2, 0x04, 0xb5, 0x98, 0xe3, 0x16, 0xc5, 0x2d, 0x98, 0xbc, 0xac, 0x1b, 0x68, |
| 1837 |
0xcd, 0x37, 0xac, 0x21, 0x4f, 0xba, 0x00, 0x89, 0x86, 0x6e, 0xa0, 0xbc, 0x70, 0x26, 0x3e, 0x9b, |
| 1838 |
0x59, 0x78, 0x60, 0xae, 0x07, 0x34, 0xd7, 0x8d, 0xd8, 0xc1, 0x62, 0x99, 0x20, 0x8a, 0xef, 0x24, |
| 1839 |
0x60, 0x6a, 0x80, 0x56, 0x92, 0x20, 0x61, 0xaa, 0x2d, 0xcc, 0x28, 0xcc, 0xa6, 0x65, 0xf2, 0xb7, |
| 1840 |
0x94, 0x87, 0x31, 0x5b, 0xd5, 0xae, 0xa9, 0x4d, 0x94, 0x8f, 0x11, 0x31, 0x7f, 0x94, 0x0a, 0x00, |
| 1841 |
0x75, 0x64, 0x23, 0xb3, 0x8e, 0x4c, 0xad, 0x93, 0x8f, 0x9f, 0x89, 0xcf, 0xa6, 0xe5, 0x90, 0x44, |
| 1842 |
0x7a, 0x14, 0x26, 0xed, 0xf6, 0xbe, 0xa1, 0x6b, 0x4a, 0xc8, 0x0c, 0xce, 0xc4, 0x67, 0x93, 0xb2, |
| 1843 |
0x48, 0x15, 0x6b, 0x81, 0xf1, 0x43, 0x30, 0x71, 0x03, 0xa9, 0xd7, 0xc2, 0xa6, 0x19, 0x62, 0x9a, |
| 1844 |
0xc3, 0xe2, 0x90, 0xe1, 0x2a, 0x64, 0x5b, 0xc8, 0x75, 0xd5, 0x26, 0x52, 0xbc, 0x8e, 0x8d, 0xf2, |
| 1845 |
0x09, 0x32, 0xfa, 0x33, 0x7d, 0xa3, 0xef, 0x1d, 0x79, 0x86, 0xa1, 0x76, 0x3b, 0x36, 0x92, 0xca, |
| 1846 |
0x90, 0x46, 0x66, 0xbb, 0x45, 0x19, 0x92, 0x47, 0xc4, 0xaf, 0x62, 0xb6, 0x5b, 0xbd, 0x2c, 0x29, |
| 1847 |
0x0c, 0x63, 0x14, 0x63, 0x2e, 0x72, 0xae, 0xeb, 0x1a, 0xca, 0x8f, 0x12, 0x82, 0x87, 0xfa, 0x08, |
| 1848 |
0x6a, 0x54, 0xdf, 0xcb, 0xc1, 0x71, 0xd2, 0x2a, 0xa4, 0xd1, 0x0b, 0x1e, 0x32, 0x5d, 0xdd, 0x32, |
| 1849 |
0xf3, 0x63, 0x84, 0xe4, 0xc1, 0x01, 0xb3, 0x88, 0x8c, 0x7a, 0x2f, 0x45, 0x80, 0x93, 0x96, 0x61, |
| 1850 |
0xcc, 0xb2, 0x3d, 0xdd, 0x32, 0xdd, 0x7c, 0xea, 0x8c, 0x30, 0x9b, 0x59, 0xf8, 0xc4, 0xc0, 0x44, |
| 1851 |
0xa8, 0x52, 0x1b, 0x99, 0x1b, 0x4b, 0x1b, 0x20, 0xba, 0x56, 0xdb, 0xd1, 0x90, 0xa2, 0x59, 0x75, |
| 1852 |
0xa4, 0xe8, 0x66, 0xc3, 0xca, 0xa7, 0x09, 0xc1, 0xe9, 0xfe, 0x81, 0x10, 0xc3, 0x55, 0xab, 0x8e, |
| 1853 |
0x36, 0xcc, 0x86, 0x25, 0xe7, 0xdc, 0xae, 0x67, 0xe9, 0x04, 0x8c, 0xba, 0x1d, 0xd3, 0x53, 0x5f, |
| 1854 |
0xc8, 0x67, 0x49, 0x86, 0xb0, 0xa7, 0xe2, 0x77, 0x47, 0x61, 0x62, 0x98, 0x14, 0xbb, 0x04, 0xc9, |
| 1855 |
0x06, 0x1e, 0x65, 0x3e, 0x76, 0x9c, 0x18, 0x50, 0x4c, 0x77, 0x10, 0x47, 0x7f, 0xc4, 0x20, 0x96, |
| 1856 |
0x21, 0x63, 0x22, 0xd7, 0x43, 0x75, 0x9a, 0x11, 0xf1, 0x21, 0x73, 0x0a, 0x28, 0xa8, 0x3f, 0xa5, |
| 1857 |
0x12, 0x3f, 0x52, 0x4a, 0x3d, 0x0b, 0x13, 0xbe, 0x4b, 0x8a, 0xa3, 0x9a, 0x4d, 0x9e, 0x9b, 0xf3, |
| 1858 |
0x51, 0x9e, 0xcc, 0x55, 0x38, 0x4e, 0xc6, 0x30, 0x39, 0x87, 0xba, 0x9e, 0xa5, 0x35, 0x00, 0xcb, |
| 1859 |
0x44, 0x56, 0x43, 0xa9, 0x23, 0xcd, 0xc8, 0xa7, 0x8e, 0x88, 0x52, 0x15, 0x9b, 0xf4, 0x45, 0xc9, |
| 1860 |
0xa2, 0x52, 0xcd, 0x90, 0x2e, 0x06, 0xa9, 0x36, 0x76, 0x44, 0xa6, 0x6c, 0xd1, 0x45, 0xd6, 0x97, |
| 1861 |
0x6d, 0x7b, 0x90, 0x73, 0x10, 0xce, 0x7b, 0x54, 0x67, 0x23, 0x4b, 0x13, 0x27, 0xe6, 0x22, 0x47, |
| 1862 |
0x26, 0x33, 0x18, 0x1d, 0xd8, 0xb8, 0x13, 0x7e, 0x94, 0xee, 0x07, 0x5f, 0xa0, 0x90, 0xb4, 0x02, |
| 1863 |
0x52, 0x85, 0xb2, 0x5c, 0xb8, 0xad, 0xb6, 0xd0, 0xcc, 0x4d, 0xc8, 0x75, 0x87, 0x47, 0x9a, 0x86, |
| 1864 |
0xa4, 0xeb, 0xa9, 0x8e, 0x47, 0xb2, 0x30, 0x29, 0xd3, 0x07, 0x49, 0x84, 0x38, 0x32, 0xeb, 0xa4, |
| 1865 |
0xca, 0x25, 0x65, 0xfc, 0xa7, 0xf4, 0xe3, 0xc1, 0x80, 0xe3, 0x64, 0xc0, 0x9f, 0xec, 0x9f, 0xd1, |
| 1866 |
0x2e, 0xe6, 0xde, 0x71, 0xcf, 0x9c, 0x87, 0xf1, 0xae, 0x01, 0x0c, 0xfb, 0xea, 0xe2, 0x4f, 0xc1, |
| 1867 |
0x3d, 0x03, 0xa9, 0xa5, 0x67, 0x61, 0xba, 0x6d, 0xea, 0xa6, 0x87, 0x1c, 0xdb, 0x41, 0x38, 0x63, |
| 1868 |
0xe9, 0xab, 0xf2, 0xff, 0x34, 0x76, 0x44, 0xce, 0xed, 0x85, 0xad, 0x29, 0x8b, 0x3c, 0xd5, 0xee, |
| 1869 |
0x17, 0x3e, 0x92, 0x4e, 0xfd, 0x70, 0x4c, 0xbc, 0x75, 0xeb, 0xd6, 0xad, 0x58, 0xf1, 0x4b, 0xa3, |
| 1870 |
0x30, 0x3d, 0x68, 0xcd, 0x0c, 0x5c, 0xbe, 0x27, 0x60, 0xd4, 0x6c, 0xb7, 0xf6, 0x91, 0x43, 0x82, |
| 1871 |
0x94, 0x94, 0xd9, 0x93, 0x54, 0x86, 0xa4, 0xa1, 0xee, 0x23, 0x23, 0x9f, 0x38, 0x23, 0xcc, 0xe6, |
| 1872 |
0x16, 0x1e, 0x1d, 0x6a, 0x55, 0xce, 0x6d, 0x62, 0x88, 0x4c, 0x91, 0xd2, 0xa7, 0x21, 0xc1, 0x4a, |
| 1873 |
0x34, 0x66, 0x78, 0x64, 0x38, 0x06, 0xbc, 0x96, 0x64, 0x82, 0x93, 0xee, 0x85, 0x34, 0xfe, 0x97, |
| 1874 |
0xe6, 0xc6, 0x28, 0xf1, 0x39, 0x85, 0x05, 0x38, 0x2f, 0xa4, 0x19, 0x48, 0x91, 0x65, 0x52, 0x47, |
| 1875 |
0x7c, 0x6b, 0xf3, 0x9f, 0x71, 0x62, 0xd5, 0x51, 0x43, 0x6d, 0x1b, 0x9e, 0x72, 0x5d, 0x35, 0xda, |
| 1876 |
0x88, 0x24, 0x7c, 0x5a, 0xce, 0x32, 0xe1, 0x67, 0xb1, 0x4c, 0x3a, 0x0d, 0x19, 0xba, 0xaa, 0x74, |
| 1877 |
0xb3, 0x8e, 0x5e, 0x20, 0xd5, 0x33, 0x29, 0xd3, 0x85, 0xb6, 0x81, 0x25, 0xf8, 0xf5, 0x57, 0x5d, |
| 1878 |
0xcb, 0xe4, 0xa9, 0x49, 0x5e, 0x81, 0x05, 0xe4, 0xf5, 0xe7, 0x7b, 0x0b, 0xf7, 0x7d, 0x83, 0x87, |
| 1879 |
0xd7, 0x9b, 0x53, 0xc5, 0x6f, 0xc7, 0x20, 0x41, 0xea, 0xc5, 0x04, 0x64, 0x76, 0x9f, 0xdb, 0xa9, |
| 1880 |
0x28, 0x6b, 0xd5, 0xbd, 0x95, 0xcd, 0x8a, 0x28, 0x48, 0x39, 0x00, 0x22, 0xb8, 0xbc, 0x59, 0x2d, |
| 1881 |
0xef, 0x8a, 0x31, 0xff, 0x79, 0x63, 0x7b, 0x77, 0x79, 0x51, 0x8c, 0xfb, 0x80, 0x3d, 0x2a, 0x48, |
| 1882 |
0x84, 0x0d, 0xce, 0x2d, 0x88, 0x49, 0x49, 0x84, 0x2c, 0x25, 0xd8, 0x78, 0xb6, 0xb2, 0xb6, 0xbc, |
| 1883 |
0x28, 0x8e, 0x76, 0x4b, 0xce, 0x2d, 0x88, 0x63, 0xd2, 0x38, 0xa4, 0x89, 0x64, 0xa5, 0x5a, 0xdd, |
| 1884 |
0x14, 0x53, 0x3e, 0x67, 0x6d, 0x57, 0xde, 0xd8, 0x5e, 0x17, 0xd3, 0x3e, 0xe7, 0xba, 0x5c, 0xdd, |
| 1885 |
0xdb, 0x11, 0xc1, 0x67, 0xd8, 0xaa, 0xd4, 0x6a, 0xe5, 0xf5, 0x8a, 0x98, 0xf1, 0x2d, 0x56, 0x9e, |
| 1886 |
0xdb, 0xad, 0xd4, 0xc4, 0x6c, 0x97, 0x5b, 0xe7, 0x16, 0xc4, 0x71, 0xff, 0x15, 0x95, 0xed, 0xbd, |
| 1887 |
0x2d, 0x31, 0x27, 0x4d, 0xc2, 0x38, 0x7d, 0x05, 0x77, 0x62, 0xa2, 0x47, 0xb4, 0xbc, 0x28, 0x8a, |
| 1888 |
0x81, 0x23, 0x94, 0x65, 0xb2, 0x4b, 0xb0, 0xbc, 0x28, 0x4a, 0xc5, 0x55, 0x48, 0x92, 0xec, 0x92, |
| 1889 |
0x24, 0xc8, 0x6d, 0x96, 0x57, 0x2a, 0x9b, 0x4a, 0x75, 0x67, 0x77, 0xa3, 0xba, 0x5d, 0xde, 0x14, |
| 1890 |
0x85, 0x40, 0x26, 0x57, 0x3e, 0xb3, 0xb7, 0x21, 0x57, 0xd6, 0xc4, 0x58, 0x58, 0xb6, 0x53, 0x29, |
| 1891 |
0xef, 0x56, 0xd6, 0xc4, 0x78, 0x51, 0x83, 0xe9, 0x41, 0x75, 0x72, 0xe0, 0xca, 0x08, 0x4d, 0x71, |
| 1892 |
0xec, 0x88, 0x29, 0x26, 0x5c, 0x7d, 0x53, 0xfc, 0x76, 0x0c, 0xa6, 0x06, 0xec, 0x15, 0x03, 0x5f, |
| 1893 |
0xf2, 0x14, 0x24, 0x69, 0x8a, 0xd2, 0xdd, 0xf3, 0xe1, 0x81, 0x9b, 0x0e, 0x49, 0xd8, 0xbe, 0x1d, |
| 1894 |
0x94, 0xe0, 0xc2, 0x1d, 0x44, 0xfc, 0x88, 0x0e, 0x02, 0x53, 0xf4, 0xd5, 0xf4, 0x9f, 0xec, 0xab, |
| 1895 |
0xe9, 0x74, 0xdb, 0x5b, 0x1e, 0x66, 0xdb, 0x23, 0xb2, 0xe3, 0xd5, 0xf6, 0xe4, 0x80, 0xda, 0x7e, |
| 1896 |
0x09, 0x26, 0xfb, 0x88, 0x86, 0xae, 0xb1, 0x2f, 0x0a, 0x90, 0x3f, 0x2a, 0x38, 0x11, 0x95, 0x2e, |
| 1897 |
0xd6, 0x55, 0xe9, 0x2e, 0xf5, 0x46, 0xf0, 0xec, 0xd1, 0x93, 0xd0, 0x37, 0xd7, 0xaf, 0x0a, 0x70, |
| 1898 |
0x62, 0x70, 0xa7, 0x38, 0xd0, 0x87, 0x4f, 0xc3, 0x68, 0x0b, 0x79, 0x07, 0x16, 0xef, 0x96, 0x3e, |
| 1899 |
0x39, 0x60, 0x0f, 0xc6, 0xea, 0xde, 0xc9, 0x66, 0xa8, 0xf0, 0x26, 0x1e, 0x3f, 0xaa, 0xdd, 0xa3, |
| 1900 |
0xde, 0xf4, 0x79, 0xfa, 0x85, 0x18, 0xdc, 0x33, 0x90, 0x7c, 0xa0, 0xa3, 0xf7, 0x01, 0xe8, 0xa6, |
| 1901 |
0xdd, 0xf6, 0x68, 0x47, 0x44, 0x0b, 0x6c, 0x9a, 0x48, 0x48, 0xf1, 0xc2, 0xc5, 0xb3, 0xed, 0xf9, |
| 1902 |
0xfa, 0x38, 0xd1, 0x03, 0x15, 0x11, 0x83, 0x0b, 0x81, 0xa3, 0x09, 0xe2, 0x68, 0xe1, 0x88, 0x91, |
| 1903 |
0xf6, 0x25, 0xe6, 0x13, 0x20, 0x6a, 0x86, 0x8e, 0x4c, 0x4f, 0x71, 0x3d, 0x07, 0xa9, 0x2d, 0xdd, |
| 1904 |
0x6c, 0x92, 0x1d, 0x24, 0x55, 0x4a, 0x36, 0x54, 0xc3, 0x45, 0xf2, 0x04, 0x55, 0xd7, 0xb8, 0x16, |
| 1905 |
0x23, 0x48, 0x02, 0x39, 0x21, 0xc4, 0x68, 0x17, 0x82, 0xaa, 0x7d, 0x44, 0xf1, 0x17, 0xd3, 0x90, |
| 1906 |
0x09, 0xf5, 0xd5, 0xd2, 0x59, 0xc8, 0x5e, 0x55, 0xaf, 0xab, 0x0a, 0x3f, 0x2b, 0xd1, 0x48, 0x64, |
| 1907 |
0xb0, 0x6c, 0x87, 0x9d, 0x97, 0x9e, 0x80, 0x69, 0x62, 0x62, 0xb5, 0x3d, 0xe4, 0x28, 0x9a, 0xa1, |
| 1908 |
0xba, 0x2e, 0x09, 0x5a, 0x8a, 0x98, 0x4a, 0x58, 0x57, 0xc5, 0xaa, 0x55, 0xae, 0x91, 0x96, 0x60, |
| 1909 |
0x8a, 0x20, 0x5a, 0x6d, 0xc3, 0xd3, 0x6d, 0x03, 0x29, 0xf8, 0xf4, 0xe6, 0x92, 0x9d, 0xc4, 0xf7, |
| 1910 |
0x6c, 0x12, 0x5b, 0x6c, 0x31, 0x03, 0xec, 0x91, 0x2b, 0xad, 0xc1, 0x7d, 0x04, 0xd6, 0x44, 0x26, |
| 1911 |
0x72, 0x54, 0x0f, 0x29, 0xe8, 0xf3, 0x6d, 0xd5, 0x70, 0x15, 0xd5, 0xac, 0x2b, 0x07, 0xaa, 0x7b, |
| 1912 |
0x90, 0x9f, 0xc6, 0x04, 0x2b, 0xb1, 0xbc, 0x20, 0x9f, 0xc2, 0x86, 0xeb, 0xcc, 0xae, 0x42, 0xcc, |
| 1913 |
0xca, 0x66, 0xfd, 0x8a, 0xea, 0x1e, 0x48, 0x25, 0x38, 0x41, 0x58, 0x5c, 0xcf, 0xd1, 0xcd, 0xa6, |
| 1914 |
0xa2, 0x1d, 0x20, 0xed, 0x9a, 0xd2, 0xf6, 0x1a, 0x17, 0xf2, 0xf7, 0x86, 0xdf, 0x4f, 0x3c, 0xac, |
| 1915 |
0x11, 0x9b, 0x55, 0x6c, 0xb2, 0xe7, 0x35, 0x2e, 0x48, 0x35, 0xc8, 0xe2, 0xc9, 0x68, 0xe9, 0x37, |
| 1916 |
0x91, 0xd2, 0xb0, 0x1c, 0xb2, 0x35, 0xe6, 0x06, 0x94, 0xa6, 0x50, 0x04, 0xe7, 0xaa, 0x0c, 0xb0, |
| 1917 |
0x65, 0xd5, 0x51, 0x29, 0x59, 0xdb, 0xa9, 0x54, 0xd6, 0xe4, 0x0c, 0x67, 0xb9, 0x6c, 0x39, 0x38, |
| 1918 |
0xa1, 0x9a, 0x96, 0x1f, 0xe0, 0x0c, 0x4d, 0xa8, 0xa6, 0xc5, 0xc3, 0xbb, 0x04, 0x53, 0x9a, 0x46, |
| 1919 |
0xc7, 0xac, 0x6b, 0x0a, 0x3b, 0x63, 0xb9, 0x79, 0xb1, 0x2b, 0x58, 0x9a, 0xb6, 0x4e, 0x0d, 0x58, |
| 1920 |
0x8e, 0xbb, 0xd2, 0x45, 0xb8, 0x27, 0x08, 0x56, 0x18, 0x38, 0xd9, 0x37, 0xca, 0x5e, 0xe8, 0x12, |
| 1921 |
0x4c, 0xd9, 0x9d, 0x7e, 0xa0, 0xd4, 0xf5, 0x46, 0xbb, 0xd3, 0x0b, 0x3b, 0x0f, 0xd3, 0xf6, 0x81, |
| 1922 |
0xdd, 0x8f, 0x7b, 0x24, 0x8c, 0x93, 0xec, 0x03, 0xbb, 0x17, 0xf8, 0x20, 0x39, 0x70, 0x3b, 0x48, |
| 1923 |
0x53, 0x3d, 0x54, 0xcf, 0x9f, 0x0c, 0x9b, 0x87, 0x14, 0xd2, 0x3c, 0x88, 0x9a, 0xa6, 0x20, 0x53, |
| 1924 |
0xdd, 0x37, 0x90, 0xa2, 0x3a, 0xc8, 0x54, 0xdd, 0xfc, 0xe9, 0xb0, 0x71, 0x4e, 0xd3, 0x2a, 0x44, |
| 1925 |
0x5b, 0x26, 0x4a, 0xe9, 0x11, 0x98, 0xb4, 0xf6, 0xaf, 0x6a, 0x34, 0x25, 0x15, 0xdb, 0x41, 0x0d, |
| 1926 |
0xfd, 0x85, 0xfc, 0x03, 0x24, 0xbe, 0x13, 0x58, 0x41, 0x12, 0x72, 0x87, 0x88, 0xa5, 0x87, 0x41, |
| 1927 |
0xd4, 0xdc, 0x03, 0xd5, 0xb1, 0x49, 0x4d, 0x76, 0x6d, 0x55, 0x43, 0xf9, 0x07, 0xa9, 0x29, 0x95, |
| 1928 |
0x6f, 0x73, 0x31, 0x5e, 0x12, 0xee, 0x0d, 0xbd, 0xe1, 0x71, 0xc6, 0x87, 0xe8, 0x92, 0x20, 0x32, |
| 1929 |
0xc6, 0x36, 0x0b, 0x22, 0x0e, 0x45, 0xd7, 0x8b, 0x67, 0x89, 0x59, 0xce, 0x3e, 0xb0, 0xc3, 0xef, |
| 1930 |
0xbd, 0x1f, 0xc6, 0xb1, 0x65, 0xf0, 0xd2, 0x87, 0x69, 0x43, 0x66, 0x1f, 0x84, 0xde, 0xb8, 0x08, |
| 1931 |
0x27, 0xb0, 0x51, 0x0b, 0x79, 0x6a, 0x5d, 0xf5, 0xd4, 0x90, 0xf5, 0x63, 0xc4, 0x1a, 0xc7, 0x7d, |
| 1932 |
0x8b, 0x29, 0xbb, 0xfc, 0x74, 0xda, 0xfb, 0x1d, 0x3f, 0xb3, 0x1e, 0xa7, 0x7e, 0x62, 0x19, 0xcf, |
| 1933 |
0xad, 0x0f, 0xad, 0xe9, 0x2e, 0x96, 0x20, 0x1b, 0x4e, 0x7c, 0x29, 0x0d, 0x34, 0xf5, 0x45, 0x01, |
| 1934 |
0x77, 0x41, 0xab, 0xd5, 0x35, 0xdc, 0xbf, 0x3c, 0x5f, 0x11, 0x63, 0xb8, 0x8f, 0xda, 0xdc, 0xd8, |
| 1935 |
0xad, 0x28, 0xf2, 0xde, 0xf6, 0xee, 0xc6, 0x56, 0x45, 0x8c, 0x87, 0x1b, 0xf6, 0xef, 0xc7, 0x20, |
| 1936 |
0xd7, 0x7d, 0xf6, 0x92, 0x7e, 0x0c, 0x4e, 0xf2, 0x8b, 0x12, 0x17, 0x79, 0xca, 0x0d, 0xdd, 0x21, |
| 1937 |
0x6b, 0xb1, 0xa5, 0xd2, 0x7d, 0xd1, 0xcf, 0x86, 0x69, 0x66, 0x55, 0x43, 0xde, 0x33, 0xba, 0x83, |
| 1938 |
0x57, 0x5a, 0x4b, 0xf5, 0xa4, 0x4d, 0x38, 0x6d, 0x5a, 0x8a, 0xeb, 0xa9, 0x66, 0x5d, 0x75, 0xea, |
| 1939 |
0x4a, 0x70, 0x45, 0xa5, 0xa8, 0x9a, 0x86, 0x5c, 0xd7, 0xa2, 0x7b, 0xa0, 0xcf, 0xf2, 0x09, 0xd3, |
| 1940 |
0xaa, 0x31, 0xe3, 0x60, 0x73, 0x28, 0x33, 0xd3, 0x9e, 0xcc, 0x8d, 0x1f, 0x95, 0xb9, 0xf7, 0x42, |
| 1941 |
0xba, 0xa5, 0xda, 0x0a, 0x32, 0x3d, 0xa7, 0x43, 0x3a, 0xee, 0x94, 0x9c, 0x6a, 0xa9, 0x76, 0x05, |
| 1942 |
0x3f, 0x7f, 0x34, 0x07, 0x9f, 0x7f, 0x8c, 0x43, 0x36, 0xdc, 0x75, 0xe3, 0x43, 0x8c, 0x46, 0x36, |
| 1943 |
0x28, 0x81, 0x94, 0xb0, 0xfb, 0xef, 0xda, 0xa3, 0xcf, 0xad, 0xe2, 0x9d, 0xab, 0x34, 0x4a, 0x7b, |
| 1944 |
0x61, 0x99, 0x22, 0x71, 0xd7, 0x80, 0x53, 0x0b, 0xd1, 0xde, 0x23, 0x25, 0xb3, 0x27, 0x69, 0x1d, |
| 1945 |
0x46, 0xaf, 0xba, 0x84, 0x7b, 0x94, 0x70, 0x3f, 0x70, 0x77, 0xee, 0xa7, 0x6b, 0x84, 0x3c, 0xfd, |
| 1946 |
0x74, 0x4d, 0xd9, 0xae, 0xca, 0x5b, 0xe5, 0x4d, 0x99, 0xc1, 0xa5, 0x53, 0x90, 0x30, 0xd4, 0x9b, |
| 1947 |
0x9d, 0xee, 0x3d, 0x8e, 0x88, 0x86, 0x0d, 0xfc, 0x29, 0x48, 0xdc, 0x40, 0xea, 0xb5, 0xee, 0x9d, |
| 1948 |
0x85, 0x88, 0x3e, 0xc4, 0xd4, 0x9f, 0x87, 0x24, 0x89, 0x97, 0x04, 0xc0, 0x22, 0x26, 0x8e, 0x48, |
| 1949 |
0x29, 0x48, 0xac, 0x56, 0x65, 0x9c, 0xfe, 0x22, 0x64, 0xa9, 0x54, 0xd9, 0xd9, 0xa8, 0xac, 0x56, |
| 1950 |
0xc4, 0x58, 0x71, 0x09, 0x46, 0x69, 0x10, 0xf0, 0xd2, 0xf0, 0xc3, 0x20, 0x8e, 0xb0, 0x47, 0xc6, |
| 1951 |
0x21, 0x70, 0xed, 0xde, 0xd6, 0x4a, 0x45, 0x16, 0x63, 0xe1, 0xe9, 0x75, 0x21, 0x1b, 0x6e, 0xb8, |
| 1952 |
0x3f, 0x9a, 0x9c, 0xfa, 0x9e, 0x00, 0x99, 0x50, 0x03, 0x8d, 0x3b, 0x1f, 0xd5, 0x30, 0xac, 0x1b, |
| 1953 |
0x8a, 0x6a, 0xe8, 0xaa, 0xcb, 0x92, 0x02, 0x88, 0xa8, 0x8c, 0x25, 0xc3, 0x4e, 0xda, 0x47, 0xe2, |
| 1954 |
0xfc, 0x2b, 0x02, 0x88, 0xbd, 0xbd, 0x6b, 0x8f, 0x83, 0xc2, 0xc7, 0xea, 0xe0, 0xcb, 0x02, 0xe4, |
| 1955 |
0xba, 0x1b, 0xd6, 0x1e, 0xf7, 0xce, 0x7e, 0xac, 0xee, 0xbd, 0x15, 0x83, 0xf1, 0xae, 0x36, 0x75, |
| 1956 |
0x58, 0xef, 0x3e, 0x0f, 0x93, 0x7a, 0x1d, 0xb5, 0x6c, 0xcb, 0x43, 0xa6, 0xd6, 0x51, 0x0c, 0x74, |
| 1957 |
0x1d, 0x19, 0xf9, 0x22, 0x29, 0x14, 0xf3, 0x77, 0x6f, 0x84, 0xe7, 0x36, 0x02, 0xdc, 0x26, 0x86, |
| 1958 |
0x95, 0xa6, 0x36, 0xd6, 0x2a, 0x5b, 0x3b, 0xd5, 0xdd, 0xca, 0xf6, 0xea, 0x73, 0xca, 0xde, 0xf6, |
| 1959 |
0x4f, 0x6c, 0x57, 0x9f, 0xd9, 0x96, 0x45, 0xbd, 0xc7, 0xec, 0x43, 0x5c, 0xea, 0x3b, 0x20, 0xf6, |
| 1960 |
0x3a, 0x25, 0x9d, 0x84, 0x41, 0x6e, 0x89, 0x23, 0xd2, 0x14, 0x4c, 0x6c, 0x57, 0x95, 0xda, 0xc6, |
| 1961 |
0x5a, 0x45, 0xa9, 0x5c, 0xbe, 0x5c, 0x59, 0xdd, 0xad, 0xd1, 0xab, 0x0d, 0xdf, 0x7a, 0xb7, 0x7b, |
| 1962 |
0x51, 0xbf, 0x14, 0x87, 0xa9, 0x01, 0x9e, 0x48, 0x65, 0x76, 0x28, 0xa1, 0xe7, 0xa4, 0xc7, 0x87, |
| 1963 |
0xf1, 0x7e, 0x0e, 0x77, 0x05, 0x3b, 0xaa, 0xe3, 0xb1, 0x33, 0xcc, 0xc3, 0x80, 0xa3, 0x64, 0x7a, |
| 1964 |
0x7a, 0x43, 0x47, 0x0e, 0xbb, 0x09, 0xa2, 0x27, 0x95, 0x89, 0x40, 0x4e, 0x2f, 0x83, 0x1e, 0x03, |
| 1965 |
0xc9, 0xb6, 0x5c, 0xdd, 0xd3, 0xaf, 0x23, 0x45, 0x37, 0xf9, 0xb5, 0x11, 0x3e, 0xb9, 0x24, 0x64, |
| 1966 |
0x91, 0x6b, 0x36, 0x4c, 0xcf, 0xb7, 0x36, 0x51, 0x53, 0xed, 0xb1, 0xc6, 0x05, 0x3c, 0x2e, 0x8b, |
| 1967 |
0x5c, 0xe3, 0x5b, 0x9f, 0x85, 0x6c, 0xdd, 0x6a, 0xe3, 0x76, 0x8e, 0xda, 0xe1, 0xfd, 0x42, 0x90, |
| 1968 |
0x33, 0x54, 0xe6, 0x9b, 0xb0, 0x46, 0x3d, 0xb8, 0xaf, 0xca, 0xca, 0x19, 0x2a, 0xa3, 0x26, 0x0f, |
| 1969 |
0xc1, 0x84, 0xda, 0x6c, 0x3a, 0x98, 0x9c, 0x13, 0xd1, 0xa3, 0x47, 0xce, 0x17, 0x13, 0xc3, 0x99, |
| 1970 |
0xa7, 0x21, 0xc5, 0xe3, 0x80, 0xb7, 0x64, 0x1c, 0x09, 0xc5, 0xa6, 0xe7, 0xe9, 0xd8, 0x6c, 0x5a, |
| 1971 |
0x4e, 0x99, 0x5c, 0x79, 0x16, 0xb2, 0xba, 0xab, 0x04, 0xd7, 0xef, 0xb1, 0x33, 0xb1, 0xd9, 0x94, |
| 1972 |
0x9c, 0xd1, 0x5d, 0xff, 0xea, 0xb2, 0xf8, 0x6a, 0x0c, 0x72, 0xdd, 0x9f, 0x0f, 0xa4, 0x35, 0x48, |
| 1973 |
0x19, 0x96, 0xa6, 0x92, 0xd4, 0xa2, 0xdf, 0xae, 0x66, 0x23, 0xbe, 0x38, 0xcc, 0x6d, 0x32, 0x7b, |
| 1974 |
0xd9, 0x47, 0xce, 0xfc, 0x9d, 0x00, 0x29, 0x2e, 0x96, 0x4e, 0x40, 0xc2, 0x56, 0xbd, 0x03, 0x42, |
| 1975 |
0x97, 0x5c, 0x89, 0x89, 0x82, 0x4c, 0x9e, 0xb1, 0xdc, 0xb5, 0x55, 0x93, 0xa4, 0x00, 0x93, 0xe3, |
| 1976 |
0x67, 0x3c, 0xaf, 0x06, 0x52, 0xeb, 0xe4, 0x5c, 0x63, 0xb5, 0x5a, 0xc8, 0xf4, 0x5c, 0x3e, 0xaf, |
| 1977 |
0x4c, 0xbe, 0xca, 0xc4, 0xd2, 0xa3, 0x30, 0xe9, 0x39, 0xaa, 0x6e, 0x74, 0xd9, 0x26, 0x88, 0xad, |
| 1978 |
0xc8, 0x15, 0xbe, 0x71, 0x09, 0x4e, 0x71, 0xde, 0x3a, 0xf2, 0x54, 0xed, 0x00, 0xd5, 0x03, 0xd0, |
| 1979 |
0x28, 0xb9, 0xbf, 0x38, 0xc9, 0x0c, 0xd6, 0x98, 0x9e, 0x63, 0x8b, 0x3f, 0x10, 0x60, 0x92, 0x9f, |
| 1980 |
0xc4, 0xea, 0x7e, 0xb0, 0xb6, 0x00, 0x54, 0xd3, 0xb4, 0xbc, 0x70, 0xb8, 0xfa, 0x53, 0xb9, 0x0f, |
| 1981 |
0x37, 0x57, 0xf6, 0x41, 0x72, 0x88, 0x60, 0xa6, 0x05, 0x10, 0x68, 0x8e, 0x0c, 0xdb, 0x69, 0xc8, |
| 1982 |
0xb0, 0x6f, 0x43, 0xe4, 0x03, 0x23, 0x3d, 0xbb, 0x03, 0x15, 0xe1, 0x23, 0x9b, 0x34, 0x0d, 0xc9, |
| 1983 |
0x7d, 0xd4, 0xd4, 0x4d, 0x76, 0xe3, 0x4b, 0x1f, 0xf8, 0x0d, 0x4b, 0xc2, 0xbf, 0x61, 0x59, 0xf9, |
| 1984 |
0x1c, 0x4c, 0x69, 0x56, 0xab, 0xd7, 0xdd, 0x15, 0xb1, 0xe7, 0xfe, 0xc0, 0xbd, 0x22, 0x3c, 0x0f, |
| 1985 |
0x41, 0x8b, 0xf9, 0xbe, 0x20, 0x7c, 0x2d, 0x16, 0x5f, 0xdf, 0x59, 0xf9, 0x46, 0x6c, 0x66, 0x9d, |
| 1986 |
0x42, 0x77, 0xf8, 0x48, 0x65, 0xd4, 0x30, 0x90, 0x86, 0xbd, 0x87, 0xaf, 0x3f, 0x0a, 0x8f, 0x37, |
| 1987 |
0x75, 0xef, 0xa0, 0xbd, 0x3f, 0xa7, 0x59, 0xad, 0xf9, 0xa6, 0xd5, 0xb4, 0x82, 0x6f, 0xaa, 0xf8, |
| 1988 |
0x89, 0x3c, 0x90, 0xbf, 0xd8, 0x77, 0xd5, 0xb4, 0x2f, 0x9d, 0x89, 0xfc, 0x08, 0x5b, 0xda, 0x86, |
| 1989 |
0x29, 0x66, 0xac, 0x90, 0x0f, 0x3b, 0xf4, 0x78, 0x22, 0xdd, 0xf5, 0x72, 0x2c, 0xff, 0xad, 0x77, |
| 1990 |
0xc8, 0x76, 0x2d, 0x4f, 0x32, 0x28, 0xd6, 0xd1, 0x13, 0x4c, 0x49, 0x86, 0x7b, 0xba, 0xf8, 0xe8, |
| 1991 |
0xd2, 0x44, 0x4e, 0x04, 0xe3, 0xf7, 0x19, 0xe3, 0x54, 0x88, 0xb1, 0xc6, 0xa0, 0xa5, 0x55, 0x18, |
| 1992 |
0x3f, 0x0e, 0xd7, 0xdf, 0x30, 0xae, 0x2c, 0x0a, 0x93, 0xac, 0xc3, 0x04, 0x21, 0xd1, 0xda, 0xae, |
| 1993 |
0x67, 0xb5, 0x48, 0xdd, 0xbb, 0x3b, 0xcd, 0xdf, 0xbe, 0x43, 0xd7, 0x4a, 0x0e, 0xc3, 0x56, 0x7d, |
| 1994 |
0x54, 0xa9, 0x04, 0xe4, 0x5b, 0x56, 0x1d, 0x69, 0x46, 0x04, 0xc3, 0xeb, 0xcc, 0x11, 0xdf, 0xbe, |
| 1995 |
0xf4, 0x59, 0x98, 0xc6, 0x7f, 0x93, 0xb2, 0x14, 0xf6, 0x24, 0xfa, 0x26, 0x2d, 0xff, 0x83, 0x17, |
| 1996 |
0xe9, 0x72, 0x9c, 0xf2, 0x09, 0x42, 0x3e, 0x85, 0x66, 0xb1, 0x89, 0x3c, 0x0f, 0x39, 0xae, 0xa2, |
| 1997 |
0x1a, 0x83, 0xdc, 0x0b, 0x5d, 0x45, 0xe4, 0xbf, 0xfc, 0x6e, 0xf7, 0x2c, 0xae, 0x53, 0x64, 0xd9, |
| 1998 |
0x30, 0x4a, 0x7b, 0x70, 0x72, 0x40, 0x56, 0x0c, 0xc1, 0xf9, 0x12, 0xe3, 0x9c, 0xee, 0xcb, 0x0c, |
| 1999 |
0x4c, 0xbb, 0x03, 0x5c, 0xee, 0xcf, 0xe5, 0x10, 0x9c, 0xbf, 0xc5, 0x38, 0x25, 0x86, 0xe5, 0x53, |
| 2000 |
0x8a, 0x19, 0x9f, 0x86, 0xc9, 0xeb, 0xc8, 0xd9, 0xb7, 0x5c, 0x76, 0xfd, 0x33, 0x04, 0xdd, 0xcb, |
| 2001 |
0x8c, 0x6e, 0x82, 0x01, 0xc9, 0x7d, 0x10, 0xe6, 0xba, 0x08, 0xa9, 0x86, 0xaa, 0xa1, 0x21, 0x28, |
| 2002 |
0xbe, 0xc2, 0x28, 0xc6, 0xb0, 0x3d, 0x86, 0x96, 0x21, 0xdb, 0xb4, 0xd8, 0xce, 0x14, 0x0d, 0x7f, |
| 2003 |
0x85, 0xc1, 0x33, 0x1c, 0xc3, 0x28, 0x6c, 0xcb, 0x6e, 0x1b, 0x78, 0xdb, 0x8a, 0xa6, 0xf8, 0x6d, |
| 2004 |
0x4e, 0xc1, 0x31, 0x8c, 0xe2, 0x18, 0x61, 0xfd, 0x1d, 0x4e, 0xe1, 0x86, 0xe2, 0xf9, 0x14, 0x64, |
| 2005 |
0x2c, 0xd3, 0xe8, 0x58, 0xe6, 0x30, 0x4e, 0x7c, 0x95, 0x31, 0x00, 0x83, 0x60, 0x82, 0x4b, 0x90, |
| 2006 |
0x1e, 0x76, 0x22, 0x7e, 0xef, 0x5d, 0xbe, 0x3c, 0xf8, 0x0c, 0xac, 0xc3, 0x04, 0x2f, 0x50, 0xba, |
| 2007 |
0x65, 0x0e, 0x41, 0xf1, 0x75, 0x46, 0x91, 0x0b, 0xc1, 0xd8, 0x30, 0x3c, 0xe4, 0x7a, 0x4d, 0x34, |
| 2008 |
0x0c, 0xc9, 0xab, 0x7c, 0x18, 0x0c, 0xc2, 0x42, 0xb9, 0x8f, 0x4c, 0xed, 0x60, 0x38, 0x86, 0xd7, |
| 2009 |
0x78, 0x28, 0x39, 0x06, 0x53, 0xac, 0xc2, 0x78, 0x4b, 0x75, 0xdc, 0x03, 0xd5, 0x18, 0x6a, 0x3a, |
| 2010 |
0x7e, 0x9f, 0x71, 0x64, 0x7d, 0x10, 0x8b, 0x48, 0xdb, 0x3c, 0x0e, 0xcd, 0x37, 0x78, 0x44, 0x42, |
| 2011 |
0x30, 0xb6, 0xf4, 0x5c, 0x8f, 0xdc, 0x95, 0x1d, 0x87, 0xed, 0x0f, 0xf8, 0xd2, 0xa3, 0xd8, 0xad, |
| 2012 |
0x30, 0xe3, 0x25, 0x48, 0xbb, 0xfa, 0xcd, 0xa1, 0x68, 0xfe, 0x90, 0xcf, 0x34, 0x01, 0x60, 0xf0, |
| 2013 |
0x73, 0x70, 0x6a, 0xe0, 0x36, 0x31, 0x04, 0xd9, 0x1f, 0x31, 0xb2, 0x13, 0x03, 0xb6, 0x0a, 0x56, |
| 2014 |
0x12, 0x8e, 0x4b, 0xf9, 0xc7, 0xbc, 0x24, 0xa0, 0x1e, 0xae, 0x1d, 0x7c, 0x56, 0x70, 0xd5, 0xc6, |
| 2015 |
0xf1, 0xa2, 0xf6, 0x27, 0x3c, 0x6a, 0x14, 0xdb, 0x15, 0xb5, 0x5d, 0x38, 0xc1, 0x18, 0x8f, 0x37, |
| 2016 |
0xaf, 0xdf, 0xe4, 0x85, 0x95, 0xa2, 0xf7, 0xba, 0x67, 0xf7, 0x73, 0x30, 0xe3, 0x87, 0x93, 0x37, |
| 2017 |
0xa5, 0xae, 0xd2, 0x52, 0xed, 0x21, 0x98, 0xbf, 0xc5, 0x98, 0x79, 0xc5, 0xf7, 0xbb, 0x5a, 0x77, |
| 2018 |
0x4b, 0xb5, 0x31, 0xf9, 0xb3, 0x90, 0xe7, 0xe4, 0x6d, 0xd3, 0x41, 0x9a, 0xd5, 0x34, 0xf5, 0x9b, |
| 2019 |
0xa8, 0x3e, 0x04, 0xf5, 0x9f, 0xf6, 0x4c, 0xd5, 0x5e, 0x08, 0x8e, 0x99, 0x37, 0x40, 0xf4, 0x7b, |
| 2020 |
0x15, 0x45, 0x6f, 0xd9, 0x96, 0xe3, 0x45, 0x30, 0xfe, 0x19, 0x9f, 0x29, 0x1f, 0xb7, 0x41, 0x60, |
| 2021 |
0xa5, 0x0a, 0xe4, 0xc8, 0xe3, 0xb0, 0x29, 0xf9, 0xe7, 0x8c, 0x68, 0x3c, 0x40, 0xb1, 0xc2, 0xa1, |
| 2022 |
0x59, 0x2d, 0x5b, 0x75, 0x86, 0xa9, 0x7f, 0x7f, 0xc1, 0x0b, 0x07, 0x83, 0xb0, 0xc2, 0xe1, 0x75, |
| 2023 |
0x6c, 0x84, 0x77, 0xfb, 0x21, 0x18, 0xbe, 0xcd, 0x0b, 0x07, 0xc7, 0x30, 0x0a, 0xde, 0x30, 0x0c, |
| 2024 |
0x41, 0xf1, 0x97, 0x9c, 0x82, 0x63, 0x30, 0xc5, 0x67, 0x82, 0x8d, 0xd6, 0x41, 0x4d, 0xdd, 0xf5, |
| 2025 |
0x1c, 0xda, 0x0a, 0xdf, 0x9d, 0xea, 0x3b, 0xef, 0x76, 0x37, 0x61, 0x72, 0x08, 0x8a, 0x2b, 0x11, |
| 2026 |
0xbb, 0x42, 0x25, 0x27, 0xa5, 0x68, 0xc7, 0xbe, 0xcb, 0x2b, 0x51, 0x08, 0x86, 0x7d, 0x0b, 0x75, |
| 2027 |
0x88, 0x38, 0xec, 0x1a, 0x3e, 0x1f, 0x0c, 0x41, 0xf7, 0xbd, 0x1e, 0xe7, 0x6a, 0x1c, 0x8b, 0x39, |
| 2028 |
0x43, 0xfd, 0x4f, 0xdb, 0xbc, 0x86, 0x3a, 0x43, 0x65, 0xe7, 0x5f, 0xf5, 0xf4, 0x3f, 0x7b, 0x14, |
| 2029 |
0x49, 0x6b, 0xc8, 0x44, 0x4f, 0x3f, 0x25, 0x45, 0xfd, 0x0a, 0x28, 0xff, 0xd3, 0x77, 0xd8, 0x78, |
| 2030 |
0xbb, 0xdb, 0xa9, 0xd2, 0x26, 0x4e, 0xf2, 0xee, 0xa6, 0x27, 0x9a, 0xec, 0xc5, 0x3b, 0x7e, 0x9e, |
| 2031 |
0x77, 0xf5, 0x3c, 0xa5, 0xcb, 0x30, 0xde, 0xd5, 0xf0, 0x44, 0x53, 0xfd, 0x0c, 0xa3, 0xca, 0x86, |
| 2032 |
0xfb, 0x9d, 0xd2, 0x12, 0x24, 0x70, 0xf3, 0x12, 0x0d, 0xff, 0x59, 0x06, 0x27, 0xe6, 0xa5, 0x4f, |
| 2033 |
0x41, 0x8a, 0x37, 0x2d, 0xd1, 0xd0, 0x9f, 0x63, 0x50, 0x1f, 0x82, 0xe1, 0xbc, 0x61, 0x89, 0x86, |
| 2034 |
0xff, 0x3c, 0x87, 0x73, 0x08, 0x86, 0x0f, 0x1f, 0xc2, 0xbf, 0xfe, 0x85, 0x04, 0xdb, 0x74, 0x78, |
| 2035 |
0xec, 0x2e, 0xc1, 0x18, 0xeb, 0x54, 0xa2, 0xd1, 0x5f, 0x60, 0x2f, 0xe7, 0x88, 0xd2, 0x79, 0x48, |
| 2036 |
0x0e, 0x19, 0xf0, 0x5f, 0x62, 0x50, 0x6a, 0x5f, 0x5a, 0x85, 0x4c, 0xa8, 0x3b, 0x89, 0x86, 0xff, |
| 2037 |
0x32, 0x83, 0x87, 0x51, 0xd8, 0x75, 0xd6, 0x9d, 0x44, 0x13, 0xfc, 0x0a, 0x77, 0x9d, 0x21, 0x70, |
| 2038 |
0xd8, 0x78, 0x63, 0x12, 0x8d, 0xfe, 0x55, 0x1e, 0x75, 0x0e, 0x29, 0x3d, 0x05, 0x69, 0x7f, 0xb3, |
| 2039 |
0x89, 0xc6, 0xff, 0x1a, 0xc3, 0x07, 0x18, 0x1c, 0x81, 0xd0, 0x66, 0x17, 0x4d, 0xf1, 0x45, 0x1e, |
| 2040 |
0x81, 0x10, 0x0a, 0x2f, 0xa3, 0xde, 0x06, 0x26, 0x9a, 0xe9, 0xd7, 0xf9, 0x32, 0xea, 0xe9, 0x5f, |
| 2041 |
0xf0, 0x6c, 0x92, 0x9a, 0x1f, 0x4d, 0xf1, 0x1b, 0x7c, 0x36, 0x89, 0x3d, 0x76, 0xa3, 0xb7, 0x23, |
| 2042 |
0x88, 0xe6, 0xf8, 0x4d, 0xee, 0x46, 0x4f, 0x43, 0x50, 0xda, 0x01, 0xa9, 0xbf, 0x1b, 0x88, 0xe6, |
| 2043 |
0xfb, 0x12, 0xe3, 0x9b, 0xec, 0x6b, 0x06, 0x4a, 0xcf, 0xc0, 0x89, 0xc1, 0x9d, 0x40, 0x34, 0xeb, |
| 2044 |
0x97, 0xef, 0xf4, 0x9c, 0xdd, 0xc2, 0x8d, 0x40, 0x69, 0x37, 0xd8, 0x52, 0xc2, 0x5d, 0x40, 0x34, |
| 2045 |
0xed, 0x4b, 0x77, 0xba, 0x0b, 0x77, 0xb8, 0x09, 0x28, 0x95, 0x01, 0x82, 0x0d, 0x38, 0x9a, 0xeb, |
| 2046 |
0x65, 0xc6, 0x15, 0x02, 0xe1, 0xa5, 0xc1, 0xf6, 0xdf, 0x68, 0xfc, 0x57, 0xf8, 0xd2, 0x60, 0x08, |
| 2047 |
0xbc, 0x34, 0xf8, 0xd6, 0x1b, 0x8d, 0x7e, 0x85, 0x2f, 0x0d, 0x0e, 0xc1, 0x99, 0x1d, 0xda, 0xdd, |
| 2048 |
0xa2, 0x19, 0xbe, 0xca, 0x33, 0x3b, 0x84, 0x2a, 0x6d, 0xc3, 0x64, 0xdf, 0x86, 0x18, 0x4d, 0xf5, |
| 2049 |
0x35, 0x46, 0x25, 0xf6, 0xee, 0x87, 0xe1, 0xcd, 0x8b, 0x6d, 0x86, 0xd1, 0x6c, 0xbf, 0xdb, 0xb3, |
| 2050 |
0x79, 0xb1, 0xbd, 0xb0, 0x74, 0x09, 0x52, 0x66, 0xdb, 0x30, 0xf0, 0xe2, 0x91, 0xee, 0xfe, 0xcb, |
| 2051 |
0xbd, 0xfc, 0x3f, 0x7f, 0xc0, 0xa2, 0xc3, 0x01, 0xa5, 0x25, 0x48, 0xa2, 0xd6, 0x3e, 0xaa, 0x47, |
| 2052 |
0x21, 0xff, 0xe5, 0x03, 0x5e, 0x30, 0xb1, 0x75, 0xe9, 0x29, 0x00, 0x7a, 0x35, 0x42, 0x3e, 0xfb, |
| 2053 |
0x45, 0x60, 0xff, 0xf5, 0x03, 0xf6, 0x9b, 0x9a, 0x00, 0x12, 0x10, 0xd0, 0x5f, 0xe8, 0xdc, 0x9d, |
| 2054 |
0xe0, 0xdd, 0x6e, 0x02, 0x32, 0x23, 0x17, 0x61, 0xec, 0xaa, 0x6b, 0x99, 0x9e, 0xda, 0x8c, 0x42, |
| 2055 |
0xff, 0x1b, 0x43, 0x73, 0x7b, 0x1c, 0xb0, 0x96, 0xe5, 0x20, 0x4f, 0x6d, 0xba, 0x51, 0xd8, 0x7f, |
| 2056 |
0x67, 0x58, 0x1f, 0x80, 0xc1, 0x9a, 0xea, 0x7a, 0xc3, 0x8c, 0xfb, 0x3f, 0x38, 0x98, 0x03, 0xb0, |
| 2057 |
0xd3, 0xf8, 0xef, 0x6b, 0xa8, 0x13, 0x85, 0x7d, 0x8f, 0x3b, 0xcd, 0xec, 0x4b, 0x9f, 0x82, 0x34, |
| 2058 |
0xfe, 0x93, 0xfe, 0x50, 0x2e, 0x02, 0xfc, 0x9f, 0x0c, 0x1c, 0x20, 0xf0, 0x9b, 0x5d, 0xaf, 0xee, |
| 2059 |
0xe9, 0xd1, 0xc1, 0xfe, 0x2f, 0x36, 0xd3, 0xdc, 0xbe, 0x54, 0x86, 0x8c, 0xeb, 0xd5, 0xeb, 0x6d, |
| 2060 |
0xd6, 0x9f, 0x46, 0xc0, 0xff, 0xfb, 0x03, 0xff, 0xca, 0xc2, 0xc7, 0xe0, 0xd9, 0xbe, 0x71, 0xcd, |
| 2061 |
0xb3, 0x2d, 0xf2, 0x99, 0x23, 0x8a, 0xe1, 0x0e, 0x63, 0x08, 0x41, 0x56, 0x2a, 0x83, 0xaf, 0x6f, |
| 2062 |
0x61, 0xdd, 0x5a, 0xb7, 0xe8, 0xc5, 0xed, 0xf3, 0xc5, 0xe8, 0x1b, 0x58, 0xf8, 0xdf, 0x14, 0xe4, |
| 2063 |
0x35, 0xab, 0xb5, 0x6f, 0xb9, 0xf3, 0x26, 0xd2, 0xbd, 0x03, 0xe4, 0xcc, 0x5b, 0x26, 0xe3, 0x93, |
| 2064 |
0xe2, 0x96, 0x89, 0x66, 0x8e, 0x77, 0x8f, 0x5b, 0x3c, 0x05, 0xc9, 0x5a, 0x7b, 0x7f, 0xbf, 0x23, |
| 2065 |
0x89, 0x10, 0x77, 0xdb, 0xfb, 0xec, 0xc7, 0x56, 0xf8, 0xcf, 0xe2, 0x9b, 0x71, 0x18, 0x2f, 0x1b, |
| 2066 |
0xc6, 0x6e, 0xc7, 0x46, 0x6e, 0xd5, 0x44, 0xd5, 0x86, 0x94, 0x87, 0x51, 0x32, 0xd0, 0x27, 0x89, |
| 2067 |
0x99, 0x70, 0x65, 0x44, 0x66, 0xcf, 0xbe, 0x66, 0x81, 0xdc, 0x70, 0xc7, 0x7c, 0xcd, 0x82, 0xaf, |
| 2068 |
0x39, 0x47, 0x2f, 0xb8, 0x7d, 0xcd, 0x39, 0x5f, 0xb3, 0x48, 0xae, 0xb9, 0xe3, 0xbe, 0x66, 0xd1, |
| 2069 |
0xd7, 0x2c, 0x91, 0xcf, 0x38, 0xe3, 0xbe, 0x66, 0xc9, 0xd7, 0x2c, 0x93, 0x0f, 0x37, 0x09, 0x5f, |
| 2070 |
0xb3, 0xec, 0x6b, 0xce, 0x93, 0xef, 0x35, 0x93, 0xbe, 0xe6, 0xbc, 0xaf, 0xb9, 0x40, 0xbe, 0xd1, |
| 2071 |
0x48, 0xbe, 0xe6, 0x82, 0xaf, 0xb9, 0x48, 0x7e, 0x55, 0x35, 0xe6, 0x6b, 0x2e, 0x4a, 0x33, 0x30, |
| 2072 |
0x46, 0x47, 0xf6, 0x04, 0xf9, 0x90, 0x3f, 0x71, 0x65, 0x44, 0xe6, 0x82, 0x40, 0xf7, 0x24, 0xf9, |
| 2073 |
0xe5, 0xd4, 0x68, 0xa0, 0x7b, 0x32, 0xd0, 0x2d, 0x90, 0xff, 0xc0, 0x21, 0x06, 0xba, 0x85, 0x40, |
| 2074 |
0x77, 0x2e, 0x3f, 0x8e, 0xf3, 0x23, 0xd0, 0x9d, 0x0b, 0x74, 0x8b, 0xf9, 0x1c, 0x9e, 0x81, 0x40, |
| 2075 |
0xb7, 0x18, 0xe8, 0x96, 0xf2, 0x13, 0x67, 0x84, 0xd9, 0x6c, 0xa0, 0x5b, 0x92, 0x1e, 0x87, 0x8c, |
| 2076 |
0xdb, 0xde, 0x57, 0x58, 0xa5, 0x27, 0xbf, 0xd0, 0xca, 0x2c, 0xc0, 0x1c, 0xce, 0x09, 0x32, 0xad, |
| 2077 |
0x57, 0x46, 0x64, 0x70, 0xdb, 0xfb, 0xac, 0x10, 0xaf, 0x64, 0x81, 0xdc, 0x3f, 0x29, 0xe4, 0x87, |
| 2078 |
0xd5, 0xc5, 0x37, 0x04, 0x48, 0xef, 0xde, 0xb0, 0xc8, 0x67, 0x7c, 0xf7, 0xff, 0x79, 0x72, 0xb9, |
| 2079 |
0xd3, 0xe7, 0x16, 0xc9, 0x97, 0xd6, 0xf4, 0x15, 0x41, 0xe6, 0x82, 0x40, 0xb7, 0x94, 0xbf, 0x9f, |
| 2080 |
0x0c, 0xc8, 0xd7, 0x2d, 0x49, 0xf3, 0x90, 0x0d, 0x0d, 0x68, 0x81, 0xfc, 0x76, 0xaa, 0x7b, 0x44, |
| 2081 |
0x82, 0x9c, 0x09, 0x46, 0xb4, 0xb0, 0x92, 0x04, 0x9c, 0xf6, 0xf8, 0x1f, 0xef, 0x86, 0x55, 0xfc, |
| 2082 |
0x62, 0x0c, 0x32, 0xf4, 0xca, 0x9a, 0x8c, 0x0a, 0xbf, 0x8a, 0x9e, 0x6a, 0x3a, 0xcc, 0x8d, 0x11, |
| 2083 |
0x99, 0x0b, 0x24, 0x19, 0x80, 0x9a, 0xe2, 0x0c, 0xa7, 0x9e, 0xac, 0x3c, 0xf1, 0x0f, 0x6f, 0x9e, |
| 2084 |
0x7e, 0xec, 0xc8, 0x15, 0x84, 0x63, 0x37, 0x4f, 0x4b, 0xf8, 0xdc, 0x9e, 0x6e, 0x7a, 0x4f, 0x2e, |
| 2085 |
0x5c, 0xc0, 0x01, 0x0e, 0x58, 0xa4, 0x3d, 0x48, 0xad, 0xaa, 0x2e, 0xf9, 0xd5, 0x25, 0x71, 0x3d, |
| 2086 |
0xb1, 0x72, 0xfe, 0x7f, 0xde, 0x3c, 0x7d, 0x2e, 0x82, 0x91, 0x55, 0xd7, 0xb9, 0xad, 0x0e, 0x66, |
| 2087 |
0x5d, 0x5e, 0xc4, 0xf0, 0x2b, 0x23, 0xb2, 0x4f, 0x25, 0x2d, 0x70, 0x57, 0xb7, 0xd5, 0x16, 0xfd, |
| 2088 |
0x91, 0x58, 0x7c, 0x45, 0x3c, 0x7c, 0xf3, 0x74, 0x76, 0xab, 0x13, 0xc8, 0x03, 0x57, 0xf0, 0xd3, |
| 2089 |
0x4a, 0x0a, 0x46, 0xa9, 0xab, 0x2b, 0x57, 0x5e, 0xbf, 0x5d, 0x18, 0x79, 0xe3, 0x76, 0x61, 0xe4, |
| 2090 |
0xef, 0x6f, 0x17, 0x46, 0xde, 0xba, 0x5d, 0x10, 0xde, 0xbb, 0x5d, 0x10, 0xde, 0xbf, 0x5d, 0x10, |
| 2091 |
0x6e, 0x1d, 0x16, 0x84, 0xd7, 0x0e, 0x0b, 0xc2, 0x37, 0x0f, 0x0b, 0xc2, 0x77, 0x0e, 0x0b, 0xc2, |
| 2092 |
0xeb, 0x87, 0x85, 0x91, 0x37, 0x0e, 0x0b, 0x23, 0x6f, 0x1d, 0x16, 0x84, 0x1f, 0x1e, 0x16, 0x46, |
| 2093 |
0xde, 0x3b, 0x2c, 0x08, 0xef, 0x1f, 0x16, 0x46, 0x6e, 0xbd, 0x5d, 0x18, 0x79, 0xed, 0xed, 0x82, |
| 2094 |
0xf0, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x64, 0x85, 0x97, 0x73, 0x37, 0x00, 0x00, |
| 2095 |
} |
| 2096 |
r := bytes.NewReader(gzipped) |
| 2097 |
gzipr, err := compress_gzip.NewReader(r) |
| 2098 |
if err != nil { |
| 2099 |
panic(err) |
| 2100 |
} |
| 2101 |
ungzipped, err := io_ioutil.ReadAll(gzipr) |
| 2102 |
if err != nil { |
| 2103 |
panic(err) |
| 2104 |
} |
| 2105 |
if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil { |
| 2106 |
panic(err) |
| 2107 |
} |
| 2108 |
return d |
| 2109 |
} |
| 2110 |
func (this *Subby) VerboseEqual(that interface{}) error { |
| 2111 |
if that == nil { |
| 2112 |
if this == nil { |
| 2113 |
return nil |
| 2114 |
} |
| 2115 |
return fmt.Errorf("that == nil && this != nil") |
| 2116 |
} |
| 2117 |
|
| 2118 |
that1, ok := that.(*Subby) |
| 2119 |
if !ok { |
| 2120 |
that2, ok := that.(Subby) |
| 2121 |
if ok { |
| 2122 |
that1 = &that2 |
| 2123 |
} else { |
| 2124 |
return fmt.Errorf("that is not of type *Subby") |
| 2125 |
} |
| 2126 |
} |
| 2127 |
if that1 == nil { |
| 2128 |
if this == nil { |
| 2129 |
return nil |
| 2130 |
} |
| 2131 |
return fmt.Errorf("that is type *Subby but is nil && this != nil") |
| 2132 |
} else if this == nil { |
| 2133 |
return fmt.Errorf("that is type *Subby but is not nil && this == nil") |
| 2134 |
} |
| 2135 |
if this.Sub != nil && that1.Sub != nil { |
| 2136 |
if *this.Sub != *that1.Sub { |
| 2137 |
return fmt.Errorf("Sub this(%v) Not Equal that(%v)", *this.Sub, *that1.Sub) |
| 2138 |
} |
| 2139 |
} else if this.Sub != nil { |
| 2140 |
return fmt.Errorf("this.Sub == nil && that.Sub != nil") |
| 2141 |
} else if that1.Sub != nil { |
| 2142 |
return fmt.Errorf("Sub this(%v) Not Equal that(%v)", this.Sub, that1.Sub) |
| 2143 |
} |
| 2144 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2145 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 2146 |
} |
| 2147 |
return nil |
| 2148 |
} |
| 2149 |
func (this *Subby) Equal(that interface{}) bool { |
| 2150 |
if that == nil { |
| 2151 |
return this == nil |
| 2152 |
} |
| 2153 |
|
| 2154 |
that1, ok := that.(*Subby) |
| 2155 |
if !ok { |
| 2156 |
that2, ok := that.(Subby) |
| 2157 |
if ok { |
| 2158 |
that1 = &that2 |
| 2159 |
} else { |
| 2160 |
return false |
| 2161 |
} |
| 2162 |
} |
| 2163 |
if that1 == nil { |
| 2164 |
return this == nil |
| 2165 |
} else if this == nil { |
| 2166 |
return false |
| 2167 |
} |
| 2168 |
if this.Sub != nil && that1.Sub != nil { |
| 2169 |
if *this.Sub != *that1.Sub { |
| 2170 |
return false |
| 2171 |
} |
| 2172 |
} else if this.Sub != nil { |
| 2173 |
return false |
| 2174 |
} else if that1.Sub != nil { |
| 2175 |
return false |
| 2176 |
} |
| 2177 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2178 |
return false |
| 2179 |
} |
| 2180 |
return true |
| 2181 |
} |
| 2182 |
func (this *AllTypesOneOf) VerboseEqual(that interface{}) error { |
| 2183 |
if that == nil { |
| 2184 |
if this == nil { |
| 2185 |
return nil |
| 2186 |
} |
| 2187 |
return fmt.Errorf("that == nil && this != nil") |
| 2188 |
} |
| 2189 |
|
| 2190 |
that1, ok := that.(*AllTypesOneOf) |
| 2191 |
if !ok { |
| 2192 |
that2, ok := that.(AllTypesOneOf) |
| 2193 |
if ok { |
| 2194 |
that1 = &that2 |
| 2195 |
} else { |
| 2196 |
return fmt.Errorf("that is not of type *AllTypesOneOf") |
| 2197 |
} |
| 2198 |
} |
| 2199 |
if that1 == nil { |
| 2200 |
if this == nil { |
| 2201 |
return nil |
| 2202 |
} |
| 2203 |
return fmt.Errorf("that is type *AllTypesOneOf but is nil && this != nil") |
| 2204 |
} else if this == nil { |
| 2205 |
return fmt.Errorf("that is type *AllTypesOneOf but is not nil && this == nil") |
| 2206 |
} |
| 2207 |
if that1.TestOneof == nil { |
| 2208 |
if this.TestOneof != nil { |
| 2209 |
return fmt.Errorf("this.TestOneof != nil && that1.TestOneof == nil") |
| 2210 |
} |
| 2211 |
} else if this.TestOneof == nil { |
| 2212 |
return fmt.Errorf("this.TestOneof == nil && that1.TestOneof != nil") |
| 2213 |
} else if err := this.TestOneof.VerboseEqual(that1.TestOneof); err != nil { |
| 2214 |
return err |
| 2215 |
} |
| 2216 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2217 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 2218 |
} |
| 2219 |
return nil |
| 2220 |
} |
| 2221 |
func (this *AllTypesOneOf_Field1) VerboseEqual(that interface{}) error { |
| 2222 |
if that == nil { |
| 2223 |
if this == nil { |
| 2224 |
return nil |
| 2225 |
} |
| 2226 |
return fmt.Errorf("that == nil && this != nil") |
| 2227 |
} |
| 2228 |
|
| 2229 |
that1, ok := that.(*AllTypesOneOf_Field1) |
| 2230 |
if !ok { |
| 2231 |
that2, ok := that.(AllTypesOneOf_Field1) |
| 2232 |
if ok { |
| 2233 |
that1 = &that2 |
| 2234 |
} else { |
| 2235 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field1") |
| 2236 |
} |
| 2237 |
} |
| 2238 |
if that1 == nil { |
| 2239 |
if this == nil { |
| 2240 |
return nil |
| 2241 |
} |
| 2242 |
return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is nil && this != nil") |
| 2243 |
} else if this == nil { |
| 2244 |
return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is not nil && this == nil") |
| 2245 |
} |
| 2246 |
if this.Field1 != that1.Field1 { |
| 2247 |
return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1) |
| 2248 |
} |
| 2249 |
return nil |
| 2250 |
} |
| 2251 |
func (this *AllTypesOneOf_Field2) VerboseEqual(that interface{}) error { |
| 2252 |
if that == nil { |
| 2253 |
if this == nil { |
| 2254 |
return nil |
| 2255 |
} |
| 2256 |
return fmt.Errorf("that == nil && this != nil") |
| 2257 |
} |
| 2258 |
|
| 2259 |
that1, ok := that.(*AllTypesOneOf_Field2) |
| 2260 |
if !ok { |
| 2261 |
that2, ok := that.(AllTypesOneOf_Field2) |
| 2262 |
if ok { |
| 2263 |
that1 = &that2 |
| 2264 |
} else { |
| 2265 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field2") |
| 2266 |
} |
| 2267 |
} |
| 2268 |
if that1 == nil { |
| 2269 |
if this == nil { |
| 2270 |
return nil |
| 2271 |
} |
| 2272 |
return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is nil && this != nil") |
| 2273 |
} else if this == nil { |
| 2274 |
return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is not nil && this == nil") |
| 2275 |
} |
| 2276 |
if this.Field2 != that1.Field2 { |
| 2277 |
return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2) |
| 2278 |
} |
| 2279 |
return nil |
| 2280 |
} |
| 2281 |
func (this *AllTypesOneOf_Field3) VerboseEqual(that interface{}) error { |
| 2282 |
if that == nil { |
| 2283 |
if this == nil { |
| 2284 |
return nil |
| 2285 |
} |
| 2286 |
return fmt.Errorf("that == nil && this != nil") |
| 2287 |
} |
| 2288 |
|
| 2289 |
that1, ok := that.(*AllTypesOneOf_Field3) |
| 2290 |
if !ok { |
| 2291 |
that2, ok := that.(AllTypesOneOf_Field3) |
| 2292 |
if ok { |
| 2293 |
that1 = &that2 |
| 2294 |
} else { |
| 2295 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field3") |
| 2296 |
} |
| 2297 |
} |
| 2298 |
if that1 == nil { |
| 2299 |
if this == nil { |
| 2300 |
return nil |
| 2301 |
} |
| 2302 |
return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is nil && this != nil") |
| 2303 |
} else if this == nil { |
| 2304 |
return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is not nil && this == nil") |
| 2305 |
} |
| 2306 |
if this.Field3 != that1.Field3 { |
| 2307 |
return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3) |
| 2308 |
} |
| 2309 |
return nil |
| 2310 |
} |
| 2311 |
func (this *AllTypesOneOf_Field4) VerboseEqual(that interface{}) error { |
| 2312 |
if that == nil { |
| 2313 |
if this == nil { |
| 2314 |
return nil |
| 2315 |
} |
| 2316 |
return fmt.Errorf("that == nil && this != nil") |
| 2317 |
} |
| 2318 |
|
| 2319 |
that1, ok := that.(*AllTypesOneOf_Field4) |
| 2320 |
if !ok { |
| 2321 |
that2, ok := that.(AllTypesOneOf_Field4) |
| 2322 |
if ok { |
| 2323 |
that1 = &that2 |
| 2324 |
} else { |
| 2325 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field4") |
| 2326 |
} |
| 2327 |
} |
| 2328 |
if that1 == nil { |
| 2329 |
if this == nil { |
| 2330 |
return nil |
| 2331 |
} |
| 2332 |
return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is nil && this != nil") |
| 2333 |
} else if this == nil { |
| 2334 |
return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is not nil && this == nil") |
| 2335 |
} |
| 2336 |
if this.Field4 != that1.Field4 { |
| 2337 |
return fmt.Errorf("Field4 this(%v) Not Equal that(%v)", this.Field4, that1.Field4) |
| 2338 |
} |
| 2339 |
return nil |
| 2340 |
} |
| 2341 |
func (this *AllTypesOneOf_Field5) VerboseEqual(that interface{}) error { |
| 2342 |
if that == nil { |
| 2343 |
if this == nil { |
| 2344 |
return nil |
| 2345 |
} |
| 2346 |
return fmt.Errorf("that == nil && this != nil") |
| 2347 |
} |
| 2348 |
|
| 2349 |
that1, ok := that.(*AllTypesOneOf_Field5) |
| 2350 |
if !ok { |
| 2351 |
that2, ok := that.(AllTypesOneOf_Field5) |
| 2352 |
if ok { |
| 2353 |
that1 = &that2 |
| 2354 |
} else { |
| 2355 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field5") |
| 2356 |
} |
| 2357 |
} |
| 2358 |
if that1 == nil { |
| 2359 |
if this == nil { |
| 2360 |
return nil |
| 2361 |
} |
| 2362 |
return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is nil && this != nil") |
| 2363 |
} else if this == nil { |
| 2364 |
return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is not nil && this == nil") |
| 2365 |
} |
| 2366 |
if this.Field5 != that1.Field5 { |
| 2367 |
return fmt.Errorf("Field5 this(%v) Not Equal that(%v)", this.Field5, that1.Field5) |
| 2368 |
} |
| 2369 |
return nil |
| 2370 |
} |
| 2371 |
func (this *AllTypesOneOf_Field6) VerboseEqual(that interface{}) error { |
| 2372 |
if that == nil { |
| 2373 |
if this == nil { |
| 2374 |
return nil |
| 2375 |
} |
| 2376 |
return fmt.Errorf("that == nil && this != nil") |
| 2377 |
} |
| 2378 |
|
| 2379 |
that1, ok := that.(*AllTypesOneOf_Field6) |
| 2380 |
if !ok { |
| 2381 |
that2, ok := that.(AllTypesOneOf_Field6) |
| 2382 |
if ok { |
| 2383 |
that1 = &that2 |
| 2384 |
} else { |
| 2385 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field6") |
| 2386 |
} |
| 2387 |
} |
| 2388 |
if that1 == nil { |
| 2389 |
if this == nil { |
| 2390 |
return nil |
| 2391 |
} |
| 2392 |
return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is nil && this != nil") |
| 2393 |
} else if this == nil { |
| 2394 |
return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is not nil && this == nil") |
| 2395 |
} |
| 2396 |
if this.Field6 != that1.Field6 { |
| 2397 |
return fmt.Errorf("Field6 this(%v) Not Equal that(%v)", this.Field6, that1.Field6) |
| 2398 |
} |
| 2399 |
return nil |
| 2400 |
} |
| 2401 |
func (this *AllTypesOneOf_Field7) VerboseEqual(that interface{}) error { |
| 2402 |
if that == nil { |
| 2403 |
if this == nil { |
| 2404 |
return nil |
| 2405 |
} |
| 2406 |
return fmt.Errorf("that == nil && this != nil") |
| 2407 |
} |
| 2408 |
|
| 2409 |
that1, ok := that.(*AllTypesOneOf_Field7) |
| 2410 |
if !ok { |
| 2411 |
that2, ok := that.(AllTypesOneOf_Field7) |
| 2412 |
if ok { |
| 2413 |
that1 = &that2 |
| 2414 |
} else { |
| 2415 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field7") |
| 2416 |
} |
| 2417 |
} |
| 2418 |
if that1 == nil { |
| 2419 |
if this == nil { |
| 2420 |
return nil |
| 2421 |
} |
| 2422 |
return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is nil && this != nil") |
| 2423 |
} else if this == nil { |
| 2424 |
return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is not nil && this == nil") |
| 2425 |
} |
| 2426 |
if this.Field7 != that1.Field7 { |
| 2427 |
return fmt.Errorf("Field7 this(%v) Not Equal that(%v)", this.Field7, that1.Field7) |
| 2428 |
} |
| 2429 |
return nil |
| 2430 |
} |
| 2431 |
func (this *AllTypesOneOf_Field8) VerboseEqual(that interface{}) error { |
| 2432 |
if that == nil { |
| 2433 |
if this == nil { |
| 2434 |
return nil |
| 2435 |
} |
| 2436 |
return fmt.Errorf("that == nil && this != nil") |
| 2437 |
} |
| 2438 |
|
| 2439 |
that1, ok := that.(*AllTypesOneOf_Field8) |
| 2440 |
if !ok { |
| 2441 |
that2, ok := that.(AllTypesOneOf_Field8) |
| 2442 |
if ok { |
| 2443 |
that1 = &that2 |
| 2444 |
} else { |
| 2445 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field8") |
| 2446 |
} |
| 2447 |
} |
| 2448 |
if that1 == nil { |
| 2449 |
if this == nil { |
| 2450 |
return nil |
| 2451 |
} |
| 2452 |
return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is nil && this != nil") |
| 2453 |
} else if this == nil { |
| 2454 |
return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is not nil && this == nil") |
| 2455 |
} |
| 2456 |
if this.Field8 != that1.Field8 { |
| 2457 |
return fmt.Errorf("Field8 this(%v) Not Equal that(%v)", this.Field8, that1.Field8) |
| 2458 |
} |
| 2459 |
return nil |
| 2460 |
} |
| 2461 |
func (this *AllTypesOneOf_Field9) VerboseEqual(that interface{}) error { |
| 2462 |
if that == nil { |
| 2463 |
if this == nil { |
| 2464 |
return nil |
| 2465 |
} |
| 2466 |
return fmt.Errorf("that == nil && this != nil") |
| 2467 |
} |
| 2468 |
|
| 2469 |
that1, ok := that.(*AllTypesOneOf_Field9) |
| 2470 |
if !ok { |
| 2471 |
that2, ok := that.(AllTypesOneOf_Field9) |
| 2472 |
if ok { |
| 2473 |
that1 = &that2 |
| 2474 |
} else { |
| 2475 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field9") |
| 2476 |
} |
| 2477 |
} |
| 2478 |
if that1 == nil { |
| 2479 |
if this == nil { |
| 2480 |
return nil |
| 2481 |
} |
| 2482 |
return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is nil && this != nil") |
| 2483 |
} else if this == nil { |
| 2484 |
return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is not nil && this == nil") |
| 2485 |
} |
| 2486 |
if this.Field9 != that1.Field9 { |
| 2487 |
return fmt.Errorf("Field9 this(%v) Not Equal that(%v)", this.Field9, that1.Field9) |
| 2488 |
} |
| 2489 |
return nil |
| 2490 |
} |
| 2491 |
func (this *AllTypesOneOf_Field10) VerboseEqual(that interface{}) error { |
| 2492 |
if that == nil { |
| 2493 |
if this == nil { |
| 2494 |
return nil |
| 2495 |
} |
| 2496 |
return fmt.Errorf("that == nil && this != nil") |
| 2497 |
} |
| 2498 |
|
| 2499 |
that1, ok := that.(*AllTypesOneOf_Field10) |
| 2500 |
if !ok { |
| 2501 |
that2, ok := that.(AllTypesOneOf_Field10) |
| 2502 |
if ok { |
| 2503 |
that1 = &that2 |
| 2504 |
} else { |
| 2505 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field10") |
| 2506 |
} |
| 2507 |
} |
| 2508 |
if that1 == nil { |
| 2509 |
if this == nil { |
| 2510 |
return nil |
| 2511 |
} |
| 2512 |
return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is nil && this != nil") |
| 2513 |
} else if this == nil { |
| 2514 |
return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is not nil && this == nil") |
| 2515 |
} |
| 2516 |
if this.Field10 != that1.Field10 { |
| 2517 |
return fmt.Errorf("Field10 this(%v) Not Equal that(%v)", this.Field10, that1.Field10) |
| 2518 |
} |
| 2519 |
return nil |
| 2520 |
} |
| 2521 |
func (this *AllTypesOneOf_Field11) VerboseEqual(that interface{}) error { |
| 2522 |
if that == nil { |
| 2523 |
if this == nil { |
| 2524 |
return nil |
| 2525 |
} |
| 2526 |
return fmt.Errorf("that == nil && this != nil") |
| 2527 |
} |
| 2528 |
|
| 2529 |
that1, ok := that.(*AllTypesOneOf_Field11) |
| 2530 |
if !ok { |
| 2531 |
that2, ok := that.(AllTypesOneOf_Field11) |
| 2532 |
if ok { |
| 2533 |
that1 = &that2 |
| 2534 |
} else { |
| 2535 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field11") |
| 2536 |
} |
| 2537 |
} |
| 2538 |
if that1 == nil { |
| 2539 |
if this == nil { |
| 2540 |
return nil |
| 2541 |
} |
| 2542 |
return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is nil && this != nil") |
| 2543 |
} else if this == nil { |
| 2544 |
return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is not nil && this == nil") |
| 2545 |
} |
| 2546 |
if this.Field11 != that1.Field11 { |
| 2547 |
return fmt.Errorf("Field11 this(%v) Not Equal that(%v)", this.Field11, that1.Field11) |
| 2548 |
} |
| 2549 |
return nil |
| 2550 |
} |
| 2551 |
func (this *AllTypesOneOf_Field12) VerboseEqual(that interface{}) error { |
| 2552 |
if that == nil { |
| 2553 |
if this == nil { |
| 2554 |
return nil |
| 2555 |
} |
| 2556 |
return fmt.Errorf("that == nil && this != nil") |
| 2557 |
} |
| 2558 |
|
| 2559 |
that1, ok := that.(*AllTypesOneOf_Field12) |
| 2560 |
if !ok { |
| 2561 |
that2, ok := that.(AllTypesOneOf_Field12) |
| 2562 |
if ok { |
| 2563 |
that1 = &that2 |
| 2564 |
} else { |
| 2565 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field12") |
| 2566 |
} |
| 2567 |
} |
| 2568 |
if that1 == nil { |
| 2569 |
if this == nil { |
| 2570 |
return nil |
| 2571 |
} |
| 2572 |
return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is nil && this != nil") |
| 2573 |
} else if this == nil { |
| 2574 |
return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is not nil && this == nil") |
| 2575 |
} |
| 2576 |
if this.Field12 != that1.Field12 { |
| 2577 |
return fmt.Errorf("Field12 this(%v) Not Equal that(%v)", this.Field12, that1.Field12) |
| 2578 |
} |
| 2579 |
return nil |
| 2580 |
} |
| 2581 |
func (this *AllTypesOneOf_Field13) VerboseEqual(that interface{}) error { |
| 2582 |
if that == nil { |
| 2583 |
if this == nil { |
| 2584 |
return nil |
| 2585 |
} |
| 2586 |
return fmt.Errorf("that == nil && this != nil") |
| 2587 |
} |
| 2588 |
|
| 2589 |
that1, ok := that.(*AllTypesOneOf_Field13) |
| 2590 |
if !ok { |
| 2591 |
that2, ok := that.(AllTypesOneOf_Field13) |
| 2592 |
if ok { |
| 2593 |
that1 = &that2 |
| 2594 |
} else { |
| 2595 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field13") |
| 2596 |
} |
| 2597 |
} |
| 2598 |
if that1 == nil { |
| 2599 |
if this == nil { |
| 2600 |
return nil |
| 2601 |
} |
| 2602 |
return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is nil && this != nil") |
| 2603 |
} else if this == nil { |
| 2604 |
return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is not nil && this == nil") |
| 2605 |
} |
| 2606 |
if this.Field13 != that1.Field13 { |
| 2607 |
return fmt.Errorf("Field13 this(%v) Not Equal that(%v)", this.Field13, that1.Field13) |
| 2608 |
} |
| 2609 |
return nil |
| 2610 |
} |
| 2611 |
func (this *AllTypesOneOf_Field14) VerboseEqual(that interface{}) error { |
| 2612 |
if that == nil { |
| 2613 |
if this == nil { |
| 2614 |
return nil |
| 2615 |
} |
| 2616 |
return fmt.Errorf("that == nil && this != nil") |
| 2617 |
} |
| 2618 |
|
| 2619 |
that1, ok := that.(*AllTypesOneOf_Field14) |
| 2620 |
if !ok { |
| 2621 |
that2, ok := that.(AllTypesOneOf_Field14) |
| 2622 |
if ok { |
| 2623 |
that1 = &that2 |
| 2624 |
} else { |
| 2625 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field14") |
| 2626 |
} |
| 2627 |
} |
| 2628 |
if that1 == nil { |
| 2629 |
if this == nil { |
| 2630 |
return nil |
| 2631 |
} |
| 2632 |
return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is nil && this != nil") |
| 2633 |
} else if this == nil { |
| 2634 |
return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is not nil && this == nil") |
| 2635 |
} |
| 2636 |
if this.Field14 != that1.Field14 { |
| 2637 |
return fmt.Errorf("Field14 this(%v) Not Equal that(%v)", this.Field14, that1.Field14) |
| 2638 |
} |
| 2639 |
return nil |
| 2640 |
} |
| 2641 |
func (this *AllTypesOneOf_Field15) VerboseEqual(that interface{}) error { |
| 2642 |
if that == nil { |
| 2643 |
if this == nil { |
| 2644 |
return nil |
| 2645 |
} |
| 2646 |
return fmt.Errorf("that == nil && this != nil") |
| 2647 |
} |
| 2648 |
|
| 2649 |
that1, ok := that.(*AllTypesOneOf_Field15) |
| 2650 |
if !ok { |
| 2651 |
that2, ok := that.(AllTypesOneOf_Field15) |
| 2652 |
if ok { |
| 2653 |
that1 = &that2 |
| 2654 |
} else { |
| 2655 |
return fmt.Errorf("that is not of type *AllTypesOneOf_Field15") |
| 2656 |
} |
| 2657 |
} |
| 2658 |
if that1 == nil { |
| 2659 |
if this == nil { |
| 2660 |
return nil |
| 2661 |
} |
| 2662 |
return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is nil && this != nil") |
| 2663 |
} else if this == nil { |
| 2664 |
return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is not nil && this == nil") |
| 2665 |
} |
| 2666 |
if !bytes.Equal(this.Field15, that1.Field15) { |
| 2667 |
return fmt.Errorf("Field15 this(%v) Not Equal that(%v)", this.Field15, that1.Field15) |
| 2668 |
} |
| 2669 |
return nil |
| 2670 |
} |
| 2671 |
func (this *AllTypesOneOf_SubMessage) VerboseEqual(that interface{}) error { |
| 2672 |
if that == nil { |
| 2673 |
if this == nil { |
| 2674 |
return nil |
| 2675 |
} |
| 2676 |
return fmt.Errorf("that == nil && this != nil") |
| 2677 |
} |
| 2678 |
|
| 2679 |
that1, ok := that.(*AllTypesOneOf_SubMessage) |
| 2680 |
if !ok { |
| 2681 |
that2, ok := that.(AllTypesOneOf_SubMessage) |
| 2682 |
if ok { |
| 2683 |
that1 = &that2 |
| 2684 |
} else { |
| 2685 |
return fmt.Errorf("that is not of type *AllTypesOneOf_SubMessage") |
| 2686 |
} |
| 2687 |
} |
| 2688 |
if that1 == nil { |
| 2689 |
if this == nil { |
| 2690 |
return nil |
| 2691 |
} |
| 2692 |
return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is nil && this != nil") |
| 2693 |
} else if this == nil { |
| 2694 |
return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is not nil && this == nil") |
| 2695 |
} |
| 2696 |
if !this.SubMessage.Equal(that1.SubMessage) { |
| 2697 |
return fmt.Errorf("SubMessage this(%v) Not Equal that(%v)", this.SubMessage, that1.SubMessage) |
| 2698 |
} |
| 2699 |
return nil |
| 2700 |
} |
| 2701 |
func (this *AllTypesOneOf) Equal(that interface{}) bool { |
| 2702 |
if that == nil { |
| 2703 |
return this == nil |
| 2704 |
} |
| 2705 |
|
| 2706 |
that1, ok := that.(*AllTypesOneOf) |
| 2707 |
if !ok { |
| 2708 |
that2, ok := that.(AllTypesOneOf) |
| 2709 |
if ok { |
| 2710 |
that1 = &that2 |
| 2711 |
} else { |
| 2712 |
return false |
| 2713 |
} |
| 2714 |
} |
| 2715 |
if that1 == nil { |
| 2716 |
return this == nil |
| 2717 |
} else if this == nil { |
| 2718 |
return false |
| 2719 |
} |
| 2720 |
if that1.TestOneof == nil { |
| 2721 |
if this.TestOneof != nil { |
| 2722 |
return false |
| 2723 |
} |
| 2724 |
} else if this.TestOneof == nil { |
| 2725 |
return false |
| 2726 |
} else if !this.TestOneof.Equal(that1.TestOneof) { |
| 2727 |
return false |
| 2728 |
} |
| 2729 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2730 |
return false |
| 2731 |
} |
| 2732 |
return true |
| 2733 |
} |
| 2734 |
func (this *AllTypesOneOf_Field1) Equal(that interface{}) bool { |
| 2735 |
if that == nil { |
| 2736 |
return this == nil |
| 2737 |
} |
| 2738 |
|
| 2739 |
that1, ok := that.(*AllTypesOneOf_Field1) |
| 2740 |
if !ok { |
| 2741 |
that2, ok := that.(AllTypesOneOf_Field1) |
| 2742 |
if ok { |
| 2743 |
that1 = &that2 |
| 2744 |
} else { |
| 2745 |
return false |
| 2746 |
} |
| 2747 |
} |
| 2748 |
if that1 == nil { |
| 2749 |
return this == nil |
| 2750 |
} else if this == nil { |
| 2751 |
return false |
| 2752 |
} |
| 2753 |
if this.Field1 != that1.Field1 { |
| 2754 |
return false |
| 2755 |
} |
| 2756 |
return true |
| 2757 |
} |
| 2758 |
func (this *AllTypesOneOf_Field2) Equal(that interface{}) bool { |
| 2759 |
if that == nil { |
| 2760 |
return this == nil |
| 2761 |
} |
| 2762 |
|
| 2763 |
that1, ok := that.(*AllTypesOneOf_Field2) |
| 2764 |
if !ok { |
| 2765 |
that2, ok := that.(AllTypesOneOf_Field2) |
| 2766 |
if ok { |
| 2767 |
that1 = &that2 |
| 2768 |
} else { |
| 2769 |
return false |
| 2770 |
} |
| 2771 |
} |
| 2772 |
if that1 == nil { |
| 2773 |
return this == nil |
| 2774 |
} else if this == nil { |
| 2775 |
return false |
| 2776 |
} |
| 2777 |
if this.Field2 != that1.Field2 { |
| 2778 |
return false |
| 2779 |
} |
| 2780 |
return true |
| 2781 |
} |
| 2782 |
func (this *AllTypesOneOf_Field3) Equal(that interface{}) bool { |
| 2783 |
if that == nil { |
| 2784 |
return this == nil |
| 2785 |
} |
| 2786 |
|
| 2787 |
that1, ok := that.(*AllTypesOneOf_Field3) |
| 2788 |
if !ok { |
| 2789 |
that2, ok := that.(AllTypesOneOf_Field3) |
| 2790 |
if ok { |
| 2791 |
that1 = &that2 |
| 2792 |
} else { |
| 2793 |
return false |
| 2794 |
} |
| 2795 |
} |
| 2796 |
if that1 == nil { |
| 2797 |
return this == nil |
| 2798 |
} else if this == nil { |
| 2799 |
return false |
| 2800 |
} |
| 2801 |
if this.Field3 != that1.Field3 { |
| 2802 |
return false |
| 2803 |
} |
| 2804 |
return true |
| 2805 |
} |
| 2806 |
func (this *AllTypesOneOf_Field4) Equal(that interface{}) bool { |
| 2807 |
if that == nil { |
| 2808 |
return this == nil |
| 2809 |
} |
| 2810 |
|
| 2811 |
that1, ok := that.(*AllTypesOneOf_Field4) |
| 2812 |
if !ok { |
| 2813 |
that2, ok := that.(AllTypesOneOf_Field4) |
| 2814 |
if ok { |
| 2815 |
that1 = &that2 |
| 2816 |
} else { |
| 2817 |
return false |
| 2818 |
} |
| 2819 |
} |
| 2820 |
if that1 == nil { |
| 2821 |
return this == nil |
| 2822 |
} else if this == nil { |
| 2823 |
return false |
| 2824 |
} |
| 2825 |
if this.Field4 != that1.Field4 { |
| 2826 |
return false |
| 2827 |
} |
| 2828 |
return true |
| 2829 |
} |
| 2830 |
func (this *AllTypesOneOf_Field5) Equal(that interface{}) bool { |
| 2831 |
if that == nil { |
| 2832 |
return this == nil |
| 2833 |
} |
| 2834 |
|
| 2835 |
that1, ok := that.(*AllTypesOneOf_Field5) |
| 2836 |
if !ok { |
| 2837 |
that2, ok := that.(AllTypesOneOf_Field5) |
| 2838 |
if ok { |
| 2839 |
that1 = &that2 |
| 2840 |
} else { |
| 2841 |
return false |
| 2842 |
} |
| 2843 |
} |
| 2844 |
if that1 == nil { |
| 2845 |
return this == nil |
| 2846 |
} else if this == nil { |
| 2847 |
return false |
| 2848 |
} |
| 2849 |
if this.Field5 != that1.Field5 { |
| 2850 |
return false |
| 2851 |
} |
| 2852 |
return true |
| 2853 |
} |
| 2854 |
func (this *AllTypesOneOf_Field6) Equal(that interface{}) bool { |
| 2855 |
if that == nil { |
| 2856 |
return this == nil |
| 2857 |
} |
| 2858 |
|
| 2859 |
that1, ok := that.(*AllTypesOneOf_Field6) |
| 2860 |
if !ok { |
| 2861 |
that2, ok := that.(AllTypesOneOf_Field6) |
| 2862 |
if ok { |
| 2863 |
that1 = &that2 |
| 2864 |
} else { |
| 2865 |
return false |
| 2866 |
} |
| 2867 |
} |
| 2868 |
if that1 == nil { |
| 2869 |
return this == nil |
| 2870 |
} else if this == nil { |
| 2871 |
return false |
| 2872 |
} |
| 2873 |
if this.Field6 != that1.Field6 { |
| 2874 |
return false |
| 2875 |
} |
| 2876 |
return true |
| 2877 |
} |
| 2878 |
func (this *AllTypesOneOf_Field7) Equal(that interface{}) bool { |
| 2879 |
if that == nil { |
| 2880 |
return this == nil |
| 2881 |
} |
| 2882 |
|
| 2883 |
that1, ok := that.(*AllTypesOneOf_Field7) |
| 2884 |
if !ok { |
| 2885 |
that2, ok := that.(AllTypesOneOf_Field7) |
| 2886 |
if ok { |
| 2887 |
that1 = &that2 |
| 2888 |
} else { |
| 2889 |
return false |
| 2890 |
} |
| 2891 |
} |
| 2892 |
if that1 == nil { |
| 2893 |
return this == nil |
| 2894 |
} else if this == nil { |
| 2895 |
return false |
| 2896 |
} |
| 2897 |
if this.Field7 != that1.Field7 { |
| 2898 |
return false |
| 2899 |
} |
| 2900 |
return true |
| 2901 |
} |
| 2902 |
func (this *AllTypesOneOf_Field8) Equal(that interface{}) bool { |
| 2903 |
if that == nil { |
| 2904 |
return this == nil |
| 2905 |
} |
| 2906 |
|
| 2907 |
that1, ok := that.(*AllTypesOneOf_Field8) |
| 2908 |
if !ok { |
| 2909 |
that2, ok := that.(AllTypesOneOf_Field8) |
| 2910 |
if ok { |
| 2911 |
that1 = &that2 |
| 2912 |
} else { |
| 2913 |
return false |
| 2914 |
} |
| 2915 |
} |
| 2916 |
if that1 == nil { |
| 2917 |
return this == nil |
| 2918 |
} else if this == nil { |
| 2919 |
return false |
| 2920 |
} |
| 2921 |
if this.Field8 != that1.Field8 { |
| 2922 |
return false |
| 2923 |
} |
| 2924 |
return true |
| 2925 |
} |
| 2926 |
func (this *AllTypesOneOf_Field9) Equal(that interface{}) bool { |
| 2927 |
if that == nil { |
| 2928 |
return this == nil |
| 2929 |
} |
| 2930 |
|
| 2931 |
that1, ok := that.(*AllTypesOneOf_Field9) |
| 2932 |
if !ok { |
| 2933 |
that2, ok := that.(AllTypesOneOf_Field9) |
| 2934 |
if ok { |
| 2935 |
that1 = &that2 |
| 2936 |
} else { |
| 2937 |
return false |
| 2938 |
} |
| 2939 |
} |
| 2940 |
if that1 == nil { |
| 2941 |
return this == nil |
| 2942 |
} else if this == nil { |
| 2943 |
return false |
| 2944 |
} |
| 2945 |
if this.Field9 != that1.Field9 { |
| 2946 |
return false |
| 2947 |
} |
| 2948 |
return true |
| 2949 |
} |
| 2950 |
func (this *AllTypesOneOf_Field10) Equal(that interface{}) bool { |
| 2951 |
if that == nil { |
| 2952 |
return this == nil |
| 2953 |
} |
| 2954 |
|
| 2955 |
that1, ok := that.(*AllTypesOneOf_Field10) |
| 2956 |
if !ok { |
| 2957 |
that2, ok := that.(AllTypesOneOf_Field10) |
| 2958 |
if ok { |
| 2959 |
that1 = &that2 |
| 2960 |
} else { |
| 2961 |
return false |
| 2962 |
} |
| 2963 |
} |
| 2964 |
if that1 == nil { |
| 2965 |
return this == nil |
| 2966 |
} else if this == nil { |
| 2967 |
return false |
| 2968 |
} |
| 2969 |
if this.Field10 != that1.Field10 { |
| 2970 |
return false |
| 2971 |
} |
| 2972 |
return true |
| 2973 |
} |
| 2974 |
func (this *AllTypesOneOf_Field11) Equal(that interface{}) bool { |
| 2975 |
if that == nil { |
| 2976 |
return this == nil |
| 2977 |
} |
| 2978 |
|
| 2979 |
that1, ok := that.(*AllTypesOneOf_Field11) |
| 2980 |
if !ok { |
| 2981 |
that2, ok := that.(AllTypesOneOf_Field11) |
| 2982 |
if ok { |
| 2983 |
that1 = &that2 |
| 2984 |
} else { |
| 2985 |
return false |
| 2986 |
} |
| 2987 |
} |
| 2988 |
if that1 == nil { |
| 2989 |
return this == nil |
| 2990 |
} else if this == nil { |
| 2991 |
return false |
| 2992 |
} |
| 2993 |
if this.Field11 != that1.Field11 { |
| 2994 |
return false |
| 2995 |
} |
| 2996 |
return true |
| 2997 |
} |
| 2998 |
func (this *AllTypesOneOf_Field12) Equal(that interface{}) bool { |
| 2999 |
if that == nil { |
| 3000 |
return this == nil |
| 3001 |
} |
| 3002 |
|
| 3003 |
that1, ok := that.(*AllTypesOneOf_Field12) |
| 3004 |
if !ok { |
| 3005 |
that2, ok := that.(AllTypesOneOf_Field12) |
| 3006 |
if ok { |
| 3007 |
that1 = &that2 |
| 3008 |
} else { |
| 3009 |
return false |
| 3010 |
} |
| 3011 |
} |
| 3012 |
if that1 == nil { |
| 3013 |
return this == nil |
| 3014 |
} else if this == nil { |
| 3015 |
return false |
| 3016 |
} |
| 3017 |
if this.Field12 != that1.Field12 { |
| 3018 |
return false |
| 3019 |
} |
| 3020 |
return true |
| 3021 |
} |
| 3022 |
func (this *AllTypesOneOf_Field13) Equal(that interface{}) bool { |
| 3023 |
if that == nil { |
| 3024 |
return this == nil |
| 3025 |
} |
| 3026 |
|
| 3027 |
that1, ok := that.(*AllTypesOneOf_Field13) |
| 3028 |
if !ok { |
| 3029 |
that2, ok := that.(AllTypesOneOf_Field13) |
| 3030 |
if ok { |
| 3031 |
that1 = &that2 |
| 3032 |
} else { |
| 3033 |
return false |
| 3034 |
} |
| 3035 |
} |
| 3036 |
if that1 == nil { |
| 3037 |
return this == nil |
| 3038 |
} else if this == nil { |
| 3039 |
return false |
| 3040 |
} |
| 3041 |
if this.Field13 != that1.Field13 { |
| 3042 |
return false |
| 3043 |
} |
| 3044 |
return true |
| 3045 |
} |
| 3046 |
func (this *AllTypesOneOf_Field14) Equal(that interface{}) bool { |
| 3047 |
if that == nil { |
| 3048 |
return this == nil |
| 3049 |
} |
| 3050 |
|
| 3051 |
that1, ok := that.(*AllTypesOneOf_Field14) |
| 3052 |
if !ok { |
| 3053 |
that2, ok := that.(AllTypesOneOf_Field14) |
| 3054 |
if ok { |
| 3055 |
that1 = &that2 |
| 3056 |
} else { |
| 3057 |
return false |
| 3058 |
} |
| 3059 |
} |
| 3060 |
if that1 == nil { |
| 3061 |
return this == nil |
| 3062 |
} else if this == nil { |
| 3063 |
return false |
| 3064 |
} |
| 3065 |
if this.Field14 != that1.Field14 { |
| 3066 |
return false |
| 3067 |
} |
| 3068 |
return true |
| 3069 |
} |
| 3070 |
func (this *AllTypesOneOf_Field15) Equal(that interface{}) bool { |
| 3071 |
if that == nil { |
| 3072 |
return this == nil |
| 3073 |
} |
| 3074 |
|
| 3075 |
that1, ok := that.(*AllTypesOneOf_Field15) |
| 3076 |
if !ok { |
| 3077 |
that2, ok := that.(AllTypesOneOf_Field15) |
| 3078 |
if ok { |
| 3079 |
that1 = &that2 |
| 3080 |
} else { |
| 3081 |
return false |
| 3082 |
} |
| 3083 |
} |
| 3084 |
if that1 == nil { |
| 3085 |
return this == nil |
| 3086 |
} else if this == nil { |
| 3087 |
return false |
| 3088 |
} |
| 3089 |
if !bytes.Equal(this.Field15, that1.Field15) { |
| 3090 |
return false |
| 3091 |
} |
| 3092 |
return true |
| 3093 |
} |
| 3094 |
func (this *AllTypesOneOf_SubMessage) Equal(that interface{}) bool { |
| 3095 |
if that == nil { |
| 3096 |
return this == nil |
| 3097 |
} |
| 3098 |
|
| 3099 |
that1, ok := that.(*AllTypesOneOf_SubMessage) |
| 3100 |
if !ok { |
| 3101 |
that2, ok := that.(AllTypesOneOf_SubMessage) |
| 3102 |
if ok { |
| 3103 |
that1 = &that2 |
| 3104 |
} else { |
| 3105 |
return false |
| 3106 |
} |
| 3107 |
} |
| 3108 |
if that1 == nil { |
| 3109 |
return this == nil |
| 3110 |
} else if this == nil { |
| 3111 |
return false |
| 3112 |
} |
| 3113 |
if !this.SubMessage.Equal(that1.SubMessage) { |
| 3114 |
return false |
| 3115 |
} |
| 3116 |
return true |
| 3117 |
} |
| 3118 |
func (this *TwoOneofs) VerboseEqual(that interface{}) error { |
| 3119 |
if that == nil { |
| 3120 |
if this == nil { |
| 3121 |
return nil |
| 3122 |
} |
| 3123 |
return fmt.Errorf("that == nil && this != nil") |
| 3124 |
} |
| 3125 |
|
| 3126 |
that1, ok := that.(*TwoOneofs) |
| 3127 |
if !ok { |
| 3128 |
that2, ok := that.(TwoOneofs) |
| 3129 |
if ok { |
| 3130 |
that1 = &that2 |
| 3131 |
} else { |
| 3132 |
return fmt.Errorf("that is not of type *TwoOneofs") |
| 3133 |
} |
| 3134 |
} |
| 3135 |
if that1 == nil { |
| 3136 |
if this == nil { |
| 3137 |
return nil |
| 3138 |
} |
| 3139 |
return fmt.Errorf("that is type *TwoOneofs but is nil && this != nil") |
| 3140 |
} else if this == nil { |
| 3141 |
return fmt.Errorf("that is type *TwoOneofs but is not nil && this == nil") |
| 3142 |
} |
| 3143 |
if that1.One == nil { |
| 3144 |
if this.One != nil { |
| 3145 |
return fmt.Errorf("this.One != nil && that1.One == nil") |
| 3146 |
} |
| 3147 |
} else if this.One == nil { |
| 3148 |
return fmt.Errorf("this.One == nil && that1.One != nil") |
| 3149 |
} else if err := this.One.VerboseEqual(that1.One); err != nil { |
| 3150 |
return err |
| 3151 |
} |
| 3152 |
if that1.Two == nil { |
| 3153 |
if this.Two != nil { |
| 3154 |
return fmt.Errorf("this.Two != nil && that1.Two == nil") |
| 3155 |
} |
| 3156 |
} else if this.Two == nil { |
| 3157 |
return fmt.Errorf("this.Two == nil && that1.Two != nil") |
| 3158 |
} else if err := this.Two.VerboseEqual(that1.Two); err != nil { |
| 3159 |
return err |
| 3160 |
} |
| 3161 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3162 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 3163 |
} |
| 3164 |
return nil |
| 3165 |
} |
| 3166 |
func (this *TwoOneofs_Field1) VerboseEqual(that interface{}) error { |
| 3167 |
if that == nil { |
| 3168 |
if this == nil { |
| 3169 |
return nil |
| 3170 |
} |
| 3171 |
return fmt.Errorf("that == nil && this != nil") |
| 3172 |
} |
| 3173 |
|
| 3174 |
that1, ok := that.(*TwoOneofs_Field1) |
| 3175 |
if !ok { |
| 3176 |
that2, ok := that.(TwoOneofs_Field1) |
| 3177 |
if ok { |
| 3178 |
that1 = &that2 |
| 3179 |
} else { |
| 3180 |
return fmt.Errorf("that is not of type *TwoOneofs_Field1") |
| 3181 |
} |
| 3182 |
} |
| 3183 |
if that1 == nil { |
| 3184 |
if this == nil { |
| 3185 |
return nil |
| 3186 |
} |
| 3187 |
return fmt.Errorf("that is type *TwoOneofs_Field1 but is nil && this != nil") |
| 3188 |
} else if this == nil { |
| 3189 |
return fmt.Errorf("that is type *TwoOneofs_Field1 but is not nil && this == nil") |
| 3190 |
} |
| 3191 |
if this.Field1 != that1.Field1 { |
| 3192 |
return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1) |
| 3193 |
} |
| 3194 |
return nil |
| 3195 |
} |
| 3196 |
func (this *TwoOneofs_Field2) VerboseEqual(that interface{}) error { |
| 3197 |
if that == nil { |
| 3198 |
if this == nil { |
| 3199 |
return nil |
| 3200 |
} |
| 3201 |
return fmt.Errorf("that == nil && this != nil") |
| 3202 |
} |
| 3203 |
|
| 3204 |
that1, ok := that.(*TwoOneofs_Field2) |
| 3205 |
if !ok { |
| 3206 |
that2, ok := that.(TwoOneofs_Field2) |
| 3207 |
if ok { |
| 3208 |
that1 = &that2 |
| 3209 |
} else { |
| 3210 |
return fmt.Errorf("that is not of type *TwoOneofs_Field2") |
| 3211 |
} |
| 3212 |
} |
| 3213 |
if that1 == nil { |
| 3214 |
if this == nil { |
| 3215 |
return nil |
| 3216 |
} |
| 3217 |
return fmt.Errorf("that is type *TwoOneofs_Field2 but is nil && this != nil") |
| 3218 |
} else if this == nil { |
| 3219 |
return fmt.Errorf("that is type *TwoOneofs_Field2 but is not nil && this == nil") |
| 3220 |
} |
| 3221 |
if this.Field2 != that1.Field2 { |
| 3222 |
return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2) |
| 3223 |
} |
| 3224 |
return nil |
| 3225 |
} |
| 3226 |
func (this *TwoOneofs_Field3) VerboseEqual(that interface{}) error { |
| 3227 |
if that == nil { |
| 3228 |
if this == nil { |
| 3229 |
return nil |
| 3230 |
} |
| 3231 |
return fmt.Errorf("that == nil && this != nil") |
| 3232 |
} |
| 3233 |
|
| 3234 |
that1, ok := that.(*TwoOneofs_Field3) |
| 3235 |
if !ok { |
| 3236 |
that2, ok := that.(TwoOneofs_Field3) |
| 3237 |
if ok { |
| 3238 |
that1 = &that2 |
| 3239 |
} else { |
| 3240 |
return fmt.Errorf("that is not of type *TwoOneofs_Field3") |
| 3241 |
} |
| 3242 |
} |
| 3243 |
if that1 == nil { |
| 3244 |
if this == nil { |
| 3245 |
return nil |
| 3246 |
} |
| 3247 |
return fmt.Errorf("that is type *TwoOneofs_Field3 but is nil && this != nil") |
| 3248 |
} else if this == nil { |
| 3249 |
return fmt.Errorf("that is type *TwoOneofs_Field3 but is not nil && this == nil") |
| 3250 |
} |
| 3251 |
if this.Field3 != that1.Field3 { |
| 3252 |
return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3) |
| 3253 |
} |
| 3254 |
return nil |
| 3255 |
} |
| 3256 |
func (this *TwoOneofs_Field34) VerboseEqual(that interface{}) error { |
| 3257 |
if that == nil { |
| 3258 |
if this == nil { |
| 3259 |
return nil |
| 3260 |
} |
| 3261 |
return fmt.Errorf("that == nil && this != nil") |
| 3262 |
} |
| 3263 |
|
| 3264 |
that1, ok := that.(*TwoOneofs_Field34) |
| 3265 |
if !ok { |
| 3266 |
that2, ok := that.(TwoOneofs_Field34) |
| 3267 |
if ok { |
| 3268 |
that1 = &that2 |
| 3269 |
} else { |
| 3270 |
return fmt.Errorf("that is not of type *TwoOneofs_Field34") |
| 3271 |
} |
| 3272 |
} |
| 3273 |
if that1 == nil { |
| 3274 |
if this == nil { |
| 3275 |
return nil |
| 3276 |
} |
| 3277 |
return fmt.Errorf("that is type *TwoOneofs_Field34 but is nil && this != nil") |
| 3278 |
} else if this == nil { |
| 3279 |
return fmt.Errorf("that is type *TwoOneofs_Field34 but is not nil && this == nil") |
| 3280 |
} |
| 3281 |
if this.Field34 != that1.Field34 { |
| 3282 |
return fmt.Errorf("Field34 this(%v) Not Equal that(%v)", this.Field34, that1.Field34) |
| 3283 |
} |
| 3284 |
return nil |
| 3285 |
} |
| 3286 |
func (this *TwoOneofs_Field35) VerboseEqual(that interface{}) error { |
| 3287 |
if that == nil { |
| 3288 |
if this == nil { |
| 3289 |
return nil |
| 3290 |
} |
| 3291 |
return fmt.Errorf("that == nil && this != nil") |
| 3292 |
} |
| 3293 |
|
| 3294 |
that1, ok := that.(*TwoOneofs_Field35) |
| 3295 |
if !ok { |
| 3296 |
that2, ok := that.(TwoOneofs_Field35) |
| 3297 |
if ok { |
| 3298 |
that1 = &that2 |
| 3299 |
} else { |
| 3300 |
return fmt.Errorf("that is not of type *TwoOneofs_Field35") |
| 3301 |
} |
| 3302 |
} |
| 3303 |
if that1 == nil { |
| 3304 |
if this == nil { |
| 3305 |
return nil |
| 3306 |
} |
| 3307 |
return fmt.Errorf("that is type *TwoOneofs_Field35 but is nil && this != nil") |
| 3308 |
} else if this == nil { |
| 3309 |
return fmt.Errorf("that is type *TwoOneofs_Field35 but is not nil && this == nil") |
| 3310 |
} |
| 3311 |
if !bytes.Equal(this.Field35, that1.Field35) { |
| 3312 |
return fmt.Errorf("Field35 this(%v) Not Equal that(%v)", this.Field35, that1.Field35) |
| 3313 |
} |
| 3314 |
return nil |
| 3315 |
} |
| 3316 |
func (this *TwoOneofs_SubMessage2) VerboseEqual(that interface{}) error { |
| 3317 |
if that == nil { |
| 3318 |
if this == nil { |
| 3319 |
return nil |
| 3320 |
} |
| 3321 |
return fmt.Errorf("that == nil && this != nil") |
| 3322 |
} |
| 3323 |
|
| 3324 |
that1, ok := that.(*TwoOneofs_SubMessage2) |
| 3325 |
if !ok { |
| 3326 |
that2, ok := that.(TwoOneofs_SubMessage2) |
| 3327 |
if ok { |
| 3328 |
that1 = &that2 |
| 3329 |
} else { |
| 3330 |
return fmt.Errorf("that is not of type *TwoOneofs_SubMessage2") |
| 3331 |
} |
| 3332 |
} |
| 3333 |
if that1 == nil { |
| 3334 |
if this == nil { |
| 3335 |
return nil |
| 3336 |
} |
| 3337 |
return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is nil && this != nil") |
| 3338 |
} else if this == nil { |
| 3339 |
return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is not nil && this == nil") |
| 3340 |
} |
| 3341 |
if !this.SubMessage2.Equal(that1.SubMessage2) { |
| 3342 |
return fmt.Errorf("SubMessage2 this(%v) Not Equal that(%v)", this.SubMessage2, that1.SubMessage2) |
| 3343 |
} |
| 3344 |
return nil |
| 3345 |
} |
| 3346 |
func (this *TwoOneofs) Equal(that interface{}) bool { |
| 3347 |
if that == nil { |
| 3348 |
return this == nil |
| 3349 |
} |
| 3350 |
|
| 3351 |
that1, ok := that.(*TwoOneofs) |
| 3352 |
if !ok { |
| 3353 |
that2, ok := that.(TwoOneofs) |
| 3354 |
if ok { |
| 3355 |
that1 = &that2 |
| 3356 |
} else { |
| 3357 |
return false |
| 3358 |
} |
| 3359 |
} |
| 3360 |
if that1 == nil { |
| 3361 |
return this == nil |
| 3362 |
} else if this == nil { |
| 3363 |
return false |
| 3364 |
} |
| 3365 |
if that1.One == nil { |
| 3366 |
if this.One != nil { |
| 3367 |
return false |
| 3368 |
} |
| 3369 |
} else if this.One == nil { |
| 3370 |
return false |
| 3371 |
} else if !this.One.Equal(that1.One) { |
| 3372 |
return false |
| 3373 |
} |
| 3374 |
if that1.Two == nil { |
| 3375 |
if this.Two != nil { |
| 3376 |
return false |
| 3377 |
} |
| 3378 |
} else if this.Two == nil { |
| 3379 |
return false |
| 3380 |
} else if !this.Two.Equal(that1.Two) { |
| 3381 |
return false |
| 3382 |
} |
| 3383 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3384 |
return false |
| 3385 |
} |
| 3386 |
return true |
| 3387 |
} |
| 3388 |
func (this *TwoOneofs_Field1) Equal(that interface{}) bool { |
| 3389 |
if that == nil { |
| 3390 |
return this == nil |
| 3391 |
} |
| 3392 |
|
| 3393 |
that1, ok := that.(*TwoOneofs_Field1) |
| 3394 |
if !ok { |
| 3395 |
that2, ok := that.(TwoOneofs_Field1) |
| 3396 |
if ok { |
| 3397 |
that1 = &that2 |
| 3398 |
} else { |
| 3399 |
return false |
| 3400 |
} |
| 3401 |
} |
| 3402 |
if that1 == nil { |
| 3403 |
return this == nil |
| 3404 |
} else if this == nil { |
| 3405 |
return false |
| 3406 |
} |
| 3407 |
if this.Field1 != that1.Field1 { |
| 3408 |
return false |
| 3409 |
} |
| 3410 |
return true |
| 3411 |
} |
| 3412 |
func (this *TwoOneofs_Field2) Equal(that interface{}) bool { |
| 3413 |
if that == nil { |
| 3414 |
return this == nil |
| 3415 |
} |
| 3416 |
|
| 3417 |
that1, ok := that.(*TwoOneofs_Field2) |
| 3418 |
if !ok { |
| 3419 |
that2, ok := that.(TwoOneofs_Field2) |
| 3420 |
if ok { |
| 3421 |
that1 = &that2 |
| 3422 |
} else { |
| 3423 |
return false |
| 3424 |
} |
| 3425 |
} |
| 3426 |
if that1 == nil { |
| 3427 |
return this == nil |
| 3428 |
} else if this == nil { |
| 3429 |
return false |
| 3430 |
} |
| 3431 |
if this.Field2 != that1.Field2 { |
| 3432 |
return false |
| 3433 |
} |
| 3434 |
return true |
| 3435 |
} |
| 3436 |
func (this *TwoOneofs_Field3) Equal(that interface{}) bool { |
| 3437 |
if that == nil { |
| 3438 |
return this == nil |
| 3439 |
} |
| 3440 |
|
| 3441 |
that1, ok := that.(*TwoOneofs_Field3) |
| 3442 |
if !ok { |
| 3443 |
that2, ok := that.(TwoOneofs_Field3) |
| 3444 |
if ok { |
| 3445 |
that1 = &that2 |
| 3446 |
} else { |
| 3447 |
return false |
| 3448 |
} |
| 3449 |
} |
| 3450 |
if that1 == nil { |
| 3451 |
return this == nil |
| 3452 |
} else if this == nil { |
| 3453 |
return false |
| 3454 |
} |
| 3455 |
if this.Field3 != that1.Field3 { |
| 3456 |
return false |
| 3457 |
} |
| 3458 |
return true |
| 3459 |
} |
| 3460 |
func (this *TwoOneofs_Field34) Equal(that interface{}) bool { |
| 3461 |
if that == nil { |
| 3462 |
return this == nil |
| 3463 |
} |
| 3464 |
|
| 3465 |
that1, ok := that.(*TwoOneofs_Field34) |
| 3466 |
if !ok { |
| 3467 |
that2, ok := that.(TwoOneofs_Field34) |
| 3468 |
if ok { |
| 3469 |
that1 = &that2 |
| 3470 |
} else { |
| 3471 |
return false |
| 3472 |
} |
| 3473 |
} |
| 3474 |
if that1 == nil { |
| 3475 |
return this == nil |
| 3476 |
} else if this == nil { |
| 3477 |
return false |
| 3478 |
} |
| 3479 |
if this.Field34 != that1.Field34 { |
| 3480 |
return false |
| 3481 |
} |
| 3482 |
return true |
| 3483 |
} |
| 3484 |
func (this *TwoOneofs_Field35) Equal(that interface{}) bool { |
| 3485 |
if that == nil { |
| 3486 |
return this == nil |
| 3487 |
} |
| 3488 |
|
| 3489 |
that1, ok := that.(*TwoOneofs_Field35) |
| 3490 |
if !ok { |
| 3491 |
that2, ok := that.(TwoOneofs_Field35) |
| 3492 |
if ok { |
| 3493 |
that1 = &that2 |
| 3494 |
} else { |
| 3495 |
return false |
| 3496 |
} |
| 3497 |
} |
| 3498 |
if that1 == nil { |
| 3499 |
return this == nil |
| 3500 |
} else if this == nil { |
| 3501 |
return false |
| 3502 |
} |
| 3503 |
if !bytes.Equal(this.Field35, that1.Field35) { |
| 3504 |
return false |
| 3505 |
} |
| 3506 |
return true |
| 3507 |
} |
| 3508 |
func (this *TwoOneofs_SubMessage2) Equal(that interface{}) bool { |
| 3509 |
if that == nil { |
| 3510 |
return this == nil |
| 3511 |
} |
| 3512 |
|
| 3513 |
that1, ok := that.(*TwoOneofs_SubMessage2) |
| 3514 |
if !ok { |
| 3515 |
that2, ok := that.(TwoOneofs_SubMessage2) |
| 3516 |
if ok { |
| 3517 |
that1 = &that2 |
| 3518 |
} else { |
| 3519 |
return false |
| 3520 |
} |
| 3521 |
} |
| 3522 |
if that1 == nil { |
| 3523 |
return this == nil |
| 3524 |
} else if this == nil { |
| 3525 |
return false |
| 3526 |
} |
| 3527 |
if !this.SubMessage2.Equal(that1.SubMessage2) { |
| 3528 |
return false |
| 3529 |
} |
| 3530 |
return true |
| 3531 |
} |
| 3532 |
func (this *CustomOneof) VerboseEqual(that interface{}) error { |
| 3533 |
if that == nil { |
| 3534 |
if this == nil { |
| 3535 |
return nil |
| 3536 |
} |
| 3537 |
return fmt.Errorf("that == nil && this != nil") |
| 3538 |
} |
| 3539 |
|
| 3540 |
that1, ok := that.(*CustomOneof) |
| 3541 |
if !ok { |
| 3542 |
that2, ok := that.(CustomOneof) |
| 3543 |
if ok { |
| 3544 |
that1 = &that2 |
| 3545 |
} else { |
| 3546 |
return fmt.Errorf("that is not of type *CustomOneof") |
| 3547 |
} |
| 3548 |
} |
| 3549 |
if that1 == nil { |
| 3550 |
if this == nil { |
| 3551 |
return nil |
| 3552 |
} |
| 3553 |
return fmt.Errorf("that is type *CustomOneof but is nil && this != nil") |
| 3554 |
} else if this == nil { |
| 3555 |
return fmt.Errorf("that is type *CustomOneof but is not nil && this == nil") |
| 3556 |
} |
| 3557 |
if that1.Custom == nil { |
| 3558 |
if this.Custom != nil { |
| 3559 |
return fmt.Errorf("this.Custom != nil && that1.Custom == nil") |
| 3560 |
} |
| 3561 |
} else if this.Custom == nil { |
| 3562 |
return fmt.Errorf("this.Custom == nil && that1.Custom != nil") |
| 3563 |
} else if err := this.Custom.VerboseEqual(that1.Custom); err != nil { |
| 3564 |
return err |
| 3565 |
} |
| 3566 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3567 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 3568 |
} |
| 3569 |
return nil |
| 3570 |
} |
| 3571 |
func (this *CustomOneof_Stringy) VerboseEqual(that interface{}) error { |
| 3572 |
if that == nil { |
| 3573 |
if this == nil { |
| 3574 |
return nil |
| 3575 |
} |
| 3576 |
return fmt.Errorf("that == nil && this != nil") |
| 3577 |
} |
| 3578 |
|
| 3579 |
that1, ok := that.(*CustomOneof_Stringy) |
| 3580 |
if !ok { |
| 3581 |
that2, ok := that.(CustomOneof_Stringy) |
| 3582 |
if ok { |
| 3583 |
that1 = &that2 |
| 3584 |
} else { |
| 3585 |
return fmt.Errorf("that is not of type *CustomOneof_Stringy") |
| 3586 |
} |
| 3587 |
} |
| 3588 |
if that1 == nil { |
| 3589 |
if this == nil { |
| 3590 |
return nil |
| 3591 |
} |
| 3592 |
return fmt.Errorf("that is type *CustomOneof_Stringy but is nil && this != nil") |
| 3593 |
} else if this == nil { |
| 3594 |
return fmt.Errorf("that is type *CustomOneof_Stringy but is not nil && this == nil") |
| 3595 |
} |
| 3596 |
if this.Stringy != that1.Stringy { |
| 3597 |
return fmt.Errorf("Stringy this(%v) Not Equal that(%v)", this.Stringy, that1.Stringy) |
| 3598 |
} |
| 3599 |
return nil |
| 3600 |
} |
| 3601 |
func (this *CustomOneof_CustomType) VerboseEqual(that interface{}) error { |
| 3602 |
if that == nil { |
| 3603 |
if this == nil { |
| 3604 |
return nil |
| 3605 |
} |
| 3606 |
return fmt.Errorf("that == nil && this != nil") |
| 3607 |
} |
| 3608 |
|
| 3609 |
that1, ok := that.(*CustomOneof_CustomType) |
| 3610 |
if !ok { |
| 3611 |
that2, ok := that.(CustomOneof_CustomType) |
| 3612 |
if ok { |
| 3613 |
that1 = &that2 |
| 3614 |
} else { |
| 3615 |
return fmt.Errorf("that is not of type *CustomOneof_CustomType") |
| 3616 |
} |
| 3617 |
} |
| 3618 |
if that1 == nil { |
| 3619 |
if this == nil { |
| 3620 |
return nil |
| 3621 |
} |
| 3622 |
return fmt.Errorf("that is type *CustomOneof_CustomType but is nil && this != nil") |
| 3623 |
} else if this == nil { |
| 3624 |
return fmt.Errorf("that is type *CustomOneof_CustomType but is not nil && this == nil") |
| 3625 |
} |
| 3626 |
if !this.CustomType.Equal(that1.CustomType) { |
| 3627 |
return fmt.Errorf("CustomType this(%v) Not Equal that(%v)", this.CustomType, that1.CustomType) |
| 3628 |
} |
| 3629 |
return nil |
| 3630 |
} |
| 3631 |
func (this *CustomOneof_CastType) VerboseEqual(that interface{}) error { |
| 3632 |
if that == nil { |
| 3633 |
if this == nil { |
| 3634 |
return nil |
| 3635 |
} |
| 3636 |
return fmt.Errorf("that == nil && this != nil") |
| 3637 |
} |
| 3638 |
|
| 3639 |
that1, ok := that.(*CustomOneof_CastType) |
| 3640 |
if !ok { |
| 3641 |
that2, ok := that.(CustomOneof_CastType) |
| 3642 |
if ok { |
| 3643 |
that1 = &that2 |
| 3644 |
} else { |
| 3645 |
return fmt.Errorf("that is not of type *CustomOneof_CastType") |
| 3646 |
} |
| 3647 |
} |
| 3648 |
if that1 == nil { |
| 3649 |
if this == nil { |
| 3650 |
return nil |
| 3651 |
} |
| 3652 |
return fmt.Errorf("that is type *CustomOneof_CastType but is nil && this != nil") |
| 3653 |
} else if this == nil { |
| 3654 |
return fmt.Errorf("that is type *CustomOneof_CastType but is not nil && this == nil") |
| 3655 |
} |
| 3656 |
if this.CastType != that1.CastType { |
| 3657 |
return fmt.Errorf("CastType this(%v) Not Equal that(%v)", this.CastType, that1.CastType) |
| 3658 |
} |
| 3659 |
return nil |
| 3660 |
} |
| 3661 |
func (this *CustomOneof_MyCustomName) VerboseEqual(that interface{}) error { |
| 3662 |
if that == nil { |
| 3663 |
if this == nil { |
| 3664 |
return nil |
| 3665 |
} |
| 3666 |
return fmt.Errorf("that == nil && this != nil") |
| 3667 |
} |
| 3668 |
|
| 3669 |
that1, ok := that.(*CustomOneof_MyCustomName) |
| 3670 |
if !ok { |
| 3671 |
that2, ok := that.(CustomOneof_MyCustomName) |
| 3672 |
if ok { |
| 3673 |
that1 = &that2 |
| 3674 |
} else { |
| 3675 |
return fmt.Errorf("that is not of type *CustomOneof_MyCustomName") |
| 3676 |
} |
| 3677 |
} |
| 3678 |
if that1 == nil { |
| 3679 |
if this == nil { |
| 3680 |
return nil |
| 3681 |
} |
| 3682 |
return fmt.Errorf("that is type *CustomOneof_MyCustomName but is nil && this != nil") |
| 3683 |
} else if this == nil { |
| 3684 |
return fmt.Errorf("that is type *CustomOneof_MyCustomName but is not nil && this == nil") |
| 3685 |
} |
| 3686 |
if this.MyCustomName != that1.MyCustomName { |
| 3687 |
return fmt.Errorf("MyCustomName this(%v) Not Equal that(%v)", this.MyCustomName, that1.MyCustomName) |
| 3688 |
} |
| 3689 |
return nil |
| 3690 |
} |
| 3691 |
func (this *CustomOneof) Equal(that interface{}) bool { |
| 3692 |
if that == nil { |
| 3693 |
return this == nil |
| 3694 |
} |
| 3695 |
|
| 3696 |
that1, ok := that.(*CustomOneof) |
| 3697 |
if !ok { |
| 3698 |
that2, ok := that.(CustomOneof) |
| 3699 |
if ok { |
| 3700 |
that1 = &that2 |
| 3701 |
} else { |
| 3702 |
return false |
| 3703 |
} |
| 3704 |
} |
| 3705 |
if that1 == nil { |
| 3706 |
return this == nil |
| 3707 |
} else if this == nil { |
| 3708 |
return false |
| 3709 |
} |
| 3710 |
if that1.Custom == nil { |
| 3711 |
if this.Custom != nil { |
| 3712 |
return false |
| 3713 |
} |
| 3714 |
} else if this.Custom == nil { |
| 3715 |
return false |
| 3716 |
} else if !this.Custom.Equal(that1.Custom) { |
| 3717 |
return false |
| 3718 |
} |
| 3719 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3720 |
return false |
| 3721 |
} |
| 3722 |
return true |
| 3723 |
} |
| 3724 |
func (this *CustomOneof_Stringy) Equal(that interface{}) bool { |
| 3725 |
if that == nil { |
| 3726 |
return this == nil |
| 3727 |
} |
| 3728 |
|
| 3729 |
that1, ok := that.(*CustomOneof_Stringy) |
| 3730 |
if !ok { |
| 3731 |
that2, ok := that.(CustomOneof_Stringy) |
| 3732 |
if ok { |
| 3733 |
that1 = &that2 |
| 3734 |
} else { |
| 3735 |
return false |
| 3736 |
} |
| 3737 |
} |
| 3738 |
if that1 == nil { |
| 3739 |
return this == nil |
| 3740 |
} else if this == nil { |
| 3741 |
return false |
| 3742 |
} |
| 3743 |
if this.Stringy != that1.Stringy { |
| 3744 |
return false |
| 3745 |
} |
| 3746 |
return true |
| 3747 |
} |
| 3748 |
func (this *CustomOneof_CustomType) Equal(that interface{}) bool { |
| 3749 |
if that == nil { |
| 3750 |
return this == nil |
| 3751 |
} |
| 3752 |
|
| 3753 |
that1, ok := that.(*CustomOneof_CustomType) |
| 3754 |
if !ok { |
| 3755 |
that2, ok := that.(CustomOneof_CustomType) |
| 3756 |
if ok { |
| 3757 |
that1 = &that2 |
| 3758 |
} else { |
| 3759 |
return false |
| 3760 |
} |
| 3761 |
} |
| 3762 |
if that1 == nil { |
| 3763 |
return this == nil |
| 3764 |
} else if this == nil { |
| 3765 |
return false |
| 3766 |
} |
| 3767 |
if !this.CustomType.Equal(that1.CustomType) { |
| 3768 |
return false |
| 3769 |
} |
| 3770 |
return true |
| 3771 |
} |
| 3772 |
func (this *CustomOneof_CastType) Equal(that interface{}) bool { |
| 3773 |
if that == nil { |
| 3774 |
return this == nil |
| 3775 |
} |
| 3776 |
|
| 3777 |
that1, ok := that.(*CustomOneof_CastType) |
| 3778 |
if !ok { |
| 3779 |
that2, ok := that.(CustomOneof_CastType) |
| 3780 |
if ok { |
| 3781 |
that1 = &that2 |
| 3782 |
} else { |
| 3783 |
return false |
| 3784 |
} |
| 3785 |
} |
| 3786 |
if that1 == nil { |
| 3787 |
return this == nil |
| 3788 |
} else if this == nil { |
| 3789 |
return false |
| 3790 |
} |
| 3791 |
if this.CastType != that1.CastType { |
| 3792 |
return false |
| 3793 |
} |
| 3794 |
return true |
| 3795 |
} |
| 3796 |
func (this *CustomOneof_MyCustomName) Equal(that interface{}) bool { |
| 3797 |
if that == nil { |
| 3798 |
return this == nil |
| 3799 |
} |
| 3800 |
|
| 3801 |
that1, ok := that.(*CustomOneof_MyCustomName) |
| 3802 |
if !ok { |
| 3803 |
that2, ok := that.(CustomOneof_MyCustomName) |
| 3804 |
if ok { |
| 3805 |
that1 = &that2 |
| 3806 |
} else { |
| 3807 |
return false |
| 3808 |
} |
| 3809 |
} |
| 3810 |
if that1 == nil { |
| 3811 |
return this == nil |
| 3812 |
} else if this == nil { |
| 3813 |
return false |
| 3814 |
} |
| 3815 |
if this.MyCustomName != that1.MyCustomName { |
| 3816 |
return false |
| 3817 |
} |
| 3818 |
return true |
| 3819 |
} |
| 3820 |
func (this *Subby) GoString() string { |
| 3821 |
if this == nil { |
| 3822 |
return "nil" |
| 3823 |
} |
| 3824 |
s := make([]string, 0, 5) |
| 3825 |
s = append(s, "&one.Subby{") |
| 3826 |
if this.Sub != nil { |
| 3827 |
s = append(s, "Sub: "+valueToGoStringOne(this.Sub, "string")+",\n") |
| 3828 |
} |
| 3829 |
if this.XXX_unrecognized != nil { |
| 3830 |
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") |
| 3831 |
} |
| 3832 |
s = append(s, "}") |
| 3833 |
return strings.Join(s, "") |
| 3834 |
} |
| 3835 |
func (this *AllTypesOneOf) GoString() string { |
| 3836 |
if this == nil { |
| 3837 |
return "nil" |
| 3838 |
} |
| 3839 |
s := make([]string, 0, 20) |
| 3840 |
s = append(s, "&one.AllTypesOneOf{") |
| 3841 |
if this.TestOneof != nil { |
| 3842 |
s = append(s, "TestOneof: "+fmt.Sprintf("%#v", this.TestOneof)+",\n") |
| 3843 |
} |
| 3844 |
if this.XXX_unrecognized != nil { |
| 3845 |
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") |
| 3846 |
} |
| 3847 |
s = append(s, "}") |
| 3848 |
return strings.Join(s, "") |
| 3849 |
} |
| 3850 |
func (this *AllTypesOneOf_Field1) GoString() string { |
| 3851 |
if this == nil { |
| 3852 |
return "nil" |
| 3853 |
} |
| 3854 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field1{` + |
| 3855 |
`Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") |
| 3856 |
return s |
| 3857 |
} |
| 3858 |
func (this *AllTypesOneOf_Field2) GoString() string { |
| 3859 |
if this == nil { |
| 3860 |
return "nil" |
| 3861 |
} |
| 3862 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field2{` + |
| 3863 |
`Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") |
| 3864 |
return s |
| 3865 |
} |
| 3866 |
func (this *AllTypesOneOf_Field3) GoString() string { |
| 3867 |
if this == nil { |
| 3868 |
return "nil" |
| 3869 |
} |
| 3870 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field3{` + |
| 3871 |
`Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") |
| 3872 |
return s |
| 3873 |
} |
| 3874 |
func (this *AllTypesOneOf_Field4) GoString() string { |
| 3875 |
if this == nil { |
| 3876 |
return "nil" |
| 3877 |
} |
| 3878 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field4{` + |
| 3879 |
`Field4:` + fmt.Sprintf("%#v", this.Field4) + `}`}, ", ") |
| 3880 |
return s |
| 3881 |
} |
| 3882 |
func (this *AllTypesOneOf_Field5) GoString() string { |
| 3883 |
if this == nil { |
| 3884 |
return "nil" |
| 3885 |
} |
| 3886 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field5{` + |
| 3887 |
`Field5:` + fmt.Sprintf("%#v", this.Field5) + `}`}, ", ") |
| 3888 |
return s |
| 3889 |
} |
| 3890 |
func (this *AllTypesOneOf_Field6) GoString() string { |
| 3891 |
if this == nil { |
| 3892 |
return "nil" |
| 3893 |
} |
| 3894 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field6{` + |
| 3895 |
`Field6:` + fmt.Sprintf("%#v", this.Field6) + `}`}, ", ") |
| 3896 |
return s |
| 3897 |
} |
| 3898 |
func (this *AllTypesOneOf_Field7) GoString() string { |
| 3899 |
if this == nil { |
| 3900 |
return "nil" |
| 3901 |
} |
| 3902 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field7{` + |
| 3903 |
`Field7:` + fmt.Sprintf("%#v", this.Field7) + `}`}, ", ") |
| 3904 |
return s |
| 3905 |
} |
| 3906 |
func (this *AllTypesOneOf_Field8) GoString() string { |
| 3907 |
if this == nil { |
| 3908 |
return "nil" |
| 3909 |
} |
| 3910 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field8{` + |
| 3911 |
`Field8:` + fmt.Sprintf("%#v", this.Field8) + `}`}, ", ") |
| 3912 |
return s |
| 3913 |
} |
| 3914 |
func (this *AllTypesOneOf_Field9) GoString() string { |
| 3915 |
if this == nil { |
| 3916 |
return "nil" |
| 3917 |
} |
| 3918 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field9{` + |
| 3919 |
`Field9:` + fmt.Sprintf("%#v", this.Field9) + `}`}, ", ") |
| 3920 |
return s |
| 3921 |
} |
| 3922 |
func (this *AllTypesOneOf_Field10) GoString() string { |
| 3923 |
if this == nil { |
| 3924 |
return "nil" |
| 3925 |
} |
| 3926 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field10{` + |
| 3927 |
`Field10:` + fmt.Sprintf("%#v", this.Field10) + `}`}, ", ") |
| 3928 |
return s |
| 3929 |
} |
| 3930 |
func (this *AllTypesOneOf_Field11) GoString() string { |
| 3931 |
if this == nil { |
| 3932 |
return "nil" |
| 3933 |
} |
| 3934 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field11{` + |
| 3935 |
`Field11:` + fmt.Sprintf("%#v", this.Field11) + `}`}, ", ") |
| 3936 |
return s |
| 3937 |
} |
| 3938 |
func (this *AllTypesOneOf_Field12) GoString() string { |
| 3939 |
if this == nil { |
| 3940 |
return "nil" |
| 3941 |
} |
| 3942 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field12{` + |
| 3943 |
`Field12:` + fmt.Sprintf("%#v", this.Field12) + `}`}, ", ") |
| 3944 |
return s |
| 3945 |
} |
| 3946 |
func (this *AllTypesOneOf_Field13) GoString() string { |
| 3947 |
if this == nil { |
| 3948 |
return "nil" |
| 3949 |
} |
| 3950 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field13{` + |
| 3951 |
`Field13:` + fmt.Sprintf("%#v", this.Field13) + `}`}, ", ") |
| 3952 |
return s |
| 3953 |
} |
| 3954 |
func (this *AllTypesOneOf_Field14) GoString() string { |
| 3955 |
if this == nil { |
| 3956 |
return "nil" |
| 3957 |
} |
| 3958 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field14{` + |
| 3959 |
`Field14:` + fmt.Sprintf("%#v", this.Field14) + `}`}, ", ") |
| 3960 |
return s |
| 3961 |
} |
| 3962 |
func (this *AllTypesOneOf_Field15) GoString() string { |
| 3963 |
if this == nil { |
| 3964 |
return "nil" |
| 3965 |
} |
| 3966 |
s := strings.Join([]string{`&one.AllTypesOneOf_Field15{` + |
| 3967 |
`Field15:` + fmt.Sprintf("%#v", this.Field15) + `}`}, ", ") |
| 3968 |
return s |
| 3969 |
} |
| 3970 |
func (this *AllTypesOneOf_SubMessage) GoString() string { |
| 3971 |
if this == nil { |
| 3972 |
return "nil" |
| 3973 |
} |
| 3974 |
s := strings.Join([]string{`&one.AllTypesOneOf_SubMessage{` + |
| 3975 |
`SubMessage:` + fmt.Sprintf("%#v", this.SubMessage) + `}`}, ", ") |
| 3976 |
return s |
| 3977 |
} |
| 3978 |
func (this *TwoOneofs) GoString() string { |
| 3979 |
if this == nil { |
| 3980 |
return "nil" |
| 3981 |
} |
| 3982 |
s := make([]string, 0, 10) |
| 3983 |
s = append(s, "&one.TwoOneofs{") |
| 3984 |
if this.One != nil { |
| 3985 |
s = append(s, "One: "+fmt.Sprintf("%#v", this.One)+",\n") |
| 3986 |
} |
| 3987 |
if this.Two != nil { |
| 3988 |
s = append(s, "Two: "+fmt.Sprintf("%#v", this.Two)+",\n") |
| 3989 |
} |
| 3990 |
if this.XXX_unrecognized != nil { |
| 3991 |
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") |
| 3992 |
} |
| 3993 |
s = append(s, "}") |
| 3994 |
return strings.Join(s, "") |
| 3995 |
} |
| 3996 |
func (this *TwoOneofs_Field1) GoString() string { |
| 3997 |
if this == nil { |
| 3998 |
return "nil" |
| 3999 |
} |
| 4000 |
s := strings.Join([]string{`&one.TwoOneofs_Field1{` + |
| 4001 |
`Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") |
| 4002 |
return s |
| 4003 |
} |
| 4004 |
func (this *TwoOneofs_Field2) GoString() string { |
| 4005 |
if this == nil { |
| 4006 |
return "nil" |
| 4007 |
} |
| 4008 |
s := strings.Join([]string{`&one.TwoOneofs_Field2{` + |
| 4009 |
`Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") |
| 4010 |
return s |
| 4011 |
} |
| 4012 |
func (this *TwoOneofs_Field3) GoString() string { |
| 4013 |
if this == nil { |
| 4014 |
return "nil" |
| 4015 |
} |
| 4016 |
s := strings.Join([]string{`&one.TwoOneofs_Field3{` + |
| 4017 |
`Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") |
| 4018 |
return s |
| 4019 |
} |
| 4020 |
func (this *TwoOneofs_Field34) GoString() string { |
| 4021 |
if this == nil { |
| 4022 |
return "nil" |
| 4023 |
} |
| 4024 |
s := strings.Join([]string{`&one.TwoOneofs_Field34{` + |
| 4025 |
`Field34:` + fmt.Sprintf("%#v", this.Field34) + `}`}, ", ") |
| 4026 |
return s |
| 4027 |
} |
| 4028 |
func (this *TwoOneofs_Field35) GoString() string { |
| 4029 |
if this == nil { |
| 4030 |
return "nil" |
| 4031 |
} |
| 4032 |
s := strings.Join([]string{`&one.TwoOneofs_Field35{` + |
| 4033 |
`Field35:` + fmt.Sprintf("%#v", this.Field35) + `}`}, ", ") |
| 4034 |
return s |
| 4035 |
} |
| 4036 |
func (this *TwoOneofs_SubMessage2) GoString() string { |
| 4037 |
if this == nil { |
| 4038 |
return "nil" |
| 4039 |
} |
| 4040 |
s := strings.Join([]string{`&one.TwoOneofs_SubMessage2{` + |
| 4041 |
`SubMessage2:` + fmt.Sprintf("%#v", this.SubMessage2) + `}`}, ", ") |
| 4042 |
return s |
| 4043 |
} |
| 4044 |
func (this *CustomOneof) GoString() string { |
| 4045 |
if this == nil { |
| 4046 |
return "nil" |
| 4047 |
} |
| 4048 |
s := make([]string, 0, 8) |
| 4049 |
s = append(s, "&one.CustomOneof{") |
| 4050 |
if this.Custom != nil { |
| 4051 |
s = append(s, "Custom: "+fmt.Sprintf("%#v", this.Custom)+",\n") |
| 4052 |
} |
| 4053 |
if this.XXX_unrecognized != nil { |
| 4054 |
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") |
| 4055 |
} |
| 4056 |
s = append(s, "}") |
| 4057 |
return strings.Join(s, "") |
| 4058 |
} |
| 4059 |
func (this *CustomOneof_Stringy) GoString() string { |
| 4060 |
if this == nil { |
| 4061 |
return "nil" |
| 4062 |
} |
| 4063 |
s := strings.Join([]string{`&one.CustomOneof_Stringy{` + |
| 4064 |
`Stringy:` + fmt.Sprintf("%#v", this.Stringy) + `}`}, ", ") |
| 4065 |
return s |
| 4066 |
} |
| 4067 |
func (this *CustomOneof_CustomType) GoString() string { |
| 4068 |
if this == nil { |
| 4069 |
return "nil" |
| 4070 |
} |
| 4071 |
s := strings.Join([]string{`&one.CustomOneof_CustomType{` + |
| 4072 |
`CustomType:` + fmt.Sprintf("%#v", this.CustomType) + `}`}, ", ") |
| 4073 |
return s |
| 4074 |
} |
| 4075 |
func (this *CustomOneof_CastType) GoString() string { |
| 4076 |
if this == nil { |
| 4077 |
return "nil" |
| 4078 |
} |
| 4079 |
s := strings.Join([]string{`&one.CustomOneof_CastType{` + |
| 4080 |
`CastType:` + fmt.Sprintf("%#v", this.CastType) + `}`}, ", ") |
| 4081 |
return s |
| 4082 |
} |
| 4083 |
func (this *CustomOneof_MyCustomName) GoString() string { |
| 4084 |
if this == nil { |
| 4085 |
return "nil" |
| 4086 |
} |
| 4087 |
s := strings.Join([]string{`&one.CustomOneof_MyCustomName{` + |
| 4088 |
`MyCustomName:` + fmt.Sprintf("%#v", this.MyCustomName) + `}`}, ", ") |
| 4089 |
return s |
| 4090 |
} |
| 4091 |
func valueToGoStringOne(v interface{}, typ string) string { |
| 4092 |
rv := reflect.ValueOf(v) |
| 4093 |
if rv.IsNil() { |
| 4094 |
return "nil" |
| 4095 |
} |
| 4096 |
pv := reflect.Indirect(rv).Interface() |
| 4097 |
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) |
| 4098 |
} |
| 4099 |
func NewPopulatedSubby(r randyOne, easy bool) *Subby { |
| 4100 |
this := &Subby{} |
| 4101 |
if r.Intn(5) != 0 { |
| 4102 |
v1 := string(randStringOne(r)) |
| 4103 |
this.Sub = &v1 |
| 4104 |
} |
| 4105 |
if !easy && r.Intn(10) != 0 { |
| 4106 |
this.XXX_unrecognized = randUnrecognizedOne(r, 2) |
| 4107 |
} |
| 4108 |
return this |
| 4109 |
} |
| 4110 |
|
| 4111 |
func NewPopulatedAllTypesOneOf(r randyOne, easy bool) *AllTypesOneOf { |
| 4112 |
this := &AllTypesOneOf{} |
| 4113 |
oneofNumber_TestOneof := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}[r.Intn(16)] |
| 4114 |
switch oneofNumber_TestOneof { |
| 4115 |
case 1: |
| 4116 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field1(r, easy) |
| 4117 |
case 2: |
| 4118 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field2(r, easy) |
| 4119 |
case 3: |
| 4120 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field3(r, easy) |
| 4121 |
case 4: |
| 4122 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field4(r, easy) |
| 4123 |
case 5: |
| 4124 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field5(r, easy) |
| 4125 |
case 6: |
| 4126 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field6(r, easy) |
| 4127 |
case 7: |
| 4128 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field7(r, easy) |
| 4129 |
case 8: |
| 4130 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field8(r, easy) |
| 4131 |
case 9: |
| 4132 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field9(r, easy) |
| 4133 |
case 10: |
| 4134 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field10(r, easy) |
| 4135 |
case 11: |
| 4136 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field11(r, easy) |
| 4137 |
case 12: |
| 4138 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field12(r, easy) |
| 4139 |
case 13: |
| 4140 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field13(r, easy) |
| 4141 |
case 14: |
| 4142 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field14(r, easy) |
| 4143 |
case 15: |
| 4144 |
this.TestOneof = NewPopulatedAllTypesOneOf_Field15(r, easy) |
| 4145 |
case 16: |
| 4146 |
this.TestOneof = NewPopulatedAllTypesOneOf_SubMessage(r, easy) |
| 4147 |
} |
| 4148 |
if !easy && r.Intn(10) != 0 { |
| 4149 |
this.XXX_unrecognized = randUnrecognizedOne(r, 17) |
| 4150 |
} |
| 4151 |
return this |
| 4152 |
} |
| 4153 |
|
| 4154 |
func NewPopulatedAllTypesOneOf_Field1(r randyOne, easy bool) *AllTypesOneOf_Field1 { |
| 4155 |
this := &AllTypesOneOf_Field1{} |
| 4156 |
this.Field1 = float64(r.Float64()) |
| 4157 |
if r.Intn(2) == 0 { |
| 4158 |
this.Field1 *= -1 |
| 4159 |
} |
| 4160 |
return this |
| 4161 |
} |
| 4162 |
func NewPopulatedAllTypesOneOf_Field2(r randyOne, easy bool) *AllTypesOneOf_Field2 { |
| 4163 |
this := &AllTypesOneOf_Field2{} |
| 4164 |
this.Field2 = float32(r.Float32()) |
| 4165 |
if r.Intn(2) == 0 { |
| 4166 |
this.Field2 *= -1 |
| 4167 |
} |
| 4168 |
return this |
| 4169 |
} |
| 4170 |
func NewPopulatedAllTypesOneOf_Field3(r randyOne, easy bool) *AllTypesOneOf_Field3 { |
| 4171 |
this := &AllTypesOneOf_Field3{} |
| 4172 |
this.Field3 = int32(r.Int31()) |
| 4173 |
if r.Intn(2) == 0 { |
| 4174 |
this.Field3 *= -1 |
| 4175 |
} |
| 4176 |
return this |
| 4177 |
} |
| 4178 |
func NewPopulatedAllTypesOneOf_Field4(r randyOne, easy bool) *AllTypesOneOf_Field4 { |
| 4179 |
this := &AllTypesOneOf_Field4{} |
| 4180 |
this.Field4 = int64(r.Int63()) |
| 4181 |
if r.Intn(2) == 0 { |
| 4182 |
this.Field4 *= -1 |
| 4183 |
} |
| 4184 |
return this |
| 4185 |
} |
| 4186 |
func NewPopulatedAllTypesOneOf_Field5(r randyOne, easy bool) *AllTypesOneOf_Field5 { |
| 4187 |
this := &AllTypesOneOf_Field5{} |
| 4188 |
this.Field5 = uint32(r.Uint32()) |
| 4189 |
return this |
| 4190 |
} |
| 4191 |
func NewPopulatedAllTypesOneOf_Field6(r randyOne, easy bool) *AllTypesOneOf_Field6 { |
| 4192 |
this := &AllTypesOneOf_Field6{} |
| 4193 |
this.Field6 = uint64(uint64(r.Uint32())) |
| 4194 |
return this |
| 4195 |
} |
| 4196 |
func NewPopulatedAllTypesOneOf_Field7(r randyOne, easy bool) *AllTypesOneOf_Field7 { |
| 4197 |
this := &AllTypesOneOf_Field7{} |
| 4198 |
this.Field7 = int32(r.Int31()) |
| 4199 |
if r.Intn(2) == 0 { |
| 4200 |
this.Field7 *= -1 |
| 4201 |
} |
| 4202 |
return this |
| 4203 |
} |
| 4204 |
func NewPopulatedAllTypesOneOf_Field8(r randyOne, easy bool) *AllTypesOneOf_Field8 { |
| 4205 |
this := &AllTypesOneOf_Field8{} |
| 4206 |
this.Field8 = int64(r.Int63()) |
| 4207 |
if r.Intn(2) == 0 { |
| 4208 |
this.Field8 *= -1 |
| 4209 |
} |
| 4210 |
return this |
| 4211 |
} |
| 4212 |
func NewPopulatedAllTypesOneOf_Field9(r randyOne, easy bool) *AllTypesOneOf_Field9 { |
| 4213 |
this := &AllTypesOneOf_Field9{} |
| 4214 |
this.Field9 = uint32(r.Uint32()) |
| 4215 |
return this |
| 4216 |
} |
| 4217 |
func NewPopulatedAllTypesOneOf_Field10(r randyOne, easy bool) *AllTypesOneOf_Field10 { |
| 4218 |
this := &AllTypesOneOf_Field10{} |
| 4219 |
this.Field10 = int32(r.Int31()) |
| 4220 |
if r.Intn(2) == 0 { |
| 4221 |
this.Field10 *= -1 |
| 4222 |
} |
| 4223 |
return this |
| 4224 |
} |
| 4225 |
func NewPopulatedAllTypesOneOf_Field11(r randyOne, easy bool) *AllTypesOneOf_Field11 { |
| 4226 |
this := &AllTypesOneOf_Field11{} |
| 4227 |
this.Field11 = uint64(uint64(r.Uint32())) |
| 4228 |
return this |
| 4229 |
} |
| 4230 |
func NewPopulatedAllTypesOneOf_Field12(r randyOne, easy bool) *AllTypesOneOf_Field12 { |
| 4231 |
this := &AllTypesOneOf_Field12{} |
| 4232 |
this.Field12 = int64(r.Int63()) |
| 4233 |
if r.Intn(2) == 0 { |
| 4234 |
this.Field12 *= -1 |
| 4235 |
} |
| 4236 |
return this |
| 4237 |
} |
| 4238 |
func NewPopulatedAllTypesOneOf_Field13(r randyOne, easy bool) *AllTypesOneOf_Field13 { |
| 4239 |
this := &AllTypesOneOf_Field13{} |
| 4240 |
this.Field13 = bool(bool(r.Intn(2) == 0)) |
| 4241 |
return this |
| 4242 |
} |
| 4243 |
func NewPopulatedAllTypesOneOf_Field14(r randyOne, easy bool) *AllTypesOneOf_Field14 { |
| 4244 |
this := &AllTypesOneOf_Field14{} |
| 4245 |
this.Field14 = string(randStringOne(r)) |
| 4246 |
return this |
| 4247 |
} |
| 4248 |
func NewPopulatedAllTypesOneOf_Field15(r randyOne, easy bool) *AllTypesOneOf_Field15 { |
| 4249 |
this := &AllTypesOneOf_Field15{} |
| 4250 |
v2 := r.Intn(100) |
| 4251 |
this.Field15 = make([]byte, v2) |
| 4252 |
for i := 0; i < v2; i++ { |
| 4253 |
this.Field15[i] = byte(r.Intn(256)) |
| 4254 |
} |
| 4255 |
return this |
| 4256 |
} |
| 4257 |
func NewPopulatedAllTypesOneOf_SubMessage(r randyOne, easy bool) *AllTypesOneOf_SubMessage { |
| 4258 |
this := &AllTypesOneOf_SubMessage{} |
| 4259 |
this.SubMessage = NewPopulatedSubby(r, easy) |
| 4260 |
return this |
| 4261 |
} |
| 4262 |
func NewPopulatedTwoOneofs(r randyOne, easy bool) *TwoOneofs { |
| 4263 |
this := &TwoOneofs{} |
| 4264 |
oneofNumber_One := []int32{1, 2, 3}[r.Intn(3)] |
| 4265 |
switch oneofNumber_One { |
| 4266 |
case 1: |
| 4267 |
this.One = NewPopulatedTwoOneofs_Field1(r, easy) |
| 4268 |
case 2: |
| 4269 |
this.One = NewPopulatedTwoOneofs_Field2(r, easy) |
| 4270 |
case 3: |
| 4271 |
this.One = NewPopulatedTwoOneofs_Field3(r, easy) |
| 4272 |
} |
| 4273 |
oneofNumber_Two := []int32{34, 35, 36}[r.Intn(3)] |
| 4274 |
switch oneofNumber_Two { |
| 4275 |
case 34: |
| 4276 |
this.Two = NewPopulatedTwoOneofs_Field34(r, easy) |
| 4277 |
case 35: |
| 4278 |
this.Two = NewPopulatedTwoOneofs_Field35(r, easy) |
| 4279 |
case 36: |
| 4280 |
this.Two = NewPopulatedTwoOneofs_SubMessage2(r, easy) |
| 4281 |
} |
| 4282 |
if !easy && r.Intn(10) != 0 { |
| 4283 |
this.XXX_unrecognized = randUnrecognizedOne(r, 37) |
| 4284 |
} |
| 4285 |
return this |
| 4286 |
} |
| 4287 |
|
| 4288 |
func NewPopulatedTwoOneofs_Field1(r randyOne, easy bool) *TwoOneofs_Field1 { |
| 4289 |
this := &TwoOneofs_Field1{} |
| 4290 |
this.Field1 = float64(r.Float64()) |
| 4291 |
if r.Intn(2) == 0 { |
| 4292 |
this.Field1 *= -1 |
| 4293 |
} |
| 4294 |
return this |
| 4295 |
} |
| 4296 |
func NewPopulatedTwoOneofs_Field2(r randyOne, easy bool) *TwoOneofs_Field2 { |
| 4297 |
this := &TwoOneofs_Field2{} |
| 4298 |
this.Field2 = float32(r.Float32()) |
| 4299 |
if r.Intn(2) == 0 { |
| 4300 |
this.Field2 *= -1 |
| 4301 |
} |
| 4302 |
return this |
| 4303 |
} |
| 4304 |
func NewPopulatedTwoOneofs_Field3(r randyOne, easy bool) *TwoOneofs_Field3 { |
| 4305 |
this := &TwoOneofs_Field3{} |
| 4306 |
this.Field3 = int32(r.Int31()) |
| 4307 |
if r.Intn(2) == 0 { |
| 4308 |
this.Field3 *= -1 |
| 4309 |
} |
| 4310 |
return this |
| 4311 |
} |
| 4312 |
func NewPopulatedTwoOneofs_Field34(r randyOne, easy bool) *TwoOneofs_Field34 { |
| 4313 |
this := &TwoOneofs_Field34{} |
| 4314 |
this.Field34 = string(randStringOne(r)) |
| 4315 |
return this |
| 4316 |
} |
| 4317 |
func NewPopulatedTwoOneofs_Field35(r randyOne, easy bool) *TwoOneofs_Field35 { |
| 4318 |
this := &TwoOneofs_Field35{} |
| 4319 |
v3 := r.Intn(100) |
| 4320 |
this.Field35 = make([]byte, v3) |
| 4321 |
for i := 0; i < v3; i++ { |
| 4322 |
this.Field35[i] = byte(r.Intn(256)) |
| 4323 |
} |
| 4324 |
return this |
| 4325 |
} |
| 4326 |
func NewPopulatedTwoOneofs_SubMessage2(r randyOne, easy bool) *TwoOneofs_SubMessage2 { |
| 4327 |
this := &TwoOneofs_SubMessage2{} |
| 4328 |
this.SubMessage2 = NewPopulatedSubby(r, easy) |
| 4329 |
return this |
| 4330 |
} |
| 4331 |
func NewPopulatedCustomOneof(r randyOne, easy bool) *CustomOneof { |
| 4332 |
this := &CustomOneof{} |
| 4333 |
oneofNumber_Custom := []int32{34, 35, 36, 37}[r.Intn(4)] |
| 4334 |
switch oneofNumber_Custom { |
| 4335 |
case 34: |
| 4336 |
this.Custom = NewPopulatedCustomOneof_Stringy(r, easy) |
| 4337 |
case 35: |
| 4338 |
this.Custom = NewPopulatedCustomOneof_CustomType(r, easy) |
| 4339 |
case 36: |
| 4340 |
this.Custom = NewPopulatedCustomOneof_CastType(r, easy) |
| 4341 |
case 37: |
| 4342 |
this.Custom = NewPopulatedCustomOneof_MyCustomName(r, easy) |
| 4343 |
} |
| 4344 |
if !easy && r.Intn(10) != 0 { |
| 4345 |
this.XXX_unrecognized = randUnrecognizedOne(r, 38) |
| 4346 |
} |
| 4347 |
return this |
| 4348 |
} |
| 4349 |
|
| 4350 |
func NewPopulatedCustomOneof_Stringy(r randyOne, easy bool) *CustomOneof_Stringy { |
| 4351 |
this := &CustomOneof_Stringy{} |
| 4352 |
this.Stringy = string(randStringOne(r)) |
| 4353 |
return this |
| 4354 |
} |
| 4355 |
func NewPopulatedCustomOneof_CustomType(r randyOne, easy bool) *CustomOneof_CustomType { |
| 4356 |
this := &CustomOneof_CustomType{} |
| 4357 |
v4 := github_com_gogo_protobuf_test_custom.NewPopulatedUint128(r) |
| 4358 |
this.CustomType = *v4 |
| 4359 |
return this |
| 4360 |
} |
| 4361 |
func NewPopulatedCustomOneof_CastType(r randyOne, easy bool) *CustomOneof_CastType { |
| 4362 |
this := &CustomOneof_CastType{} |
| 4363 |
this.CastType = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32())) |
| 4364 |
return this |
| 4365 |
} |
| 4366 |
func NewPopulatedCustomOneof_MyCustomName(r randyOne, easy bool) *CustomOneof_MyCustomName { |
| 4367 |
this := &CustomOneof_MyCustomName{} |
| 4368 |
this.MyCustomName = int64(r.Int63()) |
| 4369 |
if r.Intn(2) == 0 { |
| 4370 |
this.MyCustomName *= -1 |
| 4371 |
} |
| 4372 |
return this |
| 4373 |
} |
| 4374 |
|
| 4375 |
type randyOne interface { |
| 4376 |
Float32() float32 |
| 4377 |
Float64() float64 |
| 4378 |
Int63() int64 |
| 4379 |
Int31() int32 |
| 4380 |
Uint32() uint32 |
| 4381 |
Intn(n int) int |
| 4382 |
} |
| 4383 |
|
| 4384 |
func randUTF8RuneOne(r randyOne) rune { |
| 4385 |
ru := r.Intn(62) |
| 4386 |
if ru < 10 { |
| 4387 |
return rune(ru + 48) |
| 4388 |
} else if ru < 36 { |
| 4389 |
return rune(ru + 55) |
| 4390 |
} |
| 4391 |
return rune(ru + 61) |
| 4392 |
} |
| 4393 |
func randStringOne(r randyOne) string { |
| 4394 |
v5 := r.Intn(100) |
| 4395 |
tmps := make([]rune, v5) |
| 4396 |
for i := 0; i < v5; i++ { |
| 4397 |
tmps[i] = randUTF8RuneOne(r) |
| 4398 |
} |
| 4399 |
return string(tmps) |
| 4400 |
} |
| 4401 |
func randUnrecognizedOne(r randyOne, maxFieldNumber int) (dAtA []byte) { |
| 4402 |
l := r.Intn(5) |
| 4403 |
for i := 0; i < l; i++ { |
| 4404 |
wire := r.Intn(4) |
| 4405 |
if wire == 3 { |
| 4406 |
wire = 5 |
| 4407 |
} |
| 4408 |
fieldNumber := maxFieldNumber + r.Intn(100) |
| 4409 |
dAtA = randFieldOne(dAtA, r, fieldNumber, wire) |
| 4410 |
} |
| 4411 |
return dAtA |
| 4412 |
} |
| 4413 |
func randFieldOne(dAtA []byte, r randyOne, fieldNumber int, wire int) []byte { |
| 4414 |
key := uint32(fieldNumber)<<3 | uint32(wire) |
| 4415 |
switch wire { |
| 4416 |
case 0: |
| 4417 |
dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) |
| 4418 |
v6 := r.Int63() |
| 4419 |
if r.Intn(2) == 0 { |
| 4420 |
v6 *= -1 |
| 4421 |
} |
| 4422 |
dAtA = encodeVarintPopulateOne(dAtA, uint64(v6)) |
| 4423 |
case 1: |
| 4424 |
dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) |
| 4425 |
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) |
| 4426 |
case 2: |
| 4427 |
dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) |
| 4428 |
ll := r.Intn(100) |
| 4429 |
dAtA = encodeVarintPopulateOne(dAtA, uint64(ll)) |
| 4430 |
for j := 0; j < ll; j++ { |
| 4431 |
dAtA = append(dAtA, byte(r.Intn(256))) |
| 4432 |
} |
| 4433 |
default: |
| 4434 |
dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) |
| 4435 |
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) |
| 4436 |
} |
| 4437 |
return dAtA |
| 4438 |
} |
| 4439 |
func encodeVarintPopulateOne(dAtA []byte, v uint64) []byte { |
| 4440 |
for v >= 1<<7 { |
| 4441 |
dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) |
| 4442 |
v >>= 7 |
| 4443 |
} |
| 4444 |
dAtA = append(dAtA, uint8(v)) |
| 4445 |
return dAtA |
| 4446 |
} |
| 4447 |
func (m *Subby) Size() (n int) { |
| 4448 |
if m == nil { |
| 4449 |
return 0 |
| 4450 |
} |
| 4451 |
var l int |
| 4452 |
_ = l |
| 4453 |
if m.Sub != nil { |
| 4454 |
l = len(*m.Sub) |
| 4455 |
n += 1 + l + sovOne(uint64(l)) |
| 4456 |
} |
| 4457 |
if m.XXX_unrecognized != nil { |
| 4458 |
n += len(m.XXX_unrecognized) |
| 4459 |
} |
| 4460 |
return n |
| 4461 |
} |
| 4462 |
|
| 4463 |
func (m *AllTypesOneOf) Size() (n int) { |
| 4464 |
if m == nil { |
| 4465 |
return 0 |
| 4466 |
} |
| 4467 |
var l int |
| 4468 |
_ = l |
| 4469 |
if m.TestOneof != nil { |
| 4470 |
n += m.TestOneof.Size() |
| 4471 |
} |
| 4472 |
if m.XXX_unrecognized != nil { |
| 4473 |
n += len(m.XXX_unrecognized) |
| 4474 |
} |
| 4475 |
return n |
| 4476 |
} |
| 4477 |
|
| 4478 |
func (m *AllTypesOneOf_Field1) Size() (n int) { |
| 4479 |
if m == nil { |
| 4480 |
return 0 |
| 4481 |
} |
| 4482 |
var l int |
| 4483 |
_ = l |
| 4484 |
n += 9 |
| 4485 |
return n |
| 4486 |
} |
| 4487 |
func (m *AllTypesOneOf_Field2) Size() (n int) { |
| 4488 |
if m == nil { |
| 4489 |
return 0 |
| 4490 |
} |
| 4491 |
var l int |
| 4492 |
_ = l |
| 4493 |
n += 5 |
| 4494 |
return n |
| 4495 |
} |
| 4496 |
func (m *AllTypesOneOf_Field3) Size() (n int) { |
| 4497 |
if m == nil { |
| 4498 |
return 0 |
| 4499 |
} |
| 4500 |
var l int |
| 4501 |
_ = l |
| 4502 |
n += 1 + sovOne(uint64(m.Field3)) |
| 4503 |
return n |
| 4504 |
} |
| 4505 |
func (m *AllTypesOneOf_Field4) Size() (n int) { |
| 4506 |
if m == nil { |
| 4507 |
return 0 |
| 4508 |
} |
| 4509 |
var l int |
| 4510 |
_ = l |
| 4511 |
n += 1 + sovOne(uint64(m.Field4)) |
| 4512 |
return n |
| 4513 |
} |
| 4514 |
func (m *AllTypesOneOf_Field5) Size() (n int) { |
| 4515 |
if m == nil { |
| 4516 |
return 0 |
| 4517 |
} |
| 4518 |
var l int |
| 4519 |
_ = l |
| 4520 |
n += 1 + sovOne(uint64(m.Field5)) |
| 4521 |
return n |
| 4522 |
} |
| 4523 |
func (m *AllTypesOneOf_Field6) Size() (n int) { |
| 4524 |
if m == nil { |
| 4525 |
return 0 |
| 4526 |
} |
| 4527 |
var l int |
| 4528 |
_ = l |
| 4529 |
n += 1 + sovOne(uint64(m.Field6)) |
| 4530 |
return n |
| 4531 |
} |
| 4532 |
func (m *AllTypesOneOf_Field7) Size() (n int) { |
| 4533 |
if m == nil { |
| 4534 |
return 0 |
| 4535 |
} |
| 4536 |
var l int |
| 4537 |
_ = l |
| 4538 |
n += 1 + sozOne(uint64(m.Field7)) |
| 4539 |
return n |
| 4540 |
} |
| 4541 |
func (m *AllTypesOneOf_Field8) Size() (n int) { |
| 4542 |
if m == nil { |
| 4543 |
return 0 |
| 4544 |
} |
| 4545 |
var l int |
| 4546 |
_ = l |
| 4547 |
n += 1 + sozOne(uint64(m.Field8)) |
| 4548 |
return n |
| 4549 |
} |
| 4550 |
func (m *AllTypesOneOf_Field9) Size() (n int) { |
| 4551 |
if m == nil { |
| 4552 |
return 0 |
| 4553 |
} |
| 4554 |
var l int |
| 4555 |
_ = l |
| 4556 |
n += 5 |
| 4557 |
return n |
| 4558 |
} |
| 4559 |
func (m *AllTypesOneOf_Field10) Size() (n int) { |
| 4560 |
if m == nil { |
| 4561 |
return 0 |
| 4562 |
} |
| 4563 |
var l int |
| 4564 |
_ = l |
| 4565 |
n += 5 |
| 4566 |
return n |
| 4567 |
} |
| 4568 |
func (m *AllTypesOneOf_Field11) Size() (n int) { |
| 4569 |
if m == nil { |
| 4570 |
return 0 |
| 4571 |
} |
| 4572 |
var l int |
| 4573 |
_ = l |
| 4574 |
n += 9 |
| 4575 |
return n |
| 4576 |
} |
| 4577 |
func (m *AllTypesOneOf_Field12) Size() (n int) { |
| 4578 |
if m == nil { |
| 4579 |
return 0 |
| 4580 |
} |
| 4581 |
var l int |
| 4582 |
_ = l |
| 4583 |
n += 9 |
| 4584 |
return n |
| 4585 |
} |
| 4586 |
func (m *AllTypesOneOf_Field13) Size() (n int) { |
| 4587 |
if m == nil { |
| 4588 |
return 0 |
| 4589 |
} |
| 4590 |
var l int |
| 4591 |
_ = l |
| 4592 |
n += 2 |
| 4593 |
return n |
| 4594 |
} |
| 4595 |
func (m *AllTypesOneOf_Field14) Size() (n int) { |
| 4596 |
if m == nil { |
| 4597 |
return 0 |
| 4598 |
} |
| 4599 |
var l int |
| 4600 |
_ = l |
| 4601 |
l = len(m.Field14) |
| 4602 |
n += 1 + l + sovOne(uint64(l)) |
| 4603 |
return n |
| 4604 |
} |
| 4605 |
func (m *AllTypesOneOf_Field15) Size() (n int) { |
| 4606 |
if m == nil { |
| 4607 |
return 0 |
| 4608 |
} |
| 4609 |
var l int |
| 4610 |
_ = l |
| 4611 |
if m.Field15 != nil { |
| 4612 |
l = len(m.Field15) |
| 4613 |
n += 1 + l + sovOne(uint64(l)) |
| 4614 |
} |
| 4615 |
return n |
| 4616 |
} |
| 4617 |
func (m *AllTypesOneOf_SubMessage) Size() (n int) { |
| 4618 |
if m == nil { |
| 4619 |
return 0 |
| 4620 |
} |
| 4621 |
var l int |
| 4622 |
_ = l |
| 4623 |
if m.SubMessage != nil { |
| 4624 |
l = m.SubMessage.Size() |
| 4625 |
n += 2 + l + sovOne(uint64(l)) |
| 4626 |
} |
| 4627 |
return n |
| 4628 |
} |
| 4629 |
func (m *TwoOneofs) Size() (n int) { |
| 4630 |
if m == nil { |
| 4631 |
return 0 |
| 4632 |
} |
| 4633 |
var l int |
| 4634 |
_ = l |
| 4635 |
if m.One != nil { |
| 4636 |
n += m.One.Size() |
| 4637 |
} |
| 4638 |
if m.Two != nil { |
| 4639 |
n += m.Two.Size() |
| 4640 |
} |
| 4641 |
if m.XXX_unrecognized != nil { |
| 4642 |
n += len(m.XXX_unrecognized) |
| 4643 |
} |
| 4644 |
return n |
| 4645 |
} |
| 4646 |
|
| 4647 |
func (m *TwoOneofs_Field1) Size() (n int) { |
| 4648 |
if m == nil { |
| 4649 |
return 0 |
| 4650 |
} |
| 4651 |
var l int |
| 4652 |
_ = l |
| 4653 |
n += 9 |
| 4654 |
return n |
| 4655 |
} |
| 4656 |
func (m *TwoOneofs_Field2) Size() (n int) { |
| 4657 |
if m == nil { |
| 4658 |
return 0 |
| 4659 |
} |
| 4660 |
var l int |
| 4661 |
_ = l |
| 4662 |
n += 5 |
| 4663 |
return n |
| 4664 |
} |
| 4665 |
func (m *TwoOneofs_Field3) Size() (n int) { |
| 4666 |
if m == nil { |
| 4667 |
return 0 |
| 4668 |
} |
| 4669 |
var l int |
| 4670 |
_ = l |
| 4671 |
n += 1 + sovOne(uint64(m.Field3)) |
| 4672 |
return n |
| 4673 |
} |
| 4674 |
func (m *TwoOneofs_Field34) Size() (n int) { |
| 4675 |
if m == nil { |
| 4676 |
return 0 |
| 4677 |
} |
| 4678 |
var l int |
| 4679 |
_ = l |
| 4680 |
l = len(m.Field34) |
| 4681 |
n += 2 + l + sovOne(uint64(l)) |
| 4682 |
return n |
| 4683 |
} |
| 4684 |
func (m *TwoOneofs_Field35) Size() (n int) { |
| 4685 |
if m == nil { |
| 4686 |
return 0 |
| 4687 |
} |
| 4688 |
var l int |
| 4689 |
_ = l |
| 4690 |
if m.Field35 != nil { |
| 4691 |
l = len(m.Field35) |
| 4692 |
n += 2 + l + sovOne(uint64(l)) |
| 4693 |
} |
| 4694 |
return n |
| 4695 |
} |
| 4696 |
func (m *TwoOneofs_SubMessage2) Size() (n int) { |
| 4697 |
if m == nil { |
| 4698 |
return 0 |
| 4699 |
} |
| 4700 |
var l int |
| 4701 |
_ = l |
| 4702 |
if m.SubMessage2 != nil { |
| 4703 |
l = m.SubMessage2.Size() |
| 4704 |
n += 2 + l + sovOne(uint64(l)) |
| 4705 |
} |
| 4706 |
return n |
| 4707 |
} |
| 4708 |
func (m *CustomOneof) Size() (n int) { |
| 4709 |
if m == nil { |
| 4710 |
return 0 |
| 4711 |
} |
| 4712 |
var l int |
| 4713 |
_ = l |
| 4714 |
if m.Custom != nil { |
| 4715 |
n += m.Custom.Size() |
| 4716 |
} |
| 4717 |
if m.XXX_unrecognized != nil { |
| 4718 |
n += len(m.XXX_unrecognized) |
| 4719 |
} |
| 4720 |
return n |
| 4721 |
} |
| 4722 |
|
| 4723 |
func (m *CustomOneof_Stringy) Size() (n int) { |
| 4724 |
if m == nil { |
| 4725 |
return 0 |
| 4726 |
} |
| 4727 |
var l int |
| 4728 |
_ = l |
| 4729 |
l = len(m.Stringy) |
| 4730 |
n += 2 + l + sovOne(uint64(l)) |
| 4731 |
return n |
| 4732 |
} |
| 4733 |
func (m *CustomOneof_CustomType) Size() (n int) { |
| 4734 |
if m == nil { |
| 4735 |
return 0 |
| 4736 |
} |
| 4737 |
var l int |
| 4738 |
_ = l |
| 4739 |
l = m.CustomType.Size() |
| 4740 |
n += 2 + l + sovOne(uint64(l)) |
| 4741 |
return n |
| 4742 |
} |
| 4743 |
func (m *CustomOneof_CastType) Size() (n int) { |
| 4744 |
if m == nil { |
| 4745 |
return 0 |
| 4746 |
} |
| 4747 |
var l int |
| 4748 |
_ = l |
| 4749 |
n += 2 + sovOne(uint64(m.CastType)) |
| 4750 |
return n |
| 4751 |
} |
| 4752 |
func (m *CustomOneof_MyCustomName) Size() (n int) { |
| 4753 |
if m == nil { |
| 4754 |
return 0 |
| 4755 |
} |
| 4756 |
var l int |
| 4757 |
_ = l |
| 4758 |
n += 2 + sovOne(uint64(m.MyCustomName)) |
| 4759 |
return n |
| 4760 |
} |
| 4761 |
|
| 4762 |
func sovOne(x uint64) (n int) { |
| 4763 |
return (math_bits.Len64(x|1) + 6) / 7 |
| 4764 |
} |
| 4765 |
func sozOne(x uint64) (n int) { |
| 4766 |
return sovOne(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 4767 |
} |
| 4768 |
func (this *Subby) String() string { |
| 4769 |
if this == nil { |
| 4770 |
return "nil" |
| 4771 |
} |
| 4772 |
s := strings.Join([]string{`&Subby{`, |
| 4773 |
`Sub:` + valueToStringOne(this.Sub) + `,`, |
| 4774 |
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, |
| 4775 |
`}`, |
| 4776 |
}, "") |
| 4777 |
return s |
| 4778 |
} |
| 4779 |
func (this *AllTypesOneOf) String() string { |
| 4780 |
if this == nil { |
| 4781 |
return "nil" |
| 4782 |
} |
| 4783 |
s := strings.Join([]string{`&AllTypesOneOf{`, |
| 4784 |
`TestOneof:` + fmt.Sprintf("%v", this.TestOneof) + `,`, |
| 4785 |
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, |
| 4786 |
`}`, |
| 4787 |
}, "") |
| 4788 |
return s |
| 4789 |
} |
| 4790 |
func (this *AllTypesOneOf_Field1) String() string { |
| 4791 |
if this == nil { |
| 4792 |
return "nil" |
| 4793 |
} |
| 4794 |
s := strings.Join([]string{`&AllTypesOneOf_Field1{`, |
| 4795 |
`Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, |
| 4796 |
`}`, |
| 4797 |
}, "") |
| 4798 |
return s |
| 4799 |
} |
| 4800 |
func (this *AllTypesOneOf_Field2) String() string { |
| 4801 |
if this == nil { |
| 4802 |
return "nil" |
| 4803 |
} |
| 4804 |
s := strings.Join([]string{`&AllTypesOneOf_Field2{`, |
| 4805 |
`Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, |
| 4806 |
`}`, |
| 4807 |
}, "") |
| 4808 |
return s |
| 4809 |
} |
| 4810 |
func (this *AllTypesOneOf_Field3) String() string { |
| 4811 |
if this == nil { |
| 4812 |
return "nil" |
| 4813 |
} |
| 4814 |
s := strings.Join([]string{`&AllTypesOneOf_Field3{`, |
| 4815 |
`Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, |
| 4816 |
`}`, |
| 4817 |
}, "") |
| 4818 |
return s |
| 4819 |
} |
| 4820 |
func (this *AllTypesOneOf_Field4) String() string { |
| 4821 |
if this == nil { |
| 4822 |
return "nil" |
| 4823 |
} |
| 4824 |
s := strings.Join([]string{`&AllTypesOneOf_Field4{`, |
| 4825 |
`Field4:` + fmt.Sprintf("%v", this.Field4) + `,`, |
| 4826 |
`}`, |
| 4827 |
}, "") |
| 4828 |
return s |
| 4829 |
} |
| 4830 |
func (this *AllTypesOneOf_Field5) String() string { |
| 4831 |
if this == nil { |
| 4832 |
return "nil" |
| 4833 |
} |
| 4834 |
s := strings.Join([]string{`&AllTypesOneOf_Field5{`, |
| 4835 |
`Field5:` + fmt.Sprintf("%v", this.Field5) + `,`, |
| 4836 |
`}`, |
| 4837 |
}, "") |
| 4838 |
return s |
| 4839 |
} |
| 4840 |
func (this *AllTypesOneOf_Field6) String() string { |
| 4841 |
if this == nil { |
| 4842 |
return "nil" |
| 4843 |
} |
| 4844 |
s := strings.Join([]string{`&AllTypesOneOf_Field6{`, |
| 4845 |
`Field6:` + fmt.Sprintf("%v", this.Field6) + `,`, |
| 4846 |
`}`, |
| 4847 |
}, "") |
| 4848 |
return s |
| 4849 |
} |
| 4850 |
func (this *AllTypesOneOf_Field7) String() string { |
| 4851 |
if this == nil { |
| 4852 |
return "nil" |
| 4853 |
} |
| 4854 |
s := strings.Join([]string{`&AllTypesOneOf_Field7{`, |
| 4855 |
`Field7:` + fmt.Sprintf("%v", this.Field7) + `,`, |
| 4856 |
`}`, |
| 4857 |
}, "") |
| 4858 |
return s |
| 4859 |
} |
| 4860 |
func (this *AllTypesOneOf_Field8) String() string { |
| 4861 |
if this == nil { |
| 4862 |
return "nil" |
| 4863 |
} |
| 4864 |
s := strings.Join([]string{`&AllTypesOneOf_Field8{`, |
| 4865 |
`Field8:` + fmt.Sprintf("%v", this.Field8) + `,`, |
| 4866 |
`}`, |
| 4867 |
}, "") |
| 4868 |
return s |
| 4869 |
} |
| 4870 |
func (this *AllTypesOneOf_Field9) String() string { |
| 4871 |
if this == nil { |
| 4872 |
return "nil" |
| 4873 |
} |
| 4874 |
s := strings.Join([]string{`&AllTypesOneOf_Field9{`, |
| 4875 |
`Field9:` + fmt.Sprintf("%v", this.Field9) + `,`, |
| 4876 |
`}`, |
| 4877 |
}, "") |
| 4878 |
return s |
| 4879 |
} |
| 4880 |
func (this *AllTypesOneOf_Field10) String() string { |
| 4881 |
if this == nil { |
| 4882 |
return "nil" |
| 4883 |
} |
| 4884 |
s := strings.Join([]string{`&AllTypesOneOf_Field10{`, |
| 4885 |
`Field10:` + fmt.Sprintf("%v", this.Field10) + `,`, |
| 4886 |
`}`, |
| 4887 |
}, "") |
| 4888 |
return s |
| 4889 |
} |
| 4890 |
func (this *AllTypesOneOf_Field11) String() string { |
| 4891 |
if this == nil { |
| 4892 |
return "nil" |
| 4893 |
} |
| 4894 |
s := strings.Join([]string{`&AllTypesOneOf_Field11{`, |
| 4895 |
`Field11:` + fmt.Sprintf("%v", this.Field11) + `,`, |
| 4896 |
`}`, |
| 4897 |
}, "") |
| 4898 |
return s |
| 4899 |
} |
| 4900 |
func (this *AllTypesOneOf_Field12) String() string { |
| 4901 |
if this == nil { |
| 4902 |
return "nil" |
| 4903 |
} |
| 4904 |
s := strings.Join([]string{`&AllTypesOneOf_Field12{`, |
| 4905 |
`Field12:` + fmt.Sprintf("%v", this.Field12) + `,`, |
| 4906 |
`}`, |
| 4907 |
}, "") |
| 4908 |
return s |
| 4909 |
} |
| 4910 |
func (this *AllTypesOneOf_Field13) String() string { |
| 4911 |
if this == nil { |
| 4912 |
return "nil" |
| 4913 |
} |
| 4914 |
s := strings.Join([]string{`&AllTypesOneOf_Field13{`, |
| 4915 |
`Field13:` + fmt.Sprintf("%v", this.Field13) + `,`, |
| 4916 |
`}`, |
| 4917 |
}, "") |
| 4918 |
return s |
| 4919 |
} |
| 4920 |
func (this *AllTypesOneOf_Field14) String() string { |
| 4921 |
if this == nil { |
| 4922 |
return "nil" |
| 4923 |
} |
| 4924 |
s := strings.Join([]string{`&AllTypesOneOf_Field14{`, |
| 4925 |
`Field14:` + fmt.Sprintf("%v", this.Field14) + `,`, |
| 4926 |
`}`, |
| 4927 |
}, "") |
| 4928 |
return s |
| 4929 |
} |
| 4930 |
func (this *AllTypesOneOf_Field15) String() string { |
| 4931 |
if this == nil { |
| 4932 |
return "nil" |
| 4933 |
} |
| 4934 |
s := strings.Join([]string{`&AllTypesOneOf_Field15{`, |
| 4935 |
`Field15:` + fmt.Sprintf("%v", this.Field15) + `,`, |
| 4936 |
`}`, |
| 4937 |
}, "") |
| 4938 |
return s |
| 4939 |
} |
| 4940 |
func (this *AllTypesOneOf_SubMessage) String() string { |
| 4941 |
if this == nil { |
| 4942 |
return "nil" |
| 4943 |
} |
| 4944 |
s := strings.Join([]string{`&AllTypesOneOf_SubMessage{`, |
| 4945 |
`SubMessage:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage), "Subby", "Subby", 1) + `,`, |
| 4946 |
`}`, |
| 4947 |
}, "") |
| 4948 |
return s |
| 4949 |
} |
| 4950 |
func (this *TwoOneofs) String() string { |
| 4951 |
if this == nil { |
| 4952 |
return "nil" |
| 4953 |
} |
| 4954 |
s := strings.Join([]string{`&TwoOneofs{`, |
| 4955 |
`One:` + fmt.Sprintf("%v", this.One) + `,`, |
| 4956 |
`Two:` + fmt.Sprintf("%v", this.Two) + `,`, |
| 4957 |
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, |
| 4958 |
`}`, |
| 4959 |
}, "") |
| 4960 |
return s |
| 4961 |
} |
| 4962 |
func (this *TwoOneofs_Field1) String() string { |
| 4963 |
if this == nil { |
| 4964 |
return "nil" |
| 4965 |
} |
| 4966 |
s := strings.Join([]string{`&TwoOneofs_Field1{`, |
| 4967 |
`Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, |
| 4968 |
`}`, |
| 4969 |
}, "") |
| 4970 |
return s |
| 4971 |
} |
| 4972 |
func (this *TwoOneofs_Field2) String() string { |
| 4973 |
if this == nil { |
| 4974 |
return "nil" |
| 4975 |
} |
| 4976 |
s := strings.Join([]string{`&TwoOneofs_Field2{`, |
| 4977 |
`Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, |
| 4978 |
`}`, |
| 4979 |
}, "") |
| 4980 |
return s |
| 4981 |
} |
| 4982 |
func (this *TwoOneofs_Field3) String() string { |
| 4983 |
if this == nil { |
| 4984 |
return "nil" |
| 4985 |
} |
| 4986 |
s := strings.Join([]string{`&TwoOneofs_Field3{`, |
| 4987 |
`Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, |
| 4988 |
`}`, |
| 4989 |
}, "") |
| 4990 |
return s |
| 4991 |
} |
| 4992 |
func (this *TwoOneofs_Field34) String() string { |
| 4993 |
if this == nil { |
| 4994 |
return "nil" |
| 4995 |
} |
| 4996 |
s := strings.Join([]string{`&TwoOneofs_Field34{`, |
| 4997 |
`Field34:` + fmt.Sprintf("%v", this.Field34) + `,`, |
| 4998 |
`}`, |
| 4999 |
}, "") |
| 5000 |
return s |
| 5001 |
} |
| 5002 |
func (this *TwoOneofs_Field35) String() string { |
| 5003 |
if this == nil { |
| 5004 |
return "nil" |
| 5005 |
} |
| 5006 |
s := strings.Join([]string{`&TwoOneofs_Field35{`, |
| 5007 |
`Field35:` + fmt.Sprintf("%v", this.Field35) + `,`, |
| 5008 |
`}`, |
| 5009 |
}, "") |
| 5010 |
return s |
| 5011 |
} |
| 5012 |
func (this *TwoOneofs_SubMessage2) String() string { |
| 5013 |
if this == nil { |
| 5014 |
return "nil" |
| 5015 |
} |
| 5016 |
s := strings.Join([]string{`&TwoOneofs_SubMessage2{`, |
| 5017 |
`SubMessage2:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage2), "Subby", "Subby", 1) + `,`, |
| 5018 |
`}`, |
| 5019 |
}, "") |
| 5020 |
return s |
| 5021 |
} |
| 5022 |
func (this *CustomOneof) String() string { |
| 5023 |
if this == nil { |
| 5024 |
return "nil" |
| 5025 |
} |
| 5026 |
s := strings.Join([]string{`&CustomOneof{`, |
| 5027 |
`Custom:` + fmt.Sprintf("%v", this.Custom) + `,`, |
| 5028 |
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, |
| 5029 |
`}`, |
| 5030 |
}, "") |
| 5031 |
return s |
| 5032 |
} |
| 5033 |
func (this *CustomOneof_Stringy) String() string { |
| 5034 |
if this == nil { |
| 5035 |
return "nil" |
| 5036 |
} |
| 5037 |
s := strings.Join([]string{`&CustomOneof_Stringy{`, |
| 5038 |
`Stringy:` + fmt.Sprintf("%v", this.Stringy) + `,`, |
| 5039 |
`}`, |
| 5040 |
}, "") |
| 5041 |
return s |
| 5042 |
} |
| 5043 |
func (this *CustomOneof_CustomType) String() string { |
| 5044 |
if this == nil { |
| 5045 |
return "nil" |
| 5046 |
} |
| 5047 |
s := strings.Join([]string{`&CustomOneof_CustomType{`, |
| 5048 |
`CustomType:` + fmt.Sprintf("%v", this.CustomType) + `,`, |
| 5049 |
`}`, |
| 5050 |
}, "") |
| 5051 |
return s |
| 5052 |
} |
| 5053 |
func (this *CustomOneof_CastType) String() string { |
| 5054 |
if this == nil { |
| 5055 |
return "nil" |
| 5056 |
} |
| 5057 |
s := strings.Join([]string{`&CustomOneof_CastType{`, |
| 5058 |
`CastType:` + fmt.Sprintf("%v", this.CastType) + `,`, |
| 5059 |
`}`, |
| 5060 |
}, "") |
| 5061 |
return s |
| 5062 |
} |
| 5063 |
func (this *CustomOneof_MyCustomName) String() string { |
| 5064 |
if this == nil { |
| 5065 |
return "nil" |
| 5066 |
} |
| 5067 |
s := strings.Join([]string{`&CustomOneof_MyCustomName{`, |
| 5068 |
`MyCustomName:` + fmt.Sprintf("%v", this.MyCustomName) + `,`, |
| 5069 |
`}`, |
| 5070 |
}, "") |
| 5071 |
return s |
| 5072 |
} |
| 5073 |
func valueToStringOne(v interface{}) string { |
| 5074 |
rv := reflect.ValueOf(v) |
| 5075 |
if rv.IsNil() { |
| 5076 |
return "nil" |
| 5077 |
} |
| 5078 |
pv := reflect.Indirect(rv).Interface() |
| 5079 |
return fmt.Sprintf("*%v", pv) |
| 5080 |
} |