| 1 |
|
| 2 |
|
| 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 |
math "math" |
| 14 |
math_bits "math/bits" |
| 15 |
time "time" |
| 16 |
) |
| 17 |
|
| 18 |
|
| 19 |
var _ = proto.Marshal |
| 20 |
var _ = fmt.Errorf |
| 21 |
var _ = math.Inf |
| 22 |
var _ = time.Kitchen |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
const _ = proto.GoGoProtoPackageIsVersion3 |
| 29 |
|
| 30 |
type KnownTypes struct { |
| 31 |
Dur *types.Duration `protobuf:"bytes,1,opt,name=dur,proto3" json:"dur,omitempty"` |
| 32 |
Ts *types.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` |
| 33 |
Dbl *types.DoubleValue `protobuf:"bytes,3,opt,name=dbl,proto3" json:"dbl,omitempty"` |
| 34 |
Flt *types.FloatValue `protobuf:"bytes,4,opt,name=flt,proto3" json:"flt,omitempty"` |
| 35 |
I64 *types.Int64Value `protobuf:"bytes,5,opt,name=i64,proto3" json:"i64,omitempty"` |
| 36 |
U64 *types.UInt64Value `protobuf:"bytes,6,opt,name=u64,proto3" json:"u64,omitempty"` |
| 37 |
I32 *types.Int32Value `protobuf:"bytes,7,opt,name=i32,proto3" json:"i32,omitempty"` |
| 38 |
U32 *types.UInt32Value `protobuf:"bytes,8,opt,name=u32,proto3" json:"u32,omitempty"` |
| 39 |
Bool *types.BoolValue `protobuf:"bytes,9,opt,name=bool,proto3" json:"bool,omitempty"` |
| 40 |
Str *types.StringValue `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"` |
| 41 |
Bytes *types.BytesValue `protobuf:"bytes,11,opt,name=bytes,proto3" json:"bytes,omitempty"` |
| 42 |
|
| 43 |
St *types.Struct `protobuf:"bytes,12,opt,name=st,proto3" json:"st,omitempty"` |
| 44 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 45 |
XXX_unrecognized []byte `json:"-"` |
| 46 |
XXX_sizecache int32 `json:"-"` |
| 47 |
} |
| 48 |
|
| 49 |
func (m *KnownTypes) Reset() { *m = KnownTypes{} } |
| 50 |
func (m *KnownTypes) String() string { return proto.CompactTextString(m) } |
| 51 |
func (*KnownTypes) ProtoMessage() {} |
| 52 |
func (*KnownTypes) Descriptor() ([]byte, []int) { |
| 53 |
return fileDescriptor_a143c1648742cb2e, []int{0} |
| 54 |
} |
| 55 |
func (m *KnownTypes) XXX_Unmarshal(b []byte) error { |
| 56 |
return xxx_messageInfo_KnownTypes.Unmarshal(m, b) |
| 57 |
} |
| 58 |
func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 59 |
if deterministic { |
| 60 |
return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) |
| 61 |
} else { |
| 62 |
b = b[:cap(b)] |
| 63 |
n, err := m.MarshalToSizedBuffer(b) |
| 64 |
if err != nil { |
| 65 |
return nil, err |
| 66 |
} |
| 67 |
return b[:n], nil |
| 68 |
} |
| 69 |
} |
| 70 |
func (m *KnownTypes) XXX_Merge(src proto.Message) { |
| 71 |
xxx_messageInfo_KnownTypes.Merge(m, src) |
| 72 |
} |
| 73 |
func (m *KnownTypes) XXX_Size() int { |
| 74 |
return m.Size() |
| 75 |
} |
| 76 |
func (m *KnownTypes) XXX_DiscardUnknown() { |
| 77 |
xxx_messageInfo_KnownTypes.DiscardUnknown(m) |
| 78 |
} |
| 79 |
|
| 80 |
var xxx_messageInfo_KnownTypes proto.InternalMessageInfo |
| 81 |
|
| 82 |
func (m *KnownTypes) GetDur() *types.Duration { |
| 83 |
if m != nil { |
| 84 |
return m.Dur |
| 85 |
} |
| 86 |
return nil |
| 87 |
} |
| 88 |
|
| 89 |
func (m *KnownTypes) GetTs() *types.Timestamp { |
| 90 |
if m != nil { |
| 91 |
return m.Ts |
| 92 |
} |
| 93 |
return nil |
| 94 |
} |
| 95 |
|
| 96 |
func (m *KnownTypes) GetDbl() *types.DoubleValue { |
| 97 |
if m != nil { |
| 98 |
return m.Dbl |
| 99 |
} |
| 100 |
return nil |
| 101 |
} |
| 102 |
|
| 103 |
func (m *KnownTypes) GetFlt() *types.FloatValue { |
| 104 |
if m != nil { |
| 105 |
return m.Flt |
| 106 |
} |
| 107 |
return nil |
| 108 |
} |
| 109 |
|
| 110 |
func (m *KnownTypes) GetI64() *types.Int64Value { |
| 111 |
if m != nil { |
| 112 |
return m.I64 |
| 113 |
} |
| 114 |
return nil |
| 115 |
} |
| 116 |
|
| 117 |
func (m *KnownTypes) GetU64() *types.UInt64Value { |
| 118 |
if m != nil { |
| 119 |
return m.U64 |
| 120 |
} |
| 121 |
return nil |
| 122 |
} |
| 123 |
|
| 124 |
func (m *KnownTypes) GetI32() *types.Int32Value { |
| 125 |
if m != nil { |
| 126 |
return m.I32 |
| 127 |
} |
| 128 |
return nil |
| 129 |
} |
| 130 |
|
| 131 |
func (m *KnownTypes) GetU32() *types.UInt32Value { |
| 132 |
if m != nil { |
| 133 |
return m.U32 |
| 134 |
} |
| 135 |
return nil |
| 136 |
} |
| 137 |
|
| 138 |
func (m *KnownTypes) GetBool() *types.BoolValue { |
| 139 |
if m != nil { |
| 140 |
return m.Bool |
| 141 |
} |
| 142 |
return nil |
| 143 |
} |
| 144 |
|
| 145 |
func (m *KnownTypes) GetStr() *types.StringValue { |
| 146 |
if m != nil { |
| 147 |
return m.Str |
| 148 |
} |
| 149 |
return nil |
| 150 |
} |
| 151 |
|
| 152 |
func (m *KnownTypes) GetBytes() *types.BytesValue { |
| 153 |
if m != nil { |
| 154 |
return m.Bytes |
| 155 |
} |
| 156 |
return nil |
| 157 |
} |
| 158 |
|
| 159 |
func (m *KnownTypes) GetSt() *types.Struct { |
| 160 |
if m != nil { |
| 161 |
return m.St |
| 162 |
} |
| 163 |
return nil |
| 164 |
} |
| 165 |
|
| 166 |
type ProtoTypes struct { |
| 167 |
NullableTimestamp *types.Timestamp `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3" json:"nullableTimestamp,omitempty"` |
| 168 |
NullableDuration *types.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3" json:"nullableDuration,omitempty"` |
| 169 |
NullableDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` |
| 170 |
NullableFloat *types.FloatValue `protobuf:"bytes,4,opt,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` |
| 171 |
NullableInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` |
| 172 |
NullableUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` |
| 173 |
NullableInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` |
| 174 |
NullableUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` |
| 175 |
NullableBool *types.BoolValue `protobuf:"bytes,9,opt,name=nullableBool,proto3" json:"nullableBool,omitempty"` |
| 176 |
NullableString *types.StringValue `protobuf:"bytes,10,opt,name=nullableString,proto3" json:"nullableString,omitempty"` |
| 177 |
NullableBytes *types.BytesValue `protobuf:"bytes,11,opt,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` |
| 178 |
Timestamp types.Timestamp `protobuf:"bytes,12,opt,name=timestamp,proto3" json:"timestamp"` |
| 179 |
Duration types.Duration `protobuf:"bytes,13,opt,name=duration,proto3" json:"duration"` |
| 180 |
NonnullDouble types.DoubleValue `protobuf:"bytes,14,opt,name=nonnullDouble,proto3" json:"nonnullDouble"` |
| 181 |
NonnullFloat types.FloatValue `protobuf:"bytes,15,opt,name=nonnullFloat,proto3" json:"nonnullFloat"` |
| 182 |
NonnullInt64 types.Int64Value `protobuf:"bytes,16,opt,name=nonnullInt64,proto3" json:"nonnullInt64"` |
| 183 |
NonnullUInt64 types.UInt64Value `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3" json:"nonnullUInt64"` |
| 184 |
NonnullInt32 types.Int32Value `protobuf:"bytes,18,opt,name=nonnullInt32,proto3" json:"nonnullInt32"` |
| 185 |
NonnullUInt32 types.UInt32Value `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3" json:"nonnullUInt32"` |
| 186 |
NonnullBool types.BoolValue `protobuf:"bytes,20,opt,name=nonnullBool,proto3" json:"nonnullBool"` |
| 187 |
NonnullString types.StringValue `protobuf:"bytes,21,opt,name=nonnullString,proto3" json:"nonnullString"` |
| 188 |
NonnullBytes types.BytesValue `protobuf:"bytes,22,opt,name=nonnullBytes,proto3" json:"nonnullBytes"` |
| 189 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 190 |
XXX_unrecognized []byte `json:"-"` |
| 191 |
XXX_sizecache int32 `json:"-"` |
| 192 |
} |
| 193 |
|
| 194 |
func (m *ProtoTypes) Reset() { *m = ProtoTypes{} } |
| 195 |
func (m *ProtoTypes) String() string { return proto.CompactTextString(m) } |
| 196 |
func (*ProtoTypes) ProtoMessage() {} |
| 197 |
func (*ProtoTypes) Descriptor() ([]byte, []int) { |
| 198 |
return fileDescriptor_a143c1648742cb2e, []int{1} |
| 199 |
} |
| 200 |
func (m *ProtoTypes) XXX_Unmarshal(b []byte) error { |
| 201 |
return xxx_messageInfo_ProtoTypes.Unmarshal(m, b) |
| 202 |
} |
| 203 |
func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 204 |
if deterministic { |
| 205 |
return xxx_messageInfo_ProtoTypes.Marshal(b, m, deterministic) |
| 206 |
} else { |
| 207 |
b = b[:cap(b)] |
| 208 |
n, err := m.MarshalToSizedBuffer(b) |
| 209 |
if err != nil { |
| 210 |
return nil, err |
| 211 |
} |
| 212 |
return b[:n], nil |
| 213 |
} |
| 214 |
} |
| 215 |
func (m *ProtoTypes) XXX_Merge(src proto.Message) { |
| 216 |
xxx_messageInfo_ProtoTypes.Merge(m, src) |
| 217 |
} |
| 218 |
func (m *ProtoTypes) XXX_Size() int { |
| 219 |
return m.Size() |
| 220 |
} |
| 221 |
func (m *ProtoTypes) XXX_DiscardUnknown() { |
| 222 |
xxx_messageInfo_ProtoTypes.DiscardUnknown(m) |
| 223 |
} |
| 224 |
|
| 225 |
var xxx_messageInfo_ProtoTypes proto.InternalMessageInfo |
| 226 |
|
| 227 |
func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp { |
| 228 |
if m != nil { |
| 229 |
return m.NullableTimestamp |
| 230 |
} |
| 231 |
return nil |
| 232 |
} |
| 233 |
|
| 234 |
func (m *ProtoTypes) GetNullableDuration() *types.Duration { |
| 235 |
if m != nil { |
| 236 |
return m.NullableDuration |
| 237 |
} |
| 238 |
return nil |
| 239 |
} |
| 240 |
|
| 241 |
func (m *ProtoTypes) GetNullableDouble() *types.DoubleValue { |
| 242 |
if m != nil { |
| 243 |
return m.NullableDouble |
| 244 |
} |
| 245 |
return nil |
| 246 |
} |
| 247 |
|
| 248 |
func (m *ProtoTypes) GetNullableFloat() *types.FloatValue { |
| 249 |
if m != nil { |
| 250 |
return m.NullableFloat |
| 251 |
} |
| 252 |
return nil |
| 253 |
} |
| 254 |
|
| 255 |
func (m *ProtoTypes) GetNullableInt64() *types.Int64Value { |
| 256 |
if m != nil { |
| 257 |
return m.NullableInt64 |
| 258 |
} |
| 259 |
return nil |
| 260 |
} |
| 261 |
|
| 262 |
func (m *ProtoTypes) GetNullableUInt64() *types.UInt64Value { |
| 263 |
if m != nil { |
| 264 |
return m.NullableUInt64 |
| 265 |
} |
| 266 |
return nil |
| 267 |
} |
| 268 |
|
| 269 |
func (m *ProtoTypes) GetNullableInt32() *types.Int32Value { |
| 270 |
if m != nil { |
| 271 |
return m.NullableInt32 |
| 272 |
} |
| 273 |
return nil |
| 274 |
} |
| 275 |
|
| 276 |
func (m *ProtoTypes) GetNullableUInt32() *types.UInt32Value { |
| 277 |
if m != nil { |
| 278 |
return m.NullableUInt32 |
| 279 |
} |
| 280 |
return nil |
| 281 |
} |
| 282 |
|
| 283 |
func (m *ProtoTypes) GetNullableBool() *types.BoolValue { |
| 284 |
if m != nil { |
| 285 |
return m.NullableBool |
| 286 |
} |
| 287 |
return nil |
| 288 |
} |
| 289 |
|
| 290 |
func (m *ProtoTypes) GetNullableString() *types.StringValue { |
| 291 |
if m != nil { |
| 292 |
return m.NullableString |
| 293 |
} |
| 294 |
return nil |
| 295 |
} |
| 296 |
|
| 297 |
func (m *ProtoTypes) GetNullableBytes() *types.BytesValue { |
| 298 |
if m != nil { |
| 299 |
return m.NullableBytes |
| 300 |
} |
| 301 |
return nil |
| 302 |
} |
| 303 |
|
| 304 |
func (m *ProtoTypes) GetTimestamp() types.Timestamp { |
| 305 |
if m != nil { |
| 306 |
return m.Timestamp |
| 307 |
} |
| 308 |
return types.Timestamp{} |
| 309 |
} |
| 310 |
|
| 311 |
func (m *ProtoTypes) GetDuration() types.Duration { |
| 312 |
if m != nil { |
| 313 |
return m.Duration |
| 314 |
} |
| 315 |
return types.Duration{} |
| 316 |
} |
| 317 |
|
| 318 |
func (m *ProtoTypes) GetNonnullDouble() types.DoubleValue { |
| 319 |
if m != nil { |
| 320 |
return m.NonnullDouble |
| 321 |
} |
| 322 |
return types.DoubleValue{} |
| 323 |
} |
| 324 |
|
| 325 |
func (m *ProtoTypes) GetNonnullFloat() types.FloatValue { |
| 326 |
if m != nil { |
| 327 |
return m.NonnullFloat |
| 328 |
} |
| 329 |
return types.FloatValue{} |
| 330 |
} |
| 331 |
|
| 332 |
func (m *ProtoTypes) GetNonnullInt64() types.Int64Value { |
| 333 |
if m != nil { |
| 334 |
return m.NonnullInt64 |
| 335 |
} |
| 336 |
return types.Int64Value{} |
| 337 |
} |
| 338 |
|
| 339 |
func (m *ProtoTypes) GetNonnullUInt64() types.UInt64Value { |
| 340 |
if m != nil { |
| 341 |
return m.NonnullUInt64 |
| 342 |
} |
| 343 |
return types.UInt64Value{} |
| 344 |
} |
| 345 |
|
| 346 |
func (m *ProtoTypes) GetNonnullInt32() types.Int32Value { |
| 347 |
if m != nil { |
| 348 |
return m.NonnullInt32 |
| 349 |
} |
| 350 |
return types.Int32Value{} |
| 351 |
} |
| 352 |
|
| 353 |
func (m *ProtoTypes) GetNonnullUInt32() types.UInt32Value { |
| 354 |
if m != nil { |
| 355 |
return m.NonnullUInt32 |
| 356 |
} |
| 357 |
return types.UInt32Value{} |
| 358 |
} |
| 359 |
|
| 360 |
func (m *ProtoTypes) GetNonnullBool() types.BoolValue { |
| 361 |
if m != nil { |
| 362 |
return m.NonnullBool |
| 363 |
} |
| 364 |
return types.BoolValue{} |
| 365 |
} |
| 366 |
|
| 367 |
func (m *ProtoTypes) GetNonnullString() types.StringValue { |
| 368 |
if m != nil { |
| 369 |
return m.NonnullString |
| 370 |
} |
| 371 |
return types.StringValue{} |
| 372 |
} |
| 373 |
|
| 374 |
func (m *ProtoTypes) GetNonnullBytes() types.BytesValue { |
| 375 |
if m != nil { |
| 376 |
return m.NonnullBytes |
| 377 |
} |
| 378 |
return types.BytesValue{} |
| 379 |
} |
| 380 |
|
| 381 |
type StdTypes struct { |
| 382 |
NullableTimestamp *time.Time `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3,stdtime" json:"nullableTimestamp,omitempty"` |
| 383 |
NullableDuration *time.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3,stdduration" json:"nullableDuration,omitempty"` |
| 384 |
NullableDouble *float64 `protobuf:"bytes,3,opt,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` |
| 385 |
NullableFloat *float32 `protobuf:"bytes,4,opt,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` |
| 386 |
NullableInt64 *int64 `protobuf:"bytes,5,opt,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` |
| 387 |
NullableUInt64 *uint64 `protobuf:"bytes,6,opt,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` |
| 388 |
NullableInt32 *int32 `protobuf:"bytes,7,opt,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` |
| 389 |
NullableUInt32 *uint32 `protobuf:"bytes,8,opt,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` |
| 390 |
NullableBool *bool `protobuf:"bytes,9,opt,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` |
| 391 |
NullableString *string `protobuf:"bytes,10,opt,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` |
| 392 |
NullableBytes *[]byte `protobuf:"bytes,11,opt,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` |
| 393 |
Timestamp time.Time `protobuf:"bytes,12,opt,name=timestamp,proto3,stdtime" json:"timestamp"` |
| 394 |
Duration time.Duration `protobuf:"bytes,13,opt,name=duration,proto3,stdduration" json:"duration"` |
| 395 |
NonnullDouble float64 `protobuf:"bytes,14,opt,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` |
| 396 |
NonnullFloat float32 `protobuf:"bytes,15,opt,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` |
| 397 |
NonnullInt64 int64 `protobuf:"bytes,16,opt,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` |
| 398 |
NonnullUInt64 uint64 `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` |
| 399 |
NonnullInt32 int32 `protobuf:"bytes,18,opt,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` |
| 400 |
NonnullUInt32 uint32 `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` |
| 401 |
NonnullBool bool `protobuf:"bytes,20,opt,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` |
| 402 |
NonnullString string `protobuf:"bytes,21,opt,name=nonnullString,proto3,wktptr" json:"nonnullString"` |
| 403 |
NonnullBytes []byte `protobuf:"bytes,22,opt,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` |
| 404 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 405 |
XXX_unrecognized []byte `json:"-"` |
| 406 |
XXX_sizecache int32 `json:"-"` |
| 407 |
} |
| 408 |
|
| 409 |
func (m *StdTypes) Reset() { *m = StdTypes{} } |
| 410 |
func (m *StdTypes) String() string { return proto.CompactTextString(m) } |
| 411 |
func (*StdTypes) ProtoMessage() {} |
| 412 |
func (*StdTypes) Descriptor() ([]byte, []int) { |
| 413 |
return fileDescriptor_a143c1648742cb2e, []int{2} |
| 414 |
} |
| 415 |
func (m *StdTypes) XXX_Unmarshal(b []byte) error { |
| 416 |
return xxx_messageInfo_StdTypes.Unmarshal(m, b) |
| 417 |
} |
| 418 |
func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 419 |
if deterministic { |
| 420 |
return xxx_messageInfo_StdTypes.Marshal(b, m, deterministic) |
| 421 |
} else { |
| 422 |
b = b[:cap(b)] |
| 423 |
n, err := m.MarshalToSizedBuffer(b) |
| 424 |
if err != nil { |
| 425 |
return nil, err |
| 426 |
} |
| 427 |
return b[:n], nil |
| 428 |
} |
| 429 |
} |
| 430 |
func (m *StdTypes) XXX_Merge(src proto.Message) { |
| 431 |
xxx_messageInfo_StdTypes.Merge(m, src) |
| 432 |
} |
| 433 |
func (m *StdTypes) XXX_Size() int { |
| 434 |
return m.Size() |
| 435 |
} |
| 436 |
func (m *StdTypes) XXX_DiscardUnknown() { |
| 437 |
xxx_messageInfo_StdTypes.DiscardUnknown(m) |
| 438 |
} |
| 439 |
|
| 440 |
var xxx_messageInfo_StdTypes proto.InternalMessageInfo |
| 441 |
|
| 442 |
func (m *StdTypes) GetNullableTimestamp() *time.Time { |
| 443 |
if m != nil { |
| 444 |
return m.NullableTimestamp |
| 445 |
} |
| 446 |
return nil |
| 447 |
} |
| 448 |
|
| 449 |
func (m *StdTypes) GetNullableDuration() *time.Duration { |
| 450 |
if m != nil { |
| 451 |
return m.NullableDuration |
| 452 |
} |
| 453 |
return nil |
| 454 |
} |
| 455 |
|
| 456 |
func (m *StdTypes) GetNullableDouble() *float64 { |
| 457 |
if m != nil { |
| 458 |
return m.NullableDouble |
| 459 |
} |
| 460 |
return nil |
| 461 |
} |
| 462 |
|
| 463 |
func (m *StdTypes) GetNullableFloat() *float32 { |
| 464 |
if m != nil { |
| 465 |
return m.NullableFloat |
| 466 |
} |
| 467 |
return nil |
| 468 |
} |
| 469 |
|
| 470 |
func (m *StdTypes) GetNullableInt64() *int64 { |
| 471 |
if m != nil { |
| 472 |
return m.NullableInt64 |
| 473 |
} |
| 474 |
return nil |
| 475 |
} |
| 476 |
|
| 477 |
func (m *StdTypes) GetNullableUInt64() *uint64 { |
| 478 |
if m != nil { |
| 479 |
return m.NullableUInt64 |
| 480 |
} |
| 481 |
return nil |
| 482 |
} |
| 483 |
|
| 484 |
func (m *StdTypes) GetNullableInt32() *int32 { |
| 485 |
if m != nil { |
| 486 |
return m.NullableInt32 |
| 487 |
} |
| 488 |
return nil |
| 489 |
} |
| 490 |
|
| 491 |
func (m *StdTypes) GetNullableUInt32() *uint32 { |
| 492 |
if m != nil { |
| 493 |
return m.NullableUInt32 |
| 494 |
} |
| 495 |
return nil |
| 496 |
} |
| 497 |
|
| 498 |
func (m *StdTypes) GetNullableBool() *bool { |
| 499 |
if m != nil { |
| 500 |
return m.NullableBool |
| 501 |
} |
| 502 |
return nil |
| 503 |
} |
| 504 |
|
| 505 |
func (m *StdTypes) GetNullableString() *string { |
| 506 |
if m != nil { |
| 507 |
return m.NullableString |
| 508 |
} |
| 509 |
return nil |
| 510 |
} |
| 511 |
|
| 512 |
func (m *StdTypes) GetNullableBytes() *[]byte { |
| 513 |
if m != nil { |
| 514 |
return m.NullableBytes |
| 515 |
} |
| 516 |
return nil |
| 517 |
} |
| 518 |
|
| 519 |
func (m *StdTypes) GetTimestamp() time.Time { |
| 520 |
if m != nil { |
| 521 |
return m.Timestamp |
| 522 |
} |
| 523 |
return time.Time{} |
| 524 |
} |
| 525 |
|
| 526 |
func (m *StdTypes) GetDuration() time.Duration { |
| 527 |
if m != nil { |
| 528 |
return m.Duration |
| 529 |
} |
| 530 |
return 0 |
| 531 |
} |
| 532 |
|
| 533 |
func (m *StdTypes) GetNonnullDouble() float64 { |
| 534 |
if m != nil { |
| 535 |
return m.NonnullDouble |
| 536 |
} |
| 537 |
return 0 |
| 538 |
} |
| 539 |
|
| 540 |
func (m *StdTypes) GetNonnullFloat() float32 { |
| 541 |
if m != nil { |
| 542 |
return m.NonnullFloat |
| 543 |
} |
| 544 |
return 0 |
| 545 |
} |
| 546 |
|
| 547 |
func (m *StdTypes) GetNonnullInt64() int64 { |
| 548 |
if m != nil { |
| 549 |
return m.NonnullInt64 |
| 550 |
} |
| 551 |
return 0 |
| 552 |
} |
| 553 |
|
| 554 |
func (m *StdTypes) GetNonnullUInt64() uint64 { |
| 555 |
if m != nil { |
| 556 |
return m.NonnullUInt64 |
| 557 |
} |
| 558 |
return 0 |
| 559 |
} |
| 560 |
|
| 561 |
func (m *StdTypes) GetNonnullInt32() int32 { |
| 562 |
if m != nil { |
| 563 |
return m.NonnullInt32 |
| 564 |
} |
| 565 |
return 0 |
| 566 |
} |
| 567 |
|
| 568 |
func (m *StdTypes) GetNonnullUInt32() uint32 { |
| 569 |
if m != nil { |
| 570 |
return m.NonnullUInt32 |
| 571 |
} |
| 572 |
return 0 |
| 573 |
} |
| 574 |
|
| 575 |
func (m *StdTypes) GetNonnullBool() bool { |
| 576 |
if m != nil { |
| 577 |
return m.NonnullBool |
| 578 |
} |
| 579 |
return false |
| 580 |
} |
| 581 |
|
| 582 |
func (m *StdTypes) GetNonnullString() string { |
| 583 |
if m != nil { |
| 584 |
return m.NonnullString |
| 585 |
} |
| 586 |
return "" |
| 587 |
} |
| 588 |
|
| 589 |
func (m *StdTypes) GetNonnullBytes() []byte { |
| 590 |
if m != nil { |
| 591 |
return m.NonnullBytes |
| 592 |
} |
| 593 |
return []byte{} |
| 594 |
} |
| 595 |
|
| 596 |
type RepProtoTypes struct { |
| 597 |
NullableTimestamps []*types.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3" json:"nullableTimestamps,omitempty"` |
| 598 |
NullableDurations []*types.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3" json:"nullableDurations,omitempty"` |
| 599 |
Timestamps []types.Timestamp `protobuf:"bytes,3,rep,name=timestamps,proto3" json:"timestamps"` |
| 600 |
Durations []types.Duration `protobuf:"bytes,4,rep,name=durations,proto3" json:"durations"` |
| 601 |
NullableDouble []*types.DoubleValue `protobuf:"bytes,5,rep,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` |
| 602 |
NonnullDouble []types.DoubleValue `protobuf:"bytes,6,rep,name=nonnullDouble,proto3" json:"nonnullDouble"` |
| 603 |
NullableFloat []*types.FloatValue `protobuf:"bytes,7,rep,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` |
| 604 |
NonnullFloat []types.FloatValue `protobuf:"bytes,8,rep,name=nonnullFloat,proto3" json:"nonnullFloat"` |
| 605 |
NullableInt64 []*types.Int64Value `protobuf:"bytes,9,rep,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` |
| 606 |
NonnullInt64 []types.Int64Value `protobuf:"bytes,10,rep,name=nonnullInt64,proto3" json:"nonnullInt64"` |
| 607 |
NullableUInt64 []*types.UInt64Value `protobuf:"bytes,11,rep,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` |
| 608 |
NonnullUInt64 []types.UInt64Value `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3" json:"nonnullUInt64"` |
| 609 |
NullableInt32 []*types.Int32Value `protobuf:"bytes,13,rep,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` |
| 610 |
NonnullInt32 []types.Int32Value `protobuf:"bytes,14,rep,name=nonnullInt32,proto3" json:"nonnullInt32"` |
| 611 |
NullableUInt32 []*types.UInt32Value `protobuf:"bytes,15,rep,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` |
| 612 |
NonnullUInt32 []types.UInt32Value `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3" json:"nonnullUInt32"` |
| 613 |
NullableBool []*types.BoolValue `protobuf:"bytes,17,rep,name=nullableBool,proto3" json:"nullableBool,omitempty"` |
| 614 |
NonnullBool []types.BoolValue `protobuf:"bytes,18,rep,name=nonnullBool,proto3" json:"nonnullBool"` |
| 615 |
NullableString []*types.StringValue `protobuf:"bytes,19,rep,name=nullableString,proto3" json:"nullableString,omitempty"` |
| 616 |
NonnullString []types.StringValue `protobuf:"bytes,20,rep,name=nonnullString,proto3" json:"nonnullString"` |
| 617 |
NullableBytes []*types.BytesValue `protobuf:"bytes,21,rep,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` |
| 618 |
NonnullBytes []types.BytesValue `protobuf:"bytes,22,rep,name=nonnullBytes,proto3" json:"nonnullBytes"` |
| 619 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 620 |
XXX_unrecognized []byte `json:"-"` |
| 621 |
XXX_sizecache int32 `json:"-"` |
| 622 |
} |
| 623 |
|
| 624 |
func (m *RepProtoTypes) Reset() { *m = RepProtoTypes{} } |
| 625 |
func (m *RepProtoTypes) String() string { return proto.CompactTextString(m) } |
| 626 |
func (*RepProtoTypes) ProtoMessage() {} |
| 627 |
func (*RepProtoTypes) Descriptor() ([]byte, []int) { |
| 628 |
return fileDescriptor_a143c1648742cb2e, []int{3} |
| 629 |
} |
| 630 |
func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error { |
| 631 |
return xxx_messageInfo_RepProtoTypes.Unmarshal(m, b) |
| 632 |
} |
| 633 |
func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 634 |
if deterministic { |
| 635 |
return xxx_messageInfo_RepProtoTypes.Marshal(b, m, deterministic) |
| 636 |
} else { |
| 637 |
b = b[:cap(b)] |
| 638 |
n, err := m.MarshalToSizedBuffer(b) |
| 639 |
if err != nil { |
| 640 |
return nil, err |
| 641 |
} |
| 642 |
return b[:n], nil |
| 643 |
} |
| 644 |
} |
| 645 |
func (m *RepProtoTypes) XXX_Merge(src proto.Message) { |
| 646 |
xxx_messageInfo_RepProtoTypes.Merge(m, src) |
| 647 |
} |
| 648 |
func (m *RepProtoTypes) XXX_Size() int { |
| 649 |
return m.Size() |
| 650 |
} |
| 651 |
func (m *RepProtoTypes) XXX_DiscardUnknown() { |
| 652 |
xxx_messageInfo_RepProtoTypes.DiscardUnknown(m) |
| 653 |
} |
| 654 |
|
| 655 |
var xxx_messageInfo_RepProtoTypes proto.InternalMessageInfo |
| 656 |
|
| 657 |
func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp { |
| 658 |
if m != nil { |
| 659 |
return m.NullableTimestamps |
| 660 |
} |
| 661 |
return nil |
| 662 |
} |
| 663 |
|
| 664 |
func (m *RepProtoTypes) GetNullableDurations() []*types.Duration { |
| 665 |
if m != nil { |
| 666 |
return m.NullableDurations |
| 667 |
} |
| 668 |
return nil |
| 669 |
} |
| 670 |
|
| 671 |
func (m *RepProtoTypes) GetTimestamps() []types.Timestamp { |
| 672 |
if m != nil { |
| 673 |
return m.Timestamps |
| 674 |
} |
| 675 |
return nil |
| 676 |
} |
| 677 |
|
| 678 |
func (m *RepProtoTypes) GetDurations() []types.Duration { |
| 679 |
if m != nil { |
| 680 |
return m.Durations |
| 681 |
} |
| 682 |
return nil |
| 683 |
} |
| 684 |
|
| 685 |
func (m *RepProtoTypes) GetNullableDouble() []*types.DoubleValue { |
| 686 |
if m != nil { |
| 687 |
return m.NullableDouble |
| 688 |
} |
| 689 |
return nil |
| 690 |
} |
| 691 |
|
| 692 |
func (m *RepProtoTypes) GetNonnullDouble() []types.DoubleValue { |
| 693 |
if m != nil { |
| 694 |
return m.NonnullDouble |
| 695 |
} |
| 696 |
return nil |
| 697 |
} |
| 698 |
|
| 699 |
func (m *RepProtoTypes) GetNullableFloat() []*types.FloatValue { |
| 700 |
if m != nil { |
| 701 |
return m.NullableFloat |
| 702 |
} |
| 703 |
return nil |
| 704 |
} |
| 705 |
|
| 706 |
func (m *RepProtoTypes) GetNonnullFloat() []types.FloatValue { |
| 707 |
if m != nil { |
| 708 |
return m.NonnullFloat |
| 709 |
} |
| 710 |
return nil |
| 711 |
} |
| 712 |
|
| 713 |
func (m *RepProtoTypes) GetNullableInt64() []*types.Int64Value { |
| 714 |
if m != nil { |
| 715 |
return m.NullableInt64 |
| 716 |
} |
| 717 |
return nil |
| 718 |
} |
| 719 |
|
| 720 |
func (m *RepProtoTypes) GetNonnullInt64() []types.Int64Value { |
| 721 |
if m != nil { |
| 722 |
return m.NonnullInt64 |
| 723 |
} |
| 724 |
return nil |
| 725 |
} |
| 726 |
|
| 727 |
func (m *RepProtoTypes) GetNullableUInt64() []*types.UInt64Value { |
| 728 |
if m != nil { |
| 729 |
return m.NullableUInt64 |
| 730 |
} |
| 731 |
return nil |
| 732 |
} |
| 733 |
|
| 734 |
func (m *RepProtoTypes) GetNonnullUInt64() []types.UInt64Value { |
| 735 |
if m != nil { |
| 736 |
return m.NonnullUInt64 |
| 737 |
} |
| 738 |
return nil |
| 739 |
} |
| 740 |
|
| 741 |
func (m *RepProtoTypes) GetNullableInt32() []*types.Int32Value { |
| 742 |
if m != nil { |
| 743 |
return m.NullableInt32 |
| 744 |
} |
| 745 |
return nil |
| 746 |
} |
| 747 |
|
| 748 |
func (m *RepProtoTypes) GetNonnullInt32() []types.Int32Value { |
| 749 |
if m != nil { |
| 750 |
return m.NonnullInt32 |
| 751 |
} |
| 752 |
return nil |
| 753 |
} |
| 754 |
|
| 755 |
func (m *RepProtoTypes) GetNullableUInt32() []*types.UInt32Value { |
| 756 |
if m != nil { |
| 757 |
return m.NullableUInt32 |
| 758 |
} |
| 759 |
return nil |
| 760 |
} |
| 761 |
|
| 762 |
func (m *RepProtoTypes) GetNonnullUInt32() []types.UInt32Value { |
| 763 |
if m != nil { |
| 764 |
return m.NonnullUInt32 |
| 765 |
} |
| 766 |
return nil |
| 767 |
} |
| 768 |
|
| 769 |
func (m *RepProtoTypes) GetNullableBool() []*types.BoolValue { |
| 770 |
if m != nil { |
| 771 |
return m.NullableBool |
| 772 |
} |
| 773 |
return nil |
| 774 |
} |
| 775 |
|
| 776 |
func (m *RepProtoTypes) GetNonnullBool() []types.BoolValue { |
| 777 |
if m != nil { |
| 778 |
return m.NonnullBool |
| 779 |
} |
| 780 |
return nil |
| 781 |
} |
| 782 |
|
| 783 |
func (m *RepProtoTypes) GetNullableString() []*types.StringValue { |
| 784 |
if m != nil { |
| 785 |
return m.NullableString |
| 786 |
} |
| 787 |
return nil |
| 788 |
} |
| 789 |
|
| 790 |
func (m *RepProtoTypes) GetNonnullString() []types.StringValue { |
| 791 |
if m != nil { |
| 792 |
return m.NonnullString |
| 793 |
} |
| 794 |
return nil |
| 795 |
} |
| 796 |
|
| 797 |
func (m *RepProtoTypes) GetNullableBytes() []*types.BytesValue { |
| 798 |
if m != nil { |
| 799 |
return m.NullableBytes |
| 800 |
} |
| 801 |
return nil |
| 802 |
} |
| 803 |
|
| 804 |
func (m *RepProtoTypes) GetNonnullBytes() []types.BytesValue { |
| 805 |
if m != nil { |
| 806 |
return m.NonnullBytes |
| 807 |
} |
| 808 |
return nil |
| 809 |
} |
| 810 |
|
| 811 |
type RepStdTypes struct { |
| 812 |
NullableTimestamps []*time.Time `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3,stdtime" json:"nullableTimestamps,omitempty"` |
| 813 |
NullableDurations []*time.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3,stdduration" json:"nullableDurations,omitempty"` |
| 814 |
Timestamps []time.Time `protobuf:"bytes,3,rep,name=timestamps,proto3,stdtime" json:"timestamps"` |
| 815 |
Durations []time.Duration `protobuf:"bytes,4,rep,name=durations,proto3,stdduration" json:"durations"` |
| 816 |
NullableDouble []*float64 `protobuf:"bytes,5,rep,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` |
| 817 |
NonnullDouble []float64 `protobuf:"bytes,6,rep,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` |
| 818 |
NullableFloat []*float32 `protobuf:"bytes,7,rep,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` |
| 819 |
NonnullFloat []float32 `protobuf:"bytes,8,rep,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` |
| 820 |
NullableInt64 []*int64 `protobuf:"bytes,9,rep,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` |
| 821 |
NonnullInt64 []int64 `protobuf:"bytes,10,rep,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` |
| 822 |
NullableUInt64 []*uint64 `protobuf:"bytes,11,rep,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` |
| 823 |
NonnullUInt64 []uint64 `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` |
| 824 |
NullableInt32 []*int32 `protobuf:"bytes,13,rep,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` |
| 825 |
NonnullInt32 []int32 `protobuf:"bytes,14,rep,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` |
| 826 |
NullableUInt32 []*uint32 `protobuf:"bytes,15,rep,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` |
| 827 |
NonnullUInt32 []uint32 `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` |
| 828 |
NullableBool []*bool `protobuf:"bytes,17,rep,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` |
| 829 |
NonnullBool []bool `protobuf:"bytes,18,rep,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` |
| 830 |
NullableString []*string `protobuf:"bytes,19,rep,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` |
| 831 |
NonnullString []string `protobuf:"bytes,20,rep,name=nonnullString,proto3,wktptr" json:"nonnullString"` |
| 832 |
NullableBytes []*[]byte `protobuf:"bytes,21,rep,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` |
| 833 |
NonnullBytes [][]byte `protobuf:"bytes,22,rep,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` |
| 834 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 835 |
XXX_unrecognized []byte `json:"-"` |
| 836 |
XXX_sizecache int32 `json:"-"` |
| 837 |
} |
| 838 |
|
| 839 |
func (m *RepStdTypes) Reset() { *m = RepStdTypes{} } |
| 840 |
func (m *RepStdTypes) String() string { return proto.CompactTextString(m) } |
| 841 |
func (*RepStdTypes) ProtoMessage() {} |
| 842 |
func (*RepStdTypes) Descriptor() ([]byte, []int) { |
| 843 |
return fileDescriptor_a143c1648742cb2e, []int{4} |
| 844 |
} |
| 845 |
func (m *RepStdTypes) XXX_Unmarshal(b []byte) error { |
| 846 |
return xxx_messageInfo_RepStdTypes.Unmarshal(m, b) |
| 847 |
} |
| 848 |
func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 849 |
if deterministic { |
| 850 |
return xxx_messageInfo_RepStdTypes.Marshal(b, m, deterministic) |
| 851 |
} else { |
| 852 |
b = b[:cap(b)] |
| 853 |
n, err := m.MarshalToSizedBuffer(b) |
| 854 |
if err != nil { |
| 855 |
return nil, err |
| 856 |
} |
| 857 |
return b[:n], nil |
| 858 |
} |
| 859 |
} |
| 860 |
func (m *RepStdTypes) XXX_Merge(src proto.Message) { |
| 861 |
xxx_messageInfo_RepStdTypes.Merge(m, src) |
| 862 |
} |
| 863 |
func (m *RepStdTypes) XXX_Size() int { |
| 864 |
return m.Size() |
| 865 |
} |
| 866 |
func (m *RepStdTypes) XXX_DiscardUnknown() { |
| 867 |
xxx_messageInfo_RepStdTypes.DiscardUnknown(m) |
| 868 |
} |
| 869 |
|
| 870 |
var xxx_messageInfo_RepStdTypes proto.InternalMessageInfo |
| 871 |
|
| 872 |
func (m *RepStdTypes) GetNullableTimestamps() []*time.Time { |
| 873 |
if m != nil { |
| 874 |
return m.NullableTimestamps |
| 875 |
} |
| 876 |
return nil |
| 877 |
} |
| 878 |
|
| 879 |
func (m *RepStdTypes) GetNullableDurations() []*time.Duration { |
| 880 |
if m != nil { |
| 881 |
return m.NullableDurations |
| 882 |
} |
| 883 |
return nil |
| 884 |
} |
| 885 |
|
| 886 |
func (m *RepStdTypes) GetTimestamps() []time.Time { |
| 887 |
if m != nil { |
| 888 |
return m.Timestamps |
| 889 |
} |
| 890 |
return nil |
| 891 |
} |
| 892 |
|
| 893 |
func (m *RepStdTypes) GetDurations() []time.Duration { |
| 894 |
if m != nil { |
| 895 |
return m.Durations |
| 896 |
} |
| 897 |
return nil |
| 898 |
} |
| 899 |
|
| 900 |
func (m *RepStdTypes) GetNullableDouble() []*float64 { |
| 901 |
if m != nil { |
| 902 |
return m.NullableDouble |
| 903 |
} |
| 904 |
return nil |
| 905 |
} |
| 906 |
|
| 907 |
func (m *RepStdTypes) GetNonnullDouble() []float64 { |
| 908 |
if m != nil { |
| 909 |
return m.NonnullDouble |
| 910 |
} |
| 911 |
return nil |
| 912 |
} |
| 913 |
|
| 914 |
func (m *RepStdTypes) GetNullableFloat() []*float32 { |
| 915 |
if m != nil { |
| 916 |
return m.NullableFloat |
| 917 |
} |
| 918 |
return nil |
| 919 |
} |
| 920 |
|
| 921 |
func (m *RepStdTypes) GetNonnullFloat() []float32 { |
| 922 |
if m != nil { |
| 923 |
return m.NonnullFloat |
| 924 |
} |
| 925 |
return nil |
| 926 |
} |
| 927 |
|
| 928 |
func (m *RepStdTypes) GetNullableInt64() []*int64 { |
| 929 |
if m != nil { |
| 930 |
return m.NullableInt64 |
| 931 |
} |
| 932 |
return nil |
| 933 |
} |
| 934 |
|
| 935 |
func (m *RepStdTypes) GetNonnullInt64() []int64 { |
| 936 |
if m != nil { |
| 937 |
return m.NonnullInt64 |
| 938 |
} |
| 939 |
return nil |
| 940 |
} |
| 941 |
|
| 942 |
func (m *RepStdTypes) GetNullableUInt64() []*uint64 { |
| 943 |
if m != nil { |
| 944 |
return m.NullableUInt64 |
| 945 |
} |
| 946 |
return nil |
| 947 |
} |
| 948 |
|
| 949 |
func (m *RepStdTypes) GetNonnullUInt64() []uint64 { |
| 950 |
if m != nil { |
| 951 |
return m.NonnullUInt64 |
| 952 |
} |
| 953 |
return nil |
| 954 |
} |
| 955 |
|
| 956 |
func (m *RepStdTypes) GetNullableInt32() []*int32 { |
| 957 |
if m != nil { |
| 958 |
return m.NullableInt32 |
| 959 |
} |
| 960 |
return nil |
| 961 |
} |
| 962 |
|
| 963 |
func (m *RepStdTypes) GetNonnullInt32() []int32 { |
| 964 |
if m != nil { |
| 965 |
return m.NonnullInt32 |
| 966 |
} |
| 967 |
return nil |
| 968 |
} |
| 969 |
|
| 970 |
func (m *RepStdTypes) GetNullableUInt32() []*uint32 { |
| 971 |
if m != nil { |
| 972 |
return m.NullableUInt32 |
| 973 |
} |
| 974 |
return nil |
| 975 |
} |
| 976 |
|
| 977 |
func (m *RepStdTypes) GetNonnullUInt32() []uint32 { |
| 978 |
if m != nil { |
| 979 |
return m.NonnullUInt32 |
| 980 |
} |
| 981 |
return nil |
| 982 |
} |
| 983 |
|
| 984 |
func (m *RepStdTypes) GetNullableBool() []*bool { |
| 985 |
if m != nil { |
| 986 |
return m.NullableBool |
| 987 |
} |
| 988 |
return nil |
| 989 |
} |
| 990 |
|
| 991 |
func (m *RepStdTypes) GetNonnullBool() []bool { |
| 992 |
if m != nil { |
| 993 |
return m.NonnullBool |
| 994 |
} |
| 995 |
return nil |
| 996 |
} |
| 997 |
|
| 998 |
func (m *RepStdTypes) GetNullableString() []*string { |
| 999 |
if m != nil { |
| 1000 |
return m.NullableString |
| 1001 |
} |
| 1002 |
return nil |
| 1003 |
} |
| 1004 |
|
| 1005 |
func (m *RepStdTypes) GetNonnullString() []string { |
| 1006 |
if m != nil { |
| 1007 |
return m.NonnullString |
| 1008 |
} |
| 1009 |
return nil |
| 1010 |
} |
| 1011 |
|
| 1012 |
func (m *RepStdTypes) GetNullableBytes() []*[]byte { |
| 1013 |
if m != nil { |
| 1014 |
return m.NullableBytes |
| 1015 |
} |
| 1016 |
return nil |
| 1017 |
} |
| 1018 |
|
| 1019 |
func (m *RepStdTypes) GetNonnullBytes() [][]byte { |
| 1020 |
if m != nil { |
| 1021 |
return m.NonnullBytes |
| 1022 |
} |
| 1023 |
return nil |
| 1024 |
} |
| 1025 |
|
| 1026 |
type MapProtoTypes struct { |
| 1027 |
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"` |
| 1028 |
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"` |
| 1029 |
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"` |
| 1030 |
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"` |
| 1031 |
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"` |
| 1032 |
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"` |
| 1033 |
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"` |
| 1034 |
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"` |
| 1035 |
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"` |
| 1036 |
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"` |
| 1037 |
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"` |
| 1038 |
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"` |
| 1039 |
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"` |
| 1040 |
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"` |
| 1041 |
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"` |
| 1042 |
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"` |
| 1043 |
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"` |
| 1044 |
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"` |
| 1045 |
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"` |
| 1046 |
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"` |
| 1047 |
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"` |
| 1048 |
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"` |
| 1049 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1050 |
XXX_unrecognized []byte `json:"-"` |
| 1051 |
XXX_sizecache int32 `json:"-"` |
| 1052 |
} |
| 1053 |
|
| 1054 |
func (m *MapProtoTypes) Reset() { *m = MapProtoTypes{} } |
| 1055 |
func (m *MapProtoTypes) String() string { return proto.CompactTextString(m) } |
| 1056 |
func (*MapProtoTypes) ProtoMessage() {} |
| 1057 |
func (*MapProtoTypes) Descriptor() ([]byte, []int) { |
| 1058 |
return fileDescriptor_a143c1648742cb2e, []int{5} |
| 1059 |
} |
| 1060 |
func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error { |
| 1061 |
return xxx_messageInfo_MapProtoTypes.Unmarshal(m, b) |
| 1062 |
} |
| 1063 |
func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1064 |
if deterministic { |
| 1065 |
return xxx_messageInfo_MapProtoTypes.Marshal(b, m, deterministic) |
| 1066 |
} else { |
| 1067 |
b = b[:cap(b)] |
| 1068 |
n, err := m.MarshalToSizedBuffer(b) |
| 1069 |
if err != nil { |
| 1070 |
return nil, err |
| 1071 |
} |
| 1072 |
return b[:n], nil |
| 1073 |
} |
| 1074 |
} |
| 1075 |
func (m *MapProtoTypes) XXX_Merge(src proto.Message) { |
| 1076 |
xxx_messageInfo_MapProtoTypes.Merge(m, src) |
| 1077 |
} |
| 1078 |
func (m *MapProtoTypes) XXX_Size() int { |
| 1079 |
return m.Size() |
| 1080 |
} |
| 1081 |
func (m *MapProtoTypes) XXX_DiscardUnknown() { |
| 1082 |
xxx_messageInfo_MapProtoTypes.DiscardUnknown(m) |
| 1083 |
} |
| 1084 |
|
| 1085 |
var xxx_messageInfo_MapProtoTypes proto.InternalMessageInfo |
| 1086 |
|
| 1087 |
func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp { |
| 1088 |
if m != nil { |
| 1089 |
return m.NullableTimestamp |
| 1090 |
} |
| 1091 |
return nil |
| 1092 |
} |
| 1093 |
|
| 1094 |
func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp { |
| 1095 |
if m != nil { |
| 1096 |
return m.Timestamp |
| 1097 |
} |
| 1098 |
return nil |
| 1099 |
} |
| 1100 |
|
| 1101 |
func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration { |
| 1102 |
if m != nil { |
| 1103 |
return m.NullableDuration |
| 1104 |
} |
| 1105 |
return nil |
| 1106 |
} |
| 1107 |
|
| 1108 |
func (m *MapProtoTypes) GetDuration() map[int32]types.Duration { |
| 1109 |
if m != nil { |
| 1110 |
return m.Duration |
| 1111 |
} |
| 1112 |
return nil |
| 1113 |
} |
| 1114 |
|
| 1115 |
func (m *MapProtoTypes) GetNullableDouble() map[int32]*types.DoubleValue { |
| 1116 |
if m != nil { |
| 1117 |
return m.NullableDouble |
| 1118 |
} |
| 1119 |
return nil |
| 1120 |
} |
| 1121 |
|
| 1122 |
func (m *MapProtoTypes) GetNonnullDouble() map[int32]types.DoubleValue { |
| 1123 |
if m != nil { |
| 1124 |
return m.NonnullDouble |
| 1125 |
} |
| 1126 |
return nil |
| 1127 |
} |
| 1128 |
|
| 1129 |
func (m *MapProtoTypes) GetNullableFloat() map[int32]*types.FloatValue { |
| 1130 |
if m != nil { |
| 1131 |
return m.NullableFloat |
| 1132 |
} |
| 1133 |
return nil |
| 1134 |
} |
| 1135 |
|
| 1136 |
func (m *MapProtoTypes) GetNonnullFloat() map[int32]types.FloatValue { |
| 1137 |
if m != nil { |
| 1138 |
return m.NonnullFloat |
| 1139 |
} |
| 1140 |
return nil |
| 1141 |
} |
| 1142 |
|
| 1143 |
func (m *MapProtoTypes) GetNullableInt64() map[int32]*types.Int64Value { |
| 1144 |
if m != nil { |
| 1145 |
return m.NullableInt64 |
| 1146 |
} |
| 1147 |
return nil |
| 1148 |
} |
| 1149 |
|
| 1150 |
func (m *MapProtoTypes) GetNonnullInt64() map[int32]types.Int64Value { |
| 1151 |
if m != nil { |
| 1152 |
return m.NonnullInt64 |
| 1153 |
} |
| 1154 |
return nil |
| 1155 |
} |
| 1156 |
|
| 1157 |
func (m *MapProtoTypes) GetNullableUInt64() map[int32]*types.UInt64Value { |
| 1158 |
if m != nil { |
| 1159 |
return m.NullableUInt64 |
| 1160 |
} |
| 1161 |
return nil |
| 1162 |
} |
| 1163 |
|
| 1164 |
func (m *MapProtoTypes) GetNonnullUInt64() map[int32]types.UInt64Value { |
| 1165 |
if m != nil { |
| 1166 |
return m.NonnullUInt64 |
| 1167 |
} |
| 1168 |
return nil |
| 1169 |
} |
| 1170 |
|
| 1171 |
func (m *MapProtoTypes) GetNullableInt32() map[int32]*types.Int32Value { |
| 1172 |
if m != nil { |
| 1173 |
return m.NullableInt32 |
| 1174 |
} |
| 1175 |
return nil |
| 1176 |
} |
| 1177 |
|
| 1178 |
func (m *MapProtoTypes) GetNonnullInt32() map[int32]types.Int32Value { |
| 1179 |
if m != nil { |
| 1180 |
return m.NonnullInt32 |
| 1181 |
} |
| 1182 |
return nil |
| 1183 |
} |
| 1184 |
|
| 1185 |
func (m *MapProtoTypes) GetNullableUInt32() map[int32]*types.UInt32Value { |
| 1186 |
if m != nil { |
| 1187 |
return m.NullableUInt32 |
| 1188 |
} |
| 1189 |
return nil |
| 1190 |
} |
| 1191 |
|
| 1192 |
func (m *MapProtoTypes) GetNonnullUInt32() map[int32]types.UInt32Value { |
| 1193 |
if m != nil { |
| 1194 |
return m.NonnullUInt32 |
| 1195 |
} |
| 1196 |
return nil |
| 1197 |
} |
| 1198 |
|
| 1199 |
func (m *MapProtoTypes) GetNullableBool() map[int32]*types.BoolValue { |
| 1200 |
if m != nil { |
| 1201 |
return m.NullableBool |
| 1202 |
} |
| 1203 |
return nil |
| 1204 |
} |
| 1205 |
|
| 1206 |
func (m *MapProtoTypes) GetNonnullBool() map[int32]types.BoolValue { |
| 1207 |
if m != nil { |
| 1208 |
return m.NonnullBool |
| 1209 |
} |
| 1210 |
return nil |
| 1211 |
} |
| 1212 |
|
| 1213 |
func (m *MapProtoTypes) GetNullableString() map[int32]*types.StringValue { |
| 1214 |
if m != nil { |
| 1215 |
return m.NullableString |
| 1216 |
} |
| 1217 |
return nil |
| 1218 |
} |
| 1219 |
|
| 1220 |
func (m *MapProtoTypes) GetNonnullString() map[int32]types.StringValue { |
| 1221 |
if m != nil { |
| 1222 |
return m.NonnullString |
| 1223 |
} |
| 1224 |
return nil |
| 1225 |
} |
| 1226 |
|
| 1227 |
func (m *MapProtoTypes) GetNullableBytes() map[int32]*types.BytesValue { |
| 1228 |
if m != nil { |
| 1229 |
return m.NullableBytes |
| 1230 |
} |
| 1231 |
return nil |
| 1232 |
} |
| 1233 |
|
| 1234 |
func (m *MapProtoTypes) GetNonnullBytes() map[int32]types.BytesValue { |
| 1235 |
if m != nil { |
| 1236 |
return m.NonnullBytes |
| 1237 |
} |
| 1238 |
return nil |
| 1239 |
} |
| 1240 |
|
| 1241 |
type MapStdTypes struct { |
| 1242 |
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"` |
| 1243 |
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"` |
| 1244 |
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"` |
| 1245 |
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"` |
| 1246 |
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"` |
| 1247 |
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"` |
| 1248 |
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"` |
| 1249 |
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"` |
| 1250 |
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"` |
| 1251 |
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"` |
| 1252 |
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"` |
| 1253 |
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"` |
| 1254 |
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"` |
| 1255 |
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"` |
| 1256 |
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"` |
| 1257 |
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"` |
| 1258 |
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"` |
| 1259 |
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"` |
| 1260 |
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"` |
| 1261 |
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"` |
| 1262 |
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"` |
| 1263 |
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"` |
| 1264 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1265 |
XXX_unrecognized []byte `json:"-"` |
| 1266 |
XXX_sizecache int32 `json:"-"` |
| 1267 |
} |
| 1268 |
|
| 1269 |
func (m *MapStdTypes) Reset() { *m = MapStdTypes{} } |
| 1270 |
func (m *MapStdTypes) String() string { return proto.CompactTextString(m) } |
| 1271 |
func (*MapStdTypes) ProtoMessage() {} |
| 1272 |
func (*MapStdTypes) Descriptor() ([]byte, []int) { |
| 1273 |
return fileDescriptor_a143c1648742cb2e, []int{6} |
| 1274 |
} |
| 1275 |
func (m *MapStdTypes) XXX_Unmarshal(b []byte) error { |
| 1276 |
return xxx_messageInfo_MapStdTypes.Unmarshal(m, b) |
| 1277 |
} |
| 1278 |
func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1279 |
if deterministic { |
| 1280 |
return xxx_messageInfo_MapStdTypes.Marshal(b, m, deterministic) |
| 1281 |
} else { |
| 1282 |
b = b[:cap(b)] |
| 1283 |
n, err := m.MarshalToSizedBuffer(b) |
| 1284 |
if err != nil { |
| 1285 |
return nil, err |
| 1286 |
} |
| 1287 |
return b[:n], nil |
| 1288 |
} |
| 1289 |
} |
| 1290 |
func (m *MapStdTypes) XXX_Merge(src proto.Message) { |
| 1291 |
xxx_messageInfo_MapStdTypes.Merge(m, src) |
| 1292 |
} |
| 1293 |
func (m *MapStdTypes) XXX_Size() int { |
| 1294 |
return m.Size() |
| 1295 |
} |
| 1296 |
func (m *MapStdTypes) XXX_DiscardUnknown() { |
| 1297 |
xxx_messageInfo_MapStdTypes.DiscardUnknown(m) |
| 1298 |
} |
| 1299 |
|
| 1300 |
var xxx_messageInfo_MapStdTypes proto.InternalMessageInfo |
| 1301 |
|
| 1302 |
func (m *MapStdTypes) GetNullableTimestamp() map[int32]*time.Time { |
| 1303 |
if m != nil { |
| 1304 |
return m.NullableTimestamp |
| 1305 |
} |
| 1306 |
return nil |
| 1307 |
} |
| 1308 |
|
| 1309 |
func (m *MapStdTypes) GetTimestamp() map[int32]time.Time { |
| 1310 |
if m != nil { |
| 1311 |
return m.Timestamp |
| 1312 |
} |
| 1313 |
return nil |
| 1314 |
} |
| 1315 |
|
| 1316 |
func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration { |
| 1317 |
if m != nil { |
| 1318 |
return m.NullableDuration |
| 1319 |
} |
| 1320 |
return nil |
| 1321 |
} |
| 1322 |
|
| 1323 |
func (m *MapStdTypes) GetDuration() map[int32]time.Duration { |
| 1324 |
if m != nil { |
| 1325 |
return m.Duration |
| 1326 |
} |
| 1327 |
return nil |
| 1328 |
} |
| 1329 |
|
| 1330 |
func (m *MapStdTypes) GetNullableDouble() map[int32]*float64 { |
| 1331 |
if m != nil { |
| 1332 |
return m.NullableDouble |
| 1333 |
} |
| 1334 |
return nil |
| 1335 |
} |
| 1336 |
|
| 1337 |
func (m *MapStdTypes) GetNonnullDouble() map[int32]float64 { |
| 1338 |
if m != nil { |
| 1339 |
return m.NonnullDouble |
| 1340 |
} |
| 1341 |
return nil |
| 1342 |
} |
| 1343 |
|
| 1344 |
func (m *MapStdTypes) GetNullableFloat() map[int32]*float32 { |
| 1345 |
if m != nil { |
| 1346 |
return m.NullableFloat |
| 1347 |
} |
| 1348 |
return nil |
| 1349 |
} |
| 1350 |
|
| 1351 |
func (m *MapStdTypes) GetNonnullFloat() map[int32]float32 { |
| 1352 |
if m != nil { |
| 1353 |
return m.NonnullFloat |
| 1354 |
} |
| 1355 |
return nil |
| 1356 |
} |
| 1357 |
|
| 1358 |
func (m *MapStdTypes) GetNullableInt64() map[int32]*int64 { |
| 1359 |
if m != nil { |
| 1360 |
return m.NullableInt64 |
| 1361 |
} |
| 1362 |
return nil |
| 1363 |
} |
| 1364 |
|
| 1365 |
func (m *MapStdTypes) GetNonnullInt64() map[int32]int64 { |
| 1366 |
if m != nil { |
| 1367 |
return m.NonnullInt64 |
| 1368 |
} |
| 1369 |
return nil |
| 1370 |
} |
| 1371 |
|
| 1372 |
func (m *MapStdTypes) GetNullableUInt64() map[int32]*uint64 { |
| 1373 |
if m != nil { |
| 1374 |
return m.NullableUInt64 |
| 1375 |
} |
| 1376 |
return nil |
| 1377 |
} |
| 1378 |
|
| 1379 |
func (m *MapStdTypes) GetNonnullUInt64() map[int32]uint64 { |
| 1380 |
if m != nil { |
| 1381 |
return m.NonnullUInt64 |
| 1382 |
} |
| 1383 |
return nil |
| 1384 |
} |
| 1385 |
|
| 1386 |
func (m *MapStdTypes) GetNullableInt32() map[int32]*int32 { |
| 1387 |
if m != nil { |
| 1388 |
return m.NullableInt32 |
| 1389 |
} |
| 1390 |
return nil |
| 1391 |
} |
| 1392 |
|
| 1393 |
func (m *MapStdTypes) GetNonnullInt32() map[int32]int32 { |
| 1394 |
if m != nil { |
| 1395 |
return m.NonnullInt32 |
| 1396 |
} |
| 1397 |
return nil |
| 1398 |
} |
| 1399 |
|
| 1400 |
func (m *MapStdTypes) GetNullableUInt32() map[int32]*uint32 { |
| 1401 |
if m != nil { |
| 1402 |
return m.NullableUInt32 |
| 1403 |
} |
| 1404 |
return nil |
| 1405 |
} |
| 1406 |
|
| 1407 |
func (m *MapStdTypes) GetNonnullUInt32() map[int32]uint32 { |
| 1408 |
if m != nil { |
| 1409 |
return m.NonnullUInt32 |
| 1410 |
} |
| 1411 |
return nil |
| 1412 |
} |
| 1413 |
|
| 1414 |
func (m *MapStdTypes) GetNullableBool() map[int32]*bool { |
| 1415 |
if m != nil { |
| 1416 |
return m.NullableBool |
| 1417 |
} |
| 1418 |
return nil |
| 1419 |
} |
| 1420 |
|
| 1421 |
func (m *MapStdTypes) GetNonnullBool() map[int32]bool { |
| 1422 |
if m != nil { |
| 1423 |
return m.NonnullBool |
| 1424 |
} |
| 1425 |
return nil |
| 1426 |
} |
| 1427 |
|
| 1428 |
func (m *MapStdTypes) GetNullableString() map[int32]*string { |
| 1429 |
if m != nil { |
| 1430 |
return m.NullableString |
| 1431 |
} |
| 1432 |
return nil |
| 1433 |
} |
| 1434 |
|
| 1435 |
func (m *MapStdTypes) GetNonnullString() map[int32]string { |
| 1436 |
if m != nil { |
| 1437 |
return m.NonnullString |
| 1438 |
} |
| 1439 |
return nil |
| 1440 |
} |
| 1441 |
|
| 1442 |
func (m *MapStdTypes) GetNullableBytes() map[int32]*[]byte { |
| 1443 |
if m != nil { |
| 1444 |
return m.NullableBytes |
| 1445 |
} |
| 1446 |
return nil |
| 1447 |
} |
| 1448 |
|
| 1449 |
func (m *MapStdTypes) GetNonnullBytes() map[int32][]byte { |
| 1450 |
if m != nil { |
| 1451 |
return m.NonnullBytes |
| 1452 |
} |
| 1453 |
return nil |
| 1454 |
} |
| 1455 |
|
| 1456 |
type OneofProtoTypes struct { |
| 1457 |
|
| 1458 |
|
| 1459 |
|
| 1460 |
|
| 1461 |
|
| 1462 |
|
| 1463 |
|
| 1464 |
|
| 1465 |
|
| 1466 |
|
| 1467 |
|
| 1468 |
|
| 1469 |
OneOfProtoTimes isOneofProtoTypes_OneOfProtoTimes `protobuf_oneof:"OneOfProtoTimes"` |
| 1470 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1471 |
XXX_unrecognized []byte `json:"-"` |
| 1472 |
XXX_sizecache int32 `json:"-"` |
| 1473 |
} |
| 1474 |
|
| 1475 |
func (m *OneofProtoTypes) Reset() { *m = OneofProtoTypes{} } |
| 1476 |
func (m *OneofProtoTypes) String() string { return proto.CompactTextString(m) } |
| 1477 |
func (*OneofProtoTypes) ProtoMessage() {} |
| 1478 |
func (*OneofProtoTypes) Descriptor() ([]byte, []int) { |
| 1479 |
return fileDescriptor_a143c1648742cb2e, []int{7} |
| 1480 |
} |
| 1481 |
func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error { |
| 1482 |
return xxx_messageInfo_OneofProtoTypes.Unmarshal(m, b) |
| 1483 |
} |
| 1484 |
func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1485 |
if deterministic { |
| 1486 |
return xxx_messageInfo_OneofProtoTypes.Marshal(b, m, deterministic) |
| 1487 |
} else { |
| 1488 |
b = b[:cap(b)] |
| 1489 |
n, err := m.MarshalToSizedBuffer(b) |
| 1490 |
if err != nil { |
| 1491 |
return nil, err |
| 1492 |
} |
| 1493 |
return b[:n], nil |
| 1494 |
} |
| 1495 |
} |
| 1496 |
func (m *OneofProtoTypes) XXX_Merge(src proto.Message) { |
| 1497 |
xxx_messageInfo_OneofProtoTypes.Merge(m, src) |
| 1498 |
} |
| 1499 |
func (m *OneofProtoTypes) XXX_Size() int { |
| 1500 |
return m.Size() |
| 1501 |
} |
| 1502 |
func (m *OneofProtoTypes) XXX_DiscardUnknown() { |
| 1503 |
xxx_messageInfo_OneofProtoTypes.DiscardUnknown(m) |
| 1504 |
} |
| 1505 |
|
| 1506 |
var xxx_messageInfo_OneofProtoTypes proto.InternalMessageInfo |
| 1507 |
|
| 1508 |
type isOneofProtoTypes_OneOfProtoTimes interface { |
| 1509 |
isOneofProtoTypes_OneOfProtoTimes() |
| 1510 |
Equal(interface{}) bool |
| 1511 |
VerboseEqual(interface{}) error |
| 1512 |
MarshalTo([]byte) (int, error) |
| 1513 |
Size() int |
| 1514 |
} |
| 1515 |
|
| 1516 |
type OneofProtoTypes_Timestamp struct { |
| 1517 |
Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"` |
| 1518 |
} |
| 1519 |
type OneofProtoTypes_Duration struct { |
| 1520 |
Duration *types.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof" json:"duration,omitempty"` |
| 1521 |
} |
| 1522 |
type OneofProtoTypes_RepDouble struct { |
| 1523 |
RepDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof" json:"repDouble,omitempty"` |
| 1524 |
} |
| 1525 |
type OneofProtoTypes_RepFloat struct { |
| 1526 |
RepFloat *types.FloatValue `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof" json:"repFloat,omitempty"` |
| 1527 |
} |
| 1528 |
type OneofProtoTypes_RepInt64 struct { |
| 1529 |
RepInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof" json:"repInt64,omitempty"` |
| 1530 |
} |
| 1531 |
type OneofProtoTypes_RepUInt64 struct { |
| 1532 |
RepUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof" json:"repUInt64,omitempty"` |
| 1533 |
} |
| 1534 |
type OneofProtoTypes_RepInt32 struct { |
| 1535 |
RepInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof" json:"repInt32,omitempty"` |
| 1536 |
} |
| 1537 |
type OneofProtoTypes_RepUInt32 struct { |
| 1538 |
RepUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof" json:"repUInt32,omitempty"` |
| 1539 |
} |
| 1540 |
type OneofProtoTypes_RepBool struct { |
| 1541 |
RepBool *types.BoolValue `protobuf:"bytes,9,opt,name=repBool,proto3,oneof" json:"repBool,omitempty"` |
| 1542 |
} |
| 1543 |
type OneofProtoTypes_RepString struct { |
| 1544 |
RepString *types.StringValue `protobuf:"bytes,10,opt,name=repString,proto3,oneof" json:"repString,omitempty"` |
| 1545 |
} |
| 1546 |
type OneofProtoTypes_RepBytes struct { |
| 1547 |
RepBytes *types.BytesValue `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof" json:"repBytes,omitempty"` |
| 1548 |
} |
| 1549 |
|
| 1550 |
func (*OneofProtoTypes_Timestamp) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1551 |
func (*OneofProtoTypes_Duration) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1552 |
func (*OneofProtoTypes_RepDouble) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1553 |
func (*OneofProtoTypes_RepFloat) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1554 |
func (*OneofProtoTypes_RepInt64) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1555 |
func (*OneofProtoTypes_RepUInt64) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1556 |
func (*OneofProtoTypes_RepInt32) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1557 |
func (*OneofProtoTypes_RepUInt32) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1558 |
func (*OneofProtoTypes_RepBool) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1559 |
func (*OneofProtoTypes_RepString) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1560 |
func (*OneofProtoTypes_RepBytes) isOneofProtoTypes_OneOfProtoTimes() {} |
| 1561 |
|
| 1562 |
func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes { |
| 1563 |
if m != nil { |
| 1564 |
return m.OneOfProtoTimes |
| 1565 |
} |
| 1566 |
return nil |
| 1567 |
} |
| 1568 |
|
| 1569 |
func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp { |
| 1570 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Timestamp); ok { |
| 1571 |
return x.Timestamp |
| 1572 |
} |
| 1573 |
return nil |
| 1574 |
} |
| 1575 |
|
| 1576 |
func (m *OneofProtoTypes) GetDuration() *types.Duration { |
| 1577 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Duration); ok { |
| 1578 |
return x.Duration |
| 1579 |
} |
| 1580 |
return nil |
| 1581 |
} |
| 1582 |
|
| 1583 |
func (m *OneofProtoTypes) GetRepDouble() *types.DoubleValue { |
| 1584 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepDouble); ok { |
| 1585 |
return x.RepDouble |
| 1586 |
} |
| 1587 |
return nil |
| 1588 |
} |
| 1589 |
|
| 1590 |
func (m *OneofProtoTypes) GetRepFloat() *types.FloatValue { |
| 1591 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepFloat); ok { |
| 1592 |
return x.RepFloat |
| 1593 |
} |
| 1594 |
return nil |
| 1595 |
} |
| 1596 |
|
| 1597 |
func (m *OneofProtoTypes) GetRepInt64() *types.Int64Value { |
| 1598 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt64); ok { |
| 1599 |
return x.RepInt64 |
| 1600 |
} |
| 1601 |
return nil |
| 1602 |
} |
| 1603 |
|
| 1604 |
func (m *OneofProtoTypes) GetRepUInt64() *types.UInt64Value { |
| 1605 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt64); ok { |
| 1606 |
return x.RepUInt64 |
| 1607 |
} |
| 1608 |
return nil |
| 1609 |
} |
| 1610 |
|
| 1611 |
func (m *OneofProtoTypes) GetRepInt32() *types.Int32Value { |
| 1612 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt32); ok { |
| 1613 |
return x.RepInt32 |
| 1614 |
} |
| 1615 |
return nil |
| 1616 |
} |
| 1617 |
|
| 1618 |
func (m *OneofProtoTypes) GetRepUInt32() *types.UInt32Value { |
| 1619 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt32); ok { |
| 1620 |
return x.RepUInt32 |
| 1621 |
} |
| 1622 |
return nil |
| 1623 |
} |
| 1624 |
|
| 1625 |
func (m *OneofProtoTypes) GetRepBool() *types.BoolValue { |
| 1626 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBool); ok { |
| 1627 |
return x.RepBool |
| 1628 |
} |
| 1629 |
return nil |
| 1630 |
} |
| 1631 |
|
| 1632 |
func (m *OneofProtoTypes) GetRepString() *types.StringValue { |
| 1633 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepString); ok { |
| 1634 |
return x.RepString |
| 1635 |
} |
| 1636 |
return nil |
| 1637 |
} |
| 1638 |
|
| 1639 |
func (m *OneofProtoTypes) GetRepBytes() *types.BytesValue { |
| 1640 |
if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBytes); ok { |
| 1641 |
return x.RepBytes |
| 1642 |
} |
| 1643 |
return nil |
| 1644 |
} |
| 1645 |
|
| 1646 |
|
| 1647 |
func (*OneofProtoTypes) XXX_OneofWrappers() []interface{} { |
| 1648 |
return []interface{}{ |
| 1649 |
(*OneofProtoTypes_Timestamp)(nil), |
| 1650 |
(*OneofProtoTypes_Duration)(nil), |
| 1651 |
(*OneofProtoTypes_RepDouble)(nil), |
| 1652 |
(*OneofProtoTypes_RepFloat)(nil), |
| 1653 |
(*OneofProtoTypes_RepInt64)(nil), |
| 1654 |
(*OneofProtoTypes_RepUInt64)(nil), |
| 1655 |
(*OneofProtoTypes_RepInt32)(nil), |
| 1656 |
(*OneofProtoTypes_RepUInt32)(nil), |
| 1657 |
(*OneofProtoTypes_RepBool)(nil), |
| 1658 |
(*OneofProtoTypes_RepString)(nil), |
| 1659 |
(*OneofProtoTypes_RepBytes)(nil), |
| 1660 |
} |
| 1661 |
} |
| 1662 |
|
| 1663 |
type OneofStdTypes struct { |
| 1664 |
|
| 1665 |
|
| 1666 |
|
| 1667 |
|
| 1668 |
|
| 1669 |
|
| 1670 |
|
| 1671 |
|
| 1672 |
|
| 1673 |
|
| 1674 |
|
| 1675 |
|
| 1676 |
OneOfStdTimes isOneofStdTypes_OneOfStdTimes `protobuf_oneof:"OneOfStdTimes"` |
| 1677 |
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1678 |
XXX_unrecognized []byte `json:"-"` |
| 1679 |
XXX_sizecache int32 `json:"-"` |
| 1680 |
} |
| 1681 |
|
| 1682 |
func (m *OneofStdTypes) Reset() { *m = OneofStdTypes{} } |
| 1683 |
func (m *OneofStdTypes) String() string { return proto.CompactTextString(m) } |
| 1684 |
func (*OneofStdTypes) ProtoMessage() {} |
| 1685 |
func (*OneofStdTypes) Descriptor() ([]byte, []int) { |
| 1686 |
return fileDescriptor_a143c1648742cb2e, []int{8} |
| 1687 |
} |
| 1688 |
func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error { |
| 1689 |
return xxx_messageInfo_OneofStdTypes.Unmarshal(m, b) |
| 1690 |
} |
| 1691 |
func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1692 |
if deterministic { |
| 1693 |
return xxx_messageInfo_OneofStdTypes.Marshal(b, m, deterministic) |
| 1694 |
} else { |
| 1695 |
b = b[:cap(b)] |
| 1696 |
n, err := m.MarshalToSizedBuffer(b) |
| 1697 |
if err != nil { |
| 1698 |
return nil, err |
| 1699 |
} |
| 1700 |
return b[:n], nil |
| 1701 |
} |
| 1702 |
} |
| 1703 |
func (m *OneofStdTypes) XXX_Merge(src proto.Message) { |
| 1704 |
xxx_messageInfo_OneofStdTypes.Merge(m, src) |
| 1705 |
} |
| 1706 |
func (m *OneofStdTypes) XXX_Size() int { |
| 1707 |
return m.Size() |
| 1708 |
} |
| 1709 |
func (m *OneofStdTypes) XXX_DiscardUnknown() { |
| 1710 |
xxx_messageInfo_OneofStdTypes.DiscardUnknown(m) |
| 1711 |
} |
| 1712 |
|
| 1713 |
var xxx_messageInfo_OneofStdTypes proto.InternalMessageInfo |
| 1714 |
|
| 1715 |
type isOneofStdTypes_OneOfStdTimes interface { |
| 1716 |
isOneofStdTypes_OneOfStdTimes() |
| 1717 |
Equal(interface{}) bool |
| 1718 |
VerboseEqual(interface{}) error |
| 1719 |
MarshalTo([]byte) (int, error) |
| 1720 |
Size() int |
| 1721 |
} |
| 1722 |
|
| 1723 |
type OneofStdTypes_Timestamp struct { |
| 1724 |
Timestamp *time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof,stdtime" json:"timestamp,omitempty"` |
| 1725 |
} |
| 1726 |
type OneofStdTypes_Duration struct { |
| 1727 |
Duration *time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof,stdduration" json:"duration,omitempty"` |
| 1728 |
} |
| 1729 |
type OneofStdTypes_RepDouble struct { |
| 1730 |
RepDouble *float64 `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof,wktptr" json:"repDouble,omitempty"` |
| 1731 |
} |
| 1732 |
type OneofStdTypes_RepFloat struct { |
| 1733 |
RepFloat *float32 `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof,wktptr" json:"repFloat,omitempty"` |
| 1734 |
} |
| 1735 |
type OneofStdTypes_RepInt64 struct { |
| 1736 |
RepInt64 *int64 `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof,wktptr" json:"repInt64,omitempty"` |
| 1737 |
} |
| 1738 |
type OneofStdTypes_RepUInt64 struct { |
| 1739 |
RepUInt64 *uint64 `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof,wktptr" json:"repUInt64,omitempty"` |
| 1740 |
} |
| 1741 |
type OneofStdTypes_RepInt32 struct { |
| 1742 |
RepInt32 *int32 `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof,wktptr" json:"repInt32,omitempty"` |
| 1743 |
} |
| 1744 |
type OneofStdTypes_RepUInt32 struct { |
| 1745 |
RepUInt32 *uint32 `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof,wktptr" json:"repUInt32,omitempty"` |
| 1746 |
} |
| 1747 |
type OneofStdTypes_RepBool struct { |
| 1748 |
RepBool *bool `protobuf:"bytes,9,opt,name=repBool,proto3,oneof,wktptr" json:"repBool,omitempty"` |
| 1749 |
} |
| 1750 |
type OneofStdTypes_RepString struct { |
| 1751 |
RepString *string `protobuf:"bytes,10,opt,name=repString,proto3,oneof,wktptr" json:"repString,omitempty"` |
| 1752 |
} |
| 1753 |
type OneofStdTypes_RepBytes struct { |
| 1754 |
RepBytes *[]byte `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof,wktptr" json:"repBytes,omitempty"` |
| 1755 |
} |
| 1756 |
|
| 1757 |
func (*OneofStdTypes_Timestamp) isOneofStdTypes_OneOfStdTimes() {} |
| 1758 |
func (*OneofStdTypes_Duration) isOneofStdTypes_OneOfStdTimes() {} |
| 1759 |
func (*OneofStdTypes_RepDouble) isOneofStdTypes_OneOfStdTimes() {} |
| 1760 |
func (*OneofStdTypes_RepFloat) isOneofStdTypes_OneOfStdTimes() {} |
| 1761 |
func (*OneofStdTypes_RepInt64) isOneofStdTypes_OneOfStdTimes() {} |
| 1762 |
func (*OneofStdTypes_RepUInt64) isOneofStdTypes_OneOfStdTimes() {} |
| 1763 |
func (*OneofStdTypes_RepInt32) isOneofStdTypes_OneOfStdTimes() {} |
| 1764 |
func (*OneofStdTypes_RepUInt32) isOneofStdTypes_OneOfStdTimes() {} |
| 1765 |
func (*OneofStdTypes_RepBool) isOneofStdTypes_OneOfStdTimes() {} |
| 1766 |
func (*OneofStdTypes_RepString) isOneofStdTypes_OneOfStdTimes() {} |
| 1767 |
func (*OneofStdTypes_RepBytes) isOneofStdTypes_OneOfStdTimes() {} |
| 1768 |
|
| 1769 |
func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes { |
| 1770 |
if m != nil { |
| 1771 |
return m.OneOfStdTimes |
| 1772 |
} |
| 1773 |
return nil |
| 1774 |
} |
| 1775 |
|
| 1776 |
func (m *OneofStdTypes) GetTimestamp() *time.Time { |
| 1777 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Timestamp); ok { |
| 1778 |
return x.Timestamp |
| 1779 |
} |
| 1780 |
return nil |
| 1781 |
} |
| 1782 |
|
| 1783 |
func (m *OneofStdTypes) GetDuration() *time.Duration { |
| 1784 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Duration); ok { |
| 1785 |
return x.Duration |
| 1786 |
} |
| 1787 |
return nil |
| 1788 |
} |
| 1789 |
|
| 1790 |
func (m *OneofStdTypes) GetRepDouble() *float64 { |
| 1791 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepDouble); ok { |
| 1792 |
return x.RepDouble |
| 1793 |
} |
| 1794 |
return nil |
| 1795 |
} |
| 1796 |
|
| 1797 |
func (m *OneofStdTypes) GetRepFloat() *float32 { |
| 1798 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepFloat); ok { |
| 1799 |
return x.RepFloat |
| 1800 |
} |
| 1801 |
return nil |
| 1802 |
} |
| 1803 |
|
| 1804 |
func (m *OneofStdTypes) GetRepInt64() *int64 { |
| 1805 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt64); ok { |
| 1806 |
return x.RepInt64 |
| 1807 |
} |
| 1808 |
return nil |
| 1809 |
} |
| 1810 |
|
| 1811 |
func (m *OneofStdTypes) GetRepUInt64() *uint64 { |
| 1812 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt64); ok { |
| 1813 |
return x.RepUInt64 |
| 1814 |
} |
| 1815 |
return nil |
| 1816 |
} |
| 1817 |
|
| 1818 |
func (m *OneofStdTypes) GetRepInt32() *int32 { |
| 1819 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt32); ok { |
| 1820 |
return x.RepInt32 |
| 1821 |
} |
| 1822 |
return nil |
| 1823 |
} |
| 1824 |
|
| 1825 |
func (m *OneofStdTypes) GetRepUInt32() *uint32 { |
| 1826 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt32); ok { |
| 1827 |
return x.RepUInt32 |
| 1828 |
} |
| 1829 |
return nil |
| 1830 |
} |
| 1831 |
|
| 1832 |
func (m *OneofStdTypes) GetRepBool() *bool { |
| 1833 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBool); ok { |
| 1834 |
return x.RepBool |
| 1835 |
} |
| 1836 |
return nil |
| 1837 |
} |
| 1838 |
|
| 1839 |
func (m *OneofStdTypes) GetRepString() *string { |
| 1840 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepString); ok { |
| 1841 |
return x.RepString |
| 1842 |
} |
| 1843 |
return nil |
| 1844 |
} |
| 1845 |
|
| 1846 |
func (m *OneofStdTypes) GetRepBytes() *[]byte { |
| 1847 |
if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBytes); ok { |
| 1848 |
return x.RepBytes |
| 1849 |
} |
| 1850 |
return nil |
| 1851 |
} |
| 1852 |
|
| 1853 |
|
| 1854 |
func (*OneofStdTypes) XXX_OneofWrappers() []interface{} { |
| 1855 |
return []interface{}{ |
| 1856 |
(*OneofStdTypes_Timestamp)(nil), |
| 1857 |
(*OneofStdTypes_Duration)(nil), |
| 1858 |
(*OneofStdTypes_RepDouble)(nil), |
| 1859 |
(*OneofStdTypes_RepFloat)(nil), |
| 1860 |
(*OneofStdTypes_RepInt64)(nil), |
| 1861 |
(*OneofStdTypes_RepUInt64)(nil), |
| 1862 |
(*OneofStdTypes_RepInt32)(nil), |
| 1863 |
(*OneofStdTypes_RepUInt32)(nil), |
| 1864 |
(*OneofStdTypes_RepBool)(nil), |
| 1865 |
(*OneofStdTypes_RepString)(nil), |
| 1866 |
(*OneofStdTypes_RepBytes)(nil), |
| 1867 |
} |
| 1868 |
} |
| 1869 |
|
| 1870 |
func init() { |
| 1871 |
proto.RegisterType((*KnownTypes)(nil), "types.KnownTypes") |
| 1872 |
proto.RegisterType((*ProtoTypes)(nil), "types.ProtoTypes") |
| 1873 |
proto.RegisterType((*StdTypes)(nil), "types.StdTypes") |
| 1874 |
proto.RegisterType((*RepProtoTypes)(nil), "types.RepProtoTypes") |
| 1875 |
proto.RegisterType((*RepStdTypes)(nil), "types.RepStdTypes") |
| 1876 |
proto.RegisterType((*MapProtoTypes)(nil), "types.MapProtoTypes") |
| 1877 |
proto.RegisterMapType((map[int32]types.Duration)(nil), "types.MapProtoTypes.DurationEntry") |
| 1878 |
proto.RegisterMapType((map[int32]types.BoolValue)(nil), "types.MapProtoTypes.NonnullBoolEntry") |
| 1879 |
proto.RegisterMapType((map[int32]types.BytesValue)(nil), "types.MapProtoTypes.NonnullBytesEntry") |
| 1880 |
proto.RegisterMapType((map[int32]types.DoubleValue)(nil), "types.MapProtoTypes.NonnullDoubleEntry") |
| 1881 |
proto.RegisterMapType((map[int32]types.FloatValue)(nil), "types.MapProtoTypes.NonnullFloatEntry") |
| 1882 |
proto.RegisterMapType((map[int32]types.Int32Value)(nil), "types.MapProtoTypes.NonnullInt32Entry") |
| 1883 |
proto.RegisterMapType((map[int32]types.Int64Value)(nil), "types.MapProtoTypes.NonnullInt64Entry") |
| 1884 |
proto.RegisterMapType((map[int32]types.StringValue)(nil), "types.MapProtoTypes.NonnullStringEntry") |
| 1885 |
proto.RegisterMapType((map[int32]types.UInt32Value)(nil), "types.MapProtoTypes.NonnullUInt32Entry") |
| 1886 |
proto.RegisterMapType((map[int32]types.UInt64Value)(nil), "types.MapProtoTypes.NonnullUInt64Entry") |
| 1887 |
proto.RegisterMapType((map[int32]*types.BoolValue)(nil), "types.MapProtoTypes.NullableBoolEntry") |
| 1888 |
proto.RegisterMapType((map[int32]*types.BytesValue)(nil), "types.MapProtoTypes.NullableBytesEntry") |
| 1889 |
proto.RegisterMapType((map[int32]*types.DoubleValue)(nil), "types.MapProtoTypes.NullableDoubleEntry") |
| 1890 |
proto.RegisterMapType((map[int32]*types.Duration)(nil), "types.MapProtoTypes.NullableDurationEntry") |
| 1891 |
proto.RegisterMapType((map[int32]*types.FloatValue)(nil), "types.MapProtoTypes.NullableFloatEntry") |
| 1892 |
proto.RegisterMapType((map[int32]*types.Int32Value)(nil), "types.MapProtoTypes.NullableInt32Entry") |
| 1893 |
proto.RegisterMapType((map[int32]*types.Int64Value)(nil), "types.MapProtoTypes.NullableInt64Entry") |
| 1894 |
proto.RegisterMapType((map[int32]*types.StringValue)(nil), "types.MapProtoTypes.NullableStringEntry") |
| 1895 |
proto.RegisterMapType((map[int32]*types.Timestamp)(nil), "types.MapProtoTypes.NullableTimestampEntry") |
| 1896 |
proto.RegisterMapType((map[int32]*types.UInt32Value)(nil), "types.MapProtoTypes.NullableUInt32Entry") |
| 1897 |
proto.RegisterMapType((map[int32]*types.UInt64Value)(nil), "types.MapProtoTypes.NullableUInt64Entry") |
| 1898 |
proto.RegisterMapType((map[int32]types.Timestamp)(nil), "types.MapProtoTypes.TimestampEntry") |
| 1899 |
proto.RegisterType((*MapStdTypes)(nil), "types.MapStdTypes") |
| 1900 |
proto.RegisterMapType((map[int32]time.Duration)(nil), "types.MapStdTypes.DurationEntry") |
| 1901 |
proto.RegisterMapType((map[int32]bool)(nil), "types.MapStdTypes.NonnullBoolEntry") |
| 1902 |
proto.RegisterMapType((map[int32][]byte)(nil), "types.MapStdTypes.NonnullBytesEntry") |
| 1903 |
proto.RegisterMapType((map[int32]float64)(nil), "types.MapStdTypes.NonnullDoubleEntry") |
| 1904 |
proto.RegisterMapType((map[int32]float32)(nil), "types.MapStdTypes.NonnullFloatEntry") |
| 1905 |
proto.RegisterMapType((map[int32]int32)(nil), "types.MapStdTypes.NonnullInt32Entry") |
| 1906 |
proto.RegisterMapType((map[int32]int64)(nil), "types.MapStdTypes.NonnullInt64Entry") |
| 1907 |
proto.RegisterMapType((map[int32]string)(nil), "types.MapStdTypes.NonnullStringEntry") |
| 1908 |
proto.RegisterMapType((map[int32]uint32)(nil), "types.MapStdTypes.NonnullUInt32Entry") |
| 1909 |
proto.RegisterMapType((map[int32]uint64)(nil), "types.MapStdTypes.NonnullUInt64Entry") |
| 1910 |
proto.RegisterMapType((map[int32]*bool)(nil), "types.MapStdTypes.NullableBoolEntry") |
| 1911 |
proto.RegisterMapType((map[int32]*[]byte)(nil), "types.MapStdTypes.NullableBytesEntry") |
| 1912 |
proto.RegisterMapType((map[int32]*float64)(nil), "types.MapStdTypes.NullableDoubleEntry") |
| 1913 |
proto.RegisterMapType((map[int32]*time.Duration)(nil), "types.MapStdTypes.NullableDurationEntry") |
| 1914 |
proto.RegisterMapType((map[int32]*float32)(nil), "types.MapStdTypes.NullableFloatEntry") |
| 1915 |
proto.RegisterMapType((map[int32]*int32)(nil), "types.MapStdTypes.NullableInt32Entry") |
| 1916 |
proto.RegisterMapType((map[int32]*int64)(nil), "types.MapStdTypes.NullableInt64Entry") |
| 1917 |
proto.RegisterMapType((map[int32]*string)(nil), "types.MapStdTypes.NullableStringEntry") |
| 1918 |
proto.RegisterMapType((map[int32]*time.Time)(nil), "types.MapStdTypes.NullableTimestampEntry") |
| 1919 |
proto.RegisterMapType((map[int32]*uint32)(nil), "types.MapStdTypes.NullableUInt32Entry") |
| 1920 |
proto.RegisterMapType((map[int32]*uint64)(nil), "types.MapStdTypes.NullableUInt64Entry") |
| 1921 |
proto.RegisterMapType((map[int32]time.Time)(nil), "types.MapStdTypes.TimestampEntry") |
| 1922 |
proto.RegisterType((*OneofProtoTypes)(nil), "types.OneofProtoTypes") |
| 1923 |
proto.RegisterType((*OneofStdTypes)(nil), "types.OneofStdTypes") |
| 1924 |
} |
| 1925 |
|
| 1926 |
func init() { proto.RegisterFile("combos/marshaler/types.proto", fileDescriptor_a143c1648742cb2e) } |
| 1927 |
|
| 1928 |
var fileDescriptor_a143c1648742cb2e = []byte{ |
| 1929 |
|
| 1930 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcf, 0x73, 0x1b, 0x49, |
| 1931 |
0x19, 0xb5, 0x2c, 0x39, 0xb1, 0xdb, 0x52, 0x62, 0x4f, 0x36, 0xcb, 0x60, 0x52, 0x4a, 0xf0, 0x6e, |
| 1932 |
0x7e, 0xb0, 0x5b, 0x2b, 0xb3, 0x33, 0x2e, 0x03, 0x81, 0x5d, 0xef, 0xaa, 0x92, 0xc8, 0xd2, 0x5a, |
| 1933 |
0x89, 0x22, 0x5b, 0x29, 0x58, 0x58, 0x40, 0x8a, 0x27, 0x5e, 0x17, 0xb2, 0x46, 0x25, 0x8d, 0xd8, |
| 1934 |
0xca, 0x8d, 0x3f, 0x80, 0x03, 0x37, 0x38, 0xc2, 0x8d, 0x2b, 0x07, 0xaa, 0x38, 0x72, 0xe0, 0xb0, |
| 1935 |
0x47, 0xfe, 0x02, 0xd8, 0x35, 0x17, 0xae, 0xc0, 0x25, 0x17, 0xaa, 0xb6, 0xa6, 0xbb, 0x67, 0xa6, |
| 1936 |
0x7f, 0x7c, 0xdd, 0x33, 0x3d, 0x65, 0xdf, 0x74, 0xb3, 0x35, 0x5f, 0xbf, 0x79, 0xf3, 0xe9, 0x8d, |
| 1937 |
0x5f, 0xbf, 0x6f, 0x3c, 0xe8, 0xc6, 0x73, 0xff, 0x74, 0xe0, 0x4f, 0xb7, 0x4e, 0xfb, 0x93, 0xe9, |
| 1938 |
0xa7, 0xfd, 0xa1, 0x37, 0xd9, 0x0a, 0x5e, 0x8e, 0xbd, 0x69, 0x6d, 0x3c, 0xf1, 0x03, 0xdf, 0x5a, |
| 1939 |
0xc2, 0xbf, 0x6c, 0xbc, 0x73, 0x7c, 0x12, 0x7c, 0x3a, 0x1b, 0xd4, 0x9e, 0xfb, 0xa7, 0x5b, 0xc7, |
| 1940 |
0xfe, 0xb1, 0xbf, 0x85, 0x8f, 0x0e, 0x66, 0x2f, 0xf0, 0x6f, 0xf8, 0x17, 0xfc, 0x13, 0x59, 0xb5, |
| 1941 |
0x51, 0x3d, 0xf6, 0xfd, 0xe3, 0xa1, 0x97, 0x54, 0x1d, 0xcd, 0x26, 0xfd, 0xe0, 0xc4, 0x1f, 0xd1, |
| 1942 |
0xe3, 0x37, 0xc4, 0xe3, 0xd3, 0x60, 0x32, 0x7b, 0x1e, 0xd0, 0xa3, 0x37, 0xc5, 0xa3, 0xc1, 0xc9, |
| 1943 |
0xa9, 0x37, 0x0d, 0xfa, 0xa7, 0x63, 0x15, 0xfc, 0x67, 0x93, 0xfe, 0x78, 0xec, 0x4d, 0x28, 0xe9, |
| 1944 |
0xcd, 0xbf, 0x95, 0x10, 0xfa, 0x68, 0xe4, 0x7f, 0x36, 0x3a, 0x0c, 0xc9, 0x5b, 0x6f, 0xa3, 0xe2, |
| 1945 |
0xd1, 0x6c, 0x62, 0x17, 0x6e, 0x15, 0xee, 0xad, 0x3a, 0x5f, 0xaf, 0x91, 0xc5, 0xb5, 0x68, 0x71, |
| 1946 |
0xed, 0x01, 0xe5, 0xd6, 0x0d, 0xab, 0xac, 0xb7, 0xd0, 0x62, 0x30, 0xb5, 0x17, 0x71, 0xed, 0x86, |
| 1947 |
0x54, 0x7b, 0x18, 0x31, 0xe9, 0x2e, 0x06, 0x53, 0xab, 0x86, 0x8a, 0x47, 0x83, 0xa1, 0x5d, 0xc4, |
| 1948 |
0xc5, 0x37, 0x64, 0x60, 0x7f, 0x36, 0x18, 0x7a, 0xcf, 0xfa, 0xc3, 0x99, 0xd7, 0x0d, 0x0b, 0xad, |
| 1949 |
0x77, 0x50, 0xf1, 0xc5, 0x30, 0xb0, 0x4b, 0xb8, 0xfe, 0x1b, 0x52, 0xfd, 0xa3, 0xa1, 0xdf, 0x0f, |
| 1950 |
0x68, 0xf9, 0x8b, 0x61, 0x10, 0x96, 0x9f, 0xec, 0x6c, 0xdb, 0x4b, 0x8a, 0xf2, 0xe6, 0x28, 0xd8, |
| 1951 |
0xd9, 0xa6, 0xe5, 0x27, 0x3b, 0xdb, 0x21, 0x9b, 0xd9, 0xce, 0xb6, 0x7d, 0x49, 0xc1, 0xa6, 0xc7, |
| 1952 |
0xd6, 0xcf, 0x76, 0xb6, 0x31, 0xbc, 0xeb, 0xd8, 0x97, 0xd5, 0xf0, 0xae, 0x13, 0xc1, 0xbb, 0x0e, |
| 1953 |
0x86, 0x77, 0x1d, 0x7b, 0x59, 0x03, 0x1f, 0xd7, 0xcf, 0x70, 0x7d, 0x69, 0xe0, 0xfb, 0x43, 0x7b, |
| 1954 |
0x45, 0xd1, 0xca, 0xba, 0xef, 0x0f, 0x49, 0x39, 0xae, 0x0b, 0xf1, 0xa7, 0xc1, 0xc4, 0x46, 0x0a, |
| 1955 |
0xfc, 0x83, 0x60, 0x72, 0x32, 0x3a, 0xa6, 0xf8, 0xd3, 0x60, 0x62, 0xbd, 0x8b, 0x96, 0x06, 0x2f, |
| 1956 |
0x03, 0x6f, 0x6a, 0xaf, 0x2a, 0x2e, 0xa0, 0x1e, 0x1e, 0x25, 0x0b, 0x48, 0xa5, 0x75, 0x17, 0x2d, |
| 1957 |
0x4e, 0x03, 0xbb, 0x8c, 0xeb, 0xbf, 0x06, 0x9d, 0x61, 0xf6, 0x3c, 0xe8, 0x2e, 0x4e, 0x83, 0xfb, |
| 1958 |
0xa5, 0x7f, 0xff, 0xe1, 0x66, 0x61, 0xf3, 0xd7, 0x65, 0x84, 0x3a, 0xe1, 0x51, 0x22, 0xa3, 0x3d, |
| 1959 |
0xb4, 0x3e, 0x9a, 0x0d, 0x87, 0xfd, 0xc1, 0xd0, 0x8b, 0x65, 0x40, 0x45, 0xa5, 0x13, 0x8a, 0xbc, |
| 1960 |
0xc8, 0x7a, 0x88, 0xd6, 0xa2, 0x0f, 0x23, 0xf1, 0x51, 0xc5, 0x69, 0xd4, 0x29, 0x2d, 0xb1, 0x1e, |
| 1961 |
0xa0, 0x2b, 0xf1, 0x67, 0x58, 0x6a, 0x99, 0x94, 0x28, 0xac, 0xb1, 0x3e, 0x44, 0x95, 0xe8, 0x13, |
| 1962 |
0x2c, 0xc0, 0x2c, 0xf2, 0xe4, 0x57, 0xb0, 0x10, 0x58, 0x64, 0x59, 0x24, 0xcb, 0xaf, 0x60, 0xaf, |
| 1963 |
0x85, 0x08, 0x35, 0x93, 0x8e, 0x85, 0x35, 0x02, 0x91, 0x6c, 0xe2, 0xe6, 0x57, 0x88, 0x44, 0x32, |
| 1964 |
0x2a, 0x5e, 0x58, 0x63, 0xbd, 0x8f, 0xca, 0xd1, 0x27, 0xf5, 0x6c, 0x37, 0x01, 0x57, 0xcf, 0xb2, |
| 1965 |
0x20, 0xc2, 0xcf, 0x74, 0x5f, 0x08, 0x6b, 0xd8, 0x76, 0xd4, 0xb3, 0xde, 0x2a, 0xfc, 0x0a, 0xeb, |
| 1966 |
0x7d, 0xb4, 0x12, 0xff, 0xf5, 0xa5, 0x77, 0x8e, 0x46, 0xec, 0xf5, 0xd2, 0xe7, 0xff, 0xb8, 0xb9, |
| 1967 |
0xd0, 0x4d, 0x96, 0x58, 0xdf, 0x47, 0xcb, 0xd1, 0xdf, 0x7e, 0xbb, 0x92, 0x22, 0x71, 0xba, 0x3a, |
| 1968 |
0x5e, 0x60, 0xed, 0xa1, 0xca, 0xc8, 0x1f, 0x85, 0x84, 0xa8, 0xbe, 0xaf, 0xa4, 0xeb, 0x9b, 0x82, |
| 1969 |
0xf0, 0x0b, 0xad, 0x87, 0xa8, 0x4c, 0x3f, 0x20, 0x1a, 0xbf, 0x9a, 0xaa, 0x71, 0x8a, 0xc3, 0x2d, |
| 1970 |
0x63, 0x60, 0x88, 0x46, 0xd7, 0x52, 0x75, 0x2e, 0xc0, 0x10, 0x99, 0x26, 0xd7, 0x45, 0xb5, 0xbe, |
| 1971 |
0x9e, 0xae, 0x75, 0xe1, 0xba, 0xa8, 0xe0, 0x39, 0x42, 0xae, 0x63, 0x5b, 0xa9, 0x7a, 0x97, 0x09, |
| 1972 |
0xb9, 0x8e, 0x40, 0xc8, 0x75, 0xec, 0x6b, 0xe9, 0x9a, 0x07, 0x08, 0xb9, 0x8e, 0x55, 0x47, 0xab, |
| 1973 |
0xf4, 0x03, 0xac, 0xfb, 0xd7, 0xd2, 0x74, 0x4f, 0x51, 0xd8, 0x45, 0x0c, 0x1b, 0xaa, 0xfd, 0xeb, |
| 1974 |
0xe9, 0xda, 0x17, 0xd8, 0xd0, 0x1b, 0x20, 0x69, 0x0f, 0xd1, 0xff, 0xeb, 0xa9, 0xfa, 0x17, 0xda, |
| 1975 |
0x83, 0x0f, 0x50, 0x3b, 0xf8, 0x6f, 0x19, 0x2d, 0x1f, 0x04, 0x47, 0xc4, 0x0c, 0x1e, 0xe7, 0x32, |
| 1976 |
0x83, 0x7a, 0xe9, 0x37, 0xff, 0xbc, 0x59, 0x80, 0x2c, 0xe1, 0xa3, 0x1c, 0x96, 0x50, 0x2f, 0xfd, |
| 1977 |
0x2e, 0x44, 0x93, 0x8d, 0xa1, 0x95, 0xc7, 0x18, 0xea, 0xa5, 0xdf, 0x87, 0x68, 0xa2, 0x3d, 0x34, |
| 1978 |
0xcc, 0xed, 0x81, 0x22, 0x09, 0x26, 0xd1, 0x30, 0x37, 0x09, 0x11, 0x88, 0x68, 0xbe, 0x95, 0xc7, |
| 1979 |
0x2a, 0xc4, 0xab, 0xa3, 0xf7, 0x4f, 0xc3, 0xdc, 0x30, 0x00, 0x52, 0xae, 0x23, 0x92, 0xca, 0x66, |
| 1980 |
0x1b, 0x10, 0x29, 0x6c, 0x41, 0x86, 0xe6, 0x41, 0x71, 0x78, 0x0b, 0x69, 0xe5, 0xb1, 0x10, 0x91, |
| 1981 |
0x11, 0xbd, 0x8f, 0x1a, 0xe6, 0x46, 0x22, 0xb6, 0x89, 0xd8, 0x49, 0xdd, 0xcc, 0x4e, 0x96, 0xc3, |
| 1982 |
0x9b, 0x11, 0xdf, 0x32, 0x8c, 0xa5, 0xec, 0x9a, 0x58, 0x0a, 0x46, 0xc0, 0xb7, 0x49, 0x62, 0x2b, |
| 1983 |
0xfb, 0x79, 0x6c, 0x05, 0x03, 0xd1, 0x4b, 0xe2, 0xac, 0xa5, 0x69, 0x6e, 0x2d, 0x09, 0x16, 0x6f, |
| 1984 |
0x2f, 0x4d, 0x73, 0x7b, 0x91, 0xa1, 0x88, 0xb0, 0xf7, 0xf3, 0x58, 0x8c, 0x7c, 0x8d, 0xf4, 0x36, |
| 1985 |
0x69, 0x9a, 0xdb, 0x0c, 0x48, 0xcc, 0x75, 0x04, 0x62, 0x19, 0xad, 0x06, 0x26, 0xe6, 0x3a, 0xd6, |
| 1986 |
0x23, 0x53, 0xbb, 0x49, 0x90, 0x38, 0xcb, 0xd9, 0xcf, 0x63, 0x39, 0x32, 0x2b, 0x7a, 0xbb, 0x34, |
| 1987 |
0xcd, 0x6d, 0x47, 0x6e, 0x17, 0x3e, 0xb8, 0xf9, 0xdb, 0x32, 0xaa, 0x74, 0xbd, 0x31, 0x13, 0x43, |
| 1988 |
0x5a, 0xc8, 0x92, 0xec, 0x63, 0x6a, 0x17, 0x6e, 0x15, 0x53, 0x72, 0x08, 0xb0, 0xca, 0x6a, 0x24, |
| 1989 |
0x2e, 0x16, 0xdd, 0x31, 0x61, 0xf6, 0x2d, 0xea, 0x93, 0x88, 0xbc, 0xc6, 0xfa, 0x00, 0xa1, 0x20, |
| 1990 |
0x21, 0x53, 0x4c, 0x23, 0x43, 0x5d, 0x96, 0x59, 0x63, 0xbd, 0x87, 0x56, 0x8e, 0x62, 0x0a, 0xa5, |
| 1991 |
0x14, 0x0a, 0xd1, 0x3e, 0x33, 0x5e, 0x01, 0x64, 0xa1, 0x25, 0x8c, 0x61, 0x96, 0x85, 0xa4, 0x0d, |
| 1992 |
0xe7, 0xa5, 0x74, 0x10, 0x78, 0xc3, 0x29, 0xa5, 0xaa, 0xcb, 0x18, 0xc9, 0x24, 0x55, 0x89, 0x7b, |
| 1993 |
0xd6, 0xe5, 0x54, 0x04, 0x70, 0xcf, 0x2a, 0x85, 0xb3, 0x15, 0x05, 0x8e, 0x3a, 0x9c, 0x89, 0xdb, |
| 1994 |
0x5e, 0x94, 0x8a, 0x00, 0x6e, 0x7b, 0xe5, 0x8c, 0xb7, 0xaa, 0x68, 0xaf, 0x2e, 0xe3, 0x49, 0x9b, |
| 1995 |
0xe7, 0x72, 0x3a, 0x08, 0xbc, 0x79, 0x96, 0xd2, 0x62, 0x45, 0x7d, 0x5d, 0x8a, 0xb4, 0x28, 0xee, |
| 1996 |
0xbf, 0xaf, 0xa4, 0x22, 0x80, 0xfb, 0x6f, 0x39, 0x74, 0x5e, 0xd5, 0x5c, 0x94, 0x2a, 0x74, 0x4a, |
| 1997 |
0xbb, 0xf8, 0xb5, 0x74, 0x10, 0x78, 0x17, 0x2f, 0xc6, 0xd7, 0x75, 0xc5, 0x0d, 0xad, 0x8a, 0xaf, |
| 1998 |
0x42, 0x0a, 0xb0, 0xd2, 0x96, 0x43, 0x29, 0x40, 0x8e, 0xc0, 0xd7, 0x14, 0x97, 0xa3, 0x8b, 0xc0, |
| 1999 |
0x52, 0x96, 0x78, 0x2d, 0x1d, 0x04, 0xce, 0x12, 0x52, 0x98, 0xbe, 0xae, 0xf8, 0xae, 0xd5, 0x61, |
| 2000 |
0x5a, 0x8e, 0x23, 0xc5, 0xfc, 0x71, 0xe4, 0xff, 0x65, 0xb4, 0xda, 0xf5, 0xc6, 0x71, 0x22, 0xe9, |
| 2001 |
0xe4, 0xf3, 0x05, 0x1a, 0x49, 0x20, 0x77, 0x68, 0xe7, 0x71, 0x07, 0x1a, 0x4a, 0x00, 0x8f, 0x78, |
| 2002 |
0x60, 0xe8, 0x11, 0xc9, 0xe6, 0x8f, 0xf5, 0x89, 0x0f, 0x8d, 0x7c, 0x22, 0xd9, 0xfe, 0x31, 0x5e, |
| 2003 |
0xd1, 0xca, 0xe3, 0x15, 0x8a, 0x78, 0xb4, 0x9f, 0xc7, 0x31, 0x94, 0x7b, 0xc9, 0x86, 0xb9, 0x6b, |
| 2004 |
0xc0, 0x61, 0xab, 0x69, 0xee, 0x1d, 0xaa, 0x4d, 0x69, 0xc3, 0xdc, 0x3f, 0xe0, 0xdc, 0xd6, 0x34, |
| 2005 |
0x77, 0x11, 0xd5, 0xee, 0xb6, 0x95, 0xc7, 0x49, 0x14, 0x11, 0x70, 0x3f, 0x8f, 0x9f, 0x28, 0x77, |
| 2006 |
0xca, 0x0d, 0x73, 0x4f, 0x81, 0x03, 0x65, 0xd3, 0xdc, 0x59, 0x54, 0x5b, 0xee, 0x56, 0x1e, 0x77, |
| 2007 |
0x51, 0x64, 0xd3, 0xfd, 0x3c, 0x1e, 0xa3, 0xdc, 0xbe, 0x3f, 0x30, 0xf5, 0x19, 0x30, 0xe9, 0x3e, |
| 2008 |
0x32, 0x75, 0x1b, 0x45, 0x08, 0x68, 0xe5, 0x71, 0x1c, 0x45, 0x62, 0xde, 0xcf, 0xe3, 0x3b, 0xca, |
| 2009 |
0x40, 0xd1, 0x30, 0xf7, 0x1e, 0x38, 0x7f, 0x37, 0xcd, 0x1d, 0x48, 0x95, 0x4c, 0xfe, 0x54, 0x45, |
| 2010 |
0x95, 0x76, 0x9f, 0x4d, 0x26, 0x3f, 0x82, 0x67, 0x62, 0xe1, 0x19, 0xde, 0xae, 0x91, 0x87, 0x8a, |
| 2011 |
0xdc, 0x82, 0xda, 0x63, 0xb1, 0xfa, 0xe1, 0x28, 0x98, 0xbc, 0x84, 0xc6, 0x63, 0x0d, 0x76, 0x6e, |
| 2012 |
0x40, 0x2c, 0xe8, 0x0d, 0x10, 0x92, 0x87, 0x92, 0xe7, 0xd1, 0xcf, 0x80, 0x39, 0x1b, 0xb1, 0xa2, |
| 2013 |
0xb7, 0xb4, 0x14, 0xa3, 0x62, 0xc2, 0x10, 0x7a, 0x16, 0x93, 0x0c, 0x25, 0x88, 0x2b, 0x6d, 0x82, |
| 2014 |
0x78, 0x1c, 0x8e, 0x34, 0xf0, 0xee, 0x28, 0x9c, 0xe9, 0x9e, 0x9e, 0x1b, 0x2e, 0x25, 0xcc, 0x44, |
| 2015 |
0x7f, 0x3a, 0x80, 0xfd, 0xe9, 0x2e, 0x0c, 0xc8, 0x56, 0xb2, 0x0c, 0x05, 0x9b, 0x6a, 0xc3, 0x36, |
| 2016 |
0x75, 0x57, 0xcb, 0x12, 0x57, 0x12, 0x92, 0x82, 0x59, 0x75, 0x40, 0xb3, 0xba, 0xa3, 0xa3, 0x98, |
| 2017 |
0x80, 0x81, 0x99, 0xa7, 0x0d, 0x7b, 0x96, 0x9e, 0x20, 0xae, 0x14, 0x08, 0x92, 0x3f, 0xea, 0x1d, |
| 2018 |
0xd0, 0xb9, 0xb4, 0x04, 0x13, 0x30, 0x30, 0x0a, 0x75, 0x14, 0x06, 0xa6, 0xff, 0xa2, 0x7b, 0x0c, |
| 2019 |
0x45, 0xd1, 0xc6, 0x0e, 0x60, 0x1b, 0xd3, 0x7e, 0xd1, 0x3d, 0x89, 0xa5, 0xe0, 0x66, 0x6d, 0xd8, |
| 2020 |
0xcd, 0x52, 0xfb, 0xe8, 0x3a, 0x72, 0x1f, 0x5d, 0x87, 0xef, 0x63, 0xec, 0x69, 0x69, 0x7d, 0xa4, |
| 2021 |
0x60, 0x60, 0x70, 0xea, 0x28, 0xac, 0x2d, 0xbd, 0x8f, 0x11, 0x45, 0xd1, 0xe0, 0x0e, 0x60, 0x83, |
| 2022 |
0x4b, 0xed, 0x23, 0xcf, 0x52, 0xf0, 0xb9, 0x16, 0xe8, 0x73, 0x77, 0xb4, 0x24, 0xc3, 0x42, 0x42, |
| 2023 |
0x91, 0x77, 0xbb, 0x36, 0xe4, 0x76, 0xb7, 0x75, 0xf4, 0x62, 0x24, 0x28, 0x66, 0x75, 0x14, 0xa6, |
| 2024 |
0xa7, 0xef, 0x20, 0x29, 0x15, 0x3a, 0x48, 0xcd, 0xea, 0x00, 0xb6, 0x3e, 0x6d, 0x07, 0x19, 0x3c, |
| 2025 |
0x38, 0x7d, 0xb5, 0x61, 0x07, 0xd4, 0x2b, 0x11, 0x57, 0x0a, 0x4a, 0x24, 0x3e, 0xd8, 0x01, 0x7d, |
| 2026 |
0x50, 0xab, 0xc4, 0x04, 0x0c, 0x0a, 0x65, 0x1b, 0x3f, 0x47, 0xaf, 0xc3, 0x76, 0x66, 0xad, 0xa1, |
| 2027 |
0xe2, 0x2f, 0xbc, 0x97, 0xf8, 0xe1, 0xd0, 0x52, 0x37, 0xfc, 0xd1, 0xfa, 0x36, 0x5a, 0xfa, 0x65, |
| 2028 |
0xe8, 0xad, 0x19, 0xfe, 0xcd, 0x84, 0x14, 0xde, 0x5f, 0xfc, 0x6e, 0x61, 0xe3, 0x87, 0xe8, 0xca, |
| 2029 |
0x05, 0x21, 0xff, 0x14, 0x5d, 0x07, 0x7d, 0x0e, 0x38, 0xc1, 0x16, 0x7f, 0x02, 0xcd, 0x94, 0x90, |
| 2030 |
0xc1, 0x7f, 0x86, 0x2a, 0x17, 0x82, 0xfb, 0x33, 0x74, 0x0d, 0xf0, 0x40, 0x00, 0xdd, 0xe1, 0xd1, |
| 2031 |
0xf5, 0x43, 0x41, 0xae, 0x31, 0x96, 0xec, 0x89, 0xe7, 0x88, 0xff, 0x09, 0xb2, 0x64, 0x7b, 0x04, |
| 2032 |
0xf0, 0xdf, 0xe5, 0xf1, 0xb5, 0x53, 0x44, 0x06, 0xfe, 0x27, 0x68, 0x5d, 0xf2, 0xcb, 0xf3, 0x43, |
| 2033 |
0x67, 0xc8, 0x27, 0x3e, 0x92, 0x07, 0x9e, 0x19, 0xf6, 0x81, 0xe4, 0x2f, 0x02, 0x9d, 0x91, 0x4e, |
| 2034 |
0x4f, 0x8b, 0x9f, 0xfa, 0xd5, 0xf6, 0xe0, 0x13, 0x24, 0xd2, 0xb9, 0x18, 0x7c, 0xbe, 0xfb, 0xd4, |
| 2035 |
0x7d, 0x72, 0xf6, 0x27, 0x1a, 0x28, 0xaa, 0xba, 0x7f, 0xee, 0xe8, 0x42, 0xf7, 0xd5, 0xf8, 0x99, |
| 2036 |
0xba, 0x03, 0x9c, 0x80, 0xef, 0xfe, 0xf9, 0xe3, 0xff, 0x18, 0xad, 0x4b, 0x3e, 0x9d, 0xe7, 0xcf, |
| 2037 |
0x71, 0x32, 0x40, 0x65, 0xc0, 0x3f, 0x46, 0x6b, 0xa2, 0x73, 0x9f, 0x1b, 0x36, 0xd3, 0x79, 0xc6, |
| 2038 |
0x73, 0xf3, 0x74, 0x86, 0x9d, 0xba, 0x82, 0x9d, 0xbf, 0x18, 0x7c, 0x46, 0xf7, 0x89, 0x23, 0xe7, |
| 2039 |
0x51, 0x26, 0xfb, 0xef, 0x81, 0x90, 0xee, 0x2f, 0x00, 0x7d, 0xf3, 0x3f, 0x55, 0xb4, 0xda, 0xee, |
| 2040 |
0x27, 0x33, 0xdb, 0x4f, 0xd4, 0x89, 0xf9, 0x5b, 0xc9, 0x5e, 0x24, 0x2a, 0x57, 0xe4, 0x65, 0xf5, |
| 2041 |
0x3f, 0x95, 0x34, 0xe5, 0xd4, 0xfc, 0x4d, 0x00, 0x56, 0x80, 0x03, 0x1f, 0xba, 0x7f, 0xac, 0xcc, |
| 2042 |
0xcd, 0xf7, 0x34, 0x44, 0x85, 0xb4, 0xab, 0xf8, 0x77, 0x95, 0x47, 0x52, 0x76, 0xbe, 0x05, 0x60, |
| 2043 |
0xf2, 0x58, 0xd0, 0x73, 0xfd, 0x43, 0x45, 0x7a, 0xbe, 0xa3, 0x63, 0xc8, 0x66, 0x5d, 0x70, 0xc2, |
| 2044 |
0xdb, 0x83, 0x13, 0xf4, 0x6d, 0x08, 0x54, 0xce, 0xcf, 0xca, 0x51, 0xef, 0x53, 0x38, 0x43, 0xdf, |
| 2045 |
0xd6, 0x70, 0x65, 0x43, 0x2f, 0x34, 0xf4, 0xed, 0x82, 0x39, 0xfa, 0x4d, 0x35, 0x51, 0x06, 0x50, |
| 2046 |
0x35, 0xfd, 0x7d, 0x0a, 0x27, 0x69, 0x1d, 0x4d, 0x36, 0x54, 0x42, 0x73, 0xe0, 0x2e, 0x98, 0xa6, |
| 2047 |
0x35, 0x34, 0x19, 0x40, 0xd5, 0x40, 0xf8, 0x50, 0x91, 0xa7, 0x75, 0x5f, 0x7d, 0x4f, 0x22, 0x2a, |
| 2048 |
0x66, 0xea, 0x1e, 0x9c, 0xa9, 0x35, 0x5f, 0x7d, 0x0f, 0xe4, 0x2a, 0xa4, 0xea, 0xa7, 0x70, 0xaa, |
| 2049 |
0x4e, 0xe9, 0x69, 0x1c, 0x30, 0xa1, 0x69, 0x71, 0x17, 0x4c, 0xd6, 0xfa, 0x9e, 0x46, 0x80, 0xaa, |
| 2050 |
0xb1, 0xf1, 0xa1, 0x22, 0x5b, 0xa7, 0xf5, 0x94, 0x27, 0x2a, 0xe6, 0xeb, 0x1e, 0x9c, 0xaf, 0x53, |
| 2051 |
0x7a, 0x2a, 0x73, 0x15, 0x12, 0xf6, 0x63, 0x30, 0x61, 0xbf, 0xa9, 0xa1, 0xca, 0xa4, 0x62, 0x60, |
| 2052 |
0xa6, 0xfc, 0x04, 0x4a, 0xd9, 0x6f, 0xa8, 0x49, 0x26, 0x68, 0x8a, 0xe1, 0xf2, 0xa1, 0x22, 0x67, |
| 2053 |
0xeb, 0xba, 0xc9, 0xa5, 0x62, 0x70, 0xcc, 0xdc, 0x83, 0xb3, 0xb6, 0xa6, 0x9b, 0x2c, 0xa6, 0x72, |
| 2054 |
0xde, 0xfc, 0x14, 0x4e, 0xdb, 0x3a, 0x85, 0xb2, 0xf1, 0x18, 0x9a, 0x3c, 0x77, 0xc1, 0xc4, 0xad, |
| 2055 |
0x51, 0x28, 0x03, 0xa8, 0x18, 0x41, 0xcf, 0x33, 0xf7, 0x3c, 0x73, 0xcf, 0x33, 0xf7, 0x3c, 0x73, |
| 2056 |
0xcf, 0x33, 0xf7, 0x3c, 0x73, 0xcf, 0x33, 0xf7, 0x3c, 0x73, 0xc3, 0x99, 0xfb, 0xcf, 0x4b, 0xe8, |
| 2057 |
0xea, 0x93, 0x91, 0xe7, 0xbf, 0x60, 0x9e, 0x54, 0xdf, 0x67, 0x83, 0x71, 0xea, 0x5b, 0x1b, 0x7b, |
| 2058 |
0xdc, 0x13, 0xe4, 0xef, 0x30, 0x69, 0x35, 0xcd, 0x38, 0xf7, 0xd8, 0x87, 0xbb, 0x3f, 0x40, 0x2b, |
| 2059 |
0x13, 0x6f, 0x9c, 0xfd, 0x85, 0x8c, 0xf0, 0xb4, 0xf1, 0x02, 0xeb, 0x7b, 0x68, 0x79, 0xe2, 0x8d, |
| 2060 |
0xb3, 0xbe, 0x82, 0x11, 0x9e, 0x38, 0x2a, 0xa7, 0x4b, 0xb3, 0xbe, 0x74, 0x41, 0x97, 0x92, 0xa8, |
| 2061 |
0x42, 0x38, 0x67, 0x7f, 0xcd, 0x82, 0x72, 0xa6, 0x41, 0x27, 0x3e, 0x71, 0xa6, 0x17, 0x2b, 0x92, |
| 2062 |
0x13, 0xbb, 0x0e, 0x73, 0xe2, 0x6c, 0xaf, 0x52, 0x30, 0x27, 0x76, 0x1d, 0x6b, 0x07, 0x5d, 0x9e, |
| 2063 |
0x78, 0xe3, 0x6c, 0x2f, 0x4f, 0xec, 0x2d, 0x74, 0xa3, 0x62, 0x7a, 0xd6, 0xec, 0xaf, 0x4b, 0xd0, |
| 2064 |
0xb3, 0xd2, 0x5d, 0x33, 0xb9, 0xdc, 0xac, 0x2f, 0x48, 0xd0, 0xcb, 0xc5, 0x1f, 0xd4, 0xd7, 0xb1, |
| 2065 |
0x46, 0x9f, 0x50, 0x8d, 0x86, 0x5a, 0xdb, 0xfc, 0xdf, 0x12, 0xaa, 0x60, 0xdd, 0xc6, 0xd3, 0xa2, |
| 2066 |
0x0f, 0x8c, 0x54, 0x4b, 0xc6, 0x42, 0xbc, 0x76, 0xdf, 0x33, 0xd0, 0x2e, 0x19, 0xd7, 0x70, 0x0a, |
| 2067 |
0xae, 0x1b, 0x2a, 0x98, 0x24, 0x01, 0x5e, 0xc7, 0xbb, 0x46, 0x3a, 0x8e, 0x11, 0x12, 0x35, 0xef, |
| 2068 |
0x1a, 0xa9, 0x99, 0x03, 0x20, 0xaa, 0xac, 0x1b, 0x6a, 0x9a, 0xbb, 0x0a, 0xaa, 0xec, 0x5d, 0x23, |
| 2069 |
0x65, 0x8b, 0x24, 0xf0, 0x7b, 0x72, 0x66, 0xfa, 0x96, 0x48, 0xe0, 0x7b, 0x24, 0xbb, 0xca, 0xe3, |
| 2070 |
0xf5, 0xb1, 0xd6, 0xeb, 0x86, 0x5a, 0xe7, 0x18, 0x50, 0xc5, 0xef, 0x1a, 0x29, 0x9e, 0x6b, 0x03, |
| 2071 |
0xd1, 0xfd, 0x55, 0xac, 0xf1, 0x27, 0x58, 0xe3, 0xa1, 0x4a, 0xeb, 0xf7, 0xbe, 0xf8, 0xb2, 0x5a, |
| 2072 |
0x78, 0xf5, 0x65, 0xb5, 0xf0, 0xc7, 0xb3, 0x6a, 0xe1, 0x2f, 0x67, 0xd5, 0xc2, 0x5f, 0xcf, 0xaa, |
| 2073 |
0x85, 0xcf, 0xcf, 0xaa, 0x85, 0xbf, 0x9f, 0x55, 0x17, 0xbe, 0x38, 0xab, 0x16, 0x5e, 0x9d, 0x55, |
| 2074 |
0x17, 0x7e, 0xf5, 0xaf, 0xea, 0xc2, 0xe0, 0x12, 0x3e, 0x83, 0xfb, 0x55, 0x00, 0x00, 0x00, 0xff, |
| 2075 |
0xff, 0xd2, 0x3a, 0x64, 0x13, 0xc0, 0x40, 0x00, 0x00, |
| 2076 |
} |
| 2077 |
|
| 2078 |
func (this *KnownTypes) Compare(that interface{}) int { |
| 2079 |
if that == nil { |
| 2080 |
if this == nil { |
| 2081 |
return 0 |
| 2082 |
} |
| 2083 |
return 1 |
| 2084 |
} |
| 2085 |
|
| 2086 |
that1, ok := that.(*KnownTypes) |
| 2087 |
if !ok { |
| 2088 |
that2, ok := that.(KnownTypes) |
| 2089 |
if ok { |
| 2090 |
that1 = &that2 |
| 2091 |
} else { |
| 2092 |
return 1 |
| 2093 |
} |
| 2094 |
} |
| 2095 |
if that1 == nil { |
| 2096 |
if this == nil { |
| 2097 |
return 0 |
| 2098 |
} |
| 2099 |
return 1 |
| 2100 |
} else if this == nil { |
| 2101 |
return -1 |
| 2102 |
} |
| 2103 |
if c := this.Dur.Compare(that1.Dur); c != 0 { |
| 2104 |
return c |
| 2105 |
} |
| 2106 |
if c := this.Ts.Compare(that1.Ts); c != 0 { |
| 2107 |
return c |
| 2108 |
} |
| 2109 |
if c := this.Dbl.Compare(that1.Dbl); c != 0 { |
| 2110 |
return c |
| 2111 |
} |
| 2112 |
if c := this.Flt.Compare(that1.Flt); c != 0 { |
| 2113 |
return c |
| 2114 |
} |
| 2115 |
if c := this.I64.Compare(that1.I64); c != 0 { |
| 2116 |
return c |
| 2117 |
} |
| 2118 |
if c := this.U64.Compare(that1.U64); c != 0 { |
| 2119 |
return c |
| 2120 |
} |
| 2121 |
if c := this.I32.Compare(that1.I32); c != 0 { |
| 2122 |
return c |
| 2123 |
} |
| 2124 |
if c := this.U32.Compare(that1.U32); c != 0 { |
| 2125 |
return c |
| 2126 |
} |
| 2127 |
if c := this.Bool.Compare(that1.Bool); c != 0 { |
| 2128 |
return c |
| 2129 |
} |
| 2130 |
if c := this.Str.Compare(that1.Str); c != 0 { |
| 2131 |
return c |
| 2132 |
} |
| 2133 |
if c := this.Bytes.Compare(that1.Bytes); c != 0 { |
| 2134 |
return c |
| 2135 |
} |
| 2136 |
if c := this.St.Compare(that1.St); c != 0 { |
| 2137 |
return c |
| 2138 |
} |
| 2139 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 2140 |
return c |
| 2141 |
} |
| 2142 |
return 0 |
| 2143 |
} |
| 2144 |
func (this *ProtoTypes) Compare(that interface{}) int { |
| 2145 |
if that == nil { |
| 2146 |
if this == nil { |
| 2147 |
return 0 |
| 2148 |
} |
| 2149 |
return 1 |
| 2150 |
} |
| 2151 |
|
| 2152 |
that1, ok := that.(*ProtoTypes) |
| 2153 |
if !ok { |
| 2154 |
that2, ok := that.(ProtoTypes) |
| 2155 |
if ok { |
| 2156 |
that1 = &that2 |
| 2157 |
} else { |
| 2158 |
return 1 |
| 2159 |
} |
| 2160 |
} |
| 2161 |
if that1 == nil { |
| 2162 |
if this == nil { |
| 2163 |
return 0 |
| 2164 |
} |
| 2165 |
return 1 |
| 2166 |
} else if this == nil { |
| 2167 |
return -1 |
| 2168 |
} |
| 2169 |
if c := this.NullableTimestamp.Compare(that1.NullableTimestamp); c != 0 { |
| 2170 |
return c |
| 2171 |
} |
| 2172 |
if c := this.NullableDuration.Compare(that1.NullableDuration); c != 0 { |
| 2173 |
return c |
| 2174 |
} |
| 2175 |
if c := this.NullableDouble.Compare(that1.NullableDouble); c != 0 { |
| 2176 |
return c |
| 2177 |
} |
| 2178 |
if c := this.NullableFloat.Compare(that1.NullableFloat); c != 0 { |
| 2179 |
return c |
| 2180 |
} |
| 2181 |
if c := this.NullableInt64.Compare(that1.NullableInt64); c != 0 { |
| 2182 |
return c |
| 2183 |
} |
| 2184 |
if c := this.NullableUInt64.Compare(that1.NullableUInt64); c != 0 { |
| 2185 |
return c |
| 2186 |
} |
| 2187 |
if c := this.NullableInt32.Compare(that1.NullableInt32); c != 0 { |
| 2188 |
return c |
| 2189 |
} |
| 2190 |
if c := this.NullableUInt32.Compare(that1.NullableUInt32); c != 0 { |
| 2191 |
return c |
| 2192 |
} |
| 2193 |
if c := this.NullableBool.Compare(that1.NullableBool); c != 0 { |
| 2194 |
return c |
| 2195 |
} |
| 2196 |
if c := this.NullableString.Compare(that1.NullableString); c != 0 { |
| 2197 |
return c |
| 2198 |
} |
| 2199 |
if c := this.NullableBytes.Compare(that1.NullableBytes); c != 0 { |
| 2200 |
return c |
| 2201 |
} |
| 2202 |
if c := this.Timestamp.Compare(&that1.Timestamp); c != 0 { |
| 2203 |
return c |
| 2204 |
} |
| 2205 |
if c := this.Duration.Compare(&that1.Duration); c != 0 { |
| 2206 |
return c |
| 2207 |
} |
| 2208 |
if c := this.NonnullDouble.Compare(&that1.NonnullDouble); c != 0 { |
| 2209 |
return c |
| 2210 |
} |
| 2211 |
if c := this.NonnullFloat.Compare(&that1.NonnullFloat); c != 0 { |
| 2212 |
return c |
| 2213 |
} |
| 2214 |
if c := this.NonnullInt64.Compare(&that1.NonnullInt64); c != 0 { |
| 2215 |
return c |
| 2216 |
} |
| 2217 |
if c := this.NonnullUInt64.Compare(&that1.NonnullUInt64); c != 0 { |
| 2218 |
return c |
| 2219 |
} |
| 2220 |
if c := this.NonnullInt32.Compare(&that1.NonnullInt32); c != 0 { |
| 2221 |
return c |
| 2222 |
} |
| 2223 |
if c := this.NonnullUInt32.Compare(&that1.NonnullUInt32); c != 0 { |
| 2224 |
return c |
| 2225 |
} |
| 2226 |
if c := this.NonnullBool.Compare(&that1.NonnullBool); c != 0 { |
| 2227 |
return c |
| 2228 |
} |
| 2229 |
if c := this.NonnullString.Compare(&that1.NonnullString); c != 0 { |
| 2230 |
return c |
| 2231 |
} |
| 2232 |
if c := this.NonnullBytes.Compare(&that1.NonnullBytes); c != 0 { |
| 2233 |
return c |
| 2234 |
} |
| 2235 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 2236 |
return c |
| 2237 |
} |
| 2238 |
return 0 |
| 2239 |
} |
| 2240 |
func (this *RepProtoTypes) Compare(that interface{}) int { |
| 2241 |
if that == nil { |
| 2242 |
if this == nil { |
| 2243 |
return 0 |
| 2244 |
} |
| 2245 |
return 1 |
| 2246 |
} |
| 2247 |
|
| 2248 |
that1, ok := that.(*RepProtoTypes) |
| 2249 |
if !ok { |
| 2250 |
that2, ok := that.(RepProtoTypes) |
| 2251 |
if ok { |
| 2252 |
that1 = &that2 |
| 2253 |
} else { |
| 2254 |
return 1 |
| 2255 |
} |
| 2256 |
} |
| 2257 |
if that1 == nil { |
| 2258 |
if this == nil { |
| 2259 |
return 0 |
| 2260 |
} |
| 2261 |
return 1 |
| 2262 |
} else if this == nil { |
| 2263 |
return -1 |
| 2264 |
} |
| 2265 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 2266 |
if len(this.NullableTimestamps) < len(that1.NullableTimestamps) { |
| 2267 |
return -1 |
| 2268 |
} |
| 2269 |
return 1 |
| 2270 |
} |
| 2271 |
for i := range this.NullableTimestamps { |
| 2272 |
if c := this.NullableTimestamps[i].Compare(that1.NullableTimestamps[i]); c != 0 { |
| 2273 |
return c |
| 2274 |
} |
| 2275 |
} |
| 2276 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 2277 |
if len(this.NullableDurations) < len(that1.NullableDurations) { |
| 2278 |
return -1 |
| 2279 |
} |
| 2280 |
return 1 |
| 2281 |
} |
| 2282 |
for i := range this.NullableDurations { |
| 2283 |
if c := this.NullableDurations[i].Compare(that1.NullableDurations[i]); c != 0 { |
| 2284 |
return c |
| 2285 |
} |
| 2286 |
} |
| 2287 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 2288 |
if len(this.Timestamps) < len(that1.Timestamps) { |
| 2289 |
return -1 |
| 2290 |
} |
| 2291 |
return 1 |
| 2292 |
} |
| 2293 |
for i := range this.Timestamps { |
| 2294 |
if c := this.Timestamps[i].Compare(&that1.Timestamps[i]); c != 0 { |
| 2295 |
return c |
| 2296 |
} |
| 2297 |
} |
| 2298 |
if len(this.Durations) != len(that1.Durations) { |
| 2299 |
if len(this.Durations) < len(that1.Durations) { |
| 2300 |
return -1 |
| 2301 |
} |
| 2302 |
return 1 |
| 2303 |
} |
| 2304 |
for i := range this.Durations { |
| 2305 |
if c := this.Durations[i].Compare(&that1.Durations[i]); c != 0 { |
| 2306 |
return c |
| 2307 |
} |
| 2308 |
} |
| 2309 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 2310 |
if len(this.NullableDouble) < len(that1.NullableDouble) { |
| 2311 |
return -1 |
| 2312 |
} |
| 2313 |
return 1 |
| 2314 |
} |
| 2315 |
for i := range this.NullableDouble { |
| 2316 |
if c := this.NullableDouble[i].Compare(that1.NullableDouble[i]); c != 0 { |
| 2317 |
return c |
| 2318 |
} |
| 2319 |
} |
| 2320 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 2321 |
if len(this.NonnullDouble) < len(that1.NonnullDouble) { |
| 2322 |
return -1 |
| 2323 |
} |
| 2324 |
return 1 |
| 2325 |
} |
| 2326 |
for i := range this.NonnullDouble { |
| 2327 |
if c := this.NonnullDouble[i].Compare(&that1.NonnullDouble[i]); c != 0 { |
| 2328 |
return c |
| 2329 |
} |
| 2330 |
} |
| 2331 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 2332 |
if len(this.NullableFloat) < len(that1.NullableFloat) { |
| 2333 |
return -1 |
| 2334 |
} |
| 2335 |
return 1 |
| 2336 |
} |
| 2337 |
for i := range this.NullableFloat { |
| 2338 |
if c := this.NullableFloat[i].Compare(that1.NullableFloat[i]); c != 0 { |
| 2339 |
return c |
| 2340 |
} |
| 2341 |
} |
| 2342 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 2343 |
if len(this.NonnullFloat) < len(that1.NonnullFloat) { |
| 2344 |
return -1 |
| 2345 |
} |
| 2346 |
return 1 |
| 2347 |
} |
| 2348 |
for i := range this.NonnullFloat { |
| 2349 |
if c := this.NonnullFloat[i].Compare(&that1.NonnullFloat[i]); c != 0 { |
| 2350 |
return c |
| 2351 |
} |
| 2352 |
} |
| 2353 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 2354 |
if len(this.NullableInt64) < len(that1.NullableInt64) { |
| 2355 |
return -1 |
| 2356 |
} |
| 2357 |
return 1 |
| 2358 |
} |
| 2359 |
for i := range this.NullableInt64 { |
| 2360 |
if c := this.NullableInt64[i].Compare(that1.NullableInt64[i]); c != 0 { |
| 2361 |
return c |
| 2362 |
} |
| 2363 |
} |
| 2364 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 2365 |
if len(this.NonnullInt64) < len(that1.NonnullInt64) { |
| 2366 |
return -1 |
| 2367 |
} |
| 2368 |
return 1 |
| 2369 |
} |
| 2370 |
for i := range this.NonnullInt64 { |
| 2371 |
if c := this.NonnullInt64[i].Compare(&that1.NonnullInt64[i]); c != 0 { |
| 2372 |
return c |
| 2373 |
} |
| 2374 |
} |
| 2375 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 2376 |
if len(this.NullableUInt64) < len(that1.NullableUInt64) { |
| 2377 |
return -1 |
| 2378 |
} |
| 2379 |
return 1 |
| 2380 |
} |
| 2381 |
for i := range this.NullableUInt64 { |
| 2382 |
if c := this.NullableUInt64[i].Compare(that1.NullableUInt64[i]); c != 0 { |
| 2383 |
return c |
| 2384 |
} |
| 2385 |
} |
| 2386 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 2387 |
if len(this.NonnullUInt64) < len(that1.NonnullUInt64) { |
| 2388 |
return -1 |
| 2389 |
} |
| 2390 |
return 1 |
| 2391 |
} |
| 2392 |
for i := range this.NonnullUInt64 { |
| 2393 |
if c := this.NonnullUInt64[i].Compare(&that1.NonnullUInt64[i]); c != 0 { |
| 2394 |
return c |
| 2395 |
} |
| 2396 |
} |
| 2397 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 2398 |
if len(this.NullableInt32) < len(that1.NullableInt32) { |
| 2399 |
return -1 |
| 2400 |
} |
| 2401 |
return 1 |
| 2402 |
} |
| 2403 |
for i := range this.NullableInt32 { |
| 2404 |
if c := this.NullableInt32[i].Compare(that1.NullableInt32[i]); c != 0 { |
| 2405 |
return c |
| 2406 |
} |
| 2407 |
} |
| 2408 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 2409 |
if len(this.NonnullInt32) < len(that1.NonnullInt32) { |
| 2410 |
return -1 |
| 2411 |
} |
| 2412 |
return 1 |
| 2413 |
} |
| 2414 |
for i := range this.NonnullInt32 { |
| 2415 |
if c := this.NonnullInt32[i].Compare(&that1.NonnullInt32[i]); c != 0 { |
| 2416 |
return c |
| 2417 |
} |
| 2418 |
} |
| 2419 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 2420 |
if len(this.NullableUInt32) < len(that1.NullableUInt32) { |
| 2421 |
return -1 |
| 2422 |
} |
| 2423 |
return 1 |
| 2424 |
} |
| 2425 |
for i := range this.NullableUInt32 { |
| 2426 |
if c := this.NullableUInt32[i].Compare(that1.NullableUInt32[i]); c != 0 { |
| 2427 |
return c |
| 2428 |
} |
| 2429 |
} |
| 2430 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 2431 |
if len(this.NonnullUInt32) < len(that1.NonnullUInt32) { |
| 2432 |
return -1 |
| 2433 |
} |
| 2434 |
return 1 |
| 2435 |
} |
| 2436 |
for i := range this.NonnullUInt32 { |
| 2437 |
if c := this.NonnullUInt32[i].Compare(&that1.NonnullUInt32[i]); c != 0 { |
| 2438 |
return c |
| 2439 |
} |
| 2440 |
} |
| 2441 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 2442 |
if len(this.NullableBool) < len(that1.NullableBool) { |
| 2443 |
return -1 |
| 2444 |
} |
| 2445 |
return 1 |
| 2446 |
} |
| 2447 |
for i := range this.NullableBool { |
| 2448 |
if c := this.NullableBool[i].Compare(that1.NullableBool[i]); c != 0 { |
| 2449 |
return c |
| 2450 |
} |
| 2451 |
} |
| 2452 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 2453 |
if len(this.NonnullBool) < len(that1.NonnullBool) { |
| 2454 |
return -1 |
| 2455 |
} |
| 2456 |
return 1 |
| 2457 |
} |
| 2458 |
for i := range this.NonnullBool { |
| 2459 |
if c := this.NonnullBool[i].Compare(&that1.NonnullBool[i]); c != 0 { |
| 2460 |
return c |
| 2461 |
} |
| 2462 |
} |
| 2463 |
if len(this.NullableString) != len(that1.NullableString) { |
| 2464 |
if len(this.NullableString) < len(that1.NullableString) { |
| 2465 |
return -1 |
| 2466 |
} |
| 2467 |
return 1 |
| 2468 |
} |
| 2469 |
for i := range this.NullableString { |
| 2470 |
if c := this.NullableString[i].Compare(that1.NullableString[i]); c != 0 { |
| 2471 |
return c |
| 2472 |
} |
| 2473 |
} |
| 2474 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 2475 |
if len(this.NonnullString) < len(that1.NonnullString) { |
| 2476 |
return -1 |
| 2477 |
} |
| 2478 |
return 1 |
| 2479 |
} |
| 2480 |
for i := range this.NonnullString { |
| 2481 |
if c := this.NonnullString[i].Compare(&that1.NonnullString[i]); c != 0 { |
| 2482 |
return c |
| 2483 |
} |
| 2484 |
} |
| 2485 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 2486 |
if len(this.NullableBytes) < len(that1.NullableBytes) { |
| 2487 |
return -1 |
| 2488 |
} |
| 2489 |
return 1 |
| 2490 |
} |
| 2491 |
for i := range this.NullableBytes { |
| 2492 |
if c := this.NullableBytes[i].Compare(that1.NullableBytes[i]); c != 0 { |
| 2493 |
return c |
| 2494 |
} |
| 2495 |
} |
| 2496 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 2497 |
if len(this.NonnullBytes) < len(that1.NonnullBytes) { |
| 2498 |
return -1 |
| 2499 |
} |
| 2500 |
return 1 |
| 2501 |
} |
| 2502 |
for i := range this.NonnullBytes { |
| 2503 |
if c := this.NonnullBytes[i].Compare(&that1.NonnullBytes[i]); c != 0 { |
| 2504 |
return c |
| 2505 |
} |
| 2506 |
} |
| 2507 |
if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { |
| 2508 |
return c |
| 2509 |
} |
| 2510 |
return 0 |
| 2511 |
} |
| 2512 |
func (this *KnownTypes) VerboseEqual(that interface{}) error { |
| 2513 |
if that == nil { |
| 2514 |
if this == nil { |
| 2515 |
return nil |
| 2516 |
} |
| 2517 |
return fmt.Errorf("that == nil && this != nil") |
| 2518 |
} |
| 2519 |
|
| 2520 |
that1, ok := that.(*KnownTypes) |
| 2521 |
if !ok { |
| 2522 |
that2, ok := that.(KnownTypes) |
| 2523 |
if ok { |
| 2524 |
that1 = &that2 |
| 2525 |
} else { |
| 2526 |
return fmt.Errorf("that is not of type *KnownTypes") |
| 2527 |
} |
| 2528 |
} |
| 2529 |
if that1 == nil { |
| 2530 |
if this == nil { |
| 2531 |
return nil |
| 2532 |
} |
| 2533 |
return fmt.Errorf("that is type *KnownTypes but is nil && this != nil") |
| 2534 |
} else if this == nil { |
| 2535 |
return fmt.Errorf("that is type *KnownTypes but is not nil && this == nil") |
| 2536 |
} |
| 2537 |
if !this.Dur.Equal(that1.Dur) { |
| 2538 |
return fmt.Errorf("Dur this(%v) Not Equal that(%v)", this.Dur, that1.Dur) |
| 2539 |
} |
| 2540 |
if !this.Ts.Equal(that1.Ts) { |
| 2541 |
return fmt.Errorf("Ts this(%v) Not Equal that(%v)", this.Ts, that1.Ts) |
| 2542 |
} |
| 2543 |
if !this.Dbl.Equal(that1.Dbl) { |
| 2544 |
return fmt.Errorf("Dbl this(%v) Not Equal that(%v)", this.Dbl, that1.Dbl) |
| 2545 |
} |
| 2546 |
if !this.Flt.Equal(that1.Flt) { |
| 2547 |
return fmt.Errorf("Flt this(%v) Not Equal that(%v)", this.Flt, that1.Flt) |
| 2548 |
} |
| 2549 |
if !this.I64.Equal(that1.I64) { |
| 2550 |
return fmt.Errorf("I64 this(%v) Not Equal that(%v)", this.I64, that1.I64) |
| 2551 |
} |
| 2552 |
if !this.U64.Equal(that1.U64) { |
| 2553 |
return fmt.Errorf("U64 this(%v) Not Equal that(%v)", this.U64, that1.U64) |
| 2554 |
} |
| 2555 |
if !this.I32.Equal(that1.I32) { |
| 2556 |
return fmt.Errorf("I32 this(%v) Not Equal that(%v)", this.I32, that1.I32) |
| 2557 |
} |
| 2558 |
if !this.U32.Equal(that1.U32) { |
| 2559 |
return fmt.Errorf("U32 this(%v) Not Equal that(%v)", this.U32, that1.U32) |
| 2560 |
} |
| 2561 |
if !this.Bool.Equal(that1.Bool) { |
| 2562 |
return fmt.Errorf("Bool this(%v) Not Equal that(%v)", this.Bool, that1.Bool) |
| 2563 |
} |
| 2564 |
if !this.Str.Equal(that1.Str) { |
| 2565 |
return fmt.Errorf("Str this(%v) Not Equal that(%v)", this.Str, that1.Str) |
| 2566 |
} |
| 2567 |
if !this.Bytes.Equal(that1.Bytes) { |
| 2568 |
return fmt.Errorf("Bytes this(%v) Not Equal that(%v)", this.Bytes, that1.Bytes) |
| 2569 |
} |
| 2570 |
if !this.St.Equal(that1.St) { |
| 2571 |
return fmt.Errorf("St this(%v) Not Equal that(%v)", this.St, that1.St) |
| 2572 |
} |
| 2573 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2574 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 2575 |
} |
| 2576 |
return nil |
| 2577 |
} |
| 2578 |
func (this *KnownTypes) Equal(that interface{}) bool { |
| 2579 |
if that == nil { |
| 2580 |
return this == nil |
| 2581 |
} |
| 2582 |
|
| 2583 |
that1, ok := that.(*KnownTypes) |
| 2584 |
if !ok { |
| 2585 |
that2, ok := that.(KnownTypes) |
| 2586 |
if ok { |
| 2587 |
that1 = &that2 |
| 2588 |
} else { |
| 2589 |
return false |
| 2590 |
} |
| 2591 |
} |
| 2592 |
if that1 == nil { |
| 2593 |
return this == nil |
| 2594 |
} else if this == nil { |
| 2595 |
return false |
| 2596 |
} |
| 2597 |
if !this.Dur.Equal(that1.Dur) { |
| 2598 |
return false |
| 2599 |
} |
| 2600 |
if !this.Ts.Equal(that1.Ts) { |
| 2601 |
return false |
| 2602 |
} |
| 2603 |
if !this.Dbl.Equal(that1.Dbl) { |
| 2604 |
return false |
| 2605 |
} |
| 2606 |
if !this.Flt.Equal(that1.Flt) { |
| 2607 |
return false |
| 2608 |
} |
| 2609 |
if !this.I64.Equal(that1.I64) { |
| 2610 |
return false |
| 2611 |
} |
| 2612 |
if !this.U64.Equal(that1.U64) { |
| 2613 |
return false |
| 2614 |
} |
| 2615 |
if !this.I32.Equal(that1.I32) { |
| 2616 |
return false |
| 2617 |
} |
| 2618 |
if !this.U32.Equal(that1.U32) { |
| 2619 |
return false |
| 2620 |
} |
| 2621 |
if !this.Bool.Equal(that1.Bool) { |
| 2622 |
return false |
| 2623 |
} |
| 2624 |
if !this.Str.Equal(that1.Str) { |
| 2625 |
return false |
| 2626 |
} |
| 2627 |
if !this.Bytes.Equal(that1.Bytes) { |
| 2628 |
return false |
| 2629 |
} |
| 2630 |
if !this.St.Equal(that1.St) { |
| 2631 |
return false |
| 2632 |
} |
| 2633 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2634 |
return false |
| 2635 |
} |
| 2636 |
return true |
| 2637 |
} |
| 2638 |
func (this *ProtoTypes) VerboseEqual(that interface{}) error { |
| 2639 |
if that == nil { |
| 2640 |
if this == nil { |
| 2641 |
return nil |
| 2642 |
} |
| 2643 |
return fmt.Errorf("that == nil && this != nil") |
| 2644 |
} |
| 2645 |
|
| 2646 |
that1, ok := that.(*ProtoTypes) |
| 2647 |
if !ok { |
| 2648 |
that2, ok := that.(ProtoTypes) |
| 2649 |
if ok { |
| 2650 |
that1 = &that2 |
| 2651 |
} else { |
| 2652 |
return fmt.Errorf("that is not of type *ProtoTypes") |
| 2653 |
} |
| 2654 |
} |
| 2655 |
if that1 == nil { |
| 2656 |
if this == nil { |
| 2657 |
return nil |
| 2658 |
} |
| 2659 |
return fmt.Errorf("that is type *ProtoTypes but is nil && this != nil") |
| 2660 |
} else if this == nil { |
| 2661 |
return fmt.Errorf("that is type *ProtoTypes but is not nil && this == nil") |
| 2662 |
} |
| 2663 |
if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { |
| 2664 |
return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) |
| 2665 |
} |
| 2666 |
if !this.NullableDuration.Equal(that1.NullableDuration) { |
| 2667 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) |
| 2668 |
} |
| 2669 |
if !this.NullableDouble.Equal(that1.NullableDouble) { |
| 2670 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) |
| 2671 |
} |
| 2672 |
if !this.NullableFloat.Equal(that1.NullableFloat) { |
| 2673 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) |
| 2674 |
} |
| 2675 |
if !this.NullableInt64.Equal(that1.NullableInt64) { |
| 2676 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) |
| 2677 |
} |
| 2678 |
if !this.NullableUInt64.Equal(that1.NullableUInt64) { |
| 2679 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) |
| 2680 |
} |
| 2681 |
if !this.NullableInt32.Equal(that1.NullableInt32) { |
| 2682 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) |
| 2683 |
} |
| 2684 |
if !this.NullableUInt32.Equal(that1.NullableUInt32) { |
| 2685 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) |
| 2686 |
} |
| 2687 |
if !this.NullableBool.Equal(that1.NullableBool) { |
| 2688 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) |
| 2689 |
} |
| 2690 |
if !this.NullableString.Equal(that1.NullableString) { |
| 2691 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) |
| 2692 |
} |
| 2693 |
if !this.NullableBytes.Equal(that1.NullableBytes) { |
| 2694 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) |
| 2695 |
} |
| 2696 |
if !this.Timestamp.Equal(&that1.Timestamp) { |
| 2697 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) |
| 2698 |
} |
| 2699 |
if !this.Duration.Equal(&that1.Duration) { |
| 2700 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) |
| 2701 |
} |
| 2702 |
if !this.NonnullDouble.Equal(&that1.NonnullDouble) { |
| 2703 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) |
| 2704 |
} |
| 2705 |
if !this.NonnullFloat.Equal(&that1.NonnullFloat) { |
| 2706 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) |
| 2707 |
} |
| 2708 |
if !this.NonnullInt64.Equal(&that1.NonnullInt64) { |
| 2709 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) |
| 2710 |
} |
| 2711 |
if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { |
| 2712 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) |
| 2713 |
} |
| 2714 |
if !this.NonnullInt32.Equal(&that1.NonnullInt32) { |
| 2715 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) |
| 2716 |
} |
| 2717 |
if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { |
| 2718 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) |
| 2719 |
} |
| 2720 |
if !this.NonnullBool.Equal(&that1.NonnullBool) { |
| 2721 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) |
| 2722 |
} |
| 2723 |
if !this.NonnullString.Equal(&that1.NonnullString) { |
| 2724 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) |
| 2725 |
} |
| 2726 |
if !this.NonnullBytes.Equal(&that1.NonnullBytes) { |
| 2727 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) |
| 2728 |
} |
| 2729 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2730 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 2731 |
} |
| 2732 |
return nil |
| 2733 |
} |
| 2734 |
func (this *ProtoTypes) Equal(that interface{}) bool { |
| 2735 |
if that == nil { |
| 2736 |
return this == nil |
| 2737 |
} |
| 2738 |
|
| 2739 |
that1, ok := that.(*ProtoTypes) |
| 2740 |
if !ok { |
| 2741 |
that2, ok := that.(ProtoTypes) |
| 2742 |
if ok { |
| 2743 |
that1 = &that2 |
| 2744 |
} else { |
| 2745 |
return false |
| 2746 |
} |
| 2747 |
} |
| 2748 |
if that1 == nil { |
| 2749 |
return this == nil |
| 2750 |
} else if this == nil { |
| 2751 |
return false |
| 2752 |
} |
| 2753 |
if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { |
| 2754 |
return false |
| 2755 |
} |
| 2756 |
if !this.NullableDuration.Equal(that1.NullableDuration) { |
| 2757 |
return false |
| 2758 |
} |
| 2759 |
if !this.NullableDouble.Equal(that1.NullableDouble) { |
| 2760 |
return false |
| 2761 |
} |
| 2762 |
if !this.NullableFloat.Equal(that1.NullableFloat) { |
| 2763 |
return false |
| 2764 |
} |
| 2765 |
if !this.NullableInt64.Equal(that1.NullableInt64) { |
| 2766 |
return false |
| 2767 |
} |
| 2768 |
if !this.NullableUInt64.Equal(that1.NullableUInt64) { |
| 2769 |
return false |
| 2770 |
} |
| 2771 |
if !this.NullableInt32.Equal(that1.NullableInt32) { |
| 2772 |
return false |
| 2773 |
} |
| 2774 |
if !this.NullableUInt32.Equal(that1.NullableUInt32) { |
| 2775 |
return false |
| 2776 |
} |
| 2777 |
if !this.NullableBool.Equal(that1.NullableBool) { |
| 2778 |
return false |
| 2779 |
} |
| 2780 |
if !this.NullableString.Equal(that1.NullableString) { |
| 2781 |
return false |
| 2782 |
} |
| 2783 |
if !this.NullableBytes.Equal(that1.NullableBytes) { |
| 2784 |
return false |
| 2785 |
} |
| 2786 |
if !this.Timestamp.Equal(&that1.Timestamp) { |
| 2787 |
return false |
| 2788 |
} |
| 2789 |
if !this.Duration.Equal(&that1.Duration) { |
| 2790 |
return false |
| 2791 |
} |
| 2792 |
if !this.NonnullDouble.Equal(&that1.NonnullDouble) { |
| 2793 |
return false |
| 2794 |
} |
| 2795 |
if !this.NonnullFloat.Equal(&that1.NonnullFloat) { |
| 2796 |
return false |
| 2797 |
} |
| 2798 |
if !this.NonnullInt64.Equal(&that1.NonnullInt64) { |
| 2799 |
return false |
| 2800 |
} |
| 2801 |
if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { |
| 2802 |
return false |
| 2803 |
} |
| 2804 |
if !this.NonnullInt32.Equal(&that1.NonnullInt32) { |
| 2805 |
return false |
| 2806 |
} |
| 2807 |
if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { |
| 2808 |
return false |
| 2809 |
} |
| 2810 |
if !this.NonnullBool.Equal(&that1.NonnullBool) { |
| 2811 |
return false |
| 2812 |
} |
| 2813 |
if !this.NonnullString.Equal(&that1.NonnullString) { |
| 2814 |
return false |
| 2815 |
} |
| 2816 |
if !this.NonnullBytes.Equal(&that1.NonnullBytes) { |
| 2817 |
return false |
| 2818 |
} |
| 2819 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2820 |
return false |
| 2821 |
} |
| 2822 |
return true |
| 2823 |
} |
| 2824 |
func (this *StdTypes) VerboseEqual(that interface{}) error { |
| 2825 |
if that == nil { |
| 2826 |
if this == nil { |
| 2827 |
return nil |
| 2828 |
} |
| 2829 |
return fmt.Errorf("that == nil && this != nil") |
| 2830 |
} |
| 2831 |
|
| 2832 |
that1, ok := that.(*StdTypes) |
| 2833 |
if !ok { |
| 2834 |
that2, ok := that.(StdTypes) |
| 2835 |
if ok { |
| 2836 |
that1 = &that2 |
| 2837 |
} else { |
| 2838 |
return fmt.Errorf("that is not of type *StdTypes") |
| 2839 |
} |
| 2840 |
} |
| 2841 |
if that1 == nil { |
| 2842 |
if this == nil { |
| 2843 |
return nil |
| 2844 |
} |
| 2845 |
return fmt.Errorf("that is type *StdTypes but is nil && this != nil") |
| 2846 |
} else if this == nil { |
| 2847 |
return fmt.Errorf("that is type *StdTypes but is not nil && this == nil") |
| 2848 |
} |
| 2849 |
if that1.NullableTimestamp == nil { |
| 2850 |
if this.NullableTimestamp != nil { |
| 2851 |
return fmt.Errorf("this.NullableTimestamp != nil && that1.NullableTimestamp == nil") |
| 2852 |
} |
| 2853 |
} else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { |
| 2854 |
return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) |
| 2855 |
} |
| 2856 |
if this.NullableDuration != nil && that1.NullableDuration != nil { |
| 2857 |
if *this.NullableDuration != *that1.NullableDuration { |
| 2858 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", *this.NullableDuration, *that1.NullableDuration) |
| 2859 |
} |
| 2860 |
} else if this.NullableDuration != nil { |
| 2861 |
return fmt.Errorf("this.NullableDuration == nil && that.NullableDuration != nil") |
| 2862 |
} else if that1.NullableDuration != nil { |
| 2863 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) |
| 2864 |
} |
| 2865 |
if this.NullableDouble != nil && that1.NullableDouble != nil { |
| 2866 |
if *this.NullableDouble != *that1.NullableDouble { |
| 2867 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", *this.NullableDouble, *that1.NullableDouble) |
| 2868 |
} |
| 2869 |
} else if this.NullableDouble != nil { |
| 2870 |
return fmt.Errorf("this.NullableDouble == nil && that.NullableDouble != nil") |
| 2871 |
} else if that1.NullableDouble != nil { |
| 2872 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) |
| 2873 |
} |
| 2874 |
if this.NullableFloat != nil && that1.NullableFloat != nil { |
| 2875 |
if *this.NullableFloat != *that1.NullableFloat { |
| 2876 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", *this.NullableFloat, *that1.NullableFloat) |
| 2877 |
} |
| 2878 |
} else if this.NullableFloat != nil { |
| 2879 |
return fmt.Errorf("this.NullableFloat == nil && that.NullableFloat != nil") |
| 2880 |
} else if that1.NullableFloat != nil { |
| 2881 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) |
| 2882 |
} |
| 2883 |
if this.NullableInt64 != nil && that1.NullableInt64 != nil { |
| 2884 |
if *this.NullableInt64 != *that1.NullableInt64 { |
| 2885 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", *this.NullableInt64, *that1.NullableInt64) |
| 2886 |
} |
| 2887 |
} else if this.NullableInt64 != nil { |
| 2888 |
return fmt.Errorf("this.NullableInt64 == nil && that.NullableInt64 != nil") |
| 2889 |
} else if that1.NullableInt64 != nil { |
| 2890 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) |
| 2891 |
} |
| 2892 |
if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { |
| 2893 |
if *this.NullableUInt64 != *that1.NullableUInt64 { |
| 2894 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", *this.NullableUInt64, *that1.NullableUInt64) |
| 2895 |
} |
| 2896 |
} else if this.NullableUInt64 != nil { |
| 2897 |
return fmt.Errorf("this.NullableUInt64 == nil && that.NullableUInt64 != nil") |
| 2898 |
} else if that1.NullableUInt64 != nil { |
| 2899 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) |
| 2900 |
} |
| 2901 |
if this.NullableInt32 != nil && that1.NullableInt32 != nil { |
| 2902 |
if *this.NullableInt32 != *that1.NullableInt32 { |
| 2903 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", *this.NullableInt32, *that1.NullableInt32) |
| 2904 |
} |
| 2905 |
} else if this.NullableInt32 != nil { |
| 2906 |
return fmt.Errorf("this.NullableInt32 == nil && that.NullableInt32 != nil") |
| 2907 |
} else if that1.NullableInt32 != nil { |
| 2908 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) |
| 2909 |
} |
| 2910 |
if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { |
| 2911 |
if *this.NullableUInt32 != *that1.NullableUInt32 { |
| 2912 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", *this.NullableUInt32, *that1.NullableUInt32) |
| 2913 |
} |
| 2914 |
} else if this.NullableUInt32 != nil { |
| 2915 |
return fmt.Errorf("this.NullableUInt32 == nil && that.NullableUInt32 != nil") |
| 2916 |
} else if that1.NullableUInt32 != nil { |
| 2917 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) |
| 2918 |
} |
| 2919 |
if this.NullableBool != nil && that1.NullableBool != nil { |
| 2920 |
if *this.NullableBool != *that1.NullableBool { |
| 2921 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", *this.NullableBool, *that1.NullableBool) |
| 2922 |
} |
| 2923 |
} else if this.NullableBool != nil { |
| 2924 |
return fmt.Errorf("this.NullableBool == nil && that.NullableBool != nil") |
| 2925 |
} else if that1.NullableBool != nil { |
| 2926 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) |
| 2927 |
} |
| 2928 |
if this.NullableString != nil && that1.NullableString != nil { |
| 2929 |
if *this.NullableString != *that1.NullableString { |
| 2930 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", *this.NullableString, *that1.NullableString) |
| 2931 |
} |
| 2932 |
} else if this.NullableString != nil { |
| 2933 |
return fmt.Errorf("this.NullableString == nil && that.NullableString != nil") |
| 2934 |
} else if that1.NullableString != nil { |
| 2935 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) |
| 2936 |
} |
| 2937 |
if that1.NullableBytes == nil { |
| 2938 |
if this.NullableBytes != nil { |
| 2939 |
return fmt.Errorf("this.NullableBytes != nil && that1.NullableBytes == nil") |
| 2940 |
} |
| 2941 |
} else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { |
| 2942 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) |
| 2943 |
} |
| 2944 |
if !this.Timestamp.Equal(that1.Timestamp) { |
| 2945 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) |
| 2946 |
} |
| 2947 |
if this.Duration != that1.Duration { |
| 2948 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) |
| 2949 |
} |
| 2950 |
if this.NonnullDouble != that1.NonnullDouble { |
| 2951 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) |
| 2952 |
} |
| 2953 |
if this.NonnullFloat != that1.NonnullFloat { |
| 2954 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) |
| 2955 |
} |
| 2956 |
if this.NonnullInt64 != that1.NonnullInt64 { |
| 2957 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) |
| 2958 |
} |
| 2959 |
if this.NonnullUInt64 != that1.NonnullUInt64 { |
| 2960 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) |
| 2961 |
} |
| 2962 |
if this.NonnullInt32 != that1.NonnullInt32 { |
| 2963 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) |
| 2964 |
} |
| 2965 |
if this.NonnullUInt32 != that1.NonnullUInt32 { |
| 2966 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) |
| 2967 |
} |
| 2968 |
if this.NonnullBool != that1.NonnullBool { |
| 2969 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) |
| 2970 |
} |
| 2971 |
if this.NonnullString != that1.NonnullString { |
| 2972 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) |
| 2973 |
} |
| 2974 |
if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { |
| 2975 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) |
| 2976 |
} |
| 2977 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 2978 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 2979 |
} |
| 2980 |
return nil |
| 2981 |
} |
| 2982 |
func (this *StdTypes) Equal(that interface{}) bool { |
| 2983 |
if that == nil { |
| 2984 |
return this == nil |
| 2985 |
} |
| 2986 |
|
| 2987 |
that1, ok := that.(*StdTypes) |
| 2988 |
if !ok { |
| 2989 |
that2, ok := that.(StdTypes) |
| 2990 |
if ok { |
| 2991 |
that1 = &that2 |
| 2992 |
} else { |
| 2993 |
return false |
| 2994 |
} |
| 2995 |
} |
| 2996 |
if that1 == nil { |
| 2997 |
return this == nil |
| 2998 |
} else if this == nil { |
| 2999 |
return false |
| 3000 |
} |
| 3001 |
if that1.NullableTimestamp == nil { |
| 3002 |
if this.NullableTimestamp != nil { |
| 3003 |
return false |
| 3004 |
} |
| 3005 |
} else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { |
| 3006 |
return false |
| 3007 |
} |
| 3008 |
if this.NullableDuration != nil && that1.NullableDuration != nil { |
| 3009 |
if *this.NullableDuration != *that1.NullableDuration { |
| 3010 |
return false |
| 3011 |
} |
| 3012 |
} else if this.NullableDuration != nil { |
| 3013 |
return false |
| 3014 |
} else if that1.NullableDuration != nil { |
| 3015 |
return false |
| 3016 |
} |
| 3017 |
if this.NullableDouble != nil && that1.NullableDouble != nil { |
| 3018 |
if *this.NullableDouble != *that1.NullableDouble { |
| 3019 |
return false |
| 3020 |
} |
| 3021 |
} else if this.NullableDouble != nil { |
| 3022 |
return false |
| 3023 |
} else if that1.NullableDouble != nil { |
| 3024 |
return false |
| 3025 |
} |
| 3026 |
if this.NullableFloat != nil && that1.NullableFloat != nil { |
| 3027 |
if *this.NullableFloat != *that1.NullableFloat { |
| 3028 |
return false |
| 3029 |
} |
| 3030 |
} else if this.NullableFloat != nil { |
| 3031 |
return false |
| 3032 |
} else if that1.NullableFloat != nil { |
| 3033 |
return false |
| 3034 |
} |
| 3035 |
if this.NullableInt64 != nil && that1.NullableInt64 != nil { |
| 3036 |
if *this.NullableInt64 != *that1.NullableInt64 { |
| 3037 |
return false |
| 3038 |
} |
| 3039 |
} else if this.NullableInt64 != nil { |
| 3040 |
return false |
| 3041 |
} else if that1.NullableInt64 != nil { |
| 3042 |
return false |
| 3043 |
} |
| 3044 |
if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { |
| 3045 |
if *this.NullableUInt64 != *that1.NullableUInt64 { |
| 3046 |
return false |
| 3047 |
} |
| 3048 |
} else if this.NullableUInt64 != nil { |
| 3049 |
return false |
| 3050 |
} else if that1.NullableUInt64 != nil { |
| 3051 |
return false |
| 3052 |
} |
| 3053 |
if this.NullableInt32 != nil && that1.NullableInt32 != nil { |
| 3054 |
if *this.NullableInt32 != *that1.NullableInt32 { |
| 3055 |
return false |
| 3056 |
} |
| 3057 |
} else if this.NullableInt32 != nil { |
| 3058 |
return false |
| 3059 |
} else if that1.NullableInt32 != nil { |
| 3060 |
return false |
| 3061 |
} |
| 3062 |
if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { |
| 3063 |
if *this.NullableUInt32 != *that1.NullableUInt32 { |
| 3064 |
return false |
| 3065 |
} |
| 3066 |
} else if this.NullableUInt32 != nil { |
| 3067 |
return false |
| 3068 |
} else if that1.NullableUInt32 != nil { |
| 3069 |
return false |
| 3070 |
} |
| 3071 |
if this.NullableBool != nil && that1.NullableBool != nil { |
| 3072 |
if *this.NullableBool != *that1.NullableBool { |
| 3073 |
return false |
| 3074 |
} |
| 3075 |
} else if this.NullableBool != nil { |
| 3076 |
return false |
| 3077 |
} else if that1.NullableBool != nil { |
| 3078 |
return false |
| 3079 |
} |
| 3080 |
if this.NullableString != nil && that1.NullableString != nil { |
| 3081 |
if *this.NullableString != *that1.NullableString { |
| 3082 |
return false |
| 3083 |
} |
| 3084 |
} else if this.NullableString != nil { |
| 3085 |
return false |
| 3086 |
} else if that1.NullableString != nil { |
| 3087 |
return false |
| 3088 |
} |
| 3089 |
if that1.NullableBytes == nil { |
| 3090 |
if this.NullableBytes != nil { |
| 3091 |
return false |
| 3092 |
} |
| 3093 |
} else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { |
| 3094 |
return false |
| 3095 |
} |
| 3096 |
if !this.Timestamp.Equal(that1.Timestamp) { |
| 3097 |
return false |
| 3098 |
} |
| 3099 |
if this.Duration != that1.Duration { |
| 3100 |
return false |
| 3101 |
} |
| 3102 |
if this.NonnullDouble != that1.NonnullDouble { |
| 3103 |
return false |
| 3104 |
} |
| 3105 |
if this.NonnullFloat != that1.NonnullFloat { |
| 3106 |
return false |
| 3107 |
} |
| 3108 |
if this.NonnullInt64 != that1.NonnullInt64 { |
| 3109 |
return false |
| 3110 |
} |
| 3111 |
if this.NonnullUInt64 != that1.NonnullUInt64 { |
| 3112 |
return false |
| 3113 |
} |
| 3114 |
if this.NonnullInt32 != that1.NonnullInt32 { |
| 3115 |
return false |
| 3116 |
} |
| 3117 |
if this.NonnullUInt32 != that1.NonnullUInt32 { |
| 3118 |
return false |
| 3119 |
} |
| 3120 |
if this.NonnullBool != that1.NonnullBool { |
| 3121 |
return false |
| 3122 |
} |
| 3123 |
if this.NonnullString != that1.NonnullString { |
| 3124 |
return false |
| 3125 |
} |
| 3126 |
if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { |
| 3127 |
return false |
| 3128 |
} |
| 3129 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3130 |
return false |
| 3131 |
} |
| 3132 |
return true |
| 3133 |
} |
| 3134 |
func (this *RepProtoTypes) VerboseEqual(that interface{}) error { |
| 3135 |
if that == nil { |
| 3136 |
if this == nil { |
| 3137 |
return nil |
| 3138 |
} |
| 3139 |
return fmt.Errorf("that == nil && this != nil") |
| 3140 |
} |
| 3141 |
|
| 3142 |
that1, ok := that.(*RepProtoTypes) |
| 3143 |
if !ok { |
| 3144 |
that2, ok := that.(RepProtoTypes) |
| 3145 |
if ok { |
| 3146 |
that1 = &that2 |
| 3147 |
} else { |
| 3148 |
return fmt.Errorf("that is not of type *RepProtoTypes") |
| 3149 |
} |
| 3150 |
} |
| 3151 |
if that1 == nil { |
| 3152 |
if this == nil { |
| 3153 |
return nil |
| 3154 |
} |
| 3155 |
return fmt.Errorf("that is type *RepProtoTypes but is nil && this != nil") |
| 3156 |
} else if this == nil { |
| 3157 |
return fmt.Errorf("that is type *RepProtoTypes but is not nil && this == nil") |
| 3158 |
} |
| 3159 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 3160 |
return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) |
| 3161 |
} |
| 3162 |
for i := range this.NullableTimestamps { |
| 3163 |
if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { |
| 3164 |
return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) |
| 3165 |
} |
| 3166 |
} |
| 3167 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 3168 |
return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) |
| 3169 |
} |
| 3170 |
for i := range this.NullableDurations { |
| 3171 |
if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { |
| 3172 |
return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) |
| 3173 |
} |
| 3174 |
} |
| 3175 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 3176 |
return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) |
| 3177 |
} |
| 3178 |
for i := range this.Timestamps { |
| 3179 |
if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { |
| 3180 |
return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) |
| 3181 |
} |
| 3182 |
} |
| 3183 |
if len(this.Durations) != len(that1.Durations) { |
| 3184 |
return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) |
| 3185 |
} |
| 3186 |
for i := range this.Durations { |
| 3187 |
if !this.Durations[i].Equal(&that1.Durations[i]) { |
| 3188 |
return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) |
| 3189 |
} |
| 3190 |
} |
| 3191 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 3192 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) |
| 3193 |
} |
| 3194 |
for i := range this.NullableDouble { |
| 3195 |
if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { |
| 3196 |
return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) |
| 3197 |
} |
| 3198 |
} |
| 3199 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 3200 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) |
| 3201 |
} |
| 3202 |
for i := range this.NonnullDouble { |
| 3203 |
if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { |
| 3204 |
return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) |
| 3205 |
} |
| 3206 |
} |
| 3207 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 3208 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) |
| 3209 |
} |
| 3210 |
for i := range this.NullableFloat { |
| 3211 |
if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { |
| 3212 |
return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) |
| 3213 |
} |
| 3214 |
} |
| 3215 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 3216 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) |
| 3217 |
} |
| 3218 |
for i := range this.NonnullFloat { |
| 3219 |
if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { |
| 3220 |
return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) |
| 3221 |
} |
| 3222 |
} |
| 3223 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 3224 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) |
| 3225 |
} |
| 3226 |
for i := range this.NullableInt64 { |
| 3227 |
if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { |
| 3228 |
return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) |
| 3229 |
} |
| 3230 |
} |
| 3231 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 3232 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) |
| 3233 |
} |
| 3234 |
for i := range this.NonnullInt64 { |
| 3235 |
if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { |
| 3236 |
return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) |
| 3237 |
} |
| 3238 |
} |
| 3239 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 3240 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) |
| 3241 |
} |
| 3242 |
for i := range this.NullableUInt64 { |
| 3243 |
if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { |
| 3244 |
return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) |
| 3245 |
} |
| 3246 |
} |
| 3247 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 3248 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) |
| 3249 |
} |
| 3250 |
for i := range this.NonnullUInt64 { |
| 3251 |
if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { |
| 3252 |
return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) |
| 3253 |
} |
| 3254 |
} |
| 3255 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 3256 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) |
| 3257 |
} |
| 3258 |
for i := range this.NullableInt32 { |
| 3259 |
if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { |
| 3260 |
return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) |
| 3261 |
} |
| 3262 |
} |
| 3263 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 3264 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) |
| 3265 |
} |
| 3266 |
for i := range this.NonnullInt32 { |
| 3267 |
if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { |
| 3268 |
return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) |
| 3269 |
} |
| 3270 |
} |
| 3271 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 3272 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) |
| 3273 |
} |
| 3274 |
for i := range this.NullableUInt32 { |
| 3275 |
if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { |
| 3276 |
return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) |
| 3277 |
} |
| 3278 |
} |
| 3279 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 3280 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) |
| 3281 |
} |
| 3282 |
for i := range this.NonnullUInt32 { |
| 3283 |
if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { |
| 3284 |
return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) |
| 3285 |
} |
| 3286 |
} |
| 3287 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 3288 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) |
| 3289 |
} |
| 3290 |
for i := range this.NullableBool { |
| 3291 |
if !this.NullableBool[i].Equal(that1.NullableBool[i]) { |
| 3292 |
return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) |
| 3293 |
} |
| 3294 |
} |
| 3295 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 3296 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) |
| 3297 |
} |
| 3298 |
for i := range this.NonnullBool { |
| 3299 |
if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { |
| 3300 |
return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) |
| 3301 |
} |
| 3302 |
} |
| 3303 |
if len(this.NullableString) != len(that1.NullableString) { |
| 3304 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) |
| 3305 |
} |
| 3306 |
for i := range this.NullableString { |
| 3307 |
if !this.NullableString[i].Equal(that1.NullableString[i]) { |
| 3308 |
return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) |
| 3309 |
} |
| 3310 |
} |
| 3311 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 3312 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) |
| 3313 |
} |
| 3314 |
for i := range this.NonnullString { |
| 3315 |
if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { |
| 3316 |
return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) |
| 3317 |
} |
| 3318 |
} |
| 3319 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 3320 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) |
| 3321 |
} |
| 3322 |
for i := range this.NullableBytes { |
| 3323 |
if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { |
| 3324 |
return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) |
| 3325 |
} |
| 3326 |
} |
| 3327 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 3328 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) |
| 3329 |
} |
| 3330 |
for i := range this.NonnullBytes { |
| 3331 |
if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { |
| 3332 |
return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) |
| 3333 |
} |
| 3334 |
} |
| 3335 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3336 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 3337 |
} |
| 3338 |
return nil |
| 3339 |
} |
| 3340 |
func (this *RepProtoTypes) Equal(that interface{}) bool { |
| 3341 |
if that == nil { |
| 3342 |
return this == nil |
| 3343 |
} |
| 3344 |
|
| 3345 |
that1, ok := that.(*RepProtoTypes) |
| 3346 |
if !ok { |
| 3347 |
that2, ok := that.(RepProtoTypes) |
| 3348 |
if ok { |
| 3349 |
that1 = &that2 |
| 3350 |
} else { |
| 3351 |
return false |
| 3352 |
} |
| 3353 |
} |
| 3354 |
if that1 == nil { |
| 3355 |
return this == nil |
| 3356 |
} else if this == nil { |
| 3357 |
return false |
| 3358 |
} |
| 3359 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 3360 |
return false |
| 3361 |
} |
| 3362 |
for i := range this.NullableTimestamps { |
| 3363 |
if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { |
| 3364 |
return false |
| 3365 |
} |
| 3366 |
} |
| 3367 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 3368 |
return false |
| 3369 |
} |
| 3370 |
for i := range this.NullableDurations { |
| 3371 |
if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { |
| 3372 |
return false |
| 3373 |
} |
| 3374 |
} |
| 3375 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 3376 |
return false |
| 3377 |
} |
| 3378 |
for i := range this.Timestamps { |
| 3379 |
if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { |
| 3380 |
return false |
| 3381 |
} |
| 3382 |
} |
| 3383 |
if len(this.Durations) != len(that1.Durations) { |
| 3384 |
return false |
| 3385 |
} |
| 3386 |
for i := range this.Durations { |
| 3387 |
if !this.Durations[i].Equal(&that1.Durations[i]) { |
| 3388 |
return false |
| 3389 |
} |
| 3390 |
} |
| 3391 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 3392 |
return false |
| 3393 |
} |
| 3394 |
for i := range this.NullableDouble { |
| 3395 |
if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { |
| 3396 |
return false |
| 3397 |
} |
| 3398 |
} |
| 3399 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 3400 |
return false |
| 3401 |
} |
| 3402 |
for i := range this.NonnullDouble { |
| 3403 |
if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { |
| 3404 |
return false |
| 3405 |
} |
| 3406 |
} |
| 3407 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 3408 |
return false |
| 3409 |
} |
| 3410 |
for i := range this.NullableFloat { |
| 3411 |
if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { |
| 3412 |
return false |
| 3413 |
} |
| 3414 |
} |
| 3415 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 3416 |
return false |
| 3417 |
} |
| 3418 |
for i := range this.NonnullFloat { |
| 3419 |
if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { |
| 3420 |
return false |
| 3421 |
} |
| 3422 |
} |
| 3423 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 3424 |
return false |
| 3425 |
} |
| 3426 |
for i := range this.NullableInt64 { |
| 3427 |
if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { |
| 3428 |
return false |
| 3429 |
} |
| 3430 |
} |
| 3431 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 3432 |
return false |
| 3433 |
} |
| 3434 |
for i := range this.NonnullInt64 { |
| 3435 |
if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { |
| 3436 |
return false |
| 3437 |
} |
| 3438 |
} |
| 3439 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 3440 |
return false |
| 3441 |
} |
| 3442 |
for i := range this.NullableUInt64 { |
| 3443 |
if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { |
| 3444 |
return false |
| 3445 |
} |
| 3446 |
} |
| 3447 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 3448 |
return false |
| 3449 |
} |
| 3450 |
for i := range this.NonnullUInt64 { |
| 3451 |
if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { |
| 3452 |
return false |
| 3453 |
} |
| 3454 |
} |
| 3455 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 3456 |
return false |
| 3457 |
} |
| 3458 |
for i := range this.NullableInt32 { |
| 3459 |
if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { |
| 3460 |
return false |
| 3461 |
} |
| 3462 |
} |
| 3463 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 3464 |
return false |
| 3465 |
} |
| 3466 |
for i := range this.NonnullInt32 { |
| 3467 |
if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { |
| 3468 |
return false |
| 3469 |
} |
| 3470 |
} |
| 3471 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 3472 |
return false |
| 3473 |
} |
| 3474 |
for i := range this.NullableUInt32 { |
| 3475 |
if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { |
| 3476 |
return false |
| 3477 |
} |
| 3478 |
} |
| 3479 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 3480 |
return false |
| 3481 |
} |
| 3482 |
for i := range this.NonnullUInt32 { |
| 3483 |
if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { |
| 3484 |
return false |
| 3485 |
} |
| 3486 |
} |
| 3487 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 3488 |
return false |
| 3489 |
} |
| 3490 |
for i := range this.NullableBool { |
| 3491 |
if !this.NullableBool[i].Equal(that1.NullableBool[i]) { |
| 3492 |
return false |
| 3493 |
} |
| 3494 |
} |
| 3495 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 3496 |
return false |
| 3497 |
} |
| 3498 |
for i := range this.NonnullBool { |
| 3499 |
if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { |
| 3500 |
return false |
| 3501 |
} |
| 3502 |
} |
| 3503 |
if len(this.NullableString) != len(that1.NullableString) { |
| 3504 |
return false |
| 3505 |
} |
| 3506 |
for i := range this.NullableString { |
| 3507 |
if !this.NullableString[i].Equal(that1.NullableString[i]) { |
| 3508 |
return false |
| 3509 |
} |
| 3510 |
} |
| 3511 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 3512 |
return false |
| 3513 |
} |
| 3514 |
for i := range this.NonnullString { |
| 3515 |
if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { |
| 3516 |
return false |
| 3517 |
} |
| 3518 |
} |
| 3519 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 3520 |
return false |
| 3521 |
} |
| 3522 |
for i := range this.NullableBytes { |
| 3523 |
if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { |
| 3524 |
return false |
| 3525 |
} |
| 3526 |
} |
| 3527 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 3528 |
return false |
| 3529 |
} |
| 3530 |
for i := range this.NonnullBytes { |
| 3531 |
if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { |
| 3532 |
return false |
| 3533 |
} |
| 3534 |
} |
| 3535 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3536 |
return false |
| 3537 |
} |
| 3538 |
return true |
| 3539 |
} |
| 3540 |
func (this *RepStdTypes) VerboseEqual(that interface{}) error { |
| 3541 |
if that == nil { |
| 3542 |
if this == nil { |
| 3543 |
return nil |
| 3544 |
} |
| 3545 |
return fmt.Errorf("that == nil && this != nil") |
| 3546 |
} |
| 3547 |
|
| 3548 |
that1, ok := that.(*RepStdTypes) |
| 3549 |
if !ok { |
| 3550 |
that2, ok := that.(RepStdTypes) |
| 3551 |
if ok { |
| 3552 |
that1 = &that2 |
| 3553 |
} else { |
| 3554 |
return fmt.Errorf("that is not of type *RepStdTypes") |
| 3555 |
} |
| 3556 |
} |
| 3557 |
if that1 == nil { |
| 3558 |
if this == nil { |
| 3559 |
return nil |
| 3560 |
} |
| 3561 |
return fmt.Errorf("that is type *RepStdTypes but is nil && this != nil") |
| 3562 |
} else if this == nil { |
| 3563 |
return fmt.Errorf("that is type *RepStdTypes but is not nil && this == nil") |
| 3564 |
} |
| 3565 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 3566 |
return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) |
| 3567 |
} |
| 3568 |
for i := range this.NullableTimestamps { |
| 3569 |
if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { |
| 3570 |
return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) |
| 3571 |
} |
| 3572 |
} |
| 3573 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 3574 |
return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) |
| 3575 |
} |
| 3576 |
for i := range this.NullableDurations { |
| 3577 |
if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3578 |
return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) |
| 3579 |
} |
| 3580 |
} |
| 3581 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 3582 |
return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) |
| 3583 |
} |
| 3584 |
for i := range this.Timestamps { |
| 3585 |
if !this.Timestamps[i].Equal(that1.Timestamps[i]) { |
| 3586 |
return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) |
| 3587 |
} |
| 3588 |
} |
| 3589 |
if len(this.Durations) != len(that1.Durations) { |
| 3590 |
return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) |
| 3591 |
} |
| 3592 |
for i := range this.Durations { |
| 3593 |
if this.Durations[i] != that1.Durations[i] { |
| 3594 |
return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) |
| 3595 |
} |
| 3596 |
} |
| 3597 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 3598 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) |
| 3599 |
} |
| 3600 |
for i := range this.NullableDouble { |
| 3601 |
if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3602 |
return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) |
| 3603 |
} |
| 3604 |
} |
| 3605 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 3606 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) |
| 3607 |
} |
| 3608 |
for i := range this.NonnullDouble { |
| 3609 |
if this.NonnullDouble[i] != that1.NonnullDouble[i] { |
| 3610 |
return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) |
| 3611 |
} |
| 3612 |
} |
| 3613 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 3614 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) |
| 3615 |
} |
| 3616 |
for i := range this.NullableFloat { |
| 3617 |
if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3618 |
return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) |
| 3619 |
} |
| 3620 |
} |
| 3621 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 3622 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) |
| 3623 |
} |
| 3624 |
for i := range this.NonnullFloat { |
| 3625 |
if this.NonnullFloat[i] != that1.NonnullFloat[i] { |
| 3626 |
return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) |
| 3627 |
} |
| 3628 |
} |
| 3629 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 3630 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) |
| 3631 |
} |
| 3632 |
for i := range this.NullableInt64 { |
| 3633 |
if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3634 |
return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) |
| 3635 |
} |
| 3636 |
} |
| 3637 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 3638 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) |
| 3639 |
} |
| 3640 |
for i := range this.NonnullInt64 { |
| 3641 |
if this.NonnullInt64[i] != that1.NonnullInt64[i] { |
| 3642 |
return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) |
| 3643 |
} |
| 3644 |
} |
| 3645 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 3646 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) |
| 3647 |
} |
| 3648 |
for i := range this.NullableUInt64 { |
| 3649 |
if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3650 |
return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) |
| 3651 |
} |
| 3652 |
} |
| 3653 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 3654 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) |
| 3655 |
} |
| 3656 |
for i := range this.NonnullUInt64 { |
| 3657 |
if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { |
| 3658 |
return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) |
| 3659 |
} |
| 3660 |
} |
| 3661 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 3662 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) |
| 3663 |
} |
| 3664 |
for i := range this.NullableInt32 { |
| 3665 |
if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3666 |
return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) |
| 3667 |
} |
| 3668 |
} |
| 3669 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 3670 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) |
| 3671 |
} |
| 3672 |
for i := range this.NonnullInt32 { |
| 3673 |
if this.NonnullInt32[i] != that1.NonnullInt32[i] { |
| 3674 |
return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) |
| 3675 |
} |
| 3676 |
} |
| 3677 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 3678 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) |
| 3679 |
} |
| 3680 |
for i := range this.NullableUInt32 { |
| 3681 |
if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3682 |
return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) |
| 3683 |
} |
| 3684 |
} |
| 3685 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 3686 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) |
| 3687 |
} |
| 3688 |
for i := range this.NonnullUInt32 { |
| 3689 |
if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { |
| 3690 |
return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) |
| 3691 |
} |
| 3692 |
} |
| 3693 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 3694 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) |
| 3695 |
} |
| 3696 |
for i := range this.NullableBool { |
| 3697 |
if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3698 |
return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) |
| 3699 |
} |
| 3700 |
} |
| 3701 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 3702 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) |
| 3703 |
} |
| 3704 |
for i := range this.NonnullBool { |
| 3705 |
if this.NonnullBool[i] != that1.NonnullBool[i] { |
| 3706 |
return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) |
| 3707 |
} |
| 3708 |
} |
| 3709 |
if len(this.NullableString) != len(that1.NullableString) { |
| 3710 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) |
| 3711 |
} |
| 3712 |
for i := range this.NullableString { |
| 3713 |
if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3714 |
return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) |
| 3715 |
} |
| 3716 |
} |
| 3717 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 3718 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) |
| 3719 |
} |
| 3720 |
for i := range this.NonnullString { |
| 3721 |
if this.NonnullString[i] != that1.NonnullString[i] { |
| 3722 |
return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) |
| 3723 |
} |
| 3724 |
} |
| 3725 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 3726 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) |
| 3727 |
} |
| 3728 |
for i := range this.NullableBytes { |
| 3729 |
if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { |
| 3730 |
return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) |
| 3731 |
} |
| 3732 |
} |
| 3733 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 3734 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) |
| 3735 |
} |
| 3736 |
for i := range this.NonnullBytes { |
| 3737 |
if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { |
| 3738 |
return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) |
| 3739 |
} |
| 3740 |
} |
| 3741 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3742 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 3743 |
} |
| 3744 |
return nil |
| 3745 |
} |
| 3746 |
func (this *RepStdTypes) Equal(that interface{}) bool { |
| 3747 |
if that == nil { |
| 3748 |
return this == nil |
| 3749 |
} |
| 3750 |
|
| 3751 |
that1, ok := that.(*RepStdTypes) |
| 3752 |
if !ok { |
| 3753 |
that2, ok := that.(RepStdTypes) |
| 3754 |
if ok { |
| 3755 |
that1 = &that2 |
| 3756 |
} else { |
| 3757 |
return false |
| 3758 |
} |
| 3759 |
} |
| 3760 |
if that1 == nil { |
| 3761 |
return this == nil |
| 3762 |
} else if this == nil { |
| 3763 |
return false |
| 3764 |
} |
| 3765 |
if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { |
| 3766 |
return false |
| 3767 |
} |
| 3768 |
for i := range this.NullableTimestamps { |
| 3769 |
if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { |
| 3770 |
return false |
| 3771 |
} |
| 3772 |
} |
| 3773 |
if len(this.NullableDurations) != len(that1.NullableDurations) { |
| 3774 |
return false |
| 3775 |
} |
| 3776 |
for i := range this.NullableDurations { |
| 3777 |
if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3778 |
return false |
| 3779 |
} |
| 3780 |
} |
| 3781 |
if len(this.Timestamps) != len(that1.Timestamps) { |
| 3782 |
return false |
| 3783 |
} |
| 3784 |
for i := range this.Timestamps { |
| 3785 |
if !this.Timestamps[i].Equal(that1.Timestamps[i]) { |
| 3786 |
return false |
| 3787 |
} |
| 3788 |
} |
| 3789 |
if len(this.Durations) != len(that1.Durations) { |
| 3790 |
return false |
| 3791 |
} |
| 3792 |
for i := range this.Durations { |
| 3793 |
if this.Durations[i] != that1.Durations[i] { |
| 3794 |
return false |
| 3795 |
} |
| 3796 |
} |
| 3797 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 3798 |
return false |
| 3799 |
} |
| 3800 |
for i := range this.NullableDouble { |
| 3801 |
if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3802 |
return false |
| 3803 |
} |
| 3804 |
} |
| 3805 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 3806 |
return false |
| 3807 |
} |
| 3808 |
for i := range this.NonnullDouble { |
| 3809 |
if this.NonnullDouble[i] != that1.NonnullDouble[i] { |
| 3810 |
return false |
| 3811 |
} |
| 3812 |
} |
| 3813 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 3814 |
return false |
| 3815 |
} |
| 3816 |
for i := range this.NullableFloat { |
| 3817 |
if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3818 |
return false |
| 3819 |
} |
| 3820 |
} |
| 3821 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 3822 |
return false |
| 3823 |
} |
| 3824 |
for i := range this.NonnullFloat { |
| 3825 |
if this.NonnullFloat[i] != that1.NonnullFloat[i] { |
| 3826 |
return false |
| 3827 |
} |
| 3828 |
} |
| 3829 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 3830 |
return false |
| 3831 |
} |
| 3832 |
for i := range this.NullableInt64 { |
| 3833 |
if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3834 |
return false |
| 3835 |
} |
| 3836 |
} |
| 3837 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 3838 |
return false |
| 3839 |
} |
| 3840 |
for i := range this.NonnullInt64 { |
| 3841 |
if this.NonnullInt64[i] != that1.NonnullInt64[i] { |
| 3842 |
return false |
| 3843 |
} |
| 3844 |
} |
| 3845 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 3846 |
return false |
| 3847 |
} |
| 3848 |
for i := range this.NullableUInt64 { |
| 3849 |
if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3850 |
return false |
| 3851 |
} |
| 3852 |
} |
| 3853 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 3854 |
return false |
| 3855 |
} |
| 3856 |
for i := range this.NonnullUInt64 { |
| 3857 |
if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { |
| 3858 |
return false |
| 3859 |
} |
| 3860 |
} |
| 3861 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 3862 |
return false |
| 3863 |
} |
| 3864 |
for i := range this.NullableInt32 { |
| 3865 |
if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3866 |
return false |
| 3867 |
} |
| 3868 |
} |
| 3869 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 3870 |
return false |
| 3871 |
} |
| 3872 |
for i := range this.NonnullInt32 { |
| 3873 |
if this.NonnullInt32[i] != that1.NonnullInt32[i] { |
| 3874 |
return false |
| 3875 |
} |
| 3876 |
} |
| 3877 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 3878 |
return false |
| 3879 |
} |
| 3880 |
for i := range this.NullableUInt32 { |
| 3881 |
if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3882 |
return false |
| 3883 |
} |
| 3884 |
} |
| 3885 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 3886 |
return false |
| 3887 |
} |
| 3888 |
for i := range this.NonnullUInt32 { |
| 3889 |
if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { |
| 3890 |
return false |
| 3891 |
} |
| 3892 |
} |
| 3893 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 3894 |
return false |
| 3895 |
} |
| 3896 |
for i := range this.NullableBool { |
| 3897 |
if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3898 |
return false |
| 3899 |
} |
| 3900 |
} |
| 3901 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 3902 |
return false |
| 3903 |
} |
| 3904 |
for i := range this.NonnullBool { |
| 3905 |
if this.NonnullBool[i] != that1.NonnullBool[i] { |
| 3906 |
return false |
| 3907 |
} |
| 3908 |
} |
| 3909 |
if len(this.NullableString) != len(that1.NullableString) { |
| 3910 |
return false |
| 3911 |
} |
| 3912 |
for i := range this.NullableString { |
| 3913 |
if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 3914 |
return false |
| 3915 |
} |
| 3916 |
} |
| 3917 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 3918 |
return false |
| 3919 |
} |
| 3920 |
for i := range this.NonnullString { |
| 3921 |
if this.NonnullString[i] != that1.NonnullString[i] { |
| 3922 |
return false |
| 3923 |
} |
| 3924 |
} |
| 3925 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 3926 |
return false |
| 3927 |
} |
| 3928 |
for i := range this.NullableBytes { |
| 3929 |
if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { |
| 3930 |
return false |
| 3931 |
} |
| 3932 |
} |
| 3933 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 3934 |
return false |
| 3935 |
} |
| 3936 |
for i := range this.NonnullBytes { |
| 3937 |
if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { |
| 3938 |
return false |
| 3939 |
} |
| 3940 |
} |
| 3941 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 3942 |
return false |
| 3943 |
} |
| 3944 |
return true |
| 3945 |
} |
| 3946 |
func (this *MapProtoTypes) VerboseEqual(that interface{}) error { |
| 3947 |
if that == nil { |
| 3948 |
if this == nil { |
| 3949 |
return nil |
| 3950 |
} |
| 3951 |
return fmt.Errorf("that == nil && this != nil") |
| 3952 |
} |
| 3953 |
|
| 3954 |
that1, ok := that.(*MapProtoTypes) |
| 3955 |
if !ok { |
| 3956 |
that2, ok := that.(MapProtoTypes) |
| 3957 |
if ok { |
| 3958 |
that1 = &that2 |
| 3959 |
} else { |
| 3960 |
return fmt.Errorf("that is not of type *MapProtoTypes") |
| 3961 |
} |
| 3962 |
} |
| 3963 |
if that1 == nil { |
| 3964 |
if this == nil { |
| 3965 |
return nil |
| 3966 |
} |
| 3967 |
return fmt.Errorf("that is type *MapProtoTypes but is nil && this != nil") |
| 3968 |
} else if this == nil { |
| 3969 |
return fmt.Errorf("that is type *MapProtoTypes but is not nil && this == nil") |
| 3970 |
} |
| 3971 |
if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { |
| 3972 |
return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) |
| 3973 |
} |
| 3974 |
for i := range this.NullableTimestamp { |
| 3975 |
if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { |
| 3976 |
return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) |
| 3977 |
} |
| 3978 |
} |
| 3979 |
if len(this.Timestamp) != len(that1.Timestamp) { |
| 3980 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) |
| 3981 |
} |
| 3982 |
for i := range this.Timestamp { |
| 3983 |
a := this.Timestamp[i] |
| 3984 |
b := that1.Timestamp[i] |
| 3985 |
if !(&a).Equal(&b) { |
| 3986 |
return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) |
| 3987 |
} |
| 3988 |
} |
| 3989 |
if len(this.NullableDuration) != len(that1.NullableDuration) { |
| 3990 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) |
| 3991 |
} |
| 3992 |
for i := range this.NullableDuration { |
| 3993 |
if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { |
| 3994 |
return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) |
| 3995 |
} |
| 3996 |
} |
| 3997 |
if len(this.Duration) != len(that1.Duration) { |
| 3998 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) |
| 3999 |
} |
| 4000 |
for i := range this.Duration { |
| 4001 |
a := this.Duration[i] |
| 4002 |
b := that1.Duration[i] |
| 4003 |
if !(&a).Equal(&b) { |
| 4004 |
return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) |
| 4005 |
} |
| 4006 |
} |
| 4007 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 4008 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) |
| 4009 |
} |
| 4010 |
for i := range this.NullableDouble { |
| 4011 |
if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { |
| 4012 |
return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) |
| 4013 |
} |
| 4014 |
} |
| 4015 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 4016 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) |
| 4017 |
} |
| 4018 |
for i := range this.NonnullDouble { |
| 4019 |
a := this.NonnullDouble[i] |
| 4020 |
b := that1.NonnullDouble[i] |
| 4021 |
if !(&a).Equal(&b) { |
| 4022 |
return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) |
| 4023 |
} |
| 4024 |
} |
| 4025 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 4026 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) |
| 4027 |
} |
| 4028 |
for i := range this.NullableFloat { |
| 4029 |
if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { |
| 4030 |
return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) |
| 4031 |
} |
| 4032 |
} |
| 4033 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 4034 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) |
| 4035 |
} |
| 4036 |
for i := range this.NonnullFloat { |
| 4037 |
a := this.NonnullFloat[i] |
| 4038 |
b := that1.NonnullFloat[i] |
| 4039 |
if !(&a).Equal(&b) { |
| 4040 |
return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) |
| 4041 |
} |
| 4042 |
} |
| 4043 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 4044 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) |
| 4045 |
} |
| 4046 |
for i := range this.NullableInt64 { |
| 4047 |
if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { |
| 4048 |
return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) |
| 4049 |
} |
| 4050 |
} |
| 4051 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 4052 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) |
| 4053 |
} |
| 4054 |
for i := range this.NonnullInt64 { |
| 4055 |
a := this.NonnullInt64[i] |
| 4056 |
b := that1.NonnullInt64[i] |
| 4057 |
if !(&a).Equal(&b) { |
| 4058 |
return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) |
| 4059 |
} |
| 4060 |
} |
| 4061 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 4062 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) |
| 4063 |
} |
| 4064 |
for i := range this.NullableUInt64 { |
| 4065 |
if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { |
| 4066 |
return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) |
| 4067 |
} |
| 4068 |
} |
| 4069 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 4070 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) |
| 4071 |
} |
| 4072 |
for i := range this.NonnullUInt64 { |
| 4073 |
a := this.NonnullUInt64[i] |
| 4074 |
b := that1.NonnullUInt64[i] |
| 4075 |
if !(&a).Equal(&b) { |
| 4076 |
return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) |
| 4077 |
} |
| 4078 |
} |
| 4079 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 4080 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) |
| 4081 |
} |
| 4082 |
for i := range this.NullableInt32 { |
| 4083 |
if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { |
| 4084 |
return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) |
| 4085 |
} |
| 4086 |
} |
| 4087 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 4088 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) |
| 4089 |
} |
| 4090 |
for i := range this.NonnullInt32 { |
| 4091 |
a := this.NonnullInt32[i] |
| 4092 |
b := that1.NonnullInt32[i] |
| 4093 |
if !(&a).Equal(&b) { |
| 4094 |
return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) |
| 4095 |
} |
| 4096 |
} |
| 4097 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 4098 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) |
| 4099 |
} |
| 4100 |
for i := range this.NullableUInt32 { |
| 4101 |
if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { |
| 4102 |
return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) |
| 4103 |
} |
| 4104 |
} |
| 4105 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 4106 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) |
| 4107 |
} |
| 4108 |
for i := range this.NonnullUInt32 { |
| 4109 |
a := this.NonnullUInt32[i] |
| 4110 |
b := that1.NonnullUInt32[i] |
| 4111 |
if !(&a).Equal(&b) { |
| 4112 |
return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) |
| 4113 |
} |
| 4114 |
} |
| 4115 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 4116 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) |
| 4117 |
} |
| 4118 |
for i := range this.NullableBool { |
| 4119 |
if !this.NullableBool[i].Equal(that1.NullableBool[i]) { |
| 4120 |
return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) |
| 4121 |
} |
| 4122 |
} |
| 4123 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 4124 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) |
| 4125 |
} |
| 4126 |
for i := range this.NonnullBool { |
| 4127 |
a := this.NonnullBool[i] |
| 4128 |
b := that1.NonnullBool[i] |
| 4129 |
if !(&a).Equal(&b) { |
| 4130 |
return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) |
| 4131 |
} |
| 4132 |
} |
| 4133 |
if len(this.NullableString) != len(that1.NullableString) { |
| 4134 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) |
| 4135 |
} |
| 4136 |
for i := range this.NullableString { |
| 4137 |
if !this.NullableString[i].Equal(that1.NullableString[i]) { |
| 4138 |
return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) |
| 4139 |
} |
| 4140 |
} |
| 4141 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 4142 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) |
| 4143 |
} |
| 4144 |
for i := range this.NonnullString { |
| 4145 |
a := this.NonnullString[i] |
| 4146 |
b := that1.NonnullString[i] |
| 4147 |
if !(&a).Equal(&b) { |
| 4148 |
return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) |
| 4149 |
} |
| 4150 |
} |
| 4151 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 4152 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) |
| 4153 |
} |
| 4154 |
for i := range this.NullableBytes { |
| 4155 |
if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { |
| 4156 |
return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) |
| 4157 |
} |
| 4158 |
} |
| 4159 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 4160 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) |
| 4161 |
} |
| 4162 |
for i := range this.NonnullBytes { |
| 4163 |
a := this.NonnullBytes[i] |
| 4164 |
b := that1.NonnullBytes[i] |
| 4165 |
if !(&a).Equal(&b) { |
| 4166 |
return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) |
| 4167 |
} |
| 4168 |
} |
| 4169 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4170 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 4171 |
} |
| 4172 |
return nil |
| 4173 |
} |
| 4174 |
func (this *MapProtoTypes) Equal(that interface{}) bool { |
| 4175 |
if that == nil { |
| 4176 |
return this == nil |
| 4177 |
} |
| 4178 |
|
| 4179 |
that1, ok := that.(*MapProtoTypes) |
| 4180 |
if !ok { |
| 4181 |
that2, ok := that.(MapProtoTypes) |
| 4182 |
if ok { |
| 4183 |
that1 = &that2 |
| 4184 |
} else { |
| 4185 |
return false |
| 4186 |
} |
| 4187 |
} |
| 4188 |
if that1 == nil { |
| 4189 |
return this == nil |
| 4190 |
} else if this == nil { |
| 4191 |
return false |
| 4192 |
} |
| 4193 |
if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { |
| 4194 |
return false |
| 4195 |
} |
| 4196 |
for i := range this.NullableTimestamp { |
| 4197 |
if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { |
| 4198 |
return false |
| 4199 |
} |
| 4200 |
} |
| 4201 |
if len(this.Timestamp) != len(that1.Timestamp) { |
| 4202 |
return false |
| 4203 |
} |
| 4204 |
for i := range this.Timestamp { |
| 4205 |
a := this.Timestamp[i] |
| 4206 |
b := that1.Timestamp[i] |
| 4207 |
if !(&a).Equal(&b) { |
| 4208 |
return false |
| 4209 |
} |
| 4210 |
} |
| 4211 |
if len(this.NullableDuration) != len(that1.NullableDuration) { |
| 4212 |
return false |
| 4213 |
} |
| 4214 |
for i := range this.NullableDuration { |
| 4215 |
if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { |
| 4216 |
return false |
| 4217 |
} |
| 4218 |
} |
| 4219 |
if len(this.Duration) != len(that1.Duration) { |
| 4220 |
return false |
| 4221 |
} |
| 4222 |
for i := range this.Duration { |
| 4223 |
a := this.Duration[i] |
| 4224 |
b := that1.Duration[i] |
| 4225 |
if !(&a).Equal(&b) { |
| 4226 |
return false |
| 4227 |
} |
| 4228 |
} |
| 4229 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 4230 |
return false |
| 4231 |
} |
| 4232 |
for i := range this.NullableDouble { |
| 4233 |
if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { |
| 4234 |
return false |
| 4235 |
} |
| 4236 |
} |
| 4237 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 4238 |
return false |
| 4239 |
} |
| 4240 |
for i := range this.NonnullDouble { |
| 4241 |
a := this.NonnullDouble[i] |
| 4242 |
b := that1.NonnullDouble[i] |
| 4243 |
if !(&a).Equal(&b) { |
| 4244 |
return false |
| 4245 |
} |
| 4246 |
} |
| 4247 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 4248 |
return false |
| 4249 |
} |
| 4250 |
for i := range this.NullableFloat { |
| 4251 |
if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { |
| 4252 |
return false |
| 4253 |
} |
| 4254 |
} |
| 4255 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 4256 |
return false |
| 4257 |
} |
| 4258 |
for i := range this.NonnullFloat { |
| 4259 |
a := this.NonnullFloat[i] |
| 4260 |
b := that1.NonnullFloat[i] |
| 4261 |
if !(&a).Equal(&b) { |
| 4262 |
return false |
| 4263 |
} |
| 4264 |
} |
| 4265 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 4266 |
return false |
| 4267 |
} |
| 4268 |
for i := range this.NullableInt64 { |
| 4269 |
if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { |
| 4270 |
return false |
| 4271 |
} |
| 4272 |
} |
| 4273 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 4274 |
return false |
| 4275 |
} |
| 4276 |
for i := range this.NonnullInt64 { |
| 4277 |
a := this.NonnullInt64[i] |
| 4278 |
b := that1.NonnullInt64[i] |
| 4279 |
if !(&a).Equal(&b) { |
| 4280 |
return false |
| 4281 |
} |
| 4282 |
} |
| 4283 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 4284 |
return false |
| 4285 |
} |
| 4286 |
for i := range this.NullableUInt64 { |
| 4287 |
if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { |
| 4288 |
return false |
| 4289 |
} |
| 4290 |
} |
| 4291 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 4292 |
return false |
| 4293 |
} |
| 4294 |
for i := range this.NonnullUInt64 { |
| 4295 |
a := this.NonnullUInt64[i] |
| 4296 |
b := that1.NonnullUInt64[i] |
| 4297 |
if !(&a).Equal(&b) { |
| 4298 |
return false |
| 4299 |
} |
| 4300 |
} |
| 4301 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 4302 |
return false |
| 4303 |
} |
| 4304 |
for i := range this.NullableInt32 { |
| 4305 |
if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { |
| 4306 |
return false |
| 4307 |
} |
| 4308 |
} |
| 4309 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 4310 |
return false |
| 4311 |
} |
| 4312 |
for i := range this.NonnullInt32 { |
| 4313 |
a := this.NonnullInt32[i] |
| 4314 |
b := that1.NonnullInt32[i] |
| 4315 |
if !(&a).Equal(&b) { |
| 4316 |
return false |
| 4317 |
} |
| 4318 |
} |
| 4319 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 4320 |
return false |
| 4321 |
} |
| 4322 |
for i := range this.NullableUInt32 { |
| 4323 |
if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { |
| 4324 |
return false |
| 4325 |
} |
| 4326 |
} |
| 4327 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 4328 |
return false |
| 4329 |
} |
| 4330 |
for i := range this.NonnullUInt32 { |
| 4331 |
a := this.NonnullUInt32[i] |
| 4332 |
b := that1.NonnullUInt32[i] |
| 4333 |
if !(&a).Equal(&b) { |
| 4334 |
return false |
| 4335 |
} |
| 4336 |
} |
| 4337 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 4338 |
return false |
| 4339 |
} |
| 4340 |
for i := range this.NullableBool { |
| 4341 |
if !this.NullableBool[i].Equal(that1.NullableBool[i]) { |
| 4342 |
return false |
| 4343 |
} |
| 4344 |
} |
| 4345 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 4346 |
return false |
| 4347 |
} |
| 4348 |
for i := range this.NonnullBool { |
| 4349 |
a := this.NonnullBool[i] |
| 4350 |
b := that1.NonnullBool[i] |
| 4351 |
if !(&a).Equal(&b) { |
| 4352 |
return false |
| 4353 |
} |
| 4354 |
} |
| 4355 |
if len(this.NullableString) != len(that1.NullableString) { |
| 4356 |
return false |
| 4357 |
} |
| 4358 |
for i := range this.NullableString { |
| 4359 |
if !this.NullableString[i].Equal(that1.NullableString[i]) { |
| 4360 |
return false |
| 4361 |
} |
| 4362 |
} |
| 4363 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 4364 |
return false |
| 4365 |
} |
| 4366 |
for i := range this.NonnullString { |
| 4367 |
a := this.NonnullString[i] |
| 4368 |
b := that1.NonnullString[i] |
| 4369 |
if !(&a).Equal(&b) { |
| 4370 |
return false |
| 4371 |
} |
| 4372 |
} |
| 4373 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 4374 |
return false |
| 4375 |
} |
| 4376 |
for i := range this.NullableBytes { |
| 4377 |
if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { |
| 4378 |
return false |
| 4379 |
} |
| 4380 |
} |
| 4381 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 4382 |
return false |
| 4383 |
} |
| 4384 |
for i := range this.NonnullBytes { |
| 4385 |
a := this.NonnullBytes[i] |
| 4386 |
b := that1.NonnullBytes[i] |
| 4387 |
if !(&a).Equal(&b) { |
| 4388 |
return false |
| 4389 |
} |
| 4390 |
} |
| 4391 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4392 |
return false |
| 4393 |
} |
| 4394 |
return true |
| 4395 |
} |
| 4396 |
func (this *MapStdTypes) VerboseEqual(that interface{}) error { |
| 4397 |
if that == nil { |
| 4398 |
if this == nil { |
| 4399 |
return nil |
| 4400 |
} |
| 4401 |
return fmt.Errorf("that == nil && this != nil") |
| 4402 |
} |
| 4403 |
|
| 4404 |
that1, ok := that.(*MapStdTypes) |
| 4405 |
if !ok { |
| 4406 |
that2, ok := that.(MapStdTypes) |
| 4407 |
if ok { |
| 4408 |
that1 = &that2 |
| 4409 |
} else { |
| 4410 |
return fmt.Errorf("that is not of type *MapStdTypes") |
| 4411 |
} |
| 4412 |
} |
| 4413 |
if that1 == nil { |
| 4414 |
if this == nil { |
| 4415 |
return nil |
| 4416 |
} |
| 4417 |
return fmt.Errorf("that is type *MapStdTypes but is nil && this != nil") |
| 4418 |
} else if this == nil { |
| 4419 |
return fmt.Errorf("that is type *MapStdTypes but is not nil && this == nil") |
| 4420 |
} |
| 4421 |
if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { |
| 4422 |
return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) |
| 4423 |
} |
| 4424 |
for i := range this.NullableTimestamp { |
| 4425 |
if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { |
| 4426 |
return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) |
| 4427 |
} |
| 4428 |
} |
| 4429 |
if len(this.Timestamp) != len(that1.Timestamp) { |
| 4430 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) |
| 4431 |
} |
| 4432 |
for i := range this.Timestamp { |
| 4433 |
if !this.Timestamp[i].Equal(that1.Timestamp[i]) { |
| 4434 |
return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) |
| 4435 |
} |
| 4436 |
} |
| 4437 |
if len(this.NullableDuration) != len(that1.NullableDuration) { |
| 4438 |
return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) |
| 4439 |
} |
| 4440 |
for i := range this.NullableDuration { |
| 4441 |
if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 4442 |
return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) |
| 4443 |
} |
| 4444 |
} |
| 4445 |
if len(this.Duration) != len(that1.Duration) { |
| 4446 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) |
| 4447 |
} |
| 4448 |
for i := range this.Duration { |
| 4449 |
if this.Duration[i] != that1.Duration[i] { |
| 4450 |
return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) |
| 4451 |
} |
| 4452 |
} |
| 4453 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 4454 |
return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) |
| 4455 |
} |
| 4456 |
for i := range this.NullableDouble { |
| 4457 |
a := this.NullableDouble[i] |
| 4458 |
b := that1.NullableDouble[i] |
| 4459 |
if *a != *b { |
| 4460 |
return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) |
| 4461 |
} |
| 4462 |
} |
| 4463 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 4464 |
return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) |
| 4465 |
} |
| 4466 |
for i := range this.NonnullDouble { |
| 4467 |
a := this.NonnullDouble[i] |
| 4468 |
b := that1.NonnullDouble[i] |
| 4469 |
if a != b { |
| 4470 |
return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) |
| 4471 |
} |
| 4472 |
} |
| 4473 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 4474 |
return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) |
| 4475 |
} |
| 4476 |
for i := range this.NullableFloat { |
| 4477 |
a := this.NullableFloat[i] |
| 4478 |
b := that1.NullableFloat[i] |
| 4479 |
if *a != *b { |
| 4480 |
return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) |
| 4481 |
} |
| 4482 |
} |
| 4483 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 4484 |
return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) |
| 4485 |
} |
| 4486 |
for i := range this.NonnullFloat { |
| 4487 |
a := this.NonnullFloat[i] |
| 4488 |
b := that1.NonnullFloat[i] |
| 4489 |
if a != b { |
| 4490 |
return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) |
| 4491 |
} |
| 4492 |
} |
| 4493 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 4494 |
return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) |
| 4495 |
} |
| 4496 |
for i := range this.NullableInt64 { |
| 4497 |
a := this.NullableInt64[i] |
| 4498 |
b := that1.NullableInt64[i] |
| 4499 |
if *a != *b { |
| 4500 |
return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) |
| 4501 |
} |
| 4502 |
} |
| 4503 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 4504 |
return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) |
| 4505 |
} |
| 4506 |
for i := range this.NonnullInt64 { |
| 4507 |
a := this.NonnullInt64[i] |
| 4508 |
b := that1.NonnullInt64[i] |
| 4509 |
if a != b { |
| 4510 |
return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) |
| 4511 |
} |
| 4512 |
} |
| 4513 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 4514 |
return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) |
| 4515 |
} |
| 4516 |
for i := range this.NullableUInt64 { |
| 4517 |
a := this.NullableUInt64[i] |
| 4518 |
b := that1.NullableUInt64[i] |
| 4519 |
if *a != *b { |
| 4520 |
return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) |
| 4521 |
} |
| 4522 |
} |
| 4523 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 4524 |
return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) |
| 4525 |
} |
| 4526 |
for i := range this.NonnullUInt64 { |
| 4527 |
a := this.NonnullUInt64[i] |
| 4528 |
b := that1.NonnullUInt64[i] |
| 4529 |
if a != b { |
| 4530 |
return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) |
| 4531 |
} |
| 4532 |
} |
| 4533 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 4534 |
return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) |
| 4535 |
} |
| 4536 |
for i := range this.NullableInt32 { |
| 4537 |
a := this.NullableInt32[i] |
| 4538 |
b := that1.NullableInt32[i] |
| 4539 |
if *a != *b { |
| 4540 |
return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) |
| 4541 |
} |
| 4542 |
} |
| 4543 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 4544 |
return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) |
| 4545 |
} |
| 4546 |
for i := range this.NonnullInt32 { |
| 4547 |
a := this.NonnullInt32[i] |
| 4548 |
b := that1.NonnullInt32[i] |
| 4549 |
if a != b { |
| 4550 |
return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) |
| 4551 |
} |
| 4552 |
} |
| 4553 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 4554 |
return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) |
| 4555 |
} |
| 4556 |
for i := range this.NullableUInt32 { |
| 4557 |
a := this.NullableUInt32[i] |
| 4558 |
b := that1.NullableUInt32[i] |
| 4559 |
if *a != *b { |
| 4560 |
return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) |
| 4561 |
} |
| 4562 |
} |
| 4563 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 4564 |
return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) |
| 4565 |
} |
| 4566 |
for i := range this.NonnullUInt32 { |
| 4567 |
a := this.NonnullUInt32[i] |
| 4568 |
b := that1.NonnullUInt32[i] |
| 4569 |
if a != b { |
| 4570 |
return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) |
| 4571 |
} |
| 4572 |
} |
| 4573 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 4574 |
return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) |
| 4575 |
} |
| 4576 |
for i := range this.NullableBool { |
| 4577 |
a := this.NullableBool[i] |
| 4578 |
b := that1.NullableBool[i] |
| 4579 |
if *a != *b { |
| 4580 |
return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) |
| 4581 |
} |
| 4582 |
} |
| 4583 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 4584 |
return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) |
| 4585 |
} |
| 4586 |
for i := range this.NonnullBool { |
| 4587 |
a := this.NonnullBool[i] |
| 4588 |
b := that1.NonnullBool[i] |
| 4589 |
if a != b { |
| 4590 |
return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) |
| 4591 |
} |
| 4592 |
} |
| 4593 |
if len(this.NullableString) != len(that1.NullableString) { |
| 4594 |
return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) |
| 4595 |
} |
| 4596 |
for i := range this.NullableString { |
| 4597 |
a := this.NullableString[i] |
| 4598 |
b := that1.NullableString[i] |
| 4599 |
if *a != *b { |
| 4600 |
return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) |
| 4601 |
} |
| 4602 |
} |
| 4603 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 4604 |
return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) |
| 4605 |
} |
| 4606 |
for i := range this.NonnullString { |
| 4607 |
a := this.NonnullString[i] |
| 4608 |
b := that1.NonnullString[i] |
| 4609 |
if a != b { |
| 4610 |
return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) |
| 4611 |
} |
| 4612 |
} |
| 4613 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 4614 |
return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) |
| 4615 |
} |
| 4616 |
for i := range this.NullableBytes { |
| 4617 |
a := this.NullableBytes[i] |
| 4618 |
b := that1.NullableBytes[i] |
| 4619 |
if !bytes.Equal(*a, *b) { |
| 4620 |
return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) |
| 4621 |
} |
| 4622 |
} |
| 4623 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 4624 |
return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) |
| 4625 |
} |
| 4626 |
for i := range this.NonnullBytes { |
| 4627 |
a := this.NonnullBytes[i] |
| 4628 |
b := that1.NonnullBytes[i] |
| 4629 |
if !bytes.Equal(a, b) { |
| 4630 |
return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) |
| 4631 |
} |
| 4632 |
} |
| 4633 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4634 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 4635 |
} |
| 4636 |
return nil |
| 4637 |
} |
| 4638 |
func (this *MapStdTypes) Equal(that interface{}) bool { |
| 4639 |
if that == nil { |
| 4640 |
return this == nil |
| 4641 |
} |
| 4642 |
|
| 4643 |
that1, ok := that.(*MapStdTypes) |
| 4644 |
if !ok { |
| 4645 |
that2, ok := that.(MapStdTypes) |
| 4646 |
if ok { |
| 4647 |
that1 = &that2 |
| 4648 |
} else { |
| 4649 |
return false |
| 4650 |
} |
| 4651 |
} |
| 4652 |
if that1 == nil { |
| 4653 |
return this == nil |
| 4654 |
} else if this == nil { |
| 4655 |
return false |
| 4656 |
} |
| 4657 |
if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { |
| 4658 |
return false |
| 4659 |
} |
| 4660 |
for i := range this.NullableTimestamp { |
| 4661 |
if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { |
| 4662 |
return false |
| 4663 |
} |
| 4664 |
} |
| 4665 |
if len(this.Timestamp) != len(that1.Timestamp) { |
| 4666 |
return false |
| 4667 |
} |
| 4668 |
for i := range this.Timestamp { |
| 4669 |
if !this.Timestamp[i].Equal(that1.Timestamp[i]) { |
| 4670 |
return false |
| 4671 |
} |
| 4672 |
} |
| 4673 |
if len(this.NullableDuration) != len(that1.NullableDuration) { |
| 4674 |
return false |
| 4675 |
} |
| 4676 |
for i := range this.NullableDuration { |
| 4677 |
if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { |
| 4678 |
return false |
| 4679 |
} |
| 4680 |
} |
| 4681 |
if len(this.Duration) != len(that1.Duration) { |
| 4682 |
return false |
| 4683 |
} |
| 4684 |
for i := range this.Duration { |
| 4685 |
if this.Duration[i] != that1.Duration[i] { |
| 4686 |
return false |
| 4687 |
} |
| 4688 |
} |
| 4689 |
if len(this.NullableDouble) != len(that1.NullableDouble) { |
| 4690 |
return false |
| 4691 |
} |
| 4692 |
for i := range this.NullableDouble { |
| 4693 |
a := this.NullableDouble[i] |
| 4694 |
b := that1.NullableDouble[i] |
| 4695 |
if *a != *b { |
| 4696 |
return false |
| 4697 |
} |
| 4698 |
} |
| 4699 |
if len(this.NonnullDouble) != len(that1.NonnullDouble) { |
| 4700 |
return false |
| 4701 |
} |
| 4702 |
for i := range this.NonnullDouble { |
| 4703 |
a := this.NonnullDouble[i] |
| 4704 |
b := that1.NonnullDouble[i] |
| 4705 |
if a != b { |
| 4706 |
return false |
| 4707 |
} |
| 4708 |
} |
| 4709 |
if len(this.NullableFloat) != len(that1.NullableFloat) { |
| 4710 |
return false |
| 4711 |
} |
| 4712 |
for i := range this.NullableFloat { |
| 4713 |
a := this.NullableFloat[i] |
| 4714 |
b := that1.NullableFloat[i] |
| 4715 |
if *a != *b { |
| 4716 |
return false |
| 4717 |
} |
| 4718 |
} |
| 4719 |
if len(this.NonnullFloat) != len(that1.NonnullFloat) { |
| 4720 |
return false |
| 4721 |
} |
| 4722 |
for i := range this.NonnullFloat { |
| 4723 |
a := this.NonnullFloat[i] |
| 4724 |
b := that1.NonnullFloat[i] |
| 4725 |
if a != b { |
| 4726 |
return false |
| 4727 |
} |
| 4728 |
} |
| 4729 |
if len(this.NullableInt64) != len(that1.NullableInt64) { |
| 4730 |
return false |
| 4731 |
} |
| 4732 |
for i := range this.NullableInt64 { |
| 4733 |
a := this.NullableInt64[i] |
| 4734 |
b := that1.NullableInt64[i] |
| 4735 |
if *a != *b { |
| 4736 |
return false |
| 4737 |
} |
| 4738 |
} |
| 4739 |
if len(this.NonnullInt64) != len(that1.NonnullInt64) { |
| 4740 |
return false |
| 4741 |
} |
| 4742 |
for i := range this.NonnullInt64 { |
| 4743 |
a := this.NonnullInt64[i] |
| 4744 |
b := that1.NonnullInt64[i] |
| 4745 |
if a != b { |
| 4746 |
return false |
| 4747 |
} |
| 4748 |
} |
| 4749 |
if len(this.NullableUInt64) != len(that1.NullableUInt64) { |
| 4750 |
return false |
| 4751 |
} |
| 4752 |
for i := range this.NullableUInt64 { |
| 4753 |
a := this.NullableUInt64[i] |
| 4754 |
b := that1.NullableUInt64[i] |
| 4755 |
if *a != *b { |
| 4756 |
return false |
| 4757 |
} |
| 4758 |
} |
| 4759 |
if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { |
| 4760 |
return false |
| 4761 |
} |
| 4762 |
for i := range this.NonnullUInt64 { |
| 4763 |
a := this.NonnullUInt64[i] |
| 4764 |
b := that1.NonnullUInt64[i] |
| 4765 |
if a != b { |
| 4766 |
return false |
| 4767 |
} |
| 4768 |
} |
| 4769 |
if len(this.NullableInt32) != len(that1.NullableInt32) { |
| 4770 |
return false |
| 4771 |
} |
| 4772 |
for i := range this.NullableInt32 { |
| 4773 |
a := this.NullableInt32[i] |
| 4774 |
b := that1.NullableInt32[i] |
| 4775 |
if *a != *b { |
| 4776 |
return false |
| 4777 |
} |
| 4778 |
} |
| 4779 |
if len(this.NonnullInt32) != len(that1.NonnullInt32) { |
| 4780 |
return false |
| 4781 |
} |
| 4782 |
for i := range this.NonnullInt32 { |
| 4783 |
a := this.NonnullInt32[i] |
| 4784 |
b := that1.NonnullInt32[i] |
| 4785 |
if a != b { |
| 4786 |
return false |
| 4787 |
} |
| 4788 |
} |
| 4789 |
if len(this.NullableUInt32) != len(that1.NullableUInt32) { |
| 4790 |
return false |
| 4791 |
} |
| 4792 |
for i := range this.NullableUInt32 { |
| 4793 |
a := this.NullableUInt32[i] |
| 4794 |
b := that1.NullableUInt32[i] |
| 4795 |
if *a != *b { |
| 4796 |
return false |
| 4797 |
} |
| 4798 |
} |
| 4799 |
if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { |
| 4800 |
return false |
| 4801 |
} |
| 4802 |
for i := range this.NonnullUInt32 { |
| 4803 |
a := this.NonnullUInt32[i] |
| 4804 |
b := that1.NonnullUInt32[i] |
| 4805 |
if a != b { |
| 4806 |
return false |
| 4807 |
} |
| 4808 |
} |
| 4809 |
if len(this.NullableBool) != len(that1.NullableBool) { |
| 4810 |
return false |
| 4811 |
} |
| 4812 |
for i := range this.NullableBool { |
| 4813 |
a := this.NullableBool[i] |
| 4814 |
b := that1.NullableBool[i] |
| 4815 |
if *a != *b { |
| 4816 |
return false |
| 4817 |
} |
| 4818 |
} |
| 4819 |
if len(this.NonnullBool) != len(that1.NonnullBool) { |
| 4820 |
return false |
| 4821 |
} |
| 4822 |
for i := range this.NonnullBool { |
| 4823 |
a := this.NonnullBool[i] |
| 4824 |
b := that1.NonnullBool[i] |
| 4825 |
if a != b { |
| 4826 |
return false |
| 4827 |
} |
| 4828 |
} |
| 4829 |
if len(this.NullableString) != len(that1.NullableString) { |
| 4830 |
return false |
| 4831 |
} |
| 4832 |
for i := range this.NullableString { |
| 4833 |
a := this.NullableString[i] |
| 4834 |
b := that1.NullableString[i] |
| 4835 |
if *a != *b { |
| 4836 |
return false |
| 4837 |
} |
| 4838 |
} |
| 4839 |
if len(this.NonnullString) != len(that1.NonnullString) { |
| 4840 |
return false |
| 4841 |
} |
| 4842 |
for i := range this.NonnullString { |
| 4843 |
a := this.NonnullString[i] |
| 4844 |
b := that1.NonnullString[i] |
| 4845 |
if a != b { |
| 4846 |
return false |
| 4847 |
} |
| 4848 |
} |
| 4849 |
if len(this.NullableBytes) != len(that1.NullableBytes) { |
| 4850 |
return false |
| 4851 |
} |
| 4852 |
for i := range this.NullableBytes { |
| 4853 |
a := this.NullableBytes[i] |
| 4854 |
b := that1.NullableBytes[i] |
| 4855 |
if !bytes.Equal(*a, *b) { |
| 4856 |
return false |
| 4857 |
} |
| 4858 |
} |
| 4859 |
if len(this.NonnullBytes) != len(that1.NonnullBytes) { |
| 4860 |
return false |
| 4861 |
} |
| 4862 |
for i := range this.NonnullBytes { |
| 4863 |
a := this.NonnullBytes[i] |
| 4864 |
b := that1.NonnullBytes[i] |
| 4865 |
if !bytes.Equal(a, b) { |
| 4866 |
return false |
| 4867 |
} |
| 4868 |
} |
| 4869 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4870 |
return false |
| 4871 |
} |
| 4872 |
return true |
| 4873 |
} |
| 4874 |
func (this *OneofProtoTypes) VerboseEqual(that interface{}) error { |
| 4875 |
if that == nil { |
| 4876 |
if this == nil { |
| 4877 |
return nil |
| 4878 |
} |
| 4879 |
return fmt.Errorf("that == nil && this != nil") |
| 4880 |
} |
| 4881 |
|
| 4882 |
that1, ok := that.(*OneofProtoTypes) |
| 4883 |
if !ok { |
| 4884 |
that2, ok := that.(OneofProtoTypes) |
| 4885 |
if ok { |
| 4886 |
that1 = &that2 |
| 4887 |
} else { |
| 4888 |
return fmt.Errorf("that is not of type *OneofProtoTypes") |
| 4889 |
} |
| 4890 |
} |
| 4891 |
if that1 == nil { |
| 4892 |
if this == nil { |
| 4893 |
return nil |
| 4894 |
} |
| 4895 |
return fmt.Errorf("that is type *OneofProtoTypes but is nil && this != nil") |
| 4896 |
} else if this == nil { |
| 4897 |
return fmt.Errorf("that is type *OneofProtoTypes but is not nil && this == nil") |
| 4898 |
} |
| 4899 |
if that1.OneOfProtoTimes == nil { |
| 4900 |
if this.OneOfProtoTimes != nil { |
| 4901 |
return fmt.Errorf("this.OneOfProtoTimes != nil && that1.OneOfProtoTimes == nil") |
| 4902 |
} |
| 4903 |
} else if this.OneOfProtoTimes == nil { |
| 4904 |
return fmt.Errorf("this.OneOfProtoTimes == nil && that1.OneOfProtoTimes != nil") |
| 4905 |
} else if err := this.OneOfProtoTimes.VerboseEqual(that1.OneOfProtoTimes); err != nil { |
| 4906 |
return err |
| 4907 |
} |
| 4908 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 4909 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 4910 |
} |
| 4911 |
return nil |
| 4912 |
} |
| 4913 |
func (this *OneofProtoTypes_Timestamp) VerboseEqual(that interface{}) error { |
| 4914 |
if that == nil { |
| 4915 |
if this == nil { |
| 4916 |
return nil |
| 4917 |
} |
| 4918 |
return fmt.Errorf("that == nil && this != nil") |
| 4919 |
} |
| 4920 |
|
| 4921 |
that1, ok := that.(*OneofProtoTypes_Timestamp) |
| 4922 |
if !ok { |
| 4923 |
that2, ok := that.(OneofProtoTypes_Timestamp) |
| 4924 |
if ok { |
| 4925 |
that1 = &that2 |
| 4926 |
} else { |
| 4927 |
return fmt.Errorf("that is not of type *OneofProtoTypes_Timestamp") |
| 4928 |
} |
| 4929 |
} |
| 4930 |
if that1 == nil { |
| 4931 |
if this == nil { |
| 4932 |
return nil |
| 4933 |
} |
| 4934 |
return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is nil && this != nil") |
| 4935 |
} else if this == nil { |
| 4936 |
return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is not nil && this == nil") |
| 4937 |
} |
| 4938 |
if !this.Timestamp.Equal(that1.Timestamp) { |
| 4939 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) |
| 4940 |
} |
| 4941 |
return nil |
| 4942 |
} |
| 4943 |
func (this *OneofProtoTypes_Duration) VerboseEqual(that interface{}) error { |
| 4944 |
if that == nil { |
| 4945 |
if this == nil { |
| 4946 |
return nil |
| 4947 |
} |
| 4948 |
return fmt.Errorf("that == nil && this != nil") |
| 4949 |
} |
| 4950 |
|
| 4951 |
that1, ok := that.(*OneofProtoTypes_Duration) |
| 4952 |
if !ok { |
| 4953 |
that2, ok := that.(OneofProtoTypes_Duration) |
| 4954 |
if ok { |
| 4955 |
that1 = &that2 |
| 4956 |
} else { |
| 4957 |
return fmt.Errorf("that is not of type *OneofProtoTypes_Duration") |
| 4958 |
} |
| 4959 |
} |
| 4960 |
if that1 == nil { |
| 4961 |
if this == nil { |
| 4962 |
return nil |
| 4963 |
} |
| 4964 |
return fmt.Errorf("that is type *OneofProtoTypes_Duration but is nil && this != nil") |
| 4965 |
} else if this == nil { |
| 4966 |
return fmt.Errorf("that is type *OneofProtoTypes_Duration but is not nil && this == nil") |
| 4967 |
} |
| 4968 |
if !this.Duration.Equal(that1.Duration) { |
| 4969 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) |
| 4970 |
} |
| 4971 |
return nil |
| 4972 |
} |
| 4973 |
func (this *OneofProtoTypes_RepDouble) VerboseEqual(that interface{}) error { |
| 4974 |
if that == nil { |
| 4975 |
if this == nil { |
| 4976 |
return nil |
| 4977 |
} |
| 4978 |
return fmt.Errorf("that == nil && this != nil") |
| 4979 |
} |
| 4980 |
|
| 4981 |
that1, ok := that.(*OneofProtoTypes_RepDouble) |
| 4982 |
if !ok { |
| 4983 |
that2, ok := that.(OneofProtoTypes_RepDouble) |
| 4984 |
if ok { |
| 4985 |
that1 = &that2 |
| 4986 |
} else { |
| 4987 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepDouble") |
| 4988 |
} |
| 4989 |
} |
| 4990 |
if that1 == nil { |
| 4991 |
if this == nil { |
| 4992 |
return nil |
| 4993 |
} |
| 4994 |
return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is nil && this != nil") |
| 4995 |
} else if this == nil { |
| 4996 |
return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is not nil && this == nil") |
| 4997 |
} |
| 4998 |
if !this.RepDouble.Equal(that1.RepDouble) { |
| 4999 |
return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) |
| 5000 |
} |
| 5001 |
return nil |
| 5002 |
} |
| 5003 |
func (this *OneofProtoTypes_RepFloat) VerboseEqual(that interface{}) error { |
| 5004 |
if that == nil { |
| 5005 |
if this == nil { |
| 5006 |
return nil |
| 5007 |
} |
| 5008 |
return fmt.Errorf("that == nil && this != nil") |
| 5009 |
} |
| 5010 |
|
| 5011 |
that1, ok := that.(*OneofProtoTypes_RepFloat) |
| 5012 |
if !ok { |
| 5013 |
that2, ok := that.(OneofProtoTypes_RepFloat) |
| 5014 |
if ok { |
| 5015 |
that1 = &that2 |
| 5016 |
} else { |
| 5017 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepFloat") |
| 5018 |
} |
| 5019 |
} |
| 5020 |
if that1 == nil { |
| 5021 |
if this == nil { |
| 5022 |
return nil |
| 5023 |
} |
| 5024 |
return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is nil && this != nil") |
| 5025 |
} else if this == nil { |
| 5026 |
return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is not nil && this == nil") |
| 5027 |
} |
| 5028 |
if !this.RepFloat.Equal(that1.RepFloat) { |
| 5029 |
return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) |
| 5030 |
} |
| 5031 |
return nil |
| 5032 |
} |
| 5033 |
func (this *OneofProtoTypes_RepInt64) VerboseEqual(that interface{}) error { |
| 5034 |
if that == nil { |
| 5035 |
if this == nil { |
| 5036 |
return nil |
| 5037 |
} |
| 5038 |
return fmt.Errorf("that == nil && this != nil") |
| 5039 |
} |
| 5040 |
|
| 5041 |
that1, ok := that.(*OneofProtoTypes_RepInt64) |
| 5042 |
if !ok { |
| 5043 |
that2, ok := that.(OneofProtoTypes_RepInt64) |
| 5044 |
if ok { |
| 5045 |
that1 = &that2 |
| 5046 |
} else { |
| 5047 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt64") |
| 5048 |
} |
| 5049 |
} |
| 5050 |
if that1 == nil { |
| 5051 |
if this == nil { |
| 5052 |
return nil |
| 5053 |
} |
| 5054 |
return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is nil && this != nil") |
| 5055 |
} else if this == nil { |
| 5056 |
return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is not nil && this == nil") |
| 5057 |
} |
| 5058 |
if !this.RepInt64.Equal(that1.RepInt64) { |
| 5059 |
return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) |
| 5060 |
} |
| 5061 |
return nil |
| 5062 |
} |
| 5063 |
func (this *OneofProtoTypes_RepUInt64) VerboseEqual(that interface{}) error { |
| 5064 |
if that == nil { |
| 5065 |
if this == nil { |
| 5066 |
return nil |
| 5067 |
} |
| 5068 |
return fmt.Errorf("that == nil && this != nil") |
| 5069 |
} |
| 5070 |
|
| 5071 |
that1, ok := that.(*OneofProtoTypes_RepUInt64) |
| 5072 |
if !ok { |
| 5073 |
that2, ok := that.(OneofProtoTypes_RepUInt64) |
| 5074 |
if ok { |
| 5075 |
that1 = &that2 |
| 5076 |
} else { |
| 5077 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt64") |
| 5078 |
} |
| 5079 |
} |
| 5080 |
if that1 == nil { |
| 5081 |
if this == nil { |
| 5082 |
return nil |
| 5083 |
} |
| 5084 |
return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is nil && this != nil") |
| 5085 |
} else if this == nil { |
| 5086 |
return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is not nil && this == nil") |
| 5087 |
} |
| 5088 |
if !this.RepUInt64.Equal(that1.RepUInt64) { |
| 5089 |
return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) |
| 5090 |
} |
| 5091 |
return nil |
| 5092 |
} |
| 5093 |
func (this *OneofProtoTypes_RepInt32) VerboseEqual(that interface{}) error { |
| 5094 |
if that == nil { |
| 5095 |
if this == nil { |
| 5096 |
return nil |
| 5097 |
} |
| 5098 |
return fmt.Errorf("that == nil && this != nil") |
| 5099 |
} |
| 5100 |
|
| 5101 |
that1, ok := that.(*OneofProtoTypes_RepInt32) |
| 5102 |
if !ok { |
| 5103 |
that2, ok := that.(OneofProtoTypes_RepInt32) |
| 5104 |
if ok { |
| 5105 |
that1 = &that2 |
| 5106 |
} else { |
| 5107 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt32") |
| 5108 |
} |
| 5109 |
} |
| 5110 |
if that1 == nil { |
| 5111 |
if this == nil { |
| 5112 |
return nil |
| 5113 |
} |
| 5114 |
return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is nil && this != nil") |
| 5115 |
} else if this == nil { |
| 5116 |
return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is not nil && this == nil") |
| 5117 |
} |
| 5118 |
if !this.RepInt32.Equal(that1.RepInt32) { |
| 5119 |
return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) |
| 5120 |
} |
| 5121 |
return nil |
| 5122 |
} |
| 5123 |
func (this *OneofProtoTypes_RepUInt32) VerboseEqual(that interface{}) error { |
| 5124 |
if that == nil { |
| 5125 |
if this == nil { |
| 5126 |
return nil |
| 5127 |
} |
| 5128 |
return fmt.Errorf("that == nil && this != nil") |
| 5129 |
} |
| 5130 |
|
| 5131 |
that1, ok := that.(*OneofProtoTypes_RepUInt32) |
| 5132 |
if !ok { |
| 5133 |
that2, ok := that.(OneofProtoTypes_RepUInt32) |
| 5134 |
if ok { |
| 5135 |
that1 = &that2 |
| 5136 |
} else { |
| 5137 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt32") |
| 5138 |
} |
| 5139 |
} |
| 5140 |
if that1 == nil { |
| 5141 |
if this == nil { |
| 5142 |
return nil |
| 5143 |
} |
| 5144 |
return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is nil && this != nil") |
| 5145 |
} else if this == nil { |
| 5146 |
return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is not nil && this == nil") |
| 5147 |
} |
| 5148 |
if !this.RepUInt32.Equal(that1.RepUInt32) { |
| 5149 |
return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) |
| 5150 |
} |
| 5151 |
return nil |
| 5152 |
} |
| 5153 |
func (this *OneofProtoTypes_RepBool) VerboseEqual(that interface{}) error { |
| 5154 |
if that == nil { |
| 5155 |
if this == nil { |
| 5156 |
return nil |
| 5157 |
} |
| 5158 |
return fmt.Errorf("that == nil && this != nil") |
| 5159 |
} |
| 5160 |
|
| 5161 |
that1, ok := that.(*OneofProtoTypes_RepBool) |
| 5162 |
if !ok { |
| 5163 |
that2, ok := that.(OneofProtoTypes_RepBool) |
| 5164 |
if ok { |
| 5165 |
that1 = &that2 |
| 5166 |
} else { |
| 5167 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepBool") |
| 5168 |
} |
| 5169 |
} |
| 5170 |
if that1 == nil { |
| 5171 |
if this == nil { |
| 5172 |
return nil |
| 5173 |
} |
| 5174 |
return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is nil && this != nil") |
| 5175 |
} else if this == nil { |
| 5176 |
return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is not nil && this == nil") |
| 5177 |
} |
| 5178 |
if !this.RepBool.Equal(that1.RepBool) { |
| 5179 |
return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) |
| 5180 |
} |
| 5181 |
return nil |
| 5182 |
} |
| 5183 |
func (this *OneofProtoTypes_RepString) VerboseEqual(that interface{}) error { |
| 5184 |
if that == nil { |
| 5185 |
if this == nil { |
| 5186 |
return nil |
| 5187 |
} |
| 5188 |
return fmt.Errorf("that == nil && this != nil") |
| 5189 |
} |
| 5190 |
|
| 5191 |
that1, ok := that.(*OneofProtoTypes_RepString) |
| 5192 |
if !ok { |
| 5193 |
that2, ok := that.(OneofProtoTypes_RepString) |
| 5194 |
if ok { |
| 5195 |
that1 = &that2 |
| 5196 |
} else { |
| 5197 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepString") |
| 5198 |
} |
| 5199 |
} |
| 5200 |
if that1 == nil { |
| 5201 |
if this == nil { |
| 5202 |
return nil |
| 5203 |
} |
| 5204 |
return fmt.Errorf("that is type *OneofProtoTypes_RepString but is nil && this != nil") |
| 5205 |
} else if this == nil { |
| 5206 |
return fmt.Errorf("that is type *OneofProtoTypes_RepString but is not nil && this == nil") |
| 5207 |
} |
| 5208 |
if !this.RepString.Equal(that1.RepString) { |
| 5209 |
return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) |
| 5210 |
} |
| 5211 |
return nil |
| 5212 |
} |
| 5213 |
func (this *OneofProtoTypes_RepBytes) VerboseEqual(that interface{}) error { |
| 5214 |
if that == nil { |
| 5215 |
if this == nil { |
| 5216 |
return nil |
| 5217 |
} |
| 5218 |
return fmt.Errorf("that == nil && this != nil") |
| 5219 |
} |
| 5220 |
|
| 5221 |
that1, ok := that.(*OneofProtoTypes_RepBytes) |
| 5222 |
if !ok { |
| 5223 |
that2, ok := that.(OneofProtoTypes_RepBytes) |
| 5224 |
if ok { |
| 5225 |
that1 = &that2 |
| 5226 |
} else { |
| 5227 |
return fmt.Errorf("that is not of type *OneofProtoTypes_RepBytes") |
| 5228 |
} |
| 5229 |
} |
| 5230 |
if that1 == nil { |
| 5231 |
if this == nil { |
| 5232 |
return nil |
| 5233 |
} |
| 5234 |
return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is nil && this != nil") |
| 5235 |
} else if this == nil { |
| 5236 |
return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is not nil && this == nil") |
| 5237 |
} |
| 5238 |
if !this.RepBytes.Equal(that1.RepBytes) { |
| 5239 |
return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) |
| 5240 |
} |
| 5241 |
return nil |
| 5242 |
} |
| 5243 |
func (this *OneofProtoTypes) Equal(that interface{}) bool { |
| 5244 |
if that == nil { |
| 5245 |
return this == nil |
| 5246 |
} |
| 5247 |
|
| 5248 |
that1, ok := that.(*OneofProtoTypes) |
| 5249 |
if !ok { |
| 5250 |
that2, ok := that.(OneofProtoTypes) |
| 5251 |
if ok { |
| 5252 |
that1 = &that2 |
| 5253 |
} else { |
| 5254 |
return false |
| 5255 |
} |
| 5256 |
} |
| 5257 |
if that1 == nil { |
| 5258 |
return this == nil |
| 5259 |
} else if this == nil { |
| 5260 |
return false |
| 5261 |
} |
| 5262 |
if that1.OneOfProtoTimes == nil { |
| 5263 |
if this.OneOfProtoTimes != nil { |
| 5264 |
return false |
| 5265 |
} |
| 5266 |
} else if this.OneOfProtoTimes == nil { |
| 5267 |
return false |
| 5268 |
} else if !this.OneOfProtoTimes.Equal(that1.OneOfProtoTimes) { |
| 5269 |
return false |
| 5270 |
} |
| 5271 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 5272 |
return false |
| 5273 |
} |
| 5274 |
return true |
| 5275 |
} |
| 5276 |
func (this *OneofProtoTypes_Timestamp) Equal(that interface{}) bool { |
| 5277 |
if that == nil { |
| 5278 |
return this == nil |
| 5279 |
} |
| 5280 |
|
| 5281 |
that1, ok := that.(*OneofProtoTypes_Timestamp) |
| 5282 |
if !ok { |
| 5283 |
that2, ok := that.(OneofProtoTypes_Timestamp) |
| 5284 |
if ok { |
| 5285 |
that1 = &that2 |
| 5286 |
} else { |
| 5287 |
return false |
| 5288 |
} |
| 5289 |
} |
| 5290 |
if that1 == nil { |
| 5291 |
return this == nil |
| 5292 |
} else if this == nil { |
| 5293 |
return false |
| 5294 |
} |
| 5295 |
if !this.Timestamp.Equal(that1.Timestamp) { |
| 5296 |
return false |
| 5297 |
} |
| 5298 |
return true |
| 5299 |
} |
| 5300 |
func (this *OneofProtoTypes_Duration) Equal(that interface{}) bool { |
| 5301 |
if that == nil { |
| 5302 |
return this == nil |
| 5303 |
} |
| 5304 |
|
| 5305 |
that1, ok := that.(*OneofProtoTypes_Duration) |
| 5306 |
if !ok { |
| 5307 |
that2, ok := that.(OneofProtoTypes_Duration) |
| 5308 |
if ok { |
| 5309 |
that1 = &that2 |
| 5310 |
} else { |
| 5311 |
return false |
| 5312 |
} |
| 5313 |
} |
| 5314 |
if that1 == nil { |
| 5315 |
return this == nil |
| 5316 |
} else if this == nil { |
| 5317 |
return false |
| 5318 |
} |
| 5319 |
if !this.Duration.Equal(that1.Duration) { |
| 5320 |
return false |
| 5321 |
} |
| 5322 |
return true |
| 5323 |
} |
| 5324 |
func (this *OneofProtoTypes_RepDouble) Equal(that interface{}) bool { |
| 5325 |
if that == nil { |
| 5326 |
return this == nil |
| 5327 |
} |
| 5328 |
|
| 5329 |
that1, ok := that.(*OneofProtoTypes_RepDouble) |
| 5330 |
if !ok { |
| 5331 |
that2, ok := that.(OneofProtoTypes_RepDouble) |
| 5332 |
if ok { |
| 5333 |
that1 = &that2 |
| 5334 |
} else { |
| 5335 |
return false |
| 5336 |
} |
| 5337 |
} |
| 5338 |
if that1 == nil { |
| 5339 |
return this == nil |
| 5340 |
} else if this == nil { |
| 5341 |
return false |
| 5342 |
} |
| 5343 |
if !this.RepDouble.Equal(that1.RepDouble) { |
| 5344 |
return false |
| 5345 |
} |
| 5346 |
return true |
| 5347 |
} |
| 5348 |
func (this *OneofProtoTypes_RepFloat) Equal(that interface{}) bool { |
| 5349 |
if that == nil { |
| 5350 |
return this == nil |
| 5351 |
} |
| 5352 |
|
| 5353 |
that1, ok := that.(*OneofProtoTypes_RepFloat) |
| 5354 |
if !ok { |
| 5355 |
that2, ok := that.(OneofProtoTypes_RepFloat) |
| 5356 |
if ok { |
| 5357 |
that1 = &that2 |
| 5358 |
} else { |
| 5359 |
return false |
| 5360 |
} |
| 5361 |
} |
| 5362 |
if that1 == nil { |
| 5363 |
return this == nil |
| 5364 |
} else if this == nil { |
| 5365 |
return false |
| 5366 |
} |
| 5367 |
if !this.RepFloat.Equal(that1.RepFloat) { |
| 5368 |
return false |
| 5369 |
} |
| 5370 |
return true |
| 5371 |
} |
| 5372 |
func (this *OneofProtoTypes_RepInt64) Equal(that interface{}) bool { |
| 5373 |
if that == nil { |
| 5374 |
return this == nil |
| 5375 |
} |
| 5376 |
|
| 5377 |
that1, ok := that.(*OneofProtoTypes_RepInt64) |
| 5378 |
if !ok { |
| 5379 |
that2, ok := that.(OneofProtoTypes_RepInt64) |
| 5380 |
if ok { |
| 5381 |
that1 = &that2 |
| 5382 |
} else { |
| 5383 |
return false |
| 5384 |
} |
| 5385 |
} |
| 5386 |
if that1 == nil { |
| 5387 |
return this == nil |
| 5388 |
} else if this == nil { |
| 5389 |
return false |
| 5390 |
} |
| 5391 |
if !this.RepInt64.Equal(that1.RepInt64) { |
| 5392 |
return false |
| 5393 |
} |
| 5394 |
return true |
| 5395 |
} |
| 5396 |
func (this *OneofProtoTypes_RepUInt64) Equal(that interface{}) bool { |
| 5397 |
if that == nil { |
| 5398 |
return this == nil |
| 5399 |
} |
| 5400 |
|
| 5401 |
that1, ok := that.(*OneofProtoTypes_RepUInt64) |
| 5402 |
if !ok { |
| 5403 |
that2, ok := that.(OneofProtoTypes_RepUInt64) |
| 5404 |
if ok { |
| 5405 |
that1 = &that2 |
| 5406 |
} else { |
| 5407 |
return false |
| 5408 |
} |
| 5409 |
} |
| 5410 |
if that1 == nil { |
| 5411 |
return this == nil |
| 5412 |
} else if this == nil { |
| 5413 |
return false |
| 5414 |
} |
| 5415 |
if !this.RepUInt64.Equal(that1.RepUInt64) { |
| 5416 |
return false |
| 5417 |
} |
| 5418 |
return true |
| 5419 |
} |
| 5420 |
func (this *OneofProtoTypes_RepInt32) Equal(that interface{}) bool { |
| 5421 |
if that == nil { |
| 5422 |
return this == nil |
| 5423 |
} |
| 5424 |
|
| 5425 |
that1, ok := that.(*OneofProtoTypes_RepInt32) |
| 5426 |
if !ok { |
| 5427 |
that2, ok := that.(OneofProtoTypes_RepInt32) |
| 5428 |
if ok { |
| 5429 |
that1 = &that2 |
| 5430 |
} else { |
| 5431 |
return false |
| 5432 |
} |
| 5433 |
} |
| 5434 |
if that1 == nil { |
| 5435 |
return this == nil |
| 5436 |
} else if this == nil { |
| 5437 |
return false |
| 5438 |
} |
| 5439 |
if !this.RepInt32.Equal(that1.RepInt32) { |
| 5440 |
return false |
| 5441 |
} |
| 5442 |
return true |
| 5443 |
} |
| 5444 |
func (this *OneofProtoTypes_RepUInt32) Equal(that interface{}) bool { |
| 5445 |
if that == nil { |
| 5446 |
return this == nil |
| 5447 |
} |
| 5448 |
|
| 5449 |
that1, ok := that.(*OneofProtoTypes_RepUInt32) |
| 5450 |
if !ok { |
| 5451 |
that2, ok := that.(OneofProtoTypes_RepUInt32) |
| 5452 |
if ok { |
| 5453 |
that1 = &that2 |
| 5454 |
} else { |
| 5455 |
return false |
| 5456 |
} |
| 5457 |
} |
| 5458 |
if that1 == nil { |
| 5459 |
return this == nil |
| 5460 |
} else if this == nil { |
| 5461 |
return false |
| 5462 |
} |
| 5463 |
if !this.RepUInt32.Equal(that1.RepUInt32) { |
| 5464 |
return false |
| 5465 |
} |
| 5466 |
return true |
| 5467 |
} |
| 5468 |
func (this *OneofProtoTypes_RepBool) Equal(that interface{}) bool { |
| 5469 |
if that == nil { |
| 5470 |
return this == nil |
| 5471 |
} |
| 5472 |
|
| 5473 |
that1, ok := that.(*OneofProtoTypes_RepBool) |
| 5474 |
if !ok { |
| 5475 |
that2, ok := that.(OneofProtoTypes_RepBool) |
| 5476 |
if ok { |
| 5477 |
that1 = &that2 |
| 5478 |
} else { |
| 5479 |
return false |
| 5480 |
} |
| 5481 |
} |
| 5482 |
if that1 == nil { |
| 5483 |
return this == nil |
| 5484 |
} else if this == nil { |
| 5485 |
return false |
| 5486 |
} |
| 5487 |
if !this.RepBool.Equal(that1.RepBool) { |
| 5488 |
return false |
| 5489 |
} |
| 5490 |
return true |
| 5491 |
} |
| 5492 |
func (this *OneofProtoTypes_RepString) Equal(that interface{}) bool { |
| 5493 |
if that == nil { |
| 5494 |
return this == nil |
| 5495 |
} |
| 5496 |
|
| 5497 |
that1, ok := that.(*OneofProtoTypes_RepString) |
| 5498 |
if !ok { |
| 5499 |
that2, ok := that.(OneofProtoTypes_RepString) |
| 5500 |
if ok { |
| 5501 |
that1 = &that2 |
| 5502 |
} else { |
| 5503 |
return false |
| 5504 |
} |
| 5505 |
} |
| 5506 |
if that1 == nil { |
| 5507 |
return this == nil |
| 5508 |
} else if this == nil { |
| 5509 |
return false |
| 5510 |
} |
| 5511 |
if !this.RepString.Equal(that1.RepString) { |
| 5512 |
return false |
| 5513 |
} |
| 5514 |
return true |
| 5515 |
} |
| 5516 |
func (this *OneofProtoTypes_RepBytes) Equal(that interface{}) bool { |
| 5517 |
if that == nil { |
| 5518 |
return this == nil |
| 5519 |
} |
| 5520 |
|
| 5521 |
that1, ok := that.(*OneofProtoTypes_RepBytes) |
| 5522 |
if !ok { |
| 5523 |
that2, ok := that.(OneofProtoTypes_RepBytes) |
| 5524 |
if ok { |
| 5525 |
that1 = &that2 |
| 5526 |
} else { |
| 5527 |
return false |
| 5528 |
} |
| 5529 |
} |
| 5530 |
if that1 == nil { |
| 5531 |
return this == nil |
| 5532 |
} else if this == nil { |
| 5533 |
return false |
| 5534 |
} |
| 5535 |
if !this.RepBytes.Equal(that1.RepBytes) { |
| 5536 |
return false |
| 5537 |
} |
| 5538 |
return true |
| 5539 |
} |
| 5540 |
func (this *OneofStdTypes) VerboseEqual(that interface{}) error { |
| 5541 |
if that == nil { |
| 5542 |
if this == nil { |
| 5543 |
return nil |
| 5544 |
} |
| 5545 |
return fmt.Errorf("that == nil && this != nil") |
| 5546 |
} |
| 5547 |
|
| 5548 |
that1, ok := that.(*OneofStdTypes) |
| 5549 |
if !ok { |
| 5550 |
that2, ok := that.(OneofStdTypes) |
| 5551 |
if ok { |
| 5552 |
that1 = &that2 |
| 5553 |
} else { |
| 5554 |
return fmt.Errorf("that is not of type *OneofStdTypes") |
| 5555 |
} |
| 5556 |
} |
| 5557 |
if that1 == nil { |
| 5558 |
if this == nil { |
| 5559 |
return nil |
| 5560 |
} |
| 5561 |
return fmt.Errorf("that is type *OneofStdTypes but is nil && this != nil") |
| 5562 |
} else if this == nil { |
| 5563 |
return fmt.Errorf("that is type *OneofStdTypes but is not nil && this == nil") |
| 5564 |
} |
| 5565 |
if that1.OneOfStdTimes == nil { |
| 5566 |
if this.OneOfStdTimes != nil { |
| 5567 |
return fmt.Errorf("this.OneOfStdTimes != nil && that1.OneOfStdTimes == nil") |
| 5568 |
} |
| 5569 |
} else if this.OneOfStdTimes == nil { |
| 5570 |
return fmt.Errorf("this.OneOfStdTimes == nil && that1.OneOfStdTimes != nil") |
| 5571 |
} else if err := this.OneOfStdTimes.VerboseEqual(that1.OneOfStdTimes); err != nil { |
| 5572 |
return err |
| 5573 |
} |
| 5574 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 5575 |
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) |
| 5576 |
} |
| 5577 |
return nil |
| 5578 |
} |
| 5579 |
func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) error { |
| 5580 |
if that == nil { |
| 5581 |
if this == nil { |
| 5582 |
return nil |
| 5583 |
} |
| 5584 |
return fmt.Errorf("that == nil && this != nil") |
| 5585 |
} |
| 5586 |
|
| 5587 |
that1, ok := that.(*OneofStdTypes_Timestamp) |
| 5588 |
if !ok { |
| 5589 |
that2, ok := that.(OneofStdTypes_Timestamp) |
| 5590 |
if ok { |
| 5591 |
that1 = &that2 |
| 5592 |
} else { |
| 5593 |
return fmt.Errorf("that is not of type *OneofStdTypes_Timestamp") |
| 5594 |
} |
| 5595 |
} |
| 5596 |
if that1 == nil { |
| 5597 |
if this == nil { |
| 5598 |
return nil |
| 5599 |
} |
| 5600 |
return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is nil && this != nil") |
| 5601 |
} else if this == nil { |
| 5602 |
return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is not nil && this == nil") |
| 5603 |
} |
| 5604 |
if that1.Timestamp == nil { |
| 5605 |
if this.Timestamp != nil { |
| 5606 |
return fmt.Errorf("this.Timestamp != nil && that1.Timestamp == nil") |
| 5607 |
} |
| 5608 |
} else if !this.Timestamp.Equal(*that1.Timestamp) { |
| 5609 |
return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) |
| 5610 |
} |
| 5611 |
return nil |
| 5612 |
} |
| 5613 |
func (this *OneofStdTypes_Duration) VerboseEqual(that interface{}) error { |
| 5614 |
if that == nil { |
| 5615 |
if this == nil { |
| 5616 |
return nil |
| 5617 |
} |
| 5618 |
return fmt.Errorf("that == nil && this != nil") |
| 5619 |
} |
| 5620 |
|
| 5621 |
that1, ok := that.(*OneofStdTypes_Duration) |
| 5622 |
if !ok { |
| 5623 |
that2, ok := that.(OneofStdTypes_Duration) |
| 5624 |
if ok { |
| 5625 |
that1 = &that2 |
| 5626 |
} else { |
| 5627 |
return fmt.Errorf("that is not of type *OneofStdTypes_Duration") |
| 5628 |
} |
| 5629 |
} |
| 5630 |
if that1 == nil { |
| 5631 |
if this == nil { |
| 5632 |
return nil |
| 5633 |
} |
| 5634 |
return fmt.Errorf("that is type *OneofStdTypes_Duration but is nil && this != nil") |
| 5635 |
} else if this == nil { |
| 5636 |
return fmt.Errorf("that is type *OneofStdTypes_Duration but is not nil && this == nil") |
| 5637 |
} |
| 5638 |
if this.Duration != nil && that1.Duration != nil { |
| 5639 |
if *this.Duration != *that1.Duration { |
| 5640 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", *this.Duration, *that1.Duration) |
| 5641 |
} |
| 5642 |
} else if this.Duration != nil { |
| 5643 |
return fmt.Errorf("this.Duration == nil && that.Duration != nil") |
| 5644 |
} else if that1.Duration != nil { |
| 5645 |
return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) |
| 5646 |
} |
| 5647 |
return nil |
| 5648 |
} |
| 5649 |
func (this *OneofStdTypes_RepDouble) VerboseEqual(that interface{}) error { |
| 5650 |
if that == nil { |
| 5651 |
if this == nil { |
| 5652 |
return nil |
| 5653 |
} |
| 5654 |
return fmt.Errorf("that == nil && this != nil") |
| 5655 |
} |
| 5656 |
|
| 5657 |
that1, ok := that.(*OneofStdTypes_RepDouble) |
| 5658 |
if !ok { |
| 5659 |
that2, ok := that.(OneofStdTypes_RepDouble) |
| 5660 |
if ok { |
| 5661 |
that1 = &that2 |
| 5662 |
} else { |
| 5663 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepDouble") |
| 5664 |
} |
| 5665 |
} |
| 5666 |
if that1 == nil { |
| 5667 |
if this == nil { |
| 5668 |
return nil |
| 5669 |
} |
| 5670 |
return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is nil && this != nil") |
| 5671 |
} else if this == nil { |
| 5672 |
return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is not nil && this == nil") |
| 5673 |
} |
| 5674 |
if this.RepDouble != nil && that1.RepDouble != nil { |
| 5675 |
if *this.RepDouble != *that1.RepDouble { |
| 5676 |
return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", *this.RepDouble, *that1.RepDouble) |
| 5677 |
} |
| 5678 |
} else if this.RepDouble != nil { |
| 5679 |
return fmt.Errorf("this.RepDouble == nil && that.RepDouble != nil") |
| 5680 |
} else if that1.RepDouble != nil { |
| 5681 |
return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) |
| 5682 |
} |
| 5683 |
return nil |
| 5684 |
} |
| 5685 |
func (this *OneofStdTypes_RepFloat) VerboseEqual(that interface{}) error { |
| 5686 |
if that == nil { |
| 5687 |
if this == nil { |
| 5688 |
return nil |
| 5689 |
} |
| 5690 |
return fmt.Errorf("that == nil && this != nil") |
| 5691 |
} |
| 5692 |
|
| 5693 |
that1, ok := that.(*OneofStdTypes_RepFloat) |
| 5694 |
if !ok { |
| 5695 |
that2, ok := that.(OneofStdTypes_RepFloat) |
| 5696 |
if ok { |
| 5697 |
that1 = &that2 |
| 5698 |
} else { |
| 5699 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepFloat") |
| 5700 |
} |
| 5701 |
} |
| 5702 |
if that1 == nil { |
| 5703 |
if this == nil { |
| 5704 |
return nil |
| 5705 |
} |
| 5706 |
return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is nil && this != nil") |
| 5707 |
} else if this == nil { |
| 5708 |
return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is not nil && this == nil") |
| 5709 |
} |
| 5710 |
if this.RepFloat != nil && that1.RepFloat != nil { |
| 5711 |
if *this.RepFloat != *that1.RepFloat { |
| 5712 |
return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", *this.RepFloat, *that1.RepFloat) |
| 5713 |
} |
| 5714 |
} else if this.RepFloat != nil { |
| 5715 |
return fmt.Errorf("this.RepFloat == nil && that.RepFloat != nil") |
| 5716 |
} else if that1.RepFloat != nil { |
| 5717 |
return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) |
| 5718 |
} |
| 5719 |
return nil |
| 5720 |
} |
| 5721 |
func (this *OneofStdTypes_RepInt64) VerboseEqual(that interface{}) error { |
| 5722 |
if that == nil { |
| 5723 |
if this == nil { |
| 5724 |
return nil |
| 5725 |
} |
| 5726 |
return fmt.Errorf("that == nil && this != nil") |
| 5727 |
} |
| 5728 |
|
| 5729 |
that1, ok := that.(*OneofStdTypes_RepInt64) |
| 5730 |
if !ok { |
| 5731 |
that2, ok := that.(OneofStdTypes_RepInt64) |
| 5732 |
if ok { |
| 5733 |
that1 = &that2 |
| 5734 |
} else { |
| 5735 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepInt64") |
| 5736 |
} |
| 5737 |
} |
| 5738 |
if that1 == nil { |
| 5739 |
if this == nil { |
| 5740 |
return nil |
| 5741 |
} |
| 5742 |
return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is nil && this != nil") |
| 5743 |
} else if this == nil { |
| 5744 |
return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is not nil && this == nil") |
| 5745 |
} |
| 5746 |
if this.RepInt64 != nil && that1.RepInt64 != nil { |
| 5747 |
if *this.RepInt64 != *that1.RepInt64 { |
| 5748 |
return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", *this.RepInt64, *that1.RepInt64) |
| 5749 |
} |
| 5750 |
} else if this.RepInt64 != nil { |
| 5751 |
return fmt.Errorf("this.RepInt64 == nil && that.RepInt64 != nil") |
| 5752 |
} else if that1.RepInt64 != nil { |
| 5753 |
return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) |
| 5754 |
} |
| 5755 |
return nil |
| 5756 |
} |
| 5757 |
func (this *OneofStdTypes_RepUInt64) VerboseEqual(that interface{}) error { |
| 5758 |
if that == nil { |
| 5759 |
if this == nil { |
| 5760 |
return nil |
| 5761 |
} |
| 5762 |
return fmt.Errorf("that == nil && this != nil") |
| 5763 |
} |
| 5764 |
|
| 5765 |
that1, ok := that.(*OneofStdTypes_RepUInt64) |
| 5766 |
if !ok { |
| 5767 |
that2, ok := that.(OneofStdTypes_RepUInt64) |
| 5768 |
if ok { |
| 5769 |
that1 = &that2 |
| 5770 |
} else { |
| 5771 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt64") |
| 5772 |
} |
| 5773 |
} |
| 5774 |
if that1 == nil { |
| 5775 |
if this == nil { |
| 5776 |
return nil |
| 5777 |
} |
| 5778 |
return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is nil && this != nil") |
| 5779 |
} else if this == nil { |
| 5780 |
return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is not nil && this == nil") |
| 5781 |
} |
| 5782 |
if this.RepUInt64 != nil && that1.RepUInt64 != nil { |
| 5783 |
if *this.RepUInt64 != *that1.RepUInt64 { |
| 5784 |
return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", *this.RepUInt64, *that1.RepUInt64) |
| 5785 |
} |
| 5786 |
} else if this.RepUInt64 != nil { |
| 5787 |
return fmt.Errorf("this.RepUInt64 == nil && that.RepUInt64 != nil") |
| 5788 |
} else if that1.RepUInt64 != nil { |
| 5789 |
return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) |
| 5790 |
} |
| 5791 |
return nil |
| 5792 |
} |
| 5793 |
func (this *OneofStdTypes_RepInt32) VerboseEqual(that interface{}) error { |
| 5794 |
if that == nil { |
| 5795 |
if this == nil { |
| 5796 |
return nil |
| 5797 |
} |
| 5798 |
return fmt.Errorf("that == nil && this != nil") |
| 5799 |
} |
| 5800 |
|
| 5801 |
that1, ok := that.(*OneofStdTypes_RepInt32) |
| 5802 |
if !ok { |
| 5803 |
that2, ok := that.(OneofStdTypes_RepInt32) |
| 5804 |
if ok { |
| 5805 |
that1 = &that2 |
| 5806 |
} else { |
| 5807 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepInt32") |
| 5808 |
} |
| 5809 |
} |
| 5810 |
if that1 == nil { |
| 5811 |
if this == nil { |
| 5812 |
return nil |
| 5813 |
} |
| 5814 |
return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is nil && this != nil") |
| 5815 |
} else if this == nil { |
| 5816 |
return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is not nil && this == nil") |
| 5817 |
} |
| 5818 |
if this.RepInt32 != nil && that1.RepInt32 != nil { |
| 5819 |
if *this.RepInt32 != *that1.RepInt32 { |
| 5820 |
return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", *this.RepInt32, *that1.RepInt32) |
| 5821 |
} |
| 5822 |
} else if this.RepInt32 != nil { |
| 5823 |
return fmt.Errorf("this.RepInt32 == nil && that.RepInt32 != nil") |
| 5824 |
} else if that1.RepInt32 != nil { |
| 5825 |
return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) |
| 5826 |
} |
| 5827 |
return nil |
| 5828 |
} |
| 5829 |
func (this *OneofStdTypes_RepUInt32) VerboseEqual(that interface{}) error { |
| 5830 |
if that == nil { |
| 5831 |
if this == nil { |
| 5832 |
return nil |
| 5833 |
} |
| 5834 |
return fmt.Errorf("that == nil && this != nil") |
| 5835 |
} |
| 5836 |
|
| 5837 |
that1, ok := that.(*OneofStdTypes_RepUInt32) |
| 5838 |
if !ok { |
| 5839 |
that2, ok := that.(OneofStdTypes_RepUInt32) |
| 5840 |
if ok { |
| 5841 |
that1 = &that2 |
| 5842 |
} else { |
| 5843 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt32") |
| 5844 |
} |
| 5845 |
} |
| 5846 |
if that1 == nil { |
| 5847 |
if this == nil { |
| 5848 |
return nil |
| 5849 |
} |
| 5850 |
return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is nil && this != nil") |
| 5851 |
} else if this == nil { |
| 5852 |
return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is not nil && this == nil") |
| 5853 |
} |
| 5854 |
if this.RepUInt32 != nil && that1.RepUInt32 != nil { |
| 5855 |
if *this.RepUInt32 != *that1.RepUInt32 { |
| 5856 |
return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", *this.RepUInt32, *that1.RepUInt32) |
| 5857 |
} |
| 5858 |
} else if this.RepUInt32 != nil { |
| 5859 |
return fmt.Errorf("this.RepUInt32 == nil && that.RepUInt32 != nil") |
| 5860 |
} else if that1.RepUInt32 != nil { |
| 5861 |
return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) |
| 5862 |
} |
| 5863 |
return nil |
| 5864 |
} |
| 5865 |
func (this *OneofStdTypes_RepBool) VerboseEqual(that interface{}) error { |
| 5866 |
if that == nil { |
| 5867 |
if this == nil { |
| 5868 |
return nil |
| 5869 |
} |
| 5870 |
return fmt.Errorf("that == nil && this != nil") |
| 5871 |
} |
| 5872 |
|
| 5873 |
that1, ok := that.(*OneofStdTypes_RepBool) |
| 5874 |
if !ok { |
| 5875 |
that2, ok := that.(OneofStdTypes_RepBool) |
| 5876 |
if ok { |
| 5877 |
that1 = &that2 |
| 5878 |
} else { |
| 5879 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepBool") |
| 5880 |
} |
| 5881 |
} |
| 5882 |
if that1 == nil { |
| 5883 |
if this == nil { |
| 5884 |
return nil |
| 5885 |
} |
| 5886 |
return fmt.Errorf("that is type *OneofStdTypes_RepBool but is nil && this != nil") |
| 5887 |
} else if this == nil { |
| 5888 |
return fmt.Errorf("that is type *OneofStdTypes_RepBool but is not nil && this == nil") |
| 5889 |
} |
| 5890 |
if this.RepBool != nil && that1.RepBool != nil { |
| 5891 |
if *this.RepBool != *that1.RepBool { |
| 5892 |
return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", *this.RepBool, *that1.RepBool) |
| 5893 |
} |
| 5894 |
} else if this.RepBool != nil { |
| 5895 |
return fmt.Errorf("this.RepBool == nil && that.RepBool != nil") |
| 5896 |
} else if that1.RepBool != nil { |
| 5897 |
return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) |
| 5898 |
} |
| 5899 |
return nil |
| 5900 |
} |
| 5901 |
func (this *OneofStdTypes_RepString) VerboseEqual(that interface{}) error { |
| 5902 |
if that == nil { |
| 5903 |
if this == nil { |
| 5904 |
return nil |
| 5905 |
} |
| 5906 |
return fmt.Errorf("that == nil && this != nil") |
| 5907 |
} |
| 5908 |
|
| 5909 |
that1, ok := that.(*OneofStdTypes_RepString) |
| 5910 |
if !ok { |
| 5911 |
that2, ok := that.(OneofStdTypes_RepString) |
| 5912 |
if ok { |
| 5913 |
that1 = &that2 |
| 5914 |
} else { |
| 5915 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepString") |
| 5916 |
} |
| 5917 |
} |
| 5918 |
if that1 == nil { |
| 5919 |
if this == nil { |
| 5920 |
return nil |
| 5921 |
} |
| 5922 |
return fmt.Errorf("that is type *OneofStdTypes_RepString but is nil && this != nil") |
| 5923 |
} else if this == nil { |
| 5924 |
return fmt.Errorf("that is type *OneofStdTypes_RepString but is not nil && this == nil") |
| 5925 |
} |
| 5926 |
if this.RepString != nil && that1.RepString != nil { |
| 5927 |
if *this.RepString != *that1.RepString { |
| 5928 |
return fmt.Errorf("RepString this(%v) Not Equal that(%v)", *this.RepString, *that1.RepString) |
| 5929 |
} |
| 5930 |
} else if this.RepString != nil { |
| 5931 |
return fmt.Errorf("this.RepString == nil && that.RepString != nil") |
| 5932 |
} else if that1.RepString != nil { |
| 5933 |
return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) |
| 5934 |
} |
| 5935 |
return nil |
| 5936 |
} |
| 5937 |
func (this *OneofStdTypes_RepBytes) VerboseEqual(that interface{}) error { |
| 5938 |
if that == nil { |
| 5939 |
if this == nil { |
| 5940 |
return nil |
| 5941 |
} |
| 5942 |
return fmt.Errorf("that == nil && this != nil") |
| 5943 |
} |
| 5944 |
|
| 5945 |
that1, ok := that.(*OneofStdTypes_RepBytes) |
| 5946 |
if !ok { |
| 5947 |
that2, ok := that.(OneofStdTypes_RepBytes) |
| 5948 |
if ok { |
| 5949 |
that1 = &that2 |
| 5950 |
} else { |
| 5951 |
return fmt.Errorf("that is not of type *OneofStdTypes_RepBytes") |
| 5952 |
} |
| 5953 |
} |
| 5954 |
if that1 == nil { |
| 5955 |
if this == nil { |
| 5956 |
return nil |
| 5957 |
} |
| 5958 |
return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is nil && this != nil") |
| 5959 |
} else if this == nil { |
| 5960 |
return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is not nil && this == nil") |
| 5961 |
} |
| 5962 |
if that1.RepBytes == nil { |
| 5963 |
if this.RepBytes != nil { |
| 5964 |
return fmt.Errorf("this.RepBytes != nil && that1.RepBytes == nil") |
| 5965 |
} |
| 5966 |
} else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { |
| 5967 |
return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) |
| 5968 |
} |
| 5969 |
return nil |
| 5970 |
} |
| 5971 |
func (this *OneofStdTypes) Equal(that interface{}) bool { |
| 5972 |
if that == nil { |
| 5973 |
return this == nil |
| 5974 |
} |
| 5975 |
|
| 5976 |
that1, ok := that.(*OneofStdTypes) |
| 5977 |
if !ok { |
| 5978 |
that2, ok := that.(OneofStdTypes) |
| 5979 |
if ok { |
| 5980 |
that1 = &that2 |
| 5981 |
} else { |
| 5982 |
return false |
| 5983 |
} |
| 5984 |
} |
| 5985 |
if that1 == nil { |
| 5986 |
return this == nil |
| 5987 |
} else if this == nil { |
| 5988 |
return false |
| 5989 |
} |
| 5990 |
if that1.OneOfStdTimes == nil { |
| 5991 |
if this.OneOfStdTimes != nil { |
| 5992 |
return false |
| 5993 |
} |
| 5994 |
} else if this.OneOfStdTimes == nil { |
| 5995 |
return false |
| 5996 |
} else if !this.OneOfStdTimes.Equal(that1.OneOfStdTimes) { |
| 5997 |
return false |
| 5998 |
} |
| 5999 |
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { |
| 6000 |
return false |
| 6001 |
} |
| 6002 |
return true |
| 6003 |
} |
| 6004 |
func (this *OneofStdTypes_Timestamp) Equal(that interface{}) bool { |
| 6005 |
if that == nil { |
| 6006 |
return this == nil |
| 6007 |
} |
| 6008 |
|
| 6009 |
that1, ok := that.(*OneofStdTypes_Timestamp) |
| 6010 |
if !ok { |
| 6011 |
that2, ok := that.(OneofStdTypes_Timestamp) |
| 6012 |
if ok { |
| 6013 |
that1 = &that2 |
| 6014 |
} else { |
| 6015 |
return false |
| 6016 |
} |
| 6017 |
} |
| 6018 |
if that1 == nil { |
| 6019 |
return this == nil |
| 6020 |
} else if this == nil { |
| 6021 |
return false |
| 6022 |
} |
| 6023 |
if that1.Timestamp == nil { |
| 6024 |
if this.Timestamp != nil { |
| 6025 |
return false |
| 6026 |
} |
| 6027 |
} else if !this.Timestamp.Equal(*that1.Timestamp) { |
| 6028 |
return false |
| 6029 |
} |
| 6030 |
return true |
| 6031 |
} |
| 6032 |
func (this *OneofStdTypes_Duration) Equal(that interface{}) bool { |
| 6033 |
if that == nil { |
| 6034 |
return this == nil |
| 6035 |
} |
| 6036 |
|
| 6037 |
that1, ok := that.(*OneofStdTypes_Duration) |
| 6038 |
if !ok { |
| 6039 |
that2, ok := that.(OneofStdTypes_Duration) |
| 6040 |
if ok { |
| 6041 |
that1 = &that2 |
| 6042 |
} else { |
| 6043 |
return false |
| 6044 |
} |
| 6045 |
} |
| 6046 |
if that1 == nil { |
| 6047 |
return this == nil |
| 6048 |
} else if this == nil { |
| 6049 |
return false |
| 6050 |
} |
| 6051 |
if this.Duration != nil && that1.Duration != nil { |
| 6052 |
if *this.Duration != *that1.Duration { |
| 6053 |
return false |
| 6054 |
} |
| 6055 |
} else if this.Duration != nil { |
| 6056 |
return false |
| 6057 |
} else if that1.Duration != nil { |
| 6058 |
return false |
| 6059 |
} |
| 6060 |
return true |
| 6061 |
} |
| 6062 |
func (this *OneofStdTypes_RepDouble) Equal(that interface{}) bool { |
| 6063 |
if that == nil { |
| 6064 |
return this == nil |
| 6065 |
} |
| 6066 |
|
| 6067 |
that1, ok := that.(*OneofStdTypes_RepDouble) |
| 6068 |
if !ok { |
| 6069 |
that2, ok := that.(OneofStdTypes_RepDouble) |
| 6070 |
if ok { |
| 6071 |
that1 = &that2 |
| 6072 |
} else { |
| 6073 |
return false |
| 6074 |
} |
| 6075 |
} |
| 6076 |
if that1 == nil { |
| 6077 |
return this == nil |
| 6078 |
} else if this == nil { |
| 6079 |
return false |
| 6080 |
} |
| 6081 |
if this.RepDouble != nil && that1.RepDouble != nil { |
| 6082 |
if *this.RepDouble != *that1.RepDouble { |
| 6083 |
return false |
| 6084 |
} |
| 6085 |
} else if this.RepDouble != nil { |
| 6086 |
return false |
| 6087 |
} else if that1.RepDouble != nil { |
| 6088 |
return false |
| 6089 |
} |
| 6090 |
return true |
| 6091 |
} |
| 6092 |
func (this *OneofStdTypes_RepFloat) Equal(that interface{}) bool { |
| 6093 |
if that == nil { |
| 6094 |
return this == nil |
| 6095 |
} |
| 6096 |
|
| 6097 |
that1, ok := that.(*OneofStdTypes_RepFloat) |
| 6098 |
if !ok { |
| 6099 |
that2, ok := that.(OneofStdTypes_RepFloat) |
| 6100 |
if ok { |
| 6101 |
that1 = &that2 |
| 6102 |
} else { |
| 6103 |
return false |
| 6104 |
} |
| 6105 |
} |
| 6106 |
if that1 == nil { |
| 6107 |
return this == nil |
| 6108 |
} else if this == nil { |
| 6109 |
return false |
| 6110 |
} |
| 6111 |
if this.RepFloat != nil && that1.RepFloat != nil { |
| 6112 |
if *this.RepFloat != *that1.RepFloat { |
| 6113 |
return false |
| 6114 |
} |
| 6115 |
} else if this.RepFloat != nil { |
| 6116 |
return false |
| 6117 |
} else if that1.RepFloat != nil { |
| 6118 |
return false |
| 6119 |
} |
| 6120 |
return true |
| 6121 |
} |
| 6122 |
func (this *OneofStdTypes_RepInt64) Equal(that interface{}) bool { |
| 6123 |
if that == nil { |
| 6124 |
return this == nil |
| 6125 |
} |
| 6126 |
|
| 6127 |
that1, ok := that.(*OneofStdTypes_RepInt64) |
| 6128 |
if !ok { |
| 6129 |
that2, ok := that.(OneofStdTypes_RepInt64) |
| 6130 |
if ok { |
| 6131 |
that1 = &that2 |
| 6132 |
} else { |
| 6133 |
return false |
| 6134 |
} |
| 6135 |
} |
| 6136 |
if that1 == nil { |
| 6137 |
return this == nil |
| 6138 |
} else if this == nil { |
| 6139 |
return false |
| 6140 |
} |
| 6141 |
if this.RepInt64 != nil && that1.RepInt64 != nil { |
| 6142 |
if *this.RepInt64 != *that1.RepInt64 { |
| 6143 |
return false |
| 6144 |
} |
| 6145 |
} else if this.RepInt64 != nil { |
| 6146 |
return false |
| 6147 |
} else if that1.RepInt64 != nil { |
| 6148 |
return false |
| 6149 |
} |
| 6150 |
return true |
| 6151 |
} |
| 6152 |
func (this *OneofStdTypes_RepUInt64) Equal(that interface{}) bool { |
| 6153 |
if that == nil { |
| 6154 |
return this == nil |
| 6155 |
} |
| 6156 |
|
| 6157 |
that1, ok := that.(*OneofStdTypes_RepUInt64) |
| 6158 |
if !ok { |
| 6159 |
that2, ok := that.(OneofStdTypes_RepUInt64) |
| 6160 |
if ok { |
| 6161 |
that1 = &that2 |
| 6162 |
} else { |
| 6163 |
return false |
| 6164 |
} |
| 6165 |
} |
| 6166 |
if that1 == nil { |
| 6167 |
return this == nil |
| 6168 |
} else if this == nil { |
| 6169 |
return false |
| 6170 |
} |
| 6171 |
if this.RepUInt64 != nil && that1.RepUInt64 != nil { |
| 6172 |
if *this.RepUInt64 != *that1.RepUInt64 { |
| 6173 |
return false |
| 6174 |
} |
| 6175 |
} else if this.RepUInt64 != nil { |
| 6176 |
return false |
| 6177 |
} else if that1.RepUInt64 != nil { |
| 6178 |
return false |
| 6179 |
} |
| 6180 |
return true |
| 6181 |
} |
| 6182 |
func (this *OneofStdTypes_RepInt32) Equal(that interface{}) bool { |
| 6183 |
if that == nil { |
| 6184 |
return this == nil |
| 6185 |
} |
| 6186 |
|
| 6187 |
that1, ok := that.(*OneofStdTypes_RepInt32) |
| 6188 |
if !ok { |
| 6189 |
that2, ok := that.(OneofStdTypes_RepInt32) |
| 6190 |
if ok { |
| 6191 |
that1 = &that2 |
| 6192 |
} else { |
| 6193 |
return false |
| 6194 |
} |
| 6195 |
} |
| 6196 |
if that1 == nil { |
| 6197 |
return this == nil |
| 6198 |
} else if this == nil { |
| 6199 |
return false |
| 6200 |
} |
| 6201 |
if this.RepInt32 != nil && that1.RepInt32 != nil { |
| 6202 |
if *this.RepInt32 != *that1.RepInt32 { |
| 6203 |
return false |
| 6204 |
} |
| 6205 |
} else if this.RepInt32 != nil { |
| 6206 |
return false |
| 6207 |
} else if that1.RepInt32 != nil { |
| 6208 |
return false |
| 6209 |
} |
| 6210 |
return true |
| 6211 |
} |
| 6212 |
func (this *OneofStdTypes_RepUInt32) Equal(that interface{}) bool { |
| 6213 |
if that == nil { |
| 6214 |
return this == nil |
| 6215 |
} |
| 6216 |
|
| 6217 |
that1, ok := that.(*OneofStdTypes_RepUInt32) |
| 6218 |
if !ok { |
| 6219 |
that2, ok := that.(OneofStdTypes_RepUInt32) |
| 6220 |
if ok { |
| 6221 |
that1 = &that2 |
| 6222 |
} else { |
| 6223 |
return false |
| 6224 |
} |
| 6225 |
} |
| 6226 |
if that1 == nil { |
| 6227 |
return this == nil |
| 6228 |
} else if this == nil { |
| 6229 |
return false |
| 6230 |
} |
| 6231 |
if this.RepUInt32 != nil && that1.RepUInt32 != nil { |
| 6232 |
if *this.RepUInt32 != *that1.RepUInt32 { |
| 6233 |
return false |
| 6234 |
} |
| 6235 |
} else if this.RepUInt32 != nil { |
| 6236 |
return false |
| 6237 |
} else if that1.RepUInt32 != nil { |
| 6238 |
return false |
| 6239 |
} |
| 6240 |
return true |
| 6241 |
} |
| 6242 |
func (this *OneofStdTypes_RepBool) Equal(that interface{}) bool { |
| 6243 |
if that == nil { |
| 6244 |
return this == nil |
| 6245 |
} |
| 6246 |
|
| 6247 |
that1, ok := that.(*OneofStdTypes_RepBool) |
| 6248 |
if !ok { |
| 6249 |
that2, ok := that.(OneofStdTypes_RepBool) |
| 6250 |
if ok { |
| 6251 |
that1 = &that2 |
| 6252 |
} else { |
| 6253 |
return false |
| 6254 |
} |
| 6255 |
} |
| 6256 |
if that1 == nil { |
| 6257 |
return this == nil |
| 6258 |
} else if this == nil { |
| 6259 |
return false |
| 6260 |
} |
| 6261 |
if this.RepBool != nil && that1.RepBool != nil { |
| 6262 |
if *this.RepBool != *that1.RepBool { |
| 6263 |
return false |
| 6264 |
} |
| 6265 |
} else if this.RepBool != nil { |
| 6266 |
return false |
| 6267 |
} else if that1.RepBool != nil { |
| 6268 |
return false |
| 6269 |
} |
| 6270 |
return true |
| 6271 |
} |
| 6272 |
func (this *OneofStdTypes_RepString) Equal(that interface{}) bool { |
| 6273 |
if that == nil { |
| 6274 |
return this == nil |
| 6275 |
} |
| 6276 |
|
| 6277 |
that1, ok := that.(*OneofStdTypes_RepString) |
| 6278 |
if !ok { |
| 6279 |
that2, ok := that.(OneofStdTypes_RepString) |
| 6280 |
if ok { |
| 6281 |
that1 = &that2 |
| 6282 |
} else { |
| 6283 |
return false |
| 6284 |
} |
| 6285 |
} |
| 6286 |
if that1 == nil { |
| 6287 |
return this == nil |
| 6288 |
} else if this == nil { |
| 6289 |
return false |
| 6290 |
} |
| 6291 |
if this.RepString != nil && that1.RepString != nil { |
| 6292 |
if *this.RepString != *that1.RepString { |
| 6293 |
return false |
| 6294 |
} |
| 6295 |
} else if this.RepString != nil { |
| 6296 |
return false |
| 6297 |
} else if that1.RepString != nil { |
| 6298 |
return false |
| 6299 |
} |
| 6300 |
return true |
| 6301 |
} |
| 6302 |
func (this *OneofStdTypes_RepBytes) Equal(that interface{}) bool { |
| 6303 |
if that == nil { |
| 6304 |
return this == nil |
| 6305 |
} |
| 6306 |
|
| 6307 |
that1, ok := that.(*OneofStdTypes_RepBytes) |
| 6308 |
if !ok { |
| 6309 |
that2, ok := that.(OneofStdTypes_RepBytes) |
| 6310 |
if ok { |
| 6311 |
that1 = &that2 |
| 6312 |
} else { |
| 6313 |
return false |
| 6314 |
} |
| 6315 |
} |
| 6316 |
if that1 == nil { |
| 6317 |
return this == nil |
| 6318 |
} else if this == nil { |
| 6319 |
return false |
| 6320 |
} |
| 6321 |
if that1.RepBytes == nil { |
| 6322 |
if this.RepBytes != nil { |
| 6323 |
return false |
| 6324 |
} |
| 6325 |
} else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { |
| 6326 |
return false |
| 6327 |
} |
| 6328 |
return true |
| 6329 |
} |
| 6330 |
func (m *KnownTypes) Marshal() (dAtA []byte, err error) { |
| 6331 |
size := m.Size() |
| 6332 |
dAtA = make([]byte, size) |
| 6333 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 6334 |
if err != nil { |
| 6335 |
return nil, err |
| 6336 |
} |
| 6337 |
return dAtA[:n], nil |
| 6338 |
} |
| 6339 |
|
| 6340 |
func (m *KnownTypes) MarshalTo(dAtA []byte) (int, error) { |
| 6341 |
size := m.Size() |
| 6342 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 6343 |
} |
| 6344 |
|
| 6345 |
func (m *KnownTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 6346 |
i := len(dAtA) |
| 6347 |
_ = i |
| 6348 |
var l int |
| 6349 |
_ = l |
| 6350 |
if m.XXX_unrecognized != nil { |
| 6351 |
i -= len(m.XXX_unrecognized) |
| 6352 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 6353 |
} |
| 6354 |
if m.St != nil { |
| 6355 |
{ |
| 6356 |
size, err := m.St.MarshalToSizedBuffer(dAtA[:i]) |
| 6357 |
if err != nil { |
| 6358 |
return 0, err |
| 6359 |
} |
| 6360 |
i -= size |
| 6361 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6362 |
} |
| 6363 |
i-- |
| 6364 |
dAtA[i] = 0x62 |
| 6365 |
} |
| 6366 |
if m.Bytes != nil { |
| 6367 |
{ |
| 6368 |
size, err := m.Bytes.MarshalToSizedBuffer(dAtA[:i]) |
| 6369 |
if err != nil { |
| 6370 |
return 0, err |
| 6371 |
} |
| 6372 |
i -= size |
| 6373 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6374 |
} |
| 6375 |
i-- |
| 6376 |
dAtA[i] = 0x5a |
| 6377 |
} |
| 6378 |
if m.Str != nil { |
| 6379 |
{ |
| 6380 |
size, err := m.Str.MarshalToSizedBuffer(dAtA[:i]) |
| 6381 |
if err != nil { |
| 6382 |
return 0, err |
| 6383 |
} |
| 6384 |
i -= size |
| 6385 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6386 |
} |
| 6387 |
i-- |
| 6388 |
dAtA[i] = 0x52 |
| 6389 |
} |
| 6390 |
if m.Bool != nil { |
| 6391 |
{ |
| 6392 |
size, err := m.Bool.MarshalToSizedBuffer(dAtA[:i]) |
| 6393 |
if err != nil { |
| 6394 |
return 0, err |
| 6395 |
} |
| 6396 |
i -= size |
| 6397 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6398 |
} |
| 6399 |
i-- |
| 6400 |
dAtA[i] = 0x4a |
| 6401 |
} |
| 6402 |
if m.U32 != nil { |
| 6403 |
{ |
| 6404 |
size, err := m.U32.MarshalToSizedBuffer(dAtA[:i]) |
| 6405 |
if err != nil { |
| 6406 |
return 0, err |
| 6407 |
} |
| 6408 |
i -= size |
| 6409 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6410 |
} |
| 6411 |
i-- |
| 6412 |
dAtA[i] = 0x42 |
| 6413 |
} |
| 6414 |
if m.I32 != nil { |
| 6415 |
{ |
| 6416 |
size, err := m.I32.MarshalToSizedBuffer(dAtA[:i]) |
| 6417 |
if err != nil { |
| 6418 |
return 0, err |
| 6419 |
} |
| 6420 |
i -= size |
| 6421 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6422 |
} |
| 6423 |
i-- |
| 6424 |
dAtA[i] = 0x3a |
| 6425 |
} |
| 6426 |
if m.U64 != nil { |
| 6427 |
{ |
| 6428 |
size, err := m.U64.MarshalToSizedBuffer(dAtA[:i]) |
| 6429 |
if err != nil { |
| 6430 |
return 0, err |
| 6431 |
} |
| 6432 |
i -= size |
| 6433 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6434 |
} |
| 6435 |
i-- |
| 6436 |
dAtA[i] = 0x32 |
| 6437 |
} |
| 6438 |
if m.I64 != nil { |
| 6439 |
{ |
| 6440 |
size, err := m.I64.MarshalToSizedBuffer(dAtA[:i]) |
| 6441 |
if err != nil { |
| 6442 |
return 0, err |
| 6443 |
} |
| 6444 |
i -= size |
| 6445 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6446 |
} |
| 6447 |
i-- |
| 6448 |
dAtA[i] = 0x2a |
| 6449 |
} |
| 6450 |
if m.Flt != nil { |
| 6451 |
{ |
| 6452 |
size, err := m.Flt.MarshalToSizedBuffer(dAtA[:i]) |
| 6453 |
if err != nil { |
| 6454 |
return 0, err |
| 6455 |
} |
| 6456 |
i -= size |
| 6457 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6458 |
} |
| 6459 |
i-- |
| 6460 |
dAtA[i] = 0x22 |
| 6461 |
} |
| 6462 |
if m.Dbl != nil { |
| 6463 |
{ |
| 6464 |
size, err := m.Dbl.MarshalToSizedBuffer(dAtA[:i]) |
| 6465 |
if err != nil { |
| 6466 |
return 0, err |
| 6467 |
} |
| 6468 |
i -= size |
| 6469 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6470 |
} |
| 6471 |
i-- |
| 6472 |
dAtA[i] = 0x1a |
| 6473 |
} |
| 6474 |
if m.Ts != nil { |
| 6475 |
{ |
| 6476 |
size, err := m.Ts.MarshalToSizedBuffer(dAtA[:i]) |
| 6477 |
if err != nil { |
| 6478 |
return 0, err |
| 6479 |
} |
| 6480 |
i -= size |
| 6481 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6482 |
} |
| 6483 |
i-- |
| 6484 |
dAtA[i] = 0x12 |
| 6485 |
} |
| 6486 |
if m.Dur != nil { |
| 6487 |
{ |
| 6488 |
size, err := m.Dur.MarshalToSizedBuffer(dAtA[:i]) |
| 6489 |
if err != nil { |
| 6490 |
return 0, err |
| 6491 |
} |
| 6492 |
i -= size |
| 6493 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6494 |
} |
| 6495 |
i-- |
| 6496 |
dAtA[i] = 0xa |
| 6497 |
} |
| 6498 |
return len(dAtA) - i, nil |
| 6499 |
} |
| 6500 |
|
| 6501 |
func (m *ProtoTypes) Marshal() (dAtA []byte, err error) { |
| 6502 |
size := m.Size() |
| 6503 |
dAtA = make([]byte, size) |
| 6504 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 6505 |
if err != nil { |
| 6506 |
return nil, err |
| 6507 |
} |
| 6508 |
return dAtA[:n], nil |
| 6509 |
} |
| 6510 |
|
| 6511 |
func (m *ProtoTypes) MarshalTo(dAtA []byte) (int, error) { |
| 6512 |
size := m.Size() |
| 6513 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 6514 |
} |
| 6515 |
|
| 6516 |
func (m *ProtoTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 6517 |
i := len(dAtA) |
| 6518 |
_ = i |
| 6519 |
var l int |
| 6520 |
_ = l |
| 6521 |
if m.XXX_unrecognized != nil { |
| 6522 |
i -= len(m.XXX_unrecognized) |
| 6523 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 6524 |
} |
| 6525 |
{ |
| 6526 |
size, err := m.NonnullBytes.MarshalToSizedBuffer(dAtA[:i]) |
| 6527 |
if err != nil { |
| 6528 |
return 0, err |
| 6529 |
} |
| 6530 |
i -= size |
| 6531 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6532 |
} |
| 6533 |
i-- |
| 6534 |
dAtA[i] = 0x1 |
| 6535 |
i-- |
| 6536 |
dAtA[i] = 0xb2 |
| 6537 |
{ |
| 6538 |
size, err := m.NonnullString.MarshalToSizedBuffer(dAtA[:i]) |
| 6539 |
if err != nil { |
| 6540 |
return 0, err |
| 6541 |
} |
| 6542 |
i -= size |
| 6543 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6544 |
} |
| 6545 |
i-- |
| 6546 |
dAtA[i] = 0x1 |
| 6547 |
i-- |
| 6548 |
dAtA[i] = 0xaa |
| 6549 |
{ |
| 6550 |
size, err := m.NonnullBool.MarshalToSizedBuffer(dAtA[:i]) |
| 6551 |
if err != nil { |
| 6552 |
return 0, err |
| 6553 |
} |
| 6554 |
i -= size |
| 6555 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6556 |
} |
| 6557 |
i-- |
| 6558 |
dAtA[i] = 0x1 |
| 6559 |
i-- |
| 6560 |
dAtA[i] = 0xa2 |
| 6561 |
{ |
| 6562 |
size, err := m.NonnullUInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 6563 |
if err != nil { |
| 6564 |
return 0, err |
| 6565 |
} |
| 6566 |
i -= size |
| 6567 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6568 |
} |
| 6569 |
i-- |
| 6570 |
dAtA[i] = 0x1 |
| 6571 |
i-- |
| 6572 |
dAtA[i] = 0x9a |
| 6573 |
{ |
| 6574 |
size, err := m.NonnullInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 6575 |
if err != nil { |
| 6576 |
return 0, err |
| 6577 |
} |
| 6578 |
i -= size |
| 6579 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6580 |
} |
| 6581 |
i-- |
| 6582 |
dAtA[i] = 0x1 |
| 6583 |
i-- |
| 6584 |
dAtA[i] = 0x92 |
| 6585 |
{ |
| 6586 |
size, err := m.NonnullUInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 6587 |
if err != nil { |
| 6588 |
return 0, err |
| 6589 |
} |
| 6590 |
i -= size |
| 6591 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6592 |
} |
| 6593 |
i-- |
| 6594 |
dAtA[i] = 0x1 |
| 6595 |
i-- |
| 6596 |
dAtA[i] = 0x8a |
| 6597 |
{ |
| 6598 |
size, err := m.NonnullInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 6599 |
if err != nil { |
| 6600 |
return 0, err |
| 6601 |
} |
| 6602 |
i -= size |
| 6603 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6604 |
} |
| 6605 |
i-- |
| 6606 |
dAtA[i] = 0x1 |
| 6607 |
i-- |
| 6608 |
dAtA[i] = 0x82 |
| 6609 |
{ |
| 6610 |
size, err := m.NonnullFloat.MarshalToSizedBuffer(dAtA[:i]) |
| 6611 |
if err != nil { |
| 6612 |
return 0, err |
| 6613 |
} |
| 6614 |
i -= size |
| 6615 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6616 |
} |
| 6617 |
i-- |
| 6618 |
dAtA[i] = 0x7a |
| 6619 |
{ |
| 6620 |
size, err := m.NonnullDouble.MarshalToSizedBuffer(dAtA[:i]) |
| 6621 |
if err != nil { |
| 6622 |
return 0, err |
| 6623 |
} |
| 6624 |
i -= size |
| 6625 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6626 |
} |
| 6627 |
i-- |
| 6628 |
dAtA[i] = 0x72 |
| 6629 |
{ |
| 6630 |
size, err := m.Duration.MarshalToSizedBuffer(dAtA[:i]) |
| 6631 |
if err != nil { |
| 6632 |
return 0, err |
| 6633 |
} |
| 6634 |
i -= size |
| 6635 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6636 |
} |
| 6637 |
i-- |
| 6638 |
dAtA[i] = 0x6a |
| 6639 |
{ |
| 6640 |
size, err := m.Timestamp.MarshalToSizedBuffer(dAtA[:i]) |
| 6641 |
if err != nil { |
| 6642 |
return 0, err |
| 6643 |
} |
| 6644 |
i -= size |
| 6645 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6646 |
} |
| 6647 |
i-- |
| 6648 |
dAtA[i] = 0x62 |
| 6649 |
if m.NullableBytes != nil { |
| 6650 |
{ |
| 6651 |
size, err := m.NullableBytes.MarshalToSizedBuffer(dAtA[:i]) |
| 6652 |
if err != nil { |
| 6653 |
return 0, err |
| 6654 |
} |
| 6655 |
i -= size |
| 6656 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6657 |
} |
| 6658 |
i-- |
| 6659 |
dAtA[i] = 0x5a |
| 6660 |
} |
| 6661 |
if m.NullableString != nil { |
| 6662 |
{ |
| 6663 |
size, err := m.NullableString.MarshalToSizedBuffer(dAtA[:i]) |
| 6664 |
if err != nil { |
| 6665 |
return 0, err |
| 6666 |
} |
| 6667 |
i -= size |
| 6668 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6669 |
} |
| 6670 |
i-- |
| 6671 |
dAtA[i] = 0x52 |
| 6672 |
} |
| 6673 |
if m.NullableBool != nil { |
| 6674 |
{ |
| 6675 |
size, err := m.NullableBool.MarshalToSizedBuffer(dAtA[:i]) |
| 6676 |
if err != nil { |
| 6677 |
return 0, err |
| 6678 |
} |
| 6679 |
i -= size |
| 6680 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6681 |
} |
| 6682 |
i-- |
| 6683 |
dAtA[i] = 0x4a |
| 6684 |
} |
| 6685 |
if m.NullableUInt32 != nil { |
| 6686 |
{ |
| 6687 |
size, err := m.NullableUInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 6688 |
if err != nil { |
| 6689 |
return 0, err |
| 6690 |
} |
| 6691 |
i -= size |
| 6692 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6693 |
} |
| 6694 |
i-- |
| 6695 |
dAtA[i] = 0x42 |
| 6696 |
} |
| 6697 |
if m.NullableInt32 != nil { |
| 6698 |
{ |
| 6699 |
size, err := m.NullableInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 6700 |
if err != nil { |
| 6701 |
return 0, err |
| 6702 |
} |
| 6703 |
i -= size |
| 6704 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6705 |
} |
| 6706 |
i-- |
| 6707 |
dAtA[i] = 0x3a |
| 6708 |
} |
| 6709 |
if m.NullableUInt64 != nil { |
| 6710 |
{ |
| 6711 |
size, err := m.NullableUInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 6712 |
if err != nil { |
| 6713 |
return 0, err |
| 6714 |
} |
| 6715 |
i -= size |
| 6716 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6717 |
} |
| 6718 |
i-- |
| 6719 |
dAtA[i] = 0x32 |
| 6720 |
} |
| 6721 |
if m.NullableInt64 != nil { |
| 6722 |
{ |
| 6723 |
size, err := m.NullableInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 6724 |
if err != nil { |
| 6725 |
return 0, err |
| 6726 |
} |
| 6727 |
i -= size |
| 6728 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6729 |
} |
| 6730 |
i-- |
| 6731 |
dAtA[i] = 0x2a |
| 6732 |
} |
| 6733 |
if m.NullableFloat != nil { |
| 6734 |
{ |
| 6735 |
size, err := m.NullableFloat.MarshalToSizedBuffer(dAtA[:i]) |
| 6736 |
if err != nil { |
| 6737 |
return 0, err |
| 6738 |
} |
| 6739 |
i -= size |
| 6740 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6741 |
} |
| 6742 |
i-- |
| 6743 |
dAtA[i] = 0x22 |
| 6744 |
} |
| 6745 |
if m.NullableDouble != nil { |
| 6746 |
{ |
| 6747 |
size, err := m.NullableDouble.MarshalToSizedBuffer(dAtA[:i]) |
| 6748 |
if err != nil { |
| 6749 |
return 0, err |
| 6750 |
} |
| 6751 |
i -= size |
| 6752 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6753 |
} |
| 6754 |
i-- |
| 6755 |
dAtA[i] = 0x1a |
| 6756 |
} |
| 6757 |
if m.NullableDuration != nil { |
| 6758 |
{ |
| 6759 |
size, err := m.NullableDuration.MarshalToSizedBuffer(dAtA[:i]) |
| 6760 |
if err != nil { |
| 6761 |
return 0, err |
| 6762 |
} |
| 6763 |
i -= size |
| 6764 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6765 |
} |
| 6766 |
i-- |
| 6767 |
dAtA[i] = 0x12 |
| 6768 |
} |
| 6769 |
if m.NullableTimestamp != nil { |
| 6770 |
{ |
| 6771 |
size, err := m.NullableTimestamp.MarshalToSizedBuffer(dAtA[:i]) |
| 6772 |
if err != nil { |
| 6773 |
return 0, err |
| 6774 |
} |
| 6775 |
i -= size |
| 6776 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 6777 |
} |
| 6778 |
i-- |
| 6779 |
dAtA[i] = 0xa |
| 6780 |
} |
| 6781 |
return len(dAtA) - i, nil |
| 6782 |
} |
| 6783 |
|
| 6784 |
func (m *StdTypes) Marshal() (dAtA []byte, err error) { |
| 6785 |
size := m.Size() |
| 6786 |
dAtA = make([]byte, size) |
| 6787 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 6788 |
if err != nil { |
| 6789 |
return nil, err |
| 6790 |
} |
| 6791 |
return dAtA[:n], nil |
| 6792 |
} |
| 6793 |
|
| 6794 |
func (m *StdTypes) MarshalTo(dAtA []byte) (int, error) { |
| 6795 |
size := m.Size() |
| 6796 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 6797 |
} |
| 6798 |
|
| 6799 |
func (m *StdTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 6800 |
i := len(dAtA) |
| 6801 |
_ = i |
| 6802 |
var l int |
| 6803 |
_ = l |
| 6804 |
if m.XXX_unrecognized != nil { |
| 6805 |
i -= len(m.XXX_unrecognized) |
| 6806 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 6807 |
} |
| 6808 |
n35, err35 := github_com_gogo_protobuf_types.StdBytesMarshalTo(m.NonnullBytes, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes):]) |
| 6809 |
if err35 != nil { |
| 6810 |
return 0, err35 |
| 6811 |
} |
| 6812 |
i -= n35 |
| 6813 |
i = encodeVarintTypes(dAtA, i, uint64(n35)) |
| 6814 |
i-- |
| 6815 |
dAtA[i] = 0x1 |
| 6816 |
i-- |
| 6817 |
dAtA[i] = 0xb2 |
| 6818 |
n36, err36 := github_com_gogo_protobuf_types.StdStringMarshalTo(m.NonnullString, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString):]) |
| 6819 |
if err36 != nil { |
| 6820 |
return 0, err36 |
| 6821 |
} |
| 6822 |
i -= n36 |
| 6823 |
i = encodeVarintTypes(dAtA, i, uint64(n36)) |
| 6824 |
i-- |
| 6825 |
dAtA[i] = 0x1 |
| 6826 |
i-- |
| 6827 |
dAtA[i] = 0xaa |
| 6828 |
n37, err37 := github_com_gogo_protobuf_types.StdBoolMarshalTo(m.NonnullBool, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool):]) |
| 6829 |
if err37 != nil { |
| 6830 |
return 0, err37 |
| 6831 |
} |
| 6832 |
i -= n37 |
| 6833 |
i = encodeVarintTypes(dAtA, i, uint64(n37)) |
| 6834 |
i-- |
| 6835 |
dAtA[i] = 0x1 |
| 6836 |
i-- |
| 6837 |
dAtA[i] = 0xa2 |
| 6838 |
n38, err38 := github_com_gogo_protobuf_types.StdUInt32MarshalTo(m.NonnullUInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32):]) |
| 6839 |
if err38 != nil { |
| 6840 |
return 0, err38 |
| 6841 |
} |
| 6842 |
i -= n38 |
| 6843 |
i = encodeVarintTypes(dAtA, i, uint64(n38)) |
| 6844 |
i-- |
| 6845 |
dAtA[i] = 0x1 |
| 6846 |
i-- |
| 6847 |
dAtA[i] = 0x9a |
| 6848 |
n39, err39 := github_com_gogo_protobuf_types.StdInt32MarshalTo(m.NonnullInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32):]) |
| 6849 |
if err39 != nil { |
| 6850 |
return 0, err39 |
| 6851 |
} |
| 6852 |
i -= n39 |
| 6853 |
i = encodeVarintTypes(dAtA, i, uint64(n39)) |
| 6854 |
i-- |
| 6855 |
dAtA[i] = 0x1 |
| 6856 |
i-- |
| 6857 |
dAtA[i] = 0x92 |
| 6858 |
n40, err40 := github_com_gogo_protobuf_types.StdUInt64MarshalTo(m.NonnullUInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64):]) |
| 6859 |
if err40 != nil { |
| 6860 |
return 0, err40 |
| 6861 |
} |
| 6862 |
i -= n40 |
| 6863 |
i = encodeVarintTypes(dAtA, i, uint64(n40)) |
| 6864 |
i-- |
| 6865 |
dAtA[i] = 0x1 |
| 6866 |
i-- |
| 6867 |
dAtA[i] = 0x8a |
| 6868 |
n41, err41 := github_com_gogo_protobuf_types.StdInt64MarshalTo(m.NonnullInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64):]) |
| 6869 |
if err41 != nil { |
| 6870 |
return 0, err41 |
| 6871 |
} |
| 6872 |
i -= n41 |
| 6873 |
i = encodeVarintTypes(dAtA, i, uint64(n41)) |
| 6874 |
i-- |
| 6875 |
dAtA[i] = 0x1 |
| 6876 |
i-- |
| 6877 |
dAtA[i] = 0x82 |
| 6878 |
n42, err42 := github_com_gogo_protobuf_types.StdFloatMarshalTo(m.NonnullFloat, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat):]) |
| 6879 |
if err42 != nil { |
| 6880 |
return 0, err42 |
| 6881 |
} |
| 6882 |
i -= n42 |
| 6883 |
i = encodeVarintTypes(dAtA, i, uint64(n42)) |
| 6884 |
i-- |
| 6885 |
dAtA[i] = 0x7a |
| 6886 |
n43, err43 := github_com_gogo_protobuf_types.StdDoubleMarshalTo(m.NonnullDouble, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble):]) |
| 6887 |
if err43 != nil { |
| 6888 |
return 0, err43 |
| 6889 |
} |
| 6890 |
i -= n43 |
| 6891 |
i = encodeVarintTypes(dAtA, i, uint64(n43)) |
| 6892 |
i-- |
| 6893 |
dAtA[i] = 0x72 |
| 6894 |
n44, err44 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Duration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Duration):]) |
| 6895 |
if err44 != nil { |
| 6896 |
return 0, err44 |
| 6897 |
} |
| 6898 |
i -= n44 |
| 6899 |
i = encodeVarintTypes(dAtA, i, uint64(n44)) |
| 6900 |
i-- |
| 6901 |
dAtA[i] = 0x6a |
| 6902 |
n45, err45 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp):]) |
| 6903 |
if err45 != nil { |
| 6904 |
return 0, err45 |
| 6905 |
} |
| 6906 |
i -= n45 |
| 6907 |
i = encodeVarintTypes(dAtA, i, uint64(n45)) |
| 6908 |
i-- |
| 6909 |
dAtA[i] = 0x62 |
| 6910 |
if m.NullableBytes != nil { |
| 6911 |
n46, err46 := github_com_gogo_protobuf_types.StdBytesMarshalTo(*m.NullableBytes, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes):]) |
| 6912 |
if err46 != nil { |
| 6913 |
return 0, err46 |
| 6914 |
} |
| 6915 |
i -= n46 |
| 6916 |
i = encodeVarintTypes(dAtA, i, uint64(n46)) |
| 6917 |
i-- |
| 6918 |
dAtA[i] = 0x5a |
| 6919 |
} |
| 6920 |
if m.NullableString != nil { |
| 6921 |
n47, err47 := github_com_gogo_protobuf_types.StdStringMarshalTo(*m.NullableString, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString):]) |
| 6922 |
if err47 != nil { |
| 6923 |
return 0, err47 |
| 6924 |
} |
| 6925 |
i -= n47 |
| 6926 |
i = encodeVarintTypes(dAtA, i, uint64(n47)) |
| 6927 |
i-- |
| 6928 |
dAtA[i] = 0x52 |
| 6929 |
} |
| 6930 |
if m.NullableBool != nil { |
| 6931 |
n48, err48 := github_com_gogo_protobuf_types.StdBoolMarshalTo(*m.NullableBool, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool):]) |
| 6932 |
if err48 != nil { |
| 6933 |
return 0, err48 |
| 6934 |
} |
| 6935 |
i -= n48 |
| 6936 |
i = encodeVarintTypes(dAtA, i, uint64(n48)) |
| 6937 |
i-- |
| 6938 |
dAtA[i] = 0x4a |
| 6939 |
} |
| 6940 |
if m.NullableUInt32 != nil { |
| 6941 |
n49, err49 := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*m.NullableUInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32):]) |
| 6942 |
if err49 != nil { |
| 6943 |
return 0, err49 |
| 6944 |
} |
| 6945 |
i -= n49 |
| 6946 |
i = encodeVarintTypes(dAtA, i, uint64(n49)) |
| 6947 |
i-- |
| 6948 |
dAtA[i] = 0x42 |
| 6949 |
} |
| 6950 |
if m.NullableInt32 != nil { |
| 6951 |
n50, err50 := github_com_gogo_protobuf_types.StdInt32MarshalTo(*m.NullableInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32):]) |
| 6952 |
if err50 != nil { |
| 6953 |
return 0, err50 |
| 6954 |
} |
| 6955 |
i -= n50 |
| 6956 |
i = encodeVarintTypes(dAtA, i, uint64(n50)) |
| 6957 |
i-- |
| 6958 |
dAtA[i] = 0x3a |
| 6959 |
} |
| 6960 |
if m.NullableUInt64 != nil { |
| 6961 |
n51, err51 := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*m.NullableUInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64):]) |
| 6962 |
if err51 != nil { |
| 6963 |
return 0, err51 |
| 6964 |
} |
| 6965 |
i -= n51 |
| 6966 |
i = encodeVarintTypes(dAtA, i, uint64(n51)) |
| 6967 |
i-- |
| 6968 |
dAtA[i] = 0x32 |
| 6969 |
} |
| 6970 |
if m.NullableInt64 != nil { |
| 6971 |
n52, err52 := github_com_gogo_protobuf_types.StdInt64MarshalTo(*m.NullableInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64):]) |
| 6972 |
if err52 != nil { |
| 6973 |
return 0, err52 |
| 6974 |
} |
| 6975 |
i -= n52 |
| 6976 |
i = encodeVarintTypes(dAtA, i, uint64(n52)) |
| 6977 |
i-- |
| 6978 |
dAtA[i] = 0x2a |
| 6979 |
} |
| 6980 |
if m.NullableFloat != nil { |
| 6981 |
n53, err53 := github_com_gogo_protobuf_types.StdFloatMarshalTo(*m.NullableFloat, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat):]) |
| 6982 |
if err53 != nil { |
| 6983 |
return 0, err53 |
| 6984 |
} |
| 6985 |
i -= n53 |
| 6986 |
i = encodeVarintTypes(dAtA, i, uint64(n53)) |
| 6987 |
i-- |
| 6988 |
dAtA[i] = 0x22 |
| 6989 |
} |
| 6990 |
if m.NullableDouble != nil { |
| 6991 |
n54, err54 := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*m.NullableDouble, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble):]) |
| 6992 |
if err54 != nil { |
| 6993 |
return 0, err54 |
| 6994 |
} |
| 6995 |
i -= n54 |
| 6996 |
i = encodeVarintTypes(dAtA, i, uint64(n54)) |
| 6997 |
i-- |
| 6998 |
dAtA[i] = 0x1a |
| 6999 |
} |
| 7000 |
if m.NullableDuration != nil { |
| 7001 |
n55, err55 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.NullableDuration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDuration):]) |
| 7002 |
if err55 != nil { |
| 7003 |
return 0, err55 |
| 7004 |
} |
| 7005 |
i -= n55 |
| 7006 |
i = encodeVarintTypes(dAtA, i, uint64(n55)) |
| 7007 |
i-- |
| 7008 |
dAtA[i] = 0x12 |
| 7009 |
} |
| 7010 |
if m.NullableTimestamp != nil { |
| 7011 |
n56, err56 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.NullableTimestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamp):]) |
| 7012 |
if err56 != nil { |
| 7013 |
return 0, err56 |
| 7014 |
} |
| 7015 |
i -= n56 |
| 7016 |
i = encodeVarintTypes(dAtA, i, uint64(n56)) |
| 7017 |
i-- |
| 7018 |
dAtA[i] = 0xa |
| 7019 |
} |
| 7020 |
return len(dAtA) - i, nil |
| 7021 |
} |
| 7022 |
|
| 7023 |
func (m *RepProtoTypes) Marshal() (dAtA []byte, err error) { |
| 7024 |
size := m.Size() |
| 7025 |
dAtA = make([]byte, size) |
| 7026 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 7027 |
if err != nil { |
| 7028 |
return nil, err |
| 7029 |
} |
| 7030 |
return dAtA[:n], nil |
| 7031 |
} |
| 7032 |
|
| 7033 |
func (m *RepProtoTypes) MarshalTo(dAtA []byte) (int, error) { |
| 7034 |
size := m.Size() |
| 7035 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 7036 |
} |
| 7037 |
|
| 7038 |
func (m *RepProtoTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 7039 |
i := len(dAtA) |
| 7040 |
_ = i |
| 7041 |
var l int |
| 7042 |
_ = l |
| 7043 |
if m.XXX_unrecognized != nil { |
| 7044 |
i -= len(m.XXX_unrecognized) |
| 7045 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 7046 |
} |
| 7047 |
if len(m.NonnullBytes) > 0 { |
| 7048 |
for iNdEx := len(m.NonnullBytes) - 1; iNdEx >= 0; iNdEx-- { |
| 7049 |
{ |
| 7050 |
size, err := m.NonnullBytes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7051 |
if err != nil { |
| 7052 |
return 0, err |
| 7053 |
} |
| 7054 |
i -= size |
| 7055 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7056 |
} |
| 7057 |
i-- |
| 7058 |
dAtA[i] = 0x1 |
| 7059 |
i-- |
| 7060 |
dAtA[i] = 0xb2 |
| 7061 |
} |
| 7062 |
} |
| 7063 |
if len(m.NullableBytes) > 0 { |
| 7064 |
for iNdEx := len(m.NullableBytes) - 1; iNdEx >= 0; iNdEx-- { |
| 7065 |
{ |
| 7066 |
size, err := m.NullableBytes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7067 |
if err != nil { |
| 7068 |
return 0, err |
| 7069 |
} |
| 7070 |
i -= size |
| 7071 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7072 |
} |
| 7073 |
i-- |
| 7074 |
dAtA[i] = 0x1 |
| 7075 |
i-- |
| 7076 |
dAtA[i] = 0xaa |
| 7077 |
} |
| 7078 |
} |
| 7079 |
if len(m.NonnullString) > 0 { |
| 7080 |
for iNdEx := len(m.NonnullString) - 1; iNdEx >= 0; iNdEx-- { |
| 7081 |
{ |
| 7082 |
size, err := m.NonnullString[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7083 |
if err != nil { |
| 7084 |
return 0, err |
| 7085 |
} |
| 7086 |
i -= size |
| 7087 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7088 |
} |
| 7089 |
i-- |
| 7090 |
dAtA[i] = 0x1 |
| 7091 |
i-- |
| 7092 |
dAtA[i] = 0xa2 |
| 7093 |
} |
| 7094 |
} |
| 7095 |
if len(m.NullableString) > 0 { |
| 7096 |
for iNdEx := len(m.NullableString) - 1; iNdEx >= 0; iNdEx-- { |
| 7097 |
{ |
| 7098 |
size, err := m.NullableString[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7099 |
if err != nil { |
| 7100 |
return 0, err |
| 7101 |
} |
| 7102 |
i -= size |
| 7103 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7104 |
} |
| 7105 |
i-- |
| 7106 |
dAtA[i] = 0x1 |
| 7107 |
i-- |
| 7108 |
dAtA[i] = 0x9a |
| 7109 |
} |
| 7110 |
} |
| 7111 |
if len(m.NonnullBool) > 0 { |
| 7112 |
for iNdEx := len(m.NonnullBool) - 1; iNdEx >= 0; iNdEx-- { |
| 7113 |
{ |
| 7114 |
size, err := m.NonnullBool[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7115 |
if err != nil { |
| 7116 |
return 0, err |
| 7117 |
} |
| 7118 |
i -= size |
| 7119 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7120 |
} |
| 7121 |
i-- |
| 7122 |
dAtA[i] = 0x1 |
| 7123 |
i-- |
| 7124 |
dAtA[i] = 0x92 |
| 7125 |
} |
| 7126 |
} |
| 7127 |
if len(m.NullableBool) > 0 { |
| 7128 |
for iNdEx := len(m.NullableBool) - 1; iNdEx >= 0; iNdEx-- { |
| 7129 |
{ |
| 7130 |
size, err := m.NullableBool[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7131 |
if err != nil { |
| 7132 |
return 0, err |
| 7133 |
} |
| 7134 |
i -= size |
| 7135 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7136 |
} |
| 7137 |
i-- |
| 7138 |
dAtA[i] = 0x1 |
| 7139 |
i-- |
| 7140 |
dAtA[i] = 0x8a |
| 7141 |
} |
| 7142 |
} |
| 7143 |
if len(m.NonnullUInt32) > 0 { |
| 7144 |
for iNdEx := len(m.NonnullUInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7145 |
{ |
| 7146 |
size, err := m.NonnullUInt32[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7147 |
if err != nil { |
| 7148 |
return 0, err |
| 7149 |
} |
| 7150 |
i -= size |
| 7151 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7152 |
} |
| 7153 |
i-- |
| 7154 |
dAtA[i] = 0x1 |
| 7155 |
i-- |
| 7156 |
dAtA[i] = 0x82 |
| 7157 |
} |
| 7158 |
} |
| 7159 |
if len(m.NullableUInt32) > 0 { |
| 7160 |
for iNdEx := len(m.NullableUInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7161 |
{ |
| 7162 |
size, err := m.NullableUInt32[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7163 |
if err != nil { |
| 7164 |
return 0, err |
| 7165 |
} |
| 7166 |
i -= size |
| 7167 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7168 |
} |
| 7169 |
i-- |
| 7170 |
dAtA[i] = 0x7a |
| 7171 |
} |
| 7172 |
} |
| 7173 |
if len(m.NonnullInt32) > 0 { |
| 7174 |
for iNdEx := len(m.NonnullInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7175 |
{ |
| 7176 |
size, err := m.NonnullInt32[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7177 |
if err != nil { |
| 7178 |
return 0, err |
| 7179 |
} |
| 7180 |
i -= size |
| 7181 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7182 |
} |
| 7183 |
i-- |
| 7184 |
dAtA[i] = 0x72 |
| 7185 |
} |
| 7186 |
} |
| 7187 |
if len(m.NullableInt32) > 0 { |
| 7188 |
for iNdEx := len(m.NullableInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7189 |
{ |
| 7190 |
size, err := m.NullableInt32[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7191 |
if err != nil { |
| 7192 |
return 0, err |
| 7193 |
} |
| 7194 |
i -= size |
| 7195 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7196 |
} |
| 7197 |
i-- |
| 7198 |
dAtA[i] = 0x6a |
| 7199 |
} |
| 7200 |
} |
| 7201 |
if len(m.NonnullUInt64) > 0 { |
| 7202 |
for iNdEx := len(m.NonnullUInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7203 |
{ |
| 7204 |
size, err := m.NonnullUInt64[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7205 |
if err != nil { |
| 7206 |
return 0, err |
| 7207 |
} |
| 7208 |
i -= size |
| 7209 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7210 |
} |
| 7211 |
i-- |
| 7212 |
dAtA[i] = 0x62 |
| 7213 |
} |
| 7214 |
} |
| 7215 |
if len(m.NullableUInt64) > 0 { |
| 7216 |
for iNdEx := len(m.NullableUInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7217 |
{ |
| 7218 |
size, err := m.NullableUInt64[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7219 |
if err != nil { |
| 7220 |
return 0, err |
| 7221 |
} |
| 7222 |
i -= size |
| 7223 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7224 |
} |
| 7225 |
i-- |
| 7226 |
dAtA[i] = 0x5a |
| 7227 |
} |
| 7228 |
} |
| 7229 |
if len(m.NonnullInt64) > 0 { |
| 7230 |
for iNdEx := len(m.NonnullInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7231 |
{ |
| 7232 |
size, err := m.NonnullInt64[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7233 |
if err != nil { |
| 7234 |
return 0, err |
| 7235 |
} |
| 7236 |
i -= size |
| 7237 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7238 |
} |
| 7239 |
i-- |
| 7240 |
dAtA[i] = 0x52 |
| 7241 |
} |
| 7242 |
} |
| 7243 |
if len(m.NullableInt64) > 0 { |
| 7244 |
for iNdEx := len(m.NullableInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7245 |
{ |
| 7246 |
size, err := m.NullableInt64[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7247 |
if err != nil { |
| 7248 |
return 0, err |
| 7249 |
} |
| 7250 |
i -= size |
| 7251 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7252 |
} |
| 7253 |
i-- |
| 7254 |
dAtA[i] = 0x4a |
| 7255 |
} |
| 7256 |
} |
| 7257 |
if len(m.NonnullFloat) > 0 { |
| 7258 |
for iNdEx := len(m.NonnullFloat) - 1; iNdEx >= 0; iNdEx-- { |
| 7259 |
{ |
| 7260 |
size, err := m.NonnullFloat[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7261 |
if err != nil { |
| 7262 |
return 0, err |
| 7263 |
} |
| 7264 |
i -= size |
| 7265 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7266 |
} |
| 7267 |
i-- |
| 7268 |
dAtA[i] = 0x42 |
| 7269 |
} |
| 7270 |
} |
| 7271 |
if len(m.NullableFloat) > 0 { |
| 7272 |
for iNdEx := len(m.NullableFloat) - 1; iNdEx >= 0; iNdEx-- { |
| 7273 |
{ |
| 7274 |
size, err := m.NullableFloat[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7275 |
if err != nil { |
| 7276 |
return 0, err |
| 7277 |
} |
| 7278 |
i -= size |
| 7279 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7280 |
} |
| 7281 |
i-- |
| 7282 |
dAtA[i] = 0x3a |
| 7283 |
} |
| 7284 |
} |
| 7285 |
if len(m.NonnullDouble) > 0 { |
| 7286 |
for iNdEx := len(m.NonnullDouble) - 1; iNdEx >= 0; iNdEx-- { |
| 7287 |
{ |
| 7288 |
size, err := m.NonnullDouble[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7289 |
if err != nil { |
| 7290 |
return 0, err |
| 7291 |
} |
| 7292 |
i -= size |
| 7293 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7294 |
} |
| 7295 |
i-- |
| 7296 |
dAtA[i] = 0x32 |
| 7297 |
} |
| 7298 |
} |
| 7299 |
if len(m.NullableDouble) > 0 { |
| 7300 |
for iNdEx := len(m.NullableDouble) - 1; iNdEx >= 0; iNdEx-- { |
| 7301 |
{ |
| 7302 |
size, err := m.NullableDouble[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7303 |
if err != nil { |
| 7304 |
return 0, err |
| 7305 |
} |
| 7306 |
i -= size |
| 7307 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7308 |
} |
| 7309 |
i-- |
| 7310 |
dAtA[i] = 0x2a |
| 7311 |
} |
| 7312 |
} |
| 7313 |
if len(m.Durations) > 0 { |
| 7314 |
for iNdEx := len(m.Durations) - 1; iNdEx >= 0; iNdEx-- { |
| 7315 |
{ |
| 7316 |
size, err := m.Durations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7317 |
if err != nil { |
| 7318 |
return 0, err |
| 7319 |
} |
| 7320 |
i -= size |
| 7321 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7322 |
} |
| 7323 |
i-- |
| 7324 |
dAtA[i] = 0x22 |
| 7325 |
} |
| 7326 |
} |
| 7327 |
if len(m.Timestamps) > 0 { |
| 7328 |
for iNdEx := len(m.Timestamps) - 1; iNdEx >= 0; iNdEx-- { |
| 7329 |
{ |
| 7330 |
size, err := m.Timestamps[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7331 |
if err != nil { |
| 7332 |
return 0, err |
| 7333 |
} |
| 7334 |
i -= size |
| 7335 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7336 |
} |
| 7337 |
i-- |
| 7338 |
dAtA[i] = 0x1a |
| 7339 |
} |
| 7340 |
} |
| 7341 |
if len(m.NullableDurations) > 0 { |
| 7342 |
for iNdEx := len(m.NullableDurations) - 1; iNdEx >= 0; iNdEx-- { |
| 7343 |
{ |
| 7344 |
size, err := m.NullableDurations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7345 |
if err != nil { |
| 7346 |
return 0, err |
| 7347 |
} |
| 7348 |
i -= size |
| 7349 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7350 |
} |
| 7351 |
i-- |
| 7352 |
dAtA[i] = 0x12 |
| 7353 |
} |
| 7354 |
} |
| 7355 |
if len(m.NullableTimestamps) > 0 { |
| 7356 |
for iNdEx := len(m.NullableTimestamps) - 1; iNdEx >= 0; iNdEx-- { |
| 7357 |
{ |
| 7358 |
size, err := m.NullableTimestamps[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 7359 |
if err != nil { |
| 7360 |
return 0, err |
| 7361 |
} |
| 7362 |
i -= size |
| 7363 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7364 |
} |
| 7365 |
i-- |
| 7366 |
dAtA[i] = 0xa |
| 7367 |
} |
| 7368 |
} |
| 7369 |
return len(dAtA) - i, nil |
| 7370 |
} |
| 7371 |
|
| 7372 |
func (m *RepStdTypes) Marshal() (dAtA []byte, err error) { |
| 7373 |
size := m.Size() |
| 7374 |
dAtA = make([]byte, size) |
| 7375 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 7376 |
if err != nil { |
| 7377 |
return nil, err |
| 7378 |
} |
| 7379 |
return dAtA[:n], nil |
| 7380 |
} |
| 7381 |
|
| 7382 |
func (m *RepStdTypes) MarshalTo(dAtA []byte) (int, error) { |
| 7383 |
size := m.Size() |
| 7384 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 7385 |
} |
| 7386 |
|
| 7387 |
func (m *RepStdTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 7388 |
i := len(dAtA) |
| 7389 |
_ = i |
| 7390 |
var l int |
| 7391 |
_ = l |
| 7392 |
if m.XXX_unrecognized != nil { |
| 7393 |
i -= len(m.XXX_unrecognized) |
| 7394 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 7395 |
} |
| 7396 |
if len(m.NonnullBytes) > 0 { |
| 7397 |
for iNdEx := len(m.NonnullBytes) - 1; iNdEx >= 0; iNdEx-- { |
| 7398 |
n, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(m.NonnullBytes[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes[iNdEx]):]) |
| 7399 |
if err != nil { |
| 7400 |
return 0, err |
| 7401 |
} |
| 7402 |
i -= n |
| 7403 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7404 |
i-- |
| 7405 |
dAtA[i] = 0x1 |
| 7406 |
i-- |
| 7407 |
dAtA[i] = 0xb2 |
| 7408 |
} |
| 7409 |
} |
| 7410 |
if len(m.NullableBytes) > 0 { |
| 7411 |
for iNdEx := len(m.NullableBytes) - 1; iNdEx >= 0; iNdEx-- { |
| 7412 |
n, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(*m.NullableBytes[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes[iNdEx]):]) |
| 7413 |
if err != nil { |
| 7414 |
return 0, err |
| 7415 |
} |
| 7416 |
i -= n |
| 7417 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7418 |
i-- |
| 7419 |
dAtA[i] = 0x1 |
| 7420 |
i-- |
| 7421 |
dAtA[i] = 0xaa |
| 7422 |
} |
| 7423 |
} |
| 7424 |
if len(m.NonnullString) > 0 { |
| 7425 |
for iNdEx := len(m.NonnullString) - 1; iNdEx >= 0; iNdEx-- { |
| 7426 |
n, err := github_com_gogo_protobuf_types.StdStringMarshalTo(m.NonnullString[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString[iNdEx]):]) |
| 7427 |
if err != nil { |
| 7428 |
return 0, err |
| 7429 |
} |
| 7430 |
i -= n |
| 7431 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7432 |
i-- |
| 7433 |
dAtA[i] = 0x1 |
| 7434 |
i-- |
| 7435 |
dAtA[i] = 0xa2 |
| 7436 |
} |
| 7437 |
} |
| 7438 |
if len(m.NullableString) > 0 { |
| 7439 |
for iNdEx := len(m.NullableString) - 1; iNdEx >= 0; iNdEx-- { |
| 7440 |
n, err := github_com_gogo_protobuf_types.StdStringMarshalTo(*m.NullableString[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString[iNdEx]):]) |
| 7441 |
if err != nil { |
| 7442 |
return 0, err |
| 7443 |
} |
| 7444 |
i -= n |
| 7445 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7446 |
i-- |
| 7447 |
dAtA[i] = 0x1 |
| 7448 |
i-- |
| 7449 |
dAtA[i] = 0x9a |
| 7450 |
} |
| 7451 |
} |
| 7452 |
if len(m.NonnullBool) > 0 { |
| 7453 |
for iNdEx := len(m.NonnullBool) - 1; iNdEx >= 0; iNdEx-- { |
| 7454 |
n, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(m.NonnullBool[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool[iNdEx]):]) |
| 7455 |
if err != nil { |
| 7456 |
return 0, err |
| 7457 |
} |
| 7458 |
i -= n |
| 7459 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7460 |
i-- |
| 7461 |
dAtA[i] = 0x1 |
| 7462 |
i-- |
| 7463 |
dAtA[i] = 0x92 |
| 7464 |
} |
| 7465 |
} |
| 7466 |
if len(m.NullableBool) > 0 { |
| 7467 |
for iNdEx := len(m.NullableBool) - 1; iNdEx >= 0; iNdEx-- { |
| 7468 |
n, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(*m.NullableBool[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool[iNdEx]):]) |
| 7469 |
if err != nil { |
| 7470 |
return 0, err |
| 7471 |
} |
| 7472 |
i -= n |
| 7473 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7474 |
i-- |
| 7475 |
dAtA[i] = 0x1 |
| 7476 |
i-- |
| 7477 |
dAtA[i] = 0x8a |
| 7478 |
} |
| 7479 |
} |
| 7480 |
if len(m.NonnullUInt32) > 0 { |
| 7481 |
for iNdEx := len(m.NonnullUInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7482 |
n, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(m.NonnullUInt32[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32[iNdEx]):]) |
| 7483 |
if err != nil { |
| 7484 |
return 0, err |
| 7485 |
} |
| 7486 |
i -= n |
| 7487 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7488 |
i-- |
| 7489 |
dAtA[i] = 0x1 |
| 7490 |
i-- |
| 7491 |
dAtA[i] = 0x82 |
| 7492 |
} |
| 7493 |
} |
| 7494 |
if len(m.NullableUInt32) > 0 { |
| 7495 |
for iNdEx := len(m.NullableUInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7496 |
n, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*m.NullableUInt32[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32[iNdEx]):]) |
| 7497 |
if err != nil { |
| 7498 |
return 0, err |
| 7499 |
} |
| 7500 |
i -= n |
| 7501 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7502 |
i-- |
| 7503 |
dAtA[i] = 0x7a |
| 7504 |
} |
| 7505 |
} |
| 7506 |
if len(m.NonnullInt32) > 0 { |
| 7507 |
for iNdEx := len(m.NonnullInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7508 |
n, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(m.NonnullInt32[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32[iNdEx]):]) |
| 7509 |
if err != nil { |
| 7510 |
return 0, err |
| 7511 |
} |
| 7512 |
i -= n |
| 7513 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7514 |
i-- |
| 7515 |
dAtA[i] = 0x72 |
| 7516 |
} |
| 7517 |
} |
| 7518 |
if len(m.NullableInt32) > 0 { |
| 7519 |
for iNdEx := len(m.NullableInt32) - 1; iNdEx >= 0; iNdEx-- { |
| 7520 |
n, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(*m.NullableInt32[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32[iNdEx]):]) |
| 7521 |
if err != nil { |
| 7522 |
return 0, err |
| 7523 |
} |
| 7524 |
i -= n |
| 7525 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7526 |
i-- |
| 7527 |
dAtA[i] = 0x6a |
| 7528 |
} |
| 7529 |
} |
| 7530 |
if len(m.NonnullUInt64) > 0 { |
| 7531 |
for iNdEx := len(m.NonnullUInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7532 |
n, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(m.NonnullUInt64[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64[iNdEx]):]) |
| 7533 |
if err != nil { |
| 7534 |
return 0, err |
| 7535 |
} |
| 7536 |
i -= n |
| 7537 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7538 |
i-- |
| 7539 |
dAtA[i] = 0x62 |
| 7540 |
} |
| 7541 |
} |
| 7542 |
if len(m.NullableUInt64) > 0 { |
| 7543 |
for iNdEx := len(m.NullableUInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7544 |
n, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*m.NullableUInt64[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64[iNdEx]):]) |
| 7545 |
if err != nil { |
| 7546 |
return 0, err |
| 7547 |
} |
| 7548 |
i -= n |
| 7549 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7550 |
i-- |
| 7551 |
dAtA[i] = 0x5a |
| 7552 |
} |
| 7553 |
} |
| 7554 |
if len(m.NonnullInt64) > 0 { |
| 7555 |
for iNdEx := len(m.NonnullInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7556 |
n, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(m.NonnullInt64[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64[iNdEx]):]) |
| 7557 |
if err != nil { |
| 7558 |
return 0, err |
| 7559 |
} |
| 7560 |
i -= n |
| 7561 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7562 |
i-- |
| 7563 |
dAtA[i] = 0x52 |
| 7564 |
} |
| 7565 |
} |
| 7566 |
if len(m.NullableInt64) > 0 { |
| 7567 |
for iNdEx := len(m.NullableInt64) - 1; iNdEx >= 0; iNdEx-- { |
| 7568 |
n, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(*m.NullableInt64[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64[iNdEx]):]) |
| 7569 |
if err != nil { |
| 7570 |
return 0, err |
| 7571 |
} |
| 7572 |
i -= n |
| 7573 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7574 |
i-- |
| 7575 |
dAtA[i] = 0x4a |
| 7576 |
} |
| 7577 |
} |
| 7578 |
if len(m.NonnullFloat) > 0 { |
| 7579 |
for iNdEx := len(m.NonnullFloat) - 1; iNdEx >= 0; iNdEx-- { |
| 7580 |
n, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(m.NonnullFloat[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat[iNdEx]):]) |
| 7581 |
if err != nil { |
| 7582 |
return 0, err |
| 7583 |
} |
| 7584 |
i -= n |
| 7585 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7586 |
i-- |
| 7587 |
dAtA[i] = 0x42 |
| 7588 |
} |
| 7589 |
} |
| 7590 |
if len(m.NullableFloat) > 0 { |
| 7591 |
for iNdEx := len(m.NullableFloat) - 1; iNdEx >= 0; iNdEx-- { |
| 7592 |
n, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(*m.NullableFloat[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat[iNdEx]):]) |
| 7593 |
if err != nil { |
| 7594 |
return 0, err |
| 7595 |
} |
| 7596 |
i -= n |
| 7597 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7598 |
i-- |
| 7599 |
dAtA[i] = 0x3a |
| 7600 |
} |
| 7601 |
} |
| 7602 |
if len(m.NonnullDouble) > 0 { |
| 7603 |
for iNdEx := len(m.NonnullDouble) - 1; iNdEx >= 0; iNdEx-- { |
| 7604 |
n, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(m.NonnullDouble[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble[iNdEx]):]) |
| 7605 |
if err != nil { |
| 7606 |
return 0, err |
| 7607 |
} |
| 7608 |
i -= n |
| 7609 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7610 |
i-- |
| 7611 |
dAtA[i] = 0x32 |
| 7612 |
} |
| 7613 |
} |
| 7614 |
if len(m.NullableDouble) > 0 { |
| 7615 |
for iNdEx := len(m.NullableDouble) - 1; iNdEx >= 0; iNdEx-- { |
| 7616 |
n, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*m.NullableDouble[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble[iNdEx]):]) |
| 7617 |
if err != nil { |
| 7618 |
return 0, err |
| 7619 |
} |
| 7620 |
i -= n |
| 7621 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7622 |
i-- |
| 7623 |
dAtA[i] = 0x2a |
| 7624 |
} |
| 7625 |
} |
| 7626 |
if len(m.Durations) > 0 { |
| 7627 |
for iNdEx := len(m.Durations) - 1; iNdEx >= 0; iNdEx-- { |
| 7628 |
n, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Durations[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Durations[iNdEx]):]) |
| 7629 |
if err != nil { |
| 7630 |
return 0, err |
| 7631 |
} |
| 7632 |
i -= n |
| 7633 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7634 |
i-- |
| 7635 |
dAtA[i] = 0x22 |
| 7636 |
} |
| 7637 |
} |
| 7638 |
if len(m.Timestamps) > 0 { |
| 7639 |
for iNdEx := len(m.Timestamps) - 1; iNdEx >= 0; iNdEx-- { |
| 7640 |
n, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamps[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamps[iNdEx]):]) |
| 7641 |
if err != nil { |
| 7642 |
return 0, err |
| 7643 |
} |
| 7644 |
i -= n |
| 7645 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7646 |
i-- |
| 7647 |
dAtA[i] = 0x1a |
| 7648 |
} |
| 7649 |
} |
| 7650 |
if len(m.NullableDurations) > 0 { |
| 7651 |
for iNdEx := len(m.NullableDurations) - 1; iNdEx >= 0; iNdEx-- { |
| 7652 |
n, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.NullableDurations[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDurations[iNdEx]):]) |
| 7653 |
if err != nil { |
| 7654 |
return 0, err |
| 7655 |
} |
| 7656 |
i -= n |
| 7657 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7658 |
i-- |
| 7659 |
dAtA[i] = 0x12 |
| 7660 |
} |
| 7661 |
} |
| 7662 |
if len(m.NullableTimestamps) > 0 { |
| 7663 |
for iNdEx := len(m.NullableTimestamps) - 1; iNdEx >= 0; iNdEx-- { |
| 7664 |
n, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.NullableTimestamps[iNdEx], dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamps[iNdEx]):]) |
| 7665 |
if err != nil { |
| 7666 |
return 0, err |
| 7667 |
} |
| 7668 |
i -= n |
| 7669 |
i = encodeVarintTypes(dAtA, i, uint64(n)) |
| 7670 |
i-- |
| 7671 |
dAtA[i] = 0xa |
| 7672 |
} |
| 7673 |
} |
| 7674 |
return len(dAtA) - i, nil |
| 7675 |
} |
| 7676 |
|
| 7677 |
func (m *MapProtoTypes) Marshal() (dAtA []byte, err error) { |
| 7678 |
size := m.Size() |
| 7679 |
dAtA = make([]byte, size) |
| 7680 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 7681 |
if err != nil { |
| 7682 |
return nil, err |
| 7683 |
} |
| 7684 |
return dAtA[:n], nil |
| 7685 |
} |
| 7686 |
|
| 7687 |
func (m *MapProtoTypes) MarshalTo(dAtA []byte) (int, error) { |
| 7688 |
size := m.Size() |
| 7689 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 7690 |
} |
| 7691 |
|
| 7692 |
func (m *MapProtoTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 7693 |
i := len(dAtA) |
| 7694 |
_ = i |
| 7695 |
var l int |
| 7696 |
_ = l |
| 7697 |
if m.XXX_unrecognized != nil { |
| 7698 |
i -= len(m.XXX_unrecognized) |
| 7699 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 7700 |
} |
| 7701 |
if len(m.NonnullBytes) > 0 { |
| 7702 |
for k := range m.NonnullBytes { |
| 7703 |
v := m.NonnullBytes[k] |
| 7704 |
baseI := i |
| 7705 |
{ |
| 7706 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7707 |
if err != nil { |
| 7708 |
return 0, err |
| 7709 |
} |
| 7710 |
i -= size |
| 7711 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7712 |
} |
| 7713 |
i-- |
| 7714 |
dAtA[i] = 0x12 |
| 7715 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7716 |
i-- |
| 7717 |
dAtA[i] = 0x8 |
| 7718 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7719 |
i-- |
| 7720 |
dAtA[i] = 0x1 |
| 7721 |
i-- |
| 7722 |
dAtA[i] = 0xb2 |
| 7723 |
} |
| 7724 |
} |
| 7725 |
if len(m.NullableBytes) > 0 { |
| 7726 |
for k := range m.NullableBytes { |
| 7727 |
v := m.NullableBytes[k] |
| 7728 |
baseI := i |
| 7729 |
if v != nil { |
| 7730 |
{ |
| 7731 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7732 |
if err != nil { |
| 7733 |
return 0, err |
| 7734 |
} |
| 7735 |
i -= size |
| 7736 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7737 |
} |
| 7738 |
i-- |
| 7739 |
dAtA[i] = 0x12 |
| 7740 |
} |
| 7741 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7742 |
i-- |
| 7743 |
dAtA[i] = 0x8 |
| 7744 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7745 |
i-- |
| 7746 |
dAtA[i] = 0x1 |
| 7747 |
i-- |
| 7748 |
dAtA[i] = 0xaa |
| 7749 |
} |
| 7750 |
} |
| 7751 |
if len(m.NonnullString) > 0 { |
| 7752 |
for k := range m.NonnullString { |
| 7753 |
v := m.NonnullString[k] |
| 7754 |
baseI := i |
| 7755 |
{ |
| 7756 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7757 |
if err != nil { |
| 7758 |
return 0, err |
| 7759 |
} |
| 7760 |
i -= size |
| 7761 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7762 |
} |
| 7763 |
i-- |
| 7764 |
dAtA[i] = 0x12 |
| 7765 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7766 |
i-- |
| 7767 |
dAtA[i] = 0x8 |
| 7768 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7769 |
i-- |
| 7770 |
dAtA[i] = 0x1 |
| 7771 |
i-- |
| 7772 |
dAtA[i] = 0xa2 |
| 7773 |
} |
| 7774 |
} |
| 7775 |
if len(m.NullableString) > 0 { |
| 7776 |
for k := range m.NullableString { |
| 7777 |
v := m.NullableString[k] |
| 7778 |
baseI := i |
| 7779 |
if v != nil { |
| 7780 |
{ |
| 7781 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7782 |
if err != nil { |
| 7783 |
return 0, err |
| 7784 |
} |
| 7785 |
i -= size |
| 7786 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7787 |
} |
| 7788 |
i-- |
| 7789 |
dAtA[i] = 0x12 |
| 7790 |
} |
| 7791 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7792 |
i-- |
| 7793 |
dAtA[i] = 0x8 |
| 7794 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7795 |
i-- |
| 7796 |
dAtA[i] = 0x1 |
| 7797 |
i-- |
| 7798 |
dAtA[i] = 0x9a |
| 7799 |
} |
| 7800 |
} |
| 7801 |
if len(m.NonnullBool) > 0 { |
| 7802 |
for k := range m.NonnullBool { |
| 7803 |
v := m.NonnullBool[k] |
| 7804 |
baseI := i |
| 7805 |
{ |
| 7806 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7807 |
if err != nil { |
| 7808 |
return 0, err |
| 7809 |
} |
| 7810 |
i -= size |
| 7811 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7812 |
} |
| 7813 |
i-- |
| 7814 |
dAtA[i] = 0x12 |
| 7815 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7816 |
i-- |
| 7817 |
dAtA[i] = 0x8 |
| 7818 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7819 |
i-- |
| 7820 |
dAtA[i] = 0x1 |
| 7821 |
i-- |
| 7822 |
dAtA[i] = 0x92 |
| 7823 |
} |
| 7824 |
} |
| 7825 |
if len(m.NullableBool) > 0 { |
| 7826 |
for k := range m.NullableBool { |
| 7827 |
v := m.NullableBool[k] |
| 7828 |
baseI := i |
| 7829 |
if v != nil { |
| 7830 |
{ |
| 7831 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7832 |
if err != nil { |
| 7833 |
return 0, err |
| 7834 |
} |
| 7835 |
i -= size |
| 7836 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7837 |
} |
| 7838 |
i-- |
| 7839 |
dAtA[i] = 0x12 |
| 7840 |
} |
| 7841 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7842 |
i-- |
| 7843 |
dAtA[i] = 0x8 |
| 7844 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7845 |
i-- |
| 7846 |
dAtA[i] = 0x1 |
| 7847 |
i-- |
| 7848 |
dAtA[i] = 0x8a |
| 7849 |
} |
| 7850 |
} |
| 7851 |
if len(m.NonnullUInt32) > 0 { |
| 7852 |
for k := range m.NonnullUInt32 { |
| 7853 |
v := m.NonnullUInt32[k] |
| 7854 |
baseI := i |
| 7855 |
{ |
| 7856 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7857 |
if err != nil { |
| 7858 |
return 0, err |
| 7859 |
} |
| 7860 |
i -= size |
| 7861 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7862 |
} |
| 7863 |
i-- |
| 7864 |
dAtA[i] = 0x12 |
| 7865 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7866 |
i-- |
| 7867 |
dAtA[i] = 0x8 |
| 7868 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7869 |
i-- |
| 7870 |
dAtA[i] = 0x1 |
| 7871 |
i-- |
| 7872 |
dAtA[i] = 0x82 |
| 7873 |
} |
| 7874 |
} |
| 7875 |
if len(m.NullableUInt32) > 0 { |
| 7876 |
for k := range m.NullableUInt32 { |
| 7877 |
v := m.NullableUInt32[k] |
| 7878 |
baseI := i |
| 7879 |
if v != nil { |
| 7880 |
{ |
| 7881 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7882 |
if err != nil { |
| 7883 |
return 0, err |
| 7884 |
} |
| 7885 |
i -= size |
| 7886 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7887 |
} |
| 7888 |
i-- |
| 7889 |
dAtA[i] = 0x12 |
| 7890 |
} |
| 7891 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7892 |
i-- |
| 7893 |
dAtA[i] = 0x8 |
| 7894 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7895 |
i-- |
| 7896 |
dAtA[i] = 0x7a |
| 7897 |
} |
| 7898 |
} |
| 7899 |
if len(m.NonnullInt32) > 0 { |
| 7900 |
for k := range m.NonnullInt32 { |
| 7901 |
v := m.NonnullInt32[k] |
| 7902 |
baseI := i |
| 7903 |
{ |
| 7904 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7905 |
if err != nil { |
| 7906 |
return 0, err |
| 7907 |
} |
| 7908 |
i -= size |
| 7909 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7910 |
} |
| 7911 |
i-- |
| 7912 |
dAtA[i] = 0x12 |
| 7913 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7914 |
i-- |
| 7915 |
dAtA[i] = 0x8 |
| 7916 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7917 |
i-- |
| 7918 |
dAtA[i] = 0x72 |
| 7919 |
} |
| 7920 |
} |
| 7921 |
if len(m.NullableInt32) > 0 { |
| 7922 |
for k := range m.NullableInt32 { |
| 7923 |
v := m.NullableInt32[k] |
| 7924 |
baseI := i |
| 7925 |
if v != nil { |
| 7926 |
{ |
| 7927 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7928 |
if err != nil { |
| 7929 |
return 0, err |
| 7930 |
} |
| 7931 |
i -= size |
| 7932 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7933 |
} |
| 7934 |
i-- |
| 7935 |
dAtA[i] = 0x12 |
| 7936 |
} |
| 7937 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7938 |
i-- |
| 7939 |
dAtA[i] = 0x8 |
| 7940 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7941 |
i-- |
| 7942 |
dAtA[i] = 0x6a |
| 7943 |
} |
| 7944 |
} |
| 7945 |
if len(m.NonnullUInt64) > 0 { |
| 7946 |
for k := range m.NonnullUInt64 { |
| 7947 |
v := m.NonnullUInt64[k] |
| 7948 |
baseI := i |
| 7949 |
{ |
| 7950 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7951 |
if err != nil { |
| 7952 |
return 0, err |
| 7953 |
} |
| 7954 |
i -= size |
| 7955 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7956 |
} |
| 7957 |
i-- |
| 7958 |
dAtA[i] = 0x12 |
| 7959 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7960 |
i-- |
| 7961 |
dAtA[i] = 0x8 |
| 7962 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7963 |
i-- |
| 7964 |
dAtA[i] = 0x62 |
| 7965 |
} |
| 7966 |
} |
| 7967 |
if len(m.NullableUInt64) > 0 { |
| 7968 |
for k := range m.NullableUInt64 { |
| 7969 |
v := m.NullableUInt64[k] |
| 7970 |
baseI := i |
| 7971 |
if v != nil { |
| 7972 |
{ |
| 7973 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 7974 |
if err != nil { |
| 7975 |
return 0, err |
| 7976 |
} |
| 7977 |
i -= size |
| 7978 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 7979 |
} |
| 7980 |
i-- |
| 7981 |
dAtA[i] = 0x12 |
| 7982 |
} |
| 7983 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 7984 |
i-- |
| 7985 |
dAtA[i] = 0x8 |
| 7986 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 7987 |
i-- |
| 7988 |
dAtA[i] = 0x5a |
| 7989 |
} |
| 7990 |
} |
| 7991 |
if len(m.NonnullInt64) > 0 { |
| 7992 |
for k := range m.NonnullInt64 { |
| 7993 |
v := m.NonnullInt64[k] |
| 7994 |
baseI := i |
| 7995 |
{ |
| 7996 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 7997 |
if err != nil { |
| 7998 |
return 0, err |
| 7999 |
} |
| 8000 |
i -= size |
| 8001 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8002 |
} |
| 8003 |
i-- |
| 8004 |
dAtA[i] = 0x12 |
| 8005 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8006 |
i-- |
| 8007 |
dAtA[i] = 0x8 |
| 8008 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8009 |
i-- |
| 8010 |
dAtA[i] = 0x52 |
| 8011 |
} |
| 8012 |
} |
| 8013 |
if len(m.NullableInt64) > 0 { |
| 8014 |
for k := range m.NullableInt64 { |
| 8015 |
v := m.NullableInt64[k] |
| 8016 |
baseI := i |
| 8017 |
if v != nil { |
| 8018 |
{ |
| 8019 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8020 |
if err != nil { |
| 8021 |
return 0, err |
| 8022 |
} |
| 8023 |
i -= size |
| 8024 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8025 |
} |
| 8026 |
i-- |
| 8027 |
dAtA[i] = 0x12 |
| 8028 |
} |
| 8029 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8030 |
i-- |
| 8031 |
dAtA[i] = 0x8 |
| 8032 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8033 |
i-- |
| 8034 |
dAtA[i] = 0x4a |
| 8035 |
} |
| 8036 |
} |
| 8037 |
if len(m.NonnullFloat) > 0 { |
| 8038 |
for k := range m.NonnullFloat { |
| 8039 |
v := m.NonnullFloat[k] |
| 8040 |
baseI := i |
| 8041 |
{ |
| 8042 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 8043 |
if err != nil { |
| 8044 |
return 0, err |
| 8045 |
} |
| 8046 |
i -= size |
| 8047 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8048 |
} |
| 8049 |
i-- |
| 8050 |
dAtA[i] = 0x12 |
| 8051 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8052 |
i-- |
| 8053 |
dAtA[i] = 0x8 |
| 8054 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8055 |
i-- |
| 8056 |
dAtA[i] = 0x42 |
| 8057 |
} |
| 8058 |
} |
| 8059 |
if len(m.NullableFloat) > 0 { |
| 8060 |
for k := range m.NullableFloat { |
| 8061 |
v := m.NullableFloat[k] |
| 8062 |
baseI := i |
| 8063 |
if v != nil { |
| 8064 |
{ |
| 8065 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8066 |
if err != nil { |
| 8067 |
return 0, err |
| 8068 |
} |
| 8069 |
i -= size |
| 8070 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8071 |
} |
| 8072 |
i-- |
| 8073 |
dAtA[i] = 0x12 |
| 8074 |
} |
| 8075 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8076 |
i-- |
| 8077 |
dAtA[i] = 0x8 |
| 8078 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8079 |
i-- |
| 8080 |
dAtA[i] = 0x3a |
| 8081 |
} |
| 8082 |
} |
| 8083 |
if len(m.NonnullDouble) > 0 { |
| 8084 |
for k := range m.NonnullDouble { |
| 8085 |
v := m.NonnullDouble[k] |
| 8086 |
baseI := i |
| 8087 |
{ |
| 8088 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 8089 |
if err != nil { |
| 8090 |
return 0, err |
| 8091 |
} |
| 8092 |
i -= size |
| 8093 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8094 |
} |
| 8095 |
i-- |
| 8096 |
dAtA[i] = 0x12 |
| 8097 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8098 |
i-- |
| 8099 |
dAtA[i] = 0x8 |
| 8100 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8101 |
i-- |
| 8102 |
dAtA[i] = 0x32 |
| 8103 |
} |
| 8104 |
} |
| 8105 |
if len(m.NullableDouble) > 0 { |
| 8106 |
for k := range m.NullableDouble { |
| 8107 |
v := m.NullableDouble[k] |
| 8108 |
baseI := i |
| 8109 |
if v != nil { |
| 8110 |
{ |
| 8111 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8112 |
if err != nil { |
| 8113 |
return 0, err |
| 8114 |
} |
| 8115 |
i -= size |
| 8116 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8117 |
} |
| 8118 |
i-- |
| 8119 |
dAtA[i] = 0x12 |
| 8120 |
} |
| 8121 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8122 |
i-- |
| 8123 |
dAtA[i] = 0x8 |
| 8124 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8125 |
i-- |
| 8126 |
dAtA[i] = 0x2a |
| 8127 |
} |
| 8128 |
} |
| 8129 |
if len(m.Duration) > 0 { |
| 8130 |
for k := range m.Duration { |
| 8131 |
v := m.Duration[k] |
| 8132 |
baseI := i |
| 8133 |
{ |
| 8134 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 8135 |
if err != nil { |
| 8136 |
return 0, err |
| 8137 |
} |
| 8138 |
i -= size |
| 8139 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8140 |
} |
| 8141 |
i-- |
| 8142 |
dAtA[i] = 0x12 |
| 8143 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8144 |
i-- |
| 8145 |
dAtA[i] = 0x8 |
| 8146 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8147 |
i-- |
| 8148 |
dAtA[i] = 0x22 |
| 8149 |
} |
| 8150 |
} |
| 8151 |
if len(m.NullableDuration) > 0 { |
| 8152 |
for k := range m.NullableDuration { |
| 8153 |
v := m.NullableDuration[k] |
| 8154 |
baseI := i |
| 8155 |
if v != nil { |
| 8156 |
{ |
| 8157 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8158 |
if err != nil { |
| 8159 |
return 0, err |
| 8160 |
} |
| 8161 |
i -= size |
| 8162 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8163 |
} |
| 8164 |
i-- |
| 8165 |
dAtA[i] = 0x12 |
| 8166 |
} |
| 8167 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8168 |
i-- |
| 8169 |
dAtA[i] = 0x8 |
| 8170 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8171 |
i-- |
| 8172 |
dAtA[i] = 0x1a |
| 8173 |
} |
| 8174 |
} |
| 8175 |
if len(m.Timestamp) > 0 { |
| 8176 |
for k := range m.Timestamp { |
| 8177 |
v := m.Timestamp[k] |
| 8178 |
baseI := i |
| 8179 |
{ |
| 8180 |
size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) |
| 8181 |
if err != nil { |
| 8182 |
return 0, err |
| 8183 |
} |
| 8184 |
i -= size |
| 8185 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8186 |
} |
| 8187 |
i-- |
| 8188 |
dAtA[i] = 0x12 |
| 8189 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8190 |
i-- |
| 8191 |
dAtA[i] = 0x8 |
| 8192 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8193 |
i-- |
| 8194 |
dAtA[i] = 0x12 |
| 8195 |
} |
| 8196 |
} |
| 8197 |
if len(m.NullableTimestamp) > 0 { |
| 8198 |
for k := range m.NullableTimestamp { |
| 8199 |
v := m.NullableTimestamp[k] |
| 8200 |
baseI := i |
| 8201 |
if v != nil { |
| 8202 |
{ |
| 8203 |
size, err := v.MarshalToSizedBuffer(dAtA[:i]) |
| 8204 |
if err != nil { |
| 8205 |
return 0, err |
| 8206 |
} |
| 8207 |
i -= size |
| 8208 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8209 |
} |
| 8210 |
i-- |
| 8211 |
dAtA[i] = 0x12 |
| 8212 |
} |
| 8213 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8214 |
i-- |
| 8215 |
dAtA[i] = 0x8 |
| 8216 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8217 |
i-- |
| 8218 |
dAtA[i] = 0xa |
| 8219 |
} |
| 8220 |
} |
| 8221 |
return len(dAtA) - i, nil |
| 8222 |
} |
| 8223 |
|
| 8224 |
func (m *MapStdTypes) Marshal() (dAtA []byte, err error) { |
| 8225 |
size := m.Size() |
| 8226 |
dAtA = make([]byte, size) |
| 8227 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 8228 |
if err != nil { |
| 8229 |
return nil, err |
| 8230 |
} |
| 8231 |
return dAtA[:n], nil |
| 8232 |
} |
| 8233 |
|
| 8234 |
func (m *MapStdTypes) MarshalTo(dAtA []byte) (int, error) { |
| 8235 |
size := m.Size() |
| 8236 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8237 |
} |
| 8238 |
|
| 8239 |
func (m *MapStdTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8240 |
i := len(dAtA) |
| 8241 |
_ = i |
| 8242 |
var l int |
| 8243 |
_ = l |
| 8244 |
if m.XXX_unrecognized != nil { |
| 8245 |
i -= len(m.XXX_unrecognized) |
| 8246 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 8247 |
} |
| 8248 |
if len(m.NonnullBytes) > 0 { |
| 8249 |
for k := range m.NonnullBytes { |
| 8250 |
v := m.NonnullBytes[k] |
| 8251 |
baseI := i |
| 8252 |
n79, err79 := github_com_gogo_protobuf_types.StdBytesMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes((*(&v))):]) |
| 8253 |
if err79 != nil { |
| 8254 |
return 0, err79 |
| 8255 |
} |
| 8256 |
i -= n79 |
| 8257 |
i = encodeVarintTypes(dAtA, i, uint64(n79)) |
| 8258 |
i-- |
| 8259 |
dAtA[i] = 0x12 |
| 8260 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8261 |
i-- |
| 8262 |
dAtA[i] = 0x8 |
| 8263 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8264 |
i-- |
| 8265 |
dAtA[i] = 0x1 |
| 8266 |
i-- |
| 8267 |
dAtA[i] = 0xb2 |
| 8268 |
} |
| 8269 |
} |
| 8270 |
if len(m.NullableBytes) > 0 { |
| 8271 |
for k := range m.NullableBytes { |
| 8272 |
v := m.NullableBytes[k] |
| 8273 |
baseI := i |
| 8274 |
if v != nil { |
| 8275 |
n80, err80 := github_com_gogo_protobuf_types.StdBytesMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes((*v)):]) |
| 8276 |
if err80 != nil { |
| 8277 |
return 0, err80 |
| 8278 |
} |
| 8279 |
i -= n80 |
| 8280 |
i = encodeVarintTypes(dAtA, i, uint64(n80)) |
| 8281 |
i-- |
| 8282 |
dAtA[i] = 0x12 |
| 8283 |
} |
| 8284 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8285 |
i-- |
| 8286 |
dAtA[i] = 0x8 |
| 8287 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8288 |
i-- |
| 8289 |
dAtA[i] = 0x1 |
| 8290 |
i-- |
| 8291 |
dAtA[i] = 0xaa |
| 8292 |
} |
| 8293 |
} |
| 8294 |
if len(m.NonnullString) > 0 { |
| 8295 |
for k := range m.NonnullString { |
| 8296 |
v := m.NonnullString[k] |
| 8297 |
baseI := i |
| 8298 |
n81, err81 := github_com_gogo_protobuf_types.StdStringMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString((*(&v))):]) |
| 8299 |
if err81 != nil { |
| 8300 |
return 0, err81 |
| 8301 |
} |
| 8302 |
i -= n81 |
| 8303 |
i = encodeVarintTypes(dAtA, i, uint64(n81)) |
| 8304 |
i-- |
| 8305 |
dAtA[i] = 0x12 |
| 8306 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8307 |
i-- |
| 8308 |
dAtA[i] = 0x8 |
| 8309 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8310 |
i-- |
| 8311 |
dAtA[i] = 0x1 |
| 8312 |
i-- |
| 8313 |
dAtA[i] = 0xa2 |
| 8314 |
} |
| 8315 |
} |
| 8316 |
if len(m.NullableString) > 0 { |
| 8317 |
for k := range m.NullableString { |
| 8318 |
v := m.NullableString[k] |
| 8319 |
baseI := i |
| 8320 |
if v != nil { |
| 8321 |
n82, err82 := github_com_gogo_protobuf_types.StdStringMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString((*v)):]) |
| 8322 |
if err82 != nil { |
| 8323 |
return 0, err82 |
| 8324 |
} |
| 8325 |
i -= n82 |
| 8326 |
i = encodeVarintTypes(dAtA, i, uint64(n82)) |
| 8327 |
i-- |
| 8328 |
dAtA[i] = 0x12 |
| 8329 |
} |
| 8330 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8331 |
i-- |
| 8332 |
dAtA[i] = 0x8 |
| 8333 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8334 |
i-- |
| 8335 |
dAtA[i] = 0x1 |
| 8336 |
i-- |
| 8337 |
dAtA[i] = 0x9a |
| 8338 |
} |
| 8339 |
} |
| 8340 |
if len(m.NonnullBool) > 0 { |
| 8341 |
for k := range m.NonnullBool { |
| 8342 |
v := m.NonnullBool[k] |
| 8343 |
baseI := i |
| 8344 |
n83, err83 := github_com_gogo_protobuf_types.StdBoolMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool((*(&v))):]) |
| 8345 |
if err83 != nil { |
| 8346 |
return 0, err83 |
| 8347 |
} |
| 8348 |
i -= n83 |
| 8349 |
i = encodeVarintTypes(dAtA, i, uint64(n83)) |
| 8350 |
i-- |
| 8351 |
dAtA[i] = 0x12 |
| 8352 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8353 |
i-- |
| 8354 |
dAtA[i] = 0x8 |
| 8355 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8356 |
i-- |
| 8357 |
dAtA[i] = 0x1 |
| 8358 |
i-- |
| 8359 |
dAtA[i] = 0x92 |
| 8360 |
} |
| 8361 |
} |
| 8362 |
if len(m.NullableBool) > 0 { |
| 8363 |
for k := range m.NullableBool { |
| 8364 |
v := m.NullableBool[k] |
| 8365 |
baseI := i |
| 8366 |
if v != nil { |
| 8367 |
n84, err84 := github_com_gogo_protobuf_types.StdBoolMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool((*v)):]) |
| 8368 |
if err84 != nil { |
| 8369 |
return 0, err84 |
| 8370 |
} |
| 8371 |
i -= n84 |
| 8372 |
i = encodeVarintTypes(dAtA, i, uint64(n84)) |
| 8373 |
i-- |
| 8374 |
dAtA[i] = 0x12 |
| 8375 |
} |
| 8376 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8377 |
i-- |
| 8378 |
dAtA[i] = 0x8 |
| 8379 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8380 |
i-- |
| 8381 |
dAtA[i] = 0x1 |
| 8382 |
i-- |
| 8383 |
dAtA[i] = 0x8a |
| 8384 |
} |
| 8385 |
} |
| 8386 |
if len(m.NonnullUInt32) > 0 { |
| 8387 |
for k := range m.NonnullUInt32 { |
| 8388 |
v := m.NonnullUInt32[k] |
| 8389 |
baseI := i |
| 8390 |
n85, err85 := github_com_gogo_protobuf_types.StdUInt32MarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32((*(&v))):]) |
| 8391 |
if err85 != nil { |
| 8392 |
return 0, err85 |
| 8393 |
} |
| 8394 |
i -= n85 |
| 8395 |
i = encodeVarintTypes(dAtA, i, uint64(n85)) |
| 8396 |
i-- |
| 8397 |
dAtA[i] = 0x12 |
| 8398 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8399 |
i-- |
| 8400 |
dAtA[i] = 0x8 |
| 8401 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8402 |
i-- |
| 8403 |
dAtA[i] = 0x1 |
| 8404 |
i-- |
| 8405 |
dAtA[i] = 0x82 |
| 8406 |
} |
| 8407 |
} |
| 8408 |
if len(m.NullableUInt32) > 0 { |
| 8409 |
for k := range m.NullableUInt32 { |
| 8410 |
v := m.NullableUInt32[k] |
| 8411 |
baseI := i |
| 8412 |
if v != nil { |
| 8413 |
n86, err86 := github_com_gogo_protobuf_types.StdUInt32MarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32((*v)):]) |
| 8414 |
if err86 != nil { |
| 8415 |
return 0, err86 |
| 8416 |
} |
| 8417 |
i -= n86 |
| 8418 |
i = encodeVarintTypes(dAtA, i, uint64(n86)) |
| 8419 |
i-- |
| 8420 |
dAtA[i] = 0x12 |
| 8421 |
} |
| 8422 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8423 |
i-- |
| 8424 |
dAtA[i] = 0x8 |
| 8425 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8426 |
i-- |
| 8427 |
dAtA[i] = 0x7a |
| 8428 |
} |
| 8429 |
} |
| 8430 |
if len(m.NonnullInt32) > 0 { |
| 8431 |
for k := range m.NonnullInt32 { |
| 8432 |
v := m.NonnullInt32[k] |
| 8433 |
baseI := i |
| 8434 |
n87, err87 := github_com_gogo_protobuf_types.StdInt32MarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32((*(&v))):]) |
| 8435 |
if err87 != nil { |
| 8436 |
return 0, err87 |
| 8437 |
} |
| 8438 |
i -= n87 |
| 8439 |
i = encodeVarintTypes(dAtA, i, uint64(n87)) |
| 8440 |
i-- |
| 8441 |
dAtA[i] = 0x12 |
| 8442 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8443 |
i-- |
| 8444 |
dAtA[i] = 0x8 |
| 8445 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8446 |
i-- |
| 8447 |
dAtA[i] = 0x72 |
| 8448 |
} |
| 8449 |
} |
| 8450 |
if len(m.NullableInt32) > 0 { |
| 8451 |
for k := range m.NullableInt32 { |
| 8452 |
v := m.NullableInt32[k] |
| 8453 |
baseI := i |
| 8454 |
if v != nil { |
| 8455 |
n88, err88 := github_com_gogo_protobuf_types.StdInt32MarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32((*v)):]) |
| 8456 |
if err88 != nil { |
| 8457 |
return 0, err88 |
| 8458 |
} |
| 8459 |
i -= n88 |
| 8460 |
i = encodeVarintTypes(dAtA, i, uint64(n88)) |
| 8461 |
i-- |
| 8462 |
dAtA[i] = 0x12 |
| 8463 |
} |
| 8464 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8465 |
i-- |
| 8466 |
dAtA[i] = 0x8 |
| 8467 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8468 |
i-- |
| 8469 |
dAtA[i] = 0x6a |
| 8470 |
} |
| 8471 |
} |
| 8472 |
if len(m.NonnullUInt64) > 0 { |
| 8473 |
for k := range m.NonnullUInt64 { |
| 8474 |
v := m.NonnullUInt64[k] |
| 8475 |
baseI := i |
| 8476 |
n89, err89 := github_com_gogo_protobuf_types.StdUInt64MarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64((*(&v))):]) |
| 8477 |
if err89 != nil { |
| 8478 |
return 0, err89 |
| 8479 |
} |
| 8480 |
i -= n89 |
| 8481 |
i = encodeVarintTypes(dAtA, i, uint64(n89)) |
| 8482 |
i-- |
| 8483 |
dAtA[i] = 0x12 |
| 8484 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8485 |
i-- |
| 8486 |
dAtA[i] = 0x8 |
| 8487 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8488 |
i-- |
| 8489 |
dAtA[i] = 0x62 |
| 8490 |
} |
| 8491 |
} |
| 8492 |
if len(m.NullableUInt64) > 0 { |
| 8493 |
for k := range m.NullableUInt64 { |
| 8494 |
v := m.NullableUInt64[k] |
| 8495 |
baseI := i |
| 8496 |
if v != nil { |
| 8497 |
n90, err90 := github_com_gogo_protobuf_types.StdUInt64MarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64((*v)):]) |
| 8498 |
if err90 != nil { |
| 8499 |
return 0, err90 |
| 8500 |
} |
| 8501 |
i -= n90 |
| 8502 |
i = encodeVarintTypes(dAtA, i, uint64(n90)) |
| 8503 |
i-- |
| 8504 |
dAtA[i] = 0x12 |
| 8505 |
} |
| 8506 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8507 |
i-- |
| 8508 |
dAtA[i] = 0x8 |
| 8509 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8510 |
i-- |
| 8511 |
dAtA[i] = 0x5a |
| 8512 |
} |
| 8513 |
} |
| 8514 |
if len(m.NonnullInt64) > 0 { |
| 8515 |
for k := range m.NonnullInt64 { |
| 8516 |
v := m.NonnullInt64[k] |
| 8517 |
baseI := i |
| 8518 |
n91, err91 := github_com_gogo_protobuf_types.StdInt64MarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64((*(&v))):]) |
| 8519 |
if err91 != nil { |
| 8520 |
return 0, err91 |
| 8521 |
} |
| 8522 |
i -= n91 |
| 8523 |
i = encodeVarintTypes(dAtA, i, uint64(n91)) |
| 8524 |
i-- |
| 8525 |
dAtA[i] = 0x12 |
| 8526 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8527 |
i-- |
| 8528 |
dAtA[i] = 0x8 |
| 8529 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8530 |
i-- |
| 8531 |
dAtA[i] = 0x52 |
| 8532 |
} |
| 8533 |
} |
| 8534 |
if len(m.NullableInt64) > 0 { |
| 8535 |
for k := range m.NullableInt64 { |
| 8536 |
v := m.NullableInt64[k] |
| 8537 |
baseI := i |
| 8538 |
if v != nil { |
| 8539 |
n92, err92 := github_com_gogo_protobuf_types.StdInt64MarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64((*v)):]) |
| 8540 |
if err92 != nil { |
| 8541 |
return 0, err92 |
| 8542 |
} |
| 8543 |
i -= n92 |
| 8544 |
i = encodeVarintTypes(dAtA, i, uint64(n92)) |
| 8545 |
i-- |
| 8546 |
dAtA[i] = 0x12 |
| 8547 |
} |
| 8548 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8549 |
i-- |
| 8550 |
dAtA[i] = 0x8 |
| 8551 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8552 |
i-- |
| 8553 |
dAtA[i] = 0x4a |
| 8554 |
} |
| 8555 |
} |
| 8556 |
if len(m.NonnullFloat) > 0 { |
| 8557 |
for k := range m.NonnullFloat { |
| 8558 |
v := m.NonnullFloat[k] |
| 8559 |
baseI := i |
| 8560 |
n93, err93 := github_com_gogo_protobuf_types.StdFloatMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat((*(&v))):]) |
| 8561 |
if err93 != nil { |
| 8562 |
return 0, err93 |
| 8563 |
} |
| 8564 |
i -= n93 |
| 8565 |
i = encodeVarintTypes(dAtA, i, uint64(n93)) |
| 8566 |
i-- |
| 8567 |
dAtA[i] = 0x12 |
| 8568 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8569 |
i-- |
| 8570 |
dAtA[i] = 0x8 |
| 8571 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8572 |
i-- |
| 8573 |
dAtA[i] = 0x42 |
| 8574 |
} |
| 8575 |
} |
| 8576 |
if len(m.NullableFloat) > 0 { |
| 8577 |
for k := range m.NullableFloat { |
| 8578 |
v := m.NullableFloat[k] |
| 8579 |
baseI := i |
| 8580 |
if v != nil { |
| 8581 |
n94, err94 := github_com_gogo_protobuf_types.StdFloatMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat((*v)):]) |
| 8582 |
if err94 != nil { |
| 8583 |
return 0, err94 |
| 8584 |
} |
| 8585 |
i -= n94 |
| 8586 |
i = encodeVarintTypes(dAtA, i, uint64(n94)) |
| 8587 |
i-- |
| 8588 |
dAtA[i] = 0x12 |
| 8589 |
} |
| 8590 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8591 |
i-- |
| 8592 |
dAtA[i] = 0x8 |
| 8593 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8594 |
i-- |
| 8595 |
dAtA[i] = 0x3a |
| 8596 |
} |
| 8597 |
} |
| 8598 |
if len(m.NonnullDouble) > 0 { |
| 8599 |
for k := range m.NonnullDouble { |
| 8600 |
v := m.NonnullDouble[k] |
| 8601 |
baseI := i |
| 8602 |
n95, err95 := github_com_gogo_protobuf_types.StdDoubleMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble((*(&v))):]) |
| 8603 |
if err95 != nil { |
| 8604 |
return 0, err95 |
| 8605 |
} |
| 8606 |
i -= n95 |
| 8607 |
i = encodeVarintTypes(dAtA, i, uint64(n95)) |
| 8608 |
i-- |
| 8609 |
dAtA[i] = 0x12 |
| 8610 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8611 |
i-- |
| 8612 |
dAtA[i] = 0x8 |
| 8613 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8614 |
i-- |
| 8615 |
dAtA[i] = 0x32 |
| 8616 |
} |
| 8617 |
} |
| 8618 |
if len(m.NullableDouble) > 0 { |
| 8619 |
for k := range m.NullableDouble { |
| 8620 |
v := m.NullableDouble[k] |
| 8621 |
baseI := i |
| 8622 |
if v != nil { |
| 8623 |
n96, err96 := github_com_gogo_protobuf_types.StdDoubleMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble((*v)):]) |
| 8624 |
if err96 != nil { |
| 8625 |
return 0, err96 |
| 8626 |
} |
| 8627 |
i -= n96 |
| 8628 |
i = encodeVarintTypes(dAtA, i, uint64(n96)) |
| 8629 |
i-- |
| 8630 |
dAtA[i] = 0x12 |
| 8631 |
} |
| 8632 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8633 |
i-- |
| 8634 |
dAtA[i] = 0x8 |
| 8635 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8636 |
i-- |
| 8637 |
dAtA[i] = 0x2a |
| 8638 |
} |
| 8639 |
} |
| 8640 |
if len(m.Duration) > 0 { |
| 8641 |
for k := range m.Duration { |
| 8642 |
v := m.Duration[k] |
| 8643 |
baseI := i |
| 8644 |
n97, err97 := github_com_gogo_protobuf_types.StdDurationMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration((*(&v))):]) |
| 8645 |
if err97 != nil { |
| 8646 |
return 0, err97 |
| 8647 |
} |
| 8648 |
i -= n97 |
| 8649 |
i = encodeVarintTypes(dAtA, i, uint64(n97)) |
| 8650 |
i-- |
| 8651 |
dAtA[i] = 0x12 |
| 8652 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8653 |
i-- |
| 8654 |
dAtA[i] = 0x8 |
| 8655 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8656 |
i-- |
| 8657 |
dAtA[i] = 0x22 |
| 8658 |
} |
| 8659 |
} |
| 8660 |
if len(m.NullableDuration) > 0 { |
| 8661 |
for k := range m.NullableDuration { |
| 8662 |
v := m.NullableDuration[k] |
| 8663 |
baseI := i |
| 8664 |
if v != nil { |
| 8665 |
n98, err98 := github_com_gogo_protobuf_types.StdDurationMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration((*v)):]) |
| 8666 |
if err98 != nil { |
| 8667 |
return 0, err98 |
| 8668 |
} |
| 8669 |
i -= n98 |
| 8670 |
i = encodeVarintTypes(dAtA, i, uint64(n98)) |
| 8671 |
i-- |
| 8672 |
dAtA[i] = 0x12 |
| 8673 |
} |
| 8674 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8675 |
i-- |
| 8676 |
dAtA[i] = 0x8 |
| 8677 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8678 |
i-- |
| 8679 |
dAtA[i] = 0x1a |
| 8680 |
} |
| 8681 |
} |
| 8682 |
if len(m.Timestamp) > 0 { |
| 8683 |
for k := range m.Timestamp { |
| 8684 |
v := m.Timestamp[k] |
| 8685 |
baseI := i |
| 8686 |
n99, err99 := github_com_gogo_protobuf_types.StdTimeMarshalTo((*(&v)), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime((*(&v))):]) |
| 8687 |
if err99 != nil { |
| 8688 |
return 0, err99 |
| 8689 |
} |
| 8690 |
i -= n99 |
| 8691 |
i = encodeVarintTypes(dAtA, i, uint64(n99)) |
| 8692 |
i-- |
| 8693 |
dAtA[i] = 0x12 |
| 8694 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8695 |
i-- |
| 8696 |
dAtA[i] = 0x8 |
| 8697 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8698 |
i-- |
| 8699 |
dAtA[i] = 0x12 |
| 8700 |
} |
| 8701 |
} |
| 8702 |
if len(m.NullableTimestamp) > 0 { |
| 8703 |
for k := range m.NullableTimestamp { |
| 8704 |
v := m.NullableTimestamp[k] |
| 8705 |
baseI := i |
| 8706 |
if v != nil { |
| 8707 |
n100, err100 := github_com_gogo_protobuf_types.StdTimeMarshalTo((*v), dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime((*v)):]) |
| 8708 |
if err100 != nil { |
| 8709 |
return 0, err100 |
| 8710 |
} |
| 8711 |
i -= n100 |
| 8712 |
i = encodeVarintTypes(dAtA, i, uint64(n100)) |
| 8713 |
i-- |
| 8714 |
dAtA[i] = 0x12 |
| 8715 |
} |
| 8716 |
i = encodeVarintTypes(dAtA, i, uint64(k)) |
| 8717 |
i-- |
| 8718 |
dAtA[i] = 0x8 |
| 8719 |
i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) |
| 8720 |
i-- |
| 8721 |
dAtA[i] = 0xa |
| 8722 |
} |
| 8723 |
} |
| 8724 |
return len(dAtA) - i, nil |
| 8725 |
} |
| 8726 |
|
| 8727 |
func (m *OneofProtoTypes) Marshal() (dAtA []byte, err error) { |
| 8728 |
size := m.Size() |
| 8729 |
dAtA = make([]byte, size) |
| 8730 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 8731 |
if err != nil { |
| 8732 |
return nil, err |
| 8733 |
} |
| 8734 |
return dAtA[:n], nil |
| 8735 |
} |
| 8736 |
|
| 8737 |
func (m *OneofProtoTypes) MarshalTo(dAtA []byte) (int, error) { |
| 8738 |
size := m.Size() |
| 8739 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8740 |
} |
| 8741 |
|
| 8742 |
func (m *OneofProtoTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8743 |
i := len(dAtA) |
| 8744 |
_ = i |
| 8745 |
var l int |
| 8746 |
_ = l |
| 8747 |
if m.XXX_unrecognized != nil { |
| 8748 |
i -= len(m.XXX_unrecognized) |
| 8749 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 8750 |
} |
| 8751 |
if m.OneOfProtoTimes != nil { |
| 8752 |
{ |
| 8753 |
size := m.OneOfProtoTimes.Size() |
| 8754 |
i -= size |
| 8755 |
if _, err := m.OneOfProtoTimes.MarshalTo(dAtA[i:]); err != nil { |
| 8756 |
return 0, err |
| 8757 |
} |
| 8758 |
} |
| 8759 |
} |
| 8760 |
return len(dAtA) - i, nil |
| 8761 |
} |
| 8762 |
|
| 8763 |
func (m *OneofProtoTypes_Timestamp) MarshalTo(dAtA []byte) (int, error) { |
| 8764 |
size := m.Size() |
| 8765 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8766 |
} |
| 8767 |
|
| 8768 |
func (m *OneofProtoTypes_Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8769 |
i := len(dAtA) |
| 8770 |
if m.Timestamp != nil { |
| 8771 |
{ |
| 8772 |
size, err := m.Timestamp.MarshalToSizedBuffer(dAtA[:i]) |
| 8773 |
if err != nil { |
| 8774 |
return 0, err |
| 8775 |
} |
| 8776 |
i -= size |
| 8777 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8778 |
} |
| 8779 |
i-- |
| 8780 |
dAtA[i] = 0xa |
| 8781 |
} |
| 8782 |
return len(dAtA) - i, nil |
| 8783 |
} |
| 8784 |
func (m *OneofProtoTypes_Duration) MarshalTo(dAtA []byte) (int, error) { |
| 8785 |
size := m.Size() |
| 8786 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8787 |
} |
| 8788 |
|
| 8789 |
func (m *OneofProtoTypes_Duration) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8790 |
i := len(dAtA) |
| 8791 |
if m.Duration != nil { |
| 8792 |
{ |
| 8793 |
size, err := m.Duration.MarshalToSizedBuffer(dAtA[:i]) |
| 8794 |
if err != nil { |
| 8795 |
return 0, err |
| 8796 |
} |
| 8797 |
i -= size |
| 8798 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8799 |
} |
| 8800 |
i-- |
| 8801 |
dAtA[i] = 0x12 |
| 8802 |
} |
| 8803 |
return len(dAtA) - i, nil |
| 8804 |
} |
| 8805 |
func (m *OneofProtoTypes_RepDouble) MarshalTo(dAtA []byte) (int, error) { |
| 8806 |
size := m.Size() |
| 8807 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8808 |
} |
| 8809 |
|
| 8810 |
func (m *OneofProtoTypes_RepDouble) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8811 |
i := len(dAtA) |
| 8812 |
if m.RepDouble != nil { |
| 8813 |
{ |
| 8814 |
size, err := m.RepDouble.MarshalToSizedBuffer(dAtA[:i]) |
| 8815 |
if err != nil { |
| 8816 |
return 0, err |
| 8817 |
} |
| 8818 |
i -= size |
| 8819 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8820 |
} |
| 8821 |
i-- |
| 8822 |
dAtA[i] = 0x1a |
| 8823 |
} |
| 8824 |
return len(dAtA) - i, nil |
| 8825 |
} |
| 8826 |
func (m *OneofProtoTypes_RepFloat) MarshalTo(dAtA []byte) (int, error) { |
| 8827 |
size := m.Size() |
| 8828 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8829 |
} |
| 8830 |
|
| 8831 |
func (m *OneofProtoTypes_RepFloat) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8832 |
i := len(dAtA) |
| 8833 |
if m.RepFloat != nil { |
| 8834 |
{ |
| 8835 |
size, err := m.RepFloat.MarshalToSizedBuffer(dAtA[:i]) |
| 8836 |
if err != nil { |
| 8837 |
return 0, err |
| 8838 |
} |
| 8839 |
i -= size |
| 8840 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8841 |
} |
| 8842 |
i-- |
| 8843 |
dAtA[i] = 0x22 |
| 8844 |
} |
| 8845 |
return len(dAtA) - i, nil |
| 8846 |
} |
| 8847 |
func (m *OneofProtoTypes_RepInt64) MarshalTo(dAtA []byte) (int, error) { |
| 8848 |
size := m.Size() |
| 8849 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8850 |
} |
| 8851 |
|
| 8852 |
func (m *OneofProtoTypes_RepInt64) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8853 |
i := len(dAtA) |
| 8854 |
if m.RepInt64 != nil { |
| 8855 |
{ |
| 8856 |
size, err := m.RepInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 8857 |
if err != nil { |
| 8858 |
return 0, err |
| 8859 |
} |
| 8860 |
i -= size |
| 8861 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8862 |
} |
| 8863 |
i-- |
| 8864 |
dAtA[i] = 0x2a |
| 8865 |
} |
| 8866 |
return len(dAtA) - i, nil |
| 8867 |
} |
| 8868 |
func (m *OneofProtoTypes_RepUInt64) MarshalTo(dAtA []byte) (int, error) { |
| 8869 |
size := m.Size() |
| 8870 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8871 |
} |
| 8872 |
|
| 8873 |
func (m *OneofProtoTypes_RepUInt64) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8874 |
i := len(dAtA) |
| 8875 |
if m.RepUInt64 != nil { |
| 8876 |
{ |
| 8877 |
size, err := m.RepUInt64.MarshalToSizedBuffer(dAtA[:i]) |
| 8878 |
if err != nil { |
| 8879 |
return 0, err |
| 8880 |
} |
| 8881 |
i -= size |
| 8882 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8883 |
} |
| 8884 |
i-- |
| 8885 |
dAtA[i] = 0x32 |
| 8886 |
} |
| 8887 |
return len(dAtA) - i, nil |
| 8888 |
} |
| 8889 |
func (m *OneofProtoTypes_RepInt32) MarshalTo(dAtA []byte) (int, error) { |
| 8890 |
size := m.Size() |
| 8891 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8892 |
} |
| 8893 |
|
| 8894 |
func (m *OneofProtoTypes_RepInt32) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8895 |
i := len(dAtA) |
| 8896 |
if m.RepInt32 != nil { |
| 8897 |
{ |
| 8898 |
size, err := m.RepInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 8899 |
if err != nil { |
| 8900 |
return 0, err |
| 8901 |
} |
| 8902 |
i -= size |
| 8903 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8904 |
} |
| 8905 |
i-- |
| 8906 |
dAtA[i] = 0x3a |
| 8907 |
} |
| 8908 |
return len(dAtA) - i, nil |
| 8909 |
} |
| 8910 |
func (m *OneofProtoTypes_RepUInt32) MarshalTo(dAtA []byte) (int, error) { |
| 8911 |
size := m.Size() |
| 8912 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8913 |
} |
| 8914 |
|
| 8915 |
func (m *OneofProtoTypes_RepUInt32) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8916 |
i := len(dAtA) |
| 8917 |
if m.RepUInt32 != nil { |
| 8918 |
{ |
| 8919 |
size, err := m.RepUInt32.MarshalToSizedBuffer(dAtA[:i]) |
| 8920 |
if err != nil { |
| 8921 |
return 0, err |
| 8922 |
} |
| 8923 |
i -= size |
| 8924 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8925 |
} |
| 8926 |
i-- |
| 8927 |
dAtA[i] = 0x42 |
| 8928 |
} |
| 8929 |
return len(dAtA) - i, nil |
| 8930 |
} |
| 8931 |
func (m *OneofProtoTypes_RepBool) MarshalTo(dAtA []byte) (int, error) { |
| 8932 |
size := m.Size() |
| 8933 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8934 |
} |
| 8935 |
|
| 8936 |
func (m *OneofProtoTypes_RepBool) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8937 |
i := len(dAtA) |
| 8938 |
if m.RepBool != nil { |
| 8939 |
{ |
| 8940 |
size, err := m.RepBool.MarshalToSizedBuffer(dAtA[:i]) |
| 8941 |
if err != nil { |
| 8942 |
return 0, err |
| 8943 |
} |
| 8944 |
i -= size |
| 8945 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8946 |
} |
| 8947 |
i-- |
| 8948 |
dAtA[i] = 0x4a |
| 8949 |
} |
| 8950 |
return len(dAtA) - i, nil |
| 8951 |
} |
| 8952 |
func (m *OneofProtoTypes_RepString) MarshalTo(dAtA []byte) (int, error) { |
| 8953 |
size := m.Size() |
| 8954 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8955 |
} |
| 8956 |
|
| 8957 |
func (m *OneofProtoTypes_RepString) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8958 |
i := len(dAtA) |
| 8959 |
if m.RepString != nil { |
| 8960 |
{ |
| 8961 |
size, err := m.RepString.MarshalToSizedBuffer(dAtA[:i]) |
| 8962 |
if err != nil { |
| 8963 |
return 0, err |
| 8964 |
} |
| 8965 |
i -= size |
| 8966 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8967 |
} |
| 8968 |
i-- |
| 8969 |
dAtA[i] = 0x52 |
| 8970 |
} |
| 8971 |
return len(dAtA) - i, nil |
| 8972 |
} |
| 8973 |
func (m *OneofProtoTypes_RepBytes) MarshalTo(dAtA []byte) (int, error) { |
| 8974 |
size := m.Size() |
| 8975 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 8976 |
} |
| 8977 |
|
| 8978 |
func (m *OneofProtoTypes_RepBytes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 8979 |
i := len(dAtA) |
| 8980 |
if m.RepBytes != nil { |
| 8981 |
{ |
| 8982 |
size, err := m.RepBytes.MarshalToSizedBuffer(dAtA[:i]) |
| 8983 |
if err != nil { |
| 8984 |
return 0, err |
| 8985 |
} |
| 8986 |
i -= size |
| 8987 |
i = encodeVarintTypes(dAtA, i, uint64(size)) |
| 8988 |
} |
| 8989 |
i-- |
| 8990 |
dAtA[i] = 0x5a |
| 8991 |
} |
| 8992 |
return len(dAtA) - i, nil |
| 8993 |
} |
| 8994 |
func (m *OneofStdTypes) Marshal() (dAtA []byte, err error) { |
| 8995 |
size := m.Size() |
| 8996 |
dAtA = make([]byte, size) |
| 8997 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 8998 |
if err != nil { |
| 8999 |
return nil, err |
| 9000 |
} |
| 9001 |
return dAtA[:n], nil |
| 9002 |
} |
| 9003 |
|
| 9004 |
func (m *OneofStdTypes) MarshalTo(dAtA []byte) (int, error) { |
| 9005 |
size := m.Size() |
| 9006 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9007 |
} |
| 9008 |
|
| 9009 |
func (m *OneofStdTypes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9010 |
i := len(dAtA) |
| 9011 |
_ = i |
| 9012 |
var l int |
| 9013 |
_ = l |
| 9014 |
if m.XXX_unrecognized != nil { |
| 9015 |
i -= len(m.XXX_unrecognized) |
| 9016 |
copy(dAtA[i:], m.XXX_unrecognized) |
| 9017 |
} |
| 9018 |
if m.OneOfStdTimes != nil { |
| 9019 |
{ |
| 9020 |
size := m.OneOfStdTimes.Size() |
| 9021 |
i -= size |
| 9022 |
if _, err := m.OneOfStdTimes.MarshalTo(dAtA[i:]); err != nil { |
| 9023 |
return 0, err |
| 9024 |
} |
| 9025 |
} |
| 9026 |
} |
| 9027 |
return len(dAtA) - i, nil |
| 9028 |
} |
| 9029 |
|
| 9030 |
func (m *OneofStdTypes_Timestamp) MarshalTo(dAtA []byte) (int, error) { |
| 9031 |
size := m.Size() |
| 9032 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9033 |
} |
| 9034 |
|
| 9035 |
func (m *OneofStdTypes_Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9036 |
i := len(dAtA) |
| 9037 |
if m.Timestamp != nil { |
| 9038 |
n112, err112 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Timestamp):]) |
| 9039 |
if err112 != nil { |
| 9040 |
return 0, err112 |
| 9041 |
} |
| 9042 |
i -= n112 |
| 9043 |
i = encodeVarintTypes(dAtA, i, uint64(n112)) |
| 9044 |
i-- |
| 9045 |
dAtA[i] = 0xa |
| 9046 |
} |
| 9047 |
return len(dAtA) - i, nil |
| 9048 |
} |
| 9049 |
func (m *OneofStdTypes_Duration) MarshalTo(dAtA []byte) (int, error) { |
| 9050 |
size := m.Size() |
| 9051 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9052 |
} |
| 9053 |
|
| 9054 |
func (m *OneofStdTypes_Duration) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9055 |
i := len(dAtA) |
| 9056 |
if m.Duration != nil { |
| 9057 |
n113, err113 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.Duration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.Duration):]) |
| 9058 |
if err113 != nil { |
| 9059 |
return 0, err113 |
| 9060 |
} |
| 9061 |
i -= n113 |
| 9062 |
i = encodeVarintTypes(dAtA, i, uint64(n113)) |
| 9063 |
i-- |
| 9064 |
dAtA[i] = 0x12 |
| 9065 |
} |
| 9066 |
return len(dAtA) - i, nil |
| 9067 |
} |
| 9068 |
func (m *OneofStdTypes_RepDouble) MarshalTo(dAtA []byte) (int, error) { |
| 9069 |
size := m.Size() |
| 9070 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9071 |
} |
| 9072 |
|
| 9073 |
func (m *OneofStdTypes_RepDouble) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9074 |
i := len(dAtA) |
| 9075 |
if m.RepDouble != nil { |
| 9076 |
n114, err114 := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*m.RepDouble, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDouble(*m.RepDouble):]) |
| 9077 |
if err114 != nil { |
| 9078 |
return 0, err114 |
| 9079 |
} |
| 9080 |
i -= n114 |
| 9081 |
i = encodeVarintTypes(dAtA, i, uint64(n114)) |
| 9082 |
i-- |
| 9083 |
dAtA[i] = 0x1a |
| 9084 |
} |
| 9085 |
return len(dAtA) - i, nil |
| 9086 |
} |
| 9087 |
func (m *OneofStdTypes_RepFloat) MarshalTo(dAtA []byte) (int, error) { |
| 9088 |
size := m.Size() |
| 9089 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9090 |
} |
| 9091 |
|
| 9092 |
func (m *OneofStdTypes_RepFloat) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9093 |
i := len(dAtA) |
| 9094 |
if m.RepFloat != nil { |
| 9095 |
n115, err115 := github_com_gogo_protobuf_types.StdFloatMarshalTo(*m.RepFloat, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdFloat(*m.RepFloat):]) |
| 9096 |
if err115 != nil { |
| 9097 |
return 0, err115 |
| 9098 |
} |
| 9099 |
i -= n115 |
| 9100 |
i = encodeVarintTypes(dAtA, i, uint64(n115)) |
| 9101 |
i-- |
| 9102 |
dAtA[i] = 0x22 |
| 9103 |
} |
| 9104 |
return len(dAtA) - i, nil |
| 9105 |
} |
| 9106 |
func (m *OneofStdTypes_RepInt64) MarshalTo(dAtA []byte) (int, error) { |
| 9107 |
size := m.Size() |
| 9108 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9109 |
} |
| 9110 |
|
| 9111 |
func (m *OneofStdTypes_RepInt64) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9112 |
i := len(dAtA) |
| 9113 |
if m.RepInt64 != nil { |
| 9114 |
n116, err116 := github_com_gogo_protobuf_types.StdInt64MarshalTo(*m.RepInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt64(*m.RepInt64):]) |
| 9115 |
if err116 != nil { |
| 9116 |
return 0, err116 |
| 9117 |
} |
| 9118 |
i -= n116 |
| 9119 |
i = encodeVarintTypes(dAtA, i, uint64(n116)) |
| 9120 |
i-- |
| 9121 |
dAtA[i] = 0x2a |
| 9122 |
} |
| 9123 |
return len(dAtA) - i, nil |
| 9124 |
} |
| 9125 |
func (m *OneofStdTypes_RepUInt64) MarshalTo(dAtA []byte) (int, error) { |
| 9126 |
size := m.Size() |
| 9127 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9128 |
} |
| 9129 |
|
| 9130 |
func (m *OneofStdTypes_RepUInt64) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9131 |
i := len(dAtA) |
| 9132 |
if m.RepUInt64 != nil { |
| 9133 |
n117, err117 := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*m.RepUInt64, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.RepUInt64):]) |
| 9134 |
if err117 != nil { |
| 9135 |
return 0, err117 |
| 9136 |
} |
| 9137 |
i -= n117 |
| 9138 |
i = encodeVarintTypes(dAtA, i, uint64(n117)) |
| 9139 |
i-- |
| 9140 |
dAtA[i] = 0x32 |
| 9141 |
} |
| 9142 |
return len(dAtA) - i, nil |
| 9143 |
} |
| 9144 |
func (m *OneofStdTypes_RepInt32) MarshalTo(dAtA []byte) (int, error) { |
| 9145 |
size := m.Size() |
| 9146 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9147 |
} |
| 9148 |
|
| 9149 |
func (m *OneofStdTypes_RepInt32) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9150 |
i := len(dAtA) |
| 9151 |
if m.RepInt32 != nil { |
| 9152 |
n118, err118 := github_com_gogo_protobuf_types.StdInt32MarshalTo(*m.RepInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdInt32(*m.RepInt32):]) |
| 9153 |
if err118 != nil { |
| 9154 |
return 0, err118 |
| 9155 |
} |
| 9156 |
i -= n118 |
| 9157 |
i = encodeVarintTypes(dAtA, i, uint64(n118)) |
| 9158 |
i-- |
| 9159 |
dAtA[i] = 0x3a |
| 9160 |
} |
| 9161 |
return len(dAtA) - i, nil |
| 9162 |
} |
| 9163 |
func (m *OneofStdTypes_RepUInt32) MarshalTo(dAtA []byte) (int, error) { |
| 9164 |
size := m.Size() |
| 9165 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9166 |
} |
| 9167 |
|
| 9168 |
func (m *OneofStdTypes_RepUInt32) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9169 |
i := len(dAtA) |
| 9170 |
if m.RepUInt32 != nil { |
| 9171 |
n119, err119 := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*m.RepUInt32, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.RepUInt32):]) |
| 9172 |
if err119 != nil { |
| 9173 |
return 0, err119 |
| 9174 |
} |
| 9175 |
i -= n119 |
| 9176 |
i = encodeVarintTypes(dAtA, i, uint64(n119)) |
| 9177 |
i-- |
| 9178 |
dAtA[i] = 0x42 |
| 9179 |
} |
| 9180 |
return len(dAtA) - i, nil |
| 9181 |
} |
| 9182 |
func (m *OneofStdTypes_RepBool) MarshalTo(dAtA []byte) (int, error) { |
| 9183 |
size := m.Size() |
| 9184 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9185 |
} |
| 9186 |
|
| 9187 |
func (m *OneofStdTypes_RepBool) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9188 |
i := len(dAtA) |
| 9189 |
if m.RepBool != nil { |
| 9190 |
n120, err120 := github_com_gogo_protobuf_types.StdBoolMarshalTo(*m.RepBool, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBool(*m.RepBool):]) |
| 9191 |
if err120 != nil { |
| 9192 |
return 0, err120 |
| 9193 |
} |
| 9194 |
i -= n120 |
| 9195 |
i = encodeVarintTypes(dAtA, i, uint64(n120)) |
| 9196 |
i-- |
| 9197 |
dAtA[i] = 0x4a |
| 9198 |
} |
| 9199 |
return len(dAtA) - i, nil |
| 9200 |
} |
| 9201 |
func (m *OneofStdTypes_RepString) MarshalTo(dAtA []byte) (int, error) { |
| 9202 |
size := m.Size() |
| 9203 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9204 |
} |
| 9205 |
|
| 9206 |
func (m *OneofStdTypes_RepString) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9207 |
i := len(dAtA) |
| 9208 |
if m.RepString != nil { |
| 9209 |
n121, err121 := github_com_gogo_protobuf_types.StdStringMarshalTo(*m.RepString, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdString(*m.RepString):]) |
| 9210 |
if err121 != nil { |
| 9211 |
return 0, err121 |
| 9212 |
} |
| 9213 |
i -= n121 |
| 9214 |
i = encodeVarintTypes(dAtA, i, uint64(n121)) |
| 9215 |
i-- |
| 9216 |
dAtA[i] = 0x52 |
| 9217 |
} |
| 9218 |
return len(dAtA) - i, nil |
| 9219 |
} |
| 9220 |
func (m *OneofStdTypes_RepBytes) MarshalTo(dAtA []byte) (int, error) { |
| 9221 |
size := m.Size() |
| 9222 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 9223 |
} |
| 9224 |
|
| 9225 |
func (m *OneofStdTypes_RepBytes) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 9226 |
i := len(dAtA) |
| 9227 |
if m.RepBytes != nil { |
| 9228 |
n122, err122 := github_com_gogo_protobuf_types.StdBytesMarshalTo(*m.RepBytes, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdBytes(*m.RepBytes):]) |
| 9229 |
if err122 != nil { |
| 9230 |
return 0, err122 |
| 9231 |
} |
| 9232 |
i -= n122 |
| 9233 |
i = encodeVarintTypes(dAtA, i, uint64(n122)) |
| 9234 |
i-- |
| 9235 |
dAtA[i] = 0x5a |
| 9236 |
} |
| 9237 |
return len(dAtA) - i, nil |
| 9238 |
} |
| 9239 |
func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { |
| 9240 |
offset -= sovTypes(v) |
| 9241 |
base := offset |
| 9242 |
for v >= 1<<7 { |
| 9243 |
dAtA[offset] = uint8(v&0x7f | 0x80) |
| 9244 |
v >>= 7 |
| 9245 |
offset++ |
| 9246 |
} |
| 9247 |
dAtA[offset] = uint8(v) |
| 9248 |
return base |
| 9249 |
} |
| 9250 |
func NewPopulatedKnownTypes(r randyTypes, easy bool) *KnownTypes { |
| 9251 |
this := &KnownTypes{} |
| 9252 |
if r.Intn(5) != 0 { |
| 9253 |
this.Dur = types.NewPopulatedDuration(r, easy) |
| 9254 |
} |
| 9255 |
if r.Intn(5) != 0 { |
| 9256 |
this.Ts = types.NewPopulatedTimestamp(r, easy) |
| 9257 |
} |
| 9258 |
if r.Intn(5) != 0 { |
| 9259 |
this.Dbl = types.NewPopulatedDoubleValue(r, easy) |
| 9260 |
} |
| 9261 |
if r.Intn(5) != 0 { |
| 9262 |
this.Flt = types.NewPopulatedFloatValue(r, easy) |
| 9263 |
} |
| 9264 |
if r.Intn(5) != 0 { |
| 9265 |
this.I64 = types.NewPopulatedInt64Value(r, easy) |
| 9266 |
} |
| 9267 |
if r.Intn(5) != 0 { |
| 9268 |
this.U64 = types.NewPopulatedUInt64Value(r, easy) |
| 9269 |
} |
| 9270 |
if r.Intn(5) != 0 { |
| 9271 |
this.I32 = types.NewPopulatedInt32Value(r, easy) |
| 9272 |
} |
| 9273 |
if r.Intn(5) != 0 { |
| 9274 |
this.U32 = types.NewPopulatedUInt32Value(r, easy) |
| 9275 |
} |
| 9276 |
if r.Intn(5) != 0 { |
| 9277 |
this.Bool = types.NewPopulatedBoolValue(r, easy) |
| 9278 |
} |
| 9279 |
if r.Intn(5) != 0 { |
| 9280 |
this.Str = types.NewPopulatedStringValue(r, easy) |
| 9281 |
} |
| 9282 |
if r.Intn(5) != 0 { |
| 9283 |
this.Bytes = types.NewPopulatedBytesValue(r, easy) |
| 9284 |
} |
| 9285 |
if r.Intn(5) != 0 { |
| 9286 |
this.St = types.NewPopulatedStruct(r, easy) |
| 9287 |
} |
| 9288 |
if !easy && r.Intn(10) != 0 { |
| 9289 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 13) |
| 9290 |
} |
| 9291 |
return this |
| 9292 |
} |
| 9293 |
|
| 9294 |
func NewPopulatedProtoTypes(r randyTypes, easy bool) *ProtoTypes { |
| 9295 |
this := &ProtoTypes{} |
| 9296 |
if r.Intn(5) != 0 { |
| 9297 |
this.NullableTimestamp = types.NewPopulatedTimestamp(r, easy) |
| 9298 |
} |
| 9299 |
if r.Intn(5) != 0 { |
| 9300 |
this.NullableDuration = types.NewPopulatedDuration(r, easy) |
| 9301 |
} |
| 9302 |
if r.Intn(5) != 0 { |
| 9303 |
this.NullableDouble = types.NewPopulatedDoubleValue(r, easy) |
| 9304 |
} |
| 9305 |
if r.Intn(5) != 0 { |
| 9306 |
this.NullableFloat = types.NewPopulatedFloatValue(r, easy) |
| 9307 |
} |
| 9308 |
if r.Intn(5) != 0 { |
| 9309 |
this.NullableInt64 = types.NewPopulatedInt64Value(r, easy) |
| 9310 |
} |
| 9311 |
if r.Intn(5) != 0 { |
| 9312 |
this.NullableUInt64 = types.NewPopulatedUInt64Value(r, easy) |
| 9313 |
} |
| 9314 |
if r.Intn(5) != 0 { |
| 9315 |
this.NullableInt32 = types.NewPopulatedInt32Value(r, easy) |
| 9316 |
} |
| 9317 |
if r.Intn(5) != 0 { |
| 9318 |
this.NullableUInt32 = types.NewPopulatedUInt32Value(r, easy) |
| 9319 |
} |
| 9320 |
if r.Intn(5) != 0 { |
| 9321 |
this.NullableBool = types.NewPopulatedBoolValue(r, easy) |
| 9322 |
} |
| 9323 |
if r.Intn(5) != 0 { |
| 9324 |
this.NullableString = types.NewPopulatedStringValue(r, easy) |
| 9325 |
} |
| 9326 |
if r.Intn(5) != 0 { |
| 9327 |
this.NullableBytes = types.NewPopulatedBytesValue(r, easy) |
| 9328 |
} |
| 9329 |
v1 := types.NewPopulatedTimestamp(r, easy) |
| 9330 |
this.Timestamp = *v1 |
| 9331 |
v2 := types.NewPopulatedDuration(r, easy) |
| 9332 |
this.Duration = *v2 |
| 9333 |
v3 := types.NewPopulatedDoubleValue(r, easy) |
| 9334 |
this.NonnullDouble = *v3 |
| 9335 |
v4 := types.NewPopulatedFloatValue(r, easy) |
| 9336 |
this.NonnullFloat = *v4 |
| 9337 |
v5 := types.NewPopulatedInt64Value(r, easy) |
| 9338 |
this.NonnullInt64 = *v5 |
| 9339 |
v6 := types.NewPopulatedUInt64Value(r, easy) |
| 9340 |
this.NonnullUInt64 = *v6 |
| 9341 |
v7 := types.NewPopulatedInt32Value(r, easy) |
| 9342 |
this.NonnullInt32 = *v7 |
| 9343 |
v8 := types.NewPopulatedUInt32Value(r, easy) |
| 9344 |
this.NonnullUInt32 = *v8 |
| 9345 |
v9 := types.NewPopulatedBoolValue(r, easy) |
| 9346 |
this.NonnullBool = *v9 |
| 9347 |
v10 := types.NewPopulatedStringValue(r, easy) |
| 9348 |
this.NonnullString = *v10 |
| 9349 |
v11 := types.NewPopulatedBytesValue(r, easy) |
| 9350 |
this.NonnullBytes = *v11 |
| 9351 |
if !easy && r.Intn(10) != 0 { |
| 9352 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9353 |
} |
| 9354 |
return this |
| 9355 |
} |
| 9356 |
|
| 9357 |
func NewPopulatedStdTypes(r randyTypes, easy bool) *StdTypes { |
| 9358 |
this := &StdTypes{} |
| 9359 |
if r.Intn(5) != 0 { |
| 9360 |
this.NullableTimestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9361 |
} |
| 9362 |
if r.Intn(5) != 0 { |
| 9363 |
this.NullableDuration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9364 |
} |
| 9365 |
if r.Intn(5) != 0 { |
| 9366 |
this.NullableDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 9367 |
} |
| 9368 |
if r.Intn(5) != 0 { |
| 9369 |
this.NullableFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 9370 |
} |
| 9371 |
if r.Intn(5) != 0 { |
| 9372 |
this.NullableInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 9373 |
} |
| 9374 |
if r.Intn(5) != 0 { |
| 9375 |
this.NullableUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 9376 |
} |
| 9377 |
if r.Intn(5) != 0 { |
| 9378 |
this.NullableInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 9379 |
} |
| 9380 |
if r.Intn(5) != 0 { |
| 9381 |
this.NullableUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 9382 |
} |
| 9383 |
if r.Intn(5) != 0 { |
| 9384 |
this.NullableBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 9385 |
} |
| 9386 |
if r.Intn(5) != 0 { |
| 9387 |
this.NullableString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 9388 |
} |
| 9389 |
if r.Intn(5) != 0 { |
| 9390 |
this.NullableBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 9391 |
} |
| 9392 |
v12 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9393 |
this.Timestamp = *v12 |
| 9394 |
v13 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9395 |
this.Duration = *v13 |
| 9396 |
v14 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 9397 |
this.NonnullDouble = *v14 |
| 9398 |
v15 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 9399 |
this.NonnullFloat = *v15 |
| 9400 |
v16 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 9401 |
this.NonnullInt64 = *v16 |
| 9402 |
v17 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 9403 |
this.NonnullUInt64 = *v17 |
| 9404 |
v18 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 9405 |
this.NonnullInt32 = *v18 |
| 9406 |
v19 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 9407 |
this.NonnullUInt32 = *v19 |
| 9408 |
v20 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 9409 |
this.NonnullBool = *v20 |
| 9410 |
v21 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 9411 |
this.NonnullString = *v21 |
| 9412 |
v22 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 9413 |
this.NonnullBytes = *v22 |
| 9414 |
if !easy && r.Intn(10) != 0 { |
| 9415 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9416 |
} |
| 9417 |
return this |
| 9418 |
} |
| 9419 |
|
| 9420 |
func NewPopulatedRepProtoTypes(r randyTypes, easy bool) *RepProtoTypes { |
| 9421 |
this := &RepProtoTypes{} |
| 9422 |
if r.Intn(5) != 0 { |
| 9423 |
v23 := r.Intn(5) |
| 9424 |
this.NullableTimestamps = make([]*types.Timestamp, v23) |
| 9425 |
for i := 0; i < v23; i++ { |
| 9426 |
this.NullableTimestamps[i] = types.NewPopulatedTimestamp(r, easy) |
| 9427 |
} |
| 9428 |
} |
| 9429 |
if r.Intn(5) != 0 { |
| 9430 |
v24 := r.Intn(5) |
| 9431 |
this.NullableDurations = make([]*types.Duration, v24) |
| 9432 |
for i := 0; i < v24; i++ { |
| 9433 |
this.NullableDurations[i] = types.NewPopulatedDuration(r, easy) |
| 9434 |
} |
| 9435 |
} |
| 9436 |
if r.Intn(5) != 0 { |
| 9437 |
v25 := r.Intn(5) |
| 9438 |
this.Timestamps = make([]types.Timestamp, v25) |
| 9439 |
for i := 0; i < v25; i++ { |
| 9440 |
v26 := types.NewPopulatedTimestamp(r, easy) |
| 9441 |
this.Timestamps[i] = *v26 |
| 9442 |
} |
| 9443 |
} |
| 9444 |
if r.Intn(5) != 0 { |
| 9445 |
v27 := r.Intn(5) |
| 9446 |
this.Durations = make([]types.Duration, v27) |
| 9447 |
for i := 0; i < v27; i++ { |
| 9448 |
v28 := types.NewPopulatedDuration(r, easy) |
| 9449 |
this.Durations[i] = *v28 |
| 9450 |
} |
| 9451 |
} |
| 9452 |
if r.Intn(5) != 0 { |
| 9453 |
v29 := r.Intn(5) |
| 9454 |
this.NullableDouble = make([]*types.DoubleValue, v29) |
| 9455 |
for i := 0; i < v29; i++ { |
| 9456 |
this.NullableDouble[i] = types.NewPopulatedDoubleValue(r, easy) |
| 9457 |
} |
| 9458 |
} |
| 9459 |
if r.Intn(5) != 0 { |
| 9460 |
v30 := r.Intn(5) |
| 9461 |
this.NonnullDouble = make([]types.DoubleValue, v30) |
| 9462 |
for i := 0; i < v30; i++ { |
| 9463 |
v31 := types.NewPopulatedDoubleValue(r, easy) |
| 9464 |
this.NonnullDouble[i] = *v31 |
| 9465 |
} |
| 9466 |
} |
| 9467 |
if r.Intn(5) != 0 { |
| 9468 |
v32 := r.Intn(5) |
| 9469 |
this.NullableFloat = make([]*types.FloatValue, v32) |
| 9470 |
for i := 0; i < v32; i++ { |
| 9471 |
this.NullableFloat[i] = types.NewPopulatedFloatValue(r, easy) |
| 9472 |
} |
| 9473 |
} |
| 9474 |
if r.Intn(5) != 0 { |
| 9475 |
v33 := r.Intn(5) |
| 9476 |
this.NonnullFloat = make([]types.FloatValue, v33) |
| 9477 |
for i := 0; i < v33; i++ { |
| 9478 |
v34 := types.NewPopulatedFloatValue(r, easy) |
| 9479 |
this.NonnullFloat[i] = *v34 |
| 9480 |
} |
| 9481 |
} |
| 9482 |
if r.Intn(5) != 0 { |
| 9483 |
v35 := r.Intn(5) |
| 9484 |
this.NullableInt64 = make([]*types.Int64Value, v35) |
| 9485 |
for i := 0; i < v35; i++ { |
| 9486 |
this.NullableInt64[i] = types.NewPopulatedInt64Value(r, easy) |
| 9487 |
} |
| 9488 |
} |
| 9489 |
if r.Intn(5) != 0 { |
| 9490 |
v36 := r.Intn(5) |
| 9491 |
this.NonnullInt64 = make([]types.Int64Value, v36) |
| 9492 |
for i := 0; i < v36; i++ { |
| 9493 |
v37 := types.NewPopulatedInt64Value(r, easy) |
| 9494 |
this.NonnullInt64[i] = *v37 |
| 9495 |
} |
| 9496 |
} |
| 9497 |
if r.Intn(5) != 0 { |
| 9498 |
v38 := r.Intn(5) |
| 9499 |
this.NullableUInt64 = make([]*types.UInt64Value, v38) |
| 9500 |
for i := 0; i < v38; i++ { |
| 9501 |
this.NullableUInt64[i] = types.NewPopulatedUInt64Value(r, easy) |
| 9502 |
} |
| 9503 |
} |
| 9504 |
if r.Intn(5) != 0 { |
| 9505 |
v39 := r.Intn(5) |
| 9506 |
this.NonnullUInt64 = make([]types.UInt64Value, v39) |
| 9507 |
for i := 0; i < v39; i++ { |
| 9508 |
v40 := types.NewPopulatedUInt64Value(r, easy) |
| 9509 |
this.NonnullUInt64[i] = *v40 |
| 9510 |
} |
| 9511 |
} |
| 9512 |
if r.Intn(5) != 0 { |
| 9513 |
v41 := r.Intn(5) |
| 9514 |
this.NullableInt32 = make([]*types.Int32Value, v41) |
| 9515 |
for i := 0; i < v41; i++ { |
| 9516 |
this.NullableInt32[i] = types.NewPopulatedInt32Value(r, easy) |
| 9517 |
} |
| 9518 |
} |
| 9519 |
if r.Intn(5) != 0 { |
| 9520 |
v42 := r.Intn(5) |
| 9521 |
this.NonnullInt32 = make([]types.Int32Value, v42) |
| 9522 |
for i := 0; i < v42; i++ { |
| 9523 |
v43 := types.NewPopulatedInt32Value(r, easy) |
| 9524 |
this.NonnullInt32[i] = *v43 |
| 9525 |
} |
| 9526 |
} |
| 9527 |
if r.Intn(5) != 0 { |
| 9528 |
v44 := r.Intn(5) |
| 9529 |
this.NullableUInt32 = make([]*types.UInt32Value, v44) |
| 9530 |
for i := 0; i < v44; i++ { |
| 9531 |
this.NullableUInt32[i] = types.NewPopulatedUInt32Value(r, easy) |
| 9532 |
} |
| 9533 |
} |
| 9534 |
if r.Intn(5) != 0 { |
| 9535 |
v45 := r.Intn(5) |
| 9536 |
this.NonnullUInt32 = make([]types.UInt32Value, v45) |
| 9537 |
for i := 0; i < v45; i++ { |
| 9538 |
v46 := types.NewPopulatedUInt32Value(r, easy) |
| 9539 |
this.NonnullUInt32[i] = *v46 |
| 9540 |
} |
| 9541 |
} |
| 9542 |
if r.Intn(5) != 0 { |
| 9543 |
v47 := r.Intn(5) |
| 9544 |
this.NullableBool = make([]*types.BoolValue, v47) |
| 9545 |
for i := 0; i < v47; i++ { |
| 9546 |
this.NullableBool[i] = types.NewPopulatedBoolValue(r, easy) |
| 9547 |
} |
| 9548 |
} |
| 9549 |
if r.Intn(5) != 0 { |
| 9550 |
v48 := r.Intn(5) |
| 9551 |
this.NonnullBool = make([]types.BoolValue, v48) |
| 9552 |
for i := 0; i < v48; i++ { |
| 9553 |
v49 := types.NewPopulatedBoolValue(r, easy) |
| 9554 |
this.NonnullBool[i] = *v49 |
| 9555 |
} |
| 9556 |
} |
| 9557 |
if r.Intn(5) != 0 { |
| 9558 |
v50 := r.Intn(5) |
| 9559 |
this.NullableString = make([]*types.StringValue, v50) |
| 9560 |
for i := 0; i < v50; i++ { |
| 9561 |
this.NullableString[i] = types.NewPopulatedStringValue(r, easy) |
| 9562 |
} |
| 9563 |
} |
| 9564 |
if r.Intn(5) != 0 { |
| 9565 |
v51 := r.Intn(5) |
| 9566 |
this.NonnullString = make([]types.StringValue, v51) |
| 9567 |
for i := 0; i < v51; i++ { |
| 9568 |
v52 := types.NewPopulatedStringValue(r, easy) |
| 9569 |
this.NonnullString[i] = *v52 |
| 9570 |
} |
| 9571 |
} |
| 9572 |
if r.Intn(5) != 0 { |
| 9573 |
v53 := r.Intn(5) |
| 9574 |
this.NullableBytes = make([]*types.BytesValue, v53) |
| 9575 |
for i := 0; i < v53; i++ { |
| 9576 |
this.NullableBytes[i] = types.NewPopulatedBytesValue(r, easy) |
| 9577 |
} |
| 9578 |
} |
| 9579 |
if r.Intn(5) != 0 { |
| 9580 |
v54 := r.Intn(5) |
| 9581 |
this.NonnullBytes = make([]types.BytesValue, v54) |
| 9582 |
for i := 0; i < v54; i++ { |
| 9583 |
v55 := types.NewPopulatedBytesValue(r, easy) |
| 9584 |
this.NonnullBytes[i] = *v55 |
| 9585 |
} |
| 9586 |
} |
| 9587 |
if !easy && r.Intn(10) != 0 { |
| 9588 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9589 |
} |
| 9590 |
return this |
| 9591 |
} |
| 9592 |
|
| 9593 |
func NewPopulatedRepStdTypes(r randyTypes, easy bool) *RepStdTypes { |
| 9594 |
this := &RepStdTypes{} |
| 9595 |
if r.Intn(5) != 0 { |
| 9596 |
v56 := r.Intn(5) |
| 9597 |
this.NullableTimestamps = make([]*time.Time, v56) |
| 9598 |
for i := 0; i < v56; i++ { |
| 9599 |
this.NullableTimestamps[i] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9600 |
} |
| 9601 |
} |
| 9602 |
if r.Intn(5) != 0 { |
| 9603 |
v57 := r.Intn(5) |
| 9604 |
this.NullableDurations = make([]*time.Duration, v57) |
| 9605 |
for i := 0; i < v57; i++ { |
| 9606 |
this.NullableDurations[i] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9607 |
} |
| 9608 |
} |
| 9609 |
if r.Intn(5) != 0 { |
| 9610 |
v58 := r.Intn(5) |
| 9611 |
this.Timestamps = make([]time.Time, v58) |
| 9612 |
for i := 0; i < v58; i++ { |
| 9613 |
v59 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9614 |
this.Timestamps[i] = *v59 |
| 9615 |
} |
| 9616 |
} |
| 9617 |
if r.Intn(5) != 0 { |
| 9618 |
v60 := r.Intn(5) |
| 9619 |
this.Durations = make([]time.Duration, v60) |
| 9620 |
for i := 0; i < v60; i++ { |
| 9621 |
v61 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9622 |
this.Durations[i] = *v61 |
| 9623 |
} |
| 9624 |
} |
| 9625 |
if r.Intn(5) != 0 { |
| 9626 |
v62 := r.Intn(5) |
| 9627 |
this.NullableDouble = make([]*float64, v62) |
| 9628 |
for i := 0; i < v62; i++ { |
| 9629 |
this.NullableDouble[i] = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 9630 |
} |
| 9631 |
} |
| 9632 |
if r.Intn(5) != 0 { |
| 9633 |
v63 := r.Intn(5) |
| 9634 |
this.NonnullDouble = make([]float64, v63) |
| 9635 |
for i := 0; i < v63; i++ { |
| 9636 |
v64 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 9637 |
this.NonnullDouble[i] = *v64 |
| 9638 |
} |
| 9639 |
} |
| 9640 |
if r.Intn(5) != 0 { |
| 9641 |
v65 := r.Intn(5) |
| 9642 |
this.NullableFloat = make([]*float32, v65) |
| 9643 |
for i := 0; i < v65; i++ { |
| 9644 |
this.NullableFloat[i] = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 9645 |
} |
| 9646 |
} |
| 9647 |
if r.Intn(5) != 0 { |
| 9648 |
v66 := r.Intn(5) |
| 9649 |
this.NonnullFloat = make([]float32, v66) |
| 9650 |
for i := 0; i < v66; i++ { |
| 9651 |
v67 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 9652 |
this.NonnullFloat[i] = *v67 |
| 9653 |
} |
| 9654 |
} |
| 9655 |
if r.Intn(5) != 0 { |
| 9656 |
v68 := r.Intn(5) |
| 9657 |
this.NullableInt64 = make([]*int64, v68) |
| 9658 |
for i := 0; i < v68; i++ { |
| 9659 |
this.NullableInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 9660 |
} |
| 9661 |
} |
| 9662 |
if r.Intn(5) != 0 { |
| 9663 |
v69 := r.Intn(5) |
| 9664 |
this.NonnullInt64 = make([]int64, v69) |
| 9665 |
for i := 0; i < v69; i++ { |
| 9666 |
v70 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 9667 |
this.NonnullInt64[i] = *v70 |
| 9668 |
} |
| 9669 |
} |
| 9670 |
if r.Intn(5) != 0 { |
| 9671 |
v71 := r.Intn(5) |
| 9672 |
this.NullableUInt64 = make([]*uint64, v71) |
| 9673 |
for i := 0; i < v71; i++ { |
| 9674 |
this.NullableUInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 9675 |
} |
| 9676 |
} |
| 9677 |
if r.Intn(5) != 0 { |
| 9678 |
v72 := r.Intn(5) |
| 9679 |
this.NonnullUInt64 = make([]uint64, v72) |
| 9680 |
for i := 0; i < v72; i++ { |
| 9681 |
v73 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 9682 |
this.NonnullUInt64[i] = *v73 |
| 9683 |
} |
| 9684 |
} |
| 9685 |
if r.Intn(5) != 0 { |
| 9686 |
v74 := r.Intn(5) |
| 9687 |
this.NullableInt32 = make([]*int32, v74) |
| 9688 |
for i := 0; i < v74; i++ { |
| 9689 |
this.NullableInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 9690 |
} |
| 9691 |
} |
| 9692 |
if r.Intn(5) != 0 { |
| 9693 |
v75 := r.Intn(5) |
| 9694 |
this.NonnullInt32 = make([]int32, v75) |
| 9695 |
for i := 0; i < v75; i++ { |
| 9696 |
v76 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 9697 |
this.NonnullInt32[i] = *v76 |
| 9698 |
} |
| 9699 |
} |
| 9700 |
if r.Intn(5) != 0 { |
| 9701 |
v77 := r.Intn(5) |
| 9702 |
this.NullableUInt32 = make([]*uint32, v77) |
| 9703 |
for i := 0; i < v77; i++ { |
| 9704 |
this.NullableUInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 9705 |
} |
| 9706 |
} |
| 9707 |
if r.Intn(5) != 0 { |
| 9708 |
v78 := r.Intn(5) |
| 9709 |
this.NonnullUInt32 = make([]uint32, v78) |
| 9710 |
for i := 0; i < v78; i++ { |
| 9711 |
v79 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 9712 |
this.NonnullUInt32[i] = *v79 |
| 9713 |
} |
| 9714 |
} |
| 9715 |
if r.Intn(5) != 0 { |
| 9716 |
v80 := r.Intn(5) |
| 9717 |
this.NullableBool = make([]*bool, v80) |
| 9718 |
for i := 0; i < v80; i++ { |
| 9719 |
this.NullableBool[i] = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 9720 |
} |
| 9721 |
} |
| 9722 |
if r.Intn(5) != 0 { |
| 9723 |
v81 := r.Intn(5) |
| 9724 |
this.NonnullBool = make([]bool, v81) |
| 9725 |
for i := 0; i < v81; i++ { |
| 9726 |
v82 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 9727 |
this.NonnullBool[i] = *v82 |
| 9728 |
} |
| 9729 |
} |
| 9730 |
if r.Intn(5) != 0 { |
| 9731 |
v83 := r.Intn(5) |
| 9732 |
this.NullableString = make([]*string, v83) |
| 9733 |
for i := 0; i < v83; i++ { |
| 9734 |
this.NullableString[i] = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 9735 |
} |
| 9736 |
} |
| 9737 |
if r.Intn(5) != 0 { |
| 9738 |
v84 := r.Intn(5) |
| 9739 |
this.NonnullString = make([]string, v84) |
| 9740 |
for i := 0; i < v84; i++ { |
| 9741 |
v85 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 9742 |
this.NonnullString[i] = *v85 |
| 9743 |
} |
| 9744 |
} |
| 9745 |
if r.Intn(5) != 0 { |
| 9746 |
v86 := r.Intn(5) |
| 9747 |
this.NullableBytes = make([]*[]byte, v86) |
| 9748 |
for i := 0; i < v86; i++ { |
| 9749 |
this.NullableBytes[i] = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 9750 |
} |
| 9751 |
} |
| 9752 |
if r.Intn(5) != 0 { |
| 9753 |
v87 := r.Intn(5) |
| 9754 |
this.NonnullBytes = make([][]byte, v87) |
| 9755 |
for i := 0; i < v87; i++ { |
| 9756 |
v88 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 9757 |
this.NonnullBytes[i] = *v88 |
| 9758 |
} |
| 9759 |
} |
| 9760 |
if !easy && r.Intn(10) != 0 { |
| 9761 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9762 |
} |
| 9763 |
return this |
| 9764 |
} |
| 9765 |
|
| 9766 |
func NewPopulatedMapProtoTypes(r randyTypes, easy bool) *MapProtoTypes { |
| 9767 |
this := &MapProtoTypes{} |
| 9768 |
if r.Intn(5) != 0 { |
| 9769 |
v89 := r.Intn(10) |
| 9770 |
this.NullableTimestamp = make(map[int32]*types.Timestamp) |
| 9771 |
for i := 0; i < v89; i++ { |
| 9772 |
this.NullableTimestamp[int32(r.Int31())] = types.NewPopulatedTimestamp(r, easy) |
| 9773 |
} |
| 9774 |
} |
| 9775 |
if r.Intn(5) != 0 { |
| 9776 |
v90 := r.Intn(10) |
| 9777 |
this.Timestamp = make(map[int32]types.Timestamp) |
| 9778 |
for i := 0; i < v90; i++ { |
| 9779 |
this.Timestamp[int32(r.Int31())] = *types.NewPopulatedTimestamp(r, easy) |
| 9780 |
} |
| 9781 |
} |
| 9782 |
if r.Intn(5) != 0 { |
| 9783 |
v91 := r.Intn(10) |
| 9784 |
this.NullableDuration = make(map[int32]*types.Duration) |
| 9785 |
for i := 0; i < v91; i++ { |
| 9786 |
this.NullableDuration[int32(r.Int31())] = types.NewPopulatedDuration(r, easy) |
| 9787 |
} |
| 9788 |
} |
| 9789 |
if r.Intn(5) != 0 { |
| 9790 |
v92 := r.Intn(10) |
| 9791 |
this.Duration = make(map[int32]types.Duration) |
| 9792 |
for i := 0; i < v92; i++ { |
| 9793 |
this.Duration[int32(r.Int31())] = *types.NewPopulatedDuration(r, easy) |
| 9794 |
} |
| 9795 |
} |
| 9796 |
if r.Intn(5) != 0 { |
| 9797 |
v93 := r.Intn(10) |
| 9798 |
this.NullableDouble = make(map[int32]*types.DoubleValue) |
| 9799 |
for i := 0; i < v93; i++ { |
| 9800 |
this.NullableDouble[int32(r.Int31())] = types.NewPopulatedDoubleValue(r, easy) |
| 9801 |
} |
| 9802 |
} |
| 9803 |
if r.Intn(5) != 0 { |
| 9804 |
v94 := r.Intn(10) |
| 9805 |
this.NonnullDouble = make(map[int32]types.DoubleValue) |
| 9806 |
for i := 0; i < v94; i++ { |
| 9807 |
this.NonnullDouble[int32(r.Int31())] = *types.NewPopulatedDoubleValue(r, easy) |
| 9808 |
} |
| 9809 |
} |
| 9810 |
if r.Intn(5) != 0 { |
| 9811 |
v95 := r.Intn(10) |
| 9812 |
this.NullableFloat = make(map[int32]*types.FloatValue) |
| 9813 |
for i := 0; i < v95; i++ { |
| 9814 |
this.NullableFloat[int32(r.Int31())] = types.NewPopulatedFloatValue(r, easy) |
| 9815 |
} |
| 9816 |
} |
| 9817 |
if r.Intn(5) != 0 { |
| 9818 |
v96 := r.Intn(10) |
| 9819 |
this.NonnullFloat = make(map[int32]types.FloatValue) |
| 9820 |
for i := 0; i < v96; i++ { |
| 9821 |
this.NonnullFloat[int32(r.Int31())] = *types.NewPopulatedFloatValue(r, easy) |
| 9822 |
} |
| 9823 |
} |
| 9824 |
if r.Intn(5) != 0 { |
| 9825 |
v97 := r.Intn(10) |
| 9826 |
this.NullableInt64 = make(map[int32]*types.Int64Value) |
| 9827 |
for i := 0; i < v97; i++ { |
| 9828 |
this.NullableInt64[int32(r.Int31())] = types.NewPopulatedInt64Value(r, easy) |
| 9829 |
} |
| 9830 |
} |
| 9831 |
if r.Intn(5) != 0 { |
| 9832 |
v98 := r.Intn(10) |
| 9833 |
this.NonnullInt64 = make(map[int32]types.Int64Value) |
| 9834 |
for i := 0; i < v98; i++ { |
| 9835 |
this.NonnullInt64[int32(r.Int31())] = *types.NewPopulatedInt64Value(r, easy) |
| 9836 |
} |
| 9837 |
} |
| 9838 |
if r.Intn(5) != 0 { |
| 9839 |
v99 := r.Intn(10) |
| 9840 |
this.NullableUInt64 = make(map[int32]*types.UInt64Value) |
| 9841 |
for i := 0; i < v99; i++ { |
| 9842 |
this.NullableUInt64[int32(r.Int31())] = types.NewPopulatedUInt64Value(r, easy) |
| 9843 |
} |
| 9844 |
} |
| 9845 |
if r.Intn(5) != 0 { |
| 9846 |
v100 := r.Intn(10) |
| 9847 |
this.NonnullUInt64 = make(map[int32]types.UInt64Value) |
| 9848 |
for i := 0; i < v100; i++ { |
| 9849 |
this.NonnullUInt64[int32(r.Int31())] = *types.NewPopulatedUInt64Value(r, easy) |
| 9850 |
} |
| 9851 |
} |
| 9852 |
if r.Intn(5) != 0 { |
| 9853 |
v101 := r.Intn(10) |
| 9854 |
this.NullableInt32 = make(map[int32]*types.Int32Value) |
| 9855 |
for i := 0; i < v101; i++ { |
| 9856 |
this.NullableInt32[int32(r.Int31())] = types.NewPopulatedInt32Value(r, easy) |
| 9857 |
} |
| 9858 |
} |
| 9859 |
if r.Intn(5) != 0 { |
| 9860 |
v102 := r.Intn(10) |
| 9861 |
this.NonnullInt32 = make(map[int32]types.Int32Value) |
| 9862 |
for i := 0; i < v102; i++ { |
| 9863 |
this.NonnullInt32[int32(r.Int31())] = *types.NewPopulatedInt32Value(r, easy) |
| 9864 |
} |
| 9865 |
} |
| 9866 |
if r.Intn(5) != 0 { |
| 9867 |
v103 := r.Intn(10) |
| 9868 |
this.NullableUInt32 = make(map[int32]*types.UInt32Value) |
| 9869 |
for i := 0; i < v103; i++ { |
| 9870 |
this.NullableUInt32[int32(r.Int31())] = types.NewPopulatedUInt32Value(r, easy) |
| 9871 |
} |
| 9872 |
} |
| 9873 |
if r.Intn(5) != 0 { |
| 9874 |
v104 := r.Intn(10) |
| 9875 |
this.NonnullUInt32 = make(map[int32]types.UInt32Value) |
| 9876 |
for i := 0; i < v104; i++ { |
| 9877 |
this.NonnullUInt32[int32(r.Int31())] = *types.NewPopulatedUInt32Value(r, easy) |
| 9878 |
} |
| 9879 |
} |
| 9880 |
if r.Intn(5) != 0 { |
| 9881 |
v105 := r.Intn(10) |
| 9882 |
this.NullableBool = make(map[int32]*types.BoolValue) |
| 9883 |
for i := 0; i < v105; i++ { |
| 9884 |
this.NullableBool[int32(r.Int31())] = types.NewPopulatedBoolValue(r, easy) |
| 9885 |
} |
| 9886 |
} |
| 9887 |
if r.Intn(5) != 0 { |
| 9888 |
v106 := r.Intn(10) |
| 9889 |
this.NonnullBool = make(map[int32]types.BoolValue) |
| 9890 |
for i := 0; i < v106; i++ { |
| 9891 |
this.NonnullBool[int32(r.Int31())] = *types.NewPopulatedBoolValue(r, easy) |
| 9892 |
} |
| 9893 |
} |
| 9894 |
if r.Intn(5) != 0 { |
| 9895 |
v107 := r.Intn(10) |
| 9896 |
this.NullableString = make(map[int32]*types.StringValue) |
| 9897 |
for i := 0; i < v107; i++ { |
| 9898 |
this.NullableString[int32(r.Int31())] = types.NewPopulatedStringValue(r, easy) |
| 9899 |
} |
| 9900 |
} |
| 9901 |
if r.Intn(5) != 0 { |
| 9902 |
v108 := r.Intn(10) |
| 9903 |
this.NonnullString = make(map[int32]types.StringValue) |
| 9904 |
for i := 0; i < v108; i++ { |
| 9905 |
this.NonnullString[int32(r.Int31())] = *types.NewPopulatedStringValue(r, easy) |
| 9906 |
} |
| 9907 |
} |
| 9908 |
if r.Intn(5) != 0 { |
| 9909 |
v109 := r.Intn(10) |
| 9910 |
this.NullableBytes = make(map[int32]*types.BytesValue) |
| 9911 |
for i := 0; i < v109; i++ { |
| 9912 |
this.NullableBytes[int32(r.Int31())] = types.NewPopulatedBytesValue(r, easy) |
| 9913 |
} |
| 9914 |
} |
| 9915 |
if r.Intn(5) != 0 { |
| 9916 |
v110 := r.Intn(10) |
| 9917 |
this.NonnullBytes = make(map[int32]types.BytesValue) |
| 9918 |
for i := 0; i < v110; i++ { |
| 9919 |
this.NonnullBytes[int32(r.Int31())] = *types.NewPopulatedBytesValue(r, easy) |
| 9920 |
} |
| 9921 |
} |
| 9922 |
if !easy && r.Intn(10) != 0 { |
| 9923 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 9924 |
} |
| 9925 |
return this |
| 9926 |
} |
| 9927 |
|
| 9928 |
func NewPopulatedMapStdTypes(r randyTypes, easy bool) *MapStdTypes { |
| 9929 |
this := &MapStdTypes{} |
| 9930 |
if r.Intn(5) != 0 { |
| 9931 |
v111 := r.Intn(10) |
| 9932 |
this.NullableTimestamp = make(map[int32]*time.Time) |
| 9933 |
for i := 0; i < v111; i++ { |
| 9934 |
this.NullableTimestamp[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9935 |
} |
| 9936 |
} |
| 9937 |
if r.Intn(5) != 0 { |
| 9938 |
v112 := r.Intn(10) |
| 9939 |
this.Timestamp = make(map[int32]time.Time) |
| 9940 |
for i := 0; i < v112; i++ { |
| 9941 |
this.Timestamp[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 9942 |
} |
| 9943 |
} |
| 9944 |
if r.Intn(5) != 0 { |
| 9945 |
v113 := r.Intn(10) |
| 9946 |
this.NullableDuration = make(map[int32]*time.Duration) |
| 9947 |
for i := 0; i < v113; i++ { |
| 9948 |
this.NullableDuration[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9949 |
} |
| 9950 |
} |
| 9951 |
if r.Intn(5) != 0 { |
| 9952 |
v114 := r.Intn(10) |
| 9953 |
this.Duration = make(map[int32]time.Duration) |
| 9954 |
for i := 0; i < v114; i++ { |
| 9955 |
this.Duration[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 9956 |
} |
| 9957 |
} |
| 9958 |
if r.Intn(5) != 0 { |
| 9959 |
v115 := r.Intn(10) |
| 9960 |
this.NullableDouble = make(map[int32]*float64) |
| 9961 |
for i := 0; i < v115; i++ { |
| 9962 |
this.NullableDouble[int32(r.Int31())] = (*float64)(github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) |
| 9963 |
} |
| 9964 |
} |
| 9965 |
if r.Intn(5) != 0 { |
| 9966 |
v116 := r.Intn(10) |
| 9967 |
this.NonnullDouble = make(map[int32]float64) |
| 9968 |
for i := 0; i < v116; i++ { |
| 9969 |
this.NonnullDouble[int32(r.Int31())] = (float64)(*github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) |
| 9970 |
} |
| 9971 |
} |
| 9972 |
if r.Intn(5) != 0 { |
| 9973 |
v117 := r.Intn(10) |
| 9974 |
this.NullableFloat = make(map[int32]*float32) |
| 9975 |
for i := 0; i < v117; i++ { |
| 9976 |
this.NullableFloat[int32(r.Int31())] = (*float32)(github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) |
| 9977 |
} |
| 9978 |
} |
| 9979 |
if r.Intn(5) != 0 { |
| 9980 |
v118 := r.Intn(10) |
| 9981 |
this.NonnullFloat = make(map[int32]float32) |
| 9982 |
for i := 0; i < v118; i++ { |
| 9983 |
this.NonnullFloat[int32(r.Int31())] = (float32)(*github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) |
| 9984 |
} |
| 9985 |
} |
| 9986 |
if r.Intn(5) != 0 { |
| 9987 |
v119 := r.Intn(10) |
| 9988 |
this.NullableInt64 = make(map[int32]*int64) |
| 9989 |
for i := 0; i < v119; i++ { |
| 9990 |
this.NullableInt64[int32(r.Int31())] = (*int64)(github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) |
| 9991 |
} |
| 9992 |
} |
| 9993 |
if r.Intn(5) != 0 { |
| 9994 |
v120 := r.Intn(10) |
| 9995 |
this.NonnullInt64 = make(map[int32]int64) |
| 9996 |
for i := 0; i < v120; i++ { |
| 9997 |
this.NonnullInt64[int32(r.Int31())] = (int64)(*github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) |
| 9998 |
} |
| 9999 |
} |
| 10000 |
if r.Intn(5) != 0 { |
| 10001 |
v121 := r.Intn(10) |
| 10002 |
this.NullableUInt64 = make(map[int32]*uint64) |
| 10003 |
for i := 0; i < v121; i++ { |
| 10004 |
this.NullableUInt64[int32(r.Int31())] = (*uint64)(github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) |
| 10005 |
} |
| 10006 |
} |
| 10007 |
if r.Intn(5) != 0 { |
| 10008 |
v122 := r.Intn(10) |
| 10009 |
this.NonnullUInt64 = make(map[int32]uint64) |
| 10010 |
for i := 0; i < v122; i++ { |
| 10011 |
this.NonnullUInt64[int32(r.Int31())] = (uint64)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) |
| 10012 |
} |
| 10013 |
} |
| 10014 |
if r.Intn(5) != 0 { |
| 10015 |
v123 := r.Intn(10) |
| 10016 |
this.NullableInt32 = make(map[int32]*int32) |
| 10017 |
for i := 0; i < v123; i++ { |
| 10018 |
this.NullableInt32[int32(r.Int31())] = (*int32)(github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) |
| 10019 |
} |
| 10020 |
} |
| 10021 |
if r.Intn(5) != 0 { |
| 10022 |
v124 := r.Intn(10) |
| 10023 |
this.NonnullInt32 = make(map[int32]int32) |
| 10024 |
for i := 0; i < v124; i++ { |
| 10025 |
this.NonnullInt32[int32(r.Int31())] = (int32)(*github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) |
| 10026 |
} |
| 10027 |
} |
| 10028 |
if r.Intn(5) != 0 { |
| 10029 |
v125 := r.Intn(10) |
| 10030 |
this.NullableUInt32 = make(map[int32]*uint32) |
| 10031 |
for i := 0; i < v125; i++ { |
| 10032 |
this.NullableUInt32[int32(r.Int31())] = (*uint32)(github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) |
| 10033 |
} |
| 10034 |
} |
| 10035 |
if r.Intn(5) != 0 { |
| 10036 |
v126 := r.Intn(10) |
| 10037 |
this.NonnullUInt32 = make(map[int32]uint32) |
| 10038 |
for i := 0; i < v126; i++ { |
| 10039 |
this.NonnullUInt32[int32(r.Int31())] = (uint32)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) |
| 10040 |
} |
| 10041 |
} |
| 10042 |
if r.Intn(5) != 0 { |
| 10043 |
v127 := r.Intn(10) |
| 10044 |
this.NullableBool = make(map[int32]*bool) |
| 10045 |
for i := 0; i < v127; i++ { |
| 10046 |
this.NullableBool[int32(r.Int31())] = (*bool)(github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) |
| 10047 |
} |
| 10048 |
} |
| 10049 |
if r.Intn(5) != 0 { |
| 10050 |
v128 := r.Intn(10) |
| 10051 |
this.NonnullBool = make(map[int32]bool) |
| 10052 |
for i := 0; i < v128; i++ { |
| 10053 |
this.NonnullBool[int32(r.Int31())] = (bool)(*github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) |
| 10054 |
} |
| 10055 |
} |
| 10056 |
if r.Intn(5) != 0 { |
| 10057 |
v129 := r.Intn(10) |
| 10058 |
this.NullableString = make(map[int32]*string) |
| 10059 |
for i := 0; i < v129; i++ { |
| 10060 |
this.NullableString[int32(r.Int31())] = (*string)(github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) |
| 10061 |
} |
| 10062 |
} |
| 10063 |
if r.Intn(5) != 0 { |
| 10064 |
v130 := r.Intn(10) |
| 10065 |
this.NonnullString = make(map[int32]string) |
| 10066 |
for i := 0; i < v130; i++ { |
| 10067 |
this.NonnullString[int32(r.Int31())] = (string)(*github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) |
| 10068 |
} |
| 10069 |
} |
| 10070 |
if r.Intn(5) != 0 { |
| 10071 |
v131 := r.Intn(10) |
| 10072 |
this.NullableBytes = make(map[int32]*[]byte) |
| 10073 |
for i := 0; i < v131; i++ { |
| 10074 |
this.NullableBytes[int32(r.Int31())] = (*[]byte)(github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) |
| 10075 |
} |
| 10076 |
} |
| 10077 |
if r.Intn(5) != 0 { |
| 10078 |
v132 := r.Intn(10) |
| 10079 |
this.NonnullBytes = make(map[int32][]byte) |
| 10080 |
for i := 0; i < v132; i++ { |
| 10081 |
this.NonnullBytes[int32(r.Int31())] = ([]byte)(*github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) |
| 10082 |
} |
| 10083 |
} |
| 10084 |
if !easy && r.Intn(10) != 0 { |
| 10085 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 23) |
| 10086 |
} |
| 10087 |
return this |
| 10088 |
} |
| 10089 |
|
| 10090 |
func NewPopulatedOneofProtoTypes(r randyTypes, easy bool) *OneofProtoTypes { |
| 10091 |
this := &OneofProtoTypes{} |
| 10092 |
oneofNumber_OneOfProtoTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] |
| 10093 |
switch oneofNumber_OneOfProtoTimes { |
| 10094 |
case 1: |
| 10095 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Timestamp(r, easy) |
| 10096 |
case 2: |
| 10097 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Duration(r, easy) |
| 10098 |
case 3: |
| 10099 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepDouble(r, easy) |
| 10100 |
case 4: |
| 10101 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepFloat(r, easy) |
| 10102 |
case 5: |
| 10103 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt64(r, easy) |
| 10104 |
case 6: |
| 10105 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt64(r, easy) |
| 10106 |
case 7: |
| 10107 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt32(r, easy) |
| 10108 |
case 8: |
| 10109 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt32(r, easy) |
| 10110 |
case 9: |
| 10111 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBool(r, easy) |
| 10112 |
case 10: |
| 10113 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepString(r, easy) |
| 10114 |
case 11: |
| 10115 |
this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBytes(r, easy) |
| 10116 |
} |
| 10117 |
if !easy && r.Intn(10) != 0 { |
| 10118 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 12) |
| 10119 |
} |
| 10120 |
return this |
| 10121 |
} |
| 10122 |
|
| 10123 |
func NewPopulatedOneofProtoTypes_Timestamp(r randyTypes, easy bool) *OneofProtoTypes_Timestamp { |
| 10124 |
this := &OneofProtoTypes_Timestamp{} |
| 10125 |
this.Timestamp = types.NewPopulatedTimestamp(r, easy) |
| 10126 |
return this |
| 10127 |
} |
| 10128 |
func NewPopulatedOneofProtoTypes_Duration(r randyTypes, easy bool) *OneofProtoTypes_Duration { |
| 10129 |
this := &OneofProtoTypes_Duration{} |
| 10130 |
this.Duration = types.NewPopulatedDuration(r, easy) |
| 10131 |
return this |
| 10132 |
} |
| 10133 |
func NewPopulatedOneofProtoTypes_RepDouble(r randyTypes, easy bool) *OneofProtoTypes_RepDouble { |
| 10134 |
this := &OneofProtoTypes_RepDouble{} |
| 10135 |
this.RepDouble = types.NewPopulatedDoubleValue(r, easy) |
| 10136 |
return this |
| 10137 |
} |
| 10138 |
func NewPopulatedOneofProtoTypes_RepFloat(r randyTypes, easy bool) *OneofProtoTypes_RepFloat { |
| 10139 |
this := &OneofProtoTypes_RepFloat{} |
| 10140 |
this.RepFloat = types.NewPopulatedFloatValue(r, easy) |
| 10141 |
return this |
| 10142 |
} |
| 10143 |
func NewPopulatedOneofProtoTypes_RepInt64(r randyTypes, easy bool) *OneofProtoTypes_RepInt64 { |
| 10144 |
this := &OneofProtoTypes_RepInt64{} |
| 10145 |
this.RepInt64 = types.NewPopulatedInt64Value(r, easy) |
| 10146 |
return this |
| 10147 |
} |
| 10148 |
func NewPopulatedOneofProtoTypes_RepUInt64(r randyTypes, easy bool) *OneofProtoTypes_RepUInt64 { |
| 10149 |
this := &OneofProtoTypes_RepUInt64{} |
| 10150 |
this.RepUInt64 = types.NewPopulatedUInt64Value(r, easy) |
| 10151 |
return this |
| 10152 |
} |
| 10153 |
func NewPopulatedOneofProtoTypes_RepInt32(r randyTypes, easy bool) *OneofProtoTypes_RepInt32 { |
| 10154 |
this := &OneofProtoTypes_RepInt32{} |
| 10155 |
this.RepInt32 = types.NewPopulatedInt32Value(r, easy) |
| 10156 |
return this |
| 10157 |
} |
| 10158 |
func NewPopulatedOneofProtoTypes_RepUInt32(r randyTypes, easy bool) *OneofProtoTypes_RepUInt32 { |
| 10159 |
this := &OneofProtoTypes_RepUInt32{} |
| 10160 |
this.RepUInt32 = types.NewPopulatedUInt32Value(r, easy) |
| 10161 |
return this |
| 10162 |
} |
| 10163 |
func NewPopulatedOneofProtoTypes_RepBool(r randyTypes, easy bool) *OneofProtoTypes_RepBool { |
| 10164 |
this := &OneofProtoTypes_RepBool{} |
| 10165 |
this.RepBool = types.NewPopulatedBoolValue(r, easy) |
| 10166 |
return this |
| 10167 |
} |
| 10168 |
func NewPopulatedOneofProtoTypes_RepString(r randyTypes, easy bool) *OneofProtoTypes_RepString { |
| 10169 |
this := &OneofProtoTypes_RepString{} |
| 10170 |
this.RepString = types.NewPopulatedStringValue(r, easy) |
| 10171 |
return this |
| 10172 |
} |
| 10173 |
func NewPopulatedOneofProtoTypes_RepBytes(r randyTypes, easy bool) *OneofProtoTypes_RepBytes { |
| 10174 |
this := &OneofProtoTypes_RepBytes{} |
| 10175 |
this.RepBytes = types.NewPopulatedBytesValue(r, easy) |
| 10176 |
return this |
| 10177 |
} |
| 10178 |
func NewPopulatedOneofStdTypes(r randyTypes, easy bool) *OneofStdTypes { |
| 10179 |
this := &OneofStdTypes{} |
| 10180 |
oneofNumber_OneOfStdTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] |
| 10181 |
switch oneofNumber_OneOfStdTimes { |
| 10182 |
case 1: |
| 10183 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_Timestamp(r, easy) |
| 10184 |
case 2: |
| 10185 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_Duration(r, easy) |
| 10186 |
case 3: |
| 10187 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepDouble(r, easy) |
| 10188 |
case 4: |
| 10189 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepFloat(r, easy) |
| 10190 |
case 5: |
| 10191 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt64(r, easy) |
| 10192 |
case 6: |
| 10193 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt64(r, easy) |
| 10194 |
case 7: |
| 10195 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt32(r, easy) |
| 10196 |
case 8: |
| 10197 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt32(r, easy) |
| 10198 |
case 9: |
| 10199 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBool(r, easy) |
| 10200 |
case 10: |
| 10201 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepString(r, easy) |
| 10202 |
case 11: |
| 10203 |
this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBytes(r, easy) |
| 10204 |
} |
| 10205 |
if !easy && r.Intn(10) != 0 { |
| 10206 |
this.XXX_unrecognized = randUnrecognizedTypes(r, 12) |
| 10207 |
} |
| 10208 |
return this |
| 10209 |
} |
| 10210 |
|
| 10211 |
func NewPopulatedOneofStdTypes_Timestamp(r randyTypes, easy bool) *OneofStdTypes_Timestamp { |
| 10212 |
this := &OneofStdTypes_Timestamp{} |
| 10213 |
this.Timestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) |
| 10214 |
return this |
| 10215 |
} |
| 10216 |
func NewPopulatedOneofStdTypes_Duration(r randyTypes, easy bool) *OneofStdTypes_Duration { |
| 10217 |
this := &OneofStdTypes_Duration{} |
| 10218 |
this.Duration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) |
| 10219 |
return this |
| 10220 |
} |
| 10221 |
func NewPopulatedOneofStdTypes_RepDouble(r randyTypes, easy bool) *OneofStdTypes_RepDouble { |
| 10222 |
this := &OneofStdTypes_RepDouble{} |
| 10223 |
this.RepDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) |
| 10224 |
return this |
| 10225 |
} |
| 10226 |
func NewPopulatedOneofStdTypes_RepFloat(r randyTypes, easy bool) *OneofStdTypes_RepFloat { |
| 10227 |
this := &OneofStdTypes_RepFloat{} |
| 10228 |
this.RepFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) |
| 10229 |
return this |
| 10230 |
} |
| 10231 |
func NewPopulatedOneofStdTypes_RepInt64(r randyTypes, easy bool) *OneofStdTypes_RepInt64 { |
| 10232 |
this := &OneofStdTypes_RepInt64{} |
| 10233 |
this.RepInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) |
| 10234 |
return this |
| 10235 |
} |
| 10236 |
func NewPopulatedOneofStdTypes_RepUInt64(r randyTypes, easy bool) *OneofStdTypes_RepUInt64 { |
| 10237 |
this := &OneofStdTypes_RepUInt64{} |
| 10238 |
this.RepUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) |
| 10239 |
return this |
| 10240 |
} |
| 10241 |
func NewPopulatedOneofStdTypes_RepInt32(r randyTypes, easy bool) *OneofStdTypes_RepInt32 { |
| 10242 |
this := &OneofStdTypes_RepInt32{} |
| 10243 |
this.RepInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) |
| 10244 |
return this |
| 10245 |
} |
| 10246 |
func NewPopulatedOneofStdTypes_RepUInt32(r randyTypes, easy bool) *OneofStdTypes_RepUInt32 { |
| 10247 |
this := &OneofStdTypes_RepUInt32{} |
| 10248 |
this.RepUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) |
| 10249 |
return this |
| 10250 |
} |
| 10251 |
func NewPopulatedOneofStdTypes_RepBool(r randyTypes, easy bool) *OneofStdTypes_RepBool { |
| 10252 |
this := &OneofStdTypes_RepBool{} |
| 10253 |
this.RepBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) |
| 10254 |
return this |
| 10255 |
} |
| 10256 |
func NewPopulatedOneofStdTypes_RepString(r randyTypes, easy bool) *OneofStdTypes_RepString { |
| 10257 |
this := &OneofStdTypes_RepString{} |
| 10258 |
this.RepString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) |
| 10259 |
return this |
| 10260 |
} |
| 10261 |
func NewPopulatedOneofStdTypes_RepBytes(r randyTypes, easy bool) *OneofStdTypes_RepBytes { |
| 10262 |
this := &OneofStdTypes_RepBytes{} |
| 10263 |
this.RepBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) |
| 10264 |
return this |
| 10265 |
} |
| 10266 |
|
| 10267 |
type randyTypes interface { |
| 10268 |
Float32() float32 |
| 10269 |
Float64() float64 |
| 10270 |
Int63() int64 |
| 10271 |
Int31() int32 |
| 10272 |
Uint32() uint32 |
| 10273 |
Intn(n int) int |
| 10274 |
} |
| 10275 |
|
| 10276 |
func randUTF8RuneTypes(r randyTypes) rune { |
| 10277 |
ru := r.Intn(62) |
| 10278 |
if ru < 10 { |
| 10279 |
return rune(ru + 48) |
| 10280 |
} else if ru < 36 { |
| 10281 |
return rune(ru + 55) |
| 10282 |
} |
| 10283 |
return rune(ru + 61) |
| 10284 |
} |
| 10285 |
func randStringTypes(r randyTypes) string { |
| 10286 |
v133 := r.Intn(100) |
| 10287 |
tmps := make([]rune, v133) |
| 10288 |
for i := 0; i < v133; i++ { |
| 10289 |
tmps[i] = randUTF8RuneTypes(r) |
| 10290 |
} |
| 10291 |
return string(tmps) |
| 10292 |
} |
| 10293 |
func randUnrecognizedTypes(r randyTypes, maxFieldNumber int) (dAtA []byte) { |
| 10294 |
l := r.Intn(5) |
| 10295 |
for i := 0; i < l; i++ { |
| 10296 |
wire := r.Intn(4) |
| 10297 |
if wire == 3 { |
| 10298 |
wire = 5 |
| 10299 |
} |
| 10300 |
fieldNumber := maxFieldNumber + r.Intn(100) |
| 10301 |
dAtA = randFieldTypes(dAtA, r, fieldNumber, wire) |
| 10302 |
} |
| 10303 |
return dAtA |
| 10304 |
} |
| 10305 |
func randFieldTypes(dAtA []byte, r randyTypes, fieldNumber int, wire int) []byte { |
| 10306 |
key := uint32(fieldNumber)<<3 | uint32(wire) |
| 10307 |
switch wire { |
| 10308 |
case 0: |
| 10309 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) |
| 10310 |
v134 := r.Int63() |
| 10311 |
if r.Intn(2) == 0 { |
| 10312 |
v134 *= -1 |
| 10313 |
} |
| 10314 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(v134)) |
| 10315 |
case 1: |
| 10316 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) |
| 10317 |
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))) |
| 10318 |
case 2: |
| 10319 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) |
| 10320 |
ll := r.Intn(100) |
| 10321 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(ll)) |
| 10322 |
for j := 0; j < ll; j++ { |
| 10323 |
dAtA = append(dAtA, byte(r.Intn(256))) |
| 10324 |
} |
| 10325 |
default: |
| 10326 |
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) |
| 10327 |
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) |
| 10328 |
} |
| 10329 |
return dAtA |
| 10330 |
} |
| 10331 |
func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte { |
| 10332 |
for v >= 1<<7 { |
| 10333 |
dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) |
| 10334 |
v >>= 7 |
| 10335 |
} |
| 10336 |
dAtA = append(dAtA, uint8(v)) |
| 10337 |
return dAtA |
| 10338 |
} |
| 10339 |
func (m *KnownTypes) Size() (n int) { |
| 10340 |
if m == nil { |
| 10341 |
return 0 |
| 10342 |
} |
| 10343 |
var l int |
| 10344 |
_ = l |
| 10345 |
if m.Dur != nil { |
| 10346 |
l = m.Dur.Size() |
| 10347 |
n += 1 + l + sovTypes(uint64(l)) |
| 10348 |
} |
| 10349 |
if m.Ts != nil { |
| 10350 |
l = m.Ts.Size() |
| 10351 |
n += 1 + l + sovTypes(uint64(l)) |
| 10352 |
} |
| 10353 |
if m.Dbl != nil { |
| 10354 |
l = m.Dbl.Size() |
| 10355 |
n += 1 + l + sovTypes(uint64(l)) |
| 10356 |
} |
| 10357 |
if m.Flt != nil { |
| 10358 |
l = m.Flt.Size() |
| 10359 |
n += 1 + l + sovTypes(uint64(l)) |
| 10360 |
} |
| 10361 |
if m.I64 != nil { |
| 10362 |
l = m.I64.Size() |
| 10363 |
n += 1 + l + sovTypes(uint64(l)) |
| 10364 |
} |
| 10365 |
if m.U64 != nil { |
| 10366 |
l = m.U64.Size() |
| 10367 |
n += 1 + l + sovTypes(uint64(l)) |
| 10368 |
} |
| 10369 |
if m.I32 != nil { |
| 10370 |
l = m.I32.Size() |
| 10371 |
n += 1 + l + sovTypes(uint64(l)) |
| 10372 |
} |
| 10373 |
if m.U32 != nil { |
| 10374 |
l = m.U32.Size() |
| 10375 |
n += 1 + l + sovTypes(uint64(l)) |
| 10376 |
} |
| 10377 |
if m.Bool != nil { |
| 10378 |
l = m.Bool.Size() |
| 10379 |
n += 1 + l + sovTypes(uint64(l)) |
| 10380 |
} |
| 10381 |
if m.Str != nil { |
| 10382 |
l = m.Str.Size() |
| 10383 |
n += 1 + l + sovTypes(uint64(l)) |
| 10384 |
} |
| 10385 |
if m.Bytes != nil { |
| 10386 |
l = m.Bytes.Size() |
| 10387 |
n += 1 + l + sovTypes(uint64(l)) |
| 10388 |
} |
| 10389 |
if m.St != nil { |
| 10390 |
l = m.St.Size() |
| 10391 |
n += 1 + l + sovTypes(uint64(l)) |
| 10392 |
} |
| 10393 |
if m.XXX_unrecognized != nil { |
| 10394 |
n += len(m.XXX_unrecognized) |
| 10395 |
} |
| 10396 |
return n |
| 10397 |
} |
| 10398 |
|
| 10399 |
func (m *ProtoTypes) Size() (n int) { |
| 10400 |
if m == nil { |
| 10401 |
return 0 |
| 10402 |
} |
| 10403 |
var l int |
| 10404 |
_ = l |
| 10405 |
if m.NullableTimestamp != nil { |
| 10406 |
l = m.NullableTimestamp.Size() |
| 10407 |
n += 1 + l + sovTypes(uint64(l)) |
| 10408 |
} |
| 10409 |
if m.NullableDuration != nil { |
| 10410 |
l = m.NullableDuration.Size() |
| 10411 |
n += 1 + l + sovTypes(uint64(l)) |
| 10412 |
} |
| 10413 |
if m.NullableDouble != nil { |
| 10414 |
l = m.NullableDouble.Size() |
| 10415 |
n += 1 + l + sovTypes(uint64(l)) |
| 10416 |
} |
| 10417 |
if m.NullableFloat != nil { |
| 10418 |
l = m.NullableFloat.Size() |
| 10419 |
n += 1 + l + sovTypes(uint64(l)) |
| 10420 |
} |
| 10421 |
if m.NullableInt64 != nil { |
| 10422 |
l = m.NullableInt64.Size() |
| 10423 |
n += 1 + l + sovTypes(uint64(l)) |
| 10424 |
} |
| 10425 |
if m.NullableUInt64 != nil { |
| 10426 |
l = m.NullableUInt64.Size() |
| 10427 |
n += 1 + l + sovTypes(uint64(l)) |
| 10428 |
} |
| 10429 |
if m.NullableInt32 != nil { |
| 10430 |
l = m.NullableInt32.Size() |
| 10431 |
n += 1 + l + sovTypes(uint64(l)) |
| 10432 |
} |
| 10433 |
if m.NullableUInt32 != nil { |
| 10434 |
l = m.NullableUInt32.Size() |
| 10435 |
n += 1 + l + sovTypes(uint64(l)) |
| 10436 |
} |
| 10437 |
if m.NullableBool != nil { |
| 10438 |
l = m.NullableBool.Size() |
| 10439 |
n += 1 + l + sovTypes(uint64(l)) |
| 10440 |
} |
| 10441 |
if m.NullableString != nil { |
| 10442 |
l = m.NullableString.Size() |
| 10443 |
n += 1 + l + sovTypes(uint64(l)) |
| 10444 |
} |
| 10445 |
if m.NullableBytes != nil { |
| 10446 |
l = m.NullableBytes.Size() |
| 10447 |
n += 1 + l + sovTypes(uint64(l)) |
| 10448 |
} |
| 10449 |
l = m.Timestamp.Size() |
| 10450 |
n += 1 + l + sovTypes(uint64(l)) |
| 10451 |
l = m.Duration.Size() |
| 10452 |
n += 1 + l + sovTypes(uint64(l)) |
| 10453 |
l = m.NonnullDouble.Size() |
| 10454 |
n += 1 + l + sovTypes(uint64(l)) |
| 10455 |
l = m.NonnullFloat.Size() |
| 10456 |
n += 1 + l + sovTypes(uint64(l)) |
| 10457 |
l = m.NonnullInt64.Size() |
| 10458 |
n += 2 + l + sovTypes(uint64(l)) |
| 10459 |
l = m.NonnullUInt64.Size() |
| 10460 |
n += 2 + l + sovTypes(uint64(l)) |
| 10461 |
l = m.NonnullInt32.Size() |
| 10462 |
n += 2 + l + sovTypes(uint64(l)) |
| 10463 |
l = m.NonnullUInt32.Size() |
| 10464 |
n += 2 + l + sovTypes(uint64(l)) |
| 10465 |
l = m.NonnullBool.Size() |
| 10466 |
n += 2 + l + sovTypes(uint64(l)) |
| 10467 |
l = m.NonnullString.Size() |
| 10468 |
n += 2 + l + sovTypes(uint64(l)) |
| 10469 |
l = m.NonnullBytes.Size() |
| 10470 |
n += 2 + l + sovTypes(uint64(l)) |
| 10471 |
if m.XXX_unrecognized != nil { |
| 10472 |
n += len(m.XXX_unrecognized) |
| 10473 |
} |
| 10474 |
return n |
| 10475 |
} |
| 10476 |
|
| 10477 |
func (m *StdTypes) Size() (n int) { |
| 10478 |
if m == nil { |
| 10479 |
return 0 |
| 10480 |
} |
| 10481 |
var l int |
| 10482 |
_ = l |
| 10483 |
if m.NullableTimestamp != nil { |
| 10484 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamp) |
| 10485 |
n += 1 + l + sovTypes(uint64(l)) |
| 10486 |
} |
| 10487 |
if m.NullableDuration != nil { |
| 10488 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDuration) |
| 10489 |
n += 1 + l + sovTypes(uint64(l)) |
| 10490 |
} |
| 10491 |
if m.NullableDouble != nil { |
| 10492 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble) |
| 10493 |
n += 1 + l + sovTypes(uint64(l)) |
| 10494 |
} |
| 10495 |
if m.NullableFloat != nil { |
| 10496 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat) |
| 10497 |
n += 1 + l + sovTypes(uint64(l)) |
| 10498 |
} |
| 10499 |
if m.NullableInt64 != nil { |
| 10500 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64) |
| 10501 |
n += 1 + l + sovTypes(uint64(l)) |
| 10502 |
} |
| 10503 |
if m.NullableUInt64 != nil { |
| 10504 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64) |
| 10505 |
n += 1 + l + sovTypes(uint64(l)) |
| 10506 |
} |
| 10507 |
if m.NullableInt32 != nil { |
| 10508 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32) |
| 10509 |
n += 1 + l + sovTypes(uint64(l)) |
| 10510 |
} |
| 10511 |
if m.NullableUInt32 != nil { |
| 10512 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32) |
| 10513 |
n += 1 + l + sovTypes(uint64(l)) |
| 10514 |
} |
| 10515 |
if m.NullableBool != nil { |
| 10516 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool) |
| 10517 |
n += 1 + l + sovTypes(uint64(l)) |
| 10518 |
} |
| 10519 |
if m.NullableString != nil { |
| 10520 |
l = github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString) |
| 10521 |
n += 1 + l + sovTypes(uint64(l)) |
| 10522 |
} |
| 10523 |
if m.NullableBytes != nil { |
| 10524 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes) |
| 10525 |
n += 1 + l + sovTypes(uint64(l)) |
| 10526 |
} |
| 10527 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp) |
| 10528 |
n += 1 + l + sovTypes(uint64(l)) |
| 10529 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Duration) |
| 10530 |
n += 1 + l + sovTypes(uint64(l)) |
| 10531 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble) |
| 10532 |
n += 1 + l + sovTypes(uint64(l)) |
| 10533 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat) |
| 10534 |
n += 1 + l + sovTypes(uint64(l)) |
| 10535 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64) |
| 10536 |
n += 2 + l + sovTypes(uint64(l)) |
| 10537 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64) |
| 10538 |
n += 2 + l + sovTypes(uint64(l)) |
| 10539 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32) |
| 10540 |
n += 2 + l + sovTypes(uint64(l)) |
| 10541 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32) |
| 10542 |
n += 2 + l + sovTypes(uint64(l)) |
| 10543 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool) |
| 10544 |
n += 2 + l + sovTypes(uint64(l)) |
| 10545 |
l = github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString) |
| 10546 |
n += 2 + l + sovTypes(uint64(l)) |
| 10547 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes) |
| 10548 |
n += 2 + l + sovTypes(uint64(l)) |
| 10549 |
if m.XXX_unrecognized != nil { |
| 10550 |
n += len(m.XXX_unrecognized) |
| 10551 |
} |
| 10552 |
return n |
| 10553 |
} |
| 10554 |
|
| 10555 |
func (m *RepProtoTypes) Size() (n int) { |
| 10556 |
if m == nil { |
| 10557 |
return 0 |
| 10558 |
} |
| 10559 |
var l int |
| 10560 |
_ = l |
| 10561 |
if len(m.NullableTimestamps) > 0 { |
| 10562 |
for _, e := range m.NullableTimestamps { |
| 10563 |
l = e.Size() |
| 10564 |
n += 1 + l + sovTypes(uint64(l)) |
| 10565 |
} |
| 10566 |
} |
| 10567 |
if len(m.NullableDurations) > 0 { |
| 10568 |
for _, e := range m.NullableDurations { |
| 10569 |
l = e.Size() |
| 10570 |
n += 1 + l + sovTypes(uint64(l)) |
| 10571 |
} |
| 10572 |
} |
| 10573 |
if len(m.Timestamps) > 0 { |
| 10574 |
for _, e := range m.Timestamps { |
| 10575 |
l = e.Size() |
| 10576 |
n += 1 + l + sovTypes(uint64(l)) |
| 10577 |
} |
| 10578 |
} |
| 10579 |
if len(m.Durations) > 0 { |
| 10580 |
for _, e := range m.Durations { |
| 10581 |
l = e.Size() |
| 10582 |
n += 1 + l + sovTypes(uint64(l)) |
| 10583 |
} |
| 10584 |
} |
| 10585 |
if len(m.NullableDouble) > 0 { |
| 10586 |
for _, e := range m.NullableDouble { |
| 10587 |
l = e.Size() |
| 10588 |
n += 1 + l + sovTypes(uint64(l)) |
| 10589 |
} |
| 10590 |
} |
| 10591 |
if len(m.NonnullDouble) > 0 { |
| 10592 |
for _, e := range m.NonnullDouble { |
| 10593 |
l = e.Size() |
| 10594 |
n += 1 + l + sovTypes(uint64(l)) |
| 10595 |
} |
| 10596 |
} |
| 10597 |
if len(m.NullableFloat) > 0 { |
| 10598 |
for _, e := range m.NullableFloat { |
| 10599 |
l = e.Size() |
| 10600 |
n += 1 + l + sovTypes(uint64(l)) |
| 10601 |
} |
| 10602 |
} |
| 10603 |
if len(m.NonnullFloat) > 0 { |
| 10604 |
for _, e := range m.NonnullFloat { |
| 10605 |
l = e.Size() |
| 10606 |
n += 1 + l + sovTypes(uint64(l)) |
| 10607 |
} |
| 10608 |
} |
| 10609 |
if len(m.NullableInt64) > 0 { |
| 10610 |
for _, e := range m.NullableInt64 { |
| 10611 |
l = e.Size() |
| 10612 |
n += 1 + l + sovTypes(uint64(l)) |
| 10613 |
} |
| 10614 |
} |
| 10615 |
if len(m.NonnullInt64) > 0 { |
| 10616 |
for _, e := range m.NonnullInt64 { |
| 10617 |
l = e.Size() |
| 10618 |
n += 1 + l + sovTypes(uint64(l)) |
| 10619 |
} |
| 10620 |
} |
| 10621 |
if len(m.NullableUInt64) > 0 { |
| 10622 |
for _, e := range m.NullableUInt64 { |
| 10623 |
l = e.Size() |
| 10624 |
n += 1 + l + sovTypes(uint64(l)) |
| 10625 |
} |
| 10626 |
} |
| 10627 |
if len(m.NonnullUInt64) > 0 { |
| 10628 |
for _, e := range m.NonnullUInt64 { |
| 10629 |
l = e.Size() |
| 10630 |
n += 1 + l + sovTypes(uint64(l)) |
| 10631 |
} |
| 10632 |
} |
| 10633 |
if len(m.NullableInt32) > 0 { |
| 10634 |
for _, e := range m.NullableInt32 { |
| 10635 |
l = e.Size() |
| 10636 |
n += 1 + l + sovTypes(uint64(l)) |
| 10637 |
} |
| 10638 |
} |
| 10639 |
if len(m.NonnullInt32) > 0 { |
| 10640 |
for _, e := range m.NonnullInt32 { |
| 10641 |
l = e.Size() |
| 10642 |
n += 1 + l + sovTypes(uint64(l)) |
| 10643 |
} |
| 10644 |
} |
| 10645 |
if len(m.NullableUInt32) > 0 { |
| 10646 |
for _, e := range m.NullableUInt32 { |
| 10647 |
l = e.Size() |
| 10648 |
n += 1 + l + sovTypes(uint64(l)) |
| 10649 |
} |
| 10650 |
} |
| 10651 |
if len(m.NonnullUInt32) > 0 { |
| 10652 |
for _, e := range m.NonnullUInt32 { |
| 10653 |
l = e.Size() |
| 10654 |
n += 2 + l + sovTypes(uint64(l)) |
| 10655 |
} |
| 10656 |
} |
| 10657 |
if len(m.NullableBool) > 0 { |
| 10658 |
for _, e := range m.NullableBool { |
| 10659 |
l = e.Size() |
| 10660 |
n += 2 + l + sovTypes(uint64(l)) |
| 10661 |
} |
| 10662 |
} |
| 10663 |
if len(m.NonnullBool) > 0 { |
| 10664 |
for _, e := range m.NonnullBool { |
| 10665 |
l = e.Size() |
| 10666 |
n += 2 + l + sovTypes(uint64(l)) |
| 10667 |
} |
| 10668 |
} |
| 10669 |
if len(m.NullableString) > 0 { |
| 10670 |
for _, e := range m.NullableString { |
| 10671 |
l = e.Size() |
| 10672 |
n += 2 + l + sovTypes(uint64(l)) |
| 10673 |
} |
| 10674 |
} |
| 10675 |
if len(m.NonnullString) > 0 { |
| 10676 |
for _, e := range m.NonnullString { |
| 10677 |
l = e.Size() |
| 10678 |
n += 2 + l + sovTypes(uint64(l)) |
| 10679 |
} |
| 10680 |
} |
| 10681 |
if len(m.NullableBytes) > 0 { |
| 10682 |
for _, e := range m.NullableBytes { |
| 10683 |
l = e.Size() |
| 10684 |
n += 2 + l + sovTypes(uint64(l)) |
| 10685 |
} |
| 10686 |
} |
| 10687 |
if len(m.NonnullBytes) > 0 { |
| 10688 |
for _, e := range m.NonnullBytes { |
| 10689 |
l = e.Size() |
| 10690 |
n += 2 + l + sovTypes(uint64(l)) |
| 10691 |
} |
| 10692 |
} |
| 10693 |
if m.XXX_unrecognized != nil { |
| 10694 |
n += len(m.XXX_unrecognized) |
| 10695 |
} |
| 10696 |
return n |
| 10697 |
} |
| 10698 |
|
| 10699 |
func (m *RepStdTypes) Size() (n int) { |
| 10700 |
if m == nil { |
| 10701 |
return 0 |
| 10702 |
} |
| 10703 |
var l int |
| 10704 |
_ = l |
| 10705 |
if len(m.NullableTimestamps) > 0 { |
| 10706 |
for _, e := range m.NullableTimestamps { |
| 10707 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(*e) |
| 10708 |
n += 1 + l + sovTypes(uint64(l)) |
| 10709 |
} |
| 10710 |
} |
| 10711 |
if len(m.NullableDurations) > 0 { |
| 10712 |
for _, e := range m.NullableDurations { |
| 10713 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*e) |
| 10714 |
n += 1 + l + sovTypes(uint64(l)) |
| 10715 |
} |
| 10716 |
} |
| 10717 |
if len(m.Timestamps) > 0 { |
| 10718 |
for _, e := range m.Timestamps { |
| 10719 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(e) |
| 10720 |
n += 1 + l + sovTypes(uint64(l)) |
| 10721 |
} |
| 10722 |
} |
| 10723 |
if len(m.Durations) > 0 { |
| 10724 |
for _, e := range m.Durations { |
| 10725 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(e) |
| 10726 |
n += 1 + l + sovTypes(uint64(l)) |
| 10727 |
} |
| 10728 |
} |
| 10729 |
if len(m.NullableDouble) > 0 { |
| 10730 |
for _, e := range m.NullableDouble { |
| 10731 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(*e) |
| 10732 |
n += 1 + l + sovTypes(uint64(l)) |
| 10733 |
} |
| 10734 |
} |
| 10735 |
if len(m.NonnullDouble) > 0 { |
| 10736 |
for _, e := range m.NonnullDouble { |
| 10737 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(e) |
| 10738 |
n += 1 + l + sovTypes(uint64(l)) |
| 10739 |
} |
| 10740 |
} |
| 10741 |
if len(m.NullableFloat) > 0 { |
| 10742 |
for _, e := range m.NullableFloat { |
| 10743 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(*e) |
| 10744 |
n += 1 + l + sovTypes(uint64(l)) |
| 10745 |
} |
| 10746 |
} |
| 10747 |
if len(m.NonnullFloat) > 0 { |
| 10748 |
for _, e := range m.NonnullFloat { |
| 10749 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(e) |
| 10750 |
n += 1 + l + sovTypes(uint64(l)) |
| 10751 |
} |
| 10752 |
} |
| 10753 |
if len(m.NullableInt64) > 0 { |
| 10754 |
for _, e := range m.NullableInt64 { |
| 10755 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(*e) |
| 10756 |
n += 1 + l + sovTypes(uint64(l)) |
| 10757 |
} |
| 10758 |
} |
| 10759 |
if len(m.NonnullInt64) > 0 { |
| 10760 |
for _, e := range m.NonnullInt64 { |
| 10761 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(e) |
| 10762 |
n += 1 + l + sovTypes(uint64(l)) |
| 10763 |
} |
| 10764 |
} |
| 10765 |
if len(m.NullableUInt64) > 0 { |
| 10766 |
for _, e := range m.NullableUInt64 { |
| 10767 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*e) |
| 10768 |
n += 1 + l + sovTypes(uint64(l)) |
| 10769 |
} |
| 10770 |
} |
| 10771 |
if len(m.NonnullUInt64) > 0 { |
| 10772 |
for _, e := range m.NonnullUInt64 { |
| 10773 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(e) |
| 10774 |
n += 1 + l + sovTypes(uint64(l)) |
| 10775 |
} |
| 10776 |
} |
| 10777 |
if len(m.NullableInt32) > 0 { |
| 10778 |
for _, e := range m.NullableInt32 { |
| 10779 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(*e) |
| 10780 |
n += 1 + l + sovTypes(uint64(l)) |
| 10781 |
} |
| 10782 |
} |
| 10783 |
if len(m.NonnullInt32) > 0 { |
| 10784 |
for _, e := range m.NonnullInt32 { |
| 10785 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(e) |
| 10786 |
n += 1 + l + sovTypes(uint64(l)) |
| 10787 |
} |
| 10788 |
} |
| 10789 |
if len(m.NullableUInt32) > 0 { |
| 10790 |
for _, e := range m.NullableUInt32 { |
| 10791 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*e) |
| 10792 |
n += 1 + l + sovTypes(uint64(l)) |
| 10793 |
} |
| 10794 |
} |
| 10795 |
if len(m.NonnullUInt32) > 0 { |
| 10796 |
for _, e := range m.NonnullUInt32 { |
| 10797 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(e) |
| 10798 |
n += 2 + l + sovTypes(uint64(l)) |
| 10799 |
} |
| 10800 |
} |
| 10801 |
if len(m.NullableBool) > 0 { |
| 10802 |
for _, e := range m.NullableBool { |
| 10803 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(*e) |
| 10804 |
n += 2 + l + sovTypes(uint64(l)) |
| 10805 |
} |
| 10806 |
} |
| 10807 |
if len(m.NonnullBool) > 0 { |
| 10808 |
for _, e := range m.NonnullBool { |
| 10809 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(e) |
| 10810 |
n += 2 + l + sovTypes(uint64(l)) |
| 10811 |
} |
| 10812 |
} |
| 10813 |
if len(m.NullableString) > 0 { |
| 10814 |
for _, e := range m.NullableString { |
| 10815 |
l = github_com_gogo_protobuf_types.SizeOfStdString(*e) |
| 10816 |
n += 2 + l + sovTypes(uint64(l)) |
| 10817 |
} |
| 10818 |
} |
| 10819 |
if len(m.NonnullString) > 0 { |
| 10820 |
for _, e := range m.NonnullString { |
| 10821 |
l = github_com_gogo_protobuf_types.SizeOfStdString(e) |
| 10822 |
n += 2 + l + sovTypes(uint64(l)) |
| 10823 |
} |
| 10824 |
} |
| 10825 |
if len(m.NullableBytes) > 0 { |
| 10826 |
for _, e := range m.NullableBytes { |
| 10827 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(*e) |
| 10828 |
n += 2 + l + sovTypes(uint64(l)) |
| 10829 |
} |
| 10830 |
} |
| 10831 |
if len(m.NonnullBytes) > 0 { |
| 10832 |
for _, e := range m.NonnullBytes { |
| 10833 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(e) |
| 10834 |
n += 2 + l + sovTypes(uint64(l)) |
| 10835 |
} |
| 10836 |
} |
| 10837 |
if m.XXX_unrecognized != nil { |
| 10838 |
n += len(m.XXX_unrecognized) |
| 10839 |
} |
| 10840 |
return n |
| 10841 |
} |
| 10842 |
|
| 10843 |
func (m *MapProtoTypes) Size() (n int) { |
| 10844 |
if m == nil { |
| 10845 |
return 0 |
| 10846 |
} |
| 10847 |
var l int |
| 10848 |
_ = l |
| 10849 |
if len(m.NullableTimestamp) > 0 { |
| 10850 |
for k, v := range m.NullableTimestamp { |
| 10851 |
_ = k |
| 10852 |
_ = v |
| 10853 |
l = 0 |
| 10854 |
if v != nil { |
| 10855 |
l = v.Size() |
| 10856 |
l += 1 + sovTypes(uint64(l)) |
| 10857 |
} |
| 10858 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10859 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10860 |
} |
| 10861 |
} |
| 10862 |
if len(m.Timestamp) > 0 { |
| 10863 |
for k, v := range m.Timestamp { |
| 10864 |
_ = k |
| 10865 |
_ = v |
| 10866 |
l = v.Size() |
| 10867 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10868 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10869 |
} |
| 10870 |
} |
| 10871 |
if len(m.NullableDuration) > 0 { |
| 10872 |
for k, v := range m.NullableDuration { |
| 10873 |
_ = k |
| 10874 |
_ = v |
| 10875 |
l = 0 |
| 10876 |
if v != nil { |
| 10877 |
l = v.Size() |
| 10878 |
l += 1 + sovTypes(uint64(l)) |
| 10879 |
} |
| 10880 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10881 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10882 |
} |
| 10883 |
} |
| 10884 |
if len(m.Duration) > 0 { |
| 10885 |
for k, v := range m.Duration { |
| 10886 |
_ = k |
| 10887 |
_ = v |
| 10888 |
l = v.Size() |
| 10889 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10890 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10891 |
} |
| 10892 |
} |
| 10893 |
if len(m.NullableDouble) > 0 { |
| 10894 |
for k, v := range m.NullableDouble { |
| 10895 |
_ = k |
| 10896 |
_ = v |
| 10897 |
l = 0 |
| 10898 |
if v != nil { |
| 10899 |
l = v.Size() |
| 10900 |
l += 1 + sovTypes(uint64(l)) |
| 10901 |
} |
| 10902 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10903 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10904 |
} |
| 10905 |
} |
| 10906 |
if len(m.NonnullDouble) > 0 { |
| 10907 |
for k, v := range m.NonnullDouble { |
| 10908 |
_ = k |
| 10909 |
_ = v |
| 10910 |
l = v.Size() |
| 10911 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10912 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10913 |
} |
| 10914 |
} |
| 10915 |
if len(m.NullableFloat) > 0 { |
| 10916 |
for k, v := range m.NullableFloat { |
| 10917 |
_ = k |
| 10918 |
_ = v |
| 10919 |
l = 0 |
| 10920 |
if v != nil { |
| 10921 |
l = v.Size() |
| 10922 |
l += 1 + sovTypes(uint64(l)) |
| 10923 |
} |
| 10924 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10925 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10926 |
} |
| 10927 |
} |
| 10928 |
if len(m.NonnullFloat) > 0 { |
| 10929 |
for k, v := range m.NonnullFloat { |
| 10930 |
_ = k |
| 10931 |
_ = v |
| 10932 |
l = v.Size() |
| 10933 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10934 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10935 |
} |
| 10936 |
} |
| 10937 |
if len(m.NullableInt64) > 0 { |
| 10938 |
for k, v := range m.NullableInt64 { |
| 10939 |
_ = k |
| 10940 |
_ = v |
| 10941 |
l = 0 |
| 10942 |
if v != nil { |
| 10943 |
l = v.Size() |
| 10944 |
l += 1 + sovTypes(uint64(l)) |
| 10945 |
} |
| 10946 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10947 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10948 |
} |
| 10949 |
} |
| 10950 |
if len(m.NonnullInt64) > 0 { |
| 10951 |
for k, v := range m.NonnullInt64 { |
| 10952 |
_ = k |
| 10953 |
_ = v |
| 10954 |
l = v.Size() |
| 10955 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10956 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10957 |
} |
| 10958 |
} |
| 10959 |
if len(m.NullableUInt64) > 0 { |
| 10960 |
for k, v := range m.NullableUInt64 { |
| 10961 |
_ = k |
| 10962 |
_ = v |
| 10963 |
l = 0 |
| 10964 |
if v != nil { |
| 10965 |
l = v.Size() |
| 10966 |
l += 1 + sovTypes(uint64(l)) |
| 10967 |
} |
| 10968 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10969 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10970 |
} |
| 10971 |
} |
| 10972 |
if len(m.NonnullUInt64) > 0 { |
| 10973 |
for k, v := range m.NonnullUInt64 { |
| 10974 |
_ = k |
| 10975 |
_ = v |
| 10976 |
l = v.Size() |
| 10977 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 10978 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10979 |
} |
| 10980 |
} |
| 10981 |
if len(m.NullableInt32) > 0 { |
| 10982 |
for k, v := range m.NullableInt32 { |
| 10983 |
_ = k |
| 10984 |
_ = v |
| 10985 |
l = 0 |
| 10986 |
if v != nil { |
| 10987 |
l = v.Size() |
| 10988 |
l += 1 + sovTypes(uint64(l)) |
| 10989 |
} |
| 10990 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 10991 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 10992 |
} |
| 10993 |
} |
| 10994 |
if len(m.NonnullInt32) > 0 { |
| 10995 |
for k, v := range m.NonnullInt32 { |
| 10996 |
_ = k |
| 10997 |
_ = v |
| 10998 |
l = v.Size() |
| 10999 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11000 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11001 |
} |
| 11002 |
} |
| 11003 |
if len(m.NullableUInt32) > 0 { |
| 11004 |
for k, v := range m.NullableUInt32 { |
| 11005 |
_ = k |
| 11006 |
_ = v |
| 11007 |
l = 0 |
| 11008 |
if v != nil { |
| 11009 |
l = v.Size() |
| 11010 |
l += 1 + sovTypes(uint64(l)) |
| 11011 |
} |
| 11012 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11013 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11014 |
} |
| 11015 |
} |
| 11016 |
if len(m.NonnullUInt32) > 0 { |
| 11017 |
for k, v := range m.NonnullUInt32 { |
| 11018 |
_ = k |
| 11019 |
_ = v |
| 11020 |
l = v.Size() |
| 11021 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11022 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11023 |
} |
| 11024 |
} |
| 11025 |
if len(m.NullableBool) > 0 { |
| 11026 |
for k, v := range m.NullableBool { |
| 11027 |
_ = k |
| 11028 |
_ = v |
| 11029 |
l = 0 |
| 11030 |
if v != nil { |
| 11031 |
l = v.Size() |
| 11032 |
l += 1 + sovTypes(uint64(l)) |
| 11033 |
} |
| 11034 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11035 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11036 |
} |
| 11037 |
} |
| 11038 |
if len(m.NonnullBool) > 0 { |
| 11039 |
for k, v := range m.NonnullBool { |
| 11040 |
_ = k |
| 11041 |
_ = v |
| 11042 |
l = v.Size() |
| 11043 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11044 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11045 |
} |
| 11046 |
} |
| 11047 |
if len(m.NullableString) > 0 { |
| 11048 |
for k, v := range m.NullableString { |
| 11049 |
_ = k |
| 11050 |
_ = v |
| 11051 |
l = 0 |
| 11052 |
if v != nil { |
| 11053 |
l = v.Size() |
| 11054 |
l += 1 + sovTypes(uint64(l)) |
| 11055 |
} |
| 11056 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11057 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11058 |
} |
| 11059 |
} |
| 11060 |
if len(m.NonnullString) > 0 { |
| 11061 |
for k, v := range m.NonnullString { |
| 11062 |
_ = k |
| 11063 |
_ = v |
| 11064 |
l = v.Size() |
| 11065 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11066 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11067 |
} |
| 11068 |
} |
| 11069 |
if len(m.NullableBytes) > 0 { |
| 11070 |
for k, v := range m.NullableBytes { |
| 11071 |
_ = k |
| 11072 |
_ = v |
| 11073 |
l = 0 |
| 11074 |
if v != nil { |
| 11075 |
l = v.Size() |
| 11076 |
l += 1 + sovTypes(uint64(l)) |
| 11077 |
} |
| 11078 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11079 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11080 |
} |
| 11081 |
} |
| 11082 |
if len(m.NonnullBytes) > 0 { |
| 11083 |
for k, v := range m.NonnullBytes { |
| 11084 |
_ = k |
| 11085 |
_ = v |
| 11086 |
l = v.Size() |
| 11087 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11088 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11089 |
} |
| 11090 |
} |
| 11091 |
if m.XXX_unrecognized != nil { |
| 11092 |
n += len(m.XXX_unrecognized) |
| 11093 |
} |
| 11094 |
return n |
| 11095 |
} |
| 11096 |
|
| 11097 |
func (m *MapStdTypes) Size() (n int) { |
| 11098 |
if m == nil { |
| 11099 |
return 0 |
| 11100 |
} |
| 11101 |
var l int |
| 11102 |
_ = l |
| 11103 |
if len(m.NullableTimestamp) > 0 { |
| 11104 |
for k, v := range m.NullableTimestamp { |
| 11105 |
_ = k |
| 11106 |
_ = v |
| 11107 |
l = 0 |
| 11108 |
if v != nil { |
| 11109 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(*v) |
| 11110 |
l += 1 + sovTypes(uint64(l)) |
| 11111 |
} |
| 11112 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11113 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11114 |
} |
| 11115 |
} |
| 11116 |
if len(m.Timestamp) > 0 { |
| 11117 |
for k, v := range m.Timestamp { |
| 11118 |
_ = k |
| 11119 |
_ = v |
| 11120 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(v) |
| 11121 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11122 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11123 |
} |
| 11124 |
} |
| 11125 |
if len(m.NullableDuration) > 0 { |
| 11126 |
for k, v := range m.NullableDuration { |
| 11127 |
_ = k |
| 11128 |
_ = v |
| 11129 |
l = 0 |
| 11130 |
if v != nil { |
| 11131 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*v) |
| 11132 |
l += 1 + sovTypes(uint64(l)) |
| 11133 |
} |
| 11134 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11135 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11136 |
} |
| 11137 |
} |
| 11138 |
if len(m.Duration) > 0 { |
| 11139 |
for k, v := range m.Duration { |
| 11140 |
_ = k |
| 11141 |
_ = v |
| 11142 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(v) |
| 11143 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11144 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11145 |
} |
| 11146 |
} |
| 11147 |
if len(m.NullableDouble) > 0 { |
| 11148 |
for k, v := range m.NullableDouble { |
| 11149 |
_ = k |
| 11150 |
_ = v |
| 11151 |
l = 0 |
| 11152 |
if v != nil { |
| 11153 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(*v) |
| 11154 |
l += 1 + sovTypes(uint64(l)) |
| 11155 |
} |
| 11156 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11157 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11158 |
} |
| 11159 |
} |
| 11160 |
if len(m.NonnullDouble) > 0 { |
| 11161 |
for k, v := range m.NonnullDouble { |
| 11162 |
_ = k |
| 11163 |
_ = v |
| 11164 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(v) |
| 11165 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11166 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11167 |
} |
| 11168 |
} |
| 11169 |
if len(m.NullableFloat) > 0 { |
| 11170 |
for k, v := range m.NullableFloat { |
| 11171 |
_ = k |
| 11172 |
_ = v |
| 11173 |
l = 0 |
| 11174 |
if v != nil { |
| 11175 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(*v) |
| 11176 |
l += 1 + sovTypes(uint64(l)) |
| 11177 |
} |
| 11178 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11179 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11180 |
} |
| 11181 |
} |
| 11182 |
if len(m.NonnullFloat) > 0 { |
| 11183 |
for k, v := range m.NonnullFloat { |
| 11184 |
_ = k |
| 11185 |
_ = v |
| 11186 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(v) |
| 11187 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11188 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11189 |
} |
| 11190 |
} |
| 11191 |
if len(m.NullableInt64) > 0 { |
| 11192 |
for k, v := range m.NullableInt64 { |
| 11193 |
_ = k |
| 11194 |
_ = v |
| 11195 |
l = 0 |
| 11196 |
if v != nil { |
| 11197 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(*v) |
| 11198 |
l += 1 + sovTypes(uint64(l)) |
| 11199 |
} |
| 11200 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11201 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11202 |
} |
| 11203 |
} |
| 11204 |
if len(m.NonnullInt64) > 0 { |
| 11205 |
for k, v := range m.NonnullInt64 { |
| 11206 |
_ = k |
| 11207 |
_ = v |
| 11208 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(v) |
| 11209 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11210 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11211 |
} |
| 11212 |
} |
| 11213 |
if len(m.NullableUInt64) > 0 { |
| 11214 |
for k, v := range m.NullableUInt64 { |
| 11215 |
_ = k |
| 11216 |
_ = v |
| 11217 |
l = 0 |
| 11218 |
if v != nil { |
| 11219 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*v) |
| 11220 |
l += 1 + sovTypes(uint64(l)) |
| 11221 |
} |
| 11222 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11223 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11224 |
} |
| 11225 |
} |
| 11226 |
if len(m.NonnullUInt64) > 0 { |
| 11227 |
for k, v := range m.NonnullUInt64 { |
| 11228 |
_ = k |
| 11229 |
_ = v |
| 11230 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(v) |
| 11231 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11232 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11233 |
} |
| 11234 |
} |
| 11235 |
if len(m.NullableInt32) > 0 { |
| 11236 |
for k, v := range m.NullableInt32 { |
| 11237 |
_ = k |
| 11238 |
_ = v |
| 11239 |
l = 0 |
| 11240 |
if v != nil { |
| 11241 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(*v) |
| 11242 |
l += 1 + sovTypes(uint64(l)) |
| 11243 |
} |
| 11244 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11245 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11246 |
} |
| 11247 |
} |
| 11248 |
if len(m.NonnullInt32) > 0 { |
| 11249 |
for k, v := range m.NonnullInt32 { |
| 11250 |
_ = k |
| 11251 |
_ = v |
| 11252 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(v) |
| 11253 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11254 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11255 |
} |
| 11256 |
} |
| 11257 |
if len(m.NullableUInt32) > 0 { |
| 11258 |
for k, v := range m.NullableUInt32 { |
| 11259 |
_ = k |
| 11260 |
_ = v |
| 11261 |
l = 0 |
| 11262 |
if v != nil { |
| 11263 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*v) |
| 11264 |
l += 1 + sovTypes(uint64(l)) |
| 11265 |
} |
| 11266 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11267 |
n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) |
| 11268 |
} |
| 11269 |
} |
| 11270 |
if len(m.NonnullUInt32) > 0 { |
| 11271 |
for k, v := range m.NonnullUInt32 { |
| 11272 |
_ = k |
| 11273 |
_ = v |
| 11274 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(v) |
| 11275 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11276 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11277 |
} |
| 11278 |
} |
| 11279 |
if len(m.NullableBool) > 0 { |
| 11280 |
for k, v := range m.NullableBool { |
| 11281 |
_ = k |
| 11282 |
_ = v |
| 11283 |
l = 0 |
| 11284 |
if v != nil { |
| 11285 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(*v) |
| 11286 |
l += 1 + sovTypes(uint64(l)) |
| 11287 |
} |
| 11288 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11289 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11290 |
} |
| 11291 |
} |
| 11292 |
if len(m.NonnullBool) > 0 { |
| 11293 |
for k, v := range m.NonnullBool { |
| 11294 |
_ = k |
| 11295 |
_ = v |
| 11296 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(v) |
| 11297 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11298 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11299 |
} |
| 11300 |
} |
| 11301 |
if len(m.NullableString) > 0 { |
| 11302 |
for k, v := range m.NullableString { |
| 11303 |
_ = k |
| 11304 |
_ = v |
| 11305 |
l = 0 |
| 11306 |
if v != nil { |
| 11307 |
l = github_com_gogo_protobuf_types.SizeOfStdString(*v) |
| 11308 |
l += 1 + sovTypes(uint64(l)) |
| 11309 |
} |
| 11310 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11311 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11312 |
} |
| 11313 |
} |
| 11314 |
if len(m.NonnullString) > 0 { |
| 11315 |
for k, v := range m.NonnullString { |
| 11316 |
_ = k |
| 11317 |
_ = v |
| 11318 |
l = github_com_gogo_protobuf_types.SizeOfStdString(v) |
| 11319 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11320 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11321 |
} |
| 11322 |
} |
| 11323 |
if len(m.NullableBytes) > 0 { |
| 11324 |
for k, v := range m.NullableBytes { |
| 11325 |
_ = k |
| 11326 |
_ = v |
| 11327 |
l = 0 |
| 11328 |
if v != nil { |
| 11329 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(*v) |
| 11330 |
l += 1 + sovTypes(uint64(l)) |
| 11331 |
} |
| 11332 |
mapEntrySize := 1 + sovTypes(uint64(k)) + l |
| 11333 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11334 |
} |
| 11335 |
} |
| 11336 |
if len(m.NonnullBytes) > 0 { |
| 11337 |
for k, v := range m.NonnullBytes { |
| 11338 |
_ = k |
| 11339 |
_ = v |
| 11340 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(v) |
| 11341 |
mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) |
| 11342 |
n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) |
| 11343 |
} |
| 11344 |
} |
| 11345 |
if m.XXX_unrecognized != nil { |
| 11346 |
n += len(m.XXX_unrecognized) |
| 11347 |
} |
| 11348 |
return n |
| 11349 |
} |
| 11350 |
|
| 11351 |
func (m *OneofProtoTypes) Size() (n int) { |
| 11352 |
if m == nil { |
| 11353 |
return 0 |
| 11354 |
} |
| 11355 |
var l int |
| 11356 |
_ = l |
| 11357 |
if m.OneOfProtoTimes != nil { |
| 11358 |
n += m.OneOfProtoTimes.Size() |
| 11359 |
} |
| 11360 |
if m.XXX_unrecognized != nil { |
| 11361 |
n += len(m.XXX_unrecognized) |
| 11362 |
} |
| 11363 |
return n |
| 11364 |
} |
| 11365 |
|
| 11366 |
func (m *OneofProtoTypes_Timestamp) Size() (n int) { |
| 11367 |
if m == nil { |
| 11368 |
return 0 |
| 11369 |
} |
| 11370 |
var l int |
| 11371 |
_ = l |
| 11372 |
if m.Timestamp != nil { |
| 11373 |
l = m.Timestamp.Size() |
| 11374 |
n += 1 + l + sovTypes(uint64(l)) |
| 11375 |
} |
| 11376 |
return n |
| 11377 |
} |
| 11378 |
func (m *OneofProtoTypes_Duration) Size() (n int) { |
| 11379 |
if m == nil { |
| 11380 |
return 0 |
| 11381 |
} |
| 11382 |
var l int |
| 11383 |
_ = l |
| 11384 |
if m.Duration != nil { |
| 11385 |
l = m.Duration.Size() |
| 11386 |
n += 1 + l + sovTypes(uint64(l)) |
| 11387 |
} |
| 11388 |
return n |
| 11389 |
} |
| 11390 |
func (m *OneofProtoTypes_RepDouble) Size() (n int) { |
| 11391 |
if m == nil { |
| 11392 |
return 0 |
| 11393 |
} |
| 11394 |
var l int |
| 11395 |
_ = l |
| 11396 |
if m.RepDouble != nil { |
| 11397 |
l = m.RepDouble.Size() |
| 11398 |
n += 1 + l + sovTypes(uint64(l)) |
| 11399 |
} |
| 11400 |
return n |
| 11401 |
} |
| 11402 |
func (m *OneofProtoTypes_RepFloat) Size() (n int) { |
| 11403 |
if m == nil { |
| 11404 |
return 0 |
| 11405 |
} |
| 11406 |
var l int |
| 11407 |
_ = l |
| 11408 |
if m.RepFloat != nil { |
| 11409 |
l = m.RepFloat.Size() |
| 11410 |
n += 1 + l + sovTypes(uint64(l)) |
| 11411 |
} |
| 11412 |
return n |
| 11413 |
} |
| 11414 |
func (m *OneofProtoTypes_RepInt64) Size() (n int) { |
| 11415 |
if m == nil { |
| 11416 |
return 0 |
| 11417 |
} |
| 11418 |
var l int |
| 11419 |
_ = l |
| 11420 |
if m.RepInt64 != nil { |
| 11421 |
l = m.RepInt64.Size() |
| 11422 |
n += 1 + l + sovTypes(uint64(l)) |
| 11423 |
} |
| 11424 |
return n |
| 11425 |
} |
| 11426 |
func (m *OneofProtoTypes_RepUInt64) Size() (n int) { |
| 11427 |
if m == nil { |
| 11428 |
return 0 |
| 11429 |
} |
| 11430 |
var l int |
| 11431 |
_ = l |
| 11432 |
if m.RepUInt64 != nil { |
| 11433 |
l = m.RepUInt64.Size() |
| 11434 |
n += 1 + l + sovTypes(uint64(l)) |
| 11435 |
} |
| 11436 |
return n |
| 11437 |
} |
| 11438 |
func (m *OneofProtoTypes_RepInt32) Size() (n int) { |
| 11439 |
if m == nil { |
| 11440 |
return 0 |
| 11441 |
} |
| 11442 |
var l int |
| 11443 |
_ = l |
| 11444 |
if m.RepInt32 != nil { |
| 11445 |
l = m.RepInt32.Size() |
| 11446 |
n += 1 + l + sovTypes(uint64(l)) |
| 11447 |
} |
| 11448 |
return n |
| 11449 |
} |
| 11450 |
func (m *OneofProtoTypes_RepUInt32) Size() (n int) { |
| 11451 |
if m == nil { |
| 11452 |
return 0 |
| 11453 |
} |
| 11454 |
var l int |
| 11455 |
_ = l |
| 11456 |
if m.RepUInt32 != nil { |
| 11457 |
l = m.RepUInt32.Size() |
| 11458 |
n += 1 + l + sovTypes(uint64(l)) |
| 11459 |
} |
| 11460 |
return n |
| 11461 |
} |
| 11462 |
func (m *OneofProtoTypes_RepBool) Size() (n int) { |
| 11463 |
if m == nil { |
| 11464 |
return 0 |
| 11465 |
} |
| 11466 |
var l int |
| 11467 |
_ = l |
| 11468 |
if m.RepBool != nil { |
| 11469 |
l = m.RepBool.Size() |
| 11470 |
n += 1 + l + sovTypes(uint64(l)) |
| 11471 |
} |
| 11472 |
return n |
| 11473 |
} |
| 11474 |
func (m *OneofProtoTypes_RepString) Size() (n int) { |
| 11475 |
if m == nil { |
| 11476 |
return 0 |
| 11477 |
} |
| 11478 |
var l int |
| 11479 |
_ = l |
| 11480 |
if m.RepString != nil { |
| 11481 |
l = m.RepString.Size() |
| 11482 |
n += 1 + l + sovTypes(uint64(l)) |
| 11483 |
} |
| 11484 |
return n |
| 11485 |
} |
| 11486 |
func (m *OneofProtoTypes_RepBytes) Size() (n int) { |
| 11487 |
if m == nil { |
| 11488 |
return 0 |
| 11489 |
} |
| 11490 |
var l int |
| 11491 |
_ = l |
| 11492 |
if m.RepBytes != nil { |
| 11493 |
l = m.RepBytes.Size() |
| 11494 |
n += 1 + l + sovTypes(uint64(l)) |
| 11495 |
} |
| 11496 |
return n |
| 11497 |
} |
| 11498 |
func (m *OneofStdTypes) Size() (n int) { |
| 11499 |
if m == nil { |
| 11500 |
return 0 |
| 11501 |
} |
| 11502 |
var l int |
| 11503 |
_ = l |
| 11504 |
if m.OneOfStdTimes != nil { |
| 11505 |
n += m.OneOfStdTimes.Size() |
| 11506 |
} |
| 11507 |
if m.XXX_unrecognized != nil { |
| 11508 |
n += len(m.XXX_unrecognized) |
| 11509 |
} |
| 11510 |
return n |
| 11511 |
} |
| 11512 |
|
| 11513 |
func (m *OneofStdTypes_Timestamp) Size() (n int) { |
| 11514 |
if m == nil { |
| 11515 |
return 0 |
| 11516 |
} |
| 11517 |
var l int |
| 11518 |
_ = l |
| 11519 |
if m.Timestamp != nil { |
| 11520 |
l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Timestamp) |
| 11521 |
n += 1 + l + sovTypes(uint64(l)) |
| 11522 |
} |
| 11523 |
return n |
| 11524 |
} |
| 11525 |
func (m *OneofStdTypes_Duration) Size() (n int) { |
| 11526 |
if m == nil { |
| 11527 |
return 0 |
| 11528 |
} |
| 11529 |
var l int |
| 11530 |
_ = l |
| 11531 |
if m.Duration != nil { |
| 11532 |
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.Duration) |
| 11533 |
n += 1 + l + sovTypes(uint64(l)) |
| 11534 |
} |
| 11535 |
return n |
| 11536 |
} |
| 11537 |
func (m *OneofStdTypes_RepDouble) Size() (n int) { |
| 11538 |
if m == nil { |
| 11539 |
return 0 |
| 11540 |
} |
| 11541 |
var l int |
| 11542 |
_ = l |
| 11543 |
if m.RepDouble != nil { |
| 11544 |
l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.RepDouble) |
| 11545 |
n += 1 + l + sovTypes(uint64(l)) |
| 11546 |
} |
| 11547 |
return n |
| 11548 |
} |
| 11549 |
func (m *OneofStdTypes_RepFloat) Size() (n int) { |
| 11550 |
if m == nil { |
| 11551 |
return 0 |
| 11552 |
} |
| 11553 |
var l int |
| 11554 |
_ = l |
| 11555 |
if m.RepFloat != nil { |
| 11556 |
l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.RepFloat) |
| 11557 |
n += 1 + l + sovTypes(uint64(l)) |
| 11558 |
} |
| 11559 |
return n |
| 11560 |
} |
| 11561 |
func (m *OneofStdTypes_RepInt64) Size() (n int) { |
| 11562 |
if m == nil { |
| 11563 |
return 0 |
| 11564 |
} |
| 11565 |
var l int |
| 11566 |
_ = l |
| 11567 |
if m.RepInt64 != nil { |
| 11568 |
l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.RepInt64) |
| 11569 |
n += 1 + l + sovTypes(uint64(l)) |
| 11570 |
} |
| 11571 |
return n |
| 11572 |
} |
| 11573 |
func (m *OneofStdTypes_RepUInt64) Size() (n int) { |
| 11574 |
if m == nil { |
| 11575 |
return 0 |
| 11576 |
} |
| 11577 |
var l int |
| 11578 |
_ = l |
| 11579 |
if m.RepUInt64 != nil { |
| 11580 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.RepUInt64) |
| 11581 |
n += 1 + l + sovTypes(uint64(l)) |
| 11582 |
} |
| 11583 |
return n |
| 11584 |
} |
| 11585 |
func (m *OneofStdTypes_RepInt32) Size() (n int) { |
| 11586 |
if m == nil { |
| 11587 |
return 0 |
| 11588 |
} |
| 11589 |
var l int |
| 11590 |
_ = l |
| 11591 |
if m.RepInt32 != nil { |
| 11592 |
l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.RepInt32) |
| 11593 |
n += 1 + l + sovTypes(uint64(l)) |
| 11594 |
} |
| 11595 |
return n |
| 11596 |
} |
| 11597 |
func (m *OneofStdTypes_RepUInt32) Size() (n int) { |
| 11598 |
if m == nil { |
| 11599 |
return 0 |
| 11600 |
} |
| 11601 |
var l int |
| 11602 |
_ = l |
| 11603 |
if m.RepUInt32 != nil { |
| 11604 |
l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.RepUInt32) |
| 11605 |
n += 1 + l + sovTypes(uint64(l)) |
| 11606 |
} |
| 11607 |
return n |
| 11608 |
} |
| 11609 |
func (m *OneofStdTypes_RepBool) Size() (n int) { |
| 11610 |
if m == nil { |
| 11611 |
return 0 |
| 11612 |
} |
| 11613 |
var l int |
| 11614 |
_ = l |
| 11615 |
if m.RepBool != nil { |
| 11616 |
l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.RepBool) |
| 11617 |
n += 1 + l + sovTypes(uint64(l)) |
| 11618 |
} |
| 11619 |
return n |
| 11620 |
} |
| 11621 |
func (m *OneofStdTypes_RepString) Size() (n int) { |
| 11622 |
if m == nil { |
| 11623 |
return 0 |
| 11624 |
} |
| 11625 |
var l int |
| 11626 |
_ = l |
| 11627 |
if m.RepString != nil { |
| 11628 |
l = github_com_gogo_protobuf_types.SizeOfStdString(*m.RepString) |
| 11629 |
n += 1 + l + sovTypes(uint64(l)) |
| 11630 |
} |
| 11631 |
return n |
| 11632 |
} |
| 11633 |
func (m *OneofStdTypes_RepBytes) Size() (n int) { |
| 11634 |
if m == nil { |
| 11635 |
return 0 |
| 11636 |
} |
| 11637 |
var l int |
| 11638 |
_ = l |
| 11639 |
if m.RepBytes != nil { |
| 11640 |
l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.RepBytes) |
| 11641 |
n += 1 + l + sovTypes(uint64(l)) |
| 11642 |
} |
| 11643 |
return n |
| 11644 |
} |
| 11645 |
|
| 11646 |
func sovTypes(x uint64) (n int) { |
| 11647 |
return (math_bits.Len64(x|1) + 6) / 7 |
| 11648 |
} |
| 11649 |
func sozTypes(x uint64) (n int) { |
| 11650 |
return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 11651 |
} |