| 1 |
// Code generated by protoc-gen-gogo. DO NOT EDIT. |
| 2 |
// source: combos/both/types.proto |
| 3 |
|
| 4 |
package types |
| 5 |
|
| 6 |
import ( |
| 7 |
bytes "bytes" |
| 8 |
fmt "fmt" |
| 9 |
_ "github.com/gogo/protobuf/gogoproto" |
| 10 |
proto "github.com/gogo/protobuf/proto" |
| 11 |
github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" |
| 12 |
types "github.com/gogo/protobuf/types" |
| 13 |
io "io" |
| 14 |
math "math" |
| 15 |
math_bits "math/bits" |
| 16 |
time "time" |
| 17 |
) |
| 18 |
|
| 19 |
// Reference imports to suppress errors if they are not otherwise used. |
| 20 |
var _ = proto.Marshal |
| 21 |
var _ = fmt.Errorf |
| 22 |
var _ = math.Inf |
| 23 |
var _ = time.Kitchen |
| 24 |
|
| 25 |
// This is a compile-time assertion to ensure that this generated file |
| 26 |
// is compatible with the proto package it is being compiled against. |
| 27 |
// A compilation error at this line likely means your copy of the |
| 28 |
// proto package needs to be updated. |
| 29 |
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package |
| 30 |
|
| 31 |
type KnownTypes struct { |
| 32 |
Dur *types.Duration `protobuf:"bytes,1,opt,name=dur,proto3" json:"dur,omitempty"` |
| 33 |
Ts *types.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` |
| 34 |
Dbl *types.DoubleValue `protobuf:"bytes,3,opt,name=dbl,proto3" json:"dbl,omitempty"` |
| 35 |
Flt *types.FloatValue `protobuf:"bytes,4,opt,name=flt,proto3" json:"flt,omitempty"` |
| 36 |
I64 *types.Int64Value `protobuf:"bytes,5,opt,name=i64,proto3" json:"i64,omitempty"` |
| 37 |
U64 *types.UInt64Value `protobuf:"bytes,6,opt,name=u64,proto3" json:"u64,omitempty"` |
| 38 |
I32 *types.Int32Value `protobuf:"bytes,7,opt,name=i32,proto3" json:"i32,omitempty"` |
| 39 |
U32 *types.UInt32Value `protobuf:"bytes,8,opt,name=u32,proto3" json:"u32,omitempty"` |
| 40 |
Bool *types.BoolValue `protobuf:"bytes,9,opt,name=bool,proto3" json:"bool,omitempty"` |
| 41 |
Str *types.StringValue `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"` |
| 42 |
Bytes *types.BytesValue `protobuf:"bytes,11,opt,name=bytes,proto3" json:"bytes,omitempty"` |
| 43 |
// TODO uncomment this once https://github.com/gogo/protobuf/issues/197 is fixed |
| 44 |
St *types.Struct `protobuf:"bytes,12,opt,name=st,proto3" json:"st,omitempty"` |
| 45 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 46 |
XXX_unrecognized []byte `json:"-"` |
| 47 |
XXX_sizecache int32 `json:"-"` |
| 48 |
} |
| 49 |
|
| 50 |
func (m *KnownTypes) Reset() { *m = KnownTypes{} } |
| 51 |
func (m *KnownTypes) String() string { return proto.CompactTextString(m) } |
| 52 |
func (*KnownTypes) ProtoMessage() {} |
| 53 |
func (*KnownTypes) Descriptor() ([]byte, []int) { |
| 54 |
return fileDescriptor_54557d2dac6675e4, []int{0} |
| 55 |
} |
| 56 |
func (m *KnownTypes) XXX_Unmarshal(b []byte) error { |
| 57 |
return m.Unmarshal(b) |
| 58 |
} |
| 59 |
func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 60 |
if deterministic { |
| 61 |
return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) |
| 62 |
} else { |
| 63 |
b = b[:cap(b)] |
| 64 |
n, err := m.MarshalToSizedBuffer(b) |
| 65 |
if err != nil { |
| 66 |
return nil, err |
| 67 |
} |
| 68 |
return b[:n], nil |
| 69 |
} |
| 70 |
} |
| 71 |
func (m *KnownTypes) XXX_Merge(src proto.Message) { |
| 72 |
xxx_messageInfo_KnownTypes.Merge(m, src) |
| 73 |
} |
| 74 |
func (m *KnownTypes) XXX_Size() int { |
| 75 |
return m.Size() |
| 76 |
} |
| 77 |
func (m *KnownTypes) XXX_DiscardUnknown() { |
| 78 |
xxx_messageInfo_KnownTypes.DiscardUnknown(m) |
| 79 |
} |
| 80 |
|
| 81 |
var xxx_messageInfo_KnownTypes proto.InternalMessageInfo |
| 82 |
|
| 83 |
func (m *KnownTypes) GetDur() *types.Duration { |
| 84 |
if m != nil { |
| 85 |
return m.Dur |
| 86 |
} |
| 87 |
return nil |
| 88 |
} |
| 89 |
|
| 90 |
func (m *KnownTypes) GetTs() *types.Timestamp { |
| 91 |
if m != nil { |
| 92 |
return m.Ts |
| 93 |
} |
| 94 |
return nil |
| 95 |
} |
| 96 |
|
| 97 |
func (m *KnownTypes) GetDbl() *types.DoubleValue { |
| 98 |
if m != nil { |
| 99 |
return m.Dbl |
| 100 |
} |
| 101 |
return nil |
| 102 |
} |
| 103 |
|
| 104 |
func (m *KnownTypes) GetFlt() *types.FloatValue { |
| 105 |
if m != nil { |
| 106 |
return m.Flt |
| 107 |
} |
| 108 |
return nil |
| 109 |
} |
| 110 |
|
| 111 |
func (m *KnownTypes) GetI64() *types.Int64Value { |
| 112 |
if m != nil { |
| 113 |
return m.I64 |
| 114 |
} |
| 115 |
return nil |
| 116 |
} |
| 117 |
|
| 118 |
func (m *KnownTypes) GetU64() *types.UInt64Value { |
| 119 |
if m != nil { |
| 120 |
return m.U64 |
| 121 |
} |
| 122 |
return nil |
| 123 |
} |
| 124 |
|
| 125 |
func (m *KnownTypes) GetI32() *types.Int32Value { |
| 126 |
if m != nil { |
| 127 |
return m.I32 |
| 128 |
} |
| 129 |
return nil |
| 130 |
} |
| 131 |
|
| 132 |
func (m *KnownTypes) GetU32() *types.UInt32Value { |
| 133 |
if m != nil { |
| 134 |
return m.U32 |
| 135 |
} |
| 136 |
return nil |
| 137 |
} |
| 138 |
|
| 139 |
func (m *KnownTypes) GetBool() *types.BoolValue { |
| 140 |
if m != nil { |
| 141 |
return m.Bool |
| 142 |
} |
| 143 |
return nil |
| 144 |
} |
| 145 |
|
| 146 |
func (m *KnownTypes) GetStr() *types.StringValue { |
| 147 |
if m != nil { |
| 148 |
return m.Str |
| 149 |
} |
| 150 |
return nil |
| 151 |
} |
| 152 |
|
| 153 |
func (m *KnownTypes) GetBytes() *types.BytesValue { |
| 154 |
if m != nil { |
| 155 |
return m.Bytes |
| 156 |
} |
| 157 |
return nil |
| 158 |
} |
| 159 |
|
| 160 |
func (m *KnownTypes) GetSt() *types.Struct { |
| 161 |
if m != nil { |
| 162 |
return m.St |
| 163 |
} |
| 164 |
return nil |
| 165 |
} |
| 166 |
|
| 167 |
type ProtoTypes struct { |
| 168 |
NullableTimestamp *types.Timestamp `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3" json:"nullableTimestamp,omitempty"` |
| 169 |
NullableDuration *types.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3" json:"nullableDuration,omitempty"` |
| 170 |
NullableDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` |
| 171 |
NullableFloat *types.FloatValue `protobuf:"bytes,4,opt,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` |
| 172 |
NullableInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` |
| 173 |
NullableUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` |
| 174 |
NullableInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` |
| 175 |
NullableUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` |
| 176 |
NullableBool *types.BoolValue `protobuf:"bytes,9,opt,name=nullableBool,proto3" json:"nullableBool,omitempty"` |
| 177 |
NullableString *types.StringValue `protobuf:"bytes,10,opt,name=nullableString,proto3" json:"nullableString,omitempty"` |
| 178 |
NullableBytes *types.BytesValue `protobuf:"bytes,11,opt,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` |
| 179 |
Timestamp types.Timestamp `protobuf:"bytes,12,opt,name=timestamp,proto3" json:"timestamp"` |
| 180 |
Duration types.Duration `protobuf:"bytes,13,opt,name=duration,proto3" json:"duration"` |
| 181 |
NonnullDouble types.DoubleValue `protobuf:"bytes,14,opt,name=nonnullDouble,proto3" json:"nonnullDouble"` |
| 182 |
NonnullFloat types.FloatValue `protobuf:"bytes,15,opt,name=nonnullFloat,proto3" json:"nonnullFloat"` |
| 183 |
NonnullInt64 types.Int64Value `protobuf:"bytes,16,opt,name=nonnullInt64,proto3" json:"nonnullInt64"` |
| 184 |
NonnullUInt64 types.UInt64Value `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3" json:"nonnullUInt64"` |
| 185 |
NonnullInt32 types.Int32Value `protobuf:"bytes,18,opt,name=nonnullInt32,proto3" json:"nonnullInt32"` |
| 186 |
NonnullUInt32 types.UInt32Value `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3" json:"nonnullUInt32"` |
| 187 |
NonnullBool types.BoolValue `protobuf:"bytes,20,opt,name=nonnullBool,proto3" json:"nonnullBool"` |
| 188 |
NonnullString types.StringValue `protobuf:"bytes,21,opt,name=nonnullString,proto3" json:"nonnullString"` |
| 189 |
NonnullBytes types.BytesValue `protobuf:"bytes,22,opt,name=nonnullBytes,proto3" json:"nonnullBytes"` |
| 190 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 191 |
XXX_unrecognized []byte `json:"-"` |
| 192 |
XXX_sizecache int32 `json:"-"` |
| 193 |
} |
| 194 |
|
| 195 |
func (m *ProtoTypes) Reset() { *m = ProtoTypes{} } |
| 196 |
func (m *ProtoTypes) String() string { return proto.CompactTextString(m) } |
| 197 |
func (*ProtoTypes) ProtoMessage() {} |
| 198 |
func (*ProtoTypes) Descriptor() ([]byte, []int) { |
| 199 |
return fileDescriptor_54557d2dac6675e4, []int{1} |
| 200 |
} |
| 201 |
func (m *ProtoTypes) XXX_Unmarshal(b []byte) error { |
| 202 |
return m.Unmarshal(b) |
| 203 |
} |
| 204 |
func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 205 |
if deterministic { |
| 206 |
return xxx_messageInfo_ProtoTypes.Marshal(b, m, deterministic) |
| 207 |
} else { |
| 208 |
b = b[:cap(b)] |
| 209 |
n, err := m.MarshalToSizedBuffer(b) |
| 210 |
if err != nil { |
| 211 |
return nil, err |
| 212 |
} |
| 213 |
return b[:n], nil |
| 214 |
} |
| 215 |
} |
| 216 |
func (m *ProtoTypes) XXX_Merge(src proto.Message) { |
| 217 |
xxx_messageInfo_ProtoTypes.Merge(m, src) |
| 218 |
} |
| 219 |
func (m *ProtoTypes) XXX_Size() int { |
| 220 |
return m.Size() |
| 221 |
} |
| 222 |
func (m *ProtoTypes) XXX_DiscardUnknown() { |
| 223 |
xxx_messageInfo_ProtoTypes.DiscardUnknown(m) |
| 224 |
} |
| 225 |
|
| 226 |
var xxx_messageInfo_ProtoTypes proto.InternalMessageInfo |
| 227 |
|
| 228 |
func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp { |
| 229 |
if m != nil { |
| 230 |
return m.NullableTimestamp |
| 231 |
} |
| 232 |
return nil |
| 233 |
} |
| 234 |
|
| 235 |
func (m *ProtoTypes) GetNullableDuration() *types.Duration { |
| 236 |
if m != nil { |
| 237 |
return m.NullableDuration |
| 238 |
} |
| 239 |
return nil |
| 240 |
} |
| 241 |
|
| 242 |
func (m *ProtoTypes) GetNullableDouble() *types.DoubleValue { |
| 243 |
if m != nil { |
| 244 |
return m.NullableDouble |
| 245 |
} |
| 246 |
return nil |
| 247 |
} |
| 248 |
|
| 249 |
func (m *ProtoTypes) GetNullableFloat() *types.FloatValue { |
| 250 |
if m != nil { |
| 251 |
return m.NullableFloat |
| 252 |
} |
| 253 |
return nil |
| 254 |
} |
| 255 |
|
| 256 |
func (m *ProtoTypes) GetNullableInt64() *types.Int64Value { |
| 257 |
if m != nil { |
| 258 |
return m.NullableInt64 |
| 259 |
} |
| 260 |
return nil |
| 261 |
} |
| 262 |
|
| 263 |
func (m *ProtoTypes) GetNullableUInt64() *types.UInt64Value { |
| 264 |
if m != nil { |
| 265 |
return m.NullableUInt64 |
| 266 |
} |
| 267 |
return nil |
| 268 |
} |
| 269 |
|
| 270 |
func (m *ProtoTypes) GetNullableInt32() *types.Int32Value { |
| 271 |
if m != nil { |
| 272 |
return m.NullableInt32 |
| 273 |
} |
| 274 |
return nil |
| 275 |
} |
| 276 |
|
| 277 |
func (m *ProtoTypes) GetNullableUInt32() *types.UInt32Value { |
| 278 |
if m != nil { |
| 279 |
return m.NullableUInt32 |
| 280 |
} |
| 281 |
return nil |
| 282 |
} |
| 283 |
|
| 284 |
func (m *ProtoTypes) GetNullableBool() *types.BoolValue { |
| 285 |
if m != nil { |
| 286 |
return m.NullableBool |
| 287 |
} |
| 288 |
return nil |
| 289 |
} |
| 290 |
|
| 291 |
func (m *ProtoTypes) GetNullableString() *types.StringValue { |
| 292 |
if m != nil { |
| 293 |
return m.NullableString |
| 294 |
} |
| 295 |
return nil |
| 296 |
} |
| 297 |
|
| 298 |
func (m *ProtoTypes) GetNullableBytes() *types.BytesValue { |
| 299 |
if m != nil { |
| 300 |
return m.NullableBytes |
| 301 |
} |
| 302 |
return nil |
| 303 |
} |
| 304 |
|
| 305 |
func (m *ProtoTypes) GetTimestamp() types.Timestamp { |
| 306 |
if m != nil { |
| 307 |
return m.Timestamp |
| 308 |
} |
| 309 |
return types.Timestamp{} |
| 310 |
} |
| 311 |
|
| 312 |
func (m *ProtoTypes) GetDuration() types.Duration { |
| 313 |
if m != nil { |
| 314 |
return m.Duration |
| 315 |
} |
| 316 |
return types.Duration{} |
| 317 |
} |
| 318 |
|
| 319 |
func (m *ProtoTypes) GetNonnullDouble() types.DoubleValue { |
| 320 |
if m != nil { |
| 321 |
return m.NonnullDouble |
| 322 |
} |
| 323 |
return types.DoubleValue{} |
| 324 |
} |
| 325 |
|
| 326 |
func (m *ProtoTypes) GetNonnullFloat() types.FloatValue { |
| 327 |
if m != nil { |
| 328 |
return m.NonnullFloat |
| 329 |
} |
| 330 |
return types.FloatValue{} |
| 331 |
} |
| 332 |
|
| 333 |
func (m *ProtoTypes) GetNonnullInt64() types.Int64Value { |
| 334 |
if m != nil { |
| 335 |
return m.NonnullInt64 |
| 336 |
} |
| 337 |
return types.Int64Value{} |
| 338 |
} |
| 339 |
|
| 340 |
func (m *ProtoTypes) GetNonnullUInt64() types.UInt64Value { |
| 341 |
if m != nil { |
| 342 |
return m.NonnullUInt64 |
| 343 |
} |
| 344 |
return types.UInt64Value{} |
| 345 |
} |
| 346 |
|
| 347 |
func (m *ProtoTypes) GetNonnullInt32() types.Int32Value { |
| 348 |
if m != nil { |
| 349 |
return m.NonnullInt32 |
| 350 |
} |
| 351 |
return types.Int32Value{} |
| 352 |
} |
| 353 |
|
| 354 |
func (m *ProtoTypes) GetNonnullUInt32() types.UInt32Value { |
| 355 |
if m != nil { |
| 356 |
return m.NonnullUInt32 |
| 357 |
} |
| 358 |
return types.UInt32Value{} |
| 359 |
} |
| 360 |
|
| 361 |
func (m *ProtoTypes) GetNonnullBool() types.BoolValue { |
| 362 |
if m != nil { |
| 363 |
return m.NonnullBool |
| 364 |
} |
| 365 |
return types.BoolValue{} |
| 366 |
} |
| 367 |
|
| 368 |
func (m *ProtoTypes) GetNonnullString() types.StringValue { |
| 369 |
if m != nil { |
| 370 |
return m.NonnullString |
| 371 |
} |
| 372 |
return types.StringValue{} |
| 373 |
} |
| 374 |
|
| 375 |
func (m *ProtoTypes) GetNonnullBytes() types.BytesValue { |
| 376 |
if m != nil { |
| 377 |
return m.NonnullBytes |
| 378 |
} |
| 379 |
return types.BytesValue{} |
| 380 |
} |
| 381 |
|
| 382 |
type StdTypes struct { |
| 383 |
NullableTimestamp *time.Time `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3,stdtime" json:"nullableTimestamp,omitempty"` |
| 384 |
NullableDuration *time.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3,stdduration" json:"nullableDuration,omitempty"` |
| 385 |
NullableDouble *float64 `protobuf:"bytes,3,opt,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` |
| 386 |
NullableFloat *float32 `protobuf:"bytes,4,opt,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` |
| 387 |
NullableInt64 *int64 `protobuf:"bytes,5,opt,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` |
| 388 |
NullableUInt64 *uint64 `protobuf:"bytes,6,opt,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` |
| 389 |
NullableInt32 *int32 `protobuf:"bytes,7,opt,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` |
| 390 |
NullableUInt32 *uint32 `protobuf:"bytes,8,opt,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` |
| 391 |
NullableBool *bool `protobuf:"bytes,9,opt,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` |
| 392 |
NullableString *string `protobuf:"bytes,10,opt,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` |
| 393 |
NullableBytes *[]byte `protobuf:"bytes,11,opt,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` |
| 394 |
Timestamp time.Time `protobuf:"bytes,12,opt,name=timestamp,proto3,stdtime" json:"timestamp"` |
| 395 |
Duration time.Duration `protobuf:"bytes,13,opt,name=duration,proto3,stdduration" json:"duration"` |
| 396 |
NonnullDouble float64 `protobuf:"bytes,14,opt,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` |
| 397 |
NonnullFloat float32 `protobuf:"bytes,15,opt,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` |
| 398 |
NonnullInt64 int64 `protobuf:"bytes,16,opt,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` |
| 399 |
NonnullUInt64 uint64 `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` |
| 400 |
NonnullInt32 int32 `protobuf:"bytes,18,opt,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` |
| 401 |
NonnullUInt32 uint32 `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` |
| 402 |
NonnullBool bool `protobuf:"bytes,20,opt,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` |
| 403 |
NonnullString string `protobuf:"bytes,21,opt,name=nonnullString,proto3,wktptr" json:"nonnullString"` |
| 404 |
NonnullBytes []byte `protobuf:"bytes,22,opt,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` |
| 405 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 406 |
XXX_unrecognized []byte `json:"-"` |
| 407 |
XXX_sizecache int32 `json:"-"` |
| 408 |
} |
| 409 |
|
| 410 |
func (m *StdTypes) Reset() { *m = StdTypes{} } |
| 411 |
func (m *StdTypes) String() string { return proto.CompactTextString(m) } |
| 412 |
func (*StdTypes) ProtoMessage() {} |
| 413 |
func (*StdTypes) Descriptor() ([]byte, []int) { |
| 414 |
return fileDescriptor_54557d2dac6675e4, []int{2} |
| 415 |
} |
| 416 |
func (m *StdTypes) XXX_Unmarshal(b []byte) error { |
| 417 |
return m.Unmarshal(b) |
| 418 |
} |
| 419 |
func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 420 |
if deterministic { |
| 421 |
return xxx_messageInfo_StdTypes.Marshal(b, m, deterministic) |
| 422 |
} else { |
| 423 |
b = b[:cap(b)] |
| 424 |
n, err := m.MarshalToSizedBuffer(b) |
| 425 |
if err != nil { |
| 426 |
return nil, err |
| 427 |
} |
| 428 |
return b[:n], nil |
| 429 |
} |
| 430 |
} |
| 431 |
func (m *StdTypes) XXX_Merge(src proto.Message) { |
| 432 |
xxx_messageInfo_StdTypes.Merge(m, src) |
| 433 |
} |
| 434 |
func (m *StdTypes) XXX_Size() int { |
| 435 |
return m.Size() |
| 436 |
} |
| 437 |
func (m *StdTypes) XXX_DiscardUnknown() { |
| 438 |
xxx_messageInfo_StdTypes.DiscardUnknown(m) |
| 439 |
} |
| 440 |
|
| 441 |
var xxx_messageInfo_StdTypes proto.InternalMessageInfo |
| 442 |
|
| 443 |
func (m *StdTypes) GetNullableTimestamp() *time.Time { |
| 444 |
if m != nil { |
| 445 |
return m.NullableTimestamp |
| 446 |
} |
| 447 |
return nil |
| 448 |
} |
| 449 |
|
| 450 |
func (m *StdTypes) GetNullableDuration() *time.Duration { |
| 451 |
if m != nil { |
| 452 |
return m.NullableDuration |
| 453 |
} |
| 454 |
return nil |
| 455 |
} |
| 456 |
|
| 457 |
func (m *StdTypes) GetNullableDouble() *float64 { |
| 458 |
if m != nil { |
| 459 |
return m.NullableDouble |
| 460 |
} |
| 461 |
return nil |
| 462 |
} |
| 463 |
|
| 464 |
func (m *StdTypes) GetNullableFloat() *float32 { |
| 465 |
if m != nil { |
| 466 |
return m.NullableFloat |
| 467 |
} |
| 468 |
return nil |
| 469 |
} |
| 470 |
|
| 471 |
func (m *StdTypes) GetNullableInt64() *int64 { |
| 472 |
if m != nil { |
| 473 |
return m.NullableInt64 |
| 474 |
} |
| 475 |
return nil |
| 476 |
} |
| 477 |
|
| 478 |
func (m *StdTypes) GetNullableUInt64() *uint64 { |
| 479 |
if m != nil { |
| 480 |
return m.NullableUInt64 |
| 481 |
} |
| 482 |
return nil |
| 483 |
} |
| 484 |
|
| 485 |
func (m *StdTypes) GetNullableInt32() *int32 { |
| 486 |
if m != nil { |
| 487 |
return m.NullableInt32 |
| 488 |
} |
| 489 |
return nil |
| 490 |
} |
| 491 |
|
| 492 |
func (m *StdTypes) GetNullableUInt32() *uint32 { |
| 493 |
if m != nil { |
| 494 |
return m.NullableUInt32 |
| 495 |
} |
| 496 |
return nil |
| 497 |
} |
| 498 |
|
| 499 |
func (m *StdTypes) GetNullableBool() *bool { |
| 500 |
if m != nil { |
| 501 |
return m.NullableBool |
| 502 |
} |
| 503 |
return nil |
| 504 |
} |
| 505 |
|
| 506 |
func (m *StdTypes) GetNullableString() *string { |
| 507 |
if m != nil { |
| 508 |
return m.NullableString |
| 509 |
} |
| 510 |
return nil |
| 511 |
} |
| 512 |
|
| 513 |
func (m *StdTypes) GetNullableBytes() *[]byte { |
| 514 |
if m != nil { |
| 515 |
return m.NullableBytes |
| 516 |
} |
| 517 |
return nil |
| 518 |
} |
| 519 |
|
| 520 |
func (m *StdTypes) GetTimestamp() time.Time { |
| 521 |
if m != nil { |
| 522 |
return m.Timestamp |
| 523 |
} |
| 524 |
return time.Time{} |
| 525 |
} |
| 526 |
|
| 527 |
func (m *StdTypes) GetDuration() time.Duration { |
| 528 |
if m != nil { |
| 529 |
return m.Duration |
| 530 |
} |
| 531 |
return 0 |
| 532 |
} |
| 533 |
|
| 534 |
func (m *StdTypes) GetNonnullDouble() float64 { |
| 535 |
if m != nil { |
| 536 |
return m.NonnullDouble |
| 537 |
} |
| 538 |
return 0 |
| 539 |
} |
| 540 |
|
| 541 |
func (m *StdTypes) GetNonnullFloat() float32 { |
| 542 |
if m != nil { |
| 543 |
return m.NonnullFloat |
| 544 |
} |
| 545 |
return 0 |
| 546 |
} |
| 547 |
|
| 548 |
func (m *StdTypes) GetNonnullInt64() int64 { |
| 549 |
if m != nil { |
| 550 |
return m.NonnullInt64 |
| 551 |
} |
| 552 |
return 0 |
| 553 |
} |
| 554 |
|
| 555 |
func (m *StdTypes) GetNonnullUInt64() uint64 { |
| 556 |
if m != nil { |
| 557 |
return m.NonnullUInt64 |
| 558 |
} |
| 559 |
return 0 |
| 560 |
} |
| 561 |
|
| 562 |
func (m *StdTypes) GetNonnullInt32() int32 { |
| 563 |
if m != nil { |
| 564 |
return m.NonnullInt32 |
| 565 |
} |
| 566 |
return 0 |
| 567 |
} |
| 568 |
|
| 569 |
func (m *StdTypes) GetNonnullUInt32() uint32 { |
| 570 |
if m != nil { |
| 571 |
return m.NonnullUInt32 |
| 572 |
} |
| 573 |
return 0 |
| 574 |
} |
| 575 |
|
| 576 |
func (m *StdTypes) GetNonnullBool() bool { |
| 577 |
if m != nil { |
| 578 |
return m.NonnullBool |
| 579 |
} |
| 580 |
return false |
| 581 |
} |
| 582 |
|
| 583 |
func (m *StdTypes) GetNonnullString() string { |
| 584 |
if m != nil { |
| 585 |
return m.NonnullString |
| 586 |
} |
| 587 |
return "" |
| 588 |
} |
| 589 |
|
| 590 |
func (m *StdTypes) GetNonnullBytes() []byte { |
| 591 |
if m != nil { |
| 592 |
return m.NonnullBytes |
| 593 |
} |
| 594 |
return []byte{} |
| 595 |
} |
| 596 |
|
| 597 |
type RepProtoTypes struct { |
| 598 |
NullableTimestamps []*types.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3" json:"nullableTimestamps,omitempty"` |
| 599 |
NullableDurations []*types.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3" json:"nullableDurations,omitempty"` |
| 600 |
Timestamps []types.Timestamp `protobuf:"bytes,3,rep,name=timestamps,proto3" json:"timestamps"` |
| 601 |
Durations []types.Duration `protobuf:"bytes,4,rep,name=durations,proto3" json:"durations"` |
| 602 |
NullableDouble []*types.DoubleValue `protobuf:"bytes,5,rep,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` |
| 603 |
NonnullDouble []types.DoubleValue `protobuf:"bytes,6,rep,name=nonnullDouble,proto3" json:"nonnullDouble"` |
| 604 |
NullableFloat []*types.FloatValue `protobuf:"bytes,7,rep,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` |
| 605 |
NonnullFloat []types.FloatValue `protobuf:"bytes,8,rep,name=nonnullFloat,proto3" json:"nonnullFloat"` |
| 606 |
NullableInt64 []*types.Int64Value `protobuf:"bytes,9,rep,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` |
| 607 |
NonnullInt64 []types.Int64Value `protobuf:"bytes,10,rep,name=nonnullInt64,proto3" json:"nonnullInt64"` |
| 608 |
NullableUInt64 []*types.UInt64Value `protobuf:"bytes,11,rep,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` |
| 609 |
NonnullUInt64 []types.UInt64Value `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3" json:"nonnullUInt64"` |
| 610 |
NullableInt32 []*types.Int32Value `protobuf:"bytes,13,rep,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` |
| 611 |
NonnullInt32 []types.Int32Value `protobuf:"bytes,14,rep,name=nonnullInt32,proto3" json:"nonnullInt32"` |
| 612 |
NullableUInt32 []*types.UInt32Value `protobuf:"bytes,15,rep,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` |
| 613 |
NonnullUInt32 []types.UInt32Value `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3" json:"nonnullUInt32"` |
| 614 |
NullableBool []*types.BoolValue `protobuf:"bytes,17,rep,name=nullableBool,proto3" json:"nullableBool,omitempty"` |
| 615 |
NonnullBool []types.BoolValue `protobuf:"bytes,18,rep,name=nonnullBool,proto3" json:"nonnullBool"` |
| 616 |
NullableString []*types.StringValue `protobuf:"bytes,19,rep,name=nullableString,proto3" json:"nullableString,omitempty"` |
| 617 |
NonnullString []types.StringValue `protobuf:"bytes,20,rep,name=nonnullString,proto3" json:"nonnullString"` |
| 618 |
NullableBytes []*types.BytesValue `protobuf:"bytes,21,rep,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` |
| 619 |
NonnullBytes []types.BytesValue `protobuf:"bytes,22,rep,name=nonnullBytes,proto3" json:"nonnullBytes"` |
| 620 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 621 |
XXX_unrecognized []byte `json:"-"` |
| 622 |
XXX_sizecache int32 `json:"-"` |
| 623 |
} |
| 624 |
|
| 625 |
func (m *RepProtoTypes) Reset() { *m = RepProtoTypes{} } |
| 626 |
func (m *RepProtoTypes) String() string { return proto.CompactTextString(m) } |
| 627 |
func (*RepProtoTypes) ProtoMessage() {} |
| 628 |
func (*RepProtoTypes) Descriptor() ([]byte, []int) { |
| 629 |
return fileDescriptor_54557d2dac6675e4, []int{3} |
| 630 |
} |
| 631 |
func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error { |
| 632 |
return m.Unmarshal(b) |
| 633 |
} |
| 634 |
func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 635 |
if deterministic { |
| 636 |
return xxx_messageInfo_RepProtoTypes.Marshal(b, m, deterministic) |
| 637 |
} else { |
| 638 |
b = b[:cap(b)] |
| 639 |
n, err := m.MarshalToSizedBuffer(b) |
| 640 |
if err != nil { |
| 641 |
return nil, err |
| 642 |
} |
| 643 |
return b[:n], nil |
| 644 |
} |
| 645 |
} |
| 646 |
func (m *RepProtoTypes) XXX_Merge(src proto.Message) { |
| 647 |
xxx_messageInfo_RepProtoTypes.Merge(m, src) |
| 648 |
} |
| 649 |
func (m *RepProtoTypes) XXX_Size() int { |
| 650 |
return m.Size() |
| 651 |
} |
| 652 |
func (m *RepProtoTypes) XXX_DiscardUnknown() { |
| 653 |
xxx_messageInfo_RepProtoTypes.DiscardUnknown(m) |
| 654 |
} |
| 655 |
|
| 656 |
var xxx_messageInfo_RepProtoTypes proto.InternalMessageInfo |
| 657 |
|
| 658 |
func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp { |
| 659 |
if m != nil { |
| 660 |
return m.NullableTimestamps |
| 661 |
} |
| 662 |
return nil |
| 663 |
} |
| 664 |
|
| 665 |
func (m *RepProtoTypes) GetNullableDurations() []*types.Duration { |
| 666 |
if m != nil { |
| 667 |
return m.NullableDurations |
| 668 |
} |
| 669 |
return nil |
| 670 |
} |
| 671 |
|
| 672 |
func (m *RepProtoTypes) GetTimestamps() []types.Timestamp { |
| 673 |
if m != nil { |
| 674 |
return m.Timestamps |
| 675 |
} |
| 676 |
return nil |
| 677 |
} |
| 678 |
|
| 679 |
func (m *RepProtoTypes) GetDurations() []types.Duration { |
| 680 |
if m != nil { |
| 681 |
return m.Durations |
| 682 |
} |
| 683 |
return nil |
| 684 |
} |
| 685 |
|
| 686 |
func (m *RepProtoTypes) GetNullableDouble() []*types.DoubleValue { |
| 687 |
if m != nil { |
| 688 |
return m.NullableDouble |
| 689 |
} |
| 690 |
return nil |
| 691 |
} |
| 692 |
|
| 693 |
func (m *RepProtoTypes) GetNonnullDouble() []types.DoubleValue { |
| 694 |
if m != nil { |
| 695 |
return m.NonnullDouble |
| 696 |
} |
| 697 |
return nil |
| 698 |
} |
| 699 |
|
| 700 |
func (m *RepProtoTypes) GetNullableFloat() []*types.FloatValue { |
| 701 |
if m != nil { |
| 702 |
return m.NullableFloat |
| 703 |
} |
| 704 |
return nil |
| 705 |
} |
| 706 |
|
| 707 |
func (m *RepProtoTypes) GetNonnullFloat() []types.FloatValue { |
| 708 |
if m != nil { |
| 709 |
return m.NonnullFloat |
| 710 |
} |
| 711 |
return nil |
| 712 |
} |
| 713 |
|
| 714 |
func (m *RepProtoTypes) GetNullableInt64() []*types.Int64Value { |
| 715 |
if m != nil { |
| 716 |
return m.NullableInt64 |
| 717 |
} |
| 718 |
return nil |
| 719 |
} |
| 720 |
|
| 721 |
func (m *RepProtoTypes) GetNonnullInt64() []types.Int64Value { |
| 722 |
if m != nil { |
| 723 |
return m.NonnullInt64 |
| 724 |
} |
| 725 |
return nil |
| 726 |
} |
| 727 |
|
| 728 |
func (m *RepProtoTypes) GetNullableUInt64() []*types.UInt64Value { |
| 729 |
if m != nil { |
| 730 |
return m.NullableUInt64 |
| 731 |
} |
| 732 |
return nil |
| 733 |
} |
| 734 |
|
| 735 |
func (m *RepProtoTypes) GetNonnullUInt64() []types.UInt64Value { |
| 736 |
if m != nil { |
| 737 |
return m.NonnullUInt64 |
| 738 |
} |
| 739 |
return nil |
| 740 |
} |
| 741 |
|
| 742 |
func (m *RepProtoTypes) GetNullableInt32() []*types.Int32Value { |
| 743 |
if m != nil { |
| 744 |
return m.NullableInt32 |
| 745 |
} |
| 746 |
return nil |
| 747 |
} |
| 748 |
|
| 749 |
func (m *RepProtoTypes) GetNonnullInt32() []types.Int32Value { |
| 750 |
if m != nil { |
| 751 |
return m.NonnullInt32 |
| 752 |
} |
| 753 |
return nil |
| 754 |
} |
| 755 |
|
| 756 |
func (m *RepProtoTypes) GetNullableUInt32() []*types.UInt32Value { |
| 757 |
if m != nil { |
| 758 |
return m.NullableUInt32 |
| 759 |
} |
| 760 |
return nil |
| 761 |
} |
| 762 |
|
| 763 |
func (m *RepProtoTypes) GetNonnullUInt32() []types.UInt32Value { |
| 764 |
if m != nil { |
| 765 |
return m.NonnullUInt32 |
| 766 |
} |
| 767 |
return nil |
| 768 |
} |
| 769 |
|
| 770 |
func (m *RepProtoTypes) GetNullableBool() []*types.BoolValue { |
| 771 |
if m != nil { |
| 772 |
return m.NullableBool |
| 773 |
} |
| 774 |
return nil |
| 775 |
} |
| 776 |
|
| 777 |
func (m *RepProtoTypes) GetNonnullBool() []types.BoolValue { |
| 778 |
if m != nil { |
| 779 |
return m.NonnullBool |
| 780 |
} |
| 781 |
return nil |
| 782 |
} |
| 783 |
|
| 784 |
func (m *RepProtoTypes) GetNullableString() []*types.StringValue { |
| 785 |
if m != nil { |
| 786 |
return m.NullableString |
| 787 |
} |
| 788 |
return nil |
| 789 |
} |
| 790 |
|
| 791 |
func (m *RepProtoTypes) GetNonnullString() []types.StringValue { |
| 792 |
if m != nil { |
| 793 |
return m.NonnullString |
| 794 |
} |
| 795 |
return nil |
| 796 |
} |
| 797 |
|
| 798 |
func (m *RepProtoTypes) GetNullableBytes() []*types.BytesValue { |
| 799 |
if m != nil { |
| 800 |
return m.NullableBytes |
| 801 |
} |
| 802 |
return nil |
| 803 |
} |
| 804 |
|
| 805 |
func (m *RepProtoTypes) GetNonnullBytes() []types.BytesValue { |
| 806 |
if m != nil { |
| 807 |
return m.NonnullBytes |
| 808 |
} |
| 809 |
return nil |
| 810 |
} |
| 811 |
|
| 812 |
type RepStdTypes struct { |
| 813 |
NullableTimestamps []*time.Time `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3,stdtime" json:"nullableTimestamps,omitempty"` |
| 814 |
NullableDurations []*time.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3,stdduration" json:"nullableDurations,omitempty"` |
| 815 |
Timestamps []time.Time `protobuf:"bytes,3,rep,name=timestamps,proto3,stdtime" json:"timestamps"` |
| 816 |
Durations []time.Duration `protobuf:"bytes,4,rep,name=durations,proto3,stdduration" json:"durations"` |
| 817 |
NullableDouble []*float64 `protobuf:"bytes,5,rep,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` |
| 818 |
NonnullDouble []float64 `protobuf:"bytes,6,rep,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` |
| 819 |
NullableFloat []*float32 `protobuf:"bytes,7,rep,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` |
| 820 |
NonnullFloat []float32 `protobuf:"bytes,8,rep,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` |
| 821 |
NullableInt64 []*int64 `protobuf:"bytes,9,rep,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` |
| 822 |
NonnullInt64 []int64 `protobuf:"bytes,10,rep,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` |
| 823 |
NullableUInt64 []*uint64 `protobuf:"bytes,11,rep,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` |
| 824 |
NonnullUInt64 []uint64 `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` |
| 825 |
NullableInt32 []*int32 `protobuf:"bytes,13,rep,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` |
| 826 |
NonnullInt32 []int32 `protobuf:"bytes,14,rep,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` |
| 827 |
NullableUInt32 []*uint32 `protobuf:"bytes,15,rep,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` |
| 828 |
NonnullUInt32 []uint32 `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` |
| 829 |
NullableBool []*bool `protobuf:"bytes,17,rep,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` |
| 830 |
NonnullBool []bool `protobuf:"bytes,18,rep,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` |
| 831 |
NullableString []*string `protobuf:"bytes,19,rep,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` |
| 832 |
NonnullString []string `protobuf:"bytes,20,rep,name=nonnullString,proto3,wktptr" json:"nonnullString"` |
| 833 |
NullableBytes []*[]byte `protobuf:"bytes,21,rep,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` |
| 834 |
NonnullBytes [][]byte `protobuf:"bytes,22,rep,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` |
| 835 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 836 |
XXX_unrecognized []byte `json:"-"` |
| 837 |
XXX_sizecache int32 `json:"-"` |
| 838 |
} |
| 839 |
|
| 840 |
func (m *RepStdTypes) Reset() { *m = RepStdTypes{} } |
| 841 |
func (m *RepStdTypes) String() string { return proto.CompactTextString(m) } |
| 842 |
func (*RepStdTypes) ProtoMessage() {} |
| 843 |
func (*RepStdTypes) Descriptor() ([]byte, []int) { |
| 844 |
return fileDescriptor_54557d2dac6675e4, []int{4} |
| 845 |
} |
| 846 |
func (m *RepStdTypes) XXX_Unmarshal(b []byte) error { |
| 847 |
return m.Unmarshal(b) |
| 848 |
} |
| 849 |
func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 850 |
if deterministic { |
| 851 |
return xxx_messageInfo_RepStdTypes.Marshal(b, m, deterministic) |
| 852 |
} else { |
| 853 |
b = b[:cap(b)] |
| 854 |
n, err := m.MarshalToSizedBuffer(b) |
| 855 |
if err != nil { |
| 856 |
return nil, err |
| 857 |
} |
| 858 |
return b[:n], nil |
| 859 |
} |
| 860 |
} |
| 861 |
func (m *RepStdTypes) XXX_Merge(src proto.Message) { |
| 862 |
xxx_messageInfo_RepStdTypes.Merge(m, src) |
| 863 |
} |
| 864 |
func (m *RepStdTypes) XXX_Size() int { |
| 865 |
return m.Size() |
| 866 |
} |
| 867 |
func (m *RepStdTypes) XXX_DiscardUnknown() { |
| 868 |
xxx_messageInfo_RepStdTypes.DiscardUnknown(m) |
| 869 |
} |
| 870 |
|
| 871 |
var xxx_messageInfo_RepStdTypes proto.InternalMessageInfo |
| 872 |
|
| 873 |
func (m *RepStdTypes) GetNullableTimestamps() []*time.Time { |
| 874 |
if m != nil { |
| 875 |
return m.NullableTimestamps |
| 876 |
} |
| 877 |
return nil |
| 878 |
} |
| 879 |
|
| 880 |
func (m *RepStdTypes) GetNullableDurations() []*time.Duration { |
| 881 |
if m != nil { |
| 882 |
return m.NullableDurations |
| 883 |
} |
| 884 |
return nil |
| 885 |
} |
| 886 |
|
| 887 |
func (m *RepStdTypes) GetTimestamps() []time.Time { |
| 888 |
if m != nil { |
| 889 |
return m.Timestamps |
| 890 |
} |
| 891 |
return nil |
| 892 |
} |
| 893 |
|
| 894 |
func (m *RepStdTypes) GetDurations() []time.Duration { |
| 895 |
if m != nil { |
| 896 |
return m.Durations |
| 897 |
} |
| 898 |
return nil |
| 899 |
} |
| 900 |
|
| 901 |
func (m *RepStdTypes) GetNullableDouble() []*float64 { |
| 902 |
if m != nil { |
| 903 |
return m.NullableDouble |
| 904 |
} |
| 905 |
return nil |
| 906 |
} |
| 907 |
|
| 908 |
func (m *RepStdTypes) GetNonnullDouble() []float64 { |
| 909 |
if m != nil { |
| 910 |
return m.NonnullDouble |
| 911 |
} |
| 912 |
return nil |
| 913 |
} |
| 914 |
|
| 915 |
func (m *RepStdTypes) GetNullableFloat() []*float32 { |
| 916 |
if m != nil { |
| 917 |
return m.NullableFloat |
| 918 |
} |
| 919 |
return nil |
| 920 |
} |
| 921 |
|
| 922 |
func (m *RepStdTypes) GetNonnullFloat() []float32 { |
| 923 |
if m != nil { |
| 924 |
return m.NonnullFloat |
| 925 |
} |
| 926 |
return nil |
| 927 |
} |
| 928 |
|
| 929 |
func (m *RepStdTypes) GetNullableInt64() []*int64 { |
| 930 |
if m != nil { |
| 931 |
return m.NullableInt64 |
| 932 |
} |
| 933 |
return nil |
| 934 |
} |
| 935 |
|
| 936 |
func (m *RepStdTypes) GetNonnullInt64() []int64 { |
| 937 |
if m != nil { |
| 938 |
return m.NonnullInt64 |
| 939 |
} |
| 940 |
return nil |
| 941 |
} |
| 942 |
|
| 943 |
func (m *RepStdTypes) GetNullableUInt64() []*uint64 { |
| 944 |
if m != nil { |
| 945 |
return m.NullableUInt64 |
| 946 |
} |
| 947 |
return nil |
| 948 |
} |
| 949 |
|
| 950 |
func (m *RepStdTypes) GetNonnullUInt64() []uint64 { |
| 951 |
if m != nil { |
| 952 |
return m.NonnullUInt64 |
| 953 |
} |
| 954 |
return nil |
| 955 |
} |
| 956 |
|
| 957 |
func (m *RepStdTypes) GetNullableInt32() []*int32 { |
| 958 |
if m != nil { |
| 959 |
return m.NullableInt32 |
| 960 |
} |
| 961 |
return nil |
| 962 |
} |
| 963 |
|
| 964 |
func (m *RepStdTypes) GetNonnullInt32() []int32 { |
| 965 |
if m != nil { |
| 966 |
return m.NonnullInt32 |
| 967 |
} |
| 968 |
return nil |
| 969 |
} |
| 970 |
|
| 971 |
func (m *RepStdTypes) GetNullableUInt32() []*uint32 { |
| 972 |
if m != nil { |
| 973 |
return m.NullableUInt32 |
| 974 |
} |
| 975 |
return nil |
| 976 |
} |
| 977 |
|
| 978 |
func (m *RepStdTypes) GetNonnullUInt32() []uint32 { |
| 979 |
if m != nil { |
| 980 |
return m.NonnullUInt32 |
| 981 |
} |
| 982 |
return nil |
| 983 |
} |
| 984 |
|
| 985 |
func (m *RepStdTypes) GetNullableBool() []*bool { |
| 986 |
if m != nil { |
| 987 |
return m.NullableBool |
| 988 |
} |
| 989 |
return nil |
| 990 |
} |
| 991 |
|
| 992 |
func (m *RepStdTypes) GetNonnullBool() []bool { |
| 993 |
if m != nil { |
| 994 |
return m.NonnullBool |
| 995 |
} |
| 996 |
return nil |
| 997 |
} |
| 998 |
|
| 999 |
func (m *RepStdTypes) GetNullableString() []*string { |
| 1000 |
if m != nil { |
| 1001 |
return m.NullableString |
| 1002 |
} |
| 1003 |
return nil |
| 1004 |
} |
| 1005 |
|
| 1006 |
func (m *RepStdTypes) GetNonnullString() []string { |
| 1007 |
if m != nil { |
| 1008 |
return m.NonnullString |
| 1009 |
} |
| 1010 |
return nil |
| 1011 |
} |
| 1012 |
|
| 1013 |
func (m *RepStdTypes) GetNullableBytes() []*[]byte { |
| 1014 |
if m != nil { |
| 1015 |
return m.NullableBytes |
| 1016 |
} |
| 1017 |
return nil |
| 1018 |
} |
| 1019 |
|
| 1020 |
func (m *RepStdTypes) GetNonnullBytes() [][]byte { |
| 1021 |
if m != nil { |
| 1022 |
return m.NonnullBytes |
| 1023 |
} |
| 1024 |
return nil |
| 1025 |
} |
| 1026 |
|
| 1027 |
type MapProtoTypes struct { |
| 1028 |
NullableTimestamp map[int32]*types.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamp,proto3" json:"nullableTimestamp,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1029 |
Timestamp map[int32]types.Timestamp `protobuf:"bytes,2,rep,name=timestamp,proto3" json:"timestamp" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1030 |
NullableDuration map[int32]*types.Duration `protobuf:"bytes,3,rep,name=nullableDuration,proto3" json:"nullableDuration,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1031 |
Duration map[int32]types.Duration `protobuf:"bytes,4,rep,name=duration,proto3" json:"duration" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1032 |
NullableDouble map[int32]*types.DoubleValue `protobuf:"bytes,5,rep,name=nullableDouble,proto3" json:"nullableDouble,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1033 |
NonnullDouble map[int32]types.DoubleValue `protobuf:"bytes,6,rep,name=nonnullDouble,proto3" json:"nonnullDouble" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1034 |
NullableFloat map[int32]*types.FloatValue `protobuf:"bytes,7,rep,name=nullableFloat,proto3" json:"nullableFloat,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1035 |
NonnullFloat map[int32]types.FloatValue `protobuf:"bytes,8,rep,name=nonnullFloat,proto3" json:"nonnullFloat" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1036 |
NullableInt64 map[int32]*types.Int64Value `protobuf:"bytes,9,rep,name=nullableInt64,proto3" json:"nullableInt64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1037 |
NonnullInt64 map[int32]types.Int64Value `protobuf:"bytes,10,rep,name=nonnullInt64,proto3" json:"nonnullInt64" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1038 |
NullableUInt64 map[int32]*types.UInt64Value `protobuf:"bytes,11,rep,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1039 |
NonnullUInt64 map[int32]types.UInt64Value `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3" json:"nonnullUInt64" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1040 |
NullableInt32 map[int32]*types.Int32Value `protobuf:"bytes,13,rep,name=nullableInt32,proto3" json:"nullableInt32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1041 |
NonnullInt32 map[int32]types.Int32Value `protobuf:"bytes,14,rep,name=nonnullInt32,proto3" json:"nonnullInt32" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1042 |
NullableUInt32 map[int32]*types.UInt32Value `protobuf:"bytes,15,rep,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1043 |
NonnullUInt32 map[int32]types.UInt32Value `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3" json:"nonnullUInt32" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1044 |
NullableBool map[int32]*types.BoolValue `protobuf:"bytes,17,rep,name=nullableBool,proto3" json:"nullableBool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1045 |
NonnullBool map[int32]types.BoolValue `protobuf:"bytes,18,rep,name=nonnullBool,proto3" json:"nonnullBool" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1046 |
NullableString map[int32]*types.StringValue `protobuf:"bytes,19,rep,name=nullableString,proto3" json:"nullableString,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1047 |
NonnullString map[int32]types.StringValue `protobuf:"bytes,20,rep,name=nonnullString,proto3" json:"nonnullString" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1048 |
NullableBytes map[int32]*types.BytesValue `protobuf:"bytes,21,rep,name=nullableBytes,proto3" json:"nullableBytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1049 |
NonnullBytes map[int32]types.BytesValue `protobuf:"bytes,22,rep,name=nonnullBytes,proto3" json:"nonnullBytes" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1050 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1051 |
XXX_unrecognized []byte `json:"-"` |
| 1052 |
XXX_sizecache int32 `json:"-"` |
| 1053 |
} |
| 1054 |
|
| 1055 |
func (m *MapProtoTypes) Reset() { *m = MapProtoTypes{} } |
| 1056 |
func (m *MapProtoTypes) String() string { return proto.CompactTextString(m) } |
| 1057 |
func (*MapProtoTypes) ProtoMessage() {} |
| 1058 |
func (*MapProtoTypes) Descriptor() ([]byte, []int) { |
| 1059 |
return fileDescriptor_54557d2dac6675e4, []int{5} |
| 1060 |
} |
| 1061 |
func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error { |
| 1062 |
return m.Unmarshal(b) |
| 1063 |
} |
| 1064 |
func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1065 |
if deterministic { |
| 1066 |
return xxx_messageInfo_MapProtoTypes.Marshal(b, m, deterministic) |
| 1067 |
} else { |
| 1068 |
b = b[:cap(b)] |
| 1069 |
n, err := m.MarshalToSizedBuffer(b) |
| 1070 |
if err != nil { |
| 1071 |
return nil, err |
| 1072 |
} |
| 1073 |
return b[:n], nil |
| 1074 |
} |
| 1075 |
} |
| 1076 |
func (m *MapProtoTypes) XXX_Merge(src proto.Message) { |
| 1077 |
xxx_messageInfo_MapProtoTypes.Merge(m, src) |
| 1078 |
} |
| 1079 |
func (m *MapProtoTypes) XXX_Size() int { |
| 1080 |
return m.Size() |
| 1081 |
} |
| 1082 |
func (m *MapProtoTypes) XXX_DiscardUnknown() { |
| 1083 |
xxx_messageInfo_MapProtoTypes.DiscardUnknown(m) |
| 1084 |
} |
| 1085 |
|
| 1086 |
var xxx_messageInfo_MapProtoTypes proto.InternalMessageInfo |
| 1087 |
|
| 1088 |
func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp { |
| 1089 |
if m != nil { |
| 1090 |
return m.NullableTimestamp |
| 1091 |
} |
| 1092 |
return nil |
| 1093 |
} |
| 1094 |
|
| 1095 |
func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp { |
| 1096 |
if m != nil { |
| 1097 |
return m.Timestamp |
| 1098 |
} |
| 1099 |
return nil |
| 1100 |
} |
| 1101 |
|
| 1102 |
func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration { |
| 1103 |
if m != nil { |
| 1104 |
return m.NullableDuration |
| 1105 |
} |
| 1106 |
return nil |
| 1107 |
} |
| 1108 |
|
| 1109 |
func (m *MapProtoTypes) GetDuration() map[int32]types.Duration { |
| 1110 |
if m != nil { |
| 1111 |
return m.Duration |
| 1112 |
} |
| 1113 |
return nil |
| 1114 |
} |
| 1115 |
|
| 1116 |
func (m *MapProtoTypes) GetNullableDouble() map[int32]*types.DoubleValue { |
| 1117 |
if m != nil { |
| 1118 |
return m.NullableDouble |
| 1119 |
} |
| 1120 |
return nil |
| 1121 |
} |
| 1122 |
|
| 1123 |
func (m *MapProtoTypes) GetNonnullDouble() map[int32]types.DoubleValue { |
| 1124 |
if m != nil { |
| 1125 |
return m.NonnullDouble |
| 1126 |
} |
| 1127 |
return nil |
| 1128 |
} |
| 1129 |
|
| 1130 |
func (m *MapProtoTypes) GetNullableFloat() map[int32]*types.FloatValue { |
| 1131 |
if m != nil { |
| 1132 |
return m.NullableFloat |
| 1133 |
} |
| 1134 |
return nil |
| 1135 |
} |
| 1136 |
|
| 1137 |
func (m *MapProtoTypes) GetNonnullFloat() map[int32]types.FloatValue { |
| 1138 |
if m != nil { |
| 1139 |
return m.NonnullFloat |
| 1140 |
} |
| 1141 |
return nil |
| 1142 |
} |
| 1143 |
|
| 1144 |
func (m *MapProtoTypes) GetNullableInt64() map[int32]*types.Int64Value { |
| 1145 |
if m != nil { |
| 1146 |
return m.NullableInt64 |
| 1147 |
} |
| 1148 |
return nil |
| 1149 |
} |
| 1150 |
|
| 1151 |
func (m *MapProtoTypes) GetNonnullInt64() map[int32]types.Int64Value { |
| 1152 |
if m != nil { |
| 1153 |
return m.NonnullInt64 |
| 1154 |
} |
| 1155 |
return nil |
| 1156 |
} |
| 1157 |
|
| 1158 |
func (m *MapProtoTypes) GetNullableUInt64() map[int32]*types.UInt64Value { |
| 1159 |
if m != nil { |
| 1160 |
return m.NullableUInt64 |
| 1161 |
} |
| 1162 |
return nil |
| 1163 |
} |
| 1164 |
|
| 1165 |
func (m *MapProtoTypes) GetNonnullUInt64() map[int32]types.UInt64Value { |
| 1166 |
if m != nil { |
| 1167 |
return m.NonnullUInt64 |
| 1168 |
} |
| 1169 |
return nil |
| 1170 |
} |
| 1171 |
|
| 1172 |
func (m *MapProtoTypes) GetNullableInt32() map[int32]*types.Int32Value { |
| 1173 |
if m != nil { |
| 1174 |
return m.NullableInt32 |
| 1175 |
} |
| 1176 |
return nil |
| 1177 |
} |
| 1178 |
|
| 1179 |
func (m *MapProtoTypes) GetNonnullInt32() map[int32]types.Int32Value { |
| 1180 |
if m != nil { |
| 1181 |
return m.NonnullInt32 |
| 1182 |
} |
| 1183 |
return nil |
| 1184 |
} |
| 1185 |
|
| 1186 |
func (m *MapProtoTypes) GetNullableUInt32() map[int32]*types.UInt32Value { |
| 1187 |
if m != nil { |
| 1188 |
return m.NullableUInt32 |
| 1189 |
} |
| 1190 |
return nil |
| 1191 |
} |
| 1192 |
|
| 1193 |
func (m *MapProtoTypes) GetNonnullUInt32() map[int32]types.UInt32Value { |
| 1194 |
if m != nil { |
| 1195 |
return m.NonnullUInt32 |
| 1196 |
} |
| 1197 |
return nil |
| 1198 |
} |
| 1199 |
|
| 1200 |
func (m *MapProtoTypes) GetNullableBool() map[int32]*types.BoolValue { |
| 1201 |
if m != nil { |
| 1202 |
return m.NullableBool |
| 1203 |
} |
| 1204 |
return nil |
| 1205 |
} |
| 1206 |
|
| 1207 |
func (m *MapProtoTypes) GetNonnullBool() map[int32]types.BoolValue { |
| 1208 |
if m != nil { |
| 1209 |
return m.NonnullBool |
| 1210 |
} |
| 1211 |
return nil |
| 1212 |
} |
| 1213 |
|
| 1214 |
func (m *MapProtoTypes) GetNullableString() map[int32]*types.StringValue { |
| 1215 |
if m != nil { |
| 1216 |
return m.NullableString |
| 1217 |
} |
| 1218 |
return nil |
| 1219 |
} |
| 1220 |
|
| 1221 |
func (m *MapProtoTypes) GetNonnullString() map[int32]types.StringValue { |
| 1222 |
if m != nil { |
| 1223 |
return m.NonnullString |
| 1224 |
} |
| 1225 |
return nil |
| 1226 |
} |
| 1227 |
|
| 1228 |
func (m *MapProtoTypes) GetNullableBytes() map[int32]*types.BytesValue { |
| 1229 |
if m != nil { |
| 1230 |
return m.NullableBytes |
| 1231 |
} |
| 1232 |
return nil |
| 1233 |
} |
| 1234 |
|
| 1235 |
func (m *MapProtoTypes) GetNonnullBytes() map[int32]types.BytesValue { |
| 1236 |
if m != nil { |
| 1237 |
return m.NonnullBytes |
| 1238 |
} |
| 1239 |
return nil |
| 1240 |
} |
| 1241 |
|
| 1242 |
type MapStdTypes struct { |
| 1243 |
NullableTimestamp map[int32]*time.Time `protobuf:"bytes,1,rep,name=nullableTimestamp,proto3,stdtime" json:"nullableTimestamp,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1244 |
Timestamp map[int32]time.Time `protobuf:"bytes,2,rep,name=timestamp,proto3,stdtime" json:"timestamp" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1245 |
NullableDuration map[int32]*time.Duration `protobuf:"bytes,3,rep,name=nullableDuration,proto3,stdduration" json:"nullableDuration,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1246 |
Duration map[int32]time.Duration `protobuf:"bytes,4,rep,name=duration,proto3,stdduration" json:"duration" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1247 |
NullableDouble map[int32]*float64 `protobuf:"bytes,5,rep,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1248 |
NonnullDouble map[int32]float64 `protobuf:"bytes,6,rep,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1249 |
NullableFloat map[int32]*float32 `protobuf:"bytes,7,rep,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1250 |
NonnullFloat map[int32]float32 `protobuf:"bytes,8,rep,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1251 |
NullableInt64 map[int32]*int64 `protobuf:"bytes,9,rep,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1252 |
NonnullInt64 map[int32]int64 `protobuf:"bytes,10,rep,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1253 |
NullableUInt64 map[int32]*uint64 `protobuf:"bytes,11,rep,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1254 |
NonnullUInt64 map[int32]uint64 `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1255 |
NullableInt32 map[int32]*int32 `protobuf:"bytes,13,rep,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1256 |
NonnullInt32 map[int32]int32 `protobuf:"bytes,14,rep,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1257 |
NullableUInt32 map[int32]*uint32 `protobuf:"bytes,15,rep,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1258 |
NonnullUInt32 map[int32]uint32 `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1259 |
NullableBool map[int32]*bool `protobuf:"bytes,17,rep,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1260 |
NonnullBool map[int32]bool `protobuf:"bytes,18,rep,name=nonnullBool,proto3,wktptr" json:"nonnullBool" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1261 |
NullableString map[int32]*string `protobuf:"bytes,19,rep,name=nullableString,proto3,wktptr" json:"nullableString,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1262 |
NonnullString map[int32]string `protobuf:"bytes,20,rep,name=nonnullString,proto3,wktptr" json:"nonnullString" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1263 |
NullableBytes map[int32]*[]byte `protobuf:"bytes,21,rep,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1264 |
NonnullBytes map[int32][]byte `protobuf:"bytes,22,rep,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1265 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1266 |
XXX_unrecognized []byte `json:"-"` |
| 1267 |
XXX_sizecache int32 `json:"-"` |
| 1268 |
} |
| 1269 |
|
| 1270 |
func (m *MapStdTypes) Reset() { *m = MapStdTypes{} } |
| 1271 |
func (m *MapStdTypes) String() string { return proto.CompactTextString(m) } |
| 1272 |
func (*MapStdTypes) ProtoMessage() {} |
| 1273 |
func (*MapStdTypes) Descriptor() ([]byte, []int) { |
| 1274 |
return fileDescriptor_54557d2dac6675e4, []int{6} |
| 1275 |
} |
| 1276 |
func (m *MapStdTypes) XXX_Unmarshal(b []byte) error { |
| 1277 |
return m.Unmarshal(b) |
| 1278 |
} |
| 1279 |
func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1280 |
if deterministic { |
| 1281 |
return xxx_messageInfo_MapStdTypes.Marshal(b, m, deterministic) |
| 1282 |
} else { |
| 1283 |
b = b[:cap(b)] |
| 1284 |
n, err := m.MarshalToSizedBuffer(b) |
| 1285 |
if err != nil { |
| 1286 |
return nil, err |
| 1287 |
} |
| 1288 |
return b[:n], nil |
| 1289 |
} |
| 1290 |
} |
| 1291 |
func (m *MapStdTypes) XXX_Merge(src proto.Message) { |
| 1292 |
xxx_messageInfo_MapStdTypes.Merge(m, src) |
| 1293 |
} |
| 1294 |
func (m *MapStdTypes) XXX_Size() int { |
| 1295 |
return m.Size() |
| 1296 |
} |
| 1297 |
func (m *MapStdTypes) XXX_DiscardUnknown() { |
| 1298 |
xxx_messageInfo_MapStdTypes.DiscardUnknown(m) |
| 1299 |
} |
| 1300 |
|
| 1301 |
var xxx_messageInfo_MapStdTypes proto.InternalMessageInfo |
| 1302 |
|
| 1303 |
func (m *MapStdTypes) GetNullableTimestamp() map[int32]*time.Time { |
| 1304 |
if m != nil { |
| 1305 |
return m.NullableTimestamp |
| 1306 |
} |
| 1307 |
return nil |
| 1308 |
} |
| 1309 |
|
| 1310 |
func (m *MapStdTypes) GetTimestamp() map[int32]time.Time { |
| 1311 |
if m != nil { |
| 1312 |
return m.Timestamp |
| 1313 |
} |
| 1314 |
return nil |
| 1315 |
} |
| 1316 |
|
| 1317 |
func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration { |
| 1318 |
if m != nil { |
| 1319 |
return m.NullableDuration |
| 1320 |
} |
| 1321 |
return nil |
| 1322 |
} |
| 1323 |
|
| 1324 |
func (m *MapStdTypes) GetDuration() map[int32]time.Duration { |
| 1325 |
if m != nil { |
| 1326 |
return m.Duration |
| 1327 |
} |
| 1328 |
return nil |
| 1329 |
} |
| 1330 |
|
| 1331 |
func (m *MapStdTypes) GetNullableDouble() map[int32]*float64 { |
| 1332 |
if m != nil { |
| 1333 |
return m.NullableDouble |
| 1334 |
} |
| 1335 |
return nil |
| 1336 |
} |
| 1337 |
|
| 1338 |
func (m *MapStdTypes) GetNonnullDouble() map[int32]float64 { |
| 1339 |
if m != nil { |
| 1340 |
return m.NonnullDouble |
| 1341 |
} |
| 1342 |
return nil |
| 1343 |
} |
| 1344 |
|
| 1345 |
func (m *MapStdTypes) GetNullableFloat() map[int32]*float32 { |
| 1346 |
if m != nil { |
| 1347 |
return m.NullableFloat |
| 1348 |
} |
| 1349 |
return nil |
| 1350 |
} |
| 1351 |
|
| 1352 |
func (m *MapStdTypes) GetNonnullFloat() map[int32]float32 { |
| 1353 |
if m != nil { |
| 1354 |
return m.NonnullFloat |
| 1355 |
} |
| 1356 |
return nil |
| 1357 |
} |
| 1358 |
|
| 1359 |
func (m *MapStdTypes) GetNullableInt64() map[int32]*int64 { |
| 1360 |
if m != nil { |
| 1361 |
return m.NullableInt64 |
| 1362 |
} |
| 1363 |
return nil |
| 1364 |
} |
| 1365 |
|
| 1366 |
func (m *MapStdTypes) GetNonnullInt64() map[int32]int64 { |
| 1367 |
if m != nil { |
| 1368 |
return m.NonnullInt64 |
| 1369 |
} |
| 1370 |
return nil |
| 1371 |
} |
| 1372 |
|
| 1373 |
func (m *MapStdTypes) GetNullableUInt64() map[int32]*uint64 { |
| 1374 |
if m != nil { |
| 1375 |
return m.NullableUInt64 |
| 1376 |
} |
| 1377 |
return nil |
| 1378 |
} |
| 1379 |
|
| 1380 |
func (m *MapStdTypes) GetNonnullUInt64() map[int32]uint64 { |
| 1381 |
if m != nil { |
| 1382 |
return m.NonnullUInt64 |
| 1383 |
} |
| 1384 |
return nil |
| 1385 |
} |
| 1386 |
|
| 1387 |
func (m *MapStdTypes) GetNullableInt32() map[int32]*int32 { |
| 1388 |
if m != nil { |
| 1389 |
return m.NullableInt32 |
| 1390 |
} |
| 1391 |
return nil |
| 1392 |
} |
| 1393 |
|
| 1394 |
func (m *MapStdTypes) GetNonnullInt32() map[int32]int32 { |
| 1395 |
if m != nil { |
| 1396 |
return m.NonnullInt32 |
| 1397 |
} |
| 1398 |
return nil |
| 1399 |
} |
| 1400 |
|
| 1401 |
func (m *MapStdTypes) GetNullableUInt32() map[int32]*uint32 { |
| 1402 |
if m != nil { |
| 1403 |
return m.NullableUInt32 |
| 1404 |
} |
| 1405 |
return nil |
| 1406 |
} |
| 1407 |
|
| 1408 |
func (m *MapStdTypes) GetNonnullUInt32() map[int32]uint32 { |
| 1409 |
if m != nil { |
| 1410 |
return m.NonnullUInt32 |
| 1411 |
} |
| 1412 |
return nil |
| 1413 |
} |
| 1414 |
|
| 1415 |
func (m *MapStdTypes) GetNullableBool() map[int32]*bool { |
| 1416 |
if m != nil { |
| 1417 |
return m.NullableBool |
| 1418 |
} |
| 1419 |
return nil |
| 1420 |
} |
| 1421 |
|
| 1422 |
func (m *MapStdTypes) GetNonnullBool() map[int32]bool { |
| 1423 |
if m != nil { |
| 1424 |
return m.NonnullBool |
| 1425 |
} |
| 1426 |
return nil |
| 1427 |
} |
| 1428 |
|
| 1429 |
func (m *MapStdTypes) GetNullableString() map[int32]*string { |
| 1430 |
if m != nil { |
| 1431 |
return m.NullableString |
| 1432 |
} |
| 1433 |
return nil |
| 1434 |
} |
| 1435 |
|
| 1436 |
func (m *MapStdTypes) GetNonnullString() map[int32]string { |
| 1437 |
if m != nil { |
| 1438 |
return m.NonnullString |
| 1439 |
} |
| 1440 |
return nil |
| 1441 |
} |
| 1442 |
|
| 1443 |
func (m *MapStdTypes) GetNullableBytes() map[int32]*[]byte { |
| 1444 |
if m != nil { |
| 1445 |
return m.NullableBytes |
| 1446 |
} |
| 1447 |
return nil |
| 1448 |
} |
| 1449 |
|
| 1450 |
func (m *MapStdTypes) GetNonnullBytes() map[int32][]byte { |
| 1451 |
if m != nil { |
| 1452 |
return m.NonnullBytes |
| 1453 |
} |
| 1454 |
return nil |
| 1455 |
} |
| 1456 |
|
| 1457 |
type OneofProtoTypes struct { |
| 1458 |
// Types that are valid to be assigned to OneOfProtoTimes: |
| 1459 |
// *OneofProtoTypes_Timestamp |
| 1460 |
// *OneofProtoTypes_Duration |
| 1461 |
// *OneofProtoTypes_RepDouble |
| 1462 |
// *OneofProtoTypes_RepFloat |
| 1463 |
// *OneofProtoTypes_RepInt64 |
| 1464 |
// *OneofProtoTypes_RepUInt64 |
| 1465 |
// *OneofProtoTypes_RepInt32 |
| 1466 |
// *OneofProtoTypes_RepUInt32 |
| 1467 |
// *OneofProtoTypes_RepBool |
| 1468 |
// *OneofProtoTypes_RepString |
| 1469 |
// *OneofProtoTypes_RepBytes |
| 1470 |
OneOfProtoTimes isOneofProtoTypes_OneOfProtoTimes `protobuf_oneof:"OneOfProtoTimes"` |
| 1471 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1472 |
XXX_unrecognized []byte `json:"-"` |
| 1473 |
XXX_sizecache int32 `json:"-"` |
| 1474 |
} |
| 1475 |
|
| 1476 |
func (m *OneofProtoTypes) Reset() { *m = OneofProtoTypes{} } |
| 1477 |
func (m *OneofProtoTypes) String() string { return proto.CompactTextString(m) } |
| 1478 |
func (*OneofProtoTypes) ProtoMessage() {} |
| 1479 |
func (*OneofProtoTypes) Descriptor() ([]byte, []int) { |
| 1480 |
return fileDescriptor_54557d2dac6675e4, []int{7} |
| 1481 |
} |
| 1482 |
func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error { |
| 1483 |
return m.Unmarshal(b) |
| 1484 |
} |
| 1485 |
func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1486 |
if deterministic { |
| 1487 |
return xxx_messageInfo_OneofProtoTypes.Marshal(b, m, deterministic) |
| 1488 |
} else { |
| 1489 |
b = b[:cap(b)] |
| 1490 |
n, err := m.MarshalToSizedBuffer(b) |
| 1491 |
if err != nil { |
| 1492 |
return nil, err |
| 1493 |
} |
| 1494 |
return b[:n], nil |
| 1495 |
} |
| 1496 |
} |
| 1497 |
func (m *OneofProtoTypes) XXX_Merge(src proto.Message) { |
| 1498 |
xxx_messageInfo_OneofProtoTypes.Merge(m, src) |
| 1499 |
} |
| 1500 |
func (m *OneofProtoTypes) XXX_Size() int { |
| 1501 |
return m.Size() |
| 1502 |
} |
| 1503 |
func (m *OneofProtoTypes) XXX_DiscardUnknown() { |
| 1504 |
xxx_messageInfo_OneofProtoTypes.DiscardUnknown(m) |
| 1505 |
} |
| 1506 |
|
| 1507 |
var xxx_messageInfo_OneofProtoTypes proto.InternalMessageInfo |
| 1508 |
|
| 1509 |
type isOneofProtoTypes_OneOfProtoTimes interface { |
| 1510 |
isOneofProtoTypes_OneOfProtoTimes() |
| 1511 |
Equal(interface{}) bool |
| 1512 |
VerboseEqual(interface{}) error |
| 1513 |
MarshalTo([]byte) (int, error) |
| 1514 |
Size() int |
| 1515 |
} |
| 1516 |
|
| 1517 |
type OneofProtoTypes_Timestamp struct { |
| 1518 |
Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"` |
| 1519 |
} |
| 1520 |
type OneofProtoTypes_Duration struct { |
| 1521 |
Duration *types.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof" json:"duration,omitempty"` |
| 1522 |
} |
| 1523 |
type OneofProtoTypes_RepDouble struct { |
| 1524 |
RepDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof" json:"repDouble,omitempty"` |
| 1525 |
} |
| 1526 |
type OneofProtoTypes_RepFloat struct { |
| 1527 |
RepFloat *types.FloatValue `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof" json:"repFloat,omitempty"` |
| 1528 |
} |
| 1529 |
type OneofProtoTypes_RepInt64 struct { |
| 1530 |
RepInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof" json:"repInt64,omitempty"` |
| 1531 |
} |
| 1532 |
type OneofProtoTypes_RepUInt64 struct { |
| 1533 |
RepUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof" json:"repUInt64,omitempty"` |
| 1534 |
} |
| 1535 |
type OneofProtoTypes_RepInt32 struct { |
| 1536 |
RepInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof" json:"repInt32,omitempty"` |
| 1537 |
} |
| 1538 |
type OneofProtoTypes_RepUInt32 struct { |
| 1539 |
RepUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof" json:"repUInt32,omitempty"` |
| 1540 |
} |
| 1541 |
type OneofProtoTypes_RepBool struct { |
| 1542 |
RepBool *types.BoolValue `protobuf:"bytes,9,opt,name=repBool,proto3,oneof" json:"repBool,omitempty"` |
| 1543 |
} |
| 1544 |
type OneofProtoTypes_RepString struct { |
| 1545 |
RepString *types.StringValue `protobuf:"bytes,10,opt,name=repString,proto3,oneof" json:"repString,omitempty"` |
| 1546 |
} |
| 1547 |
type OneofProtoTypes_RepBytes struct { |
| 1548 |
RepBytes *types.BytesValue `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof" json:"repBytes,omitempty"` |
| 1549 |
} |
| 1550 |
|
| 1551 |
func (*OneofProtoTypes_Timestamp) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1552 |
func (*OneofProtoTypes_Duration) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1553 |
func (*OneofProtoTypes_RepDouble) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1554 |
func (*OneofProtoTypes_RepFloat) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1555 |
func (*OneofProtoTypes_RepInt64) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1556 |
func (*OneofProtoTypes_RepUInt64) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1557 |
func (*OneofProtoTypes_RepInt32) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1558 |
func (*OneofProtoTypes_RepUInt32) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1559 |
func (*OneofProtoTypes_RepBool) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1560 |
func (*OneofProtoTypes_RepString) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1561 |
func (*OneofProtoTypes_RepBytes) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1562 |
|
| 1563 |
func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes { |
| 1564 |
if m != nil { |
| 1565 |
return m.OneOfProtoTimes |
| 1566 |
} |
| 1567 |
return nil |
| 1568 |
} |
| 1569 |
|
| 1570 |
func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp { |
| 1571 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Timestamp); ok { |
| 1572 |
return x.Timestamp |
| 1573 |
} |
| 1574 |
return nil |
| 1575 |
} |
| 1576 |
|
| 1577 |
func (m *OneofProtoTypes) GetDuration() *types.Duration { |
| 1578 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Duration); ok { |
| 1579 |
return x.Duration |
| 1580 |
} |
| 1581 |
return nil |
| 1582 |
} |
| 1583 |
|
| 1584 |
func (m *OneofProtoTypes) GetRepDouble() *types.DoubleValue { |
| 1585 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepDouble); ok { |
| 1586 |
return x.RepDouble |
| 1587 |
} |
| 1588 |
return nil |
| 1589 |
} |
| 1590 |
|
| 1591 |
func (m *OneofProtoTypes) GetRepFloat() *types.FloatValue { |
| 1592 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepFloat); ok { |
| 1593 |
return x.RepFloat |
| 1594 |
} |
| 1595 |
return nil |
| 1596 |
} |
| 1597 |
|
| 1598 |
func (m *OneofProtoTypes) GetRepInt64() *types.Int64Value { |
| 1599 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt64); ok { |
| 1600 |
return x.RepInt64 |
| 1601 |
} |
| 1602 |
return nil |
| 1603 |
} |
| 1604 |
|
| 1605 |
func (m *OneofProtoTypes) GetRepUInt64() *types.UInt64Value { |
| 1606 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt64); ok { |
| 1607 |
return x.RepUInt64 |
| 1608 |
} |
| 1609 |
return nil |
| 1610 |
} |
| 1611 |
|
| 1612 |
func (m *OneofProtoTypes) GetRepInt32() *types.Int32Value { |
| 1613 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt32); ok { |
| 1614 |
return x.RepInt32 |
| 1615 |
} |
| 1616 |
return nil |
| 1617 |
} |
| 1618 |
|
| 1619 |
func (m *OneofProtoTypes) GetRepUInt32() *types.UInt32Value { |
| 1620 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt32); ok { |
| 1621 |
return x.RepUInt32 |
| 1622 |
} |
| 1623 |
return nil |
| 1624 |
} |
| 1625 |
|
| 1626 |
func (m *OneofProtoTypes) GetRepBool() *types.BoolValue { |
| 1627 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBool); ok { |
| 1628 |
return x.RepBool |
| 1629 |
} |
| 1630 |
return nil |
| 1631 |
} |
| 1632 |
|
| 1633 |
func (m *OneofProtoTypes) GetRepString() *types.StringValue { |
| 1634 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepString); ok { |
| 1635 |
return x.RepString |
| 1636 |
} |
| 1637 |
return nil |
| 1638 |
} |
| 1639 |
|
| 1640 |
func (m *OneofProtoTypes) GetRepBytes() *types.BytesValue { |
| 1641 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBytes); ok { |
| 1642 |
return x.RepBytes |
| 1643 |
} |
| 1644 |
return nil |
| 1645 |
} |
| 1646 |
|
| 1647 |
// XXX_OneofWrappers is for the internal use of the proto package. |
| 1648 |
func (*OneofProtoTypes) XXX_OneofWrappers() []interface{} { |
| 1649 |
return []interface{}{ |
| 1650 |
(*OneofProtoTypes_Timestamp)(nil), |
| 1651 |
(*OneofProtoTypes_Duration)(nil), |
| 1652 |
(*OneofProtoTypes_RepDouble)(nil), |
| 1653 |
(*OneofProtoTypes_RepFloat)(nil), |
| 1654 |
(*OneofProtoTypes_RepInt64)(nil), |
| 1655 |
(*OneofProtoTypes_RepUInt64)(nil), |
| 1656 |
(*OneofProtoTypes_RepInt32)(nil), |
| 1657 |
(*OneofProtoTypes_RepUInt32)(nil), |
| 1658 |
(*OneofProtoTypes_RepBool)(nil), |
| 1659 |
(*OneofProtoTypes_RepString)(nil), |
| 1660 |
(*OneofProtoTypes_RepBytes)(nil), |
| 1661 |
} |
| 1662 |
} |
| 1663 |
|
| 1664 |
type OneofStdTypes struct { |
| 1665 |
// Types that are valid to be assigned to OneOfStdTimes: |
| 1666 |
// *OneofStdTypes_Timestamp |
| 1667 |
// *OneofStdTypes_Duration |
| 1668 |
// *OneofStdTypes_RepDouble |
| 1669 |
// *OneofStdTypes_RepFloat |
| 1670 |
// *OneofStdTypes_RepInt64 |
| 1671 |
// *OneofStdTypes_RepUInt64 |
| 1672 |
// *OneofStdTypes_RepInt32 |
| 1673 |
// *OneofStdTypes_RepUInt32 |
| 1674 |
// *OneofStdTypes_RepBool |
| 1675 |
// *OneofStdTypes_RepString |
| 1676 |
// *OneofStdTypes_RepBytes |
| 1677 |
OneOfStdTimes isOneofStdTypes_OneOfStdTimes `protobuf_oneof:"OneOfStdTimes"` |
| 1678 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1679 |
XXX_unrecognized []byte `json:"-"` |
| 1680 |
XXX_sizecache int32 `json:"-"` |
| 1681 |
} |
| 1682 |
|
| 1683 |
func (m *OneofStdTypes) Reset() { *m = OneofStdTypes{} } |
| 1684 |
func (m *OneofStdTypes) String() string { return proto.CompactTextString(m) } |
| 1685 |
func (*OneofStdTypes) ProtoMessage() {} |
| 1686 |
func (*OneofStdTypes) Descriptor() ([]byte, []int) { |
| 1687 |
return fileDescriptor_54557d2dac6675e4, []int{8} |
| 1688 |
} |
| 1689 |
func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error { |
| 1690 |
return m.Unmarshal(b) |
| 1691 |
} |
| 1692 |
func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1693 |
if deterministic { |
| 1694 |
return xxx_messageInfo_OneofStdTypes.Marshal(b, m, deterministic) |
| 1695 |
} else { |
| 1696 |
b = b[:cap(b)] |
| 1697 |
n, err := m.MarshalToSizedBuffer(b) |
| 1698 |
if err != nil { |
| 1699 |
return nil, err |
| 1700 |
} |
| 1701 |
return b[:n], nil |
| 1702 |
} |
| 1703 |
} |
| 1704 |
func (m *OneofStdTypes) XXX_Merge(src proto.Message) { |
| 1705 |
xxx_messageInfo_OneofStdTypes.Merge(m, src) |
| 1706 |
} |
| 1707 |
func (m *OneofStdTypes) XXX_Size() int { |
| 1708 |
return m.Size() |
| 1709 |
} |
| 1710 |
func (m *OneofStdTypes) XXX_DiscardUnknown() { |
| 1711 |
xxx_messageInfo_OneofStdTypes.DiscardUnknown(m) |
| 1712 |
} |
| 1713 |
|
| 1714 |
var xxx_messageInfo_OneofStdTypes proto.InternalMessageInfo |
| 1715 |
|
| 1716 |
type isOneofStdTypes_OneOfStdTimes interface { |
| 1717 |
isOneofStdTypes_OneOfStdTimes() |
| 1718 |
Equal(interface{}) bool |
| 1719 |
VerboseEqual(interface{}) error |
| 1720 |
MarshalTo([]byte) (int, error) |
| 1721 |
Size() int |
| 1722 |
} |
| 1723 |
|
| 1724 |
type OneofStdTypes_Timestamp struct { |
| 1725 |
Timestamp *time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof,stdtime" json:"timestamp,omitempty"` |
| 1726 |
} |
| 1727 |
type OneofStdTypes_Duration struct { |
| 1728 |
Duration *time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof,stdduration" json:"duration,omitempty"` |
| 1729 |
} |
| 1730 |
type OneofStdTypes_RepDouble struct { |
| 1731 |
RepDouble *float64 `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof,wktptr" json:"repDouble,omitempty"` |
| 1732 |
} |
| 1733 |
type OneofStdTypes_RepFloat struct { |
| 1734 |
RepFloat *float32 `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof,wktptr" json:"repFloat,omitempty"` |
| 1735 |
} |
| 1736 |
type OneofStdTypes_RepInt64 struct { |
| 1737 |
RepInt64 *int64 `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof,wktptr" json:"repInt64,omitempty"` |
| 1738 |
} |
| 1739 |
type OneofStdTypes_RepUInt64 struct { |
| 1740 |
RepUInt64 *uint64 `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof,wktptr" json:"repUInt64,omitempty"` |
| 1741 |
} |
| 1742 |
type OneofStdTypes_RepInt32 struct { |
| 1743 |
RepInt32 *int32 `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof,wktptr" json:"repInt32,omitempty"` |
| 1744 |
} |
| 1745 |
type OneofStdTypes_RepUInt32 struct { |
| 1746 |
RepUInt32 *uint32 `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof,wktptr" json:"repUInt32,omitempty"` |
| 1747 |
} |
| 1748 |
type OneofStdTypes_RepBool struct { |
| 1749 |
RepBool *bool `protobuf:"bytes,9,opt,name=repBool,proto3,oneof,wktptr" json:"repBool,omitempty"` |
| 1750 |
} |
| 1751 |
type OneofStdTypes_RepString struct { |
| 1752 |
RepString *string `protobuf:"bytes,10,opt,name=repString,proto3,oneof,wktptr" json:"repString,omitempty"` |
| 1753 |
} |
| 1754 |
type OneofStdTypes_RepBytes struct { |
| 1755 |
RepBytes *[]byte `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof,wktptr" json:"repBytes,omitempty"` |
| 1756 |
} |
| 1757 |
|
| 1758 |
func (*OneofStdTypes_Timestamp) isOneofStdTypes_OneOfStdTimes() {} |
| 1759 |
func (*OneofStdTypes_Duration) isOneofStdTypes_OneOfStdTimes() {} |
| 1760 |
func (*OneofStdTypes_RepDouble) isOneofStdTypes_OneOfStdTimes() {} |
| 1761 |
func (*OneofStdTypes_RepFloat) isOneofStdTypes_OneOfStdTimes() {} |
| 1762 |
func (*OneofStdTypes_RepInt64) isOneofStdTypes_OneOfStdTimes() {} |
| 1763 |
func (*OneofStdTypes_RepUInt64) isOneofStdTypes_OneOfStdTimes() {} |
| 1764 |
func (*OneofStdTypes_RepInt32) isOneofStdTypes_OneOfStdTimes() {} |
| 1765 |
func (*OneofStdTypes_RepUInt32) isOneofStdTypes_OneOfStdTimes() {} |
| 1766 |
func (*OneofStdTypes_RepBool) isOneofStdTypes_OneOfStdTimes() {} |
| 1767 |
func (*OneofStdTypes_RepString) isOneofStdTypes_OneOfStdTimes() {} |
| 1768 |
func (*OneofStdTypes_RepBytes) isOneofStdTypes_OneOfStdTimes() {} |
| 1769 |
|
| 1770 |
func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes { |
| 1771 |
if m != nil { |
| 1772 |
return m.OneOfStdTimes |
| 1773 |
} |
| 1774 |
return nil |
| 1775 |
} |
| 1776 |
|
| 1777 |
func (m *OneofStdTypes) GetTimestamp() *time.Time { |
| 1778 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Timestamp); ok { |
| 1779 |
return x.Timestamp |
| 1780 |
} |
| 1781 |
return nil |
| 1782 |
} |
| 1783 |
|
| 1784 |
func (m *OneofStdTypes) GetDuration() *time.Duration { |
| 1785 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Duration); ok { |
| 1786 |
return x.Duration |
| 1787 |
} |
| 1788 |
return nil |
| 1789 |
} |
| 1790 |
|
| 1791 |
func (m *OneofStdTypes) GetRepDouble() *float64 { |
| 1792 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepDouble); ok { |
| 1793 |
return x.RepDouble |
| 1794 |
} |
| 1795 |
return nil |
| 1796 |
} |
| 1797 |
|
| 1798 |
func (m *OneofStdTypes) GetRepFloat() *float32 { |
| 1799 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepFloat); ok { |
| 1800 |
return x.RepFloat |
| 1801 |
} |
| 1802 |
return nil |
| 1803 |
} |
| 1804 |
|
| 1805 |
func (m *OneofStdTypes) GetRepInt64() *int64 { |
| 1806 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt64); ok { |
| 1807 |
return x.RepInt64 |
| 1808 |
} |
| 1809 |
return nil |
| 1810 |
} |
| 1811 |
|
| 1812 |
func (m *OneofStdTypes) GetRepUInt64() *uint64 { |
| 1813 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt64); ok { |
| 1814 |
return x.RepUInt64 |
| 1815 |
} |
| 1816 |
return nil |
| 1817 |
} |
| 1818 |
|
| 1819 |
func (m *OneofStdTypes) GetRepInt32() *int32 { |
| 1820 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt32); ok { |
| 1821 |
return x.RepInt32 |
| 1822 |
} |
| 1823 |
return nil |
| 1824 |
} |
| 1825 |
|
| 1826 |
func (m *OneofStdTypes) GetRepUInt32() *uint32 { |
| 1827 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt32); ok { |
| 1828 |
return x.RepUInt32 |
| 1829 |
} |
| 1830 |
return nil |
| 1831 |
} |
| 1832 |
|
| 1833 |
func (m *OneofStdTypes) GetRepBool() *bool { |
| 1834 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBool); ok { |
| 1835 |
return x.RepBool |
| 1836 |
} |
| 1837 |
return nil |
| 1838 |
} |
| 1839 |
|
| 1840 |
func (m *OneofStdTypes) GetRepString() *string { |
| 1841 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepString); ok { |
| 1842 |
return x.RepString |
| 1843 |
} |
| 1844 |
return nil |
| 1845 |
} |
| 1846 |
|
| 1847 |
func (m *OneofStdTypes) GetRepBytes() *[]byte { |
| 1848 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBytes); ok { |
| 1849 |
return x.RepBytes |
| 1850 |
} |
| 1851 |
return nil |
| 1852 |
} |
| 1853 |
|
| 1854 |
// XXX_OneofWrappers is for the internal use of the proto package. |
| 1855 |
func (*OneofStdTypes) XXX_OneofWrappers() []interface{} { |
| 1856 |
return []interface{}{ |
| 1857 |
(*OneofStdTypes_Timestamp)(nil), |
| 1858 |
(*OneofStdTypes_Duration)(nil), |
| 1859 |
(*OneofStdTypes_RepDouble)(nil), |
| 1860 |
(*OneofStdTypes_RepFloat)(nil), |
| 1861 |
(*OneofStdTypes_RepInt64)(nil), |
| 1862 |
(*OneofStdTypes_RepUInt64)(nil), |
| 1863 |
(*OneofStdTypes_RepInt32)(nil), |
| 1864 |
(*OneofStdTypes_RepUInt32)(nil), |
| 1865 |
(*OneofStdTypes_RepBool)(nil), |
| 1866 |
(*OneofStdTypes_RepString)(nil), |
| 1867 |
(*OneofStdTypes_RepBytes)(nil), |
| 1868 |
} |
| 1869 |
} |
| 1870 |
|
| 1871 |
func init() { |
| 1872 |
proto.RegisterType((*KnownTypes)(nil), "types.KnownTypes") |
| 1873 |
proto.RegisterType((*ProtoTypes)(nil), "types.ProtoTypes") |
| 1874 |
proto.RegisterType((*StdTypes)(nil), "types.StdTypes") |
| 1875 |
proto.RegisterType((*RepProtoTypes)(nil), "types.RepProtoTypes") |
| 1876 |
proto.RegisterType((*RepStdTypes)(nil), "types.RepStdTypes") |
| 1877 |
proto.RegisterType((*MapProtoTypes)(nil), "types.MapProtoTypes") |
| 1878 |
proto.RegisterMapType((map[int32]types.Duration)(nil), "types.MapProtoTypes.DurationEntry") |
| 1879 |
proto.RegisterMapType((map[int32]types.BoolValue)(nil), "types.MapProtoTypes.NonnullBoolEntry") |
| 1880 |
proto.RegisterMapType((map[int32]types.BytesValue)(nil), "types.MapProtoTypes.NonnullBytesEntry") |
| 1881 |
proto.RegisterMapType((map[int32]types.DoubleValue)(nil), "types.MapProtoTypes.NonnullDoubleEntry") |
| 1882 |
proto.RegisterMapType((map[int32]types.FloatValue)(nil), "types.MapProtoTypes.NonnullFloatEntry") |
| 1883 |
proto.RegisterMapType((map[int32]types.Int32Value)(nil), "types.MapProtoTypes.NonnullInt32Entry") |
| 1884 |
proto.RegisterMapType((map[int32]types.Int64Value)(nil), "types.MapProtoTypes.NonnullInt64Entry") |
| 1885 |
proto.RegisterMapType((map[int32]types.StringValue)(nil), "types.MapProtoTypes.NonnullStringEntry") |
| 1886 |
proto.RegisterMapType((map[int32]types.UInt32Value)(nil), "types.MapProtoTypes.NonnullUInt32Entry") |
| 1887 |
proto.RegisterMapType((map[int32]types.UInt64Value)(nil), "types.MapProtoTypes.NonnullUInt64Entry") |
| 1888 |
proto.RegisterMapType((map[int32]*types.BoolValue)(nil), "types.MapProtoTypes.NullableBoolEntry") |
| 1889 |
proto.RegisterMapType((map[int32]*types.BytesValue)(nil), "types.MapProtoTypes.NullableBytesEntry") |
| 1890 |
proto.RegisterMapType((map[int32]*types.DoubleValue)(nil), "types.MapProtoTypes.NullableDoubleEntry") |
| 1891 |
proto.RegisterMapType((map[int32]*types.Duration)(nil), "types.MapProtoTypes.NullableDurationEntry") |
| 1892 |
proto.RegisterMapType((map[int32]*types.FloatValue)(nil), "types.MapProtoTypes.NullableFloatEntry") |
| 1893 |
proto.RegisterMapType((map[int32]*types.Int32Value)(nil), "types.MapProtoTypes.NullableInt32Entry") |
| 1894 |
proto.RegisterMapType((map[int32]*types.Int64Value)(nil), "types.MapProtoTypes.NullableInt64Entry") |
| 1895 |
proto.RegisterMapType((map[int32]*types.StringValue)(nil), "types.MapProtoTypes.NullableStringEntry") |
| 1896 |
proto.RegisterMapType((map[int32]*types.Timestamp)(nil), "types.MapProtoTypes.NullableTimestampEntry") |
| 1897 |
proto.RegisterMapType((map[int32]*types.UInt32Value)(nil), "types.MapProtoTypes.NullableUInt32Entry") |
| 1898 |
proto.RegisterMapType((map[int32]*types.UInt64Value)(nil), "types.MapProtoTypes.NullableUInt64Entry") |
| 1899 |
proto.RegisterMapType((map[int32]types.Timestamp)(nil), "types.MapProtoTypes.TimestampEntry") |
| 1900 |
proto.RegisterType((*MapStdTypes)(nil), "types.MapStdTypes") |
| 1901 |
proto.RegisterMapType((map[int32]time.Duration)(nil), "types.MapStdTypes.DurationEntry") |
| 1902 |
proto.RegisterMapType((map[int32]bool)(nil), "types.MapStdTypes.NonnullBoolEntry") |
| 1903 |
proto.RegisterMapType((map[int32][]byte)(nil), "types.MapStdTypes.NonnullBytesEntry") |
| 1904 |
proto.RegisterMapType((map[int32]float64)(nil), "types.MapStdTypes.NonnullDoubleEntry") |
| 1905 |
proto.RegisterMapType((map[int32]float32)(nil), "types.MapStdTypes.NonnullFloatEntry") |
| 1906 |
proto.RegisterMapType((map[int32]int32)(nil), "types.MapStdTypes.NonnullInt32Entry") |
| 1907 |
proto.RegisterMapType((map[int32]int64)(nil), "types.MapStdTypes.NonnullInt64Entry") |
| 1908 |
proto.RegisterMapType((map[int32]string)(nil), "types.MapStdTypes.NonnullStringEntry") |
| 1909 |
proto.RegisterMapType((map[int32]uint32)(nil), "types.MapStdTypes.NonnullUInt32Entry") |
| 1910 |
proto.RegisterMapType((map[int32]uint64)(nil), "types.MapStdTypes.NonnullUInt64Entry") |
| 1911 |
proto.RegisterMapType((map[int32]*bool)(nil), "types.MapStdTypes.NullableBoolEntry") |
| 1912 |
proto.RegisterMapType((map[int32]*[]byte)(nil), "types.MapStdTypes.NullableBytesEntry") |
| 1913 |
proto.RegisterMapType((map[int32]*float64)(nil), "types.MapStdTypes.NullableDoubleEntry") |
| 1914 |
proto.RegisterMapType((map[int32]*time.Duration)(nil), "types.MapStdTypes.NullableDurationEntry") |
| 1915 |
proto.RegisterMapType((map[int32]*float32)(nil), "types.MapStdTypes.NullableFloatEntry") |
| 1916 |
proto.RegisterMapType((map[int32]*int32)(nil), "types.MapStdTypes.NullableInt32Entry") |
| 1917 |
proto.RegisterMapType((map[int32]*int64)(nil), "types.MapStdTypes.NullableInt64Entry") |
| 1918 |
proto.RegisterMapType((map[int32]*string)(nil), "types.MapStdTypes.NullableStringEntry") |
| 1919 |
proto.RegisterMapType((map[int32]*time.Time)(nil), "types.MapStdTypes.NullableTimestampEntry") |
| 1920 |
proto.RegisterMapType((map[int32]*uint32)(nil), "types.MapStdTypes.NullableUInt32Entry") |
| 1921 |
proto.RegisterMapType((map[int32]*uint64)(nil), "types.MapStdTypes.NullableUInt64Entry") |
| 1922 |
proto.RegisterMapType((map[int32]time.Time)(nil), "types.MapStdTypes.TimestampEntry") |
| 1923 |
proto.RegisterType((*OneofProtoTypes)(nil), "types.OneofProtoTypes") |
| 1924 |
proto.RegisterType((*OneofStdTypes)(nil), "types.OneofStdTypes") |
| 1925 |
} |
| 1926 |
|
| 1927 |
func init() { proto.RegisterFile("combos/both/types.proto", fileDescriptor_54557d2dac6675e4) } |
| 1928 |
|
| 1929 |
var fileDescriptor_54557d2dac6675e4 = []byte{ |
| 1930 |
// 2323 bytes of a gzipped FileDescriptorProto |
| 1931 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcf, 0x73, 0x23, 0x47, |
| 1932 |
0x19, 0x5d, 0x59, 0xd2, 0xae, 0xdd, 0x96, 0x76, 0xed, 0xd9, 0x6c, 0x32, 0x98, 0x94, 0x76, 0x71, |
| 1933 |
0xb2, 0x3f, 0x48, 0x2a, 0x32, 0x99, 0x71, 0x19, 0x58, 0x48, 0x9c, 0xa8, 0x76, 0x57, 0x96, 0x62, |
| 1934 |
0xed, 0xca, 0xb2, 0xb5, 0x05, 0x81, 0x00, 0x92, 0x2d, 0x3b, 0x2e, 0x64, 0x8d, 0x4a, 0x1a, 0x91, |
| 1935 |
0xf2, 0x8d, 0x3f, 0x80, 0x03, 0x37, 0x38, 0xc2, 0x8d, 0x2b, 0x07, 0xaa, 0x38, 0x72, 0xe0, 0x90, |
| 1936 |
0x23, 0x7f, 0x01, 0x24, 0xe6, 0xc2, 0x15, 0xb8, 0xe4, 0x42, 0x15, 0x35, 0xdd, 0x3d, 0x33, 0xfd, |
| 1937 |
0xe3, 0xeb, 0x9e, 0xe9, 0x29, 0xfb, 0xa6, 0x9b, 0xad, 0xf9, 0xfa, 0xcd, 0x9b, 0x4f, 0x6f, 0xfc, |
| 1938 |
0xfa, 0x7d, 0xe3, 0x41, 0xaf, 0x1d, 0x7a, 0x67, 0x7d, 0x6f, 0xba, 0xd1, 0xf7, 0xfc, 0x4f, 0x37, |
| 1939 |
0xfc, 0xf3, 0xf1, 0x60, 0x5a, 0x1d, 0x4f, 0x3c, 0xdf, 0xb3, 0x8a, 0xf8, 0x97, 0xb5, 0x77, 0x4e, |
| 1940 |
0x4e, 0xfd, 0x4f, 0x67, 0xfd, 0xea, 0xa1, 0x77, 0xb6, 0x71, 0xe2, 0x9d, 0x78, 0x1b, 0xf8, 0x68, |
| 1941 |
0x7f, 0x76, 0x8c, 0x7f, 0xc3, 0xbf, 0xe0, 0x9f, 0xc8, 0xaa, 0xb5, 0xca, 0x89, 0xe7, 0x9d, 0x0c, |
| 1942 |
0x07, 0x71, 0xd5, 0xd1, 0x6c, 0xd2, 0xf3, 0x4f, 0xbd, 0x11, 0x3d, 0xfe, 0xba, 0x78, 0x7c, 0xea, |
| 1943 |
0x4f, 0x66, 0x87, 0x3e, 0x3d, 0x7a, 0x57, 0x3c, 0xea, 0x9f, 0x9e, 0x0d, 0xa6, 0x7e, 0xef, 0x6c, |
| 1944 |
0xac, 0x82, 0xff, 0x6c, 0xd2, 0x1b, 0x8f, 0x07, 0x13, 0x4a, 0x7a, 0xfd, 0xaf, 0x05, 0x84, 0x3e, |
| 1945 |
0x1a, 0x79, 0x9f, 0x8d, 0x0e, 0x02, 0xf2, 0xd6, 0xdb, 0x28, 0x7f, 0x34, 0x9b, 0xd8, 0xb9, 0x7b, |
| 1946 |
0xb9, 0x47, 0xcb, 0xce, 0xd7, 0xaa, 0x64, 0x71, 0x35, 0x5c, 0x5c, 0x7d, 0x42, 0xb9, 0x75, 0x82, |
| 1947 |
0x2a, 0xeb, 0x2d, 0xb4, 0xe0, 0x4f, 0xed, 0x05, 0x5c, 0xbb, 0x26, 0xd5, 0x1e, 0x84, 0x4c, 0x3a, |
| 1948 |
0x0b, 0xfe, 0xd4, 0xaa, 0xa2, 0xfc, 0x51, 0x7f, 0x68, 0xe7, 0x71, 0xf1, 0xeb, 0x32, 0xb0, 0x37, |
| 1949 |
0xeb, 0x0f, 0x07, 0x2f, 0x7b, 0xc3, 0xd9, 0xa0, 0x13, 0x14, 0x5a, 0xef, 0xa0, 0xfc, 0xf1, 0xd0, |
| 1950 |
0xb7, 0x0b, 0xb8, 0xfe, 0xeb, 0x52, 0xfd, 0xb3, 0xa1, 0xd7, 0xf3, 0x69, 0xf9, 0xf1, 0xd0, 0x0f, |
| 1951 |
0xca, 0x4f, 0xb7, 0x36, 0xed, 0xa2, 0xa2, 0xbc, 0x31, 0xf2, 0xb7, 0x36, 0x69, 0xf9, 0xe9, 0xd6, |
| 1952 |
0x66, 0xc0, 0x66, 0xb6, 0xb5, 0x69, 0x5f, 0x57, 0xb0, 0xe9, 0xb2, 0xf5, 0xb3, 0xad, 0x4d, 0x0c, |
| 1953 |
0xef, 0x3a, 0xf6, 0x0d, 0x35, 0xbc, 0xeb, 0x84, 0xf0, 0xae, 0x83, 0xe1, 0x5d, 0xc7, 0x5e, 0xd4, |
| 1954 |
0xc0, 0x47, 0xf5, 0x33, 0x5c, 0x5f, 0xe8, 0x7b, 0xde, 0xd0, 0x5e, 0x52, 0xb4, 0xb2, 0xe6, 0x79, |
| 1955 |
0x43, 0x52, 0x8e, 0xeb, 0x02, 0xfc, 0xa9, 0x3f, 0xb1, 0x91, 0x02, 0x7f, 0xdf, 0x9f, 0x9c, 0x8e, |
| 1956 |
0x4e, 0x28, 0xfe, 0xd4, 0x9f, 0x58, 0xef, 0xa2, 0x62, 0xff, 0xdc, 0x1f, 0x4c, 0xed, 0x65, 0xc5, |
| 1957 |
0x05, 0xd4, 0x82, 0xa3, 0x64, 0x01, 0xa9, 0xb4, 0x1e, 0xa2, 0x85, 0xa9, 0x6f, 0x97, 0x70, 0xfd, |
| 1958 |
0x6b, 0xd0, 0x19, 0x66, 0x87, 0x7e, 0x67, 0x61, 0xea, 0x3f, 0x2e, 0xfc, 0xeb, 0xf7, 0x77, 0x73, |
| 1959 |
0xeb, 0xbf, 0x2a, 0x21, 0xd4, 0x0e, 0x8e, 0x12, 0x19, 0xed, 0xa0, 0xd5, 0xd1, 0x6c, 0x38, 0xec, |
| 1960 |
0xf5, 0x87, 0x83, 0x48, 0x06, 0x54, 0x54, 0x3a, 0xa1, 0xc8, 0x8b, 0xac, 0xa7, 0x68, 0x25, 0xfc, |
| 1961 |
0x30, 0x14, 0x1f, 0x55, 0x9c, 0x46, 0x9d, 0xd2, 0x12, 0xeb, 0x09, 0xba, 0x19, 0x7d, 0x86, 0xa5, |
| 1962 |
0x96, 0x4a, 0x89, 0xc2, 0x1a, 0xeb, 0x43, 0x54, 0x0e, 0x3f, 0xc1, 0x02, 0x4c, 0x23, 0x4f, 0x7e, |
| 1963 |
0x05, 0x0b, 0x81, 0x45, 0x96, 0x46, 0xb2, 0xfc, 0x0a, 0xf6, 0x5a, 0x88, 0x50, 0x53, 0xe9, 0x58, |
| 1964 |
0x58, 0x23, 0x10, 0x49, 0x27, 0x6e, 0x7e, 0x85, 0x48, 0x24, 0xa5, 0xe2, 0x85, 0x35, 0xd6, 0xfb, |
| 1965 |
0xa8, 0x14, 0x7e, 0x52, 0x4b, 0x77, 0x13, 0x70, 0xf5, 0x2c, 0x0b, 0x22, 0xfc, 0x54, 0xf7, 0x85, |
| 1966 |
0xb0, 0x86, 0x6d, 0x47, 0x2d, 0xed, 0xad, 0xc2, 0xaf, 0xb0, 0xde, 0x47, 0x4b, 0xd1, 0x5f, 0x5f, |
| 1967 |
0x7a, 0xe7, 0x68, 0xc4, 0x5e, 0x2b, 0x7c, 0xfe, 0xf7, 0xbb, 0xd7, 0x3a, 0xf1, 0x12, 0xeb, 0x7b, |
| 1968 |
0x68, 0x31, 0xfc, 0xdb, 0x6f, 0x97, 0x13, 0x24, 0x4e, 0x57, 0x47, 0x0b, 0xac, 0x1d, 0x54, 0x1e, |
| 1969 |
0x79, 0xa3, 0x80, 0x10, 0xd5, 0xf7, 0xcd, 0x64, 0x7d, 0x53, 0x10, 0x7e, 0xa1, 0xf5, 0x14, 0x95, |
| 1970 |
0xe8, 0x07, 0x44, 0xe3, 0xb7, 0x12, 0x35, 0x4e, 0x71, 0xb8, 0x65, 0x0c, 0x0c, 0xd1, 0xe8, 0x4a, |
| 1971 |
0xa2, 0xce, 0x05, 0x18, 0x22, 0xd3, 0xf8, 0xba, 0xa8, 0xd6, 0x57, 0x93, 0xb5, 0x2e, 0x5c, 0x17, |
| 1972 |
0x15, 0x3c, 0x47, 0xc8, 0x75, 0x6c, 0x2b, 0x51, 0xef, 0x32, 0x21, 0xd7, 0x11, 0x08, 0xb9, 0x8e, |
| 1973 |
0x7d, 0x3b, 0x59, 0xf3, 0x00, 0x21, 0xd7, 0xb1, 0x6a, 0x68, 0x99, 0x7e, 0x80, 0x75, 0xff, 0x4a, |
| 1974 |
0x92, 0xee, 0x29, 0x0a, 0xbb, 0x88, 0x61, 0x43, 0xb5, 0x7f, 0x27, 0x59, 0xfb, 0x02, 0x1b, 0x7a, |
| 1975 |
0x03, 0xc4, 0xed, 0x21, 0xfa, 0x7f, 0x35, 0x51, 0xff, 0x42, 0x7b, 0xf0, 0x01, 0x6a, 0x07, 0xff, |
| 1976 |
0x29, 0xa1, 0xc5, 0x7d, 0xff, 0x88, 0x98, 0xc1, 0xf3, 0x4c, 0x66, 0x50, 0x2b, 0xfc, 0xfa, 0x1f, |
| 1977 |
0x77, 0x73, 0x90, 0x25, 0x7c, 0x94, 0xc1, 0x12, 0x6a, 0x85, 0xdf, 0x06, 0x68, 0xb2, 0x31, 0x34, |
| 1978 |
0xb3, 0x18, 0x43, 0xad, 0xf0, 0xbb, 0x00, 0x4d, 0xb4, 0x87, 0xba, 0xb9, 0x3d, 0x50, 0x24, 0xc1, |
| 1979 |
0x24, 0xea, 0xe6, 0x26, 0x21, 0x02, 0x11, 0xcd, 0x37, 0xb3, 0x58, 0x85, 0x78, 0x75, 0xf4, 0xfe, |
| 1980 |
0xa9, 0x9b, 0x1b, 0x06, 0x40, 0xca, 0x75, 0x44, 0x52, 0xe9, 0x6c, 0x03, 0x22, 0x85, 0x2d, 0xc8, |
| 1981 |
0xd0, 0x3c, 0x28, 0x0e, 0x6f, 0x21, 0xcd, 0x2c, 0x16, 0x22, 0x32, 0xa2, 0xf7, 0x51, 0xdd, 0xdc, |
| 1982 |
0x48, 0xc4, 0x36, 0x11, 0x3b, 0xa9, 0x99, 0xd9, 0xc9, 0x62, 0x70, 0x33, 0xe2, 0x5b, 0x86, 0xb1, |
| 1983 |
0x94, 0x6d, 0x13, 0x4b, 0xc1, 0x08, 0xf8, 0x36, 0x89, 0x6d, 0x65, 0x37, 0x8b, 0xad, 0x60, 0x20, |
| 1984 |
0x7a, 0x49, 0x9c, 0xb5, 0x34, 0xcc, 0xad, 0x25, 0xc6, 0xe2, 0xed, 0xa5, 0x61, 0x6e, 0x2f, 0x32, |
| 1985 |
0x14, 0x11, 0xf6, 0x6e, 0x16, 0x8b, 0x91, 0xaf, 0x91, 0xde, 0x26, 0x0d, 0x73, 0x9b, 0x01, 0x89, |
| 1986 |
0xb9, 0x8e, 0x40, 0x2c, 0xa5, 0xd5, 0xc0, 0xc4, 0x5c, 0xc7, 0x7a, 0x66, 0x6a, 0x37, 0x31, 0x12, |
| 1987 |
0x67, 0x39, 0xbb, 0x59, 0x2c, 0x47, 0x66, 0x45, 0x6f, 0x97, 0x86, 0xb9, 0xed, 0xc8, 0xed, 0xc2, |
| 1988 |
0x07, 0xd7, 0x7f, 0x53, 0x42, 0xe5, 0xce, 0x60, 0xcc, 0xc4, 0x90, 0x26, 0xb2, 0x24, 0xfb, 0x98, |
| 1989 |
0xda, 0xb9, 0x7b, 0xf9, 0x84, 0x1c, 0x02, 0xac, 0xb2, 0xea, 0xb1, 0x8b, 0x85, 0x77, 0x4c, 0x90, |
| 1990 |
0x7d, 0xf3, 0xfa, 0x24, 0x22, 0xaf, 0xb1, 0x3e, 0x40, 0xc8, 0x8f, 0xc9, 0xe4, 0x93, 0xc8, 0x50, |
| 1991 |
0x97, 0x65, 0xd6, 0x58, 0xef, 0xa1, 0xa5, 0xa3, 0x88, 0x42, 0x21, 0x81, 0x42, 0xb8, 0xcf, 0x8c, |
| 1992 |
0x56, 0x00, 0x59, 0xa8, 0x88, 0x31, 0xcc, 0xb2, 0x90, 0xb4, 0xe1, 0xbc, 0x9e, 0x0c, 0x02, 0x6f, |
| 1993 |
0x38, 0xa5, 0x54, 0x75, 0x03, 0x23, 0x99, 0xa4, 0x2a, 0x71, 0xcf, 0xba, 0x98, 0x88, 0x00, 0xee, |
| 1994 |
0x59, 0xa5, 0x70, 0xb6, 0xa4, 0xc0, 0x51, 0x87, 0x33, 0x71, 0xdb, 0x8b, 0x12, 0x11, 0xc0, 0x6d, |
| 1995 |
0xaf, 0x9c, 0xf1, 0x96, 0x15, 0xed, 0xd5, 0x65, 0x3c, 0x69, 0xf3, 0x5c, 0x4a, 0x06, 0x81, 0x37, |
| 1996 |
0xcf, 0x52, 0x5a, 0x2c, 0xab, 0xaf, 0x4b, 0x91, 0x16, 0xc5, 0xfd, 0xf7, 0xcd, 0x44, 0x04, 0x70, |
| 1997 |
0xff, 0x2d, 0x87, 0xce, 0x5b, 0x9a, 0x8b, 0x52, 0x85, 0x4e, 0x69, 0x17, 0xbf, 0x92, 0x0c, 0x02, |
| 1998 |
0xef, 0xe2, 0xc5, 0xf8, 0xba, 0xaa, 0xb8, 0xa1, 0x55, 0xf1, 0x55, 0x48, 0x01, 0x56, 0xd2, 0x72, |
| 1999 |
0x28, 0x05, 0xc8, 0x11, 0xf8, 0xb6, 0xe2, 0x72, 0x74, 0x11, 0x58, 0xca, 0x12, 0xaf, 0x24, 0x83, |
| 2000 |
0xc0, 0x59, 0x42, 0x0a, 0xd3, 0x77, 0x14, 0xdf, 0xb5, 0x3a, 0x4c, 0xcb, 0x71, 0x24, 0x9f, 0x3d, |
| 2001 |
0x8e, 0xfc, 0xaf, 0x84, 0x96, 0x3b, 0x83, 0x71, 0x94, 0x48, 0xda, 0xd9, 0x7c, 0x81, 0x46, 0x12, |
| 2002 |
0xc8, 0x1d, 0x5a, 0x59, 0xdc, 0x81, 0x86, 0x12, 0xc0, 0x23, 0x9e, 0x18, 0x7a, 0x44, 0xbc, 0xf9, |
| 2003 |
0x63, 0x7d, 0xe2, 0x43, 0x23, 0x9f, 0x88, 0xb7, 0x7f, 0x8c, 0x57, 0x34, 0xb3, 0x78, 0x85, 0x22, |
| 2004 |
0x1e, 0xed, 0x66, 0x71, 0x0c, 0xe5, 0x5e, 0xb2, 0x6e, 0xee, 0x1a, 0x70, 0xd8, 0x6a, 0x98, 0x7b, |
| 2005 |
0x87, 0x6a, 0x53, 0x5a, 0x37, 0xf7, 0x0f, 0x38, 0xb7, 0x35, 0xcc, 0x5d, 0x44, 0xb5, 0xbb, 0x6d, |
| 2006 |
0x66, 0x71, 0x12, 0x45, 0x04, 0xdc, 0xcd, 0xe2, 0x27, 0xca, 0x9d, 0x72, 0xdd, 0xdc, 0x53, 0xe0, |
| 2007 |
0x40, 0xd9, 0x30, 0x77, 0x16, 0xd5, 0x96, 0xbb, 0x99, 0xc5, 0x5d, 0x14, 0xd9, 0x74, 0x37, 0x8b, |
| 2008 |
0xc7, 0x28, 0xb7, 0xef, 0x4f, 0x4c, 0x7d, 0x06, 0x4c, 0xba, 0xcf, 0x4c, 0xdd, 0x46, 0x11, 0x02, |
| 2009 |
0x9a, 0x59, 0x1c, 0x47, 0x91, 0x98, 0x77, 0xb3, 0xf8, 0x8e, 0x32, 0x50, 0xd4, 0xcd, 0xbd, 0x07, |
| 2010 |
0xce, 0xdf, 0x0d, 0x73, 0x07, 0x52, 0x25, 0x93, 0x3f, 0x56, 0x50, 0xb9, 0xd5, 0x63, 0x93, 0xc9, |
| 2011 |
0x0f, 0xe1, 0x99, 0x58, 0x70, 0x86, 0xb7, 0xab, 0xe4, 0xa1, 0x22, 0xb7, 0xa0, 0xfa, 0x5c, 0xac, |
| 2012 |
0x7e, 0x3a, 0xf2, 0x27, 0xe7, 0xd0, 0x78, 0xac, 0xce, 0xce, 0x0d, 0x88, 0x05, 0xbd, 0x01, 0x42, |
| 2013 |
0xf2, 0x50, 0xf2, 0x3c, 0xfa, 0x25, 0x30, 0x67, 0x23, 0x56, 0xf4, 0x96, 0x96, 0x62, 0x58, 0x4c, |
| 2014 |
0x18, 0x42, 0xcf, 0x62, 0xe2, 0xa1, 0x04, 0x71, 0xa5, 0x75, 0x10, 0x8f, 0xc3, 0x91, 0x06, 0xde, |
| 2015 |
0x6d, 0x85, 0x33, 0x3d, 0xd2, 0x73, 0xc3, 0xa5, 0x84, 0x99, 0xe8, 0x4f, 0xfb, 0xb0, 0x3f, 0x3d, |
| 2016 |
0x84, 0x01, 0xd9, 0x4a, 0x96, 0xa1, 0x60, 0x53, 0x2d, 0xd8, 0xa6, 0x1e, 0x6a, 0x59, 0xe2, 0x4a, |
| 2017 |
0x42, 0x52, 0x30, 0xab, 0x36, 0x68, 0x56, 0x0f, 0x74, 0x14, 0x63, 0x30, 0x30, 0xf3, 0xb4, 0x60, |
| 2018 |
0xcf, 0xd2, 0x13, 0xc4, 0x95, 0x02, 0x41, 0xf2, 0x47, 0xbd, 0x0d, 0x3a, 0x97, 0x96, 0x60, 0x0c, |
| 2019 |
0x06, 0x46, 0xa1, 0xb6, 0xc2, 0xc0, 0xf4, 0x5f, 0x74, 0x97, 0xa1, 0x28, 0xda, 0xd8, 0x3e, 0x6c, |
| 2020 |
0x63, 0xda, 0x2f, 0xba, 0x2b, 0xb1, 0x14, 0xdc, 0xac, 0x05, 0xbb, 0x59, 0x62, 0x1f, 0x5d, 0x47, |
| 2021 |
0xee, 0xa3, 0xeb, 0xf0, 0x7d, 0x8c, 0x3c, 0x2d, 0xa9, 0x8f, 0x14, 0x0c, 0x0c, 0x4e, 0x6d, 0x85, |
| 2022 |
0xb5, 0x25, 0xf7, 0x31, 0xa4, 0x28, 0x1a, 0xdc, 0x3e, 0x6c, 0x70, 0x89, 0x7d, 0xe4, 0x59, 0x0a, |
| 2023 |
0x3e, 0xd7, 0x04, 0x7d, 0xee, 0x81, 0x96, 0x64, 0x50, 0x48, 0x28, 0xf2, 0x6e, 0xd7, 0x82, 0xdc, |
| 2024 |
0xee, 0xbe, 0x8e, 0x5e, 0x84, 0x04, 0xc5, 0xac, 0xb6, 0xc2, 0xf4, 0xf4, 0x1d, 0x24, 0xa5, 0x42, |
| 2025 |
0x07, 0xa9, 0x59, 0xed, 0xc3, 0xd6, 0xa7, 0xed, 0x20, 0x83, 0x07, 0xa7, 0xaf, 0x16, 0xec, 0x80, |
| 2026 |
0x7a, 0x25, 0xe2, 0x4a, 0x41, 0x89, 0xc4, 0x07, 0xdb, 0xa0, 0x0f, 0x6a, 0x95, 0x18, 0x83, 0x41, |
| 2027 |
0xa1, 0x6c, 0xed, 0x67, 0xe8, 0x55, 0xd8, 0xce, 0xac, 0x15, 0x94, 0xff, 0xf9, 0xe0, 0x1c, 0x3f, |
| 2028 |
0x1c, 0x2a, 0x76, 0x82, 0x1f, 0xad, 0x6f, 0xa1, 0xe2, 0x2f, 0x02, 0x6f, 0x4d, 0xf1, 0x6f, 0x26, |
| 2029 |
0xa4, 0xf0, 0xf1, 0xc2, 0x77, 0x72, 0x6b, 0x3f, 0x40, 0x37, 0xaf, 0x08, 0xf9, 0x27, 0xe8, 0x0e, |
| 2030 |
0xe8, 0x73, 0xc0, 0x09, 0x36, 0xf8, 0x13, 0x68, 0xa6, 0x84, 0x0c, 0xfe, 0x4b, 0x54, 0xbe, 0x12, |
| 2031 |
0xdc, 0x9f, 0xa2, 0xdb, 0x80, 0x07, 0x02, 0xe8, 0x0e, 0x8f, 0xae, 0x1f, 0x0a, 0x72, 0x8d, 0xb1, |
| 2032 |
0x64, 0x4f, 0xbc, 0x44, 0xfc, 0x4f, 0x90, 0x25, 0xdb, 0x23, 0x80, 0xff, 0x2e, 0x8f, 0xaf, 0x9d, |
| 2033 |
0x22, 0x32, 0xf0, 0x3f, 0x46, 0xab, 0x92, 0x5f, 0x5e, 0x1e, 0x3a, 0x43, 0x3e, 0xf6, 0x91, 0x2c, |
| 2034 |
0xf0, 0xcc, 0xb0, 0x0f, 0x24, 0x7f, 0x15, 0xe8, 0x8c, 0x74, 0xba, 0x5a, 0xfc, 0xc4, 0xaf, 0xb6, |
| 2035 |
0x0b, 0x9f, 0x20, 0x96, 0xce, 0xd5, 0xe0, 0xf3, 0xdd, 0xa7, 0xee, 0x93, 0xb1, 0x3f, 0xe1, 0x40, |
| 2036 |
0x51, 0xd5, 0xfd, 0x4b, 0x47, 0x17, 0xba, 0xaf, 0xc6, 0x4f, 0xd5, 0x1d, 0xe0, 0x04, 0x7c, 0xf7, |
| 2037 |
0x2f, 0x1f, 0xff, 0x47, 0x68, 0x55, 0xf2, 0xe9, 0x2c, 0x7f, 0x8e, 0xe3, 0x01, 0x2a, 0x03, 0xfe, |
| 2038 |
0x31, 0x5a, 0x11, 0x9d, 0xfb, 0xd2, 0xb0, 0x99, 0xce, 0x33, 0x9e, 0x9b, 0xa5, 0x33, 0xec, 0xd4, |
| 2039 |
0x15, 0xec, 0xfc, 0xd5, 0xe0, 0x33, 0xba, 0x8f, 0x1d, 0x39, 0x8b, 0x32, 0xd9, 0x7f, 0x0f, 0x84, |
| 2040 |
0x74, 0x7f, 0x05, 0xe8, 0xeb, 0xff, 0xae, 0xa0, 0xe5, 0x56, 0x2f, 0x9e, 0xd9, 0x7e, 0xa2, 0x4e, |
| 2041 |
0xcc, 0xdf, 0x8c, 0xf7, 0x22, 0x61, 0xb9, 0x22, 0x2f, 0xab, 0xff, 0xa9, 0xa4, 0x21, 0xa7, 0xe6, |
| 2042 |
0x6f, 0x00, 0xb0, 0x02, 0x1c, 0xf8, 0xd0, 0xfd, 0x63, 0x65, 0x6e, 0x7e, 0xa4, 0x21, 0x2a, 0xa4, |
| 2043 |
0x5d, 0xc5, 0xbf, 0xab, 0x3c, 0x93, 0xb2, 0xf3, 0x3d, 0x00, 0x93, 0xc7, 0x82, 0x9e, 0xeb, 0x1f, |
| 2044 |
0x28, 0xd2, 0xf3, 0x03, 0x1d, 0x43, 0x36, 0xeb, 0x82, 0x13, 0xde, 0x2e, 0x9c, 0xa0, 0xef, 0x43, |
| 2045 |
0xa0, 0x72, 0x7e, 0x56, 0x8e, 0x7a, 0xf7, 0xe0, 0x0c, 0x7d, 0x5f, 0xc3, 0x95, 0x0d, 0xbd, 0xd0, |
| 2046 |
0xd0, 0xb7, 0x03, 0xe6, 0xe8, 0x37, 0xd5, 0x44, 0x19, 0x40, 0xd5, 0xf4, 0x77, 0x0f, 0x4e, 0xd2, |
| 2047 |
0x3a, 0x9a, 0x6c, 0xa8, 0x84, 0xe6, 0xc0, 0x1d, 0x30, 0x4d, 0x6b, 0x68, 0x32, 0x80, 0xaa, 0x81, |
| 2048 |
0xf0, 0x81, 0x22, 0x4f, 0xeb, 0xbe, 0xfa, 0xae, 0x44, 0x54, 0xcc, 0xd4, 0x5d, 0x38, 0x53, 0x6b, |
| 2049 |
0xbe, 0xfa, 0x2e, 0xc8, 0x55, 0x48, 0xd5, 0x7b, 0x70, 0xaa, 0x4e, 0xe8, 0x69, 0x14, 0x30, 0xa1, |
| 2050 |
0x69, 0x71, 0x07, 0x4c, 0xd6, 0xfa, 0x9e, 0x86, 0x80, 0xaa, 0xb1, 0xf1, 0x81, 0x22, 0x5b, 0x27, |
| 2051 |
0xf5, 0x94, 0x27, 0x2a, 0xe6, 0xeb, 0x2e, 0x9c, 0xaf, 0x13, 0x7a, 0x2a, 0x73, 0x15, 0x12, 0xf6, |
| 2052 |
0x73, 0x30, 0x61, 0xbf, 0xa9, 0xa1, 0xca, 0xa4, 0x62, 0x60, 0xa6, 0xfc, 0x02, 0x4a, 0xd9, 0x6f, |
| 2053 |
0xa8, 0x49, 0xc6, 0x68, 0x8a, 0xe1, 0xf2, 0x81, 0x22, 0x67, 0xeb, 0xba, 0xc9, 0xa5, 0x62, 0x70, |
| 2054 |
0xcc, 0xdc, 0x85, 0xb3, 0xb6, 0xa6, 0x9b, 0x2c, 0xa6, 0x72, 0xde, 0xbc, 0x07, 0xa7, 0x6d, 0x9d, |
| 2055 |
0x42, 0xd9, 0x78, 0x0c, 0x4d, 0x9e, 0x3b, 0x60, 0xe2, 0xd6, 0x28, 0x94, 0x01, 0x54, 0x8c, 0xa0, |
| 2056 |
0xe7, 0x99, 0x7b, 0x9e, 0xb9, 0xe7, 0x99, 0x7b, 0x9e, 0xb9, 0xe7, 0x99, 0x7b, 0x9e, 0xb9, 0xe7, |
| 2057 |
0x99, 0x7b, 0x9e, 0xb9, 0xe1, 0xcc, 0xfd, 0xa7, 0x22, 0xba, 0xf5, 0x62, 0x34, 0xf0, 0x8e, 0x99, |
| 2058 |
0x27, 0xd5, 0x8f, 0xd9, 0x60, 0x9c, 0xf8, 0xd6, 0xc6, 0x0e, 0xf7, 0x04, 0xf9, 0xdb, 0x4c, 0x5a, |
| 2059 |
0x4d, 0x32, 0xce, 0x1d, 0xf6, 0xe1, 0xee, 0xf7, 0xd1, 0xd2, 0x64, 0x30, 0x4e, 0xff, 0x42, 0x46, |
| 2060 |
0x70, 0xda, 0x68, 0x81, 0xf5, 0x5d, 0xb4, 0x38, 0x19, 0x8c, 0xd3, 0xbe, 0x82, 0x11, 0x9c, 0x38, |
| 2061 |
0x2c, 0xa7, 0x4b, 0xd3, 0xbe, 0x74, 0x41, 0x97, 0x92, 0xa8, 0x42, 0x38, 0xa7, 0x7f, 0xcd, 0x82, |
| 2062 |
0x72, 0xa6, 0x41, 0x27, 0x3a, 0x71, 0xaa, 0x17, 0x2b, 0xe2, 0x13, 0xbb, 0x0e, 0x73, 0xe2, 0x74, |
| 2063 |
0xaf, 0x52, 0x30, 0x27, 0x76, 0x1d, 0x6b, 0x0b, 0xdd, 0x98, 0x0c, 0xc6, 0xe9, 0x5e, 0x9e, 0xd8, |
| 2064 |
0xb9, 0xd6, 0x09, 0x8b, 0xe9, 0x59, 0xd3, 0xbf, 0x2e, 0x41, 0xcf, 0x4a, 0x77, 0xcd, 0xe4, 0x72, |
| 2065 |
0xd3, 0xbe, 0x20, 0x41, 0x2f, 0x17, 0x7f, 0x50, 0x5b, 0xc5, 0x1a, 0x7d, 0x41, 0x35, 0x1a, 0x68, |
| 2066 |
0x6d, 0xfd, 0xbf, 0x45, 0x54, 0xc6, 0xba, 0x8d, 0xa6, 0x45, 0x1f, 0x18, 0xa9, 0x96, 0x8c, 0x85, |
| 2067 |
0x78, 0xed, 0xbe, 0x67, 0xa0, 0x5d, 0x32, 0xae, 0xe1, 0x14, 0x5c, 0x33, 0x54, 0x30, 0x49, 0x02, |
| 2068 |
0xbc, 0x8e, 0xb7, 0x8d, 0x74, 0x1c, 0x21, 0xc4, 0x6a, 0xde, 0x36, 0x52, 0x33, 0x07, 0x40, 0x54, |
| 2069 |
0x59, 0x33, 0xd4, 0x34, 0x77, 0x15, 0x54, 0xd9, 0xdb, 0x46, 0xca, 0x16, 0x49, 0xe0, 0xf7, 0xe4, |
| 2070 |
0xcc, 0xf4, 0x2d, 0x91, 0xc0, 0xf7, 0x48, 0x7a, 0x95, 0x47, 0xeb, 0x23, 0xad, 0xd7, 0x0c, 0xb5, |
| 2071 |
0xce, 0x31, 0xa0, 0x8a, 0xdf, 0x36, 0x52, 0x3c, 0xd7, 0x06, 0xa2, 0xfb, 0x5b, 0x58, 0xe3, 0x2f, |
| 2072 |
0xb0, 0xc6, 0x03, 0x95, 0xd6, 0x1e, 0x7d, 0xf1, 0x65, 0x25, 0xf7, 0xd5, 0x97, 0x95, 0xdc, 0x1f, |
| 2073 |
0x2e, 0x2a, 0xb9, 0x3f, 0x5f, 0x54, 0x72, 0x7f, 0xb9, 0xa8, 0xe4, 0x3e, 0xbf, 0xa8, 0xe4, 0xfe, |
| 2074 |
0x76, 0x51, 0xc9, 0x7d, 0x71, 0x51, 0xc9, 0x7d, 0x75, 0x51, 0xb9, 0xf6, 0xcb, 0x7f, 0x56, 0xae, |
| 2075 |
0xf5, 0xaf, 0xe3, 0x33, 0xb8, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xdf, 0x9a, 0x66, 0x06, 0xbb, |
| 2076 |
0x40, 0x00, 0x00, |
| 2077 |
} |
| 2078 |
|
| 2079 |
func (this *KnownTypes) Compare(that interface{}) int { |
| 2080 |
if that == nil { |
| 2081 |
if this == nil { |
| 2082 |
return 0 |
| 2083 |
} |
| 2084 |
return 1 |
| 2085 |
} |
| 2086 |
|
| 2087 |
that1, ok := that.(*KnownTypes) |
| 2088 |
if !ok { |
| 2089 |
that2, ok := that.(KnownTypes) |
| 2090 |
if ok { |
| 2091 |
that1 = &that2 |
| 2092 |
} else { |
| 2093 |
return 1 |
| 2094 |
} |
| 2095 |
} |
| 2096 |
if that1 == nil { |
| 2097 |
if this == nil { |
| 2098 |
return 0 |
| 2099 |
} |
| 2100 |
return 1 |
| 2101 |
} else if this == nil { |
| 2102 |
return -1 |
| 2103 |
} |
| 2104 |
if c := this.Dur.Compare(that1.Dur); c != 0 { |
| 2105 |
return c |
| 2106 |
} |
| 2107 |
if c := this.Ts.Compare(that1.Ts); c != 0 { |
| 2108 |
return c |
| 2109 |
} |
| 2110 |
if c := this.Dbl.Compare(that1.Dbl); c != 0 { |
| 2111 |
return c |
| 2112 |
} |
| 2113 |
if c := this.Flt.Compare(that1.Flt); c != 0 { |
| 2114 |
return c |
| 2115 |
} |
| 2116 |
if c := this.I64.Compare(that1.I64); c != 0 { |
| 2117 |
return c |
| 2118 |
} |
| 2119 |
if c := this.U64.Compare(that1.U64); c != 0 { |
| 2120 |
return c |
| 2121 |
} |
| 2122 |
if c := this.I32.Compare(that1.I32); c != 0 { |
| 2123 |
return c |
| 2124 |
} |
| 2125 |
if c := this.U32.Compare(that1.U32); c != 0 { |
| 2126 |
return c |
| 2127 |
} |
| 2128 |
if c := this.Bool.Compare(that1.Bool); c != 0 { |
| 2129 |
return c |
| 2130 |
} |
| 2131 |
if c := this.Str.Compare(that1.Str); c != 0 { |
| 2132 |
return c |
| 2133 |
} |
| 2134 |
if c := this.Bytes.Compare(that1.Bytes); c != 0 { |
| 2135 |
return c |
| 2136 |
} |
| 2137 |
if c := this.St.Compare(that1.St); c != 0 { |
| 2138 |
return c |
| 2139 |
} |
| 2140 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 2141 |
return c |
| 2142 |
} |
| 2143 |
return 0 |
| 2144 |
} |
| 2145 |
func (this *ProtoTypes) Compare(that interface{}) int { |
| 2146 |
if that == nil { |
| 2147 |
if this == nil { |
| 2148 |
return 0 |
| 2149 |
} |
| 2150 |
return 1 |
| 2151 |
} |
| 2152 |
|
| 2153 |
that1, ok := that.(*ProtoTypes) |
| 2154 |
if !ok { |
| 2155 |
that2, ok := that.(ProtoTypes) |
| 2156 |
if ok { |
| 2157 |
that1 = &that2 |
| 2158 |
} else { |
| 2159 |
return 1 |
| 2160 |
} |
| 2161 |
} |
| 2162 |
if that1 == nil { |
| 2163 |
if this == nil { |
| 2164 |
return 0 |
| 2165 |
} |
| 2166 |
return 1 |
| 2167 |
} else if this == nil { |
| 2168 |
return -1 |
| 2169 |
} |
| 2170 |
if c := this.NullableTimestamp.Compare(that1.NullableTimestamp); c != 0 { |
| 2171 |
return c |
| 2172 |
} |
| 2173 |
if c := this.NullableDuration.Compare(that1.NullableDuration); c != 0 { |
| 2174 |
return c |
| 2175 |
} |
| 2176 |
if c := this.NullableDouble.Compare(that1.NullableDouble); c != 0 { |
| 2177 |
return c |
| 2178 |
} |
| 2179 |
if c := this.NullableFloat.Compare(that1.NullableFloat); c != 0 { |
| 2180 |
return c |
| 2181 |
} |
| 2182 |
if c := this.NullableInt64.Compare(that1.NullableInt64); c != 0 { |
| 2183 |
return c |
| 2184 |
} |
| 2185 |
if c := this.NullableUInt64.Compare(that1.NullableUInt64); c != 0 { |
| 2186 |
return c |
| 2187 |
} |
| 2188 |
if c := this.NullableInt32.Compare(that1.NullableInt32); c != 0 { |
| 2189 |
return c |
| 2190 |
} |
| 2191 |
if c := this.NullableUInt32.Compare(that1.NullableUInt32); c != 0 { |
| 2192 |
return c |
| 2193 |
} |
| 2194 |
if c := this.NullableBool.Compare(that1.NullableBool); c != 0 { |
| 2195 |
return c |
| 2196 |
} |
| 2197 |
if c := this.NullableString.Compare(that1.NullableString); c != 0 { |
| 2198 |
return c |
| 2199 |
} |
| 2200 |
if c := this.NullableBytes.Compare(that1.NullableBytes); c != 0 { |
| 2201 |
return c |
| 2202 |
} |
| 2203 |
if c := this.Timestamp.Compare(&that1.Timestamp); c != 0 { |
| 2204 |
return c |
| 2205 |
} |
| 2206 |
if c := this.Duration.Compare(&that1.Duration); c != 0 { |
| 2207 |
return c |
| 2208 |
} |
| 2209 |
if c := this.NonnullDouble.Compare(&that1.NonnullDouble); c != 0 { |
| 2210 |
return c |
| 2211 |
} |
| 2212 |
if c := this.NonnullFloat.Compare(&that1.NonnullFloat); c != 0 { |
| 2213 |
return c |
| 2214 |
} |
| 2215 |
if c := this.NonnullInt64.Compare(&that1.NonnullInt64); c != 0 { |
| 2216 |
return c |
| 2217 |
} |
| 2218 |
if c := this.NonnullUInt64.Compare(&that1.NonnullUInt64); c != 0 { |
| 2219 |
return c |
| 2220 |
} |
| 2221 |
if c := this.NonnullInt32.Compare(&that1.NonnullInt32); c != 0 { |
| 2222 |
return c |
| 2223 |
} |
| 2224 |
if c := this.NonnullUInt32.Compare(&that1.NonnullUInt32); c != 0 { |
| 2225 |
return c |
| 2226 |
} |
| 2227 |
if c := this.NonnullBool.Compare(&that1.NonnullBool); c != 0 { |
| 2228 |
return c |
| 2229 |
} |
| 2230 |
if c := this.NonnullString.Compare(&that1.NonnullString); c != 0 { |
| 2231 |
return c |
| 2232 |
} |
| 2233 |
if c := this.NonnullBytes.Compare(&that1.NonnullBytes); c != 0 { |
| 2234 |
return c |
| 2235 |
} |
| 2236 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 2237 |
return c |
| 2238 |
} |
| 2239 |
return 0 |
| 2240 |
} |
| 2241 |
func (this *RepProtoTypes) Compare(that interface{}) int { |
| 2242 |
if that == nil { |
| 2243 |
if this == nil { |
| 2244 |
return 0 |
| 2245 |
} |
| 2246 |
return 1 |
| 2247 |
} |
| 2248 |
|
| 2249 |
that1, ok := that.(*RepProtoTypes) |
| 2250 |
if !ok { |
| 2251 |
that2, ok := that.(RepProtoTypes) |
| 2252 |
if ok { |
| 2253 |
that1 = &that2 |
| 2254 |
} else { |
| 2255 |
return 1 |
| 2256 |
} |
| 2257 |
} |
| 2258 |
if that1 == nil { |
| 2259 |
if this == nil { |
| 2260 |
return 0 |
| 2261 |
} |
| 2262 |
return 1 |
| 2263 |
} else if this == nil { |
| 2264 |
return -1 |
| 2265 |
} |
| 2266 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 2267 |
if len(this.NullableTimestamps) < len(that1.NullableTimestamps) { |
| 2268 |
return -1 |
| 2269 |
} |
| 2270 |
return 1 |
| 2271 |
} |
| 2272 |
for i := range this.NullableTimestamps { |
| 2273 |
if c := this.NullableTimestamps[i].Compare(that1.NullableTimestamps[i]); c != 0 { |
| 2274 |
return c |
| 2275 |
} |
| 2276 |
} |
| 2277 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 2278 |
if len(this.NullableDurations) < len(that1.NullableDurations) { |
| 2279 |
return -1 |
| 2280 |
} |
| 2281 |
return 1 |
| 2282 |
} |
| 2283 |
for i := range this.NullableDurations { |
| 2284 |
if c := this.NullableDurations[i].Compare(that1.NullableDurations[i]); c != 0 { |
| 2285 |
return c |
| 2286 |
} |
| 2287 |
} |
| 2288 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 2289 |
if len(this.Timestamps) < len(that1.Timestamps) { |
| 2290 |
return -1 |
| 2291 |
} |
| 2292 |
return 1 |
| 2293 |
} |
| 2294 |
for i := range this.Timestamps { |
| 2295 |
if c := this.Timestamps[i].Compare(&that1.Timestamps[i]); c != 0 { |
| 2296 |
return c |
| 2297 |
} |
| 2298 |
} |
| 2299 |
if len(this.Durations) != len(that1.Durations) { |
| 2300 |
if len(this.Durations) < len(that1.Durations) { |
| 2301 |
return -1 |
| 2302 |
} |
| 2303 |
return 1 |
| 2304 |
} |
| 2305 |
for i := range this.Durations { |
| 2306 |
if c := this.Durations[i].Compare(&that1.Durations[i]); c != 0 { |
| 2307 |
return c |
| 2308 |
} |
| 2309 |
} |
| 2310 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 2311 |
if len(this.NullableDouble) < len(that1.NullableDouble) { |
| 2312 |
return -1 |
| 2313 |
} |
| 2314 |
return 1 |
| 2315 |
} |
| 2316 |
for i := range this.NullableDouble { |
| 2317 |
if c := this.NullableDouble[i].Compare(that1.NullableDouble[i]); c != 0 { |
| 2318 |
return c |
| 2319 |
} |
| 2320 |
} |
| 2321 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 2322 |
if len(this.NonnullDouble) < len(that1.NonnullDouble) { |
| 2323 |
return -1 |
| 2324 |
} |
| 2325 |
return 1 |
| 2326 |
} |
| 2327 |
for i := range this.NonnullDouble { |
| 2328 |
if c := this.NonnullDouble[i].Compare(&that1.NonnullDouble[i]); c != 0 { |
| 2329 |
return c |
| 2330 |
} |
| 2331 |
} |
| 2332 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 2333 |
if len(this.NullableFloat) < len(that1.NullableFloat) { |
| 2334 |
return -1 |
| 2335 |
} |
| 2336 |
return 1 |
| 2337 |
} |
| 2338 |
for i := range this.NullableFloat { |
| 2339 |
if c := this.NullableFloat[i].Compare(that1.NullableFloat[i]); c != 0 { |
| 2340 |
return c |
| 2341 |
} |
| 2342 |
} |
| 2343 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 2344 |
if len(this.NonnullFloat) < len(that1.NonnullFloat) { |
| 2345 |
return -1 |
| 2346 |
} |
| 2347 |
return 1 |
| 2348 |
} |
| 2349 |
for i := range this.NonnullFloat { |
| 2350 |
if c := this.NonnullFloat[i].Compare(&that1.NonnullFloat[i]); c != 0 { |
| 2351 |
return c |
| 2352 |
} |
| 2353 |
} |
| 2354 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 2355 |
if len(this.NullableInt64) < len(that1.NullableInt64) { |
| 2356 |
return -1 |
| 2357 |
} |
| 2358 |
return 1 |
| 2359 |
} |
| 2360 |
for i := range this.NullableInt64 { |
| 2361 |
if c := this.NullableInt64[i].Compare(that1.NullableInt64[i]); c != 0 { |
| 2362 |
return c |
| 2363 |
} |
| 2364 |
} |
| 2365 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 2366 |
if len(this.NonnullInt64) < len(that1.NonnullInt64) { |
| 2367 |
return -1 |
| 2368 |
} |
| 2369 |
return 1 |
| 2370 |
} |
| 2371 |
for i := range this.NonnullInt64 { |
| 2372 |
if c := this.NonnullInt64[i].Compare(&that1.NonnullInt64[i]); c != 0 { |
| 2373 |
return c |
| 2374 |
} |
| 2375 |
} |
| 2376 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 2377 |
if len(this.NullableUInt64) < len(that1.NullableUInt64) { |
| 2378 |
return -1 |
| 2379 |
} |
| 2380 |
return 1 |
| 2381 |
} |
| 2382 |
for i := range this.NullableUInt64 { |
| 2383 |
if c := this.NullableUInt64[i].Compare(that1.NullableUInt64[i]); c != 0 { |
| 2384 |
return c |
| 2385 |
} |
| 2386 |
} |
| 2387 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 2388 |
if len(this.NonnullUInt64) < len(that1.NonnullUInt64) { |
| 2389 |
return -1 |
| 2390 |
} |
| 2391 |
return 1 |
| 2392 |
} |
| 2393 |
for i := range this.NonnullUInt64 { |
| 2394 |
if c := this.NonnullUInt64[i].Compare(&that1.NonnullUInt64[i]); c != 0 { |
| 2395 |
return c |
| 2396 |
} |
| 2397 |
} |
| 2398 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 2399 |
if len(this.NullableInt32) < len(that1.NullableInt32) { |
| 2400 |
return -1 |
| 2401 |
} |
| 2402 |
return 1 |
| 2403 |
} |
| 2404 |
for i := range this.NullableInt32 { |
| 2405 |
if c := this.NullableInt32[i].Compare(that1.NullableInt32[i]); c != 0 { |
| 2406 |
return c |
| 2407 |
} |
| 2408 |
} |
| 2409 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 2410 |
if len(this.NonnullInt32) < len(that1.NonnullInt32) { |
| 2411 |
return -1 |
| 2412 |
} |
| 2413 |
return 1 |
| 2414 |
} |
| 2415 |
for i := range this.NonnullInt32 { |
| 2416 |
if c := this.NonnullInt32[i].Compare(&that1.NonnullInt32[i]); c != 0 { |
| 2417 |
return c |
| 2418 |
} |
| 2419 |
} |
| 2420 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 2421 |
if len(this.NullableUInt32) < len(that1.NullableUInt32) { |
| 2422 |
return -1 |
| 2423 |
} |
| 2424 |
return 1 |
| 2425 |
} |
| 2426 |
for i := range this.NullableUInt32 { |
| 2427 |
if c := this.NullableUInt32[i].Compare(that1.NullableUInt32[i]); c != 0 { |
| 2428 |
return c |
| 2429 |
} |
| 2430 |
} |
| 2431 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 2432 |
if len(this.NonnullUInt32) < len(that1.NonnullUInt32) { |
| 2433 |
return -1 |
| 2434 |
} |
| 2435 |
return 1 |
| 2436 |
} |
| 2437 |
for i := range this.NonnullUInt32 { |
| 2438 |
if c := this.NonnullUInt32[i].Compare(&that1.NonnullUInt32[i]); c != 0 { |
| 2439 |
return c |
| 2440 |
} |
| 2441 |
} |
| 2442 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 2443 |
if len(this.NullableBool) < len(that1.NullableBool) { |
| 2444 |
return -1 |
| 2445 |
} |
| 2446 |
return 1 |
| 2447 |
} |
| 2448 |
for i := range this.NullableBool { |
| 2449 |
if c := this.NullableBool[i].Compare(that1.NullableBool[i]); c != 0 { |
| 2450 |
return c |
| 2451 |
} |
| 2452 |
} |
| 2453 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 2454 |
if len(this.NonnullBool) < len(that1.NonnullBool) { |
| 2455 |
return -1 |
| 2456 |
} |
| 2457 |
return 1 |
| 2458 |
} |
| 2459 |
for i := range this.NonnullBool { |
| 2460 |
if c := this.NonnullBool[i].Compare(&that1.NonnullBool[i]); c != 0 { |
| 2461 |
return c |
| 2462 |
} |
| 2463 |
} |
| 2464 |
if len(this.NullableString) != len(that1.NullableString) { |
| 2465 |
if len(this.NullableString) < len(that1.NullableString) { |
| 2466 |
return -1 |
| 2467 |
} |
| 2468 |
return 1 |
| 2469 |
} |
| 2470 |
for i := range this.NullableString { |
| 2471 |
if c := this.NullableString[i].Compare(that1.NullableString[i]); c != 0 { |
| 2472 |
return c |
| 2473 |
} |
| 2474 |
} |
| 2475 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 2476 |
if len(this.NonnullString) < len(that1.NonnullString) { |
| 2477 |
return -1 |
| 2478 |
} |
| 2479 |
return 1 |
| 2480 |
} |
| 2481 |
for i := range this.NonnullString { |
| 2482 |
if c := this.NonnullString[i].Compare(&that1.NonnullString[i]); c != 0 { |
| 2483 |
return c |
| 2484 |
} |
| 2485 |
} |
| 2486 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 2487 |
if len(this.NullableBytes) < len(that1.NullableBytes) { |
| 2488 |
return -1 |
| 2489 |
} |
| 2490 |
return 1 |
| 2491 |
} |
| 2492 |
for i := range this.NullableBytes { |
| 2493 |
if c := this.NullableBytes[i].Compare(that1.NullableBytes[i]); c != 0 { |
| 2494 |
return c |
| 2495 |
} |
| 2496 |
} |
| 2497 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 2498 |
if len(this.NonnullBytes) < len(that1.NonnullBytes) { |
| 2499 |
return -1 |
| 2500 |
} |
| 2501 |
return 1 |
| 2502 |
} |
| 2503 |
for i := range this.NonnullBytes { |
| 2504 |
if c := this.NonnullBytes[i].Compare(&that1.NonnullBytes[i]); c != 0 { |
| 2505 |
return c |
| 2506 |
} |
| 2507 |
} |
| 2508 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 2509 |
return c |
| 2510 |
} |
| 2511 |
return 0 |
| 2512 |
} |
| 2513 |
func (this *KnownTypes) VerboseEqual(that interface{}) error { |
| 2514 |
if that == nil { |
| 2515 |
if this == nil { |
| 2516 |
return nil |
| 2517 |
} |
| 2518 |
return fmt.Errorf("that == nil && this != nil") |
| 2519 |
} |
| 2520 |
|
| 2521 |
that1, ok := that.(*KnownTypes) |
| 2522 |
if !ok { |
| 2523 |
that2, ok := that.(KnownTypes) |
| 2524 |
if ok { |
| 2525 |
that1 = &that2 |
| 2526 |
} else { |
| 2527 |
return fmt.Errorf("that is not of type *KnownTypes") |
| 2528 |
} |
| 2529 |
} |
| 2530 |
if that1 == nil { |
| 2531 |
if this == nil { |
| 2532 |
return nil |
| 2533 |
} |
| 2534 |
return fmt.Errorf("that is type *KnownTypes but is nil && this != nil") |
| 2535 |
} else if this == nil { |
| 2536 |
return fmt.Errorf("that is type *KnownTypes but is not nil && this == nil") |
| 2537 |
} |
| 2538 |
if !this.Dur.Equal(that1.Dur) { |
| 2539 |
return fmt.Errorf("Dur this(%v) Not Equal that(%v)", this.Dur, that1.Dur) |
| 2540 |
} |
| 2541 |
if !this.Ts.Equal(that1.Ts) { |
| 2542 |
return fmt.Errorf("Ts this(%v) Not Equal that(%v)", this.Ts, that1.Ts) |
| 2543 |
} |
| 2544 |
if !this.Dbl.Equal(that1.Dbl) { |
| 2545 |
return fmt.Errorf("Dbl this(%v) Not Equal that(%v)", this.Dbl, that1.Dbl) |
| 2546 |
} |
| 2547 |
if !this.Flt.Equal(that1.Flt) { |
| 2548 |
return fmt.Errorf("Flt this(%v) Not Equal that(%v)", this.Flt, that1.Flt) |
| 2549 |
} |
| 2550 |
if !this.I64.Equal(that1.I64) { |
| 2551 |
return fmt.Errorf("I64 this(%v) Not Equal that(%v)", this.I64, that1.I64) |
| 2552 |
} |
| 2553 |
if !this.U64.Equal(that1.U64) { |
| 2554 |
return fmt.Errorf("U64 this(%v) Not Equal that(%v)", this.U64, that1.U64) |
| 2555 |
} |
| 2556 |
if !this.I32.Equal(that1.I32) { |
| 2557 |
return fmt.Errorf("I32 this(%v) Not Equal that(%v)", this.I32, that1.I32) |
| 2558 |
} |
| 2559 |
if !this.U32.Equal(that1.U32) { |
| 2560 |
return fmt.Errorf("U32 this(%v) Not Equal that(%v)", this.U32, that1.U32) |
| 2561 |
} |
| 2562 |
if !this.Bool.Equal(that1.Bool) { |
| 2563 |
return fmt.Errorf("Bool this(%v) Not Equal that(%v)", this.Bool, that1.Bool) |
| 2564 |
} |
| 2565 |
if !this.Str.Equal(that1.Str) { |
| 2566 |
return fmt.Errorf("Str this(%v) Not Equal that(%v)", this.Str, that1.Str) |
| 2567 |
} |
| 2568 |
if !this.Bytes.Equal(that1.Bytes) { |
| 2569 |
return fmt.Errorf("Bytes this(%v) Not Equal that(%v)", this.Bytes, that1.Bytes) |
| 2570 |
} |
| 2571 |
if !this.St.Equal(that1.St) { |
| 2572 |
return fmt.Errorf("St this(%v) Not Equal that(%v)", this.St, that1.St) |
| 2573 |
} |
| 2574 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2575 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 2576 |
} |
| 2577 |
return nil |
| 2578 |
} |
| 2579 |
func (this *KnownTypes) Equal(that interface{}) bool { |
| 2580 |
if that == nil { |
| 2581 |
return this == nil |
| 2582 |
} |
| 2583 |
|
| 2584 |
that1, ok := that.(*KnownTypes) |
| 2585 |
if !ok { |
| 2586 |
that2, ok := that.(KnownTypes) |
| 2587 |
if ok { |
| 2588 |
that1 = &that2 |
| 2589 |
} else { |
| 2590 |
return false |
| 2591 |
} |
| 2592 |
} |
| 2593 |
if that1 == nil { |
| 2594 |
return this == nil |
| 2595 |
} else if this == nil { |
| 2596 |
return false |
| 2597 |
} |
| 2598 |
if !this.Dur.Equal(that1.Dur) { |
| 2599 |
return false |
| 2600 |
} |
| 2601 |
if !this.Ts.Equal(that1.Ts) { |
| 2602 |
return false |
| 2603 |
} |
| 2604 |
if !this.Dbl.Equal(that1.Dbl) { |
| 2605 |
return false |
| 2606 |
} |
| 2607 |
if !this.Flt.Equal(that1.Flt) { |
| 2608 |
return false |
| 2609 |
} |
| 2610 |
if !this.I64.Equal(that1.I64) { |
| 2611 |
return false |
| 2612 |
} |
| 2613 |
if !this.U64.Equal(that1.U64) { |
| 2614 |
return false |
| 2615 |
} |
| 2616 |
if !this.I32.Equal(that1.I32) { |
| 2617 |
return false |
| 2618 |
} |
| 2619 |
if !this.U32.Equal(that1.U32) { |
| 2620 |
return false |
| 2621 |
} |
| 2622 |
if !this.Bool.Equal(that1.Bool) { |
| 2623 |
return false |
| 2624 |
} |
| 2625 |
if !this.Str.Equal(that1.Str) { |
| 2626 |
return false |
| 2627 |
} |
| 2628 |
if !this.Bytes.Equal(that1.Bytes) { |
| 2629 |
return false |
| 2630 |
} |
| 2631 |
if !this.St.Equal(that1.St) { |
| 2632 |
return false |
| 2633 |
} |
| 2634 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2635 |
return false |
| 2636 |
} |
| 2637 |
return true |
| 2638 |
} |
| 2639 |
func (this *ProtoTypes) VerboseEqual(that interface{}) error { |
| 2640 |
if that == nil { |
| 2641 |
if this == nil { |
| 2642 |
return nil |
| 2643 |
} |
| 2644 |
return fmt.Errorf("that == nil && this != nil") |
| 2645 |
} |
| 2646 |
|
| 2647 |
that1, ok := that.(*ProtoTypes) |
| 2648 |
if !ok { |
| 2649 |
that2, ok := that.(ProtoTypes) |
| 2650 |
if ok { |
| 2651 |
that1 = &that2 |
| 2652 |
} else { |
| 2653 |
return fmt.Errorf("that is not of type *ProtoTypes") |
| 2654 |
} |
| 2655 |
} |
| 2656 |
if that1 == nil { |
| 2657 |
if this == nil { |
| 2658 |
return nil |
| 2659 |
} |
| 2660 |
return fmt.Errorf("that is type *ProtoTypes but is nil && this != nil") |
| 2661 |
} else if this == nil { |
| 2662 |
return fmt.Errorf("that is type *ProtoTypes but is not nil && this == nil") |
| 2663 |
} |
| 2664 |
if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { |
| 2665 |
return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) |
| 2666 |
} |
| 2667 |
if !this.NullableDuration.Equal(that1.NullableDuration) { |
| 2668 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) |
| 2669 |
} |
| 2670 |
if !this.NullableDouble.Equal(that1.NullableDouble) { |
| 2671 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) |
| 2672 |
} |
| 2673 |
if !this.NullableFloat.Equal(that1.NullableFloat) { |
| 2674 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) |
| 2675 |
} |
| 2676 |
if !this.NullableInt64.Equal(that1.NullableInt64) { |
| 2677 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) |
| 2678 |
} |
| 2679 |
if !this.NullableUInt64.Equal(that1.NullableUInt64) { |
| 2680 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) |
| 2681 |
} |
| 2682 |
if !this.NullableInt32.Equal(that1.NullableInt32) { |
| 2683 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) |
| 2684 |
} |
| 2685 |
if !this.NullableUInt32.Equal(that1.NullableUInt32) { |
| 2686 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) |
| 2687 |
} |
| 2688 |
if !this.NullableBool.Equal(that1.NullableBool) { |
| 2689 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) |
| 2690 |
} |
| 2691 |
if !this.NullableString.Equal(that1.NullableString) { |
| 2692 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) |
| 2693 |
} |
| 2694 |
if !this.NullableBytes.Equal(that1.NullableBytes) { |
| 2695 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) |
| 2696 |
} |
| 2697 |
if !this.Timestamp.Equal(&that1.Timestamp) { |
| 2698 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) |
| 2699 |
} |
| 2700 |
if !this.Duration.Equal(&that1.Duration) { |
| 2701 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) |
| 2702 |
} |
| 2703 |
if !this.NonnullDouble.Equal(&that1.NonnullDouble) { |
| 2704 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) |
| 2705 |
} |
| 2706 |
if !this.NonnullFloat.Equal(&that1.NonnullFloat) { |
| 2707 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) |
| 2708 |
} |
| 2709 |
if !this.NonnullInt64.Equal(&that1.NonnullInt64) { |
| 2710 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) |
| 2711 |
} |
| 2712 |
if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { |
| 2713 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) |
| 2714 |
} |
| 2715 |
if !this.NonnullInt32.Equal(&that1.NonnullInt32) { |
| 2716 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) |
| 2717 |
} |
| 2718 |
if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { |
| 2719 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) |
| 2720 |
} |
| 2721 |
if !this.NonnullBool.Equal(&that1.NonnullBool) { |
| 2722 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) |
| 2723 |
} |
| 2724 |
if !this.NonnullString.Equal(&that1.NonnullString) { |
| 2725 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) |
| 2726 |
} |
| 2727 |
if !this.NonnullBytes.Equal(&that1.NonnullBytes) { |
| 2728 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) |
| 2729 |
} |
| 2730 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2731 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 2732 |
} |
| 2733 |
return nil |
| 2734 |
} |
| 2735 |
func (this *ProtoTypes) Equal(that interface{}) bool { |
| 2736 |
if that == nil { |
| 2737 |
return this == nil |
| 2738 |
} |
| 2739 |
|
| 2740 |
that1, ok := that.(*ProtoTypes) |
| 2741 |
if !ok { |
| 2742 |
that2, ok := that.(ProtoTypes) |
| 2743 |
if ok { |
| 2744 |
that1 = &that2 |
| 2745 |
} else { |
| 2746 |
return false |
| 2747 |
} |
| 2748 |
} |
| 2749 |
if that1 == nil { |
| 2750 |
return this == nil |
| 2751 |
} else if this == nil { |
| 2752 |
return false |
| 2753 |
} |
| 2754 |
if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { |
| 2755 |
return false |
| 2756 |
} |
| 2757 |
if !this.NullableDuration.Equal(that1.NullableDuration) { |
| 2758 |
return false |
| 2759 |
} |
| 2760 |
if !this.NullableDouble.Equal(that1.NullableDouble) { |
| 2761 |
return false |
| 2762 |
} |
| 2763 |
if !this.NullableFloat.Equal(that1.NullableFloat) { |
| 2764 |
return false |
| 2765 |
} |
| 2766 |
if !this.NullableInt64.Equal(that1.NullableInt64) { |
| 2767 |
return false |
| 2768 |
} |
| 2769 |
if !this.NullableUInt64.Equal(that1.NullableUInt64) { |
| 2770 |
return false |
| 2771 |
} |
| 2772 |
if !this.NullableInt32.Equal(that1.NullableInt32) { |
| 2773 |
return false |
| 2774 |
} |
| 2775 |
if !this.NullableUInt32.Equal(that1.NullableUInt32) { |
| 2776 |
return false |
| 2777 |
} |
| 2778 |
if !this.NullableBool.Equal(that1.NullableBool) { |
| 2779 |
return false |
| 2780 |
} |
| 2781 |
if !this.NullableString.Equal(that1.NullableString) { |
| 2782 |
return false |
| 2783 |
} |
| 2784 |
if !this.NullableBytes.Equal(that1.NullableBytes) { |
| 2785 |
return false |
| 2786 |
} |
| 2787 |
if !this.Timestamp.Equal(&that1.Timestamp) { |
| 2788 |
return false |
| 2789 |
} |
| 2790 |
if !this.Duration.Equal(&that1.Duration) { |
| 2791 |
return false |
| 2792 |
} |
| 2793 |
if !this.NonnullDouble.Equal(&that1.NonnullDouble) { |
| 2794 |
return false |
| 2795 |
} |
| 2796 |
if !this.NonnullFloat.Equal(&that1.NonnullFloat) { |
| 2797 |
return false |
| 2798 |
} |
| 2799 |
if !this.NonnullInt64.Equal(&that1.NonnullInt64) { |
| 2800 |
return false |
| 2801 |
} |
| 2802 |
if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { |
| 2803 |
return false |
| 2804 |
} |
| 2805 |
if !this.NonnullInt32.Equal(&that1.NonnullInt32) { |
| 2806 |
return false |
| 2807 |
} |
| 2808 |
if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { |
| 2809 |
return false |
| 2810 |
} |
| 2811 |
if !this.NonnullBool.Equal(&that1.NonnullBool) { |
| 2812 |
return false |
| 2813 |
} |
| 2814 |
if !this.NonnullString.Equal(&that1.NonnullString) { |
| 2815 |
return false |
| 2816 |
} |
| 2817 |
if !this.NonnullBytes.Equal(&that1.NonnullBytes) { |
| 2818 |
return false |
| 2819 |
} |
| 2820 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2821 |
return false |
| 2822 |
} |
| 2823 |
return true |
| 2824 |
} |
| 2825 |
func (this *StdTypes) VerboseEqual(that interface{}) error { |
| 2826 |
if that == nil { |
| 2827 |
if this == nil { |
| 2828 |
return nil |
| 2829 |
} |
| 2830 |
return fmt.Errorf("that == nil && this != nil") |
| 2831 |
} |
| 2832 |
|
| 2833 |
that1, ok := that.(*StdTypes) |
| 2834 |
if !ok { |
| 2835 |
that2, ok := that.(StdTypes) |
| 2836 |
if ok { |
| 2837 |
that1 = &that2 |
| 2838 |
} else { |
| 2839 |
return fmt.Errorf("that is not of type *StdTypes") |
| 2840 |
} |
| 2841 |
} |
| 2842 |
if that1 == nil { |
| 2843 |
if this == nil { |
| 2844 |
return nil |
| 2845 |
} |
| 2846 |
return fmt.Errorf("that is type *StdTypes but is nil && this != nil") |
| 2847 |
} else if this == nil { |
| 2848 |
return fmt.Errorf("that is type *StdTypes but is not nil && this == nil") |
| 2849 |
} |
| 2850 |
if that1.NullableTimestamp == nil { |
| 2851 |
if this.NullableTimestamp != nil { |
| 2852 |
return fmt.Errorf("this.NullableTimestamp != nil && that1.NullableTimestamp == nil") |
| 2853 |
} |
| 2854 |
} else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { |
| 2855 |
return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) |
| 2856 |
} |
| 2857 |
if this.NullableDuration != nil && that1.NullableDuration != nil { |
| 2858 |
if *this.NullableDuration != *that1.NullableDuration { |
| 2859 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", *this.NullableDuration, *that1.NullableDuration) |
| 2860 |
} |
| 2861 |
} else if this.NullableDuration != nil { |
| 2862 |
return fmt.Errorf("this.NullableDuration == nil && that.NullableDuration != nil") |
| 2863 |
} else if that1.NullableDuration != nil { |
| 2864 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) |
| 2865 |
} |
| 2866 |
if this.NullableDouble != nil && that1.NullableDouble != nil { |
| 2867 |
if *this.NullableDouble != *that1.NullableDouble { |
| 2868 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", *this.NullableDouble, *that1.NullableDouble) |
| 2869 |
} |
| 2870 |
} else if this.NullableDouble != nil { |
| 2871 |
return fmt.Errorf("this.NullableDouble == nil && that.NullableDouble != nil") |
| 2872 |
} else if that1.NullableDouble != nil { |
| 2873 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) |
| 2874 |
} |
| 2875 |
if this.NullableFloat != nil && that1.NullableFloat != nil { |
| 2876 |
if *this.NullableFloat != *that1.NullableFloat { |
| 2877 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", *this.NullableFloat, *that1.NullableFloat) |
| 2878 |
} |
| 2879 |
} else if this.NullableFloat != nil { |
| 2880 |
return fmt.Errorf("this.NullableFloat == nil && that.NullableFloat != nil") |
| 2881 |
} else if that1.NullableFloat != nil { |
| 2882 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) |
| 2883 |
} |
| 2884 |
if this.NullableInt64 != nil && that1.NullableInt64 != nil { |
| 2885 |
if *this.NullableInt64 != *that1.NullableInt64 { |
| 2886 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", *this.NullableInt64, *that1.NullableInt64) |
| 2887 |
} |
| 2888 |
} else if this.NullableInt64 != nil { |
| 2889 |
return fmt.Errorf("this.NullableInt64 == nil && that.NullableInt64 != nil") |
| 2890 |
} else if that1.NullableInt64 != nil { |
| 2891 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) |
| 2892 |
} |
| 2893 |
if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { |
| 2894 |
if *this.NullableUInt64 != *that1.NullableUInt64 { |
| 2895 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", *this.NullableUInt64, *that1.NullableUInt64) |
| 2896 |
} |
| 2897 |
} else if this.NullableUInt64 != nil { |
| 2898 |
return fmt.Errorf("this.NullableUInt64 == nil && that.NullableUInt64 != nil") |
| 2899 |
} else if that1.NullableUInt64 != nil { |
| 2900 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) |
| 2901 |
} |
| 2902 |
if this.NullableInt32 != nil && that1.NullableInt32 != nil { |
| 2903 |
if *this.NullableInt32 != *that1.NullableInt32 { |
| 2904 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", *this.NullableInt32, *that1.NullableInt32) |
| 2905 |
} |
| 2906 |
} else if this.NullableInt32 != nil { |
| 2907 |
return fmt.Errorf("this.NullableInt32 == nil && that.NullableInt32 != nil") |
| 2908 |
} else if that1.NullableInt32 != nil { |
| 2909 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) |
| 2910 |
} |
| 2911 |
if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { |
| 2912 |
if *this.NullableUInt32 != *that1.NullableUInt32 { |
| 2913 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", *this.NullableUInt32, *that1.NullableUInt32) |
| 2914 |
} |
| 2915 |
} else if this.NullableUInt32 != nil { |
| 2916 |
return fmt.Errorf("this.NullableUInt32 == nil && that.NullableUInt32 != nil") |
| 2917 |
} else if that1.NullableUInt32 != nil { |
| 2918 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) |
| 2919 |
} |
| 2920 |
if this.NullableBool != nil && that1.NullableBool != nil { |
| 2921 |
if *this.NullableBool != *that1.NullableBool { |
| 2922 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", *this.NullableBool, *that1.NullableBool) |
| 2923 |
} |
| 2924 |
} else if this.NullableBool != nil { |
| 2925 |
return fmt.Errorf("this.NullableBool == nil && that.NullableBool != nil") |
| 2926 |
} else if that1.NullableBool != nil { |
| 2927 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) |
| 2928 |
} |
| 2929 |
if this.NullableString != nil && that1.NullableString != nil { |
| 2930 |
if *this.NullableString != *that1.NullableString { |
| 2931 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", *this.NullableString, *that1.NullableString) |
| 2932 |
} |
| 2933 |
} else if this.NullableString != nil { |
| 2934 |
return fmt.Errorf("this.NullableString == nil && that.NullableString != nil") |
| 2935 |
} else if that1.NullableString != nil { |
| 2936 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) |
| 2937 |
} |
| 2938 |
if that1.NullableBytes == nil { |
| 2939 |
if this.NullableBytes != nil { |
| 2940 |
return fmt.Errorf("this.NullableBytes != nil && that1.NullableBytes == nil") |
| 2941 |
} |
| 2942 |
} else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { |
| 2943 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) |
| 2944 |
} |
| 2945 |
if !this.Timestamp.Equal(that1.Timestamp) { |
| 2946 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) |
| 2947 |
} |
| 2948 |
if this.Duration != that1.Duration { |
| 2949 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) |
| 2950 |
} |
| 2951 |
if this.NonnullDouble != that1.NonnullDouble { |
| 2952 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) |
| 2953 |
} |
| 2954 |
if this.NonnullFloat != that1.NonnullFloat { |
| 2955 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) |
| 2956 |
} |
| 2957 |
if this.NonnullInt64 != that1.NonnullInt64 { |
| 2958 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) |
| 2959 |
} |
| 2960 |
if this.NonnullUInt64 != that1.NonnullUInt64 { |
| 2961 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) |
| 2962 |
} |
| 2963 |
if this.NonnullInt32 != that1.NonnullInt32 { |
| 2964 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) |
| 2965 |
} |
| 2966 |
if this.NonnullUInt32 != that1.NonnullUInt32 { |
| 2967 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) |
| 2968 |
} |
| 2969 |
if this.NonnullBool != that1.NonnullBool { |
| 2970 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) |
| 2971 |
} |
| 2972 |
if this.NonnullString != that1.NonnullString { |
| 2973 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) |
| 2974 |
} |
| 2975 |
if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { |
| 2976 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) |
| 2977 |
} |
| 2978 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2979 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 2980 |
} |
| 2981 |
return nil |
| 2982 |
} |
| 2983 |
func (this *StdTypes) Equal(that interface{}) bool { |
| 2984 |
if that == nil { |
| 2985 |
return this == nil |
| 2986 |
} |
| 2987 |
|
| 2988 |
that1, ok := that.(*StdTypes) |
| 2989 |
if !ok { |
| 2990 |
that2, ok := that.(StdTypes) |
| 2991 |
if ok { |
| 2992 |
that1 = &that2 |
| 2993 |
} else { |
| 2994 |
return false |
| 2995 |
} |
| 2996 |
} |
| 2997 |
if that1 == nil { |
| 2998 |
return this == nil |
| 2999 |
} else if this == nil { |
| 3000 |
return false |
| 3001 |
} |
| 3002 |
if that1.NullableTimestamp == nil { |
| 3003 |
if this.NullableTimestamp != nil { |
| 3004 |
return false |
| 3005 |
} |
| 3006 |
} else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { |
| 3007 |
return false |
| 3008 |
} |
| 3009 |
if this.NullableDuration != nil && that1.NullableDuration != nil { |
| 3010 |
if *this.NullableDuration != *that1.NullableDuration { |
| 3011 |
return false |
| 3012 |
} |
| 3013 |
} else if this.NullableDuration != nil { |
| 3014 |
return false |
| 3015 |
} else if that1.NullableDuration != nil { |
| 3016 |
return false |
| 3017 |
} |
| 3018 |
if this.NullableDouble != nil && that1.NullableDouble != nil { |
| 3019 |
if *this.NullableDouble != *that1.NullableDouble { |
| 3020 |
return false |
| 3021 |
} |
| 3022 |
} else if this.NullableDouble != nil { |
| 3023 |
return false |
| 3024 |
} else if that1.NullableDouble != nil { |
| 3025 |
return false |
| 3026 |
} |
| 3027 |
if this.NullableFloat != nil && that1.NullableFloat != nil { |
| 3028 |
if *this.NullableFloat != *that1.NullableFloat { |
| 3029 |
return false |
| 3030 |
} |
| 3031 |
} else if this.NullableFloat != nil { |
| 3032 |
return false |
| 3033 |
} else if that1.NullableFloat != nil { |
| 3034 |
return false |
| 3035 |
} |
| 3036 |
if this.NullableInt64 != nil && that1.NullableInt64 != nil { |
| 3037 |
if *this.NullableInt64 != *that1.NullableInt64 { |
| 3038 |
return false |
| 3039 |
} |
| 3040 |
} else if this.NullableInt64 != nil { |
| 3041 |
return false |
| 3042 |
} else if that1.NullableInt64 != nil { |
| 3043 |
return false |
| 3044 |
} |
| 3045 |
if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { |
| 3046 |
if *this.NullableUInt64 != *that1.NullableUInt64 { |
| 3047 |
return false |
| 3048 |
} |
| 3049 |
} else if this.NullableUInt64 != nil { |
| 3050 |
return false |
| 3051 |
} else if that1.NullableUInt64 != nil { |
| 3052 |
return false |
| 3053 |
} |
| 3054 |
if this.NullableInt32 != nil && that1.NullableInt32 != nil { |
| 3055 |
if *this.NullableInt32 != *that1.NullableInt32 { |
| 3056 |
return false |
| 3057 |
} |
| 3058 |
} else if this.NullableInt32 != nil { |
| 3059 |
return false |
| 3060 |
} else if that1.NullableInt32 != nil { |
| 3061 |
return false |
| 3062 |
} |
| 3063 |
if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { |
| 3064 |
if *this.NullableUInt32 != *that1.NullableUInt32 { |
| 3065 |
return false |
| 3066 |
} |
| 3067 |
} else if this.NullableUInt32 != nil { |
| 3068 |
return false |
| 3069 |
} else if that1.NullableUInt32 != nil { |
| 3070 |
return false |
| 3071 |
} |
| 3072 |
if this.NullableBool != nil && that1.NullableBool != nil { |
| 3073 |
if *this.NullableBool != *that1.NullableBool { |
| 3074 |
return false |
| 3075 |
} |
| 3076 |
} else if this.NullableBool != nil { |
| 3077 |
return false |
| 3078 |
} else if that1.NullableBool != nil { |
| 3079 |
return false |
| 3080 |
} |
| 3081 |
if this.NullableString != nil && that1.NullableString != nil { |
| 3082 |
if *this.NullableString != *that1.NullableString { |
| 3083 |
return false |
| 3084 |
} |
| 3085 |
} else if this.NullableString != nil { |
| 3086 |
return false |
| 3087 |
} else if that1.NullableString != nil { |
| 3088 |
return false |
| 3089 |
} |
| 3090 |
if that1.NullableBytes == nil { |
| 3091 |
if this.NullableBytes != nil { |
| 3092 |
return false |
| 3093 |
} |
| 3094 |
} else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { |
| 3095 |
return false |
| 3096 |
} |
| 3097 |
if !this.Timestamp.Equal(that1.Timestamp) { |
| 3098 |
return false |
| 3099 |
} |
| 3100 |
if this.Duration != that1.Duration { |
| 3101 |
return false |
| 3102 |
} |
| 3103 |
if this.NonnullDouble != that1.NonnullDouble { |
| 3104 |
return false |
| 3105 |
} |
| 3106 |
if this.NonnullFloat != that1.NonnullFloat { |
| 3107 |
return false |
| 3108 |
} |
| 3109 |
if this.NonnullInt64 != that1.NonnullInt64 { |
| 3110 |
return false |
| 3111 |
} |
| 3112 |
if this.NonnullUInt64 != that1.NonnullUInt64 { |
| 3113 |
return false |
| 3114 |
} |
| 3115 |
if this.NonnullInt32 != that1.NonnullInt32 { |
| 3116 |
return false |
| 3117 |
} |
| 3118 |
if this.NonnullUInt32 != that1.NonnullUInt32 { |
| 3119 |
return false |
| 3120 |
} |
| 3121 |
if this.NonnullBool != that1.NonnullBool { |
| 3122 |
return false |
| 3123 |
} |
| 3124 |
if this.NonnullString != that1.NonnullString { |
| 3125 |
return false |
| 3126 |
} |
| 3127 |
if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { |
| 3128 |
return false |
| 3129 |
} |
| 3130 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3131 |
return false |
| 3132 |
} |
| 3133 |
return true |
| 3134 |
} |
| 3135 |
func (this *RepProtoTypes) VerboseEqual(that interface{}) error { |
| 3136 |
if that == nil { |
| 3137 |
if this == nil { |
| 3138 |
return nil |
| 3139 |
} |
| 3140 |
return fmt.Errorf("that == nil && this != nil") |
| 3141 |
} |
| 3142 |
|
| 3143 |
that1, ok := that.(*RepProtoTypes) |
| 3144 |
if !ok { |
| 3145 |
that2, ok := that.(RepProtoTypes) |
| 3146 |
if ok { |
| 3147 |
that1 = &that2 |
| 3148 |
} else { |
| 3149 |
return fmt.Errorf("that is not of type *RepProtoTypes") |
| 3150 |
} |
| 3151 |
} |
| 3152 |
if that1 == nil { |
| 3153 |
if this == nil { |
| 3154 |
return nil |
| 3155 |
} |
| 3156 |
return fmt.Errorf("that is type *RepProtoTypes but is nil && this != nil") |
| 3157 |
} else if this == nil { |
| 3158 |
return fmt.Errorf("that is type *RepProtoTypes but is not nil && this == nil") |
| 3159 |
} |
| 3160 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 3161 |
return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) |
| 3162 |
} |
| 3163 |
for i := range this.NullableTimestamps { |
| 3164 |
if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { |
| 3165 |
return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) |
| 3166 |
} |
| 3167 |
} |
| 3168 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 3169 |
return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) |
| 3170 |
} |
| 3171 |
for i := range this.NullableDurations { |
| 3172 |
if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { |
| 3173 |
return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) |
| 3174 |
} |
| 3175 |
} |
| 3176 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 3177 |
return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) |
| 3178 |
} |
| 3179 |
for i := range this.Timestamps { |
| 3180 |
if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { |
| 3181 |
return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) |
| 3182 |
} |
| 3183 |
} |
| 3184 |
if len(this.Durations) != len(that1.Durations) { |
| 3185 |
return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) |
| 3186 |
} |
| 3187 |
for i := range this.Durations { |
| 3188 |
if !this.Durations[i].Equal(&that1.Durations[i]) { |
| 3189 |
return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) |
| 3190 |
} |
| 3191 |
} |
| 3192 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 3193 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) |
| 3194 |
} |
| 3195 |
for i := range this.NullableDouble { |
| 3196 |
if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { |
| 3197 |
return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) |
| 3198 |
} |
| 3199 |
} |
| 3200 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 3201 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) |
| 3202 |
} |
| 3203 |
for i := range this.NonnullDouble { |
| 3204 |
if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { |
| 3205 |
return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) |
| 3206 |
} |
| 3207 |
} |
| 3208 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 3209 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) |
| 3210 |
} |
| 3211 |
for i := range this.NullableFloat { |
| 3212 |
if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { |
| 3213 |
return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) |
| 3214 |
} |
| 3215 |
} |
| 3216 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 3217 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) |
| 3218 |
} |
| 3219 |
for i := range this.NonnullFloat { |
| 3220 |
if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { |
| 3221 |
return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) |
| 3222 |
} |
| 3223 |
} |
| 3224 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 3225 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) |
| 3226 |
} |
| 3227 |
for i := range this.NullableInt64 { |
| 3228 |
if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { |
| 3229 |
return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) |
| 3230 |
} |
| 3231 |
} |
| 3232 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 3233 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) |
| 3234 |
} |
| 3235 |
for i := range this.NonnullInt64 { |
| 3236 |
if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { |
| 3237 |
return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) |
| 3238 |
} |
| 3239 |
} |
| 3240 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 3241 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) |
| 3242 |
} |
| 3243 |
for i := range this.NullableUInt64 { |
| 3244 |
if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { |
| 3245 |
return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) |
| 3246 |
} |
| 3247 |
} |
| 3248 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 3249 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) |
| 3250 |
} |
| 3251 |
for i := range this.NonnullUInt64 { |
| 3252 |
if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { |
| 3253 |
return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) |
| 3254 |
} |
| 3255 |
} |
| 3256 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 3257 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) |
| 3258 |
} |
| 3259 |
for i := range this.NullableInt32 { |
| 3260 |
if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { |
| 3261 |
return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) |
| 3262 |
} |
| 3263 |
} |
| 3264 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 3265 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) |
| 3266 |
} |
| 3267 |
for i := range this.NonnullInt32 { |
| 3268 |
if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { |
| 3269 |
return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) |
| 3270 |
} |
| 3271 |
} |
| 3272 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 3273 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) |
| 3274 |
} |
| 3275 |
for i := range this.NullableUInt32 { |
| 3276 |
if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { |
| 3277 |
return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) |
| 3278 |
} |
| 3279 |
} |
| 3280 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 3281 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) |
| 3282 |
} |
| 3283 |
for i := range this.NonnullUInt32 { |
| 3284 |
if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { |
| 3285 |
return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) |
| 3286 |
} |
| 3287 |
} |
| 3288 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 3289 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) |
| 3290 |
} |
| 3291 |
for i := range this.NullableBool { |
| 3292 |
if !this.NullableBool[i].Equal(that1.NullableBool[i]) { |
| 3293 |
return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) |
| 3294 |
} |
| 3295 |
} |
| 3296 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 3297 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) |
| 3298 |
} |
| 3299 |
for i := range this.NonnullBool { |
| 3300 |
if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { |
| 3301 |
return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) |
| 3302 |
} |
| 3303 |
} |
| 3304 |
if len(this.NullableString) != len(that1.NullableString) { |
| 3305 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) |
| 3306 |
} |
| 3307 |
for i := range this.NullableString { |
| 3308 |
if !this.NullableString[i].Equal(that1.NullableString[i]) { |
| 3309 |
return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) |
| 3310 |
} |
| 3311 |
} |
| 3312 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 3313 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) |
| 3314 |
} |
| 3315 |
for i := range this.NonnullString { |
| 3316 |
if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { |
| 3317 |
return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) |
| 3318 |
} |
| 3319 |
} |
| 3320 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 3321 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) |
| 3322 |
} |
| 3323 |
for i := range this.NullableBytes { |
| 3324 |
if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { |
| 3325 |
return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) |
| 3326 |
} |
| 3327 |
} |
| 3328 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 3329 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) |
| 3330 |
} |
| 3331 |
for i := range this.NonnullBytes { |
| 3332 |
if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { |
| 3333 |
return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) |
| 3334 |
} |
| 3335 |
} |
| 3336 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3337 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 3338 |
} |
| 3339 |
return nil |
| 3340 |
} |
| 3341 |
func (this *RepProtoTypes) Equal(that interface{}) bool { |
| 3342 |
if that == nil { |
| 3343 |
return this == nil |
| 3344 |
} |
| 3345 |
|
| 3346 |
that1, ok := that.(*RepProtoTypes) |
| 3347 |
if !ok { |
| 3348 |
that2, ok := that.(RepProtoTypes) |
| 3349 |
if ok { |
| 3350 |
that1 = &that2 |
| 3351 |
} else { |
| 3352 |
return false |
| 3353 |
} |
| 3354 |
} |
| 3355 |
if that1 == nil { |
| 3356 |
return this == nil |
| 3357 |
} else if this == nil { |
| 3358 |
return false |
| 3359 |
} |
| 3360 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 3361 |
return false |
| 3362 |
} |
| 3363 |
for i := range this.NullableTimestamps { |
| 3364 |
if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { |
| 3365 |
return false |
| 3366 |
} |
| 3367 |
} |
| 3368 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 3369 |
return false |
| 3370 |
} |
| 3371 |
for i := range this.NullableDurations { |
| 3372 |
if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { |
| 3373 |
return false |
| 3374 |
} |
| 3375 |
} |
| 3376 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 3377 |
return false |
| 3378 |
} |
| 3379 |
for i := range this.Timestamps { |
| 3380 |
if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { |
| 3381 |
return false |
| 3382 |
} |
| 3383 |
} |
| 3384 |
if len(this.Durations) != len(that1.Durations) { |
| 3385 |
return false |
| 3386 |
} |
| 3387 |
for i := range this.Durations { |
| 3388 |
if !this.Durations[i].Equal(&that1.Durations[i]) { |
| 3389 |
return false |
| 3390 |
} |
| 3391 |
} |
| 3392 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 3393 |
return false |
| 3394 |
} |
| 3395 |
for i := range this.NullableDouble { |
| 3396 |
if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { |
| 3397 |
return false |
| 3398 |
} |
| 3399 |
} |
| 3400 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 3401 |
return false |
| 3402 |
} |
| 3403 |
for i := range this.NonnullDouble { |
| 3404 |
if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { |
| 3405 |
return false |
| 3406 |
} |
| 3407 |
} |
| 3408 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 3409 |
return false |
| 3410 |
} |
| 3411 |
for i := range this.NullableFloat { |
| 3412 |
if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { |
| 3413 |
return false |
| 3414 |
} |
| 3415 |
} |
| 3416 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 3417 |
return false |
| 3418 |
} |
| 3419 |
for i := range this.NonnullFloat { |
| 3420 |
if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { |
| 3421 |
return false |
| 3422 |
} |
| 3423 |
} |
| 3424 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 3425 |
return false |
| 3426 |
} |
| 3427 |
for i := range this.NullableInt64 { |
| 3428 |
if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { |
| 3429 |
return false |
| 3430 |
} |
| 3431 |
} |
| 3432 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 3433 |
return false |
| 3434 |
} |
| 3435 |
for i := range this.NonnullInt64 { |
| 3436 |
if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { |
| 3437 |
return false |
| 3438 |
} |
| 3439 |
} |
| 3440 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 3441 |
return false |
| 3442 |
} |
| 3443 |
for i := range this.NullableUInt64 { |
| 3444 |
if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { |
| 3445 |
return false |
| 3446 |
} |
| 3447 |
} |
| 3448 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 3449 |
return false |
| 3450 |
} |
| 3451 |
for i := range this.NonnullUInt64 { |
| 3452 |
if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { |
| 3453 |
return false |
| 3454 |
} |
| 3455 |
} |
| 3456 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 3457 |
return false |
| 3458 |
} |
| 3459 |
for i := range this.NullableInt32 { |
| 3460 |
if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { |
| 3461 |
return false |
| 3462 |
} |
| 3463 |
} |
| 3464 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 3465 |
return false |
| 3466 |
} |
| 3467 |
for i := range this.NonnullInt32 { |
| 3468 |
if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { |
| 3469 |
return false |
| 3470 |
} |
| 3471 |
} |
| 3472 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 3473 |
return false |
| 3474 |
} |
| 3475 |
for i := range this.NullableUInt32 { |
| 3476 |
if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { |
| 3477 |
return false |
| 3478 |
} |
| 3479 |
} |
| 3480 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 3481 |
return false |
| 3482 |
} |
| 3483 |
for i := range this.NonnullUInt32 { |
| 3484 |
if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { |
| 3485 |
return false |
| 3486 |
} |
| 3487 |
} |
| 3488 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 3489 |
return false |
| 3490 |
} |
| 3491 |
for i := range this.NullableBool { |
| 3492 |
if !this.NullableBool[i].Equal(that1.NullableBool[i]) { |
| 3493 |
return false |
| 3494 |
} |
| 3495 |
} |
| 3496 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 3497 |
return false |
| 3498 |
} |
| 3499 |
for i := range this.NonnullBool { |
| 3500 |
if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { |
| 3501 |
return false |
| 3502 |
} |
| 3503 |
} |
| 3504 |
if len(this.NullableString) != len(that1.NullableString) { |
| 3505 |
return false |
| 3506 |
} |
| 3507 |
for i := range this.NullableString { |
| 3508 |
if !this.NullableString[i].Equal(that1.NullableString[i]) { |
| 3509 |
return false |
| 3510 |
} |
| 3511 |
} |
| 3512 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 3513 |
return false |
| 3514 |
} |
| 3515 |
for i := range this.NonnullString { |
| 3516 |
if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { |
| 3517 |
return false |
| 3518 |
} |
| 3519 |
} |
| 3520 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 3521 |
return false |
| 3522 |
} |
| 3523 |
for i := range this.NullableBytes { |
| 3524 |
if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { |
| 3525 |
return false |
| 3526 |
} |
| 3527 |
} |
| 3528 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 3529 |
return false |
| 3530 |
} |
| 3531 |
for i := range this.NonnullBytes { |
| 3532 |
if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { |
| 3533 |
return false |
| 3534 |
} |
| 3535 |
} |
| 3536 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3537 |
return false |
| 3538 |
} |
| 3539 |
return true |
| 3540 |
} |
| 3541 |
func (this *RepStdTypes) VerboseEqual(that interface{}) error { |
| 3542 |
if that == nil { |
| 3543 |
if this == nil { |
| 3544 |
return nil |
| 3545 |
} |
| 3546 |
return fmt.Errorf("that == nil && this != nil") |
| 3547 |
} |
| 3548 |
|
| 3549 |
that1, ok := that.(*RepStdTypes) |
| 3550 |
if !ok { |
| 3551 |
that2, ok := that.(RepStdTypes) |
| 3552 |
if ok { |
| 3553 |
that1 = &that2 |
| 3554 |
} else { |
| 3555 |
return fmt.Errorf("that is not of type *RepStdTypes") |
| 3556 |
} |
| 3557 |
} |
| 3558 |
if that1 == nil { |
| 3559 |
if this == nil { |
| 3560 |
return nil |
| 3561 |
} |
| 3562 |
return fmt.Errorf("that is type *RepStdTypes but is nil && this != nil") |
| 3563 |
} else if this == nil { |
| 3564 |
return fmt.Errorf("that is type *RepStdTypes but is not nil && this == nil") |
| 3565 |
} |
| 3566 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 3567 |
return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) |
| 3568 |
} |
| 3569 |
for i := range this.NullableTimestamps { |
| 3570 |
if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { |
| 3571 |
return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) |
| 3572 |
} |
| 3573 |
} |
| 3574 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 3575 |
return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) |
| 3576 |
} |
| 3577 |
for i := range this.NullableDurations { |
| 3578 |
if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3579 |
return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) |
| 3580 |
} |
| 3581 |
} |
| 3582 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 3583 |
return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) |
| 3584 |
} |
| 3585 |
for i := range this.Timestamps { |
| 3586 |
if !this.Timestamps[i].Equal(that1.Timestamps[i]) { |
| 3587 |
return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) |
| 3588 |
} |
| 3589 |
} |
| 3590 |
if len(this.Durations) != len(that1.Durations) { |
| 3591 |
return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) |
| 3592 |
} |
| 3593 |
for i := range this.Durations { |
| 3594 |
if this.Durations[i] != that1.Durations[i] { |
| 3595 |
return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) |
| 3596 |
} |
| 3597 |
} |
| 3598 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 3599 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) |
| 3600 |
} |
| 3601 |
for i := range this.NullableDouble { |
| 3602 |
if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3603 |
return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) |
| 3604 |
} |
| 3605 |
} |
| 3606 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 3607 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) |
| 3608 |
} |
| 3609 |
for i := range this.NonnullDouble { |
| 3610 |
if this.NonnullDouble[i] != that1.NonnullDouble[i] { |
| 3611 |
return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) |
| 3612 |
} |
| 3613 |
} |
| 3614 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 3615 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) |
| 3616 |
} |
| 3617 |
for i := range this.NullableFloat { |
| 3618 |
if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3619 |
return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) |
| 3620 |
} |
| 3621 |
} |
| 3622 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 3623 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) |
| 3624 |
} |
| 3625 |
for i := range this.NonnullFloat { |
| 3626 |
if this.NonnullFloat[i] != that1.NonnullFloat[i] { |
| 3627 |
return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) |
| 3628 |
} |
| 3629 |
} |
| 3630 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 3631 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) |
| 3632 |
} |
| 3633 |
for i := range this.NullableInt64 { |
| 3634 |
if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3635 |
return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) |
| 3636 |
} |
| 3637 |
} |
| 3638 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 3639 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) |
| 3640 |
} |
| 3641 |
for i := range this.NonnullInt64 { |
| 3642 |
if this.NonnullInt64[i] != that1.NonnullInt64[i] { |
| 3643 |
return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) |
| 3644 |
} |
| 3645 |
} |
| 3646 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 3647 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) |
| 3648 |
} |
| 3649 |
for i := range this.NullableUInt64 { |
| 3650 |
if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3651 |
return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) |
| 3652 |
} |
| 3653 |
} |
| 3654 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 3655 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) |
| 3656 |
} |
| 3657 |
for i := range this.NonnullUInt64 { |
| 3658 |
if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { |
| 3659 |
return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) |
| 3660 |
} |
| 3661 |
} |
| 3662 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 3663 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) |
| 3664 |
} |
| 3665 |
for i := range this.NullableInt32 { |
| 3666 |
if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3667 |
return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) |
| 3668 |
} |
| 3669 |
} |
| 3670 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 3671 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) |
| 3672 |
} |
| 3673 |
for i := range this.NonnullInt32 { |
| 3674 |
if this.NonnullInt32[i] != that1.NonnullInt32[i] { |
| 3675 |
return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) |
| 3676 |
} |
| 3677 |
} |
| 3678 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 3679 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) |
| 3680 |
} |
| 3681 |
for i := range this.NullableUInt32 { |
| 3682 |
if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3683 |
return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) |
| 3684 |
} |
| 3685 |
} |
| 3686 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 3687 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) |
| 3688 |
} |
| 3689 |
for i := range this.NonnullUInt32 { |
| 3690 |
if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { |
| 3691 |
return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) |
| 3692 |
} |
| 3693 |
} |
| 3694 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 3695 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) |
| 3696 |
} |
| 3697 |
for i := range this.NullableBool { |
| 3698 |
if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3699 |
return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) |
| 3700 |
} |
| 3701 |
} |
| 3702 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 3703 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) |
| 3704 |
} |
| 3705 |
for i := range this.NonnullBool { |
| 3706 |
if this.NonnullBool[i] != that1.NonnullBool[i] { |
| 3707 |
return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) |
| 3708 |
} |
| 3709 |
} |
| 3710 |
if len(this.NullableString) != len(that1.NullableString) { |
| 3711 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) |
| 3712 |
} |
| 3713 |
for i := range this.NullableString { |
| 3714 |
if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3715 |
return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) |
| 3716 |
} |
| 3717 |
} |
| 3718 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 3719 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) |
| 3720 |
} |
| 3721 |
for i := range this.NonnullString { |
| 3722 |
if this.NonnullString[i] != that1.NonnullString[i] { |
| 3723 |
return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) |
| 3724 |
} |
| 3725 |
} |
| 3726 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 3727 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) |
| 3728 |
} |
| 3729 |
for i := range this.NullableBytes { |
| 3730 |
if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { |
| 3731 |
return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) |
| 3732 |
} |
| 3733 |
} |
| 3734 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 3735 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) |
| 3736 |
} |
| 3737 |
for i := range this.NonnullBytes { |
| 3738 |
if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { |
| 3739 |
return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) |
| 3740 |
} |
| 3741 |
} |
| 3742 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3743 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 3744 |
} |
| 3745 |
return nil |
| 3746 |
} |
| 3747 |
func (this *RepStdTypes) Equal(that interface{}) bool { |
| 3748 |
if that == nil { |
| 3749 |
return this == nil |
| 3750 |
} |
| 3751 |
|
| 3752 |
that1, ok := that.(*RepStdTypes) |
| 3753 |
if !ok { |
| 3754 |
that2, ok := that.(RepStdTypes) |
| 3755 |
if ok { |
| 3756 |
that1 = &that2 |
| 3757 |
} else { |
| 3758 |
return false |
| 3759 |
} |
| 3760 |
} |
| 3761 |
if that1 == nil { |
| 3762 |
return this == nil |
| 3763 |
} else if this == nil { |
| 3764 |
return false |
| 3765 |
} |
| 3766 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 3767 |
return false |
| 3768 |
} |
| 3769 |
for i := range this.NullableTimestamps { |
| 3770 |
if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { |
| 3771 |
return false |
| 3772 |
} |
| 3773 |
} |
| 3774 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 3775 |
return false |
| 3776 |
} |
| 3777 |
for i := range this.NullableDurations { |
| 3778 |
if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3779 |
return false |
| 3780 |
} |
| 3781 |
} |
| 3782 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 3783 |
return false |
| 3784 |
} |
| 3785 |
for i := range this.Timestamps { |
| 3786 |
if !this.Timestamps[i].Equal(that1.Timestamps[i]) { |
| 3787 |
return false |
| 3788 |
} |
| 3789 |
} |
| 3790 |
if len(this.Durations) != len(that1.Durations) { |
| 3791 |
return false |
| 3792 |
} |
| 3793 |
for i := range this.Durations { |
| 3794 |
if this.Durations[i] != that1.Durations[i] { |
| 3795 |
return false |
| 3796 |
} |
| 3797 |
} |
| 3798 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 3799 |
return false |
| 3800 |
} |
| 3801 |
for i := range this.NullableDouble { |
| 3802 |
if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3803 |
return false |
| 3804 |
} |
| 3805 |
} |
| 3806 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 3807 |
return false |
| 3808 |
} |
| 3809 |
for i := range this.NonnullDouble { |
| 3810 |
if this.NonnullDouble[i] != that1.NonnullDouble[i] { |
| 3811 |
return false |
| 3812 |
} |
| 3813 |
} |
| 3814 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 3815 |
return false |
| 3816 |
} |
| 3817 |
for i := range this.NullableFloat { |
| 3818 |
if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3819 |
return false |
| 3820 |
} |
| 3821 |
} |
| 3822 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 3823 |
return false |
| 3824 |
} |
| 3825 |
for i := range this.NonnullFloat { |
| 3826 |
if this.NonnullFloat[i] != that1.NonnullFloat[i] { |
| 3827 |
return false |
| 3828 |
} |
| 3829 |
} |
| 3830 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 3831 |
return false |
| 3832 |
} |
| 3833 |
for i := range this.NullableInt64 { |
| 3834 |
if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3835 |
return false |
| 3836 |
} |
| 3837 |
} |
| 3838 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 3839 |
return false |
| 3840 |
} |
| 3841 |
for i := range this.NonnullInt64 { |
| 3842 |
if this.NonnullInt64[i] != that1.NonnullInt64[i] { |
| 3843 |
return false |
| 3844 |
} |
| 3845 |
} |
| 3846 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 3847 |
return false |
| 3848 |
} |
| 3849 |
for i := range this.NullableUInt64 { |
| 3850 |
if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3851 |
return false |
| 3852 |
} |
| 3853 |
} |
| 3854 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 3855 |
return false |
| 3856 |
} |
| 3857 |
for i := range this.NonnullUInt64 { |
| 3858 |
if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { |
| 3859 |
return false |
| 3860 |
} |
| 3861 |
} |
| 3862 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 3863 |
return false |
| 3864 |
} |
| 3865 |
for i := range this.NullableInt32 { |
| 3866 |
if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3867 |
return false |
| 3868 |
} |
| 3869 |
} |
| 3870 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 3871 |
return false |
| 3872 |
} |
| 3873 |
for i := range this.NonnullInt32 { |
| 3874 |
if this.NonnullInt32[i] != that1.NonnullInt32[i] { |
| 3875 |
return false |
| 3876 |
} |
| 3877 |
} |
| 3878 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 3879 |
return false |
| 3880 |
} |
| 3881 |
for i := range this.NullableUInt32 { |
| 3882 |
if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3883 |
return false |
| 3884 |
} |
| 3885 |
} |
| 3886 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 3887 |
return false |
| 3888 |
} |
| 3889 |
for i := range this.NonnullUInt32 { |
| 3890 |
if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { |
| 3891 |
return false |
| 3892 |
} |
| 3893 |
} |
| 3894 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 3895 |
return false |
| 3896 |
} |
| 3897 |
for i := range this.NullableBool { |
| 3898 |
if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3899 |
return false |
| 3900 |
} |
| 3901 |
} |
| 3902 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 3903 |
return false |
| 3904 |
} |
| 3905 |
for i := range this.NonnullBool { |
| 3906 |
if this.NonnullBool[i] != that1.NonnullBool[i] { |
| 3907 |
return false |
| 3908 |
} |
| 3909 |
} |
| 3910 |
if len(this.NullableString) != len(that1.NullableString) { |
| 3911 |
return false |
| 3912 |
} |
| 3913 |
for i := range this.NullableString { |
| 3914 |
if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3915 |
return false |
| 3916 |
} |
| 3917 |
} |
| 3918 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 3919 |
return false |
| 3920 |
} |
| 3921 |
for i := range this.NonnullString { |
| 3922 |
if this.NonnullString[i] != that1.NonnullString[i] { |
| 3923 |
return false |
| 3924 |
} |
| 3925 |
} |
| 3926 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 3927 |
return false |
| 3928 |
} |
| 3929 |
for i := range this.NullableBytes { |
| 3930 |
if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { |
| 3931 |
return false |
| 3932 |
} |
| 3933 |
} |
| 3934 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 3935 |
return false |
| 3936 |
} |
| 3937 |
for i := range this.NonnullBytes { |
| 3938 |
if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { |
| 3939 |
return false |
| 3940 |
} |
| 3941 |
} |
| 3942 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3943 |
return false |
| 3944 |
} |
| 3945 |
return true |
| 3946 |
} |
| 3947 |
func (this *MapProtoTypes) VerboseEqual(that interface{}) error { |
| 3948 |
if that == nil { |
| 3949 |
if this == nil { |
| 3950 |
return nil |
| 3951 |
} |
| 3952 |
return fmt.Errorf("that == nil && this != nil") |
| 3953 |
} |
| 3954 |
|
| 3955 |
that1, ok := that.(*MapProtoTypes) |
| 3956 |
if !ok { |
| 3957 |
that2, ok := that.(MapProtoTypes) |
| 3958 |
if ok { |
| 3959 |
that1 = &that2 |
| 3960 |
} else { |
| 3961 |
return fmt.Errorf("that is not of type *MapProtoTypes") |
| 3962 |
} |
| 3963 |
} |
| 3964 |
if that1 == nil { |
| 3965 |
if this == nil { |
| 3966 |
return nil |
| 3967 |
} |
| 3968 |
return fmt.Errorf("that is type *MapProtoTypes but is nil && this != nil") |
| 3969 |
} else if this == nil { |
| 3970 |
return fmt.Errorf("that is type *MapProtoTypes but is not nil && this == nil") |
| 3971 |
} |
| 3972 |
if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { |
| 3973 |
return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) |
| 3974 |
} |
| 3975 |
for i := range this.NullableTimestamp { |
| 3976 |
if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { |
| 3977 |
return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) |
| 3978 |
} |
| 3979 |
} |
| 3980 |
if len(this.Timestamp) != len(that1.Timestamp) { |
| 3981 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) |
| 3982 |
} |
| 3983 |
for i := range this.Timestamp { |
| 3984 |
a := this.Timestamp[i] |
| 3985 |
b := that1.Timestamp[i] |
| 3986 |
if !(&a).Equal(&b) { |
| 3987 |
return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) |
| 3988 |
} |
| 3989 |
} |
| 3990 |
if len(this.NullableDuration) != len(that1.NullableDuration) { |
| 3991 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) |
| 3992 |
} |
| 3993 |
for i := range this.NullableDuration { |
| 3994 |
if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { |
| 3995 |
return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) |
| 3996 |
} |
| 3997 |
} |
| 3998 |
if len(this.Duration) != len(that1.Duration) { |
| 3999 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) |
| 4000 |
} |
| 4001 |
for i := range this.Duration { |
| 4002 |
a := this.Duration[i] |
| 4003 |
b := that1.Duration[i] |
| 4004 |
if !(&a).Equal(&b) { |
| 4005 |
return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) |
| 4006 |
} |
| 4007 |
} |
| 4008 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 4009 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) |
| 4010 |
} |
| 4011 |
for i := range this.NullableDouble { |
| 4012 |
if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { |
| 4013 |
return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) |
| 4014 |
} |
| 4015 |
} |
| 4016 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 4017 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) |
| 4018 |
} |
| 4019 |
for i := range this.NonnullDouble { |
| 4020 |
a := this.NonnullDouble[i] |
| 4021 |
b := that1.NonnullDouble[i] |
| 4022 |
if !(&a).Equal(&b) { |
| 4023 |
return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) |
| 4024 |
} |
| 4025 |
} |
| 4026 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 4027 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) |
| 4028 |
} |
| 4029 |
for i := range this.NullableFloat { |
| 4030 |
if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { |
| 4031 |
return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) |
| 4032 |
} |
| 4033 |
} |
| 4034 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 4035 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) |
| 4036 |
} |
| 4037 |
for i := range this.NonnullFloat { |
| 4038 |
a := this.NonnullFloat[i] |
| 4039 |
b := that1.NonnullFloat[i] |
| 4040 |
if !(&a).Equal(&b) { |
| 4041 |
return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) |
| 4042 |
} |
| 4043 |
} |
| 4044 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 4045 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) |
| 4046 |
} |
| 4047 |
for i := range this.NullableInt64 { |
| 4048 |
if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { |
| 4049 |
return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) |
| 4050 |
} |
| 4051 |
} |
| 4052 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 4053 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) |
| 4054 |
} |
| 4055 |
for i := range this.NonnullInt64 { |
| 4056 |
a := this.NonnullInt64[i] |
| 4057 |
b := that1.NonnullInt64[i] |
| 4058 |
if !(&a).Equal(&b) { |
| 4059 |
return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) |
| 4060 |
} |
| 4061 |
} |
| 4062 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 4063 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) |
| 4064 |
} |
| 4065 |
for i := range this.NullableUInt64 { |
| 4066 |
if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { |
| 4067 |
return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) |
| 4068 |
} |
| 4069 |
} |
| 4070 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 4071 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) |
| 4072 |
} |
| 4073 |
for i := range this.NonnullUInt64 { |
| 4074 |
a := this.NonnullUInt64[i] |
| 4075 |
b := that1.NonnullUInt64[i] |
| 4076 |
if !(&a).Equal(&b) { |
| 4077 |
return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) |
| 4078 |
} |
| 4079 |
} |
| 4080 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 4081 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) |
| 4082 |
} |
| 4083 |
for i := range this.NullableInt32 { |
| 4084 |
if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { |
| 4085 |
return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) |
| 4086 |
} |
| 4087 |
} |
| 4088 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 4089 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) |
| 4090 |
} |
| 4091 |
for i := range this.NonnullInt32 { |
| 4092 |
a := this.NonnullInt32[i] |
| 4093 |
b := that1.NonnullInt32[i] |
| 4094 |
if !(&a).Equal(&b) { |
| 4095 |
return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) |
| 4096 |
} |
| 4097 |
} |
| 4098 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 4099 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) |
| 4100 |
} |
| 4101 |
for i := range this.NullableUInt32 { |
| 4102 |
if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { |
| 4103 |
return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) |
| 4104 |
} |
| 4105 |
} |
| 4106 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 4107 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) |
| 4108 |
} |
| 4109 |
for i := range this.NonnullUInt32 { |
| 4110 |
a := this.NonnullUInt32[i] |
| 4111 |
b := that1.NonnullUInt32[i] |
| 4112 |
if !(&a).Equal(&b) { |
| 4113 |
return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) |
| 4114 |
} |
| 4115 |
} |
| 4116 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 4117 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) |
| 4118 |
} |
| 4119 |
for i := range this.NullableBool { |
| 4120 |
if !this.NullableBool[i].Equal(that1.NullableBool[i]) { |
| 4121 |
return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) |
| 4122 |
} |
| 4123 |
} |
| 4124 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 4125 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) |
| 4126 |
} |
| 4127 |
for i := range this.NonnullBool { |
| 4128 |
a := this.NonnullBool[i] |
| 4129 |
b := that1.NonnullBool[i] |
| 4130 |
if !(&a).Equal(&b) { |
| 4131 |
return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) |
| 4132 |
} |
| 4133 |
} |
| 4134 |
if len(this.NullableString) != len(that1.NullableString) { |
| 4135 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) |
| 4136 |
} |
| 4137 |
for i := range this.NullableString { |
| 4138 |
if !this.NullableString[i].Equal(that1.NullableString[i]) { |
| 4139 |
return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) |
| 4140 |
} |
| 4141 |
} |
| 4142 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 4143 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) |
| 4144 |
} |
| 4145 |
for i := range this.NonnullString { |
| 4146 |
a := this.NonnullString[i] |
| 4147 |
b := that1.NonnullString[i] |
| 4148 |
if !(&a).Equal(&b) { |
| 4149 |
return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) |
| 4150 |
} |
| 4151 |
} |
| 4152 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 4153 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) |
| 4154 |
} |
| 4155 |
for i := range this.NullableBytes { |
| 4156 |
if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { |
| 4157 |
return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) |
| 4158 |
} |
| 4159 |
} |
| 4160 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 4161 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) |
| 4162 |
} |
| 4163 |
for i := range this.NonnullBytes { |
| 4164 |
a := this.NonnullBytes[i] |
| 4165 |
b := that1.NonnullBytes[i] |
| 4166 |
if !(&a).Equal(&b) { |
| 4167 |
return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) |
| 4168 |
} |
| 4169 |
} |
| 4170 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4171 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 4172 |
} |
| 4173 |
return nil |
| 4174 |
} |
| 4175 |
func (this *MapProtoTypes) Equal(that interface{}) bool { |
| 4176 |
if that == nil { |
| 4177 |
return this == nil |
| 4178 |
} |
| 4179 |
|
| 4180 |
that1, ok := that.(*MapProtoTypes) |
| 4181 |
if !ok { |
| 4182 |
that2, ok := that.(MapProtoTypes) |
| 4183 |
if ok { |
| 4184 |
that1 = &that2 |
| 4185 |
} else { |
| 4186 |
return false |
| 4187 |
} |
| 4188 |
} |
| 4189 |
if that1 == nil { |
| 4190 |
return this == nil |
| 4191 |
} else if this == nil { |
| 4192 |
return false |
| 4193 |
} |
| 4194 |
if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { |
| 4195 |
return false |
| 4196 |
} |
| 4197 |
for i := range this.NullableTimestamp { |
| 4198 |
if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { |
| 4199 |
return false |
| 4200 |
} |
| 4201 |
} |
| 4202 |
if len(this.Timestamp) != len(that1.Timestamp) { |
| 4203 |
return false |
| 4204 |
} |
| 4205 |
for i := range this.Timestamp { |
| 4206 |
a := this.Timestamp[i] |
| 4207 |
b := that1.Timestamp[i] |
| 4208 |
if !(&a).Equal(&b) { |
| 4209 |
return false |
| 4210 |
} |
| 4211 |
} |
| 4212 |
if len(this.NullableDuration) != len(that1.NullableDuration) { |
| 4213 |
return false |
| 4214 |
} |
| 4215 |
for i := range this.NullableDuration { |
| 4216 |
if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { |
| 4217 |
return false |
| 4218 |
} |
| 4219 |
} |
| 4220 |
if len(this.Duration) != len(that1.Duration) { |
| 4221 |
return false |
| 4222 |
} |
| 4223 |
for i := range this.Duration { |
| 4224 |
a := this.Duration[i] |
| 4225 |
b := that1.Duration[i] |
| 4226 |
if !(&a).Equal(&b) { |
| 4227 |
return false |
| 4228 |
} |
| 4229 |
} |
| 4230 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 4231 |
return false |
| 4232 |
} |
| 4233 |
for i := range this.NullableDouble { |
| 4234 |
if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { |
| 4235 |
return false |
| 4236 |
} |
| 4237 |
} |
| 4238 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 4239 |
return false |
| 4240 |
} |
| 4241 |
for i := range this.NonnullDouble { |
| 4242 |
a := this.NonnullDouble[i] |
| 4243 |
b := that1.NonnullDouble[i] |
| 4244 |
if !(&a).Equal(&b) { |
| 4245 |
return false |
| 4246 |
} |
| 4247 |
} |
| 4248 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 4249 |
return false |
| 4250 |
} |
| 4251 |
for i := range this.NullableFloat { |
| 4252 |
if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { |
| 4253 |
return false |
| 4254 |
} |
| 4255 |
} |
| 4256 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 4257 |
return false |
| 4258 |
} |
| 4259 |
for i := range this.NonnullFloat { |
| 4260 |
a := this.NonnullFloat[i] |
| 4261 |
b := that1.NonnullFloat[i] |
| 4262 |
if !(&a).Equal(&b) { |
| 4263 |
return false |
| 4264 |
} |
| 4265 |
} |
| 4266 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 4267 |
return false |
| 4268 |
} |
| 4269 |
for i := range this.NullableInt64 { |
| 4270 |
if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { |
| 4271 |
return false |
| 4272 |
} |
| 4273 |
} |
| 4274 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 4275 |
return false |
| 4276 |
} |
| 4277 |
for i := range this.NonnullInt64 { |
| 4278 |
a := this.NonnullInt64[i] |
| 4279 |
b := that1.NonnullInt64[i] |
| 4280 |
if !(&a).Equal(&b) { |
| 4281 |
return false |
| 4282 |
} |
| 4283 |
} |
| 4284 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 4285 |
return false |
| 4286 |
} |
| 4287 |
for i := range this.NullableUInt64 { |
| 4288 |
if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { |
| 4289 |
return false |
| 4290 |
} |
| 4291 |
} |
| 4292 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 4293 |
return false |
| 4294 |
} |
| 4295 |
for i := range this.NonnullUInt64 { |
| 4296 |
a := this.NonnullUInt64[i] |
| 4297 |
b := that1.NonnullUInt64[i] |
| 4298 |
if !(&a).Equal(&b) { |
| 4299 |
return false |
| 4300 |
} |
| 4301 |
} |
| 4302 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 4303 |
return false |
| 4304 |
} |
| 4305 |
for i := range this.NullableInt32 { |
| 4306 |
if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { |
| 4307 |
return false |
| 4308 |
} |
| 4309 |
} |
| 4310 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 4311 |
return false |
| 4312 |
} |
| 4313 |
for i := range this.NonnullInt32 { |
| 4314 |
a := this.NonnullInt32[i] |
| 4315 |
b := that1.NonnullInt32[i] |
| 4316 |
if !(&a).Equal(&b) { |
| 4317 |
return false |
| 4318 |
} |
| 4319 |
} |
| 4320 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 4321 |
return false |
| 4322 |
} |
| 4323 |
for i := range this.NullableUInt32 { |
| 4324 |
if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { |
| 4325 |
return false |
| 4326 |
} |
| 4327 |
} |
| 4328 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 4329 |
return false |
| 4330 |
} |
| 4331 |
for i := range this.NonnullUInt32 { |
| 4332 |
a := this.NonnullUInt32[i] |
| 4333 |
b := that1.NonnullUInt32[i] |
| 4334 |
if !(&a).Equal(&b) { |
| 4335 |
return false |
| 4336 |
} |
| 4337 |
} |
| 4338 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 4339 |
return false |
| 4340 |
} |
| 4341 |
for i := range this.NullableBool { |
| 4342 |
if !this.NullableBool[i].Equal(that1.NullableBool[i]) { |
| 4343 |
return false |
| 4344 |
} |
| 4345 |
} |
| 4346 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 4347 |
return false |
| 4348 |
} |
| 4349 |
for i := range this.NonnullBool { |
| 4350 |
a := this.NonnullBool[i] |
| 4351 |
b := that1.NonnullBool[i] |
| 4352 |
if !(&a).Equal(&b) { |
| 4353 |
return false |
| 4354 |
} |
| 4355 |
} |
| 4356 |
if len(this.NullableString) != len(that1.NullableString) { |
| 4357 |
return false |
| 4358 |
} |
| 4359 |
for i := range this.NullableString { |
| 4360 |
if !this.NullableString[i].Equal(that1.NullableString[i]) { |
| 4361 |
return false |
| 4362 |
} |
| 4363 |
} |
| 4364 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 4365 |
return false |
| 4366 |
} |
| 4367 |
for i := range this.NonnullString { |
| 4368 |
a := this.NonnullString[i] |
| 4369 |
b := that1.NonnullString[i] |
| 4370 |
if !(&a).Equal(&b) { |
| 4371 |
return false |
| 4372 |
} |
| 4373 |
} |
| 4374 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 4375 |
return false |
| 4376 |
} |
| 4377 |
for i := range this.NullableBytes { |
| 4378 |
if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { |
| 4379 |
return false |
| 4380 |
} |
| 4381 |
} |
| 4382 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 4383 |
return false |
| 4384 |
} |
| 4385 |
for i := range this.NonnullBytes { |
| 4386 |
a := this.NonnullBytes[i] |
| 4387 |
b := that1.NonnullBytes[i] |
| 4388 |
if !(&a).Equal(&b) { |
| 4389 |
return false |
| 4390 |
} |
| 4391 |
} |
| 4392 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4393 |
return false |
| 4394 |
} |
| 4395 |
return true |
| 4396 |
} |
| 4397 |
func (this *MapStdTypes) VerboseEqual(that interface{}) error { |
| 4398 |
if that == nil { |
| 4399 |
if this == nil { |
| 4400 |
return nil |
| 4401 |
} |
| 4402 |
return fmt.Errorf("that == nil && this != nil") |
| 4403 |
} |
| 4404 |
|
| 4405 |
that1, ok := that.(*MapStdTypes) |
| 4406 |
if !ok { |
| 4407 |
that2, ok := that.(MapStdTypes) |
| 4408 |
if ok { |
| 4409 |
that1 = &that2 |
| 4410 |
} else { |
| 4411 |
return fmt.Errorf("that is not of type *MapStdTypes") |
| 4412 |
} |
| 4413 |
} |
| 4414 |
if that1 == nil { |
| 4415 |
if this == nil { |
| 4416 |
return nil |
| 4417 |
} |
| 4418 |
return fmt.Errorf("that is type *MapStdTypes but is nil && this != nil") |
| 4419 |
} else if this == nil { |
| 4420 |
return fmt.Errorf("that is type *MapStdTypes but is not nil && this == nil") |
| 4421 |
} |
| 4422 |
if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { |
| 4423 |
return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) |
| 4424 |
} |
| 4425 |
for i := range this.NullableTimestamp { |
| 4426 |
if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { |
| 4427 |
return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) |
| 4428 |
} |
| 4429 |
} |
| 4430 |
if len(this.Timestamp) != len(that1.Timestamp) { |
| 4431 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) |
| 4432 |
} |
| 4433 |
for i := range this.Timestamp { |
| 4434 |
if !this.Timestamp[i].Equal(that1.Timestamp[i]) { |
| 4435 |
return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) |
| 4436 |
} |
| 4437 |
} |
| 4438 |
if len(this.NullableDuration) != len(that1.NullableDuration) { |
| 4439 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) |
| 4440 |
} |
| 4441 |
for i := range this.NullableDuration { |
| 4442 |
if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 4443 |
return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) |
| 4444 |
} |
| 4445 |
} |
| 4446 |
if len(this.Duration) != len(that1.Duration) { |
| 4447 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) |
| 4448 |
} |
| 4449 |
for i := range this.Duration { |
| 4450 |
if this.Duration[i] != that1.Duration[i] { |
| 4451 |
return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) |
| 4452 |
} |
| 4453 |
} |
| 4454 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 4455 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) |
| 4456 |
} |
| 4457 |
for i := range this.NullableDouble { |
| 4458 |
a := this.NullableDouble[i] |
| 4459 |
b := that1.NullableDouble[i] |
| 4460 |
if *a != *b { |
| 4461 |
return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) |
| 4462 |
} |
| 4463 |
} |
| 4464 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 4465 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) |
| 4466 |
} |
| 4467 |
for i := range this.NonnullDouble { |
| 4468 |
a := this.NonnullDouble[i] |
| 4469 |
b := that1.NonnullDouble[i] |
| 4470 |
if a != b { |
| 4471 |
return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) |
| 4472 |
} |
| 4473 |
} |
| 4474 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 4475 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) |
| 4476 |
} |
| 4477 |
for i := range this.NullableFloat { |
| 4478 |
a := this.NullableFloat[i] |
| 4479 |
b := that1.NullableFloat[i] |
| 4480 |
if *a != *b { |
| 4481 |
return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) |
| 4482 |
} |
| 4483 |
} |
| 4484 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 4485 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) |
| 4486 |
} |
| 4487 |
for i := range this.NonnullFloat { |
| 4488 |
a := this.NonnullFloat[i] |
| 4489 |
b := that1.NonnullFloat[i] |
| 4490 |
if a != b { |
| 4491 |
return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) |
| 4492 |
} |
| 4493 |
} |
| 4494 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 4495 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) |
| 4496 |
} |
| 4497 |
for i := range this.NullableInt64 { |
| 4498 |
a := this.NullableInt64[i] |
| 4499 |
b := that1.NullableInt64[i] |
| 4500 |
if *a != *b { |
| 4501 |
return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) |
| 4502 |
} |
| 4503 |
} |
| 4504 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 4505 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) |
| 4506 |
} |
| 4507 |
for i := range this.NonnullInt64 { |
| 4508 |
a := this.NonnullInt64[i] |
| 4509 |
b := that1.NonnullInt64[i] |
| 4510 |
if a != b { |
| 4511 |
return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) |
| 4512 |
} |
| 4513 |
} |
| 4514 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 4515 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) |
| 4516 |
} |
| 4517 |
for i := range this.NullableUInt64 { |
| 4518 |
a := this.NullableUInt64[i] |
| 4519 |
b := that1.NullableUInt64[i] |
| 4520 |
if *a != *b { |
| 4521 |
return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) |
| 4522 |
} |
| 4523 |
} |
| 4524 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 4525 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) |
| 4526 |
} |
| 4527 |
for i := range this.NonnullUInt64 { |
| 4528 |
a := this.NonnullUInt64[i] |
| 4529 |
b := that1.NonnullUInt64[i] |
| 4530 |
if a != b { |
| 4531 |
return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) |
| 4532 |
} |
| 4533 |
} |
| 4534 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 4535 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) |
| 4536 |
} |
| 4537 |
for i := range this.NullableInt32 { |
| 4538 |
a := this.NullableInt32[i] |
| 4539 |
b := that1.NullableInt32[i] |
| 4540 |
if *a != *b { |
| 4541 |
return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) |
| 4542 |
} |
| 4543 |
} |
| 4544 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 4545 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) |
| 4546 |
} |
| 4547 |
for i := range this.NonnullInt32 { |
| 4548 |
a := this.NonnullInt32[i] |
| 4549 |
b := that1.NonnullInt32[i] |
| 4550 |
if a != b { |
| 4551 |
return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) |
| 4552 |
} |
| 4553 |
} |
| 4554 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 4555 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) |
| 4556 |
} |
| 4557 |
for i := range this.NullableUInt32 { |
| 4558 |
a := this.NullableUInt32[i] |
| 4559 |
b := that1.NullableUInt32[i] |
| 4560 |
if *a != *b { |
| 4561 |
return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) |
| 4562 |
} |
| 4563 |
} |
| 4564 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 4565 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) |
| 4566 |
} |
| 4567 |
for i := range this.NonnullUInt32 { |
| 4568 |
a := this.NonnullUInt32[i] |
| 4569 |
b := that1.NonnullUInt32[i] |
| 4570 |
if a != b { |
| 4571 |
return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) |
| 4572 |
} |
| 4573 |
} |
| 4574 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 4575 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) |
| 4576 |
} |
| 4577 |
for i := range this.NullableBool { |
| 4578 |
a := this.NullableBool[i] |
| 4579 |
b := that1.NullableBool[i] |
| 4580 |
if *a != *b { |
| 4581 |
return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) |
| 4582 |
} |
| 4583 |
} |
| 4584 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 4585 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) |
| 4586 |
} |
| 4587 |
for i := range this.NonnullBool { |
| 4588 |
a := this.NonnullBool[i] |
| 4589 |
b := that1.NonnullBool[i] |
| 4590 |
if a != b { |
| 4591 |
return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) |
| 4592 |
} |
| 4593 |
} |
| 4594 |
if len(this.NullableString) != len(that1.NullableString) { |
| 4595 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) |
| 4596 |
} |
| 4597 |
for i := range this.NullableString { |
| 4598 |
a := this.NullableString[i] |
| 4599 |
b := that1.NullableString[i] |
| 4600 |
if *a != *b { |
| 4601 |
return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) |
| 4602 |
} |
| 4603 |
} |
| 4604 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 4605 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) |
| 4606 |
} |
| 4607 |
for i := range this.NonnullString { |
| 4608 |
a := this.NonnullString[i] |
| 4609 |
b := that1.NonnullString[i] |
| 4610 |
if a != b { |
| 4611 |
return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) |
| 4612 |
} |
| 4613 |
} |
| 4614 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 4615 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) |
| 4616 |
} |
| 4617 |
for i := range this.NullableBytes { |
| 4618 |
a := this.NullableBytes[i] |
| 4619 |
b := that1.NullableBytes[i] |
| 4620 |
if !bytes.Equal(*a, *b) { |
| 4621 |
return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) |
| 4622 |
} |
| 4623 |
} |
| 4624 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 4625 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) |
| 4626 |
} |
| 4627 |
for i := range this.NonnullBytes { |
| 4628 |
a := this.NonnullBytes[i] |
| 4629 |
b := that1.NonnullBytes[i] |
| 4630 |
if !bytes.Equal(a, b) { |
| 4631 |
return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) |
| 4632 |
} |
| 4633 |
} |
| 4634 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4635 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 4636 |
} |
| 4637 |
return nil |
| 4638 |
} |
| 4639 |
func (this *MapStdTypes) Equal(that interface{}) bool { |
| 4640 |
if that == nil { |
| 4641 |
return this == nil |
| 4642 |
} |
| 4643 |
|
| 4644 |
that1, ok := that.(*MapStdTypes) |
| 4645 |
if !ok { |
| 4646 |
that2, ok := that.(MapStdTypes) |
| 4647 |
if ok { |
| 4648 |
that1 = &that2 |
| 4649 |
} else { |
| 4650 |
return false |
| 4651 |
} |
| 4652 |
} |
| 4653 |
if that1 == nil { |
| 4654 |
return this == nil |
| 4655 |
} else if this == nil { |
| 4656 |
return false |
| 4657 |
} |
| 4658 |
if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { |
| 4659 |
return false |
| 4660 |
} |
| 4661 |
for i := range this.NullableTimestamp { |
| 4662 |
if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { |
| 4663 |
return false |
| 4664 |
} |
| 4665 |
} |
| 4666 |
if len(this.Timestamp) != len(that1.Timestamp) { |
| 4667 |
return false |
| 4668 |
} |
| 4669 |
for i := range this.Timestamp { |
| 4670 |
if !this.Timestamp[i].Equal(that1.Timestamp[i]) { |
| 4671 |
return false |
| 4672 |
} |
| 4673 |
} |
| 4674 |
if len(this.NullableDuration) != len(that1.NullableDuration) { |
| 4675 |
return false |
| 4676 |
} |
| 4677 |
for i := range this.NullableDuration { |
| 4678 |
if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 4679 |
return false |
| 4680 |
} |
| 4681 |
} |
| 4682 |
if len(this.Duration) != len(that1.Duration) { |
| 4683 |
return false |
| 4684 |
} |
| 4685 |
for i := range this.Duration { |
| 4686 |
if this.Duration[i] != that1.Duration[i] { |
| 4687 |
return false |
| 4688 |
} |
| 4689 |
} |
| 4690 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 4691 |
return false |
| 4692 |
} |
| 4693 |
for i := range this.NullableDouble { |
| 4694 |
a := this.NullableDouble[i] |
| 4695 |
b := that1.NullableDouble[i] |
| 4696 |
if *a != *b { |
| 4697 |
return false |
| 4698 |
} |
| 4699 |
} |
| 4700 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 4701 |
return false |
| 4702 |
} |
| 4703 |
for i := range this.NonnullDouble { |
| 4704 |
a := this.NonnullDouble[i] |
| 4705 |
b := that1.NonnullDouble[i] |
| 4706 |
if a != b { |
| 4707 |
return false |
| 4708 |
} |
| 4709 |
} |
| 4710 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 4711 |
return false |
| 4712 |
} |
| 4713 |
for i := range this.NullableFloat { |
| 4714 |
a := this.NullableFloat[i] |
| 4715 |
b := that1.NullableFloat[i] |
| 4716 |
if *a != *b { |
| 4717 |
return false |
| 4718 |
} |
| 4719 |
} |
| 4720 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 4721 |
return false |
| 4722 |
} |
| 4723 |
for i := range this.NonnullFloat { |
| 4724 |
a := this.NonnullFloat[i] |
| 4725 |
b := that1.NonnullFloat[i] |
| 4726 |
if a != b { |
| 4727 |
return false |
| 4728 |
} |
| 4729 |
} |
| 4730 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 4731 |
return false |
| 4732 |
} |
| 4733 |
for i := range this.NullableInt64 { |
| 4734 |
a := this.NullableInt64[i] |
| 4735 |
b := that1.NullableInt64[i] |
| 4736 |
if *a != *b { |
| 4737 |
return false |
| 4738 |
} |
| 4739 |
} |
| 4740 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 4741 |
return false |
| 4742 |
} |
| 4743 |
for i := range this.NonnullInt64 { |
| 4744 |
a := this.NonnullInt64[i] |
| 4745 |
b := that1.NonnullInt64[i] |
| 4746 |
if a != b { |
| 4747 |
return false |
| 4748 |
} |
| 4749 |
} |
| 4750 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 4751 |
return false |
| 4752 |
} |
| 4753 |
for i := range this.NullableUInt64 { |
| 4754 |
a := this.NullableUInt64[i] |
| 4755 |
b := that1.NullableUInt64[i] |
| 4756 |
if *a != *b { |
| 4757 |
return false |
| 4758 |
} |
| 4759 |
} |
| 4760 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 4761 |
return false |
| 4762 |
} |
| 4763 |
for i := range this.NonnullUInt64 { |
| 4764 |
a := this.NonnullUInt64[i] |
| 4765 |
b := that1.NonnullUInt64[i] |
| 4766 |
if a != b { |
| 4767 |
return false |
| 4768 |
} |
| 4769 |
} |
| 4770 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 4771 |
return false |
| 4772 |
} |
| 4773 |
for i := range this.NullableInt32 { |
| 4774 |
a := this.NullableInt32[i] |
| 4775 |
b := that1.NullableInt32[i] |
| 4776 |
if *a != *b { |
| 4777 |
return false |
| 4778 |
} |
| 4779 |
} |
| 4780 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 4781 |
return false |
| 4782 |
} |
| 4783 |
for i := range this.NonnullInt32 { |
| 4784 |
a := this.NonnullInt32[i] |
| 4785 |
b := that1.NonnullInt32[i] |
| 4786 |
if a != b { |
| 4787 |
return false |
| 4788 |
} |
| 4789 |
} |
| 4790 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 4791 |
return false |
| 4792 |
} |
| 4793 |
for i := range this.NullableUInt32 { |
| 4794 |
a := this.NullableUInt32[i] |
| 4795 |
b := that1.NullableUInt32[i] |
| 4796 |
if *a != *b { |
| 4797 |
return false |
| 4798 |
} |
| 4799 |
} |
| 4800 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 4801 |
return false |
| 4802 |
} |
| 4803 |
for i := range this.NonnullUInt32 { |
| 4804 |
a := this.NonnullUInt32[i] |
| 4805 |
b := that1.NonnullUInt32[i] |
| 4806 |
if a != b { |
| 4807 |
return false |
| 4808 |
} |
| 4809 |
} |
| 4810 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 4811 |
return false |
| 4812 |
} |
| 4813 |
for i := range this.NullableBool { |
| 4814 |
a := this.NullableBool[i] |
| 4815 |
b := that1.NullableBool[i] |
| 4816 |
if *a != *b { |
| 4817 |
return false |
| 4818 |
} |
| 4819 |
} |
| 4820 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 4821 |
return false |
| 4822 |
} |
| 4823 |
for i := range this.NonnullBool { |
| 4824 |
a := this.NonnullBool[i] |
| 4825 |
b := that1.NonnullBool[i] |
| 4826 |
if a != b { |
| 4827 |
return false |
| 4828 |
} |
| 4829 |
} |
| 4830 |
if len(this.NullableString) != len(that1.NullableString) { |
| 4831 |
return false |
| 4832 |
} |
| 4833 |
for i := range this.NullableString { |
| 4834 |
a := this.NullableString[i] |
| 4835 |
b := that1.NullableString[i] |
| 4836 |
if *a != *b { |
| 4837 |
return false |
| 4838 |
} |
| 4839 |
} |
| 4840 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 4841 |
return false |
| 4842 |
} |
| 4843 |
for i := range this.NonnullString { |
| 4844 |
a := this.NonnullString[i] |
| 4845 |
b := that1.NonnullString[i] |
| 4846 |
if a != b { |
| 4847 |
return false |
| 4848 |
} |
| 4849 |
} |
| 4850 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 4851 |
return false |
| 4852 |
} |
| 4853 |
for i := range this.NullableBytes { |
| 4854 |
a := this.NullableBytes[i] |
| 4855 |
b := that1.NullableBytes[i] |
| 4856 |
if !bytes.Equal(*a, *b) { |
| 4857 |
return false |
| 4858 |
} |
| 4859 |
} |
| 4860 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 4861 |
return false |
| 4862 |
} |
| 4863 |
for i := range this.NonnullBytes { |
| 4864 |
a := this.NonnullBytes[i] |
| 4865 |
b := that1.NonnullBytes[i] |
| 4866 |
if !bytes.Equal(a, b) { |
| 4867 |
return false |
| 4868 |
} |
| 4869 |
} |
| 4870 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4871 |
return false |
| 4872 |
} |
| 4873 |
return true |
| 4874 |
} |
| 4875 |
func (this *OneofProtoTypes) VerboseEqual(that interface{}) error { |
| 4876 |
if that == nil { |
| 4877 |
if this == nil { |
| 4878 |
return nil |
| 4879 |
} |
| 4880 |
return fmt.Errorf("that == nil && this != nil") |
| 4881 |
} |
| 4882 |
|
| 4883 |
that1, ok := that.(*OneofProtoTypes) |
| 4884 |
if !ok { |
| 4885 |
that2, ok := that.(OneofProtoTypes) |
| 4886 |
if ok { |
| 4887 |
that1 = &that2 |
| 4888 |
} else { |
| 4889 |
return fmt.Errorf("that is not of type *OneofProtoTypes") |
| 4890 |
} |
| 4891 |
} |
| 4892 |
if that1 == nil { |
| 4893 |
if this == nil { |
| 4894 |
return nil |
| 4895 |
} |
| 4896 |
return fmt.Errorf("that is type *OneofProtoTypes but is nil && this != nil") |
| 4897 |
} else if this == nil { |
| 4898 |
return fmt.Errorf("that is type *OneofProtoTypes but is not nil && this == nil") |
| 4899 |
} |
| 4900 |
if that1.OneOfProtoTimes == nil { |
| 4901 |
if this.OneOfProtoTimes != nil { |
| 4902 |
return fmt.Errorf("this.OneOfProtoTimes != nil && that1.OneOfProtoTimes == nil") |
| 4903 |
} |
| 4904 |
} else if this.OneOfProtoTimes == nil { |
| 4905 |
return fmt.Errorf("this.OneOfProtoTimes == nil && that1.OneOfProtoTimes != nil") |
| 4906 |
} else if err := this.OneOfProtoTimes.VerboseEqual(that1.OneOfProtoTimes); err != nil { |
| 4907 |
return err |
| 4908 |
} |
| 4909 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4910 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 4911 |
} |
| 4912 |
return nil |
| 4913 |
} |
| 4914 |
func (this *OneofProtoTypes_Timestamp) VerboseEqual(that interface{}) error { |
| 4915 |
if that == nil { |
| 4916 |
if this == nil { |
| 4917 |
return nil |
| 4918 |
} |
| 4919 |
return fmt.Errorf("that == nil && this != nil") |
| 4920 |
} |
| 4921 |
|
| 4922 |
that1, ok := that.(*OneofProtoTypes_Timestamp) |
| 4923 |
if !ok { |
| 4924 |
that2, ok := that.(OneofProtoTypes_Timestamp) |
| 4925 |
if ok { |
| 4926 |
that1 = &that2 |
| 4927 |
} else { |
| 4928 |
return fmt.Errorf("that is not of type *OneofProtoTypes_Timestamp") |
| 4929 |
} |
| 4930 |
} |
| 4931 |
if that1 == nil { |
| 4932 |
if this == nil { |
| 4933 |
return nil |
| 4934 |
} |
| 4935 |
return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is nil && this != nil") |
| 4936 |
} else if this == nil { |
| 4937 |
return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is not nil && this == nil") |
| 4938 |
} |
| 4939 |
if !this.Timestamp.Equal(that1.Timestamp) { |
| 4940 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) |
| 4941 |
} |
| 4942 |
return nil |
| 4943 |
} |
| 4944 |
func (this *OneofProtoTypes_Duration) VerboseEqual(that interface{}) error { |
| 4945 |
if that == nil { |
| 4946 |
if this == nil { |
| 4947 |
return nil |
| 4948 |
} |
| 4949 |
return fmt.Errorf("that == nil && this != nil") |
| 4950 |
} |
| 4951 |
|
| 4952 |
that1, ok := that.(*OneofProtoTypes_Duration) |
| 4953 |
if !ok { |
| 4954 |
that2, ok := that.(OneofProtoTypes_Duration) |
| 4955 |
if ok { |
| 4956 |
that1 = &that2 |
| 4957 |
} else { |
| 4958 |
return fmt.Errorf("that is not of type *OneofProtoTypes_Duration") |
| 4959 |
} |
| 4960 |
} |
| 4961 |
if that1 == nil { |
| 4962 |
if this == nil { |
| 4963 |
return nil |
| 4964 |
} |
| 4965 |
return fmt.Errorf("that is type *OneofProtoTypes_Duration but is nil && this != nil") |
| 4966 |
} else if this == nil { |
| 4967 |
return fmt.Errorf("that is type *OneofProtoTypes_Duration but is not nil && this == nil") |
| 4968 |
} |
| 4969 |
if !this.Duration.Equal(that1.Duration) { |
| 4970 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) |
| 4971 |
} |
| 4972 |
return nil |
| 4973 |
} |
| 4974 |
func (this *OneofProtoTypes_RepDouble) VerboseEqual(that interface{}) error { |
| 4975 |
if that == nil { |
| 4976 |
if this == nil { |
| 4977 |
return nil |
| 4978 |
} |
| 4979 |
return fmt.Errorf("that == nil && this != nil") |
| 4980 |
} |
| 4981 |
|
| 4982 |
that1, ok := that.(*OneofProtoTypes_RepDouble) |
| 4983 |
if !ok { |
| 4984 |
that2, ok := that.(OneofProtoTypes_RepDouble) |
| 4985 |
if ok { |
| 4986 |
that1 = &that2 |
| 4987 |
} else { |
| 4988 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepDouble") |
| 4989 |
} |
| 4990 |
} |
| 4991 |
if that1 == nil { |
| 4992 |
if this == nil { |
| 4993 |
return nil |
| 4994 |
} |
| 4995 |
return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is nil && this != nil") |
| 4996 |
} else if this == nil { |
| 4997 |
return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is not nil && this == nil") |
| 4998 |
} |
| 4999 |
if !this.RepDouble.Equal(that1.RepDouble) { |
| 5000 |
return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) |
| 5001 |
} |
| 5002 |
return nil |
| 5003 |
} |
| 5004 |
func (this *OneofProtoTypes_RepFloat) VerboseEqual(that interface{}) error { |
| 5005 |
if that == nil { |
| 5006 |
if this == nil { |
| 5007 |
return nil |
| 5008 |
} |
| 5009 |
return fmt.Errorf("that == nil && this != nil") |
| 5010 |
} |
| 5011 |
|
| 5012 |
that1, ok := that.(*OneofProtoTypes_RepFloat) |
| 5013 |
if !ok { |
| 5014 |
that2, ok := that.(OneofProtoTypes_RepFloat) |
| 5015 |
if ok { |
| 5016 |
that1 = &that2 |
| 5017 |
} else { |
| 5018 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepFloat") |
| 5019 |
} |
| 5020 |
} |
| 5021 |
if that1 == nil { |
| 5022 |
if this == nil { |
| 5023 |
return nil |
| 5024 |
} |
| 5025 |
return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is nil && this != nil") |
| 5026 |
} else if this == nil { |
| 5027 |
return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is not nil && this == nil") |
| 5028 |
} |
| 5029 |
if !this.RepFloat.Equal(that1.RepFloat) { |
| 5030 |
return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) |
| 5031 |
} |
| 5032 |
return nil |
| 5033 |
} |
| 5034 |
func (this *OneofProtoTypes_RepInt64) VerboseEqual(that interface{}) error { |
| 5035 |
if that == nil { |
| 5036 |
if this == nil { |
| 5037 |
return nil |
| 5038 |
} |
| 5039 |
return fmt.Errorf("that == nil && this != nil") |
| 5040 |
} |
| 5041 |
|
| 5042 |
that1, ok := that.(*OneofProtoTypes_RepInt64) |
| 5043 |
if !ok { |
| 5044 |
that2, ok := that.(OneofProtoTypes_RepInt64) |
| 5045 |
if ok { |
| 5046 |
that1 = &that2 |
| 5047 |
} else { |
| 5048 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt64") |
| 5049 |
} |
| 5050 |
} |
| 5051 |
if that1 == nil { |
| 5052 |
if this == nil { |
| 5053 |
return nil |
| 5054 |
} |
| 5055 |
return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is nil && this != nil") |
| 5056 |
} else if this == nil { |
| 5057 |
return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is not nil && this == nil") |
| 5058 |
} |
| 5059 |
if !this.RepInt64.Equal(that1.RepInt64) { |
| 5060 |
return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) |
| 5061 |
} |
| 5062 |
return nil |
| 5063 |
} |
| 5064 |
func (this *OneofProtoTypes_RepUInt64) VerboseEqual(that interface{}) error { |
| 5065 |
if that == nil { |
| 5066 |
if this == nil { |
| 5067 |
return nil |
| 5068 |
} |
| 5069 |
return fmt.Errorf("that == nil && this != nil") |
| 5070 |
} |
| 5071 |
|
| 5072 |
that1, ok := that.(*OneofProtoTypes_RepUInt64) |
| 5073 |
if !ok { |
| 5074 |
that2, ok := that.(OneofProtoTypes_RepUInt64) |
| 5075 |
if ok { |
| 5076 |
that1 = &that2 |
| 5077 |
} else { |
| 5078 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt64") |
| 5079 |
} |
| 5080 |
} |
| 5081 |
if that1 == nil { |
| 5082 |
if this == nil { |
| 5083 |
return nil |
| 5084 |
} |
| 5085 |
return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is nil && this != nil") |
| 5086 |
} else if this == nil { |
| 5087 |
return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is not nil && this == nil") |
| 5088 |
} |
| 5089 |
if !this.RepUInt64.Equal(that1.RepUInt64) { |
| 5090 |
return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) |
| 5091 |
} |
| 5092 |
return nil |
| 5093 |
} |
| 5094 |
func (this *OneofProtoTypes_RepInt32) VerboseEqual(that interface{}) error { |
| 5095 |
if that == nil { |
| 5096 |
if this == nil { |
| 5097 |
return nil |
| 5098 |
} |
| 5099 |
return fmt.Errorf("that == nil && this != nil") |
| 5100 |
} |
| 5101 |
|
| 5102 |
that1, ok := that.(*OneofProtoTypes_RepInt32) |
| 5103 |
if !ok { |
| 5104 |
that2, ok := that.(OneofProtoTypes_RepInt32) |
| 5105 |
if ok { |
| 5106 |
that1 = &that2 |
| 5107 |
} else { |
| 5108 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt32") |
| 5109 |
} |
| 5110 |
} |
| 5111 |
if that1 == nil { |
| 5112 |
if this == nil { |
| 5113 |
return nil |
| 5114 |
} |
| 5115 |
return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is nil && this != nil") |
| 5116 |
} else if this == nil { |
| 5117 |
return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is not nil && this == nil") |
| 5118 |
} |
| 5119 |
if !this.RepInt32.Equal(that1.RepInt32) { |
| 5120 |
return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) |
| 5121 |
} |
| 5122 |
return nil |
| 5123 |
} |
| 5124 |
func (this *OneofProtoTypes_RepUInt32) VerboseEqual(that interface{}) error { |
| 5125 |
if that == nil { |
| 5126 |
if this == nil { |
| 5127 |
return nil |
| 5128 |
} |
| 5129 |
return fmt.Errorf("that == nil && this != nil") |
| 5130 |
} |
| 5131 |
|
| 5132 |
that1, ok := that.(*OneofProtoTypes_RepUInt32) |
| 5133 |
if !ok { |
| 5134 |
that2, ok := that.(OneofProtoTypes_RepUInt32) |
| 5135 |
if ok { |
| 5136 |
that1 = &that2 |
| 5137 |
} else { |
| 5138 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt32") |
| 5139 |
} |
| 5140 |
} |
| 5141 |
if that1 == nil { |
| 5142 |
if this == nil { |
| 5143 |
return nil |
| 5144 |
} |
| 5145 |
return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is nil && this != nil") |
| 5146 |
} else if this == nil { |
| 5147 |
return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is not nil && this == nil") |
| 5148 |
} |
| 5149 |
if !this.RepUInt32.Equal(that1.RepUInt32) { |
| 5150 |
return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) |
| 5151 |
} |
| 5152 |
return nil |
| 5153 |
} |
| 5154 |
func (this *OneofProtoTypes_RepBool) VerboseEqual(that interface{}) error { |
| 5155 |
if that == nil { |
| 5156 |
if this == nil { |
| 5157 |
return nil |
| 5158 |
} |
| 5159 |
return fmt.Errorf("that == nil && this != nil") |
| 5160 |
} |
| 5161 |
|
| 5162 |
that1, ok := that.(*OneofProtoTypes_RepBool) |
| 5163 |
if !ok { |
| 5164 |
that2, ok := that.(OneofProtoTypes_RepBool) |
| 5165 |
if ok { |
| 5166 |
that1 = &that2 |
| 5167 |
} else { |
| 5168 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepBool") |
| 5169 |
} |
| 5170 |
} |
| 5171 |
if that1 == nil { |
| 5172 |
if this == nil { |
| 5173 |
return nil |
| 5174 |
} |
| 5175 |
return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is nil && this != nil") |
| 5176 |
} else if this == nil { |
| 5177 |
return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is not nil && this == nil") |
| 5178 |
} |
| 5179 |
if !this.RepBool.Equal(that1.RepBool) { |
| 5180 |
return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) |
| 5181 |
} |
| 5182 |
return nil |
| 5183 |
} |
| 5184 |
func (this *OneofProtoTypes_RepString) VerboseEqual(that interface{}) error { |
| 5185 |
if that == nil { |
| 5186 |
if this == nil { |
| 5187 |
return nil |
| 5188 |
} |
| 5189 |
return fmt.Errorf("that == nil && this != nil") |
| 5190 |
} |
| 5191 |
|
| 5192 |
that1, ok := that.(*OneofProtoTypes_RepString) |
| 5193 |
if !ok { |
| 5194 |
that2, ok := that.(OneofProtoTypes_RepString) |
| 5195 |
if ok { |
| 5196 |
that1 = &that2 |
| 5197 |
} else { |
| 5198 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepString") |
| 5199 |
} |
| 5200 |
} |
| 5201 |
if that1 == nil { |
| 5202 |
if this == nil { |
| 5203 |
return nil |
| 5204 |
} |
| 5205 |
return fmt.Errorf("that is type *OneofProtoTypes_RepString but is nil && this != nil") |
| 5206 |
} else if this == nil { |
| 5207 |
return fmt.Errorf("that is type *OneofProtoTypes_RepString but is not nil && this == nil") |
| 5208 |
} |
| 5209 |
if !this.RepString.Equal(that1.RepString) { |
| 5210 |
return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) |
| 5211 |
} |
| 5212 |
return nil |
| 5213 |
} |
| 5214 |
func (this *OneofProtoTypes_RepBytes) VerboseEqual(that interface{}) error { |
| 5215 |
if that == nil { |
| 5216 |
if this == nil { |
| 5217 |
return nil |
| 5218 |
} |
| 5219 |
return fmt.Errorf("that == nil && this != nil") |
| 5220 |
} |
| 5221 |
|
| 5222 |
that1, ok := that.(*OneofProtoTypes_RepBytes) |
| 5223 |
if !ok { |
| 5224 |
that2, ok := that.(OneofProtoTypes_RepBytes) |
| 5225 |
if ok { |
| 5226 |
that1 = &that2 |
| 5227 |
} else { |
| 5228 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepBytes") |
| 5229 |
} |
| 5230 |
} |
| 5231 |
if that1 == nil { |
| 5232 |
if this == nil { |
| 5233 |
return nil |
| 5234 |
} |
| 5235 |
return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is nil && this != nil") |
| 5236 |
} else if this == nil { |
| 5237 |
return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is not nil && this == nil") |
| 5238 |
} |
| 5239 |
if !this.RepBytes.Equal(that1.RepBytes) { |
| 5240 |
return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) |
| 5241 |
} |
| 5242 |
return nil |
| 5243 |
} |
| 5244 |
func (this *OneofProtoTypes) Equal(that interface{}) bool { |
| 5245 |
if that == nil { |
| 5246 |
return this == nil |
| 5247 |
} |
| 5248 |
|
| 5249 |
that1, ok := that.(*OneofProtoTypes) |
| 5250 |
if !ok { |
| 5251 |
that2, ok := that.(OneofProtoTypes) |
| 5252 |
if ok { |
| 5253 |
that1 = &that2 |
| 5254 |
} else { |
| 5255 |
return false |
| 5256 |
} |
| 5257 |
} |
| 5258 |
if that1 == nil { |
| 5259 |
return this == nil |
| 5260 |
} else if this == nil { |
| 5261 |
return false |
| 5262 |
} |
| 5263 |
if that1.OneOfProtoTimes == nil { |
| 5264 |
if this.OneOfProtoTimes != nil { |
| 5265 |
return false |
| 5266 |
} |
| 5267 |
} else if this.OneOfProtoTimes == nil { |
| 5268 |
return false |
| 5269 |
} else if !this.OneOfProtoTimes.Equal(that1.OneOfProtoTimes) { |
| 5270 |
return false |
| 5271 |
} |
| 5272 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 5273 |
return false |
| 5274 |
} |
| 5275 |
return true |
| 5276 |
} |
| 5277 |
func (this *OneofProtoTypes_Timestamp) Equal(that interface{}) bool { |
| 5278 |
if that == nil { |
| 5279 |
return this == nil |
| 5280 |
} |
| 5281 |
|
| 5282 |
that1, ok := that.(*OneofProtoTypes_Timestamp) |
| 5283 |
if !ok { |
| 5284 |
that2, ok := that.(OneofProtoTypes_Timestamp) |
| 5285 |
if ok { |
| 5286 |
that1 = &that2 |
| 5287 |
} else { |
| 5288 |
return false |
| 5289 |
} |
| 5290 |
} |
| 5291 |
if that1 == nil { |
| 5292 |
return this == nil |
| 5293 |
} else if this == nil { |
| 5294 |
return false |
| 5295 |
} |
| 5296 |
if !this.Timestamp.Equal(that1.Timestamp) { |
| 5297 |
return false |
| 5298 |
} |
| 5299 |
return true |
| 5300 |
} |
| 5301 |
func (this *OneofProtoTypes_Duration) Equal(that interface{}) bool { |
| 5302 |
if that == nil { |
| 5303 |
return this == nil |
| 5304 |
} |
| 5305 |
|
| 5306 |
that1, ok := that.(*OneofProtoTypes_Duration) |
| 5307 |
if !ok { |
| 5308 |
that2, ok := that.(OneofProtoTypes_Duration) |
| 5309 |
if ok { |
| 5310 |
that1 = &that2 |
| 5311 |
} else { |
| 5312 |
return false |
| 5313 |
} |
| 5314 |
} |
| 5315 |
if that1 == nil { |
| 5316 |
return this == nil |
| 5317 |
} else if this == nil { |
| 5318 |
return false |
| 5319 |
} |
| 5320 |
if !this.Duration.Equal(that1.Duration) { |
| 5321 |
return false |
| 5322 |
} |
| 5323 |
return true |
| 5324 |
} |
| 5325 |
func (this *OneofProtoTypes_RepDouble) Equal(that interface{}) bool { |
| 5326 |
if that == nil { |
| 5327 |
return this == nil |
| 5328 |
} |
| 5329 |
|
| 5330 |
that1, ok := that.(*OneofProtoTypes_RepDouble) |
| 5331 |
if !ok { |
| 5332 |
that2, ok := that.(OneofProtoTypes_RepDouble) |
| 5333 |
if ok { |
| 5334 |
that1 = &that2 |
| 5335 |
} else { |
| 5336 |
return false |
| 5337 |
} |
| 5338 |
} |
| 5339 |
if that1 == nil { |
| 5340 |
return this == nil |
| 5341 |
} else if this == nil { |
| 5342 |
return false |
| 5343 |
} |
| 5344 |
if !this.RepDouble.Equal(that1.RepDouble) { |
| 5345 |
return false |
| 5346 |
} |
| 5347 |
return true |
| 5348 |
} |
| 5349 |
func (this *OneofProtoTypes_RepFloat) Equal(that interface{}) bool { |
| 5350 |
if that == nil { |
| 5351 |
return this == nil |
| 5352 |
} |
| 5353 |
|
| 5354 |
that1, ok := that.(*OneofProtoTypes_RepFloat) |
| 5355 |
if !ok { |
| 5356 |
that2, ok := that.(OneofProtoTypes_RepFloat) |
| 5357 |
if ok { |
| 5358 |
that1 = &that2 |
| 5359 |
} else { |
| 5360 |
return false |
| 5361 |
} |
| 5362 |
} |
| 5363 |
if that1 == nil { |
| 5364 |
return this == nil |
| 5365 |
} else if this == nil { |
| 5366 |
return false |
| 5367 |
} |
| 5368 |
if !this.RepFloat.Equal(that1.RepFloat) { |
| 5369 |
return false |
| 5370 |
} |
| 5371 |
return true |
| 5372 |
} |
| 5373 |
func (this *OneofProtoTypes_RepInt64) Equal(that interface{}) bool { |
| 5374 |
if that == nil { |
| 5375 |
return this == nil |
| 5376 |
} |
| 5377 |
|
| 5378 |
that1, ok := that.(*OneofProtoTypes_RepInt64) |
| 5379 |
if !ok { |
| 5380 |
that2, ok := that.(OneofProtoTypes_RepInt64) |
| 5381 |
if ok { |
| 5382 |
that1 = &that2 |
| 5383 |
} else { |
| 5384 |
return false |
| 5385 |
} |
| 5386 |
} |
| 5387 |
if that1 == nil { |
| 5388 |
return this == nil |
| 5389 |
} else if this == nil { |
| 5390 |
return false |
| 5391 |
} |
| 5392 |
if !this.RepInt64.Equal(that1.RepInt64) { |
| 5393 |
return false |
| 5394 |
} |
| 5395 |
return true |
| 5396 |
} |
| 5397 |
func (this *OneofProtoTypes_RepUInt64) Equal(that interface{}) bool { |
| 5398 |
if that == nil { |
| 5399 |
return this == nil |
| 5400 |
} |
| 5401 |
|
| 5402 |
that1, ok := that.(*OneofProtoTypes_RepUInt64) |
| 5403 |
if !ok { |
| 5404 |
that2, ok := that.(OneofProtoTypes_RepUInt64) |
| 5405 |
if ok { |
| 5406 |
that1 = &that2 |
| 5407 |
} else { |
| 5408 |
return false |
| 5409 |
} |
| 5410 |
} |
| 5411 |
if that1 == nil { |
| 5412 |
return this == nil |
| 5413 |
} else if this == nil { |
| 5414 |
return false |
| 5415 |
} |
| 5416 |
if !this.RepUInt64.Equal(that1.RepUInt64) { |
| 5417 |
return false |
| 5418 |
} |
| 5419 |
return true |
| 5420 |
} |
| 5421 |
func (this *OneofProtoTypes_RepInt32) Equal(that interface{}) bool { |
| 5422 |
if that == nil { |
| 5423 |
return this == nil |
| 5424 |
} |
| 5425 |
|
| 5426 |
that1, ok := that.(*OneofProtoTypes_RepInt32) |
| 5427 |
if !ok { |
| 5428 |
that2, ok := that.(OneofProtoTypes_RepInt32) |
| 5429 |
if ok { |
| 5430 |
that1 = &that2 |
| 5431 |
} else { |
| 5432 |
return false |
| 5433 |
} |
| 5434 |
} |
| 5435 |
if that1 == nil { |
| 5436 |
return this == nil |
| 5437 |
} else if this == nil { |
| 5438 |
return false |
| 5439 |
} |
| 5440 |
if !this.RepInt32.Equal(that1.RepInt32) { |
| 5441 |
return false |
| 5442 |
} |
| 5443 |
return true |
| 5444 |
} |
| 5445 |
func (this *OneofProtoTypes_RepUInt32) Equal(that interface{}) bool { |
| 5446 |
if that == nil { |
| 5447 |
return this == nil |
| 5448 |
} |
| 5449 |
|
| 5450 |
that1, ok := that.(*OneofProtoTypes_RepUInt32) |
| 5451 |
if !ok { |
| 5452 |
that2, ok := that.(OneofProtoTypes_RepUInt32) |
| 5453 |
if ok { |
| 5454 |
that1 = &that2 |
| 5455 |
} else { |
| 5456 |
return false |
| 5457 |
} |
| 5458 |
} |
| 5459 |
if that1 == nil { |
| 5460 |
return this == nil |
| 5461 |
} else if this == nil { |
| 5462 |
return false |
| 5463 |
} |
| 5464 |
if !this.RepUInt32.Equal(that1.RepUInt32) { |
| 5465 |
return false |
| 5466 |
} |
| 5467 |
return true |
| 5468 |
} |
| 5469 |
func (this *OneofProtoTypes_RepBool) Equal(that interface{}) bool { |
| 5470 |
if that == nil { |
| 5471 |
return this == nil |
| 5472 |
} |
| 5473 |
|
| 5474 |
that1, ok := that.(*OneofProtoTypes_RepBool) |
| 5475 |
if !ok { |
| 5476 |
that2, ok := that.(OneofProtoTypes_RepBool) |
| 5477 |
if ok { |
| 5478 |
that1 = &that2 |
| 5479 |
} else { |
| 5480 |
return false |
| 5481 |
} |
| 5482 |
} |
| 5483 |
if that1 == nil { |
| 5484 |
return this == nil |
| 5485 |
} else if this == nil { |
| 5486 |
return false |
| 5487 |
} |
| 5488 |
if !this.RepBool.Equal(that1.RepBool) { |
| 5489 |
return false |
| 5490 |
} |
| 5491 |
return true |
| 5492 |
} |
| 5493 |
func (this *OneofProtoTypes_RepString) Equal(that interface{}) bool { |
| 5494 |
if that == nil { |
| 5495 |
return this == nil |
| 5496 |
} |
| 5497 |
|
| 5498 |
that1, ok := that.(*OneofProtoTypes_RepString) |
| 5499 |
if !ok { |
| 5500 |
that2, ok := that.(OneofProtoTypes_RepString) |
| 5501 |
if ok { |
| 5502 |
that1 = &that2 |
| 5503 |
} else { |
| 5504 |
return false |
| 5505 |
} |
| 5506 |
} |
| 5507 |
if that1 == nil { |
| 5508 |
return this == nil |
| 5509 |
} else if this == nil { |
| 5510 |
return false |
| 5511 |
} |
| 5512 |
if !this.RepString.Equal(that1.RepString) { |
| 5513 |
return false |
| 5514 |
} |
| 5515 |
return true |
| 5516 |
} |
| 5517 |
func (this *OneofProtoTypes_RepBytes) Equal(that interface{}) bool { |
| 5518 |
if that == nil { |
| 5519 |
return this == nil |
| 5520 |
} |
| 5521 |
|
| 5522 |
that1, ok := that.(*OneofProtoTypes_RepBytes) |
| 5523 |
if !ok { |
| 5524 |
that2, ok := that.(OneofProtoTypes_RepBytes) |
| 5525 |
if ok { |
| 5526 |
that1 = &that2 |
| 5527 |
} else { |
| 5528 |
return false |
| 5529 |
} |
| 5530 |
} |
| 5531 |
if that1 == nil { |
| 5532 |
return this == nil |
| 5533 |
} else if this == nil { |
| 5534 |
return false |
| 5535 |
} |
| 5536 |
if !this.RepBytes.Equal(that1.RepBytes) { |
| 5537 |
return false |
| 5538 |
} |
| 5539 |
return true |
| 5540 |
} |
| 5541 |
func (this *OneofStdTypes) VerboseEqual(that interface{}) error { |
| 5542 |
if that == nil { |
| 5543 |
if this == nil { |
| 5544 |
return nil |
| 5545 |
} |
| 5546 |
return fmt.Errorf("that == nil && this != nil") |
| 5547 |
} |
| 5548 |
|
| 5549 |
that1, ok := that.(*OneofStdTypes) |
| 5550 |
if !ok { |
| 5551 |
that2, ok := that.(OneofStdTypes) |
| 5552 |
if ok { |
| 5553 |
that1 = &that2 |
| 5554 |
} else { |
| 5555 |
return fmt.Errorf("that is not of type *OneofStdTypes") |
| 5556 |
} |
| 5557 |
} |
| 5558 |
if that1 == nil { |
| 5559 |
if this == nil { |
| 5560 |
return nil |
| 5561 |
} |
| 5562 |
return fmt.Errorf("that is type *OneofStdTypes but is nil && this != nil") |
| 5563 |
} else if this == nil { |
| 5564 |
return fmt.Errorf("that is type *OneofStdTypes but is not nil && this == nil") |
| 5565 |
} |
| 5566 |
if that1.OneOfStdTimes == nil { |
| 5567 |
if this.OneOfStdTimes != nil { |
| 5568 |
return fmt.Errorf("this.OneOfStdTimes != nil && that1.OneOfStdTimes == nil") |
| 5569 |
} |
| 5570 |
} else if this.OneOfStdTimes == nil { |
| 5571 |
return fmt.Errorf("this.OneOfStdTimes == nil && that1.OneOfStdTimes != nil") |
| 5572 |
} else if err := this.OneOfStdTimes.VerboseEqual(that1.OneOfStdTimes); err != nil { |
| 5573 |
return err |
| 5574 |
} |
| 5575 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 5576 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 5577 |
} |
| 5578 |
return nil |
| 5579 |
} |
| 5580 |
func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) error { |
| 5581 |
if that == nil { |
| 5582 |
if this == nil { |
| 5583 |
return nil |
| 5584 |
} |
| 5585 |
return fmt.Errorf("that == nil && this != nil") |
| 5586 |
} |
| 5587 |
|
| 5588 |
that1, ok := that.(*OneofStdTypes_Timestamp) |
| 5589 |
if !ok { |
| 5590 |
that2, ok := that.(OneofStdTypes_Timestamp) |
| 5591 |
if ok { |
| 5592 |
that1 = &that2 |
| 5593 |
} else { |
| 5594 |
return fmt.Errorf("that is not of type *OneofStdTypes_Timestamp") |
| 5595 |
} |
| 5596 |
} |
| 5597 |
if that1 == nil { |
| 5598 |
if this == nil { |
| 5599 |
return nil |
| 5600 |
} |
| 5601 |
return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is nil && this != nil") |
| 5602 |
} else if this == nil { |
| 5603 |
return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is not nil && this == nil") |
| 5604 |
} |
| 5605 |
if that1.Timestamp == nil { |
| 5606 |
if this.Timestamp != nil { |
| 5607 |
return fmt.Errorf("this.Timestamp != nil && that1.Timestamp == nil") |
| 5608 |
} |
| 5609 |
} else if !this.Timestamp.Equal(*that1.Timestamp) { |
| 5610 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) |
| 5611 |
} |
| 5612 |
return nil |
| 5613 |
} |
| 5614 |
func (this *OneofStdTypes_Duration) VerboseEqual(that interface{}) error { |
| 5615 |
if that == nil { |
| 5616 |
if this == nil { |
| 5617 |
return nil |
| 5618 |
} |
| 5619 |
return fmt.Errorf("that == nil && this != nil") |
| 5620 |
} |
| 5621 |
|
| 5622 |
that1, ok := that.(*OneofStdTypes_Duration) |
| 5623 |
if !ok { |
| 5624 |
that2, ok := that.(OneofStdTypes_Duration) |
| 5625 |
if ok { |
| 5626 |
that1 = &that2 |
| 5627 |
} else { |
| 5628 |
return fmt.Errorf("that is not of type *OneofStdTypes_Duration") |
| 5629 |
} |
| 5630 |
} |
| 5631 |
if that1 == nil { |
| 5632 |
if this == nil { |
| 5633 |
return nil |
| 5634 |
} |
| 5635 |
return fmt.Errorf("that is type *OneofStdTypes_Duration but is nil && this != nil") |
| 5636 |
} else if this == nil { |
| 5637 |
return fmt.Errorf("that is type *OneofStdTypes_Duration but is not nil && this == nil") |
| 5638 |
} |
| 5639 |
if this.Duration != nil && that1.Duration != nil { |
| 5640 |
if *this.Duration != *that1.Duration { |
| 5641 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", *this.Duration, *that1.Duration) |
| 5642 |
} |
| 5643 |
} else if this.Duration != nil { |
| 5644 |
return fmt.Errorf("this.Duration == nil && that.Duration != nil") |
| 5645 |
} else if that1.Duration != nil { |
| 5646 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) |
| 5647 |
} |
| 5648 |
return nil |
| 5649 |
} |
| 5650 |
func (this *OneofStdTypes_RepDouble) VerboseEqual(that interface{}) error { |
| 5651 |
if that == nil { |
| 5652 |
if this == nil { |
| 5653 |
return nil |
| 5654 |
} |
| 5655 |
return fmt.Errorf("that == nil && this != nil") |
| 5656 |
} |
| 5657 |
|
| 5658 |
that1, ok := that.(*OneofStdTypes_RepDouble) |
| 5659 |
if !ok { |
| 5660 |
that2, ok := that.(OneofStdTypes_RepDouble) |
| 5661 |
if ok { |
| 5662 |
that1 = &that2 |
| 5663 |
} else { |
| 5664 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepDouble") |
| 5665 |
} |
| 5666 |
} |
| 5667 |
if that1 == nil { |
| 5668 |
if this == nil { |
| 5669 |
return nil |
| 5670 |
} |
| 5671 |
return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is nil && this != nil") |
| 5672 |
} else if this == nil { |
| 5673 |
return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is not nil && this == nil") |
| 5674 |
} |
| 5675 |
if this.RepDouble != nil && that1.RepDouble != nil { |
| 5676 |
if *this.RepDouble != *that1.RepDouble { |
| 5677 |
return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", *this.RepDouble, *that1.RepDouble) |
| 5678 |
} |
| 5679 |
} else if this.RepDouble != nil { |
| 5680 |
return fmt.Errorf("this.RepDouble == nil && that.RepDouble != nil") |
| 5681 |
} else if that1.RepDouble != nil { |
| 5682 |
return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) |
| 5683 |
} |
| 5684 |
return nil |
| 5685 |
} |
| 5686 |
func (this *OneofStdTypes_RepFloat) VerboseEqual(that interface{}) error { |
| 5687 |
if that == nil { |
| 5688 |
if this == nil { |
| 5689 |
return nil |
| 5690 |
} |
| 5691 |
return fmt.Errorf("that == nil && this != nil") |
| 5692 |
} |
| 5693 |
|
| 5694 |
that1, ok := that.(*OneofStdTypes_RepFloat) |
| 5695 |
if !ok { |
| 5696 |
that2, ok := that.(OneofStdTypes_RepFloat) |
| 5697 |
if ok { |
| 5698 |
that1 = &that2 |
| 5699 |
} else { |
| 5700 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepFloat") |
| 5701 |
} |
| 5702 |
} |
| 5703 |
if that1 == nil { |
| 5704 |
if this == nil { |
| 5705 |
return nil |
| 5706 |
} |
| 5707 |
return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is nil && this != nil") |
| 5708 |
} else if this == nil { |
| 5709 |
return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is not nil && this == nil") |
| 5710 |
} |
| 5711 |
if this.RepFloat != nil && that1.RepFloat != nil { |
| 5712 |
if *this.RepFloat != *that1.RepFloat { |
| 5713 |
return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", *this.RepFloat, *that1.RepFloat) |
| 5714 |
} |
| 5715 |
} else if this.RepFloat != nil { |
| 5716 |
return fmt.Errorf("this.RepFloat == nil && that.RepFloat != nil") |
| 5717 |
} else if that1.RepFloat != nil { |
| 5718 |
return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) |
| 5719 |
} |
| 5720 |
return nil |
| 5721 |
} |
| 5722 |
func (this *OneofStdTypes_RepInt64) VerboseEqual(that interface{}) error { |
| 5723 |
if that == nil { |
| 5724 |
if this == nil { |
| 5725 |
return nil |
| 5726 |
} |
| 5727 |
return fmt.Errorf("that == nil && this != nil") |
| 5728 |
} |
| 5729 |
|
| 5730 |
that1, ok := that.(*OneofStdTypes_RepInt64) |
| 5731 |
if !ok { |
| 5732 |
that2, ok := that.(OneofStdTypes_RepInt64) |
| 5733 |
if ok { |
| 5734 |
that1 = &that2 |
| 5735 |
} else { |
| 5736 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepInt64") |
| 5737 |
} |
| 5738 |
} |
| 5739 |
if that1 == nil { |
| 5740 |
if this == nil { |
| 5741 |
return nil |
| 5742 |
} |
| 5743 |
return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is nil && this != nil") |
| 5744 |
} else if this == nil { |
| 5745 |
return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is not nil && this == nil") |
| 5746 |
} |
| 5747 |
if this.RepInt64 != nil && that1.RepInt64 != nil { |
| 5748 |
if *this.RepInt64 != *that1.RepInt64 { |
| 5749 |
return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", *this.RepInt64, *that1.RepInt64) |
| 5750 |
} |
| 5751 |
} else if this.RepInt64 != nil { |
| 5752 |
return fmt.Errorf("this.RepInt64 == nil && that.RepInt64 != nil") |
| 5753 |
} else if that1.RepInt64 != nil { |
| 5754 |
return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) |
| 5755 |
} |
| 5756 |
return nil |
| 5757 |
} |
| 5758 |
func (this *OneofStdTypes_RepUInt64) VerboseEqual(that interface{}) error { |
| 5759 |
if that == nil { |
| 5760 |
if this == nil { |
| 5761 |
return nil |
| 5762 |
} |
| 5763 |
return fmt.Errorf("that == nil && this != nil") |
| 5764 |
} |
| 5765 |
|
| 5766 |
that1, ok := that.(*OneofStdTypes_RepUInt64) |
| 5767 |
if !ok { |
| 5768 |
that2, ok := that.(OneofStdTypes_RepUInt64) |
| 5769 |
if ok { |
| 5770 |
that1 = &that2 |
| 5771 |
} else { |
| 5772 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt64") |
| 5773 |
} |
| 5774 |
} |
| 5775 |
if that1 == nil { |
| 5776 |
if this == nil { |
| 5777 |
return nil |
| 5778 |
} |
| 5779 |
return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is nil && this != nil") |
| 5780 |
} else if this == nil { |
| 5781 |
return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is not nil && this == nil") |
| 5782 |
} |
| 5783 |
if this.RepUInt64 != nil && that1.RepUInt64 != nil { |
| 5784 |
if *this.RepUInt64 != *that1.RepUInt64 { |
| 5785 |
return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", *this.RepUInt64, *that1.RepUInt64) |
| 5786 |
} |
| 5787 |
} else if this.RepUInt64 != nil { |
| 5788 |
return fmt.Errorf("this.RepUInt64 == nil && that.RepUInt64 != nil") |
| 5789 |
} else if that1.RepUInt64 != nil { |
| 5790 |
return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) |
| 5791 |
} |
| 5792 |
return nil |
| 5793 |
} |
| 5794 |
func (this *OneofStdTypes_RepInt32) VerboseEqual(that interface{}) error { |
| 5795 |
if that == nil { |
| 5796 |
if this == nil { |
| 5797 |
return nil |
| 5798 |
} |
| 5799 |
return fmt.Errorf("that == nil && this != nil") |
| 5800 |
} |
| 5801 |
|
| 5802 |
that1, ok := that.(*OneofStdTypes_RepInt32) |
| 5803 |
if !ok { |
| 5804 |
that2, ok := that.(OneofStdTypes_RepInt32) |
| 5805 |
if ok { |
| 5806 |
that1 = &that2 |
| 5807 |
} else { |
| 5808 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepInt32") |
| 5809 |
} |
| 5810 |
} |
| 5811 |
if that1 == nil { |
| 5812 |
if this == nil { |
| 5813 |
return nil |
| 5814 |
} |
| 5815 |
return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is nil && this != nil") |
| 5816 |
} else if this == nil { |
| 5817 |
return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is not nil && this == nil") |
| 5818 |
} |
| 5819 |
if this.RepInt32 != nil && that1.RepInt32 != nil { |
| 5820 |
if *this.RepInt32 != *that1.RepInt32 { |
| 5821 |
return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", *this.RepInt32, *that1.RepInt32) |
| 5822 |
} |
| 5823 |
} else if this.RepInt32 != nil { |
| 5824 |
return fmt.Errorf("this.RepInt32 == nil && that.RepInt32 != nil") |
| 5825 |
} else if that1.RepInt32 != nil { |
| 5826 |
return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) |
| 5827 |
} |
| 5828 |
return nil |
| 5829 |
} |
| 5830 |
func (this *OneofStdTypes_RepUInt32) VerboseEqual(that interface{}) error { |
| 5831 |
if that == nil { |
| 5832 |
if this == nil { |
| 5833 |
return nil |
| 5834 |
} |
| 5835 |
return fmt.Errorf("that == nil && this != nil") |
| 5836 |
} |
| 5837 |
|
| 5838 |
that1, ok := that.(*OneofStdTypes_RepUInt32) |
| 5839 |
if !ok { |
| 5840 |
that2, ok := that.(OneofStdTypes_RepUInt32) |
| 5841 |
if ok { |
| 5842 |
that1 = &that2 |
| 5843 |
} else { |
| 5844 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt32") |
| 5845 |
} |
| 5846 |
} |
| 5847 |
if that1 == nil { |
| 5848 |
if this == nil { |
| 5849 |
return nil |
| 5850 |
} |
| 5851 |
return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is nil && this != nil") |
| 5852 |
} else if this == nil { |
| 5853 |
return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is not nil && this == nil") |
| 5854 |
} |
| 5855 |
if this.RepUInt32 != nil && that1.RepUInt32 != nil { |
| 5856 |
if *this.RepUInt32 != *that1.RepUInt32 { |
| 5857 |
return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", *this.RepUInt32, *that1.RepUInt32) |
| 5858 |
} |
| 5859 |
} else if this.RepUInt32 != nil { |
| 5860 |
return fmt.Errorf("this.RepUInt32 == nil && that.RepUInt32 != nil") |
| 5861 |
} else if that1.RepUInt32 != nil { |
| 5862 |
return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) |
| 5863 |
} |
| 5864 |
return nil |
| 5865 |
} |
| 5866 |
func (this *OneofStdTypes_RepBool) VerboseEqual(that interface{}) error { |
| 5867 |
if that == nil { |
| 5868 |
if this == nil { |
| 5869 |
return nil |
| 5870 |
} |
| 5871 |
return fmt.Errorf("that == nil && this != nil") |
| 5872 |
} |
| 5873 |
|
| 5874 |
that1, ok := that.(*OneofStdTypes_RepBool) |
| 5875 |
if !ok { |
| 5876 |
that2, ok := that.(OneofStdTypes_RepBool) |
| 5877 |
if ok { |
| 5878 |
that1 = &that2 |
| 5879 |
} else { |
| 5880 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepBool") |
| 5881 |
} |
| 5882 |
} |
| 5883 |
if that1 == nil { |
| 5884 |
if this == nil { |
| 5885 |
return nil |
| 5886 |
} |
| 5887 |
return fmt.Errorf("that is type *OneofStdTypes_RepBool but is nil && this != nil") |
| 5888 |
} else if this == nil { |
| 5889 |
return fmt.Errorf("that is type *OneofStdTypes_RepBool but is not nil && this == nil") |
| 5890 |
} |
| 5891 |
if this.RepBool != nil && that1.RepBool != nil { |
| 5892 |
if *this.RepBool != *that1.RepBool { |
| 5893 |
return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", *this.RepBool, *that1.RepBool) |
| 5894 |
} |
| 5895 |
} else if this.RepBool != nil { |
| 5896 |
return fmt.Errorf("this.RepBool == nil && that.RepBool != nil") |
| 5897 |
} else if that1.RepBool != nil { |
| 5898 |
return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) |
| 5899 |
} |
| 5900 |
return nil |
| 5901 |
} |
| 5902 |
func (this *OneofStdTypes_RepString) VerboseEqual(that interface{}) error { |
| 5903 |
if that == nil { |
| 5904 |
if this == nil { |
| 5905 |
return nil |
| 5906 |
} |
| 5907 |
return fmt.Errorf("that == nil && this != nil") |
| 5908 |
} |
| 5909 |
|
| 5910 |
that1, ok := that.(*OneofStdTypes_RepString) |
| 5911 |
if !ok { |
| 5912 |
that2, ok := that.(OneofStdTypes_RepString) |
| 5913 |
if ok { |
| 5914 |
that1 = &that2 |
| 5915 |
} else { |
| 5916 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepString") |
| 5917 |
} |
| 5918 |
} |
| 5919 |
if that1 == nil { |
| 5920 |
if this == nil { |
| 5921 |
return nil |
| 5922 |
} |
| 5923 |
return fmt.Errorf("that is type *OneofStdTypes_RepString but is nil && this != nil") |
| 5924 |
} else if this == nil { |
| 5925 |
return fmt.Errorf("that is type *OneofStdTypes_RepString but is not nil && this == nil") |
| 5926 |
} |
| 5927 |
if this.RepString != nil && that1.RepString != nil { |
| 5928 |
if *this.RepString != *that1.RepString { |
| 5929 |
return fmt.Errorf("RepString this(%v) Not Equal that(%v)", *this.RepString, *that1.RepString) |
| 5930 |
} |
| 5931 |
} else if this.RepString != nil { |
| 5932 |
return fmt.Errorf("this.RepString == nil && that.RepString != nil") |
| 5933 |
} else if that1.RepString != nil { |
| 5934 |
return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) |
| 5935 |
} |
| 5936 |
return nil |
| 5937 |
} |
| 5938 |
func (this *OneofStdTypes_RepBytes) VerboseEqual(that interface{}) error { |
| 5939 |
if that == nil { |
| 5940 |
if this == nil { |
| 5941 |
return nil |
| 5942 |
} |
| 5943 |
return fmt.Errorf("that == nil && this != nil") |
| 5944 |
} |
| 5945 |
|
| 5946 |
that1, ok := that.(*OneofStdTypes_RepBytes) |
| 5947 |
if !ok { |
| 5948 |
that2, ok := that.(OneofStdTypes_RepBytes) |
| 5949 |
if ok { |
| 5950 |
that1 = &that2 |
| 5951 |
} else { |
| 5952 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepBytes") |
| 5953 |
} |
| 5954 |
} |
| 5955 |
if that1 == nil { |
| 5956 |
if this == nil { |
| 5957 |
return nil |
| 5958 |
} |
| 5959 |
return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is nil && this != nil") |
| 5960 |
} else if this == nil { |
| 5961 |
return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is not nil && this == nil") |
| 5962 |
} |
| 5963 |
if that1.RepBytes == nil { |
| 5964 |
if this.RepBytes != nil { |
| 5965 |
return fmt.Errorf("this.RepBytes != nil && that1.RepBytes == nil") |
| 5966 |
} |
| 5967 |
} else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { |
| 5968 |
return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) |
| 5969 |
} |
| 5970 |
return nil |
| 5971 |
} |
| 5972 |
func (this *OneofStdTypes) Equal(that interface{}) bool { |
| 5973 |
if that == nil { |
| 5974 |
return this == nil |
| 5975 |
} |
| 5976 |
|
| 5977 |
that1, ok := that.(*OneofStdTypes) |
| 5978 |
if !ok { |
| 5979 |
that2, ok := that.(OneofStdTypes) |
| 5980 |
if ok { |
| 5981 |
that1 = &that2 |
| 5982 |
} else { |
| 5983 |
return false |
| 5984 |
} |
| 5985 |
} |
| 5986 |
if that1 == nil { |
| 5987 |
return this == nil |
| 5988 |
} else if this == nil { |
| 5989 |
return false |
| 5990 |
} |
| 5991 |
if that1.OneOfStdTimes == nil { |
| 5992 |
if this.OneOfStdTimes != nil { |
| 5993 |
return false |
| 5994 |
} |
| 5995 |
} else if this.OneOfStdTimes == nil { |
| 5996 |
return false |
| 5997 |
} else if !this.OneOfStdTimes.Equal(that1.OneOfStdTimes) { |
| 5998 |
return false |
| 5999 |
} |
| 6000 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 6001 |
return false |
| 6002 |
} |
| 6003 |
return true |
| 6004 |
} |
| 6005 |
func (this *OneofStdTypes_Timestamp) Equal(that interface{}) bool { |
| 6006 |
if that == nil { |
| 6007 |
return this == nil |
| 6008 |
} |
| 6009 |
|
| 6010 |
that1, ok := that.(*OneofStdTypes_Timestamp) |
| 6011 |
if !ok { |
| 6012 |
that2, ok := that.(OneofStdTypes_Timestamp) |
| 6013 |
if ok { |
| 6014 |
that1 = &that2 |
| 6015 |
} else { |
| 6016 |
return false |
| 6017 |
} |
| 6018 |
} |
| 6019 |
if that1 == nil { |
| 6020 |
return this == nil |
| 6021 |
} else if this == nil { |
| 6022 |
return false |
| 6023 |
} |
| 6024 |
if that1.Timestamp == nil { |
| 6025 |
if this.Timestamp != nil { |
| 6026 |
return false |
| 6027 |
} |
| 6028 |
} else if !this.Timestamp.Equal(*that1.Timestamp) { |
| 6029 |
return false |
| 6030 |
} |
| 6031 |
return true |
| 6032 |
} |
| 6033 |
func (this *OneofStdTypes_Duration) Equal(that interface{}) bool { |
| 6034 |
if that == nil { |
| 6035 |
return this == nil |
| 6036 |
} |
| 6037 |
|
| 6038 |
that1, ok := that.(*OneofStdTypes_Duration) |
| 6039 |
if !ok { |
| 6040 |
that2, ok := that.(OneofStdTypes_Duration) |
| 6041 |
if ok { |
| 6042 |
that1 = &that2 |
| 6043 |
} else { |
| 6044 |
return false |
| 6045 |
} |
| 6046 |
} |
| 6047 |
if that1 == nil { |
| 6048 |
return this == nil |
| 6049 |
} else if this == nil { |
| 6050 |
return false |
| 6051 |
} |
| 6052 |
if this.Duration != nil && that1.Duration != nil { |
| 6053 |
if *this.Duration != *that1.Duration { |
| 6054 |
return false |
| 6055 |
} |
| 6056 |
} else if this.Duration != nil { |
| 6057 |
return false |
| 6058 |
} else if that1.Duration != nil { |
| 6059 |
return false |
| 6060 |
} |
| 6061 |
return true |
| 6062 |
} |
| 6063 |
func (this *OneofStdTypes_RepDouble) Equal(that interface{}) bool { |
| 6064 |
if that == nil { |
| 6065 |
return this == nil |
| 6066 |
} |
| 6067 |
|
| 6068 |
that1, ok := that.(*OneofStdTypes_RepDouble) |
| 6069 |
if !ok { |
| 6070 |
that2, ok := that.(OneofStdTypes_RepDouble) |
| 6071 |
if ok { |
| 6072 |
that1 = &that2 |
| 6073 |
} else { |
| 6074 |
return false |
| 6075 |
} |
| 6076 |
} |
| 6077 |
if that1 == nil { |
| 6078 |
return this == nil |
| 6079 |
} else if this == nil { |
| 6080 |
return false |
| 6081 |
} |
| 6082 |
if this.RepDouble != nil && that1.RepDouble != nil { |
| 6083 |
if *this.RepDouble != *that1.RepDouble { |
| 6084 |
return false |
| 6085 |
} |
| 6086 |
} else if this.RepDouble != nil { |
| 6087 |
return false |
| 6088 |
} else if that1.RepDouble != nil { |
| 6089 |
return false |
| 6090 |
} |
| 6091 |
return true |
| 6092 |
} |
| 6093 |
func (this *OneofStdTypes_RepFloat) Equal(that interface{}) bool { |
| 6094 |
if that == nil { |
| 6095 |
return this == nil |
| 6096 |
} |
| 6097 |
|
| 6098 |
that1, ok := that.(*OneofStdTypes_RepFloat) |
| 6099 |
if !ok { |
| 6100 |
that2, ok := that.(OneofStdTypes_RepFloat) |
| 6101 |
if ok { |
| 6102 |
that1 = &that2 |
| 6103 |
} else { |
| 6104 |
return false |
| 6105 |
} |
| 6106 |
} |
| 6107 |
if that1 == nil { |
| 6108 |
return this == nil |
| 6109 |
} else if this == nil { |
| 6110 |
return false |
| 6111 |
} |
| 6112 |
if this.RepFloat != nil && that1.RepFloat != nil { |
| 6113 |
if *this.RepFloat != *that1.RepFloat { |
| 6114 |
return false |
| 6115 |
} |
| 6116 |
} else if this.RepFloat != nil { |
| 6117 |
return false |
| 6118 |
} else if that1.RepFloat != nil { |
| 6119 |
return false |
| 6120 |
} |
| 6121 |
return true |
| 6122 |
} |
| 6123 |
func (this *OneofStdTypes_RepInt64) Equal(that interface{}) bool { |
| 6124 |
if that == nil { |
| 6125 |
return this == nil |
| 6126 |
} |
| 6127 |
|
| 6128 |
that1, ok := that.(*OneofStdTypes_RepInt64) |
| 6129 |
if !ok { |
| 6130 |
that2, ok := that.(OneofStdTypes_RepInt64) |
| 6131 |
if ok { |
| 6132 |
that1 = &that2 |
| 6133 |
} else { |
| 6134 |
return false |
| 6135 |
} |
| 6136 |
} |
| 6137 |
if that1 == nil { |
| 6138 |
return this == nil |
| 6139 |
} else if this == nil { |
| 6140 |
return false |
| 6141 |
} |
| 6142 |
if this.RepInt64 != nil && that1.RepInt64 != nil { |
| 6143 |
if *this.RepInt64 != *that1.RepInt64 { |
| 6144 |
return false |
| 6145 |
} |
| 6146 |
} else if this.RepInt64 != nil { |
| 6147 |
return false |
| 6148 |
} else if that1.RepInt64 != nil { |
| 6149 |
return false |
| 6150 |
} |
| 6151 |
return true |
| 6152 |
} |
| 6153 |
func (this *OneofStdTypes_RepUInt64) Equal(that interface{}) bool { |
| 6154 |
if that == nil { |
| 6155 |
return this == nil |
| 6156 |
} |
| 6157 |
|
| 6158 |
that1, ok := that.(*OneofStdTypes_RepUInt64) |
| 6159 |
if !ok { |
| 6160 |
that2, ok := that.(OneofStdTypes_RepUInt64) |
| 6161 |
if ok { |
| 6162 |
that1 = &that2 |
| 6163 |
} else { |
| 6164 |
return false |
| 6165 |
} |
| 6166 |
} |
| 6167 |
if that1 == nil { |
| 6168 |
return this == nil |
| 6169 |
} else if this == nil { |
| 6170 |
return false |
| 6171 |
} |
| 6172 |
if this.RepUInt64 != nil && that1.RepUInt64 != nil { |
| 6173 |
if *this.RepUInt64 != *that1.RepUInt64 { |
| 6174 |
return false |
| 6175 |
} |
| 6176 |
} else if this.RepUInt64 != nil { |
| 6177 |
return false |
| 6178 |
} else if that1.RepUInt64 != nil { |
| 6179 |
return false |
| 6180 |
} |
| 6181 |
return true |
| 6182 |
} |
| 6183 |
func (this *OneofStdTypes_RepInt32) Equal(that interface{}) bool { |
| 6184 |
if that == nil { |
| 6185 |
return this == nil |
| 6186 |
} |
| 6187 |
|
| 6188 |
that1, ok := that.(*OneofStdTypes_RepInt32) |
| 6189 |
if !ok { |
| 6190 |
that2, ok := that.(OneofStdTypes_RepInt32) |
| 6191 |
if ok { |
| 6192 |
that1 = &that2 |
| 6193 |
} else { |
| 6194 |
return false |
| 6195 |
} |
| 6196 |
} |
| 6197 |
if that1 == nil { |
| 6198 |
return this == nil |
| 6199 |
} else if this == nil { |
| 6200 |
return false |
| 6201 |
} |
| 6202 |
if this.RepInt32 != nil && that1.RepInt32 != nil { |
| 6203 |
if *this.RepInt32 != *that1.RepInt32 { |
| 6204 |
return false |
| 6205 |
} |
| 6206 |
} else if this.RepInt32 != nil { |
| 6207 |
return false |
| 6208 |
} else if that1.RepInt32 != nil { |
| 6209 |
return false |
| 6210 |
} |
| 6211 |
return true |
| 6212 |
} |
| 6213 |
func (this *OneofStdTypes_RepUInt32) Equal(that interface{}) bool { |
| 6214 |
if that == nil { |
| 6215 |
return this == nil |
| 6216 |
} |
| 6217 |
|
| 6218 |
that1, ok := that.(*OneofStdTypes_RepUInt32) |
| 6219 |
if !ok { |
| 6220 |
that2, ok := that.(OneofStdTypes_RepUInt32) |
| 6221 |
if ok { |
| 6222 |
that1 = &that2 |
| 6223 |
} else { |
| 6224 |
return false |
| 6225 |
} |
| 6226 |
} |
| 6227 |
if that1 == nil { |
| 6228 |
return this == nil |
| 6229 |
} else if this == nil { |
| 6230 |
return false |
| 6231 |
} |
| 6232 |
if this.RepUInt32 != nil && that1.RepUInt32 != nil { |
| 6233 |
if *this.RepUInt32 != *that1.RepUInt32 { |
| 6234 |
return false |
| 6235 |
} |
| 6236 |
} else if this.RepUInt32 != nil { |
| 6237 |
return false |
| 6238 |
} else if that1.RepUInt32 != nil { |
| 6239 |
return false |
| 6240 |
} |
| 6241 |
return true |
| 6242 |
} |
| 6243 |
func (this *OneofStdTypes_RepBool) Equal(that interface{}) bool { |
| 6244 |
if that == nil { |
| 6245 |
return this == nil |
| 6246 |
} |
| 6247 |
|
| 6248 |
that1, ok := that.(*OneofStdTypes_RepBool) |
| 6249 |
if !ok { |
| 6250 |
that2, ok := that.(OneofStdTypes_RepBool) |
| 6251 |
if ok { |
| 6252 |
that1 = &that2 |
| 6253 |
} else { |
| 6254 |
return false |
| 6255 |
} |
| 6256 |
} |
| 6257 |
if that1 == nil { |
| 6258 |
return this == nil |
| 6259 |
} else if this == nil { |
| 6260 |
return false |
| 6261 |
} |
| 6262 |
if this.RepBool != nil && that1.RepBool != nil { |
| 6263 |
if *this.RepBool != *that1.RepBool { |
| 6264 |
return false |
| 6265 |
} |
| 6266 |
} else if this.RepBool != nil { |
| 6267 |
return false |
| 6268 |
} else if that1.RepBool != nil { |
| 6269 |
return false |
| 6270 |
} |
| 6271 |
return true |
| 6272 |
} |
| 6273 |
func (this *OneofStdTypes_RepString) Equal(that interface{}) bool { |
| 6274 |
if that == nil { |
| 6275 |
return this == nil |
| 6276 |
} |
| 6277 |
|
| 6278 |
that1, ok := that.(*OneofStdTypes_RepString) |
| 6279 |
if !ok { |
| 6280 |
that2, ok := that.(OneofStdTypes_RepString) |
| 6281 |
if ok { |
| 6282 |
that1 = &that2 |
| 6283 |
} else { |
| 6284 |
return false |
| 6285 |
} |
| 6286 |
} |
| 6287 |
if that1 == nil { |
| 6288 |
return this == nil |
| 6289 |
} else if this == nil { |
| 6290 |
return false |
| 6291 |
} |
| 6292 |
if this.RepString != nil && that1.RepString != nil { |
| 6293 |
if *this.RepString != *that1.RepString { |
| 6294 |
return false |
| 6295 |
} |
| 6296 |
} else if this.RepString != nil { |
| 6297 |
return false |
| 6298 |
} else if that1.RepString != nil { |
| 6299 |
return false |
| 6300 |
} |
| 6301 |
return true |
| 6302 |
} |
| 6303 |
func (this *OneofStdTypes_RepBytes) Equal(that interface{}) bool { |
| 6304 |
if that == nil { |
| 6305 |
return this == nil |
| 6306 |
} |
| 6307 |
|
| 6308 |
that1, ok := that.(*OneofStdTypes_RepBytes) |
| 6309 |
if !ok { |
| 6310 |
that2, ok := that.(OneofStdTypes_RepBytes) |
| 6311 |
if ok { |
| 6312 |
that1 = &that2 |
| 6313 |
} else { |
| 6314 |
return false |
| 6315 |
} |
| 6316 |
} |
| 6317 |
if that1 == nil { |
| 6318 |
return this == nil |
| 6319 |
} else if this == nil { |
| 6320 |
return false |
| 6321 |
} |
| 6322 |
if that1.RepBytes == nil { |
| 6323 |
if this.RepBytes != nil { |
| 6324 |
return false |
| 6325 |
} |
| 6326 |
} else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { |
| 6327 |
return false |
| 6328 |
} |
| 6329 |
return true |
| 6330 |
} |
| 6331 |
func (m *KnownTypes) Marshal() (dAtA []byte, err error) { |
| 6332 |
size := m.Size() |
| 6333 |
dAtA = make([]byte, size) |
| 6334 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 6335 |
if err != nil { |
| 6336 |
return nil, err |
| 6337 |
} |
| 6338 |
return dAtA[:n], nil |
| 6339 |
} |
| 6340 |
|
| 6341 |
func (m *KnownTypes) MarshalTo(dAtA []byte) (int, error) { |
| 6342 |
size := m.Size() |
| 6343 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 6344 |
} |
| 6345 |
|
| 6346 |
func (m *KnownTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 6347 |
i := len(dAtA) |
| 6348 |
_ = i |
| 6349 |
var l int |
| 6350 |
_ = l |
| 6351 |
if m.XXX_unrecognized != nil { |
| 6352 |
i -= len(m.XXX_unrecognized) |
| 6353 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 6354 |
} |
| 6355 |
if m.St != nil { |
| 6356 |
{ |
| 6357 |
size, err := m.St.MarshalToSizedBuffer(dAtA[:i]) |
| 6358 |
if err != nil { |
| 6359 |
return 0, err |
| 6360 |
} |
| 6361 |
i -= size |
| 6362 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6363 |
} |
| 6364 |
i-- |
| 6365 |
dAtA[i] = 0x62 |
| 6366 |
} |
| 6367 |
if m.Bytes != nil { |
| 6368 |
{ |
| 6369 |
size, err := m.Bytes.MarshalToSizedBuffer(dAtA[:i]) |
| 6370 |
if err != nil { |
| 6371 |
return 0, err |
| 6372 |
} |
| 6373 |
i -= size |
| 6374 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6375 |
} |
| 6376 |
i-- |
| 6377 |
dAtA[i] = 0x5a |
| 6378 |
} |
| 6379 |
if m.Str != nil { |
| 6380 |
{ |
| 6381 |
size, err := m.Str.MarshalToSizedBuffer(dAtA[:i]) |
| 6382 |
if err != nil { |
| 6383 |
return 0, err |
| 6384 |
} |
| 6385 |
i -= size |
| 6386 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6387 |
} |
| 6388 |
i-- |
| 6389 |
dAtA[i] = 0x52 |
| 6390 |
} |
| 6391 |
if m.Bool != nil { |
| 6392 |
{ |
| 6393 |
size, err := m.Bool.MarshalToSizedBuffer(dAtA[:i]) |
| 6394 |
if err != nil { |
| 6395 |
return 0, err |
| 6396 |
} |
| 6397 |
i -= size |
| 6398 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6399 |
} |
| 6400 |
i-- |
| 6401 |
dAtA[i] = 0x4a |
| 6402 |
} |
| 6403 |
if m.U32 != nil { |
| 6404 |
{ |
| 6405 |
size, err := m.U32.MarshalToSizedBuffer(dAtA[:i]) |
| 6406 |
if err != nil { |
| 6407 |
return 0, err |
| 6408 |
} |
| 6409 |
i -= size |
| 6410 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6411 |
} |
| 6412 |
i-- |
| 6413 |
dAtA[i] = 0x42 |
| 6414 |
} |
| 6415 |
if m.I32 != nil { |
| 6416 |
{ |
| 6417 |
size, err := m.I32.MarshalToSizedBuffer(dAtA[:i]) |
| 6418 |
if err != nil { |
| 6419 |
return 0, err |
| 6420 |
} |
| 6421 |
i -= size |
| 6422 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6423 |
} |
| 6424 |
i-- |
| 6425 |
dAtA[i] = 0x3a |
| 6426 |
} |
| 6427 |
if m.U64 != nil { |
| 6428 |
{ |
| 6429 |
size, err := m.U64.MarshalToSizedBuffer(dAtA[:i]) |
| 6430 |
if err != nil { |
| 6431 |
return 0, err |
| 6432 |
} |
| 6433 |
i -= size |
| 6434 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6435 |
} |
| 6436 |
i-- |
| 6437 |
dAtA[i] = 0x32 |
| 6438 |
} |
| 6439 |
if m.I64 != nil { |
| 6440 |
{ |
| 6441 |
size, err := m.I64.MarshalToSizedBuffer(dAtA[:i]) |
| 6442 |
if err != nil { |
| 6443 |
return 0, err |
| 6444 |
} |
| 6445 |
i -= size |
| 6446 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6447 |
} |
| 6448 |
i-- |
| 6449 |
dAtA[i] = 0x2a |
| 6450 |
} |
| 6451 |
if m.Flt != nil { |
| 6452 |
{ |
| 6453 |
size, err := m.Flt.MarshalToSizedBuffer(dAtA[:i]) |
| 6454 |
if err != nil { |
| 6455 |
return 0, err |
| 6456 |
} |
| 6457 |
i -= size |
| 6458 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6459 |
} |
| 6460 |
i-- |
| 6461 |
dAtA[i] = 0x22 |
| 6462 |
} |
| 6463 |
if m.Dbl != nil { |
| 6464 |
{ |
| 6465 |
size, err := m.Dbl.MarshalToSizedBuffer(dAtA[:i]) |
| 6466 |
if err != nil { |
| 6467 |
return 0, err |
| 6468 |
} |
| 6469 |
i -= size |
| 6470 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6471 |
} |
| 6472 |
i-- |
| 6473 |
dAtA[i] = 0x1a |
| 6474 |
} |
| 6475 |
if m.Ts != nil { |
| 6476 |
{ |
| 6477 |
size, err := m.Ts.MarshalToSizedBuffer(dAtA[:i]) |
| 6478 |
if err != nil { |
| 6479 |
return 0, err |
| 6480 |
} |
| 6481 |
i -= size |
| 6482 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6483 |
} |
| 6484 |
i-- |
| 6485 |
dAtA[i] = 0x12 |
| 6486 |
} |
| 6487 |
if m.Dur != nil { |
| 6488 |
{ |
| 6489 |
size, err := m.Dur.MarshalToSizedBuffer(dAtA[:i]) |
| 6490 |
if err != nil { |
| 6491 |
return 0, err |
| 6492 |
} |
| 6493 |
i -= size |
| 6494 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6495 |
} |
| 6496 |
i-- |
| 6497 |
dAtA[i] = 0xa |
| 6498 |
} |
| 6499 |
return len(dAtA) - i, nil |
| 6500 |
} |
| 6501 |
|
| 6502 |
func (m *ProtoTypes) Marshal() (dAtA []byte, err error) { |
| 6503 |
size := m.Size() |
| 6504 |
dAtA = make([]byte, size) |
| 6505 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 6506 |
if err != nil { |
| 6507 |
return nil, err |
| 6508 |
} |
| 6509 |
return dAtA[:n], nil |
| 6510 |
} |
| 6511 |
|
| 6512 |
func (m *ProtoTypes) MarshalTo(dAtA []byte) (int, error) { |
| 6513 |
size := m.Size() |
| 6514 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 6515 |
} |
| 6516 |
|
| 6517 |
func (m *ProtoTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 6518 |
i := len(dAtA) |
| 6519 |
_ = i |
| 6520 |
var l int |
| 6521 |
_ = l |
| 6522 |
if m.XXX_unrecognized != nil { |
| 6523 |
i -= len(m.XXX_unrecognized) |
| 6524 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 6525 |
} |
| 6526 |
{ |
| 6527 |
size, err := m.NonnullBytes.MarshalToSizedBuffer(dAtA[:i]) |
| 6528 |
if err != nil { |
| 6529 |
return 0, err |
| 6530 |
} |
| 6531 |
i -= size |
| 6532 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6533 |
} |
| 6534 |
i-- |
| 6535 |
dAtA[i] = 0x1 |
| 6536 |
i-- |
| 6537 |
dAtA[i] = 0xb2 |
| 6538 |
{ |
| 6539 |
size, err := m.NonnullString.MarshalToSizedBuffer(dAtA[:i]) |
| 6540 |
if err != nil { |
| 6541 |
return 0, err |
| 6542 |
} |
| 6543 |
i -= size |
| 6544 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6545 |
} |
| 6546 |
i-- |
| 6547 |
dAtA[i] = 0x1 |
| 6548 |
i-- |
| 6549 |
dAtA[i] = 0xaa |
| 6550 |
{ |
| 6551 |
size, err := m.NonnullBool.MarshalToSizedBuffer(dAtA[:i]) |
| 6552 |
if err != nil { |
| 6553 |
return 0, err |
| 6554 |
} |
| 6555 |
i -= size |
| 6556 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6557 |
} |
| 6558 |
i-- |
| 6559 |
dAtA[i] = 0x1 |
| 6560 |
i-- |
| 6561 |
dAtA[i] = 0xa2 |
| 6562 |
{ |
| 6563 |
size, err := m.NonnullUInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 6564 |
if err != nil { |
| 6565 |
return 0, err |
| 6566 |
} |
| 6567 |
i -= size |
| 6568 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6569 |
} |
| 6570 |
i-- |
| 6571 |
dAtA[i] = 0x1 |
| 6572 |
i-- |
| 6573 |
dAtA[i] = 0x9a |
| 6574 |
{ |
| 6575 |
size, err := m.NonnullInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 6576 |
if err != nil { |
| 6577 |
return 0, err |
| 6578 |
} |
| 6579 |
i -= size |
| 6580 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6581 |
} |
| 6582 |
i-- |
| 6583 |
dAtA[i] = 0x1 |
| 6584 |
i-- |
| 6585 |
dAtA[i] = 0x92 |
| 6586 |
{ |
| 6587 |
size, err := m.NonnullUInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 6588 |
if err != nil { |
| 6589 |
return 0, err |
| 6590 |
} |
| 6591 |
i -= size |
| 6592 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6593 |
} |
| 6594 |
i-- |
| 6595 |
dAtA[i] = 0x1 |
| 6596 |
i-- |
| 6597 |
dAtA[i] = 0x8a |
| 6598 |
{ |
| 6599 |
size, err := m.NonnullInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 6600 |
if err != nil { |
| 6601 |
return 0, err |
| 6602 |
} |
| 6603 |
i -= size |
| 6604 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6605 |
} |
| 6606 |
i-- |
| 6607 |
dAtA[i] = 0x1 |
| 6608 |
i-- |
| 6609 |
dAtA[i] = 0x82 |
| 6610 |
{ |
| 6611 |
size, err := m.NonnullFloat.MarshalToSizedBuffer(dAtA[:i]) |
| 6612 |
if err != nil { |
| 6613 |
return 0, err |
| 6614 |
} |
| 6615 |
i -= size |
| 6616 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6617 |
} |
| 6618 |
i-- |
| 6619 |
dAtA[i] = 0x7a |
| 6620 |
{ |
| 6621 |
size, err := m.NonnullDouble.MarshalToSizedBuffer(dAtA[:i]) |
| 6622 |
if err != nil { |
| 6623 |
return 0, err |
| 6624 |
} |
| 6625 |
i -= size |
| 6626 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6627 |
} |
| 6628 |
i-- |
| 6629 |
dAtA[i] = 0x72 |
| 6630 |
{ |
| 6631 |
size, err := m.Duration.MarshalToSizedBuffer(dAtA[:i]) |
| 6632 |
if err != nil { |
| 6633 |
return 0, err |
| 6634 |
} |
| 6635 |
i -= size |
| 6636 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6637 |
} |
| 6638 |
i-- |
| 6639 |
dAtA[i] = 0x6a |
| 6640 |
{ |
| 6641 |
size, err := m.Timestamp.MarshalToSizedBuffer(dAtA[:i]) |
| 6642 |
if err != nil { |
| 6643 |
return 0, err |
| 6644 |
} |
| 6645 |
i -= size |
| 6646 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6647 |
} |
| 6648 |
i-- |
| 6649 |
dAtA[i] = 0x62 |
| 6650 |
if m.NullableBytes != nil { |
| 6651 |
{ |
| 6652 |
size, err := m.NullableBytes.MarshalToSizedBuffer(dAtA[:i]) |
| 6653 |
if err != nil { |
| 6654 |
return 0, err |
| 6655 |
} |
| 6656 |
i -= size |
| 6657 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6658 |
} |
| 6659 |
i-- |
| 6660 |
dAtA[i] = 0x5a |
| 6661 |
} |
| 6662 |
if m.NullableString != nil { |
| 6663 |
{ |
| 6664 |
size, err := m.NullableString.MarshalToSizedBuffer(dAtA[:i]) |
| 6665 |
if err != nil { |
| 6666 |
return 0, err |
| 6667 |
} |
| 6668 |
i -= size |
| 6669 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6670 |
} |
| 6671 |
i-- |
| 6672 |
dAtA[i] = 0x52 |
| 6673 |
} |
| 6674 |
if m.NullableBool != nil { |
| 6675 |
{ |
| 6676 |
size, err := m.NullableBool.MarshalToSizedBuffer(dAtA[:i]) |
| 6677 |
if err != nil { |
| 6678 |
return 0, err |
| 6679 |
} |
| 6680 |
i -= size |
| 6681 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6682 |
} |
| 6683 |
i-- |
| 6684 |
dAtA[i] = 0x4a |
| 6685 |
} |
| 6686 |
if m.NullableUInt32 != nil { |
| 6687 |
{ |
| 6688 |
size, err := m.NullableUInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 6689 |
if err != nil { |
| 6690 |
return 0, err |
| 6691 |
} |
| 6692 |
i -= size |
| 6693 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6694 |
} |
| 6695 |
i-- |
| 6696 |
dAtA[i] = 0x42 |
| 6697 |
} |
| 6698 |
if m.NullableInt32 != nil { |
| 6699 |
{ |
| 6700 |
size, err := m.NullableInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 6701 |
if err != nil { |
| 6702 |
return 0, err |
| 6703 |
} |
| 6704 |
i -= size |
| 6705 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6706 |
} |
| 6707 |
i-- |
| 6708 |
dAtA[i] = 0x3a |
| 6709 |
} |
| 6710 |
if m.NullableUInt64 != nil { |
| 6711 |
{ |
| 6712 |
size, err := m.NullableUInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 6713 |
if err != nil { |
| 6714 |
return 0, err |
| 6715 |
} |
| 6716 |
i -= size |
| 6717 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6718 |
} |
| 6719 |
i-- |
| 6720 |
dAtA[i] = 0x32 |
| 6721 |
} |
| 6722 |
if m.NullableInt64 != nil { |
| 6723 |
{ |
| 6724 |
size, err := m.NullableInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 6725 |
if err != nil { |
| 6726 |
return 0, err |
| 6727 |
} |
| 6728 |
i -= size |
| 6729 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6730 |
} |
| 6731 |
i-- |
| 6732 |
dAtA[i] = 0x2a |
| 6733 |
} |
| 6734 |
if m.NullableFloat != nil { |
| 6735 |
{ |
| 6736 |
size, err := m.NullableFloat.MarshalToSizedBuffer(dAtA[:i]) |
| 6737 |
if err != nil { |
| 6738 |
return 0, err |
| 6739 |
} |
| 6740 |
i -= size |
| 6741 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6742 |
} |
| 6743 |
i-- |
| 6744 |
dAtA[i] = 0x22 |
| 6745 |
} |
| 6746 |
if m.NullableDouble != nil { |
| 6747 |
{ |
| 6748 |
size, err := m.NullableDouble.MarshalToSizedBuffer(dAtA[:i]) |
| 6749 |
if err != nil { |
| 6750 |
return 0, err |
| 6751 |
} |
| 6752 |
i -= size |
| 6753 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6754 |
} |
| 6755 |
i-- |
| 6756 |
dAtA[i] = 0x1a |
| 6757 |
} |
| 6758 |
if m.NullableDuration != nil { |
| 6759 |
{ |
| 6760 |
size, err := m.NullableDuration.MarshalToSizedBuffer(dAtA[:i]) |
| 6761 |
if err != nil { |
| 6762 |
return 0, err |
| 6763 |
} |
| 6764 |
i -= size |
| 6765 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6766 |
} |
| 6767 |
i-- |
| 6768 |
dAtA[i] = 0x12 |
| 6769 |
} |
| 6770 |
if m.NullableTimestamp != nil { |
| 6771 |
{ |
| 6772 |
size, err := m.NullableTimestamp.MarshalToSizedBuffer(dAtA[:i]) |
| 6773 |
if err != nil { |
| 6774 |
return 0, err |
| 6775 |
} |
| 6776 |
i -= size |
| 6777 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6778 |
} |
| 6779 |
i-- |
| 6780 |
dAtA[i] = 0xa |
| 6781 |
} |
| 6782 |
return len(dAtA) - i, nil |
| 6783 |
} |
| 6784 |
|
| 6785 |
func (m *StdTypes) Marshal() (dAtA []byte, err error) { |
| 6786 |
size := m.Size() |
| 6787 |
dAtA = make([]byte, size) |
| 6788 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 6789 |
if err != nil { |
| 6790 |
return nil, err |
| 6791 |
} |
| 6792 |
return dAtA[:n], nil |
| 6793 |
} |
| 6794 |
|
| 6795 |
func (m *StdTypes) MarshalTo(dAtA []byte) (int, error) { |
| 6796 |
size := m.Size() |
| 6797 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 6798 |
} |
| 6799 |
|
| 6800 |
func (m *StdTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 6801 |
i := len(dAtA) |
| 6802 |
_ = i |
| 6803 |
var l int |
| 6804 |
_ = l |
| 6805 |
if m.XXX_unrecognized != nil { |
| 6806 |
i -= len(m.XXX_unrecognized) |
| 6807 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 6808 |
} |
| 6809 |
n35, err35 := github_com_gogo_protobuf_types.StdBytesMarshalTo(m.NonnullBytes, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes):]) |
| 6810 |
if err35 != nil { |
| 6811 |
return 0, err35 |
| 6812 |
} |
| 6813 |
i -= n35 |
| 6814 |
i = encodeVarintTypes(dAtA, i, uint64(n35)) |
| 6815 |
i-- |
| 6816 |
dAtA[i] = 0x1 |
| 6817 |
i-- |
| 6818 |
dAtA[i] = 0xb2 |
| 6819 |
n36, err36 := github_com_gogo_protobuf_types.StdStringMarshalTo(m.NonnullString, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString):]) |
| 6820 |
if err36 != nil { |
| 6821 |
return 0, err36 |
| 6822 |
} |
| 6823 |
i -= n36 |
| 6824 |
i = encodeVarintTypes(dAtA, i, uint64(n36)) |
| 6825 |
i-- |
| 6826 |
dAtA[i] = 0x1 |
| 6827 |
i-- |
| 6828 |
dAtA[i] = 0xaa |
| 6829 |
n37, err37 := github_com_gogo_protobuf_types.StdBoolMarshalTo(m.NonnullBool, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool):]) |
| 6830 |
if err37 != nil { |
| 6831 |
return 0, err37 |
| 6832 |
} |
| 6833 |
i -= n37 |
| 6834 |
i = encodeVarintTypes(dAtA, i, uint64(n37)) |
| 6835 |
i-- |
| 6836 |
dAtA[i] = 0x1 |
| 6837 |
i-- |
| 6838 |
dAtA[i] = 0xa2 |
| 6839 |
n38, err38 := github_com_gogo_protobuf_types.StdUInt32MarshalTo(m.NonnullUInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32):]) |
| 6840 |
if err38 != nil { |
| 6841 |
return 0, err38 |
| 6842 |
} |
| 6843 |
i -= n38 |
| 6844 |
i = encodeVarintTypes(dAtA, i, uint64(n38)) |
| 6845 |
i-- |
| 6846 |
dAtA[i] = 0x1 |
| 6847 |
i-- |
| 6848 |
dAtA[i] = 0x9a |
| 6849 |
n39, err39 := github_com_gogo_protobuf_types.StdInt32MarshalTo(m.NonnullInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32):]) |
| 6850 |
if err39 != nil { |
| 6851 |
return 0, err39 |
| 6852 |
} |
| 6853 |
i -= n39 |
| 6854 |
i = encodeVarintTypes(dAtA, i, uint64(n39)) |
| 6855 |
i-- |
| 6856 |
dAtA[i] = 0x1 |
| 6857 |
i-- |
| 6858 |
dAtA[i] = 0x92 |
| 6859 |
n40, err40 := github_com_gogo_protobuf_types.StdUInt64MarshalTo(m.NonnullUInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64):]) |
| 6860 |
if err40 != nil { |
| 6861 |
return 0, err40 |
| 6862 |
} |
| 6863 |
i -= n40 |
| 6864 |
i = encodeVarintTypes(dAtA, i, uint64(n40)) |
| 6865 |
i-- |
| 6866 |
dAtA[i] = 0x1 |
| 6867 |
i-- |
| 6868 |
dAtA[i] = 0x8a |
| 6869 |
n41, err41 := github_com_gogo_protobuf_types.StdInt64MarshalTo(m.NonnullInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64):]) |
| 6870 |
if err41 != nil { |
| 6871 |
return 0, err41 |
| 6872 |
} |
| 6873 |
i -= n41 |
| 6874 |
i = encodeVarintTypes(dAtA, i, uint64(n41)) |
| 6875 |
i-- |
| 6876 |
dAtA[i] = 0x1 |
| 6877 |
i-- |
| 6878 |
dAtA[i] = 0x82 |
| 6879 |
n42, err42 := github_com_gogo_protobuf_types.StdFloatMarshalTo(m.NonnullFloat, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat):]) |
| 6880 |
if err42 != nil { |
| 6881 |
return 0, err42 |
| 6882 |
} |
| 6883 |
i -= n42 |
| 6884 |
i = encodeVarintTypes(dAtA, i, uint64(n42)) |
| 6885 |
i-- |
| 6886 |
dAtA[i] = 0x7a |
| 6887 |
n43, err43 := github_com_gogo_protobuf_types.StdDoubleMarshalTo(m.NonnullDouble, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble):]) |
| 6888 |
if err43 != nil { |
| 6889 |
return 0, err43 |
| 6890 |
} |
| 6891 |
i -= n43 |
| 6892 |
i = encodeVarintTypes(dAtA, i, uint64(n43)) |
| 6893 |
i-- |
| 6894 |
dAtA[i] = 0x72 |
| 6895 |
n44, err44 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Duration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Duration):]) |
| 6896 |
if err44 != nil { |
| 6897 |
return 0, err44 |
| 6898 |
} |
| 6899 |
i -= n44 |
| 6900 |
i = encodeVarintTypes(dAtA, i, uint64(n44)) |
| 6901 |
i-- |
| 6902 |
dAtA[i] = 0x6a |
| 6903 |
n45, err45 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp):]) |
| 6904 |
if err45 != nil { |
| 6905 |
return 0, err45 |
| 6906 |
} |
| 6907 |
i -= n45 |
| 6908 |
i = encodeVarintTypes(dAtA, i, uint64(n45)) |
| 6909 |
i-- |
| 6910 |
dAtA[i] = 0x62 |
| 6911 |
if m.NullableBytes != nil { |
| 6912 |
n46, err46 := github_com_gogo_protobuf_types.StdBytesMarshalTo(*m.NullableBytes, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes):]) |
| 6913 |
if err46 != nil { |
| 6914 |
return 0, err46 |
| 6915 |
} |
| 6916 |
i -= n46 |
| 6917 |
i = encodeVarintTypes(dAtA, i, uint64(n46)) |
| 6918 |
i-- |
| 6919 |
dAtA[i] = 0x5a |
| 6920 |
} |
| 6921 |
if m.NullableString != nil { |
| 6922 |
n47, err47 := github_com_gogo_protobuf_types.StdStringMarshalTo(*m.NullableString, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString):]) |
| 6923 |
if err47 != nil { |
| 6924 |
return 0, err47 |
| 6925 |
} |
| 6926 |
i -= n47 |
| 6927 |
i = encodeVarintTypes(dAtA, i, uint64(n47)) |
| 6928 |
i-- |
| 6929 |
dAtA[i] = 0x52 |
| 6930 |
} |
| 6931 |
if m.NullableBool != nil { |
| 6932 |
n48, err48 := github_com_gogo_protobuf_types.StdBoolMarshalTo(*m.NullableBool, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool):]) |
| 6933 |
if err48 != nil { |
| 6934 |
return 0, err48 |
| 6935 |
} |
| 6936 |
i -= n48 |
| 6937 |
i = encodeVarintTypes(dAtA, i, uint64(n48)) |
| 6938 |
i-- |
| 6939 |
dAtA[i] = 0x4a |
| 6940 |
} |
| 6941 |
if m.NullableUInt32 != nil { |
| 6942 |
n49, err49 := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*m.NullableUInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32):]) |
| 6943 |
if err49 != nil { |
| 6944 |
return 0, err49 |
| 6945 |
} |
| 6946 |
i -= n49 |
| 6947 |
i = encodeVarintTypes(dAtA, i, uint64(n49)) |
| 6948 |
i-- |
| 6949 |
dAtA[i] = 0x42 |
| 6950 |
} |
| 6951 |
if m.NullableInt32 != nil { |
| 6952 |
n50, err50 := github_com_gogo_protobuf_types.StdInt32MarshalTo(*m.NullableInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32):]) |
| 6953 |
if err50 != nil { |
| 6954 |
return 0, err50 |
| 6955 |
} |
| 6956 |
i -= n50 |
| 6957 |
i = encodeVarintTypes(dAtA, i, uint64(n50)) |
| 6958 |
i-- |
| 6959 |
dAtA[i] = 0x3a |
| 6960 |
} |
| 6961 |
if m.NullableUInt64 != nil { |
| 6962 |
n51, err51 := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*m.NullableUInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64):]) |
| 6963 |
if err51 != nil { |
| 6964 |
return 0, err51 |
| 6965 |
} |
| 6966 |
i -= n51 |
| 6967 |
i = encodeVarintTypes(dAtA, i, uint64(n51)) |
| 6968 |
i-- |
| 6969 |
dAtA[i] = 0x32 |
| 6970 |
} |
| 6971 |
if m.NullableInt64 != nil { |
| 6972 |
n52, err52 := github_com_gogo_protobuf_types.StdInt64MarshalTo(*m.NullableInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64):]) |
| 6973 |
if err52 != nil { |
| 6974 |
return 0, err52 |
| 6975 |
} |
| 6976 |
i -= n52 |
| 6977 |
i = encodeVarintTypes(dAtA, i, uint64(n52)) |
| 6978 |
i-- |
| 6979 |
dAtA[i] = 0x2a |
| 6980 |
} |
| 6981 |
if m.NullableFloat != nil { |
| 6982 |
n53, err53 := github_com_gogo_protobuf_types.StdFloatMarshalTo(*m.NullableFloat, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat):]) |
| 6983 |
if err53 != nil { |
| 6984 |
return 0, err53 |
| 6985 |
} |
| 6986 |
i -= n53 |
| 6987 |
i = encodeVarintTypes(dAtA, i, uint64(n53)) |
| 6988 |
i-- |
| 6989 |
dAtA[i] = 0x22 |
| 6990 |
} |
| 6991 |
if m.NullableDouble != nil { |
| 6992 |
n54, err54 := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*m.NullableDouble, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble):]) |
| 6993 |
if err54 != nil { |
| 6994 |
return 0, err54 |
| 6995 |
} |
| 6996 |
i -= n54 |
| 6997 |
i = encodeVarintTypes(dAtA, i, uint64(n54)) |
| 6998 |
i-- |
| 6999 |
dAtA[i] = 0x1a |
| 7000 |
} |
| 7001 |
if m.NullableDuration != nil { |
| 7002 |
n55, err55 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.NullableDuration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDuration):]) |
| 7003 |
if err55 != nil { |
| 7004 |
return 0, err55 |
| 7005 |
} |
| 7006 |
i -= n55 |
| 7007 |
i = encodeVarintTypes(dAtA, i, uint64(n55)) |
| 7008 |
i-- |
| 7009 |
dAtA[i] = 0x12 |
| 7010 |
} |
| 7011 |
if m.NullableTimestamp != nil { |
| 7012 |
n56, err56 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.NullableTimestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamp):]) |
| 7013 |
if err56 != nil { |
| 7014 |
return 0, err56 |
| 7015 |
} |
| 7016 |
i -= n56 |
| 7017 |
i = encodeVarintTypes(dAtA, i, uint64(n56)) |
| 7018 |
i-- |
| 7019 |
dAtA[i] = 0xa |
| 7020 |
} |
| 7021 |
return len(dAtA) - i, nil |
| 7022 |
} |
| 7023 |
|
| 7024 |
func (m *RepProtoTypes) Marshal() (dAtA []byte, err error) { |
| 7025 |
size := m.Size() |
| 7026 |
dAtA = make([]byte, size) |
| 7027 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 7028 |
if err != nil { |
| 7029 |
return nil, err |
| 7030 |
} |
| 7031 |
return dAtA[:n], nil |
| 7032 |
} |
| 7033 |
|
| 7034 |
func (m *RepProtoTypes) MarshalTo(dAtA []byte) (int, error) { |
| 7035 |
size := m.Size() |
| 7036 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 7037 |
} |
| 7038 |
|
| 7039 |
func (m *RepProtoTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 7040 |
i := len(dAtA) |
| 7041 |
_ = i |
| 7042 |
var l int |
| 7043 |
_ = l |
| 7044 |
if m.XXX_unrecognized != nil { |
| 7045 |
i -= len(m.XXX_unrecognized) |
| 7046 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 7047 |
} |
| 7048 |
if len(m.NonnullBytes) > 0 { |
| 7049 |
for iNdEx := len(m.NonnullBytes) - 1; iNdEx >= 0; iNdEx-- { |
| 7050 |
{ |
| 7051 |
size, err := m.NonnullBytes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7052 |
if err != nil { |
| 7053 |
return 0, err |
| 7054 |
} |
| 7055 |
i -= size |
| 7056 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7057 |
} |
| 7058 |
i-- |
| 7059 |
dAtA[i] = 0x1 |
| 7060 |
i-- |
| 7061 |
dAtA[i] = 0xb2 |
| 7062 |
} |
| 7063 |
} |
| 7064 |
if len(m.NullableBytes) > 0 { |
| 7065 |
for iNdEx := len(m.NullableBytes) - 1; iNdEx >= 0; iNdEx-- { |
| 7066 |
{ |
| 7067 |
size, err := m.NullableBytes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7068 |
if err != nil { |
| 7069 |
return 0, err |
| 7070 |
} |
| 7071 |
i -= size |
| 7072 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7073 |
} |
| 7074 |
i-- |
| 7075 |
dAtA[i] = 0x1 |
| 7076 |
i-- |
| 7077 |
dAtA[i] = 0xaa |
| 7078 |
} |
| 7079 |
} |
| 7080 |
if len(m.NonnullString) > 0 { |
| 7081 |
for iNdEx := len(m.NonnullString) - 1; iNdEx >= 0; iNdEx-- { |
| 7082 |
{ |
| 7083 |
size, err := m.NonnullString[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7084 |
if err != nil { |
| 7085 |
return 0, err |
| 7086 |
} |
| 7087 |
i -= size |
| 7088 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7089 |
} |
| 7090 |
i-- |
| 7091 |
dAtA[i] = 0x1 |
| 7092 |
i-- |
| 7093 |
dAtA[i] = 0xa2 |
| 7094 |
} |
| 7095 |
} |
| 7096 |
if len(m.NullableString) > 0 { |
| 7097 |
for iNdEx := len(m.NullableString) - 1; iNdEx >= 0; iNdEx-- { |
| 7098 |
{ |
| 7099 |
size, err := m.NullableString[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7100 |
if err != nil { |
| 7101 |
return 0, err |
| 7102 |
} |
| 7103 |
i -= size |
| 7104 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7105 |
} |
| 7106 |
i-- |
| 7107 |
dAtA[i] = 0x1 |
| 7108 |
i-- |
| 7109 |
dAtA[i] = 0x9a |
| 7110 |
} |
| 7111 |
} |
| 7112 |
if len(m.NonnullBool) > 0 { |
| 7113 |
for iNdEx := len(m.NonnullBool) - 1; iNdEx >= 0; iNdEx-- { |
| 7114 |
{ |
| 7115 |
size, err := m.NonnullBool[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7116 |
if err != nil { |
| 7117 |
return 0, err |
| 7118 |
} |
| 7119 |
i -= size |
| 7120 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7121 |
} |
| 7122 |
i-- |
| 7123 |
dAtA[i] = 0x1 |
| 7124 |
i-- |
| 7125 |
dAtA[i] = 0x92 |
| 7126 |
} |
| 7127 |
} |
| 7128 |
if len(m.NullableBool) > 0 { |
| 7129 |
for iNdEx := len(m.NullableBool) - 1; iNdEx >= 0; iNdEx-- { |
| 7130 |
{ |
| 7131 |
size, err := m.NullableBool[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7132 |
if err != nil { |
| 7133 |
return 0, err |
| 7134 |
} |
| 7135 |
i -= size |
| 7136 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7137 |
} |
| 7138 |
i-- |
| 7139 |
dAtA[i] = 0x1 |
| 7140 |
i-- |
| 7141 |
dAtA[i] = 0x8a |
| 7142 |
} |
| 7143 |
} |
| 7144 |
if len(m.NonnullUInt32) > 0 { |
| 7145 |
for iNdEx := len(m.NonnullUInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7146 |
{ |
| 7147 |
size, err := m.NonnullUInt32[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7148 |
if err != nil { |
| 7149 |
return 0, err |
| 7150 |
} |
| 7151 |
i -= size |
| 7152 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7153 |
} |
| 7154 |
i-- |
| 7155 |
dAtA[i] = 0x1 |
| 7156 |
i-- |
| 7157 |
dAtA[i] = 0x82 |
| 7158 |
} |
| 7159 |
} |
| 7160 |
if len(m.NullableUInt32) > 0 { |
| 7161 |
for iNdEx := len(m.NullableUInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7162 |
{ |
| 7163 |
size, err := m.NullableUInt32[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7164 |
if err != nil { |
| 7165 |
return 0, err |
| 7166 |
} |
| 7167 |
i -= size |
| 7168 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7169 |
} |
| 7170 |
i-- |
| 7171 |
dAtA[i] = 0x7a |
| 7172 |
} |
| 7173 |
} |
| 7174 |
if len(m.NonnullInt32) > 0 { |
| 7175 |
for iNdEx := len(m.NonnullInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7176 |
{ |
| 7177 |
size, err := m.NonnullInt32[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7178 |
if err != nil { |
| 7179 |
return 0, err |
| 7180 |
} |
| 7181 |
i -= size |
| 7182 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7183 |
} |
| 7184 |
i-- |
| 7185 |
dAtA[i] = 0x72 |
| 7186 |
} |
| 7187 |
} |
| 7188 |
if len(m.NullableInt32) > 0 { |
| 7189 |
for iNdEx := len(m.NullableInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7190 |
{ |
| 7191 |
size, err := m.NullableInt32[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7192 |
if err != nil { |
| 7193 |
return 0, err |
| 7194 |
} |
| 7195 |
i -= size |
| 7196 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7197 |
} |
| 7198 |
i-- |
| 7199 |
dAtA[i] = 0x6a |
| 7200 |
} |
| 7201 |
} |
| 7202 |
if len(m.NonnullUInt64) > 0 { |
| 7203 |
for iNdEx := len(m.NonnullUInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7204 |
{ |
| 7205 |
size, err := m.NonnullUInt64[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7206 |
if err != nil { |
| 7207 |
return 0, err |
| 7208 |
} |
| 7209 |
i -= size |
| 7210 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7211 |
} |
| 7212 |
i-- |
| 7213 |
dAtA[i] = 0x62 |
| 7214 |
} |
| 7215 |
} |
| 7216 |
if len(m.NullableUInt64) > 0 { |
| 7217 |
for iNdEx := len(m.NullableUInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7218 |
{ |
| 7219 |
size, err := m.NullableUInt64[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7220 |
if err != nil { |
| 7221 |
return 0, err |
| 7222 |
} |
| 7223 |
i -= size |
| 7224 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7225 |
} |
| 7226 |
i-- |
| 7227 |
dAtA[i] = 0x5a |
| 7228 |
} |
| 7229 |
} |
| 7230 |
if len(m.NonnullInt64) > 0 { |
| 7231 |
for iNdEx := len(m.NonnullInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7232 |
{ |
| 7233 |
size, err := m.NonnullInt64[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7234 |
if err != nil { |
| 7235 |
return 0, err |
| 7236 |
} |
| 7237 |
i -= size |
| 7238 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7239 |
} |
| 7240 |
i-- |
| 7241 |
dAtA[i] = 0x52 |
| 7242 |
} |
| 7243 |
} |
| 7244 |
if len(m.NullableInt64) > 0 { |
| 7245 |
for iNdEx := len(m.NullableInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7246 |
{ |
| 7247 |
size, err := m.NullableInt64[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7248 |
if err != nil { |
| 7249 |
return 0, err |
| 7250 |
} |
| 7251 |
i -= size |
| 7252 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7253 |
} |
| 7254 |
i-- |
| 7255 |
dAtA[i] = 0x4a |
| 7256 |
} |
| 7257 |
} |
| 7258 |
if len(m.NonnullFloat) > 0 { |
| 7259 |
for iNdEx := len(m.NonnullFloat) - 1; iNdEx >= 0; iNdEx-- { |
| 7260 |
{ |
| 7261 |
size, err := m.NonnullFloat[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7262 |
if err != nil { |
| 7263 |
return 0, err |
| 7264 |
} |
| 7265 |
i -= size |
| 7266 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7267 |
} |
| 7268 |
i-- |
| 7269 |
dAtA[i] = 0x42 |
| 7270 |
} |
| 7271 |
} |
| 7272 |
if len(m.NullableFloat) > 0 { |
| 7273 |
for iNdEx := len(m.NullableFloat) - 1; iNdEx >= 0; iNdEx-- { |
| 7274 |
{ |
| 7275 |
size, err := m.NullableFloat[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7276 |
if err != nil { |
| 7277 |
return 0, err |
| 7278 |
} |
| 7279 |
i -= size |
| 7280 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7281 |
} |
| 7282 |
i-- |
| 7283 |
dAtA[i] = 0x3a |
| 7284 |
} |
| 7285 |
} |
| 7286 |
if len(m.NonnullDouble) > 0 { |
| 7287 |
for iNdEx := len(m.NonnullDouble) - 1; iNdEx >= 0; iNdEx-- { |
| 7288 |
{ |
| 7289 |
size, err := m.NonnullDouble[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7290 |
if err != nil { |
| 7291 |
return 0, err |
| 7292 |
} |
| 7293 |
i -= size |
| 7294 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7295 |
} |
| 7296 |
i-- |
| 7297 |
dAtA[i] = 0x32 |
| 7298 |
} |
| 7299 |
} |
| 7300 |
if len(m.NullableDouble) > 0 { |
| 7301 |
for iNdEx := len(m.NullableDouble) - 1; iNdEx >= 0; iNdEx-- { |
| 7302 |
{ |
| 7303 |
size, err := m.NullableDouble[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7304 |
if err != nil { |
| 7305 |
return 0, err |
| 7306 |
} |
| 7307 |
i -= size |
| 7308 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7309 |
} |
| 7310 |
i-- |
| 7311 |
dAtA[i] = 0x2a |
| 7312 |
} |
| 7313 |
} |
| 7314 |
if len(m.Durations) > 0 { |
| 7315 |
for iNdEx := len(m.Durations) - 1; iNdEx >= 0; iNdEx-- { |
| 7316 |
{ |
| 7317 |
size, err := m.Durations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7318 |
if err != nil { |
| 7319 |
return 0, err |
| 7320 |
} |
| 7321 |
i -= size |
| 7322 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7323 |
} |
| 7324 |
i-- |
| 7325 |
dAtA[i] = 0x22 |
| 7326 |
} |
| 7327 |
} |
| 7328 |
if len(m.Timestamps) > 0 { |
| 7329 |
for iNdEx := len(m.Timestamps) - 1; iNdEx >= 0; iNdEx-- { |
| 7330 |
{ |
| 7331 |
size, err := m.Timestamps[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7332 |
if err != nil { |
| 7333 |
return 0, err |
| 7334 |
} |
| 7335 |
i -= size |
| 7336 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7337 |
} |
| 7338 |
i-- |
| 7339 |
dAtA[i] = 0x1a |
| 7340 |
} |
| 7341 |
} |
| 7342 |
if len(m.NullableDurations) > 0 { |
| 7343 |
for iNdEx := len(m.NullableDurations) - 1; iNdEx >= 0; iNdEx-- { |
| 7344 |
{ |
| 7345 |
size, err := m.NullableDurations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7346 |
if err != nil { |
| 7347 |
return 0, err |
| 7348 |
} |
| 7349 |
i -= size |
| 7350 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7351 |
} |
| 7352 |
i-- |
| 7353 |
dAtA[i] = 0x12 |
| 7354 |
} |
| 7355 |
} |
| 7356 |
if len(m.NullableTimestamps) > 0 { |
| 7357 |
for iNdEx := len(m.NullableTimestamps) - 1; iNdEx >= 0; iNdEx-- { |
| 7358 |
{ |
| 7359 |
size, err := m.NullableTimestamps[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7360 |
if err != nil { |
| 7361 |
return 0, err |
| 7362 |
} |
| 7363 |
i -= size |
| 7364 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7365 |
} |
| 7366 |
i-- |
| 7367 |
dAtA[i] = 0xa |
| 7368 |
} |
| 7369 |
} |
| 7370 |
return len(dAtA) - i, nil |
| 7371 |
} |
| 7372 |
|
| 7373 |
func (m *RepStdTypes) Marshal() (dAtA []byte, err error) { |
| 7374 |
size := m.Size() |
| 7375 |
dAtA = make([]byte, size) |
| 7376 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 7377 |
if err != nil { |
| 7378 |
return nil, err |
| 7379 |
} |
| 7380 |
return dAtA[:n], nil |
| 7381 |
} |
| 7382 |
|
| 7383 |
func (m *RepStdTypes) MarshalTo(dAtA []byte) (int, error) { |
| 7384 |
size := m.Size() |
| 7385 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 7386 |
} |
| 7387 |
|
| 7388 |
func (m *RepStdTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 7389 |
i := len(dAtA) |
| 7390 |
_ = i |
| 7391 |
var l int |
| 7392 |
_ = l |
| 7393 |
if m.XXX_unrecognized != nil { |
| 7394 |
i -= len(m.XXX_unrecognized) |
| 7395 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 7396 |
} |
| 7397 |
if len(m.NonnullBytes) > 0 { |
| 7398 |
for iNdEx := len(m.NonnullBytes) - 1; iNdEx >= 0; iNdEx-- { |
| 7399 |
n, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(m.NonnullBytes[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes[iNdEx]):]) |
| 7400 |
if err != nil { |
| 7401 |
return 0, err |
| 7402 |
} |
| 7403 |
i -= n |
| 7404 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7405 |
i-- |
| 7406 |
dAtA[i] = 0x1 |
| 7407 |
i-- |
| 7408 |
dAtA[i] = 0xb2 |
| 7409 |
} |
| 7410 |
} |
| 7411 |
if len(m.NullableBytes) > 0 { |
| 7412 |
for iNdEx := len(m.NullableBytes) - 1; iNdEx >= 0; iNdEx-- { |
| 7413 |
n, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(*m.NullableBytes[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes[iNdEx]):]) |
| 7414 |
if err != nil { |
| 7415 |
return 0, err |
| 7416 |
} |
| 7417 |
i -= n |
| 7418 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7419 |
i-- |
| 7420 |
dAtA[i] = 0x1 |
| 7421 |
i-- |
| 7422 |
dAtA[i] = 0xaa |
| 7423 |
} |
| 7424 |
} |
| 7425 |
if len(m.NonnullString) > 0 { |
| 7426 |
for iNdEx := len(m.NonnullString) - 1; iNdEx >= 0; iNdEx-- { |
| 7427 |
n, err := github_com_gogo_protobuf_types.StdStringMarshalTo(m.NonnullString[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString[iNdEx]):]) |
| 7428 |
if err != nil { |
| 7429 |
return 0, err |
| 7430 |
} |
| 7431 |
i -= n |
| 7432 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7433 |
i-- |
| 7434 |
dAtA[i] = 0x1 |
| 7435 |
i-- |
| 7436 |
dAtA[i] = 0xa2 |
| 7437 |
} |
| 7438 |
} |
| 7439 |
if len(m.NullableString) > 0 { |
| 7440 |
for iNdEx := len(m.NullableString) - 1; iNdEx >= 0; iNdEx-- { |
| 7441 |
n, err := github_com_gogo_protobuf_types.StdStringMarshalTo(*m.NullableString[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString[iNdEx]):]) |
| 7442 |
if err != nil { |
| 7443 |
return 0, err |
| 7444 |
} |
| 7445 |
i -= n |
| 7446 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7447 |
i-- |
| 7448 |
dAtA[i] = 0x1 |
| 7449 |
i-- |
| 7450 |
dAtA[i] = 0x9a |
| 7451 |
} |
| 7452 |
} |
| 7453 |
if len(m.NonnullBool) > 0 { |
| 7454 |
for iNdEx := len(m.NonnullBool) - 1; iNdEx >= 0; iNdEx-- { |
| 7455 |
n, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(m.NonnullBool[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool[iNdEx]):]) |
| 7456 |
if err != nil { |
| 7457 |
return 0, err |
| 7458 |
} |
| 7459 |
i -= n |
| 7460 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7461 |
i-- |
| 7462 |
dAtA[i] = 0x1 |
| 7463 |
i-- |
| 7464 |
dAtA[i] = 0x92 |
| 7465 |
} |
| 7466 |
} |
| 7467 |
if len(m.NullableBool) > 0 { |
| 7468 |
for iNdEx := len(m.NullableBool) - 1; iNdEx >= 0; iNdEx-- { |
| 7469 |
n, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(*m.NullableBool[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool[iNdEx]):]) |
| 7470 |
if err != nil { |
| 7471 |
return 0, err |
| 7472 |
} |
| 7473 |
i -= n |
| 7474 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7475 |
i-- |
| 7476 |
dAtA[i] = 0x1 |
| 7477 |
i-- |
| 7478 |
dAtA[i] = 0x8a |
| 7479 |
} |
| 7480 |
} |
| 7481 |
if len(m.NonnullUInt32) > 0 { |
| 7482 |
for iNdEx := len(m.NonnullUInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7483 |
n, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(m.NonnullUInt32[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32[iNdEx]):]) |
| 7484 |
if err != nil { |
| 7485 |
return 0, err |
| 7486 |
} |
| 7487 |
i -= n |
| 7488 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7489 |
i-- |
| 7490 |
dAtA[i] = 0x1 |
| 7491 |
i-- |
| 7492 |
dAtA[i] = 0x82 |
| 7493 |
} |
| 7494 |
} |
| 7495 |
if len(m.NullableUInt32) > 0 { |
| 7496 |
for iNdEx := len(m.NullableUInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7497 |
n, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*m.NullableUInt32[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32[iNdEx]):]) |
| 7498 |
if err != nil { |
| 7499 |
return 0, err |
| 7500 |
} |
| 7501 |
i -= n |
| 7502 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7503 |
i-- |
| 7504 |
dAtA[i] = 0x7a |
| 7505 |
} |
| 7506 |
} |
| 7507 |
if len(m.NonnullInt32) > 0 { |
| 7508 |
for iNdEx := len(m.NonnullInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7509 |
n, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(m.NonnullInt32[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32[iNdEx]):]) |
| 7510 |
if err != nil { |
| 7511 |
return 0, err |
| 7512 |
} |
| 7513 |
i -= n |
| 7514 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7515 |
i-- |
| 7516 |
dAtA[i] = 0x72 |
| 7517 |
} |
| 7518 |
} |
| 7519 |
if len(m.NullableInt32) > 0 { |
| 7520 |
for iNdEx := len(m.NullableInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7521 |
n, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(*m.NullableInt32[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32[iNdEx]):]) |
| 7522 |
if err != nil { |
| 7523 |
return 0, err |
| 7524 |
} |
| 7525 |
i -= n |
| 7526 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7527 |
i-- |
| 7528 |
dAtA[i] = 0x6a |
| 7529 |
} |
| 7530 |
} |
| 7531 |
if len(m.NonnullUInt64) > 0 { |
| 7532 |
for iNdEx := len(m.NonnullUInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7533 |
n, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(m.NonnullUInt64[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64[iNdEx]):]) |
| 7534 |
if err != nil { |
| 7535 |
return 0, err |
| 7536 |
} |
| 7537 |
i -= n |
| 7538 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7539 |
i-- |
| 7540 |
dAtA[i] = 0x62 |
| 7541 |
} |
| 7542 |
} |
| 7543 |
if len(m.NullableUInt64) > 0 { |
| 7544 |
for iNdEx := len(m.NullableUInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7545 |
n, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*m.NullableUInt64[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64[iNdEx]):]) |
| 7546 |
if err != nil { |
| 7547 |
return 0, err |
| 7548 |
} |
| 7549 |
i -= n |
| 7550 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7551 |
i-- |
| 7552 |
dAtA[i] = 0x5a |
| 7553 |
} |
| 7554 |
} |
| 7555 |
if len(m.NonnullInt64) > 0 { |
| 7556 |
for iNdEx := len(m.NonnullInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7557 |
n, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(m.NonnullInt64[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64[iNdEx]):]) |
| 7558 |
if err != nil { |
| 7559 |
return 0, err |
| 7560 |
} |
| 7561 |
i -= n |
| 7562 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7563 |
i-- |
| 7564 |
dAtA[i] = 0x52 |
| 7565 |
} |
| 7566 |
} |
| 7567 |
if len(m.NullableInt64) > 0 { |
| 7568 |
for iNdEx := len(m.NullableInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7569 |
n, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(*m.NullableInt64[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64[iNdEx]):]) |
| 7570 |
if err != nil { |
| 7571 |
return 0, err |
| 7572 |
} |
| 7573 |
i -= n |
| 7574 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7575 |
i-- |
| 7576 |
dAtA[i] = 0x4a |
| 7577 |
} |
| 7578 |
} |
| 7579 |
if len(m.NonnullFloat) > 0 { |
| 7580 |
for iNdEx := len(m.NonnullFloat) - 1; iNdEx >= 0; iNdEx-- { |
| 7581 |
n, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(m.NonnullFloat[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat[iNdEx]):]) |
| 7582 |
if err != nil { |
| 7583 |
return 0, err |
| 7584 |
} |
| 7585 |
i -= n |
| 7586 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7587 |
i-- |
| 7588 |
dAtA[i] = 0x42 |
| 7589 |
} |
| 7590 |
} |
| 7591 |
if len(m.NullableFloat) > 0 { |
| 7592 |
for iNdEx := len(m.NullableFloat) - 1; iNdEx >= 0; iNdEx-- { |
| 7593 |
n, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(*m.NullableFloat[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat[iNdEx]):]) |
| 7594 |
if err != nil { |
| 7595 |
return 0, err |
| 7596 |
} |
| 7597 |
i -= n |
| 7598 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7599 |
i-- |
| 7600 |
dAtA[i] = 0x3a |
| 7601 |
} |
| 7602 |
} |
| 7603 |
if len(m.NonnullDouble) > 0 { |
| 7604 |
for iNdEx := len(m.NonnullDouble) - 1; iNdEx >= 0; iNdEx-- { |
| 7605 |
n, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(m.NonnullDouble[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble[iNdEx]):]) |
| 7606 |
if err != nil { |
| 7607 |
return 0, err |
| 7608 |
} |
| 7609 |
i -= n |
| 7610 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7611 |
i-- |
| 7612 |
dAtA[i] = 0x32 |
| 7613 |
} |
| 7614 |
} |
| 7615 |
if len(m.NullableDouble) > 0 { |
| 7616 |
for iNdEx := len(m.NullableDouble) - 1; iNdEx >= 0; iNdEx-- { |
| 7617 |
n, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*m.NullableDouble[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble[iNdEx]):]) |
| 7618 |
if err != nil { |
| 7619 |
return 0, err |
| 7620 |
} |
| 7621 |
i -= n |
| 7622 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7623 |
i-- |
| 7624 |
dAtA[i] = 0x2a |
| 7625 |
} |
| 7626 |
} |
| 7627 |
if len(m.Durations) > 0 { |
| 7628 |
for iNdEx := len(m.Durations) - 1; iNdEx >= 0; iNdEx-- { |
| 7629 |
n, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Durations[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Durations[iNdEx]):]) |
| 7630 |
if err != nil { |
| 7631 |
return 0, err |
| 7632 |
} |
| 7633 |
i -= n |
| 7634 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7635 |
i-- |
| 7636 |
dAtA[i] = 0x22 |
| 7637 |
} |
| 7638 |
} |
| 7639 |
if len(m.Timestamps) > 0 { |
| 7640 |
for iNdEx := len(m.Timestamps) - 1; iNdEx >= 0; iNdEx-- { |
| 7641 |
n, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamps[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamps[iNdEx]):]) |
| 7642 |
if err != nil { |
| 7643 |
return 0, err |
| 7644 |
} |
| 7645 |
i -= n |
| 7646 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7647 |
i-- |
| 7648 |
dAtA[i] = 0x1a |
| 7649 |
} |
| 7650 |
} |
| 7651 |
if len(m.NullableDurations) > 0 { |
| 7652 |
for iNdEx := len(m.NullableDurations) - 1; iNdEx >= 0; iNdEx-- { |
| 7653 |
n, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.NullableDurations[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDurations[iNdEx]):]) |
| 7654 |
if err != nil { |
| 7655 |
return 0, err |
| 7656 |
} |
| 7657 |
i -= n |
| 7658 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7659 |
i-- |
| 7660 |
dAtA[i] = 0x12 |
| 7661 |
} |
| 7662 |
} |
| 7663 |
if len(m.NullableTimestamps) > 0 { |
| 7664 |
for iNdEx := len(m.NullableTimestamps) - 1; iNdEx >= 0; iNdEx-- { |
| 7665 |
n, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.NullableTimestamps[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamps[iNdEx]):]) |
| 7666 |
if err != nil { |
| 7667 |
return 0, err |
| 7668 |
} |
| 7669 |
i -= n |
| 7670 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7671 |
i-- |
| 7672 |
dAtA[i] = 0xa |
| 7673 |
} |
| 7674 |
} |
| 7675 |
return len(dAtA) - i, nil |
| 7676 |
} |
| 7677 |
|
| 7678 |
func (m *MapProtoTypes) Marshal() (dAtA []byte, err error) { |
| 7679 |
size := m.Size() |
| 7680 |
dAtA = make([]byte, size) |
| 7681 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 7682 |
if err != nil { |
| 7683 |
return nil, err |
| 7684 |
} |
| 7685 |
return dAtA[:n], nil |
| 7686 |
} |
| 7687 |
|
| 7688 |
func (m *MapProtoTypes) MarshalTo(dAtA []byte) (int, error) { |
| 7689 |
size := m.Size() |
| 7690 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 7691 |
} |
| 7692 |
|
| 7693 |
func (m *MapProtoTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 7694 |
i := len(dAtA) |
| 7695 |
_ = i |
| 7696 |
var l int |
| 7697 |
_ = l |
| 7698 |
if m.XXX_unrecognized != nil { |
| 7699 |
i -= len(m.XXX_unrecognized) |
| 7700 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 7701 |
} |
| 7702 |
if len(m.NonnullBytes) > 0 { |
| 7703 |
for k := range m.NonnullBytes { |
| 7704 |
v := m.NonnullBytes[k] |
| 7705 |
baseI := i |
| 7706 |
{ |
| 7707 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7708 |
if err != nil { |
| 7709 |
return 0, err |
| 7710 |
} |
| 7711 |
i -= size |
| 7712 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7713 |
} |
| 7714 |
i-- |
| 7715 |
dAtA[i] = 0x12 |
| 7716 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7717 |
i-- |
| 7718 |
dAtA[i] = 0x8 |
| 7719 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7720 |
i-- |
| 7721 |
dAtA[i] = 0x1 |
| 7722 |
i-- |
| 7723 |
dAtA[i] = 0xb2 |
| 7724 |
} |
| 7725 |
} |
| 7726 |
if len(m.NullableBytes) > 0 { |
| 7727 |
for k := range m.NullableBytes { |
| 7728 |
v := m.NullableBytes[k] |
| 7729 |
baseI := i |
| 7730 |
if v != nil { |
| 7731 |
{ |
| 7732 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7733 |
if err != nil { |
| 7734 |
return 0, err |
| 7735 |
} |
| 7736 |
i -= size |
| 7737 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7738 |
} |
| 7739 |
i-- |
| 7740 |
dAtA[i] = 0x12 |
| 7741 |
} |
| 7742 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7743 |
i-- |
| 7744 |
dAtA[i] = 0x8 |
| 7745 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7746 |
i-- |
| 7747 |
dAtA[i] = 0x1 |
| 7748 |
i-- |
| 7749 |
dAtA[i] = 0xaa |
| 7750 |
} |
| 7751 |
} |
| 7752 |
if len(m.NonnullString) > 0 { |
| 7753 |
for k := range m.NonnullString { |
| 7754 |
v := m.NonnullString[k] |
| 7755 |
baseI := i |
| 7756 |
{ |
| 7757 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7758 |
if err != nil { |
| 7759 |
return 0, err |
| 7760 |
} |
| 7761 |
i -= size |
| 7762 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7763 |
} |
| 7764 |
i-- |
| 7765 |
dAtA[i] = 0x12 |
| 7766 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7767 |
i-- |
| 7768 |
dAtA[i] = 0x8 |
| 7769 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7770 |
i-- |
| 7771 |
dAtA[i] = 0x1 |
| 7772 |
i-- |
| 7773 |
dAtA[i] = 0xa2 |
| 7774 |
} |
| 7775 |
} |
| 7776 |
if len(m.NullableString) > 0 { |
| 7777 |
for k := range m.NullableString { |
| 7778 |
v := m.NullableString[k] |
| 7779 |
baseI := i |
| 7780 |
if v != nil { |
| 7781 |
{ |
| 7782 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7783 |
if err != nil { |
| 7784 |
return 0, err |
| 7785 |
} |
| 7786 |
i -= size |
| 7787 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7788 |
} |
| 7789 |
i-- |
| 7790 |
dAtA[i] = 0x12 |
| 7791 |
} |
| 7792 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7793 |
i-- |
| 7794 |
dAtA[i] = 0x8 |
| 7795 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7796 |
i-- |
| 7797 |
dAtA[i] = 0x1 |
| 7798 |
i-- |
| 7799 |
dAtA[i] = 0x9a |
| 7800 |
} |
| 7801 |
} |
| 7802 |
if len(m.NonnullBool) > 0 { |
| 7803 |
for k := range m.NonnullBool { |
| 7804 |
v := m.NonnullBool[k] |
| 7805 |
baseI := i |
| 7806 |
{ |
| 7807 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7808 |
if err != nil { |
| 7809 |
return 0, err |
| 7810 |
} |
| 7811 |
i -= size |
| 7812 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7813 |
} |
| 7814 |
i-- |
| 7815 |
dAtA[i] = 0x12 |
| 7816 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7817 |
i-- |
| 7818 |
dAtA[i] = 0x8 |
| 7819 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7820 |
i-- |
| 7821 |
dAtA[i] = 0x1 |
| 7822 |
i-- |
| 7823 |
dAtA[i] = 0x92 |
| 7824 |
} |
| 7825 |
} |
| 7826 |
if len(m.NullableBool) > 0 { |
| 7827 |
for k := range m.NullableBool { |
| 7828 |
v := m.NullableBool[k] |
| 7829 |
baseI := i |
| 7830 |
if v != nil { |
| 7831 |
{ |
| 7832 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7833 |
if err != nil { |
| 7834 |
return 0, err |
| 7835 |
} |
| 7836 |
i -= size |
| 7837 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7838 |
} |
| 7839 |
i-- |
| 7840 |
dAtA[i] = 0x12 |
| 7841 |
} |
| 7842 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7843 |
i-- |
| 7844 |
dAtA[i] = 0x8 |
| 7845 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7846 |
i-- |
| 7847 |
dAtA[i] = 0x1 |
| 7848 |
i-- |
| 7849 |
dAtA[i] = 0x8a |
| 7850 |
} |
| 7851 |
} |
| 7852 |
if len(m.NonnullUInt32) > 0 { |
| 7853 |
for k := range m.NonnullUInt32 { |
| 7854 |
v := m.NonnullUInt32[k] |
| 7855 |
baseI := i |
| 7856 |
{ |
| 7857 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7858 |
if err != nil { |
| 7859 |
return 0, err |
| 7860 |
} |
| 7861 |
i -= size |
| 7862 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7863 |
} |
| 7864 |
i-- |
| 7865 |
dAtA[i] = 0x12 |
| 7866 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7867 |
i-- |
| 7868 |
dAtA[i] = 0x8 |
| 7869 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7870 |
i-- |
| 7871 |
dAtA[i] = 0x1 |
| 7872 |
i-- |
| 7873 |
dAtA[i] = 0x82 |
| 7874 |
} |
| 7875 |
} |
| 7876 |
if len(m.NullableUInt32) > 0 { |
| 7877 |
for k := range m.NullableUInt32 { |
| 7878 |
v := m.NullableUInt32[k] |
| 7879 |
baseI := i |
| 7880 |
if v != nil { |
| 7881 |
{ |
| 7882 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7883 |
if err != nil { |
| 7884 |
return 0, err |
| 7885 |
} |
| 7886 |
i -= size |
| 7887 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7888 |
} |
| 7889 |
i-- |
| 7890 |
dAtA[i] = 0x12 |
| 7891 |
} |
| 7892 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7893 |
i-- |
| 7894 |
dAtA[i] = 0x8 |
| 7895 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7896 |
i-- |
| 7897 |
dAtA[i] = 0x7a |
| 7898 |
} |
| 7899 |
} |
| 7900 |
if len(m.NonnullInt32) > 0 { |
| 7901 |
for k := range m.NonnullInt32 { |
| 7902 |
v := m.NonnullInt32[k] |
| 7903 |
baseI := i |
| 7904 |
{ |
| 7905 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7906 |
if err != nil { |
| 7907 |
return 0, err |
| 7908 |
} |
| 7909 |
i -= size |
| 7910 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7911 |
} |
| 7912 |
i-- |
| 7913 |
dAtA[i] = 0x12 |
| 7914 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7915 |
i-- |
| 7916 |
dAtA[i] = 0x8 |
| 7917 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7918 |
i-- |
| 7919 |
dAtA[i] = 0x72 |
| 7920 |
} |
| 7921 |
} |
| 7922 |
if len(m.NullableInt32) > 0 { |
| 7923 |
for k := range m.NullableInt32 { |
| 7924 |
v := m.NullableInt32[k] |
| 7925 |
baseI := i |
| 7926 |
if v != nil { |
| 7927 |
{ |
| 7928 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7929 |
if err != nil { |
| 7930 |
return 0, err |
| 7931 |
} |
| 7932 |
i -= size |
| 7933 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7934 |
} |
| 7935 |
i-- |
| 7936 |
dAtA[i] = 0x12 |
| 7937 |
} |
| 7938 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7939 |
i-- |
| 7940 |
dAtA[i] = 0x8 |
| 7941 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7942 |
i-- |
| 7943 |
dAtA[i] = 0x6a |
| 7944 |
} |
| 7945 |
} |
| 7946 |
if len(m.NonnullUInt64) > 0 { |
| 7947 |
for k := range m.NonnullUInt64 { |
| 7948 |
v := m.NonnullUInt64[k] |
| 7949 |
baseI := i |
| 7950 |
{ |
| 7951 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7952 |
if err != nil { |
| 7953 |
return 0, err |
| 7954 |
} |
| 7955 |
i -= size |
| 7956 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7957 |
} |
| 7958 |
i-- |
| 7959 |
dAtA[i] = 0x12 |
| 7960 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7961 |
i-- |
| 7962 |
dAtA[i] = 0x8 |
| 7963 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7964 |
i-- |
| 7965 |
dAtA[i] = 0x62 |
| 7966 |
} |
| 7967 |
} |
| 7968 |
if len(m.NullableUInt64) > 0 { |
| 7969 |
for k := range m.NullableUInt64 { |
| 7970 |
v := m.NullableUInt64[k] |
| 7971 |
baseI := i |
| 7972 |
if v != nil { |
| 7973 |
{ |
| 7974 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7975 |
if err != nil { |
| 7976 |
return 0, err |
| 7977 |
} |
| 7978 |
i -= size |
| 7979 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7980 |
} |
| 7981 |
i-- |
| 7982 |
dAtA[i] = 0x12 |
| 7983 |
} |
| 7984 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7985 |
i-- |
| 7986 |
dAtA[i] = 0x8 |
| 7987 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7988 |
i-- |
| 7989 |
dAtA[i] = 0x5a |
| 7990 |
} |
| 7991 |
} |
| 7992 |
if len(m.NonnullInt64) > 0 { |
| 7993 |
for k := range m.NonnullInt64 { |
| 7994 |
v := m.NonnullInt64[k] |
| 7995 |
baseI := i |
| 7996 |
{ |
| 7997 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7998 |
if err != nil { |
| 7999 |
return 0, err |
| 8000 |
} |
| 8001 |
i -= size |
| 8002 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8003 |
} |
| 8004 |
i-- |
| 8005 |
dAtA[i] = 0x12 |
| 8006 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8007 |
i-- |
| 8008 |
dAtA[i] = 0x8 |
| 8009 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8010 |
i-- |
| 8011 |
dAtA[i] = 0x52 |
| 8012 |
} |
| 8013 |
} |
| 8014 |
if len(m.NullableInt64) > 0 { |
| 8015 |
for k := range m.NullableInt64 { |
| 8016 |
v := m.NullableInt64[k] |
| 8017 |
baseI := i |
| 8018 |
if v != nil { |
| 8019 |
{ |
| 8020 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8021 |
if err != nil { |
| 8022 |
return 0, err |
| 8023 |
} |
| 8024 |
i -= size |
| 8025 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8026 |
} |
| 8027 |
i-- |
| 8028 |
dAtA[i] = 0x12 |
| 8029 |
} |
| 8030 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8031 |
i-- |
| 8032 |
dAtA[i] = 0x8 |
| 8033 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8034 |
i-- |
| 8035 |
dAtA[i] = 0x4a |
| 8036 |
} |
| 8037 |
} |
| 8038 |
if len(m.NonnullFloat) > 0 { |
| 8039 |
for k := range m.NonnullFloat { |
| 8040 |
v := m.NonnullFloat[k] |
| 8041 |
baseI := i |
| 8042 |
{ |
| 8043 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 8044 |
if err != nil { |
| 8045 |
return 0, err |
| 8046 |
} |
| 8047 |
i -= size |
| 8048 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8049 |
} |
| 8050 |
i-- |
| 8051 |
dAtA[i] = 0x12 |
| 8052 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8053 |
i-- |
| 8054 |
dAtA[i] = 0x8 |
| 8055 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8056 |
i-- |
| 8057 |
dAtA[i] = 0x42 |
| 8058 |
} |
| 8059 |
} |
| 8060 |
if len(m.NullableFloat) > 0 { |
| 8061 |
for k := range m.NullableFloat { |
| 8062 |
v := m.NullableFloat[k] |
| 8063 |
baseI := i |
| 8064 |
if v != nil { |
| 8065 |
{ |
| 8066 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8067 |
if err != nil { |
| 8068 |
return 0, err |
| 8069 |
} |
| 8070 |
i -= size |
| 8071 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8072 |
} |
| 8073 |
i-- |
| 8074 |
dAtA[i] = 0x12 |
| 8075 |
} |
| 8076 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8077 |
i-- |
| 8078 |
dAtA[i] = 0x8 |
| 8079 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8080 |
i-- |
| 8081 |
dAtA[i] = 0x3a |
| 8082 |
} |
| 8083 |
} |
| 8084 |
if len(m.NonnullDouble) > 0 { |
| 8085 |
for k := range m.NonnullDouble { |
| 8086 |
v := m.NonnullDouble[k] |
| 8087 |
baseI := i |
| 8088 |
{ |
| 8089 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 8090 |
if err != nil { |
| 8091 |
return 0, err |
| 8092 |
} |
| 8093 |
i -= size |
| 8094 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8095 |
} |
| 8096 |
i-- |
| 8097 |
dAtA[i] = 0x12 |
| 8098 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8099 |
i-- |
| 8100 |
dAtA[i] = 0x8 |
| 8101 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8102 |
i-- |
| 8103 |
dAtA[i] = 0x32 |
| 8104 |
} |
| 8105 |
} |
| 8106 |
if len(m.NullableDouble) > 0 { |
| 8107 |
for k := range m.NullableDouble { |
| 8108 |
v := m.NullableDouble[k] |
| 8109 |
baseI := i |
| 8110 |
if v != nil { |
| 8111 |
{ |
| 8112 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8113 |
if err != nil { |
| 8114 |
return 0, err |
| 8115 |
} |
| 8116 |
i -= size |
| 8117 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8118 |
} |
| 8119 |
i-- |
| 8120 |
dAtA[i] = 0x12 |
| 8121 |
} |
| 8122 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8123 |
i-- |
| 8124 |
dAtA[i] = 0x8 |
| 8125 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8126 |
i-- |
| 8127 |
dAtA[i] = 0x2a |
| 8128 |
} |
| 8129 |
} |
| 8130 |
if len(m.Duration) > 0 { |
| 8131 |
for k := range m.Duration { |
| 8132 |
v := m.Duration[k] |
| 8133 |
baseI := i |
| 8134 |
{ |
| 8135 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 8136 |
if err != nil { |
| 8137 |
return 0, err |
| 8138 |
} |
| 8139 |
i -= size |
| 8140 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8141 |
} |
| 8142 |
i-- |
| 8143 |
dAtA[i] = 0x12 |
| 8144 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8145 |
i-- |
| 8146 |
dAtA[i] = 0x8 |
| 8147 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8148 |
i-- |
| 8149 |
dAtA[i] = 0x22 |
| 8150 |
} |
| 8151 |
} |
| 8152 |
if len(m.NullableDuration) > 0 { |
| 8153 |
for k := range m.NullableDuration { |
| 8154 |
v := m.NullableDuration[k] |
| 8155 |
baseI := i |
| 8156 |
if v != nil { |
| 8157 |
{ |
| 8158 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8159 |
if err != nil { |
| 8160 |
return 0, err |
| 8161 |
} |
| 8162 |
i -= size |
| 8163 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8164 |
} |
| 8165 |
i-- |
| 8166 |
dAtA[i] = 0x12 |
| 8167 |
} |
| 8168 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8169 |
i-- |
| 8170 |
dAtA[i] = 0x8 |
| 8171 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8172 |
i-- |
| 8173 |
dAtA[i] = 0x1a |
| 8174 |
} |
| 8175 |
} |
| 8176 |
if len(m.Timestamp) > 0 { |
| 8177 |
for k := range m.Timestamp { |
| 8178 |
v := m.Timestamp[k] |
| 8179 |
baseI := i |
| 8180 |
{ |
| 8181 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 8182 |
if err != nil { |
| 8183 |
return 0, err |
| 8184 |
} |
| 8185 |
i -= size |
| 8186 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8187 |
} |
| 8188 |
i-- |
| 8189 |
dAtA[i] = 0x12 |
| 8190 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8191 |
i-- |
| 8192 |
dAtA[i] = 0x8 |
| 8193 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8194 |
i-- |
| 8195 |
dAtA[i] = 0x12 |
| 8196 |
} |
| 8197 |
} |
| 8198 |
if len(m.NullableTimestamp) > 0 { |
| 8199 |
for k := range m.NullableTimestamp { |
| 8200 |
v := m.NullableTimestamp[k] |
| 8201 |
baseI := i |
| 8202 |
if v != nil { |
| 8203 |
{ |
| 8204 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8205 |
if err != nil { |
| 8206 |
return 0, err |
| 8207 |
} |
| 8208 |
i -= size |
| 8209 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8210 |
} |
| 8211 |
i-- |
| 8212 |
dAtA[i] = 0x12 |
| 8213 |
} |
| 8214 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8215 |
i-- |
| 8216 |
dAtA[i] = 0x8 |
| 8217 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8218 |
i-- |
| 8219 |
dAtA[i] = 0xa |
| 8220 |
} |
| 8221 |
} |
| 8222 |
return len(dAtA) - i, nil |
| 8223 |
} |
| 8224 |
|
| 8225 |
func (m *MapStdTypes) Marshal() (dAtA []byte, err error) { |
| 8226 |
size := m.Size() |
| 8227 |
dAtA = make([]byte, size) |
| 8228 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 8229 |
if err != nil { |
| 8230 |
return nil, err |
| 8231 |
} |
| 8232 |
return dAtA[:n], nil |
| 8233 |
} |
| 8234 |
|
| 8235 |
func (m *MapStdTypes) MarshalTo(dAtA []byte) (int, error) { |
| 8236 |
size := m.Size() |
| 8237 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8238 |
} |
| 8239 |
|
| 8240 |
func (m *MapStdTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8241 |
i := len(dAtA) |
| 8242 |
_ = i |
| 8243 |
var l int |
| 8244 |
_ = l |
| 8245 |
if m.XXX_unrecognized != nil { |
| 8246 |
i -= len(m.XXX_unrecognized) |
| 8247 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 8248 |
} |
| 8249 |
if len(m.NonnullBytes) > 0 { |
| 8250 |
for k := range m.NonnullBytes { |
| 8251 |
v := m.NonnullBytes[k] |
| 8252 |
baseI := i |
| 8253 |
n79, err79 := github_com_gogo_protobuf_types.StdBytesMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes((*(&v))):]) |
| 8254 |
if err79 != nil { |
| 8255 |
return 0, err79 |
| 8256 |
} |
| 8257 |
i -= n79 |
| 8258 |
i = encodeVarintTypes(dAtA, i, uint64(n79)) |
| 8259 |
i-- |
| 8260 |
dAtA[i] = 0x12 |
| 8261 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8262 |
i-- |
| 8263 |
dAtA[i] = 0x8 |
| 8264 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8265 |
i-- |
| 8266 |
dAtA[i] = 0x1 |
| 8267 |
i-- |
| 8268 |
dAtA[i] = 0xb2 |
| 8269 |
} |
| 8270 |
} |
| 8271 |
if len(m.NullableBytes) > 0 { |
| 8272 |
for k := range m.NullableBytes { |
| 8273 |
v := m.NullableBytes[k] |
| 8274 |
baseI := i |
| 8275 |
if v != nil { |
| 8276 |
n80, err80 := github_com_gogo_protobuf_types.StdBytesMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes((*v)):]) |
| 8277 |
if err80 != nil { |
| 8278 |
return 0, err80 |
| 8279 |
} |
| 8280 |
i -= n80 |
| 8281 |
i = encodeVarintTypes(dAtA, i, uint64(n80)) |
| 8282 |
i-- |
| 8283 |
dAtA[i] = 0x12 |
| 8284 |
} |
| 8285 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8286 |
i-- |
| 8287 |
dAtA[i] = 0x8 |
| 8288 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8289 |
i-- |
| 8290 |
dAtA[i] = 0x1 |
| 8291 |
i-- |
| 8292 |
dAtA[i] = 0xaa |
| 8293 |
} |
| 8294 |
} |
| 8295 |
if len(m.NonnullString) > 0 { |
| 8296 |
for k := range m.NonnullString { |
| 8297 |
v := m.NonnullString[k] |
| 8298 |
baseI := i |
| 8299 |
n81, err81 := github_com_gogo_protobuf_types.StdStringMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString((*(&v))):]) |
| 8300 |
if err81 != nil { |
| 8301 |
return 0, err81 |
| 8302 |
} |
| 8303 |
i -= n81 |
| 8304 |
i = encodeVarintTypes(dAtA, i, uint64(n81)) |
| 8305 |
i-- |
| 8306 |
dAtA[i] = 0x12 |
| 8307 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8308 |
i-- |
| 8309 |
dAtA[i] = 0x8 |
| 8310 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8311 |
i-- |
| 8312 |
dAtA[i] = 0x1 |
| 8313 |
i-- |
| 8314 |
dAtA[i] = 0xa2 |
| 8315 |
} |
| 8316 |
} |
| 8317 |
if len(m.NullableString) > 0 { |
| 8318 |
for k := range m.NullableString { |
| 8319 |
v := m.NullableString[k] |
| 8320 |
baseI := i |
| 8321 |
if v != nil { |
| 8322 |
n82, err82 := github_com_gogo_protobuf_types.StdStringMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString((*v)):]) |
| 8323 |
if err82 != nil { |
| 8324 |
return 0, err82 |
| 8325 |
} |
| 8326 |
i -= n82 |
| 8327 |
i = encodeVarintTypes(dAtA, i, uint64(n82)) |
| 8328 |
i-- |
| 8329 |
dAtA[i] = 0x12 |
| 8330 |
} |
| 8331 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8332 |
i-- |
| 8333 |
dAtA[i] = 0x8 |
| 8334 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8335 |
i-- |
| 8336 |
dAtA[i] = 0x1 |
| 8337 |
i-- |
| 8338 |
dAtA[i] = 0x9a |
| 8339 |
} |
| 8340 |
} |
| 8341 |
if len(m.NonnullBool) > 0 { |
| 8342 |
for k := range m.NonnullBool { |
| 8343 |
v := m.NonnullBool[k] |
| 8344 |
baseI := i |
| 8345 |
n83, err83 := github_com_gogo_protobuf_types.StdBoolMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool((*(&v))):]) |
| 8346 |
if err83 != nil { |
| 8347 |
return 0, err83 |
| 8348 |
} |
| 8349 |
i -= n83 |
| 8350 |
i = encodeVarintTypes(dAtA, i, uint64(n83)) |
| 8351 |
i-- |
| 8352 |
dAtA[i] = 0x12 |
| 8353 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8354 |
i-- |
| 8355 |
dAtA[i] = 0x8 |
| 8356 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8357 |
i-- |
| 8358 |
dAtA[i] = 0x1 |
| 8359 |
i-- |
| 8360 |
dAtA[i] = 0x92 |
| 8361 |
} |
| 8362 |
} |
| 8363 |
if len(m.NullableBool) > 0 { |
| 8364 |
for k := range m.NullableBool { |
| 8365 |
v := m.NullableBool[k] |
| 8366 |
baseI := i |
| 8367 |
if v != nil { |
| 8368 |
n84, err84 := github_com_gogo_protobuf_types.StdBoolMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool((*v)):]) |
| 8369 |
if err84 != nil { |
| 8370 |
return 0, err84 |
| 8371 |
} |
| 8372 |
i -= n84 |
| 8373 |
i = encodeVarintTypes(dAtA, i, uint64(n84)) |
| 8374 |
i-- |
| 8375 |
dAtA[i] = 0x12 |
| 8376 |
} |
| 8377 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8378 |
i-- |
| 8379 |
dAtA[i] = 0x8 |
| 8380 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8381 |
i-- |
| 8382 |
dAtA[i] = 0x1 |
| 8383 |
i-- |
| 8384 |
dAtA[i] = 0x8a |
| 8385 |
} |
| 8386 |
} |
| 8387 |
if len(m.NonnullUInt32) > 0 { |
| 8388 |
for k := range m.NonnullUInt32 { |
| 8389 |
v := m.NonnullUInt32[k] |
| 8390 |
baseI := i |
| 8391 |
n85, err85 := github_com_gogo_protobuf_types.StdUInt32MarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32((*(&v))):]) |
| 8392 |
if err85 != nil { |
| 8393 |
return 0, err85 |
| 8394 |
} |
| 8395 |
i -= n85 |
| 8396 |
i = encodeVarintTypes(dAtA, i, uint64(n85)) |
| 8397 |
i-- |
| 8398 |
dAtA[i] = 0x12 |
| 8399 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8400 |
i-- |
| 8401 |
dAtA[i] = 0x8 |
| 8402 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8403 |
i-- |
| 8404 |
dAtA[i] = 0x1 |
| 8405 |
i-- |
| 8406 |
dAtA[i] = 0x82 |
| 8407 |
} |
| 8408 |
} |
| 8409 |
if len(m.NullableUInt32) > 0 { |
| 8410 |
for k := range m.NullableUInt32 { |
| 8411 |
v := m.NullableUInt32[k] |
| 8412 |
baseI := i |
| 8413 |
if v != nil { |
| 8414 |
n86, err86 := github_com_gogo_protobuf_types.StdUInt32MarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32((*v)):]) |
| 8415 |
if err86 != nil { |
| 8416 |
return 0, err86 |
| 8417 |
} |
| 8418 |
i -= n86 |
| 8419 |
i = encodeVarintTypes(dAtA, i, uint64(n86)) |
| 8420 |
i-- |
| 8421 |
dAtA[i] = 0x12 |
| 8422 |
} |
| 8423 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8424 |
i-- |
| 8425 |
dAtA[i] = 0x8 |
| 8426 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8427 |
i-- |
| 8428 |
dAtA[i] = 0x7a |
| 8429 |
} |
| 8430 |
} |
| 8431 |
if len(m.NonnullInt32) > 0 { |
| 8432 |
for k := range m.NonnullInt32 { |
| 8433 |
v := m.NonnullInt32[k] |
| 8434 |
baseI := i |
| 8435 |
n87, err87 := github_com_gogo_protobuf_types.StdInt32MarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32((*(&v))):]) |
| 8436 |
if err87 != nil { |
| 8437 |
return 0, err87 |
| 8438 |
} |
| 8439 |
i -= n87 |
| 8440 |
i = encodeVarintTypes(dAtA, i, uint64(n87)) |
| 8441 |
i-- |
| 8442 |
dAtA[i] = 0x12 |
| 8443 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8444 |
i-- |
| 8445 |
dAtA[i] = 0x8 |
| 8446 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8447 |
i-- |
| 8448 |
dAtA[i] = 0x72 |
| 8449 |
} |
| 8450 |
} |
| 8451 |
if len(m.NullableInt32) > 0 { |
| 8452 |
for k := range m.NullableInt32 { |
| 8453 |
v := m.NullableInt32[k] |
| 8454 |
baseI := i |
| 8455 |
if v != nil { |
| 8456 |
n88, err88 := github_com_gogo_protobuf_types.StdInt32MarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32((*v)):]) |
| 8457 |
if err88 != nil { |
| 8458 |
return 0, err88 |
| 8459 |
} |
| 8460 |
i -= n88 |
| 8461 |
i = encodeVarintTypes(dAtA, i, uint64(n88)) |
| 8462 |
i-- |
| 8463 |
dAtA[i] = 0x12 |
| 8464 |
} |
| 8465 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8466 |
i-- |
| 8467 |
dAtA[i] = 0x8 |
| 8468 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8469 |
i-- |
| 8470 |
dAtA[i] = 0x6a |
| 8471 |
} |
| 8472 |
} |
| 8473 |
if len(m.NonnullUInt64) > 0 { |
| 8474 |
for k := range m.NonnullUInt64 { |
| 8475 |
v := m.NonnullUInt64[k] |
| 8476 |
baseI := i |
| 8477 |
n89, err89 := github_com_gogo_protobuf_types.StdUInt64MarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64((*(&v))):]) |
| 8478 |
if err89 != nil { |
| 8479 |
return 0, err89 |
| 8480 |
} |
| 8481 |
i -= n89 |
| 8482 |
i = encodeVarintTypes(dAtA, i, uint64(n89)) |
| 8483 |
i-- |
| 8484 |
dAtA[i] = 0x12 |
| 8485 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8486 |
i-- |
| 8487 |
dAtA[i] = 0x8 |
| 8488 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8489 |
i-- |
| 8490 |
dAtA[i] = 0x62 |
| 8491 |
} |
| 8492 |
} |
| 8493 |
if len(m.NullableUInt64) > 0 { |
| 8494 |
for k := range m.NullableUInt64 { |
| 8495 |
v := m.NullableUInt64[k] |
| 8496 |
baseI := i |
| 8497 |
if v != nil { |
| 8498 |
n90, err90 := github_com_gogo_protobuf_types.StdUInt64MarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64((*v)):]) |
| 8499 |
if err90 != nil { |
| 8500 |
return 0, err90 |
| 8501 |
} |
| 8502 |
i -= n90 |
| 8503 |
i = encodeVarintTypes(dAtA, i, uint64(n90)) |
| 8504 |
i-- |
| 8505 |
dAtA[i] = 0x12 |
| 8506 |
} |
| 8507 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8508 |
i-- |
| 8509 |
dAtA[i] = 0x8 |
| 8510 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8511 |
i-- |
| 8512 |
dAtA[i] = 0x5a |
| 8513 |
} |
| 8514 |
} |
| 8515 |
if len(m.NonnullInt64) > 0 { |
| 8516 |
for k := range m.NonnullInt64 { |
| 8517 |
v := m.NonnullInt64[k] |
| 8518 |
baseI := i |
| 8519 |
n91, err91 := github_com_gogo_protobuf_types.StdInt64MarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64((*(&v))):]) |
| 8520 |
if err91 != nil { |
| 8521 |
return 0, err91 |
| 8522 |
} |
| 8523 |
i -= n91 |
| 8524 |
i = encodeVarintTypes(dAtA, i, uint64(n91)) |
| 8525 |
i-- |
| 8526 |
dAtA[i] = 0x12 |
| 8527 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8528 |
i-- |
| 8529 |
dAtA[i] = 0x8 |
| 8530 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8531 |
i-- |
| 8532 |
dAtA[i] = 0x52 |
| 8533 |
} |
| 8534 |
} |
| 8535 |
if len(m.NullableInt64) > 0 { |
| 8536 |
for k := range m.NullableInt64 { |
| 8537 |
v := m.NullableInt64[k] |
| 8538 |
baseI := i |
| 8539 |
if v != nil { |
| 8540 |
n92, err92 := github_com_gogo_protobuf_types.StdInt64MarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64((*v)):]) |
| 8541 |
if err92 != nil { |
| 8542 |
return 0, err92 |
| 8543 |
} |
| 8544 |
i -= n92 |
| 8545 |
i = encodeVarintTypes(dAtA, i, uint64(n92)) |
| 8546 |
i-- |
| 8547 |
dAtA[i] = 0x12 |
| 8548 |
} |
| 8549 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8550 |
i-- |
| 8551 |
dAtA[i] = 0x8 |
| 8552 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8553 |
i-- |
| 8554 |
dAtA[i] = 0x4a |
| 8555 |
} |
| 8556 |
} |
| 8557 |
if len(m.NonnullFloat) > 0 { |
| 8558 |
for k := range m.NonnullFloat { |
| 8559 |
v := m.NonnullFloat[k] |
| 8560 |
baseI := i |
| 8561 |
n93, err93 := github_com_gogo_protobuf_types.StdFloatMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat((*(&v))):]) |
| 8562 |
if err93 != nil { |
| 8563 |
return 0, err93 |
| 8564 |
} |
| 8565 |
i -= n93 |
| 8566 |
i = encodeVarintTypes(dAtA, i, uint64(n93)) |
| 8567 |
i-- |
| 8568 |
dAtA[i] = 0x12 |
| 8569 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8570 |
i-- |
| 8571 |
dAtA[i] = 0x8 |
| 8572 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8573 |
i-- |
| 8574 |
dAtA[i] = 0x42 |
| 8575 |
} |
| 8576 |
} |
| 8577 |
if len(m.NullableFloat) > 0 { |
| 8578 |
for k := range m.NullableFloat { |
| 8579 |
v := m.NullableFloat[k] |
| 8580 |
baseI := i |
| 8581 |
if v != nil { |
| 8582 |
n94, err94 := github_com_gogo_protobuf_types.StdFloatMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat((*v)):]) |
| 8583 |
if err94 != nil { |
| 8584 |
return 0, err94 |
| 8585 |
} |
| 8586 |
i -= n94 |
| 8587 |
i = encodeVarintTypes(dAtA, i, uint64(n94)) |
| 8588 |
i-- |
| 8589 |
dAtA[i] = 0x12 |
| 8590 |
} |
| 8591 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8592 |
i-- |
| 8593 |
dAtA[i] = 0x8 |
| 8594 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8595 |
i-- |
| 8596 |
dAtA[i] = 0x3a |
| 8597 |
} |
| 8598 |
} |
| 8599 |
if len(m.NonnullDouble) > 0 { |
| 8600 |
for k := range m.NonnullDouble { |
| 8601 |
v := m.NonnullDouble[k] |
| 8602 |
baseI := i |
| 8603 |
n95, err95 := github_com_gogo_protobuf_types.StdDoubleMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble((*(&v))):]) |
| 8604 |
if err95 != nil { |
| 8605 |
return 0, err95 |
| 8606 |
} |
| 8607 |
i -= n95 |
| 8608 |
i = encodeVarintTypes(dAtA, i, uint64(n95)) |
| 8609 |
i-- |
| 8610 |
dAtA[i] = 0x12 |
| 8611 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8612 |
i-- |
| 8613 |
dAtA[i] = 0x8 |
| 8614 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8615 |
i-- |
| 8616 |
dAtA[i] = 0x32 |
| 8617 |
} |
| 8618 |
} |
| 8619 |
if len(m.NullableDouble) > 0 { |
| 8620 |
for k := range m.NullableDouble { |
| 8621 |
v := m.NullableDouble[k] |
| 8622 |
baseI := i |
| 8623 |
if v != nil { |
| 8624 |
n96, err96 := github_com_gogo_protobuf_types.StdDoubleMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble((*v)):]) |
| 8625 |
if err96 != nil { |
| 8626 |
return 0, err96 |
| 8627 |
} |
| 8628 |
i -= n96 |
| 8629 |
i = encodeVarintTypes(dAtA, i, uint64(n96)) |
| 8630 |
i-- |
| 8631 |
dAtA[i] = 0x12 |
| 8632 |
} |
| 8633 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8634 |
i-- |
| 8635 |
dAtA[i] = 0x8 |
| 8636 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8637 |
i-- |
| 8638 |
dAtA[i] = 0x2a |
| 8639 |
} |
| 8640 |
} |
| 8641 |
if len(m.Duration) > 0 { |
| 8642 |
for k := range m.Duration { |
| 8643 |
v := m.Duration[k] |
| 8644 |
baseI := i |
| 8645 |
n97, err97 := github_com_gogo_protobuf_types.StdDurationMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration((*(&v))):]) |
| 8646 |
if err97 != nil { |
| 8647 |
return 0, err97 |
| 8648 |
} |
| 8649 |
i -= n97 |
| 8650 |
i = encodeVarintTypes(dAtA, i, uint64(n97)) |
| 8651 |
i-- |
| 8652 |
dAtA[i] = 0x12 |
| 8653 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8654 |
i-- |
| 8655 |
dAtA[i] = 0x8 |
| 8656 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8657 |
i-- |
| 8658 |
dAtA[i] = 0x22 |
| 8659 |
} |
| 8660 |
} |
| 8661 |
if len(m.NullableDuration) > 0 { |
| 8662 |
for k := range m.NullableDuration { |
| 8663 |
v := m.NullableDuration[k] |
| 8664 |
baseI := i |
| 8665 |
if v != nil { |
| 8666 |
n98, err98 := github_com_gogo_protobuf_types.StdDurationMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration((*v)):]) |
| 8667 |
if err98 != nil { |
| 8668 |
return 0, err98 |
| 8669 |
} |
| 8670 |
i -= n98 |
| 8671 |
i = encodeVarintTypes(dAtA, i, uint64(n98)) |
| 8672 |
i-- |
| 8673 |
dAtA[i] = 0x12 |
| 8674 |
} |
| 8675 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8676 |
i-- |
| 8677 |
dAtA[i] = 0x8 |
| 8678 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8679 |
i-- |
| 8680 |
dAtA[i] = 0x1a |
| 8681 |
} |
| 8682 |
} |
| 8683 |
if len(m.Timestamp) > 0 { |
| 8684 |
for k := range m.Timestamp { |
| 8685 |
v := m.Timestamp[k] |
| 8686 |
baseI := i |
| 8687 |
n99, err99 := github_com_gogo_protobuf_types.StdTimeMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime((*(&v))):]) |
| 8688 |
if err99 != nil { |
| 8689 |
return 0, err99 |
| 8690 |
} |
| 8691 |
i -= n99 |
| 8692 |
i = encodeVarintTypes(dAtA, i, uint64(n99)) |
| 8693 |
i-- |
| 8694 |
dAtA[i] = 0x12 |
| 8695 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8696 |
i-- |
| 8697 |
dAtA[i] = 0x8 |
| 8698 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8699 |
i-- |
| 8700 |
dAtA[i] = 0x12 |
| 8701 |
} |
| 8702 |
} |
| 8703 |
if len(m.NullableTimestamp) > 0 { |
| 8704 |
for k := range m.NullableTimestamp { |
| 8705 |
v := m.NullableTimestamp[k] |
| 8706 |
baseI := i |
| 8707 |
if v != nil { |
| 8708 |
n100, err100 := github_com_gogo_protobuf_types.StdTimeMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime((*v)):]) |
| 8709 |
if err100 != nil { |
| 8710 |
return 0, err100 |
| 8711 |
} |
| 8712 |
i -= n100 |
| 8713 |
i = encodeVarintTypes(dAtA, i, uint64(n100)) |
| 8714 |
i-- |
| 8715 |
dAtA[i] = 0x12 |
| 8716 |
} |
| 8717 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8718 |
i-- |
| 8719 |
dAtA[i] = 0x8 |
| 8720 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8721 |
i-- |
| 8722 |
dAtA[i] = 0xa |
| 8723 |
} |
| 8724 |
} |
| 8725 |
return len(dAtA) - i, nil |
| 8726 |
} |
| 8727 |
|
| 8728 |
func (m *OneofProtoTypes) Marshal() (dAtA []byte, err error) { |
| 8729 |
size := m.Size() |
| 8730 |
dAtA = make([]byte, size) |
| 8731 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 8732 |
if err != nil { |
| 8733 |
return nil, err |
| 8734 |
} |
| 8735 |
return dAtA[:n], nil |
| 8736 |
} |
| 8737 |
|
| 8738 |
func (m *OneofProtoTypes) MarshalTo(dAtA []byte) (int, error) { |
| 8739 |
size := m.Size() |
| 8740 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8741 |
} |
| 8742 |
|
| 8743 |
func (m *OneofProtoTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8744 |
i := len(dAtA) |
| 8745 |
_ = i |
| 8746 |
var l int |
| 8747 |
_ = l |
| 8748 |
if m.XXX_unrecognized != nil { |
| 8749 |
i -= len(m.XXX_unrecognized) |
| 8750 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 8751 |
} |
| 8752 |
if m.OneOfProtoTimes != nil { |
| 8753 |
{ |
| 8754 |
size := m.OneOfProtoTimes.Size() |
| 8755 |
i -= size |
| 8756 |
if _, err := m.OneOfProtoTimes.MarshalTo(dAtA[i:]); err != nil { |
| 8757 |
return 0, err |
| 8758 |
} |
| 8759 |
} |
| 8760 |
} |
| 8761 |
return len(dAtA) - i, nil |
| 8762 |
} |
| 8763 |
|
| 8764 |
func (m *OneofProtoTypes_Timestamp) MarshalTo(dAtA []byte) (int, error) { |
| 8765 |
size := m.Size() |
| 8766 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8767 |
} |
| 8768 |
|
| 8769 |
func (m *OneofProtoTypes_Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8770 |
i := len(dAtA) |
| 8771 |
if m.Timestamp != nil { |
| 8772 |
{ |
| 8773 |
size, err := m.Timestamp.MarshalToSizedBuffer(dAtA[:i]) |
| 8774 |
if err != nil { |
| 8775 |
return 0, err |
| 8776 |
} |
| 8777 |
i -= size |
| 8778 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8779 |
} |
| 8780 |
i-- |
| 8781 |
dAtA[i] = 0xa |
| 8782 |
} |
| 8783 |
return len(dAtA) - i, nil |
| 8784 |
} |
| 8785 |
func (m *OneofProtoTypes_Duration) MarshalTo(dAtA []byte) (int, error) { |
| 8786 |
size := m.Size() |
| 8787 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8788 |
} |
| 8789 |
|
| 8790 |
func (m *OneofProtoTypes_Duration) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8791 |
i := len(dAtA) |
| 8792 |
if m.Duration != nil { |
| 8793 |
{ |
| 8794 |
size, err := m.Duration.MarshalToSizedBuffer(dAtA[:i]) |
| 8795 |
if err != nil { |
| 8796 |
return 0, err |
| 8797 |
} |
| 8798 |
i -= size |
| 8799 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8800 |
} |
| 8801 |
i-- |
| 8802 |
dAtA[i] = 0x12 |
| 8803 |
} |
| 8804 |
return len(dAtA) - i, nil |
| 8805 |
} |
| 8806 |
func (m *OneofProtoTypes_RepDouble) MarshalTo(dAtA []byte) (int, error) { |
| 8807 |
size := m.Size() |
| 8808 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8809 |
} |
| 8810 |
|
| 8811 |
func (m *OneofProtoTypes_RepDouble) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8812 |
i := len(dAtA) |
| 8813 |
if m.RepDouble != nil { |
| 8814 |
{ |
| 8815 |
size, err := m.RepDouble.MarshalToSizedBuffer(dAtA[:i]) |
| 8816 |
if err != nil { |
| 8817 |
return 0, err |
| 8818 |
} |
| 8819 |
i -= size |
| 8820 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8821 |
} |
| 8822 |
i-- |
| 8823 |
dAtA[i] = 0x1a |
| 8824 |
} |
| 8825 |
return len(dAtA) - i, nil |
| 8826 |
} |
| 8827 |
func (m *OneofProtoTypes_RepFloat) MarshalTo(dAtA []byte) (int, error) { |
| 8828 |
size := m.Size() |
| 8829 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8830 |
} |
| 8831 |
|
| 8832 |
func (m *OneofProtoTypes_RepFloat) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8833 |
i := len(dAtA) |
| 8834 |
if m.RepFloat != nil { |
| 8835 |
{ |
| 8836 |
size, err := m.RepFloat.MarshalToSizedBuffer(dAtA[:i]) |
| 8837 |
if err != nil { |
| 8838 |
return 0, err |
| 8839 |
} |
| 8840 |
i -= size |
| 8841 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8842 |
} |
| 8843 |
i-- |
| 8844 |
dAtA[i] = 0x22 |
| 8845 |
} |
| 8846 |
return len(dAtA) - i, nil |
| 8847 |
} |
| 8848 |
func (m *OneofProtoTypes_RepInt64) MarshalTo(dAtA []byte) (int, error) { |
| 8849 |
size := m.Size() |
| 8850 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8851 |
} |
| 8852 |
|
| 8853 |
func (m *OneofProtoTypes_RepInt64) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8854 |
i := len(dAtA) |
| 8855 |
if m.RepInt64 != nil { |
| 8856 |
{ |
| 8857 |
size, err := m.RepInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 8858 |
if err != nil { |
| 8859 |
return 0, err |
| 8860 |
} |
| 8861 |
i -= size |
| 8862 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8863 |
} |
| 8864 |
i-- |
| 8865 |
dAtA[i] = 0x2a |
| 8866 |
} |
| 8867 |
return len(dAtA) - i, nil |
| 8868 |
} |
| 8869 |
func (m *OneofProtoTypes_RepUInt64) MarshalTo(dAtA []byte) (int, error) { |
| 8870 |
size := m.Size() |
| 8871 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8872 |
} |
| 8873 |
|
| 8874 |
func (m *OneofProtoTypes_RepUInt64) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8875 |
i := len(dAtA) |
| 8876 |
if m.RepUInt64 != nil { |
| 8877 |
{ |
| 8878 |
size, err := m.RepUInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 8879 |
if err != nil { |
| 8880 |
return 0, err |
| 8881 |
} |
| 8882 |
i -= size |
| 8883 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8884 |
} |
| 8885 |
i-- |
| 8886 |
dAtA[i] = 0x32 |
| 8887 |
} |
| 8888 |
return len(dAtA) - i, nil |
| 8889 |
} |
| 8890 |
func (m *OneofProtoTypes_RepInt32) MarshalTo(dAtA []byte) (int, error) { |
| 8891 |
size := m.Size() |
| 8892 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8893 |
} |
| 8894 |
|
| 8895 |
func (m *OneofProtoTypes_RepInt32) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8896 |
i := len(dAtA) |
| 8897 |
if m.RepInt32 != nil { |
| 8898 |
{ |
| 8899 |
size, err := m.RepInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 8900 |
if err != nil { |
| 8901 |
return 0, err |
| 8902 |
} |
| 8903 |
i -= size |
| 8904 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8905 |
} |
| 8906 |
i-- |
| 8907 |
dAtA[i] = 0x3a |
| 8908 |
} |
| 8909 |
return len(dAtA) - i, nil |
| 8910 |
} |
| 8911 |
func (m *OneofProtoTypes_RepUInt32) MarshalTo(dAtA []byte) (int, error) { |
| 8912 |
size := m.Size() |
| 8913 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8914 |
} |
| 8915 |
|
| 8916 |
func (m *OneofProtoTypes_RepUInt32) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8917 |
i := len(dAtA) |
| 8918 |
if m.RepUInt32 != nil { |
| 8919 |
{ |
| 8920 |
size, err := m.RepUInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 8921 |
if err != nil { |
| 8922 |
return 0, err |
| 8923 |
} |
| 8924 |
i -= size |
| 8925 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8926 |
} |
| 8927 |
i-- |
| 8928 |
dAtA[i] = 0x42 |
| 8929 |
} |
| 8930 |
return len(dAtA) - i, nil |
| 8931 |
} |
| 8932 |
func (m *OneofProtoTypes_RepBool) MarshalTo(dAtA []byte) (int, error) { |
| 8933 |
size := m.Size() |
| 8934 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8935 |
} |
| 8936 |
|
| 8937 |
func (m *OneofProtoTypes_RepBool) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8938 |
i := len(dAtA) |
| 8939 |
if m.RepBool != nil { |
| 8940 |
{ |
| 8941 |
size, err := m.RepBool.MarshalToSizedBuffer(dAtA[:i]) |
| 8942 |
if err != nil { |
| 8943 |
return 0, err |
| 8944 |
} |
| 8945 |
i -= size |
| 8946 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8947 |
} |
| 8948 |
i-- |
| 8949 |
dAtA[i] = 0x4a |
| 8950 |
} |
| 8951 |
return len(dAtA) - i, nil |
| 8952 |
} |
| 8953 |
func (m *OneofProtoTypes_RepString) MarshalTo(dAtA []byte) (int, error) { |
| 8954 |
size := m.Size() |
| 8955 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8956 |
} |
| 8957 |
|
| 8958 |
func (m *OneofProtoTypes_RepString) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8959 |
i := len(dAtA) |
| 8960 |
if m.RepString != nil { |
| 8961 |
{ |
| 8962 |
size, err := m.RepString.MarshalToSizedBuffer(dAtA[:i]) |
| 8963 |
if err != nil { |
| 8964 |
return 0, err |
| 8965 |
} |
| 8966 |
i -= size |
| 8967 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8968 |
} |
| 8969 |
i-- |
| 8970 |
dAtA[i] = 0x52 |
| 8971 |
} |
| 8972 |
return len(dAtA) - i, nil |
| 8973 |
} |
| 8974 |
func (m *OneofProtoTypes_RepBytes) MarshalTo(dAtA []byte) (int, error) { |
| 8975 |
size := m.Size() |
| 8976 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8977 |
} |
| 8978 |
|
| 8979 |
func (m *OneofProtoTypes_RepBytes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8980 |
i := len(dAtA) |
| 8981 |
if m.RepBytes != nil { |
| 8982 |
{ |
| 8983 |
size, err := m.RepBytes.MarshalToSizedBuffer(dAtA[:i]) |
| 8984 |
if err != nil { |
| 8985 |
return 0, err |
| 8986 |
} |
| 8987 |
i -= size |
| 8988 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8989 |
} |
| 8990 |
i-- |
| 8991 |
dAtA[i] = 0x5a |
| 8992 |
} |
| 8993 |
return len(dAtA) - i, nil |
| 8994 |
} |
| 8995 |
func (m *OneofStdTypes) Marshal() (dAtA []byte, err error) { |
| 8996 |
size := m.Size() |
| 8997 |
dAtA = make([]byte, size) |
| 8998 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 8999 |
if err != nil { |
| 9000 |
return nil, err |
| 9001 |
} |
| 9002 |
return dAtA[:n], nil |
| 9003 |
} |
| 9004 |
|
| 9005 |
func (m *OneofStdTypes) MarshalTo(dAtA []byte) (int, error) { |
| 9006 |
size := m.Size() |
| 9007 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9008 |
} |
| 9009 |
|
| 9010 |
func (m *OneofStdTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9011 |
i := len(dAtA) |
| 9012 |
_ = i |
| 9013 |
var l int |
| 9014 |
_ = l |
| 9015 |
if m.XXX_unrecognized != nil { |
| 9016 |
i -= len(m.XXX_unrecognized) |
| 9017 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 9018 |
} |
| 9019 |
if m.OneOfStdTimes != nil { |
| 9020 |
{ |
| 9021 |
size := m.OneOfStdTimes.Size() |
| 9022 |
i -= size |
| 9023 |
if _, err := m.OneOfStdTimes.MarshalTo(dAtA[i:]); err != nil { |
| 9024 |
return 0, err |
| 9025 |
} |
| 9026 |
} |
| 9027 |
} |
| 9028 |
return len(dAtA) - i, nil |
| 9029 |
} |
| 9030 |
|
| 9031 |
func (m *OneofStdTypes_Timestamp) MarshalTo(dAtA []byte) (int, error) { |
| 9032 |
size := m.Size() |
| 9033 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9034 |
} |
| 9035 |
|
| 9036 |
func (m *OneofStdTypes_Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9037 |
i := len(dAtA) |
| 9038 |
if m.Timestamp != nil { |
| 9039 |
n112, err112 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Timestamp):]) |
| 9040 |
if err112 != nil { |
| 9041 |
return 0, err112 |
| 9042 |
} |
| 9043 |
i -= n112 |
| 9044 |
i = encodeVarintTypes(dAtA, i, uint64(n112)) |
| 9045 |
i-- |
| 9046 |
dAtA[i] = 0xa |
| 9047 |
} |
| 9048 |
return len(dAtA) - i, nil |
| 9049 |
} |
| 9050 |
func (m *OneofStdTypes_Duration) MarshalTo(dAtA []byte) (int, error) { |
| 9051 |
size := m.Size() |
| 9052 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9053 |
} |
| 9054 |
|
| 9055 |
func (m *OneofStdTypes_Duration) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9056 |
i := len(dAtA) |
| 9057 |
if m.Duration != nil { |
| 9058 |
n113, err113 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.Duration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.Duration):]) |
| 9059 |
if err113 != nil { |
| 9060 |
return 0, err113 |
| 9061 |
} |
| 9062 |
i -= n113 |
| 9063 |
i = encodeVarintTypes(dAtA, i, uint64(n113)) |
| 9064 |
i-- |
| 9065 |
dAtA[i] = 0x12 |
| 9066 |
} |
| 9067 |
return len(dAtA) - i, nil |
| 9068 |
} |
| 9069 |
func (m *OneofStdTypes_RepDouble) MarshalTo(dAtA []byte) (int, error) { |
| 9070 |
size := m.Size() |
| 9071 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9072 |
} |
| 9073 |
|
| 9074 |
func (m *OneofStdTypes_RepDouble) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9075 |
i := len(dAtA) |
| 9076 |
if m.RepDouble != nil { |
| 9077 |
n114, err114 := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*m.RepDouble, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(*m.RepDouble):]) |
| 9078 |
if err114 != nil { |
| 9079 |
return 0, err114 |
| 9080 |
} |
| 9081 |
i -= n114 |
| 9082 |
i = encodeVarintTypes(dAtA, i, uint64(n114)) |
| 9083 |
i-- |
| 9084 |
dAtA[i] = 0x1a |
| 9085 |
} |
| 9086 |
return len(dAtA) - i, nil |
| 9087 |
} |
| 9088 |
func (m *OneofStdTypes_RepFloat) MarshalTo(dAtA []byte) (int, error) { |
| 9089 |
size := m.Size() |
| 9090 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9091 |
} |
| 9092 |
|
| 9093 |
func (m *OneofStdTypes_RepFloat) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9094 |
i := len(dAtA) |
| 9095 |
if m.RepFloat != nil { |
| 9096 |
n115, err115 := github_com_gogo_protobuf_types.StdFloatMarshalTo(*m.RepFloat, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(*m.RepFloat):]) |
| 9097 |
if err115 != nil { |
| 9098 |
return 0, err115 |
| 9099 |
} |
| 9100 |
i -= n115 |
| 9101 |
i = encodeVarintTypes(dAtA, i, uint64(n115)) |
| 9102 |
i-- |
| 9103 |
dAtA[i] = 0x22 |
| 9104 |
} |
| 9105 |
return len(dAtA) - i, nil |
| 9106 |
} |
| 9107 |
func (m *OneofStdTypes_RepInt64) MarshalTo(dAtA []byte) (int, error) { |
| 9108 |
size := m.Size() |
| 9109 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9110 |
} |
| 9111 |
|
| 9112 |
func (m *OneofStdTypes_RepInt64) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9113 |
i := len(dAtA) |
| 9114 |
if m.RepInt64 != nil { |
| 9115 |
n116, err116 := github_com_gogo_protobuf_types.StdInt64MarshalTo(*m.RepInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(*m.RepInt64):]) |
| 9116 |
if err116 != nil { |
| 9117 |
return 0, err116 |
| 9118 |
} |
| 9119 |
i -= n116 |
| 9120 |
i = encodeVarintTypes(dAtA, i, uint64(n116)) |
| 9121 |
i-- |
| 9122 |
dAtA[i] = 0x2a |
| 9123 |
} |
| 9124 |
return len(dAtA) - i, nil |
| 9125 |
} |
| 9126 |
func (m *OneofStdTypes_RepUInt64) MarshalTo(dAtA []byte) (int, error) { |
| 9127 |
size := m.Size() |
| 9128 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9129 |
} |
| 9130 |
|
| 9131 |
func (m *OneofStdTypes_RepUInt64) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9132 |
i := len(dAtA) |
| 9133 |
if m.RepUInt64 != nil { |
| 9134 |
n117, err117 := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*m.RepUInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.RepUInt64):]) |
| 9135 |
if err117 != nil { |
| 9136 |
return 0, err117 |
| 9137 |
} |
| 9138 |
i -= n117 |
| 9139 |
i = encodeVarintTypes(dAtA, i, uint64(n117)) |
| 9140 |
i-- |
| 9141 |
dAtA[i] = 0x32 |
| 9142 |
} |
| 9143 |
return len(dAtA) - i, nil |
| 9144 |
} |
| 9145 |
func (m *OneofStdTypes_RepInt32) MarshalTo(dAtA []byte) (int, error) { |
| 9146 |
size := m.Size() |
| 9147 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9148 |
} |
| 9149 |
|
| 9150 |
func (m *OneofStdTypes_RepInt32) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9151 |
i := len(dAtA) |
| 9152 |
if m.RepInt32 != nil { |
| 9153 |
n118, err118 := github_com_gogo_protobuf_types.StdInt32MarshalTo(*m.RepInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(*m.RepInt32):]) |
| 9154 |
if err118 != nil { |
| 9155 |
return 0, err118 |
| 9156 |
} |
| 9157 |
i -= n118 |
| 9158 |
i = encodeVarintTypes(dAtA, i, uint64(n118)) |
| 9159 |
i-- |
| 9160 |
dAtA[i] = 0x3a |
| 9161 |
} |
| 9162 |
return len(dAtA) - i, nil |
| 9163 |
} |
| 9164 |
func (m *OneofStdTypes_RepUInt32) MarshalTo(dAtA []byte) (int, error) { |
| 9165 |
size := m.Size() |
| 9166 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9167 |
} |
| 9168 |
|
| 9169 |
func (m *OneofStdTypes_RepUInt32) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9170 |
i := len(dAtA) |
| 9171 |
if m.RepUInt32 != nil { |
| 9172 |
n119, err119 := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*m.RepUInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.RepUInt32):]) |
| 9173 |
if err119 != nil { |
| 9174 |
return 0, err119 |
| 9175 |
} |
| 9176 |
i -= n119 |
| 9177 |
i = encodeVarintTypes(dAtA, i, uint64(n119)) |
| 9178 |
i-- |
| 9179 |
dAtA[i] = 0x42 |
| 9180 |
} |
| 9181 |
return len(dAtA) - i, nil |
| 9182 |
} |
| 9183 |
func (m *OneofStdTypes_RepBool) MarshalTo(dAtA []byte) (int, error) { |
| 9184 |
size := m.Size() |
| 9185 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9186 |
} |
| 9187 |
|
| 9188 |
func (m *OneofStdTypes_RepBool) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9189 |
i := len(dAtA) |
| 9190 |
if m.RepBool != nil { |
| 9191 |
n120, err120 := github_com_gogo_protobuf_types.StdBoolMarshalTo(*m.RepBool, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(*m.RepBool):]) |
| 9192 |
if err120 != nil { |
| 9193 |
return 0, err120 |
| 9194 |
} |
| 9195 |
i -= n120 |
| 9196 |
i = encodeVarintTypes(dAtA, i, uint64(n120)) |
| 9197 |
i-- |
| 9198 |
dAtA[i] = 0x4a |
| 9199 |
} |
| 9200 |
return len(dAtA) - i, nil |
| 9201 |
} |
| 9202 |
func (m *OneofStdTypes_RepString) MarshalTo(dAtA []byte) (int, error) { |
| 9203 |
size := m.Size() |
| 9204 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9205 |
} |
| 9206 |
|
| 9207 |
func (m *OneofStdTypes_RepString) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9208 |
i := len(dAtA) |
| 9209 |
if m.RepString != nil { |
| 9210 |
n121, err121 := github_com_gogo_protobuf_types.StdStringMarshalTo(*m.RepString, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(*m.RepString):]) |
| 9211 |
if err121 != nil { |
| 9212 |
return 0, err121 |
| 9213 |
} |
| 9214 |
i -= n121 |
| 9215 |
i = encodeVarintTypes(dAtA, i, uint64(n121)) |
| 9216 |
i-- |
| 9217 |
dAtA[i] = 0x52 |
| 9218 |
} |
| 9219 |
return len(dAtA) - i, nil |
| 9220 |
} |
| 9221 |
func (m *OneofStdTypes_RepBytes) MarshalTo(dAtA []byte) (int, error) { |
| 9222 |
size := m.Size() |
| 9223 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9224 |
} |
| 9225 |
|
| 9226 |
func (m *OneofStdTypes_RepBytes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9227 |
i := len(dAtA) |
| 9228 |
if m.RepBytes != nil { |
| 9229 |
n122, err122 := github_com_gogo_protobuf_types.StdBytesMarshalTo(*m.RepBytes, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(*m.RepBytes):]) |
| 9230 |
if err122 != nil { |
| 9231 |
return 0, err122 |
| 9232 |
} |
| 9233 |
i -= n122 |
| 9234 |
i = encodeVarintTypes(dAtA, i, uint64(n122)) |
| 9235 |
i-- |
| 9236 |
dAtA[i] = 0x5a |
| 9237 |
} |
| 9238 |
return len(dAtA) - i, nil |
| 9239 |
} |
| 9240 |
func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { |
| 9241 |
offset -= sovTypes(v) |
| 9242 |
base := offset |
| 9243 |
for v >= 1<<7 { |
| 9244 |
dAtA[offset] = uint8(v&0x7f | 0x80) |
| 9245 |
v >>= 7 |
| 9246 |
offset++ |
| 9247 |
} |
| 9248 |
dAtA[offset] = uint8(v) |
| 9249 |
return base |
| 9250 |
} |
| 9251 |
func NewPopulatedKnownTypes(r randyTypes, easy bool) *KnownTypes { |
| 9252 |
this := &KnownTypes{} |
| 9253 |
if r.Intn(5) != 0 { |
| 9254 |
this.Dur = types.NewPopulatedDuration(r, easy) |
| 9255 |
} |
| 9256 |
if r.Intn(5) != 0 { |
| 9257 |
this.Ts = types.NewPopulatedTimestamp(r, easy) |
| 9258 |
} |
| 9259 |
if r.Intn(5) != 0 { |
| 9260 |
this.Dbl = types.NewPopulatedDoubleValue(r, easy) |
| 9261 |
} |
| 9262 |
if r.Intn(5) != 0 { |
| 9263 |
this.Flt = types.NewPopulatedFloatValue(r, easy) |
| 9264 |
} |
| 9265 |
if r.Intn(5) != 0 { |
| 9266 |
this.I64 = types.NewPopulatedInt64Value(r, easy) |
| 9267 |
} |
| 9268 |
if r.Intn(5) != 0 { |
| 9269 |
this.U64 = types.NewPopulatedUInt64Value(r, easy) |
| 9270 |
} |
| 9271 |
if r.Intn(5) != 0 { |
| 9272 |
this.I32 = types.NewPopulatedInt32Value(r, easy) |
| 9273 |
} |
| 9274 |
if r.Intn(5) != 0 { |
| 9275 |
this.U32 = types.NewPopulatedUInt32Value(r, easy) |
| 9276 |
} |
| 9277 |
if r.Intn(5) != 0 { |
| 9278 |
this.Bool = types.NewPopulatedBoolValue(r, easy) |
| 9279 |
} |
| 9280 |
if r.Intn(5) != 0 { |
| 9281 |
this.Str = types.NewPopulatedStringValue(r, easy) |
| 9282 |
} |
| 9283 |
if r.Intn(5) != 0 { |
| 9284 |
this.Bytes = types.NewPopulatedBytesValue(r, easy) |
| 9285 |
} |
| 9286 |
if r.Intn(5) != 0 { |
| 9287 |
this.St = types.NewPopulatedStruct(r, easy) |
| 9288 |
} |
| 9289 |
if !easy && r.Intn(10) != 0 { |
| 9290 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 13) |
| 9291 |
} |
| 9292 |
return this |
| 9293 |
} |
| 9294 |
|
| 9295 |
func NewPopulatedProtoTypes(r randyTypes, easy bool) *ProtoTypes { |
| 9296 |
this := &ProtoTypes{} |
| 9297 |
if r.Intn(5) != 0 { |
| 9298 |
this.NullableTimestamp = types.NewPopulatedTimestamp(r, easy) |
| 9299 |
} |
| 9300 |
if r.Intn(5) != 0 { |
| 9301 |
this.NullableDuration = types.NewPopulatedDuration(r, easy) |
| 9302 |
} |
| 9303 |
if r.Intn(5) != 0 { |
| 9304 |
this.NullableDouble = types.NewPopulatedDoubleValue(r, easy) |
| 9305 |
} |
| 9306 |
if r.Intn(5) != 0 { |
| 9307 |
this.NullableFloat = types.NewPopulatedFloatValue(r, easy) |
| 9308 |
} |
| 9309 |
if r.Intn(5) != 0 { |
| 9310 |
this.NullableInt64 = types.NewPopulatedInt64Value(r, easy) |
| 9311 |
} |
| 9312 |
if r.Intn(5) != 0 { |
| 9313 |
this.NullableUInt64 = types.NewPopulatedUInt64Value(r, easy) |
| 9314 |
} |
| 9315 |
if r.Intn(5) != 0 { |
| 9316 |
this.NullableInt32 = types.NewPopulatedInt32Value(r, easy) |
| 9317 |
} |
| 9318 |
if r.Intn(5) != 0 { |
| 9319 |
this.NullableUInt32 = types.NewPopulatedUInt32Value(r, easy) |
| 9320 |
} |
| 9321 |
if r.Intn(5) != 0 { |
| 9322 |
this.NullableBool = types.NewPopulatedBoolValue(r, easy) |
| 9323 |
} |
| 9324 |
if r.Intn(5) != 0 { |
| 9325 |
this.NullableString = types.NewPopulatedStringValue(r, easy) |
| 9326 |
} |
| 9327 |
if r.Intn(5) != 0 { |
| 9328 |
this.NullableBytes = types.NewPopulatedBytesValue(r, easy) |
| 9329 |
} |
| 9330 |
v1 := types.NewPopulatedTimestamp(r, easy) |
| 9331 |
this.Timestamp = *v1 |
| 9332 |
v2 := types.NewPopulatedDuration(r, easy) |
| 9333 |
this.Duration = *v2 |
| 9334 |
v3 := types.NewPopulatedDoubleValue(r, easy) |
| 9335 |
this.NonnullDouble = *v3 |
| 9336 |
v4 := types.NewPopulatedFloatValue(r, easy) |
| 9337 |
this.NonnullFloat = *v4 |
| 9338 |
v5 := types.NewPopulatedInt64Value(r, easy) |
| 9339 |
this.NonnullInt64 = *v5 |
| 9340 |
v6 := types.NewPopulatedUInt64Value(r, easy) |
| 9341 |
this.NonnullUInt64 = *v6 |
| 9342 |
v7 := types.NewPopulatedInt32Value(r, easy) |
| 9343 |
this.NonnullInt32 = *v7 |
| 9344 |
v8 := types.NewPopulatedUInt32Value(r, easy) |
| 9345 |
this.NonnullUInt32 = *v8 |
| 9346 |
v9 := types.NewPopulatedBoolValue(r, easy) |
| 9347 |
this.NonnullBool = *v9 |
| 9348 |
v10 := types.NewPopulatedStringValue(r, easy) |
| 9349 |
this.NonnullString = *v10 |
| 9350 |
v11 := types.NewPopulatedBytesValue(r, easy) |
| 9351 |
this.NonnullBytes = *v11 |
| 9352 |
if !easy && r.Intn(10) != 0 { |
| 9353 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9354 |
} |
| 9355 |
return this |
| 9356 |
} |
| 9357 |
|
| 9358 |
func NewPopulatedStdTypes(r randyTypes, easy bool) *StdTypes { |
| 9359 |
this := &StdTypes{} |
| 9360 |
if r.Intn(5) != 0 { |
| 9361 |
this.NullableTimestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9362 |
} |
| 9363 |
if r.Intn(5) != 0 { |
| 9364 |
this.NullableDuration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9365 |
} |
| 9366 |
if r.Intn(5) != 0 { |
| 9367 |
this.NullableDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 9368 |
} |
| 9369 |
if r.Intn(5) != 0 { |
| 9370 |
this.NullableFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 9371 |
} |
| 9372 |
if r.Intn(5) != 0 { |
| 9373 |
this.NullableInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 9374 |
} |
| 9375 |
if r.Intn(5) != 0 { |
| 9376 |
this.NullableUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 9377 |
} |
| 9378 |
if r.Intn(5) != 0 { |
| 9379 |
this.NullableInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 9380 |
} |
| 9381 |
if r.Intn(5) != 0 { |
| 9382 |
this.NullableUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 9383 |
} |
| 9384 |
if r.Intn(5) != 0 { |
| 9385 |
this.NullableBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 9386 |
} |
| 9387 |
if r.Intn(5) != 0 { |
| 9388 |
this.NullableString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 9389 |
} |
| 9390 |
if r.Intn(5) != 0 { |
| 9391 |
this.NullableBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 9392 |
} |
| 9393 |
v12 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9394 |
this.Timestamp = *v12 |
| 9395 |
v13 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9396 |
this.Duration = *v13 |
| 9397 |
v14 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 9398 |
this.NonnullDouble = *v14 |
| 9399 |
v15 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 9400 |
this.NonnullFloat = *v15 |
| 9401 |
v16 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 9402 |
this.NonnullInt64 = *v16 |
| 9403 |
v17 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 9404 |
this.NonnullUInt64 = *v17 |
| 9405 |
v18 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 9406 |
this.NonnullInt32 = *v18 |
| 9407 |
v19 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 9408 |
this.NonnullUInt32 = *v19 |
| 9409 |
v20 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 9410 |
this.NonnullBool = *v20 |
| 9411 |
v21 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 9412 |
this.NonnullString = *v21 |
| 9413 |
v22 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 9414 |
this.NonnullBytes = *v22 |
| 9415 |
if !easy && r.Intn(10) != 0 { |
| 9416 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9417 |
} |
| 9418 |
return this |
| 9419 |
} |
| 9420 |
|
| 9421 |
func NewPopulatedRepProtoTypes(r randyTypes, easy bool) *RepProtoTypes { |
| 9422 |
this := &RepProtoTypes{} |
| 9423 |
if r.Intn(5) != 0 { |
| 9424 |
v23 := r.Intn(5) |
| 9425 |
this.NullableTimestamps = make([]*types.Timestamp, v23) |
| 9426 |
for i := 0; i < v23; i++ { |
| 9427 |
this.NullableTimestamps[i] = types.NewPopulatedTimestamp(r, easy) |
| 9428 |
} |
| 9429 |
} |
| 9430 |
if r.Intn(5) != 0 { |
| 9431 |
v24 := r.Intn(5) |
| 9432 |
this.NullableDurations = make([]*types.Duration, v24) |
| 9433 |
for i := 0; i < v24; i++ { |
| 9434 |
this.NullableDurations[i] = types.NewPopulatedDuration(r, easy) |
| 9435 |
} |
| 9436 |
} |
| 9437 |
if r.Intn(5) != 0 { |
| 9438 |
v25 := r.Intn(5) |
| 9439 |
this.Timestamps = make([]types.Timestamp, v25) |
| 9440 |
for i := 0; i < v25; i++ { |
| 9441 |
v26 := types.NewPopulatedTimestamp(r, easy) |
| 9442 |
this.Timestamps[i] = *v26 |
| 9443 |
} |
| 9444 |
} |
| 9445 |
if r.Intn(5) != 0 { |
| 9446 |
v27 := r.Intn(5) |
| 9447 |
this.Durations = make([]types.Duration, v27) |
| 9448 |
for i := 0; i < v27; i++ { |
| 9449 |
v28 := types.NewPopulatedDuration(r, easy) |
| 9450 |
this.Durations[i] = *v28 |
| 9451 |
} |
| 9452 |
} |
| 9453 |
if r.Intn(5) != 0 { |
| 9454 |
v29 := r.Intn(5) |
| 9455 |
this.NullableDouble = make([]*types.DoubleValue, v29) |
| 9456 |
for i := 0; i < v29; i++ { |
| 9457 |
this.NullableDouble[i] = types.NewPopulatedDoubleValue(r, easy) |
| 9458 |
} |
| 9459 |
} |
| 9460 |
if r.Intn(5) != 0 { |
| 9461 |
v30 := r.Intn(5) |
| 9462 |
this.NonnullDouble = make([]types.DoubleValue, v30) |
| 9463 |
for i := 0; i < v30; i++ { |
| 9464 |
v31 := types.NewPopulatedDoubleValue(r, easy) |
| 9465 |
this.NonnullDouble[i] = *v31 |
| 9466 |
} |
| 9467 |
} |
| 9468 |
if r.Intn(5) != 0 { |
| 9469 |
v32 := r.Intn(5) |
| 9470 |
this.NullableFloat = make([]*types.FloatValue, v32) |
| 9471 |
for i := 0; i < v32; i++ { |
| 9472 |
this.NullableFloat[i] = types.NewPopulatedFloatValue(r, easy) |
| 9473 |
} |
| 9474 |
} |
| 9475 |
if r.Intn(5) != 0 { |
| 9476 |
v33 := r.Intn(5) |
| 9477 |
this.NonnullFloat = make([]types.FloatValue, v33) |
| 9478 |
for i := 0; i < v33; i++ { |
| 9479 |
v34 := types.NewPopulatedFloatValue(r, easy) |
| 9480 |
this.NonnullFloat[i] = *v34 |
| 9481 |
} |
| 9482 |
} |
| 9483 |
if r.Intn(5) != 0 { |
| 9484 |
v35 := r.Intn(5) |
| 9485 |
this.NullableInt64 = make([]*types.Int64Value, v35) |
| 9486 |
for i := 0; i < v35; i++ { |
| 9487 |
this.NullableInt64[i] = types.NewPopulatedInt64Value(r, easy) |
| 9488 |
} |
| 9489 |
} |
| 9490 |
if r.Intn(5) != 0 { |
| 9491 |
v36 := r.Intn(5) |
| 9492 |
this.NonnullInt64 = make([]types.Int64Value, v36) |
| 9493 |
for i := 0; i < v36; i++ { |
| 9494 |
v37 := types.NewPopulatedInt64Value(r, easy) |
| 9495 |
this.NonnullInt64[i] = *v37 |
| 9496 |
} |
| 9497 |
} |
| 9498 |
if r.Intn(5) != 0 { |
| 9499 |
v38 := r.Intn(5) |
| 9500 |
this.NullableUInt64 = make([]*types.UInt64Value, v38) |
| 9501 |
for i := 0; i < v38; i++ { |
| 9502 |
this.NullableUInt64[i] = types.NewPopulatedUInt64Value(r, easy) |
| 9503 |
} |
| 9504 |
} |
| 9505 |
if r.Intn(5) != 0 { |
| 9506 |
v39 := r.Intn(5) |
| 9507 |
this.NonnullUInt64 = make([]types.UInt64Value, v39) |
| 9508 |
for i := 0; i < v39; i++ { |
| 9509 |
v40 := types.NewPopulatedUInt64Value(r, easy) |
| 9510 |
this.NonnullUInt64[i] = *v40 |
| 9511 |
} |
| 9512 |
} |
| 9513 |
if r.Intn(5) != 0 { |
| 9514 |
v41 := r.Intn(5) |
| 9515 |
this.NullableInt32 = make([]*types.Int32Value, v41) |
| 9516 |
for i := 0; i < v41; i++ { |
| 9517 |
this.NullableInt32[i] = types.NewPopulatedInt32Value(r, easy) |
| 9518 |
} |
| 9519 |
} |
| 9520 |
if r.Intn(5) != 0 { |
| 9521 |
v42 := r.Intn(5) |
| 9522 |
this.NonnullInt32 = make([]types.Int32Value, v42) |
| 9523 |
for i := 0; i < v42; i++ { |
| 9524 |
v43 := types.NewPopulatedInt32Value(r, easy) |
| 9525 |
this.NonnullInt32[i] = *v43 |
| 9526 |
} |
| 9527 |
} |
| 9528 |
if r.Intn(5) != 0 { |
| 9529 |
v44 := r.Intn(5) |
| 9530 |
this.NullableUInt32 = make([]*types.UInt32Value, v44) |
| 9531 |
for i := 0; i < v44; i++ { |
| 9532 |
this.NullableUInt32[i] = types.NewPopulatedUInt32Value(r, easy) |
| 9533 |
} |
| 9534 |
} |
| 9535 |
if r.Intn(5) != 0 { |
| 9536 |
v45 := r.Intn(5) |
| 9537 |
this.NonnullUInt32 = make([]types.UInt32Value, v45) |
| 9538 |
for i := 0; i < v45; i++ { |
| 9539 |
v46 := types.NewPopulatedUInt32Value(r, easy) |
| 9540 |
this.NonnullUInt32[i] = *v46 |
| 9541 |
} |
| 9542 |
} |
| 9543 |
if r.Intn(5) != 0 { |
| 9544 |
v47 := r.Intn(5) |
| 9545 |
this.NullableBool = make([]*types.BoolValue, v47) |
| 9546 |
for i := 0; i < v47; i++ { |
| 9547 |
this.NullableBool[i] = types.NewPopulatedBoolValue(r, easy) |
| 9548 |
} |
| 9549 |
} |
| 9550 |
if r.Intn(5) != 0 { |
| 9551 |
v48 := r.Intn(5) |
| 9552 |
this.NonnullBool = make([]types.BoolValue, v48) |
| 9553 |
for i := 0; i < v48; i++ { |
| 9554 |
v49 := types.NewPopulatedBoolValue(r, easy) |
| 9555 |
this.NonnullBool[i] = *v49 |
| 9556 |
} |
| 9557 |
} |
| 9558 |
if r.Intn(5) != 0 { |
| 9559 |
v50 := r.Intn(5) |
| 9560 |
this.NullableString = make([]*types.StringValue, v50) |
| 9561 |
for i := 0; i < v50; i++ { |
| 9562 |
this.NullableString[i] = types.NewPopulatedStringValue(r, easy) |
| 9563 |
} |
| 9564 |
} |
| 9565 |
if r.Intn(5) != 0 { |
| 9566 |
v51 := r.Intn(5) |
| 9567 |
this.NonnullString = make([]types.StringValue, v51) |
| 9568 |
for i := 0; i < v51; i++ { |
| 9569 |
v52 := types.NewPopulatedStringValue(r, easy) |
| 9570 |
this.NonnullString[i] = *v52 |
| 9571 |
} |
| 9572 |
} |
| 9573 |
if r.Intn(5) != 0 { |
| 9574 |
v53 := r.Intn(5) |
| 9575 |
this.NullableBytes = make([]*types.BytesValue, v53) |
| 9576 |
for i := 0; i < v53; i++ { |
| 9577 |
this.NullableBytes[i] = types.NewPopulatedBytesValue(r, easy) |
| 9578 |
} |
| 9579 |
} |
| 9580 |
if r.Intn(5) != 0 { |
| 9581 |
v54 := r.Intn(5) |
| 9582 |
this.NonnullBytes = make([]types.BytesValue, v54) |
| 9583 |
for i := 0; i < v54; i++ { |
| 9584 |
v55 := types.NewPopulatedBytesValue(r, easy) |
| 9585 |
this.NonnullBytes[i] = *v55 |
| 9586 |
} |
| 9587 |
} |
| 9588 |
if !easy && r.Intn(10) != 0 { |
| 9589 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9590 |
} |
| 9591 |
return this |
| 9592 |
} |
| 9593 |
|
| 9594 |
func NewPopulatedRepStdTypes(r randyTypes, easy bool) *RepStdTypes { |
| 9595 |
this := &RepStdTypes{} |
| 9596 |
if r.Intn(5) != 0 { |
| 9597 |
v56 := r.Intn(5) |
| 9598 |
this.NullableTimestamps = make([]*time.Time, v56) |
| 9599 |
for i := 0; i < v56; i++ { |
| 9600 |
this.NullableTimestamps[i] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9601 |
} |
| 9602 |
} |
| 9603 |
if r.Intn(5) != 0 { |
| 9604 |
v57 := r.Intn(5) |
| 9605 |
this.NullableDurations = make([]*time.Duration, v57) |
| 9606 |
for i := 0; i < v57; i++ { |
| 9607 |
this.NullableDurations[i] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9608 |
} |
| 9609 |
} |
| 9610 |
if r.Intn(5) != 0 { |
| 9611 |
v58 := r.Intn(5) |
| 9612 |
this.Timestamps = make([]time.Time, v58) |
| 9613 |
for i := 0; i < v58; i++ { |
| 9614 |
v59 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9615 |
this.Timestamps[i] = *v59 |
| 9616 |
} |
| 9617 |
} |
| 9618 |
if r.Intn(5) != 0 { |
| 9619 |
v60 := r.Intn(5) |
| 9620 |
this.Durations = make([]time.Duration, v60) |
| 9621 |
for i := 0; i < v60; i++ { |
| 9622 |
v61 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9623 |
this.Durations[i] = *v61 |
| 9624 |
} |
| 9625 |
} |
| 9626 |
if r.Intn(5) != 0 { |
| 9627 |
v62 := r.Intn(5) |
| 9628 |
this.NullableDouble = make([]*float64, v62) |
| 9629 |
for i := 0; i < v62; i++ { |
| 9630 |
this.NullableDouble[i] = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 9631 |
} |
| 9632 |
} |
| 9633 |
if r.Intn(5) != 0 { |
| 9634 |
v63 := r.Intn(5) |
| 9635 |
this.NonnullDouble = make([]float64, v63) |
| 9636 |
for i := 0; i < v63; i++ { |
| 9637 |
v64 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 9638 |
this.NonnullDouble[i] = *v64 |
| 9639 |
} |
| 9640 |
} |
| 9641 |
if r.Intn(5) != 0 { |
| 9642 |
v65 := r.Intn(5) |
| 9643 |
this.NullableFloat = make([]*float32, v65) |
| 9644 |
for i := 0; i < v65; i++ { |
| 9645 |
this.NullableFloat[i] = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 9646 |
} |
| 9647 |
} |
| 9648 |
if r.Intn(5) != 0 { |
| 9649 |
v66 := r.Intn(5) |
| 9650 |
this.NonnullFloat = make([]float32, v66) |
| 9651 |
for i := 0; i < v66; i++ { |
| 9652 |
v67 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 9653 |
this.NonnullFloat[i] = *v67 |
| 9654 |
} |
| 9655 |
} |
| 9656 |
if r.Intn(5) != 0 { |
| 9657 |
v68 := r.Intn(5) |
| 9658 |
this.NullableInt64 = make([]*int64, v68) |
| 9659 |
for i := 0; i < v68; i++ { |
| 9660 |
this.NullableInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 9661 |
} |
| 9662 |
} |
| 9663 |
if r.Intn(5) != 0 { |
| 9664 |
v69 := r.Intn(5) |
| 9665 |
this.NonnullInt64 = make([]int64, v69) |
| 9666 |
for i := 0; i < v69; i++ { |
| 9667 |
v70 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 9668 |
this.NonnullInt64[i] = *v70 |
| 9669 |
} |
| 9670 |
} |
| 9671 |
if r.Intn(5) != 0 { |
| 9672 |
v71 := r.Intn(5) |
| 9673 |
this.NullableUInt64 = make([]*uint64, v71) |
| 9674 |
for i := 0; i < v71; i++ { |
| 9675 |
this.NullableUInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 9676 |
} |
| 9677 |
} |
| 9678 |
if r.Intn(5) != 0 { |
| 9679 |
v72 := r.Intn(5) |
| 9680 |
this.NonnullUInt64 = make([]uint64, v72) |
| 9681 |
for i := 0; i < v72; i++ { |
| 9682 |
v73 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 9683 |
this.NonnullUInt64[i] = *v73 |
| 9684 |
} |
| 9685 |
} |
| 9686 |
if r.Intn(5) != 0 { |
| 9687 |
v74 := r.Intn(5) |
| 9688 |
this.NullableInt32 = make([]*int32, v74) |
| 9689 |
for i := 0; i < v74; i++ { |
| 9690 |
this.NullableInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 9691 |
} |
| 9692 |
} |
| 9693 |
if r.Intn(5) != 0 { |
| 9694 |
v75 := r.Intn(5) |
| 9695 |
this.NonnullInt32 = make([]int32, v75) |
| 9696 |
for i := 0; i < v75; i++ { |
| 9697 |
v76 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 9698 |
this.NonnullInt32[i] = *v76 |
| 9699 |
} |
| 9700 |
} |
| 9701 |
if r.Intn(5) != 0 { |
| 9702 |
v77 := r.Intn(5) |
| 9703 |
this.NullableUInt32 = make([]*uint32, v77) |
| 9704 |
for i := 0; i < v77; i++ { |
| 9705 |
this.NullableUInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 9706 |
} |
| 9707 |
} |
| 9708 |
if r.Intn(5) != 0 { |
| 9709 |
v78 := r.Intn(5) |
| 9710 |
this.NonnullUInt32 = make([]uint32, v78) |
| 9711 |
for i := 0; i < v78; i++ { |
| 9712 |
v79 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 9713 |
this.NonnullUInt32[i] = *v79 |
| 9714 |
} |
| 9715 |
} |
| 9716 |
if r.Intn(5) != 0 { |
| 9717 |
v80 := r.Intn(5) |
| 9718 |
this.NullableBool = make([]*bool, v80) |
| 9719 |
for i := 0; i < v80; i++ { |
| 9720 |
this.NullableBool[i] = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 9721 |
} |
| 9722 |
} |
| 9723 |
if r.Intn(5) != 0 { |
| 9724 |
v81 := r.Intn(5) |
| 9725 |
this.NonnullBool = make([]bool, v81) |
| 9726 |
for i := 0; i < v81; i++ { |
| 9727 |
v82 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 9728 |
this.NonnullBool[i] = *v82 |
| 9729 |
} |
| 9730 |
} |
| 9731 |
if r.Intn(5) != 0 { |
| 9732 |
v83 := r.Intn(5) |
| 9733 |
this.NullableString = make([]*string, v83) |
| 9734 |
for i := 0; i < v83; i++ { |
| 9735 |
this.NullableString[i] = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 9736 |
} |
| 9737 |
} |
| 9738 |
if r.Intn(5) != 0 { |
| 9739 |
v84 := r.Intn(5) |
| 9740 |
this.NonnullString = make([]string, v84) |
| 9741 |
for i := 0; i < v84; i++ { |
| 9742 |
v85 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 9743 |
this.NonnullString[i] = *v85 |
| 9744 |
} |
| 9745 |
} |
| 9746 |
if r.Intn(5) != 0 { |
| 9747 |
v86 := r.Intn(5) |
| 9748 |
this.NullableBytes = make([]*[]byte, v86) |
| 9749 |
for i := 0; i < v86; i++ { |
| 9750 |
this.NullableBytes[i] = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 9751 |
} |
| 9752 |
} |
| 9753 |
if r.Intn(5) != 0 { |
| 9754 |
v87 := r.Intn(5) |
| 9755 |
this.NonnullBytes = make([][]byte, v87) |
| 9756 |
for i := 0; i < v87; i++ { |
| 9757 |
v88 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 9758 |
this.NonnullBytes[i] = *v88 |
| 9759 |
} |
| 9760 |
} |
| 9761 |
if !easy && r.Intn(10) != 0 { |
| 9762 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9763 |
} |
| 9764 |
return this |
| 9765 |
} |
| 9766 |
|
| 9767 |
func NewPopulatedMapProtoTypes(r randyTypes, easy bool) *MapProtoTypes { |
| 9768 |
this := &MapProtoTypes{} |
| 9769 |
if r.Intn(5) != 0 { |
| 9770 |
v89 := r.Intn(10) |
| 9771 |
this.NullableTimestamp = make(map[int32]*types.Timestamp) |
| 9772 |
for i := 0; i < v89; i++ { |
| 9773 |
this.NullableTimestamp[int32(r.Int31())] = types.NewPopulatedTimestamp(r, easy) |
| 9774 |
} |
| 9775 |
} |
| 9776 |
if r.Intn(5) != 0 { |
| 9777 |
v90 := r.Intn(10) |
| 9778 |
this.Timestamp = make(map[int32]types.Timestamp) |
| 9779 |
for i := 0; i < v90; i++ { |
| 9780 |
this.Timestamp[int32(r.Int31())] = *types.NewPopulatedTimestamp(r, easy) |
| 9781 |
} |
| 9782 |
} |
| 9783 |
if r.Intn(5) != 0 { |
| 9784 |
v91 := r.Intn(10) |
| 9785 |
this.NullableDuration = make(map[int32]*types.Duration) |
| 9786 |
for i := 0; i < v91; i++ { |
| 9787 |
this.NullableDuration[int32(r.Int31())] = types.NewPopulatedDuration(r, easy) |
| 9788 |
} |
| 9789 |
} |
| 9790 |
if r.Intn(5) != 0 { |
| 9791 |
v92 := r.Intn(10) |
| 9792 |
this.Duration = make(map[int32]types.Duration) |
| 9793 |
for i := 0; i < v92; i++ { |
| 9794 |
this.Duration[int32(r.Int31())] = *types.NewPopulatedDuration(r, easy) |
| 9795 |
} |
| 9796 |
} |
| 9797 |
if r.Intn(5) != 0 { |
| 9798 |
v93 := r.Intn(10) |
| 9799 |
this.NullableDouble = make(map[int32]*types.DoubleValue) |
| 9800 |
for i := 0; i < v93; i++ { |
| 9801 |
this.NullableDouble[int32(r.Int31())] = types.NewPopulatedDoubleValue(r, easy) |
| 9802 |
} |
| 9803 |
} |
| 9804 |
if r.Intn(5) != 0 { |
| 9805 |
v94 := r.Intn(10) |
| 9806 |
this.NonnullDouble = make(map[int32]types.DoubleValue) |
| 9807 |
for i := 0; i < v94; i++ { |
| 9808 |
this.NonnullDouble[int32(r.Int31())] = *types.NewPopulatedDoubleValue(r, easy) |
| 9809 |
} |
| 9810 |
} |
| 9811 |
if r.Intn(5) != 0 { |
| 9812 |
v95 := r.Intn(10) |
| 9813 |
this.NullableFloat = make(map[int32]*types.FloatValue) |
| 9814 |
for i := 0; i < v95; i++ { |
| 9815 |
this.NullableFloat[int32(r.Int31())] = types.NewPopulatedFloatValue(r, easy) |
| 9816 |
} |
| 9817 |
} |
| 9818 |
if r.Intn(5) != 0 { |
| 9819 |
v96 := r.Intn(10) |
| 9820 |
this.NonnullFloat = make(map[int32]types.FloatValue) |
| 9821 |
for i := 0; i < v96; i++ { |
| 9822 |
this.NonnullFloat[int32(r.Int31())] = *types.NewPopulatedFloatValue(r, easy) |
| 9823 |
} |
| 9824 |
} |
| 9825 |
if r.Intn(5) != 0 { |
| 9826 |
v97 := r.Intn(10) |
| 9827 |
this.NullableInt64 = make(map[int32]*types.Int64Value) |
| 9828 |
for i := 0; i < v97; i++ { |
| 9829 |
this.NullableInt64[int32(r.Int31())] = types.NewPopulatedInt64Value(r, easy) |
| 9830 |
} |
| 9831 |
} |
| 9832 |
if r.Intn(5) != 0 { |
| 9833 |
v98 := r.Intn(10) |
| 9834 |
this.NonnullInt64 = make(map[int32]types.Int64Value) |
| 9835 |
for i := 0; i < v98; i++ { |
| 9836 |
this.NonnullInt64[int32(r.Int31())] = *types.NewPopulatedInt64Value(r, easy) |
| 9837 |
} |
| 9838 |
} |
| 9839 |
if r.Intn(5) != 0 { |
| 9840 |
v99 := r.Intn(10) |
| 9841 |
this.NullableUInt64 = make(map[int32]*types.UInt64Value) |
| 9842 |
for i := 0; i < v99; i++ { |
| 9843 |
this.NullableUInt64[int32(r.Int31())] = types.NewPopulatedUInt64Value(r, easy) |
| 9844 |
} |
| 9845 |
} |
| 9846 |
if r.Intn(5) != 0 { |
| 9847 |
v100 := r.Intn(10) |
| 9848 |
this.NonnullUInt64 = make(map[int32]types.UInt64Value) |
| 9849 |
for i := 0; i < v100; i++ { |
| 9850 |
this.NonnullUInt64[int32(r.Int31())] = *types.NewPopulatedUInt64Value(r, easy) |
| 9851 |
} |
| 9852 |
} |
| 9853 |
if r.Intn(5) != 0 { |
| 9854 |
v101 := r.Intn(10) |
| 9855 |
this.NullableInt32 = make(map[int32]*types.Int32Value) |
| 9856 |
for i := 0; i < v101; i++ { |
| 9857 |
this.NullableInt32[int32(r.Int31())] = types.NewPopulatedInt32Value(r, easy) |
| 9858 |
} |
| 9859 |
} |
| 9860 |
if r.Intn(5) != 0 { |
| 9861 |
v102 := r.Intn(10) |
| 9862 |
this.NonnullInt32 = make(map[int32]types.Int32Value) |
| 9863 |
for i := 0; i < v102; i++ { |
| 9864 |
this.NonnullInt32[int32(r.Int31())] = *types.NewPopulatedInt32Value(r, easy) |
| 9865 |
} |
| 9866 |
} |
| 9867 |
if r.Intn(5) != 0 { |
| 9868 |
v103 := r.Intn(10) |
| 9869 |
this.NullableUInt32 = make(map[int32]*types.UInt32Value) |
| 9870 |
for i := 0; i < v103; i++ { |
| 9871 |
this.NullableUInt32[int32(r.Int31())] = types.NewPopulatedUInt32Value(r, easy) |
| 9872 |
} |
| 9873 |
} |
| 9874 |
if r.Intn(5) != 0 { |
| 9875 |
v104 := r.Intn(10) |
| 9876 |
this.NonnullUInt32 = make(map[int32]types.UInt32Value) |
| 9877 |
for i := 0; i < v104; i++ { |
| 9878 |
this.NonnullUInt32[int32(r.Int31())] = *types.NewPopulatedUInt32Value(r, easy) |
| 9879 |
} |
| 9880 |
} |
| 9881 |
if r.Intn(5) != 0 { |
| 9882 |
v105 := r.Intn(10) |
| 9883 |
this.NullableBool = make(map[int32]*types.BoolValue) |
| 9884 |
for i := 0; i < v105; i++ { |
| 9885 |
this.NullableBool[int32(r.Int31())] = types.NewPopulatedBoolValue(r, easy) |
| 9886 |
} |
| 9887 |
} |
| 9888 |
if r.Intn(5) != 0 { |
| 9889 |
v106 := r.Intn(10) |
| 9890 |
this.NonnullBool = make(map[int32]types.BoolValue) |
| 9891 |
for i := 0; i < v106; i++ { |
| 9892 |
this.NonnullBool[int32(r.Int31())] = *types.NewPopulatedBoolValue(r, easy) |
| 9893 |
} |
| 9894 |
} |
| 9895 |
if r.Intn(5) != 0 { |
| 9896 |
v107 := r.Intn(10) |
| 9897 |
this.NullableString = make(map[int32]*types.StringValue) |
| 9898 |
for i := 0; i < v107; i++ { |
| 9899 |
this.NullableString[int32(r.Int31())] = types.NewPopulatedStringValue(r, easy) |
| 9900 |
} |
| 9901 |
} |
| 9902 |
if r.Intn(5) != 0 { |
| 9903 |
v108 := r.Intn(10) |
| 9904 |
this.NonnullString = make(map[int32]types.StringValue) |
| 9905 |
for i := 0; i < v108; i++ { |
| 9906 |
this.NonnullString[int32(r.Int31())] = *types.NewPopulatedStringValue(r, easy) |
| 9907 |
} |
| 9908 |
} |
| 9909 |
if r.Intn(5) != 0 { |
| 9910 |
v109 := r.Intn(10) |
| 9911 |
this.NullableBytes = make(map[int32]*types.BytesValue) |
| 9912 |
for i := 0; i < v109; i++ { |
| 9913 |
this.NullableBytes[int32(r.Int31())] = types.NewPopulatedBytesValue(r, easy) |
| 9914 |
} |
| 9915 |
} |
| 9916 |
if r.Intn(5) != 0 { |
| 9917 |
v110 := r.Intn(10) |
| 9918 |
this.NonnullBytes = make(map[int32]types.BytesValue) |
| 9919 |
for i := 0; i < v110; i++ { |
| 9920 |
this.NonnullBytes[int32(r.Int31())] = *types.NewPopulatedBytesValue(r, easy) |
| 9921 |
} |
| 9922 |
} |
| 9923 |
if !easy && r.Intn(10) != 0 { |
| 9924 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9925 |
} |
| 9926 |
return this |
| 9927 |
} |
| 9928 |
|
| 9929 |
func NewPopulatedMapStdTypes(r randyTypes, easy bool) *MapStdTypes { |
| 9930 |
this := &MapStdTypes{} |
| 9931 |
if r.Intn(5) != 0 { |
| 9932 |
v111 := r.Intn(10) |
| 9933 |
this.NullableTimestamp = make(map[int32]*time.Time) |
| 9934 |
for i := 0; i < v111; i++ { |
| 9935 |
this.NullableTimestamp[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9936 |
} |
| 9937 |
} |
| 9938 |
if r.Intn(5) != 0 { |
| 9939 |
v112 := r.Intn(10) |
| 9940 |
this.Timestamp = make(map[int32]time.Time) |
| 9941 |
for i := 0; i < v112; i++ { |
| 9942 |
this.Timestamp[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9943 |
} |
| 9944 |
} |
| 9945 |
if r.Intn(5) != 0 { |
| 9946 |
v113 := r.Intn(10) |
| 9947 |
this.NullableDuration = make(map[int32]*time.Duration) |
| 9948 |
for i := 0; i < v113; i++ { |
| 9949 |
this.NullableDuration[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9950 |
} |
| 9951 |
} |
| 9952 |
if r.Intn(5) != 0 { |
| 9953 |
v114 := r.Intn(10) |
| 9954 |
this.Duration = make(map[int32]time.Duration) |
| 9955 |
for i := 0; i < v114; i++ { |
| 9956 |
this.Duration[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9957 |
} |
| 9958 |
} |
| 9959 |
if r.Intn(5) != 0 { |
| 9960 |
v115 := r.Intn(10) |
| 9961 |
this.NullableDouble = make(map[int32]*float64) |
| 9962 |
for i := 0; i < v115; i++ { |
| 9963 |
this.NullableDouble[int32(r.Int31())] = (*float64)(github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) |
| 9964 |
} |
| 9965 |
} |
| 9966 |
if r.Intn(5) != 0 { |
| 9967 |
v116 := r.Intn(10) |
| 9968 |
this.NonnullDouble = make(map[int32]float64) |
| 9969 |
for i := 0; i < v116; i++ { |
| 9970 |
this.NonnullDouble[int32(r.Int31())] = (float64)(*github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) |
| 9971 |
} |
| 9972 |
} |
| 9973 |
if r.Intn(5) != 0 { |
| 9974 |
v117 := r.Intn(10) |
| 9975 |
this.NullableFloat = make(map[int32]*float32) |
| 9976 |
for i := 0; i < v117; i++ { |
| 9977 |
this.NullableFloat[int32(r.Int31())] = (*float32)(github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) |
| 9978 |
} |
| 9979 |
} |
| 9980 |
if r.Intn(5) != 0 { |
| 9981 |
v118 := r.Intn(10) |
| 9982 |
this.NonnullFloat = make(map[int32]float32) |
| 9983 |
for i := 0; i < v118; i++ { |
| 9984 |
this.NonnullFloat[int32(r.Int31())] = (float32)(*github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) |
| 9985 |
} |
| 9986 |
} |
| 9987 |
if r.Intn(5) != 0 { |
| 9988 |
v119 := r.Intn(10) |
| 9989 |
this.NullableInt64 = make(map[int32]*int64) |
| 9990 |
for i := 0; i < v119; i++ { |
| 9991 |
this.NullableInt64[int32(r.Int31())] = (*int64)(github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) |
| 9992 |
} |
| 9993 |
} |
| 9994 |
if r.Intn(5) != 0 { |
| 9995 |
v120 := r.Intn(10) |
| 9996 |
this.NonnullInt64 = make(map[int32]int64) |
| 9997 |
for i := 0; i < v120; i++ { |
| 9998 |
this.NonnullInt64[int32(r.Int31())] = (int64)(*github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) |
| 9999 |
} |
| 10000 |
} |
| 10001 |
if r.Intn(5) != 0 { |
| 10002 |
v121 := r.Intn(10) |
| 10003 |
this.NullableUInt64 = make(map[int32]*uint64) |
| 10004 |
for i := 0; i < v121; i++ { |
| 10005 |
this.NullableUInt64[int32(r.Int31())] = (*uint64)(github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) |
| 10006 |
} |
| 10007 |
} |
| 10008 |
if r.Intn(5) != 0 { |
| 10009 |
v122 := r.Intn(10) |
| 10010 |
this.NonnullUInt64 = make(map[int32]uint64) |
| 10011 |
for i := 0; i < v122; i++ { |
| 10012 |
this.NonnullUInt64[int32(r.Int31())] = (uint64)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) |
| 10013 |
} |
| 10014 |
} |
| 10015 |
if r.Intn(5) != 0 { |
| 10016 |
v123 := r.Intn(10) |
| 10017 |
this.NullableInt32 = make(map[int32]*int32) |
| 10018 |
for i := 0; i < v123; i++ { |
| 10019 |
this.NullableInt32[int32(r.Int31())] = (*int32)(github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) |
| 10020 |
} |
| 10021 |
} |
| 10022 |
if r.Intn(5) != 0 { |
| 10023 |
v124 := r.Intn(10) |
| 10024 |
this.NonnullInt32 = make(map[int32]int32) |
| 10025 |
for i := 0; i < v124; i++ { |
| 10026 |
this.NonnullInt32[int32(r.Int31())] = (int32)(*github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) |
| 10027 |
} |
| 10028 |
} |
| 10029 |
if r.Intn(5) != 0 { |
| 10030 |
v125 := r.Intn(10) |
| 10031 |
this.NullableUInt32 = make(map[int32]*uint32) |
| 10032 |
for i := 0; i < v125; i++ { |
| 10033 |
this.NullableUInt32[int32(r.Int31())] = (*uint32)(github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) |
| 10034 |
} |
| 10035 |
} |
| 10036 |
if r.Intn(5) != 0 { |
| 10037 |
v126 := r.Intn(10) |
| 10038 |
this.NonnullUInt32 = make(map[int32]uint32) |
| 10039 |
for i := 0; i < v126; i++ { |
| 10040 |
this.NonnullUInt32[int32(r.Int31())] = (uint32)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) |
| 10041 |
} |
| 10042 |
} |
| 10043 |
if r.Intn(5) != 0 { |
| 10044 |
v127 := r.Intn(10) |
| 10045 |
this.NullableBool = make(map[int32]*bool) |
| 10046 |
for i := 0; i < v127; i++ { |
| 10047 |
this.NullableBool[int32(r.Int31())] = (*bool)(github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) |
| 10048 |
} |
| 10049 |
} |
| 10050 |
if r.Intn(5) != 0 { |
| 10051 |
v128 := r.Intn(10) |
| 10052 |
this.NonnullBool = make(map[int32]bool) |
| 10053 |
for i := 0; i < v128; i++ { |
| 10054 |
this.NonnullBool[int32(r.Int31())] = (bool)(*github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) |
| 10055 |
} |
| 10056 |
} |
| 10057 |
if r.Intn(5) != 0 { |
| 10058 |
v129 := r.Intn(10) |
| 10059 |
this.NullableString = make(map[int32]*string) |
| 10060 |
for i := 0; i < v129; i++ { |
| 10061 |
this.NullableString[int32(r.Int31())] = (*string)(github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) |
| 10062 |
} |
| 10063 |
} |
| 10064 |
if r.Intn(5) != 0 { |
| 10065 |
v130 := r.Intn(10) |
| 10066 |
this.NonnullString = make(map[int32]string) |
| 10067 |
for i := 0; i < v130; i++ { |
| 10068 |
this.NonnullString[int32(r.Int31())] = (string)(*github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) |
| 10069 |
} |
| 10070 |
} |
| 10071 |
if r.Intn(5) != 0 { |
| 10072 |
v131 := r.Intn(10) |
| 10073 |
this.NullableBytes = make(map[int32]*[]byte) |
| 10074 |
for i := 0; i < v131; i++ { |
| 10075 |
this.NullableBytes[int32(r.Int31())] = (*[]byte)(github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) |
| 10076 |
} |
| 10077 |
} |
| 10078 |
if r.Intn(5) != 0 { |
| 10079 |
v132 := r.Intn(10) |
| 10080 |
this.NonnullBytes = make(map[int32][]byte) |
| 10081 |
for i := 0; i < v132; i++ { |
| 10082 |
this.NonnullBytes[int32(r.Int31())] = ([]byte)(*github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) |
| 10083 |
} |
| 10084 |
} |
| 10085 |
if !easy && r.Intn(10) != 0 { |
| 10086 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 10087 |
} |
| 10088 |
return this |
| 10089 |
} |
| 10090 |
|
| 10091 |
func NewPopulatedOneofProtoTypes(r randyTypes, easy bool) *OneofProtoTypes { |
| 10092 |
this := &OneofProtoTypes{} |
| 10093 |
oneofNumber_OneOfProtoTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] |
| 10094 |
switch oneofNumber_OneOfProtoTimes { |
| 10095 |
case 1: |
| 10096 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Timestamp(r, easy) |
| 10097 |
case 2: |
| 10098 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Duration(r, easy) |
| 10099 |
case 3: |
| 10100 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepDouble(r, easy) |
| 10101 |
case 4: |
| 10102 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepFloat(r, easy) |
| 10103 |
case 5: |
| 10104 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt64(r, easy) |
| 10105 |
case 6: |
| 10106 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt64(r, easy) |
| 10107 |
case 7: |
| 10108 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt32(r, easy) |
| 10109 |
case 8: |
| 10110 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt32(r, easy) |
| 10111 |
case 9: |
| 10112 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBool(r, easy) |
| 10113 |
case 10: |
| 10114 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepString(r, easy) |
| 10115 |
case 11: |
| 10116 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBytes(r, easy) |
| 10117 |
} |
| 10118 |
if !easy && r.Intn(10) != 0 { |
| 10119 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 12) |
| 10120 |
} |
| 10121 |
return this |
| 10122 |
} |
| 10123 |
|
| 10124 |
func NewPopulatedOneofProtoTypes_Timestamp(r randyTypes, easy bool) *OneofProtoTypes_Timestamp { |
| 10125 |
this := &OneofProtoTypes_Timestamp{} |
| 10126 |
this.Timestamp = types.NewPopulatedTimestamp(r, easy) |
| 10127 |
return this |
| 10128 |
} |
| 10129 |
func NewPopulatedOneofProtoTypes_Duration(r randyTypes, easy bool) *OneofProtoTypes_Duration { |
| 10130 |
this := &OneofProtoTypes_Duration{} |
| 10131 |
this.Duration = types.NewPopulatedDuration(r, easy) |
| 10132 |
return this |
| 10133 |
} |
| 10134 |
func NewPopulatedOneofProtoTypes_RepDouble(r randyTypes, easy bool) *OneofProtoTypes_RepDouble { |
| 10135 |
this := &OneofProtoTypes_RepDouble{} |
| 10136 |
this.RepDouble = types.NewPopulatedDoubleValue(r, easy) |
| 10137 |
return this |
| 10138 |
} |
| 10139 |
func NewPopulatedOneofProtoTypes_RepFloat(r randyTypes, easy bool) *OneofProtoTypes_RepFloat { |
| 10140 |
this := &OneofProtoTypes_RepFloat{} |
| 10141 |
this.RepFloat = types.NewPopulatedFloatValue(r, easy) |
| 10142 |
return this |
| 10143 |
} |
| 10144 |
func NewPopulatedOneofProtoTypes_RepInt64(r randyTypes, easy bool) *OneofProtoTypes_RepInt64 { |
| 10145 |
this := &OneofProtoTypes_RepInt64{} |
| 10146 |
this.RepInt64 = types.NewPopulatedInt64Value(r, easy) |
| 10147 |
return this |
| 10148 |
} |
| 10149 |
func NewPopulatedOneofProtoTypes_RepUInt64(r randyTypes, easy bool) *OneofProtoTypes_RepUInt64 { |
| 10150 |
this := &OneofProtoTypes_RepUInt64{} |
| 10151 |
this.RepUInt64 = types.NewPopulatedUInt64Value(r, easy) |
| 10152 |
return this |
| 10153 |
} |
| 10154 |
func NewPopulatedOneofProtoTypes_RepInt32(r randyTypes, easy bool) *OneofProtoTypes_RepInt32 { |
| 10155 |
this := &OneofProtoTypes_RepInt32{} |
| 10156 |
this.RepInt32 = types.NewPopulatedInt32Value(r, easy) |
| 10157 |
return this |
| 10158 |
} |
| 10159 |
func NewPopulatedOneofProtoTypes_RepUInt32(r randyTypes, easy bool) *OneofProtoTypes_RepUInt32 { |
| 10160 |
this := &OneofProtoTypes_RepUInt32{} |
| 10161 |
this.RepUInt32 = types.NewPopulatedUInt32Value(r, easy) |
| 10162 |
return this |
| 10163 |
} |
| 10164 |
func NewPopulatedOneofProtoTypes_RepBool(r randyTypes, easy bool) *OneofProtoTypes_RepBool { |
| 10165 |
this := &OneofProtoTypes_RepBool{} |
| 10166 |
this.RepBool = types.NewPopulatedBoolValue(r, easy) |
| 10167 |
return this |
| 10168 |
} |
| 10169 |
func NewPopulatedOneofProtoTypes_RepString(r randyTypes, easy bool) *OneofProtoTypes_RepString { |
| 10170 |
this := &OneofProtoTypes_RepString{} |
| 10171 |
this.RepString = types.NewPopulatedStringValue(r, easy) |
| 10172 |
return this |
| 10173 |
} |
| 10174 |
func NewPopulatedOneofProtoTypes_RepBytes(r randyTypes, easy bool) *OneofProtoTypes_RepBytes { |
| 10175 |
this := &OneofProtoTypes_RepBytes{} |
| 10176 |
this.RepBytes = types.NewPopulatedBytesValue(r, easy) |
| 10177 |
return this |
| 10178 |
} |
| 10179 |
func NewPopulatedOneofStdTypes(r randyTypes, easy bool) *OneofStdTypes { |
| 10180 |
this := &OneofStdTypes{} |
| 10181 |
oneofNumber_OneOfStdTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] |
| 10182 |
switch oneofNumber_OneOfStdTimes { |
| 10183 |
case 1: |
| 10184 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_Timestamp(r, easy) |
| 10185 |
case 2: |
| 10186 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_Duration(r, easy) |
| 10187 |
case 3: |
| 10188 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepDouble(r, easy) |
| 10189 |
case 4: |
| 10190 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepFloat(r, easy) |
| 10191 |
case 5: |
| 10192 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt64(r, easy) |
| 10193 |
case 6: |
| 10194 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt64(r, easy) |
| 10195 |
case 7: |
| 10196 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt32(r, easy) |
| 10197 |
case 8: |
| 10198 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt32(r, easy) |
| 10199 |
case 9: |
| 10200 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBool(r, easy) |
| 10201 |
case 10: |
| 10202 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepString(r, easy) |
| 10203 |
case 11: |
| 10204 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBytes(r, easy) |
| 10205 |
} |
| 10206 |
if !easy && r.Intn(10) != 0 { |
| 10207 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 12) |
| 10208 |
} |
| 10209 |
return this |
| 10210 |
} |
| 10211 |
|
| 10212 |
func NewPopulatedOneofStdTypes_Timestamp(r randyTypes, easy bool) *OneofStdTypes_Timestamp { |
| 10213 |
this := &OneofStdTypes_Timestamp{} |
| 10214 |
this.Timestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 10215 |
return this |
| 10216 |
} |
| 10217 |
func NewPopulatedOneofStdTypes_Duration(r randyTypes, easy bool) *OneofStdTypes_Duration { |
| 10218 |
this := &OneofStdTypes_Duration{} |
| 10219 |
this.Duration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 10220 |
return this |
| 10221 |
} |
| 10222 |
func NewPopulatedOneofStdTypes_RepDouble(r randyTypes, easy bool) *OneofStdTypes_RepDouble { |
| 10223 |
this := &OneofStdTypes_RepDouble{} |
| 10224 |
this.RepDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 10225 |
return this |
| 10226 |
} |
| 10227 |
func NewPopulatedOneofStdTypes_RepFloat(r randyTypes, easy bool) *OneofStdTypes_RepFloat { |
| 10228 |
this := &OneofStdTypes_RepFloat{} |
| 10229 |
this.RepFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 10230 |
return this |
| 10231 |
} |
| 10232 |
func NewPopulatedOneofStdTypes_RepInt64(r randyTypes, easy bool) *OneofStdTypes_RepInt64 { |
| 10233 |
this := &OneofStdTypes_RepInt64{} |
| 10234 |
this.RepInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 10235 |
return this |
| 10236 |
} |
| 10237 |
func NewPopulatedOneofStdTypes_RepUInt64(r randyTypes, easy bool) *OneofStdTypes_RepUInt64 { |
| 10238 |
this := &OneofStdTypes_RepUInt64{} |
| 10239 |
this.RepUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 10240 |
return this |
| 10241 |
} |
| 10242 |
func NewPopulatedOneofStdTypes_RepInt32(r randyTypes, easy bool) *OneofStdTypes_RepInt32 { |
| 10243 |
this := &OneofStdTypes_RepInt32{} |
| 10244 |
this.RepInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 10245 |
return this |
| 10246 |
} |
| 10247 |
func NewPopulatedOneofStdTypes_RepUInt32(r randyTypes, easy bool) *OneofStdTypes_RepUInt32 { |
| 10248 |
this := &OneofStdTypes_RepUInt32{} |
| 10249 |
this.RepUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 10250 |
return this |
| 10251 |
} |
| 10252 |
func NewPopulatedOneofStdTypes_RepBool(r randyTypes, easy bool) *OneofStdTypes_RepBool { |
| 10253 |
this := &OneofStdTypes_RepBool{} |
| 10254 |
this.RepBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 10255 |
return this |
| 10256 |
} |
| 10257 |
func NewPopulatedOneofStdTypes_RepString(r randyTypes, easy bool) *OneofStdTypes_RepString { |
| 10258 |
this := &OneofStdTypes_RepString{} |
| 10259 |
this.RepString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 10260 |
return this |
| 10261 |
} |
| 10262 |
func NewPopulatedOneofStdTypes_RepBytes(r randyTypes, easy bool) *OneofStdTypes_RepBytes { |
| 10263 |
this := &OneofStdTypes_RepBytes{} |
| 10264 |
this.RepBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 10265 |
return this |
| 10266 |
} |
| 10267 |
|
| 10268 |
type randyTypes interface { |
| 10269 |
Float32() float32 |
| 10270 |
Float64() float64 |
| 10271 |
Int63() int64 |
| 10272 |
Int31() int32 |
| 10273 |
Uint32() uint32 |
| 10274 |
Intn(n int) int |
| 10275 |
} |
| 10276 |
|
| 10277 |
func randUTF8RuneTypes(r randyTypes) rune { |
| 10278 |
ru := r.Intn(62) |
| 10279 |
if ru < 10 { |
| 10280 |
return rune(ru + 48) |
| 10281 |
} else if ru < 36 { |
| 10282 |
return rune(ru + 55) |
| 10283 |
} |
| 10284 |
return rune(ru + 61) |
| 10285 |
} |
| 10286 |
func randStringTypes(r randyTypes) string { |
| 10287 |
v133 := r.Intn(100) |
| 10288 |
tmps := make([]rune, v133) |
| 10289 |
for i := 0; i < v133; i++ { |
| 10290 |
tmps[i] = randUTF8RuneTypes(r) |
| 10291 |
} |
| 10292 |
return string(tmps) |
| 10293 |
} |
| 10294 |
func randUnrecognizedTypes(r randyTypes, maxFieldNumber int) (dAtA []byte) { |
| 10295 |
l := r.Intn(5) |
| 10296 |
for i := 0; i < l; i++ { |
| 10297 |
wire := r.Intn(4) |
| 10298 |
if wire == 3 { |
| 10299 |
wire = 5 |
| 10300 |
} |
| 10301 |
fieldNumber := maxFieldNumber + r.Intn(100) |
| 10302 |
dAtA = randFieldTypes(dAtA, r, fieldNumber, wire) |
| 10303 |
} |
| 10304 |
return dAtA |
| 10305 |
} |
| 10306 |
func randFieldTypes(dAtA []byte, r randyTypes, fieldNumber int, wire int) []byte { |
| 10307 |
key := uint32(fieldNumber)<<3 | uint32(wire) |
| 10308 |
switch wire { |
| 10309 |
case 0: |
| 10310 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) |
| 10311 |
v134 := r.Int63() |
| 10312 |
if r.Intn(2) == 0 { |
| 10313 |
v134 *= -1 |
| 10314 |
} |
| 10315 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(v134)) |
| 10316 |
case 1: |
| 10317 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) |
| 10318 |
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))) |
| 10319 |
case 2: |
| 10320 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) |
| 10321 |
ll := r.Intn(100) |
| 10322 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(ll)) |
| 10323 |
for j := 0; j < ll; j++ { |
| 10324 |
dAtA = append(dAtA, byte(r.Intn(256))) |
| 10325 |
} |
| 10326 |
default: |
| 10327 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) |
| 10328 |
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) |
| 10329 |
} |
| 10330 |
return dAtA |
| 10331 |
} |
| 10332 |
func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte { |
| 10333 |
for v >= 1<<7 { |
| 10334 |
dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) |
| 10335 |
v >>= 7 |
| 10336 |
} |
| 10337 |
dAtA = append(dAtA, uint8(v)) |
| 10338 |
return dAtA |
| 10339 |
} |
| 10340 |
func (m *KnownTypes) Size() (n int) { |
| 10341 |
if m == nil { |
| 10342 |
return 0 |
| 10343 |
} |
| 10344 |
var l int |
| 10345 |
_ = l |
| 10346 |
if m.Dur != nil { |
| 10347 |
l = m.Dur.Size() |
| 10348 |
n += 1 + l + sovTypes(uint64(l)) |
| 10349 |
} |
| 10350 |
if m.Ts != nil { |
| 10351 |
l = m.Ts.Size() |
| 10352 |
n += 1 + l + sovTypes(uint64(l)) |
| 10353 |
} |
| 10354 |
if m.Dbl != nil { |
| 10355 |
l = m.Dbl.Size() |
| 10356 |
n += 1 + l + sovTypes(uint64(l)) |
| 10357 |
} |
| 10358 |
if m.Flt != nil { |
| 10359 |
l = m.Flt.Size() |
| 10360 |
n += 1 + l + sovTypes(uint64(l)) |
| 10361 |
} |
| 10362 |
if m.I64 != nil { |
| 10363 |
l = m.I64.Size() |
| 10364 |
n += 1 + l + sovTypes(uint64(l)) |
| 10365 |
} |
| 10366 |
if m.U64 != nil { |
| 10367 |
l = m.U64.Size() |
| 10368 |
n += 1 + l + sovTypes(uint64(l)) |
| 10369 |
} |
| 10370 |
if m.I32 != nil { |
| 10371 |
l = m.I32.Size() |
| 10372 |
n += 1 + l + sovTypes(uint64(l)) |
| 10373 |
} |
| 10374 |
if m.U32 != nil { |
| 10375 |
l = m.U32.Size() |
| 10376 |
n += 1 + l + sovTypes(uint64(l)) |
| 10377 |
} |
| 10378 |
if m.Bool != nil { |
| 10379 |
l = m.Bool.Size() |
| 10380 |
n += 1 + l + sovTypes(uint64(l)) |
| 10381 |
} |
| 10382 |
if m.Str != nil { |
| 10383 |
l = m.Str.Size() |
| 10384 |
n += 1 + l + sovTypes(uint64(l)) |
| 10385 |
} |
| 10386 |
if m.Bytes != nil { |
| 10387 |
l = m.Bytes.Size() |
| 10388 |
n += 1 + l + sovTypes(uint64(l)) |
| 10389 |
} |
| 10390 |
if m.St != nil { |
| 10391 |
l = m.St.Size() |
| 10392 |
n += 1 + l + sovTypes(uint64(l)) |
| 10393 |
} |
| 10394 |
if m.XXX_unrecognized != nil { |
| 10395 |
n += len(m.XXX_unrecognized) |
| 10396 |
} |
| 10397 |
return n |
| 10398 |
} |
| 10399 |
|
| 10400 |
func (m *ProtoTypes) Size() (n int) { |
| 10401 |
if m == nil { |
| 10402 |
return 0 |
| 10403 |
} |
| 10404 |
var l int |
| 10405 |
_ = l |
| 10406 |
if m.NullableTimestamp != nil { |
| 10407 |
l = m.NullableTimestamp.Size() |
| 10408 |
n += 1 + l + sovTypes(uint64(l)) |
| 10409 |
} |
| 10410 |
if m.NullableDuration != nil { |
| 10411 |
l = m.NullableDuration.Size() |
| 10412 |
n += 1 + l + sovTypes(uint64(l)) |
| 10413 |
} |
| 10414 |
if m.NullableDouble != nil { |
| 10415 |
l = m.NullableDouble.Size() |
| 10416 |
n += 1 + l + sovTypes(uint64(l)) |
| 10417 |
} |
| 10418 |
if m.NullableFloat != nil { |
| 10419 |
l = m.NullableFloat.Size() |
| 10420 |
n += 1 + l + sovTypes(uint64(l)) |
| 10421 |
} |
| 10422 |
if m.NullableInt64 != nil { |
| 10423 |
l = m.NullableInt64.Size() |
| 10424 |
n += 1 + l + sovTypes(uint64(l)) |
| 10425 |
} |
| 10426 |
if m.NullableUInt64 != nil { |
| 10427 |
l = m.NullableUInt64.Size() |
| 10428 |
n += 1 + l + sovTypes(uint64(l)) |
| 10429 |
} |
| 10430 |
if m.NullableInt32 != nil { |
| 10431 |
l = m.NullableInt32.Size() |
| 10432 |
n += 1 + l + sovTypes(uint64(l)) |
| 10433 |
} |
| 10434 |
if m.NullableUInt32 != nil { |
| 10435 |
l = m.NullableUInt32.Size() |
| 10436 |
n += 1 + l + sovTypes(uint64(l)) |
| 10437 |
} |
| 10438 |
if m.NullableBool != nil { |
| 10439 |
l = m.NullableBool.Size() |
| 10440 |
n += 1 + l + sovTypes(uint64(l)) |
| 10441 |
} |
| 10442 |
if m.NullableString != nil { |
| 10443 |
l = m.NullableString.Size() |
| 10444 |
n += 1 + l + sovTypes(uint64(l)) |
| 10445 |
} |
| 10446 |
if m.NullableBytes != nil { |
| 10447 |
l = m.NullableBytes.Size() |
| 10448 |
n += 1 + l + sovTypes(uint64(l)) |
| 10449 |
} |
| 10450 |
l = m.Timestamp.Size() |
| 10451 |
n += 1 + l + sovTypes(uint64(l)) |
| 10452 |
l = m.Duration.Size() |
| 10453 |
n += 1 + l + sovTypes(uint64(l)) |
| 10454 |
l = m.NonnullDouble.Size() |
| 10455 |
n += 1 + l + sovTypes(uint64(l)) |
| 10456 |
l = m.NonnullFloat.Size() |
| 10457 |
n += 1 + l + sovTypes(uint64(l)) |
| 10458 |
l = m.NonnullInt64.Size() |
| 10459 |
n += 2 + l + sovTypes(uint64(l)) |
| 10460 |
l = m.NonnullUInt64.Size() |
| 10461 |
n += 2 + l + sovTypes(uint64(l)) |
| 10462 |
l = m.NonnullInt32.Size() |
| 10463 |
n += 2 + l + sovTypes(uint64(l)) |
| 10464 |
l = m.NonnullUInt32.Size() |
| 10465 |
n += 2 + l + sovTypes(uint64(l)) |
| 10466 |
l = m.NonnullBool.Size() |
| 10467 |
n += 2 + l + sovTypes(uint64(l)) |
| 10468 |
l = m.NonnullString.Size() |
| 10469 |
n += 2 + l + sovTypes(uint64(l)) |
| 10470 |
l = m.NonnullBytes.Size() |
| 10471 |
n += 2 + l + sovTypes(uint64(l)) |
| 10472 |
if m.XXX_unrecognized != nil { |
| 10473 |
n += len(m.XXX_unrecognized) |
| 10474 |
} |
| 10475 |
return n |
| 10476 |
} |
| 10477 |
|
| 10478 |
func (m *StdTypes) Size() (n int) { |
| 10479 |
if m == nil { |
| 10480 |
return 0 |
| 10481 |
} |
| 10482 |
var l int |
| 10483 |
_ = l |
| 10484 |
if m.NullableTimestamp != nil { |
| 10485 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamp) |
| 10486 |
n += 1 + l + sovTypes(uint64(l)) |
| 10487 |
} |
| 10488 |
if m.NullableDuration != nil { |
| 10489 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDuration) |
| 10490 |
n += 1 + l + sovTypes(uint64(l)) |
| 10491 |
} |
| 10492 |
if m.NullableDouble != nil { |
| 10493 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble) |
| 10494 |
n += 1 + l + sovTypes(uint64(l)) |
| 10495 |
} |
| 10496 |
if m.NullableFloat != nil { |
| 10497 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat) |
| 10498 |
n += 1 + l + sovTypes(uint64(l)) |
| 10499 |
} |
| 10500 |
if m.NullableInt64 != nil { |
| 10501 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64) |
| 10502 |
n += 1 + l + sovTypes(uint64(l)) |
| 10503 |
} |
| 10504 |
if m.NullableUInt64 != nil { |
| 10505 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64) |
| 10506 |
n += 1 + l + sovTypes(uint64(l)) |
| 10507 |
} |
| 10508 |
if m.NullableInt32 != nil { |
| 10509 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32) |
| 10510 |
n += 1 + l + sovTypes(uint64(l)) |
| 10511 |
} |
| 10512 |
if m.NullableUInt32 != nil { |
| 10513 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32) |
| 10514 |
n += 1 + l + sovTypes(uint64(l)) |
| 10515 |
} |
| 10516 |
if m.NullableBool != nil { |
| 10517 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool) |
| 10518 |
n += 1 + l + sovTypes(uint64(l)) |
| 10519 |
} |
| 10520 |
if m.NullableString != nil { |
| 10521 |
l = github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString) |
| 10522 |
n += 1 + l + sovTypes(uint64(l)) |
| 10523 |
} |
| 10524 |
if m.NullableBytes != nil { |
| 10525 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes) |
| 10526 |
n += 1 + l + sovTypes(uint64(l)) |
| 10527 |
} |
| 10528 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp) |
| 10529 |
n += 1 + l + sovTypes(uint64(l)) |
| 10530 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Duration) |
| 10531 |
n += 1 + l + sovTypes(uint64(l)) |
| 10532 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble) |
| 10533 |
n += 1 + l + sovTypes(uint64(l)) |
| 10534 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat) |
| 10535 |
n += 1 + l + sovTypes(uint64(l)) |
| 10536 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64) |
| 10537 |
n += 2 + l + sovTypes(uint64(l)) |
| 10538 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64) |
| 10539 |
n += 2 + l + sovTypes(uint64(l)) |
| 10540 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32) |
| 10541 |
n += 2 + l + sovTypes(uint64(l)) |
| 10542 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32) |
| 10543 |
n += 2 + l + sovTypes(uint64(l)) |
| 10544 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool) |
| 10545 |
n += 2 + l + sovTypes(uint64(l)) |
| 10546 |
l = github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString) |
| 10547 |
n += 2 + l + sovTypes(uint64(l)) |
| 10548 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes) |
| 10549 |
n += 2 + l + sovTypes(uint64(l)) |
| 10550 |
if m.XXX_unrecognized != nil { |
| 10551 |
n += len(m.XXX_unrecognized) |
| 10552 |
} |
| 10553 |
return n |
| 10554 |
} |
| 10555 |
|
| 10556 |
func (m *RepProtoTypes) Size() (n int) { |
| 10557 |
if m == nil { |
| 10558 |
return 0 |
| 10559 |
} |
| 10560 |
var l int |
| 10561 |
_ = l |
| 10562 |
if len(m.NullableTimestamps) > 0 { |
| 10563 |
for _, e := range m.NullableTimestamps { |
| 10564 |
l = e.Size() |
| 10565 |
n += 1 + l + sovTypes(uint64(l)) |
| 10566 |
} |
| 10567 |
} |
| 10568 |
if len(m.NullableDurations) > 0 { |
| 10569 |
for _, e := range m.NullableDurations { |
| 10570 |
l = e.Size() |
| 10571 |
n += 1 + l + sovTypes(uint64(l)) |
| 10572 |
} |
| 10573 |
} |
| 10574 |
if len(m.Timestamps) > 0 { |
| 10575 |
for _, e := range m.Timestamps { |
| 10576 |
l = e.Size() |
| 10577 |
n += 1 + l + sovTypes(uint64(l)) |
| 10578 |
} |
| 10579 |
} |
| 10580 |
if len(m.Durations) > 0 { |
| 10581 |
for _, e := range m.Durations { |
| 10582 |
l = e.Size() |
| 10583 |
n += 1 + l + sovTypes(uint64(l)) |
| 10584 |
} |
| 10585 |
} |
| 10586 |
if len(m.NullableDouble) > 0 { |
| 10587 |
for _, e := range m.NullableDouble { |
| 10588 |
l = e.Size() |
| 10589 |
n += 1 + l + sovTypes(uint64(l)) |
| 10590 |
} |
| 10591 |
} |
| 10592 |
if len(m.NonnullDouble) > 0 { |
| 10593 |
for _, e := range m.NonnullDouble { |
| 10594 |
l = e.Size() |
| 10595 |
n += 1 + l + sovTypes(uint64(l)) |
| 10596 |
} |
| 10597 |
} |
| 10598 |
if len(m.NullableFloat) > 0 { |
| 10599 |
for _, e := range m.NullableFloat { |
| 10600 |
l = e.Size() |
| 10601 |
n += 1 + l + sovTypes(uint64(l)) |
| 10602 |
} |
| 10603 |
} |
| 10604 |
if len(m.NonnullFloat) > 0 { |
| 10605 |
for _, e := range m.NonnullFloat { |
| 10606 |
l = e.Size() |
| 10607 |
n += 1 + l + sovTypes(uint64(l)) |
| 10608 |
} |
| 10609 |
} |
| 10610 |
if len(m.NullableInt64) > 0 { |
| 10611 |
for _, e := range m.NullableInt64 { |
| 10612 |
l = e.Size() |
| 10613 |
n += 1 + l + sovTypes(uint64(l)) |
| 10614 |
} |
| 10615 |
} |
| 10616 |
if len(m.NonnullInt64) > 0 { |
| 10617 |
for _, e := range m.NonnullInt64 { |
| 10618 |
l = e.Size() |
| 10619 |
n += 1 + l + sovTypes(uint64(l)) |
| 10620 |
} |
| 10621 |
} |
| 10622 |
if len(m.NullableUInt64) > 0 { |
| 10623 |
for _, e := range m.NullableUInt64 { |
| 10624 |
l = e.Size() |
| 10625 |
n += 1 + l + sovTypes(uint64(l)) |
| 10626 |
} |
| 10627 |
} |
| 10628 |
if len(m.NonnullUInt64) > 0 { |
| 10629 |
for _, e := range m.NonnullUInt64 { |
| 10630 |
l = e.Size() |
| 10631 |
n += 1 + l + sovTypes(uint64(l)) |
| 10632 |
} |
| 10633 |
} |
| 10634 |
if len(m.NullableInt32) > 0 { |
| 10635 |
for _, e := range m.NullableInt32 { |
| 10636 |
l = e.Size() |
| 10637 |
n += 1 + l + sovTypes(uint64(l)) |
| 10638 |
} |
| 10639 |
} |
| 10640 |
if len(m.NonnullInt32) > 0 { |
| 10641 |
for _, e := range m.NonnullInt32 { |
| 10642 |
l = e.Size() |
| 10643 |
n += 1 + l + sovTypes(uint64(l)) |
| 10644 |
} |
| 10645 |
} |
| 10646 |
if len(m.NullableUInt32) > 0 { |
| 10647 |
for _, e := range m.NullableUInt32 { |
| 10648 |
l = e.Size() |
| 10649 |
n += 1 + l + sovTypes(uint64(l)) |
| 10650 |
} |
| 10651 |
} |
| 10652 |
if len(m.NonnullUInt32) > 0 { |
| 10653 |
for _, e := range m.NonnullUInt32 { |
| 10654 |
l = e.Size() |
| 10655 |
n += 2 + l + sovTypes(uint64(l)) |
| 10656 |
} |
| 10657 |
} |
| 10658 |
if len(m.NullableBool) > 0 { |
| 10659 |
for _, e := range m.NullableBool { |
| 10660 |
l = e.Size() |
| 10661 |
n += 2 + l + sovTypes(uint64(l)) |
| 10662 |
} |
| 10663 |
} |
| 10664 |
if len(m.NonnullBool) > 0 { |
| 10665 |
for _, e := range m.NonnullBool { |
| 10666 |
l = e.Size() |
| 10667 |
n += 2 + l + sovTypes(uint64(l)) |
| 10668 |
} |
| 10669 |
} |
| 10670 |
if len(m.NullableString) > 0 { |
| 10671 |
for _, e := range m.NullableString { |
| 10672 |
l = e.Size() |
| 10673 |
n += 2 + l + sovTypes(uint64(l)) |
| 10674 |
} |
| 10675 |
} |
| 10676 |
if len(m.NonnullString) > 0 { |
| 10677 |
for _, e := range m.NonnullString { |
| 10678 |
l = e.Size() |
| 10679 |
n += 2 + l + sovTypes(uint64(l)) |
| 10680 |
} |
| 10681 |
} |
| 10682 |
if len(m.NullableBytes) > 0 { |
| 10683 |
for _, e := range m.NullableBytes { |
| 10684 |
l = e.Size() |
| 10685 |
n += 2 + l + sovTypes(uint64(l)) |
| 10686 |
} |
| 10687 |
} |
| 10688 |
if len(m.NonnullBytes) > 0 { |
| 10689 |
for _, e := range m.NonnullBytes { |
| 10690 |
l = e.Size() |
| 10691 |
n += 2 + l + sovTypes(uint64(l)) |
| 10692 |
} |
| 10693 |
} |
| 10694 |
if m.XXX_unrecognized != nil { |
| 10695 |
n += len(m.XXX_unrecognized) |
| 10696 |
} |
| 10697 |
return n |
| 10698 |
} |
| 10699 |
|
| 10700 |
func (m *RepStdTypes) Size() (n int) { |
| 10701 |
if m == nil { |
| 10702 |
return 0 |
| 10703 |
} |
| 10704 |
var l int |
| 10705 |
_ = l |
| 10706 |
if len(m.NullableTimestamps) > 0 { |
| 10707 |
for _, e := range m.NullableTimestamps { |
| 10708 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(*e) |
| 10709 |
n += 1 + l + sovTypes(uint64(l)) |
| 10710 |
} |
| 10711 |
} |
| 10712 |
if len(m.NullableDurations) > 0 { |
| 10713 |
for _, e := range m.NullableDurations { |
| 10714 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*e) |
| 10715 |
n += 1 + l + sovTypes(uint64(l)) |
| 10716 |
} |
| 10717 |
} |
| 10718 |
if len(m.Timestamps) > 0 { |
| 10719 |
for _, e := range m.Timestamps { |
| 10720 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(e) |
| 10721 |
n += 1 + l + sovTypes(uint64(l)) |
| 10722 |
} |
| 10723 |
} |
| 10724 |
if len(m.Durations) > 0 { |
| 10725 |
for _, e := range m.Durations { |
| 10726 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(e) |
| 10727 |
n += 1 + l + sovTypes(uint64(l)) |
| 10728 |
} |
| 10729 |
} |
| 10730 |
if len(m.NullableDouble) > 0 { |
| 10731 |
for _, e := range m.NullableDouble { |
| 10732 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(*e) |
| 10733 |
n += 1 + l + sovTypes(uint64(l)) |
| 10734 |
} |
| 10735 |
} |
| 10736 |
if len(m.NonnullDouble) > 0 { |
| 10737 |
for _, e := range m.NonnullDouble { |
| 10738 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(e) |
| 10739 |
n += 1 + l + sovTypes(uint64(l)) |
| 10740 |
} |
| 10741 |
} |
| 10742 |
if len(m.NullableFloat) > 0 { |
| 10743 |
for _, e := range m.NullableFloat { |
| 10744 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(*e) |
| 10745 |
n += 1 + l + sovTypes(uint64(l)) |
| 10746 |
} |
| 10747 |
} |
| 10748 |
if len(m.NonnullFloat) > 0 { |
| 10749 |
for _, e := range m.NonnullFloat { |
| 10750 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(e) |
| 10751 |
n += 1 + l + sovTypes(uint64(l)) |
| 10752 |
} |
| 10753 |
} |
| 10754 |
if len(m.NullableInt64) > 0 { |
| 10755 |
for _, e := range m.NullableInt64 { |
| 10756 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(*e) |
| 10757 |
n += 1 + l + sovTypes(uint64(l)) |
| 10758 |
} |
| 10759 |
} |
| 10760 |
if len(m.NonnullInt64) > 0 { |
| 10761 |
for _, e := range m.NonnullInt64 { |
| 10762 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(e) |
| 10763 |
n += 1 + l + sovTypes(uint64(l)) |
| 10764 |
} |
| 10765 |
} |
| 10766 |
if len(m.NullableUInt64) > 0 { |
| 10767 |
for _, e := range m.NullableUInt64 { |
| 10768 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*e) |
| 10769 |
n += 1 + l + sovTypes(uint64(l)) |
| 10770 |
} |
| 10771 |
} |
| 10772 |
if len(m.NonnullUInt64) > 0 { |
| 10773 |
for _, e := range m.NonnullUInt64 { |
| 10774 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(e) |
| 10775 |
n += 1 + l + sovTypes(uint64(l)) |
| 10776 |
} |
| 10777 |
} |
| 10778 |
if len(m.NullableInt32) > 0 { |
| 10779 |
for _, e := range m.NullableInt32 { |
| 10780 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(*e) |
| 10781 |
n += 1 + l + sovTypes(uint64(l)) |
| 10782 |
} |
| 10783 |
} |
| 10784 |
if len(m.NonnullInt32) > 0 { |
| 10785 |
for _, e := range m.NonnullInt32 { |
| 10786 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(e) |
| 10787 |
n += 1 + l + sovTypes(uint64(l)) |
| 10788 |
} |
| 10789 |
} |
| 10790 |
if len(m.NullableUInt32) > 0 { |
| 10791 |
for _, e := range m.NullableUInt32 { |
| 10792 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*e) |
| 10793 |
n += 1 + l + sovTypes(uint64(l)) |
| 10794 |
} |
| 10795 |
} |
| 10796 |
if len(m.NonnullUInt32) > 0 { |
| 10797 |
for _, e := range m.NonnullUInt32 { |
| 10798 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(e) |
| 10799 |
n += 2 + l + sovTypes(uint64(l)) |
| 10800 |
} |
| 10801 |
} |
| 10802 |
if len(m.NullableBool) > 0 { |
| 10803 |
for _, e := range m.NullableBool { |
| 10804 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(*e) |
| 10805 |
n += 2 + l + sovTypes(uint64(l)) |
| 10806 |
} |
| 10807 |
} |
| 10808 |
if len(m.NonnullBool) > 0 { |
| 10809 |
for _, e := range m.NonnullBool { |
| 10810 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(e) |
| 10811 |
n += 2 + l + sovTypes(uint64(l)) |
| 10812 |
} |
| 10813 |
} |
| 10814 |
if len(m.NullableString) > 0 { |
| 10815 |
for _, e := range m.NullableString { |
| 10816 |
l = github_com_gogo_protobuf_types.SizeOfStdString(*e) |
| 10817 |
n += 2 + l + sovTypes(uint64(l)) |
| 10818 |
} |
| 10819 |
} |
| 10820 |
if len(m.NonnullString) > 0 { |
| 10821 |
for _, e := range m.NonnullString { |
| 10822 |
l = github_com_gogo_protobuf_types.SizeOfStdString(e) |
| 10823 |
n += 2 + l + sovTypes(uint64(l)) |
| 10824 |
} |
| 10825 |
} |
| 10826 |
if len(m.NullableBytes) > 0 { |
| 10827 |
for _, e := range m.NullableBytes { |
| 10828 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(*e) |
| 10829 |
n += 2 + l + sovTypes(uint64(l)) |
| 10830 |
} |
| 10831 |
} |
| 10832 |
if len(m.NonnullBytes) > 0 { |
| 10833 |
for _, e := range m.NonnullBytes { |
| 10834 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(e) |
| 10835 |
n += 2 + l + sovTypes(uint64(l)) |
| 10836 |
} |
| 10837 |
} |
| 10838 |
if m.XXX_unrecognized != nil { |
| 10839 |
n += len(m.XXX_unrecognized) |
| 10840 |
} |
| 10841 |
return n |
| 10842 |
} |
| 10843 |
|
| 10844 |
func (m *MapProtoTypes) Size() (n int) { |
| 10845 |
if m == nil { |
| 10846 |
return 0 |
| 10847 |
} |
| 10848 |
var l int |
| 10849 |
_ = l |
| 10850 |
if len(m.NullableTimestamp) > 0 { |
| 10851 |
for k, v := range m.NullableTimestamp { |
| 10852 |
_ = k |
| 10853 |
_ = v |
| 10854 |
l = 0 |
| 10855 |
if v != nil { |
| 10856 |
l = v.Size() |
| 10857 |
l += 1 + sovTypes(uint64(l)) |
| 10858 |
} |
| 10859 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10860 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10861 |
} |
| 10862 |
} |
| 10863 |
if len(m.Timestamp) > 0 { |
| 10864 |
for k, v := range m.Timestamp { |
| 10865 |
_ = k |
| 10866 |
_ = v |
| 10867 |
l = v.Size() |
| 10868 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10869 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10870 |
} |
| 10871 |
} |
| 10872 |
if len(m.NullableDuration) > 0 { |
| 10873 |
for k, v := range m.NullableDuration { |
| 10874 |
_ = k |
| 10875 |
_ = v |
| 10876 |
l = 0 |
| 10877 |
if v != nil { |
| 10878 |
l = v.Size() |
| 10879 |
l += 1 + sovTypes(uint64(l)) |
| 10880 |
} |
| 10881 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10882 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10883 |
} |
| 10884 |
} |
| 10885 |
if len(m.Duration) > 0 { |
| 10886 |
for k, v := range m.Duration { |
| 10887 |
_ = k |
| 10888 |
_ = v |
| 10889 |
l = v.Size() |
| 10890 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10891 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10892 |
} |
| 10893 |
} |
| 10894 |
if len(m.NullableDouble) > 0 { |
| 10895 |
for k, v := range m.NullableDouble { |
| 10896 |
_ = k |
| 10897 |
_ = v |
| 10898 |
l = 0 |
| 10899 |
if v != nil { |
| 10900 |
l = v.Size() |
| 10901 |
l += 1 + sovTypes(uint64(l)) |
| 10902 |
} |
| 10903 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10904 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10905 |
} |
| 10906 |
} |
| 10907 |
if len(m.NonnullDouble) > 0 { |
| 10908 |
for k, v := range m.NonnullDouble { |
| 10909 |
_ = k |
| 10910 |
_ = v |
| 10911 |
l = v.Size() |
| 10912 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10913 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10914 |
} |
| 10915 |
} |
| 10916 |
if len(m.NullableFloat) > 0 { |
| 10917 |
for k, v := range m.NullableFloat { |
| 10918 |
_ = k |
| 10919 |
_ = v |
| 10920 |
l = 0 |
| 10921 |
if v != nil { |
| 10922 |
l = v.Size() |
| 10923 |
l += 1 + sovTypes(uint64(l)) |
| 10924 |
} |
| 10925 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10926 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10927 |
} |
| 10928 |
} |
| 10929 |
if len(m.NonnullFloat) > 0 { |
| 10930 |
for k, v := range m.NonnullFloat { |
| 10931 |
_ = k |
| 10932 |
_ = v |
| 10933 |
l = v.Size() |
| 10934 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10935 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10936 |
} |
| 10937 |
} |
| 10938 |
if len(m.NullableInt64) > 0 { |
| 10939 |
for k, v := range m.NullableInt64 { |
| 10940 |
_ = k |
| 10941 |
_ = v |
| 10942 |
l = 0 |
| 10943 |
if v != nil { |
| 10944 |
l = v.Size() |
| 10945 |
l += 1 + sovTypes(uint64(l)) |
| 10946 |
} |
| 10947 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10948 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10949 |
} |
| 10950 |
} |
| 10951 |
if len(m.NonnullInt64) > 0 { |
| 10952 |
for k, v := range m.NonnullInt64 { |
| 10953 |
_ = k |
| 10954 |
_ = v |
| 10955 |
l = v.Size() |
| 10956 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10957 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10958 |
} |
| 10959 |
} |
| 10960 |
if len(m.NullableUInt64) > 0 { |
| 10961 |
for k, v := range m.NullableUInt64 { |
| 10962 |
_ = k |
| 10963 |
_ = v |
| 10964 |
l = 0 |
| 10965 |
if v != nil { |
| 10966 |
l = v.Size() |
| 10967 |
l += 1 + sovTypes(uint64(l)) |
| 10968 |
} |
| 10969 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10970 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10971 |
} |
| 10972 |
} |
| 10973 |
if len(m.NonnullUInt64) > 0 { |
| 10974 |
for k, v := range m.NonnullUInt64 { |
| 10975 |
_ = k |
| 10976 |
_ = v |
| 10977 |
l = v.Size() |
| 10978 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10979 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10980 |
} |
| 10981 |
} |
| 10982 |
if len(m.NullableInt32) > 0 { |
| 10983 |
for k, v := range m.NullableInt32 { |
| 10984 |
_ = k |
| 10985 |
_ = v |
| 10986 |
l = 0 |
| 10987 |
if v != nil { |
| 10988 |
l = v.Size() |
| 10989 |
l += 1 + sovTypes(uint64(l)) |
| 10990 |
} |
| 10991 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10992 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10993 |
} |
| 10994 |
} |
| 10995 |
if len(m.NonnullInt32) > 0 { |
| 10996 |
for k, v := range m.NonnullInt32 { |
| 10997 |
_ = k |
| 10998 |
_ = v |
| 10999 |
l = v.Size() |
| 11000 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11001 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11002 |
} |
| 11003 |
} |
| 11004 |
if len(m.NullableUInt32) > 0 { |
| 11005 |
for k, v := range m.NullableUInt32 { |
| 11006 |
_ = k |
| 11007 |
_ = v |
| 11008 |
l = 0 |
| 11009 |
if v != nil { |
| 11010 |
l = v.Size() |
| 11011 |
l += 1 + sovTypes(uint64(l)) |
| 11012 |
} |
| 11013 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11014 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11015 |
} |
| 11016 |
} |
| 11017 |
if len(m.NonnullUInt32) > 0 { |
| 11018 |
for k, v := range m.NonnullUInt32 { |
| 11019 |
_ = k |
| 11020 |
_ = v |
| 11021 |
l = v.Size() |
| 11022 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11023 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11024 |
} |
| 11025 |
} |
| 11026 |
if len(m.NullableBool) > 0 { |
| 11027 |
for k, v := range m.NullableBool { |
| 11028 |
_ = k |
| 11029 |
_ = v |
| 11030 |
l = 0 |
| 11031 |
if v != nil { |
| 11032 |
l = v.Size() |
| 11033 |
l += 1 + sovTypes(uint64(l)) |
| 11034 |
} |
| 11035 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11036 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11037 |
} |
| 11038 |
} |
| 11039 |
if len(m.NonnullBool) > 0 { |
| 11040 |
for k, v := range m.NonnullBool { |
| 11041 |
_ = k |
| 11042 |
_ = v |
| 11043 |
l = v.Size() |
| 11044 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11045 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11046 |
} |
| 11047 |
} |
| 11048 |
if len(m.NullableString) > 0 { |
| 11049 |
for k, v := range m.NullableString { |
| 11050 |
_ = k |
| 11051 |
_ = v |
| 11052 |
l = 0 |
| 11053 |
if v != nil { |
| 11054 |
l = v.Size() |
| 11055 |
l += 1 + sovTypes(uint64(l)) |
| 11056 |
} |
| 11057 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11058 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11059 |
} |
| 11060 |
} |
| 11061 |
if len(m.NonnullString) > 0 { |
| 11062 |
for k, v := range m.NonnullString { |
| 11063 |
_ = k |
| 11064 |
_ = v |
| 11065 |
l = v.Size() |
| 11066 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11067 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11068 |
} |
| 11069 |
} |
| 11070 |
if len(m.NullableBytes) > 0 { |
| 11071 |
for k, v := range m.NullableBytes { |
| 11072 |
_ = k |
| 11073 |
_ = v |
| 11074 |
l = 0 |
| 11075 |
if v != nil { |
| 11076 |
l = v.Size() |
| 11077 |
l += 1 + sovTypes(uint64(l)) |
| 11078 |
} |
| 11079 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11080 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11081 |
} |
| 11082 |
} |
| 11083 |
if len(m.NonnullBytes) > 0 { |
| 11084 |
for k, v := range m.NonnullBytes { |
| 11085 |
_ = k |
| 11086 |
_ = v |
| 11087 |
l = v.Size() |
| 11088 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11089 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11090 |
} |
| 11091 |
} |
| 11092 |
if m.XXX_unrecognized != nil { |
| 11093 |
n += len(m.XXX_unrecognized) |
| 11094 |
} |
| 11095 |
return n |
| 11096 |
} |
| 11097 |
|
| 11098 |
func (m *MapStdTypes) Size() (n int) { |
| 11099 |
if m == nil { |
| 11100 |
return 0 |
| 11101 |
} |
| 11102 |
var l int |
| 11103 |
_ = l |
| 11104 |
if len(m.NullableTimestamp) > 0 { |
| 11105 |
for k, v := range m.NullableTimestamp { |
| 11106 |
_ = k |
| 11107 |
_ = v |
| 11108 |
l = 0 |
| 11109 |
if v != nil { |
| 11110 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(*v) |
| 11111 |
l += 1 + sovTypes(uint64(l)) |
| 11112 |
} |
| 11113 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11114 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11115 |
} |
| 11116 |
} |
| 11117 |
if len(m.Timestamp) > 0 { |
| 11118 |
for k, v := range m.Timestamp { |
| 11119 |
_ = k |
| 11120 |
_ = v |
| 11121 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(v) |
| 11122 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11123 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11124 |
} |
| 11125 |
} |
| 11126 |
if len(m.NullableDuration) > 0 { |
| 11127 |
for k, v := range m.NullableDuration { |
| 11128 |
_ = k |
| 11129 |
_ = v |
| 11130 |
l = 0 |
| 11131 |
if v != nil { |
| 11132 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*v) |
| 11133 |
l += 1 + sovTypes(uint64(l)) |
| 11134 |
} |
| 11135 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11136 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11137 |
} |
| 11138 |
} |
| 11139 |
if len(m.Duration) > 0 { |
| 11140 |
for k, v := range m.Duration { |
| 11141 |
_ = k |
| 11142 |
_ = v |
| 11143 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(v) |
| 11144 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11145 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11146 |
} |
| 11147 |
} |
| 11148 |
if len(m.NullableDouble) > 0 { |
| 11149 |
for k, v := range m.NullableDouble { |
| 11150 |
_ = k |
| 11151 |
_ = v |
| 11152 |
l = 0 |
| 11153 |
if v != nil { |
| 11154 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(*v) |
| 11155 |
l += 1 + sovTypes(uint64(l)) |
| 11156 |
} |
| 11157 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11158 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11159 |
} |
| 11160 |
} |
| 11161 |
if len(m.NonnullDouble) > 0 { |
| 11162 |
for k, v := range m.NonnullDouble { |
| 11163 |
_ = k |
| 11164 |
_ = v |
| 11165 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(v) |
| 11166 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11167 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11168 |
} |
| 11169 |
} |
| 11170 |
if len(m.NullableFloat) > 0 { |
| 11171 |
for k, v := range m.NullableFloat { |
| 11172 |
_ = k |
| 11173 |
_ = v |
| 11174 |
l = 0 |
| 11175 |
if v != nil { |
| 11176 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(*v) |
| 11177 |
l += 1 + sovTypes(uint64(l)) |
| 11178 |
} |
| 11179 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11180 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11181 |
} |
| 11182 |
} |
| 11183 |
if len(m.NonnullFloat) > 0 { |
| 11184 |
for k, v := range m.NonnullFloat { |
| 11185 |
_ = k |
| 11186 |
_ = v |
| 11187 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(v) |
| 11188 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11189 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11190 |
} |
| 11191 |
} |
| 11192 |
if len(m.NullableInt64) > 0 { |
| 11193 |
for k, v := range m.NullableInt64 { |
| 11194 |
_ = k |
| 11195 |
_ = v |
| 11196 |
l = 0 |
| 11197 |
if v != nil { |
| 11198 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(*v) |
| 11199 |
l += 1 + sovTypes(uint64(l)) |
| 11200 |
} |
| 11201 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11202 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11203 |
} |
| 11204 |
} |
| 11205 |
if len(m.NonnullInt64) > 0 { |
| 11206 |
for k, v := range m.NonnullInt64 { |
| 11207 |
_ = k |
| 11208 |
_ = v |
| 11209 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(v) |
| 11210 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11211 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11212 |
} |
| 11213 |
} |
| 11214 |
if len(m.NullableUInt64) > 0 { |
| 11215 |
for k, v := range m.NullableUInt64 { |
| 11216 |
_ = k |
| 11217 |
_ = v |
| 11218 |
l = 0 |
| 11219 |
if v != nil { |
| 11220 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*v) |
| 11221 |
l += 1 + sovTypes(uint64(l)) |
| 11222 |
} |
| 11223 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11224 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11225 |
} |
| 11226 |
} |
| 11227 |
if len(m.NonnullUInt64) > 0 { |
| 11228 |
for k, v := range m.NonnullUInt64 { |
| 11229 |
_ = k |
| 11230 |
_ = v |
| 11231 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(v) |
| 11232 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11233 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11234 |
} |
| 11235 |
} |
| 11236 |
if len(m.NullableInt32) > 0 { |
| 11237 |
for k, v := range m.NullableInt32 { |
| 11238 |
_ = k |
| 11239 |
_ = v |
| 11240 |
l = 0 |
| 11241 |
if v != nil { |
| 11242 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(*v) |
| 11243 |
l += 1 + sovTypes(uint64(l)) |
| 11244 |
} |
| 11245 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11246 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11247 |
} |
| 11248 |
} |
| 11249 |
if len(m.NonnullInt32) > 0 { |
| 11250 |
for k, v := range m.NonnullInt32 { |
| 11251 |
_ = k |
| 11252 |
_ = v |
| 11253 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(v) |
| 11254 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11255 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11256 |
} |
| 11257 |
} |
| 11258 |
if len(m.NullableUInt32) > 0 { |
| 11259 |
for k, v := range m.NullableUInt32 { |
| 11260 |
_ = k |
| 11261 |
_ = v |
| 11262 |
l = 0 |
| 11263 |
if v != nil { |
| 11264 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*v) |
| 11265 |
l += 1 + sovTypes(uint64(l)) |
| 11266 |
} |
| 11267 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11268 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11269 |
} |
| 11270 |
} |
| 11271 |
if len(m.NonnullUInt32) > 0 { |
| 11272 |
for k, v := range m.NonnullUInt32 { |
| 11273 |
_ = k |
| 11274 |
_ = v |
| 11275 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(v) |
| 11276 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11277 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11278 |
} |
| 11279 |
} |
| 11280 |
if len(m.NullableBool) > 0 { |
| 11281 |
for k, v := range m.NullableBool { |
| 11282 |
_ = k |
| 11283 |
_ = v |
| 11284 |
l = 0 |
| 11285 |
if v != nil { |
| 11286 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(*v) |
| 11287 |
l += 1 + sovTypes(uint64(l)) |
| 11288 |
} |
| 11289 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11290 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11291 |
} |
| 11292 |
} |
| 11293 |
if len(m.NonnullBool) > 0 { |
| 11294 |
for k, v := range m.NonnullBool { |
| 11295 |
_ = k |
| 11296 |
_ = v |
| 11297 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(v) |
| 11298 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11299 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11300 |
} |
| 11301 |
} |
| 11302 |
if len(m.NullableString) > 0 { |
| 11303 |
for k, v := range m.NullableString { |
| 11304 |
_ = k |
| 11305 |
_ = v |
| 11306 |
l = 0 |
| 11307 |
if v != nil { |
| 11308 |
l = github_com_gogo_protobuf_types.SizeOfStdString(*v) |
| 11309 |
l += 1 + sovTypes(uint64(l)) |
| 11310 |
} |
| 11311 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11312 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11313 |
} |
| 11314 |
} |
| 11315 |
if len(m.NonnullString) > 0 { |
| 11316 |
for k, v := range m.NonnullString { |
| 11317 |
_ = k |
| 11318 |
_ = v |
| 11319 |
l = github_com_gogo_protobuf_types.SizeOfStdString(v) |
| 11320 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11321 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11322 |
} |
| 11323 |
} |
| 11324 |
if len(m.NullableBytes) > 0 { |
| 11325 |
for k, v := range m.NullableBytes { |
| 11326 |
_ = k |
| 11327 |
_ = v |
| 11328 |
l = 0 |
| 11329 |
if v != nil { |
| 11330 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(*v) |
| 11331 |
l += 1 + sovTypes(uint64(l)) |
| 11332 |
} |
| 11333 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11334 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11335 |
} |
| 11336 |
} |
| 11337 |
if len(m.NonnullBytes) > 0 { |
| 11338 |
for k, v := range m.NonnullBytes { |
| 11339 |
_ = k |
| 11340 |
_ = v |
| 11341 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(v) |
| 11342 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11343 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11344 |
} |
| 11345 |
} |
| 11346 |
if m.XXX_unrecognized != nil { |
| 11347 |
n += len(m.XXX_unrecognized) |
| 11348 |
} |
| 11349 |
return n |
| 11350 |
} |
| 11351 |
|
| 11352 |
func (m *OneofProtoTypes) Size() (n int) { |
| 11353 |
if m == nil { |
| 11354 |
return 0 |
| 11355 |
} |
| 11356 |
var l int |
| 11357 |
_ = l |
| 11358 |
if m.OneOfProtoTimes != nil { |
| 11359 |
n += m.OneOfProtoTimes.Size() |
| 11360 |
} |
| 11361 |
if m.XXX_unrecognized != nil { |
| 11362 |
n += len(m.XXX_unrecognized) |
| 11363 |
} |
| 11364 |
return n |
| 11365 |
} |
| 11366 |
|
| 11367 |
func (m *OneofProtoTypes_Timestamp) Size() (n int) { |
| 11368 |
if m == nil { |
| 11369 |
return 0 |
| 11370 |
} |
| 11371 |
var l int |
| 11372 |
_ = l |
| 11373 |
if m.Timestamp != nil { |
| 11374 |
l = m.Timestamp.Size() |
| 11375 |
n += 1 + l + sovTypes(uint64(l)) |
| 11376 |
} |
| 11377 |
return n |
| 11378 |
} |
| 11379 |
func (m *OneofProtoTypes_Duration) Size() (n int) { |
| 11380 |
if m == nil { |
| 11381 |
return 0 |
| 11382 |
} |
| 11383 |
var l int |
| 11384 |
_ = l |
| 11385 |
if m.Duration != nil { |
| 11386 |
l = m.Duration.Size() |
| 11387 |
n += 1 + l + sovTypes(uint64(l)) |
| 11388 |
} |
| 11389 |
return n |
| 11390 |
} |
| 11391 |
func (m *OneofProtoTypes_RepDouble) Size() (n int) { |
| 11392 |
if m == nil { |
| 11393 |
return 0 |
| 11394 |
} |
| 11395 |
var l int |
| 11396 |
_ = l |
| 11397 |
if m.RepDouble != nil { |
| 11398 |
l = m.RepDouble.Size() |
| 11399 |
n += 1 + l + sovTypes(uint64(l)) |
| 11400 |
} |
| 11401 |
return n |
| 11402 |
} |
| 11403 |
func (m *OneofProtoTypes_RepFloat) Size() (n int) { |
| 11404 |
if m == nil { |
| 11405 |
return 0 |
| 11406 |
} |
| 11407 |
var l int |
| 11408 |
_ = l |
| 11409 |
if m.RepFloat != nil { |
| 11410 |
l = m.RepFloat.Size() |
| 11411 |
n += 1 + l + sovTypes(uint64(l)) |
| 11412 |
} |
| 11413 |
return n |
| 11414 |
} |
| 11415 |
func (m *OneofProtoTypes_RepInt64) Size() (n int) { |
| 11416 |
if m == nil { |
| 11417 |
return 0 |
| 11418 |
} |
| 11419 |
var l int |
| 11420 |
_ = l |
| 11421 |
if m.RepInt64 != nil { |
| 11422 |
l = m.RepInt64.Size() |
| 11423 |
n += 1 + l + sovTypes(uint64(l)) |
| 11424 |
} |
| 11425 |
return n |
| 11426 |
} |
| 11427 |
func (m *OneofProtoTypes_RepUInt64) Size() (n int) { |
| 11428 |
if m == nil { |
| 11429 |
return 0 |
| 11430 |
} |
| 11431 |
var l int |
| 11432 |
_ = l |
| 11433 |
if m.RepUInt64 != nil { |
| 11434 |
l = m.RepUInt64.Size() |
| 11435 |
n += 1 + l + sovTypes(uint64(l)) |
| 11436 |
} |
| 11437 |
return n |
| 11438 |
} |
| 11439 |
func (m *OneofProtoTypes_RepInt32) Size() (n int) { |
| 11440 |
if m == nil { |
| 11441 |
return 0 |
| 11442 |
} |
| 11443 |
var l int |
| 11444 |
_ = l |
| 11445 |
if m.RepInt32 != nil { |
| 11446 |
l = m.RepInt32.Size() |
| 11447 |
n += 1 + l + sovTypes(uint64(l)) |
| 11448 |
} |
| 11449 |
return n |
| 11450 |
} |
| 11451 |
func (m *OneofProtoTypes_RepUInt32) Size() (n int) { |
| 11452 |
if m == nil { |
| 11453 |
return 0 |
| 11454 |
} |
| 11455 |
var l int |
| 11456 |
_ = l |
| 11457 |
if m.RepUInt32 != nil { |
| 11458 |
l = m.RepUInt32.Size() |
| 11459 |
n += 1 + l + sovTypes(uint64(l)) |
| 11460 |
} |
| 11461 |
return n |
| 11462 |
} |
| 11463 |
func (m *OneofProtoTypes_RepBool) Size() (n int) { |
| 11464 |
if m == nil { |
| 11465 |
return 0 |
| 11466 |
} |
| 11467 |
var l int |
| 11468 |
_ = l |
| 11469 |
if m.RepBool != nil { |
| 11470 |
l = m.RepBool.Size() |
| 11471 |
n += 1 + l + sovTypes(uint64(l)) |
| 11472 |
} |
| 11473 |
return n |
| 11474 |
} |
| 11475 |
func (m *OneofProtoTypes_RepString) Size() (n int) { |
| 11476 |
if m == nil { |
| 11477 |
return 0 |
| 11478 |
} |
| 11479 |
var l int |
| 11480 |
_ = l |
| 11481 |
if m.RepString != nil { |
| 11482 |
l = m.RepString.Size() |
| 11483 |
n += 1 + l + sovTypes(uint64(l)) |
| 11484 |
} |
| 11485 |
return n |
| 11486 |
} |
| 11487 |
func (m *OneofProtoTypes_RepBytes) Size() (n int) { |
| 11488 |
if m == nil { |
| 11489 |
return 0 |
| 11490 |
} |
| 11491 |
var l int |
| 11492 |
_ = l |
| 11493 |
if m.RepBytes != nil { |
| 11494 |
l = m.RepBytes.Size() |
| 11495 |
n += 1 + l + sovTypes(uint64(l)) |
| 11496 |
} |
| 11497 |
return n |
| 11498 |
} |
| 11499 |
func (m *OneofStdTypes) Size() (n int) { |
| 11500 |
if m == nil { |
| 11501 |
return 0 |
| 11502 |
} |
| 11503 |
var l int |
| 11504 |
_ = l |
| 11505 |
if m.OneOfStdTimes != nil { |
| 11506 |
n += m.OneOfStdTimes.Size() |
| 11507 |
} |
| 11508 |
if m.XXX_unrecognized != nil { |
| 11509 |
n += len(m.XXX_unrecognized) |
| 11510 |
} |
| 11511 |
return n |
| 11512 |
} |
| 11513 |
|
| 11514 |
func (m *OneofStdTypes_Timestamp) Size() (n int) { |
| 11515 |
if m == nil { |
| 11516 |
return 0 |
| 11517 |
} |
| 11518 |
var l int |
| 11519 |
_ = l |
| 11520 |
if m.Timestamp != nil { |
| 11521 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Timestamp) |
| 11522 |
n += 1 + l + sovTypes(uint64(l)) |
| 11523 |
} |
| 11524 |
return n |
| 11525 |
} |
| 11526 |
func (m *OneofStdTypes_Duration) Size() (n int) { |
| 11527 |
if m == nil { |
| 11528 |
return 0 |
| 11529 |
} |
| 11530 |
var l int |
| 11531 |
_ = l |
| 11532 |
if m.Duration != nil { |
| 11533 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.Duration) |
| 11534 |
n += 1 + l + sovTypes(uint64(l)) |
| 11535 |
} |
| 11536 |
return n |
| 11537 |
} |
| 11538 |
func (m *OneofStdTypes_RepDouble) Size() (n int) { |
| 11539 |
if m == nil { |
| 11540 |
return 0 |
| 11541 |
} |
| 11542 |
var l int |
| 11543 |
_ = l |
| 11544 |
if m.RepDouble != nil { |
| 11545 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.RepDouble) |
| 11546 |
n += 1 + l + sovTypes(uint64(l)) |
| 11547 |
} |
| 11548 |
return n |
| 11549 |
} |
| 11550 |
func (m *OneofStdTypes_RepFloat) Size() (n int) { |
| 11551 |
if m == nil { |
| 11552 |
return 0 |
| 11553 |
} |
| 11554 |
var l int |
| 11555 |
_ = l |
| 11556 |
if m.RepFloat != nil { |
| 11557 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.RepFloat) |
| 11558 |
n += 1 + l + sovTypes(uint64(l)) |
| 11559 |
} |
| 11560 |
return n |
| 11561 |
} |
| 11562 |
func (m *OneofStdTypes_RepInt64) Size() (n int) { |
| 11563 |
if m == nil { |
| 11564 |
return 0 |
| 11565 |
} |
| 11566 |
var l int |
| 11567 |
_ = l |
| 11568 |
if m.RepInt64 != nil { |
| 11569 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.RepInt64) |
| 11570 |
n += 1 + l + sovTypes(uint64(l)) |
| 11571 |
} |
| 11572 |
return n |
| 11573 |
} |
| 11574 |
func (m *OneofStdTypes_RepUInt64) Size() (n int) { |
| 11575 |
if m == nil { |
| 11576 |
return 0 |
| 11577 |
} |
| 11578 |
var l int |
| 11579 |
_ = l |
| 11580 |
if m.RepUInt64 != nil { |
| 11581 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.RepUInt64) |
| 11582 |
n += 1 + l + sovTypes(uint64(l)) |
| 11583 |
} |
| 11584 |
return n |
| 11585 |
} |
| 11586 |
func (m *OneofStdTypes_RepInt32) Size() (n int) { |
| 11587 |
if m == nil { |
| 11588 |
return 0 |
| 11589 |
} |
| 11590 |
var l int |
| 11591 |
_ = l |
| 11592 |
if m.RepInt32 != nil { |
| 11593 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.RepInt32) |
| 11594 |
n += 1 + l + sovTypes(uint64(l)) |
| 11595 |
} |
| 11596 |
return n |
| 11597 |
} |
| 11598 |
func (m *OneofStdTypes_RepUInt32) Size() (n int) { |
| 11599 |
if m == nil { |
| 11600 |
return 0 |
| 11601 |
} |
| 11602 |
var l int |
| 11603 |
_ = l |
| 11604 |
if m.RepUInt32 != nil { |
| 11605 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.RepUInt32) |
| 11606 |
n += 1 + l + sovTypes(uint64(l)) |
| 11607 |
} |
| 11608 |
return n |
| 11609 |
} |
| 11610 |
func (m *OneofStdTypes_RepBool) Size() (n int) { |
| 11611 |
if m == nil { |
| 11612 |
return 0 |
| 11613 |
} |
| 11614 |
var l int |
| 11615 |
_ = l |
| 11616 |
if m.RepBool != nil { |
| 11617 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.RepBool) |
| 11618 |
n += 1 + l + sovTypes(uint64(l)) |
| 11619 |
} |
| 11620 |
return n |
| 11621 |
} |
| 11622 |
func (m *OneofStdTypes_RepString) Size() (n int) { |
| 11623 |
if m == nil { |
| 11624 |
return 0 |
| 11625 |
} |
| 11626 |
var l int |
| 11627 |
_ = l |
| 11628 |
if m.RepString != nil { |
| 11629 |
l = github_com_gogo_protobuf_types.SizeOfStdString(*m.RepString) |
| 11630 |
n += 1 + l + sovTypes(uint64(l)) |
| 11631 |
} |
| 11632 |
return n |
| 11633 |
} |
| 11634 |
func (m *OneofStdTypes_RepBytes) Size() (n int) { |
| 11635 |
if m == nil { |
| 11636 |
return 0 |
| 11637 |
} |
| 11638 |
var l int |
| 11639 |
_ = l |
| 11640 |
if m.RepBytes != nil { |
| 11641 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.RepBytes) |
| 11642 |
n += 1 + l + sovTypes(uint64(l)) |
| 11643 |
} |
| 11644 |
return n |
| 11645 |
} |
| 11646 |
|
| 11647 |
func sovTypes(x uint64) (n int) { |
| 11648 |
return (math_bits.Len64(x|1) + 6) / 7 |
| 11649 |
} |
| 11650 |
func sozTypes(x uint64) (n int) { |
| 11651 |
return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 11652 |
} |
| 11653 |
func (m *KnownTypes) Unmarshal(dAtA []byte) error { |
| 11654 |
l := len(dAtA) |
| 11655 |
iNdEx := 0 |
| 11656 |
for iNdEx < l { |
| 11657 |
preIndex := iNdEx |
| 11658 |
var wire uint64 |
| 11659 |
for shift := uint(0); ; shift += 7 { |
| 11660 |
if shift >= 64 { |
| 11661 |
return ErrIntOverflowTypes |
| 11662 |
} |
| 11663 |
if iNdEx >= l { |
| 11664 |
return io.ErrUnexpectedEOF |
| 11665 |
} |
| 11666 |
b := dAtA[iNdEx] |
| 11667 |
iNdEx++ |
| 11668 |
wire |= uint64(b&0x7F) << shift |
| 11669 |
if b < 0x80 { |
| 11670 |
break |
| 11671 |
} |
| 11672 |
} |
| 11673 |
fieldNum := int32(wire >> 3) |
| 11674 |
wireType := int(wire & 0x7) |
| 11675 |
if wireType == 4 { |
| 11676 |
return fmt.Errorf("proto: KnownTypes: wiretype end group for non-group") |
| 11677 |
} |
| 11678 |
if fieldNum <= 0 { |
| 11679 |
return fmt.Errorf("proto: KnownTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11680 |
} |
| 11681 |
switch fieldNum { |
| 11682 |
case 1: |
| 11683 |
if wireType != 2 { |
| 11684 |
return fmt.Errorf("proto: wrong wireType = %d for field Dur", wireType) |
| 11685 |
} |
| 11686 |
var msglen int |
| 11687 |
for shift := uint(0); ; shift += 7 { |
| 11688 |
if shift >= 64 { |
| 11689 |
return ErrIntOverflowTypes |
| 11690 |
} |
| 11691 |
if iNdEx >= l { |
| 11692 |
return io.ErrUnexpectedEOF |
| 11693 |
} |
| 11694 |
b := dAtA[iNdEx] |
| 11695 |
iNdEx++ |
| 11696 |
msglen |= int(b&0x7F) << shift |
| 11697 |
if b < 0x80 { |
| 11698 |
break |
| 11699 |
} |
| 11700 |
} |
| 11701 |
if msglen < 0 { |
| 11702 |
return ErrInvalidLengthTypes |
| 11703 |
} |
| 11704 |
postIndex := iNdEx + msglen |
| 11705 |
if postIndex < 0 { |
| 11706 |
return ErrInvalidLengthTypes |
| 11707 |
} |
| 11708 |
if postIndex > l { |
| 11709 |
return io.ErrUnexpectedEOF |
| 11710 |
} |
| 11711 |
if m.Dur == nil { |
| 11712 |
m.Dur = &types.Duration{} |
| 11713 |
} |
| 11714 |
if err := m.Dur.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11715 |
return err |
| 11716 |
} |
| 11717 |
iNdEx = postIndex |
| 11718 |
case 2: |
| 11719 |
if wireType != 2 { |
| 11720 |
return fmt.Errorf("proto: wrong wireType = %d for field Ts", wireType) |
| 11721 |
} |
| 11722 |
var msglen int |
| 11723 |
for shift := uint(0); ; shift += 7 { |
| 11724 |
if shift >= 64 { |
| 11725 |
return ErrIntOverflowTypes |
| 11726 |
} |
| 11727 |
if iNdEx >= l { |
| 11728 |
return io.ErrUnexpectedEOF |
| 11729 |
} |
| 11730 |
b := dAtA[iNdEx] |
| 11731 |
iNdEx++ |
| 11732 |
msglen |= int(b&0x7F) << shift |
| 11733 |
if b < 0x80 { |
| 11734 |
break |
| 11735 |
} |
| 11736 |
} |
| 11737 |
if msglen < 0 { |
| 11738 |
return ErrInvalidLengthTypes |
| 11739 |
} |
| 11740 |
postIndex := iNdEx + msglen |
| 11741 |
if postIndex < 0 { |
| 11742 |
return ErrInvalidLengthTypes |
| 11743 |
} |
| 11744 |
if postIndex > l { |
| 11745 |
return io.ErrUnexpectedEOF |
| 11746 |
} |
| 11747 |
if m.Ts == nil { |
| 11748 |
m.Ts = &types.Timestamp{} |
| 11749 |
} |
| 11750 |
if err := m.Ts.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11751 |
return err |
| 11752 |
} |
| 11753 |
iNdEx = postIndex |
| 11754 |
case 3: |
| 11755 |
if wireType != 2 { |
| 11756 |
return fmt.Errorf("proto: wrong wireType = %d for field Dbl", wireType) |
| 11757 |
} |
| 11758 |
var msglen int |
| 11759 |
for shift := uint(0); ; shift += 7 { |
| 11760 |
if shift >= 64 { |
| 11761 |
return ErrIntOverflowTypes |
| 11762 |
} |
| 11763 |
if iNdEx >= l { |
| 11764 |
return io.ErrUnexpectedEOF |
| 11765 |
} |
| 11766 |
b := dAtA[iNdEx] |
| 11767 |
iNdEx++ |
| 11768 |
msglen |= int(b&0x7F) << shift |
| 11769 |
if b < 0x80 { |
| 11770 |
break |
| 11771 |
} |
| 11772 |
} |
| 11773 |
if msglen < 0 { |
| 11774 |
return ErrInvalidLengthTypes |
| 11775 |
} |
| 11776 |
postIndex := iNdEx + msglen |
| 11777 |
if postIndex < 0 { |
| 11778 |
return ErrInvalidLengthTypes |
| 11779 |
} |
| 11780 |
if postIndex > l { |
| 11781 |
return io.ErrUnexpectedEOF |
| 11782 |
} |
| 11783 |
if m.Dbl == nil { |
| 11784 |
m.Dbl = &types.DoubleValue{} |
| 11785 |
} |
| 11786 |
if err := m.Dbl.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11787 |
return err |
| 11788 |
} |
| 11789 |
iNdEx = postIndex |
| 11790 |
case 4: |
| 11791 |
if wireType != 2 { |
| 11792 |
return fmt.Errorf("proto: wrong wireType = %d for field Flt", wireType) |
| 11793 |
} |
| 11794 |
var msglen int |
| 11795 |
for shift := uint(0); ; shift += 7 { |
| 11796 |
if shift >= 64 { |
| 11797 |
return ErrIntOverflowTypes |
| 11798 |
} |
| 11799 |
if iNdEx >= l { |
| 11800 |
return io.ErrUnexpectedEOF |
| 11801 |
} |
| 11802 |
b := dAtA[iNdEx] |
| 11803 |
iNdEx++ |
| 11804 |
msglen |= int(b&0x7F) << shift |
| 11805 |
if b < 0x80 { |
| 11806 |
break |
| 11807 |
} |
| 11808 |
} |
| 11809 |
if msglen < 0 { |
| 11810 |
return ErrInvalidLengthTypes |
| 11811 |
} |
| 11812 |
postIndex := iNdEx + msglen |
| 11813 |
if postIndex < 0 { |
| 11814 |
return ErrInvalidLengthTypes |
| 11815 |
} |
| 11816 |
if postIndex > l { |
| 11817 |
return io.ErrUnexpectedEOF |
| 11818 |
} |
| 11819 |
if m.Flt == nil { |
| 11820 |
m.Flt = &types.FloatValue{} |
| 11821 |
} |
| 11822 |
if err := m.Flt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11823 |
return err |
| 11824 |
} |
| 11825 |
iNdEx = postIndex |
| 11826 |
case 5: |
| 11827 |
if wireType != 2 { |
| 11828 |
return fmt.Errorf("proto: wrong wireType = %d for field I64", wireType) |
| 11829 |
} |
| 11830 |
var msglen int |
| 11831 |
for shift := uint(0); ; shift += 7 { |
| 11832 |
if shift >= 64 { |
| 11833 |
return ErrIntOverflowTypes |
| 11834 |
} |
| 11835 |
if iNdEx >= l { |
| 11836 |
return io.ErrUnexpectedEOF |
| 11837 |
} |
| 11838 |
b := dAtA[iNdEx] |
| 11839 |
iNdEx++ |
| 11840 |
msglen |= int(b&0x7F) << shift |
| 11841 |
if b < 0x80 { |
| 11842 |
break |
| 11843 |
} |
| 11844 |
} |
| 11845 |
if msglen < 0 { |
| 11846 |
return ErrInvalidLengthTypes |
| 11847 |
} |
| 11848 |
postIndex := iNdEx + msglen |
| 11849 |
if postIndex < 0 { |
| 11850 |
return ErrInvalidLengthTypes |
| 11851 |
} |
| 11852 |
if postIndex > l { |
| 11853 |
return io.ErrUnexpectedEOF |
| 11854 |
} |
| 11855 |
if m.I64 == nil { |
| 11856 |
m.I64 = &types.Int64Value{} |
| 11857 |
} |
| 11858 |
if err := m.I64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11859 |
return err |
| 11860 |
} |
| 11861 |
iNdEx = postIndex |
| 11862 |
case 6: |
| 11863 |
if wireType != 2 { |
| 11864 |
return fmt.Errorf("proto: wrong wireType = %d for field U64", wireType) |
| 11865 |
} |
| 11866 |
var msglen int |
| 11867 |
for shift := uint(0); ; shift += 7 { |
| 11868 |
if shift >= 64 { |
| 11869 |
return ErrIntOverflowTypes |
| 11870 |
} |
| 11871 |
if iNdEx >= l { |
| 11872 |
return io.ErrUnexpectedEOF |
| 11873 |
} |
| 11874 |
b := dAtA[iNdEx] |
| 11875 |
iNdEx++ |
| 11876 |
msglen |= int(b&0x7F) << shift |
| 11877 |
if b < 0x80 { |
| 11878 |
break |
| 11879 |
} |
| 11880 |
} |
| 11881 |
if msglen < 0 { |
| 11882 |
return ErrInvalidLengthTypes |
| 11883 |
} |
| 11884 |
postIndex := iNdEx + msglen |
| 11885 |
if postIndex < 0 { |
| 11886 |
return ErrInvalidLengthTypes |
| 11887 |
} |
| 11888 |
if postIndex > l { |
| 11889 |
return io.ErrUnexpectedEOF |
| 11890 |
} |
| 11891 |
if m.U64 == nil { |
| 11892 |
m.U64 = &types.UInt64Value{} |
| 11893 |
} |
| 11894 |
if err := m.U64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11895 |
return err |
| 11896 |
} |
| 11897 |
iNdEx = postIndex |
| 11898 |
case 7: |
| 11899 |
if wireType != 2 { |
| 11900 |
return fmt.Errorf("proto: wrong wireType = %d for field I32", wireType) |
| 11901 |
} |
| 11902 |
var msglen int |
| 11903 |
for shift := uint(0); ; shift += 7 { |
| 11904 |
if shift >= 64 { |
| 11905 |
return ErrIntOverflowTypes |
| 11906 |
} |
| 11907 |
if iNdEx >= l { |
| 11908 |
return io.ErrUnexpectedEOF |
| 11909 |
} |
| 11910 |
b := dAtA[iNdEx] |
| 11911 |
iNdEx++ |
| 11912 |
msglen |= int(b&0x7F) << shift |
| 11913 |
if b < 0x80 { |
| 11914 |
break |
| 11915 |
} |
| 11916 |
} |
| 11917 |
if msglen < 0 { |
| 11918 |
return ErrInvalidLengthTypes |
| 11919 |
} |
| 11920 |
postIndex := iNdEx + msglen |
| 11921 |
if postIndex < 0 { |
| 11922 |
return ErrInvalidLengthTypes |
| 11923 |
} |
| 11924 |
if postIndex > l { |
| 11925 |
return io.ErrUnexpectedEOF |
| 11926 |
} |
| 11927 |
if m.I32 == nil { |
| 11928 |
m.I32 = &types.Int32Value{} |
| 11929 |
} |
| 11930 |
if err := m.I32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11931 |
return err |
| 11932 |
} |
| 11933 |
iNdEx = postIndex |
| 11934 |
case 8: |
| 11935 |
if wireType != 2 { |
| 11936 |
return fmt.Errorf("proto: wrong wireType = %d for field U32", wireType) |
| 11937 |
} |
| 11938 |
var msglen int |
| 11939 |
for shift := uint(0); ; shift += 7 { |
| 11940 |
if shift >= 64 { |
| 11941 |
return ErrIntOverflowTypes |
| 11942 |
} |
| 11943 |
if iNdEx >= l { |
| 11944 |
return io.ErrUnexpectedEOF |
| 11945 |
} |
| 11946 |
b := dAtA[iNdEx] |
| 11947 |
iNdEx++ |
| 11948 |
msglen |= int(b&0x7F) << shift |
| 11949 |
if b < 0x80 { |
| 11950 |
break |
| 11951 |
} |
| 11952 |
} |
| 11953 |
if msglen < 0 { |
| 11954 |
return ErrInvalidLengthTypes |
| 11955 |
} |
| 11956 |
postIndex := iNdEx + msglen |
| 11957 |
if postIndex < 0 { |
| 11958 |
return ErrInvalidLengthTypes |
| 11959 |
} |
| 11960 |
if postIndex > l { |
| 11961 |
return io.ErrUnexpectedEOF |
| 11962 |
} |
| 11963 |
if m.U32 == nil { |
| 11964 |
m.U32 = &types.UInt32Value{} |
| 11965 |
} |
| 11966 |
if err := m.U32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11967 |
return err |
| 11968 |
} |
| 11969 |
iNdEx = postIndex |
| 11970 |
case 9: |
| 11971 |
if wireType != 2 { |
| 11972 |
return fmt.Errorf("proto: wrong wireType = %d for field Bool", wireType) |
| 11973 |
} |
| 11974 |
var msglen int |
| 11975 |
for shift := uint(0); ; shift += 7 { |
| 11976 |
if shift >= 64 { |
| 11977 |
return ErrIntOverflowTypes |
| 11978 |
} |
| 11979 |
if iNdEx >= l { |
| 11980 |
return io.ErrUnexpectedEOF |
| 11981 |
} |
| 11982 |
b := dAtA[iNdEx] |
| 11983 |
iNdEx++ |
| 11984 |
msglen |= int(b&0x7F) << shift |
| 11985 |
if b < 0x80 { |
| 11986 |
break |
| 11987 |
} |
| 11988 |
} |
| 11989 |
if msglen < 0 { |
| 11990 |
return ErrInvalidLengthTypes |
| 11991 |
} |
| 11992 |
postIndex := iNdEx + msglen |
| 11993 |
if postIndex < 0 { |
| 11994 |
return ErrInvalidLengthTypes |
| 11995 |
} |
| 11996 |
if postIndex > l { |
| 11997 |
return io.ErrUnexpectedEOF |
| 11998 |
} |
| 11999 |
if m.Bool == nil { |
| 12000 |
m.Bool = &types.BoolValue{} |
| 12001 |
} |
| 12002 |
if err := m.Bool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12003 |
return err |
| 12004 |
} |
| 12005 |
iNdEx = postIndex |
| 12006 |
case 10: |
| 12007 |
if wireType != 2 { |
| 12008 |
return fmt.Errorf("proto: wrong wireType = %d for field Str", wireType) |
| 12009 |
} |
| 12010 |
var msglen int |
| 12011 |
for shift := uint(0); ; shift += 7 { |
| 12012 |
if shift >= 64 { |
| 12013 |
return ErrIntOverflowTypes |
| 12014 |
} |
| 12015 |
if iNdEx >= l { |
| 12016 |
return io.ErrUnexpectedEOF |
| 12017 |
} |
| 12018 |
b := dAtA[iNdEx] |
| 12019 |
iNdEx++ |
| 12020 |
msglen |= int(b&0x7F) << shift |
| 12021 |
if b < 0x80 { |
| 12022 |
break |
| 12023 |
} |
| 12024 |
} |
| 12025 |
if msglen < 0 { |
| 12026 |
return ErrInvalidLengthTypes |
| 12027 |
} |
| 12028 |
postIndex := iNdEx + msglen |
| 12029 |
if postIndex < 0 { |
| 12030 |
return ErrInvalidLengthTypes |
| 12031 |
} |
| 12032 |
if postIndex > l { |
| 12033 |
return io.ErrUnexpectedEOF |
| 12034 |
} |
| 12035 |
if m.Str == nil { |
| 12036 |
m.Str = &types.StringValue{} |
| 12037 |
} |
| 12038 |
if err := m.Str.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12039 |
return err |
| 12040 |
} |
| 12041 |
iNdEx = postIndex |
| 12042 |
case 11: |
| 12043 |
if wireType != 2 { |
| 12044 |
return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) |
| 12045 |
} |
| 12046 |
var msglen int |
| 12047 |
for shift := uint(0); ; shift += 7 { |
| 12048 |
if shift >= 64 { |
| 12049 |
return ErrIntOverflowTypes |
| 12050 |
} |
| 12051 |
if iNdEx >= l { |
| 12052 |
return io.ErrUnexpectedEOF |
| 12053 |
} |
| 12054 |
b := dAtA[iNdEx] |
| 12055 |
iNdEx++ |
| 12056 |
msglen |= int(b&0x7F) << shift |
| 12057 |
if b < 0x80 { |
| 12058 |
break |
| 12059 |
} |
| 12060 |
} |
| 12061 |
if msglen < 0 { |
| 12062 |
return ErrInvalidLengthTypes |
| 12063 |
} |
| 12064 |
postIndex := iNdEx + msglen |
| 12065 |
if postIndex < 0 { |
| 12066 |
return ErrInvalidLengthTypes |
| 12067 |
} |
| 12068 |
if postIndex > l { |
| 12069 |
return io.ErrUnexpectedEOF |
| 12070 |
} |
| 12071 |
if m.Bytes == nil { |
| 12072 |
m.Bytes = &types.BytesValue{} |
| 12073 |
} |
| 12074 |
if err := m.Bytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12075 |
return err |
| 12076 |
} |
| 12077 |
iNdEx = postIndex |
| 12078 |
case 12: |
| 12079 |
if wireType != 2 { |
| 12080 |
return fmt.Errorf("proto: wrong wireType = %d for field St", wireType) |
| 12081 |
} |
| 12082 |
var msglen int |
| 12083 |
for shift := uint(0); ; shift += 7 { |
| 12084 |
if shift >= 64 { |
| 12085 |
return ErrIntOverflowTypes |
| 12086 |
} |
| 12087 |
if iNdEx >= l { |
| 12088 |
return io.ErrUnexpectedEOF |
| 12089 |
} |
| 12090 |
b := dAtA[iNdEx] |
| 12091 |
iNdEx++ |
| 12092 |
msglen |= int(b&0x7F) << shift |
| 12093 |
if b < 0x80 { |
| 12094 |
break |
| 12095 |
} |
| 12096 |
} |
| 12097 |
if msglen < 0 { |
| 12098 |
return ErrInvalidLengthTypes |
| 12099 |
} |
| 12100 |
postIndex := iNdEx + msglen |
| 12101 |
if postIndex < 0 { |
| 12102 |
return ErrInvalidLengthTypes |
| 12103 |
} |
| 12104 |
if postIndex > l { |
| 12105 |
return io.ErrUnexpectedEOF |
| 12106 |
} |
| 12107 |
if m.St == nil { |
| 12108 |
m.St = &types.Struct{} |
| 12109 |
} |
| 12110 |
if err := m.St.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12111 |
return err |
| 12112 |
} |
| 12113 |
iNdEx = postIndex |
| 12114 |
default: |
| 12115 |
iNdEx = preIndex |
| 12116 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 12117 |
if err != nil { |
| 12118 |
return err |
| 12119 |
} |
| 12120 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 12121 |
return ErrInvalidLengthTypes |
| 12122 |
} |
| 12123 |
if (iNdEx + skippy) > l { |
| 12124 |
return io.ErrUnexpectedEOF |
| 12125 |
} |
| 12126 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 12127 |
iNdEx += skippy |
| 12128 |
} |
| 12129 |
} |
| 12130 |
|
| 12131 |
if iNdEx > l { |
| 12132 |
return io.ErrUnexpectedEOF |
| 12133 |
} |
| 12134 |
return nil |
| 12135 |
} |
| 12136 |
func (m *ProtoTypes) Unmarshal(dAtA []byte) error { |
| 12137 |
l := len(dAtA) |
| 12138 |
iNdEx := 0 |
| 12139 |
for iNdEx < l { |
| 12140 |
preIndex := iNdEx |
| 12141 |
var wire uint64 |
| 12142 |
for shift := uint(0); ; shift += 7 { |
| 12143 |
if shift >= 64 { |
| 12144 |
return ErrIntOverflowTypes |
| 12145 |
} |
| 12146 |
if iNdEx >= l { |
| 12147 |
return io.ErrUnexpectedEOF |
| 12148 |
} |
| 12149 |
b := dAtA[iNdEx] |
| 12150 |
iNdEx++ |
| 12151 |
wire |= uint64(b&0x7F) << shift |
| 12152 |
if b < 0x80 { |
| 12153 |
break |
| 12154 |
} |
| 12155 |
} |
| 12156 |
fieldNum := int32(wire >> 3) |
| 12157 |
wireType := int(wire & 0x7) |
| 12158 |
if wireType == 4 { |
| 12159 |
return fmt.Errorf("proto: ProtoTypes: wiretype end group for non-group") |
| 12160 |
} |
| 12161 |
if fieldNum <= 0 { |
| 12162 |
return fmt.Errorf("proto: ProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 12163 |
} |
| 12164 |
switch fieldNum { |
| 12165 |
case 1: |
| 12166 |
if wireType != 2 { |
| 12167 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) |
| 12168 |
} |
| 12169 |
var msglen int |
| 12170 |
for shift := uint(0); ; shift += 7 { |
| 12171 |
if shift >= 64 { |
| 12172 |
return ErrIntOverflowTypes |
| 12173 |
} |
| 12174 |
if iNdEx >= l { |
| 12175 |
return io.ErrUnexpectedEOF |
| 12176 |
} |
| 12177 |
b := dAtA[iNdEx] |
| 12178 |
iNdEx++ |
| 12179 |
msglen |= int(b&0x7F) << shift |
| 12180 |
if b < 0x80 { |
| 12181 |
break |
| 12182 |
} |
| 12183 |
} |
| 12184 |
if msglen < 0 { |
| 12185 |
return ErrInvalidLengthTypes |
| 12186 |
} |
| 12187 |
postIndex := iNdEx + msglen |
| 12188 |
if postIndex < 0 { |
| 12189 |
return ErrInvalidLengthTypes |
| 12190 |
} |
| 12191 |
if postIndex > l { |
| 12192 |
return io.ErrUnexpectedEOF |
| 12193 |
} |
| 12194 |
if m.NullableTimestamp == nil { |
| 12195 |
m.NullableTimestamp = &types.Timestamp{} |
| 12196 |
} |
| 12197 |
if err := m.NullableTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12198 |
return err |
| 12199 |
} |
| 12200 |
iNdEx = postIndex |
| 12201 |
case 2: |
| 12202 |
if wireType != 2 { |
| 12203 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) |
| 12204 |
} |
| 12205 |
var msglen int |
| 12206 |
for shift := uint(0); ; shift += 7 { |
| 12207 |
if shift >= 64 { |
| 12208 |
return ErrIntOverflowTypes |
| 12209 |
} |
| 12210 |
if iNdEx >= l { |
| 12211 |
return io.ErrUnexpectedEOF |
| 12212 |
} |
| 12213 |
b := dAtA[iNdEx] |
| 12214 |
iNdEx++ |
| 12215 |
msglen |= int(b&0x7F) << shift |
| 12216 |
if b < 0x80 { |
| 12217 |
break |
| 12218 |
} |
| 12219 |
} |
| 12220 |
if msglen < 0 { |
| 12221 |
return ErrInvalidLengthTypes |
| 12222 |
} |
| 12223 |
postIndex := iNdEx + msglen |
| 12224 |
if postIndex < 0 { |
| 12225 |
return ErrInvalidLengthTypes |
| 12226 |
} |
| 12227 |
if postIndex > l { |
| 12228 |
return io.ErrUnexpectedEOF |
| 12229 |
} |
| 12230 |
if m.NullableDuration == nil { |
| 12231 |
m.NullableDuration = &types.Duration{} |
| 12232 |
} |
| 12233 |
if err := m.NullableDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12234 |
return err |
| 12235 |
} |
| 12236 |
iNdEx = postIndex |
| 12237 |
case 3: |
| 12238 |
if wireType != 2 { |
| 12239 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) |
| 12240 |
} |
| 12241 |
var msglen int |
| 12242 |
for shift := uint(0); ; shift += 7 { |
| 12243 |
if shift >= 64 { |
| 12244 |
return ErrIntOverflowTypes |
| 12245 |
} |
| 12246 |
if iNdEx >= l { |
| 12247 |
return io.ErrUnexpectedEOF |
| 12248 |
} |
| 12249 |
b := dAtA[iNdEx] |
| 12250 |
iNdEx++ |
| 12251 |
msglen |= int(b&0x7F) << shift |
| 12252 |
if b < 0x80 { |
| 12253 |
break |
| 12254 |
} |
| 12255 |
} |
| 12256 |
if msglen < 0 { |
| 12257 |
return ErrInvalidLengthTypes |
| 12258 |
} |
| 12259 |
postIndex := iNdEx + msglen |
| 12260 |
if postIndex < 0 { |
| 12261 |
return ErrInvalidLengthTypes |
| 12262 |
} |
| 12263 |
if postIndex > l { |
| 12264 |
return io.ErrUnexpectedEOF |
| 12265 |
} |
| 12266 |
if m.NullableDouble == nil { |
| 12267 |
m.NullableDouble = &types.DoubleValue{} |
| 12268 |
} |
| 12269 |
if err := m.NullableDouble.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12270 |
return err |
| 12271 |
} |
| 12272 |
iNdEx = postIndex |
| 12273 |
case 4: |
| 12274 |
if wireType != 2 { |
| 12275 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) |
| 12276 |
} |
| 12277 |
var msglen int |
| 12278 |
for shift := uint(0); ; shift += 7 { |
| 12279 |
if shift >= 64 { |
| 12280 |
return ErrIntOverflowTypes |
| 12281 |
} |
| 12282 |
if iNdEx >= l { |
| 12283 |
return io.ErrUnexpectedEOF |
| 12284 |
} |
| 12285 |
b := dAtA[iNdEx] |
| 12286 |
iNdEx++ |
| 12287 |
msglen |= int(b&0x7F) << shift |
| 12288 |
if b < 0x80 { |
| 12289 |
break |
| 12290 |
} |
| 12291 |
} |
| 12292 |
if msglen < 0 { |
| 12293 |
return ErrInvalidLengthTypes |
| 12294 |
} |
| 12295 |
postIndex := iNdEx + msglen |
| 12296 |
if postIndex < 0 { |
| 12297 |
return ErrInvalidLengthTypes |
| 12298 |
} |
| 12299 |
if postIndex > l { |
| 12300 |
return io.ErrUnexpectedEOF |
| 12301 |
} |
| 12302 |
if m.NullableFloat == nil { |
| 12303 |
m.NullableFloat = &types.FloatValue{} |
| 12304 |
} |
| 12305 |
if err := m.NullableFloat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12306 |
return err |
| 12307 |
} |
| 12308 |
iNdEx = postIndex |
| 12309 |
case 5: |
| 12310 |
if wireType != 2 { |
| 12311 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) |
| 12312 |
} |
| 12313 |
var msglen int |
| 12314 |
for shift := uint(0); ; shift += 7 { |
| 12315 |
if shift >= 64 { |
| 12316 |
return ErrIntOverflowTypes |
| 12317 |
} |
| 12318 |
if iNdEx >= l { |
| 12319 |
return io.ErrUnexpectedEOF |
| 12320 |
} |
| 12321 |
b := dAtA[iNdEx] |
| 12322 |
iNdEx++ |
| 12323 |
msglen |= int(b&0x7F) << shift |
| 12324 |
if b < 0x80 { |
| 12325 |
break |
| 12326 |
} |
| 12327 |
} |
| 12328 |
if msglen < 0 { |
| 12329 |
return ErrInvalidLengthTypes |
| 12330 |
} |
| 12331 |
postIndex := iNdEx + msglen |
| 12332 |
if postIndex < 0 { |
| 12333 |
return ErrInvalidLengthTypes |
| 12334 |
} |
| 12335 |
if postIndex > l { |
| 12336 |
return io.ErrUnexpectedEOF |
| 12337 |
} |
| 12338 |
if m.NullableInt64 == nil { |
| 12339 |
m.NullableInt64 = &types.Int64Value{} |
| 12340 |
} |
| 12341 |
if err := m.NullableInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12342 |
return err |
| 12343 |
} |
| 12344 |
iNdEx = postIndex |
| 12345 |
case 6: |
| 12346 |
if wireType != 2 { |
| 12347 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) |
| 12348 |
} |
| 12349 |
var msglen int |
| 12350 |
for shift := uint(0); ; shift += 7 { |
| 12351 |
if shift >= 64 { |
| 12352 |
return ErrIntOverflowTypes |
| 12353 |
} |
| 12354 |
if iNdEx >= l { |
| 12355 |
return io.ErrUnexpectedEOF |
| 12356 |
} |
| 12357 |
b := dAtA[iNdEx] |
| 12358 |
iNdEx++ |
| 12359 |
msglen |= int(b&0x7F) << shift |
| 12360 |
if b < 0x80 { |
| 12361 |
break |
| 12362 |
} |
| 12363 |
} |
| 12364 |
if msglen < 0 { |
| 12365 |
return ErrInvalidLengthTypes |
| 12366 |
} |
| 12367 |
postIndex := iNdEx + msglen |
| 12368 |
if postIndex < 0 { |
| 12369 |
return ErrInvalidLengthTypes |
| 12370 |
} |
| 12371 |
if postIndex > l { |
| 12372 |
return io.ErrUnexpectedEOF |
| 12373 |
} |
| 12374 |
if m.NullableUInt64 == nil { |
| 12375 |
m.NullableUInt64 = &types.UInt64Value{} |
| 12376 |
} |
| 12377 |
if err := m.NullableUInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12378 |
return err |
| 12379 |
} |
| 12380 |
iNdEx = postIndex |
| 12381 |
case 7: |
| 12382 |
if wireType != 2 { |
| 12383 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) |
| 12384 |
} |
| 12385 |
var msglen int |
| 12386 |
for shift := uint(0); ; shift += 7 { |
| 12387 |
if shift >= 64 { |
| 12388 |
return ErrIntOverflowTypes |
| 12389 |
} |
| 12390 |
if iNdEx >= l { |
| 12391 |
return io.ErrUnexpectedEOF |
| 12392 |
} |
| 12393 |
b := dAtA[iNdEx] |
| 12394 |
iNdEx++ |
| 12395 |
msglen |= int(b&0x7F) << shift |
| 12396 |
if b < 0x80 { |
| 12397 |
break |
| 12398 |
} |
| 12399 |
} |
| 12400 |
if msglen < 0 { |
| 12401 |
return ErrInvalidLengthTypes |
| 12402 |
} |
| 12403 |
postIndex := iNdEx + msglen |
| 12404 |
if postIndex < 0 { |
| 12405 |
return ErrInvalidLengthTypes |
| 12406 |
} |
| 12407 |
if postIndex > l { |
| 12408 |
return io.ErrUnexpectedEOF |
| 12409 |
} |
| 12410 |
if m.NullableInt32 == nil { |
| 12411 |
m.NullableInt32 = &types.Int32Value{} |
| 12412 |
} |
| 12413 |
if err := m.NullableInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12414 |
return err |
| 12415 |
} |
| 12416 |
iNdEx = postIndex |
| 12417 |
case 8: |
| 12418 |
if wireType != 2 { |
| 12419 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) |
| 12420 |
} |
| 12421 |
var msglen int |
| 12422 |
for shift := uint(0); ; shift += 7 { |
| 12423 |
if shift >= 64 { |
| 12424 |
return ErrIntOverflowTypes |
| 12425 |
} |
| 12426 |
if iNdEx >= l { |
| 12427 |
return io.ErrUnexpectedEOF |
| 12428 |
} |
| 12429 |
b := dAtA[iNdEx] |
| 12430 |
iNdEx++ |
| 12431 |
msglen |= int(b&0x7F) << shift |
| 12432 |
if b < 0x80 { |
| 12433 |
break |
| 12434 |
} |
| 12435 |
} |
| 12436 |
if msglen < 0 { |
| 12437 |
return ErrInvalidLengthTypes |
| 12438 |
} |
| 12439 |
postIndex := iNdEx + msglen |
| 12440 |
if postIndex < 0 { |
| 12441 |
return ErrInvalidLengthTypes |
| 12442 |
} |
| 12443 |
if postIndex > l { |
| 12444 |
return io.ErrUnexpectedEOF |
| 12445 |
} |
| 12446 |
if m.NullableUInt32 == nil { |
| 12447 |
m.NullableUInt32 = &types.UInt32Value{} |
| 12448 |
} |
| 12449 |
if err := m.NullableUInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12450 |
return err |
| 12451 |
} |
| 12452 |
iNdEx = postIndex |
| 12453 |
case 9: |
| 12454 |
if wireType != 2 { |
| 12455 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) |
| 12456 |
} |
| 12457 |
var msglen int |
| 12458 |
for shift := uint(0); ; shift += 7 { |
| 12459 |
if shift >= 64 { |
| 12460 |
return ErrIntOverflowTypes |
| 12461 |
} |
| 12462 |
if iNdEx >= l { |
| 12463 |
return io.ErrUnexpectedEOF |
| 12464 |
} |
| 12465 |
b := dAtA[iNdEx] |
| 12466 |
iNdEx++ |
| 12467 |
msglen |= int(b&0x7F) << shift |
| 12468 |
if b < 0x80 { |
| 12469 |
break |
| 12470 |
} |
| 12471 |
} |
| 12472 |
if msglen < 0 { |
| 12473 |
return ErrInvalidLengthTypes |
| 12474 |
} |
| 12475 |
postIndex := iNdEx + msglen |
| 12476 |
if postIndex < 0 { |
| 12477 |
return ErrInvalidLengthTypes |
| 12478 |
} |
| 12479 |
if postIndex > l { |
| 12480 |
return io.ErrUnexpectedEOF |
| 12481 |
} |
| 12482 |
if m.NullableBool == nil { |
| 12483 |
m.NullableBool = &types.BoolValue{} |
| 12484 |
} |
| 12485 |
if err := m.NullableBool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12486 |
return err |
| 12487 |
} |
| 12488 |
iNdEx = postIndex |
| 12489 |
case 10: |
| 12490 |
if wireType != 2 { |
| 12491 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) |
| 12492 |
} |
| 12493 |
var msglen int |
| 12494 |
for shift := uint(0); ; shift += 7 { |
| 12495 |
if shift >= 64 { |
| 12496 |
return ErrIntOverflowTypes |
| 12497 |
} |
| 12498 |
if iNdEx >= l { |
| 12499 |
return io.ErrUnexpectedEOF |
| 12500 |
} |
| 12501 |
b := dAtA[iNdEx] |
| 12502 |
iNdEx++ |
| 12503 |
msglen |= int(b&0x7F) << shift |
| 12504 |
if b < 0x80 { |
| 12505 |
break |
| 12506 |
} |
| 12507 |
} |
| 12508 |
if msglen < 0 { |
| 12509 |
return ErrInvalidLengthTypes |
| 12510 |
} |
| 12511 |
postIndex := iNdEx + msglen |
| 12512 |
if postIndex < 0 { |
| 12513 |
return ErrInvalidLengthTypes |
| 12514 |
} |
| 12515 |
if postIndex > l { |
| 12516 |
return io.ErrUnexpectedEOF |
| 12517 |
} |
| 12518 |
if m.NullableString == nil { |
| 12519 |
m.NullableString = &types.StringValue{} |
| 12520 |
} |
| 12521 |
if err := m.NullableString.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12522 |
return err |
| 12523 |
} |
| 12524 |
iNdEx = postIndex |
| 12525 |
case 11: |
| 12526 |
if wireType != 2 { |
| 12527 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) |
| 12528 |
} |
| 12529 |
var msglen int |
| 12530 |
for shift := uint(0); ; shift += 7 { |
| 12531 |
if shift >= 64 { |
| 12532 |
return ErrIntOverflowTypes |
| 12533 |
} |
| 12534 |
if iNdEx >= l { |
| 12535 |
return io.ErrUnexpectedEOF |
| 12536 |
} |
| 12537 |
b := dAtA[iNdEx] |
| 12538 |
iNdEx++ |
| 12539 |
msglen |= int(b&0x7F) << shift |
| 12540 |
if b < 0x80 { |
| 12541 |
break |
| 12542 |
} |
| 12543 |
} |
| 12544 |
if msglen < 0 { |
| 12545 |
return ErrInvalidLengthTypes |
| 12546 |
} |
| 12547 |
postIndex := iNdEx + msglen |
| 12548 |
if postIndex < 0 { |
| 12549 |
return ErrInvalidLengthTypes |
| 12550 |
} |
| 12551 |
if postIndex > l { |
| 12552 |
return io.ErrUnexpectedEOF |
| 12553 |
} |
| 12554 |
if m.NullableBytes == nil { |
| 12555 |
m.NullableBytes = &types.BytesValue{} |
| 12556 |
} |
| 12557 |
if err := m.NullableBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12558 |
return err |
| 12559 |
} |
| 12560 |
iNdEx = postIndex |
| 12561 |
case 12: |
| 12562 |
if wireType != 2 { |
| 12563 |
return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) |
| 12564 |
} |
| 12565 |
var msglen int |
| 12566 |
for shift := uint(0); ; shift += 7 { |
| 12567 |
if shift >= 64 { |
| 12568 |
return ErrIntOverflowTypes |
| 12569 |
} |
| 12570 |
if iNdEx >= l { |
| 12571 |
return io.ErrUnexpectedEOF |
| 12572 |
} |
| 12573 |
b := dAtA[iNdEx] |
| 12574 |
iNdEx++ |
| 12575 |
msglen |= int(b&0x7F) << shift |
| 12576 |
if b < 0x80 { |
| 12577 |
break |
| 12578 |
} |
| 12579 |
} |
| 12580 |
if msglen < 0 { |
| 12581 |
return ErrInvalidLengthTypes |
| 12582 |
} |
| 12583 |
postIndex := iNdEx + msglen |
| 12584 |
if postIndex < 0 { |
| 12585 |
return ErrInvalidLengthTypes |
| 12586 |
} |
| 12587 |
if postIndex > l { |
| 12588 |
return io.ErrUnexpectedEOF |
| 12589 |
} |
| 12590 |
if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12591 |
return err |
| 12592 |
} |
| 12593 |
iNdEx = postIndex |
| 12594 |
case 13: |
| 12595 |
if wireType != 2 { |
| 12596 |
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) |
| 12597 |
} |
| 12598 |
var msglen int |
| 12599 |
for shift := uint(0); ; shift += 7 { |
| 12600 |
if shift >= 64 { |
| 12601 |
return ErrIntOverflowTypes |
| 12602 |
} |
| 12603 |
if iNdEx >= l { |
| 12604 |
return io.ErrUnexpectedEOF |
| 12605 |
} |
| 12606 |
b := dAtA[iNdEx] |
| 12607 |
iNdEx++ |
| 12608 |
msglen |= int(b&0x7F) << shift |
| 12609 |
if b < 0x80 { |
| 12610 |
break |
| 12611 |
} |
| 12612 |
} |
| 12613 |
if msglen < 0 { |
| 12614 |
return ErrInvalidLengthTypes |
| 12615 |
} |
| 12616 |
postIndex := iNdEx + msglen |
| 12617 |
if postIndex < 0 { |
| 12618 |
return ErrInvalidLengthTypes |
| 12619 |
} |
| 12620 |
if postIndex > l { |
| 12621 |
return io.ErrUnexpectedEOF |
| 12622 |
} |
| 12623 |
if err := m.Duration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12624 |
return err |
| 12625 |
} |
| 12626 |
iNdEx = postIndex |
| 12627 |
case 14: |
| 12628 |
if wireType != 2 { |
| 12629 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) |
| 12630 |
} |
| 12631 |
var msglen int |
| 12632 |
for shift := uint(0); ; shift += 7 { |
| 12633 |
if shift >= 64 { |
| 12634 |
return ErrIntOverflowTypes |
| 12635 |
} |
| 12636 |
if iNdEx >= l { |
| 12637 |
return io.ErrUnexpectedEOF |
| 12638 |
} |
| 12639 |
b := dAtA[iNdEx] |
| 12640 |
iNdEx++ |
| 12641 |
msglen |= int(b&0x7F) << shift |
| 12642 |
if b < 0x80 { |
| 12643 |
break |
| 12644 |
} |
| 12645 |
} |
| 12646 |
if msglen < 0 { |
| 12647 |
return ErrInvalidLengthTypes |
| 12648 |
} |
| 12649 |
postIndex := iNdEx + msglen |
| 12650 |
if postIndex < 0 { |
| 12651 |
return ErrInvalidLengthTypes |
| 12652 |
} |
| 12653 |
if postIndex > l { |
| 12654 |
return io.ErrUnexpectedEOF |
| 12655 |
} |
| 12656 |
if err := m.NonnullDouble.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12657 |
return err |
| 12658 |
} |
| 12659 |
iNdEx = postIndex |
| 12660 |
case 15: |
| 12661 |
if wireType != 2 { |
| 12662 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) |
| 12663 |
} |
| 12664 |
var msglen int |
| 12665 |
for shift := uint(0); ; shift += 7 { |
| 12666 |
if shift >= 64 { |
| 12667 |
return ErrIntOverflowTypes |
| 12668 |
} |
| 12669 |
if iNdEx >= l { |
| 12670 |
return io.ErrUnexpectedEOF |
| 12671 |
} |
| 12672 |
b := dAtA[iNdEx] |
| 12673 |
iNdEx++ |
| 12674 |
msglen |= int(b&0x7F) << shift |
| 12675 |
if b < 0x80 { |
| 12676 |
break |
| 12677 |
} |
| 12678 |
} |
| 12679 |
if msglen < 0 { |
| 12680 |
return ErrInvalidLengthTypes |
| 12681 |
} |
| 12682 |
postIndex := iNdEx + msglen |
| 12683 |
if postIndex < 0 { |
| 12684 |
return ErrInvalidLengthTypes |
| 12685 |
} |
| 12686 |
if postIndex > l { |
| 12687 |
return io.ErrUnexpectedEOF |
| 12688 |
} |
| 12689 |
if err := m.NonnullFloat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12690 |
return err |
| 12691 |
} |
| 12692 |
iNdEx = postIndex |
| 12693 |
case 16: |
| 12694 |
if wireType != 2 { |
| 12695 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) |
| 12696 |
} |
| 12697 |
var msglen int |
| 12698 |
for shift := uint(0); ; shift += 7 { |
| 12699 |
if shift >= 64 { |
| 12700 |
return ErrIntOverflowTypes |
| 12701 |
} |
| 12702 |
if iNdEx >= l { |
| 12703 |
return io.ErrUnexpectedEOF |
| 12704 |
} |
| 12705 |
b := dAtA[iNdEx] |
| 12706 |
iNdEx++ |
| 12707 |
msglen |= int(b&0x7F) << shift |
| 12708 |
if b < 0x80 { |
| 12709 |
break |
| 12710 |
} |
| 12711 |
} |
| 12712 |
if msglen < 0 { |
| 12713 |
return ErrInvalidLengthTypes |
| 12714 |
} |
| 12715 |
postIndex := iNdEx + msglen |
| 12716 |
if postIndex < 0 { |
| 12717 |
return ErrInvalidLengthTypes |
| 12718 |
} |
| 12719 |
if postIndex > l { |
| 12720 |
return io.ErrUnexpectedEOF |
| 12721 |
} |
| 12722 |
if err := m.NonnullInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12723 |
return err |
| 12724 |
} |
| 12725 |
iNdEx = postIndex |
| 12726 |
case 17: |
| 12727 |
if wireType != 2 { |
| 12728 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) |
| 12729 |
} |
| 12730 |
var msglen int |
| 12731 |
for shift := uint(0); ; shift += 7 { |
| 12732 |
if shift >= 64 { |
| 12733 |
return ErrIntOverflowTypes |
| 12734 |
} |
| 12735 |
if iNdEx >= l { |
| 12736 |
return io.ErrUnexpectedEOF |
| 12737 |
} |
| 12738 |
b := dAtA[iNdEx] |
| 12739 |
iNdEx++ |
| 12740 |
msglen |= int(b&0x7F) << shift |
| 12741 |
if b < 0x80 { |
| 12742 |
break |
| 12743 |
} |
| 12744 |
} |
| 12745 |
if msglen < 0 { |
| 12746 |
return ErrInvalidLengthTypes |
| 12747 |
} |
| 12748 |
postIndex := iNdEx + msglen |
| 12749 |
if postIndex < 0 { |
| 12750 |
return ErrInvalidLengthTypes |
| 12751 |
} |
| 12752 |
if postIndex > l { |
| 12753 |
return io.ErrUnexpectedEOF |
| 12754 |
} |
| 12755 |
if err := m.NonnullUInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12756 |
return err |
| 12757 |
} |
| 12758 |
iNdEx = postIndex |
| 12759 |
case 18: |
| 12760 |
if wireType != 2 { |
| 12761 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) |
| 12762 |
} |
| 12763 |
var msglen int |
| 12764 |
for shift := uint(0); ; shift += 7 { |
| 12765 |
if shift >= 64 { |
| 12766 |
return ErrIntOverflowTypes |
| 12767 |
} |
| 12768 |
if iNdEx >= l { |
| 12769 |
return io.ErrUnexpectedEOF |
| 12770 |
} |
| 12771 |
b := dAtA[iNdEx] |
| 12772 |
iNdEx++ |
| 12773 |
msglen |= int(b&0x7F) << shift |
| 12774 |
if b < 0x80 { |
| 12775 |
break |
| 12776 |
} |
| 12777 |
} |
| 12778 |
if msglen < 0 { |
| 12779 |
return ErrInvalidLengthTypes |
| 12780 |
} |
| 12781 |
postIndex := iNdEx + msglen |
| 12782 |
if postIndex < 0 { |
| 12783 |
return ErrInvalidLengthTypes |
| 12784 |
} |
| 12785 |
if postIndex > l { |
| 12786 |
return io.ErrUnexpectedEOF |
| 12787 |
} |
| 12788 |
if err := m.NonnullInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12789 |
return err |
| 12790 |
} |
| 12791 |
iNdEx = postIndex |
| 12792 |
case 19: |
| 12793 |
if wireType != 2 { |
| 12794 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) |
| 12795 |
} |
| 12796 |
var msglen int |
| 12797 |
for shift := uint(0); ; shift += 7 { |
| 12798 |
if shift >= 64 { |
| 12799 |
return ErrIntOverflowTypes |
| 12800 |
} |
| 12801 |
if iNdEx >= l { |
| 12802 |
return io.ErrUnexpectedEOF |
| 12803 |
} |
| 12804 |
b := dAtA[iNdEx] |
| 12805 |
iNdEx++ |
| 12806 |
msglen |= int(b&0x7F) << shift |
| 12807 |
if b < 0x80 { |
| 12808 |
break |
| 12809 |
} |
| 12810 |
} |
| 12811 |
if msglen < 0 { |
| 12812 |
return ErrInvalidLengthTypes |
| 12813 |
} |
| 12814 |
postIndex := iNdEx + msglen |
| 12815 |
if postIndex < 0 { |
| 12816 |
return ErrInvalidLengthTypes |
| 12817 |
} |
| 12818 |
if postIndex > l { |
| 12819 |
return io.ErrUnexpectedEOF |
| 12820 |
} |
| 12821 |
if err := m.NonnullUInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12822 |
return err |
| 12823 |
} |
| 12824 |
iNdEx = postIndex |
| 12825 |
case 20: |
| 12826 |
if wireType != 2 { |
| 12827 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) |
| 12828 |
} |
| 12829 |
var msglen int |
| 12830 |
for shift := uint(0); ; shift += 7 { |
| 12831 |
if shift >= 64 { |
| 12832 |
return ErrIntOverflowTypes |
| 12833 |
} |
| 12834 |
if iNdEx >= l { |
| 12835 |
return io.ErrUnexpectedEOF |
| 12836 |
} |
| 12837 |
b := dAtA[iNdEx] |
| 12838 |
iNdEx++ |
| 12839 |
msglen |= int(b&0x7F) << shift |
| 12840 |
if b < 0x80 { |
| 12841 |
break |
| 12842 |
} |
| 12843 |
} |
| 12844 |
if msglen < 0 { |
| 12845 |
return ErrInvalidLengthTypes |
| 12846 |
} |
| 12847 |
postIndex := iNdEx + msglen |
| 12848 |
if postIndex < 0 { |
| 12849 |
return ErrInvalidLengthTypes |
| 12850 |
} |
| 12851 |
if postIndex > l { |
| 12852 |
return io.ErrUnexpectedEOF |
| 12853 |
} |
| 12854 |
if err := m.NonnullBool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12855 |
return err |
| 12856 |
} |
| 12857 |
iNdEx = postIndex |
| 12858 |
case 21: |
| 12859 |
if wireType != 2 { |
| 12860 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) |
| 12861 |
} |
| 12862 |
var msglen int |
| 12863 |
for shift := uint(0); ; shift += 7 { |
| 12864 |
if shift >= 64 { |
| 12865 |
return ErrIntOverflowTypes |
| 12866 |
} |
| 12867 |
if iNdEx >= l { |
| 12868 |
return io.ErrUnexpectedEOF |
| 12869 |
} |
| 12870 |
b := dAtA[iNdEx] |
| 12871 |
iNdEx++ |
| 12872 |
msglen |= int(b&0x7F) << shift |
| 12873 |
if b < 0x80 { |
| 12874 |
break |
| 12875 |
} |
| 12876 |
} |
| 12877 |
if msglen < 0 { |
| 12878 |
return ErrInvalidLengthTypes |
| 12879 |
} |
| 12880 |
postIndex := iNdEx + msglen |
| 12881 |
if postIndex < 0 { |
| 12882 |
return ErrInvalidLengthTypes |
| 12883 |
} |
| 12884 |
if postIndex > l { |
| 12885 |
return io.ErrUnexpectedEOF |
| 12886 |
} |
| 12887 |
if err := m.NonnullString.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12888 |
return err |
| 12889 |
} |
| 12890 |
iNdEx = postIndex |
| 12891 |
case 22: |
| 12892 |
if wireType != 2 { |
| 12893 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) |
| 12894 |
} |
| 12895 |
var msglen int |
| 12896 |
for shift := uint(0); ; shift += 7 { |
| 12897 |
if shift >= 64 { |
| 12898 |
return ErrIntOverflowTypes |
| 12899 |
} |
| 12900 |
if iNdEx >= l { |
| 12901 |
return io.ErrUnexpectedEOF |
| 12902 |
} |
| 12903 |
b := dAtA[iNdEx] |
| 12904 |
iNdEx++ |
| 12905 |
msglen |= int(b&0x7F) << shift |
| 12906 |
if b < 0x80 { |
| 12907 |
break |
| 12908 |
} |
| 12909 |
} |
| 12910 |
if msglen < 0 { |
| 12911 |
return ErrInvalidLengthTypes |
| 12912 |
} |
| 12913 |
postIndex := iNdEx + msglen |
| 12914 |
if postIndex < 0 { |
| 12915 |
return ErrInvalidLengthTypes |
| 12916 |
} |
| 12917 |
if postIndex > l { |
| 12918 |
return io.ErrUnexpectedEOF |
| 12919 |
} |
| 12920 |
if err := m.NonnullBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12921 |
return err |
| 12922 |
} |
| 12923 |
iNdEx = postIndex |
| 12924 |
default: |
| 12925 |
iNdEx = preIndex |
| 12926 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 12927 |
if err != nil { |
| 12928 |
return err |
| 12929 |
} |
| 12930 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 12931 |
return ErrInvalidLengthTypes |
| 12932 |
} |
| 12933 |
if (iNdEx + skippy) > l { |
| 12934 |
return io.ErrUnexpectedEOF |
| 12935 |
} |
| 12936 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 12937 |
iNdEx += skippy |
| 12938 |
} |
| 12939 |
} |
| 12940 |
|
| 12941 |
if iNdEx > l { |
| 12942 |
return io.ErrUnexpectedEOF |
| 12943 |
} |
| 12944 |
return nil |
| 12945 |
} |
| 12946 |
func (m *StdTypes) Unmarshal(dAtA []byte) error { |
| 12947 |
l := len(dAtA) |
| 12948 |
iNdEx := 0 |
| 12949 |
for iNdEx < l { |
| 12950 |
preIndex := iNdEx |
| 12951 |
var wire uint64 |
| 12952 |
for shift := uint(0); ; shift += 7 { |
| 12953 |
if shift >= 64 { |
| 12954 |
return ErrIntOverflowTypes |
| 12955 |
} |
| 12956 |
if iNdEx >= l { |
| 12957 |
return io.ErrUnexpectedEOF |
| 12958 |
} |
| 12959 |
b := dAtA[iNdEx] |
| 12960 |
iNdEx++ |
| 12961 |
wire |= uint64(b&0x7F) << shift |
| 12962 |
if b < 0x80 { |
| 12963 |
break |
| 12964 |
} |
| 12965 |
} |
| 12966 |
fieldNum := int32(wire >> 3) |
| 12967 |
wireType := int(wire & 0x7) |
| 12968 |
if wireType == 4 { |
| 12969 |
return fmt.Errorf("proto: StdTypes: wiretype end group for non-group") |
| 12970 |
} |
| 12971 |
if fieldNum <= 0 { |
| 12972 |
return fmt.Errorf("proto: StdTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 12973 |
} |
| 12974 |
switch fieldNum { |
| 12975 |
case 1: |
| 12976 |
if wireType != 2 { |
| 12977 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) |
| 12978 |
} |
| 12979 |
var msglen int |
| 12980 |
for shift := uint(0); ; shift += 7 { |
| 12981 |
if shift >= 64 { |
| 12982 |
return ErrIntOverflowTypes |
| 12983 |
} |
| 12984 |
if iNdEx >= l { |
| 12985 |
return io.ErrUnexpectedEOF |
| 12986 |
} |
| 12987 |
b := dAtA[iNdEx] |
| 12988 |
iNdEx++ |
| 12989 |
msglen |= int(b&0x7F) << shift |
| 12990 |
if b < 0x80 { |
| 12991 |
break |
| 12992 |
} |
| 12993 |
} |
| 12994 |
if msglen < 0 { |
| 12995 |
return ErrInvalidLengthTypes |
| 12996 |
} |
| 12997 |
postIndex := iNdEx + msglen |
| 12998 |
if postIndex < 0 { |
| 12999 |
return ErrInvalidLengthTypes |
| 13000 |
} |
| 13001 |
if postIndex > l { |
| 13002 |
return io.ErrUnexpectedEOF |
| 13003 |
} |
| 13004 |
if m.NullableTimestamp == nil { |
| 13005 |
m.NullableTimestamp = new(time.Time) |
| 13006 |
} |
| 13007 |
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.NullableTimestamp, dAtA[iNdEx:postIndex]); err != nil { |
| 13008 |
return err |
| 13009 |
} |
| 13010 |
iNdEx = postIndex |
| 13011 |
case 2: |
| 13012 |
if wireType != 2 { |
| 13013 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) |
| 13014 |
} |
| 13015 |
var msglen int |
| 13016 |
for shift := uint(0); ; shift += 7 { |
| 13017 |
if shift >= 64 { |
| 13018 |
return ErrIntOverflowTypes |
| 13019 |
} |
| 13020 |
if iNdEx >= l { |
| 13021 |
return io.ErrUnexpectedEOF |
| 13022 |
} |
| 13023 |
b := dAtA[iNdEx] |
| 13024 |
iNdEx++ |
| 13025 |
msglen |= int(b&0x7F) << shift |
| 13026 |
if b < 0x80 { |
| 13027 |
break |
| 13028 |
} |
| 13029 |
} |
| 13030 |
if msglen < 0 { |
| 13031 |
return ErrInvalidLengthTypes |
| 13032 |
} |
| 13033 |
postIndex := iNdEx + msglen |
| 13034 |
if postIndex < 0 { |
| 13035 |
return ErrInvalidLengthTypes |
| 13036 |
} |
| 13037 |
if postIndex > l { |
| 13038 |
return io.ErrUnexpectedEOF |
| 13039 |
} |
| 13040 |
if m.NullableDuration == nil { |
| 13041 |
m.NullableDuration = new(time.Duration) |
| 13042 |
} |
| 13043 |
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.NullableDuration, dAtA[iNdEx:postIndex]); err != nil { |
| 13044 |
return err |
| 13045 |
} |
| 13046 |
iNdEx = postIndex |
| 13047 |
case 3: |
| 13048 |
if wireType != 2 { |
| 13049 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) |
| 13050 |
} |
| 13051 |
var msglen int |
| 13052 |
for shift := uint(0); ; shift += 7 { |
| 13053 |
if shift >= 64 { |
| 13054 |
return ErrIntOverflowTypes |
| 13055 |
} |
| 13056 |
if iNdEx >= l { |
| 13057 |
return io.ErrUnexpectedEOF |
| 13058 |
} |
| 13059 |
b := dAtA[iNdEx] |
| 13060 |
iNdEx++ |
| 13061 |
msglen |= int(b&0x7F) << shift |
| 13062 |
if b < 0x80 { |
| 13063 |
break |
| 13064 |
} |
| 13065 |
} |
| 13066 |
if msglen < 0 { |
| 13067 |
return ErrInvalidLengthTypes |
| 13068 |
} |
| 13069 |
postIndex := iNdEx + msglen |
| 13070 |
if postIndex < 0 { |
| 13071 |
return ErrInvalidLengthTypes |
| 13072 |
} |
| 13073 |
if postIndex > l { |
| 13074 |
return io.ErrUnexpectedEOF |
| 13075 |
} |
| 13076 |
if m.NullableDouble == nil { |
| 13077 |
m.NullableDouble = new(float64) |
| 13078 |
} |
| 13079 |
if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(m.NullableDouble, dAtA[iNdEx:postIndex]); err != nil { |
| 13080 |
return err |
| 13081 |
} |
| 13082 |
iNdEx = postIndex |
| 13083 |
case 4: |
| 13084 |
if wireType != 2 { |
| 13085 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) |
| 13086 |
} |
| 13087 |
var msglen int |
| 13088 |
for shift := uint(0); ; shift += 7 { |
| 13089 |
if shift >= 64 { |
| 13090 |
return ErrIntOverflowTypes |
| 13091 |
} |
| 13092 |
if iNdEx >= l { |
| 13093 |
return io.ErrUnexpectedEOF |
| 13094 |
} |
| 13095 |
b := dAtA[iNdEx] |
| 13096 |
iNdEx++ |
| 13097 |
msglen |= int(b&0x7F) << shift |
| 13098 |
if b < 0x80 { |
| 13099 |
break |
| 13100 |
} |
| 13101 |
} |
| 13102 |
if msglen < 0 { |
| 13103 |
return ErrInvalidLengthTypes |
| 13104 |
} |
| 13105 |
postIndex := iNdEx + msglen |
| 13106 |
if postIndex < 0 { |
| 13107 |
return ErrInvalidLengthTypes |
| 13108 |
} |
| 13109 |
if postIndex > l { |
| 13110 |
return io.ErrUnexpectedEOF |
| 13111 |
} |
| 13112 |
if m.NullableFloat == nil { |
| 13113 |
m.NullableFloat = new(float32) |
| 13114 |
} |
| 13115 |
if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(m.NullableFloat, dAtA[iNdEx:postIndex]); err != nil { |
| 13116 |
return err |
| 13117 |
} |
| 13118 |
iNdEx = postIndex |
| 13119 |
case 5: |
| 13120 |
if wireType != 2 { |
| 13121 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) |
| 13122 |
} |
| 13123 |
var msglen int |
| 13124 |
for shift := uint(0); ; shift += 7 { |
| 13125 |
if shift >= 64 { |
| 13126 |
return ErrIntOverflowTypes |
| 13127 |
} |
| 13128 |
if iNdEx >= l { |
| 13129 |
return io.ErrUnexpectedEOF |
| 13130 |
} |
| 13131 |
b := dAtA[iNdEx] |
| 13132 |
iNdEx++ |
| 13133 |
msglen |= int(b&0x7F) << shift |
| 13134 |
if b < 0x80 { |
| 13135 |
break |
| 13136 |
} |
| 13137 |
} |
| 13138 |
if msglen < 0 { |
| 13139 |
return ErrInvalidLengthTypes |
| 13140 |
} |
| 13141 |
postIndex := iNdEx + msglen |
| 13142 |
if postIndex < 0 { |
| 13143 |
return ErrInvalidLengthTypes |
| 13144 |
} |
| 13145 |
if postIndex > l { |
| 13146 |
return io.ErrUnexpectedEOF |
| 13147 |
} |
| 13148 |
if m.NullableInt64 == nil { |
| 13149 |
m.NullableInt64 = new(int64) |
| 13150 |
} |
| 13151 |
if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(m.NullableInt64, dAtA[iNdEx:postIndex]); err != nil { |
| 13152 |
return err |
| 13153 |
} |
| 13154 |
iNdEx = postIndex |
| 13155 |
case 6: |
| 13156 |
if wireType != 2 { |
| 13157 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) |
| 13158 |
} |
| 13159 |
var msglen int |
| 13160 |
for shift := uint(0); ; shift += 7 { |
| 13161 |
if shift >= 64 { |
| 13162 |
return ErrIntOverflowTypes |
| 13163 |
} |
| 13164 |
if iNdEx >= l { |
| 13165 |
return io.ErrUnexpectedEOF |
| 13166 |
} |
| 13167 |
b := dAtA[iNdEx] |
| 13168 |
iNdEx++ |
| 13169 |
msglen |= int(b&0x7F) << shift |
| 13170 |
if b < 0x80 { |
| 13171 |
break |
| 13172 |
} |
| 13173 |
} |
| 13174 |
if msglen < 0 { |
| 13175 |
return ErrInvalidLengthTypes |
| 13176 |
} |
| 13177 |
postIndex := iNdEx + msglen |
| 13178 |
if postIndex < 0 { |
| 13179 |
return ErrInvalidLengthTypes |
| 13180 |
} |
| 13181 |
if postIndex > l { |
| 13182 |
return io.ErrUnexpectedEOF |
| 13183 |
} |
| 13184 |
if m.NullableUInt64 == nil { |
| 13185 |
m.NullableUInt64 = new(uint64) |
| 13186 |
} |
| 13187 |
if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(m.NullableUInt64, dAtA[iNdEx:postIndex]); err != nil { |
| 13188 |
return err |
| 13189 |
} |
| 13190 |
iNdEx = postIndex |
| 13191 |
case 7: |
| 13192 |
if wireType != 2 { |
| 13193 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) |
| 13194 |
} |
| 13195 |
var msglen int |
| 13196 |
for shift := uint(0); ; shift += 7 { |
| 13197 |
if shift >= 64 { |
| 13198 |
return ErrIntOverflowTypes |
| 13199 |
} |
| 13200 |
if iNdEx >= l { |
| 13201 |
return io.ErrUnexpectedEOF |
| 13202 |
} |
| 13203 |
b := dAtA[iNdEx] |
| 13204 |
iNdEx++ |
| 13205 |
msglen |= int(b&0x7F) << shift |
| 13206 |
if b < 0x80 { |
| 13207 |
break |
| 13208 |
} |
| 13209 |
} |
| 13210 |
if msglen < 0 { |
| 13211 |
return ErrInvalidLengthTypes |
| 13212 |
} |
| 13213 |
postIndex := iNdEx + msglen |
| 13214 |
if postIndex < 0 { |
| 13215 |
return ErrInvalidLengthTypes |
| 13216 |
} |
| 13217 |
if postIndex > l { |
| 13218 |
return io.ErrUnexpectedEOF |
| 13219 |
} |
| 13220 |
if m.NullableInt32 == nil { |
| 13221 |
m.NullableInt32 = new(int32) |
| 13222 |
} |
| 13223 |
if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(m.NullableInt32, dAtA[iNdEx:postIndex]); err != nil { |
| 13224 |
return err |
| 13225 |
} |
| 13226 |
iNdEx = postIndex |
| 13227 |
case 8: |
| 13228 |
if wireType != 2 { |
| 13229 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) |
| 13230 |
} |
| 13231 |
var msglen int |
| 13232 |
for shift := uint(0); ; shift += 7 { |
| 13233 |
if shift >= 64 { |
| 13234 |
return ErrIntOverflowTypes |
| 13235 |
} |
| 13236 |
if iNdEx >= l { |
| 13237 |
return io.ErrUnexpectedEOF |
| 13238 |
} |
| 13239 |
b := dAtA[iNdEx] |
| 13240 |
iNdEx++ |
| 13241 |
msglen |= int(b&0x7F) << shift |
| 13242 |
if b < 0x80 { |
| 13243 |
break |
| 13244 |
} |
| 13245 |
} |
| 13246 |
if msglen < 0 { |
| 13247 |
return ErrInvalidLengthTypes |
| 13248 |
} |
| 13249 |
postIndex := iNdEx + msglen |
| 13250 |
if postIndex < 0 { |
| 13251 |
return ErrInvalidLengthTypes |
| 13252 |
} |
| 13253 |
if postIndex > l { |
| 13254 |
return io.ErrUnexpectedEOF |
| 13255 |
} |
| 13256 |
if m.NullableUInt32 == nil { |
| 13257 |
m.NullableUInt32 = new(uint32) |
| 13258 |
} |
| 13259 |
if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(m.NullableUInt32, dAtA[iNdEx:postIndex]); err != nil { |
| 13260 |
return err |
| 13261 |
} |
| 13262 |
iNdEx = postIndex |
| 13263 |
case 9: |
| 13264 |
if wireType != 2 { |
| 13265 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) |
| 13266 |
} |
| 13267 |
var msglen int |
| 13268 |
for shift := uint(0); ; shift += 7 { |
| 13269 |
if shift >= 64 { |
| 13270 |
return ErrIntOverflowTypes |
| 13271 |
} |
| 13272 |
if iNdEx >= l { |
| 13273 |
return io.ErrUnexpectedEOF |
| 13274 |
} |
| 13275 |
b := dAtA[iNdEx] |
| 13276 |
iNdEx++ |
| 13277 |
msglen |= int(b&0x7F) << shift |
| 13278 |
if b < 0x80 { |
| 13279 |
break |
| 13280 |
} |
| 13281 |
} |
| 13282 |
if msglen < 0 { |
| 13283 |
return ErrInvalidLengthTypes |
| 13284 |
} |
| 13285 |
postIndex := iNdEx + msglen |
| 13286 |
if postIndex < 0 { |
| 13287 |
return ErrInvalidLengthTypes |
| 13288 |
} |
| 13289 |
if postIndex > l { |
| 13290 |
return io.ErrUnexpectedEOF |
| 13291 |
} |
| 13292 |
if m.NullableBool == nil { |
| 13293 |
m.NullableBool = new(bool) |
| 13294 |
} |
| 13295 |
if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(m.NullableBool, dAtA[iNdEx:postIndex]); err != nil { |
| 13296 |
return err |
| 13297 |
} |
| 13298 |
iNdEx = postIndex |
| 13299 |
case 10: |
| 13300 |
if wireType != 2 { |
| 13301 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) |
| 13302 |
} |
| 13303 |
var msglen int |
| 13304 |
for shift := uint(0); ; shift += 7 { |
| 13305 |
if shift >= 64 { |
| 13306 |
return ErrIntOverflowTypes |
| 13307 |
} |
| 13308 |
if iNdEx >= l { |
| 13309 |
return io.ErrUnexpectedEOF |
| 13310 |
} |
| 13311 |
b := dAtA[iNdEx] |
| 13312 |
iNdEx++ |
| 13313 |
msglen |= int(b&0x7F) << shift |
| 13314 |
if b < 0x80 { |
| 13315 |
break |
| 13316 |
} |
| 13317 |
} |
| 13318 |
if msglen < 0 { |
| 13319 |
return ErrInvalidLengthTypes |
| 13320 |
} |
| 13321 |
postIndex := iNdEx + msglen |
| 13322 |
if postIndex < 0 { |
| 13323 |
return ErrInvalidLengthTypes |
| 13324 |
} |
| 13325 |
if postIndex > l { |
| 13326 |
return io.ErrUnexpectedEOF |
| 13327 |
} |
| 13328 |
if m.NullableString == nil { |
| 13329 |
m.NullableString = new(string) |
| 13330 |
} |
| 13331 |
if err := github_com_gogo_protobuf_types.StdStringUnmarshal(m.NullableString, dAtA[iNdEx:postIndex]); err != nil { |
| 13332 |
return err |
| 13333 |
} |
| 13334 |
iNdEx = postIndex |
| 13335 |
case 11: |
| 13336 |
if wireType != 2 { |
| 13337 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) |
| 13338 |
} |
| 13339 |
var msglen int |
| 13340 |
for shift := uint(0); ; shift += 7 { |
| 13341 |
if shift >= 64 { |
| 13342 |
return ErrIntOverflowTypes |
| 13343 |
} |
| 13344 |
if iNdEx >= l { |
| 13345 |
return io.ErrUnexpectedEOF |
| 13346 |
} |
| 13347 |
b := dAtA[iNdEx] |
| 13348 |
iNdEx++ |
| 13349 |
msglen |= int(b&0x7F) << shift |
| 13350 |
if b < 0x80 { |
| 13351 |
break |
| 13352 |
} |
| 13353 |
} |
| 13354 |
if msglen < 0 { |
| 13355 |
return ErrInvalidLengthTypes |
| 13356 |
} |
| 13357 |
postIndex := iNdEx + msglen |
| 13358 |
if postIndex < 0 { |
| 13359 |
return ErrInvalidLengthTypes |
| 13360 |
} |
| 13361 |
if postIndex > l { |
| 13362 |
return io.ErrUnexpectedEOF |
| 13363 |
} |
| 13364 |
if m.NullableBytes == nil { |
| 13365 |
m.NullableBytes = new([]byte) |
| 13366 |
} |
| 13367 |
if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(m.NullableBytes, dAtA[iNdEx:postIndex]); err != nil { |
| 13368 |
return err |
| 13369 |
} |
| 13370 |
iNdEx = postIndex |
| 13371 |
case 12: |
| 13372 |
if wireType != 2 { |
| 13373 |
return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) |
| 13374 |
} |
| 13375 |
var msglen int |
| 13376 |
for shift := uint(0); ; shift += 7 { |
| 13377 |
if shift >= 64 { |
| 13378 |
return ErrIntOverflowTypes |
| 13379 |
} |
| 13380 |
if iNdEx >= l { |
| 13381 |
return io.ErrUnexpectedEOF |
| 13382 |
} |
| 13383 |
b := dAtA[iNdEx] |
| 13384 |
iNdEx++ |
| 13385 |
msglen |= int(b&0x7F) << shift |
| 13386 |
if b < 0x80 { |
| 13387 |
break |
| 13388 |
} |
| 13389 |
} |
| 13390 |
if msglen < 0 { |
| 13391 |
return ErrInvalidLengthTypes |
| 13392 |
} |
| 13393 |
postIndex := iNdEx + msglen |
| 13394 |
if postIndex < 0 { |
| 13395 |
return ErrInvalidLengthTypes |
| 13396 |
} |
| 13397 |
if postIndex > l { |
| 13398 |
return io.ErrUnexpectedEOF |
| 13399 |
} |
| 13400 |
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { |
| 13401 |
return err |
| 13402 |
} |
| 13403 |
iNdEx = postIndex |
| 13404 |
case 13: |
| 13405 |
if wireType != 2 { |
| 13406 |
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) |
| 13407 |
} |
| 13408 |
var msglen int |
| 13409 |
for shift := uint(0); ; shift += 7 { |
| 13410 |
if shift >= 64 { |
| 13411 |
return ErrIntOverflowTypes |
| 13412 |
} |
| 13413 |
if iNdEx >= l { |
| 13414 |
return io.ErrUnexpectedEOF |
| 13415 |
} |
| 13416 |
b := dAtA[iNdEx] |
| 13417 |
iNdEx++ |
| 13418 |
msglen |= int(b&0x7F) << shift |
| 13419 |
if b < 0x80 { |
| 13420 |
break |
| 13421 |
} |
| 13422 |
} |
| 13423 |
if msglen < 0 { |
| 13424 |
return ErrInvalidLengthTypes |
| 13425 |
} |
| 13426 |
postIndex := iNdEx + msglen |
| 13427 |
if postIndex < 0 { |
| 13428 |
return ErrInvalidLengthTypes |
| 13429 |
} |
| 13430 |
if postIndex > l { |
| 13431 |
return io.ErrUnexpectedEOF |
| 13432 |
} |
| 13433 |
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Duration, dAtA[iNdEx:postIndex]); err != nil { |
| 13434 |
return err |
| 13435 |
} |
| 13436 |
iNdEx = postIndex |
| 13437 |
case 14: |
| 13438 |
if wireType != 2 { |
| 13439 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) |
| 13440 |
} |
| 13441 |
var msglen int |
| 13442 |
for shift := uint(0); ; shift += 7 { |
| 13443 |
if shift >= 64 { |
| 13444 |
return ErrIntOverflowTypes |
| 13445 |
} |
| 13446 |
if iNdEx >= l { |
| 13447 |
return io.ErrUnexpectedEOF |
| 13448 |
} |
| 13449 |
b := dAtA[iNdEx] |
| 13450 |
iNdEx++ |
| 13451 |
msglen |= int(b&0x7F) << shift |
| 13452 |
if b < 0x80 { |
| 13453 |
break |
| 13454 |
} |
| 13455 |
} |
| 13456 |
if msglen < 0 { |
| 13457 |
return ErrInvalidLengthTypes |
| 13458 |
} |
| 13459 |
postIndex := iNdEx + msglen |
| 13460 |
if postIndex < 0 { |
| 13461 |
return ErrInvalidLengthTypes |
| 13462 |
} |
| 13463 |
if postIndex > l { |
| 13464 |
return io.ErrUnexpectedEOF |
| 13465 |
} |
| 13466 |
if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(&m.NonnullDouble, dAtA[iNdEx:postIndex]); err != nil { |
| 13467 |
return err |
| 13468 |
} |
| 13469 |
iNdEx = postIndex |
| 13470 |
case 15: |
| 13471 |
if wireType != 2 { |
| 13472 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) |
| 13473 |
} |
| 13474 |
var msglen int |
| 13475 |
for shift := uint(0); ; shift += 7 { |
| 13476 |
if shift >= 64 { |
| 13477 |
return ErrIntOverflowTypes |
| 13478 |
} |
| 13479 |
if iNdEx >= l { |
| 13480 |
return io.ErrUnexpectedEOF |
| 13481 |
} |
| 13482 |
b := dAtA[iNdEx] |
| 13483 |
iNdEx++ |
| 13484 |
msglen |= int(b&0x7F) << shift |
| 13485 |
if b < 0x80 { |
| 13486 |
break |
| 13487 |
} |
| 13488 |
} |
| 13489 |
if msglen < 0 { |
| 13490 |
return ErrInvalidLengthTypes |
| 13491 |
} |
| 13492 |
postIndex := iNdEx + msglen |
| 13493 |
if postIndex < 0 { |
| 13494 |
return ErrInvalidLengthTypes |
| 13495 |
} |
| 13496 |
if postIndex > l { |
| 13497 |
return io.ErrUnexpectedEOF |
| 13498 |
} |
| 13499 |
if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(&m.NonnullFloat, dAtA[iNdEx:postIndex]); err != nil { |
| 13500 |
return err |
| 13501 |
} |
| 13502 |
iNdEx = postIndex |
| 13503 |
case 16: |
| 13504 |
if wireType != 2 { |
| 13505 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) |
| 13506 |
} |
| 13507 |
var msglen int |
| 13508 |
for shift := uint(0); ; shift += 7 { |
| 13509 |
if shift >= 64 { |
| 13510 |
return ErrIntOverflowTypes |
| 13511 |
} |
| 13512 |
if iNdEx >= l { |
| 13513 |
return io.ErrUnexpectedEOF |
| 13514 |
} |
| 13515 |
b := dAtA[iNdEx] |
| 13516 |
iNdEx++ |
| 13517 |
msglen |= int(b&0x7F) << shift |
| 13518 |
if b < 0x80 { |
| 13519 |
break |
| 13520 |
} |
| 13521 |
} |
| 13522 |
if msglen < 0 { |
| 13523 |
return ErrInvalidLengthTypes |
| 13524 |
} |
| 13525 |
postIndex := iNdEx + msglen |
| 13526 |
if postIndex < 0 { |
| 13527 |
return ErrInvalidLengthTypes |
| 13528 |
} |
| 13529 |
if postIndex > l { |
| 13530 |
return io.ErrUnexpectedEOF |
| 13531 |
} |
| 13532 |
if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(&m.NonnullInt64, dAtA[iNdEx:postIndex]); err != nil { |
| 13533 |
return err |
| 13534 |
} |
| 13535 |
iNdEx = postIndex |
| 13536 |
case 17: |
| 13537 |
if wireType != 2 { |
| 13538 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) |
| 13539 |
} |
| 13540 |
var msglen int |
| 13541 |
for shift := uint(0); ; shift += 7 { |
| 13542 |
if shift >= 64 { |
| 13543 |
return ErrIntOverflowTypes |
| 13544 |
} |
| 13545 |
if iNdEx >= l { |
| 13546 |
return io.ErrUnexpectedEOF |
| 13547 |
} |
| 13548 |
b := dAtA[iNdEx] |
| 13549 |
iNdEx++ |
| 13550 |
msglen |= int(b&0x7F) << shift |
| 13551 |
if b < 0x80 { |
| 13552 |
break |
| 13553 |
} |
| 13554 |
} |
| 13555 |
if msglen < 0 { |
| 13556 |
return ErrInvalidLengthTypes |
| 13557 |
} |
| 13558 |
postIndex := iNdEx + msglen |
| 13559 |
if postIndex < 0 { |
| 13560 |
return ErrInvalidLengthTypes |
| 13561 |
} |
| 13562 |
if postIndex > l { |
| 13563 |
return io.ErrUnexpectedEOF |
| 13564 |
} |
| 13565 |
if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(&m.NonnullUInt64, dAtA[iNdEx:postIndex]); err != nil { |
| 13566 |
return err |
| 13567 |
} |
| 13568 |
iNdEx = postIndex |
| 13569 |
case 18: |
| 13570 |
if wireType != 2 { |
| 13571 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) |
| 13572 |
} |
| 13573 |
var msglen int |
| 13574 |
for shift := uint(0); ; shift += 7 { |
| 13575 |
if shift >= 64 { |
| 13576 |
return ErrIntOverflowTypes |
| 13577 |
} |
| 13578 |
if iNdEx >= l { |
| 13579 |
return io.ErrUnexpectedEOF |
| 13580 |
} |
| 13581 |
b := dAtA[iNdEx] |
| 13582 |
iNdEx++ |
| 13583 |
msglen |= int(b&0x7F) << shift |
| 13584 |
if b < 0x80 { |
| 13585 |
break |
| 13586 |
} |
| 13587 |
} |
| 13588 |
if msglen < 0 { |
| 13589 |
return ErrInvalidLengthTypes |
| 13590 |
} |
| 13591 |
postIndex := iNdEx + msglen |
| 13592 |
if postIndex < 0 { |
| 13593 |
return ErrInvalidLengthTypes |
| 13594 |
} |
| 13595 |
if postIndex > l { |
| 13596 |
return io.ErrUnexpectedEOF |
| 13597 |
} |
| 13598 |
if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(&m.NonnullInt32, dAtA[iNdEx:postIndex]); err != nil { |
| 13599 |
return err |
| 13600 |
} |
| 13601 |
iNdEx = postIndex |
| 13602 |
case 19: |
| 13603 |
if wireType != 2 { |
| 13604 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) |
| 13605 |
} |
| 13606 |
var msglen int |
| 13607 |
for shift := uint(0); ; shift += 7 { |
| 13608 |
if shift >= 64 { |
| 13609 |
return ErrIntOverflowTypes |
| 13610 |
} |
| 13611 |
if iNdEx >= l { |
| 13612 |
return io.ErrUnexpectedEOF |
| 13613 |
} |
| 13614 |
b := dAtA[iNdEx] |
| 13615 |
iNdEx++ |
| 13616 |
msglen |= int(b&0x7F) << shift |
| 13617 |
if b < 0x80 { |
| 13618 |
break |
| 13619 |
} |
| 13620 |
} |
| 13621 |
if msglen < 0 { |
| 13622 |
return ErrInvalidLengthTypes |
| 13623 |
} |
| 13624 |
postIndex := iNdEx + msglen |
| 13625 |
if postIndex < 0 { |
| 13626 |
return ErrInvalidLengthTypes |
| 13627 |
} |
| 13628 |
if postIndex > l { |
| 13629 |
return io.ErrUnexpectedEOF |
| 13630 |
} |
| 13631 |
if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(&m.NonnullUInt32, dAtA[iNdEx:postIndex]); err != nil { |
| 13632 |
return err |
| 13633 |
} |
| 13634 |
iNdEx = postIndex |
| 13635 |
case 20: |
| 13636 |
if wireType != 2 { |
| 13637 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) |
| 13638 |
} |
| 13639 |
var msglen int |
| 13640 |
for shift := uint(0); ; shift += 7 { |
| 13641 |
if shift >= 64 { |
| 13642 |
return ErrIntOverflowTypes |
| 13643 |
} |
| 13644 |
if iNdEx >= l { |
| 13645 |
return io.ErrUnexpectedEOF |
| 13646 |
} |
| 13647 |
b := dAtA[iNdEx] |
| 13648 |
iNdEx++ |
| 13649 |
msglen |= int(b&0x7F) << shift |
| 13650 |
if b < 0x80 { |
| 13651 |
break |
| 13652 |
} |
| 13653 |
} |
| 13654 |
if msglen < 0 { |
| 13655 |
return ErrInvalidLengthTypes |
| 13656 |
} |
| 13657 |
postIndex := iNdEx + msglen |
| 13658 |
if postIndex < 0 { |
| 13659 |
return ErrInvalidLengthTypes |
| 13660 |
} |
| 13661 |
if postIndex > l { |
| 13662 |
return io.ErrUnexpectedEOF |
| 13663 |
} |
| 13664 |
if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(&m.NonnullBool, dAtA[iNdEx:postIndex]); err != nil { |
| 13665 |
return err |
| 13666 |
} |
| 13667 |
iNdEx = postIndex |
| 13668 |
case 21: |
| 13669 |
if wireType != 2 { |
| 13670 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) |
| 13671 |
} |
| 13672 |
var msglen int |
| 13673 |
for shift := uint(0); ; shift += 7 { |
| 13674 |
if shift >= 64 { |
| 13675 |
return ErrIntOverflowTypes |
| 13676 |
} |
| 13677 |
if iNdEx >= l { |
| 13678 |
return io.ErrUnexpectedEOF |
| 13679 |
} |
| 13680 |
b := dAtA[iNdEx] |
| 13681 |
iNdEx++ |
| 13682 |
msglen |= int(b&0x7F) << shift |
| 13683 |
if b < 0x80 { |
| 13684 |
break |
| 13685 |
} |
| 13686 |
} |
| 13687 |
if msglen < 0 { |
| 13688 |
return ErrInvalidLengthTypes |
| 13689 |
} |
| 13690 |
postIndex := iNdEx + msglen |
| 13691 |
if postIndex < 0 { |
| 13692 |
return ErrInvalidLengthTypes |
| 13693 |
} |
| 13694 |
if postIndex > l { |
| 13695 |
return io.ErrUnexpectedEOF |
| 13696 |
} |
| 13697 |
if err := github_com_gogo_protobuf_types.StdStringUnmarshal(&m.NonnullString, dAtA[iNdEx:postIndex]); err != nil { |
| 13698 |
return err |
| 13699 |
} |
| 13700 |
iNdEx = postIndex |
| 13701 |
case 22: |
| 13702 |
if wireType != 2 { |
| 13703 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) |
| 13704 |
} |
| 13705 |
var msglen int |
| 13706 |
for shift := uint(0); ; shift += 7 { |
| 13707 |
if shift >= 64 { |
| 13708 |
return ErrIntOverflowTypes |
| 13709 |
} |
| 13710 |
if iNdEx >= l { |
| 13711 |
return io.ErrUnexpectedEOF |
| 13712 |
} |
| 13713 |
b := dAtA[iNdEx] |
| 13714 |
iNdEx++ |
| 13715 |
msglen |= int(b&0x7F) << shift |
| 13716 |
if b < 0x80 { |
| 13717 |
break |
| 13718 |
} |
| 13719 |
} |
| 13720 |
if msglen < 0 { |
| 13721 |
return ErrInvalidLengthTypes |
| 13722 |
} |
| 13723 |
postIndex := iNdEx + msglen |
| 13724 |
if postIndex < 0 { |
| 13725 |
return ErrInvalidLengthTypes |
| 13726 |
} |
| 13727 |
if postIndex > l { |
| 13728 |
return io.ErrUnexpectedEOF |
| 13729 |
} |
| 13730 |
if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(&m.NonnullBytes, dAtA[iNdEx:postIndex]); err != nil { |
| 13731 |
return err |
| 13732 |
} |
| 13733 |
iNdEx = postIndex |
| 13734 |
default: |
| 13735 |
iNdEx = preIndex |
| 13736 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 13737 |
if err != nil { |
| 13738 |
return err |
| 13739 |
} |
| 13740 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 13741 |
return ErrInvalidLengthTypes |
| 13742 |
} |
| 13743 |
if (iNdEx + skippy) > l { |
| 13744 |
return io.ErrUnexpectedEOF |
| 13745 |
} |
| 13746 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 13747 |
iNdEx += skippy |
| 13748 |
} |
| 13749 |
} |
| 13750 |
|
| 13751 |
if iNdEx > l { |
| 13752 |
return io.ErrUnexpectedEOF |
| 13753 |
} |
| 13754 |
return nil |
| 13755 |
} |
| 13756 |
func (m *RepProtoTypes) Unmarshal(dAtA []byte) error { |
| 13757 |
l := len(dAtA) |
| 13758 |
iNdEx := 0 |
| 13759 |
for iNdEx < l { |
| 13760 |
preIndex := iNdEx |
| 13761 |
var wire uint64 |
| 13762 |
for shift := uint(0); ; shift += 7 { |
| 13763 |
if shift >= 64 { |
| 13764 |
return ErrIntOverflowTypes |
| 13765 |
} |
| 13766 |
if iNdEx >= l { |
| 13767 |
return io.ErrUnexpectedEOF |
| 13768 |
} |
| 13769 |
b := dAtA[iNdEx] |
| 13770 |
iNdEx++ |
| 13771 |
wire |= uint64(b&0x7F) << shift |
| 13772 |
if b < 0x80 { |
| 13773 |
break |
| 13774 |
} |
| 13775 |
} |
| 13776 |
fieldNum := int32(wire >> 3) |
| 13777 |
wireType := int(wire & 0x7) |
| 13778 |
if wireType == 4 { |
| 13779 |
return fmt.Errorf("proto: RepProtoTypes: wiretype end group for non-group") |
| 13780 |
} |
| 13781 |
if fieldNum <= 0 { |
| 13782 |
return fmt.Errorf("proto: RepProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 13783 |
} |
| 13784 |
switch fieldNum { |
| 13785 |
case 1: |
| 13786 |
if wireType != 2 { |
| 13787 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamps", wireType) |
| 13788 |
} |
| 13789 |
var msglen int |
| 13790 |
for shift := uint(0); ; shift += 7 { |
| 13791 |
if shift >= 64 { |
| 13792 |
return ErrIntOverflowTypes |
| 13793 |
} |
| 13794 |
if iNdEx >= l { |
| 13795 |
return io.ErrUnexpectedEOF |
| 13796 |
} |
| 13797 |
b := dAtA[iNdEx] |
| 13798 |
iNdEx++ |
| 13799 |
msglen |= int(b&0x7F) << shift |
| 13800 |
if b < 0x80 { |
| 13801 |
break |
| 13802 |
} |
| 13803 |
} |
| 13804 |
if msglen < 0 { |
| 13805 |
return ErrInvalidLengthTypes |
| 13806 |
} |
| 13807 |
postIndex := iNdEx + msglen |
| 13808 |
if postIndex < 0 { |
| 13809 |
return ErrInvalidLengthTypes |
| 13810 |
} |
| 13811 |
if postIndex > l { |
| 13812 |
return io.ErrUnexpectedEOF |
| 13813 |
} |
| 13814 |
m.NullableTimestamps = append(m.NullableTimestamps, &types.Timestamp{}) |
| 13815 |
if err := m.NullableTimestamps[len(m.NullableTimestamps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 13816 |
return err |
| 13817 |
} |
| 13818 |
iNdEx = postIndex |
| 13819 |
case 2: |
| 13820 |
if wireType != 2 { |
| 13821 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDurations", wireType) |
| 13822 |
} |
| 13823 |
var msglen int |
| 13824 |
for shift := uint(0); ; shift += 7 { |
| 13825 |
if shift >= 64 { |
| 13826 |
return ErrIntOverflowTypes |
| 13827 |
} |
| 13828 |
if iNdEx >= l { |
| 13829 |
return io.ErrUnexpectedEOF |
| 13830 |
} |
| 13831 |
b := dAtA[iNdEx] |
| 13832 |
iNdEx++ |
| 13833 |
msglen |= int(b&0x7F) << shift |
| 13834 |
if b < 0x80 { |
| 13835 |
break |
| 13836 |
} |
| 13837 |
} |
| 13838 |
if msglen < 0 { |
| 13839 |
return ErrInvalidLengthTypes |
| 13840 |
} |
| 13841 |
postIndex := iNdEx + msglen |
| 13842 |
if postIndex < 0 { |
| 13843 |
return ErrInvalidLengthTypes |
| 13844 |
} |
| 13845 |
if postIndex > l { |
| 13846 |
return io.ErrUnexpectedEOF |
| 13847 |
} |
| 13848 |
m.NullableDurations = append(m.NullableDurations, &types.Duration{}) |
| 13849 |
if err := m.NullableDurations[len(m.NullableDurations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 13850 |
return err |
| 13851 |
} |
| 13852 |
iNdEx = postIndex |
| 13853 |
case 3: |
| 13854 |
if wireType != 2 { |
| 13855 |
return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType) |
| 13856 |
} |
| 13857 |
var msglen int |
| 13858 |
for shift := uint(0); ; shift += 7 { |
| 13859 |
if shift >= 64 { |
| 13860 |
return ErrIntOverflowTypes |
| 13861 |
} |
| 13862 |
if iNdEx >= l { |
| 13863 |
return io.ErrUnexpectedEOF |
| 13864 |
} |
| 13865 |
b := dAtA[iNdEx] |
| 13866 |
iNdEx++ |
| 13867 |
msglen |= int(b&0x7F) << shift |
| 13868 |
if b < 0x80 { |
| 13869 |
break |
| 13870 |
} |
| 13871 |
} |
| 13872 |
if msglen < 0 { |
| 13873 |
return ErrInvalidLengthTypes |
| 13874 |
} |
| 13875 |
postIndex := iNdEx + msglen |
| 13876 |
if postIndex < 0 { |
| 13877 |
return ErrInvalidLengthTypes |
| 13878 |
} |
| 13879 |
if postIndex > l { |
| 13880 |
return io.ErrUnexpectedEOF |
| 13881 |
} |
| 13882 |
m.Timestamps = append(m.Timestamps, types.Timestamp{}) |
| 13883 |
if err := m.Timestamps[len(m.Timestamps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 13884 |
return err |
| 13885 |
} |
| 13886 |
iNdEx = postIndex |
| 13887 |
case 4: |
| 13888 |
if wireType != 2 { |
| 13889 |
return fmt.Errorf("proto: wrong wireType = %d for field Durations", wireType) |
| 13890 |
} |
| 13891 |
var msglen int |
| 13892 |
for shift := uint(0); ; shift += 7 { |
| 13893 |
if shift >= 64 { |
| 13894 |
return ErrIntOverflowTypes |
| 13895 |
} |
| 13896 |
if iNdEx >= l { |
| 13897 |
return io.ErrUnexpectedEOF |
| 13898 |
} |
| 13899 |
b := dAtA[iNdEx] |
| 13900 |
iNdEx++ |
| 13901 |
msglen |= int(b&0x7F) << shift |
| 13902 |
if b < 0x80 { |
| 13903 |
break |
| 13904 |
} |
| 13905 |
} |
| 13906 |
if msglen < 0 { |
| 13907 |
return ErrInvalidLengthTypes |
| 13908 |
} |
| 13909 |
postIndex := iNdEx + msglen |
| 13910 |
if postIndex < 0 { |
| 13911 |
return ErrInvalidLengthTypes |
| 13912 |
} |
| 13913 |
if postIndex > l { |
| 13914 |
return io.ErrUnexpectedEOF |
| 13915 |
} |
| 13916 |
m.Durations = append(m.Durations, types.Duration{}) |
| 13917 |
if err := m.Durations[len(m.Durations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 13918 |
return err |
| 13919 |
} |
| 13920 |
iNdEx = postIndex |
| 13921 |
case 5: |
| 13922 |
if wireType != 2 { |
| 13923 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) |
| 13924 |
} |
| 13925 |
var msglen int |
| 13926 |
for shift := uint(0); ; shift += 7 { |
| 13927 |
if shift >= 64 { |
| 13928 |
return ErrIntOverflowTypes |
| 13929 |
} |
| 13930 |
if iNdEx >= l { |
| 13931 |
return io.ErrUnexpectedEOF |
| 13932 |
} |
| 13933 |
b := dAtA[iNdEx] |
| 13934 |
iNdEx++ |
| 13935 |
msglen |= int(b&0x7F) << shift |
| 13936 |
if b < 0x80 { |
| 13937 |
break |
| 13938 |
} |
| 13939 |
} |
| 13940 |
if msglen < 0 { |
| 13941 |
return ErrInvalidLengthTypes |
| 13942 |
} |
| 13943 |
postIndex := iNdEx + msglen |
| 13944 |
if postIndex < 0 { |
| 13945 |
return ErrInvalidLengthTypes |
| 13946 |
} |
| 13947 |
if postIndex > l { |
| 13948 |
return io.ErrUnexpectedEOF |
| 13949 |
} |
| 13950 |
m.NullableDouble = append(m.NullableDouble, &types.DoubleValue{}) |
| 13951 |
if err := m.NullableDouble[len(m.NullableDouble)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 13952 |
return err |
| 13953 |
} |
| 13954 |
iNdEx = postIndex |
| 13955 |
case 6: |
| 13956 |
if wireType != 2 { |
| 13957 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) |
| 13958 |
} |
| 13959 |
var msglen int |
| 13960 |
for shift := uint(0); ; shift += 7 { |
| 13961 |
if shift >= 64 { |
| 13962 |
return ErrIntOverflowTypes |
| 13963 |
} |
| 13964 |
if iNdEx >= l { |
| 13965 |
return io.ErrUnexpectedEOF |
| 13966 |
} |
| 13967 |
b := dAtA[iNdEx] |
| 13968 |
iNdEx++ |
| 13969 |
msglen |= int(b&0x7F) << shift |
| 13970 |
if b < 0x80 { |
| 13971 |
break |
| 13972 |
} |
| 13973 |
} |
| 13974 |
if msglen < 0 { |
| 13975 |
return ErrInvalidLengthTypes |
| 13976 |
} |
| 13977 |
postIndex := iNdEx + msglen |
| 13978 |
if postIndex < 0 { |
| 13979 |
return ErrInvalidLengthTypes |
| 13980 |
} |
| 13981 |
if postIndex > l { |
| 13982 |
return io.ErrUnexpectedEOF |
| 13983 |
} |
| 13984 |
m.NonnullDouble = append(m.NonnullDouble, types.DoubleValue{}) |
| 13985 |
if err := m.NonnullDouble[len(m.NonnullDouble)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 13986 |
return err |
| 13987 |
} |
| 13988 |
iNdEx = postIndex |
| 13989 |
case 7: |
| 13990 |
if wireType != 2 { |
| 13991 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) |
| 13992 |
} |
| 13993 |
var msglen int |
| 13994 |
for shift := uint(0); ; shift += 7 { |
| 13995 |
if shift >= 64 { |
| 13996 |
return ErrIntOverflowTypes |
| 13997 |
} |
| 13998 |
if iNdEx >= l { |
| 13999 |
return io.ErrUnexpectedEOF |
| 14000 |
} |
| 14001 |
b := dAtA[iNdEx] |
| 14002 |
iNdEx++ |
| 14003 |
msglen |= int(b&0x7F) << shift |
| 14004 |
if b < 0x80 { |
| 14005 |
break |
| 14006 |
} |
| 14007 |
} |
| 14008 |
if msglen < 0 { |
| 14009 |
return ErrInvalidLengthTypes |
| 14010 |
} |
| 14011 |
postIndex := iNdEx + msglen |
| 14012 |
if postIndex < 0 { |
| 14013 |
return ErrInvalidLengthTypes |
| 14014 |
} |
| 14015 |
if postIndex > l { |
| 14016 |
return io.ErrUnexpectedEOF |
| 14017 |
} |
| 14018 |
m.NullableFloat = append(m.NullableFloat, &types.FloatValue{}) |
| 14019 |
if err := m.NullableFloat[len(m.NullableFloat)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14020 |
return err |
| 14021 |
} |
| 14022 |
iNdEx = postIndex |
| 14023 |
case 8: |
| 14024 |
if wireType != 2 { |
| 14025 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) |
| 14026 |
} |
| 14027 |
var msglen int |
| 14028 |
for shift := uint(0); ; shift += 7 { |
| 14029 |
if shift >= 64 { |
| 14030 |
return ErrIntOverflowTypes |
| 14031 |
} |
| 14032 |
if iNdEx >= l { |
| 14033 |
return io.ErrUnexpectedEOF |
| 14034 |
} |
| 14035 |
b := dAtA[iNdEx] |
| 14036 |
iNdEx++ |
| 14037 |
msglen |= int(b&0x7F) << shift |
| 14038 |
if b < 0x80 { |
| 14039 |
break |
| 14040 |
} |
| 14041 |
} |
| 14042 |
if msglen < 0 { |
| 14043 |
return ErrInvalidLengthTypes |
| 14044 |
} |
| 14045 |
postIndex := iNdEx + msglen |
| 14046 |
if postIndex < 0 { |
| 14047 |
return ErrInvalidLengthTypes |
| 14048 |
} |
| 14049 |
if postIndex > l { |
| 14050 |
return io.ErrUnexpectedEOF |
| 14051 |
} |
| 14052 |
m.NonnullFloat = append(m.NonnullFloat, types.FloatValue{}) |
| 14053 |
if err := m.NonnullFloat[len(m.NonnullFloat)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14054 |
return err |
| 14055 |
} |
| 14056 |
iNdEx = postIndex |
| 14057 |
case 9: |
| 14058 |
if wireType != 2 { |
| 14059 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) |
| 14060 |
} |
| 14061 |
var msglen int |
| 14062 |
for shift := uint(0); ; shift += 7 { |
| 14063 |
if shift >= 64 { |
| 14064 |
return ErrIntOverflowTypes |
| 14065 |
} |
| 14066 |
if iNdEx >= l { |
| 14067 |
return io.ErrUnexpectedEOF |
| 14068 |
} |
| 14069 |
b := dAtA[iNdEx] |
| 14070 |
iNdEx++ |
| 14071 |
msglen |= int(b&0x7F) << shift |
| 14072 |
if b < 0x80 { |
| 14073 |
break |
| 14074 |
} |
| 14075 |
} |
| 14076 |
if msglen < 0 { |
| 14077 |
return ErrInvalidLengthTypes |
| 14078 |
} |
| 14079 |
postIndex := iNdEx + msglen |
| 14080 |
if postIndex < 0 { |
| 14081 |
return ErrInvalidLengthTypes |
| 14082 |
} |
| 14083 |
if postIndex > l { |
| 14084 |
return io.ErrUnexpectedEOF |
| 14085 |
} |
| 14086 |
m.NullableInt64 = append(m.NullableInt64, &types.Int64Value{}) |
| 14087 |
if err := m.NullableInt64[len(m.NullableInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14088 |
return err |
| 14089 |
} |
| 14090 |
iNdEx = postIndex |
| 14091 |
case 10: |
| 14092 |
if wireType != 2 { |
| 14093 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) |
| 14094 |
} |
| 14095 |
var msglen int |
| 14096 |
for shift := uint(0); ; shift += 7 { |
| 14097 |
if shift >= 64 { |
| 14098 |
return ErrIntOverflowTypes |
| 14099 |
} |
| 14100 |
if iNdEx >= l { |
| 14101 |
return io.ErrUnexpectedEOF |
| 14102 |
} |
| 14103 |
b := dAtA[iNdEx] |
| 14104 |
iNdEx++ |
| 14105 |
msglen |= int(b&0x7F) << shift |
| 14106 |
if b < 0x80 { |
| 14107 |
break |
| 14108 |
} |
| 14109 |
} |
| 14110 |
if msglen < 0 { |
| 14111 |
return ErrInvalidLengthTypes |
| 14112 |
} |
| 14113 |
postIndex := iNdEx + msglen |
| 14114 |
if postIndex < 0 { |
| 14115 |
return ErrInvalidLengthTypes |
| 14116 |
} |
| 14117 |
if postIndex > l { |
| 14118 |
return io.ErrUnexpectedEOF |
| 14119 |
} |
| 14120 |
m.NonnullInt64 = append(m.NonnullInt64, types.Int64Value{}) |
| 14121 |
if err := m.NonnullInt64[len(m.NonnullInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14122 |
return err |
| 14123 |
} |
| 14124 |
iNdEx = postIndex |
| 14125 |
case 11: |
| 14126 |
if wireType != 2 { |
| 14127 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) |
| 14128 |
} |
| 14129 |
var msglen int |
| 14130 |
for shift := uint(0); ; shift += 7 { |
| 14131 |
if shift >= 64 { |
| 14132 |
return ErrIntOverflowTypes |
| 14133 |
} |
| 14134 |
if iNdEx >= l { |
| 14135 |
return io.ErrUnexpectedEOF |
| 14136 |
} |
| 14137 |
b := dAtA[iNdEx] |
| 14138 |
iNdEx++ |
| 14139 |
msglen |= int(b&0x7F) << shift |
| 14140 |
if b < 0x80 { |
| 14141 |
break |
| 14142 |
} |
| 14143 |
} |
| 14144 |
if msglen < 0 { |
| 14145 |
return ErrInvalidLengthTypes |
| 14146 |
} |
| 14147 |
postIndex := iNdEx + msglen |
| 14148 |
if postIndex < 0 { |
| 14149 |
return ErrInvalidLengthTypes |
| 14150 |
} |
| 14151 |
if postIndex > l { |
| 14152 |
return io.ErrUnexpectedEOF |
| 14153 |
} |
| 14154 |
m.NullableUInt64 = append(m.NullableUInt64, &types.UInt64Value{}) |
| 14155 |
if err := m.NullableUInt64[len(m.NullableUInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14156 |
return err |
| 14157 |
} |
| 14158 |
iNdEx = postIndex |
| 14159 |
case 12: |
| 14160 |
if wireType != 2 { |
| 14161 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) |
| 14162 |
} |
| 14163 |
var msglen int |
| 14164 |
for shift := uint(0); ; shift += 7 { |
| 14165 |
if shift >= 64 { |
| 14166 |
return ErrIntOverflowTypes |
| 14167 |
} |
| 14168 |
if iNdEx >= l { |
| 14169 |
return io.ErrUnexpectedEOF |
| 14170 |
} |
| 14171 |
b := dAtA[iNdEx] |
| 14172 |
iNdEx++ |
| 14173 |
msglen |= int(b&0x7F) << shift |
| 14174 |
if b < 0x80 { |
| 14175 |
break |
| 14176 |
} |
| 14177 |
} |
| 14178 |
if msglen < 0 { |
| 14179 |
return ErrInvalidLengthTypes |
| 14180 |
} |
| 14181 |
postIndex := iNdEx + msglen |
| 14182 |
if postIndex < 0 { |
| 14183 |
return ErrInvalidLengthTypes |
| 14184 |
} |
| 14185 |
if postIndex > l { |
| 14186 |
return io.ErrUnexpectedEOF |
| 14187 |
} |
| 14188 |
m.NonnullUInt64 = append(m.NonnullUInt64, types.UInt64Value{}) |
| 14189 |
if err := m.NonnullUInt64[len(m.NonnullUInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14190 |
return err |
| 14191 |
} |
| 14192 |
iNdEx = postIndex |
| 14193 |
case 13: |
| 14194 |
if wireType != 2 { |
| 14195 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) |
| 14196 |
} |
| 14197 |
var msglen int |
| 14198 |
for shift := uint(0); ; shift += 7 { |
| 14199 |
if shift >= 64 { |
| 14200 |
return ErrIntOverflowTypes |
| 14201 |
} |
| 14202 |
if iNdEx >= l { |
| 14203 |
return io.ErrUnexpectedEOF |
| 14204 |
} |
| 14205 |
b := dAtA[iNdEx] |
| 14206 |
iNdEx++ |
| 14207 |
msglen |= int(b&0x7F) << shift |
| 14208 |
if b < 0x80 { |
| 14209 |
break |
| 14210 |
} |
| 14211 |
} |
| 14212 |
if msglen < 0 { |
| 14213 |
return ErrInvalidLengthTypes |
| 14214 |
} |
| 14215 |
postIndex := iNdEx + msglen |
| 14216 |
if postIndex < 0 { |
| 14217 |
return ErrInvalidLengthTypes |
| 14218 |
} |
| 14219 |
if postIndex > l { |
| 14220 |
return io.ErrUnexpectedEOF |
| 14221 |
} |
| 14222 |
m.NullableInt32 = append(m.NullableInt32, &types.Int32Value{}) |
| 14223 |
if err := m.NullableInt32[len(m.NullableInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14224 |
return err |
| 14225 |
} |
| 14226 |
iNdEx = postIndex |
| 14227 |
case 14: |
| 14228 |
if wireType != 2 { |
| 14229 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) |
| 14230 |
} |
| 14231 |
var msglen int |
| 14232 |
for shift := uint(0); ; shift += 7 { |
| 14233 |
if shift >= 64 { |
| 14234 |
return ErrIntOverflowTypes |
| 14235 |
} |
| 14236 |
if iNdEx >= l { |
| 14237 |
return io.ErrUnexpectedEOF |
| 14238 |
} |
| 14239 |
b := dAtA[iNdEx] |
| 14240 |
iNdEx++ |
| 14241 |
msglen |= int(b&0x7F) << shift |
| 14242 |
if b < 0x80 { |
| 14243 |
break |
| 14244 |
} |
| 14245 |
} |
| 14246 |
if msglen < 0 { |
| 14247 |
return ErrInvalidLengthTypes |
| 14248 |
} |
| 14249 |
postIndex := iNdEx + msglen |
| 14250 |
if postIndex < 0 { |
| 14251 |
return ErrInvalidLengthTypes |
| 14252 |
} |
| 14253 |
if postIndex > l { |
| 14254 |
return io.ErrUnexpectedEOF |
| 14255 |
} |
| 14256 |
m.NonnullInt32 = append(m.NonnullInt32, types.Int32Value{}) |
| 14257 |
if err := m.NonnullInt32[len(m.NonnullInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14258 |
return err |
| 14259 |
} |
| 14260 |
iNdEx = postIndex |
| 14261 |
case 15: |
| 14262 |
if wireType != 2 { |
| 14263 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) |
| 14264 |
} |
| 14265 |
var msglen int |
| 14266 |
for shift := uint(0); ; shift += 7 { |
| 14267 |
if shift >= 64 { |
| 14268 |
return ErrIntOverflowTypes |
| 14269 |
} |
| 14270 |
if iNdEx >= l { |
| 14271 |
return io.ErrUnexpectedEOF |
| 14272 |
} |
| 14273 |
b := dAtA[iNdEx] |
| 14274 |
iNdEx++ |
| 14275 |
msglen |= int(b&0x7F) << shift |
| 14276 |
if b < 0x80 { |
| 14277 |
break |
| 14278 |
} |
| 14279 |
} |
| 14280 |
if msglen < 0 { |
| 14281 |
return ErrInvalidLengthTypes |
| 14282 |
} |
| 14283 |
postIndex := iNdEx + msglen |
| 14284 |
if postIndex < 0 { |
| 14285 |
return ErrInvalidLengthTypes |
| 14286 |
} |
| 14287 |
if postIndex > l { |
| 14288 |
return io.ErrUnexpectedEOF |
| 14289 |
} |
| 14290 |
m.NullableUInt32 = append(m.NullableUInt32, &types.UInt32Value{}) |
| 14291 |
if err := m.NullableUInt32[len(m.NullableUInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14292 |
return err |
| 14293 |
} |
| 14294 |
iNdEx = postIndex |
| 14295 |
case 16: |
| 14296 |
if wireType != 2 { |
| 14297 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) |
| 14298 |
} |
| 14299 |
var msglen int |
| 14300 |
for shift := uint(0); ; shift += 7 { |
| 14301 |
if shift >= 64 { |
| 14302 |
return ErrIntOverflowTypes |
| 14303 |
} |
| 14304 |
if iNdEx >= l { |
| 14305 |
return io.ErrUnexpectedEOF |
| 14306 |
} |
| 14307 |
b := dAtA[iNdEx] |
| 14308 |
iNdEx++ |
| 14309 |
msglen |= int(b&0x7F) << shift |
| 14310 |
if b < 0x80 { |
| 14311 |
break |
| 14312 |
} |
| 14313 |
} |
| 14314 |
if msglen < 0 { |
| 14315 |
return ErrInvalidLengthTypes |
| 14316 |
} |
| 14317 |
postIndex := iNdEx + msglen |
| 14318 |
if postIndex < 0 { |
| 14319 |
return ErrInvalidLengthTypes |
| 14320 |
} |
| 14321 |
if postIndex > l { |
| 14322 |
return io.ErrUnexpectedEOF |
| 14323 |
} |
| 14324 |
m.NonnullUInt32 = append(m.NonnullUInt32, types.UInt32Value{}) |
| 14325 |
if err := m.NonnullUInt32[len(m.NonnullUInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14326 |
return err |
| 14327 |
} |
| 14328 |
iNdEx = postIndex |
| 14329 |
case 17: |
| 14330 |
if wireType != 2 { |
| 14331 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) |
| 14332 |
} |
| 14333 |
var msglen int |
| 14334 |
for shift := uint(0); ; shift += 7 { |
| 14335 |
if shift >= 64 { |
| 14336 |
return ErrIntOverflowTypes |
| 14337 |
} |
| 14338 |
if iNdEx >= l { |
| 14339 |
return io.ErrUnexpectedEOF |
| 14340 |
} |
| 14341 |
b := dAtA[iNdEx] |
| 14342 |
iNdEx++ |
| 14343 |
msglen |= int(b&0x7F) << shift |
| 14344 |
if b < 0x80 { |
| 14345 |
break |
| 14346 |
} |
| 14347 |
} |
| 14348 |
if msglen < 0 { |
| 14349 |
return ErrInvalidLengthTypes |
| 14350 |
} |
| 14351 |
postIndex := iNdEx + msglen |
| 14352 |
if postIndex < 0 { |
| 14353 |
return ErrInvalidLengthTypes |
| 14354 |
} |
| 14355 |
if postIndex > l { |
| 14356 |
return io.ErrUnexpectedEOF |
| 14357 |
} |
| 14358 |
m.NullableBool = append(m.NullableBool, &types.BoolValue{}) |
| 14359 |
if err := m.NullableBool[len(m.NullableBool)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14360 |
return err |
| 14361 |
} |
| 14362 |
iNdEx = postIndex |
| 14363 |
case 18: |
| 14364 |
if wireType != 2 { |
| 14365 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) |
| 14366 |
} |
| 14367 |
var msglen int |
| 14368 |
for shift := uint(0); ; shift += 7 { |
| 14369 |
if shift >= 64 { |
| 14370 |
return ErrIntOverflowTypes |
| 14371 |
} |
| 14372 |
if iNdEx >= l { |
| 14373 |
return io.ErrUnexpectedEOF |
| 14374 |
} |
| 14375 |
b := dAtA[iNdEx] |
| 14376 |
iNdEx++ |
| 14377 |
msglen |= int(b&0x7F) << shift |
| 14378 |
if b < 0x80 { |
| 14379 |
break |
| 14380 |
} |
| 14381 |
} |
| 14382 |
if msglen < 0 { |
| 14383 |
return ErrInvalidLengthTypes |
| 14384 |
} |
| 14385 |
postIndex := iNdEx + msglen |
| 14386 |
if postIndex < 0 { |
| 14387 |
return ErrInvalidLengthTypes |
| 14388 |
} |
| 14389 |
if postIndex > l { |
| 14390 |
return io.ErrUnexpectedEOF |
| 14391 |
} |
| 14392 |
m.NonnullBool = append(m.NonnullBool, types.BoolValue{}) |
| 14393 |
if err := m.NonnullBool[len(m.NonnullBool)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14394 |
return err |
| 14395 |
} |
| 14396 |
iNdEx = postIndex |
| 14397 |
case 19: |
| 14398 |
if wireType != 2 { |
| 14399 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) |
| 14400 |
} |
| 14401 |
var msglen int |
| 14402 |
for shift := uint(0); ; shift += 7 { |
| 14403 |
if shift >= 64 { |
| 14404 |
return ErrIntOverflowTypes |
| 14405 |
} |
| 14406 |
if iNdEx >= l { |
| 14407 |
return io.ErrUnexpectedEOF |
| 14408 |
} |
| 14409 |
b := dAtA[iNdEx] |
| 14410 |
iNdEx++ |
| 14411 |
msglen |= int(b&0x7F) << shift |
| 14412 |
if b < 0x80 { |
| 14413 |
break |
| 14414 |
} |
| 14415 |
} |
| 14416 |
if msglen < 0 { |
| 14417 |
return ErrInvalidLengthTypes |
| 14418 |
} |
| 14419 |
postIndex := iNdEx + msglen |
| 14420 |
if postIndex < 0 { |
| 14421 |
return ErrInvalidLengthTypes |
| 14422 |
} |
| 14423 |
if postIndex > l { |
| 14424 |
return io.ErrUnexpectedEOF |
| 14425 |
} |
| 14426 |
m.NullableString = append(m.NullableString, &types.StringValue{}) |
| 14427 |
if err := m.NullableString[len(m.NullableString)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14428 |
return err |
| 14429 |
} |
| 14430 |
iNdEx = postIndex |
| 14431 |
case 20: |
| 14432 |
if wireType != 2 { |
| 14433 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) |
| 14434 |
} |
| 14435 |
var msglen int |
| 14436 |
for shift := uint(0); ; shift += 7 { |
| 14437 |
if shift >= 64 { |
| 14438 |
return ErrIntOverflowTypes |
| 14439 |
} |
| 14440 |
if iNdEx >= l { |
| 14441 |
return io.ErrUnexpectedEOF |
| 14442 |
} |
| 14443 |
b := dAtA[iNdEx] |
| 14444 |
iNdEx++ |
| 14445 |
msglen |= int(b&0x7F) << shift |
| 14446 |
if b < 0x80 { |
| 14447 |
break |
| 14448 |
} |
| 14449 |
} |
| 14450 |
if msglen < 0 { |
| 14451 |
return ErrInvalidLengthTypes |
| 14452 |
} |
| 14453 |
postIndex := iNdEx + msglen |
| 14454 |
if postIndex < 0 { |
| 14455 |
return ErrInvalidLengthTypes |
| 14456 |
} |
| 14457 |
if postIndex > l { |
| 14458 |
return io.ErrUnexpectedEOF |
| 14459 |
} |
| 14460 |
m.NonnullString = append(m.NonnullString, types.StringValue{}) |
| 14461 |
if err := m.NonnullString[len(m.NonnullString)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14462 |
return err |
| 14463 |
} |
| 14464 |
iNdEx = postIndex |
| 14465 |
case 21: |
| 14466 |
if wireType != 2 { |
| 14467 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) |
| 14468 |
} |
| 14469 |
var msglen int |
| 14470 |
for shift := uint(0); ; shift += 7 { |
| 14471 |
if shift >= 64 { |
| 14472 |
return ErrIntOverflowTypes |
| 14473 |
} |
| 14474 |
if iNdEx >= l { |
| 14475 |
return io.ErrUnexpectedEOF |
| 14476 |
} |
| 14477 |
b := dAtA[iNdEx] |
| 14478 |
iNdEx++ |
| 14479 |
msglen |= int(b&0x7F) << shift |
| 14480 |
if b < 0x80 { |
| 14481 |
break |
| 14482 |
} |
| 14483 |
} |
| 14484 |
if msglen < 0 { |
| 14485 |
return ErrInvalidLengthTypes |
| 14486 |
} |
| 14487 |
postIndex := iNdEx + msglen |
| 14488 |
if postIndex < 0 { |
| 14489 |
return ErrInvalidLengthTypes |
| 14490 |
} |
| 14491 |
if postIndex > l { |
| 14492 |
return io.ErrUnexpectedEOF |
| 14493 |
} |
| 14494 |
m.NullableBytes = append(m.NullableBytes, &types.BytesValue{}) |
| 14495 |
if err := m.NullableBytes[len(m.NullableBytes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14496 |
return err |
| 14497 |
} |
| 14498 |
iNdEx = postIndex |
| 14499 |
case 22: |
| 14500 |
if wireType != 2 { |
| 14501 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) |
| 14502 |
} |
| 14503 |
var msglen int |
| 14504 |
for shift := uint(0); ; shift += 7 { |
| 14505 |
if shift >= 64 { |
| 14506 |
return ErrIntOverflowTypes |
| 14507 |
} |
| 14508 |
if iNdEx >= l { |
| 14509 |
return io.ErrUnexpectedEOF |
| 14510 |
} |
| 14511 |
b := dAtA[iNdEx] |
| 14512 |
iNdEx++ |
| 14513 |
msglen |= int(b&0x7F) << shift |
| 14514 |
if b < 0x80 { |
| 14515 |
break |
| 14516 |
} |
| 14517 |
} |
| 14518 |
if msglen < 0 { |
| 14519 |
return ErrInvalidLengthTypes |
| 14520 |
} |
| 14521 |
postIndex := iNdEx + msglen |
| 14522 |
if postIndex < 0 { |
| 14523 |
return ErrInvalidLengthTypes |
| 14524 |
} |
| 14525 |
if postIndex > l { |
| 14526 |
return io.ErrUnexpectedEOF |
| 14527 |
} |
| 14528 |
m.NonnullBytes = append(m.NonnullBytes, types.BytesValue{}) |
| 14529 |
if err := m.NonnullBytes[len(m.NonnullBytes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 14530 |
return err |
| 14531 |
} |
| 14532 |
iNdEx = postIndex |
| 14533 |
default: |
| 14534 |
iNdEx = preIndex |
| 14535 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 14536 |
if err != nil { |
| 14537 |
return err |
| 14538 |
} |
| 14539 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 14540 |
return ErrInvalidLengthTypes |
| 14541 |
} |
| 14542 |
if (iNdEx + skippy) > l { |
| 14543 |
return io.ErrUnexpectedEOF |
| 14544 |
} |
| 14545 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 14546 |
iNdEx += skippy |
| 14547 |
} |
| 14548 |
} |
| 14549 |
|
| 14550 |
if iNdEx > l { |
| 14551 |
return io.ErrUnexpectedEOF |
| 14552 |
} |
| 14553 |
return nil |
| 14554 |
} |
| 14555 |
func (m *RepStdTypes) Unmarshal(dAtA []byte) error { |
| 14556 |
l := len(dAtA) |
| 14557 |
iNdEx := 0 |
| 14558 |
for iNdEx < l { |
| 14559 |
preIndex := iNdEx |
| 14560 |
var wire uint64 |
| 14561 |
for shift := uint(0); ; shift += 7 { |
| 14562 |
if shift >= 64 { |
| 14563 |
return ErrIntOverflowTypes |
| 14564 |
} |
| 14565 |
if iNdEx >= l { |
| 14566 |
return io.ErrUnexpectedEOF |
| 14567 |
} |
| 14568 |
b := dAtA[iNdEx] |
| 14569 |
iNdEx++ |
| 14570 |
wire |= uint64(b&0x7F) << shift |
| 14571 |
if b < 0x80 { |
| 14572 |
break |
| 14573 |
} |
| 14574 |
} |
| 14575 |
fieldNum := int32(wire >> 3) |
| 14576 |
wireType := int(wire & 0x7) |
| 14577 |
if wireType == 4 { |
| 14578 |
return fmt.Errorf("proto: RepStdTypes: wiretype end group for non-group") |
| 14579 |
} |
| 14580 |
if fieldNum <= 0 { |
| 14581 |
return fmt.Errorf("proto: RepStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 14582 |
} |
| 14583 |
switch fieldNum { |
| 14584 |
case 1: |
| 14585 |
if wireType != 2 { |
| 14586 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamps", wireType) |
| 14587 |
} |
| 14588 |
var msglen int |
| 14589 |
for shift := uint(0); ; shift += 7 { |
| 14590 |
if shift >= 64 { |
| 14591 |
return ErrIntOverflowTypes |
| 14592 |
} |
| 14593 |
if iNdEx >= l { |
| 14594 |
return io.ErrUnexpectedEOF |
| 14595 |
} |
| 14596 |
b := dAtA[iNdEx] |
| 14597 |
iNdEx++ |
| 14598 |
msglen |= int(b&0x7F) << shift |
| 14599 |
if b < 0x80 { |
| 14600 |
break |
| 14601 |
} |
| 14602 |
} |
| 14603 |
if msglen < 0 { |
| 14604 |
return ErrInvalidLengthTypes |
| 14605 |
} |
| 14606 |
postIndex := iNdEx + msglen |
| 14607 |
if postIndex < 0 { |
| 14608 |
return ErrInvalidLengthTypes |
| 14609 |
} |
| 14610 |
if postIndex > l { |
| 14611 |
return io.ErrUnexpectedEOF |
| 14612 |
} |
| 14613 |
m.NullableTimestamps = append(m.NullableTimestamps, new(time.Time)) |
| 14614 |
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.NullableTimestamps[len(m.NullableTimestamps)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 14615 |
return err |
| 14616 |
} |
| 14617 |
iNdEx = postIndex |
| 14618 |
case 2: |
| 14619 |
if wireType != 2 { |
| 14620 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDurations", wireType) |
| 14621 |
} |
| 14622 |
var msglen int |
| 14623 |
for shift := uint(0); ; shift += 7 { |
| 14624 |
if shift >= 64 { |
| 14625 |
return ErrIntOverflowTypes |
| 14626 |
} |
| 14627 |
if iNdEx >= l { |
| 14628 |
return io.ErrUnexpectedEOF |
| 14629 |
} |
| 14630 |
b := dAtA[iNdEx] |
| 14631 |
iNdEx++ |
| 14632 |
msglen |= int(b&0x7F) << shift |
| 14633 |
if b < 0x80 { |
| 14634 |
break |
| 14635 |
} |
| 14636 |
} |
| 14637 |
if msglen < 0 { |
| 14638 |
return ErrInvalidLengthTypes |
| 14639 |
} |
| 14640 |
postIndex := iNdEx + msglen |
| 14641 |
if postIndex < 0 { |
| 14642 |
return ErrInvalidLengthTypes |
| 14643 |
} |
| 14644 |
if postIndex > l { |
| 14645 |
return io.ErrUnexpectedEOF |
| 14646 |
} |
| 14647 |
m.NullableDurations = append(m.NullableDurations, new(time.Duration)) |
| 14648 |
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.NullableDurations[len(m.NullableDurations)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 14649 |
return err |
| 14650 |
} |
| 14651 |
iNdEx = postIndex |
| 14652 |
case 3: |
| 14653 |
if wireType != 2 { |
| 14654 |
return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType) |
| 14655 |
} |
| 14656 |
var msglen int |
| 14657 |
for shift := uint(0); ; shift += 7 { |
| 14658 |
if shift >= 64 { |
| 14659 |
return ErrIntOverflowTypes |
| 14660 |
} |
| 14661 |
if iNdEx >= l { |
| 14662 |
return io.ErrUnexpectedEOF |
| 14663 |
} |
| 14664 |
b := dAtA[iNdEx] |
| 14665 |
iNdEx++ |
| 14666 |
msglen |= int(b&0x7F) << shift |
| 14667 |
if b < 0x80 { |
| 14668 |
break |
| 14669 |
} |
| 14670 |
} |
| 14671 |
if msglen < 0 { |
| 14672 |
return ErrInvalidLengthTypes |
| 14673 |
} |
| 14674 |
postIndex := iNdEx + msglen |
| 14675 |
if postIndex < 0 { |
| 14676 |
return ErrInvalidLengthTypes |
| 14677 |
} |
| 14678 |
if postIndex > l { |
| 14679 |
return io.ErrUnexpectedEOF |
| 14680 |
} |
| 14681 |
m.Timestamps = append(m.Timestamps, time.Time{}) |
| 14682 |
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&(m.Timestamps[len(m.Timestamps)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 14683 |
return err |
| 14684 |
} |
| 14685 |
iNdEx = postIndex |
| 14686 |
case 4: |
| 14687 |
if wireType != 2 { |
| 14688 |
return fmt.Errorf("proto: wrong wireType = %d for field Durations", wireType) |
| 14689 |
} |
| 14690 |
var msglen int |
| 14691 |
for shift := uint(0); ; shift += 7 { |
| 14692 |
if shift >= 64 { |
| 14693 |
return ErrIntOverflowTypes |
| 14694 |
} |
| 14695 |
if iNdEx >= l { |
| 14696 |
return io.ErrUnexpectedEOF |
| 14697 |
} |
| 14698 |
b := dAtA[iNdEx] |
| 14699 |
iNdEx++ |
| 14700 |
msglen |= int(b&0x7F) << shift |
| 14701 |
if b < 0x80 { |
| 14702 |
break |
| 14703 |
} |
| 14704 |
} |
| 14705 |
if msglen < 0 { |
| 14706 |
return ErrInvalidLengthTypes |
| 14707 |
} |
| 14708 |
postIndex := iNdEx + msglen |
| 14709 |
if postIndex < 0 { |
| 14710 |
return ErrInvalidLengthTypes |
| 14711 |
} |
| 14712 |
if postIndex > l { |
| 14713 |
return io.ErrUnexpectedEOF |
| 14714 |
} |
| 14715 |
m.Durations = append(m.Durations, time.Duration(0)) |
| 14716 |
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&(m.Durations[len(m.Durations)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 14717 |
return err |
| 14718 |
} |
| 14719 |
iNdEx = postIndex |
| 14720 |
case 5: |
| 14721 |
if wireType != 2 { |
| 14722 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) |
| 14723 |
} |
| 14724 |
var msglen int |
| 14725 |
for shift := uint(0); ; shift += 7 { |
| 14726 |
if shift >= 64 { |
| 14727 |
return ErrIntOverflowTypes |
| 14728 |
} |
| 14729 |
if iNdEx >= l { |
| 14730 |
return io.ErrUnexpectedEOF |
| 14731 |
} |
| 14732 |
b := dAtA[iNdEx] |
| 14733 |
iNdEx++ |
| 14734 |
msglen |= int(b&0x7F) << shift |
| 14735 |
if b < 0x80 { |
| 14736 |
break |
| 14737 |
} |
| 14738 |
} |
| 14739 |
if msglen < 0 { |
| 14740 |
return ErrInvalidLengthTypes |
| 14741 |
} |
| 14742 |
postIndex := iNdEx + msglen |
| 14743 |
if postIndex < 0 { |
| 14744 |
return ErrInvalidLengthTypes |
| 14745 |
} |
| 14746 |
if postIndex > l { |
| 14747 |
return io.ErrUnexpectedEOF |
| 14748 |
} |
| 14749 |
m.NullableDouble = append(m.NullableDouble, new(float64)) |
| 14750 |
if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(m.NullableDouble[len(m.NullableDouble)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 14751 |
return err |
| 14752 |
} |
| 14753 |
iNdEx = postIndex |
| 14754 |
case 6: |
| 14755 |
if wireType != 2 { |
| 14756 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) |
| 14757 |
} |
| 14758 |
var msglen int |
| 14759 |
for shift := uint(0); ; shift += 7 { |
| 14760 |
if shift >= 64 { |
| 14761 |
return ErrIntOverflowTypes |
| 14762 |
} |
| 14763 |
if iNdEx >= l { |
| 14764 |
return io.ErrUnexpectedEOF |
| 14765 |
} |
| 14766 |
b := dAtA[iNdEx] |
| 14767 |
iNdEx++ |
| 14768 |
msglen |= int(b&0x7F) << shift |
| 14769 |
if b < 0x80 { |
| 14770 |
break |
| 14771 |
} |
| 14772 |
} |
| 14773 |
if msglen < 0 { |
| 14774 |
return ErrInvalidLengthTypes |
| 14775 |
} |
| 14776 |
postIndex := iNdEx + msglen |
| 14777 |
if postIndex < 0 { |
| 14778 |
return ErrInvalidLengthTypes |
| 14779 |
} |
| 14780 |
if postIndex > l { |
| 14781 |
return io.ErrUnexpectedEOF |
| 14782 |
} |
| 14783 |
m.NonnullDouble = append(m.NonnullDouble, 0) |
| 14784 |
if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(&(m.NonnullDouble[len(m.NonnullDouble)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 14785 |
return err |
| 14786 |
} |
| 14787 |
iNdEx = postIndex |
| 14788 |
case 7: |
| 14789 |
if wireType != 2 { |
| 14790 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) |
| 14791 |
} |
| 14792 |
var msglen int |
| 14793 |
for shift := uint(0); ; shift += 7 { |
| 14794 |
if shift >= 64 { |
| 14795 |
return ErrIntOverflowTypes |
| 14796 |
} |
| 14797 |
if iNdEx >= l { |
| 14798 |
return io.ErrUnexpectedEOF |
| 14799 |
} |
| 14800 |
b := dAtA[iNdEx] |
| 14801 |
iNdEx++ |
| 14802 |
msglen |= int(b&0x7F) << shift |
| 14803 |
if b < 0x80 { |
| 14804 |
break |
| 14805 |
} |
| 14806 |
} |
| 14807 |
if msglen < 0 { |
| 14808 |
return ErrInvalidLengthTypes |
| 14809 |
} |
| 14810 |
postIndex := iNdEx + msglen |
| 14811 |
if postIndex < 0 { |
| 14812 |
return ErrInvalidLengthTypes |
| 14813 |
} |
| 14814 |
if postIndex > l { |
| 14815 |
return io.ErrUnexpectedEOF |
| 14816 |
} |
| 14817 |
m.NullableFloat = append(m.NullableFloat, new(float32)) |
| 14818 |
if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(m.NullableFloat[len(m.NullableFloat)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 14819 |
return err |
| 14820 |
} |
| 14821 |
iNdEx = postIndex |
| 14822 |
case 8: |
| 14823 |
if wireType != 2 { |
| 14824 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) |
| 14825 |
} |
| 14826 |
var msglen int |
| 14827 |
for shift := uint(0); ; shift += 7 { |
| 14828 |
if shift >= 64 { |
| 14829 |
return ErrIntOverflowTypes |
| 14830 |
} |
| 14831 |
if iNdEx >= l { |
| 14832 |
return io.ErrUnexpectedEOF |
| 14833 |
} |
| 14834 |
b := dAtA[iNdEx] |
| 14835 |
iNdEx++ |
| 14836 |
msglen |= int(b&0x7F) << shift |
| 14837 |
if b < 0x80 { |
| 14838 |
break |
| 14839 |
} |
| 14840 |
} |
| 14841 |
if msglen < 0 { |
| 14842 |
return ErrInvalidLengthTypes |
| 14843 |
} |
| 14844 |
postIndex := iNdEx + msglen |
| 14845 |
if postIndex < 0 { |
| 14846 |
return ErrInvalidLengthTypes |
| 14847 |
} |
| 14848 |
if postIndex > l { |
| 14849 |
return io.ErrUnexpectedEOF |
| 14850 |
} |
| 14851 |
m.NonnullFloat = append(m.NonnullFloat, 0) |
| 14852 |
if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(&(m.NonnullFloat[len(m.NonnullFloat)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 14853 |
return err |
| 14854 |
} |
| 14855 |
iNdEx = postIndex |
| 14856 |
case 9: |
| 14857 |
if wireType != 2 { |
| 14858 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) |
| 14859 |
} |
| 14860 |
var msglen int |
| 14861 |
for shift := uint(0); ; shift += 7 { |
| 14862 |
if shift >= 64 { |
| 14863 |
return ErrIntOverflowTypes |
| 14864 |
} |
| 14865 |
if iNdEx >= l { |
| 14866 |
return io.ErrUnexpectedEOF |
| 14867 |
} |
| 14868 |
b := dAtA[iNdEx] |
| 14869 |
iNdEx++ |
| 14870 |
msglen |= int(b&0x7F) << shift |
| 14871 |
if b < 0x80 { |
| 14872 |
break |
| 14873 |
} |
| 14874 |
} |
| 14875 |
if msglen < 0 { |
| 14876 |
return ErrInvalidLengthTypes |
| 14877 |
} |
| 14878 |
postIndex := iNdEx + msglen |
| 14879 |
if postIndex < 0 { |
| 14880 |
return ErrInvalidLengthTypes |
| 14881 |
} |
| 14882 |
if postIndex > l { |
| 14883 |
return io.ErrUnexpectedEOF |
| 14884 |
} |
| 14885 |
m.NullableInt64 = append(m.NullableInt64, new(int64)) |
| 14886 |
if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(m.NullableInt64[len(m.NullableInt64)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 14887 |
return err |
| 14888 |
} |
| 14889 |
iNdEx = postIndex |
| 14890 |
case 10: |
| 14891 |
if wireType != 2 { |
| 14892 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) |
| 14893 |
} |
| 14894 |
var msglen int |
| 14895 |
for shift := uint(0); ; shift += 7 { |
| 14896 |
if shift >= 64 { |
| 14897 |
return ErrIntOverflowTypes |
| 14898 |
} |
| 14899 |
if iNdEx >= l { |
| 14900 |
return io.ErrUnexpectedEOF |
| 14901 |
} |
| 14902 |
b := dAtA[iNdEx] |
| 14903 |
iNdEx++ |
| 14904 |
msglen |= int(b&0x7F) << shift |
| 14905 |
if b < 0x80 { |
| 14906 |
break |
| 14907 |
} |
| 14908 |
} |
| 14909 |
if msglen < 0 { |
| 14910 |
return ErrInvalidLengthTypes |
| 14911 |
} |
| 14912 |
postIndex := iNdEx + msglen |
| 14913 |
if postIndex < 0 { |
| 14914 |
return ErrInvalidLengthTypes |
| 14915 |
} |
| 14916 |
if postIndex > l { |
| 14917 |
return io.ErrUnexpectedEOF |
| 14918 |
} |
| 14919 |
m.NonnullInt64 = append(m.NonnullInt64, 0) |
| 14920 |
if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(&(m.NonnullInt64[len(m.NonnullInt64)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 14921 |
return err |
| 14922 |
} |
| 14923 |
iNdEx = postIndex |
| 14924 |
case 11: |
| 14925 |
if wireType != 2 { |
| 14926 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) |
| 14927 |
} |
| 14928 |
var msglen int |
| 14929 |
for shift := uint(0); ; shift += 7 { |
| 14930 |
if shift >= 64 { |
| 14931 |
return ErrIntOverflowTypes |
| 14932 |
} |
| 14933 |
if iNdEx >= l { |
| 14934 |
return io.ErrUnexpectedEOF |
| 14935 |
} |
| 14936 |
b := dAtA[iNdEx] |
| 14937 |
iNdEx++ |
| 14938 |
msglen |= int(b&0x7F) << shift |
| 14939 |
if b < 0x80 { |
| 14940 |
break |
| 14941 |
} |
| 14942 |
} |
| 14943 |
if msglen < 0 { |
| 14944 |
return ErrInvalidLengthTypes |
| 14945 |
} |
| 14946 |
postIndex := iNdEx + msglen |
| 14947 |
if postIndex < 0 { |
| 14948 |
return ErrInvalidLengthTypes |
| 14949 |
} |
| 14950 |
if postIndex > l { |
| 14951 |
return io.ErrUnexpectedEOF |
| 14952 |
} |
| 14953 |
m.NullableUInt64 = append(m.NullableUInt64, new(uint64)) |
| 14954 |
if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(m.NullableUInt64[len(m.NullableUInt64)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 14955 |
return err |
| 14956 |
} |
| 14957 |
iNdEx = postIndex |
| 14958 |
case 12: |
| 14959 |
if wireType != 2 { |
| 14960 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) |
| 14961 |
} |
| 14962 |
var msglen int |
| 14963 |
for shift := uint(0); ; shift += 7 { |
| 14964 |
if shift >= 64 { |
| 14965 |
return ErrIntOverflowTypes |
| 14966 |
} |
| 14967 |
if iNdEx >= l { |
| 14968 |
return io.ErrUnexpectedEOF |
| 14969 |
} |
| 14970 |
b := dAtA[iNdEx] |
| 14971 |
iNdEx++ |
| 14972 |
msglen |= int(b&0x7F) << shift |
| 14973 |
if b < 0x80 { |
| 14974 |
break |
| 14975 |
} |
| 14976 |
} |
| 14977 |
if msglen < 0 { |
| 14978 |
return ErrInvalidLengthTypes |
| 14979 |
} |
| 14980 |
postIndex := iNdEx + msglen |
| 14981 |
if postIndex < 0 { |
| 14982 |
return ErrInvalidLengthTypes |
| 14983 |
} |
| 14984 |
if postIndex > l { |
| 14985 |
return io.ErrUnexpectedEOF |
| 14986 |
} |
| 14987 |
m.NonnullUInt64 = append(m.NonnullUInt64, 0) |
| 14988 |
if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(&(m.NonnullUInt64[len(m.NonnullUInt64)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 14989 |
return err |
| 14990 |
} |
| 14991 |
iNdEx = postIndex |
| 14992 |
case 13: |
| 14993 |
if wireType != 2 { |
| 14994 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) |
| 14995 |
} |
| 14996 |
var msglen int |
| 14997 |
for shift := uint(0); ; shift += 7 { |
| 14998 |
if shift >= 64 { |
| 14999 |
return ErrIntOverflowTypes |
| 15000 |
} |
| 15001 |
if iNdEx >= l { |
| 15002 |
return io.ErrUnexpectedEOF |
| 15003 |
} |
| 15004 |
b := dAtA[iNdEx] |
| 15005 |
iNdEx++ |
| 15006 |
msglen |= int(b&0x7F) << shift |
| 15007 |
if b < 0x80 { |
| 15008 |
break |
| 15009 |
} |
| 15010 |
} |
| 15011 |
if msglen < 0 { |
| 15012 |
return ErrInvalidLengthTypes |
| 15013 |
} |
| 15014 |
postIndex := iNdEx + msglen |
| 15015 |
if postIndex < 0 { |
| 15016 |
return ErrInvalidLengthTypes |
| 15017 |
} |
| 15018 |
if postIndex > l { |
| 15019 |
return io.ErrUnexpectedEOF |
| 15020 |
} |
| 15021 |
m.NullableInt32 = append(m.NullableInt32, new(int32)) |
| 15022 |
if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(m.NullableInt32[len(m.NullableInt32)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 15023 |
return err |
| 15024 |
} |
| 15025 |
iNdEx = postIndex |
| 15026 |
case 14: |
| 15027 |
if wireType != 2 { |
| 15028 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) |
| 15029 |
} |
| 15030 |
var msglen int |
| 15031 |
for shift := uint(0); ; shift += 7 { |
| 15032 |
if shift >= 64 { |
| 15033 |
return ErrIntOverflowTypes |
| 15034 |
} |
| 15035 |
if iNdEx >= l { |
| 15036 |
return io.ErrUnexpectedEOF |
| 15037 |
} |
| 15038 |
b := dAtA[iNdEx] |
| 15039 |
iNdEx++ |
| 15040 |
msglen |= int(b&0x7F) << shift |
| 15041 |
if b < 0x80 { |
| 15042 |
break |
| 15043 |
} |
| 15044 |
} |
| 15045 |
if msglen < 0 { |
| 15046 |
return ErrInvalidLengthTypes |
| 15047 |
} |
| 15048 |
postIndex := iNdEx + msglen |
| 15049 |
if postIndex < 0 { |
| 15050 |
return ErrInvalidLengthTypes |
| 15051 |
} |
| 15052 |
if postIndex > l { |
| 15053 |
return io.ErrUnexpectedEOF |
| 15054 |
} |
| 15055 |
m.NonnullInt32 = append(m.NonnullInt32, 0) |
| 15056 |
if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(&(m.NonnullInt32[len(m.NonnullInt32)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 15057 |
return err |
| 15058 |
} |
| 15059 |
iNdEx = postIndex |
| 15060 |
case 15: |
| 15061 |
if wireType != 2 { |
| 15062 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) |
| 15063 |
} |
| 15064 |
var msglen int |
| 15065 |
for shift := uint(0); ; shift += 7 { |
| 15066 |
if shift >= 64 { |
| 15067 |
return ErrIntOverflowTypes |
| 15068 |
} |
| 15069 |
if iNdEx >= l { |
| 15070 |
return io.ErrUnexpectedEOF |
| 15071 |
} |
| 15072 |
b := dAtA[iNdEx] |
| 15073 |
iNdEx++ |
| 15074 |
msglen |= int(b&0x7F) << shift |
| 15075 |
if b < 0x80 { |
| 15076 |
break |
| 15077 |
} |
| 15078 |
} |
| 15079 |
if msglen < 0 { |
| 15080 |
return ErrInvalidLengthTypes |
| 15081 |
} |
| 15082 |
postIndex := iNdEx + msglen |
| 15083 |
if postIndex < 0 { |
| 15084 |
return ErrInvalidLengthTypes |
| 15085 |
} |
| 15086 |
if postIndex > l { |
| 15087 |
return io.ErrUnexpectedEOF |
| 15088 |
} |
| 15089 |
m.NullableUInt32 = append(m.NullableUInt32, new(uint32)) |
| 15090 |
if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(m.NullableUInt32[len(m.NullableUInt32)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 15091 |
return err |
| 15092 |
} |
| 15093 |
iNdEx = postIndex |
| 15094 |
case 16: |
| 15095 |
if wireType != 2 { |
| 15096 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) |
| 15097 |
} |
| 15098 |
var msglen int |
| 15099 |
for shift := uint(0); ; shift += 7 { |
| 15100 |
if shift >= 64 { |
| 15101 |
return ErrIntOverflowTypes |
| 15102 |
} |
| 15103 |
if iNdEx >= l { |
| 15104 |
return io.ErrUnexpectedEOF |
| 15105 |
} |
| 15106 |
b := dAtA[iNdEx] |
| 15107 |
iNdEx++ |
| 15108 |
msglen |= int(b&0x7F) << shift |
| 15109 |
if b < 0x80 { |
| 15110 |
break |
| 15111 |
} |
| 15112 |
} |
| 15113 |
if msglen < 0 { |
| 15114 |
return ErrInvalidLengthTypes |
| 15115 |
} |
| 15116 |
postIndex := iNdEx + msglen |
| 15117 |
if postIndex < 0 { |
| 15118 |
return ErrInvalidLengthTypes |
| 15119 |
} |
| 15120 |
if postIndex > l { |
| 15121 |
return io.ErrUnexpectedEOF |
| 15122 |
} |
| 15123 |
m.NonnullUInt32 = append(m.NonnullUInt32, 0) |
| 15124 |
if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(&(m.NonnullUInt32[len(m.NonnullUInt32)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 15125 |
return err |
| 15126 |
} |
| 15127 |
iNdEx = postIndex |
| 15128 |
case 17: |
| 15129 |
if wireType != 2 { |
| 15130 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) |
| 15131 |
} |
| 15132 |
var msglen int |
| 15133 |
for shift := uint(0); ; shift += 7 { |
| 15134 |
if shift >= 64 { |
| 15135 |
return ErrIntOverflowTypes |
| 15136 |
} |
| 15137 |
if iNdEx >= l { |
| 15138 |
return io.ErrUnexpectedEOF |
| 15139 |
} |
| 15140 |
b := dAtA[iNdEx] |
| 15141 |
iNdEx++ |
| 15142 |
msglen |= int(b&0x7F) << shift |
| 15143 |
if b < 0x80 { |
| 15144 |
break |
| 15145 |
} |
| 15146 |
} |
| 15147 |
if msglen < 0 { |
| 15148 |
return ErrInvalidLengthTypes |
| 15149 |
} |
| 15150 |
postIndex := iNdEx + msglen |
| 15151 |
if postIndex < 0 { |
| 15152 |
return ErrInvalidLengthTypes |
| 15153 |
} |
| 15154 |
if postIndex > l { |
| 15155 |
return io.ErrUnexpectedEOF |
| 15156 |
} |
| 15157 |
m.NullableBool = append(m.NullableBool, new(bool)) |
| 15158 |
if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(m.NullableBool[len(m.NullableBool)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 15159 |
return err |
| 15160 |
} |
| 15161 |
iNdEx = postIndex |
| 15162 |
case 18: |
| 15163 |
if wireType != 2 { |
| 15164 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) |
| 15165 |
} |
| 15166 |
var msglen int |
| 15167 |
for shift := uint(0); ; shift += 7 { |
| 15168 |
if shift >= 64 { |
| 15169 |
return ErrIntOverflowTypes |
| 15170 |
} |
| 15171 |
if iNdEx >= l { |
| 15172 |
return io.ErrUnexpectedEOF |
| 15173 |
} |
| 15174 |
b := dAtA[iNdEx] |
| 15175 |
iNdEx++ |
| 15176 |
msglen |= int(b&0x7F) << shift |
| 15177 |
if b < 0x80 { |
| 15178 |
break |
| 15179 |
} |
| 15180 |
} |
| 15181 |
if msglen < 0 { |
| 15182 |
return ErrInvalidLengthTypes |
| 15183 |
} |
| 15184 |
postIndex := iNdEx + msglen |
| 15185 |
if postIndex < 0 { |
| 15186 |
return ErrInvalidLengthTypes |
| 15187 |
} |
| 15188 |
if postIndex > l { |
| 15189 |
return io.ErrUnexpectedEOF |
| 15190 |
} |
| 15191 |
m.NonnullBool = append(m.NonnullBool, false) |
| 15192 |
if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(&(m.NonnullBool[len(m.NonnullBool)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 15193 |
return err |
| 15194 |
} |
| 15195 |
iNdEx = postIndex |
| 15196 |
case 19: |
| 15197 |
if wireType != 2 { |
| 15198 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) |
| 15199 |
} |
| 15200 |
var msglen int |
| 15201 |
for shift := uint(0); ; shift += 7 { |
| 15202 |
if shift >= 64 { |
| 15203 |
return ErrIntOverflowTypes |
| 15204 |
} |
| 15205 |
if iNdEx >= l { |
| 15206 |
return io.ErrUnexpectedEOF |
| 15207 |
} |
| 15208 |
b := dAtA[iNdEx] |
| 15209 |
iNdEx++ |
| 15210 |
msglen |= int(b&0x7F) << shift |
| 15211 |
if b < 0x80 { |
| 15212 |
break |
| 15213 |
} |
| 15214 |
} |
| 15215 |
if msglen < 0 { |
| 15216 |
return ErrInvalidLengthTypes |
| 15217 |
} |
| 15218 |
postIndex := iNdEx + msglen |
| 15219 |
if postIndex < 0 { |
| 15220 |
return ErrInvalidLengthTypes |
| 15221 |
} |
| 15222 |
if postIndex > l { |
| 15223 |
return io.ErrUnexpectedEOF |
| 15224 |
} |
| 15225 |
m.NullableString = append(m.NullableString, new(string)) |
| 15226 |
if err := github_com_gogo_protobuf_types.StdStringUnmarshal(m.NullableString[len(m.NullableString)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 15227 |
return err |
| 15228 |
} |
| 15229 |
iNdEx = postIndex |
| 15230 |
case 20: |
| 15231 |
if wireType != 2 { |
| 15232 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) |
| 15233 |
} |
| 15234 |
var msglen int |
| 15235 |
for shift := uint(0); ; shift += 7 { |
| 15236 |
if shift >= 64 { |
| 15237 |
return ErrIntOverflowTypes |
| 15238 |
} |
| 15239 |
if iNdEx >= l { |
| 15240 |
return io.ErrUnexpectedEOF |
| 15241 |
} |
| 15242 |
b := dAtA[iNdEx] |
| 15243 |
iNdEx++ |
| 15244 |
msglen |= int(b&0x7F) << shift |
| 15245 |
if b < 0x80 { |
| 15246 |
break |
| 15247 |
} |
| 15248 |
} |
| 15249 |
if msglen < 0 { |
| 15250 |
return ErrInvalidLengthTypes |
| 15251 |
} |
| 15252 |
postIndex := iNdEx + msglen |
| 15253 |
if postIndex < 0 { |
| 15254 |
return ErrInvalidLengthTypes |
| 15255 |
} |
| 15256 |
if postIndex > l { |
| 15257 |
return io.ErrUnexpectedEOF |
| 15258 |
} |
| 15259 |
m.NonnullString = append(m.NonnullString, "") |
| 15260 |
if err := github_com_gogo_protobuf_types.StdStringUnmarshal(&(m.NonnullString[len(m.NonnullString)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 15261 |
return err |
| 15262 |
} |
| 15263 |
iNdEx = postIndex |
| 15264 |
case 21: |
| 15265 |
if wireType != 2 { |
| 15266 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) |
| 15267 |
} |
| 15268 |
var msglen int |
| 15269 |
for shift := uint(0); ; shift += 7 { |
| 15270 |
if shift >= 64 { |
| 15271 |
return ErrIntOverflowTypes |
| 15272 |
} |
| 15273 |
if iNdEx >= l { |
| 15274 |
return io.ErrUnexpectedEOF |
| 15275 |
} |
| 15276 |
b := dAtA[iNdEx] |
| 15277 |
iNdEx++ |
| 15278 |
msglen |= int(b&0x7F) << shift |
| 15279 |
if b < 0x80 { |
| 15280 |
break |
| 15281 |
} |
| 15282 |
} |
| 15283 |
if msglen < 0 { |
| 15284 |
return ErrInvalidLengthTypes |
| 15285 |
} |
| 15286 |
postIndex := iNdEx + msglen |
| 15287 |
if postIndex < 0 { |
| 15288 |
return ErrInvalidLengthTypes |
| 15289 |
} |
| 15290 |
if postIndex > l { |
| 15291 |
return io.ErrUnexpectedEOF |
| 15292 |
} |
| 15293 |
m.NullableBytes = append(m.NullableBytes, new([]byte)) |
| 15294 |
if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(m.NullableBytes[len(m.NullableBytes)-1], dAtA[iNdEx:postIndex]); err != nil { |
| 15295 |
return err |
| 15296 |
} |
| 15297 |
iNdEx = postIndex |
| 15298 |
case 22: |
| 15299 |
if wireType != 2 { |
| 15300 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) |
| 15301 |
} |
| 15302 |
var msglen int |
| 15303 |
for shift := uint(0); ; shift += 7 { |
| 15304 |
if shift >= 64 { |
| 15305 |
return ErrIntOverflowTypes |
| 15306 |
} |
| 15307 |
if iNdEx >= l { |
| 15308 |
return io.ErrUnexpectedEOF |
| 15309 |
} |
| 15310 |
b := dAtA[iNdEx] |
| 15311 |
iNdEx++ |
| 15312 |
msglen |= int(b&0x7F) << shift |
| 15313 |
if b < 0x80 { |
| 15314 |
break |
| 15315 |
} |
| 15316 |
} |
| 15317 |
if msglen < 0 { |
| 15318 |
return ErrInvalidLengthTypes |
| 15319 |
} |
| 15320 |
postIndex := iNdEx + msglen |
| 15321 |
if postIndex < 0 { |
| 15322 |
return ErrInvalidLengthTypes |
| 15323 |
} |
| 15324 |
if postIndex > l { |
| 15325 |
return io.ErrUnexpectedEOF |
| 15326 |
} |
| 15327 |
m.NonnullBytes = append(m.NonnullBytes, []byte{}) |
| 15328 |
if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(&(m.NonnullBytes[len(m.NonnullBytes)-1]), dAtA[iNdEx:postIndex]); err != nil { |
| 15329 |
return err |
| 15330 |
} |
| 15331 |
iNdEx = postIndex |
| 15332 |
default: |
| 15333 |
iNdEx = preIndex |
| 15334 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 15335 |
if err != nil { |
| 15336 |
return err |
| 15337 |
} |
| 15338 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 15339 |
return ErrInvalidLengthTypes |
| 15340 |
} |
| 15341 |
if (iNdEx + skippy) > l { |
| 15342 |
return io.ErrUnexpectedEOF |
| 15343 |
} |
| 15344 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 15345 |
iNdEx += skippy |
| 15346 |
} |
| 15347 |
} |
| 15348 |
|
| 15349 |
if iNdEx > l { |
| 15350 |
return io.ErrUnexpectedEOF |
| 15351 |
} |
| 15352 |
return nil |
| 15353 |
} |
| 15354 |
func (m *MapProtoTypes) Unmarshal(dAtA []byte) error { |
| 15355 |
l := len(dAtA) |
| 15356 |
iNdEx := 0 |
| 15357 |
for iNdEx < l { |
| 15358 |
preIndex := iNdEx |
| 15359 |
var wire uint64 |
| 15360 |
for shift := uint(0); ; shift += 7 { |
| 15361 |
if shift >= 64 { |
| 15362 |
return ErrIntOverflowTypes |
| 15363 |
} |
| 15364 |
if iNdEx >= l { |
| 15365 |
return io.ErrUnexpectedEOF |
| 15366 |
} |
| 15367 |
b := dAtA[iNdEx] |
| 15368 |
iNdEx++ |
| 15369 |
wire |= uint64(b&0x7F) << shift |
| 15370 |
if b < 0x80 { |
| 15371 |
break |
| 15372 |
} |
| 15373 |
} |
| 15374 |
fieldNum := int32(wire >> 3) |
| 15375 |
wireType := int(wire & 0x7) |
| 15376 |
if wireType == 4 { |
| 15377 |
return fmt.Errorf("proto: MapProtoTypes: wiretype end group for non-group") |
| 15378 |
} |
| 15379 |
if fieldNum <= 0 { |
| 15380 |
return fmt.Errorf("proto: MapProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 15381 |
} |
| 15382 |
switch fieldNum { |
| 15383 |
case 1: |
| 15384 |
if wireType != 2 { |
| 15385 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) |
| 15386 |
} |
| 15387 |
var msglen int |
| 15388 |
for shift := uint(0); ; shift += 7 { |
| 15389 |
if shift >= 64 { |
| 15390 |
return ErrIntOverflowTypes |
| 15391 |
} |
| 15392 |
if iNdEx >= l { |
| 15393 |
return io.ErrUnexpectedEOF |
| 15394 |
} |
| 15395 |
b := dAtA[iNdEx] |
| 15396 |
iNdEx++ |
| 15397 |
msglen |= int(b&0x7F) << shift |
| 15398 |
if b < 0x80 { |
| 15399 |
break |
| 15400 |
} |
| 15401 |
} |
| 15402 |
if msglen < 0 { |
| 15403 |
return ErrInvalidLengthTypes |
| 15404 |
} |
| 15405 |
postIndex := iNdEx + msglen |
| 15406 |
if postIndex < 0 { |
| 15407 |
return ErrInvalidLengthTypes |
| 15408 |
} |
| 15409 |
if postIndex > l { |
| 15410 |
return io.ErrUnexpectedEOF |
| 15411 |
} |
| 15412 |
if m.NullableTimestamp == nil { |
| 15413 |
m.NullableTimestamp = make(map[int32]*types.Timestamp) |
| 15414 |
} |
| 15415 |
var mapkey int32 |
| 15416 |
var mapvalue *types.Timestamp |
| 15417 |
for iNdEx < postIndex { |
| 15418 |
entryPreIndex := iNdEx |
| 15419 |
var wire uint64 |
| 15420 |
for shift := uint(0); ; shift += 7 { |
| 15421 |
if shift >= 64 { |
| 15422 |
return ErrIntOverflowTypes |
| 15423 |
} |
| 15424 |
if iNdEx >= l { |
| 15425 |
return io.ErrUnexpectedEOF |
| 15426 |
} |
| 15427 |
b := dAtA[iNdEx] |
| 15428 |
iNdEx++ |
| 15429 |
wire |= uint64(b&0x7F) << shift |
| 15430 |
if b < 0x80 { |
| 15431 |
break |
| 15432 |
} |
| 15433 |
} |
| 15434 |
fieldNum := int32(wire >> 3) |
| 15435 |
if fieldNum == 1 { |
| 15436 |
for shift := uint(0); ; shift += 7 { |
| 15437 |
if shift >= 64 { |
| 15438 |
return ErrIntOverflowTypes |
| 15439 |
} |
| 15440 |
if iNdEx >= l { |
| 15441 |
return io.ErrUnexpectedEOF |
| 15442 |
} |
| 15443 |
b := dAtA[iNdEx] |
| 15444 |
iNdEx++ |
| 15445 |
mapkey |= int32(b&0x7F) << shift |
| 15446 |
if b < 0x80 { |
| 15447 |
break |
| 15448 |
} |
| 15449 |
} |
| 15450 |
} else if fieldNum == 2 { |
| 15451 |
var mapmsglen int |
| 15452 |
for shift := uint(0); ; shift += 7 { |
| 15453 |
if shift >= 64 { |
| 15454 |
return ErrIntOverflowTypes |
| 15455 |
} |
| 15456 |
if iNdEx >= l { |
| 15457 |
return io.ErrUnexpectedEOF |
| 15458 |
} |
| 15459 |
b := dAtA[iNdEx] |
| 15460 |
iNdEx++ |
| 15461 |
mapmsglen |= int(b&0x7F) << shift |
| 15462 |
if b < 0x80 { |
| 15463 |
break |
| 15464 |
} |
| 15465 |
} |
| 15466 |
if mapmsglen < 0 { |
| 15467 |
return ErrInvalidLengthTypes |
| 15468 |
} |
| 15469 |
postmsgIndex := iNdEx + mapmsglen |
| 15470 |
if postmsgIndex < 0 { |
| 15471 |
return ErrInvalidLengthTypes |
| 15472 |
} |
| 15473 |
if postmsgIndex > l { |
| 15474 |
return io.ErrUnexpectedEOF |
| 15475 |
} |
| 15476 |
mapvalue = &types.Timestamp{} |
| 15477 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 15478 |
return err |
| 15479 |
} |
| 15480 |
iNdEx = postmsgIndex |
| 15481 |
} else { |
| 15482 |
iNdEx = entryPreIndex |
| 15483 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 15484 |
if err != nil { |
| 15485 |
return err |
| 15486 |
} |
| 15487 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 15488 |
return ErrInvalidLengthTypes |
| 15489 |
} |
| 15490 |
if (iNdEx + skippy) > postIndex { |
| 15491 |
return io.ErrUnexpectedEOF |
| 15492 |
} |
| 15493 |
iNdEx += skippy |
| 15494 |
} |
| 15495 |
} |
| 15496 |
m.NullableTimestamp[mapkey] = mapvalue |
| 15497 |
iNdEx = postIndex |
| 15498 |
case 2: |
| 15499 |
if wireType != 2 { |
| 15500 |
return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) |
| 15501 |
} |
| 15502 |
var msglen int |
| 15503 |
for shift := uint(0); ; shift += 7 { |
| 15504 |
if shift >= 64 { |
| 15505 |
return ErrIntOverflowTypes |
| 15506 |
} |
| 15507 |
if iNdEx >= l { |
| 15508 |
return io.ErrUnexpectedEOF |
| 15509 |
} |
| 15510 |
b := dAtA[iNdEx] |
| 15511 |
iNdEx++ |
| 15512 |
msglen |= int(b&0x7F) << shift |
| 15513 |
if b < 0x80 { |
| 15514 |
break |
| 15515 |
} |
| 15516 |
} |
| 15517 |
if msglen < 0 { |
| 15518 |
return ErrInvalidLengthTypes |
| 15519 |
} |
| 15520 |
postIndex := iNdEx + msglen |
| 15521 |
if postIndex < 0 { |
| 15522 |
return ErrInvalidLengthTypes |
| 15523 |
} |
| 15524 |
if postIndex > l { |
| 15525 |
return io.ErrUnexpectedEOF |
| 15526 |
} |
| 15527 |
if m.Timestamp == nil { |
| 15528 |
m.Timestamp = make(map[int32]types.Timestamp) |
| 15529 |
} |
| 15530 |
var mapkey int32 |
| 15531 |
mapvalue := &types.Timestamp{} |
| 15532 |
for iNdEx < postIndex { |
| 15533 |
entryPreIndex := iNdEx |
| 15534 |
var wire uint64 |
| 15535 |
for shift := uint(0); ; shift += 7 { |
| 15536 |
if shift >= 64 { |
| 15537 |
return ErrIntOverflowTypes |
| 15538 |
} |
| 15539 |
if iNdEx >= l { |
| 15540 |
return io.ErrUnexpectedEOF |
| 15541 |
} |
| 15542 |
b := dAtA[iNdEx] |
| 15543 |
iNdEx++ |
| 15544 |
wire |= uint64(b&0x7F) << shift |
| 15545 |
if b < 0x80 { |
| 15546 |
break |
| 15547 |
} |
| 15548 |
} |
| 15549 |
fieldNum := int32(wire >> 3) |
| 15550 |
if fieldNum == 1 { |
| 15551 |
for shift := uint(0); ; shift += 7 { |
| 15552 |
if shift >= 64 { |
| 15553 |
return ErrIntOverflowTypes |
| 15554 |
} |
| 15555 |
if iNdEx >= l { |
| 15556 |
return io.ErrUnexpectedEOF |
| 15557 |
} |
| 15558 |
b := dAtA[iNdEx] |
| 15559 |
iNdEx++ |
| 15560 |
mapkey |= int32(b&0x7F) << shift |
| 15561 |
if b < 0x80 { |
| 15562 |
break |
| 15563 |
} |
| 15564 |
} |
| 15565 |
} else if fieldNum == 2 { |
| 15566 |
var mapmsglen int |
| 15567 |
for shift := uint(0); ; shift += 7 { |
| 15568 |
if shift >= 64 { |
| 15569 |
return ErrIntOverflowTypes |
| 15570 |
} |
| 15571 |
if iNdEx >= l { |
| 15572 |
return io.ErrUnexpectedEOF |
| 15573 |
} |
| 15574 |
b := dAtA[iNdEx] |
| 15575 |
iNdEx++ |
| 15576 |
mapmsglen |= int(b&0x7F) << shift |
| 15577 |
if b < 0x80 { |
| 15578 |
break |
| 15579 |
} |
| 15580 |
} |
| 15581 |
if mapmsglen < 0 { |
| 15582 |
return ErrInvalidLengthTypes |
| 15583 |
} |
| 15584 |
postmsgIndex := iNdEx + mapmsglen |
| 15585 |
if postmsgIndex < 0 { |
| 15586 |
return ErrInvalidLengthTypes |
| 15587 |
} |
| 15588 |
if postmsgIndex > l { |
| 15589 |
return io.ErrUnexpectedEOF |
| 15590 |
} |
| 15591 |
mapvalue = &types.Timestamp{} |
| 15592 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 15593 |
return err |
| 15594 |
} |
| 15595 |
iNdEx = postmsgIndex |
| 15596 |
} else { |
| 15597 |
iNdEx = entryPreIndex |
| 15598 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 15599 |
if err != nil { |
| 15600 |
return err |
| 15601 |
} |
| 15602 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 15603 |
return ErrInvalidLengthTypes |
| 15604 |
} |
| 15605 |
if (iNdEx + skippy) > postIndex { |
| 15606 |
return io.ErrUnexpectedEOF |
| 15607 |
} |
| 15608 |
iNdEx += skippy |
| 15609 |
} |
| 15610 |
} |
| 15611 |
m.Timestamp[mapkey] = *mapvalue |
| 15612 |
iNdEx = postIndex |
| 15613 |
case 3: |
| 15614 |
if wireType != 2 { |
| 15615 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) |
| 15616 |
} |
| 15617 |
var msglen int |
| 15618 |
for shift := uint(0); ; shift += 7 { |
| 15619 |
if shift >= 64 { |
| 15620 |
return ErrIntOverflowTypes |
| 15621 |
} |
| 15622 |
if iNdEx >= l { |
| 15623 |
return io.ErrUnexpectedEOF |
| 15624 |
} |
| 15625 |
b := dAtA[iNdEx] |
| 15626 |
iNdEx++ |
| 15627 |
msglen |= int(b&0x7F) << shift |
| 15628 |
if b < 0x80 { |
| 15629 |
break |
| 15630 |
} |
| 15631 |
} |
| 15632 |
if msglen < 0 { |
| 15633 |
return ErrInvalidLengthTypes |
| 15634 |
} |
| 15635 |
postIndex := iNdEx + msglen |
| 15636 |
if postIndex < 0 { |
| 15637 |
return ErrInvalidLengthTypes |
| 15638 |
} |
| 15639 |
if postIndex > l { |
| 15640 |
return io.ErrUnexpectedEOF |
| 15641 |
} |
| 15642 |
if m.NullableDuration == nil { |
| 15643 |
m.NullableDuration = make(map[int32]*types.Duration) |
| 15644 |
} |
| 15645 |
var mapkey int32 |
| 15646 |
var mapvalue *types.Duration |
| 15647 |
for iNdEx < postIndex { |
| 15648 |
entryPreIndex := iNdEx |
| 15649 |
var wire uint64 |
| 15650 |
for shift := uint(0); ; shift += 7 { |
| 15651 |
if shift >= 64 { |
| 15652 |
return ErrIntOverflowTypes |
| 15653 |
} |
| 15654 |
if iNdEx >= l { |
| 15655 |
return io.ErrUnexpectedEOF |
| 15656 |
} |
| 15657 |
b := dAtA[iNdEx] |
| 15658 |
iNdEx++ |
| 15659 |
wire |= uint64(b&0x7F) << shift |
| 15660 |
if b < 0x80 { |
| 15661 |
break |
| 15662 |
} |
| 15663 |
} |
| 15664 |
fieldNum := int32(wire >> 3) |
| 15665 |
if fieldNum == 1 { |
| 15666 |
for shift := uint(0); ; shift += 7 { |
| 15667 |
if shift >= 64 { |
| 15668 |
return ErrIntOverflowTypes |
| 15669 |
} |
| 15670 |
if iNdEx >= l { |
| 15671 |
return io.ErrUnexpectedEOF |
| 15672 |
} |
| 15673 |
b := dAtA[iNdEx] |
| 15674 |
iNdEx++ |
| 15675 |
mapkey |= int32(b&0x7F) << shift |
| 15676 |
if b < 0x80 { |
| 15677 |
break |
| 15678 |
} |
| 15679 |
} |
| 15680 |
} else if fieldNum == 2 { |
| 15681 |
var mapmsglen int |
| 15682 |
for shift := uint(0); ; shift += 7 { |
| 15683 |
if shift >= 64 { |
| 15684 |
return ErrIntOverflowTypes |
| 15685 |
} |
| 15686 |
if iNdEx >= l { |
| 15687 |
return io.ErrUnexpectedEOF |
| 15688 |
} |
| 15689 |
b := dAtA[iNdEx] |
| 15690 |
iNdEx++ |
| 15691 |
mapmsglen |= int(b&0x7F) << shift |
| 15692 |
if b < 0x80 { |
| 15693 |
break |
| 15694 |
} |
| 15695 |
} |
| 15696 |
if mapmsglen < 0 { |
| 15697 |
return ErrInvalidLengthTypes |
| 15698 |
} |
| 15699 |
postmsgIndex := iNdEx + mapmsglen |
| 15700 |
if postmsgIndex < 0 { |
| 15701 |
return ErrInvalidLengthTypes |
| 15702 |
} |
| 15703 |
if postmsgIndex > l { |
| 15704 |
return io.ErrUnexpectedEOF |
| 15705 |
} |
| 15706 |
mapvalue = &types.Duration{} |
| 15707 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 15708 |
return err |
| 15709 |
} |
| 15710 |
iNdEx = postmsgIndex |
| 15711 |
} else { |
| 15712 |
iNdEx = entryPreIndex |
| 15713 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 15714 |
if err != nil { |
| 15715 |
return err |
| 15716 |
} |
| 15717 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 15718 |
return ErrInvalidLengthTypes |
| 15719 |
} |
| 15720 |
if (iNdEx + skippy) > postIndex { |
| 15721 |
return io.ErrUnexpectedEOF |
| 15722 |
} |
| 15723 |
iNdEx += skippy |
| 15724 |
} |
| 15725 |
} |
| 15726 |
m.NullableDuration[mapkey] = mapvalue |
| 15727 |
iNdEx = postIndex |
| 15728 |
case 4: |
| 15729 |
if wireType != 2 { |
| 15730 |
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) |
| 15731 |
} |
| 15732 |
var msglen int |
| 15733 |
for shift := uint(0); ; shift += 7 { |
| 15734 |
if shift >= 64 { |
| 15735 |
return ErrIntOverflowTypes |
| 15736 |
} |
| 15737 |
if iNdEx >= l { |
| 15738 |
return io.ErrUnexpectedEOF |
| 15739 |
} |
| 15740 |
b := dAtA[iNdEx] |
| 15741 |
iNdEx++ |
| 15742 |
msglen |= int(b&0x7F) << shift |
| 15743 |
if b < 0x80 { |
| 15744 |
break |
| 15745 |
} |
| 15746 |
} |
| 15747 |
if msglen < 0 { |
| 15748 |
return ErrInvalidLengthTypes |
| 15749 |
} |
| 15750 |
postIndex := iNdEx + msglen |
| 15751 |
if postIndex < 0 { |
| 15752 |
return ErrInvalidLengthTypes |
| 15753 |
} |
| 15754 |
if postIndex > l { |
| 15755 |
return io.ErrUnexpectedEOF |
| 15756 |
} |
| 15757 |
if m.Duration == nil { |
| 15758 |
m.Duration = make(map[int32]types.Duration) |
| 15759 |
} |
| 15760 |
var mapkey int32 |
| 15761 |
mapvalue := &types.Duration{} |
| 15762 |
for iNdEx < postIndex { |
| 15763 |
entryPreIndex := iNdEx |
| 15764 |
var wire uint64 |
| 15765 |
for shift := uint(0); ; shift += 7 { |
| 15766 |
if shift >= 64 { |
| 15767 |
return ErrIntOverflowTypes |
| 15768 |
} |
| 15769 |
if iNdEx >= l { |
| 15770 |
return io.ErrUnexpectedEOF |
| 15771 |
} |
| 15772 |
b := dAtA[iNdEx] |
| 15773 |
iNdEx++ |
| 15774 |
wire |= uint64(b&0x7F) << shift |
| 15775 |
if b < 0x80 { |
| 15776 |
break |
| 15777 |
} |
| 15778 |
} |
| 15779 |
fieldNum := int32(wire >> 3) |
| 15780 |
if fieldNum == 1 { |
| 15781 |
for shift := uint(0); ; shift += 7 { |
| 15782 |
if shift >= 64 { |
| 15783 |
return ErrIntOverflowTypes |
| 15784 |
} |
| 15785 |
if iNdEx >= l { |
| 15786 |
return io.ErrUnexpectedEOF |
| 15787 |
} |
| 15788 |
b := dAtA[iNdEx] |
| 15789 |
iNdEx++ |
| 15790 |
mapkey |= int32(b&0x7F) << shift |
| 15791 |
if b < 0x80 { |
| 15792 |
break |
| 15793 |
} |
| 15794 |
} |
| 15795 |
} else if fieldNum == 2 { |
| 15796 |
var mapmsglen int |
| 15797 |
for shift := uint(0); ; shift += 7 { |
| 15798 |
if shift >= 64 { |
| 15799 |
return ErrIntOverflowTypes |
| 15800 |
} |
| 15801 |
if iNdEx >= l { |
| 15802 |
return io.ErrUnexpectedEOF |
| 15803 |
} |
| 15804 |
b := dAtA[iNdEx] |
| 15805 |
iNdEx++ |
| 15806 |
mapmsglen |= int(b&0x7F) << shift |
| 15807 |
if b < 0x80 { |
| 15808 |
break |
| 15809 |
} |
| 15810 |
} |
| 15811 |
if mapmsglen < 0 { |
| 15812 |
return ErrInvalidLengthTypes |
| 15813 |
} |
| 15814 |
postmsgIndex := iNdEx + mapmsglen |
| 15815 |
if postmsgIndex < 0 { |
| 15816 |
return ErrInvalidLengthTypes |
| 15817 |
} |
| 15818 |
if postmsgIndex > l { |
| 15819 |
return io.ErrUnexpectedEOF |
| 15820 |
} |
| 15821 |
mapvalue = &types.Duration{} |
| 15822 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 15823 |
return err |
| 15824 |
} |
| 15825 |
iNdEx = postmsgIndex |
| 15826 |
} else { |
| 15827 |
iNdEx = entryPreIndex |
| 15828 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 15829 |
if err != nil { |
| 15830 |
return err |
| 15831 |
} |
| 15832 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 15833 |
return ErrInvalidLengthTypes |
| 15834 |
} |
| 15835 |
if (iNdEx + skippy) > postIndex { |
| 15836 |
return io.ErrUnexpectedEOF |
| 15837 |
} |
| 15838 |
iNdEx += skippy |
| 15839 |
} |
| 15840 |
} |
| 15841 |
m.Duration[mapkey] = *mapvalue |
| 15842 |
iNdEx = postIndex |
| 15843 |
case 5: |
| 15844 |
if wireType != 2 { |
| 15845 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) |
| 15846 |
} |
| 15847 |
var msglen int |
| 15848 |
for shift := uint(0); ; shift += 7 { |
| 15849 |
if shift >= 64 { |
| 15850 |
return ErrIntOverflowTypes |
| 15851 |
} |
| 15852 |
if iNdEx >= l { |
| 15853 |
return io.ErrUnexpectedEOF |
| 15854 |
} |
| 15855 |
b := dAtA[iNdEx] |
| 15856 |
iNdEx++ |
| 15857 |
msglen |= int(b&0x7F) << shift |
| 15858 |
if b < 0x80 { |
| 15859 |
break |
| 15860 |
} |
| 15861 |
} |
| 15862 |
if msglen < 0 { |
| 15863 |
return ErrInvalidLengthTypes |
| 15864 |
} |
| 15865 |
postIndex := iNdEx + msglen |
| 15866 |
if postIndex < 0 { |
| 15867 |
return ErrInvalidLengthTypes |
| 15868 |
} |
| 15869 |
if postIndex > l { |
| 15870 |
return io.ErrUnexpectedEOF |
| 15871 |
} |
| 15872 |
if m.NullableDouble == nil { |
| 15873 |
m.NullableDouble = make(map[int32]*types.DoubleValue) |
| 15874 |
} |
| 15875 |
var mapkey int32 |
| 15876 |
var mapvalue *types.DoubleValue |
| 15877 |
for iNdEx < postIndex { |
| 15878 |
entryPreIndex := iNdEx |
| 15879 |
var wire uint64 |
| 15880 |
for shift := uint(0); ; shift += 7 { |
| 15881 |
if shift >= 64 { |
| 15882 |
return ErrIntOverflowTypes |
| 15883 |
} |
| 15884 |
if iNdEx >= l { |
| 15885 |
return io.ErrUnexpectedEOF |
| 15886 |
} |
| 15887 |
b := dAtA[iNdEx] |
| 15888 |
iNdEx++ |
| 15889 |
wire |= uint64(b&0x7F) << shift |
| 15890 |
if b < 0x80 { |
| 15891 |
break |
| 15892 |
} |
| 15893 |
} |
| 15894 |
fieldNum := int32(wire >> 3) |
| 15895 |
if fieldNum == 1 { |
| 15896 |
for shift := uint(0); ; shift += 7 { |
| 15897 |
if shift >= 64 { |
| 15898 |
return ErrIntOverflowTypes |
| 15899 |
} |
| 15900 |
if iNdEx >= l { |
| 15901 |
return io.ErrUnexpectedEOF |
| 15902 |
} |
| 15903 |
b := dAtA[iNdEx] |
| 15904 |
iNdEx++ |
| 15905 |
mapkey |= int32(b&0x7F) << shift |
| 15906 |
if b < 0x80 { |
| 15907 |
break |
| 15908 |
} |
| 15909 |
} |
| 15910 |
} else if fieldNum == 2 { |
| 15911 |
var mapmsglen int |
| 15912 |
for shift := uint(0); ; shift += 7 { |
| 15913 |
if shift >= 64 { |
| 15914 |
return ErrIntOverflowTypes |
| 15915 |
} |
| 15916 |
if iNdEx >= l { |
| 15917 |
return io.ErrUnexpectedEOF |
| 15918 |
} |
| 15919 |
b := dAtA[iNdEx] |
| 15920 |
iNdEx++ |
| 15921 |
mapmsglen |= int(b&0x7F) << shift |
| 15922 |
if b < 0x80 { |
| 15923 |
break |
| 15924 |
} |
| 15925 |
} |
| 15926 |
if mapmsglen < 0 { |
| 15927 |
return ErrInvalidLengthTypes |
| 15928 |
} |
| 15929 |
postmsgIndex := iNdEx + mapmsglen |
| 15930 |
if postmsgIndex < 0 { |
| 15931 |
return ErrInvalidLengthTypes |
| 15932 |
} |
| 15933 |
if postmsgIndex > l { |
| 15934 |
return io.ErrUnexpectedEOF |
| 15935 |
} |
| 15936 |
mapvalue = &types.DoubleValue{} |
| 15937 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 15938 |
return err |
| 15939 |
} |
| 15940 |
iNdEx = postmsgIndex |
| 15941 |
} else { |
| 15942 |
iNdEx = entryPreIndex |
| 15943 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 15944 |
if err != nil { |
| 15945 |
return err |
| 15946 |
} |
| 15947 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 15948 |
return ErrInvalidLengthTypes |
| 15949 |
} |
| 15950 |
if (iNdEx + skippy) > postIndex { |
| 15951 |
return io.ErrUnexpectedEOF |
| 15952 |
} |
| 15953 |
iNdEx += skippy |
| 15954 |
} |
| 15955 |
} |
| 15956 |
m.NullableDouble[mapkey] = mapvalue |
| 15957 |
iNdEx = postIndex |
| 15958 |
case 6: |
| 15959 |
if wireType != 2 { |
| 15960 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) |
| 15961 |
} |
| 15962 |
var msglen int |
| 15963 |
for shift := uint(0); ; shift += 7 { |
| 15964 |
if shift >= 64 { |
| 15965 |
return ErrIntOverflowTypes |
| 15966 |
} |
| 15967 |
if iNdEx >= l { |
| 15968 |
return io.ErrUnexpectedEOF |
| 15969 |
} |
| 15970 |
b := dAtA[iNdEx] |
| 15971 |
iNdEx++ |
| 15972 |
msglen |= int(b&0x7F) << shift |
| 15973 |
if b < 0x80 { |
| 15974 |
break |
| 15975 |
} |
| 15976 |
} |
| 15977 |
if msglen < 0 { |
| 15978 |
return ErrInvalidLengthTypes |
| 15979 |
} |
| 15980 |
postIndex := iNdEx + msglen |
| 15981 |
if postIndex < 0 { |
| 15982 |
return ErrInvalidLengthTypes |
| 15983 |
} |
| 15984 |
if postIndex > l { |
| 15985 |
return io.ErrUnexpectedEOF |
| 15986 |
} |
| 15987 |
if m.NonnullDouble == nil { |
| 15988 |
m.NonnullDouble = make(map[int32]types.DoubleValue) |
| 15989 |
} |
| 15990 |
var mapkey int32 |
| 15991 |
mapvalue := &types.DoubleValue{} |
| 15992 |
for iNdEx < postIndex { |
| 15993 |
entryPreIndex := iNdEx |
| 15994 |
var wire uint64 |
| 15995 |
for shift := uint(0); ; shift += 7 { |
| 15996 |
if shift >= 64 { |
| 15997 |
return ErrIntOverflowTypes |
| 15998 |
} |
| 15999 |
if iNdEx >= l { |
| 16000 |
return io.ErrUnexpectedEOF |
| 16001 |
} |
| 16002 |
b := dAtA[iNdEx] |
| 16003 |
iNdEx++ |
| 16004 |
wire |= uint64(b&0x7F) << shift |
| 16005 |
if b < 0x80 { |
| 16006 |
break |
| 16007 |
} |
| 16008 |
} |
| 16009 |
fieldNum := int32(wire >> 3) |
| 16010 |
if fieldNum == 1 { |
| 16011 |
for shift := uint(0); ; shift += 7 { |
| 16012 |
if shift >= 64 { |
| 16013 |
return ErrIntOverflowTypes |
| 16014 |
} |
| 16015 |
if iNdEx >= l { |
| 16016 |
return io.ErrUnexpectedEOF |
| 16017 |
} |
| 16018 |
b := dAtA[iNdEx] |
| 16019 |
iNdEx++ |
| 16020 |
mapkey |= int32(b&0x7F) << shift |
| 16021 |
if b < 0x80 { |
| 16022 |
break |
| 16023 |
} |
| 16024 |
} |
| 16025 |
} else if fieldNum == 2 { |
| 16026 |
var mapmsglen int |
| 16027 |
for shift := uint(0); ; shift += 7 { |
| 16028 |
if shift >= 64 { |
| 16029 |
return ErrIntOverflowTypes |
| 16030 |
} |
| 16031 |
if iNdEx >= l { |
| 16032 |
return io.ErrUnexpectedEOF |
| 16033 |
} |
| 16034 |
b := dAtA[iNdEx] |
| 16035 |
iNdEx++ |
| 16036 |
mapmsglen |= int(b&0x7F) << shift |
| 16037 |
if b < 0x80 { |
| 16038 |
break |
| 16039 |
} |
| 16040 |
} |
| 16041 |
if mapmsglen < 0 { |
| 16042 |
return ErrInvalidLengthTypes |
| 16043 |
} |
| 16044 |
postmsgIndex := iNdEx + mapmsglen |
| 16045 |
if postmsgIndex < 0 { |
| 16046 |
return ErrInvalidLengthTypes |
| 16047 |
} |
| 16048 |
if postmsgIndex > l { |
| 16049 |
return io.ErrUnexpectedEOF |
| 16050 |
} |
| 16051 |
mapvalue = &types.DoubleValue{} |
| 16052 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16053 |
return err |
| 16054 |
} |
| 16055 |
iNdEx = postmsgIndex |
| 16056 |
} else { |
| 16057 |
iNdEx = entryPreIndex |
| 16058 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16059 |
if err != nil { |
| 16060 |
return err |
| 16061 |
} |
| 16062 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16063 |
return ErrInvalidLengthTypes |
| 16064 |
} |
| 16065 |
if (iNdEx + skippy) > postIndex { |
| 16066 |
return io.ErrUnexpectedEOF |
| 16067 |
} |
| 16068 |
iNdEx += skippy |
| 16069 |
} |
| 16070 |
} |
| 16071 |
m.NonnullDouble[mapkey] = *mapvalue |
| 16072 |
iNdEx = postIndex |
| 16073 |
case 7: |
| 16074 |
if wireType != 2 { |
| 16075 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) |
| 16076 |
} |
| 16077 |
var msglen int |
| 16078 |
for shift := uint(0); ; shift += 7 { |
| 16079 |
if shift >= 64 { |
| 16080 |
return ErrIntOverflowTypes |
| 16081 |
} |
| 16082 |
if iNdEx >= l { |
| 16083 |
return io.ErrUnexpectedEOF |
| 16084 |
} |
| 16085 |
b := dAtA[iNdEx] |
| 16086 |
iNdEx++ |
| 16087 |
msglen |= int(b&0x7F) << shift |
| 16088 |
if b < 0x80 { |
| 16089 |
break |
| 16090 |
} |
| 16091 |
} |
| 16092 |
if msglen < 0 { |
| 16093 |
return ErrInvalidLengthTypes |
| 16094 |
} |
| 16095 |
postIndex := iNdEx + msglen |
| 16096 |
if postIndex < 0 { |
| 16097 |
return ErrInvalidLengthTypes |
| 16098 |
} |
| 16099 |
if postIndex > l { |
| 16100 |
return io.ErrUnexpectedEOF |
| 16101 |
} |
| 16102 |
if m.NullableFloat == nil { |
| 16103 |
m.NullableFloat = make(map[int32]*types.FloatValue) |
| 16104 |
} |
| 16105 |
var mapkey int32 |
| 16106 |
var mapvalue *types.FloatValue |
| 16107 |
for iNdEx < postIndex { |
| 16108 |
entryPreIndex := iNdEx |
| 16109 |
var wire uint64 |
| 16110 |
for shift := uint(0); ; shift += 7 { |
| 16111 |
if shift >= 64 { |
| 16112 |
return ErrIntOverflowTypes |
| 16113 |
} |
| 16114 |
if iNdEx >= l { |
| 16115 |
return io.ErrUnexpectedEOF |
| 16116 |
} |
| 16117 |
b := dAtA[iNdEx] |
| 16118 |
iNdEx++ |
| 16119 |
wire |= uint64(b&0x7F) << shift |
| 16120 |
if b < 0x80 { |
| 16121 |
break |
| 16122 |
} |
| 16123 |
} |
| 16124 |
fieldNum := int32(wire >> 3) |
| 16125 |
if fieldNum == 1 { |
| 16126 |
for shift := uint(0); ; shift += 7 { |
| 16127 |
if shift >= 64 { |
| 16128 |
return ErrIntOverflowTypes |
| 16129 |
} |
| 16130 |
if iNdEx >= l { |
| 16131 |
return io.ErrUnexpectedEOF |
| 16132 |
} |
| 16133 |
b := dAtA[iNdEx] |
| 16134 |
iNdEx++ |
| 16135 |
mapkey |= int32(b&0x7F) << shift |
| 16136 |
if b < 0x80 { |
| 16137 |
break |
| 16138 |
} |
| 16139 |
} |
| 16140 |
} else if fieldNum == 2 { |
| 16141 |
var mapmsglen int |
| 16142 |
for shift := uint(0); ; shift += 7 { |
| 16143 |
if shift >= 64 { |
| 16144 |
return ErrIntOverflowTypes |
| 16145 |
} |
| 16146 |
if iNdEx >= l { |
| 16147 |
return io.ErrUnexpectedEOF |
| 16148 |
} |
| 16149 |
b := dAtA[iNdEx] |
| 16150 |
iNdEx++ |
| 16151 |
mapmsglen |= int(b&0x7F) << shift |
| 16152 |
if b < 0x80 { |
| 16153 |
break |
| 16154 |
} |
| 16155 |
} |
| 16156 |
if mapmsglen < 0 { |
| 16157 |
return ErrInvalidLengthTypes |
| 16158 |
} |
| 16159 |
postmsgIndex := iNdEx + mapmsglen |
| 16160 |
if postmsgIndex < 0 { |
| 16161 |
return ErrInvalidLengthTypes |
| 16162 |
} |
| 16163 |
if postmsgIndex > l { |
| 16164 |
return io.ErrUnexpectedEOF |
| 16165 |
} |
| 16166 |
mapvalue = &types.FloatValue{} |
| 16167 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16168 |
return err |
| 16169 |
} |
| 16170 |
iNdEx = postmsgIndex |
| 16171 |
} else { |
| 16172 |
iNdEx = entryPreIndex |
| 16173 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16174 |
if err != nil { |
| 16175 |
return err |
| 16176 |
} |
| 16177 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16178 |
return ErrInvalidLengthTypes |
| 16179 |
} |
| 16180 |
if (iNdEx + skippy) > postIndex { |
| 16181 |
return io.ErrUnexpectedEOF |
| 16182 |
} |
| 16183 |
iNdEx += skippy |
| 16184 |
} |
| 16185 |
} |
| 16186 |
m.NullableFloat[mapkey] = mapvalue |
| 16187 |
iNdEx = postIndex |
| 16188 |
case 8: |
| 16189 |
if wireType != 2 { |
| 16190 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) |
| 16191 |
} |
| 16192 |
var msglen int |
| 16193 |
for shift := uint(0); ; shift += 7 { |
| 16194 |
if shift >= 64 { |
| 16195 |
return ErrIntOverflowTypes |
| 16196 |
} |
| 16197 |
if iNdEx >= l { |
| 16198 |
return io.ErrUnexpectedEOF |
| 16199 |
} |
| 16200 |
b := dAtA[iNdEx] |
| 16201 |
iNdEx++ |
| 16202 |
msglen |= int(b&0x7F) << shift |
| 16203 |
if b < 0x80 { |
| 16204 |
break |
| 16205 |
} |
| 16206 |
} |
| 16207 |
if msglen < 0 { |
| 16208 |
return ErrInvalidLengthTypes |
| 16209 |
} |
| 16210 |
postIndex := iNdEx + msglen |
| 16211 |
if postIndex < 0 { |
| 16212 |
return ErrInvalidLengthTypes |
| 16213 |
} |
| 16214 |
if postIndex > l { |
| 16215 |
return io.ErrUnexpectedEOF |
| 16216 |
} |
| 16217 |
if m.NonnullFloat == nil { |
| 16218 |
m.NonnullFloat = make(map[int32]types.FloatValue) |
| 16219 |
} |
| 16220 |
var mapkey int32 |
| 16221 |
mapvalue := &types.FloatValue{} |
| 16222 |
for iNdEx < postIndex { |
| 16223 |
entryPreIndex := iNdEx |
| 16224 |
var wire uint64 |
| 16225 |
for shift := uint(0); ; shift += 7 { |
| 16226 |
if shift >= 64 { |
| 16227 |
return ErrIntOverflowTypes |
| 16228 |
} |
| 16229 |
if iNdEx >= l { |
| 16230 |
return io.ErrUnexpectedEOF |
| 16231 |
} |
| 16232 |
b := dAtA[iNdEx] |
| 16233 |
iNdEx++ |
| 16234 |
wire |= uint64(b&0x7F) << shift |
| 16235 |
if b < 0x80 { |
| 16236 |
break |
| 16237 |
} |
| 16238 |
} |
| 16239 |
fieldNum := int32(wire >> 3) |
| 16240 |
if fieldNum == 1 { |
| 16241 |
for shift := uint(0); ; shift += 7 { |
| 16242 |
if shift >= 64 { |
| 16243 |
return ErrIntOverflowTypes |
| 16244 |
} |
| 16245 |
if iNdEx >= l { |
| 16246 |
return io.ErrUnexpectedEOF |
| 16247 |
} |
| 16248 |
b := dAtA[iNdEx] |
| 16249 |
iNdEx++ |
| 16250 |
mapkey |= int32(b&0x7F) << shift |
| 16251 |
if b < 0x80 { |
| 16252 |
break |
| 16253 |
} |
| 16254 |
} |
| 16255 |
} else if fieldNum == 2 { |
| 16256 |
var mapmsglen int |
| 16257 |
for shift := uint(0); ; shift += 7 { |
| 16258 |
if shift >= 64 { |
| 16259 |
return ErrIntOverflowTypes |
| 16260 |
} |
| 16261 |
if iNdEx >= l { |
| 16262 |
return io.ErrUnexpectedEOF |
| 16263 |
} |
| 16264 |
b := dAtA[iNdEx] |
| 16265 |
iNdEx++ |
| 16266 |
mapmsglen |= int(b&0x7F) << shift |
| 16267 |
if b < 0x80 { |
| 16268 |
break |
| 16269 |
} |
| 16270 |
} |
| 16271 |
if mapmsglen < 0 { |
| 16272 |
return ErrInvalidLengthTypes |
| 16273 |
} |
| 16274 |
postmsgIndex := iNdEx + mapmsglen |
| 16275 |
if postmsgIndex < 0 { |
| 16276 |
return ErrInvalidLengthTypes |
| 16277 |
} |
| 16278 |
if postmsgIndex > l { |
| 16279 |
return io.ErrUnexpectedEOF |
| 16280 |
} |
| 16281 |
mapvalue = &types.FloatValue{} |
| 16282 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16283 |
return err |
| 16284 |
} |
| 16285 |
iNdEx = postmsgIndex |
| 16286 |
} else { |
| 16287 |
iNdEx = entryPreIndex |
| 16288 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16289 |
if err != nil { |
| 16290 |
return err |
| 16291 |
} |
| 16292 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16293 |
return ErrInvalidLengthTypes |
| 16294 |
} |
| 16295 |
if (iNdEx + skippy) > postIndex { |
| 16296 |
return io.ErrUnexpectedEOF |
| 16297 |
} |
| 16298 |
iNdEx += skippy |
| 16299 |
} |
| 16300 |
} |
| 16301 |
m.NonnullFloat[mapkey] = *mapvalue |
| 16302 |
iNdEx = postIndex |
| 16303 |
case 9: |
| 16304 |
if wireType != 2 { |
| 16305 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) |
| 16306 |
} |
| 16307 |
var msglen int |
| 16308 |
for shift := uint(0); ; shift += 7 { |
| 16309 |
if shift >= 64 { |
| 16310 |
return ErrIntOverflowTypes |
| 16311 |
} |
| 16312 |
if iNdEx >= l { |
| 16313 |
return io.ErrUnexpectedEOF |
| 16314 |
} |
| 16315 |
b := dAtA[iNdEx] |
| 16316 |
iNdEx++ |
| 16317 |
msglen |= int(b&0x7F) << shift |
| 16318 |
if b < 0x80 { |
| 16319 |
break |
| 16320 |
} |
| 16321 |
} |
| 16322 |
if msglen < 0 { |
| 16323 |
return ErrInvalidLengthTypes |
| 16324 |
} |
| 16325 |
postIndex := iNdEx + msglen |
| 16326 |
if postIndex < 0 { |
| 16327 |
return ErrInvalidLengthTypes |
| 16328 |
} |
| 16329 |
if postIndex > l { |
| 16330 |
return io.ErrUnexpectedEOF |
| 16331 |
} |
| 16332 |
if m.NullableInt64 == nil { |
| 16333 |
m.NullableInt64 = make(map[int32]*types.Int64Value) |
| 16334 |
} |
| 16335 |
var mapkey int32 |
| 16336 |
var mapvalue *types.Int64Value |
| 16337 |
for iNdEx < postIndex { |
| 16338 |
entryPreIndex := iNdEx |
| 16339 |
var wire uint64 |
| 16340 |
for shift := uint(0); ; shift += 7 { |
| 16341 |
if shift >= 64 { |
| 16342 |
return ErrIntOverflowTypes |
| 16343 |
} |
| 16344 |
if iNdEx >= l { |
| 16345 |
return io.ErrUnexpectedEOF |
| 16346 |
} |
| 16347 |
b := dAtA[iNdEx] |
| 16348 |
iNdEx++ |
| 16349 |
wire |= uint64(b&0x7F) << shift |
| 16350 |
if b < 0x80 { |
| 16351 |
break |
| 16352 |
} |
| 16353 |
} |
| 16354 |
fieldNum := int32(wire >> 3) |
| 16355 |
if fieldNum == 1 { |
| 16356 |
for shift := uint(0); ; shift += 7 { |
| 16357 |
if shift >= 64 { |
| 16358 |
return ErrIntOverflowTypes |
| 16359 |
} |
| 16360 |
if iNdEx >= l { |
| 16361 |
return io.ErrUnexpectedEOF |
| 16362 |
} |
| 16363 |
b := dAtA[iNdEx] |
| 16364 |
iNdEx++ |
| 16365 |
mapkey |= int32(b&0x7F) << shift |
| 16366 |
if b < 0x80 { |
| 16367 |
break |
| 16368 |
} |
| 16369 |
} |
| 16370 |
} else if fieldNum == 2 { |
| 16371 |
var mapmsglen int |
| 16372 |
for shift := uint(0); ; shift += 7 { |
| 16373 |
if shift >= 64 { |
| 16374 |
return ErrIntOverflowTypes |
| 16375 |
} |
| 16376 |
if iNdEx >= l { |
| 16377 |
return io.ErrUnexpectedEOF |
| 16378 |
} |
| 16379 |
b := dAtA[iNdEx] |
| 16380 |
iNdEx++ |
| 16381 |
mapmsglen |= int(b&0x7F) << shift |
| 16382 |
if b < 0x80 { |
| 16383 |
break |
| 16384 |
} |
| 16385 |
} |
| 16386 |
if mapmsglen < 0 { |
| 16387 |
return ErrInvalidLengthTypes |
| 16388 |
} |
| 16389 |
postmsgIndex := iNdEx + mapmsglen |
| 16390 |
if postmsgIndex < 0 { |
| 16391 |
return ErrInvalidLengthTypes |
| 16392 |
} |
| 16393 |
if postmsgIndex > l { |
| 16394 |
return io.ErrUnexpectedEOF |
| 16395 |
} |
| 16396 |
mapvalue = &types.Int64Value{} |
| 16397 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16398 |
return err |
| 16399 |
} |
| 16400 |
iNdEx = postmsgIndex |
| 16401 |
} else { |
| 16402 |
iNdEx = entryPreIndex |
| 16403 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16404 |
if err != nil { |
| 16405 |
return err |
| 16406 |
} |
| 16407 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16408 |
return ErrInvalidLengthTypes |
| 16409 |
} |
| 16410 |
if (iNdEx + skippy) > postIndex { |
| 16411 |
return io.ErrUnexpectedEOF |
| 16412 |
} |
| 16413 |
iNdEx += skippy |
| 16414 |
} |
| 16415 |
} |
| 16416 |
m.NullableInt64[mapkey] = mapvalue |
| 16417 |
iNdEx = postIndex |
| 16418 |
case 10: |
| 16419 |
if wireType != 2 { |
| 16420 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) |
| 16421 |
} |
| 16422 |
var msglen int |
| 16423 |
for shift := uint(0); ; shift += 7 { |
| 16424 |
if shift >= 64 { |
| 16425 |
return ErrIntOverflowTypes |
| 16426 |
} |
| 16427 |
if iNdEx >= l { |
| 16428 |
return io.ErrUnexpectedEOF |
| 16429 |
} |
| 16430 |
b := dAtA[iNdEx] |
| 16431 |
iNdEx++ |
| 16432 |
msglen |= int(b&0x7F) << shift |
| 16433 |
if b < 0x80 { |
| 16434 |
break |
| 16435 |
} |
| 16436 |
} |
| 16437 |
if msglen < 0 { |
| 16438 |
return ErrInvalidLengthTypes |
| 16439 |
} |
| 16440 |
postIndex := iNdEx + msglen |
| 16441 |
if postIndex < 0 { |
| 16442 |
return ErrInvalidLengthTypes |
| 16443 |
} |
| 16444 |
if postIndex > l { |
| 16445 |
return io.ErrUnexpectedEOF |
| 16446 |
} |
| 16447 |
if m.NonnullInt64 == nil { |
| 16448 |
m.NonnullInt64 = make(map[int32]types.Int64Value) |
| 16449 |
} |
| 16450 |
var mapkey int32 |
| 16451 |
mapvalue := &types.Int64Value{} |
| 16452 |
for iNdEx < postIndex { |
| 16453 |
entryPreIndex := iNdEx |
| 16454 |
var wire uint64 |
| 16455 |
for shift := uint(0); ; shift += 7 { |
| 16456 |
if shift >= 64 { |
| 16457 |
return ErrIntOverflowTypes |
| 16458 |
} |
| 16459 |
if iNdEx >= l { |
| 16460 |
return io.ErrUnexpectedEOF |
| 16461 |
} |
| 16462 |
b := dAtA[iNdEx] |
| 16463 |
iNdEx++ |
| 16464 |
wire |= uint64(b&0x7F) << shift |
| 16465 |
if b < 0x80 { |
| 16466 |
break |
| 16467 |
} |
| 16468 |
} |
| 16469 |
fieldNum := int32(wire >> 3) |
| 16470 |
if fieldNum == 1 { |
| 16471 |
for shift := uint(0); ; shift += 7 { |
| 16472 |
if shift >= 64 { |
| 16473 |
return ErrIntOverflowTypes |
| 16474 |
} |
| 16475 |
if iNdEx >= l { |
| 16476 |
return io.ErrUnexpectedEOF |
| 16477 |
} |
| 16478 |
b := dAtA[iNdEx] |
| 16479 |
iNdEx++ |
| 16480 |
mapkey |= int32(b&0x7F) << shift |
| 16481 |
if b < 0x80 { |
| 16482 |
break |
| 16483 |
} |
| 16484 |
} |
| 16485 |
} else if fieldNum == 2 { |
| 16486 |
var mapmsglen int |
| 16487 |
for shift := uint(0); ; shift += 7 { |
| 16488 |
if shift >= 64 { |
| 16489 |
return ErrIntOverflowTypes |
| 16490 |
} |
| 16491 |
if iNdEx >= l { |
| 16492 |
return io.ErrUnexpectedEOF |
| 16493 |
} |
| 16494 |
b := dAtA[iNdEx] |
| 16495 |
iNdEx++ |
| 16496 |
mapmsglen |= int(b&0x7F) << shift |
| 16497 |
if b < 0x80 { |
| 16498 |
break |
| 16499 |
} |
| 16500 |
} |
| 16501 |
if mapmsglen < 0 { |
| 16502 |
return ErrInvalidLengthTypes |
| 16503 |
} |
| 16504 |
postmsgIndex := iNdEx + mapmsglen |
| 16505 |
if postmsgIndex < 0 { |
| 16506 |
return ErrInvalidLengthTypes |
| 16507 |
} |
| 16508 |
if postmsgIndex > l { |
| 16509 |
return io.ErrUnexpectedEOF |
| 16510 |
} |
| 16511 |
mapvalue = &types.Int64Value{} |
| 16512 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16513 |
return err |
| 16514 |
} |
| 16515 |
iNdEx = postmsgIndex |
| 16516 |
} else { |
| 16517 |
iNdEx = entryPreIndex |
| 16518 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16519 |
if err != nil { |
| 16520 |
return err |
| 16521 |
} |
| 16522 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16523 |
return ErrInvalidLengthTypes |
| 16524 |
} |
| 16525 |
if (iNdEx + skippy) > postIndex { |
| 16526 |
return io.ErrUnexpectedEOF |
| 16527 |
} |
| 16528 |
iNdEx += skippy |
| 16529 |
} |
| 16530 |
} |
| 16531 |
m.NonnullInt64[mapkey] = *mapvalue |
| 16532 |
iNdEx = postIndex |
| 16533 |
case 11: |
| 16534 |
if wireType != 2 { |
| 16535 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) |
| 16536 |
} |
| 16537 |
var msglen int |
| 16538 |
for shift := uint(0); ; shift += 7 { |
| 16539 |
if shift >= 64 { |
| 16540 |
return ErrIntOverflowTypes |
| 16541 |
} |
| 16542 |
if iNdEx >= l { |
| 16543 |
return io.ErrUnexpectedEOF |
| 16544 |
} |
| 16545 |
b := dAtA[iNdEx] |
| 16546 |
iNdEx++ |
| 16547 |
msglen |= int(b&0x7F) << shift |
| 16548 |
if b < 0x80 { |
| 16549 |
break |
| 16550 |
} |
| 16551 |
} |
| 16552 |
if msglen < 0 { |
| 16553 |
return ErrInvalidLengthTypes |
| 16554 |
} |
| 16555 |
postIndex := iNdEx + msglen |
| 16556 |
if postIndex < 0 { |
| 16557 |
return ErrInvalidLengthTypes |
| 16558 |
} |
| 16559 |
if postIndex > l { |
| 16560 |
return io.ErrUnexpectedEOF |
| 16561 |
} |
| 16562 |
if m.NullableUInt64 == nil { |
| 16563 |
m.NullableUInt64 = make(map[int32]*types.UInt64Value) |
| 16564 |
} |
| 16565 |
var mapkey int32 |
| 16566 |
var mapvalue *types.UInt64Value |
| 16567 |
for iNdEx < postIndex { |
| 16568 |
entryPreIndex := iNdEx |
| 16569 |
var wire uint64 |
| 16570 |
for shift := uint(0); ; shift += 7 { |
| 16571 |
if shift >= 64 { |
| 16572 |
return ErrIntOverflowTypes |
| 16573 |
} |
| 16574 |
if iNdEx >= l { |
| 16575 |
return io.ErrUnexpectedEOF |
| 16576 |
} |
| 16577 |
b := dAtA[iNdEx] |
| 16578 |
iNdEx++ |
| 16579 |
wire |= uint64(b&0x7F) << shift |
| 16580 |
if b < 0x80 { |
| 16581 |
break |
| 16582 |
} |
| 16583 |
} |
| 16584 |
fieldNum := int32(wire >> 3) |
| 16585 |
if fieldNum == 1 { |
| 16586 |
for shift := uint(0); ; shift += 7 { |
| 16587 |
if shift >= 64 { |
| 16588 |
return ErrIntOverflowTypes |
| 16589 |
} |
| 16590 |
if iNdEx >= l { |
| 16591 |
return io.ErrUnexpectedEOF |
| 16592 |
} |
| 16593 |
b := dAtA[iNdEx] |
| 16594 |
iNdEx++ |
| 16595 |
mapkey |= int32(b&0x7F) << shift |
| 16596 |
if b < 0x80 { |
| 16597 |
break |
| 16598 |
} |
| 16599 |
} |
| 16600 |
} else if fieldNum == 2 { |
| 16601 |
var mapmsglen int |
| 16602 |
for shift := uint(0); ; shift += 7 { |
| 16603 |
if shift >= 64 { |
| 16604 |
return ErrIntOverflowTypes |
| 16605 |
} |
| 16606 |
if iNdEx >= l { |
| 16607 |
return io.ErrUnexpectedEOF |
| 16608 |
} |
| 16609 |
b := dAtA[iNdEx] |
| 16610 |
iNdEx++ |
| 16611 |
mapmsglen |= int(b&0x7F) << shift |
| 16612 |
if b < 0x80 { |
| 16613 |
break |
| 16614 |
} |
| 16615 |
} |
| 16616 |
if mapmsglen < 0 { |
| 16617 |
return ErrInvalidLengthTypes |
| 16618 |
} |
| 16619 |
postmsgIndex := iNdEx + mapmsglen |
| 16620 |
if postmsgIndex < 0 { |
| 16621 |
return ErrInvalidLengthTypes |
| 16622 |
} |
| 16623 |
if postmsgIndex > l { |
| 16624 |
return io.ErrUnexpectedEOF |
| 16625 |
} |
| 16626 |
mapvalue = &types.UInt64Value{} |
| 16627 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16628 |
return err |
| 16629 |
} |
| 16630 |
iNdEx = postmsgIndex |
| 16631 |
} else { |
| 16632 |
iNdEx = entryPreIndex |
| 16633 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16634 |
if err != nil { |
| 16635 |
return err |
| 16636 |
} |
| 16637 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16638 |
return ErrInvalidLengthTypes |
| 16639 |
} |
| 16640 |
if (iNdEx + skippy) > postIndex { |
| 16641 |
return io.ErrUnexpectedEOF |
| 16642 |
} |
| 16643 |
iNdEx += skippy |
| 16644 |
} |
| 16645 |
} |
| 16646 |
m.NullableUInt64[mapkey] = mapvalue |
| 16647 |
iNdEx = postIndex |
| 16648 |
case 12: |
| 16649 |
if wireType != 2 { |
| 16650 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) |
| 16651 |
} |
| 16652 |
var msglen int |
| 16653 |
for shift := uint(0); ; shift += 7 { |
| 16654 |
if shift >= 64 { |
| 16655 |
return ErrIntOverflowTypes |
| 16656 |
} |
| 16657 |
if iNdEx >= l { |
| 16658 |
return io.ErrUnexpectedEOF |
| 16659 |
} |
| 16660 |
b := dAtA[iNdEx] |
| 16661 |
iNdEx++ |
| 16662 |
msglen |= int(b&0x7F) << shift |
| 16663 |
if b < 0x80 { |
| 16664 |
break |
| 16665 |
} |
| 16666 |
} |
| 16667 |
if msglen < 0 { |
| 16668 |
return ErrInvalidLengthTypes |
| 16669 |
} |
| 16670 |
postIndex := iNdEx + msglen |
| 16671 |
if postIndex < 0 { |
| 16672 |
return ErrInvalidLengthTypes |
| 16673 |
} |
| 16674 |
if postIndex > l { |
| 16675 |
return io.ErrUnexpectedEOF |
| 16676 |
} |
| 16677 |
if m.NonnullUInt64 == nil { |
| 16678 |
m.NonnullUInt64 = make(map[int32]types.UInt64Value) |
| 16679 |
} |
| 16680 |
var mapkey int32 |
| 16681 |
mapvalue := &types.UInt64Value{} |
| 16682 |
for iNdEx < postIndex { |
| 16683 |
entryPreIndex := iNdEx |
| 16684 |
var wire uint64 |
| 16685 |
for shift := uint(0); ; shift += 7 { |
| 16686 |
if shift >= 64 { |
| 16687 |
return ErrIntOverflowTypes |
| 16688 |
} |
| 16689 |
if iNdEx >= l { |
| 16690 |
return io.ErrUnexpectedEOF |
| 16691 |
} |
| 16692 |
b := dAtA[iNdEx] |
| 16693 |
iNdEx++ |
| 16694 |
wire |= uint64(b&0x7F) << shift |
| 16695 |
if b < 0x80 { |
| 16696 |
break |
| 16697 |
} |
| 16698 |
} |
| 16699 |
fieldNum := int32(wire >> 3) |
| 16700 |
if fieldNum == 1 { |
| 16701 |
for shift := uint(0); ; shift += 7 { |
| 16702 |
if shift >= 64 { |
| 16703 |
return ErrIntOverflowTypes |
| 16704 |
} |
| 16705 |
if iNdEx >= l { |
| 16706 |
return io.ErrUnexpectedEOF |
| 16707 |
} |
| 16708 |
b := dAtA[iNdEx] |
| 16709 |
iNdEx++ |
| 16710 |
mapkey |= int32(b&0x7F) << shift |
| 16711 |
if b < 0x80 { |
| 16712 |
break |
| 16713 |
} |
| 16714 |
} |
| 16715 |
} else if fieldNum == 2 { |
| 16716 |
var mapmsglen int |
| 16717 |
for shift := uint(0); ; shift += 7 { |
| 16718 |
if shift >= 64 { |
| 16719 |
return ErrIntOverflowTypes |
| 16720 |
} |
| 16721 |
if iNdEx >= l { |
| 16722 |
return io.ErrUnexpectedEOF |
| 16723 |
} |
| 16724 |
b := dAtA[iNdEx] |
| 16725 |
iNdEx++ |
| 16726 |
mapmsglen |= int(b&0x7F) << shift |
| 16727 |
if b < 0x80 { |
| 16728 |
break |
| 16729 |
} |
| 16730 |
} |
| 16731 |
if mapmsglen < 0 { |
| 16732 |
return ErrInvalidLengthTypes |
| 16733 |
} |
| 16734 |
postmsgIndex := iNdEx + mapmsglen |
| 16735 |
if postmsgIndex < 0 { |
| 16736 |
return ErrInvalidLengthTypes |
| 16737 |
} |
| 16738 |
if postmsgIndex > l { |
| 16739 |
return io.ErrUnexpectedEOF |
| 16740 |
} |
| 16741 |
mapvalue = &types.UInt64Value{} |
| 16742 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16743 |
return err |
| 16744 |
} |
| 16745 |
iNdEx = postmsgIndex |
| 16746 |
} else { |
| 16747 |
iNdEx = entryPreIndex |
| 16748 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16749 |
if err != nil { |
| 16750 |
return err |
| 16751 |
} |
| 16752 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16753 |
return ErrInvalidLengthTypes |
| 16754 |
} |
| 16755 |
if (iNdEx + skippy) > postIndex { |
| 16756 |
return io.ErrUnexpectedEOF |
| 16757 |
} |
| 16758 |
iNdEx += skippy |
| 16759 |
} |
| 16760 |
} |
| 16761 |
m.NonnullUInt64[mapkey] = *mapvalue |
| 16762 |
iNdEx = postIndex |
| 16763 |
case 13: |
| 16764 |
if wireType != 2 { |
| 16765 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) |
| 16766 |
} |
| 16767 |
var msglen int |
| 16768 |
for shift := uint(0); ; shift += 7 { |
| 16769 |
if shift >= 64 { |
| 16770 |
return ErrIntOverflowTypes |
| 16771 |
} |
| 16772 |
if iNdEx >= l { |
| 16773 |
return io.ErrUnexpectedEOF |
| 16774 |
} |
| 16775 |
b := dAtA[iNdEx] |
| 16776 |
iNdEx++ |
| 16777 |
msglen |= int(b&0x7F) << shift |
| 16778 |
if b < 0x80 { |
| 16779 |
break |
| 16780 |
} |
| 16781 |
} |
| 16782 |
if msglen < 0 { |
| 16783 |
return ErrInvalidLengthTypes |
| 16784 |
} |
| 16785 |
postIndex := iNdEx + msglen |
| 16786 |
if postIndex < 0 { |
| 16787 |
return ErrInvalidLengthTypes |
| 16788 |
} |
| 16789 |
if postIndex > l { |
| 16790 |
return io.ErrUnexpectedEOF |
| 16791 |
} |
| 16792 |
if m.NullableInt32 == nil { |
| 16793 |
m.NullableInt32 = make(map[int32]*types.Int32Value) |
| 16794 |
} |
| 16795 |
var mapkey int32 |
| 16796 |
var mapvalue *types.Int32Value |
| 16797 |
for iNdEx < postIndex { |
| 16798 |
entryPreIndex := iNdEx |
| 16799 |
var wire uint64 |
| 16800 |
for shift := uint(0); ; shift += 7 { |
| 16801 |
if shift >= 64 { |
| 16802 |
return ErrIntOverflowTypes |
| 16803 |
} |
| 16804 |
if iNdEx >= l { |
| 16805 |
return io.ErrUnexpectedEOF |
| 16806 |
} |
| 16807 |
b := dAtA[iNdEx] |
| 16808 |
iNdEx++ |
| 16809 |
wire |= uint64(b&0x7F) << shift |
| 16810 |
if b < 0x80 { |
| 16811 |
break |
| 16812 |
} |
| 16813 |
} |
| 16814 |
fieldNum := int32(wire >> 3) |
| 16815 |
if fieldNum == 1 { |
| 16816 |
for shift := uint(0); ; shift += 7 { |
| 16817 |
if shift >= 64 { |
| 16818 |
return ErrIntOverflowTypes |
| 16819 |
} |
| 16820 |
if iNdEx >= l { |
| 16821 |
return io.ErrUnexpectedEOF |
| 16822 |
} |
| 16823 |
b := dAtA[iNdEx] |
| 16824 |
iNdEx++ |
| 16825 |
mapkey |= int32(b&0x7F) << shift |
| 16826 |
if b < 0x80 { |
| 16827 |
break |
| 16828 |
} |
| 16829 |
} |
| 16830 |
} else if fieldNum == 2 { |
| 16831 |
var mapmsglen int |
| 16832 |
for shift := uint(0); ; shift += 7 { |
| 16833 |
if shift >= 64 { |
| 16834 |
return ErrIntOverflowTypes |
| 16835 |
} |
| 16836 |
if iNdEx >= l { |
| 16837 |
return io.ErrUnexpectedEOF |
| 16838 |
} |
| 16839 |
b := dAtA[iNdEx] |
| 16840 |
iNdEx++ |
| 16841 |
mapmsglen |= int(b&0x7F) << shift |
| 16842 |
if b < 0x80 { |
| 16843 |
break |
| 16844 |
} |
| 16845 |
} |
| 16846 |
if mapmsglen < 0 { |
| 16847 |
return ErrInvalidLengthTypes |
| 16848 |
} |
| 16849 |
postmsgIndex := iNdEx + mapmsglen |
| 16850 |
if postmsgIndex < 0 { |
| 16851 |
return ErrInvalidLengthTypes |
| 16852 |
} |
| 16853 |
if postmsgIndex > l { |
| 16854 |
return io.ErrUnexpectedEOF |
| 16855 |
} |
| 16856 |
mapvalue = &types.Int32Value{} |
| 16857 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16858 |
return err |
| 16859 |
} |
| 16860 |
iNdEx = postmsgIndex |
| 16861 |
} else { |
| 16862 |
iNdEx = entryPreIndex |
| 16863 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16864 |
if err != nil { |
| 16865 |
return err |
| 16866 |
} |
| 16867 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16868 |
return ErrInvalidLengthTypes |
| 16869 |
} |
| 16870 |
if (iNdEx + skippy) > postIndex { |
| 16871 |
return io.ErrUnexpectedEOF |
| 16872 |
} |
| 16873 |
iNdEx += skippy |
| 16874 |
} |
| 16875 |
} |
| 16876 |
m.NullableInt32[mapkey] = mapvalue |
| 16877 |
iNdEx = postIndex |
| 16878 |
case 14: |
| 16879 |
if wireType != 2 { |
| 16880 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) |
| 16881 |
} |
| 16882 |
var msglen int |
| 16883 |
for shift := uint(0); ; shift += 7 { |
| 16884 |
if shift >= 64 { |
| 16885 |
return ErrIntOverflowTypes |
| 16886 |
} |
| 16887 |
if iNdEx >= l { |
| 16888 |
return io.ErrUnexpectedEOF |
| 16889 |
} |
| 16890 |
b := dAtA[iNdEx] |
| 16891 |
iNdEx++ |
| 16892 |
msglen |= int(b&0x7F) << shift |
| 16893 |
if b < 0x80 { |
| 16894 |
break |
| 16895 |
} |
| 16896 |
} |
| 16897 |
if msglen < 0 { |
| 16898 |
return ErrInvalidLengthTypes |
| 16899 |
} |
| 16900 |
postIndex := iNdEx + msglen |
| 16901 |
if postIndex < 0 { |
| 16902 |
return ErrInvalidLengthTypes |
| 16903 |
} |
| 16904 |
if postIndex > l { |
| 16905 |
return io.ErrUnexpectedEOF |
| 16906 |
} |
| 16907 |
if m.NonnullInt32 == nil { |
| 16908 |
m.NonnullInt32 = make(map[int32]types.Int32Value) |
| 16909 |
} |
| 16910 |
var mapkey int32 |
| 16911 |
mapvalue := &types.Int32Value{} |
| 16912 |
for iNdEx < postIndex { |
| 16913 |
entryPreIndex := iNdEx |
| 16914 |
var wire uint64 |
| 16915 |
for shift := uint(0); ; shift += 7 { |
| 16916 |
if shift >= 64 { |
| 16917 |
return ErrIntOverflowTypes |
| 16918 |
} |
| 16919 |
if iNdEx >= l { |
| 16920 |
return io.ErrUnexpectedEOF |
| 16921 |
} |
| 16922 |
b := dAtA[iNdEx] |
| 16923 |
iNdEx++ |
| 16924 |
wire |= uint64(b&0x7F) << shift |
| 16925 |
if b < 0x80 { |
| 16926 |
break |
| 16927 |
} |
| 16928 |
} |
| 16929 |
fieldNum := int32(wire >> 3) |
| 16930 |
if fieldNum == 1 { |
| 16931 |
for shift := uint(0); ; shift += 7 { |
| 16932 |
if shift >= 64 { |
| 16933 |
return ErrIntOverflowTypes |
| 16934 |
} |
| 16935 |
if iNdEx >= l { |
| 16936 |
return io.ErrUnexpectedEOF |
| 16937 |
} |
| 16938 |
b := dAtA[iNdEx] |
| 16939 |
iNdEx++ |
| 16940 |
mapkey |= int32(b&0x7F) << shift |
| 16941 |
if b < 0x80 { |
| 16942 |
break |
| 16943 |
} |
| 16944 |
} |
| 16945 |
} else if fieldNum == 2 { |
| 16946 |
var mapmsglen int |
| 16947 |
for shift := uint(0); ; shift += 7 { |
| 16948 |
if shift >= 64 { |
| 16949 |
return ErrIntOverflowTypes |
| 16950 |
} |
| 16951 |
if iNdEx >= l { |
| 16952 |
return io.ErrUnexpectedEOF |
| 16953 |
} |
| 16954 |
b := dAtA[iNdEx] |
| 16955 |
iNdEx++ |
| 16956 |
mapmsglen |= int(b&0x7F) << shift |
| 16957 |
if b < 0x80 { |
| 16958 |
break |
| 16959 |
} |
| 16960 |
} |
| 16961 |
if mapmsglen < 0 { |
| 16962 |
return ErrInvalidLengthTypes |
| 16963 |
} |
| 16964 |
postmsgIndex := iNdEx + mapmsglen |
| 16965 |
if postmsgIndex < 0 { |
| 16966 |
return ErrInvalidLengthTypes |
| 16967 |
} |
| 16968 |
if postmsgIndex > l { |
| 16969 |
return io.ErrUnexpectedEOF |
| 16970 |
} |
| 16971 |
mapvalue = &types.Int32Value{} |
| 16972 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 16973 |
return err |
| 16974 |
} |
| 16975 |
iNdEx = postmsgIndex |
| 16976 |
} else { |
| 16977 |
iNdEx = entryPreIndex |
| 16978 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 16979 |
if err != nil { |
| 16980 |
return err |
| 16981 |
} |
| 16982 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 16983 |
return ErrInvalidLengthTypes |
| 16984 |
} |
| 16985 |
if (iNdEx + skippy) > postIndex { |
| 16986 |
return io.ErrUnexpectedEOF |
| 16987 |
} |
| 16988 |
iNdEx += skippy |
| 16989 |
} |
| 16990 |
} |
| 16991 |
m.NonnullInt32[mapkey] = *mapvalue |
| 16992 |
iNdEx = postIndex |
| 16993 |
case 15: |
| 16994 |
if wireType != 2 { |
| 16995 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) |
| 16996 |
} |
| 16997 |
var msglen int |
| 16998 |
for shift := uint(0); ; shift += 7 { |
| 16999 |
if shift >= 64 { |
| 17000 |
return ErrIntOverflowTypes |
| 17001 |
} |
| 17002 |
if iNdEx >= l { |
| 17003 |
return io.ErrUnexpectedEOF |
| 17004 |
} |
| 17005 |
b := dAtA[iNdEx] |
| 17006 |
iNdEx++ |
| 17007 |
msglen |= int(b&0x7F) << shift |
| 17008 |
if b < 0x80 { |
| 17009 |
break |
| 17010 |
} |
| 17011 |
} |
| 17012 |
if msglen < 0 { |
| 17013 |
return ErrInvalidLengthTypes |
| 17014 |
} |
| 17015 |
postIndex := iNdEx + msglen |
| 17016 |
if postIndex < 0 { |
| 17017 |
return ErrInvalidLengthTypes |
| 17018 |
} |
| 17019 |
if postIndex > l { |
| 17020 |
return io.ErrUnexpectedEOF |
| 17021 |
} |
| 17022 |
if m.NullableUInt32 == nil { |
| 17023 |
m.NullableUInt32 = make(map[int32]*types.UInt32Value) |
| 17024 |
} |
| 17025 |
var mapkey int32 |
| 17026 |
var mapvalue *types.UInt32Value |
| 17027 |
for iNdEx < postIndex { |
| 17028 |
entryPreIndex := iNdEx |
| 17029 |
var wire uint64 |
| 17030 |
for shift := uint(0); ; shift += 7 { |
| 17031 |
if shift >= 64 { |
| 17032 |
return ErrIntOverflowTypes |
| 17033 |
} |
| 17034 |
if iNdEx >= l { |
| 17035 |
return io.ErrUnexpectedEOF |
| 17036 |
} |
| 17037 |
b := dAtA[iNdEx] |
| 17038 |
iNdEx++ |
| 17039 |
wire |= uint64(b&0x7F) << shift |
| 17040 |
if b < 0x80 { |
| 17041 |
break |
| 17042 |
} |
| 17043 |
} |
| 17044 |
fieldNum := int32(wire >> 3) |
| 17045 |
if fieldNum == 1 { |
| 17046 |
for shift := uint(0); ; shift += 7 { |
| 17047 |
if shift >= 64 { |
| 17048 |
return ErrIntOverflowTypes |
| 17049 |
} |
| 17050 |
if iNdEx >= l { |
| 17051 |
return io.ErrUnexpectedEOF |
| 17052 |
} |
| 17053 |
b := dAtA[iNdEx] |
| 17054 |
iNdEx++ |
| 17055 |
mapkey |= int32(b&0x7F) << shift |
| 17056 |
if b < 0x80 { |
| 17057 |
break |
| 17058 |
} |
| 17059 |
} |
| 17060 |
} else if fieldNum == 2 { |
| 17061 |
var mapmsglen int |
| 17062 |
for shift := uint(0); ; shift += 7 { |
| 17063 |
if shift >= 64 { |
| 17064 |
return ErrIntOverflowTypes |
| 17065 |
} |
| 17066 |
if iNdEx >= l { |
| 17067 |
return io.ErrUnexpectedEOF |
| 17068 |
} |
| 17069 |
b := dAtA[iNdEx] |
| 17070 |
iNdEx++ |
| 17071 |
mapmsglen |= int(b&0x7F) << shift |
| 17072 |
if b < 0x80 { |
| 17073 |
break |
| 17074 |
} |
| 17075 |
} |
| 17076 |
if mapmsglen < 0 { |
| 17077 |
return ErrInvalidLengthTypes |
| 17078 |
} |
| 17079 |
postmsgIndex := iNdEx + mapmsglen |
| 17080 |
if postmsgIndex < 0 { |
| 17081 |
return ErrInvalidLengthTypes |
| 17082 |
} |
| 17083 |
if postmsgIndex > l { |
| 17084 |
return io.ErrUnexpectedEOF |
| 17085 |
} |
| 17086 |
mapvalue = &types.UInt32Value{} |
| 17087 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 17088 |
return err |
| 17089 |
} |
| 17090 |
iNdEx = postmsgIndex |
| 17091 |
} else { |
| 17092 |
iNdEx = entryPreIndex |
| 17093 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17094 |
if err != nil { |
| 17095 |
return err |
| 17096 |
} |
| 17097 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17098 |
return ErrInvalidLengthTypes |
| 17099 |
} |
| 17100 |
if (iNdEx + skippy) > postIndex { |
| 17101 |
return io.ErrUnexpectedEOF |
| 17102 |
} |
| 17103 |
iNdEx += skippy |
| 17104 |
} |
| 17105 |
} |
| 17106 |
m.NullableUInt32[mapkey] = mapvalue |
| 17107 |
iNdEx = postIndex |
| 17108 |
case 16: |
| 17109 |
if wireType != 2 { |
| 17110 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) |
| 17111 |
} |
| 17112 |
var msglen int |
| 17113 |
for shift := uint(0); ; shift += 7 { |
| 17114 |
if shift >= 64 { |
| 17115 |
return ErrIntOverflowTypes |
| 17116 |
} |
| 17117 |
if iNdEx >= l { |
| 17118 |
return io.ErrUnexpectedEOF |
| 17119 |
} |
| 17120 |
b := dAtA[iNdEx] |
| 17121 |
iNdEx++ |
| 17122 |
msglen |= int(b&0x7F) << shift |
| 17123 |
if b < 0x80 { |
| 17124 |
break |
| 17125 |
} |
| 17126 |
} |
| 17127 |
if msglen < 0 { |
| 17128 |
return ErrInvalidLengthTypes |
| 17129 |
} |
| 17130 |
postIndex := iNdEx + msglen |
| 17131 |
if postIndex < 0 { |
| 17132 |
return ErrInvalidLengthTypes |
| 17133 |
} |
| 17134 |
if postIndex > l { |
| 17135 |
return io.ErrUnexpectedEOF |
| 17136 |
} |
| 17137 |
if m.NonnullUInt32 == nil { |
| 17138 |
m.NonnullUInt32 = make(map[int32]types.UInt32Value) |
| 17139 |
} |
| 17140 |
var mapkey int32 |
| 17141 |
mapvalue := &types.UInt32Value{} |
| 17142 |
for iNdEx < postIndex { |
| 17143 |
entryPreIndex := iNdEx |
| 17144 |
var wire uint64 |
| 17145 |
for shift := uint(0); ; shift += 7 { |
| 17146 |
if shift >= 64 { |
| 17147 |
return ErrIntOverflowTypes |
| 17148 |
} |
| 17149 |
if iNdEx >= l { |
| 17150 |
return io.ErrUnexpectedEOF |
| 17151 |
} |
| 17152 |
b := dAtA[iNdEx] |
| 17153 |
iNdEx++ |
| 17154 |
wire |= uint64(b&0x7F) << shift |
| 17155 |
if b < 0x80 { |
| 17156 |
break |
| 17157 |
} |
| 17158 |
} |
| 17159 |
fieldNum := int32(wire >> 3) |
| 17160 |
if fieldNum == 1 { |
| 17161 |
for shift := uint(0); ; shift += 7 { |
| 17162 |
if shift >= 64 { |
| 17163 |
return ErrIntOverflowTypes |
| 17164 |
} |
| 17165 |
if iNdEx >= l { |
| 17166 |
return io.ErrUnexpectedEOF |
| 17167 |
} |
| 17168 |
b := dAtA[iNdEx] |
| 17169 |
iNdEx++ |
| 17170 |
mapkey |= int32(b&0x7F) << shift |
| 17171 |
if b < 0x80 { |
| 17172 |
break |
| 17173 |
} |
| 17174 |
} |
| 17175 |
} else if fieldNum == 2 { |
| 17176 |
var mapmsglen int |
| 17177 |
for shift := uint(0); ; shift += 7 { |
| 17178 |
if shift >= 64 { |
| 17179 |
return ErrIntOverflowTypes |
| 17180 |
} |
| 17181 |
if iNdEx >= l { |
| 17182 |
return io.ErrUnexpectedEOF |
| 17183 |
} |
| 17184 |
b := dAtA[iNdEx] |
| 17185 |
iNdEx++ |
| 17186 |
mapmsglen |= int(b&0x7F) << shift |
| 17187 |
if b < 0x80 { |
| 17188 |
break |
| 17189 |
} |
| 17190 |
} |
| 17191 |
if mapmsglen < 0 { |
| 17192 |
return ErrInvalidLengthTypes |
| 17193 |
} |
| 17194 |
postmsgIndex := iNdEx + mapmsglen |
| 17195 |
if postmsgIndex < 0 { |
| 17196 |
return ErrInvalidLengthTypes |
| 17197 |
} |
| 17198 |
if postmsgIndex > l { |
| 17199 |
return io.ErrUnexpectedEOF |
| 17200 |
} |
| 17201 |
mapvalue = &types.UInt32Value{} |
| 17202 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 17203 |
return err |
| 17204 |
} |
| 17205 |
iNdEx = postmsgIndex |
| 17206 |
} else { |
| 17207 |
iNdEx = entryPreIndex |
| 17208 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17209 |
if err != nil { |
| 17210 |
return err |
| 17211 |
} |
| 17212 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17213 |
return ErrInvalidLengthTypes |
| 17214 |
} |
| 17215 |
if (iNdEx + skippy) > postIndex { |
| 17216 |
return io.ErrUnexpectedEOF |
| 17217 |
} |
| 17218 |
iNdEx += skippy |
| 17219 |
} |
| 17220 |
} |
| 17221 |
m.NonnullUInt32[mapkey] = *mapvalue |
| 17222 |
iNdEx = postIndex |
| 17223 |
case 17: |
| 17224 |
if wireType != 2 { |
| 17225 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) |
| 17226 |
} |
| 17227 |
var msglen int |
| 17228 |
for shift := uint(0); ; shift += 7 { |
| 17229 |
if shift >= 64 { |
| 17230 |
return ErrIntOverflowTypes |
| 17231 |
} |
| 17232 |
if iNdEx >= l { |
| 17233 |
return io.ErrUnexpectedEOF |
| 17234 |
} |
| 17235 |
b := dAtA[iNdEx] |
| 17236 |
iNdEx++ |
| 17237 |
msglen |= int(b&0x7F) << shift |
| 17238 |
if b < 0x80 { |
| 17239 |
break |
| 17240 |
} |
| 17241 |
} |
| 17242 |
if msglen < 0 { |
| 17243 |
return ErrInvalidLengthTypes |
| 17244 |
} |
| 17245 |
postIndex := iNdEx + msglen |
| 17246 |
if postIndex < 0 { |
| 17247 |
return ErrInvalidLengthTypes |
| 17248 |
} |
| 17249 |
if postIndex > l { |
| 17250 |
return io.ErrUnexpectedEOF |
| 17251 |
} |
| 17252 |
if m.NullableBool == nil { |
| 17253 |
m.NullableBool = make(map[int32]*types.BoolValue) |
| 17254 |
} |
| 17255 |
var mapkey int32 |
| 17256 |
var mapvalue *types.BoolValue |
| 17257 |
for iNdEx < postIndex { |
| 17258 |
entryPreIndex := iNdEx |
| 17259 |
var wire uint64 |
| 17260 |
for shift := uint(0); ; shift += 7 { |
| 17261 |
if shift >= 64 { |
| 17262 |
return ErrIntOverflowTypes |
| 17263 |
} |
| 17264 |
if iNdEx >= l { |
| 17265 |
return io.ErrUnexpectedEOF |
| 17266 |
} |
| 17267 |
b := dAtA[iNdEx] |
| 17268 |
iNdEx++ |
| 17269 |
wire |= uint64(b&0x7F) << shift |
| 17270 |
if b < 0x80 { |
| 17271 |
break |
| 17272 |
} |
| 17273 |
} |
| 17274 |
fieldNum := int32(wire >> 3) |
| 17275 |
if fieldNum == 1 { |
| 17276 |
for shift := uint(0); ; shift += 7 { |
| 17277 |
if shift >= 64 { |
| 17278 |
return ErrIntOverflowTypes |
| 17279 |
} |
| 17280 |
if iNdEx >= l { |
| 17281 |
return io.ErrUnexpectedEOF |
| 17282 |
} |
| 17283 |
b := dAtA[iNdEx] |
| 17284 |
iNdEx++ |
| 17285 |
mapkey |= int32(b&0x7F) << shift |
| 17286 |
if b < 0x80 { |
| 17287 |
break |
| 17288 |
} |
| 17289 |
} |
| 17290 |
} else if fieldNum == 2 { |
| 17291 |
var mapmsglen int |
| 17292 |
for shift := uint(0); ; shift += 7 { |
| 17293 |
if shift >= 64 { |
| 17294 |
return ErrIntOverflowTypes |
| 17295 |
} |
| 17296 |
if iNdEx >= l { |
| 17297 |
return io.ErrUnexpectedEOF |
| 17298 |
} |
| 17299 |
b := dAtA[iNdEx] |
| 17300 |
iNdEx++ |
| 17301 |
mapmsglen |= int(b&0x7F) << shift |
| 17302 |
if b < 0x80 { |
| 17303 |
break |
| 17304 |
} |
| 17305 |
} |
| 17306 |
if mapmsglen < 0 { |
| 17307 |
return ErrInvalidLengthTypes |
| 17308 |
} |
| 17309 |
postmsgIndex := iNdEx + mapmsglen |
| 17310 |
if postmsgIndex < 0 { |
| 17311 |
return ErrInvalidLengthTypes |
| 17312 |
} |
| 17313 |
if postmsgIndex > l { |
| 17314 |
return io.ErrUnexpectedEOF |
| 17315 |
} |
| 17316 |
mapvalue = &types.BoolValue{} |
| 17317 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 17318 |
return err |
| 17319 |
} |
| 17320 |
iNdEx = postmsgIndex |
| 17321 |
} else { |
| 17322 |
iNdEx = entryPreIndex |
| 17323 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17324 |
if err != nil { |
| 17325 |
return err |
| 17326 |
} |
| 17327 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17328 |
return ErrInvalidLengthTypes |
| 17329 |
} |
| 17330 |
if (iNdEx + skippy) > postIndex { |
| 17331 |
return io.ErrUnexpectedEOF |
| 17332 |
} |
| 17333 |
iNdEx += skippy |
| 17334 |
} |
| 17335 |
} |
| 17336 |
m.NullableBool[mapkey] = mapvalue |
| 17337 |
iNdEx = postIndex |
| 17338 |
case 18: |
| 17339 |
if wireType != 2 { |
| 17340 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) |
| 17341 |
} |
| 17342 |
var msglen int |
| 17343 |
for shift := uint(0); ; shift += 7 { |
| 17344 |
if shift >= 64 { |
| 17345 |
return ErrIntOverflowTypes |
| 17346 |
} |
| 17347 |
if iNdEx >= l { |
| 17348 |
return io.ErrUnexpectedEOF |
| 17349 |
} |
| 17350 |
b := dAtA[iNdEx] |
| 17351 |
iNdEx++ |
| 17352 |
msglen |= int(b&0x7F) << shift |
| 17353 |
if b < 0x80 { |
| 17354 |
break |
| 17355 |
} |
| 17356 |
} |
| 17357 |
if msglen < 0 { |
| 17358 |
return ErrInvalidLengthTypes |
| 17359 |
} |
| 17360 |
postIndex := iNdEx + msglen |
| 17361 |
if postIndex < 0 { |
| 17362 |
return ErrInvalidLengthTypes |
| 17363 |
} |
| 17364 |
if postIndex > l { |
| 17365 |
return io.ErrUnexpectedEOF |
| 17366 |
} |
| 17367 |
if m.NonnullBool == nil { |
| 17368 |
m.NonnullBool = make(map[int32]types.BoolValue) |
| 17369 |
} |
| 17370 |
var mapkey int32 |
| 17371 |
mapvalue := &types.BoolValue{} |
| 17372 |
for iNdEx < postIndex { |
| 17373 |
entryPreIndex := iNdEx |
| 17374 |
var wire uint64 |
| 17375 |
for shift := uint(0); ; shift += 7 { |
| 17376 |
if shift >= 64 { |
| 17377 |
return ErrIntOverflowTypes |
| 17378 |
} |
| 17379 |
if iNdEx >= l { |
| 17380 |
return io.ErrUnexpectedEOF |
| 17381 |
} |
| 17382 |
b := dAtA[iNdEx] |
| 17383 |
iNdEx++ |
| 17384 |
wire |= uint64(b&0x7F) << shift |
| 17385 |
if b < 0x80 { |
| 17386 |
break |
| 17387 |
} |
| 17388 |
} |
| 17389 |
fieldNum := int32(wire >> 3) |
| 17390 |
if fieldNum == 1 { |
| 17391 |
for shift := uint(0); ; shift += 7 { |
| 17392 |
if shift >= 64 { |
| 17393 |
return ErrIntOverflowTypes |
| 17394 |
} |
| 17395 |
if iNdEx >= l { |
| 17396 |
return io.ErrUnexpectedEOF |
| 17397 |
} |
| 17398 |
b := dAtA[iNdEx] |
| 17399 |
iNdEx++ |
| 17400 |
mapkey |= int32(b&0x7F) << shift |
| 17401 |
if b < 0x80 { |
| 17402 |
break |
| 17403 |
} |
| 17404 |
} |
| 17405 |
} else if fieldNum == 2 { |
| 17406 |
var mapmsglen int |
| 17407 |
for shift := uint(0); ; shift += 7 { |
| 17408 |
if shift >= 64 { |
| 17409 |
return ErrIntOverflowTypes |
| 17410 |
} |
| 17411 |
if iNdEx >= l { |
| 17412 |
return io.ErrUnexpectedEOF |
| 17413 |
} |
| 17414 |
b := dAtA[iNdEx] |
| 17415 |
iNdEx++ |
| 17416 |
mapmsglen |= int(b&0x7F) << shift |
| 17417 |
if b < 0x80 { |
| 17418 |
break |
| 17419 |
} |
| 17420 |
} |
| 17421 |
if mapmsglen < 0 { |
| 17422 |
return ErrInvalidLengthTypes |
| 17423 |
} |
| 17424 |
postmsgIndex := iNdEx + mapmsglen |
| 17425 |
if postmsgIndex < 0 { |
| 17426 |
return ErrInvalidLengthTypes |
| 17427 |
} |
| 17428 |
if postmsgIndex > l { |
| 17429 |
return io.ErrUnexpectedEOF |
| 17430 |
} |
| 17431 |
mapvalue = &types.BoolValue{} |
| 17432 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 17433 |
return err |
| 17434 |
} |
| 17435 |
iNdEx = postmsgIndex |
| 17436 |
} else { |
| 17437 |
iNdEx = entryPreIndex |
| 17438 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17439 |
if err != nil { |
| 17440 |
return err |
| 17441 |
} |
| 17442 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17443 |
return ErrInvalidLengthTypes |
| 17444 |
} |
| 17445 |
if (iNdEx + skippy) > postIndex { |
| 17446 |
return io.ErrUnexpectedEOF |
| 17447 |
} |
| 17448 |
iNdEx += skippy |
| 17449 |
} |
| 17450 |
} |
| 17451 |
m.NonnullBool[mapkey] = *mapvalue |
| 17452 |
iNdEx = postIndex |
| 17453 |
case 19: |
| 17454 |
if wireType != 2 { |
| 17455 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) |
| 17456 |
} |
| 17457 |
var msglen int |
| 17458 |
for shift := uint(0); ; shift += 7 { |
| 17459 |
if shift >= 64 { |
| 17460 |
return ErrIntOverflowTypes |
| 17461 |
} |
| 17462 |
if iNdEx >= l { |
| 17463 |
return io.ErrUnexpectedEOF |
| 17464 |
} |
| 17465 |
b := dAtA[iNdEx] |
| 17466 |
iNdEx++ |
| 17467 |
msglen |= int(b&0x7F) << shift |
| 17468 |
if b < 0x80 { |
| 17469 |
break |
| 17470 |
} |
| 17471 |
} |
| 17472 |
if msglen < 0 { |
| 17473 |
return ErrInvalidLengthTypes |
| 17474 |
} |
| 17475 |
postIndex := iNdEx + msglen |
| 17476 |
if postIndex < 0 { |
| 17477 |
return ErrInvalidLengthTypes |
| 17478 |
} |
| 17479 |
if postIndex > l { |
| 17480 |
return io.ErrUnexpectedEOF |
| 17481 |
} |
| 17482 |
if m.NullableString == nil { |
| 17483 |
m.NullableString = make(map[int32]*types.StringValue) |
| 17484 |
} |
| 17485 |
var mapkey int32 |
| 17486 |
var mapvalue *types.StringValue |
| 17487 |
for iNdEx < postIndex { |
| 17488 |
entryPreIndex := iNdEx |
| 17489 |
var wire uint64 |
| 17490 |
for shift := uint(0); ; shift += 7 { |
| 17491 |
if shift >= 64 { |
| 17492 |
return ErrIntOverflowTypes |
| 17493 |
} |
| 17494 |
if iNdEx >= l { |
| 17495 |
return io.ErrUnexpectedEOF |
| 17496 |
} |
| 17497 |
b := dAtA[iNdEx] |
| 17498 |
iNdEx++ |
| 17499 |
wire |= uint64(b&0x7F) << shift |
| 17500 |
if b < 0x80 { |
| 17501 |
break |
| 17502 |
} |
| 17503 |
} |
| 17504 |
fieldNum := int32(wire >> 3) |
| 17505 |
if fieldNum == 1 { |
| 17506 |
for shift := uint(0); ; shift += 7 { |
| 17507 |
if shift >= 64 { |
| 17508 |
return ErrIntOverflowTypes |
| 17509 |
} |
| 17510 |
if iNdEx >= l { |
| 17511 |
return io.ErrUnexpectedEOF |
| 17512 |
} |
| 17513 |
b := dAtA[iNdEx] |
| 17514 |
iNdEx++ |
| 17515 |
mapkey |= int32(b&0x7F) << shift |
| 17516 |
if b < 0x80 { |
| 17517 |
break |
| 17518 |
} |
| 17519 |
} |
| 17520 |
} else if fieldNum == 2 { |
| 17521 |
var mapmsglen int |
| 17522 |
for shift := uint(0); ; shift += 7 { |
| 17523 |
if shift >= 64 { |
| 17524 |
return ErrIntOverflowTypes |
| 17525 |
} |
| 17526 |
if iNdEx >= l { |
| 17527 |
return io.ErrUnexpectedEOF |
| 17528 |
} |
| 17529 |
b := dAtA[iNdEx] |
| 17530 |
iNdEx++ |
| 17531 |
mapmsglen |= int(b&0x7F) << shift |
| 17532 |
if b < 0x80 { |
| 17533 |
break |
| 17534 |
} |
| 17535 |
} |
| 17536 |
if mapmsglen < 0 { |
| 17537 |
return ErrInvalidLengthTypes |
| 17538 |
} |
| 17539 |
postmsgIndex := iNdEx + mapmsglen |
| 17540 |
if postmsgIndex < 0 { |
| 17541 |
return ErrInvalidLengthTypes |
| 17542 |
} |
| 17543 |
if postmsgIndex > l { |
| 17544 |
return io.ErrUnexpectedEOF |
| 17545 |
} |
| 17546 |
mapvalue = &types.StringValue{} |
| 17547 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 17548 |
return err |
| 17549 |
} |
| 17550 |
iNdEx = postmsgIndex |
| 17551 |
} else { |
| 17552 |
iNdEx = entryPreIndex |
| 17553 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17554 |
if err != nil { |
| 17555 |
return err |
| 17556 |
} |
| 17557 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17558 |
return ErrInvalidLengthTypes |
| 17559 |
} |
| 17560 |
if (iNdEx + skippy) > postIndex { |
| 17561 |
return io.ErrUnexpectedEOF |
| 17562 |
} |
| 17563 |
iNdEx += skippy |
| 17564 |
} |
| 17565 |
} |
| 17566 |
m.NullableString[mapkey] = mapvalue |
| 17567 |
iNdEx = postIndex |
| 17568 |
case 20: |
| 17569 |
if wireType != 2 { |
| 17570 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) |
| 17571 |
} |
| 17572 |
var msglen int |
| 17573 |
for shift := uint(0); ; shift += 7 { |
| 17574 |
if shift >= 64 { |
| 17575 |
return ErrIntOverflowTypes |
| 17576 |
} |
| 17577 |
if iNdEx >= l { |
| 17578 |
return io.ErrUnexpectedEOF |
| 17579 |
} |
| 17580 |
b := dAtA[iNdEx] |
| 17581 |
iNdEx++ |
| 17582 |
msglen |= int(b&0x7F) << shift |
| 17583 |
if b < 0x80 { |
| 17584 |
break |
| 17585 |
} |
| 17586 |
} |
| 17587 |
if msglen < 0 { |
| 17588 |
return ErrInvalidLengthTypes |
| 17589 |
} |
| 17590 |
postIndex := iNdEx + msglen |
| 17591 |
if postIndex < 0 { |
| 17592 |
return ErrInvalidLengthTypes |
| 17593 |
} |
| 17594 |
if postIndex > l { |
| 17595 |
return io.ErrUnexpectedEOF |
| 17596 |
} |
| 17597 |
if m.NonnullString == nil { |
| 17598 |
m.NonnullString = make(map[int32]types.StringValue) |
| 17599 |
} |
| 17600 |
var mapkey int32 |
| 17601 |
mapvalue := &types.StringValue{} |
| 17602 |
for iNdEx < postIndex { |
| 17603 |
entryPreIndex := iNdEx |
| 17604 |
var wire uint64 |
| 17605 |
for shift := uint(0); ; shift += 7 { |
| 17606 |
if shift >= 64 { |
| 17607 |
return ErrIntOverflowTypes |
| 17608 |
} |
| 17609 |
if iNdEx >= l { |
| 17610 |
return io.ErrUnexpectedEOF |
| 17611 |
} |
| 17612 |
b := dAtA[iNdEx] |
| 17613 |
iNdEx++ |
| 17614 |
wire |= uint64(b&0x7F) << shift |
| 17615 |
if b < 0x80 { |
| 17616 |
break |
| 17617 |
} |
| 17618 |
} |
| 17619 |
fieldNum := int32(wire >> 3) |
| 17620 |
if fieldNum == 1 { |
| 17621 |
for shift := uint(0); ; shift += 7 { |
| 17622 |
if shift >= 64 { |
| 17623 |
return ErrIntOverflowTypes |
| 17624 |
} |
| 17625 |
if iNdEx >= l { |
| 17626 |
return io.ErrUnexpectedEOF |
| 17627 |
} |
| 17628 |
b := dAtA[iNdEx] |
| 17629 |
iNdEx++ |
| 17630 |
mapkey |= int32(b&0x7F) << shift |
| 17631 |
if b < 0x80 { |
| 17632 |
break |
| 17633 |
} |
| 17634 |
} |
| 17635 |
} else if fieldNum == 2 { |
| 17636 |
var mapmsglen int |
| 17637 |
for shift := uint(0); ; shift += 7 { |
| 17638 |
if shift >= 64 { |
| 17639 |
return ErrIntOverflowTypes |
| 17640 |
} |
| 17641 |
if iNdEx >= l { |
| 17642 |
return io.ErrUnexpectedEOF |
| 17643 |
} |
| 17644 |
b := dAtA[iNdEx] |
| 17645 |
iNdEx++ |
| 17646 |
mapmsglen |= int(b&0x7F) << shift |
| 17647 |
if b < 0x80 { |
| 17648 |
break |
| 17649 |
} |
| 17650 |
} |
| 17651 |
if mapmsglen < 0 { |
| 17652 |
return ErrInvalidLengthTypes |
| 17653 |
} |
| 17654 |
postmsgIndex := iNdEx + mapmsglen |
| 17655 |
if postmsgIndex < 0 { |
| 17656 |
return ErrInvalidLengthTypes |
| 17657 |
} |
| 17658 |
if postmsgIndex > l { |
| 17659 |
return io.ErrUnexpectedEOF |
| 17660 |
} |
| 17661 |
mapvalue = &types.StringValue{} |
| 17662 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 17663 |
return err |
| 17664 |
} |
| 17665 |
iNdEx = postmsgIndex |
| 17666 |
} else { |
| 17667 |
iNdEx = entryPreIndex |
| 17668 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17669 |
if err != nil { |
| 17670 |
return err |
| 17671 |
} |
| 17672 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17673 |
return ErrInvalidLengthTypes |
| 17674 |
} |
| 17675 |
if (iNdEx + skippy) > postIndex { |
| 17676 |
return io.ErrUnexpectedEOF |
| 17677 |
} |
| 17678 |
iNdEx += skippy |
| 17679 |
} |
| 17680 |
} |
| 17681 |
m.NonnullString[mapkey] = *mapvalue |
| 17682 |
iNdEx = postIndex |
| 17683 |
case 21: |
| 17684 |
if wireType != 2 { |
| 17685 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) |
| 17686 |
} |
| 17687 |
var msglen int |
| 17688 |
for shift := uint(0); ; shift += 7 { |
| 17689 |
if shift >= 64 { |
| 17690 |
return ErrIntOverflowTypes |
| 17691 |
} |
| 17692 |
if iNdEx >= l { |
| 17693 |
return io.ErrUnexpectedEOF |
| 17694 |
} |
| 17695 |
b := dAtA[iNdEx] |
| 17696 |
iNdEx++ |
| 17697 |
msglen |= int(b&0x7F) << shift |
| 17698 |
if b < 0x80 { |
| 17699 |
break |
| 17700 |
} |
| 17701 |
} |
| 17702 |
if msglen < 0 { |
| 17703 |
return ErrInvalidLengthTypes |
| 17704 |
} |
| 17705 |
postIndex := iNdEx + msglen |
| 17706 |
if postIndex < 0 { |
| 17707 |
return ErrInvalidLengthTypes |
| 17708 |
} |
| 17709 |
if postIndex > l { |
| 17710 |
return io.ErrUnexpectedEOF |
| 17711 |
} |
| 17712 |
if m.NullableBytes == nil { |
| 17713 |
m.NullableBytes = make(map[int32]*types.BytesValue) |
| 17714 |
} |
| 17715 |
var mapkey int32 |
| 17716 |
var mapvalue *types.BytesValue |
| 17717 |
for iNdEx < postIndex { |
| 17718 |
entryPreIndex := iNdEx |
| 17719 |
var wire uint64 |
| 17720 |
for shift := uint(0); ; shift += 7 { |
| 17721 |
if shift >= 64 { |
| 17722 |
return ErrIntOverflowTypes |
| 17723 |
} |
| 17724 |
if iNdEx >= l { |
| 17725 |
return io.ErrUnexpectedEOF |
| 17726 |
} |
| 17727 |
b := dAtA[iNdEx] |
| 17728 |
iNdEx++ |
| 17729 |
wire |= uint64(b&0x7F) << shift |
| 17730 |
if b < 0x80 { |
| 17731 |
break |
| 17732 |
} |
| 17733 |
} |
| 17734 |
fieldNum := int32(wire >> 3) |
| 17735 |
if fieldNum == 1 { |
| 17736 |
for shift := uint(0); ; shift += 7 { |
| 17737 |
if shift >= 64 { |
| 17738 |
return ErrIntOverflowTypes |
| 17739 |
} |
| 17740 |
if iNdEx >= l { |
| 17741 |
return io.ErrUnexpectedEOF |
| 17742 |
} |
| 17743 |
b := dAtA[iNdEx] |
| 17744 |
iNdEx++ |
| 17745 |
mapkey |= int32(b&0x7F) << shift |
| 17746 |
if b < 0x80 { |
| 17747 |
break |
| 17748 |
} |
| 17749 |
} |
| 17750 |
} else if fieldNum == 2 { |
| 17751 |
var mapmsglen int |
| 17752 |
for shift := uint(0); ; shift += 7 { |
| 17753 |
if shift >= 64 { |
| 17754 |
return ErrIntOverflowTypes |
| 17755 |
} |
| 17756 |
if iNdEx >= l { |
| 17757 |
return io.ErrUnexpectedEOF |
| 17758 |
} |
| 17759 |
b := dAtA[iNdEx] |
| 17760 |
iNdEx++ |
| 17761 |
mapmsglen |= int(b&0x7F) << shift |
| 17762 |
if b < 0x80 { |
| 17763 |
break |
| 17764 |
} |
| 17765 |
} |
| 17766 |
if mapmsglen < 0 { |
| 17767 |
return ErrInvalidLengthTypes |
| 17768 |
} |
| 17769 |
postmsgIndex := iNdEx + mapmsglen |
| 17770 |
if postmsgIndex < 0 { |
| 17771 |
return ErrInvalidLengthTypes |
| 17772 |
} |
| 17773 |
if postmsgIndex > l { |
| 17774 |
return io.ErrUnexpectedEOF |
| 17775 |
} |
| 17776 |
mapvalue = &types.BytesValue{} |
| 17777 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 17778 |
return err |
| 17779 |
} |
| 17780 |
iNdEx = postmsgIndex |
| 17781 |
} else { |
| 17782 |
iNdEx = entryPreIndex |
| 17783 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17784 |
if err != nil { |
| 17785 |
return err |
| 17786 |
} |
| 17787 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17788 |
return ErrInvalidLengthTypes |
| 17789 |
} |
| 17790 |
if (iNdEx + skippy) > postIndex { |
| 17791 |
return io.ErrUnexpectedEOF |
| 17792 |
} |
| 17793 |
iNdEx += skippy |
| 17794 |
} |
| 17795 |
} |
| 17796 |
m.NullableBytes[mapkey] = mapvalue |
| 17797 |
iNdEx = postIndex |
| 17798 |
case 22: |
| 17799 |
if wireType != 2 { |
| 17800 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) |
| 17801 |
} |
| 17802 |
var msglen int |
| 17803 |
for shift := uint(0); ; shift += 7 { |
| 17804 |
if shift >= 64 { |
| 17805 |
return ErrIntOverflowTypes |
| 17806 |
} |
| 17807 |
if iNdEx >= l { |
| 17808 |
return io.ErrUnexpectedEOF |
| 17809 |
} |
| 17810 |
b := dAtA[iNdEx] |
| 17811 |
iNdEx++ |
| 17812 |
msglen |= int(b&0x7F) << shift |
| 17813 |
if b < 0x80 { |
| 17814 |
break |
| 17815 |
} |
| 17816 |
} |
| 17817 |
if msglen < 0 { |
| 17818 |
return ErrInvalidLengthTypes |
| 17819 |
} |
| 17820 |
postIndex := iNdEx + msglen |
| 17821 |
if postIndex < 0 { |
| 17822 |
return ErrInvalidLengthTypes |
| 17823 |
} |
| 17824 |
if postIndex > l { |
| 17825 |
return io.ErrUnexpectedEOF |
| 17826 |
} |
| 17827 |
if m.NonnullBytes == nil { |
| 17828 |
m.NonnullBytes = make(map[int32]types.BytesValue) |
| 17829 |
} |
| 17830 |
var mapkey int32 |
| 17831 |
mapvalue := &types.BytesValue{} |
| 17832 |
for iNdEx < postIndex { |
| 17833 |
entryPreIndex := iNdEx |
| 17834 |
var wire uint64 |
| 17835 |
for shift := uint(0); ; shift += 7 { |
| 17836 |
if shift >= 64 { |
| 17837 |
return ErrIntOverflowTypes |
| 17838 |
} |
| 17839 |
if iNdEx >= l { |
| 17840 |
return io.ErrUnexpectedEOF |
| 17841 |
} |
| 17842 |
b := dAtA[iNdEx] |
| 17843 |
iNdEx++ |
| 17844 |
wire |= uint64(b&0x7F) << shift |
| 17845 |
if b < 0x80 { |
| 17846 |
break |
| 17847 |
} |
| 17848 |
} |
| 17849 |
fieldNum := int32(wire >> 3) |
| 17850 |
if fieldNum == 1 { |
| 17851 |
for shift := uint(0); ; shift += 7 { |
| 17852 |
if shift >= 64 { |
| 17853 |
return ErrIntOverflowTypes |
| 17854 |
} |
| 17855 |
if iNdEx >= l { |
| 17856 |
return io.ErrUnexpectedEOF |
| 17857 |
} |
| 17858 |
b := dAtA[iNdEx] |
| 17859 |
iNdEx++ |
| 17860 |
mapkey |= int32(b&0x7F) << shift |
| 17861 |
if b < 0x80 { |
| 17862 |
break |
| 17863 |
} |
| 17864 |
} |
| 17865 |
} else if fieldNum == 2 { |
| 17866 |
var mapmsglen int |
| 17867 |
for shift := uint(0); ; shift += 7 { |
| 17868 |
if shift >= 64 { |
| 17869 |
return ErrIntOverflowTypes |
| 17870 |
} |
| 17871 |
if iNdEx >= l { |
| 17872 |
return io.ErrUnexpectedEOF |
| 17873 |
} |
| 17874 |
b := dAtA[iNdEx] |
| 17875 |
iNdEx++ |
| 17876 |
mapmsglen |= int(b&0x7F) << shift |
| 17877 |
if b < 0x80 { |
| 17878 |
break |
| 17879 |
} |
| 17880 |
} |
| 17881 |
if mapmsglen < 0 { |
| 17882 |
return ErrInvalidLengthTypes |
| 17883 |
} |
| 17884 |
postmsgIndex := iNdEx + mapmsglen |
| 17885 |
if postmsgIndex < 0 { |
| 17886 |
return ErrInvalidLengthTypes |
| 17887 |
} |
| 17888 |
if postmsgIndex > l { |
| 17889 |
return io.ErrUnexpectedEOF |
| 17890 |
} |
| 17891 |
mapvalue = &types.BytesValue{} |
| 17892 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 17893 |
return err |
| 17894 |
} |
| 17895 |
iNdEx = postmsgIndex |
| 17896 |
} else { |
| 17897 |
iNdEx = entryPreIndex |
| 17898 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17899 |
if err != nil { |
| 17900 |
return err |
| 17901 |
} |
| 17902 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17903 |
return ErrInvalidLengthTypes |
| 17904 |
} |
| 17905 |
if (iNdEx + skippy) > postIndex { |
| 17906 |
return io.ErrUnexpectedEOF |
| 17907 |
} |
| 17908 |
iNdEx += skippy |
| 17909 |
} |
| 17910 |
} |
| 17911 |
m.NonnullBytes[mapkey] = *mapvalue |
| 17912 |
iNdEx = postIndex |
| 17913 |
default: |
| 17914 |
iNdEx = preIndex |
| 17915 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 17916 |
if err != nil { |
| 17917 |
return err |
| 17918 |
} |
| 17919 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 17920 |
return ErrInvalidLengthTypes |
| 17921 |
} |
| 17922 |
if (iNdEx + skippy) > l { |
| 17923 |
return io.ErrUnexpectedEOF |
| 17924 |
} |
| 17925 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 17926 |
iNdEx += skippy |
| 17927 |
} |
| 17928 |
} |
| 17929 |
|
| 17930 |
if iNdEx > l { |
| 17931 |
return io.ErrUnexpectedEOF |
| 17932 |
} |
| 17933 |
return nil |
| 17934 |
} |
| 17935 |
func (m *MapStdTypes) Unmarshal(dAtA []byte) error { |
| 17936 |
l := len(dAtA) |
| 17937 |
iNdEx := 0 |
| 17938 |
for iNdEx < l { |
| 17939 |
preIndex := iNdEx |
| 17940 |
var wire uint64 |
| 17941 |
for shift := uint(0); ; shift += 7 { |
| 17942 |
if shift >= 64 { |
| 17943 |
return ErrIntOverflowTypes |
| 17944 |
} |
| 17945 |
if iNdEx >= l { |
| 17946 |
return io.ErrUnexpectedEOF |
| 17947 |
} |
| 17948 |
b := dAtA[iNdEx] |
| 17949 |
iNdEx++ |
| 17950 |
wire |= uint64(b&0x7F) << shift |
| 17951 |
if b < 0x80 { |
| 17952 |
break |
| 17953 |
} |
| 17954 |
} |
| 17955 |
fieldNum := int32(wire >> 3) |
| 17956 |
wireType := int(wire & 0x7) |
| 17957 |
if wireType == 4 { |
| 17958 |
return fmt.Errorf("proto: MapStdTypes: wiretype end group for non-group") |
| 17959 |
} |
| 17960 |
if fieldNum <= 0 { |
| 17961 |
return fmt.Errorf("proto: MapStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 17962 |
} |
| 17963 |
switch fieldNum { |
| 17964 |
case 1: |
| 17965 |
if wireType != 2 { |
| 17966 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) |
| 17967 |
} |
| 17968 |
var msglen int |
| 17969 |
for shift := uint(0); ; shift += 7 { |
| 17970 |
if shift >= 64 { |
| 17971 |
return ErrIntOverflowTypes |
| 17972 |
} |
| 17973 |
if iNdEx >= l { |
| 17974 |
return io.ErrUnexpectedEOF |
| 17975 |
} |
| 17976 |
b := dAtA[iNdEx] |
| 17977 |
iNdEx++ |
| 17978 |
msglen |= int(b&0x7F) << shift |
| 17979 |
if b < 0x80 { |
| 17980 |
break |
| 17981 |
} |
| 17982 |
} |
| 17983 |
if msglen < 0 { |
| 17984 |
return ErrInvalidLengthTypes |
| 17985 |
} |
| 17986 |
postIndex := iNdEx + msglen |
| 17987 |
if postIndex < 0 { |
| 17988 |
return ErrInvalidLengthTypes |
| 17989 |
} |
| 17990 |
if postIndex > l { |
| 17991 |
return io.ErrUnexpectedEOF |
| 17992 |
} |
| 17993 |
if m.NullableTimestamp == nil { |
| 17994 |
m.NullableTimestamp = make(map[int32]*time.Time) |
| 17995 |
} |
| 17996 |
var mapkey int32 |
| 17997 |
mapvalue := new(time.Time) |
| 17998 |
for iNdEx < postIndex { |
| 17999 |
entryPreIndex := iNdEx |
| 18000 |
var wire uint64 |
| 18001 |
for shift := uint(0); ; shift += 7 { |
| 18002 |
if shift >= 64 { |
| 18003 |
return ErrIntOverflowTypes |
| 18004 |
} |
| 18005 |
if iNdEx >= l { |
| 18006 |
return io.ErrUnexpectedEOF |
| 18007 |
} |
| 18008 |
b := dAtA[iNdEx] |
| 18009 |
iNdEx++ |
| 18010 |
wire |= uint64(b&0x7F) << shift |
| 18011 |
if b < 0x80 { |
| 18012 |
break |
| 18013 |
} |
| 18014 |
} |
| 18015 |
fieldNum := int32(wire >> 3) |
| 18016 |
if fieldNum == 1 { |
| 18017 |
for shift := uint(0); ; shift += 7 { |
| 18018 |
if shift >= 64 { |
| 18019 |
return ErrIntOverflowTypes |
| 18020 |
} |
| 18021 |
if iNdEx >= l { |
| 18022 |
return io.ErrUnexpectedEOF |
| 18023 |
} |
| 18024 |
b := dAtA[iNdEx] |
| 18025 |
iNdEx++ |
| 18026 |
mapkey |= int32(b&0x7F) << shift |
| 18027 |
if b < 0x80 { |
| 18028 |
break |
| 18029 |
} |
| 18030 |
} |
| 18031 |
} else if fieldNum == 2 { |
| 18032 |
var mapmsglen int |
| 18033 |
for shift := uint(0); ; shift += 7 { |
| 18034 |
if shift >= 64 { |
| 18035 |
return ErrIntOverflowTypes |
| 18036 |
} |
| 18037 |
if iNdEx >= l { |
| 18038 |
return io.ErrUnexpectedEOF |
| 18039 |
} |
| 18040 |
b := dAtA[iNdEx] |
| 18041 |
iNdEx++ |
| 18042 |
mapmsglen |= int(b&0x7F) << shift |
| 18043 |
if b < 0x80 { |
| 18044 |
break |
| 18045 |
} |
| 18046 |
} |
| 18047 |
if mapmsglen < 0 { |
| 18048 |
return ErrInvalidLengthTypes |
| 18049 |
} |
| 18050 |
postmsgIndex := iNdEx + mapmsglen |
| 18051 |
if postmsgIndex < 0 { |
| 18052 |
return ErrInvalidLengthTypes |
| 18053 |
} |
| 18054 |
if postmsgIndex > l { |
| 18055 |
return io.ErrUnexpectedEOF |
| 18056 |
} |
| 18057 |
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18058 |
return err |
| 18059 |
} |
| 18060 |
iNdEx = postmsgIndex |
| 18061 |
} else { |
| 18062 |
iNdEx = entryPreIndex |
| 18063 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18064 |
if err != nil { |
| 18065 |
return err |
| 18066 |
} |
| 18067 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18068 |
return ErrInvalidLengthTypes |
| 18069 |
} |
| 18070 |
if (iNdEx + skippy) > postIndex { |
| 18071 |
return io.ErrUnexpectedEOF |
| 18072 |
} |
| 18073 |
iNdEx += skippy |
| 18074 |
} |
| 18075 |
} |
| 18076 |
m.NullableTimestamp[mapkey] = mapvalue |
| 18077 |
iNdEx = postIndex |
| 18078 |
case 2: |
| 18079 |
if wireType != 2 { |
| 18080 |
return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) |
| 18081 |
} |
| 18082 |
var msglen int |
| 18083 |
for shift := uint(0); ; shift += 7 { |
| 18084 |
if shift >= 64 { |
| 18085 |
return ErrIntOverflowTypes |
| 18086 |
} |
| 18087 |
if iNdEx >= l { |
| 18088 |
return io.ErrUnexpectedEOF |
| 18089 |
} |
| 18090 |
b := dAtA[iNdEx] |
| 18091 |
iNdEx++ |
| 18092 |
msglen |= int(b&0x7F) << shift |
| 18093 |
if b < 0x80 { |
| 18094 |
break |
| 18095 |
} |
| 18096 |
} |
| 18097 |
if msglen < 0 { |
| 18098 |
return ErrInvalidLengthTypes |
| 18099 |
} |
| 18100 |
postIndex := iNdEx + msglen |
| 18101 |
if postIndex < 0 { |
| 18102 |
return ErrInvalidLengthTypes |
| 18103 |
} |
| 18104 |
if postIndex > l { |
| 18105 |
return io.ErrUnexpectedEOF |
| 18106 |
} |
| 18107 |
if m.Timestamp == nil { |
| 18108 |
m.Timestamp = make(map[int32]time.Time) |
| 18109 |
} |
| 18110 |
var mapkey int32 |
| 18111 |
mapvalue := new(time.Time) |
| 18112 |
for iNdEx < postIndex { |
| 18113 |
entryPreIndex := iNdEx |
| 18114 |
var wire uint64 |
| 18115 |
for shift := uint(0); ; shift += 7 { |
| 18116 |
if shift >= 64 { |
| 18117 |
return ErrIntOverflowTypes |
| 18118 |
} |
| 18119 |
if iNdEx >= l { |
| 18120 |
return io.ErrUnexpectedEOF |
| 18121 |
} |
| 18122 |
b := dAtA[iNdEx] |
| 18123 |
iNdEx++ |
| 18124 |
wire |= uint64(b&0x7F) << shift |
| 18125 |
if b < 0x80 { |
| 18126 |
break |
| 18127 |
} |
| 18128 |
} |
| 18129 |
fieldNum := int32(wire >> 3) |
| 18130 |
if fieldNum == 1 { |
| 18131 |
for shift := uint(0); ; shift += 7 { |
| 18132 |
if shift >= 64 { |
| 18133 |
return ErrIntOverflowTypes |
| 18134 |
} |
| 18135 |
if iNdEx >= l { |
| 18136 |
return io.ErrUnexpectedEOF |
| 18137 |
} |
| 18138 |
b := dAtA[iNdEx] |
| 18139 |
iNdEx++ |
| 18140 |
mapkey |= int32(b&0x7F) << shift |
| 18141 |
if b < 0x80 { |
| 18142 |
break |
| 18143 |
} |
| 18144 |
} |
| 18145 |
} else if fieldNum == 2 { |
| 18146 |
var mapmsglen int |
| 18147 |
for shift := uint(0); ; shift += 7 { |
| 18148 |
if shift >= 64 { |
| 18149 |
return ErrIntOverflowTypes |
| 18150 |
} |
| 18151 |
if iNdEx >= l { |
| 18152 |
return io.ErrUnexpectedEOF |
| 18153 |
} |
| 18154 |
b := dAtA[iNdEx] |
| 18155 |
iNdEx++ |
| 18156 |
mapmsglen |= int(b&0x7F) << shift |
| 18157 |
if b < 0x80 { |
| 18158 |
break |
| 18159 |
} |
| 18160 |
} |
| 18161 |
if mapmsglen < 0 { |
| 18162 |
return ErrInvalidLengthTypes |
| 18163 |
} |
| 18164 |
postmsgIndex := iNdEx + mapmsglen |
| 18165 |
if postmsgIndex < 0 { |
| 18166 |
return ErrInvalidLengthTypes |
| 18167 |
} |
| 18168 |
if postmsgIndex > l { |
| 18169 |
return io.ErrUnexpectedEOF |
| 18170 |
} |
| 18171 |
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18172 |
return err |
| 18173 |
} |
| 18174 |
iNdEx = postmsgIndex |
| 18175 |
} else { |
| 18176 |
iNdEx = entryPreIndex |
| 18177 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18178 |
if err != nil { |
| 18179 |
return err |
| 18180 |
} |
| 18181 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18182 |
return ErrInvalidLengthTypes |
| 18183 |
} |
| 18184 |
if (iNdEx + skippy) > postIndex { |
| 18185 |
return io.ErrUnexpectedEOF |
| 18186 |
} |
| 18187 |
iNdEx += skippy |
| 18188 |
} |
| 18189 |
} |
| 18190 |
m.Timestamp[mapkey] = *mapvalue |
| 18191 |
iNdEx = postIndex |
| 18192 |
case 3: |
| 18193 |
if wireType != 2 { |
| 18194 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) |
| 18195 |
} |
| 18196 |
var msglen int |
| 18197 |
for shift := uint(0); ; shift += 7 { |
| 18198 |
if shift >= 64 { |
| 18199 |
return ErrIntOverflowTypes |
| 18200 |
} |
| 18201 |
if iNdEx >= l { |
| 18202 |
return io.ErrUnexpectedEOF |
| 18203 |
} |
| 18204 |
b := dAtA[iNdEx] |
| 18205 |
iNdEx++ |
| 18206 |
msglen |= int(b&0x7F) << shift |
| 18207 |
if b < 0x80 { |
| 18208 |
break |
| 18209 |
} |
| 18210 |
} |
| 18211 |
if msglen < 0 { |
| 18212 |
return ErrInvalidLengthTypes |
| 18213 |
} |
| 18214 |
postIndex := iNdEx + msglen |
| 18215 |
if postIndex < 0 { |
| 18216 |
return ErrInvalidLengthTypes |
| 18217 |
} |
| 18218 |
if postIndex > l { |
| 18219 |
return io.ErrUnexpectedEOF |
| 18220 |
} |
| 18221 |
if m.NullableDuration == nil { |
| 18222 |
m.NullableDuration = make(map[int32]*time.Duration) |
| 18223 |
} |
| 18224 |
var mapkey int32 |
| 18225 |
mapvalue := new(time.Duration) |
| 18226 |
for iNdEx < postIndex { |
| 18227 |
entryPreIndex := iNdEx |
| 18228 |
var wire uint64 |
| 18229 |
for shift := uint(0); ; shift += 7 { |
| 18230 |
if shift >= 64 { |
| 18231 |
return ErrIntOverflowTypes |
| 18232 |
} |
| 18233 |
if iNdEx >= l { |
| 18234 |
return io.ErrUnexpectedEOF |
| 18235 |
} |
| 18236 |
b := dAtA[iNdEx] |
| 18237 |
iNdEx++ |
| 18238 |
wire |= uint64(b&0x7F) << shift |
| 18239 |
if b < 0x80 { |
| 18240 |
break |
| 18241 |
} |
| 18242 |
} |
| 18243 |
fieldNum := int32(wire >> 3) |
| 18244 |
if fieldNum == 1 { |
| 18245 |
for shift := uint(0); ; shift += 7 { |
| 18246 |
if shift >= 64 { |
| 18247 |
return ErrIntOverflowTypes |
| 18248 |
} |
| 18249 |
if iNdEx >= l { |
| 18250 |
return io.ErrUnexpectedEOF |
| 18251 |
} |
| 18252 |
b := dAtA[iNdEx] |
| 18253 |
iNdEx++ |
| 18254 |
mapkey |= int32(b&0x7F) << shift |
| 18255 |
if b < 0x80 { |
| 18256 |
break |
| 18257 |
} |
| 18258 |
} |
| 18259 |
} else if fieldNum == 2 { |
| 18260 |
var mapmsglen int |
| 18261 |
for shift := uint(0); ; shift += 7 { |
| 18262 |
if shift >= 64 { |
| 18263 |
return ErrIntOverflowTypes |
| 18264 |
} |
| 18265 |
if iNdEx >= l { |
| 18266 |
return io.ErrUnexpectedEOF |
| 18267 |
} |
| 18268 |
b := dAtA[iNdEx] |
| 18269 |
iNdEx++ |
| 18270 |
mapmsglen |= int(b&0x7F) << shift |
| 18271 |
if b < 0x80 { |
| 18272 |
break |
| 18273 |
} |
| 18274 |
} |
| 18275 |
if mapmsglen < 0 { |
| 18276 |
return ErrInvalidLengthTypes |
| 18277 |
} |
| 18278 |
postmsgIndex := iNdEx + mapmsglen |
| 18279 |
if postmsgIndex < 0 { |
| 18280 |
return ErrInvalidLengthTypes |
| 18281 |
} |
| 18282 |
if postmsgIndex > l { |
| 18283 |
return io.ErrUnexpectedEOF |
| 18284 |
} |
| 18285 |
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18286 |
return err |
| 18287 |
} |
| 18288 |
iNdEx = postmsgIndex |
| 18289 |
} else { |
| 18290 |
iNdEx = entryPreIndex |
| 18291 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18292 |
if err != nil { |
| 18293 |
return err |
| 18294 |
} |
| 18295 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18296 |
return ErrInvalidLengthTypes |
| 18297 |
} |
| 18298 |
if (iNdEx + skippy) > postIndex { |
| 18299 |
return io.ErrUnexpectedEOF |
| 18300 |
} |
| 18301 |
iNdEx += skippy |
| 18302 |
} |
| 18303 |
} |
| 18304 |
m.NullableDuration[mapkey] = mapvalue |
| 18305 |
iNdEx = postIndex |
| 18306 |
case 4: |
| 18307 |
if wireType != 2 { |
| 18308 |
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) |
| 18309 |
} |
| 18310 |
var msglen int |
| 18311 |
for shift := uint(0); ; shift += 7 { |
| 18312 |
if shift >= 64 { |
| 18313 |
return ErrIntOverflowTypes |
| 18314 |
} |
| 18315 |
if iNdEx >= l { |
| 18316 |
return io.ErrUnexpectedEOF |
| 18317 |
} |
| 18318 |
b := dAtA[iNdEx] |
| 18319 |
iNdEx++ |
| 18320 |
msglen |= int(b&0x7F) << shift |
| 18321 |
if b < 0x80 { |
| 18322 |
break |
| 18323 |
} |
| 18324 |
} |
| 18325 |
if msglen < 0 { |
| 18326 |
return ErrInvalidLengthTypes |
| 18327 |
} |
| 18328 |
postIndex := iNdEx + msglen |
| 18329 |
if postIndex < 0 { |
| 18330 |
return ErrInvalidLengthTypes |
| 18331 |
} |
| 18332 |
if postIndex > l { |
| 18333 |
return io.ErrUnexpectedEOF |
| 18334 |
} |
| 18335 |
if m.Duration == nil { |
| 18336 |
m.Duration = make(map[int32]time.Duration) |
| 18337 |
} |
| 18338 |
var mapkey int32 |
| 18339 |
mapvalue := new(time.Duration) |
| 18340 |
for iNdEx < postIndex { |
| 18341 |
entryPreIndex := iNdEx |
| 18342 |
var wire uint64 |
| 18343 |
for shift := uint(0); ; shift += 7 { |
| 18344 |
if shift >= 64 { |
| 18345 |
return ErrIntOverflowTypes |
| 18346 |
} |
| 18347 |
if iNdEx >= l { |
| 18348 |
return io.ErrUnexpectedEOF |
| 18349 |
} |
| 18350 |
b := dAtA[iNdEx] |
| 18351 |
iNdEx++ |
| 18352 |
wire |= uint64(b&0x7F) << shift |
| 18353 |
if b < 0x80 { |
| 18354 |
break |
| 18355 |
} |
| 18356 |
} |
| 18357 |
fieldNum := int32(wire >> 3) |
| 18358 |
if fieldNum == 1 { |
| 18359 |
for shift := uint(0); ; shift += 7 { |
| 18360 |
if shift >= 64 { |
| 18361 |
return ErrIntOverflowTypes |
| 18362 |
} |
| 18363 |
if iNdEx >= l { |
| 18364 |
return io.ErrUnexpectedEOF |
| 18365 |
} |
| 18366 |
b := dAtA[iNdEx] |
| 18367 |
iNdEx++ |
| 18368 |
mapkey |= int32(b&0x7F) << shift |
| 18369 |
if b < 0x80 { |
| 18370 |
break |
| 18371 |
} |
| 18372 |
} |
| 18373 |
} else if fieldNum == 2 { |
| 18374 |
var mapmsglen int |
| 18375 |
for shift := uint(0); ; shift += 7 { |
| 18376 |
if shift >= 64 { |
| 18377 |
return ErrIntOverflowTypes |
| 18378 |
} |
| 18379 |
if iNdEx >= l { |
| 18380 |
return io.ErrUnexpectedEOF |
| 18381 |
} |
| 18382 |
b := dAtA[iNdEx] |
| 18383 |
iNdEx++ |
| 18384 |
mapmsglen |= int(b&0x7F) << shift |
| 18385 |
if b < 0x80 { |
| 18386 |
break |
| 18387 |
} |
| 18388 |
} |
| 18389 |
if mapmsglen < 0 { |
| 18390 |
return ErrInvalidLengthTypes |
| 18391 |
} |
| 18392 |
postmsgIndex := iNdEx + mapmsglen |
| 18393 |
if postmsgIndex < 0 { |
| 18394 |
return ErrInvalidLengthTypes |
| 18395 |
} |
| 18396 |
if postmsgIndex > l { |
| 18397 |
return io.ErrUnexpectedEOF |
| 18398 |
} |
| 18399 |
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18400 |
return err |
| 18401 |
} |
| 18402 |
iNdEx = postmsgIndex |
| 18403 |
} else { |
| 18404 |
iNdEx = entryPreIndex |
| 18405 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18406 |
if err != nil { |
| 18407 |
return err |
| 18408 |
} |
| 18409 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18410 |
return ErrInvalidLengthTypes |
| 18411 |
} |
| 18412 |
if (iNdEx + skippy) > postIndex { |
| 18413 |
return io.ErrUnexpectedEOF |
| 18414 |
} |
| 18415 |
iNdEx += skippy |
| 18416 |
} |
| 18417 |
} |
| 18418 |
m.Duration[mapkey] = *mapvalue |
| 18419 |
iNdEx = postIndex |
| 18420 |
case 5: |
| 18421 |
if wireType != 2 { |
| 18422 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) |
| 18423 |
} |
| 18424 |
var msglen int |
| 18425 |
for shift := uint(0); ; shift += 7 { |
| 18426 |
if shift >= 64 { |
| 18427 |
return ErrIntOverflowTypes |
| 18428 |
} |
| 18429 |
if iNdEx >= l { |
| 18430 |
return io.ErrUnexpectedEOF |
| 18431 |
} |
| 18432 |
b := dAtA[iNdEx] |
| 18433 |
iNdEx++ |
| 18434 |
msglen |= int(b&0x7F) << shift |
| 18435 |
if b < 0x80 { |
| 18436 |
break |
| 18437 |
} |
| 18438 |
} |
| 18439 |
if msglen < 0 { |
| 18440 |
return ErrInvalidLengthTypes |
| 18441 |
} |
| 18442 |
postIndex := iNdEx + msglen |
| 18443 |
if postIndex < 0 { |
| 18444 |
return ErrInvalidLengthTypes |
| 18445 |
} |
| 18446 |
if postIndex > l { |
| 18447 |
return io.ErrUnexpectedEOF |
| 18448 |
} |
| 18449 |
if m.NullableDouble == nil { |
| 18450 |
m.NullableDouble = make(map[int32]*float64) |
| 18451 |
} |
| 18452 |
var mapkey int32 |
| 18453 |
mapvalue := new(float64) |
| 18454 |
for iNdEx < postIndex { |
| 18455 |
entryPreIndex := iNdEx |
| 18456 |
var wire uint64 |
| 18457 |
for shift := uint(0); ; shift += 7 { |
| 18458 |
if shift >= 64 { |
| 18459 |
return ErrIntOverflowTypes |
| 18460 |
} |
| 18461 |
if iNdEx >= l { |
| 18462 |
return io.ErrUnexpectedEOF |
| 18463 |
} |
| 18464 |
b := dAtA[iNdEx] |
| 18465 |
iNdEx++ |
| 18466 |
wire |= uint64(b&0x7F) << shift |
| 18467 |
if b < 0x80 { |
| 18468 |
break |
| 18469 |
} |
| 18470 |
} |
| 18471 |
fieldNum := int32(wire >> 3) |
| 18472 |
if fieldNum == 1 { |
| 18473 |
for shift := uint(0); ; shift += 7 { |
| 18474 |
if shift >= 64 { |
| 18475 |
return ErrIntOverflowTypes |
| 18476 |
} |
| 18477 |
if iNdEx >= l { |
| 18478 |
return io.ErrUnexpectedEOF |
| 18479 |
} |
| 18480 |
b := dAtA[iNdEx] |
| 18481 |
iNdEx++ |
| 18482 |
mapkey |= int32(b&0x7F) << shift |
| 18483 |
if b < 0x80 { |
| 18484 |
break |
| 18485 |
} |
| 18486 |
} |
| 18487 |
} else if fieldNum == 2 { |
| 18488 |
var mapmsglen int |
| 18489 |
for shift := uint(0); ; shift += 7 { |
| 18490 |
if shift >= 64 { |
| 18491 |
return ErrIntOverflowTypes |
| 18492 |
} |
| 18493 |
if iNdEx >= l { |
| 18494 |
return io.ErrUnexpectedEOF |
| 18495 |
} |
| 18496 |
b := dAtA[iNdEx] |
| 18497 |
iNdEx++ |
| 18498 |
mapmsglen |= int(b&0x7F) << shift |
| 18499 |
if b < 0x80 { |
| 18500 |
break |
| 18501 |
} |
| 18502 |
} |
| 18503 |
if mapmsglen < 0 { |
| 18504 |
return ErrInvalidLengthTypes |
| 18505 |
} |
| 18506 |
postmsgIndex := iNdEx + mapmsglen |
| 18507 |
if postmsgIndex < 0 { |
| 18508 |
return ErrInvalidLengthTypes |
| 18509 |
} |
| 18510 |
if postmsgIndex > l { |
| 18511 |
return io.ErrUnexpectedEOF |
| 18512 |
} |
| 18513 |
if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18514 |
return err |
| 18515 |
} |
| 18516 |
iNdEx = postmsgIndex |
| 18517 |
} else { |
| 18518 |
iNdEx = entryPreIndex |
| 18519 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18520 |
if err != nil { |
| 18521 |
return err |
| 18522 |
} |
| 18523 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18524 |
return ErrInvalidLengthTypes |
| 18525 |
} |
| 18526 |
if (iNdEx + skippy) > postIndex { |
| 18527 |
return io.ErrUnexpectedEOF |
| 18528 |
} |
| 18529 |
iNdEx += skippy |
| 18530 |
} |
| 18531 |
} |
| 18532 |
m.NullableDouble[mapkey] = ((*float64)(mapvalue)) |
| 18533 |
iNdEx = postIndex |
| 18534 |
case 6: |
| 18535 |
if wireType != 2 { |
| 18536 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) |
| 18537 |
} |
| 18538 |
var msglen int |
| 18539 |
for shift := uint(0); ; shift += 7 { |
| 18540 |
if shift >= 64 { |
| 18541 |
return ErrIntOverflowTypes |
| 18542 |
} |
| 18543 |
if iNdEx >= l { |
| 18544 |
return io.ErrUnexpectedEOF |
| 18545 |
} |
| 18546 |
b := dAtA[iNdEx] |
| 18547 |
iNdEx++ |
| 18548 |
msglen |= int(b&0x7F) << shift |
| 18549 |
if b < 0x80 { |
| 18550 |
break |
| 18551 |
} |
| 18552 |
} |
| 18553 |
if msglen < 0 { |
| 18554 |
return ErrInvalidLengthTypes |
| 18555 |
} |
| 18556 |
postIndex := iNdEx + msglen |
| 18557 |
if postIndex < 0 { |
| 18558 |
return ErrInvalidLengthTypes |
| 18559 |
} |
| 18560 |
if postIndex > l { |
| 18561 |
return io.ErrUnexpectedEOF |
| 18562 |
} |
| 18563 |
if m.NonnullDouble == nil { |
| 18564 |
m.NonnullDouble = make(map[int32]float64) |
| 18565 |
} |
| 18566 |
var mapkey int32 |
| 18567 |
mapvalue := new(float64) |
| 18568 |
for iNdEx < postIndex { |
| 18569 |
entryPreIndex := iNdEx |
| 18570 |
var wire uint64 |
| 18571 |
for shift := uint(0); ; shift += 7 { |
| 18572 |
if shift >= 64 { |
| 18573 |
return ErrIntOverflowTypes |
| 18574 |
} |
| 18575 |
if iNdEx >= l { |
| 18576 |
return io.ErrUnexpectedEOF |
| 18577 |
} |
| 18578 |
b := dAtA[iNdEx] |
| 18579 |
iNdEx++ |
| 18580 |
wire |= uint64(b&0x7F) << shift |
| 18581 |
if b < 0x80 { |
| 18582 |
break |
| 18583 |
} |
| 18584 |
} |
| 18585 |
fieldNum := int32(wire >> 3) |
| 18586 |
if fieldNum == 1 { |
| 18587 |
for shift := uint(0); ; shift += 7 { |
| 18588 |
if shift >= 64 { |
| 18589 |
return ErrIntOverflowTypes |
| 18590 |
} |
| 18591 |
if iNdEx >= l { |
| 18592 |
return io.ErrUnexpectedEOF |
| 18593 |
} |
| 18594 |
b := dAtA[iNdEx] |
| 18595 |
iNdEx++ |
| 18596 |
mapkey |= int32(b&0x7F) << shift |
| 18597 |
if b < 0x80 { |
| 18598 |
break |
| 18599 |
} |
| 18600 |
} |
| 18601 |
} else if fieldNum == 2 { |
| 18602 |
var mapmsglen int |
| 18603 |
for shift := uint(0); ; shift += 7 { |
| 18604 |
if shift >= 64 { |
| 18605 |
return ErrIntOverflowTypes |
| 18606 |
} |
| 18607 |
if iNdEx >= l { |
| 18608 |
return io.ErrUnexpectedEOF |
| 18609 |
} |
| 18610 |
b := dAtA[iNdEx] |
| 18611 |
iNdEx++ |
| 18612 |
mapmsglen |= int(b&0x7F) << shift |
| 18613 |
if b < 0x80 { |
| 18614 |
break |
| 18615 |
} |
| 18616 |
} |
| 18617 |
if mapmsglen < 0 { |
| 18618 |
return ErrInvalidLengthTypes |
| 18619 |
} |
| 18620 |
postmsgIndex := iNdEx + mapmsglen |
| 18621 |
if postmsgIndex < 0 { |
| 18622 |
return ErrInvalidLengthTypes |
| 18623 |
} |
| 18624 |
if postmsgIndex > l { |
| 18625 |
return io.ErrUnexpectedEOF |
| 18626 |
} |
| 18627 |
if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18628 |
return err |
| 18629 |
} |
| 18630 |
iNdEx = postmsgIndex |
| 18631 |
} else { |
| 18632 |
iNdEx = entryPreIndex |
| 18633 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18634 |
if err != nil { |
| 18635 |
return err |
| 18636 |
} |
| 18637 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18638 |
return ErrInvalidLengthTypes |
| 18639 |
} |
| 18640 |
if (iNdEx + skippy) > postIndex { |
| 18641 |
return io.ErrUnexpectedEOF |
| 18642 |
} |
| 18643 |
iNdEx += skippy |
| 18644 |
} |
| 18645 |
} |
| 18646 |
m.NonnullDouble[mapkey] = ((float64)(*mapvalue)) |
| 18647 |
iNdEx = postIndex |
| 18648 |
case 7: |
| 18649 |
if wireType != 2 { |
| 18650 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) |
| 18651 |
} |
| 18652 |
var msglen int |
| 18653 |
for shift := uint(0); ; shift += 7 { |
| 18654 |
if shift >= 64 { |
| 18655 |
return ErrIntOverflowTypes |
| 18656 |
} |
| 18657 |
if iNdEx >= l { |
| 18658 |
return io.ErrUnexpectedEOF |
| 18659 |
} |
| 18660 |
b := dAtA[iNdEx] |
| 18661 |
iNdEx++ |
| 18662 |
msglen |= int(b&0x7F) << shift |
| 18663 |
if b < 0x80 { |
| 18664 |
break |
| 18665 |
} |
| 18666 |
} |
| 18667 |
if msglen < 0 { |
| 18668 |
return ErrInvalidLengthTypes |
| 18669 |
} |
| 18670 |
postIndex := iNdEx + msglen |
| 18671 |
if postIndex < 0 { |
| 18672 |
return ErrInvalidLengthTypes |
| 18673 |
} |
| 18674 |
if postIndex > l { |
| 18675 |
return io.ErrUnexpectedEOF |
| 18676 |
} |
| 18677 |
if m.NullableFloat == nil { |
| 18678 |
m.NullableFloat = make(map[int32]*float32) |
| 18679 |
} |
| 18680 |
var mapkey int32 |
| 18681 |
mapvalue := new(float32) |
| 18682 |
for iNdEx < postIndex { |
| 18683 |
entryPreIndex := iNdEx |
| 18684 |
var wire uint64 |
| 18685 |
for shift := uint(0); ; shift += 7 { |
| 18686 |
if shift >= 64 { |
| 18687 |
return ErrIntOverflowTypes |
| 18688 |
} |
| 18689 |
if iNdEx >= l { |
| 18690 |
return io.ErrUnexpectedEOF |
| 18691 |
} |
| 18692 |
b := dAtA[iNdEx] |
| 18693 |
iNdEx++ |
| 18694 |
wire |= uint64(b&0x7F) << shift |
| 18695 |
if b < 0x80 { |
| 18696 |
break |
| 18697 |
} |
| 18698 |
} |
| 18699 |
fieldNum := int32(wire >> 3) |
| 18700 |
if fieldNum == 1 { |
| 18701 |
for shift := uint(0); ; shift += 7 { |
| 18702 |
if shift >= 64 { |
| 18703 |
return ErrIntOverflowTypes |
| 18704 |
} |
| 18705 |
if iNdEx >= l { |
| 18706 |
return io.ErrUnexpectedEOF |
| 18707 |
} |
| 18708 |
b := dAtA[iNdEx] |
| 18709 |
iNdEx++ |
| 18710 |
mapkey |= int32(b&0x7F) << shift |
| 18711 |
if b < 0x80 { |
| 18712 |
break |
| 18713 |
} |
| 18714 |
} |
| 18715 |
} else if fieldNum == 2 { |
| 18716 |
var mapmsglen int |
| 18717 |
for shift := uint(0); ; shift += 7 { |
| 18718 |
if shift >= 64 { |
| 18719 |
return ErrIntOverflowTypes |
| 18720 |
} |
| 18721 |
if iNdEx >= l { |
| 18722 |
return io.ErrUnexpectedEOF |
| 18723 |
} |
| 18724 |
b := dAtA[iNdEx] |
| 18725 |
iNdEx++ |
| 18726 |
mapmsglen |= int(b&0x7F) << shift |
| 18727 |
if b < 0x80 { |
| 18728 |
break |
| 18729 |
} |
| 18730 |
} |
| 18731 |
if mapmsglen < 0 { |
| 18732 |
return ErrInvalidLengthTypes |
| 18733 |
} |
| 18734 |
postmsgIndex := iNdEx + mapmsglen |
| 18735 |
if postmsgIndex < 0 { |
| 18736 |
return ErrInvalidLengthTypes |
| 18737 |
} |
| 18738 |
if postmsgIndex > l { |
| 18739 |
return io.ErrUnexpectedEOF |
| 18740 |
} |
| 18741 |
if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18742 |
return err |
| 18743 |
} |
| 18744 |
iNdEx = postmsgIndex |
| 18745 |
} else { |
| 18746 |
iNdEx = entryPreIndex |
| 18747 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18748 |
if err != nil { |
| 18749 |
return err |
| 18750 |
} |
| 18751 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18752 |
return ErrInvalidLengthTypes |
| 18753 |
} |
| 18754 |
if (iNdEx + skippy) > postIndex { |
| 18755 |
return io.ErrUnexpectedEOF |
| 18756 |
} |
| 18757 |
iNdEx += skippy |
| 18758 |
} |
| 18759 |
} |
| 18760 |
m.NullableFloat[mapkey] = ((*float32)(mapvalue)) |
| 18761 |
iNdEx = postIndex |
| 18762 |
case 8: |
| 18763 |
if wireType != 2 { |
| 18764 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) |
| 18765 |
} |
| 18766 |
var msglen int |
| 18767 |
for shift := uint(0); ; shift += 7 { |
| 18768 |
if shift >= 64 { |
| 18769 |
return ErrIntOverflowTypes |
| 18770 |
} |
| 18771 |
if iNdEx >= l { |
| 18772 |
return io.ErrUnexpectedEOF |
| 18773 |
} |
| 18774 |
b := dAtA[iNdEx] |
| 18775 |
iNdEx++ |
| 18776 |
msglen |= int(b&0x7F) << shift |
| 18777 |
if b < 0x80 { |
| 18778 |
break |
| 18779 |
} |
| 18780 |
} |
| 18781 |
if msglen < 0 { |
| 18782 |
return ErrInvalidLengthTypes |
| 18783 |
} |
| 18784 |
postIndex := iNdEx + msglen |
| 18785 |
if postIndex < 0 { |
| 18786 |
return ErrInvalidLengthTypes |
| 18787 |
} |
| 18788 |
if postIndex > l { |
| 18789 |
return io.ErrUnexpectedEOF |
| 18790 |
} |
| 18791 |
if m.NonnullFloat == nil { |
| 18792 |
m.NonnullFloat = make(map[int32]float32) |
| 18793 |
} |
| 18794 |
var mapkey int32 |
| 18795 |
mapvalue := new(float32) |
| 18796 |
for iNdEx < postIndex { |
| 18797 |
entryPreIndex := iNdEx |
| 18798 |
var wire uint64 |
| 18799 |
for shift := uint(0); ; shift += 7 { |
| 18800 |
if shift >= 64 { |
| 18801 |
return ErrIntOverflowTypes |
| 18802 |
} |
| 18803 |
if iNdEx >= l { |
| 18804 |
return io.ErrUnexpectedEOF |
| 18805 |
} |
| 18806 |
b := dAtA[iNdEx] |
| 18807 |
iNdEx++ |
| 18808 |
wire |= uint64(b&0x7F) << shift |
| 18809 |
if b < 0x80 { |
| 18810 |
break |
| 18811 |
} |
| 18812 |
} |
| 18813 |
fieldNum := int32(wire >> 3) |
| 18814 |
if fieldNum == 1 { |
| 18815 |
for shift := uint(0); ; shift += 7 { |
| 18816 |
if shift >= 64 { |
| 18817 |
return ErrIntOverflowTypes |
| 18818 |
} |
| 18819 |
if iNdEx >= l { |
| 18820 |
return io.ErrUnexpectedEOF |
| 18821 |
} |
| 18822 |
b := dAtA[iNdEx] |
| 18823 |
iNdEx++ |
| 18824 |
mapkey |= int32(b&0x7F) << shift |
| 18825 |
if b < 0x80 { |
| 18826 |
break |
| 18827 |
} |
| 18828 |
} |
| 18829 |
} else if fieldNum == 2 { |
| 18830 |
var mapmsglen int |
| 18831 |
for shift := uint(0); ; shift += 7 { |
| 18832 |
if shift >= 64 { |
| 18833 |
return ErrIntOverflowTypes |
| 18834 |
} |
| 18835 |
if iNdEx >= l { |
| 18836 |
return io.ErrUnexpectedEOF |
| 18837 |
} |
| 18838 |
b := dAtA[iNdEx] |
| 18839 |
iNdEx++ |
| 18840 |
mapmsglen |= int(b&0x7F) << shift |
| 18841 |
if b < 0x80 { |
| 18842 |
break |
| 18843 |
} |
| 18844 |
} |
| 18845 |
if mapmsglen < 0 { |
| 18846 |
return ErrInvalidLengthTypes |
| 18847 |
} |
| 18848 |
postmsgIndex := iNdEx + mapmsglen |
| 18849 |
if postmsgIndex < 0 { |
| 18850 |
return ErrInvalidLengthTypes |
| 18851 |
} |
| 18852 |
if postmsgIndex > l { |
| 18853 |
return io.ErrUnexpectedEOF |
| 18854 |
} |
| 18855 |
if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18856 |
return err |
| 18857 |
} |
| 18858 |
iNdEx = postmsgIndex |
| 18859 |
} else { |
| 18860 |
iNdEx = entryPreIndex |
| 18861 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18862 |
if err != nil { |
| 18863 |
return err |
| 18864 |
} |
| 18865 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18866 |
return ErrInvalidLengthTypes |
| 18867 |
} |
| 18868 |
if (iNdEx + skippy) > postIndex { |
| 18869 |
return io.ErrUnexpectedEOF |
| 18870 |
} |
| 18871 |
iNdEx += skippy |
| 18872 |
} |
| 18873 |
} |
| 18874 |
m.NonnullFloat[mapkey] = ((float32)(*mapvalue)) |
| 18875 |
iNdEx = postIndex |
| 18876 |
case 9: |
| 18877 |
if wireType != 2 { |
| 18878 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) |
| 18879 |
} |
| 18880 |
var msglen int |
| 18881 |
for shift := uint(0); ; shift += 7 { |
| 18882 |
if shift >= 64 { |
| 18883 |
return ErrIntOverflowTypes |
| 18884 |
} |
| 18885 |
if iNdEx >= l { |
| 18886 |
return io.ErrUnexpectedEOF |
| 18887 |
} |
| 18888 |
b := dAtA[iNdEx] |
| 18889 |
iNdEx++ |
| 18890 |
msglen |= int(b&0x7F) << shift |
| 18891 |
if b < 0x80 { |
| 18892 |
break |
| 18893 |
} |
| 18894 |
} |
| 18895 |
if msglen < 0 { |
| 18896 |
return ErrInvalidLengthTypes |
| 18897 |
} |
| 18898 |
postIndex := iNdEx + msglen |
| 18899 |
if postIndex < 0 { |
| 18900 |
return ErrInvalidLengthTypes |
| 18901 |
} |
| 18902 |
if postIndex > l { |
| 18903 |
return io.ErrUnexpectedEOF |
| 18904 |
} |
| 18905 |
if m.NullableInt64 == nil { |
| 18906 |
m.NullableInt64 = make(map[int32]*int64) |
| 18907 |
} |
| 18908 |
var mapkey int32 |
| 18909 |
mapvalue := new(int64) |
| 18910 |
for iNdEx < postIndex { |
| 18911 |
entryPreIndex := iNdEx |
| 18912 |
var wire uint64 |
| 18913 |
for shift := uint(0); ; shift += 7 { |
| 18914 |
if shift >= 64 { |
| 18915 |
return ErrIntOverflowTypes |
| 18916 |
} |
| 18917 |
if iNdEx >= l { |
| 18918 |
return io.ErrUnexpectedEOF |
| 18919 |
} |
| 18920 |
b := dAtA[iNdEx] |
| 18921 |
iNdEx++ |
| 18922 |
wire |= uint64(b&0x7F) << shift |
| 18923 |
if b < 0x80 { |
| 18924 |
break |
| 18925 |
} |
| 18926 |
} |
| 18927 |
fieldNum := int32(wire >> 3) |
| 18928 |
if fieldNum == 1 { |
| 18929 |
for shift := uint(0); ; shift += 7 { |
| 18930 |
if shift >= 64 { |
| 18931 |
return ErrIntOverflowTypes |
| 18932 |
} |
| 18933 |
if iNdEx >= l { |
| 18934 |
return io.ErrUnexpectedEOF |
| 18935 |
} |
| 18936 |
b := dAtA[iNdEx] |
| 18937 |
iNdEx++ |
| 18938 |
mapkey |= int32(b&0x7F) << shift |
| 18939 |
if b < 0x80 { |
| 18940 |
break |
| 18941 |
} |
| 18942 |
} |
| 18943 |
} else if fieldNum == 2 { |
| 18944 |
var mapmsglen int |
| 18945 |
for shift := uint(0); ; shift += 7 { |
| 18946 |
if shift >= 64 { |
| 18947 |
return ErrIntOverflowTypes |
| 18948 |
} |
| 18949 |
if iNdEx >= l { |
| 18950 |
return io.ErrUnexpectedEOF |
| 18951 |
} |
| 18952 |
b := dAtA[iNdEx] |
| 18953 |
iNdEx++ |
| 18954 |
mapmsglen |= int(b&0x7F) << shift |
| 18955 |
if b < 0x80 { |
| 18956 |
break |
| 18957 |
} |
| 18958 |
} |
| 18959 |
if mapmsglen < 0 { |
| 18960 |
return ErrInvalidLengthTypes |
| 18961 |
} |
| 18962 |
postmsgIndex := iNdEx + mapmsglen |
| 18963 |
if postmsgIndex < 0 { |
| 18964 |
return ErrInvalidLengthTypes |
| 18965 |
} |
| 18966 |
if postmsgIndex > l { |
| 18967 |
return io.ErrUnexpectedEOF |
| 18968 |
} |
| 18969 |
if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 18970 |
return err |
| 18971 |
} |
| 18972 |
iNdEx = postmsgIndex |
| 18973 |
} else { |
| 18974 |
iNdEx = entryPreIndex |
| 18975 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 18976 |
if err != nil { |
| 18977 |
return err |
| 18978 |
} |
| 18979 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 18980 |
return ErrInvalidLengthTypes |
| 18981 |
} |
| 18982 |
if (iNdEx + skippy) > postIndex { |
| 18983 |
return io.ErrUnexpectedEOF |
| 18984 |
} |
| 18985 |
iNdEx += skippy |
| 18986 |
} |
| 18987 |
} |
| 18988 |
m.NullableInt64[mapkey] = ((*int64)(mapvalue)) |
| 18989 |
iNdEx = postIndex |
| 18990 |
case 10: |
| 18991 |
if wireType != 2 { |
| 18992 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) |
| 18993 |
} |
| 18994 |
var msglen int |
| 18995 |
for shift := uint(0); ; shift += 7 { |
| 18996 |
if shift >= 64 { |
| 18997 |
return ErrIntOverflowTypes |
| 18998 |
} |
| 18999 |
if iNdEx >= l { |
| 19000 |
return io.ErrUnexpectedEOF |
| 19001 |
} |
| 19002 |
b := dAtA[iNdEx] |
| 19003 |
iNdEx++ |
| 19004 |
msglen |= int(b&0x7F) << shift |
| 19005 |
if b < 0x80 { |
| 19006 |
break |
| 19007 |
} |
| 19008 |
} |
| 19009 |
if msglen < 0 { |
| 19010 |
return ErrInvalidLengthTypes |
| 19011 |
} |
| 19012 |
postIndex := iNdEx + msglen |
| 19013 |
if postIndex < 0 { |
| 19014 |
return ErrInvalidLengthTypes |
| 19015 |
} |
| 19016 |
if postIndex > l { |
| 19017 |
return io.ErrUnexpectedEOF |
| 19018 |
} |
| 19019 |
if m.NonnullInt64 == nil { |
| 19020 |
m.NonnullInt64 = make(map[int32]int64) |
| 19021 |
} |
| 19022 |
var mapkey int32 |
| 19023 |
mapvalue := new(int64) |
| 19024 |
for iNdEx < postIndex { |
| 19025 |
entryPreIndex := iNdEx |
| 19026 |
var wire uint64 |
| 19027 |
for shift := uint(0); ; shift += 7 { |
| 19028 |
if shift >= 64 { |
| 19029 |
return ErrIntOverflowTypes |
| 19030 |
} |
| 19031 |
if iNdEx >= l { |
| 19032 |
return io.ErrUnexpectedEOF |
| 19033 |
} |
| 19034 |
b := dAtA[iNdEx] |
| 19035 |
iNdEx++ |
| 19036 |
wire |= uint64(b&0x7F) << shift |
| 19037 |
if b < 0x80 { |
| 19038 |
break |
| 19039 |
} |
| 19040 |
} |
| 19041 |
fieldNum := int32(wire >> 3) |
| 19042 |
if fieldNum == 1 { |
| 19043 |
for shift := uint(0); ; shift += 7 { |
| 19044 |
if shift >= 64 { |
| 19045 |
return ErrIntOverflowTypes |
| 19046 |
} |
| 19047 |
if iNdEx >= l { |
| 19048 |
return io.ErrUnexpectedEOF |
| 19049 |
} |
| 19050 |
b := dAtA[iNdEx] |
| 19051 |
iNdEx++ |
| 19052 |
mapkey |= int32(b&0x7F) << shift |
| 19053 |
if b < 0x80 { |
| 19054 |
break |
| 19055 |
} |
| 19056 |
} |
| 19057 |
} else if fieldNum == 2 { |
| 19058 |
var mapmsglen int |
| 19059 |
for shift := uint(0); ; shift += 7 { |
| 19060 |
if shift >= 64 { |
| 19061 |
return ErrIntOverflowTypes |
| 19062 |
} |
| 19063 |
if iNdEx >= l { |
| 19064 |
return io.ErrUnexpectedEOF |
| 19065 |
} |
| 19066 |
b := dAtA[iNdEx] |
| 19067 |
iNdEx++ |
| 19068 |
mapmsglen |= int(b&0x7F) << shift |
| 19069 |
if b < 0x80 { |
| 19070 |
break |
| 19071 |
} |
| 19072 |
} |
| 19073 |
if mapmsglen < 0 { |
| 19074 |
return ErrInvalidLengthTypes |
| 19075 |
} |
| 19076 |
postmsgIndex := iNdEx + mapmsglen |
| 19077 |
if postmsgIndex < 0 { |
| 19078 |
return ErrInvalidLengthTypes |
| 19079 |
} |
| 19080 |
if postmsgIndex > l { |
| 19081 |
return io.ErrUnexpectedEOF |
| 19082 |
} |
| 19083 |
if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19084 |
return err |
| 19085 |
} |
| 19086 |
iNdEx = postmsgIndex |
| 19087 |
} else { |
| 19088 |
iNdEx = entryPreIndex |
| 19089 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 19090 |
if err != nil { |
| 19091 |
return err |
| 19092 |
} |
| 19093 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 19094 |
return ErrInvalidLengthTypes |
| 19095 |
} |
| 19096 |
if (iNdEx + skippy) > postIndex { |
| 19097 |
return io.ErrUnexpectedEOF |
| 19098 |
} |
| 19099 |
iNdEx += skippy |
| 19100 |
} |
| 19101 |
} |
| 19102 |
m.NonnullInt64[mapkey] = ((int64)(*mapvalue)) |
| 19103 |
iNdEx = postIndex |
| 19104 |
case 11: |
| 19105 |
if wireType != 2 { |
| 19106 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) |
| 19107 |
} |
| 19108 |
var msglen int |
| 19109 |
for shift := uint(0); ; shift += 7 { |
| 19110 |
if shift >= 64 { |
| 19111 |
return ErrIntOverflowTypes |
| 19112 |
} |
| 19113 |
if iNdEx >= l { |
| 19114 |
return io.ErrUnexpectedEOF |
| 19115 |
} |
| 19116 |
b := dAtA[iNdEx] |
| 19117 |
iNdEx++ |
| 19118 |
msglen |= int(b&0x7F) << shift |
| 19119 |
if b < 0x80 { |
| 19120 |
break |
| 19121 |
} |
| 19122 |
} |
| 19123 |
if msglen < 0 { |
| 19124 |
return ErrInvalidLengthTypes |
| 19125 |
} |
| 19126 |
postIndex := iNdEx + msglen |
| 19127 |
if postIndex < 0 { |
| 19128 |
return ErrInvalidLengthTypes |
| 19129 |
} |
| 19130 |
if postIndex > l { |
| 19131 |
return io.ErrUnexpectedEOF |
| 19132 |
} |
| 19133 |
if m.NullableUInt64 == nil { |
| 19134 |
m.NullableUInt64 = make(map[int32]*uint64) |
| 19135 |
} |
| 19136 |
var mapkey int32 |
| 19137 |
mapvalue := new(uint64) |
| 19138 |
for iNdEx < postIndex { |
| 19139 |
entryPreIndex := iNdEx |
| 19140 |
var wire uint64 |
| 19141 |
for shift := uint(0); ; shift += 7 { |
| 19142 |
if shift >= 64 { |
| 19143 |
return ErrIntOverflowTypes |
| 19144 |
} |
| 19145 |
if iNdEx >= l { |
| 19146 |
return io.ErrUnexpectedEOF |
| 19147 |
} |
| 19148 |
b := dAtA[iNdEx] |
| 19149 |
iNdEx++ |
| 19150 |
wire |= uint64(b&0x7F) << shift |
| 19151 |
if b < 0x80 { |
| 19152 |
break |
| 19153 |
} |
| 19154 |
} |
| 19155 |
fieldNum := int32(wire >> 3) |
| 19156 |
if fieldNum == 1 { |
| 19157 |
for shift := uint(0); ; shift += 7 { |
| 19158 |
if shift >= 64 { |
| 19159 |
return ErrIntOverflowTypes |
| 19160 |
} |
| 19161 |
if iNdEx >= l { |
| 19162 |
return io.ErrUnexpectedEOF |
| 19163 |
} |
| 19164 |
b := dAtA[iNdEx] |
| 19165 |
iNdEx++ |
| 19166 |
mapkey |= int32(b&0x7F) << shift |
| 19167 |
if b < 0x80 { |
| 19168 |
break |
| 19169 |
} |
| 19170 |
} |
| 19171 |
} else if fieldNum == 2 { |
| 19172 |
var mapmsglen int |
| 19173 |
for shift := uint(0); ; shift += 7 { |
| 19174 |
if shift >= 64 { |
| 19175 |
return ErrIntOverflowTypes |
| 19176 |
} |
| 19177 |
if iNdEx >= l { |
| 19178 |
return io.ErrUnexpectedEOF |
| 19179 |
} |
| 19180 |
b := dAtA[iNdEx] |
| 19181 |
iNdEx++ |
| 19182 |
mapmsglen |= int(b&0x7F) << shift |
| 19183 |
if b < 0x80 { |
| 19184 |
break |
| 19185 |
} |
| 19186 |
} |
| 19187 |
if mapmsglen < 0 { |
| 19188 |
return ErrInvalidLengthTypes |
| 19189 |
} |
| 19190 |
postmsgIndex := iNdEx + mapmsglen |
| 19191 |
if postmsgIndex < 0 { |
| 19192 |
return ErrInvalidLengthTypes |
| 19193 |
} |
| 19194 |
if postmsgIndex > l { |
| 19195 |
return io.ErrUnexpectedEOF |
| 19196 |
} |
| 19197 |
if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19198 |
return err |
| 19199 |
} |
| 19200 |
iNdEx = postmsgIndex |
| 19201 |
} else { |
| 19202 |
iNdEx = entryPreIndex |
| 19203 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 19204 |
if err != nil { |
| 19205 |
return err |
| 19206 |
} |
| 19207 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 19208 |
return ErrInvalidLengthTypes |
| 19209 |
} |
| 19210 |
if (iNdEx + skippy) > postIndex { |
| 19211 |
return io.ErrUnexpectedEOF |
| 19212 |
} |
| 19213 |
iNdEx += skippy |
| 19214 |
} |
| 19215 |
} |
| 19216 |
m.NullableUInt64[mapkey] = ((*uint64)(mapvalue)) |
| 19217 |
iNdEx = postIndex |
| 19218 |
case 12: |
| 19219 |
if wireType != 2 { |
| 19220 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) |
| 19221 |
} |
| 19222 |
var msglen int |
| 19223 |
for shift := uint(0); ; shift += 7 { |
| 19224 |
if shift >= 64 { |
| 19225 |
return ErrIntOverflowTypes |
| 19226 |
} |
| 19227 |
if iNdEx >= l { |
| 19228 |
return io.ErrUnexpectedEOF |
| 19229 |
} |
| 19230 |
b := dAtA[iNdEx] |
| 19231 |
iNdEx++ |
| 19232 |
msglen |= int(b&0x7F) << shift |
| 19233 |
if b < 0x80 { |
| 19234 |
break |
| 19235 |
} |
| 19236 |
} |
| 19237 |
if msglen < 0 { |
| 19238 |
return ErrInvalidLengthTypes |
| 19239 |
} |
| 19240 |
postIndex := iNdEx + msglen |
| 19241 |
if postIndex < 0 { |
| 19242 |
return ErrInvalidLengthTypes |
| 19243 |
} |
| 19244 |
if postIndex > l { |
| 19245 |
return io.ErrUnexpectedEOF |
| 19246 |
} |
| 19247 |
if m.NonnullUInt64 == nil { |
| 19248 |
m.NonnullUInt64 = make(map[int32]uint64) |
| 19249 |
} |
| 19250 |
var mapkey int32 |
| 19251 |
mapvalue := new(uint64) |
| 19252 |
for iNdEx < postIndex { |
| 19253 |
entryPreIndex := iNdEx |
| 19254 |
var wire uint64 |
| 19255 |
for shift := uint(0); ; shift += 7 { |
| 19256 |
if shift >= 64 { |
| 19257 |
return ErrIntOverflowTypes |
| 19258 |
} |
| 19259 |
if iNdEx >= l { |
| 19260 |
return io.ErrUnexpectedEOF |
| 19261 |
} |
| 19262 |
b := dAtA[iNdEx] |
| 19263 |
iNdEx++ |
| 19264 |
wire |= uint64(b&0x7F) << shift |
| 19265 |
if b < 0x80 { |
| 19266 |
break |
| 19267 |
} |
| 19268 |
} |
| 19269 |
fieldNum := int32(wire >> 3) |
| 19270 |
if fieldNum == 1 { |
| 19271 |
for shift := uint(0); ; shift += 7 { |
| 19272 |
if shift >= 64 { |
| 19273 |
return ErrIntOverflowTypes |
| 19274 |
} |
| 19275 |
if iNdEx >= l { |
| 19276 |
return io.ErrUnexpectedEOF |
| 19277 |
} |
| 19278 |
b := dAtA[iNdEx] |
| 19279 |
iNdEx++ |
| 19280 |
mapkey |= int32(b&0x7F) << shift |
| 19281 |
if b < 0x80 { |
| 19282 |
break |
| 19283 |
} |
| 19284 |
} |
| 19285 |
} else if fieldNum == 2 { |
| 19286 |
var mapmsglen int |
| 19287 |
for shift := uint(0); ; shift += 7 { |
| 19288 |
if shift >= 64 { |
| 19289 |
return ErrIntOverflowTypes |
| 19290 |
} |
| 19291 |
if iNdEx >= l { |
| 19292 |
return io.ErrUnexpectedEOF |
| 19293 |
} |
| 19294 |
b := dAtA[iNdEx] |
| 19295 |
iNdEx++ |
| 19296 |
mapmsglen |= int(b&0x7F) << shift |
| 19297 |
if b < 0x80 { |
| 19298 |
break |
| 19299 |
} |
| 19300 |
} |
| 19301 |
if mapmsglen < 0 { |
| 19302 |
return ErrInvalidLengthTypes |
| 19303 |
} |
| 19304 |
postmsgIndex := iNdEx + mapmsglen |
| 19305 |
if postmsgIndex < 0 { |
| 19306 |
return ErrInvalidLengthTypes |
| 19307 |
} |
| 19308 |
if postmsgIndex > l { |
| 19309 |
return io.ErrUnexpectedEOF |
| 19310 |
} |
| 19311 |
if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19312 |
return err |
| 19313 |
} |
| 19314 |
iNdEx = postmsgIndex |
| 19315 |
} else { |
| 19316 |
iNdEx = entryPreIndex |
| 19317 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 19318 |
if err != nil { |
| 19319 |
return err |
| 19320 |
} |
| 19321 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 19322 |
return ErrInvalidLengthTypes |
| 19323 |
} |
| 19324 |
if (iNdEx + skippy) > postIndex { |
| 19325 |
return io.ErrUnexpectedEOF |
| 19326 |
} |
| 19327 |
iNdEx += skippy |
| 19328 |
} |
| 19329 |
} |
| 19330 |
m.NonnullUInt64[mapkey] = ((uint64)(*mapvalue)) |
| 19331 |
iNdEx = postIndex |
| 19332 |
case 13: |
| 19333 |
if wireType != 2 { |
| 19334 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) |
| 19335 |
} |
| 19336 |
var msglen int |
| 19337 |
for shift := uint(0); ; shift += 7 { |
| 19338 |
if shift >= 64 { |
| 19339 |
return ErrIntOverflowTypes |
| 19340 |
} |
| 19341 |
if iNdEx >= l { |
| 19342 |
return io.ErrUnexpectedEOF |
| 19343 |
} |
| 19344 |
b := dAtA[iNdEx] |
| 19345 |
iNdEx++ |
| 19346 |
msglen |= int(b&0x7F) << shift |
| 19347 |
if b < 0x80 { |
| 19348 |
break |
| 19349 |
} |
| 19350 |
} |
| 19351 |
if msglen < 0 { |
| 19352 |
return ErrInvalidLengthTypes |
| 19353 |
} |
| 19354 |
postIndex := iNdEx + msglen |
| 19355 |
if postIndex < 0 { |
| 19356 |
return ErrInvalidLengthTypes |
| 19357 |
} |
| 19358 |
if postIndex > l { |
| 19359 |
return io.ErrUnexpectedEOF |
| 19360 |
} |
| 19361 |
if m.NullableInt32 == nil { |
| 19362 |
m.NullableInt32 = make(map[int32]*int32) |
| 19363 |
} |
| 19364 |
var mapkey int32 |
| 19365 |
mapvalue := new(int32) |
| 19366 |
for iNdEx < postIndex { |
| 19367 |
entryPreIndex := iNdEx |
| 19368 |
var wire uint64 |
| 19369 |
for shift := uint(0); ; shift += 7 { |
| 19370 |
if shift >= 64 { |
| 19371 |
return ErrIntOverflowTypes |
| 19372 |
} |
| 19373 |
if iNdEx >= l { |
| 19374 |
return io.ErrUnexpectedEOF |
| 19375 |
} |
| 19376 |
b := dAtA[iNdEx] |
| 19377 |
iNdEx++ |
| 19378 |
wire |= uint64(b&0x7F) << shift |
| 19379 |
if b < 0x80 { |
| 19380 |
break |
| 19381 |
} |
| 19382 |
} |
| 19383 |
fieldNum := int32(wire >> 3) |
| 19384 |
if fieldNum == 1 { |
| 19385 |
for shift := uint(0); ; shift += 7 { |
| 19386 |
if shift >= 64 { |
| 19387 |
return ErrIntOverflowTypes |
| 19388 |
} |
| 19389 |
if iNdEx >= l { |
| 19390 |
return io.ErrUnexpectedEOF |
| 19391 |
} |
| 19392 |
b := dAtA[iNdEx] |
| 19393 |
iNdEx++ |
| 19394 |
mapkey |= int32(b&0x7F) << shift |
| 19395 |
if b < 0x80 { |
| 19396 |
break |
| 19397 |
} |
| 19398 |
} |
| 19399 |
} else if fieldNum == 2 { |
| 19400 |
var mapmsglen int |
| 19401 |
for shift := uint(0); ; shift += 7 { |
| 19402 |
if shift >= 64 { |
| 19403 |
return ErrIntOverflowTypes |
| 19404 |
} |
| 19405 |
if iNdEx >= l { |
| 19406 |
return io.ErrUnexpectedEOF |
| 19407 |
} |
| 19408 |
b := dAtA[iNdEx] |
| 19409 |
iNdEx++ |
| 19410 |
mapmsglen |= int(b&0x7F) << shift |
| 19411 |
if b < 0x80 { |
| 19412 |
break |
| 19413 |
} |
| 19414 |
} |
| 19415 |
if mapmsglen < 0 { |
| 19416 |
return ErrInvalidLengthTypes |
| 19417 |
} |
| 19418 |
postmsgIndex := iNdEx + mapmsglen |
| 19419 |
if postmsgIndex < 0 { |
| 19420 |
return ErrInvalidLengthTypes |
| 19421 |
} |
| 19422 |
if postmsgIndex > l { |
| 19423 |
return io.ErrUnexpectedEOF |
| 19424 |
} |
| 19425 |
if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19426 |
return err |
| 19427 |
} |
| 19428 |
iNdEx = postmsgIndex |
| 19429 |
} else { |
| 19430 |
iNdEx = entryPreIndex |
| 19431 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 19432 |
if err != nil { |
| 19433 |
return err |
| 19434 |
} |
| 19435 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 19436 |
return ErrInvalidLengthTypes |
| 19437 |
} |
| 19438 |
if (iNdEx + skippy) > postIndex { |
| 19439 |
return io.ErrUnexpectedEOF |
| 19440 |
} |
| 19441 |
iNdEx += skippy |
| 19442 |
} |
| 19443 |
} |
| 19444 |
m.NullableInt32[mapkey] = ((*int32)(mapvalue)) |
| 19445 |
iNdEx = postIndex |
| 19446 |
case 14: |
| 19447 |
if wireType != 2 { |
| 19448 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) |
| 19449 |
} |
| 19450 |
var msglen int |
| 19451 |
for shift := uint(0); ; shift += 7 { |
| 19452 |
if shift >= 64 { |
| 19453 |
return ErrIntOverflowTypes |
| 19454 |
} |
| 19455 |
if iNdEx >= l { |
| 19456 |
return io.ErrUnexpectedEOF |
| 19457 |
} |
| 19458 |
b := dAtA[iNdEx] |
| 19459 |
iNdEx++ |
| 19460 |
msglen |= int(b&0x7F) << shift |
| 19461 |
if b < 0x80 { |
| 19462 |
break |
| 19463 |
} |
| 19464 |
} |
| 19465 |
if msglen < 0 { |
| 19466 |
return ErrInvalidLengthTypes |
| 19467 |
} |
| 19468 |
postIndex := iNdEx + msglen |
| 19469 |
if postIndex < 0 { |
| 19470 |
return ErrInvalidLengthTypes |
| 19471 |
} |
| 19472 |
if postIndex > l { |
| 19473 |
return io.ErrUnexpectedEOF |
| 19474 |
} |
| 19475 |
if m.NonnullInt32 == nil { |
| 19476 |
m.NonnullInt32 = make(map[int32]int32) |
| 19477 |
} |
| 19478 |
var mapkey int32 |
| 19479 |
mapvalue := new(int32) |
| 19480 |
for iNdEx < postIndex { |
| 19481 |
entryPreIndex := iNdEx |
| 19482 |
var wire uint64 |
| 19483 |
for shift := uint(0); ; shift += 7 { |
| 19484 |
if shift >= 64 { |
| 19485 |
return ErrIntOverflowTypes |
| 19486 |
} |
| 19487 |
if iNdEx >= l { |
| 19488 |
return io.ErrUnexpectedEOF |
| 19489 |
} |
| 19490 |
b := dAtA[iNdEx] |
| 19491 |
iNdEx++ |
| 19492 |
wire |= uint64(b&0x7F) << shift |
| 19493 |
if b < 0x80 { |
| 19494 |
break |
| 19495 |
} |
| 19496 |
} |
| 19497 |
fieldNum := int32(wire >> 3) |
| 19498 |
if fieldNum == 1 { |
| 19499 |
for shift := uint(0); ; shift += 7 { |
| 19500 |
if shift >= 64 { |
| 19501 |
return ErrIntOverflowTypes |
| 19502 |
} |
| 19503 |
if iNdEx >= l { |
| 19504 |
return io.ErrUnexpectedEOF |
| 19505 |
} |
| 19506 |
b := dAtA[iNdEx] |
| 19507 |
iNdEx++ |
| 19508 |
mapkey |= int32(b&0x7F) << shift |
| 19509 |
if b < 0x80 { |
| 19510 |
break |
| 19511 |
} |
| 19512 |
} |
| 19513 |
} else if fieldNum == 2 { |
| 19514 |
var mapmsglen int |
| 19515 |
for shift := uint(0); ; shift += 7 { |
| 19516 |
if shift >= 64 { |
| 19517 |
return ErrIntOverflowTypes |
| 19518 |
} |
| 19519 |
if iNdEx >= l { |
| 19520 |
return io.ErrUnexpectedEOF |
| 19521 |
} |
| 19522 |
b := dAtA[iNdEx] |
| 19523 |
iNdEx++ |
| 19524 |
mapmsglen |= int(b&0x7F) << shift |
| 19525 |
if b < 0x80 { |
| 19526 |
break |
| 19527 |
} |
| 19528 |
} |
| 19529 |
if mapmsglen < 0 { |
| 19530 |
return ErrInvalidLengthTypes |
| 19531 |
} |
| 19532 |
postmsgIndex := iNdEx + mapmsglen |
| 19533 |
if postmsgIndex < 0 { |
| 19534 |
return ErrInvalidLengthTypes |
| 19535 |
} |
| 19536 |
if postmsgIndex > l { |
| 19537 |
return io.ErrUnexpectedEOF |
| 19538 |
} |
| 19539 |
if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19540 |
return err |
| 19541 |
} |
| 19542 |
iNdEx = postmsgIndex |
| 19543 |
} else { |
| 19544 |
iNdEx = entryPreIndex |
| 19545 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 19546 |
if err != nil { |
| 19547 |
return err |
| 19548 |
} |
| 19549 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 19550 |
return ErrInvalidLengthTypes |
| 19551 |
} |
| 19552 |
if (iNdEx + skippy) > postIndex { |
| 19553 |
return io.ErrUnexpectedEOF |
| 19554 |
} |
| 19555 |
iNdEx += skippy |
| 19556 |
} |
| 19557 |
} |
| 19558 |
m.NonnullInt32[mapkey] = ((int32)(*mapvalue)) |
| 19559 |
iNdEx = postIndex |
| 19560 |
case 15: |
| 19561 |
if wireType != 2 { |
| 19562 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) |
| 19563 |
} |
| 19564 |
var msglen int |
| 19565 |
for shift := uint(0); ; shift += 7 { |
| 19566 |
if shift >= 64 { |
| 19567 |
return ErrIntOverflowTypes |
| 19568 |
} |
| 19569 |
if iNdEx >= l { |
| 19570 |
return io.ErrUnexpectedEOF |
| 19571 |
} |
| 19572 |
b := dAtA[iNdEx] |
| 19573 |
iNdEx++ |
| 19574 |
msglen |= int(b&0x7F) << shift |
| 19575 |
if b < 0x80 { |
| 19576 |
break |
| 19577 |
} |
| 19578 |
} |
| 19579 |
if msglen < 0 { |
| 19580 |
return ErrInvalidLengthTypes |
| 19581 |
} |
| 19582 |
postIndex := iNdEx + msglen |
| 19583 |
if postIndex < 0 { |
| 19584 |
return ErrInvalidLengthTypes |
| 19585 |
} |
| 19586 |
if postIndex > l { |
| 19587 |
return io.ErrUnexpectedEOF |
| 19588 |
} |
| 19589 |
if m.NullableUInt32 == nil { |
| 19590 |
m.NullableUInt32 = make(map[int32]*uint32) |
| 19591 |
} |
| 19592 |
var mapkey int32 |
| 19593 |
mapvalue := new(uint32) |
| 19594 |
for iNdEx < postIndex { |
| 19595 |
entryPreIndex := iNdEx |
| 19596 |
var wire uint64 |
| 19597 |
for shift := uint(0); ; shift += 7 { |
| 19598 |
if shift >= 64 { |
| 19599 |
return ErrIntOverflowTypes |
| 19600 |
} |
| 19601 |
if iNdEx >= l { |
| 19602 |
return io.ErrUnexpectedEOF |
| 19603 |
} |
| 19604 |
b := dAtA[iNdEx] |
| 19605 |
iNdEx++ |
| 19606 |
wire |= uint64(b&0x7F) << shift |
| 19607 |
if b < 0x80 { |
| 19608 |
break |
| 19609 |
} |
| 19610 |
} |
| 19611 |
fieldNum := int32(wire >> 3) |
| 19612 |
if fieldNum == 1 { |
| 19613 |
for shift := uint(0); ; shift += 7 { |
| 19614 |
if shift >= 64 { |
| 19615 |
return ErrIntOverflowTypes |
| 19616 |
} |
| 19617 |
if iNdEx >= l { |
| 19618 |
return io.ErrUnexpectedEOF |
| 19619 |
} |
| 19620 |
b := dAtA[iNdEx] |
| 19621 |
iNdEx++ |
| 19622 |
mapkey |= int32(b&0x7F) << shift |
| 19623 |
if b < 0x80 { |
| 19624 |
break |
| 19625 |
} |
| 19626 |
} |
| 19627 |
} else if fieldNum == 2 { |
| 19628 |
var mapmsglen int |
| 19629 |
for shift := uint(0); ; shift += 7 { |
| 19630 |
if shift >= 64 { |
| 19631 |
return ErrIntOverflowTypes |
| 19632 |
} |
| 19633 |
if iNdEx >= l { |
| 19634 |
return io.ErrUnexpectedEOF |
| 19635 |
} |
| 19636 |
b := dAtA[iNdEx] |
| 19637 |
iNdEx++ |
| 19638 |
mapmsglen |= int(b&0x7F) << shift |
| 19639 |
if b < 0x80 { |
| 19640 |
break |
| 19641 |
} |
| 19642 |
} |
| 19643 |
if mapmsglen < 0 { |
| 19644 |
return ErrInvalidLengthTypes |
| 19645 |
} |
| 19646 |
postmsgIndex := iNdEx + mapmsglen |
| 19647 |
if postmsgIndex < 0 { |
| 19648 |
return ErrInvalidLengthTypes |
| 19649 |
} |
| 19650 |
if postmsgIndex > l { |
| 19651 |
return io.ErrUnexpectedEOF |
| 19652 |
} |
| 19653 |
if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19654 |
return err |
| 19655 |
} |
| 19656 |
iNdEx = postmsgIndex |
| 19657 |
} else { |
| 19658 |
iNdEx = entryPreIndex |
| 19659 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 19660 |
if err != nil { |
| 19661 |
return err |
| 19662 |
} |
| 19663 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 19664 |
return ErrInvalidLengthTypes |
| 19665 |
} |
| 19666 |
if (iNdEx + skippy) > postIndex { |
| 19667 |
return io.ErrUnexpectedEOF |
| 19668 |
} |
| 19669 |
iNdEx += skippy |
| 19670 |
} |
| 19671 |
} |
| 19672 |
m.NullableUInt32[mapkey] = ((*uint32)(mapvalue)) |
| 19673 |
iNdEx = postIndex |
| 19674 |
case 16: |
| 19675 |
if wireType != 2 { |
| 19676 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) |
| 19677 |
} |
| 19678 |
var msglen int |
| 19679 |
for shift := uint(0); ; shift += 7 { |
| 19680 |
if shift >= 64 { |
| 19681 |
return ErrIntOverflowTypes |
| 19682 |
} |
| 19683 |
if iNdEx >= l { |
| 19684 |
return io.ErrUnexpectedEOF |
| 19685 |
} |
| 19686 |
b := dAtA[iNdEx] |
| 19687 |
iNdEx++ |
| 19688 |
msglen |= int(b&0x7F) << shift |
| 19689 |
if b < 0x80 { |
| 19690 |
break |
| 19691 |
} |
| 19692 |
} |
| 19693 |
if msglen < 0 { |
| 19694 |
return ErrInvalidLengthTypes |
| 19695 |
} |
| 19696 |
postIndex := iNdEx + msglen |
| 19697 |
if postIndex < 0 { |
| 19698 |
return ErrInvalidLengthTypes |
| 19699 |
} |
| 19700 |
if postIndex > l { |
| 19701 |
return io.ErrUnexpectedEOF |
| 19702 |
} |
| 19703 |
if m.NonnullUInt32 == nil { |
| 19704 |
m.NonnullUInt32 = make(map[int32]uint32) |
| 19705 |
} |
| 19706 |
var mapkey int32 |
| 19707 |
mapvalue := new(uint32) |
| 19708 |
for iNdEx < postIndex { |
| 19709 |
entryPreIndex := iNdEx |
| 19710 |
var wire uint64 |
| 19711 |
for shift := uint(0); ; shift += 7 { |
| 19712 |
if shift >= 64 { |
| 19713 |
return ErrIntOverflowTypes |
| 19714 |
} |
| 19715 |
if iNdEx >= l { |
| 19716 |
return io.ErrUnexpectedEOF |
| 19717 |
} |
| 19718 |
b := dAtA[iNdEx] |
| 19719 |
iNdEx++ |
| 19720 |
wire |= uint64(b&0x7F) << shift |
| 19721 |
if b < 0x80 { |
| 19722 |
break |
| 19723 |
} |
| 19724 |
} |
| 19725 |
fieldNum := int32(wire >> 3) |
| 19726 |
if fieldNum == 1 { |
| 19727 |
for shift := uint(0); ; shift += 7 { |
| 19728 |
if shift >= 64 { |
| 19729 |
return ErrIntOverflowTypes |
| 19730 |
} |
| 19731 |
if iNdEx >= l { |
| 19732 |
return io.ErrUnexpectedEOF |
| 19733 |
} |
| 19734 |
b := dAtA[iNdEx] |
| 19735 |
iNdEx++ |
| 19736 |
mapkey |= int32(b&0x7F) << shift |
| 19737 |
if b < 0x80 { |
| 19738 |
break |
| 19739 |
} |
| 19740 |
} |
| 19741 |
} else if fieldNum == 2 { |
| 19742 |
var mapmsglen int |
| 19743 |
for shift := uint(0); ; shift += 7 { |
| 19744 |
if shift >= 64 { |
| 19745 |
return ErrIntOverflowTypes |
| 19746 |
} |
| 19747 |
if iNdEx >= l { |
| 19748 |
return io.ErrUnexpectedEOF |
| 19749 |
} |
| 19750 |
b := dAtA[iNdEx] |
| 19751 |
iNdEx++ |
| 19752 |
mapmsglen |= int(b&0x7F) << shift |
| 19753 |
if b < 0x80 { |
| 19754 |
break |
| 19755 |
} |
| 19756 |
} |
| 19757 |
if mapmsglen < 0 { |
| 19758 |
return ErrInvalidLengthTypes |
| 19759 |
} |
| 19760 |
postmsgIndex := iNdEx + mapmsglen |
| 19761 |
if postmsgIndex < 0 { |
| 19762 |
return ErrInvalidLengthTypes |
| 19763 |
} |
| 19764 |
if postmsgIndex > l { |
| 19765 |
return io.ErrUnexpectedEOF |
| 19766 |
} |
| 19767 |
if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19768 |
return err |
| 19769 |
} |
| 19770 |
iNdEx = postmsgIndex |
| 19771 |
} else { |
| 19772 |
iNdEx = entryPreIndex |
| 19773 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 19774 |
if err != nil { |
| 19775 |
return err |
| 19776 |
} |
| 19777 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 19778 |
return ErrInvalidLengthTypes |
| 19779 |
} |
| 19780 |
if (iNdEx + skippy) > postIndex { |
| 19781 |
return io.ErrUnexpectedEOF |
| 19782 |
} |
| 19783 |
iNdEx += skippy |
| 19784 |
} |
| 19785 |
} |
| 19786 |
m.NonnullUInt32[mapkey] = ((uint32)(*mapvalue)) |
| 19787 |
iNdEx = postIndex |
| 19788 |
case 17: |
| 19789 |
if wireType != 2 { |
| 19790 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) |
| 19791 |
} |
| 19792 |
var msglen int |
| 19793 |
for shift := uint(0); ; shift += 7 { |
| 19794 |
if shift >= 64 { |
| 19795 |
return ErrIntOverflowTypes |
| 19796 |
} |
| 19797 |
if iNdEx >= l { |
| 19798 |
return io.ErrUnexpectedEOF |
| 19799 |
} |
| 19800 |
b := dAtA[iNdEx] |
| 19801 |
iNdEx++ |
| 19802 |
msglen |= int(b&0x7F) << shift |
| 19803 |
if b < 0x80 { |
| 19804 |
break |
| 19805 |
} |
| 19806 |
} |
| 19807 |
if msglen < 0 { |
| 19808 |
return ErrInvalidLengthTypes |
| 19809 |
} |
| 19810 |
postIndex := iNdEx + msglen |
| 19811 |
if postIndex < 0 { |
| 19812 |
return ErrInvalidLengthTypes |
| 19813 |
} |
| 19814 |
if postIndex > l { |
| 19815 |
return io.ErrUnexpectedEOF |
| 19816 |
} |
| 19817 |
if m.NullableBool == nil { |
| 19818 |
m.NullableBool = make(map[int32]*bool) |
| 19819 |
} |
| 19820 |
var mapkey int32 |
| 19821 |
mapvalue := new(bool) |
| 19822 |
for iNdEx < postIndex { |
| 19823 |
entryPreIndex := iNdEx |
| 19824 |
var wire uint64 |
| 19825 |
for shift := uint(0); ; shift += 7 { |
| 19826 |
if shift >= 64 { |
| 19827 |
return ErrIntOverflowTypes |
| 19828 |
} |
| 19829 |
if iNdEx >= l { |
| 19830 |
return io.ErrUnexpectedEOF |
| 19831 |
} |
| 19832 |
b := dAtA[iNdEx] |
| 19833 |
iNdEx++ |
| 19834 |
wire |= uint64(b&0x7F) << shift |
| 19835 |
if b < 0x80 { |
| 19836 |
break |
| 19837 |
} |
| 19838 |
} |
| 19839 |
fieldNum := int32(wire >> 3) |
| 19840 |
if fieldNum == 1 { |
| 19841 |
for shift := uint(0); ; shift += 7 { |
| 19842 |
if shift >= 64 { |
| 19843 |
return ErrIntOverflowTypes |
| 19844 |
} |
| 19845 |
if iNdEx >= l { |
| 19846 |
return io.ErrUnexpectedEOF |
| 19847 |
} |
| 19848 |
b := dAtA[iNdEx] |
| 19849 |
iNdEx++ |
| 19850 |
mapkey |= int32(b&0x7F) << shift |
| 19851 |
if b < 0x80 { |
| 19852 |
break |
| 19853 |
} |
| 19854 |
} |
| 19855 |
} else if fieldNum == 2 { |
| 19856 |
var mapmsglen int |
| 19857 |
for shift := uint(0); ; shift += 7 { |
| 19858 |
if shift >= 64 { |
| 19859 |
return ErrIntOverflowTypes |
| 19860 |
} |
| 19861 |
if iNdEx >= l { |
| 19862 |
return io.ErrUnexpectedEOF |
| 19863 |
} |
| 19864 |
b := dAtA[iNdEx] |
| 19865 |
iNdEx++ |
| 19866 |
mapmsglen |= int(b&0x7F) << shift |
| 19867 |
if b < 0x80 { |
| 19868 |
break |
| 19869 |
} |
| 19870 |
} |
| 19871 |
if mapmsglen < 0 { |
| 19872 |
return ErrInvalidLengthTypes |
| 19873 |
} |
| 19874 |
postmsgIndex := iNdEx + mapmsglen |
| 19875 |
if postmsgIndex < 0 { |
| 19876 |
return ErrInvalidLengthTypes |
| 19877 |
} |
| 19878 |
if postmsgIndex > l { |
| 19879 |
return io.ErrUnexpectedEOF |
| 19880 |
} |
| 19881 |
if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19882 |
return err |
| 19883 |
} |
| 19884 |
iNdEx = postmsgIndex |
| 19885 |
} else { |
| 19886 |
iNdEx = entryPreIndex |
| 19887 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 19888 |
if err != nil { |
| 19889 |
return err |
| 19890 |
} |
| 19891 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 19892 |
return ErrInvalidLengthTypes |
| 19893 |
} |
| 19894 |
if (iNdEx + skippy) > postIndex { |
| 19895 |
return io.ErrUnexpectedEOF |
| 19896 |
} |
| 19897 |
iNdEx += skippy |
| 19898 |
} |
| 19899 |
} |
| 19900 |
m.NullableBool[mapkey] = ((*bool)(mapvalue)) |
| 19901 |
iNdEx = postIndex |
| 19902 |
case 18: |
| 19903 |
if wireType != 2 { |
| 19904 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) |
| 19905 |
} |
| 19906 |
var msglen int |
| 19907 |
for shift := uint(0); ; shift += 7 { |
| 19908 |
if shift >= 64 { |
| 19909 |
return ErrIntOverflowTypes |
| 19910 |
} |
| 19911 |
if iNdEx >= l { |
| 19912 |
return io.ErrUnexpectedEOF |
| 19913 |
} |
| 19914 |
b := dAtA[iNdEx] |
| 19915 |
iNdEx++ |
| 19916 |
msglen |= int(b&0x7F) << shift |
| 19917 |
if b < 0x80 { |
| 19918 |
break |
| 19919 |
} |
| 19920 |
} |
| 19921 |
if msglen < 0 { |
| 19922 |
return ErrInvalidLengthTypes |
| 19923 |
} |
| 19924 |
postIndex := iNdEx + msglen |
| 19925 |
if postIndex < 0 { |
| 19926 |
return ErrInvalidLengthTypes |
| 19927 |
} |
| 19928 |
if postIndex > l { |
| 19929 |
return io.ErrUnexpectedEOF |
| 19930 |
} |
| 19931 |
if m.NonnullBool == nil { |
| 19932 |
m.NonnullBool = make(map[int32]bool) |
| 19933 |
} |
| 19934 |
var mapkey int32 |
| 19935 |
mapvalue := new(bool) |
| 19936 |
for iNdEx < postIndex { |
| 19937 |
entryPreIndex := iNdEx |
| 19938 |
var wire uint64 |
| 19939 |
for shift := uint(0); ; shift += 7 { |
| 19940 |
if shift >= 64 { |
| 19941 |
return ErrIntOverflowTypes |
| 19942 |
} |
| 19943 |
if iNdEx >= l { |
| 19944 |
return io.ErrUnexpectedEOF |
| 19945 |
} |
| 19946 |
b := dAtA[iNdEx] |
| 19947 |
iNdEx++ |
| 19948 |
wire |= uint64(b&0x7F) << shift |
| 19949 |
if b < 0x80 { |
| 19950 |
break |
| 19951 |
} |
| 19952 |
} |
| 19953 |
fieldNum := int32(wire >> 3) |
| 19954 |
if fieldNum == 1 { |
| 19955 |
for shift := uint(0); ; shift += 7 { |
| 19956 |
if shift >= 64 { |
| 19957 |
return ErrIntOverflowTypes |
| 19958 |
} |
| 19959 |
if iNdEx >= l { |
| 19960 |
return io.ErrUnexpectedEOF |
| 19961 |
} |
| 19962 |
b := dAtA[iNdEx] |
| 19963 |
iNdEx++ |
| 19964 |
mapkey |= int32(b&0x7F) << shift |
| 19965 |
if b < 0x80 { |
| 19966 |
break |
| 19967 |
} |
| 19968 |
} |
| 19969 |
} else if fieldNum == 2 { |
| 19970 |
var mapmsglen int |
| 19971 |
for shift := uint(0); ; shift += 7 { |
| 19972 |
if shift >= 64 { |
| 19973 |
return ErrIntOverflowTypes |
| 19974 |
} |
| 19975 |
if iNdEx >= l { |
| 19976 |
return io.ErrUnexpectedEOF |
| 19977 |
} |
| 19978 |
b := dAtA[iNdEx] |
| 19979 |
iNdEx++ |
| 19980 |
mapmsglen |= int(b&0x7F) << shift |
| 19981 |
if b < 0x80 { |
| 19982 |
break |
| 19983 |
} |
| 19984 |
} |
| 19985 |
if mapmsglen < 0 { |
| 19986 |
return ErrInvalidLengthTypes |
| 19987 |
} |
| 19988 |
postmsgIndex := iNdEx + mapmsglen |
| 19989 |
if postmsgIndex < 0 { |
| 19990 |
return ErrInvalidLengthTypes |
| 19991 |
} |
| 19992 |
if postmsgIndex > l { |
| 19993 |
return io.ErrUnexpectedEOF |
| 19994 |
} |
| 19995 |
if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 19996 |
return err |
| 19997 |
} |
| 19998 |
iNdEx = postmsgIndex |
| 19999 |
} else { |
| 20000 |
iNdEx = entryPreIndex |
| 20001 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 20002 |
if err != nil { |
| 20003 |
return err |
| 20004 |
} |
| 20005 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 20006 |
return ErrInvalidLengthTypes |
| 20007 |
} |
| 20008 |
if (iNdEx + skippy) > postIndex { |
| 20009 |
return io.ErrUnexpectedEOF |
| 20010 |
} |
| 20011 |
iNdEx += skippy |
| 20012 |
} |
| 20013 |
} |
| 20014 |
m.NonnullBool[mapkey] = ((bool)(*mapvalue)) |
| 20015 |
iNdEx = postIndex |
| 20016 |
case 19: |
| 20017 |
if wireType != 2 { |
| 20018 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) |
| 20019 |
} |
| 20020 |
var msglen int |
| 20021 |
for shift := uint(0); ; shift += 7 { |
| 20022 |
if shift >= 64 { |
| 20023 |
return ErrIntOverflowTypes |
| 20024 |
} |
| 20025 |
if iNdEx >= l { |
| 20026 |
return io.ErrUnexpectedEOF |
| 20027 |
} |
| 20028 |
b := dAtA[iNdEx] |
| 20029 |
iNdEx++ |
| 20030 |
msglen |= int(b&0x7F) << shift |
| 20031 |
if b < 0x80 { |
| 20032 |
break |
| 20033 |
} |
| 20034 |
} |
| 20035 |
if msglen < 0 { |
| 20036 |
return ErrInvalidLengthTypes |
| 20037 |
} |
| 20038 |
postIndex := iNdEx + msglen |
| 20039 |
if postIndex < 0 { |
| 20040 |
return ErrInvalidLengthTypes |
| 20041 |
} |
| 20042 |
if postIndex > l { |
| 20043 |
return io.ErrUnexpectedEOF |
| 20044 |
} |
| 20045 |
if m.NullableString == nil { |
| 20046 |
m.NullableString = make(map[int32]*string) |
| 20047 |
} |
| 20048 |
var mapkey int32 |
| 20049 |
mapvalue := new(string) |
| 20050 |
for iNdEx < postIndex { |
| 20051 |
entryPreIndex := iNdEx |
| 20052 |
var wire uint64 |
| 20053 |
for shift := uint(0); ; shift += 7 { |
| 20054 |
if shift >= 64 { |
| 20055 |
return ErrIntOverflowTypes |
| 20056 |
} |
| 20057 |
if iNdEx >= l { |
| 20058 |
return io.ErrUnexpectedEOF |
| 20059 |
} |
| 20060 |
b := dAtA[iNdEx] |
| 20061 |
iNdEx++ |
| 20062 |
wire |= uint64(b&0x7F) << shift |
| 20063 |
if b < 0x80 { |
| 20064 |
break |
| 20065 |
} |
| 20066 |
} |
| 20067 |
fieldNum := int32(wire >> 3) |
| 20068 |
if fieldNum == 1 { |
| 20069 |
for shift := uint(0); ; shift += 7 { |
| 20070 |
if shift >= 64 { |
| 20071 |
return ErrIntOverflowTypes |
| 20072 |
} |
| 20073 |
if iNdEx >= l { |
| 20074 |
return io.ErrUnexpectedEOF |
| 20075 |
} |
| 20076 |
b := dAtA[iNdEx] |
| 20077 |
iNdEx++ |
| 20078 |
mapkey |= int32(b&0x7F) << shift |
| 20079 |
if b < 0x80 { |
| 20080 |
break |
| 20081 |
} |
| 20082 |
} |
| 20083 |
} else if fieldNum == 2 { |
| 20084 |
var mapmsglen int |
| 20085 |
for shift := uint(0); ; shift += 7 { |
| 20086 |
if shift >= 64 { |
| 20087 |
return ErrIntOverflowTypes |
| 20088 |
} |
| 20089 |
if iNdEx >= l { |
| 20090 |
return io.ErrUnexpectedEOF |
| 20091 |
} |
| 20092 |
b := dAtA[iNdEx] |
| 20093 |
iNdEx++ |
| 20094 |
mapmsglen |= int(b&0x7F) << shift |
| 20095 |
if b < 0x80 { |
| 20096 |
break |
| 20097 |
} |
| 20098 |
} |
| 20099 |
if mapmsglen < 0 { |
| 20100 |
return ErrInvalidLengthTypes |
| 20101 |
} |
| 20102 |
postmsgIndex := iNdEx + mapmsglen |
| 20103 |
if postmsgIndex < 0 { |
| 20104 |
return ErrInvalidLengthTypes |
| 20105 |
} |
| 20106 |
if postmsgIndex > l { |
| 20107 |
return io.ErrUnexpectedEOF |
| 20108 |
} |
| 20109 |
if err := github_com_gogo_protobuf_types.StdStringUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 20110 |
return err |
| 20111 |
} |
| 20112 |
iNdEx = postmsgIndex |
| 20113 |
} else { |
| 20114 |
iNdEx = entryPreIndex |
| 20115 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 20116 |
if err != nil { |
| 20117 |
return err |
| 20118 |
} |
| 20119 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 20120 |
return ErrInvalidLengthTypes |
| 20121 |
} |
| 20122 |
if (iNdEx + skippy) > postIndex { |
| 20123 |
return io.ErrUnexpectedEOF |
| 20124 |
} |
| 20125 |
iNdEx += skippy |
| 20126 |
} |
| 20127 |
} |
| 20128 |
m.NullableString[mapkey] = ((*string)(mapvalue)) |
| 20129 |
iNdEx = postIndex |
| 20130 |
case 20: |
| 20131 |
if wireType != 2 { |
| 20132 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) |
| 20133 |
} |
| 20134 |
var msglen int |
| 20135 |
for shift := uint(0); ; shift += 7 { |
| 20136 |
if shift >= 64 { |
| 20137 |
return ErrIntOverflowTypes |
| 20138 |
} |
| 20139 |
if iNdEx >= l { |
| 20140 |
return io.ErrUnexpectedEOF |
| 20141 |
} |
| 20142 |
b := dAtA[iNdEx] |
| 20143 |
iNdEx++ |
| 20144 |
msglen |= int(b&0x7F) << shift |
| 20145 |
if b < 0x80 { |
| 20146 |
break |
| 20147 |
} |
| 20148 |
} |
| 20149 |
if msglen < 0 { |
| 20150 |
return ErrInvalidLengthTypes |
| 20151 |
} |
| 20152 |
postIndex := iNdEx + msglen |
| 20153 |
if postIndex < 0 { |
| 20154 |
return ErrInvalidLengthTypes |
| 20155 |
} |
| 20156 |
if postIndex > l { |
| 20157 |
return io.ErrUnexpectedEOF |
| 20158 |
} |
| 20159 |
if m.NonnullString == nil { |
| 20160 |
m.NonnullString = make(map[int32]string) |
| 20161 |
} |
| 20162 |
var mapkey int32 |
| 20163 |
mapvalue := new(string) |
| 20164 |
for iNdEx < postIndex { |
| 20165 |
entryPreIndex := iNdEx |
| 20166 |
var wire uint64 |
| 20167 |
for shift := uint(0); ; shift += 7 { |
| 20168 |
if shift >= 64 { |
| 20169 |
return ErrIntOverflowTypes |
| 20170 |
} |
| 20171 |
if iNdEx >= l { |
| 20172 |
return io.ErrUnexpectedEOF |
| 20173 |
} |
| 20174 |
b := dAtA[iNdEx] |
| 20175 |
iNdEx++ |
| 20176 |
wire |= uint64(b&0x7F) << shift |
| 20177 |
if b < 0x80 { |
| 20178 |
break |
| 20179 |
} |
| 20180 |
} |
| 20181 |
fieldNum := int32(wire >> 3) |
| 20182 |
if fieldNum == 1 { |
| 20183 |
for shift := uint(0); ; shift += 7 { |
| 20184 |
if shift >= 64 { |
| 20185 |
return ErrIntOverflowTypes |
| 20186 |
} |
| 20187 |
if iNdEx >= l { |
| 20188 |
return io.ErrUnexpectedEOF |
| 20189 |
} |
| 20190 |
b := dAtA[iNdEx] |
| 20191 |
iNdEx++ |
| 20192 |
mapkey |= int32(b&0x7F) << shift |
| 20193 |
if b < 0x80 { |
| 20194 |
break |
| 20195 |
} |
| 20196 |
} |
| 20197 |
} else if fieldNum == 2 { |
| 20198 |
var mapmsglen int |
| 20199 |
for shift := uint(0); ; shift += 7 { |
| 20200 |
if shift >= 64 { |
| 20201 |
return ErrIntOverflowTypes |
| 20202 |
} |
| 20203 |
if iNdEx >= l { |
| 20204 |
return io.ErrUnexpectedEOF |
| 20205 |
} |
| 20206 |
b := dAtA[iNdEx] |
| 20207 |
iNdEx++ |
| 20208 |
mapmsglen |= int(b&0x7F) << shift |
| 20209 |
if b < 0x80 { |
| 20210 |
break |
| 20211 |
} |
| 20212 |
} |
| 20213 |
if mapmsglen < 0 { |
| 20214 |
return ErrInvalidLengthTypes |
| 20215 |
} |
| 20216 |
postmsgIndex := iNdEx + mapmsglen |
| 20217 |
if postmsgIndex < 0 { |
| 20218 |
return ErrInvalidLengthTypes |
| 20219 |
} |
| 20220 |
if postmsgIndex > l { |
| 20221 |
return io.ErrUnexpectedEOF |
| 20222 |
} |
| 20223 |
if err := github_com_gogo_protobuf_types.StdStringUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 20224 |
return err |
| 20225 |
} |
| 20226 |
iNdEx = postmsgIndex |
| 20227 |
} else { |
| 20228 |
iNdEx = entryPreIndex |
| 20229 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 20230 |
if err != nil { |
| 20231 |
return err |
| 20232 |
} |
| 20233 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 20234 |
return ErrInvalidLengthTypes |
| 20235 |
} |
| 20236 |
if (iNdEx + skippy) > postIndex { |
| 20237 |
return io.ErrUnexpectedEOF |
| 20238 |
} |
| 20239 |
iNdEx += skippy |
| 20240 |
} |
| 20241 |
} |
| 20242 |
m.NonnullString[mapkey] = ((string)(*mapvalue)) |
| 20243 |
iNdEx = postIndex |
| 20244 |
case 21: |
| 20245 |
if wireType != 2 { |
| 20246 |
return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) |
| 20247 |
} |
| 20248 |
var msglen int |
| 20249 |
for shift := uint(0); ; shift += 7 { |
| 20250 |
if shift >= 64 { |
| 20251 |
return ErrIntOverflowTypes |
| 20252 |
} |
| 20253 |
if iNdEx >= l { |
| 20254 |
return io.ErrUnexpectedEOF |
| 20255 |
} |
| 20256 |
b := dAtA[iNdEx] |
| 20257 |
iNdEx++ |
| 20258 |
msglen |= int(b&0x7F) << shift |
| 20259 |
if b < 0x80 { |
| 20260 |
break |
| 20261 |
} |
| 20262 |
} |
| 20263 |
if msglen < 0 { |
| 20264 |
return ErrInvalidLengthTypes |
| 20265 |
} |
| 20266 |
postIndex := iNdEx + msglen |
| 20267 |
if postIndex < 0 { |
| 20268 |
return ErrInvalidLengthTypes |
| 20269 |
} |
| 20270 |
if postIndex > l { |
| 20271 |
return io.ErrUnexpectedEOF |
| 20272 |
} |
| 20273 |
if m.NullableBytes == nil { |
| 20274 |
m.NullableBytes = make(map[int32]*[]byte) |
| 20275 |
} |
| 20276 |
var mapkey int32 |
| 20277 |
mapvalue := new([]byte) |
| 20278 |
for iNdEx < postIndex { |
| 20279 |
entryPreIndex := iNdEx |
| 20280 |
var wire uint64 |
| 20281 |
for shift := uint(0); ; shift += 7 { |
| 20282 |
if shift >= 64 { |
| 20283 |
return ErrIntOverflowTypes |
| 20284 |
} |
| 20285 |
if iNdEx >= l { |
| 20286 |
return io.ErrUnexpectedEOF |
| 20287 |
} |
| 20288 |
b := dAtA[iNdEx] |
| 20289 |
iNdEx++ |
| 20290 |
wire |= uint64(b&0x7F) << shift |
| 20291 |
if b < 0x80 { |
| 20292 |
break |
| 20293 |
} |
| 20294 |
} |
| 20295 |
fieldNum := int32(wire >> 3) |
| 20296 |
if fieldNum == 1 { |
| 20297 |
for shift := uint(0); ; shift += 7 { |
| 20298 |
if shift >= 64 { |
| 20299 |
return ErrIntOverflowTypes |
| 20300 |
} |
| 20301 |
if iNdEx >= l { |
| 20302 |
return io.ErrUnexpectedEOF |
| 20303 |
} |
| 20304 |
b := dAtA[iNdEx] |
| 20305 |
iNdEx++ |
| 20306 |
mapkey |= int32(b&0x7F) << shift |
| 20307 |
if b < 0x80 { |
| 20308 |
break |
| 20309 |
} |
| 20310 |
} |
| 20311 |
} else if fieldNum == 2 { |
| 20312 |
var mapmsglen int |
| 20313 |
for shift := uint(0); ; shift += 7 { |
| 20314 |
if shift >= 64 { |
| 20315 |
return ErrIntOverflowTypes |
| 20316 |
} |
| 20317 |
if iNdEx >= l { |
| 20318 |
return io.ErrUnexpectedEOF |
| 20319 |
} |
| 20320 |
b := dAtA[iNdEx] |
| 20321 |
iNdEx++ |
| 20322 |
mapmsglen |= int(b&0x7F) << shift |
| 20323 |
if b < 0x80 { |
| 20324 |
break |
| 20325 |
} |
| 20326 |
} |
| 20327 |
if mapmsglen < 0 { |
| 20328 |
return ErrInvalidLengthTypes |
| 20329 |
} |
| 20330 |
postmsgIndex := iNdEx + mapmsglen |
| 20331 |
if postmsgIndex < 0 { |
| 20332 |
return ErrInvalidLengthTypes |
| 20333 |
} |
| 20334 |
if postmsgIndex > l { |
| 20335 |
return io.ErrUnexpectedEOF |
| 20336 |
} |
| 20337 |
if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 20338 |
return err |
| 20339 |
} |
| 20340 |
iNdEx = postmsgIndex |
| 20341 |
} else { |
| 20342 |
iNdEx = entryPreIndex |
| 20343 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 20344 |
if err != nil { |
| 20345 |
return err |
| 20346 |
} |
| 20347 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 20348 |
return ErrInvalidLengthTypes |
| 20349 |
} |
| 20350 |
if (iNdEx + skippy) > postIndex { |
| 20351 |
return io.ErrUnexpectedEOF |
| 20352 |
} |
| 20353 |
iNdEx += skippy |
| 20354 |
} |
| 20355 |
} |
| 20356 |
m.NullableBytes[mapkey] = ((*[]byte)(mapvalue)) |
| 20357 |
iNdEx = postIndex |
| 20358 |
case 22: |
| 20359 |
if wireType != 2 { |
| 20360 |
return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) |
| 20361 |
} |
| 20362 |
var msglen int |
| 20363 |
for shift := uint(0); ; shift += 7 { |
| 20364 |
if shift >= 64 { |
| 20365 |
return ErrIntOverflowTypes |
| 20366 |
} |
| 20367 |
if iNdEx >= l { |
| 20368 |
return io.ErrUnexpectedEOF |
| 20369 |
} |
| 20370 |
b := dAtA[iNdEx] |
| 20371 |
iNdEx++ |
| 20372 |
msglen |= int(b&0x7F) << shift |
| 20373 |
if b < 0x80 { |
| 20374 |
break |
| 20375 |
} |
| 20376 |
} |
| 20377 |
if msglen < 0 { |
| 20378 |
return ErrInvalidLengthTypes |
| 20379 |
} |
| 20380 |
postIndex := iNdEx + msglen |
| 20381 |
if postIndex < 0 { |
| 20382 |
return ErrInvalidLengthTypes |
| 20383 |
} |
| 20384 |
if postIndex > l { |
| 20385 |
return io.ErrUnexpectedEOF |
| 20386 |
} |
| 20387 |
if m.NonnullBytes == nil { |
| 20388 |
m.NonnullBytes = make(map[int32][]byte) |
| 20389 |
} |
| 20390 |
var mapkey int32 |
| 20391 |
mapvalue := new([]byte) |
| 20392 |
for iNdEx < postIndex { |
| 20393 |
entryPreIndex := iNdEx |
| 20394 |
var wire uint64 |
| 20395 |
for shift := uint(0); ; shift += 7 { |
| 20396 |
if shift >= 64 { |
| 20397 |
return ErrIntOverflowTypes |
| 20398 |
} |
| 20399 |
if iNdEx >= l { |
| 20400 |
return io.ErrUnexpectedEOF |
| 20401 |
} |
| 20402 |
b := dAtA[iNdEx] |
| 20403 |
iNdEx++ |
| 20404 |
wire |= uint64(b&0x7F) << shift |
| 20405 |
if b < 0x80 { |
| 20406 |
break |
| 20407 |
} |
| 20408 |
} |
| 20409 |
fieldNum := int32(wire >> 3) |
| 20410 |
if fieldNum == 1 { |
| 20411 |
for shift := uint(0); ; shift += 7 { |
| 20412 |
if shift >= 64 { |
| 20413 |
return ErrIntOverflowTypes |
| 20414 |
} |
| 20415 |
if iNdEx >= l { |
| 20416 |
return io.ErrUnexpectedEOF |
| 20417 |
} |
| 20418 |
b := dAtA[iNdEx] |
| 20419 |
iNdEx++ |
| 20420 |
mapkey |= int32(b&0x7F) << shift |
| 20421 |
if b < 0x80 { |
| 20422 |
break |
| 20423 |
} |
| 20424 |
} |
| 20425 |
} else if fieldNum == 2 { |
| 20426 |
var mapmsglen int |
| 20427 |
for shift := uint(0); ; shift += 7 { |
| 20428 |
if shift >= 64 { |
| 20429 |
return ErrIntOverflowTypes |
| 20430 |
} |
| 20431 |
if iNdEx >= l { |
| 20432 |
return io.ErrUnexpectedEOF |
| 20433 |
} |
| 20434 |
b := dAtA[iNdEx] |
| 20435 |
iNdEx++ |
| 20436 |
mapmsglen |= int(b&0x7F) << shift |
| 20437 |
if b < 0x80 { |
| 20438 |
break |
| 20439 |
} |
| 20440 |
} |
| 20441 |
if mapmsglen < 0 { |
| 20442 |
return ErrInvalidLengthTypes |
| 20443 |
} |
| 20444 |
postmsgIndex := iNdEx + mapmsglen |
| 20445 |
if postmsgIndex < 0 { |
| 20446 |
return ErrInvalidLengthTypes |
| 20447 |
} |
| 20448 |
if postmsgIndex > l { |
| 20449 |
return io.ErrUnexpectedEOF |
| 20450 |
} |
| 20451 |
if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { |
| 20452 |
return err |
| 20453 |
} |
| 20454 |
iNdEx = postmsgIndex |
| 20455 |
} else { |
| 20456 |
iNdEx = entryPreIndex |
| 20457 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 20458 |
if err != nil { |
| 20459 |
return err |
| 20460 |
} |
| 20461 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 20462 |
return ErrInvalidLengthTypes |
| 20463 |
} |
| 20464 |
if (iNdEx + skippy) > postIndex { |
| 20465 |
return io.ErrUnexpectedEOF |
| 20466 |
} |
| 20467 |
iNdEx += skippy |
| 20468 |
} |
| 20469 |
} |
| 20470 |
m.NonnullBytes[mapkey] = (([]byte)(*mapvalue)) |
| 20471 |
iNdEx = postIndex |
| 20472 |
default: |
| 20473 |
iNdEx = preIndex |
| 20474 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 20475 |
if err != nil { |
| 20476 |
return err |
| 20477 |
} |
| 20478 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 20479 |
return ErrInvalidLengthTypes |
| 20480 |
} |
| 20481 |
if (iNdEx + skippy) > l { |
| 20482 |
return io.ErrUnexpectedEOF |
| 20483 |
} |
| 20484 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 20485 |
iNdEx += skippy |
| 20486 |
} |
| 20487 |
} |
| 20488 |
|
| 20489 |
if iNdEx > l { |
| 20490 |
return io.ErrUnexpectedEOF |
| 20491 |
} |
| 20492 |
return nil |
| 20493 |
} |
| 20494 |
func (m *OneofProtoTypes) Unmarshal(dAtA []byte) error { |
| 20495 |
l := len(dAtA) |
| 20496 |
iNdEx := 0 |
| 20497 |
for iNdEx < l { |
| 20498 |
preIndex := iNdEx |
| 20499 |
var wire uint64 |
| 20500 |
for shift := uint(0); ; shift += 7 { |
| 20501 |
if shift >= 64 { |
| 20502 |
return ErrIntOverflowTypes |
| 20503 |
} |
| 20504 |
if iNdEx >= l { |
| 20505 |
return io.ErrUnexpectedEOF |
| 20506 |
} |
| 20507 |
b := dAtA[iNdEx] |
| 20508 |
iNdEx++ |
| 20509 |
wire |= uint64(b&0x7F) << shift |
| 20510 |
if b < 0x80 { |
| 20511 |
break |
| 20512 |
} |
| 20513 |
} |
| 20514 |
fieldNum := int32(wire >> 3) |
| 20515 |
wireType := int(wire & 0x7) |
| 20516 |
if wireType == 4 { |
| 20517 |
return fmt.Errorf("proto: OneofProtoTypes: wiretype end group for non-group") |
| 20518 |
} |
| 20519 |
if fieldNum <= 0 { |
| 20520 |
return fmt.Errorf("proto: OneofProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 20521 |
} |
| 20522 |
switch fieldNum { |
| 20523 |
case 1: |
| 20524 |
if wireType != 2 { |
| 20525 |
return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) |
| 20526 |
} |
| 20527 |
var msglen int |
| 20528 |
for shift := uint(0); ; shift += 7 { |
| 20529 |
if shift >= 64 { |
| 20530 |
return ErrIntOverflowTypes |
| 20531 |
} |
| 20532 |
if iNdEx >= l { |
| 20533 |
return io.ErrUnexpectedEOF |
| 20534 |
} |
| 20535 |
b := dAtA[iNdEx] |
| 20536 |
iNdEx++ |
| 20537 |
msglen |= int(b&0x7F) << shift |
| 20538 |
if b < 0x80 { |
| 20539 |
break |
| 20540 |
} |
| 20541 |
} |
| 20542 |
if msglen < 0 { |
| 20543 |
return ErrInvalidLengthTypes |
| 20544 |
} |
| 20545 |
postIndex := iNdEx + msglen |
| 20546 |
if postIndex < 0 { |
| 20547 |
return ErrInvalidLengthTypes |
| 20548 |
} |
| 20549 |
if postIndex > l { |
| 20550 |
return io.ErrUnexpectedEOF |
| 20551 |
} |
| 20552 |
v := &types.Timestamp{} |
| 20553 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20554 |
return err |
| 20555 |
} |
| 20556 |
m.OneOfProtoTimes = &OneofProtoTypes_Timestamp{v} |
| 20557 |
iNdEx = postIndex |
| 20558 |
case 2: |
| 20559 |
if wireType != 2 { |
| 20560 |
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) |
| 20561 |
} |
| 20562 |
var msglen int |
| 20563 |
for shift := uint(0); ; shift += 7 { |
| 20564 |
if shift >= 64 { |
| 20565 |
return ErrIntOverflowTypes |
| 20566 |
} |
| 20567 |
if iNdEx >= l { |
| 20568 |
return io.ErrUnexpectedEOF |
| 20569 |
} |
| 20570 |
b := dAtA[iNdEx] |
| 20571 |
iNdEx++ |
| 20572 |
msglen |= int(b&0x7F) << shift |
| 20573 |
if b < 0x80 { |
| 20574 |
break |
| 20575 |
} |
| 20576 |
} |
| 20577 |
if msglen < 0 { |
| 20578 |
return ErrInvalidLengthTypes |
| 20579 |
} |
| 20580 |
postIndex := iNdEx + msglen |
| 20581 |
if postIndex < 0 { |
| 20582 |
return ErrInvalidLengthTypes |
| 20583 |
} |
| 20584 |
if postIndex > l { |
| 20585 |
return io.ErrUnexpectedEOF |
| 20586 |
} |
| 20587 |
v := &types.Duration{} |
| 20588 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20589 |
return err |
| 20590 |
} |
| 20591 |
m.OneOfProtoTimes = &OneofProtoTypes_Duration{v} |
| 20592 |
iNdEx = postIndex |
| 20593 |
case 3: |
| 20594 |
if wireType != 2 { |
| 20595 |
return fmt.Errorf("proto: wrong wireType = %d for field RepDouble", wireType) |
| 20596 |
} |
| 20597 |
var msglen int |
| 20598 |
for shift := uint(0); ; shift += 7 { |
| 20599 |
if shift >= 64 { |
| 20600 |
return ErrIntOverflowTypes |
| 20601 |
} |
| 20602 |
if iNdEx >= l { |
| 20603 |
return io.ErrUnexpectedEOF |
| 20604 |
} |
| 20605 |
b := dAtA[iNdEx] |
| 20606 |
iNdEx++ |
| 20607 |
msglen |= int(b&0x7F) << shift |
| 20608 |
if b < 0x80 { |
| 20609 |
break |
| 20610 |
} |
| 20611 |
} |
| 20612 |
if msglen < 0 { |
| 20613 |
return ErrInvalidLengthTypes |
| 20614 |
} |
| 20615 |
postIndex := iNdEx + msglen |
| 20616 |
if postIndex < 0 { |
| 20617 |
return ErrInvalidLengthTypes |
| 20618 |
} |
| 20619 |
if postIndex > l { |
| 20620 |
return io.ErrUnexpectedEOF |
| 20621 |
} |
| 20622 |
v := &types.DoubleValue{} |
| 20623 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20624 |
return err |
| 20625 |
} |
| 20626 |
m.OneOfProtoTimes = &OneofProtoTypes_RepDouble{v} |
| 20627 |
iNdEx = postIndex |
| 20628 |
case 4: |
| 20629 |
if wireType != 2 { |
| 20630 |
return fmt.Errorf("proto: wrong wireType = %d for field RepFloat", wireType) |
| 20631 |
} |
| 20632 |
var msglen int |
| 20633 |
for shift := uint(0); ; shift += 7 { |
| 20634 |
if shift >= 64 { |
| 20635 |
return ErrIntOverflowTypes |
| 20636 |
} |
| 20637 |
if iNdEx >= l { |
| 20638 |
return io.ErrUnexpectedEOF |
| 20639 |
} |
| 20640 |
b := dAtA[iNdEx] |
| 20641 |
iNdEx++ |
| 20642 |
msglen |= int(b&0x7F) << shift |
| 20643 |
if b < 0x80 { |
| 20644 |
break |
| 20645 |
} |
| 20646 |
} |
| 20647 |
if msglen < 0 { |
| 20648 |
return ErrInvalidLengthTypes |
| 20649 |
} |
| 20650 |
postIndex := iNdEx + msglen |
| 20651 |
if postIndex < 0 { |
| 20652 |
return ErrInvalidLengthTypes |
| 20653 |
} |
| 20654 |
if postIndex > l { |
| 20655 |
return io.ErrUnexpectedEOF |
| 20656 |
} |
| 20657 |
v := &types.FloatValue{} |
| 20658 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20659 |
return err |
| 20660 |
} |
| 20661 |
m.OneOfProtoTimes = &OneofProtoTypes_RepFloat{v} |
| 20662 |
iNdEx = postIndex |
| 20663 |
case 5: |
| 20664 |
if wireType != 2 { |
| 20665 |
return fmt.Errorf("proto: wrong wireType = %d for field RepInt64", wireType) |
| 20666 |
} |
| 20667 |
var msglen int |
| 20668 |
for shift := uint(0); ; shift += 7 { |
| 20669 |
if shift >= 64 { |
| 20670 |
return ErrIntOverflowTypes |
| 20671 |
} |
| 20672 |
if iNdEx >= l { |
| 20673 |
return io.ErrUnexpectedEOF |
| 20674 |
} |
| 20675 |
b := dAtA[iNdEx] |
| 20676 |
iNdEx++ |
| 20677 |
msglen |= int(b&0x7F) << shift |
| 20678 |
if b < 0x80 { |
| 20679 |
break |
| 20680 |
} |
| 20681 |
} |
| 20682 |
if msglen < 0 { |
| 20683 |
return ErrInvalidLengthTypes |
| 20684 |
} |
| 20685 |
postIndex := iNdEx + msglen |
| 20686 |
if postIndex < 0 { |
| 20687 |
return ErrInvalidLengthTypes |
| 20688 |
} |
| 20689 |
if postIndex > l { |
| 20690 |
return io.ErrUnexpectedEOF |
| 20691 |
} |
| 20692 |
v := &types.Int64Value{} |
| 20693 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20694 |
return err |
| 20695 |
} |
| 20696 |
m.OneOfProtoTimes = &OneofProtoTypes_RepInt64{v} |
| 20697 |
iNdEx = postIndex |
| 20698 |
case 6: |
| 20699 |
if wireType != 2 { |
| 20700 |
return fmt.Errorf("proto: wrong wireType = %d for field RepUInt64", wireType) |
| 20701 |
} |
| 20702 |
var msglen int |
| 20703 |
for shift := uint(0); ; shift += 7 { |
| 20704 |
if shift >= 64 { |
| 20705 |
return ErrIntOverflowTypes |
| 20706 |
} |
| 20707 |
if iNdEx >= l { |
| 20708 |
return io.ErrUnexpectedEOF |
| 20709 |
} |
| 20710 |
b := dAtA[iNdEx] |
| 20711 |
iNdEx++ |
| 20712 |
msglen |= int(b&0x7F) << shift |
| 20713 |
if b < 0x80 { |
| 20714 |
break |
| 20715 |
} |
| 20716 |
} |
| 20717 |
if msglen < 0 { |
| 20718 |
return ErrInvalidLengthTypes |
| 20719 |
} |
| 20720 |
postIndex := iNdEx + msglen |
| 20721 |
if postIndex < 0 { |
| 20722 |
return ErrInvalidLengthTypes |
| 20723 |
} |
| 20724 |
if postIndex > l { |
| 20725 |
return io.ErrUnexpectedEOF |
| 20726 |
} |
| 20727 |
v := &types.UInt64Value{} |
| 20728 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20729 |
return err |
| 20730 |
} |
| 20731 |
m.OneOfProtoTimes = &OneofProtoTypes_RepUInt64{v} |
| 20732 |
iNdEx = postIndex |
| 20733 |
case 7: |
| 20734 |
if wireType != 2 { |
| 20735 |
return fmt.Errorf("proto: wrong wireType = %d for field RepInt32", wireType) |
| 20736 |
} |
| 20737 |
var msglen int |
| 20738 |
for shift := uint(0); ; shift += 7 { |
| 20739 |
if shift >= 64 { |
| 20740 |
return ErrIntOverflowTypes |
| 20741 |
} |
| 20742 |
if iNdEx >= l { |
| 20743 |
return io.ErrUnexpectedEOF |
| 20744 |
} |
| 20745 |
b := dAtA[iNdEx] |
| 20746 |
iNdEx++ |
| 20747 |
msglen |= int(b&0x7F) << shift |
| 20748 |
if b < 0x80 { |
| 20749 |
break |
| 20750 |
} |
| 20751 |
} |
| 20752 |
if msglen < 0 { |
| 20753 |
return ErrInvalidLengthTypes |
| 20754 |
} |
| 20755 |
postIndex := iNdEx + msglen |
| 20756 |
if postIndex < 0 { |
| 20757 |
return ErrInvalidLengthTypes |
| 20758 |
} |
| 20759 |
if postIndex > l { |
| 20760 |
return io.ErrUnexpectedEOF |
| 20761 |
} |
| 20762 |
v := &types.Int32Value{} |
| 20763 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20764 |
return err |
| 20765 |
} |
| 20766 |
m.OneOfProtoTimes = &OneofProtoTypes_RepInt32{v} |
| 20767 |
iNdEx = postIndex |
| 20768 |
case 8: |
| 20769 |
if wireType != 2 { |
| 20770 |
return fmt.Errorf("proto: wrong wireType = %d for field RepUInt32", wireType) |
| 20771 |
} |
| 20772 |
var msglen int |
| 20773 |
for shift := uint(0); ; shift += 7 { |
| 20774 |
if shift >= 64 { |
| 20775 |
return ErrIntOverflowTypes |
| 20776 |
} |
| 20777 |
if iNdEx >= l { |
| 20778 |
return io.ErrUnexpectedEOF |
| 20779 |
} |
| 20780 |
b := dAtA[iNdEx] |
| 20781 |
iNdEx++ |
| 20782 |
msglen |= int(b&0x7F) << shift |
| 20783 |
if b < 0x80 { |
| 20784 |
break |
| 20785 |
} |
| 20786 |
} |
| 20787 |
if msglen < 0 { |
| 20788 |
return ErrInvalidLengthTypes |
| 20789 |
} |
| 20790 |
postIndex := iNdEx + msglen |
| 20791 |
if postIndex < 0 { |
| 20792 |
return ErrInvalidLengthTypes |
| 20793 |
} |
| 20794 |
if postIndex > l { |
| 20795 |
return io.ErrUnexpectedEOF |
| 20796 |
} |
| 20797 |
v := &types.UInt32Value{} |
| 20798 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20799 |
return err |
| 20800 |
} |
| 20801 |
m.OneOfProtoTimes = &OneofProtoTypes_RepUInt32{v} |
| 20802 |
iNdEx = postIndex |
| 20803 |
case 9: |
| 20804 |
if wireType != 2 { |
| 20805 |
return fmt.Errorf("proto: wrong wireType = %d for field RepBool", wireType) |
| 20806 |
} |
| 20807 |
var msglen int |
| 20808 |
for shift := uint(0); ; shift += 7 { |
| 20809 |
if shift >= 64 { |
| 20810 |
return ErrIntOverflowTypes |
| 20811 |
} |
| 20812 |
if iNdEx >= l { |
| 20813 |
return io.ErrUnexpectedEOF |
| 20814 |
} |
| 20815 |
b := dAtA[iNdEx] |
| 20816 |
iNdEx++ |
| 20817 |
msglen |= int(b&0x7F) << shift |
| 20818 |
if b < 0x80 { |
| 20819 |
break |
| 20820 |
} |
| 20821 |
} |
| 20822 |
if msglen < 0 { |
| 20823 |
return ErrInvalidLengthTypes |
| 20824 |
} |
| 20825 |
postIndex := iNdEx + msglen |
| 20826 |
if postIndex < 0 { |
| 20827 |
return ErrInvalidLengthTypes |
| 20828 |
} |
| 20829 |
if postIndex > l { |
| 20830 |
return io.ErrUnexpectedEOF |
| 20831 |
} |
| 20832 |
v := &types.BoolValue{} |
| 20833 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20834 |
return err |
| 20835 |
} |
| 20836 |
m.OneOfProtoTimes = &OneofProtoTypes_RepBool{v} |
| 20837 |
iNdEx = postIndex |
| 20838 |
case 10: |
| 20839 |
if wireType != 2 { |
| 20840 |
return fmt.Errorf("proto: wrong wireType = %d for field RepString", wireType) |
| 20841 |
} |
| 20842 |
var msglen int |
| 20843 |
for shift := uint(0); ; shift += 7 { |
| 20844 |
if shift >= 64 { |
| 20845 |
return ErrIntOverflowTypes |
| 20846 |
} |
| 20847 |
if iNdEx >= l { |
| 20848 |
return io.ErrUnexpectedEOF |
| 20849 |
} |
| 20850 |
b := dAtA[iNdEx] |
| 20851 |
iNdEx++ |
| 20852 |
msglen |= int(b&0x7F) << shift |
| 20853 |
if b < 0x80 { |
| 20854 |
break |
| 20855 |
} |
| 20856 |
} |
| 20857 |
if msglen < 0 { |
| 20858 |
return ErrInvalidLengthTypes |
| 20859 |
} |
| 20860 |
postIndex := iNdEx + msglen |
| 20861 |
if postIndex < 0 { |
| 20862 |
return ErrInvalidLengthTypes |
| 20863 |
} |
| 20864 |
if postIndex > l { |
| 20865 |
return io.ErrUnexpectedEOF |
| 20866 |
} |
| 20867 |
v := &types.StringValue{} |
| 20868 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20869 |
return err |
| 20870 |
} |
| 20871 |
m.OneOfProtoTimes = &OneofProtoTypes_RepString{v} |
| 20872 |
iNdEx = postIndex |
| 20873 |
case 11: |
| 20874 |
if wireType != 2 { |
| 20875 |
return fmt.Errorf("proto: wrong wireType = %d for field RepBytes", wireType) |
| 20876 |
} |
| 20877 |
var msglen int |
| 20878 |
for shift := uint(0); ; shift += 7 { |
| 20879 |
if shift >= 64 { |
| 20880 |
return ErrIntOverflowTypes |
| 20881 |
} |
| 20882 |
if iNdEx >= l { |
| 20883 |
return io.ErrUnexpectedEOF |
| 20884 |
} |
| 20885 |
b := dAtA[iNdEx] |
| 20886 |
iNdEx++ |
| 20887 |
msglen |= int(b&0x7F) << shift |
| 20888 |
if b < 0x80 { |
| 20889 |
break |
| 20890 |
} |
| 20891 |
} |
| 20892 |
if msglen < 0 { |
| 20893 |
return ErrInvalidLengthTypes |
| 20894 |
} |
| 20895 |
postIndex := iNdEx + msglen |
| 20896 |
if postIndex < 0 { |
| 20897 |
return ErrInvalidLengthTypes |
| 20898 |
} |
| 20899 |
if postIndex > l { |
| 20900 |
return io.ErrUnexpectedEOF |
| 20901 |
} |
| 20902 |
v := &types.BytesValue{} |
| 20903 |
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 20904 |
return err |
| 20905 |
} |
| 20906 |
m.OneOfProtoTimes = &OneofProtoTypes_RepBytes{v} |
| 20907 |
iNdEx = postIndex |
| 20908 |
default: |
| 20909 |
iNdEx = preIndex |
| 20910 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 20911 |
if err != nil { |
| 20912 |
return err |
| 20913 |
} |
| 20914 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 20915 |
return ErrInvalidLengthTypes |
| 20916 |
} |
| 20917 |
if (iNdEx + skippy) > l { |
| 20918 |
return io.ErrUnexpectedEOF |
| 20919 |
} |
| 20920 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 20921 |
iNdEx += skippy |
| 20922 |
} |
| 20923 |
} |
| 20924 |
|
| 20925 |
if iNdEx > l { |
| 20926 |
return io.ErrUnexpectedEOF |
| 20927 |
} |
| 20928 |
return nil |
| 20929 |
} |
| 20930 |
func (m *OneofStdTypes) Unmarshal(dAtA []byte) error { |
| 20931 |
l := len(dAtA) |
| 20932 |
iNdEx := 0 |
| 20933 |
for iNdEx < l { |
| 20934 |
preIndex := iNdEx |
| 20935 |
var wire uint64 |
| 20936 |
for shift := uint(0); ; shift += 7 { |
| 20937 |
if shift >= 64 { |
| 20938 |
return ErrIntOverflowTypes |
| 20939 |
} |
| 20940 |
if iNdEx >= l { |
| 20941 |
return io.ErrUnexpectedEOF |
| 20942 |
} |
| 20943 |
b := dAtA[iNdEx] |
| 20944 |
iNdEx++ |
| 20945 |
wire |= uint64(b&0x7F) << shift |
| 20946 |
if b < 0x80 { |
| 20947 |
break |
| 20948 |
} |
| 20949 |
} |
| 20950 |
fieldNum := int32(wire >> 3) |
| 20951 |
wireType := int(wire & 0x7) |
| 20952 |
if wireType == 4 { |
| 20953 |
return fmt.Errorf("proto: OneofStdTypes: wiretype end group for non-group") |
| 20954 |
} |
| 20955 |
if fieldNum <= 0 { |
| 20956 |
return fmt.Errorf("proto: OneofStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) |
| 20957 |
} |
| 20958 |
switch fieldNum { |
| 20959 |
case 1: |
| 20960 |
if wireType != 2 { |
| 20961 |
return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) |
| 20962 |
} |
| 20963 |
var msglen int |
| 20964 |
for shift := uint(0); ; shift += 7 { |
| 20965 |
if shift >= 64 { |
| 20966 |
return ErrIntOverflowTypes |
| 20967 |
} |
| 20968 |
if iNdEx >= l { |
| 20969 |
return io.ErrUnexpectedEOF |
| 20970 |
} |
| 20971 |
b := dAtA[iNdEx] |
| 20972 |
iNdEx++ |
| 20973 |
msglen |= int(b&0x7F) << shift |
| 20974 |
if b < 0x80 { |
| 20975 |
break |
| 20976 |
} |
| 20977 |
} |
| 20978 |
if msglen < 0 { |
| 20979 |
return ErrInvalidLengthTypes |
| 20980 |
} |
| 20981 |
postIndex := iNdEx + msglen |
| 20982 |
if postIndex < 0 { |
| 20983 |
return ErrInvalidLengthTypes |
| 20984 |
} |
| 20985 |
if postIndex > l { |
| 20986 |
return io.ErrUnexpectedEOF |
| 20987 |
} |
| 20988 |
v := new(time.Time) |
| 20989 |
if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 20990 |
return err |
| 20991 |
} |
| 20992 |
m.OneOfStdTimes = &OneofStdTypes_Timestamp{v} |
| 20993 |
iNdEx = postIndex |
| 20994 |
case 2: |
| 20995 |
if wireType != 2 { |
| 20996 |
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) |
| 20997 |
} |
| 20998 |
var msglen int |
| 20999 |
for shift := uint(0); ; shift += 7 { |
| 21000 |
if shift >= 64 { |
| 21001 |
return ErrIntOverflowTypes |
| 21002 |
} |
| 21003 |
if iNdEx >= l { |
| 21004 |
return io.ErrUnexpectedEOF |
| 21005 |
} |
| 21006 |
b := dAtA[iNdEx] |
| 21007 |
iNdEx++ |
| 21008 |
msglen |= int(b&0x7F) << shift |
| 21009 |
if b < 0x80 { |
| 21010 |
break |
| 21011 |
} |
| 21012 |
} |
| 21013 |
if msglen < 0 { |
| 21014 |
return ErrInvalidLengthTypes |
| 21015 |
} |
| 21016 |
postIndex := iNdEx + msglen |
| 21017 |
if postIndex < 0 { |
| 21018 |
return ErrInvalidLengthTypes |
| 21019 |
} |
| 21020 |
if postIndex > l { |
| 21021 |
return io.ErrUnexpectedEOF |
| 21022 |
} |
| 21023 |
v := new(time.Duration) |
| 21024 |
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21025 |
return err |
| 21026 |
} |
| 21027 |
m.OneOfStdTimes = &OneofStdTypes_Duration{v} |
| 21028 |
iNdEx = postIndex |
| 21029 |
case 3: |
| 21030 |
if wireType != 2 { |
| 21031 |
return fmt.Errorf("proto: wrong wireType = %d for field RepDouble", wireType) |
| 21032 |
} |
| 21033 |
var msglen int |
| 21034 |
for shift := uint(0); ; shift += 7 { |
| 21035 |
if shift >= 64 { |
| 21036 |
return ErrIntOverflowTypes |
| 21037 |
} |
| 21038 |
if iNdEx >= l { |
| 21039 |
return io.ErrUnexpectedEOF |
| 21040 |
} |
| 21041 |
b := dAtA[iNdEx] |
| 21042 |
iNdEx++ |
| 21043 |
msglen |= int(b&0x7F) << shift |
| 21044 |
if b < 0x80 { |
| 21045 |
break |
| 21046 |
} |
| 21047 |
} |
| 21048 |
if msglen < 0 { |
| 21049 |
return ErrInvalidLengthTypes |
| 21050 |
} |
| 21051 |
postIndex := iNdEx + msglen |
| 21052 |
if postIndex < 0 { |
| 21053 |
return ErrInvalidLengthTypes |
| 21054 |
} |
| 21055 |
if postIndex > l { |
| 21056 |
return io.ErrUnexpectedEOF |
| 21057 |
} |
| 21058 |
v := new(float64) |
| 21059 |
if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21060 |
return err |
| 21061 |
} |
| 21062 |
m.OneOfStdTimes = &OneofStdTypes_RepDouble{v} |
| 21063 |
iNdEx = postIndex |
| 21064 |
case 4: |
| 21065 |
if wireType != 2 { |
| 21066 |
return fmt.Errorf("proto: wrong wireType = %d for field RepFloat", wireType) |
| 21067 |
} |
| 21068 |
var msglen int |
| 21069 |
for shift := uint(0); ; shift += 7 { |
| 21070 |
if shift >= 64 { |
| 21071 |
return ErrIntOverflowTypes |
| 21072 |
} |
| 21073 |
if iNdEx >= l { |
| 21074 |
return io.ErrUnexpectedEOF |
| 21075 |
} |
| 21076 |
b := dAtA[iNdEx] |
| 21077 |
iNdEx++ |
| 21078 |
msglen |= int(b&0x7F) << shift |
| 21079 |
if b < 0x80 { |
| 21080 |
break |
| 21081 |
} |
| 21082 |
} |
| 21083 |
if msglen < 0 { |
| 21084 |
return ErrInvalidLengthTypes |
| 21085 |
} |
| 21086 |
postIndex := iNdEx + msglen |
| 21087 |
if postIndex < 0 { |
| 21088 |
return ErrInvalidLengthTypes |
| 21089 |
} |
| 21090 |
if postIndex > l { |
| 21091 |
return io.ErrUnexpectedEOF |
| 21092 |
} |
| 21093 |
v := new(float32) |
| 21094 |
if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21095 |
return err |
| 21096 |
} |
| 21097 |
m.OneOfStdTimes = &OneofStdTypes_RepFloat{v} |
| 21098 |
iNdEx = postIndex |
| 21099 |
case 5: |
| 21100 |
if wireType != 2 { |
| 21101 |
return fmt.Errorf("proto: wrong wireType = %d for field RepInt64", wireType) |
| 21102 |
} |
| 21103 |
var msglen int |
| 21104 |
for shift := uint(0); ; shift += 7 { |
| 21105 |
if shift >= 64 { |
| 21106 |
return ErrIntOverflowTypes |
| 21107 |
} |
| 21108 |
if iNdEx >= l { |
| 21109 |
return io.ErrUnexpectedEOF |
| 21110 |
} |
| 21111 |
b := dAtA[iNdEx] |
| 21112 |
iNdEx++ |
| 21113 |
msglen |= int(b&0x7F) << shift |
| 21114 |
if b < 0x80 { |
| 21115 |
break |
| 21116 |
} |
| 21117 |
} |
| 21118 |
if msglen < 0 { |
| 21119 |
return ErrInvalidLengthTypes |
| 21120 |
} |
| 21121 |
postIndex := iNdEx + msglen |
| 21122 |
if postIndex < 0 { |
| 21123 |
return ErrInvalidLengthTypes |
| 21124 |
} |
| 21125 |
if postIndex > l { |
| 21126 |
return io.ErrUnexpectedEOF |
| 21127 |
} |
| 21128 |
v := new(int64) |
| 21129 |
if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21130 |
return err |
| 21131 |
} |
| 21132 |
m.OneOfStdTimes = &OneofStdTypes_RepInt64{v} |
| 21133 |
iNdEx = postIndex |
| 21134 |
case 6: |
| 21135 |
if wireType != 2 { |
| 21136 |
return fmt.Errorf("proto: wrong wireType = %d for field RepUInt64", wireType) |
| 21137 |
} |
| 21138 |
var msglen int |
| 21139 |
for shift := uint(0); ; shift += 7 { |
| 21140 |
if shift >= 64 { |
| 21141 |
return ErrIntOverflowTypes |
| 21142 |
} |
| 21143 |
if iNdEx >= l { |
| 21144 |
return io.ErrUnexpectedEOF |
| 21145 |
} |
| 21146 |
b := dAtA[iNdEx] |
| 21147 |
iNdEx++ |
| 21148 |
msglen |= int(b&0x7F) << shift |
| 21149 |
if b < 0x80 { |
| 21150 |
break |
| 21151 |
} |
| 21152 |
} |
| 21153 |
if msglen < 0 { |
| 21154 |
return ErrInvalidLengthTypes |
| 21155 |
} |
| 21156 |
postIndex := iNdEx + msglen |
| 21157 |
if postIndex < 0 { |
| 21158 |
return ErrInvalidLengthTypes |
| 21159 |
} |
| 21160 |
if postIndex > l { |
| 21161 |
return io.ErrUnexpectedEOF |
| 21162 |
} |
| 21163 |
v := new(uint64) |
| 21164 |
if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21165 |
return err |
| 21166 |
} |
| 21167 |
m.OneOfStdTimes = &OneofStdTypes_RepUInt64{v} |
| 21168 |
iNdEx = postIndex |
| 21169 |
case 7: |
| 21170 |
if wireType != 2 { |
| 21171 |
return fmt.Errorf("proto: wrong wireType = %d for field RepInt32", wireType) |
| 21172 |
} |
| 21173 |
var msglen int |
| 21174 |
for shift := uint(0); ; shift += 7 { |
| 21175 |
if shift >= 64 { |
| 21176 |
return ErrIntOverflowTypes |
| 21177 |
} |
| 21178 |
if iNdEx >= l { |
| 21179 |
return io.ErrUnexpectedEOF |
| 21180 |
} |
| 21181 |
b := dAtA[iNdEx] |
| 21182 |
iNdEx++ |
| 21183 |
msglen |= int(b&0x7F) << shift |
| 21184 |
if b < 0x80 { |
| 21185 |
break |
| 21186 |
} |
| 21187 |
} |
| 21188 |
if msglen < 0 { |
| 21189 |
return ErrInvalidLengthTypes |
| 21190 |
} |
| 21191 |
postIndex := iNdEx + msglen |
| 21192 |
if postIndex < 0 { |
| 21193 |
return ErrInvalidLengthTypes |
| 21194 |
} |
| 21195 |
if postIndex > l { |
| 21196 |
return io.ErrUnexpectedEOF |
| 21197 |
} |
| 21198 |
v := new(int32) |
| 21199 |
if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21200 |
return err |
| 21201 |
} |
| 21202 |
m.OneOfStdTimes = &OneofStdTypes_RepInt32{v} |
| 21203 |
iNdEx = postIndex |
| 21204 |
case 8: |
| 21205 |
if wireType != 2 { |
| 21206 |
return fmt.Errorf("proto: wrong wireType = %d for field RepUInt32", wireType) |
| 21207 |
} |
| 21208 |
var msglen int |
| 21209 |
for shift := uint(0); ; shift += 7 { |
| 21210 |
if shift >= 64 { |
| 21211 |
return ErrIntOverflowTypes |
| 21212 |
} |
| 21213 |
if iNdEx >= l { |
| 21214 |
return io.ErrUnexpectedEOF |
| 21215 |
} |
| 21216 |
b := dAtA[iNdEx] |
| 21217 |
iNdEx++ |
| 21218 |
msglen |= int(b&0x7F) << shift |
| 21219 |
if b < 0x80 { |
| 21220 |
break |
| 21221 |
} |
| 21222 |
} |
| 21223 |
if msglen < 0 { |
| 21224 |
return ErrInvalidLengthTypes |
| 21225 |
} |
| 21226 |
postIndex := iNdEx + msglen |
| 21227 |
if postIndex < 0 { |
| 21228 |
return ErrInvalidLengthTypes |
| 21229 |
} |
| 21230 |
if postIndex > l { |
| 21231 |
return io.ErrUnexpectedEOF |
| 21232 |
} |
| 21233 |
v := new(uint32) |
| 21234 |
if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21235 |
return err |
| 21236 |
} |
| 21237 |
m.OneOfStdTimes = &OneofStdTypes_RepUInt32{v} |
| 21238 |
iNdEx = postIndex |
| 21239 |
case 9: |
| 21240 |
if wireType != 2 { |
| 21241 |
return fmt.Errorf("proto: wrong wireType = %d for field RepBool", wireType) |
| 21242 |
} |
| 21243 |
var msglen int |
| 21244 |
for shift := uint(0); ; shift += 7 { |
| 21245 |
if shift >= 64 { |
| 21246 |
return ErrIntOverflowTypes |
| 21247 |
} |
| 21248 |
if iNdEx >= l { |
| 21249 |
return io.ErrUnexpectedEOF |
| 21250 |
} |
| 21251 |
b := dAtA[iNdEx] |
| 21252 |
iNdEx++ |
| 21253 |
msglen |= int(b&0x7F) << shift |
| 21254 |
if b < 0x80 { |
| 21255 |
break |
| 21256 |
} |
| 21257 |
} |
| 21258 |
if msglen < 0 { |
| 21259 |
return ErrInvalidLengthTypes |
| 21260 |
} |
| 21261 |
postIndex := iNdEx + msglen |
| 21262 |
if postIndex < 0 { |
| 21263 |
return ErrInvalidLengthTypes |
| 21264 |
} |
| 21265 |
if postIndex > l { |
| 21266 |
return io.ErrUnexpectedEOF |
| 21267 |
} |
| 21268 |
v := new(bool) |
| 21269 |
if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21270 |
return err |
| 21271 |
} |
| 21272 |
m.OneOfStdTimes = &OneofStdTypes_RepBool{v} |
| 21273 |
iNdEx = postIndex |
| 21274 |
case 10: |
| 21275 |
if wireType != 2 { |
| 21276 |
return fmt.Errorf("proto: wrong wireType = %d for field RepString", wireType) |
| 21277 |
} |
| 21278 |
var msglen int |
| 21279 |
for shift := uint(0); ; shift += 7 { |
| 21280 |
if shift >= 64 { |
| 21281 |
return ErrIntOverflowTypes |
| 21282 |
} |
| 21283 |
if iNdEx >= l { |
| 21284 |
return io.ErrUnexpectedEOF |
| 21285 |
} |
| 21286 |
b := dAtA[iNdEx] |
| 21287 |
iNdEx++ |
| 21288 |
msglen |= int(b&0x7F) << shift |
| 21289 |
if b < 0x80 { |
| 21290 |
break |
| 21291 |
} |
| 21292 |
} |
| 21293 |
if msglen < 0 { |
| 21294 |
return ErrInvalidLengthTypes |
| 21295 |
} |
| 21296 |
postIndex := iNdEx + msglen |
| 21297 |
if postIndex < 0 { |
| 21298 |
return ErrInvalidLengthTypes |
| 21299 |
} |
| 21300 |
if postIndex > l { |
| 21301 |
return io.ErrUnexpectedEOF |
| 21302 |
} |
| 21303 |
v := new(string) |
| 21304 |
if err := github_com_gogo_protobuf_types.StdStringUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21305 |
return err |
| 21306 |
} |
| 21307 |
m.OneOfStdTimes = &OneofStdTypes_RepString{v} |
| 21308 |
iNdEx = postIndex |
| 21309 |
case 11: |
| 21310 |
if wireType != 2 { |
| 21311 |
return fmt.Errorf("proto: wrong wireType = %d for field RepBytes", wireType) |
| 21312 |
} |
| 21313 |
var msglen int |
| 21314 |
for shift := uint(0); ; shift += 7 { |
| 21315 |
if shift >= 64 { |
| 21316 |
return ErrIntOverflowTypes |
| 21317 |
} |
| 21318 |
if iNdEx >= l { |
| 21319 |
return io.ErrUnexpectedEOF |
| 21320 |
} |
| 21321 |
b := dAtA[iNdEx] |
| 21322 |
iNdEx++ |
| 21323 |
msglen |= int(b&0x7F) << shift |
| 21324 |
if b < 0x80 { |
| 21325 |
break |
| 21326 |
} |
| 21327 |
} |
| 21328 |
if msglen < 0 { |
| 21329 |
return ErrInvalidLengthTypes |
| 21330 |
} |
| 21331 |
postIndex := iNdEx + msglen |
| 21332 |
if postIndex < 0 { |
| 21333 |
return ErrInvalidLengthTypes |
| 21334 |
} |
| 21335 |
if postIndex > l { |
| 21336 |
return io.ErrUnexpectedEOF |
| 21337 |
} |
| 21338 |
v := new([]byte) |
| 21339 |
if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { |
| 21340 |
return err |
| 21341 |
} |
| 21342 |
m.OneOfStdTimes = &OneofStdTypes_RepBytes{v} |
| 21343 |
iNdEx = postIndex |
| 21344 |
default: |
| 21345 |
iNdEx = preIndex |
| 21346 |
skippy, err := skipTypes(dAtA[iNdEx:]) |
| 21347 |
if err != nil { |
| 21348 |
return err |
| 21349 |
} |
| 21350 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 21351 |
return ErrInvalidLengthTypes |
| 21352 |
} |
| 21353 |
if (iNdEx + skippy) > l { |
| 21354 |
return io.ErrUnexpectedEOF |
| 21355 |
} |
| 21356 |
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
| 21357 |
iNdEx += skippy |
| 21358 |
} |
| 21359 |
} |
| 21360 |
|
| 21361 |
if iNdEx > l { |
| 21362 |
return io.ErrUnexpectedEOF |
| 21363 |
} |
| 21364 |
return nil |
| 21365 |
} |
| 21366 |
func skipTypes(dAtA []byte) (n int, err error) { |
| 21367 |
l := len(dAtA) |
| 21368 |
iNdEx := 0 |
| 21369 |
depth := 0 |
| 21370 |
for iNdEx < l { |
| 21371 |
var wire uint64 |
| 21372 |
for shift := uint(0); ; shift += 7 { |
| 21373 |
if shift >= 64 { |
| 21374 |
return 0, ErrIntOverflowTypes |
| 21375 |
} |
| 21376 |
if iNdEx >= l { |
| 21377 |
return 0, io.ErrUnexpectedEOF |
| 21378 |
} |
| 21379 |
b := dAtA[iNdEx] |
| 21380 |
iNdEx++ |
| 21381 |
wire |= (uint64(b) & 0x7F) << shift |
| 21382 |
if b < 0x80 { |
| 21383 |
break |
| 21384 |
} |
| 21385 |
} |
| 21386 |
wireType := int(wire & 0x7) |
| 21387 |
switch wireType { |
| 21388 |
case 0: |
| 21389 |
for shift := uint(0); ; shift += 7 { |
| 21390 |
if shift >= 64 { |
| 21391 |
return 0, ErrIntOverflowTypes |
| 21392 |
} |
| 21393 |
if iNdEx >= l { |
| 21394 |
return 0, io.ErrUnexpectedEOF |
| 21395 |
} |
| 21396 |
iNdEx++ |
| 21397 |
if dAtA[iNdEx-1] < 0x80 { |
| 21398 |
break |
| 21399 |
} |
| 21400 |
} |
| 21401 |
case 1: |
| 21402 |
iNdEx += 8 |
| 21403 |
case 2: |
| 21404 |
var length int |
| 21405 |
for shift := uint(0); ; shift += 7 { |
| 21406 |
if shift >= 64 { |
| 21407 |
return 0, ErrIntOverflowTypes |
| 21408 |
} |
| 21409 |
if iNdEx >= l { |
| 21410 |
return 0, io.ErrUnexpectedEOF |
| 21411 |
} |
| 21412 |
b := dAtA[iNdEx] |
| 21413 |
iNdEx++ |
| 21414 |
length |= (int(b) & 0x7F) << shift |
| 21415 |
if b < 0x80 { |
| 21416 |
break |
| 21417 |
} |
| 21418 |
} |
| 21419 |
if length < 0 { |
| 21420 |
return 0, ErrInvalidLengthTypes |
| 21421 |
} |
| 21422 |
iNdEx += length |
| 21423 |
case 3: |
| 21424 |
depth++ |
| 21425 |
case 4: |
| 21426 |
if depth == 0 { |
| 21427 |
return 0, ErrUnexpectedEndOfGroupTypes |
| 21428 |
} |
| 21429 |
depth-- |
| 21430 |
case 5: |
| 21431 |
iNdEx += 4 |
| 21432 |
default: |
| 21433 |
return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 21434 |
} |
| 21435 |
if iNdEx < 0 { |
| 21436 |
return 0, ErrInvalidLengthTypes |
| 21437 |
} |
| 21438 |
if depth == 0 { |
| 21439 |
return iNdEx, nil |
| 21440 |
} |
| 21441 |
} |
| 21442 |
return 0, io.ErrUnexpectedEOF |
| 21443 |
} |
| 21444 |
|
| 21445 |
var ( |
| 21446 |
ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") |
| 21447 |
ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") |
| 21448 |
ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") |
| 21449 |
) |