// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: combos/marshaler/types.proto package types import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" import _ "github.com/gogo/protobuf/gogoproto" import types "github.com/gogo/protobuf/types" import time "time" import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" import bytes "bytes" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf var _ = time.Kitchen // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package type KnownTypes struct { Dur *types.Duration `protobuf:"bytes,1,opt,name=dur,proto3" json:"dur,omitempty"` Ts *types.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` Dbl *types.DoubleValue `protobuf:"bytes,3,opt,name=dbl,proto3" json:"dbl,omitempty"` Flt *types.FloatValue `protobuf:"bytes,4,opt,name=flt,proto3" json:"flt,omitempty"` I64 *types.Int64Value `protobuf:"bytes,5,opt,name=i64,proto3" json:"i64,omitempty"` U64 *types.UInt64Value `protobuf:"bytes,6,opt,name=u64,proto3" json:"u64,omitempty"` I32 *types.Int32Value `protobuf:"bytes,7,opt,name=i32,proto3" json:"i32,omitempty"` U32 *types.UInt32Value `protobuf:"bytes,8,opt,name=u32,proto3" json:"u32,omitempty"` Bool *types.BoolValue `protobuf:"bytes,9,opt,name=bool,proto3" json:"bool,omitempty"` Str *types.StringValue `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"` Bytes *types.BytesValue `protobuf:"bytes,11,opt,name=bytes,proto3" json:"bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *KnownTypes) Reset() { *m = KnownTypes{} } func (m *KnownTypes) String() string { return proto.CompactTextString(m) } func (*KnownTypes) ProtoMessage() {} func (*KnownTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{0} } func (m *KnownTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KnownTypes.Unmarshal(m, b) } func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *KnownTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_KnownTypes.Merge(dst, src) } func (m *KnownTypes) XXX_Size() int { return m.Size() } func (m *KnownTypes) XXX_DiscardUnknown() { xxx_messageInfo_KnownTypes.DiscardUnknown(m) } var xxx_messageInfo_KnownTypes proto.InternalMessageInfo func (m *KnownTypes) GetDur() *types.Duration { if m != nil { return m.Dur } return nil } func (m *KnownTypes) GetTs() *types.Timestamp { if m != nil { return m.Ts } return nil } func (m *KnownTypes) GetDbl() *types.DoubleValue { if m != nil { return m.Dbl } return nil } func (m *KnownTypes) GetFlt() *types.FloatValue { if m != nil { return m.Flt } return nil } func (m *KnownTypes) GetI64() *types.Int64Value { if m != nil { return m.I64 } return nil } func (m *KnownTypes) GetU64() *types.UInt64Value { if m != nil { return m.U64 } return nil } func (m *KnownTypes) GetI32() *types.Int32Value { if m != nil { return m.I32 } return nil } func (m *KnownTypes) GetU32() *types.UInt32Value { if m != nil { return m.U32 } return nil } func (m *KnownTypes) GetBool() *types.BoolValue { if m != nil { return m.Bool } return nil } func (m *KnownTypes) GetStr() *types.StringValue { if m != nil { return m.Str } return nil } func (m *KnownTypes) GetBytes() *types.BytesValue { if m != nil { return m.Bytes } return nil } type ProtoTypes struct { NullableTimestamp *types.Timestamp `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3" json:"nullableTimestamp,omitempty"` NullableDuration *types.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3" json:"nullableDuration,omitempty"` NullableDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` NullableFloat *types.FloatValue `protobuf:"bytes,4,opt,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` NullableInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` NullableUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` NullableInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` NullableUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` NullableBool *types.BoolValue `protobuf:"bytes,9,opt,name=nullableBool,proto3" json:"nullableBool,omitempty"` NullableString *types.StringValue `protobuf:"bytes,10,opt,name=nullableString,proto3" json:"nullableString,omitempty"` NullableBytes *types.BytesValue `protobuf:"bytes,11,opt,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` Timestamp types.Timestamp `protobuf:"bytes,12,opt,name=timestamp,proto3" json:"timestamp"` Duration types.Duration `protobuf:"bytes,13,opt,name=duration,proto3" json:"duration"` NonnullDouble types.DoubleValue `protobuf:"bytes,14,opt,name=nonnullDouble,proto3" json:"nonnullDouble"` NonnullFloat types.FloatValue `protobuf:"bytes,15,opt,name=nonnullFloat,proto3" json:"nonnullFloat"` NonnullInt64 types.Int64Value `protobuf:"bytes,16,opt,name=nonnullInt64,proto3" json:"nonnullInt64"` NonnullUInt64 types.UInt64Value `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3" json:"nonnullUInt64"` NonnullInt32 types.Int32Value `protobuf:"bytes,18,opt,name=nonnullInt32,proto3" json:"nonnullInt32"` NonnullUInt32 types.UInt32Value `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3" json:"nonnullUInt32"` NonnullBool types.BoolValue `protobuf:"bytes,20,opt,name=nonnullBool,proto3" json:"nonnullBool"` NonnullString types.StringValue `protobuf:"bytes,21,opt,name=nonnullString,proto3" json:"nonnullString"` NonnullBytes types.BytesValue `protobuf:"bytes,22,opt,name=nonnullBytes,proto3" json:"nonnullBytes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ProtoTypes) Reset() { *m = ProtoTypes{} } func (m *ProtoTypes) String() string { return proto.CompactTextString(m) } func (*ProtoTypes) ProtoMessage() {} func (*ProtoTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{1} } func (m *ProtoTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProtoTypes.Unmarshal(m, b) } func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ProtoTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *ProtoTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_ProtoTypes.Merge(dst, src) } func (m *ProtoTypes) XXX_Size() int { return m.Size() } func (m *ProtoTypes) XXX_DiscardUnknown() { xxx_messageInfo_ProtoTypes.DiscardUnknown(m) } var xxx_messageInfo_ProtoTypes proto.InternalMessageInfo func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp { if m != nil { return m.NullableTimestamp } return nil } func (m *ProtoTypes) GetNullableDuration() *types.Duration { if m != nil { return m.NullableDuration } return nil } func (m *ProtoTypes) GetNullableDouble() *types.DoubleValue { if m != nil { return m.NullableDouble } return nil } func (m *ProtoTypes) GetNullableFloat() *types.FloatValue { if m != nil { return m.NullableFloat } return nil } func (m *ProtoTypes) GetNullableInt64() *types.Int64Value { if m != nil { return m.NullableInt64 } return nil } func (m *ProtoTypes) GetNullableUInt64() *types.UInt64Value { if m != nil { return m.NullableUInt64 } return nil } func (m *ProtoTypes) GetNullableInt32() *types.Int32Value { if m != nil { return m.NullableInt32 } return nil } func (m *ProtoTypes) GetNullableUInt32() *types.UInt32Value { if m != nil { return m.NullableUInt32 } return nil } func (m *ProtoTypes) GetNullableBool() *types.BoolValue { if m != nil { return m.NullableBool } return nil } func (m *ProtoTypes) GetNullableString() *types.StringValue { if m != nil { return m.NullableString } return nil } func (m *ProtoTypes) GetNullableBytes() *types.BytesValue { if m != nil { return m.NullableBytes } return nil } func (m *ProtoTypes) GetTimestamp() types.Timestamp { if m != nil { return m.Timestamp } return types.Timestamp{} } func (m *ProtoTypes) GetDuration() types.Duration { if m != nil { return m.Duration } return types.Duration{} } func (m *ProtoTypes) GetNonnullDouble() types.DoubleValue { if m != nil { return m.NonnullDouble } return types.DoubleValue{} } func (m *ProtoTypes) GetNonnullFloat() types.FloatValue { if m != nil { return m.NonnullFloat } return types.FloatValue{} } func (m *ProtoTypes) GetNonnullInt64() types.Int64Value { if m != nil { return m.NonnullInt64 } return types.Int64Value{} } func (m *ProtoTypes) GetNonnullUInt64() types.UInt64Value { if m != nil { return m.NonnullUInt64 } return types.UInt64Value{} } func (m *ProtoTypes) GetNonnullInt32() types.Int32Value { if m != nil { return m.NonnullInt32 } return types.Int32Value{} } func (m *ProtoTypes) GetNonnullUInt32() types.UInt32Value { if m != nil { return m.NonnullUInt32 } return types.UInt32Value{} } func (m *ProtoTypes) GetNonnullBool() types.BoolValue { if m != nil { return m.NonnullBool } return types.BoolValue{} } func (m *ProtoTypes) GetNonnullString() types.StringValue { if m != nil { return m.NonnullString } return types.StringValue{} } func (m *ProtoTypes) GetNonnullBytes() types.BytesValue { if m != nil { return m.NonnullBytes } return types.BytesValue{} } type StdTypes struct { NullableTimestamp *time.Time `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3,stdtime" json:"nullableTimestamp,omitempty"` NullableDuration *time.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3,stdduration" json:"nullableDuration,omitempty"` NullableDouble *float64 `protobuf:"bytes,3,opt,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` NullableFloat *float32 `protobuf:"bytes,4,opt,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` NullableInt64 *int64 `protobuf:"bytes,5,opt,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` NullableUInt64 *uint64 `protobuf:"bytes,6,opt,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` NullableInt32 *int32 `protobuf:"bytes,7,opt,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` NullableUInt32 *uint32 `protobuf:"bytes,8,opt,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` NullableBool *bool `protobuf:"bytes,9,opt,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` NullableString *string `protobuf:"bytes,10,opt,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` NullableBytes *[]byte `protobuf:"bytes,11,opt,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` Timestamp time.Time `protobuf:"bytes,12,opt,name=timestamp,proto3,stdtime" json:"timestamp"` Duration time.Duration `protobuf:"bytes,13,opt,name=duration,proto3,stdduration" json:"duration"` NonnullDouble float64 `protobuf:"bytes,14,opt,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` NonnullFloat float32 `protobuf:"bytes,15,opt,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` NonnullInt64 int64 `protobuf:"bytes,16,opt,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` NonnullUInt64 uint64 `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` NonnullInt32 int32 `protobuf:"bytes,18,opt,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` NonnullUInt32 uint32 `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` NonnullBool bool `protobuf:"bytes,20,opt,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` NonnullString string `protobuf:"bytes,21,opt,name=nonnullString,proto3,wktptr" json:"nonnullString"` NonnullBytes []byte `protobuf:"bytes,22,opt,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *StdTypes) Reset() { *m = StdTypes{} } func (m *StdTypes) String() string { return proto.CompactTextString(m) } func (*StdTypes) ProtoMessage() {} func (*StdTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{2} } func (m *StdTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StdTypes.Unmarshal(m, b) } func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_StdTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *StdTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_StdTypes.Merge(dst, src) } func (m *StdTypes) XXX_Size() int { return m.Size() } func (m *StdTypes) XXX_DiscardUnknown() { xxx_messageInfo_StdTypes.DiscardUnknown(m) } var xxx_messageInfo_StdTypes proto.InternalMessageInfo func (m *StdTypes) GetNullableTimestamp() *time.Time { if m != nil { return m.NullableTimestamp } return nil } func (m *StdTypes) GetNullableDuration() *time.Duration { if m != nil { return m.NullableDuration } return nil } func (m *StdTypes) GetNullableDouble() *float64 { if m != nil { return m.NullableDouble } return nil } func (m *StdTypes) GetNullableFloat() *float32 { if m != nil { return m.NullableFloat } return nil } func (m *StdTypes) GetNullableInt64() *int64 { if m != nil { return m.NullableInt64 } return nil } func (m *StdTypes) GetNullableUInt64() *uint64 { if m != nil { return m.NullableUInt64 } return nil } func (m *StdTypes) GetNullableInt32() *int32 { if m != nil { return m.NullableInt32 } return nil } func (m *StdTypes) GetNullableUInt32() *uint32 { if m != nil { return m.NullableUInt32 } return nil } func (m *StdTypes) GetNullableBool() *bool { if m != nil { return m.NullableBool } return nil } func (m *StdTypes) GetNullableString() *string { if m != nil { return m.NullableString } return nil } func (m *StdTypes) GetNullableBytes() *[]byte { if m != nil { return m.NullableBytes } return nil } func (m *StdTypes) GetTimestamp() time.Time { if m != nil { return m.Timestamp } return time.Time{} } func (m *StdTypes) GetDuration() time.Duration { if m != nil { return m.Duration } return 0 } func (m *StdTypes) GetNonnullDouble() float64 { if m != nil { return m.NonnullDouble } return 0 } func (m *StdTypes) GetNonnullFloat() float32 { if m != nil { return m.NonnullFloat } return 0 } func (m *StdTypes) GetNonnullInt64() int64 { if m != nil { return m.NonnullInt64 } return 0 } func (m *StdTypes) GetNonnullUInt64() uint64 { if m != nil { return m.NonnullUInt64 } return 0 } func (m *StdTypes) GetNonnullInt32() int32 { if m != nil { return m.NonnullInt32 } return 0 } func (m *StdTypes) GetNonnullUInt32() uint32 { if m != nil { return m.NonnullUInt32 } return 0 } func (m *StdTypes) GetNonnullBool() bool { if m != nil { return m.NonnullBool } return false } func (m *StdTypes) GetNonnullString() string { if m != nil { return m.NonnullString } return "" } func (m *StdTypes) GetNonnullBytes() []byte { if m != nil { return m.NonnullBytes } return []byte{} } type RepProtoTypes struct { NullableTimestamps []*types.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3" json:"nullableTimestamps,omitempty"` NullableDurations []*types.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3" json:"nullableDurations,omitempty"` Timestamps []types.Timestamp `protobuf:"bytes,3,rep,name=timestamps,proto3" json:"timestamps"` Durations []types.Duration `protobuf:"bytes,4,rep,name=durations,proto3" json:"durations"` NullableDouble []*types.DoubleValue `protobuf:"bytes,5,rep,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` NonnullDouble []types.DoubleValue `protobuf:"bytes,6,rep,name=nonnullDouble,proto3" json:"nonnullDouble"` NullableFloat []*types.FloatValue `protobuf:"bytes,7,rep,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` NonnullFloat []types.FloatValue `protobuf:"bytes,8,rep,name=nonnullFloat,proto3" json:"nonnullFloat"` NullableInt64 []*types.Int64Value `protobuf:"bytes,9,rep,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` NonnullInt64 []types.Int64Value `protobuf:"bytes,10,rep,name=nonnullInt64,proto3" json:"nonnullInt64"` NullableUInt64 []*types.UInt64Value `protobuf:"bytes,11,rep,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` NonnullUInt64 []types.UInt64Value `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3" json:"nonnullUInt64"` NullableInt32 []*types.Int32Value `protobuf:"bytes,13,rep,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` NonnullInt32 []types.Int32Value `protobuf:"bytes,14,rep,name=nonnullInt32,proto3" json:"nonnullInt32"` NullableUInt32 []*types.UInt32Value `protobuf:"bytes,15,rep,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` NonnullUInt32 []types.UInt32Value `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3" json:"nonnullUInt32"` NullableBool []*types.BoolValue `protobuf:"bytes,17,rep,name=nullableBool,proto3" json:"nullableBool,omitempty"` NonnullBool []types.BoolValue `protobuf:"bytes,18,rep,name=nonnullBool,proto3" json:"nonnullBool"` NullableString []*types.StringValue `protobuf:"bytes,19,rep,name=nullableString,proto3" json:"nullableString,omitempty"` NonnullString []types.StringValue `protobuf:"bytes,20,rep,name=nonnullString,proto3" json:"nonnullString"` NullableBytes []*types.BytesValue `protobuf:"bytes,21,rep,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` NonnullBytes []types.BytesValue `protobuf:"bytes,22,rep,name=nonnullBytes,proto3" json:"nonnullBytes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *RepProtoTypes) Reset() { *m = RepProtoTypes{} } func (m *RepProtoTypes) String() string { return proto.CompactTextString(m) } func (*RepProtoTypes) ProtoMessage() {} func (*RepProtoTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{3} } func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RepProtoTypes.Unmarshal(m, b) } func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_RepProtoTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *RepProtoTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_RepProtoTypes.Merge(dst, src) } func (m *RepProtoTypes) XXX_Size() int { return m.Size() } func (m *RepProtoTypes) XXX_DiscardUnknown() { xxx_messageInfo_RepProtoTypes.DiscardUnknown(m) } var xxx_messageInfo_RepProtoTypes proto.InternalMessageInfo func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp { if m != nil { return m.NullableTimestamps } return nil } func (m *RepProtoTypes) GetNullableDurations() []*types.Duration { if m != nil { return m.NullableDurations } return nil } func (m *RepProtoTypes) GetTimestamps() []types.Timestamp { if m != nil { return m.Timestamps } return nil } func (m *RepProtoTypes) GetDurations() []types.Duration { if m != nil { return m.Durations } return nil } func (m *RepProtoTypes) GetNullableDouble() []*types.DoubleValue { if m != nil { return m.NullableDouble } return nil } func (m *RepProtoTypes) GetNonnullDouble() []types.DoubleValue { if m != nil { return m.NonnullDouble } return nil } func (m *RepProtoTypes) GetNullableFloat() []*types.FloatValue { if m != nil { return m.NullableFloat } return nil } func (m *RepProtoTypes) GetNonnullFloat() []types.FloatValue { if m != nil { return m.NonnullFloat } return nil } func (m *RepProtoTypes) GetNullableInt64() []*types.Int64Value { if m != nil { return m.NullableInt64 } return nil } func (m *RepProtoTypes) GetNonnullInt64() []types.Int64Value { if m != nil { return m.NonnullInt64 } return nil } func (m *RepProtoTypes) GetNullableUInt64() []*types.UInt64Value { if m != nil { return m.NullableUInt64 } return nil } func (m *RepProtoTypes) GetNonnullUInt64() []types.UInt64Value { if m != nil { return m.NonnullUInt64 } return nil } func (m *RepProtoTypes) GetNullableInt32() []*types.Int32Value { if m != nil { return m.NullableInt32 } return nil } func (m *RepProtoTypes) GetNonnullInt32() []types.Int32Value { if m != nil { return m.NonnullInt32 } return nil } func (m *RepProtoTypes) GetNullableUInt32() []*types.UInt32Value { if m != nil { return m.NullableUInt32 } return nil } func (m *RepProtoTypes) GetNonnullUInt32() []types.UInt32Value { if m != nil { return m.NonnullUInt32 } return nil } func (m *RepProtoTypes) GetNullableBool() []*types.BoolValue { if m != nil { return m.NullableBool } return nil } func (m *RepProtoTypes) GetNonnullBool() []types.BoolValue { if m != nil { return m.NonnullBool } return nil } func (m *RepProtoTypes) GetNullableString() []*types.StringValue { if m != nil { return m.NullableString } return nil } func (m *RepProtoTypes) GetNonnullString() []types.StringValue { if m != nil { return m.NonnullString } return nil } func (m *RepProtoTypes) GetNullableBytes() []*types.BytesValue { if m != nil { return m.NullableBytes } return nil } func (m *RepProtoTypes) GetNonnullBytes() []types.BytesValue { if m != nil { return m.NonnullBytes } return nil } type RepStdTypes struct { NullableTimestamps []*time.Time `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3,stdtime" json:"nullableTimestamps,omitempty"` NullableDurations []*time.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3,stdduration" json:"nullableDurations,omitempty"` Timestamps []time.Time `protobuf:"bytes,3,rep,name=timestamps,proto3,stdtime" json:"timestamps"` Durations []time.Duration `protobuf:"bytes,4,rep,name=durations,proto3,stdduration" json:"durations"` NullableDouble []*float64 `protobuf:"bytes,5,rep,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` NonnullDouble []float64 `protobuf:"bytes,6,rep,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` NullableFloat []*float32 `protobuf:"bytes,7,rep,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` NonnullFloat []float32 `protobuf:"bytes,8,rep,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` NullableInt64 []*int64 `protobuf:"bytes,9,rep,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` NonnullInt64 []int64 `protobuf:"bytes,10,rep,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` NullableUInt64 []*uint64 `protobuf:"bytes,11,rep,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` NonnullUInt64 []uint64 `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` NullableInt32 []*int32 `protobuf:"bytes,13,rep,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` NonnullInt32 []int32 `protobuf:"bytes,14,rep,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` NullableUInt32 []*uint32 `protobuf:"bytes,15,rep,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` NonnullUInt32 []uint32 `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` NullableBool []*bool `protobuf:"bytes,17,rep,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` NonnullBool []bool `protobuf:"bytes,18,rep,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` NullableString []*string `protobuf:"bytes,19,rep,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` NonnullString []string `protobuf:"bytes,20,rep,name=nonnullString,proto3,wktptr" json:"nonnullString"` NullableBytes []*[]byte `protobuf:"bytes,21,rep,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` NonnullBytes [][]byte `protobuf:"bytes,22,rep,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *RepStdTypes) Reset() { *m = RepStdTypes{} } func (m *RepStdTypes) String() string { return proto.CompactTextString(m) } func (*RepStdTypes) ProtoMessage() {} func (*RepStdTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{4} } func (m *RepStdTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RepStdTypes.Unmarshal(m, b) } func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_RepStdTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *RepStdTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_RepStdTypes.Merge(dst, src) } func (m *RepStdTypes) XXX_Size() int { return m.Size() } func (m *RepStdTypes) XXX_DiscardUnknown() { xxx_messageInfo_RepStdTypes.DiscardUnknown(m) } var xxx_messageInfo_RepStdTypes proto.InternalMessageInfo func (m *RepStdTypes) GetNullableTimestamps() []*time.Time { if m != nil { return m.NullableTimestamps } return nil } func (m *RepStdTypes) GetNullableDurations() []*time.Duration { if m != nil { return m.NullableDurations } return nil } func (m *RepStdTypes) GetTimestamps() []time.Time { if m != nil { return m.Timestamps } return nil } func (m *RepStdTypes) GetDurations() []time.Duration { if m != nil { return m.Durations } return nil } func (m *RepStdTypes) GetNullableDouble() []*float64 { if m != nil { return m.NullableDouble } return nil } func (m *RepStdTypes) GetNonnullDouble() []float64 { if m != nil { return m.NonnullDouble } return nil } func (m *RepStdTypes) GetNullableFloat() []*float32 { if m != nil { return m.NullableFloat } return nil } func (m *RepStdTypes) GetNonnullFloat() []float32 { if m != nil { return m.NonnullFloat } return nil } func (m *RepStdTypes) GetNullableInt64() []*int64 { if m != nil { return m.NullableInt64 } return nil } func (m *RepStdTypes) GetNonnullInt64() []int64 { if m != nil { return m.NonnullInt64 } return nil } func (m *RepStdTypes) GetNullableUInt64() []*uint64 { if m != nil { return m.NullableUInt64 } return nil } func (m *RepStdTypes) GetNonnullUInt64() []uint64 { if m != nil { return m.NonnullUInt64 } return nil } func (m *RepStdTypes) GetNullableInt32() []*int32 { if m != nil { return m.NullableInt32 } return nil } func (m *RepStdTypes) GetNonnullInt32() []int32 { if m != nil { return m.NonnullInt32 } return nil } func (m *RepStdTypes) GetNullableUInt32() []*uint32 { if m != nil { return m.NullableUInt32 } return nil } func (m *RepStdTypes) GetNonnullUInt32() []uint32 { if m != nil { return m.NonnullUInt32 } return nil } func (m *RepStdTypes) GetNullableBool() []*bool { if m != nil { return m.NullableBool } return nil } func (m *RepStdTypes) GetNonnullBool() []bool { if m != nil { return m.NonnullBool } return nil } func (m *RepStdTypes) GetNullableString() []*string { if m != nil { return m.NullableString } return nil } func (m *RepStdTypes) GetNonnullString() []string { if m != nil { return m.NonnullString } return nil } func (m *RepStdTypes) GetNullableBytes() []*[]byte { if m != nil { return m.NullableBytes } return nil } func (m *RepStdTypes) GetNonnullBytes() [][]byte { if m != nil { return m.NonnullBytes } return nil } type MapProtoTypes struct { 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *MapProtoTypes) Reset() { *m = MapProtoTypes{} } func (m *MapProtoTypes) String() string { return proto.CompactTextString(m) } func (*MapProtoTypes) ProtoMessage() {} func (*MapProtoTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{5} } func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MapProtoTypes.Unmarshal(m, b) } func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MapProtoTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *MapProtoTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_MapProtoTypes.Merge(dst, src) } func (m *MapProtoTypes) XXX_Size() int { return m.Size() } func (m *MapProtoTypes) XXX_DiscardUnknown() { xxx_messageInfo_MapProtoTypes.DiscardUnknown(m) } var xxx_messageInfo_MapProtoTypes proto.InternalMessageInfo func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp { if m != nil { return m.NullableTimestamp } return nil } func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp { if m != nil { return m.Timestamp } return nil } func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration { if m != nil { return m.NullableDuration } return nil } func (m *MapProtoTypes) GetDuration() map[int32]types.Duration { if m != nil { return m.Duration } return nil } func (m *MapProtoTypes) GetNullableDouble() map[int32]*types.DoubleValue { if m != nil { return m.NullableDouble } return nil } func (m *MapProtoTypes) GetNonnullDouble() map[int32]types.DoubleValue { if m != nil { return m.NonnullDouble } return nil } func (m *MapProtoTypes) GetNullableFloat() map[int32]*types.FloatValue { if m != nil { return m.NullableFloat } return nil } func (m *MapProtoTypes) GetNonnullFloat() map[int32]types.FloatValue { if m != nil { return m.NonnullFloat } return nil } func (m *MapProtoTypes) GetNullableInt64() map[int32]*types.Int64Value { if m != nil { return m.NullableInt64 } return nil } func (m *MapProtoTypes) GetNonnullInt64() map[int32]types.Int64Value { if m != nil { return m.NonnullInt64 } return nil } func (m *MapProtoTypes) GetNullableUInt64() map[int32]*types.UInt64Value { if m != nil { return m.NullableUInt64 } return nil } func (m *MapProtoTypes) GetNonnullUInt64() map[int32]types.UInt64Value { if m != nil { return m.NonnullUInt64 } return nil } func (m *MapProtoTypes) GetNullableInt32() map[int32]*types.Int32Value { if m != nil { return m.NullableInt32 } return nil } func (m *MapProtoTypes) GetNonnullInt32() map[int32]types.Int32Value { if m != nil { return m.NonnullInt32 } return nil } func (m *MapProtoTypes) GetNullableUInt32() map[int32]*types.UInt32Value { if m != nil { return m.NullableUInt32 } return nil } func (m *MapProtoTypes) GetNonnullUInt32() map[int32]types.UInt32Value { if m != nil { return m.NonnullUInt32 } return nil } func (m *MapProtoTypes) GetNullableBool() map[int32]*types.BoolValue { if m != nil { return m.NullableBool } return nil } func (m *MapProtoTypes) GetNonnullBool() map[int32]types.BoolValue { if m != nil { return m.NonnullBool } return nil } func (m *MapProtoTypes) GetNullableString() map[int32]*types.StringValue { if m != nil { return m.NullableString } return nil } func (m *MapProtoTypes) GetNonnullString() map[int32]types.StringValue { if m != nil { return m.NonnullString } return nil } func (m *MapProtoTypes) GetNullableBytes() map[int32]*types.BytesValue { if m != nil { return m.NullableBytes } return nil } func (m *MapProtoTypes) GetNonnullBytes() map[int32]types.BytesValue { if m != nil { return m.NonnullBytes } return nil } type MapStdTypes struct { 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *MapStdTypes) Reset() { *m = MapStdTypes{} } func (m *MapStdTypes) String() string { return proto.CompactTextString(m) } func (*MapStdTypes) ProtoMessage() {} func (*MapStdTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{6} } func (m *MapStdTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MapStdTypes.Unmarshal(m, b) } func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MapStdTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *MapStdTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_MapStdTypes.Merge(dst, src) } func (m *MapStdTypes) XXX_Size() int { return m.Size() } func (m *MapStdTypes) XXX_DiscardUnknown() { xxx_messageInfo_MapStdTypes.DiscardUnknown(m) } var xxx_messageInfo_MapStdTypes proto.InternalMessageInfo func (m *MapStdTypes) GetNullableTimestamp() map[int32]*time.Time { if m != nil { return m.NullableTimestamp } return nil } func (m *MapStdTypes) GetTimestamp() map[int32]time.Time { if m != nil { return m.Timestamp } return nil } func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration { if m != nil { return m.NullableDuration } return nil } func (m *MapStdTypes) GetDuration() map[int32]time.Duration { if m != nil { return m.Duration } return nil } func (m *MapStdTypes) GetNullableDouble() map[int32]*float64 { if m != nil { return m.NullableDouble } return nil } func (m *MapStdTypes) GetNonnullDouble() map[int32]float64 { if m != nil { return m.NonnullDouble } return nil } func (m *MapStdTypes) GetNullableFloat() map[int32]*float32 { if m != nil { return m.NullableFloat } return nil } func (m *MapStdTypes) GetNonnullFloat() map[int32]float32 { if m != nil { return m.NonnullFloat } return nil } func (m *MapStdTypes) GetNullableInt64() map[int32]*int64 { if m != nil { return m.NullableInt64 } return nil } func (m *MapStdTypes) GetNonnullInt64() map[int32]int64 { if m != nil { return m.NonnullInt64 } return nil } func (m *MapStdTypes) GetNullableUInt64() map[int32]*uint64 { if m != nil { return m.NullableUInt64 } return nil } func (m *MapStdTypes) GetNonnullUInt64() map[int32]uint64 { if m != nil { return m.NonnullUInt64 } return nil } func (m *MapStdTypes) GetNullableInt32() map[int32]*int32 { if m != nil { return m.NullableInt32 } return nil } func (m *MapStdTypes) GetNonnullInt32() map[int32]int32 { if m != nil { return m.NonnullInt32 } return nil } func (m *MapStdTypes) GetNullableUInt32() map[int32]*uint32 { if m != nil { return m.NullableUInt32 } return nil } func (m *MapStdTypes) GetNonnullUInt32() map[int32]uint32 { if m != nil { return m.NonnullUInt32 } return nil } func (m *MapStdTypes) GetNullableBool() map[int32]*bool { if m != nil { return m.NullableBool } return nil } func (m *MapStdTypes) GetNonnullBool() map[int32]bool { if m != nil { return m.NonnullBool } return nil } func (m *MapStdTypes) GetNullableString() map[int32]*string { if m != nil { return m.NullableString } return nil } func (m *MapStdTypes) GetNonnullString() map[int32]string { if m != nil { return m.NonnullString } return nil } func (m *MapStdTypes) GetNullableBytes() map[int32]*[]byte { if m != nil { return m.NullableBytes } return nil } func (m *MapStdTypes) GetNonnullBytes() map[int32][]byte { if m != nil { return m.NonnullBytes } return nil } type OneofProtoTypes struct { // Types that are valid to be assigned to OneOfProtoTimes: // *OneofProtoTypes_Timestamp // *OneofProtoTypes_Duration // *OneofProtoTypes_RepDouble // *OneofProtoTypes_RepFloat // *OneofProtoTypes_RepInt64 // *OneofProtoTypes_RepUInt64 // *OneofProtoTypes_RepInt32 // *OneofProtoTypes_RepUInt32 // *OneofProtoTypes_RepBool // *OneofProtoTypes_RepString // *OneofProtoTypes_RepBytes OneOfProtoTimes isOneofProtoTypes_OneOfProtoTimes `protobuf_oneof:"OneOfProtoTimes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OneofProtoTypes) Reset() { *m = OneofProtoTypes{} } func (m *OneofProtoTypes) String() string { return proto.CompactTextString(m) } func (*OneofProtoTypes) ProtoMessage() {} func (*OneofProtoTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{7} } func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OneofProtoTypes.Unmarshal(m, b) } func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_OneofProtoTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *OneofProtoTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_OneofProtoTypes.Merge(dst, src) } func (m *OneofProtoTypes) XXX_Size() int { return m.Size() } func (m *OneofProtoTypes) XXX_DiscardUnknown() { xxx_messageInfo_OneofProtoTypes.DiscardUnknown(m) } var xxx_messageInfo_OneofProtoTypes proto.InternalMessageInfo type isOneofProtoTypes_OneOfProtoTimes interface { isOneofProtoTypes_OneOfProtoTimes() Equal(interface{}) bool VerboseEqual(interface{}) error MarshalTo([]byte) (int, error) Size() int } type OneofProtoTypes_Timestamp struct { Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof"` } type OneofProtoTypes_Duration struct { Duration *types.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof"` } type OneofProtoTypes_RepDouble struct { RepDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof"` } type OneofProtoTypes_RepFloat struct { RepFloat *types.FloatValue `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof"` } type OneofProtoTypes_RepInt64 struct { RepInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof"` } type OneofProtoTypes_RepUInt64 struct { RepUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof"` } type OneofProtoTypes_RepInt32 struct { RepInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof"` } type OneofProtoTypes_RepUInt32 struct { RepUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof"` } type OneofProtoTypes_RepBool struct { RepBool *types.BoolValue `protobuf:"bytes,9,opt,name=repBool,proto3,oneof"` } type OneofProtoTypes_RepString struct { RepString *types.StringValue `protobuf:"bytes,10,opt,name=repString,proto3,oneof"` } type OneofProtoTypes_RepBytes struct { RepBytes *types.BytesValue `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof"` } func (*OneofProtoTypes_Timestamp) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_Duration) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepDouble) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepFloat) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepInt64) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepUInt64) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepInt32) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepUInt32) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepBool) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepString) isOneofProtoTypes_OneOfProtoTimes() {} func (*OneofProtoTypes_RepBytes) isOneofProtoTypes_OneOfProtoTimes() {} func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes { if m != nil { return m.OneOfProtoTimes } return nil } func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Timestamp); ok { return x.Timestamp } return nil } func (m *OneofProtoTypes) GetDuration() *types.Duration { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Duration); ok { return x.Duration } return nil } func (m *OneofProtoTypes) GetRepDouble() *types.DoubleValue { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepDouble); ok { return x.RepDouble } return nil } func (m *OneofProtoTypes) GetRepFloat() *types.FloatValue { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepFloat); ok { return x.RepFloat } return nil } func (m *OneofProtoTypes) GetRepInt64() *types.Int64Value { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt64); ok { return x.RepInt64 } return nil } func (m *OneofProtoTypes) GetRepUInt64() *types.UInt64Value { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt64); ok { return x.RepUInt64 } return nil } func (m *OneofProtoTypes) GetRepInt32() *types.Int32Value { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt32); ok { return x.RepInt32 } return nil } func (m *OneofProtoTypes) GetRepUInt32() *types.UInt32Value { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt32); ok { return x.RepUInt32 } return nil } func (m *OneofProtoTypes) GetRepBool() *types.BoolValue { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBool); ok { return x.RepBool } return nil } func (m *OneofProtoTypes) GetRepString() *types.StringValue { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepString); ok { return x.RepString } return nil } func (m *OneofProtoTypes) GetRepBytes() *types.BytesValue { if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBytes); ok { return x.RepBytes } return nil } // XXX_OneofFuncs is for the internal use of the proto package. func (*OneofProtoTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _OneofProtoTypes_OneofMarshaler, _OneofProtoTypes_OneofUnmarshaler, _OneofProtoTypes_OneofSizer, []interface{}{ (*OneofProtoTypes_Timestamp)(nil), (*OneofProtoTypes_Duration)(nil), (*OneofProtoTypes_RepDouble)(nil), (*OneofProtoTypes_RepFloat)(nil), (*OneofProtoTypes_RepInt64)(nil), (*OneofProtoTypes_RepUInt64)(nil), (*OneofProtoTypes_RepInt32)(nil), (*OneofProtoTypes_RepUInt32)(nil), (*OneofProtoTypes_RepBool)(nil), (*OneofProtoTypes_RepString)(nil), (*OneofProtoTypes_RepBytes)(nil), } } func _OneofProtoTypes_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { m := msg.(*OneofProtoTypes) // OneOfProtoTimes switch x := m.OneOfProtoTimes.(type) { case *OneofProtoTypes_Timestamp: _ = b.EncodeVarint(1<<3 | proto.WireBytes) if err := b.EncodeMessage(x.Timestamp); err != nil { return err } case *OneofProtoTypes_Duration: _ = b.EncodeVarint(2<<3 | proto.WireBytes) if err := b.EncodeMessage(x.Duration); err != nil { return err } case *OneofProtoTypes_RepDouble: _ = b.EncodeVarint(3<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepDouble); err != nil { return err } case *OneofProtoTypes_RepFloat: _ = b.EncodeVarint(4<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepFloat); err != nil { return err } case *OneofProtoTypes_RepInt64: _ = b.EncodeVarint(5<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepInt64); err != nil { return err } case *OneofProtoTypes_RepUInt64: _ = b.EncodeVarint(6<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepUInt64); err != nil { return err } case *OneofProtoTypes_RepInt32: _ = b.EncodeVarint(7<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepInt32); err != nil { return err } case *OneofProtoTypes_RepUInt32: _ = b.EncodeVarint(8<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepUInt32); err != nil { return err } case *OneofProtoTypes_RepBool: _ = b.EncodeVarint(9<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepBool); err != nil { return err } case *OneofProtoTypes_RepString: _ = b.EncodeVarint(10<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepString); err != nil { return err } case *OneofProtoTypes_RepBytes: _ = b.EncodeVarint(11<<3 | proto.WireBytes) if err := b.EncodeMessage(x.RepBytes); err != nil { return err } case nil: default: return fmt.Errorf("OneofProtoTypes.OneOfProtoTimes has unexpected type %T", x) } return nil } func _OneofProtoTypes_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { m := msg.(*OneofProtoTypes) switch tag { case 1: // OneOfProtoTimes.timestamp if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.Timestamp) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_Timestamp{msg} return true, err case 2: // OneOfProtoTimes.duration if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.Duration) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_Duration{msg} return true, err case 3: // OneOfProtoTimes.repDouble if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.DoubleValue) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepDouble{msg} return true, err case 4: // OneOfProtoTimes.repFloat if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.FloatValue) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepFloat{msg} return true, err case 5: // OneOfProtoTimes.repInt64 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.Int64Value) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepInt64{msg} return true, err case 6: // OneOfProtoTimes.repUInt64 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.UInt64Value) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepUInt64{msg} return true, err case 7: // OneOfProtoTimes.repInt32 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.Int32Value) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepInt32{msg} return true, err case 8: // OneOfProtoTimes.repUInt32 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.UInt32Value) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepUInt32{msg} return true, err case 9: // OneOfProtoTimes.repBool if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.BoolValue) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepBool{msg} return true, err case 10: // OneOfProtoTimes.repString if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.StringValue) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepString{msg} return true, err case 11: // OneOfProtoTimes.repBytes if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } msg := new(types.BytesValue) err := b.DecodeMessage(msg) m.OneOfProtoTimes = &OneofProtoTypes_RepBytes{msg} return true, err default: return false, nil } } func _OneofProtoTypes_OneofSizer(msg proto.Message) (n int) { m := msg.(*OneofProtoTypes) // OneOfProtoTimes switch x := m.OneOfProtoTimes.(type) { case *OneofProtoTypes_Timestamp: s := proto.Size(x.Timestamp) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_Duration: s := proto.Size(x.Duration) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepDouble: s := proto.Size(x.RepDouble) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepFloat: s := proto.Size(x.RepFloat) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepInt64: s := proto.Size(x.RepInt64) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepUInt64: s := proto.Size(x.RepUInt64) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepInt32: s := proto.Size(x.RepInt32) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepUInt32: s := proto.Size(x.RepUInt32) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepBool: s := proto.Size(x.RepBool) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepString: s := proto.Size(x.RepString) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofProtoTypes_RepBytes: s := proto.Size(x.RepBytes) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } return n } type OneofStdTypes struct { // Types that are valid to be assigned to OneOfStdTimes: // *OneofStdTypes_Timestamp // *OneofStdTypes_Duration // *OneofStdTypes_RepDouble // *OneofStdTypes_RepFloat // *OneofStdTypes_RepInt64 // *OneofStdTypes_RepUInt64 // *OneofStdTypes_RepInt32 // *OneofStdTypes_RepUInt32 // *OneofStdTypes_RepBool // *OneofStdTypes_RepString // *OneofStdTypes_RepBytes OneOfStdTimes isOneofStdTypes_OneOfStdTimes `protobuf_oneof:"OneOfStdTimes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OneofStdTypes) Reset() { *m = OneofStdTypes{} } func (m *OneofStdTypes) String() string { return proto.CompactTextString(m) } func (*OneofStdTypes) ProtoMessage() {} func (*OneofStdTypes) Descriptor() ([]byte, []int) { return fileDescriptor_types_84a5c6bb8f2642e0, []int{8} } func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OneofStdTypes.Unmarshal(m, b) } func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_OneofStdTypes.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalTo(b) if err != nil { return nil, err } return b[:n], nil } } func (dst *OneofStdTypes) XXX_Merge(src proto.Message) { xxx_messageInfo_OneofStdTypes.Merge(dst, src) } func (m *OneofStdTypes) XXX_Size() int { return m.Size() } func (m *OneofStdTypes) XXX_DiscardUnknown() { xxx_messageInfo_OneofStdTypes.DiscardUnknown(m) } var xxx_messageInfo_OneofStdTypes proto.InternalMessageInfo type isOneofStdTypes_OneOfStdTimes interface { isOneofStdTypes_OneOfStdTimes() Equal(interface{}) bool VerboseEqual(interface{}) error MarshalTo([]byte) (int, error) Size() int } type OneofStdTypes_Timestamp struct { Timestamp *time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof,stdtime"` } type OneofStdTypes_Duration struct { Duration *time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof,stdduration"` } type OneofStdTypes_RepDouble struct { RepDouble *float64 `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof,wktptr"` } type OneofStdTypes_RepFloat struct { RepFloat *float32 `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof,wktptr"` } type OneofStdTypes_RepInt64 struct { RepInt64 *int64 `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof,wktptr"` } type OneofStdTypes_RepUInt64 struct { RepUInt64 *uint64 `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof,wktptr"` } type OneofStdTypes_RepInt32 struct { RepInt32 *int32 `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof,wktptr"` } type OneofStdTypes_RepUInt32 struct { RepUInt32 *uint32 `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof,wktptr"` } type OneofStdTypes_RepBool struct { RepBool *bool `protobuf:"bytes,9,opt,name=repBool,proto3,oneof,wktptr"` } type OneofStdTypes_RepString struct { RepString *string `protobuf:"bytes,10,opt,name=repString,proto3,oneof,wktptr"` } type OneofStdTypes_RepBytes struct { RepBytes *[]byte `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof,wktptr"` } func (*OneofStdTypes_Timestamp) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_Duration) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepDouble) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepFloat) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepInt64) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepUInt64) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepInt32) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepUInt32) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepBool) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepString) isOneofStdTypes_OneOfStdTimes() {} func (*OneofStdTypes_RepBytes) isOneofStdTypes_OneOfStdTimes() {} func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes { if m != nil { return m.OneOfStdTimes } return nil } func (m *OneofStdTypes) GetTimestamp() *time.Time { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Timestamp); ok { return x.Timestamp } return nil } func (m *OneofStdTypes) GetDuration() *time.Duration { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Duration); ok { return x.Duration } return nil } func (m *OneofStdTypes) GetRepDouble() *float64 { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepDouble); ok { return x.RepDouble } return nil } func (m *OneofStdTypes) GetRepFloat() *float32 { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepFloat); ok { return x.RepFloat } return nil } func (m *OneofStdTypes) GetRepInt64() *int64 { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt64); ok { return x.RepInt64 } return nil } func (m *OneofStdTypes) GetRepUInt64() *uint64 { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt64); ok { return x.RepUInt64 } return nil } func (m *OneofStdTypes) GetRepInt32() *int32 { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt32); ok { return x.RepInt32 } return nil } func (m *OneofStdTypes) GetRepUInt32() *uint32 { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt32); ok { return x.RepUInt32 } return nil } func (m *OneofStdTypes) GetRepBool() *bool { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBool); ok { return x.RepBool } return nil } func (m *OneofStdTypes) GetRepString() *string { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepString); ok { return x.RepString } return nil } func (m *OneofStdTypes) GetRepBytes() *[]byte { if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBytes); ok { return x.RepBytes } return nil } // XXX_OneofFuncs is for the internal use of the proto package. func (*OneofStdTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _OneofStdTypes_OneofMarshaler, _OneofStdTypes_OneofUnmarshaler, _OneofStdTypes_OneofSizer, []interface{}{ (*OneofStdTypes_Timestamp)(nil), (*OneofStdTypes_Duration)(nil), (*OneofStdTypes_RepDouble)(nil), (*OneofStdTypes_RepFloat)(nil), (*OneofStdTypes_RepInt64)(nil), (*OneofStdTypes_RepUInt64)(nil), (*OneofStdTypes_RepInt32)(nil), (*OneofStdTypes_RepUInt32)(nil), (*OneofStdTypes_RepBool)(nil), (*OneofStdTypes_RepString)(nil), (*OneofStdTypes_RepBytes)(nil), } } func _OneofStdTypes_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { m := msg.(*OneofStdTypes) // OneOfStdTimes switch x := m.OneOfStdTimes.(type) { case *OneofStdTypes_Timestamp: _ = b.EncodeVarint(1<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdTimeMarshal(*x.Timestamp) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_Duration: _ = b.EncodeVarint(2<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdDurationMarshal(*x.Duration) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepDouble: _ = b.EncodeVarint(3<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdDoubleMarshal(*x.RepDouble) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepFloat: _ = b.EncodeVarint(4<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdFloatMarshal(*x.RepFloat) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepInt64: _ = b.EncodeVarint(5<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdInt64Marshal(*x.RepInt64) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepUInt64: _ = b.EncodeVarint(6<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdUInt64Marshal(*x.RepUInt64) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepInt32: _ = b.EncodeVarint(7<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdInt32Marshal(*x.RepInt32) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepUInt32: _ = b.EncodeVarint(8<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdUInt32Marshal(*x.RepUInt32) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepBool: _ = b.EncodeVarint(9<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdBoolMarshal(*x.RepBool) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepString: _ = b.EncodeVarint(10<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdStringMarshal(*x.RepString) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case *OneofStdTypes_RepBytes: _ = b.EncodeVarint(11<<3 | proto.WireBytes) dAtA, err := github_com_gogo_protobuf_types.StdBytesMarshal(*x.RepBytes) if err != nil { return err } if err := b.EncodeRawBytes(dAtA); err != nil { return err } case nil: default: return fmt.Errorf("OneofStdTypes.OneOfStdTimes has unexpected type %T", x) } return nil } func _OneofStdTypes_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { m := msg.(*OneofStdTypes) switch tag { case 1: // OneOfStdTimes.timestamp if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(time.Time) if err2 := github_com_gogo_protobuf_types.StdTimeUnmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_Timestamp{c} return true, err case 2: // OneOfStdTimes.duration if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(time.Duration) if err2 := github_com_gogo_protobuf_types.StdDurationUnmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_Duration{c} return true, err case 3: // OneOfStdTimes.repDouble if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(float64) if err2 := github_com_gogo_protobuf_types.StdDoubleUnmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepDouble{c} return true, err case 4: // OneOfStdTimes.repFloat if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(float32) if err2 := github_com_gogo_protobuf_types.StdFloatUnmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepFloat{c} return true, err case 5: // OneOfStdTimes.repInt64 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(int64) if err2 := github_com_gogo_protobuf_types.StdInt64Unmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepInt64{c} return true, err case 6: // OneOfStdTimes.repUInt64 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(uint64) if err2 := github_com_gogo_protobuf_types.StdUInt64Unmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepUInt64{c} return true, err case 7: // OneOfStdTimes.repInt32 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(int32) if err2 := github_com_gogo_protobuf_types.StdInt32Unmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepInt32{c} return true, err case 8: // OneOfStdTimes.repUInt32 if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(uint32) if err2 := github_com_gogo_protobuf_types.StdUInt32Unmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepUInt32{c} return true, err case 9: // OneOfStdTimes.repBool if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(bool) if err2 := github_com_gogo_protobuf_types.StdBoolUnmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepBool{c} return true, err case 10: // OneOfStdTimes.repString if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new(string) if err2 := github_com_gogo_protobuf_types.StdStringUnmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepString{c} return true, err case 11: // OneOfStdTimes.repBytes if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeRawBytes(true) if err != nil { return true, err } c := new([]byte) if err2 := github_com_gogo_protobuf_types.StdBytesUnmarshal(c, x); err2 != nil { return true, err } m.OneOfStdTimes = &OneofStdTypes_RepBytes{c} return true, err default: return false, nil } } func _OneofStdTypes_OneofSizer(msg proto.Message) (n int) { m := msg.(*OneofStdTypes) // OneOfStdTimes switch x := m.OneOfStdTimes.(type) { case *OneofStdTypes_Timestamp: s := github_com_gogo_protobuf_types.SizeOfStdTime(*x.Timestamp) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_Duration: s := github_com_gogo_protobuf_types.SizeOfStdDuration(*x.Duration) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepDouble: s := github_com_gogo_protobuf_types.SizeOfStdDouble(*x.RepDouble) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepFloat: s := github_com_gogo_protobuf_types.SizeOfStdFloat(*x.RepFloat) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepInt64: s := github_com_gogo_protobuf_types.SizeOfStdInt64(*x.RepInt64) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepUInt64: s := github_com_gogo_protobuf_types.SizeOfStdUInt64(*x.RepUInt64) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepInt32: s := github_com_gogo_protobuf_types.SizeOfStdInt32(*x.RepInt32) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepUInt32: s := github_com_gogo_protobuf_types.SizeOfStdUInt32(*x.RepUInt32) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepBool: s := github_com_gogo_protobuf_types.SizeOfStdBool(*x.RepBool) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepString: s := github_com_gogo_protobuf_types.SizeOfStdString(*x.RepString) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *OneofStdTypes_RepBytes: s := github_com_gogo_protobuf_types.SizeOfStdBytes(*x.RepBytes) n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } return n } func init() { proto.RegisterType((*KnownTypes)(nil), "types.KnownTypes") proto.RegisterType((*ProtoTypes)(nil), "types.ProtoTypes") proto.RegisterType((*StdTypes)(nil), "types.StdTypes") proto.RegisterType((*RepProtoTypes)(nil), "types.RepProtoTypes") proto.RegisterType((*RepStdTypes)(nil), "types.RepStdTypes") proto.RegisterType((*MapProtoTypes)(nil), "types.MapProtoTypes") proto.RegisterMapType((map[int32]types.Duration)(nil), "types.MapProtoTypes.DurationEntry") proto.RegisterMapType((map[int32]types.BoolValue)(nil), "types.MapProtoTypes.NonnullBoolEntry") proto.RegisterMapType((map[int32]types.BytesValue)(nil), "types.MapProtoTypes.NonnullBytesEntry") proto.RegisterMapType((map[int32]types.DoubleValue)(nil), "types.MapProtoTypes.NonnullDoubleEntry") proto.RegisterMapType((map[int32]types.FloatValue)(nil), "types.MapProtoTypes.NonnullFloatEntry") proto.RegisterMapType((map[int32]types.Int32Value)(nil), "types.MapProtoTypes.NonnullInt32Entry") proto.RegisterMapType((map[int32]types.Int64Value)(nil), "types.MapProtoTypes.NonnullInt64Entry") proto.RegisterMapType((map[int32]types.StringValue)(nil), "types.MapProtoTypes.NonnullStringEntry") proto.RegisterMapType((map[int32]types.UInt32Value)(nil), "types.MapProtoTypes.NonnullUInt32Entry") proto.RegisterMapType((map[int32]types.UInt64Value)(nil), "types.MapProtoTypes.NonnullUInt64Entry") proto.RegisterMapType((map[int32]*types.BoolValue)(nil), "types.MapProtoTypes.NullableBoolEntry") proto.RegisterMapType((map[int32]*types.BytesValue)(nil), "types.MapProtoTypes.NullableBytesEntry") proto.RegisterMapType((map[int32]*types.DoubleValue)(nil), "types.MapProtoTypes.NullableDoubleEntry") proto.RegisterMapType((map[int32]*types.Duration)(nil), "types.MapProtoTypes.NullableDurationEntry") proto.RegisterMapType((map[int32]*types.FloatValue)(nil), "types.MapProtoTypes.NullableFloatEntry") proto.RegisterMapType((map[int32]*types.Int32Value)(nil), "types.MapProtoTypes.NullableInt32Entry") proto.RegisterMapType((map[int32]*types.Int64Value)(nil), "types.MapProtoTypes.NullableInt64Entry") proto.RegisterMapType((map[int32]*types.StringValue)(nil), "types.MapProtoTypes.NullableStringEntry") proto.RegisterMapType((map[int32]*types.Timestamp)(nil), "types.MapProtoTypes.NullableTimestampEntry") proto.RegisterMapType((map[int32]*types.UInt32Value)(nil), "types.MapProtoTypes.NullableUInt32Entry") proto.RegisterMapType((map[int32]*types.UInt64Value)(nil), "types.MapProtoTypes.NullableUInt64Entry") proto.RegisterMapType((map[int32]types.Timestamp)(nil), "types.MapProtoTypes.TimestampEntry") proto.RegisterType((*MapStdTypes)(nil), "types.MapStdTypes") proto.RegisterMapType((map[int32]time.Duration)(nil), "types.MapStdTypes.DurationEntry") proto.RegisterMapType((map[int32]bool)(nil), "types.MapStdTypes.NonnullBoolEntry") proto.RegisterMapType((map[int32][]byte)(nil), "types.MapStdTypes.NonnullBytesEntry") proto.RegisterMapType((map[int32]float64)(nil), "types.MapStdTypes.NonnullDoubleEntry") proto.RegisterMapType((map[int32]float32)(nil), "types.MapStdTypes.NonnullFloatEntry") proto.RegisterMapType((map[int32]int32)(nil), "types.MapStdTypes.NonnullInt32Entry") proto.RegisterMapType((map[int32]int64)(nil), "types.MapStdTypes.NonnullInt64Entry") proto.RegisterMapType((map[int32]string)(nil), "types.MapStdTypes.NonnullStringEntry") proto.RegisterMapType((map[int32]uint32)(nil), "types.MapStdTypes.NonnullUInt32Entry") proto.RegisterMapType((map[int32]uint64)(nil), "types.MapStdTypes.NonnullUInt64Entry") proto.RegisterMapType((map[int32]*bool)(nil), "types.MapStdTypes.NullableBoolEntry") proto.RegisterMapType((map[int32]*[]byte)(nil), "types.MapStdTypes.NullableBytesEntry") proto.RegisterMapType((map[int32]*float64)(nil), "types.MapStdTypes.NullableDoubleEntry") proto.RegisterMapType((map[int32]*time.Duration)(nil), "types.MapStdTypes.NullableDurationEntry") proto.RegisterMapType((map[int32]*float32)(nil), "types.MapStdTypes.NullableFloatEntry") proto.RegisterMapType((map[int32]*int32)(nil), "types.MapStdTypes.NullableInt32Entry") proto.RegisterMapType((map[int32]*int64)(nil), "types.MapStdTypes.NullableInt64Entry") proto.RegisterMapType((map[int32]*string)(nil), "types.MapStdTypes.NullableStringEntry") proto.RegisterMapType((map[int32]*time.Time)(nil), "types.MapStdTypes.NullableTimestampEntry") proto.RegisterMapType((map[int32]*uint32)(nil), "types.MapStdTypes.NullableUInt32Entry") proto.RegisterMapType((map[int32]*uint64)(nil), "types.MapStdTypes.NullableUInt64Entry") proto.RegisterMapType((map[int32]time.Time)(nil), "types.MapStdTypes.TimestampEntry") proto.RegisterType((*OneofProtoTypes)(nil), "types.OneofProtoTypes") proto.RegisterType((*OneofStdTypes)(nil), "types.OneofStdTypes") } func (this *KnownTypes) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*KnownTypes) if !ok { that2, ok := that.(KnownTypes) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if c := this.Dur.Compare(that1.Dur); c != 0 { return c } if c := this.Ts.Compare(that1.Ts); c != 0 { return c } if c := this.Dbl.Compare(that1.Dbl); c != 0 { return c } if c := this.Flt.Compare(that1.Flt); c != 0 { return c } if c := this.I64.Compare(that1.I64); c != 0 { return c } if c := this.U64.Compare(that1.U64); c != 0 { return c } if c := this.I32.Compare(that1.I32); c != 0 { return c } if c := this.U32.Compare(that1.U32); c != 0 { return c } if c := this.Bool.Compare(that1.Bool); c != 0 { return c } if c := this.Str.Compare(that1.Str); c != 0 { return c } if c := this.Bytes.Compare(that1.Bytes); c != 0 { return c } if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { return c } return 0 } func (this *ProtoTypes) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*ProtoTypes) if !ok { that2, ok := that.(ProtoTypes) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if c := this.NullableTimestamp.Compare(that1.NullableTimestamp); c != 0 { return c } if c := this.NullableDuration.Compare(that1.NullableDuration); c != 0 { return c } if c := this.NullableDouble.Compare(that1.NullableDouble); c != 0 { return c } if c := this.NullableFloat.Compare(that1.NullableFloat); c != 0 { return c } if c := this.NullableInt64.Compare(that1.NullableInt64); c != 0 { return c } if c := this.NullableUInt64.Compare(that1.NullableUInt64); c != 0 { return c } if c := this.NullableInt32.Compare(that1.NullableInt32); c != 0 { return c } if c := this.NullableUInt32.Compare(that1.NullableUInt32); c != 0 { return c } if c := this.NullableBool.Compare(that1.NullableBool); c != 0 { return c } if c := this.NullableString.Compare(that1.NullableString); c != 0 { return c } if c := this.NullableBytes.Compare(that1.NullableBytes); c != 0 { return c } if c := this.Timestamp.Compare(&that1.Timestamp); c != 0 { return c } if c := this.Duration.Compare(&that1.Duration); c != 0 { return c } if c := this.NonnullDouble.Compare(&that1.NonnullDouble); c != 0 { return c } if c := this.NonnullFloat.Compare(&that1.NonnullFloat); c != 0 { return c } if c := this.NonnullInt64.Compare(&that1.NonnullInt64); c != 0 { return c } if c := this.NonnullUInt64.Compare(&that1.NonnullUInt64); c != 0 { return c } if c := this.NonnullInt32.Compare(&that1.NonnullInt32); c != 0 { return c } if c := this.NonnullUInt32.Compare(&that1.NonnullUInt32); c != 0 { return c } if c := this.NonnullBool.Compare(&that1.NonnullBool); c != 0 { return c } if c := this.NonnullString.Compare(&that1.NonnullString); c != 0 { return c } if c := this.NonnullBytes.Compare(&that1.NonnullBytes); c != 0 { return c } if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { return c } return 0 } func (this *RepProtoTypes) Compare(that interface{}) int { if that == nil { if this == nil { return 0 } return 1 } that1, ok := that.(*RepProtoTypes) if !ok { that2, ok := that.(RepProtoTypes) if ok { that1 = &that2 } else { return 1 } } if that1 == nil { if this == nil { return 0 } return 1 } else if this == nil { return -1 } if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { if len(this.NullableTimestamps) < len(that1.NullableTimestamps) { return -1 } return 1 } for i := range this.NullableTimestamps { if c := this.NullableTimestamps[i].Compare(that1.NullableTimestamps[i]); c != 0 { return c } } if len(this.NullableDurations) != len(that1.NullableDurations) { if len(this.NullableDurations) < len(that1.NullableDurations) { return -1 } return 1 } for i := range this.NullableDurations { if c := this.NullableDurations[i].Compare(that1.NullableDurations[i]); c != 0 { return c } } if len(this.Timestamps) != len(that1.Timestamps) { if len(this.Timestamps) < len(that1.Timestamps) { return -1 } return 1 } for i := range this.Timestamps { if c := this.Timestamps[i].Compare(&that1.Timestamps[i]); c != 0 { return c } } if len(this.Durations) != len(that1.Durations) { if len(this.Durations) < len(that1.Durations) { return -1 } return 1 } for i := range this.Durations { if c := this.Durations[i].Compare(&that1.Durations[i]); c != 0 { return c } } if len(this.NullableDouble) != len(that1.NullableDouble) { if len(this.NullableDouble) < len(that1.NullableDouble) { return -1 } return 1 } for i := range this.NullableDouble { if c := this.NullableDouble[i].Compare(that1.NullableDouble[i]); c != 0 { return c } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { if len(this.NonnullDouble) < len(that1.NonnullDouble) { return -1 } return 1 } for i := range this.NonnullDouble { if c := this.NonnullDouble[i].Compare(&that1.NonnullDouble[i]); c != 0 { return c } } if len(this.NullableFloat) != len(that1.NullableFloat) { if len(this.NullableFloat) < len(that1.NullableFloat) { return -1 } return 1 } for i := range this.NullableFloat { if c := this.NullableFloat[i].Compare(that1.NullableFloat[i]); c != 0 { return c } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { if len(this.NonnullFloat) < len(that1.NonnullFloat) { return -1 } return 1 } for i := range this.NonnullFloat { if c := this.NonnullFloat[i].Compare(&that1.NonnullFloat[i]); c != 0 { return c } } if len(this.NullableInt64) != len(that1.NullableInt64) { if len(this.NullableInt64) < len(that1.NullableInt64) { return -1 } return 1 } for i := range this.NullableInt64 { if c := this.NullableInt64[i].Compare(that1.NullableInt64[i]); c != 0 { return c } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { if len(this.NonnullInt64) < len(that1.NonnullInt64) { return -1 } return 1 } for i := range this.NonnullInt64 { if c := this.NonnullInt64[i].Compare(&that1.NonnullInt64[i]); c != 0 { return c } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { if len(this.NullableUInt64) < len(that1.NullableUInt64) { return -1 } return 1 } for i := range this.NullableUInt64 { if c := this.NullableUInt64[i].Compare(that1.NullableUInt64[i]); c != 0 { return c } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { if len(this.NonnullUInt64) < len(that1.NonnullUInt64) { return -1 } return 1 } for i := range this.NonnullUInt64 { if c := this.NonnullUInt64[i].Compare(&that1.NonnullUInt64[i]); c != 0 { return c } } if len(this.NullableInt32) != len(that1.NullableInt32) { if len(this.NullableInt32) < len(that1.NullableInt32) { return -1 } return 1 } for i := range this.NullableInt32 { if c := this.NullableInt32[i].Compare(that1.NullableInt32[i]); c != 0 { return c } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { if len(this.NonnullInt32) < len(that1.NonnullInt32) { return -1 } return 1 } for i := range this.NonnullInt32 { if c := this.NonnullInt32[i].Compare(&that1.NonnullInt32[i]); c != 0 { return c } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { if len(this.NullableUInt32) < len(that1.NullableUInt32) { return -1 } return 1 } for i := range this.NullableUInt32 { if c := this.NullableUInt32[i].Compare(that1.NullableUInt32[i]); c != 0 { return c } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { if len(this.NonnullUInt32) < len(that1.NonnullUInt32) { return -1 } return 1 } for i := range this.NonnullUInt32 { if c := this.NonnullUInt32[i].Compare(&that1.NonnullUInt32[i]); c != 0 { return c } } if len(this.NullableBool) != len(that1.NullableBool) { if len(this.NullableBool) < len(that1.NullableBool) { return -1 } return 1 } for i := range this.NullableBool { if c := this.NullableBool[i].Compare(that1.NullableBool[i]); c != 0 { return c } } if len(this.NonnullBool) != len(that1.NonnullBool) { if len(this.NonnullBool) < len(that1.NonnullBool) { return -1 } return 1 } for i := range this.NonnullBool { if c := this.NonnullBool[i].Compare(&that1.NonnullBool[i]); c != 0 { return c } } if len(this.NullableString) != len(that1.NullableString) { if len(this.NullableString) < len(that1.NullableString) { return -1 } return 1 } for i := range this.NullableString { if c := this.NullableString[i].Compare(that1.NullableString[i]); c != 0 { return c } } if len(this.NonnullString) != len(that1.NonnullString) { if len(this.NonnullString) < len(that1.NonnullString) { return -1 } return 1 } for i := range this.NonnullString { if c := this.NonnullString[i].Compare(&that1.NonnullString[i]); c != 0 { return c } } if len(this.NullableBytes) != len(that1.NullableBytes) { if len(this.NullableBytes) < len(that1.NullableBytes) { return -1 } return 1 } for i := range this.NullableBytes { if c := this.NullableBytes[i].Compare(that1.NullableBytes[i]); c != 0 { return c } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { if len(this.NonnullBytes) < len(that1.NonnullBytes) { return -1 } return 1 } for i := range this.NonnullBytes { if c := this.NonnullBytes[i].Compare(&that1.NonnullBytes[i]); c != 0 { return c } } if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { return c } return 0 } func (this *KnownTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*KnownTypes) if !ok { that2, ok := that.(KnownTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *KnownTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *KnownTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *KnownTypes but is not nil && this == nil") } if !this.Dur.Equal(that1.Dur) { return fmt.Errorf("Dur this(%v) Not Equal that(%v)", this.Dur, that1.Dur) } if !this.Ts.Equal(that1.Ts) { return fmt.Errorf("Ts this(%v) Not Equal that(%v)", this.Ts, that1.Ts) } if !this.Dbl.Equal(that1.Dbl) { return fmt.Errorf("Dbl this(%v) Not Equal that(%v)", this.Dbl, that1.Dbl) } if !this.Flt.Equal(that1.Flt) { return fmt.Errorf("Flt this(%v) Not Equal that(%v)", this.Flt, that1.Flt) } if !this.I64.Equal(that1.I64) { return fmt.Errorf("I64 this(%v) Not Equal that(%v)", this.I64, that1.I64) } if !this.U64.Equal(that1.U64) { return fmt.Errorf("U64 this(%v) Not Equal that(%v)", this.U64, that1.U64) } if !this.I32.Equal(that1.I32) { return fmt.Errorf("I32 this(%v) Not Equal that(%v)", this.I32, that1.I32) } if !this.U32.Equal(that1.U32) { return fmt.Errorf("U32 this(%v) Not Equal that(%v)", this.U32, that1.U32) } if !this.Bool.Equal(that1.Bool) { return fmt.Errorf("Bool this(%v) Not Equal that(%v)", this.Bool, that1.Bool) } if !this.Str.Equal(that1.Str) { return fmt.Errorf("Str this(%v) Not Equal that(%v)", this.Str, that1.Str) } if !this.Bytes.Equal(that1.Bytes) { return fmt.Errorf("Bytes this(%v) Not Equal that(%v)", this.Bytes, that1.Bytes) } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *KnownTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*KnownTypes) if !ok { that2, ok := that.(KnownTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.Dur.Equal(that1.Dur) { return false } if !this.Ts.Equal(that1.Ts) { return false } if !this.Dbl.Equal(that1.Dbl) { return false } if !this.Flt.Equal(that1.Flt) { return false } if !this.I64.Equal(that1.I64) { return false } if !this.U64.Equal(that1.U64) { return false } if !this.I32.Equal(that1.I32) { return false } if !this.U32.Equal(that1.U32) { return false } if !this.Bool.Equal(that1.Bool) { return false } if !this.Str.Equal(that1.Str) { return false } if !this.Bytes.Equal(that1.Bytes) { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *ProtoTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*ProtoTypes) if !ok { that2, ok := that.(ProtoTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *ProtoTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *ProtoTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *ProtoTypes but is not nil && this == nil") } if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) } if !this.NullableDuration.Equal(that1.NullableDuration) { return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) } if !this.NullableDouble.Equal(that1.NullableDouble) { return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) } if !this.NullableFloat.Equal(that1.NullableFloat) { return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) } if !this.NullableInt64.Equal(that1.NullableInt64) { return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) } if !this.NullableUInt64.Equal(that1.NullableUInt64) { return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) } if !this.NullableInt32.Equal(that1.NullableInt32) { return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) } if !this.NullableUInt32.Equal(that1.NullableUInt32) { return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) } if !this.NullableBool.Equal(that1.NullableBool) { return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) } if !this.NullableString.Equal(that1.NullableString) { return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) } if !this.NullableBytes.Equal(that1.NullableBytes) { return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) } if !this.Timestamp.Equal(&that1.Timestamp) { return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) } if !this.Duration.Equal(&that1.Duration) { return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) } if !this.NonnullDouble.Equal(&that1.NonnullDouble) { return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) } if !this.NonnullFloat.Equal(&that1.NonnullFloat) { return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) } if !this.NonnullInt64.Equal(&that1.NonnullInt64) { return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) } if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) } if !this.NonnullInt32.Equal(&that1.NonnullInt32) { return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) } if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) } if !this.NonnullBool.Equal(&that1.NonnullBool) { return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) } if !this.NonnullString.Equal(&that1.NonnullString) { return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) } if !this.NonnullBytes.Equal(&that1.NonnullBytes) { return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *ProtoTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*ProtoTypes) if !ok { that2, ok := that.(ProtoTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { return false } if !this.NullableDuration.Equal(that1.NullableDuration) { return false } if !this.NullableDouble.Equal(that1.NullableDouble) { return false } if !this.NullableFloat.Equal(that1.NullableFloat) { return false } if !this.NullableInt64.Equal(that1.NullableInt64) { return false } if !this.NullableUInt64.Equal(that1.NullableUInt64) { return false } if !this.NullableInt32.Equal(that1.NullableInt32) { return false } if !this.NullableUInt32.Equal(that1.NullableUInt32) { return false } if !this.NullableBool.Equal(that1.NullableBool) { return false } if !this.NullableString.Equal(that1.NullableString) { return false } if !this.NullableBytes.Equal(that1.NullableBytes) { return false } if !this.Timestamp.Equal(&that1.Timestamp) { return false } if !this.Duration.Equal(&that1.Duration) { return false } if !this.NonnullDouble.Equal(&that1.NonnullDouble) { return false } if !this.NonnullFloat.Equal(&that1.NonnullFloat) { return false } if !this.NonnullInt64.Equal(&that1.NonnullInt64) { return false } if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { return false } if !this.NonnullInt32.Equal(&that1.NonnullInt32) { return false } if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { return false } if !this.NonnullBool.Equal(&that1.NonnullBool) { return false } if !this.NonnullString.Equal(&that1.NonnullString) { return false } if !this.NonnullBytes.Equal(&that1.NonnullBytes) { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *StdTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*StdTypes) if !ok { that2, ok := that.(StdTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *StdTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *StdTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *StdTypes but is not nil && this == nil") } if that1.NullableTimestamp == nil { if this.NullableTimestamp != nil { return fmt.Errorf("this.NullableTimestamp != nil && that1.NullableTimestamp == nil") } } else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) } if this.NullableDuration != nil && that1.NullableDuration != nil { if *this.NullableDuration != *that1.NullableDuration { return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", *this.NullableDuration, *that1.NullableDuration) } } else if this.NullableDuration != nil { return fmt.Errorf("this.NullableDuration == nil && that.NullableDuration != nil") } else if that1.NullableDuration != nil { return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) } if this.NullableDouble != nil && that1.NullableDouble != nil { if *this.NullableDouble != *that1.NullableDouble { return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", *this.NullableDouble, *that1.NullableDouble) } } else if this.NullableDouble != nil { return fmt.Errorf("this.NullableDouble == nil && that.NullableDouble != nil") } else if that1.NullableDouble != nil { return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) } if this.NullableFloat != nil && that1.NullableFloat != nil { if *this.NullableFloat != *that1.NullableFloat { return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", *this.NullableFloat, *that1.NullableFloat) } } else if this.NullableFloat != nil { return fmt.Errorf("this.NullableFloat == nil && that.NullableFloat != nil") } else if that1.NullableFloat != nil { return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) } if this.NullableInt64 != nil && that1.NullableInt64 != nil { if *this.NullableInt64 != *that1.NullableInt64 { return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", *this.NullableInt64, *that1.NullableInt64) } } else if this.NullableInt64 != nil { return fmt.Errorf("this.NullableInt64 == nil && that.NullableInt64 != nil") } else if that1.NullableInt64 != nil { return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) } if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { if *this.NullableUInt64 != *that1.NullableUInt64 { return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", *this.NullableUInt64, *that1.NullableUInt64) } } else if this.NullableUInt64 != nil { return fmt.Errorf("this.NullableUInt64 == nil && that.NullableUInt64 != nil") } else if that1.NullableUInt64 != nil { return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) } if this.NullableInt32 != nil && that1.NullableInt32 != nil { if *this.NullableInt32 != *that1.NullableInt32 { return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", *this.NullableInt32, *that1.NullableInt32) } } else if this.NullableInt32 != nil { return fmt.Errorf("this.NullableInt32 == nil && that.NullableInt32 != nil") } else if that1.NullableInt32 != nil { return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) } if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { if *this.NullableUInt32 != *that1.NullableUInt32 { return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", *this.NullableUInt32, *that1.NullableUInt32) } } else if this.NullableUInt32 != nil { return fmt.Errorf("this.NullableUInt32 == nil && that.NullableUInt32 != nil") } else if that1.NullableUInt32 != nil { return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) } if this.NullableBool != nil && that1.NullableBool != nil { if *this.NullableBool != *that1.NullableBool { return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", *this.NullableBool, *that1.NullableBool) } } else if this.NullableBool != nil { return fmt.Errorf("this.NullableBool == nil && that.NullableBool != nil") } else if that1.NullableBool != nil { return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) } if this.NullableString != nil && that1.NullableString != nil { if *this.NullableString != *that1.NullableString { return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", *this.NullableString, *that1.NullableString) } } else if this.NullableString != nil { return fmt.Errorf("this.NullableString == nil && that.NullableString != nil") } else if that1.NullableString != nil { return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) } if that1.NullableBytes == nil { if this.NullableBytes != nil { return fmt.Errorf("this.NullableBytes != nil && that1.NullableBytes == nil") } } else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) } if !this.Timestamp.Equal(that1.Timestamp) { return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) } if this.Duration != that1.Duration { return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) } if this.NonnullDouble != that1.NonnullDouble { return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) } if this.NonnullFloat != that1.NonnullFloat { return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) } if this.NonnullInt64 != that1.NonnullInt64 { return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) } if this.NonnullUInt64 != that1.NonnullUInt64 { return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) } if this.NonnullInt32 != that1.NonnullInt32 { return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) } if this.NonnullUInt32 != that1.NonnullUInt32 { return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) } if this.NonnullBool != that1.NonnullBool { return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) } if this.NonnullString != that1.NonnullString { return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) } if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *StdTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*StdTypes) if !ok { that2, ok := that.(StdTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if that1.NullableTimestamp == nil { if this.NullableTimestamp != nil { return false } } else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { return false } if this.NullableDuration != nil && that1.NullableDuration != nil { if *this.NullableDuration != *that1.NullableDuration { return false } } else if this.NullableDuration != nil { return false } else if that1.NullableDuration != nil { return false } if this.NullableDouble != nil && that1.NullableDouble != nil { if *this.NullableDouble != *that1.NullableDouble { return false } } else if this.NullableDouble != nil { return false } else if that1.NullableDouble != nil { return false } if this.NullableFloat != nil && that1.NullableFloat != nil { if *this.NullableFloat != *that1.NullableFloat { return false } } else if this.NullableFloat != nil { return false } else if that1.NullableFloat != nil { return false } if this.NullableInt64 != nil && that1.NullableInt64 != nil { if *this.NullableInt64 != *that1.NullableInt64 { return false } } else if this.NullableInt64 != nil { return false } else if that1.NullableInt64 != nil { return false } if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { if *this.NullableUInt64 != *that1.NullableUInt64 { return false } } else if this.NullableUInt64 != nil { return false } else if that1.NullableUInt64 != nil { return false } if this.NullableInt32 != nil && that1.NullableInt32 != nil { if *this.NullableInt32 != *that1.NullableInt32 { return false } } else if this.NullableInt32 != nil { return false } else if that1.NullableInt32 != nil { return false } if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { if *this.NullableUInt32 != *that1.NullableUInt32 { return false } } else if this.NullableUInt32 != nil { return false } else if that1.NullableUInt32 != nil { return false } if this.NullableBool != nil && that1.NullableBool != nil { if *this.NullableBool != *that1.NullableBool { return false } } else if this.NullableBool != nil { return false } else if that1.NullableBool != nil { return false } if this.NullableString != nil && that1.NullableString != nil { if *this.NullableString != *that1.NullableString { return false } } else if this.NullableString != nil { return false } else if that1.NullableString != nil { return false } if that1.NullableBytes == nil { if this.NullableBytes != nil { return false } } else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { return false } if !this.Timestamp.Equal(that1.Timestamp) { return false } if this.Duration != that1.Duration { return false } if this.NonnullDouble != that1.NonnullDouble { return false } if this.NonnullFloat != that1.NonnullFloat { return false } if this.NonnullInt64 != that1.NonnullInt64 { return false } if this.NonnullUInt64 != that1.NonnullUInt64 { return false } if this.NonnullInt32 != that1.NonnullInt32 { return false } if this.NonnullUInt32 != that1.NonnullUInt32 { return false } if this.NonnullBool != that1.NonnullBool { return false } if this.NonnullString != that1.NonnullString { return false } if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *RepProtoTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*RepProtoTypes) if !ok { that2, ok := that.(RepProtoTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *RepProtoTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *RepProtoTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *RepProtoTypes but is not nil && this == nil") } if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) } for i := range this.NullableTimestamps { if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) } } if len(this.NullableDurations) != len(that1.NullableDurations) { return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) } for i := range this.NullableDurations { if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) } } if len(this.Timestamps) != len(that1.Timestamps) { return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) } for i := range this.Timestamps { if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) } } if len(this.Durations) != len(that1.Durations) { return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) } for i := range this.Durations { if !this.Durations[i].Equal(&that1.Durations[i]) { return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) } } if len(this.NullableDouble) != len(that1.NullableDouble) { return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) } for i := range this.NullableDouble { if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) } for i := range this.NonnullDouble { if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) } } if len(this.NullableFloat) != len(that1.NullableFloat) { return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) } for i := range this.NullableFloat { if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) } for i := range this.NonnullFloat { if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) } } if len(this.NullableInt64) != len(that1.NullableInt64) { return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) } for i := range this.NullableInt64 { if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) } for i := range this.NonnullInt64 { if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) } for i := range this.NullableUInt64 { if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) } for i := range this.NonnullUInt64 { if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) } } if len(this.NullableInt32) != len(that1.NullableInt32) { return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) } for i := range this.NullableInt32 { if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) } for i := range this.NonnullInt32 { if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) } for i := range this.NullableUInt32 { if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) } for i := range this.NonnullUInt32 { if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) } } if len(this.NullableBool) != len(that1.NullableBool) { return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) } for i := range this.NullableBool { if !this.NullableBool[i].Equal(that1.NullableBool[i]) { return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) } } if len(this.NonnullBool) != len(that1.NonnullBool) { return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) } for i := range this.NonnullBool { if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) } } if len(this.NullableString) != len(that1.NullableString) { return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) } for i := range this.NullableString { if !this.NullableString[i].Equal(that1.NullableString[i]) { return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) } } if len(this.NonnullString) != len(that1.NonnullString) { return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) } for i := range this.NonnullString { if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) } } if len(this.NullableBytes) != len(that1.NullableBytes) { return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) } for i := range this.NullableBytes { if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) } for i := range this.NonnullBytes { if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) } } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *RepProtoTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*RepProtoTypes) if !ok { that2, ok := that.(RepProtoTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { return false } for i := range this.NullableTimestamps { if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { return false } } if len(this.NullableDurations) != len(that1.NullableDurations) { return false } for i := range this.NullableDurations { if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { return false } } if len(this.Timestamps) != len(that1.Timestamps) { return false } for i := range this.Timestamps { if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { return false } } if len(this.Durations) != len(that1.Durations) { return false } for i := range this.Durations { if !this.Durations[i].Equal(&that1.Durations[i]) { return false } } if len(this.NullableDouble) != len(that1.NullableDouble) { return false } for i := range this.NullableDouble { if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { return false } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { return false } for i := range this.NonnullDouble { if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { return false } } if len(this.NullableFloat) != len(that1.NullableFloat) { return false } for i := range this.NullableFloat { if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { return false } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { return false } for i := range this.NonnullFloat { if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { return false } } if len(this.NullableInt64) != len(that1.NullableInt64) { return false } for i := range this.NullableInt64 { if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { return false } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { return false } for i := range this.NonnullInt64 { if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { return false } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { return false } for i := range this.NullableUInt64 { if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { return false } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { return false } for i := range this.NonnullUInt64 { if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { return false } } if len(this.NullableInt32) != len(that1.NullableInt32) { return false } for i := range this.NullableInt32 { if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { return false } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { return false } for i := range this.NonnullInt32 { if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { return false } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { return false } for i := range this.NullableUInt32 { if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { return false } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { return false } for i := range this.NonnullUInt32 { if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { return false } } if len(this.NullableBool) != len(that1.NullableBool) { return false } for i := range this.NullableBool { if !this.NullableBool[i].Equal(that1.NullableBool[i]) { return false } } if len(this.NonnullBool) != len(that1.NonnullBool) { return false } for i := range this.NonnullBool { if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { return false } } if len(this.NullableString) != len(that1.NullableString) { return false } for i := range this.NullableString { if !this.NullableString[i].Equal(that1.NullableString[i]) { return false } } if len(this.NonnullString) != len(that1.NonnullString) { return false } for i := range this.NonnullString { if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { return false } } if len(this.NullableBytes) != len(that1.NullableBytes) { return false } for i := range this.NullableBytes { if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { return false } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { return false } for i := range this.NonnullBytes { if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { return false } } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *RepStdTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*RepStdTypes) if !ok { that2, ok := that.(RepStdTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *RepStdTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *RepStdTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *RepStdTypes but is not nil && this == nil") } if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) } for i := range this.NullableTimestamps { if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) } } if len(this.NullableDurations) != len(that1.NullableDurations) { return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) } for i := range this.NullableDurations { if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) } } if len(this.Timestamps) != len(that1.Timestamps) { return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) } for i := range this.Timestamps { if !this.Timestamps[i].Equal(that1.Timestamps[i]) { return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) } } if len(this.Durations) != len(that1.Durations) { return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) } for i := range this.Durations { if this.Durations[i] != that1.Durations[i] { return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) } } if len(this.NullableDouble) != len(that1.NullableDouble) { return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) } for i := range this.NullableDouble { if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) } for i := range this.NonnullDouble { if this.NonnullDouble[i] != that1.NonnullDouble[i] { return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) } } if len(this.NullableFloat) != len(that1.NullableFloat) { return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) } for i := range this.NullableFloat { if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) } for i := range this.NonnullFloat { if this.NonnullFloat[i] != that1.NonnullFloat[i] { return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) } } if len(this.NullableInt64) != len(that1.NullableInt64) { return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) } for i := range this.NullableInt64 { if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) } for i := range this.NonnullInt64 { if this.NonnullInt64[i] != that1.NonnullInt64[i] { return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) } for i := range this.NullableUInt64 { if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) } for i := range this.NonnullUInt64 { if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) } } if len(this.NullableInt32) != len(that1.NullableInt32) { return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) } for i := range this.NullableInt32 { if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) } for i := range this.NonnullInt32 { if this.NonnullInt32[i] != that1.NonnullInt32[i] { return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) } for i := range this.NullableUInt32 { if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) } for i := range this.NonnullUInt32 { if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) } } if len(this.NullableBool) != len(that1.NullableBool) { return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) } for i := range this.NullableBool { if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) } } if len(this.NonnullBool) != len(that1.NonnullBool) { return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) } for i := range this.NonnullBool { if this.NonnullBool[i] != that1.NonnullBool[i] { return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) } } if len(this.NullableString) != len(that1.NullableString) { return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) } for i := range this.NullableString { if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) } } if len(this.NonnullString) != len(that1.NonnullString) { return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) } for i := range this.NonnullString { if this.NonnullString[i] != that1.NonnullString[i] { return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) } } if len(this.NullableBytes) != len(that1.NullableBytes) { return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) } for i := range this.NullableBytes { if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) } for i := range this.NonnullBytes { if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) } } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *RepStdTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*RepStdTypes) if !ok { that2, ok := that.(RepStdTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { return false } for i := range this.NullableTimestamps { if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { return false } } if len(this.NullableDurations) != len(that1.NullableDurations) { return false } for i := range this.NullableDurations { if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.Timestamps) != len(that1.Timestamps) { return false } for i := range this.Timestamps { if !this.Timestamps[i].Equal(that1.Timestamps[i]) { return false } } if len(this.Durations) != len(that1.Durations) { return false } for i := range this.Durations { if this.Durations[i] != that1.Durations[i] { return false } } if len(this.NullableDouble) != len(that1.NullableDouble) { return false } for i := range this.NullableDouble { if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { return false } for i := range this.NonnullDouble { if this.NonnullDouble[i] != that1.NonnullDouble[i] { return false } } if len(this.NullableFloat) != len(that1.NullableFloat) { return false } for i := range this.NullableFloat { if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { return false } for i := range this.NonnullFloat { if this.NonnullFloat[i] != that1.NonnullFloat[i] { return false } } if len(this.NullableInt64) != len(that1.NullableInt64) { return false } for i := range this.NullableInt64 { if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { return false } for i := range this.NonnullInt64 { if this.NonnullInt64[i] != that1.NonnullInt64[i] { return false } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { return false } for i := range this.NullableUInt64 { if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { return false } for i := range this.NonnullUInt64 { if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { return false } } if len(this.NullableInt32) != len(that1.NullableInt32) { return false } for i := range this.NullableInt32 { if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { return false } for i := range this.NonnullInt32 { if this.NonnullInt32[i] != that1.NonnullInt32[i] { return false } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { return false } for i := range this.NullableUInt32 { if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { return false } for i := range this.NonnullUInt32 { if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { return false } } if len(this.NullableBool) != len(that1.NullableBool) { return false } for i := range this.NullableBool { if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.NonnullBool) != len(that1.NonnullBool) { return false } for i := range this.NonnullBool { if this.NonnullBool[i] != that1.NonnullBool[i] { return false } } if len(this.NullableString) != len(that1.NullableString) { return false } for i := range this.NullableString { if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.NonnullString) != len(that1.NonnullString) { return false } for i := range this.NonnullString { if this.NonnullString[i] != that1.NonnullString[i] { return false } } if len(this.NullableBytes) != len(that1.NullableBytes) { return false } for i := range this.NullableBytes { if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { return false } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { return false } for i := range this.NonnullBytes { if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { return false } } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *MapProtoTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*MapProtoTypes) if !ok { that2, ok := that.(MapProtoTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *MapProtoTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *MapProtoTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *MapProtoTypes but is not nil && this == nil") } if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) } for i := range this.NullableTimestamp { if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) } } if len(this.Timestamp) != len(that1.Timestamp) { return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) } for i := range this.Timestamp { a := this.Timestamp[i] b := that1.Timestamp[i] if !(&a).Equal(&b) { return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) } } if len(this.NullableDuration) != len(that1.NullableDuration) { return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) } for i := range this.NullableDuration { if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) } } if len(this.Duration) != len(that1.Duration) { return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) } for i := range this.Duration { a := this.Duration[i] b := that1.Duration[i] if !(&a).Equal(&b) { return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) } } if len(this.NullableDouble) != len(that1.NullableDouble) { return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) } for i := range this.NullableDouble { if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) } for i := range this.NonnullDouble { a := this.NonnullDouble[i] b := that1.NonnullDouble[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) } } if len(this.NullableFloat) != len(that1.NullableFloat) { return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) } for i := range this.NullableFloat { if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) } for i := range this.NonnullFloat { a := this.NonnullFloat[i] b := that1.NonnullFloat[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) } } if len(this.NullableInt64) != len(that1.NullableInt64) { return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) } for i := range this.NullableInt64 { if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) } for i := range this.NonnullInt64 { a := this.NonnullInt64[i] b := that1.NonnullInt64[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) } for i := range this.NullableUInt64 { if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) } for i := range this.NonnullUInt64 { a := this.NonnullUInt64[i] b := that1.NonnullUInt64[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) } } if len(this.NullableInt32) != len(that1.NullableInt32) { return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) } for i := range this.NullableInt32 { if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) } for i := range this.NonnullInt32 { a := this.NonnullInt32[i] b := that1.NonnullInt32[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) } for i := range this.NullableUInt32 { if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) } for i := range this.NonnullUInt32 { a := this.NonnullUInt32[i] b := that1.NonnullUInt32[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) } } if len(this.NullableBool) != len(that1.NullableBool) { return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) } for i := range this.NullableBool { if !this.NullableBool[i].Equal(that1.NullableBool[i]) { return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) } } if len(this.NonnullBool) != len(that1.NonnullBool) { return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) } for i := range this.NonnullBool { a := this.NonnullBool[i] b := that1.NonnullBool[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) } } if len(this.NullableString) != len(that1.NullableString) { return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) } for i := range this.NullableString { if !this.NullableString[i].Equal(that1.NullableString[i]) { return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) } } if len(this.NonnullString) != len(that1.NonnullString) { return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) } for i := range this.NonnullString { a := this.NonnullString[i] b := that1.NonnullString[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) } } if len(this.NullableBytes) != len(that1.NullableBytes) { return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) } for i := range this.NullableBytes { if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) } for i := range this.NonnullBytes { a := this.NonnullBytes[i] b := that1.NonnullBytes[i] if !(&a).Equal(&b) { return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) } } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *MapProtoTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*MapProtoTypes) if !ok { that2, ok := that.(MapProtoTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { return false } for i := range this.NullableTimestamp { if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { return false } } if len(this.Timestamp) != len(that1.Timestamp) { return false } for i := range this.Timestamp { a := this.Timestamp[i] b := that1.Timestamp[i] if !(&a).Equal(&b) { return false } } if len(this.NullableDuration) != len(that1.NullableDuration) { return false } for i := range this.NullableDuration { if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { return false } } if len(this.Duration) != len(that1.Duration) { return false } for i := range this.Duration { a := this.Duration[i] b := that1.Duration[i] if !(&a).Equal(&b) { return false } } if len(this.NullableDouble) != len(that1.NullableDouble) { return false } for i := range this.NullableDouble { if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { return false } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { return false } for i := range this.NonnullDouble { a := this.NonnullDouble[i] b := that1.NonnullDouble[i] if !(&a).Equal(&b) { return false } } if len(this.NullableFloat) != len(that1.NullableFloat) { return false } for i := range this.NullableFloat { if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { return false } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { return false } for i := range this.NonnullFloat { a := this.NonnullFloat[i] b := that1.NonnullFloat[i] if !(&a).Equal(&b) { return false } } if len(this.NullableInt64) != len(that1.NullableInt64) { return false } for i := range this.NullableInt64 { if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { return false } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { return false } for i := range this.NonnullInt64 { a := this.NonnullInt64[i] b := that1.NonnullInt64[i] if !(&a).Equal(&b) { return false } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { return false } for i := range this.NullableUInt64 { if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { return false } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { return false } for i := range this.NonnullUInt64 { a := this.NonnullUInt64[i] b := that1.NonnullUInt64[i] if !(&a).Equal(&b) { return false } } if len(this.NullableInt32) != len(that1.NullableInt32) { return false } for i := range this.NullableInt32 { if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { return false } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { return false } for i := range this.NonnullInt32 { a := this.NonnullInt32[i] b := that1.NonnullInt32[i] if !(&a).Equal(&b) { return false } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { return false } for i := range this.NullableUInt32 { if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { return false } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { return false } for i := range this.NonnullUInt32 { a := this.NonnullUInt32[i] b := that1.NonnullUInt32[i] if !(&a).Equal(&b) { return false } } if len(this.NullableBool) != len(that1.NullableBool) { return false } for i := range this.NullableBool { if !this.NullableBool[i].Equal(that1.NullableBool[i]) { return false } } if len(this.NonnullBool) != len(that1.NonnullBool) { return false } for i := range this.NonnullBool { a := this.NonnullBool[i] b := that1.NonnullBool[i] if !(&a).Equal(&b) { return false } } if len(this.NullableString) != len(that1.NullableString) { return false } for i := range this.NullableString { if !this.NullableString[i].Equal(that1.NullableString[i]) { return false } } if len(this.NonnullString) != len(that1.NonnullString) { return false } for i := range this.NonnullString { a := this.NonnullString[i] b := that1.NonnullString[i] if !(&a).Equal(&b) { return false } } if len(this.NullableBytes) != len(that1.NullableBytes) { return false } for i := range this.NullableBytes { if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { return false } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { return false } for i := range this.NonnullBytes { a := this.NonnullBytes[i] b := that1.NonnullBytes[i] if !(&a).Equal(&b) { return false } } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *MapStdTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*MapStdTypes) if !ok { that2, ok := that.(MapStdTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *MapStdTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *MapStdTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *MapStdTypes but is not nil && this == nil") } if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) } for i := range this.NullableTimestamp { if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) } } if len(this.Timestamp) != len(that1.Timestamp) { return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) } for i := range this.Timestamp { if !this.Timestamp[i].Equal(that1.Timestamp[i]) { return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) } } if len(this.NullableDuration) != len(that1.NullableDuration) { return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) } for i := range this.NullableDuration { if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) } } if len(this.Duration) != len(that1.Duration) { return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) } for i := range this.Duration { if this.Duration[i] != that1.Duration[i] { return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) } } if len(this.NullableDouble) != len(that1.NullableDouble) { return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) } for i := range this.NullableDouble { a := this.NullableDouble[i] b := that1.NullableDouble[i] if *a != *b { return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) } for i := range this.NonnullDouble { a := this.NonnullDouble[i] b := that1.NonnullDouble[i] if a != b { return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) } } if len(this.NullableFloat) != len(that1.NullableFloat) { return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) } for i := range this.NullableFloat { a := this.NullableFloat[i] b := that1.NullableFloat[i] if *a != *b { return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) } for i := range this.NonnullFloat { a := this.NonnullFloat[i] b := that1.NonnullFloat[i] if a != b { return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) } } if len(this.NullableInt64) != len(that1.NullableInt64) { return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) } for i := range this.NullableInt64 { a := this.NullableInt64[i] b := that1.NullableInt64[i] if *a != *b { return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) } for i := range this.NonnullInt64 { a := this.NonnullInt64[i] b := that1.NonnullInt64[i] if a != b { return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) } for i := range this.NullableUInt64 { a := this.NullableUInt64[i] b := that1.NullableUInt64[i] if *a != *b { return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) } for i := range this.NonnullUInt64 { a := this.NonnullUInt64[i] b := that1.NonnullUInt64[i] if a != b { return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) } } if len(this.NullableInt32) != len(that1.NullableInt32) { return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) } for i := range this.NullableInt32 { a := this.NullableInt32[i] b := that1.NullableInt32[i] if *a != *b { return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) } for i := range this.NonnullInt32 { a := this.NonnullInt32[i] b := that1.NonnullInt32[i] if a != b { return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) } for i := range this.NullableUInt32 { a := this.NullableUInt32[i] b := that1.NullableUInt32[i] if *a != *b { return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) } for i := range this.NonnullUInt32 { a := this.NonnullUInt32[i] b := that1.NonnullUInt32[i] if a != b { return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) } } if len(this.NullableBool) != len(that1.NullableBool) { return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) } for i := range this.NullableBool { a := this.NullableBool[i] b := that1.NullableBool[i] if *a != *b { return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) } } if len(this.NonnullBool) != len(that1.NonnullBool) { return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) } for i := range this.NonnullBool { a := this.NonnullBool[i] b := that1.NonnullBool[i] if a != b { return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) } } if len(this.NullableString) != len(that1.NullableString) { return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) } for i := range this.NullableString { a := this.NullableString[i] b := that1.NullableString[i] if *a != *b { return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) } } if len(this.NonnullString) != len(that1.NonnullString) { return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) } for i := range this.NonnullString { a := this.NonnullString[i] b := that1.NonnullString[i] if a != b { return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) } } if len(this.NullableBytes) != len(that1.NullableBytes) { return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) } for i := range this.NullableBytes { a := this.NullableBytes[i] b := that1.NullableBytes[i] if !bytes.Equal(*a, *b) { return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) } for i := range this.NonnullBytes { a := this.NonnullBytes[i] b := that1.NonnullBytes[i] if !bytes.Equal(a, b) { return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) } } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *MapStdTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*MapStdTypes) if !ok { that2, ok := that.(MapStdTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { return false } for i := range this.NullableTimestamp { if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { return false } } if len(this.Timestamp) != len(that1.Timestamp) { return false } for i := range this.Timestamp { if !this.Timestamp[i].Equal(that1.Timestamp[i]) { return false } } if len(this.NullableDuration) != len(that1.NullableDuration) { return false } for i := range this.NullableDuration { if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { return false } } if len(this.Duration) != len(that1.Duration) { return false } for i := range this.Duration { if this.Duration[i] != that1.Duration[i] { return false } } if len(this.NullableDouble) != len(that1.NullableDouble) { return false } for i := range this.NullableDouble { a := this.NullableDouble[i] b := that1.NullableDouble[i] if *a != *b { return false } } if len(this.NonnullDouble) != len(that1.NonnullDouble) { return false } for i := range this.NonnullDouble { a := this.NonnullDouble[i] b := that1.NonnullDouble[i] if a != b { return false } } if len(this.NullableFloat) != len(that1.NullableFloat) { return false } for i := range this.NullableFloat { a := this.NullableFloat[i] b := that1.NullableFloat[i] if *a != *b { return false } } if len(this.NonnullFloat) != len(that1.NonnullFloat) { return false } for i := range this.NonnullFloat { a := this.NonnullFloat[i] b := that1.NonnullFloat[i] if a != b { return false } } if len(this.NullableInt64) != len(that1.NullableInt64) { return false } for i := range this.NullableInt64 { a := this.NullableInt64[i] b := that1.NullableInt64[i] if *a != *b { return false } } if len(this.NonnullInt64) != len(that1.NonnullInt64) { return false } for i := range this.NonnullInt64 { a := this.NonnullInt64[i] b := that1.NonnullInt64[i] if a != b { return false } } if len(this.NullableUInt64) != len(that1.NullableUInt64) { return false } for i := range this.NullableUInt64 { a := this.NullableUInt64[i] b := that1.NullableUInt64[i] if *a != *b { return false } } if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { return false } for i := range this.NonnullUInt64 { a := this.NonnullUInt64[i] b := that1.NonnullUInt64[i] if a != b { return false } } if len(this.NullableInt32) != len(that1.NullableInt32) { return false } for i := range this.NullableInt32 { a := this.NullableInt32[i] b := that1.NullableInt32[i] if *a != *b { return false } } if len(this.NonnullInt32) != len(that1.NonnullInt32) { return false } for i := range this.NonnullInt32 { a := this.NonnullInt32[i] b := that1.NonnullInt32[i] if a != b { return false } } if len(this.NullableUInt32) != len(that1.NullableUInt32) { return false } for i := range this.NullableUInt32 { a := this.NullableUInt32[i] b := that1.NullableUInt32[i] if *a != *b { return false } } if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { return false } for i := range this.NonnullUInt32 { a := this.NonnullUInt32[i] b := that1.NonnullUInt32[i] if a != b { return false } } if len(this.NullableBool) != len(that1.NullableBool) { return false } for i := range this.NullableBool { a := this.NullableBool[i] b := that1.NullableBool[i] if *a != *b { return false } } if len(this.NonnullBool) != len(that1.NonnullBool) { return false } for i := range this.NonnullBool { a := this.NonnullBool[i] b := that1.NonnullBool[i] if a != b { return false } } if len(this.NullableString) != len(that1.NullableString) { return false } for i := range this.NullableString { a := this.NullableString[i] b := that1.NullableString[i] if *a != *b { return false } } if len(this.NonnullString) != len(that1.NonnullString) { return false } for i := range this.NonnullString { a := this.NonnullString[i] b := that1.NonnullString[i] if a != b { return false } } if len(this.NullableBytes) != len(that1.NullableBytes) { return false } for i := range this.NullableBytes { a := this.NullableBytes[i] b := that1.NullableBytes[i] if !bytes.Equal(*a, *b) { return false } } if len(this.NonnullBytes) != len(that1.NonnullBytes) { return false } for i := range this.NonnullBytes { a := this.NonnullBytes[i] b := that1.NonnullBytes[i] if !bytes.Equal(a, b) { return false } } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *OneofProtoTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes) if !ok { that2, ok := that.(OneofProtoTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes but is not nil && this == nil") } if that1.OneOfProtoTimes == nil { if this.OneOfProtoTimes != nil { return fmt.Errorf("this.OneOfProtoTimes != nil && that1.OneOfProtoTimes == nil") } } else if this.OneOfProtoTimes == nil { return fmt.Errorf("this.OneOfProtoTimes == nil && that1.OneOfProtoTimes != nil") } else if err := this.OneOfProtoTimes.VerboseEqual(that1.OneOfProtoTimes); err != nil { return err } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *OneofProtoTypes_Timestamp) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_Timestamp) if !ok { that2, ok := that.(OneofProtoTypes_Timestamp) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_Timestamp") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is not nil && this == nil") } if !this.Timestamp.Equal(that1.Timestamp) { return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) } return nil } func (this *OneofProtoTypes_Duration) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_Duration) if !ok { that2, ok := that.(OneofProtoTypes_Duration) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_Duration") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_Duration but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_Duration but is not nil && this == nil") } if !this.Duration.Equal(that1.Duration) { return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) } return nil } func (this *OneofProtoTypes_RepDouble) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepDouble) if !ok { that2, ok := that.(OneofProtoTypes_RepDouble) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepDouble") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is not nil && this == nil") } if !this.RepDouble.Equal(that1.RepDouble) { return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) } return nil } func (this *OneofProtoTypes_RepFloat) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepFloat) if !ok { that2, ok := that.(OneofProtoTypes_RepFloat) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepFloat") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is not nil && this == nil") } if !this.RepFloat.Equal(that1.RepFloat) { return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) } return nil } func (this *OneofProtoTypes_RepInt64) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepInt64) if !ok { that2, ok := that.(OneofProtoTypes_RepInt64) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt64") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is not nil && this == nil") } if !this.RepInt64.Equal(that1.RepInt64) { return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) } return nil } func (this *OneofProtoTypes_RepUInt64) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepUInt64) if !ok { that2, ok := that.(OneofProtoTypes_RepUInt64) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt64") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is not nil && this == nil") } if !this.RepUInt64.Equal(that1.RepUInt64) { return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) } return nil } func (this *OneofProtoTypes_RepInt32) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepInt32) if !ok { that2, ok := that.(OneofProtoTypes_RepInt32) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt32") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is not nil && this == nil") } if !this.RepInt32.Equal(that1.RepInt32) { return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) } return nil } func (this *OneofProtoTypes_RepUInt32) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepUInt32) if !ok { that2, ok := that.(OneofProtoTypes_RepUInt32) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt32") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is not nil && this == nil") } if !this.RepUInt32.Equal(that1.RepUInt32) { return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) } return nil } func (this *OneofProtoTypes_RepBool) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepBool) if !ok { that2, ok := that.(OneofProtoTypes_RepBool) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepBool") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is not nil && this == nil") } if !this.RepBool.Equal(that1.RepBool) { return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) } return nil } func (this *OneofProtoTypes_RepString) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepString) if !ok { that2, ok := that.(OneofProtoTypes_RepString) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepString") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepString but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepString but is not nil && this == nil") } if !this.RepString.Equal(that1.RepString) { return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) } return nil } func (this *OneofProtoTypes_RepBytes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofProtoTypes_RepBytes) if !ok { that2, ok := that.(OneofProtoTypes_RepBytes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofProtoTypes_RepBytes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is not nil && this == nil") } if !this.RepBytes.Equal(that1.RepBytes) { return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) } return nil } func (this *OneofProtoTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes) if !ok { that2, ok := that.(OneofProtoTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if that1.OneOfProtoTimes == nil { if this.OneOfProtoTimes != nil { return false } } else if this.OneOfProtoTimes == nil { return false } else if !this.OneOfProtoTimes.Equal(that1.OneOfProtoTimes) { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *OneofProtoTypes_Timestamp) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_Timestamp) if !ok { that2, ok := that.(OneofProtoTypes_Timestamp) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.Timestamp.Equal(that1.Timestamp) { return false } return true } func (this *OneofProtoTypes_Duration) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_Duration) if !ok { that2, ok := that.(OneofProtoTypes_Duration) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.Duration.Equal(that1.Duration) { return false } return true } func (this *OneofProtoTypes_RepDouble) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepDouble) if !ok { that2, ok := that.(OneofProtoTypes_RepDouble) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepDouble.Equal(that1.RepDouble) { return false } return true } func (this *OneofProtoTypes_RepFloat) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepFloat) if !ok { that2, ok := that.(OneofProtoTypes_RepFloat) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepFloat.Equal(that1.RepFloat) { return false } return true } func (this *OneofProtoTypes_RepInt64) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepInt64) if !ok { that2, ok := that.(OneofProtoTypes_RepInt64) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepInt64.Equal(that1.RepInt64) { return false } return true } func (this *OneofProtoTypes_RepUInt64) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepUInt64) if !ok { that2, ok := that.(OneofProtoTypes_RepUInt64) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepUInt64.Equal(that1.RepUInt64) { return false } return true } func (this *OneofProtoTypes_RepInt32) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepInt32) if !ok { that2, ok := that.(OneofProtoTypes_RepInt32) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepInt32.Equal(that1.RepInt32) { return false } return true } func (this *OneofProtoTypes_RepUInt32) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepUInt32) if !ok { that2, ok := that.(OneofProtoTypes_RepUInt32) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepUInt32.Equal(that1.RepUInt32) { return false } return true } func (this *OneofProtoTypes_RepBool) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepBool) if !ok { that2, ok := that.(OneofProtoTypes_RepBool) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepBool.Equal(that1.RepBool) { return false } return true } func (this *OneofProtoTypes_RepString) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepString) if !ok { that2, ok := that.(OneofProtoTypes_RepString) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepString.Equal(that1.RepString) { return false } return true } func (this *OneofProtoTypes_RepBytes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofProtoTypes_RepBytes) if !ok { that2, ok := that.(OneofProtoTypes_RepBytes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if !this.RepBytes.Equal(that1.RepBytes) { return false } return true } func (this *OneofStdTypes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes) if !ok { that2, ok := that.(OneofStdTypes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes but is not nil && this == nil") } if that1.OneOfStdTimes == nil { if this.OneOfStdTimes != nil { return fmt.Errorf("this.OneOfStdTimes != nil && that1.OneOfStdTimes == nil") } } else if this.OneOfStdTimes == nil { return fmt.Errorf("this.OneOfStdTimes == nil && that1.OneOfStdTimes != nil") } else if err := this.OneOfStdTimes.VerboseEqual(that1.OneOfStdTimes); err != nil { return err } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_Timestamp) if !ok { that2, ok := that.(OneofStdTypes_Timestamp) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_Timestamp") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is not nil && this == nil") } if that1.Timestamp == nil { if this.Timestamp != nil { return fmt.Errorf("this.Timestamp != nil && that1.Timestamp == nil") } } else if !this.Timestamp.Equal(*that1.Timestamp) { return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) } return nil } func (this *OneofStdTypes_Duration) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_Duration) if !ok { that2, ok := that.(OneofStdTypes_Duration) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_Duration") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_Duration but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_Duration but is not nil && this == nil") } if this.Duration != nil && that1.Duration != nil { if *this.Duration != *that1.Duration { return fmt.Errorf("Duration this(%v) Not Equal that(%v)", *this.Duration, *that1.Duration) } } else if this.Duration != nil { return fmt.Errorf("this.Duration == nil && that.Duration != nil") } else if that1.Duration != nil { return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) } return nil } func (this *OneofStdTypes_RepDouble) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepDouble) if !ok { that2, ok := that.(OneofStdTypes_RepDouble) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepDouble") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is not nil && this == nil") } if this.RepDouble != nil && that1.RepDouble != nil { if *this.RepDouble != *that1.RepDouble { return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", *this.RepDouble, *that1.RepDouble) } } else if this.RepDouble != nil { return fmt.Errorf("this.RepDouble == nil && that.RepDouble != nil") } else if that1.RepDouble != nil { return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) } return nil } func (this *OneofStdTypes_RepFloat) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepFloat) if !ok { that2, ok := that.(OneofStdTypes_RepFloat) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepFloat") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is not nil && this == nil") } if this.RepFloat != nil && that1.RepFloat != nil { if *this.RepFloat != *that1.RepFloat { return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", *this.RepFloat, *that1.RepFloat) } } else if this.RepFloat != nil { return fmt.Errorf("this.RepFloat == nil && that.RepFloat != nil") } else if that1.RepFloat != nil { return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) } return nil } func (this *OneofStdTypes_RepInt64) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepInt64) if !ok { that2, ok := that.(OneofStdTypes_RepInt64) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepInt64") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is not nil && this == nil") } if this.RepInt64 != nil && that1.RepInt64 != nil { if *this.RepInt64 != *that1.RepInt64 { return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", *this.RepInt64, *that1.RepInt64) } } else if this.RepInt64 != nil { return fmt.Errorf("this.RepInt64 == nil && that.RepInt64 != nil") } else if that1.RepInt64 != nil { return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) } return nil } func (this *OneofStdTypes_RepUInt64) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepUInt64) if !ok { that2, ok := that.(OneofStdTypes_RepUInt64) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt64") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is not nil && this == nil") } if this.RepUInt64 != nil && that1.RepUInt64 != nil { if *this.RepUInt64 != *that1.RepUInt64 { return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", *this.RepUInt64, *that1.RepUInt64) } } else if this.RepUInt64 != nil { return fmt.Errorf("this.RepUInt64 == nil && that.RepUInt64 != nil") } else if that1.RepUInt64 != nil { return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) } return nil } func (this *OneofStdTypes_RepInt32) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepInt32) if !ok { that2, ok := that.(OneofStdTypes_RepInt32) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepInt32") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is not nil && this == nil") } if this.RepInt32 != nil && that1.RepInt32 != nil { if *this.RepInt32 != *that1.RepInt32 { return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", *this.RepInt32, *that1.RepInt32) } } else if this.RepInt32 != nil { return fmt.Errorf("this.RepInt32 == nil && that.RepInt32 != nil") } else if that1.RepInt32 != nil { return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) } return nil } func (this *OneofStdTypes_RepUInt32) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepUInt32) if !ok { that2, ok := that.(OneofStdTypes_RepUInt32) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt32") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is not nil && this == nil") } if this.RepUInt32 != nil && that1.RepUInt32 != nil { if *this.RepUInt32 != *that1.RepUInt32 { return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", *this.RepUInt32, *that1.RepUInt32) } } else if this.RepUInt32 != nil { return fmt.Errorf("this.RepUInt32 == nil && that.RepUInt32 != nil") } else if that1.RepUInt32 != nil { return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) } return nil } func (this *OneofStdTypes_RepBool) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepBool) if !ok { that2, ok := that.(OneofStdTypes_RepBool) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepBool") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepBool but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepBool but is not nil && this == nil") } if this.RepBool != nil && that1.RepBool != nil { if *this.RepBool != *that1.RepBool { return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", *this.RepBool, *that1.RepBool) } } else if this.RepBool != nil { return fmt.Errorf("this.RepBool == nil && that.RepBool != nil") } else if that1.RepBool != nil { return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) } return nil } func (this *OneofStdTypes_RepString) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepString) if !ok { that2, ok := that.(OneofStdTypes_RepString) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepString") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepString but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepString but is not nil && this == nil") } if this.RepString != nil && that1.RepString != nil { if *this.RepString != *that1.RepString { return fmt.Errorf("RepString this(%v) Not Equal that(%v)", *this.RepString, *that1.RepString) } } else if this.RepString != nil { return fmt.Errorf("this.RepString == nil && that.RepString != nil") } else if that1.RepString != nil { return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) } return nil } func (this *OneofStdTypes_RepBytes) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*OneofStdTypes_RepBytes) if !ok { that2, ok := that.(OneofStdTypes_RepBytes) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *OneofStdTypes_RepBytes") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is not nil && this == nil") } if that1.RepBytes == nil { if this.RepBytes != nil { return fmt.Errorf("this.RepBytes != nil && that1.RepBytes == nil") } } else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) } return nil } func (this *OneofStdTypes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes) if !ok { that2, ok := that.(OneofStdTypes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if that1.OneOfStdTimes == nil { if this.OneOfStdTimes != nil { return false } } else if this.OneOfStdTimes == nil { return false } else if !this.OneOfStdTimes.Equal(that1.OneOfStdTimes) { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *OneofStdTypes_Timestamp) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_Timestamp) if !ok { that2, ok := that.(OneofStdTypes_Timestamp) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if that1.Timestamp == nil { if this.Timestamp != nil { return false } } else if !this.Timestamp.Equal(*that1.Timestamp) { return false } return true } func (this *OneofStdTypes_Duration) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_Duration) if !ok { that2, ok := that.(OneofStdTypes_Duration) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.Duration != nil && that1.Duration != nil { if *this.Duration != *that1.Duration { return false } } else if this.Duration != nil { return false } else if that1.Duration != nil { return false } return true } func (this *OneofStdTypes_RepDouble) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepDouble) if !ok { that2, ok := that.(OneofStdTypes_RepDouble) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.RepDouble != nil && that1.RepDouble != nil { if *this.RepDouble != *that1.RepDouble { return false } } else if this.RepDouble != nil { return false } else if that1.RepDouble != nil { return false } return true } func (this *OneofStdTypes_RepFloat) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepFloat) if !ok { that2, ok := that.(OneofStdTypes_RepFloat) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.RepFloat != nil && that1.RepFloat != nil { if *this.RepFloat != *that1.RepFloat { return false } } else if this.RepFloat != nil { return false } else if that1.RepFloat != nil { return false } return true } func (this *OneofStdTypes_RepInt64) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepInt64) if !ok { that2, ok := that.(OneofStdTypes_RepInt64) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.RepInt64 != nil && that1.RepInt64 != nil { if *this.RepInt64 != *that1.RepInt64 { return false } } else if this.RepInt64 != nil { return false } else if that1.RepInt64 != nil { return false } return true } func (this *OneofStdTypes_RepUInt64) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepUInt64) if !ok { that2, ok := that.(OneofStdTypes_RepUInt64) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.RepUInt64 != nil && that1.RepUInt64 != nil { if *this.RepUInt64 != *that1.RepUInt64 { return false } } else if this.RepUInt64 != nil { return false } else if that1.RepUInt64 != nil { return false } return true } func (this *OneofStdTypes_RepInt32) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepInt32) if !ok { that2, ok := that.(OneofStdTypes_RepInt32) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.RepInt32 != nil && that1.RepInt32 != nil { if *this.RepInt32 != *that1.RepInt32 { return false } } else if this.RepInt32 != nil { return false } else if that1.RepInt32 != nil { return false } return true } func (this *OneofStdTypes_RepUInt32) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepUInt32) if !ok { that2, ok := that.(OneofStdTypes_RepUInt32) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.RepUInt32 != nil && that1.RepUInt32 != nil { if *this.RepUInt32 != *that1.RepUInt32 { return false } } else if this.RepUInt32 != nil { return false } else if that1.RepUInt32 != nil { return false } return true } func (this *OneofStdTypes_RepBool) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepBool) if !ok { that2, ok := that.(OneofStdTypes_RepBool) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.RepBool != nil && that1.RepBool != nil { if *this.RepBool != *that1.RepBool { return false } } else if this.RepBool != nil { return false } else if that1.RepBool != nil { return false } return true } func (this *OneofStdTypes_RepString) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepString) if !ok { that2, ok := that.(OneofStdTypes_RepString) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if this.RepString != nil && that1.RepString != nil { if *this.RepString != *that1.RepString { return false } } else if this.RepString != nil { return false } else if that1.RepString != nil { return false } return true } func (this *OneofStdTypes_RepBytes) Equal(that interface{}) bool { if that == nil { return this == nil } that1, ok := that.(*OneofStdTypes_RepBytes) if !ok { that2, ok := that.(OneofStdTypes_RepBytes) if ok { that1 = &that2 } else { return false } } if that1 == nil { return this == nil } else if this == nil { return false } if that1.RepBytes == nil { if this.RepBytes != nil { return false } } else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { return false } return true } func (m *KnownTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *KnownTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Dur != nil { dAtA[i] = 0xa i++ i = encodeVarintTypes(dAtA, i, uint64(m.Dur.Size())) n1, err := m.Dur.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n1 } if m.Ts != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(m.Ts.Size())) n2, err := m.Ts.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n2 } if m.Dbl != nil { dAtA[i] = 0x1a i++ i = encodeVarintTypes(dAtA, i, uint64(m.Dbl.Size())) n3, err := m.Dbl.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n3 } if m.Flt != nil { dAtA[i] = 0x22 i++ i = encodeVarintTypes(dAtA, i, uint64(m.Flt.Size())) n4, err := m.Flt.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n4 } if m.I64 != nil { dAtA[i] = 0x2a i++ i = encodeVarintTypes(dAtA, i, uint64(m.I64.Size())) n5, err := m.I64.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n5 } if m.U64 != nil { dAtA[i] = 0x32 i++ i = encodeVarintTypes(dAtA, i, uint64(m.U64.Size())) n6, err := m.U64.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n6 } if m.I32 != nil { dAtA[i] = 0x3a i++ i = encodeVarintTypes(dAtA, i, uint64(m.I32.Size())) n7, err := m.I32.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n7 } if m.U32 != nil { dAtA[i] = 0x42 i++ i = encodeVarintTypes(dAtA, i, uint64(m.U32.Size())) n8, err := m.U32.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n8 } if m.Bool != nil { dAtA[i] = 0x4a i++ i = encodeVarintTypes(dAtA, i, uint64(m.Bool.Size())) n9, err := m.Bool.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n9 } if m.Str != nil { dAtA[i] = 0x52 i++ i = encodeVarintTypes(dAtA, i, uint64(m.Str.Size())) n10, err := m.Str.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n10 } if m.Bytes != nil { dAtA[i] = 0x5a i++ i = encodeVarintTypes(dAtA, i, uint64(m.Bytes.Size())) n11, err := m.Bytes.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n11 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *ProtoTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ProtoTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.NullableTimestamp != nil { dAtA[i] = 0xa i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableTimestamp.Size())) n12, err := m.NullableTimestamp.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n12 } if m.NullableDuration != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableDuration.Size())) n13, err := m.NullableDuration.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n13 } if m.NullableDouble != nil { dAtA[i] = 0x1a i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableDouble.Size())) n14, err := m.NullableDouble.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n14 } if m.NullableFloat != nil { dAtA[i] = 0x22 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableFloat.Size())) n15, err := m.NullableFloat.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n15 } if m.NullableInt64 != nil { dAtA[i] = 0x2a i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableInt64.Size())) n16, err := m.NullableInt64.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n16 } if m.NullableUInt64 != nil { dAtA[i] = 0x32 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableUInt64.Size())) n17, err := m.NullableUInt64.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n17 } if m.NullableInt32 != nil { dAtA[i] = 0x3a i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableInt32.Size())) n18, err := m.NullableInt32.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n18 } if m.NullableUInt32 != nil { dAtA[i] = 0x42 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableUInt32.Size())) n19, err := m.NullableUInt32.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n19 } if m.NullableBool != nil { dAtA[i] = 0x4a i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableBool.Size())) n20, err := m.NullableBool.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n20 } if m.NullableString != nil { dAtA[i] = 0x52 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableString.Size())) n21, err := m.NullableString.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n21 } if m.NullableBytes != nil { dAtA[i] = 0x5a i++ i = encodeVarintTypes(dAtA, i, uint64(m.NullableBytes.Size())) n22, err := m.NullableBytes.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n22 } dAtA[i] = 0x62 i++ i = encodeVarintTypes(dAtA, i, uint64(m.Timestamp.Size())) n23, err := m.Timestamp.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n23 dAtA[i] = 0x6a i++ i = encodeVarintTypes(dAtA, i, uint64(m.Duration.Size())) n24, err := m.Duration.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n24 dAtA[i] = 0x72 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullDouble.Size())) n25, err := m.NonnullDouble.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n25 dAtA[i] = 0x7a i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullFloat.Size())) n26, err := m.NonnullFloat.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n26 dAtA[i] = 0x82 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullInt64.Size())) n27, err := m.NonnullInt64.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n27 dAtA[i] = 0x8a i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullUInt64.Size())) n28, err := m.NonnullUInt64.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n28 dAtA[i] = 0x92 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullInt32.Size())) n29, err := m.NonnullInt32.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n29 dAtA[i] = 0x9a i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullUInt32.Size())) n30, err := m.NonnullUInt32.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n30 dAtA[i] = 0xa2 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullBool.Size())) n31, err := m.NonnullBool.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n31 dAtA[i] = 0xaa i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullString.Size())) n32, err := m.NonnullString.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n32 dAtA[i] = 0xb2 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(m.NonnullBytes.Size())) n33, err := m.NonnullBytes.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n33 if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *StdTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *StdTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.NullableTimestamp != nil { dAtA[i] = 0xa i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamp))) n34, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.NullableTimestamp, dAtA[i:]) if err != nil { return 0, err } i += n34 } if m.NullableDuration != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDuration))) n35, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.NullableDuration, dAtA[i:]) if err != nil { return 0, err } i += n35 } if m.NullableDouble != nil { dAtA[i] = 0x1a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble))) n36, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*m.NullableDouble, dAtA[i:]) if err != nil { return 0, err } i += n36 } if m.NullableFloat != nil { dAtA[i] = 0x22 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat))) n37, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(*m.NullableFloat, dAtA[i:]) if err != nil { return 0, err } i += n37 } if m.NullableInt64 != nil { dAtA[i] = 0x2a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64))) n38, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(*m.NullableInt64, dAtA[i:]) if err != nil { return 0, err } i += n38 } if m.NullableUInt64 != nil { dAtA[i] = 0x32 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64))) n39, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*m.NullableUInt64, dAtA[i:]) if err != nil { return 0, err } i += n39 } if m.NullableInt32 != nil { dAtA[i] = 0x3a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32))) n40, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(*m.NullableInt32, dAtA[i:]) if err != nil { return 0, err } i += n40 } if m.NullableUInt32 != nil { dAtA[i] = 0x42 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32))) n41, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*m.NullableUInt32, dAtA[i:]) if err != nil { return 0, err } i += n41 } if m.NullableBool != nil { dAtA[i] = 0x4a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool))) n42, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(*m.NullableBool, dAtA[i:]) if err != nil { return 0, err } i += n42 } if m.NullableString != nil { dAtA[i] = 0x52 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString))) n43, err := github_com_gogo_protobuf_types.StdStringMarshalTo(*m.NullableString, dAtA[i:]) if err != nil { return 0, err } i += n43 } if m.NullableBytes != nil { dAtA[i] = 0x5a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes))) n44, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(*m.NullableBytes, dAtA[i:]) if err != nil { return 0, err } i += n44 } dAtA[i] = 0x62 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp))) n45, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i:]) if err != nil { return 0, err } i += n45 dAtA[i] = 0x6a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(m.Duration))) n46, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Duration, dAtA[i:]) if err != nil { return 0, err } i += n46 dAtA[i] = 0x72 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble))) n47, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(m.NonnullDouble, dAtA[i:]) if err != nil { return 0, err } i += n47 dAtA[i] = 0x7a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat))) n48, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(m.NonnullFloat, dAtA[i:]) if err != nil { return 0, err } i += n48 dAtA[i] = 0x82 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64))) n49, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(m.NonnullInt64, dAtA[i:]) if err != nil { return 0, err } i += n49 dAtA[i] = 0x8a i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64))) n50, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(m.NonnullUInt64, dAtA[i:]) if err != nil { return 0, err } i += n50 dAtA[i] = 0x92 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32))) n51, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(m.NonnullInt32, dAtA[i:]) if err != nil { return 0, err } i += n51 dAtA[i] = 0x9a i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32))) n52, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(m.NonnullUInt32, dAtA[i:]) if err != nil { return 0, err } i += n52 dAtA[i] = 0xa2 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool))) n53, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(m.NonnullBool, dAtA[i:]) if err != nil { return 0, err } i += n53 dAtA[i] = 0xaa i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString))) n54, err := github_com_gogo_protobuf_types.StdStringMarshalTo(m.NonnullString, dAtA[i:]) if err != nil { return 0, err } i += n54 dAtA[i] = 0xb2 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes))) n55, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(m.NonnullBytes, dAtA[i:]) if err != nil { return 0, err } i += n55 if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *RepProtoTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *RepProtoTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if len(m.NullableTimestamps) > 0 { for _, msg := range m.NullableTimestamps { dAtA[i] = 0xa i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableDurations) > 0 { for _, msg := range m.NullableDurations { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.Timestamps) > 0 { for _, msg := range m.Timestamps { dAtA[i] = 0x1a i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.Durations) > 0 { for _, msg := range m.Durations { dAtA[i] = 0x22 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableDouble) > 0 { for _, msg := range m.NullableDouble { dAtA[i] = 0x2a i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullDouble) > 0 { for _, msg := range m.NonnullDouble { dAtA[i] = 0x32 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableFloat) > 0 { for _, msg := range m.NullableFloat { dAtA[i] = 0x3a i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullFloat) > 0 { for _, msg := range m.NonnullFloat { dAtA[i] = 0x42 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableInt64) > 0 { for _, msg := range m.NullableInt64 { dAtA[i] = 0x4a i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullInt64) > 0 { for _, msg := range m.NonnullInt64 { dAtA[i] = 0x52 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableUInt64) > 0 { for _, msg := range m.NullableUInt64 { dAtA[i] = 0x5a i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullUInt64) > 0 { for _, msg := range m.NonnullUInt64 { dAtA[i] = 0x62 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableInt32) > 0 { for _, msg := range m.NullableInt32 { dAtA[i] = 0x6a i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullInt32) > 0 { for _, msg := range m.NonnullInt32 { dAtA[i] = 0x72 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableUInt32) > 0 { for _, msg := range m.NullableUInt32 { dAtA[i] = 0x7a i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullUInt32) > 0 { for _, msg := range m.NonnullUInt32 { dAtA[i] = 0x82 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableBool) > 0 { for _, msg := range m.NullableBool { dAtA[i] = 0x8a i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullBool) > 0 { for _, msg := range m.NonnullBool { dAtA[i] = 0x92 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableString) > 0 { for _, msg := range m.NullableString { dAtA[i] = 0x9a i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullString) > 0 { for _, msg := range m.NonnullString { dAtA[i] = 0xa2 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableBytes) > 0 { for _, msg := range m.NullableBytes { dAtA[i] = 0xaa i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullBytes) > 0 { for _, msg := range m.NonnullBytes { dAtA[i] = 0xb2 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *RepStdTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *RepStdTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if len(m.NullableTimestamps) > 0 { for _, msg := range m.NullableTimestamps { dAtA[i] = 0xa i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(*msg))) n, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableDurations) > 0 { for _, msg := range m.NullableDurations { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(*msg))) n, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.Timestamps) > 0 { for _, msg := range m.Timestamps { dAtA[i] = 0x1a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(msg))) n, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.Durations) > 0 { for _, msg := range m.Durations { dAtA[i] = 0x22 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(msg))) n, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableDouble) > 0 { for _, msg := range m.NullableDouble { dAtA[i] = 0x2a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDouble(*msg))) n, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullDouble) > 0 { for _, msg := range m.NonnullDouble { dAtA[i] = 0x32 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDouble(msg))) n, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableFloat) > 0 { for _, msg := range m.NullableFloat { dAtA[i] = 0x3a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdFloat(*msg))) n, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullFloat) > 0 { for _, msg := range m.NonnullFloat { dAtA[i] = 0x42 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdFloat(msg))) n, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableInt64) > 0 { for _, msg := range m.NullableInt64 { dAtA[i] = 0x4a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt64(*msg))) n, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullInt64) > 0 { for _, msg := range m.NonnullInt64 { dAtA[i] = 0x52 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt64(msg))) n, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableUInt64) > 0 { for _, msg := range m.NullableUInt64 { dAtA[i] = 0x5a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt64(*msg))) n, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullUInt64) > 0 { for _, msg := range m.NonnullUInt64 { dAtA[i] = 0x62 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt64(msg))) n, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableInt32) > 0 { for _, msg := range m.NullableInt32 { dAtA[i] = 0x6a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt32(*msg))) n, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullInt32) > 0 { for _, msg := range m.NonnullInt32 { dAtA[i] = 0x72 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt32(msg))) n, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableUInt32) > 0 { for _, msg := range m.NullableUInt32 { dAtA[i] = 0x7a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt32(*msg))) n, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullUInt32) > 0 { for _, msg := range m.NonnullUInt32 { dAtA[i] = 0x82 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt32(msg))) n, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableBool) > 0 { for _, msg := range m.NullableBool { dAtA[i] = 0x8a i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBool(*msg))) n, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullBool) > 0 { for _, msg := range m.NonnullBool { dAtA[i] = 0x92 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBool(msg))) n, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableString) > 0 { for _, msg := range m.NullableString { dAtA[i] = 0x9a i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdString(*msg))) n, err := github_com_gogo_protobuf_types.StdStringMarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullString) > 0 { for _, msg := range m.NonnullString { dAtA[i] = 0xa2 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdString(msg))) n, err := github_com_gogo_protobuf_types.StdStringMarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NullableBytes) > 0 { for _, msg := range m.NullableBytes { dAtA[i] = 0xaa i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBytes(*msg))) n, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(*msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.NonnullBytes) > 0 { for _, msg := range m.NonnullBytes { dAtA[i] = 0xb2 i++ dAtA[i] = 0x1 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBytes(msg))) n, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(msg, dAtA[i:]) if err != nil { return 0, err } i += n } } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *MapProtoTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MapProtoTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if len(m.NullableTimestamp) > 0 { for k := range m.NullableTimestamp { dAtA[i] = 0xa i++ v := m.NullableTimestamp[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n56, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n56 } } } if len(m.Timestamp) > 0 { for k := range m.Timestamp { dAtA[i] = 0x12 i++ v := m.Timestamp[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n57, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n57 } } if len(m.NullableDuration) > 0 { for k := range m.NullableDuration { dAtA[i] = 0x1a i++ v := m.NullableDuration[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n58, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n58 } } } if len(m.Duration) > 0 { for k := range m.Duration { dAtA[i] = 0x22 i++ v := m.Duration[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n59, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n59 } } if len(m.NullableDouble) > 0 { for k := range m.NullableDouble { dAtA[i] = 0x2a i++ v := m.NullableDouble[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n60, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n60 } } } if len(m.NonnullDouble) > 0 { for k := range m.NonnullDouble { dAtA[i] = 0x32 i++ v := m.NonnullDouble[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n61, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n61 } } if len(m.NullableFloat) > 0 { for k := range m.NullableFloat { dAtA[i] = 0x3a i++ v := m.NullableFloat[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n62, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n62 } } } if len(m.NonnullFloat) > 0 { for k := range m.NonnullFloat { dAtA[i] = 0x42 i++ v := m.NonnullFloat[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n63, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n63 } } if len(m.NullableInt64) > 0 { for k := range m.NullableInt64 { dAtA[i] = 0x4a i++ v := m.NullableInt64[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n64, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n64 } } } if len(m.NonnullInt64) > 0 { for k := range m.NonnullInt64 { dAtA[i] = 0x52 i++ v := m.NonnullInt64[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n65, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n65 } } if len(m.NullableUInt64) > 0 { for k := range m.NullableUInt64 { dAtA[i] = 0x5a i++ v := m.NullableUInt64[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n66, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n66 } } } if len(m.NonnullUInt64) > 0 { for k := range m.NonnullUInt64 { dAtA[i] = 0x62 i++ v := m.NonnullUInt64[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n67, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n67 } } if len(m.NullableInt32) > 0 { for k := range m.NullableInt32 { dAtA[i] = 0x6a i++ v := m.NullableInt32[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n68, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n68 } } } if len(m.NonnullInt32) > 0 { for k := range m.NonnullInt32 { dAtA[i] = 0x72 i++ v := m.NonnullInt32[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n69, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n69 } } if len(m.NullableUInt32) > 0 { for k := range m.NullableUInt32 { dAtA[i] = 0x7a i++ v := m.NullableUInt32[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n70, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n70 } } } if len(m.NonnullUInt32) > 0 { for k := range m.NonnullUInt32 { dAtA[i] = 0x82 i++ dAtA[i] = 0x1 i++ v := m.NonnullUInt32[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n71, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n71 } } if len(m.NullableBool) > 0 { for k := range m.NullableBool { dAtA[i] = 0x8a i++ dAtA[i] = 0x1 i++ v := m.NullableBool[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n72, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n72 } } } if len(m.NonnullBool) > 0 { for k := range m.NonnullBool { dAtA[i] = 0x92 i++ dAtA[i] = 0x1 i++ v := m.NonnullBool[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n73, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n73 } } if len(m.NullableString) > 0 { for k := range m.NullableString { dAtA[i] = 0x9a i++ dAtA[i] = 0x1 i++ v := m.NullableString[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n74, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n74 } } } if len(m.NonnullString) > 0 { for k := range m.NonnullString { dAtA[i] = 0xa2 i++ dAtA[i] = 0x1 i++ v := m.NonnullString[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n75, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n75 } } if len(m.NullableBytes) > 0 { for k := range m.NullableBytes { dAtA[i] = 0xaa i++ dAtA[i] = 0x1 i++ v := m.NullableBytes[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(v.Size())) n76, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n76 } } } if len(m.NonnullBytes) > 0 { for k := range m.NonnullBytes { dAtA[i] = 0xb2 i++ dAtA[i] = 0x1 i++ v := m.NonnullBytes[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64((&v).Size())) n77, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n77 } } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *MapStdTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MapStdTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if len(m.NullableTimestamp) > 0 { for k := range m.NullableTimestamp { dAtA[i] = 0xa i++ v := m.NullableTimestamp[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdTime(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(*v))) n78, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n78 } } } if len(m.Timestamp) > 0 { for k := range m.Timestamp { dAtA[i] = 0x12 i++ v := m.Timestamp[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdTime(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(*(&v)))) n79, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n79 } } if len(m.NullableDuration) > 0 { for k := range m.NullableDuration { dAtA[i] = 0x1a i++ v := m.NullableDuration[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdDuration(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(*v))) n80, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n80 } } } if len(m.Duration) > 0 { for k := range m.Duration { dAtA[i] = 0x22 i++ v := m.Duration[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdDuration(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(*(&v)))) n81, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n81 } } if len(m.NullableDouble) > 0 { for k := range m.NullableDouble { dAtA[i] = 0x2a i++ v := m.NullableDouble[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdDouble(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDouble(*v))) n82, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n82 } } } if len(m.NonnullDouble) > 0 { for k := range m.NonnullDouble { dAtA[i] = 0x32 i++ v := m.NonnullDouble[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdDouble(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDouble(*(&v)))) n83, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n83 } } if len(m.NullableFloat) > 0 { for k := range m.NullableFloat { dAtA[i] = 0x3a i++ v := m.NullableFloat[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdFloat(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdFloat(*v))) n84, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n84 } } } if len(m.NonnullFloat) > 0 { for k := range m.NonnullFloat { dAtA[i] = 0x42 i++ v := m.NonnullFloat[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdFloat(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdFloat(*(&v)))) n85, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n85 } } if len(m.NullableInt64) > 0 { for k := range m.NullableInt64 { dAtA[i] = 0x4a i++ v := m.NullableInt64[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdInt64(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt64(*v))) n86, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n86 } } } if len(m.NonnullInt64) > 0 { for k := range m.NonnullInt64 { dAtA[i] = 0x52 i++ v := m.NonnullInt64[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdInt64(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt64(*(&v)))) n87, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n87 } } if len(m.NullableUInt64) > 0 { for k := range m.NullableUInt64 { dAtA[i] = 0x5a i++ v := m.NullableUInt64[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdUInt64(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt64(*v))) n88, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n88 } } } if len(m.NonnullUInt64) > 0 { for k := range m.NonnullUInt64 { dAtA[i] = 0x62 i++ v := m.NonnullUInt64[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdUInt64(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt64(*(&v)))) n89, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n89 } } if len(m.NullableInt32) > 0 { for k := range m.NullableInt32 { dAtA[i] = 0x6a i++ v := m.NullableInt32[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdInt32(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt32(*v))) n90, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n90 } } } if len(m.NonnullInt32) > 0 { for k := range m.NonnullInt32 { dAtA[i] = 0x72 i++ v := m.NonnullInt32[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdInt32(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt32(*(&v)))) n91, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n91 } } if len(m.NullableUInt32) > 0 { for k := range m.NullableUInt32 { dAtA[i] = 0x7a i++ v := m.NullableUInt32[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdUInt32(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt32(*v))) n92, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n92 } } } if len(m.NonnullUInt32) > 0 { for k := range m.NonnullUInt32 { dAtA[i] = 0x82 i++ dAtA[i] = 0x1 i++ v := m.NonnullUInt32[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdUInt32(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt32(*(&v)))) n93, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n93 } } if len(m.NullableBool) > 0 { for k := range m.NullableBool { dAtA[i] = 0x8a i++ dAtA[i] = 0x1 i++ v := m.NullableBool[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdBool(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBool(*v))) n94, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n94 } } } if len(m.NonnullBool) > 0 { for k := range m.NonnullBool { dAtA[i] = 0x92 i++ dAtA[i] = 0x1 i++ v := m.NonnullBool[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdBool(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBool(*(&v)))) n95, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n95 } } if len(m.NullableString) > 0 { for k := range m.NullableString { dAtA[i] = 0x9a i++ dAtA[i] = 0x1 i++ v := m.NullableString[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdString(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdString(*v))) n96, err := github_com_gogo_protobuf_types.StdStringMarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n96 } } } if len(m.NonnullString) > 0 { for k := range m.NonnullString { dAtA[i] = 0xa2 i++ dAtA[i] = 0x1 i++ v := m.NonnullString[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdString(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdString(*(&v)))) n97, err := github_com_gogo_protobuf_types.StdStringMarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n97 } } if len(m.NullableBytes) > 0 { for k := range m.NullableBytes { dAtA[i] = 0xaa i++ dAtA[i] = 0x1 i++ v := m.NullableBytes[k] msgSize := 0 if v != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdBytes(*v) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBytes(*v))) n98, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(*v, dAtA[i:]) if err != nil { return 0, err } i += n98 } } } if len(m.NonnullBytes) > 0 { for k := range m.NonnullBytes { dAtA[i] = 0xb2 i++ dAtA[i] = 0x1 i++ v := m.NonnullBytes[k] msgSize := 0 if (&v) != nil { msgSize = github_com_gogo_protobuf_types.SizeOfStdBytes(*(&v)) msgSize += 1 + sovTypes(uint64(msgSize)) } mapSize := 1 + sovTypes(uint64(k)) + msgSize i = encodeVarintTypes(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintTypes(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBytes(*(&v)))) n99, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(*(&v), dAtA[i:]) if err != nil { return 0, err } i += n99 } } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *OneofProtoTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *OneofProtoTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.OneOfProtoTimes != nil { nn100, err := m.OneOfProtoTimes.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += nn100 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *OneofProtoTypes_Timestamp) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.Timestamp != nil { dAtA[i] = 0xa i++ i = encodeVarintTypes(dAtA, i, uint64(m.Timestamp.Size())) n101, err := m.Timestamp.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n101 } return i, nil } func (m *OneofProtoTypes_Duration) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.Duration != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(m.Duration.Size())) n102, err := m.Duration.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n102 } return i, nil } func (m *OneofProtoTypes_RepDouble) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepDouble != nil { dAtA[i] = 0x1a i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepDouble.Size())) n103, err := m.RepDouble.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n103 } return i, nil } func (m *OneofProtoTypes_RepFloat) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepFloat != nil { dAtA[i] = 0x22 i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepFloat.Size())) n104, err := m.RepFloat.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n104 } return i, nil } func (m *OneofProtoTypes_RepInt64) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepInt64 != nil { dAtA[i] = 0x2a i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepInt64.Size())) n105, err := m.RepInt64.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n105 } return i, nil } func (m *OneofProtoTypes_RepUInt64) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepUInt64 != nil { dAtA[i] = 0x32 i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepUInt64.Size())) n106, err := m.RepUInt64.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n106 } return i, nil } func (m *OneofProtoTypes_RepInt32) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepInt32 != nil { dAtA[i] = 0x3a i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepInt32.Size())) n107, err := m.RepInt32.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n107 } return i, nil } func (m *OneofProtoTypes_RepUInt32) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepUInt32 != nil { dAtA[i] = 0x42 i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepUInt32.Size())) n108, err := m.RepUInt32.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n108 } return i, nil } func (m *OneofProtoTypes_RepBool) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepBool != nil { dAtA[i] = 0x4a i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepBool.Size())) n109, err := m.RepBool.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n109 } return i, nil } func (m *OneofProtoTypes_RepString) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepString != nil { dAtA[i] = 0x52 i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepString.Size())) n110, err := m.RepString.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n110 } return i, nil } func (m *OneofProtoTypes_RepBytes) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepBytes != nil { dAtA[i] = 0x5a i++ i = encodeVarintTypes(dAtA, i, uint64(m.RepBytes.Size())) n111, err := m.RepBytes.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n111 } return i, nil } func (m *OneofStdTypes) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *OneofStdTypes) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.OneOfStdTimes != nil { nn112, err := m.OneOfStdTimes.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += nn112 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *OneofStdTypes_Timestamp) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.Timestamp != nil { dAtA[i] = 0xa i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(*m.Timestamp))) n113, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Timestamp, dAtA[i:]) if err != nil { return 0, err } i += n113 } return i, nil } func (m *OneofStdTypes_Duration) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.Duration != nil { dAtA[i] = 0x12 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(*m.Duration))) n114, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.Duration, dAtA[i:]) if err != nil { return 0, err } i += n114 } return i, nil } func (m *OneofStdTypes_RepDouble) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepDouble != nil { dAtA[i] = 0x1a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDouble(*m.RepDouble))) n115, err := github_com_gogo_protobuf_types.StdDoubleMarshalTo(*m.RepDouble, dAtA[i:]) if err != nil { return 0, err } i += n115 } return i, nil } func (m *OneofStdTypes_RepFloat) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepFloat != nil { dAtA[i] = 0x22 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdFloat(*m.RepFloat))) n116, err := github_com_gogo_protobuf_types.StdFloatMarshalTo(*m.RepFloat, dAtA[i:]) if err != nil { return 0, err } i += n116 } return i, nil } func (m *OneofStdTypes_RepInt64) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepInt64 != nil { dAtA[i] = 0x2a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt64(*m.RepInt64))) n117, err := github_com_gogo_protobuf_types.StdInt64MarshalTo(*m.RepInt64, dAtA[i:]) if err != nil { return 0, err } i += n117 } return i, nil } func (m *OneofStdTypes_RepUInt64) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepUInt64 != nil { dAtA[i] = 0x32 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.RepUInt64))) n118, err := github_com_gogo_protobuf_types.StdUInt64MarshalTo(*m.RepUInt64, dAtA[i:]) if err != nil { return 0, err } i += n118 } return i, nil } func (m *OneofStdTypes_RepInt32) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepInt32 != nil { dAtA[i] = 0x3a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdInt32(*m.RepInt32))) n119, err := github_com_gogo_protobuf_types.StdInt32MarshalTo(*m.RepInt32, dAtA[i:]) if err != nil { return 0, err } i += n119 } return i, nil } func (m *OneofStdTypes_RepUInt32) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepUInt32 != nil { dAtA[i] = 0x42 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.RepUInt32))) n120, err := github_com_gogo_protobuf_types.StdUInt32MarshalTo(*m.RepUInt32, dAtA[i:]) if err != nil { return 0, err } i += n120 } return i, nil } func (m *OneofStdTypes_RepBool) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepBool != nil { dAtA[i] = 0x4a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBool(*m.RepBool))) n121, err := github_com_gogo_protobuf_types.StdBoolMarshalTo(*m.RepBool, dAtA[i:]) if err != nil { return 0, err } i += n121 } return i, nil } func (m *OneofStdTypes_RepString) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepString != nil { dAtA[i] = 0x52 i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdString(*m.RepString))) n122, err := github_com_gogo_protobuf_types.StdStringMarshalTo(*m.RepString, dAtA[i:]) if err != nil { return 0, err } i += n122 } return i, nil } func (m *OneofStdTypes_RepBytes) MarshalTo(dAtA []byte) (int, error) { i := 0 if m.RepBytes != nil { dAtA[i] = 0x5a i++ i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdBytes(*m.RepBytes))) n123, err := github_com_gogo_protobuf_types.StdBytesMarshalTo(*m.RepBytes, dAtA[i:]) if err != nil { return 0, err } i += n123 } return i, nil } func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } dAtA[offset] = uint8(v) return offset + 1 } func NewPopulatedKnownTypes(r randyTypes, easy bool) *KnownTypes { this := &KnownTypes{} if r.Intn(10) != 0 { this.Dur = types.NewPopulatedDuration(r, easy) } if r.Intn(10) != 0 { this.Ts = types.NewPopulatedTimestamp(r, easy) } if r.Intn(10) != 0 { this.Dbl = types.NewPopulatedDoubleValue(r, easy) } if r.Intn(10) != 0 { this.Flt = types.NewPopulatedFloatValue(r, easy) } if r.Intn(10) != 0 { this.I64 = types.NewPopulatedInt64Value(r, easy) } if r.Intn(10) != 0 { this.U64 = types.NewPopulatedUInt64Value(r, easy) } if r.Intn(10) != 0 { this.I32 = types.NewPopulatedInt32Value(r, easy) } if r.Intn(10) != 0 { this.U32 = types.NewPopulatedUInt32Value(r, easy) } if r.Intn(10) != 0 { this.Bool = types.NewPopulatedBoolValue(r, easy) } if r.Intn(10) != 0 { this.Str = types.NewPopulatedStringValue(r, easy) } if r.Intn(10) != 0 { this.Bytes = types.NewPopulatedBytesValue(r, easy) } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 12) } return this } func NewPopulatedProtoTypes(r randyTypes, easy bool) *ProtoTypes { this := &ProtoTypes{} if r.Intn(10) != 0 { this.NullableTimestamp = types.NewPopulatedTimestamp(r, easy) } if r.Intn(10) != 0 { this.NullableDuration = types.NewPopulatedDuration(r, easy) } if r.Intn(10) != 0 { this.NullableDouble = types.NewPopulatedDoubleValue(r, easy) } if r.Intn(10) != 0 { this.NullableFloat = types.NewPopulatedFloatValue(r, easy) } if r.Intn(10) != 0 { this.NullableInt64 = types.NewPopulatedInt64Value(r, easy) } if r.Intn(10) != 0 { this.NullableUInt64 = types.NewPopulatedUInt64Value(r, easy) } if r.Intn(10) != 0 { this.NullableInt32 = types.NewPopulatedInt32Value(r, easy) } if r.Intn(10) != 0 { this.NullableUInt32 = types.NewPopulatedUInt32Value(r, easy) } if r.Intn(10) != 0 { this.NullableBool = types.NewPopulatedBoolValue(r, easy) } if r.Intn(10) != 0 { this.NullableString = types.NewPopulatedStringValue(r, easy) } if r.Intn(10) != 0 { this.NullableBytes = types.NewPopulatedBytesValue(r, easy) } v1 := types.NewPopulatedTimestamp(r, easy) this.Timestamp = *v1 v2 := types.NewPopulatedDuration(r, easy) this.Duration = *v2 v3 := types.NewPopulatedDoubleValue(r, easy) this.NonnullDouble = *v3 v4 := types.NewPopulatedFloatValue(r, easy) this.NonnullFloat = *v4 v5 := types.NewPopulatedInt64Value(r, easy) this.NonnullInt64 = *v5 v6 := types.NewPopulatedUInt64Value(r, easy) this.NonnullUInt64 = *v6 v7 := types.NewPopulatedInt32Value(r, easy) this.NonnullInt32 = *v7 v8 := types.NewPopulatedUInt32Value(r, easy) this.NonnullUInt32 = *v8 v9 := types.NewPopulatedBoolValue(r, easy) this.NonnullBool = *v9 v10 := types.NewPopulatedStringValue(r, easy) this.NonnullString = *v10 v11 := types.NewPopulatedBytesValue(r, easy) this.NonnullBytes = *v11 if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 23) } return this } func NewPopulatedStdTypes(r randyTypes, easy bool) *StdTypes { this := &StdTypes{} if r.Intn(10) != 0 { this.NullableTimestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) } if r.Intn(10) != 0 { this.NullableDuration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) } if r.Intn(10) != 0 { this.NullableDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) } if r.Intn(10) != 0 { this.NullableFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) } if r.Intn(10) != 0 { this.NullableInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) } if r.Intn(10) != 0 { this.NullableUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) } if r.Intn(10) != 0 { this.NullableInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) } if r.Intn(10) != 0 { this.NullableUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) } if r.Intn(10) != 0 { this.NullableBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) } if r.Intn(10) != 0 { this.NullableString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) } if r.Intn(10) != 0 { this.NullableBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) } v12 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) this.Timestamp = *v12 v13 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) this.Duration = *v13 v14 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) this.NonnullDouble = *v14 v15 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) this.NonnullFloat = *v15 v16 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) this.NonnullInt64 = *v16 v17 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) this.NonnullUInt64 = *v17 v18 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) this.NonnullInt32 = *v18 v19 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) this.NonnullUInt32 = *v19 v20 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) this.NonnullBool = *v20 v21 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) this.NonnullString = *v21 v22 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) this.NonnullBytes = *v22 if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 23) } return this } func NewPopulatedRepProtoTypes(r randyTypes, easy bool) *RepProtoTypes { this := &RepProtoTypes{} if r.Intn(10) != 0 { v23 := r.Intn(5) this.NullableTimestamps = make([]*types.Timestamp, v23) for i := 0; i < v23; i++ { this.NullableTimestamps[i] = types.NewPopulatedTimestamp(r, easy) } } if r.Intn(10) != 0 { v24 := r.Intn(5) this.NullableDurations = make([]*types.Duration, v24) for i := 0; i < v24; i++ { this.NullableDurations[i] = types.NewPopulatedDuration(r, easy) } } if r.Intn(10) != 0 { v25 := r.Intn(5) this.Timestamps = make([]types.Timestamp, v25) for i := 0; i < v25; i++ { v26 := types.NewPopulatedTimestamp(r, easy) this.Timestamps[i] = *v26 } } if r.Intn(10) != 0 { v27 := r.Intn(5) this.Durations = make([]types.Duration, v27) for i := 0; i < v27; i++ { v28 := types.NewPopulatedDuration(r, easy) this.Durations[i] = *v28 } } if r.Intn(10) != 0 { v29 := r.Intn(5) this.NullableDouble = make([]*types.DoubleValue, v29) for i := 0; i < v29; i++ { this.NullableDouble[i] = types.NewPopulatedDoubleValue(r, easy) } } if r.Intn(10) != 0 { v30 := r.Intn(5) this.NonnullDouble = make([]types.DoubleValue, v30) for i := 0; i < v30; i++ { v31 := types.NewPopulatedDoubleValue(r, easy) this.NonnullDouble[i] = *v31 } } if r.Intn(10) != 0 { v32 := r.Intn(5) this.NullableFloat = make([]*types.FloatValue, v32) for i := 0; i < v32; i++ { this.NullableFloat[i] = types.NewPopulatedFloatValue(r, easy) } } if r.Intn(10) != 0 { v33 := r.Intn(5) this.NonnullFloat = make([]types.FloatValue, v33) for i := 0; i < v33; i++ { v34 := types.NewPopulatedFloatValue(r, easy) this.NonnullFloat[i] = *v34 } } if r.Intn(10) != 0 { v35 := r.Intn(5) this.NullableInt64 = make([]*types.Int64Value, v35) for i := 0; i < v35; i++ { this.NullableInt64[i] = types.NewPopulatedInt64Value(r, easy) } } if r.Intn(10) != 0 { v36 := r.Intn(5) this.NonnullInt64 = make([]types.Int64Value, v36) for i := 0; i < v36; i++ { v37 := types.NewPopulatedInt64Value(r, easy) this.NonnullInt64[i] = *v37 } } if r.Intn(10) != 0 { v38 := r.Intn(5) this.NullableUInt64 = make([]*types.UInt64Value, v38) for i := 0; i < v38; i++ { this.NullableUInt64[i] = types.NewPopulatedUInt64Value(r, easy) } } if r.Intn(10) != 0 { v39 := r.Intn(5) this.NonnullUInt64 = make([]types.UInt64Value, v39) for i := 0; i < v39; i++ { v40 := types.NewPopulatedUInt64Value(r, easy) this.NonnullUInt64[i] = *v40 } } if r.Intn(10) != 0 { v41 := r.Intn(5) this.NullableInt32 = make([]*types.Int32Value, v41) for i := 0; i < v41; i++ { this.NullableInt32[i] = types.NewPopulatedInt32Value(r, easy) } } if r.Intn(10) != 0 { v42 := r.Intn(5) this.NonnullInt32 = make([]types.Int32Value, v42) for i := 0; i < v42; i++ { v43 := types.NewPopulatedInt32Value(r, easy) this.NonnullInt32[i] = *v43 } } if r.Intn(10) != 0 { v44 := r.Intn(5) this.NullableUInt32 = make([]*types.UInt32Value, v44) for i := 0; i < v44; i++ { this.NullableUInt32[i] = types.NewPopulatedUInt32Value(r, easy) } } if r.Intn(10) != 0 { v45 := r.Intn(5) this.NonnullUInt32 = make([]types.UInt32Value, v45) for i := 0; i < v45; i++ { v46 := types.NewPopulatedUInt32Value(r, easy) this.NonnullUInt32[i] = *v46 } } if r.Intn(10) != 0 { v47 := r.Intn(5) this.NullableBool = make([]*types.BoolValue, v47) for i := 0; i < v47; i++ { this.NullableBool[i] = types.NewPopulatedBoolValue(r, easy) } } if r.Intn(10) != 0 { v48 := r.Intn(5) this.NonnullBool = make([]types.BoolValue, v48) for i := 0; i < v48; i++ { v49 := types.NewPopulatedBoolValue(r, easy) this.NonnullBool[i] = *v49 } } if r.Intn(10) != 0 { v50 := r.Intn(5) this.NullableString = make([]*types.StringValue, v50) for i := 0; i < v50; i++ { this.NullableString[i] = types.NewPopulatedStringValue(r, easy) } } if r.Intn(10) != 0 { v51 := r.Intn(5) this.NonnullString = make([]types.StringValue, v51) for i := 0; i < v51; i++ { v52 := types.NewPopulatedStringValue(r, easy) this.NonnullString[i] = *v52 } } if r.Intn(10) != 0 { v53 := r.Intn(5) this.NullableBytes = make([]*types.BytesValue, v53) for i := 0; i < v53; i++ { this.NullableBytes[i] = types.NewPopulatedBytesValue(r, easy) } } if r.Intn(10) != 0 { v54 := r.Intn(5) this.NonnullBytes = make([]types.BytesValue, v54) for i := 0; i < v54; i++ { v55 := types.NewPopulatedBytesValue(r, easy) this.NonnullBytes[i] = *v55 } } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 23) } return this } func NewPopulatedRepStdTypes(r randyTypes, easy bool) *RepStdTypes { this := &RepStdTypes{} if r.Intn(10) != 0 { v56 := r.Intn(5) this.NullableTimestamps = make([]*time.Time, v56) for i := 0; i < v56; i++ { this.NullableTimestamps[i] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) } } if r.Intn(10) != 0 { v57 := r.Intn(5) this.NullableDurations = make([]*time.Duration, v57) for i := 0; i < v57; i++ { this.NullableDurations[i] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) } } if r.Intn(10) != 0 { v58 := r.Intn(5) this.Timestamps = make([]time.Time, v58) for i := 0; i < v58; i++ { v59 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) this.Timestamps[i] = *v59 } } if r.Intn(10) != 0 { v60 := r.Intn(5) this.Durations = make([]time.Duration, v60) for i := 0; i < v60; i++ { v61 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) this.Durations[i] = *v61 } } if r.Intn(10) != 0 { v62 := r.Intn(5) this.NullableDouble = make([]*float64, v62) for i := 0; i < v62; i++ { this.NullableDouble[i] = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) } } if r.Intn(10) != 0 { v63 := r.Intn(5) this.NonnullDouble = make([]float64, v63) for i := 0; i < v63; i++ { v64 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) this.NonnullDouble[i] = *v64 } } if r.Intn(10) != 0 { v65 := r.Intn(5) this.NullableFloat = make([]*float32, v65) for i := 0; i < v65; i++ { this.NullableFloat[i] = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) } } if r.Intn(10) != 0 { v66 := r.Intn(5) this.NonnullFloat = make([]float32, v66) for i := 0; i < v66; i++ { v67 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) this.NonnullFloat[i] = *v67 } } if r.Intn(10) != 0 { v68 := r.Intn(5) this.NullableInt64 = make([]*int64, v68) for i := 0; i < v68; i++ { this.NullableInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) } } if r.Intn(10) != 0 { v69 := r.Intn(5) this.NonnullInt64 = make([]int64, v69) for i := 0; i < v69; i++ { v70 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) this.NonnullInt64[i] = *v70 } } if r.Intn(10) != 0 { v71 := r.Intn(5) this.NullableUInt64 = make([]*uint64, v71) for i := 0; i < v71; i++ { this.NullableUInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) } } if r.Intn(10) != 0 { v72 := r.Intn(5) this.NonnullUInt64 = make([]uint64, v72) for i := 0; i < v72; i++ { v73 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) this.NonnullUInt64[i] = *v73 } } if r.Intn(10) != 0 { v74 := r.Intn(5) this.NullableInt32 = make([]*int32, v74) for i := 0; i < v74; i++ { this.NullableInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) } } if r.Intn(10) != 0 { v75 := r.Intn(5) this.NonnullInt32 = make([]int32, v75) for i := 0; i < v75; i++ { v76 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) this.NonnullInt32[i] = *v76 } } if r.Intn(10) != 0 { v77 := r.Intn(5) this.NullableUInt32 = make([]*uint32, v77) for i := 0; i < v77; i++ { this.NullableUInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) } } if r.Intn(10) != 0 { v78 := r.Intn(5) this.NonnullUInt32 = make([]uint32, v78) for i := 0; i < v78; i++ { v79 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) this.NonnullUInt32[i] = *v79 } } if r.Intn(10) != 0 { v80 := r.Intn(5) this.NullableBool = make([]*bool, v80) for i := 0; i < v80; i++ { this.NullableBool[i] = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) } } if r.Intn(10) != 0 { v81 := r.Intn(5) this.NonnullBool = make([]bool, v81) for i := 0; i < v81; i++ { v82 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) this.NonnullBool[i] = *v82 } } if r.Intn(10) != 0 { v83 := r.Intn(5) this.NullableString = make([]*string, v83) for i := 0; i < v83; i++ { this.NullableString[i] = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) } } if r.Intn(10) != 0 { v84 := r.Intn(5) this.NonnullString = make([]string, v84) for i := 0; i < v84; i++ { v85 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) this.NonnullString[i] = *v85 } } if r.Intn(10) != 0 { v86 := r.Intn(5) this.NullableBytes = make([]*[]byte, v86) for i := 0; i < v86; i++ { this.NullableBytes[i] = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) } } if r.Intn(10) != 0 { v87 := r.Intn(5) this.NonnullBytes = make([][]byte, v87) for i := 0; i < v87; i++ { v88 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) this.NonnullBytes[i] = *v88 } } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 23) } return this } func NewPopulatedMapProtoTypes(r randyTypes, easy bool) *MapProtoTypes { this := &MapProtoTypes{} if r.Intn(10) != 0 { v89 := r.Intn(10) this.NullableTimestamp = make(map[int32]*types.Timestamp) for i := 0; i < v89; i++ { this.NullableTimestamp[int32(r.Int31())] = types.NewPopulatedTimestamp(r, easy) } } if r.Intn(10) != 0 { v90 := r.Intn(10) this.Timestamp = make(map[int32]types.Timestamp) for i := 0; i < v90; i++ { this.Timestamp[int32(r.Int31())] = *types.NewPopulatedTimestamp(r, easy) } } if r.Intn(10) != 0 { v91 := r.Intn(10) this.NullableDuration = make(map[int32]*types.Duration) for i := 0; i < v91; i++ { this.NullableDuration[int32(r.Int31())] = types.NewPopulatedDuration(r, easy) } } if r.Intn(10) != 0 { v92 := r.Intn(10) this.Duration = make(map[int32]types.Duration) for i := 0; i < v92; i++ { this.Duration[int32(r.Int31())] = *types.NewPopulatedDuration(r, easy) } } if r.Intn(10) != 0 { v93 := r.Intn(10) this.NullableDouble = make(map[int32]*types.DoubleValue) for i := 0; i < v93; i++ { this.NullableDouble[int32(r.Int31())] = types.NewPopulatedDoubleValue(r, easy) } } if r.Intn(10) != 0 { v94 := r.Intn(10) this.NonnullDouble = make(map[int32]types.DoubleValue) for i := 0; i < v94; i++ { this.NonnullDouble[int32(r.Int31())] = *types.NewPopulatedDoubleValue(r, easy) } } if r.Intn(10) != 0 { v95 := r.Intn(10) this.NullableFloat = make(map[int32]*types.FloatValue) for i := 0; i < v95; i++ { this.NullableFloat[int32(r.Int31())] = types.NewPopulatedFloatValue(r, easy) } } if r.Intn(10) != 0 { v96 := r.Intn(10) this.NonnullFloat = make(map[int32]types.FloatValue) for i := 0; i < v96; i++ { this.NonnullFloat[int32(r.Int31())] = *types.NewPopulatedFloatValue(r, easy) } } if r.Intn(10) != 0 { v97 := r.Intn(10) this.NullableInt64 = make(map[int32]*types.Int64Value) for i := 0; i < v97; i++ { this.NullableInt64[int32(r.Int31())] = types.NewPopulatedInt64Value(r, easy) } } if r.Intn(10) != 0 { v98 := r.Intn(10) this.NonnullInt64 = make(map[int32]types.Int64Value) for i := 0; i < v98; i++ { this.NonnullInt64[int32(r.Int31())] = *types.NewPopulatedInt64Value(r, easy) } } if r.Intn(10) != 0 { v99 := r.Intn(10) this.NullableUInt64 = make(map[int32]*types.UInt64Value) for i := 0; i < v99; i++ { this.NullableUInt64[int32(r.Int31())] = types.NewPopulatedUInt64Value(r, easy) } } if r.Intn(10) != 0 { v100 := r.Intn(10) this.NonnullUInt64 = make(map[int32]types.UInt64Value) for i := 0; i < v100; i++ { this.NonnullUInt64[int32(r.Int31())] = *types.NewPopulatedUInt64Value(r, easy) } } if r.Intn(10) != 0 { v101 := r.Intn(10) this.NullableInt32 = make(map[int32]*types.Int32Value) for i := 0; i < v101; i++ { this.NullableInt32[int32(r.Int31())] = types.NewPopulatedInt32Value(r, easy) } } if r.Intn(10) != 0 { v102 := r.Intn(10) this.NonnullInt32 = make(map[int32]types.Int32Value) for i := 0; i < v102; i++ { this.NonnullInt32[int32(r.Int31())] = *types.NewPopulatedInt32Value(r, easy) } } if r.Intn(10) != 0 { v103 := r.Intn(10) this.NullableUInt32 = make(map[int32]*types.UInt32Value) for i := 0; i < v103; i++ { this.NullableUInt32[int32(r.Int31())] = types.NewPopulatedUInt32Value(r, easy) } } if r.Intn(10) != 0 { v104 := r.Intn(10) this.NonnullUInt32 = make(map[int32]types.UInt32Value) for i := 0; i < v104; i++ { this.NonnullUInt32[int32(r.Int31())] = *types.NewPopulatedUInt32Value(r, easy) } } if r.Intn(10) != 0 { v105 := r.Intn(10) this.NullableBool = make(map[int32]*types.BoolValue) for i := 0; i < v105; i++ { this.NullableBool[int32(r.Int31())] = types.NewPopulatedBoolValue(r, easy) } } if r.Intn(10) != 0 { v106 := r.Intn(10) this.NonnullBool = make(map[int32]types.BoolValue) for i := 0; i < v106; i++ { this.NonnullBool[int32(r.Int31())] = *types.NewPopulatedBoolValue(r, easy) } } if r.Intn(10) != 0 { v107 := r.Intn(10) this.NullableString = make(map[int32]*types.StringValue) for i := 0; i < v107; i++ { this.NullableString[int32(r.Int31())] = types.NewPopulatedStringValue(r, easy) } } if r.Intn(10) != 0 { v108 := r.Intn(10) this.NonnullString = make(map[int32]types.StringValue) for i := 0; i < v108; i++ { this.NonnullString[int32(r.Int31())] = *types.NewPopulatedStringValue(r, easy) } } if r.Intn(10) != 0 { v109 := r.Intn(10) this.NullableBytes = make(map[int32]*types.BytesValue) for i := 0; i < v109; i++ { this.NullableBytes[int32(r.Int31())] = types.NewPopulatedBytesValue(r, easy) } } if r.Intn(10) != 0 { v110 := r.Intn(10) this.NonnullBytes = make(map[int32]types.BytesValue) for i := 0; i < v110; i++ { this.NonnullBytes[int32(r.Int31())] = *types.NewPopulatedBytesValue(r, easy) } } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 23) } return this } func NewPopulatedMapStdTypes(r randyTypes, easy bool) *MapStdTypes { this := &MapStdTypes{} if r.Intn(10) != 0 { v111 := r.Intn(10) this.NullableTimestamp = make(map[int32]*time.Time) for i := 0; i < v111; i++ { this.NullableTimestamp[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) } } if r.Intn(10) != 0 { v112 := r.Intn(10) this.Timestamp = make(map[int32]time.Time) for i := 0; i < v112; i++ { this.Timestamp[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) } } if r.Intn(10) != 0 { v113 := r.Intn(10) this.NullableDuration = make(map[int32]*time.Duration) for i := 0; i < v113; i++ { this.NullableDuration[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) } } if r.Intn(10) != 0 { v114 := r.Intn(10) this.Duration = make(map[int32]time.Duration) for i := 0; i < v114; i++ { this.Duration[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) } } if r.Intn(10) != 0 { v115 := r.Intn(10) this.NullableDouble = make(map[int32]*float64) for i := 0; i < v115; i++ { this.NullableDouble[int32(r.Int31())] = (*float64)(github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) } } if r.Intn(10) != 0 { v116 := r.Intn(10) this.NonnullDouble = make(map[int32]float64) for i := 0; i < v116; i++ { this.NonnullDouble[int32(r.Int31())] = (float64)(*github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) } } if r.Intn(10) != 0 { v117 := r.Intn(10) this.NullableFloat = make(map[int32]*float32) for i := 0; i < v117; i++ { this.NullableFloat[int32(r.Int31())] = (*float32)(github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) } } if r.Intn(10) != 0 { v118 := r.Intn(10) this.NonnullFloat = make(map[int32]float32) for i := 0; i < v118; i++ { this.NonnullFloat[int32(r.Int31())] = (float32)(*github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) } } if r.Intn(10) != 0 { v119 := r.Intn(10) this.NullableInt64 = make(map[int32]*int64) for i := 0; i < v119; i++ { this.NullableInt64[int32(r.Int31())] = (*int64)(github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) } } if r.Intn(10) != 0 { v120 := r.Intn(10) this.NonnullInt64 = make(map[int32]int64) for i := 0; i < v120; i++ { this.NonnullInt64[int32(r.Int31())] = (int64)(*github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) } } if r.Intn(10) != 0 { v121 := r.Intn(10) this.NullableUInt64 = make(map[int32]*uint64) for i := 0; i < v121; i++ { this.NullableUInt64[int32(r.Int31())] = (*uint64)(github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) } } if r.Intn(10) != 0 { v122 := r.Intn(10) this.NonnullUInt64 = make(map[int32]uint64) for i := 0; i < v122; i++ { this.NonnullUInt64[int32(r.Int31())] = (uint64)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) } } if r.Intn(10) != 0 { v123 := r.Intn(10) this.NullableInt32 = make(map[int32]*int32) for i := 0; i < v123; i++ { this.NullableInt32[int32(r.Int31())] = (*int32)(github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) } } if r.Intn(10) != 0 { v124 := r.Intn(10) this.NonnullInt32 = make(map[int32]int32) for i := 0; i < v124; i++ { this.NonnullInt32[int32(r.Int31())] = (int32)(*github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) } } if r.Intn(10) != 0 { v125 := r.Intn(10) this.NullableUInt32 = make(map[int32]*uint32) for i := 0; i < v125; i++ { this.NullableUInt32[int32(r.Int31())] = (*uint32)(github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) } } if r.Intn(10) != 0 { v126 := r.Intn(10) this.NonnullUInt32 = make(map[int32]uint32) for i := 0; i < v126; i++ { this.NonnullUInt32[int32(r.Int31())] = (uint32)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) } } if r.Intn(10) != 0 { v127 := r.Intn(10) this.NullableBool = make(map[int32]*bool) for i := 0; i < v127; i++ { this.NullableBool[int32(r.Int31())] = (*bool)(github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) } } if r.Intn(10) != 0 { v128 := r.Intn(10) this.NonnullBool = make(map[int32]bool) for i := 0; i < v128; i++ { this.NonnullBool[int32(r.Int31())] = (bool)(*github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) } } if r.Intn(10) != 0 { v129 := r.Intn(10) this.NullableString = make(map[int32]*string) for i := 0; i < v129; i++ { this.NullableString[int32(r.Int31())] = (*string)(github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) } } if r.Intn(10) != 0 { v130 := r.Intn(10) this.NonnullString = make(map[int32]string) for i := 0; i < v130; i++ { this.NonnullString[int32(r.Int31())] = (string)(*github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) } } if r.Intn(10) != 0 { v131 := r.Intn(10) this.NullableBytes = make(map[int32]*[]byte) for i := 0; i < v131; i++ { this.NullableBytes[int32(r.Int31())] = (*[]byte)(github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) } } if r.Intn(10) != 0 { v132 := r.Intn(10) this.NonnullBytes = make(map[int32][]byte) for i := 0; i < v132; i++ { this.NonnullBytes[int32(r.Int31())] = ([]byte)(*github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) } } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 23) } return this } func NewPopulatedOneofProtoTypes(r randyTypes, easy bool) *OneofProtoTypes { this := &OneofProtoTypes{} oneofNumber_OneOfProtoTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] switch oneofNumber_OneOfProtoTimes { case 1: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Timestamp(r, easy) case 2: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Duration(r, easy) case 3: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepDouble(r, easy) case 4: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepFloat(r, easy) case 5: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt64(r, easy) case 6: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt64(r, easy) case 7: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt32(r, easy) case 8: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt32(r, easy) case 9: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBool(r, easy) case 10: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepString(r, easy) case 11: this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBytes(r, easy) } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 12) } return this } func NewPopulatedOneofProtoTypes_Timestamp(r randyTypes, easy bool) *OneofProtoTypes_Timestamp { this := &OneofProtoTypes_Timestamp{} this.Timestamp = types.NewPopulatedTimestamp(r, easy) return this } func NewPopulatedOneofProtoTypes_Duration(r randyTypes, easy bool) *OneofProtoTypes_Duration { this := &OneofProtoTypes_Duration{} this.Duration = types.NewPopulatedDuration(r, easy) return this } func NewPopulatedOneofProtoTypes_RepDouble(r randyTypes, easy bool) *OneofProtoTypes_RepDouble { this := &OneofProtoTypes_RepDouble{} this.RepDouble = types.NewPopulatedDoubleValue(r, easy) return this } func NewPopulatedOneofProtoTypes_RepFloat(r randyTypes, easy bool) *OneofProtoTypes_RepFloat { this := &OneofProtoTypes_RepFloat{} this.RepFloat = types.NewPopulatedFloatValue(r, easy) return this } func NewPopulatedOneofProtoTypes_RepInt64(r randyTypes, easy bool) *OneofProtoTypes_RepInt64 { this := &OneofProtoTypes_RepInt64{} this.RepInt64 = types.NewPopulatedInt64Value(r, easy) return this } func NewPopulatedOneofProtoTypes_RepUInt64(r randyTypes, easy bool) *OneofProtoTypes_RepUInt64 { this := &OneofProtoTypes_RepUInt64{} this.RepUInt64 = types.NewPopulatedUInt64Value(r, easy) return this } func NewPopulatedOneofProtoTypes_RepInt32(r randyTypes, easy bool) *OneofProtoTypes_RepInt32 { this := &OneofProtoTypes_RepInt32{} this.RepInt32 = types.NewPopulatedInt32Value(r, easy) return this } func NewPopulatedOneofProtoTypes_RepUInt32(r randyTypes, easy bool) *OneofProtoTypes_RepUInt32 { this := &OneofProtoTypes_RepUInt32{} this.RepUInt32 = types.NewPopulatedUInt32Value(r, easy) return this } func NewPopulatedOneofProtoTypes_RepBool(r randyTypes, easy bool) *OneofProtoTypes_RepBool { this := &OneofProtoTypes_RepBool{} this.RepBool = types.NewPopulatedBoolValue(r, easy) return this } func NewPopulatedOneofProtoTypes_RepString(r randyTypes, easy bool) *OneofProtoTypes_RepString { this := &OneofProtoTypes_RepString{} this.RepString = types.NewPopulatedStringValue(r, easy) return this } func NewPopulatedOneofProtoTypes_RepBytes(r randyTypes, easy bool) *OneofProtoTypes_RepBytes { this := &OneofProtoTypes_RepBytes{} this.RepBytes = types.NewPopulatedBytesValue(r, easy) return this } func NewPopulatedOneofStdTypes(r randyTypes, easy bool) *OneofStdTypes { this := &OneofStdTypes{} oneofNumber_OneOfStdTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] switch oneofNumber_OneOfStdTimes { case 1: this.OneOfStdTimes = NewPopulatedOneofStdTypes_Timestamp(r, easy) case 2: this.OneOfStdTimes = NewPopulatedOneofStdTypes_Duration(r, easy) case 3: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepDouble(r, easy) case 4: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepFloat(r, easy) case 5: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt64(r, easy) case 6: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt64(r, easy) case 7: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt32(r, easy) case 8: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt32(r, easy) case 9: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBool(r, easy) case 10: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepString(r, easy) case 11: this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBytes(r, easy) } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedTypes(r, 12) } return this } func NewPopulatedOneofStdTypes_Timestamp(r randyTypes, easy bool) *OneofStdTypes_Timestamp { this := &OneofStdTypes_Timestamp{} this.Timestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) return this } func NewPopulatedOneofStdTypes_Duration(r randyTypes, easy bool) *OneofStdTypes_Duration { this := &OneofStdTypes_Duration{} this.Duration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) return this } func NewPopulatedOneofStdTypes_RepDouble(r randyTypes, easy bool) *OneofStdTypes_RepDouble { this := &OneofStdTypes_RepDouble{} this.RepDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) return this } func NewPopulatedOneofStdTypes_RepFloat(r randyTypes, easy bool) *OneofStdTypes_RepFloat { this := &OneofStdTypes_RepFloat{} this.RepFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) return this } func NewPopulatedOneofStdTypes_RepInt64(r randyTypes, easy bool) *OneofStdTypes_RepInt64 { this := &OneofStdTypes_RepInt64{} this.RepInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) return this } func NewPopulatedOneofStdTypes_RepUInt64(r randyTypes, easy bool) *OneofStdTypes_RepUInt64 { this := &OneofStdTypes_RepUInt64{} this.RepUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) return this } func NewPopulatedOneofStdTypes_RepInt32(r randyTypes, easy bool) *OneofStdTypes_RepInt32 { this := &OneofStdTypes_RepInt32{} this.RepInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) return this } func NewPopulatedOneofStdTypes_RepUInt32(r randyTypes, easy bool) *OneofStdTypes_RepUInt32 { this := &OneofStdTypes_RepUInt32{} this.RepUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) return this } func NewPopulatedOneofStdTypes_RepBool(r randyTypes, easy bool) *OneofStdTypes_RepBool { this := &OneofStdTypes_RepBool{} this.RepBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) return this } func NewPopulatedOneofStdTypes_RepString(r randyTypes, easy bool) *OneofStdTypes_RepString { this := &OneofStdTypes_RepString{} this.RepString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) return this } func NewPopulatedOneofStdTypes_RepBytes(r randyTypes, easy bool) *OneofStdTypes_RepBytes { this := &OneofStdTypes_RepBytes{} this.RepBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) return this } type randyTypes interface { Float32() float32 Float64() float64 Int63() int64 Int31() int32 Uint32() uint32 Intn(n int) int } func randUTF8RuneTypes(r randyTypes) rune { ru := r.Intn(62) if ru < 10 { return rune(ru + 48) } else if ru < 36 { return rune(ru + 55) } return rune(ru + 61) } func randStringTypes(r randyTypes) string { v133 := r.Intn(100) tmps := make([]rune, v133) for i := 0; i < v133; i++ { tmps[i] = randUTF8RuneTypes(r) } return string(tmps) } func randUnrecognizedTypes(r randyTypes, maxFieldNumber int) (dAtA []byte) { l := r.Intn(5) for i := 0; i < l; i++ { wire := r.Intn(4) if wire == 3 { wire = 5 } fieldNumber := maxFieldNumber + r.Intn(100) dAtA = randFieldTypes(dAtA, r, fieldNumber, wire) } return dAtA } func randFieldTypes(dAtA []byte, r randyTypes, fieldNumber int, wire int) []byte { key := uint32(fieldNumber)<<3 | uint32(wire) switch wire { case 0: dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) v134 := r.Int63() if r.Intn(2) == 0 { v134 *= -1 } dAtA = encodeVarintPopulateTypes(dAtA, uint64(v134)) case 1: dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 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))) case 2: dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) ll := r.Intn(100) dAtA = encodeVarintPopulateTypes(dAtA, uint64(ll)) for j := 0; j < ll; j++ { dAtA = append(dAtA, byte(r.Intn(256))) } default: dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) } return dAtA } func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte { for v >= 1<<7 { dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) v >>= 7 } dAtA = append(dAtA, uint8(v)) return dAtA } func (m *KnownTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.Dur != nil { l = m.Dur.Size() n += 1 + l + sovTypes(uint64(l)) } if m.Ts != nil { l = m.Ts.Size() n += 1 + l + sovTypes(uint64(l)) } if m.Dbl != nil { l = m.Dbl.Size() n += 1 + l + sovTypes(uint64(l)) } if m.Flt != nil { l = m.Flt.Size() n += 1 + l + sovTypes(uint64(l)) } if m.I64 != nil { l = m.I64.Size() n += 1 + l + sovTypes(uint64(l)) } if m.U64 != nil { l = m.U64.Size() n += 1 + l + sovTypes(uint64(l)) } if m.I32 != nil { l = m.I32.Size() n += 1 + l + sovTypes(uint64(l)) } if m.U32 != nil { l = m.U32.Size() n += 1 + l + sovTypes(uint64(l)) } if m.Bool != nil { l = m.Bool.Size() n += 1 + l + sovTypes(uint64(l)) } if m.Str != nil { l = m.Str.Size() n += 1 + l + sovTypes(uint64(l)) } if m.Bytes != nil { l = m.Bytes.Size() n += 1 + l + sovTypes(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *ProtoTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.NullableTimestamp != nil { l = m.NullableTimestamp.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableDuration != nil { l = m.NullableDuration.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableDouble != nil { l = m.NullableDouble.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableFloat != nil { l = m.NullableFloat.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableInt64 != nil { l = m.NullableInt64.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableUInt64 != nil { l = m.NullableUInt64.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableInt32 != nil { l = m.NullableInt32.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableUInt32 != nil { l = m.NullableUInt32.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableBool != nil { l = m.NullableBool.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableString != nil { l = m.NullableString.Size() n += 1 + l + sovTypes(uint64(l)) } if m.NullableBytes != nil { l = m.NullableBytes.Size() n += 1 + l + sovTypes(uint64(l)) } l = m.Timestamp.Size() n += 1 + l + sovTypes(uint64(l)) l = m.Duration.Size() n += 1 + l + sovTypes(uint64(l)) l = m.NonnullDouble.Size() n += 1 + l + sovTypes(uint64(l)) l = m.NonnullFloat.Size() n += 1 + l + sovTypes(uint64(l)) l = m.NonnullInt64.Size() n += 2 + l + sovTypes(uint64(l)) l = m.NonnullUInt64.Size() n += 2 + l + sovTypes(uint64(l)) l = m.NonnullInt32.Size() n += 2 + l + sovTypes(uint64(l)) l = m.NonnullUInt32.Size() n += 2 + l + sovTypes(uint64(l)) l = m.NonnullBool.Size() n += 2 + l + sovTypes(uint64(l)) l = m.NonnullString.Size() n += 2 + l + sovTypes(uint64(l)) l = m.NonnullBytes.Size() n += 2 + l + sovTypes(uint64(l)) if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *StdTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.NullableTimestamp != nil { l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamp) n += 1 + l + sovTypes(uint64(l)) } if m.NullableDuration != nil { l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDuration) n += 1 + l + sovTypes(uint64(l)) } if m.NullableDouble != nil { l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble) n += 1 + l + sovTypes(uint64(l)) } if m.NullableFloat != nil { l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat) n += 1 + l + sovTypes(uint64(l)) } if m.NullableInt64 != nil { l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64) n += 1 + l + sovTypes(uint64(l)) } if m.NullableUInt64 != nil { l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64) n += 1 + l + sovTypes(uint64(l)) } if m.NullableInt32 != nil { l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32) n += 1 + l + sovTypes(uint64(l)) } if m.NullableUInt32 != nil { l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32) n += 1 + l + sovTypes(uint64(l)) } if m.NullableBool != nil { l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool) n += 1 + l + sovTypes(uint64(l)) } if m.NullableString != nil { l = github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString) n += 1 + l + sovTypes(uint64(l)) } if m.NullableBytes != nil { l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes) n += 1 + l + sovTypes(uint64(l)) } l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp) n += 1 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Duration) n += 1 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble) n += 1 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat) n += 1 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64) n += 2 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64) n += 2 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32) n += 2 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32) n += 2 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool) n += 2 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString) n += 2 + l + sovTypes(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes) n += 2 + l + sovTypes(uint64(l)) if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *RepProtoTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.NullableTimestamps) > 0 { for _, e := range m.NullableTimestamps { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableDurations) > 0 { for _, e := range m.NullableDurations { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.Timestamps) > 0 { for _, e := range m.Timestamps { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.Durations) > 0 { for _, e := range m.Durations { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableDouble) > 0 { for _, e := range m.NullableDouble { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullDouble) > 0 { for _, e := range m.NonnullDouble { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableFloat) > 0 { for _, e := range m.NullableFloat { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullFloat) > 0 { for _, e := range m.NonnullFloat { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableInt64) > 0 { for _, e := range m.NullableInt64 { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullInt64) > 0 { for _, e := range m.NonnullInt64 { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableUInt64) > 0 { for _, e := range m.NullableUInt64 { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullUInt64) > 0 { for _, e := range m.NonnullUInt64 { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableInt32) > 0 { for _, e := range m.NullableInt32 { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullInt32) > 0 { for _, e := range m.NonnullInt32 { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableUInt32) > 0 { for _, e := range m.NullableUInt32 { l = e.Size() n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullUInt32) > 0 { for _, e := range m.NonnullUInt32 { l = e.Size() n += 2 + l + sovTypes(uint64(l)) } } if len(m.NullableBool) > 0 { for _, e := range m.NullableBool { l = e.Size() n += 2 + l + sovTypes(uint64(l)) } } if len(m.NonnullBool) > 0 { for _, e := range m.NonnullBool { l = e.Size() n += 2 + l + sovTypes(uint64(l)) } } if len(m.NullableString) > 0 { for _, e := range m.NullableString { l = e.Size() n += 2 + l + sovTypes(uint64(l)) } } if len(m.NonnullString) > 0 { for _, e := range m.NonnullString { l = e.Size() n += 2 + l + sovTypes(uint64(l)) } } if len(m.NullableBytes) > 0 { for _, e := range m.NullableBytes { l = e.Size() n += 2 + l + sovTypes(uint64(l)) } } if len(m.NonnullBytes) > 0 { for _, e := range m.NonnullBytes { l = e.Size() n += 2 + l + sovTypes(uint64(l)) } } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *RepStdTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.NullableTimestamps) > 0 { for _, e := range m.NullableTimestamps { l = github_com_gogo_protobuf_types.SizeOfStdTime(*e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableDurations) > 0 { for _, e := range m.NullableDurations { l = github_com_gogo_protobuf_types.SizeOfStdDuration(*e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.Timestamps) > 0 { for _, e := range m.Timestamps { l = github_com_gogo_protobuf_types.SizeOfStdTime(e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.Durations) > 0 { for _, e := range m.Durations { l = github_com_gogo_protobuf_types.SizeOfStdDuration(e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableDouble) > 0 { for _, e := range m.NullableDouble { l = github_com_gogo_protobuf_types.SizeOfStdDouble(*e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullDouble) > 0 { for _, e := range m.NonnullDouble { l = github_com_gogo_protobuf_types.SizeOfStdDouble(e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableFloat) > 0 { for _, e := range m.NullableFloat { l = github_com_gogo_protobuf_types.SizeOfStdFloat(*e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullFloat) > 0 { for _, e := range m.NonnullFloat { l = github_com_gogo_protobuf_types.SizeOfStdFloat(e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableInt64) > 0 { for _, e := range m.NullableInt64 { l = github_com_gogo_protobuf_types.SizeOfStdInt64(*e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullInt64) > 0 { for _, e := range m.NonnullInt64 { l = github_com_gogo_protobuf_types.SizeOfStdInt64(e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableUInt64) > 0 { for _, e := range m.NullableUInt64 { l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullUInt64) > 0 { for _, e := range m.NonnullUInt64 { l = github_com_gogo_protobuf_types.SizeOfStdUInt64(e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableInt32) > 0 { for _, e := range m.NullableInt32 { l = github_com_gogo_protobuf_types.SizeOfStdInt32(*e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullInt32) > 0 { for _, e := range m.NonnullInt32 { l = github_com_gogo_protobuf_types.SizeOfStdInt32(e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NullableUInt32) > 0 { for _, e := range m.NullableUInt32 { l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*e) n += 1 + l + sovTypes(uint64(l)) } } if len(m.NonnullUInt32) > 0 { for _, e := range m.NonnullUInt32 { l = github_com_gogo_protobuf_types.SizeOfStdUInt32(e) n += 2 + l + sovTypes(uint64(l)) } } if len(m.NullableBool) > 0 { for _, e := range m.NullableBool { l = github_com_gogo_protobuf_types.SizeOfStdBool(*e) n += 2 + l + sovTypes(uint64(l)) } } if len(m.NonnullBool) > 0 { for _, e := range m.NonnullBool { l = github_com_gogo_protobuf_types.SizeOfStdBool(e) n += 2 + l + sovTypes(uint64(l)) } } if len(m.NullableString) > 0 { for _, e := range m.NullableString { l = github_com_gogo_protobuf_types.SizeOfStdString(*e) n += 2 + l + sovTypes(uint64(l)) } } if len(m.NonnullString) > 0 { for _, e := range m.NonnullString { l = github_com_gogo_protobuf_types.SizeOfStdString(e) n += 2 + l + sovTypes(uint64(l)) } } if len(m.NullableBytes) > 0 { for _, e := range m.NullableBytes { l = github_com_gogo_protobuf_types.SizeOfStdBytes(*e) n += 2 + l + sovTypes(uint64(l)) } } if len(m.NonnullBytes) > 0 { for _, e := range m.NonnullBytes { l = github_com_gogo_protobuf_types.SizeOfStdBytes(e) n += 2 + l + sovTypes(uint64(l)) } } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *MapProtoTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.NullableTimestamp) > 0 { for k, v := range m.NullableTimestamp { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.Timestamp) > 0 { for k, v := range m.Timestamp { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableDuration) > 0 { for k, v := range m.NullableDuration { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.Duration) > 0 { for k, v := range m.Duration { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableDouble) > 0 { for k, v := range m.NullableDouble { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullDouble) > 0 { for k, v := range m.NonnullDouble { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableFloat) > 0 { for k, v := range m.NullableFloat { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullFloat) > 0 { for k, v := range m.NonnullFloat { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableInt64) > 0 { for k, v := range m.NullableInt64 { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullInt64) > 0 { for k, v := range m.NonnullInt64 { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableUInt64) > 0 { for k, v := range m.NullableUInt64 { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullUInt64) > 0 { for k, v := range m.NonnullUInt64 { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableInt32) > 0 { for k, v := range m.NullableInt32 { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullInt32) > 0 { for k, v := range m.NonnullInt32 { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableUInt32) > 0 { for k, v := range m.NullableUInt32 { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullUInt32) > 0 { for k, v := range m.NonnullUInt32 { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableBool) > 0 { for k, v := range m.NullableBool { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullBool) > 0 { for k, v := range m.NonnullBool { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableString) > 0 { for k, v := range m.NullableString { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullString) > 0 { for k, v := range m.NonnullString { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableBytes) > 0 { for k, v := range m.NullableBytes { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullBytes) > 0 { for k, v := range m.NonnullBytes { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *MapStdTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if len(m.NullableTimestamp) > 0 { for k, v := range m.NullableTimestamp { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdTime(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.Timestamp) > 0 { for k, v := range m.Timestamp { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdTime(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableDuration) > 0 { for k, v := range m.NullableDuration { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdDuration(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.Duration) > 0 { for k, v := range m.Duration { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdDuration(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableDouble) > 0 { for k, v := range m.NullableDouble { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdDouble(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullDouble) > 0 { for k, v := range m.NonnullDouble { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdDouble(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableFloat) > 0 { for k, v := range m.NullableFloat { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdFloat(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullFloat) > 0 { for k, v := range m.NonnullFloat { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdFloat(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableInt64) > 0 { for k, v := range m.NullableInt64 { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdInt64(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullInt64) > 0 { for k, v := range m.NonnullInt64 { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdInt64(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableUInt64) > 0 { for k, v := range m.NullableUInt64 { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullUInt64) > 0 { for k, v := range m.NonnullUInt64 { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdUInt64(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableInt32) > 0 { for k, v := range m.NullableInt32 { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdInt32(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullInt32) > 0 { for k, v := range m.NonnullInt32 { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdInt32(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableUInt32) > 0 { for k, v := range m.NullableUInt32 { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullUInt32) > 0 { for k, v := range m.NonnullUInt32 { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdUInt32(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableBool) > 0 { for k, v := range m.NullableBool { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdBool(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullBool) > 0 { for k, v := range m.NonnullBool { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdBool(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableString) > 0 { for k, v := range m.NullableString { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdString(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullString) > 0 { for k, v := range m.NonnullString { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdString(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NullableBytes) > 0 { for k, v := range m.NullableBytes { _ = k _ = v l = 0 if v != nil { l = github_com_gogo_protobuf_types.SizeOfStdBytes(*v) l += 1 + sovTypes(uint64(l)) } mapEntrySize := 1 + sovTypes(uint64(k)) + l n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if len(m.NonnullBytes) > 0 { for k, v := range m.NonnullBytes { _ = k _ = v l = github_com_gogo_protobuf_types.SizeOfStdBytes(v) mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) } } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *OneofProtoTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.OneOfProtoTimes != nil { n += m.OneOfProtoTimes.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *OneofProtoTypes_Timestamp) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.Timestamp != nil { l = m.Timestamp.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_Duration) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.Duration != nil { l = m.Duration.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepDouble) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepDouble != nil { l = m.RepDouble.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepFloat) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepFloat != nil { l = m.RepFloat.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepInt64) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepInt64 != nil { l = m.RepInt64.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepUInt64) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepUInt64 != nil { l = m.RepUInt64.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepInt32) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepInt32 != nil { l = m.RepInt32.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepUInt32) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepUInt32 != nil { l = m.RepUInt32.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepBool) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepBool != nil { l = m.RepBool.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepString) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepString != nil { l = m.RepString.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofProtoTypes_RepBytes) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepBytes != nil { l = m.RepBytes.Size() n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.OneOfStdTimes != nil { n += m.OneOfStdTimes.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *OneofStdTypes_Timestamp) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.Timestamp != nil { l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Timestamp) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_Duration) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.Duration != nil { l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.Duration) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepDouble) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepDouble != nil { l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.RepDouble) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepFloat) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepFloat != nil { l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.RepFloat) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepInt64) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepInt64 != nil { l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.RepInt64) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepUInt64) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepUInt64 != nil { l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.RepUInt64) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepInt32) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepInt32 != nil { l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.RepInt32) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepUInt32) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepUInt32 != nil { l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.RepUInt32) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepBool) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepBool != nil { l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.RepBool) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepString) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepString != nil { l = github_com_gogo_protobuf_types.SizeOfStdString(*m.RepString) n += 1 + l + sovTypes(uint64(l)) } return n } func (m *OneofStdTypes_RepBytes) Size() (n int) { if m == nil { return 0 } var l int _ = l if m.RepBytes != nil { l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.RepBytes) n += 1 + l + sovTypes(uint64(l)) } return n } func sovTypes(x uint64) (n int) { for { n++ x >>= 7 if x == 0 { break } } return n } func sozTypes(x uint64) (n int) { return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func init() { proto.RegisterFile("combos/marshaler/types.proto", fileDescriptor_types_84a5c6bb8f2642e0) } var fileDescriptor_types_84a5c6bb8f2642e0 = []byte{ // 2299 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcf, 0x73, 0x1c, 0x47, 0x19, 0xd5, 0x7a, 0x57, 0xb6, 0xd4, 0x92, 0x6c, 0x69, 0x1c, 0xa7, 0x06, 0x91, 0x5a, 0x1b, 0x25, 0x76, 0x4c, 0x52, 0x91, 0xc8, 0x8c, 0x4a, 0x80, 0x21, 0x51, 0x32, 0x65, 0x7b, 0xb5, 0x1b, 0xc9, 0x5e, 0xaf, 0xb4, 0x2e, 0x08, 0x04, 0xd8, 0x8d, 0xc6, 0x8a, 0x8a, 0xd5, 0xce, 0xd6, 0xee, 0x2c, 0x29, 0xdd, 0xf8, 0x03, 0x38, 0x70, 0x83, 0x2a, 0x2e, 0x70, 0xe3, 0xca, 0x81, 0x2a, 0x8e, 0x1c, 0x73, 0xe4, 0x2f, 0x80, 0x44, 0x5c, 0xb8, 0x02, 0x17, 0x5f, 0xa8, 0xa2, 0xa6, 0xbb, 0x67, 0xa6, 0x7f, 0x7c, 0xdd, 0x3d, 0x3d, 0x25, 0xdd, 0x74, 0x93, 0x76, 0xbf, 0x7e, 0xf3, 0xe6, 0x9b, 0x37, 0x7a, 0xfd, 0xbe, 0xd1, 0xa0, 0xd7, 0x3e, 0x8d, 0x4e, 0xfa, 0xd1, 0x64, 0xe3, 0xa4, 0x37, 0x9e, 0x7c, 0xd6, 0x1b, 0x84, 0xe3, 0x8d, 0xf8, 0x74, 0x14, 0x4e, 0xd6, 0x47, 0xe3, 0x28, 0x8e, 0x9c, 0x59, 0xfc, 0xcb, 0xea, 0x3b, 0x47, 0xc7, 0xf1, 0x67, 0xd3, 0xfe, 0xfa, 0xa7, 0xd1, 0xc9, 0xc6, 0x51, 0x74, 0x14, 0x6d, 0xe0, 0x6f, 0xfb, 0xd3, 0x17, 0xf8, 0x37, 0xfc, 0x0b, 0xfe, 0x89, 0xac, 0x5a, 0xad, 0x1f, 0x45, 0xd1, 0xd1, 0x20, 0xcc, 0xab, 0x0e, 0xa7, 0xe3, 0x5e, 0x7c, 0x1c, 0x0d, 0xe9, 0xf7, 0xb7, 0xc5, 0xef, 0xe3, 0xe3, 0x93, 0x70, 0x12, 0xf7, 0x4e, 0x46, 0x2a, 0x80, 0xcf, 0xc7, 0xbd, 0xd1, 0x28, 0x1c, 0x53, 0x5a, 0x6b, 0xbf, 0xab, 0x21, 0xf4, 0xd1, 0x30, 0xfa, 0x7c, 0x78, 0x90, 0xd0, 0x73, 0xde, 0x46, 0xd5, 0xc3, 0xe9, 0xd8, 0xad, 0xdc, 0xa9, 0xdc, 0x5f, 0xf0, 0xbe, 0xb6, 0x4e, 0x16, 0xaf, 0xa7, 0x8b, 0xd7, 0x1f, 0xd2, 0xa3, 0x77, 0x92, 0x2a, 0xe7, 0x2d, 0x74, 0x25, 0x9e, 0xb8, 0x57, 0x70, 0xed, 0xaa, 0x54, 0x7b, 0x90, 0x32, 0xe9, 0x5c, 0x89, 0x27, 0xce, 0x3a, 0xaa, 0x1e, 0xf6, 0x07, 0x6e, 0x15, 0x17, 0xbf, 0x26, 0x03, 0x47, 0xd3, 0xfe, 0x20, 0x7c, 0xde, 0x1b, 0x4c, 0xc3, 0x4e, 0x52, 0xe8, 0xbc, 0x83, 0xaa, 0x2f, 0x06, 0xb1, 0x5b, 0xc3, 0xf5, 0x5f, 0x97, 0xea, 0x1f, 0x0f, 0xa2, 0x5e, 0x4c, 0xcb, 0x5f, 0x0c, 0xe2, 0xa4, 0xfc, 0x78, 0x6b, 0xd3, 0x9d, 0x55, 0x94, 0x37, 0x87, 0xf1, 0xd6, 0x26, 0x2d, 0x3f, 0xde, 0xda, 0x4c, 0xd8, 0x4c, 0xb7, 0x36, 0xdd, 0xab, 0x0a, 0x36, 0x5d, 0xb6, 0x7e, 0xba, 0xb5, 0x89, 0xe1, 0x7d, 0xcf, 0xbd, 0xa6, 0x86, 0xf7, 0xbd, 0x14, 0xde, 0xf7, 0x30, 0xbc, 0xef, 0xb9, 0x73, 0x1a, 0xf8, 0xac, 0x7e, 0x8a, 0xeb, 0x6b, 0xfd, 0x28, 0x1a, 0xb8, 0xf3, 0x8a, 0x56, 0x06, 0x51, 0x34, 0x20, 0xe5, 0xb8, 0x2e, 0xc1, 0x9f, 0xc4, 0x63, 0x17, 0x29, 0xf0, 0xf7, 0xe3, 0xf1, 0xf1, 0xf0, 0x88, 0xe2, 0x4f, 0xe2, 0xb1, 0xf3, 0x2e, 0x9a, 0xed, 0x9f, 0xc6, 0xe1, 0xc4, 0x5d, 0x50, 0x9c, 0x40, 0x90, 0x7c, 0x4b, 0x16, 0x90, 0xca, 0x07, 0xb5, 0x7f, 0xfd, 0xe1, 0x76, 0x65, 0xed, 0x57, 0x8b, 0x08, 0xb5, 0x93, 0x22, 0xa2, 0x8e, 0x1d, 0xb4, 0x32, 0x9c, 0x0e, 0x06, 0xbd, 0xfe, 0x20, 0xcc, 0xae, 0x2e, 0xd5, 0x8a, 0xee, 0xfa, 0xcb, 0x8b, 0x9c, 0x47, 0x68, 0x39, 0xfd, 0x30, 0xd5, 0x14, 0x15, 0x92, 0x46, 0x74, 0xd2, 0x12, 0xe7, 0x21, 0xba, 0x9e, 0x7d, 0x86, 0x15, 0x54, 0x48, 0x60, 0xc2, 0x1a, 0xe7, 0x43, 0xb4, 0x94, 0x7e, 0x82, 0x75, 0x55, 0x44, 0x75, 0xfc, 0x0a, 0x16, 0x02, 0x6b, 0xa7, 0x88, 0x12, 0xf9, 0x15, 0xec, 0xb9, 0x10, 0xfd, 0x15, 0x92, 0xa7, 0xb0, 0x46, 0x20, 0x52, 0x4c, 0xb3, 0xfc, 0x0a, 0x91, 0x48, 0x41, 0x21, 0x0b, 0x6b, 0x9c, 0xf7, 0xd1, 0x62, 0xfa, 0x49, 0x50, 0x4c, 0xdb, 0x5c, 0x3d, 0xcb, 0x82, 0xe8, 0xb9, 0x90, 0xdc, 0x85, 0x35, 0x6c, 0x3b, 0x82, 0xa2, 0x77, 0x00, 0xbf, 0xc2, 0x79, 0x1f, 0xcd, 0x67, 0x7f, 0x54, 0xdd, 0x45, 0x93, 0xd8, 0x83, 0xda, 0x17, 0x7f, 0xbf, 0x3d, 0xd3, 0xc9, 0x97, 0x38, 0xdf, 0x43, 0x73, 0xe9, 0x1f, 0x6d, 0x77, 0xc9, 0x20, 0x71, 0xba, 0x3a, 0x5b, 0xe0, 0xec, 0xa0, 0xa5, 0x61, 0x34, 0x4c, 0x08, 0x51, 0x7d, 0x5f, 0x37, 0xeb, 0x9b, 0x82, 0xf0, 0x0b, 0x9d, 0x47, 0x68, 0x91, 0x7e, 0x40, 0x34, 0x7e, 0xc3, 0xa8, 0x71, 0x8a, 0xc3, 0x2d, 0x63, 0x60, 0x88, 0x46, 0x97, 0x8d, 0x3a, 0x17, 0x60, 0x88, 0x4c, 0xf3, 0xf3, 0xa2, 0x5a, 0x5f, 0x31, 0x6b, 0x5d, 0x38, 0x2f, 0x2a, 0x78, 0x8e, 0x90, 0xef, 0xb9, 0x8e, 0x51, 0xef, 0x32, 0x21, 0xdf, 0x13, 0x08, 0xf9, 0x9e, 0x7b, 0xd3, 0xac, 0x79, 0x80, 0x90, 0xef, 0x39, 0x01, 0x5a, 0xa0, 0x1f, 0x60, 0xdd, 0xbf, 0x62, 0xd2, 0x3d, 0x45, 0x61, 0x17, 0x31, 0x6c, 0xa8, 0xf6, 0x6f, 0x99, 0xb5, 0x2f, 0xb0, 0xa1, 0x37, 0x40, 0xde, 0x1e, 0xa2, 0xff, 0x57, 0x8d, 0xfa, 0x17, 0xda, 0x13, 0x30, 0x76, 0xf0, 0x9f, 0x45, 0x34, 0xb7, 0x1f, 0x1f, 0x12, 0x33, 0x78, 0x52, 0xca, 0x0c, 0x82, 0xda, 0xaf, 0xff, 0x71, 0xbb, 0x02, 0x59, 0xc2, 0x47, 0x25, 0x2c, 0x21, 0xa8, 0xfd, 0x36, 0x41, 0x93, 0x8d, 0xa1, 0x55, 0xc6, 0x18, 0x82, 0xda, 0xef, 0x13, 0x34, 0xd1, 0x1e, 0x1a, 0xf6, 0xf6, 0x40, 0x91, 0x04, 0x93, 0x68, 0xd8, 0x9b, 0x84, 0x08, 0x44, 0x34, 0xdf, 0x2a, 0x63, 0x15, 0xe2, 0xd9, 0xd1, 0xfb, 0xa7, 0x61, 0x6f, 0x18, 0x00, 0x29, 0xdf, 0x13, 0x49, 0x15, 0xb3, 0x0d, 0x88, 0x14, 0xb6, 0x20, 0x4b, 0xf3, 0xa0, 0x38, 0xbc, 0x85, 0xb4, 0xca, 0x58, 0x88, 0xc8, 0x88, 0xde, 0x47, 0x0d, 0x7b, 0x23, 0x11, 0xdb, 0x44, 0xec, 0x24, 0xb0, 0xb3, 0x93, 0xb9, 0xe4, 0x66, 0xc4, 0xb7, 0x0c, 0x63, 0x29, 0xdb, 0x36, 0x96, 0x82, 0x11, 0xf0, 0x6d, 0x92, 0xdb, 0xca, 0x6e, 0x19, 0x5b, 0xc1, 0x40, 0xf4, 0x94, 0x38, 0x6b, 0x69, 0xda, 0x5b, 0x4b, 0x8e, 0xc5, 0xdb, 0x4b, 0xd3, 0xde, 0x5e, 0x64, 0x28, 0x22, 0xec, 0xdd, 0x32, 0x16, 0x23, 0x9f, 0x23, 0xbd, 0x4d, 0x9a, 0xf6, 0x36, 0x03, 0x12, 0xf3, 0x3d, 0x81, 0x58, 0x41, 0xab, 0x81, 0x89, 0xf9, 0x9e, 0xf3, 0xd8, 0xd6, 0x6e, 0x72, 0x24, 0xce, 0x72, 0x76, 0xcb, 0x58, 0x8e, 0xcc, 0x8a, 0xde, 0x2e, 0x4d, 0x7b, 0xdb, 0x91, 0xdb, 0x85, 0xbf, 0x5c, 0xfb, 0xcd, 0x22, 0x5a, 0xea, 0x84, 0x23, 0x26, 0x86, 0xb4, 0x90, 0x23, 0xd9, 0xc7, 0xc4, 0xad, 0xdc, 0xa9, 0x1a, 0x72, 0x08, 0xb0, 0xca, 0x69, 0xe4, 0x2e, 0x96, 0xde, 0x31, 0x49, 0xa4, 0xad, 0xea, 0x93, 0x88, 0xbc, 0xc6, 0xf9, 0x00, 0xa1, 0x38, 0x27, 0x53, 0x35, 0x91, 0xa1, 0x2e, 0xcb, 0xac, 0x71, 0xde, 0x43, 0xf3, 0x87, 0x19, 0x85, 0x9a, 0x81, 0x42, 0xba, 0xcf, 0xcc, 0x56, 0x00, 0x59, 0x68, 0x16, 0x63, 0xd8, 0x65, 0x21, 0x69, 0xc3, 0x79, 0xd5, 0x0c, 0x02, 0x6f, 0x38, 0xa5, 0x54, 0x75, 0x0d, 0x23, 0xd9, 0xa4, 0x2a, 0x71, 0xcf, 0x3a, 0x67, 0x44, 0x00, 0xf7, 0xac, 0x52, 0x38, 0x9b, 0x57, 0xe0, 0xa8, 0xc3, 0x99, 0xb8, 0xed, 0x45, 0x46, 0x04, 0x70, 0xdb, 0x2b, 0x67, 0xbc, 0x05, 0x45, 0x7b, 0x75, 0x19, 0x4f, 0xda, 0x3c, 0x2f, 0x9a, 0x41, 0xe0, 0xcd, 0xb3, 0x94, 0x16, 0x97, 0xd4, 0xe7, 0xa5, 0x48, 0x8b, 0xe2, 0xfe, 0xfb, 0xba, 0x11, 0x01, 0xdc, 0x7f, 0xcb, 0xa1, 0xf3, 0x86, 0xe6, 0xa4, 0x54, 0xa1, 0x53, 0xda, 0xc5, 0x2f, 0x9b, 0x41, 0xe0, 0x5d, 0xbc, 0x18, 0x5f, 0x57, 0x14, 0x37, 0xb4, 0x2a, 0xbe, 0x0a, 0x29, 0xc0, 0x31, 0x2d, 0x87, 0x52, 0x80, 0x1c, 0x81, 0x6f, 0x2a, 0x4e, 0x47, 0x17, 0x81, 0xa5, 0x2c, 0xf1, 0x8a, 0x19, 0x04, 0xce, 0x12, 0x52, 0x98, 0xbe, 0xa5, 0xb8, 0xd6, 0xea, 0x30, 0x2d, 0xc7, 0x91, 0x6a, 0xf9, 0x38, 0xf2, 0xbf, 0x45, 0xb4, 0xd0, 0x09, 0x47, 0x59, 0x22, 0x69, 0x97, 0xf3, 0x05, 0x1a, 0x49, 0x20, 0x77, 0xd8, 0x2b, 0xe3, 0x0e, 0x34, 0x94, 0x00, 0x1e, 0xf1, 0xd0, 0xd2, 0x23, 0xf2, 0xcd, 0x1f, 0xeb, 0x13, 0x1f, 0x5a, 0xf9, 0x44, 0xbe, 0xfd, 0x63, 0xbc, 0xa2, 0x55, 0xc6, 0x2b, 0x14, 0xf1, 0x68, 0xb7, 0x8c, 0x63, 0x28, 0xf7, 0x92, 0x0d, 0x7b, 0xd7, 0x80, 0xc3, 0x56, 0xd3, 0xde, 0x3b, 0x54, 0x9b, 0xd2, 0x86, 0xbd, 0x7f, 0xc0, 0xb9, 0xad, 0x69, 0xef, 0x22, 0xaa, 0xdd, 0x6d, 0xab, 0x8c, 0x93, 0x28, 0x22, 0xe0, 0x6e, 0x19, 0x3f, 0x51, 0xee, 0x94, 0x1b, 0xf6, 0x9e, 0x02, 0x07, 0xca, 0xa6, 0xbd, 0xb3, 0xa8, 0xb6, 0xdc, 0xad, 0x32, 0xee, 0xa2, 0xc8, 0xa6, 0xbb, 0x65, 0x3c, 0x46, 0xb9, 0x7d, 0x7f, 0x68, 0xeb, 0x33, 0x60, 0xd2, 0x7d, 0x6c, 0xeb, 0x36, 0x8a, 0x10, 0xd0, 0x2a, 0xe3, 0x38, 0x8a, 0xc4, 0xbc, 0x5b, 0xc6, 0x77, 0x94, 0x81, 0xa2, 0x61, 0xef, 0x3d, 0x70, 0xfe, 0x6e, 0xda, 0x3b, 0x90, 0x2a, 0x99, 0xfc, 0xa9, 0x8e, 0x96, 0xf6, 0x7a, 0x6c, 0x32, 0xf9, 0x21, 0x3c, 0x13, 0x4b, 0x8e, 0xf0, 0xf6, 0x3a, 0x79, 0x1a, 0xc8, 0x2d, 0x58, 0x7f, 0x22, 0x56, 0x3f, 0x1a, 0xc6, 0xe3, 0x53, 0x68, 0x3c, 0xd6, 0x60, 0xe7, 0x06, 0xc4, 0x82, 0x5e, 0x07, 0x21, 0x79, 0x28, 0x79, 0x1e, 0xfd, 0x1c, 0x98, 0xb3, 0x11, 0x2b, 0x7a, 0x4b, 0x4b, 0x31, 0x2d, 0x26, 0x0c, 0xa1, 0x67, 0x31, 0xf9, 0x50, 0x82, 0xb8, 0xd2, 0x1a, 0x88, 0xc7, 0xe1, 0x48, 0x03, 0xef, 0xb6, 0xc2, 0x99, 0xee, 0xeb, 0xb9, 0xe1, 0x52, 0xc2, 0x4c, 0xf4, 0xa7, 0x7d, 0xd8, 0x9f, 0xde, 0x84, 0x01, 0xd9, 0x4a, 0x96, 0xa1, 0x60, 0x53, 0x7b, 0xb0, 0x4d, 0xbd, 0xa9, 0x65, 0x89, 0x2b, 0x09, 0x49, 0xc1, 0xac, 0xda, 0xa0, 0x59, 0xdd, 0xd3, 0x51, 0xcc, 0xc1, 0xc0, 0xcc, 0xb3, 0x07, 0x7b, 0x96, 0x9e, 0x20, 0xae, 0x14, 0x08, 0x92, 0x3f, 0xea, 0x6d, 0xd0, 0xb9, 0xb4, 0x04, 0x73, 0x30, 0x30, 0x0a, 0xb5, 0x15, 0x06, 0xa6, 0xbf, 0xd0, 0x5d, 0x86, 0xa2, 0x68, 0x63, 0xfb, 0xb0, 0x8d, 0x69, 0x2f, 0x74, 0x57, 0x62, 0x29, 0xb8, 0xd9, 0x1e, 0xec, 0x66, 0xc6, 0x3e, 0xfa, 0x9e, 0xdc, 0x47, 0xdf, 0xe3, 0xfb, 0x98, 0x79, 0x9a, 0xa9, 0x8f, 0x14, 0x0c, 0x0c, 0x4e, 0x6d, 0x85, 0xb5, 0x99, 0xfb, 0x98, 0x52, 0x14, 0x0d, 0x6e, 0x1f, 0x36, 0x38, 0x63, 0x1f, 0x79, 0x96, 0x82, 0xcf, 0xb5, 0x40, 0x9f, 0xbb, 0xa7, 0x25, 0x99, 0x14, 0x12, 0x8a, 0xbc, 0xdb, 0xed, 0x41, 0x6e, 0x77, 0x57, 0x47, 0x2f, 0x43, 0x82, 0x62, 0x56, 0x5b, 0x61, 0x7a, 0xfa, 0x0e, 0x92, 0x52, 0xa1, 0x83, 0xd4, 0xac, 0xf6, 0x61, 0xeb, 0xd3, 0x76, 0x90, 0xc1, 0x83, 0xd3, 0xd7, 0x1e, 0xec, 0x80, 0x7a, 0x25, 0xe2, 0x4a, 0x41, 0x89, 0xc4, 0x07, 0xdb, 0xa0, 0x0f, 0x6a, 0x95, 0x98, 0x83, 0x41, 0xa1, 0x6c, 0xf5, 0x67, 0xe8, 0x55, 0xd8, 0xce, 0x9c, 0x65, 0x54, 0xfd, 0x79, 0x78, 0x8a, 0x1f, 0x0e, 0xcd, 0x76, 0x92, 0x1f, 0x9d, 0x6f, 0xa1, 0xd9, 0x5f, 0x24, 0xde, 0x5a, 0xe0, 0xbf, 0x47, 0x48, 0xe1, 0x83, 0x2b, 0xdf, 0xa9, 0xac, 0xfe, 0x00, 0x5d, 0xbf, 0x20, 0xe4, 0x9f, 0xa0, 0x5b, 0xa0, 0xcf, 0x01, 0x07, 0xd8, 0xe0, 0x0f, 0xa0, 0x99, 0x12, 0x32, 0xf8, 0xcf, 0xd1, 0xd2, 0x85, 0xe0, 0xfe, 0x14, 0xdd, 0x04, 0x3c, 0x10, 0x40, 0xf7, 0x78, 0x74, 0xfd, 0x50, 0x90, 0x6b, 0x8c, 0x23, 0x7b, 0xe2, 0x39, 0xe2, 0x7f, 0x82, 0x1c, 0xd9, 0x1e, 0x01, 0xfc, 0x77, 0x79, 0x7c, 0xed, 0x14, 0x91, 0x81, 0xff, 0x31, 0x5a, 0x91, 0xfc, 0xf2, 0xfc, 0xd0, 0x19, 0xf2, 0xb9, 0x8f, 0x94, 0x81, 0x67, 0x86, 0x7d, 0x20, 0xf9, 0x8b, 0x40, 0x67, 0xa4, 0xd3, 0xd5, 0xe2, 0x1b, 0x2f, 0x6d, 0x17, 0x3e, 0x40, 0x2e, 0x9d, 0x8b, 0xc1, 0xe7, 0xbb, 0x4f, 0xdd, 0xa7, 0x64, 0x7f, 0xd2, 0x81, 0xa2, 0xaa, 0xfb, 0xe7, 0x8e, 0x2e, 0x74, 0x5f, 0x8d, 0x5f, 0xa8, 0x3b, 0xc0, 0x01, 0xf8, 0xee, 0x9f, 0x3f, 0xfe, 0x8f, 0xd0, 0x8a, 0xe4, 0xd3, 0x65, 0xfe, 0x1c, 0xe7, 0x03, 0x54, 0x06, 0xfc, 0x63, 0xb4, 0x2c, 0x3a, 0xf7, 0xb9, 0x61, 0x33, 0x9d, 0x67, 0x3c, 0xb7, 0x4c, 0x67, 0xd8, 0xa9, 0x2b, 0xd8, 0xf9, 0x8b, 0xc1, 0x67, 0x74, 0x9f, 0x3b, 0x72, 0x19, 0x65, 0xb2, 0xff, 0xf5, 0x07, 0xe9, 0xfe, 0x02, 0xd0, 0xd7, 0xfe, 0x5d, 0x47, 0x0b, 0x7b, 0xbd, 0x7c, 0x66, 0xfb, 0x89, 0x3a, 0x31, 0x7f, 0x33, 0xdf, 0x8b, 0xa4, 0xe5, 0x8a, 0xbc, 0xac, 0xfe, 0xa7, 0x92, 0xa6, 0x9c, 0x9a, 0xbf, 0x01, 0xc0, 0x0a, 0x70, 0xe0, 0x43, 0xf7, 0x8f, 0x95, 0xb9, 0xf9, 0xbe, 0x86, 0xa8, 0x90, 0x76, 0x15, 0xff, 0xae, 0xf2, 0x58, 0xca, 0xce, 0x77, 0x00, 0x4c, 0x1e, 0x0b, 0x7a, 0xae, 0x7f, 0xa0, 0x48, 0xcf, 0xf7, 0x74, 0x0c, 0xd9, 0xac, 0x0b, 0x4e, 0x78, 0xbb, 0x70, 0x82, 0xbe, 0x0b, 0x81, 0xca, 0xf9, 0x59, 0x39, 0xea, 0x7d, 0x06, 0x67, 0xe8, 0xbb, 0x1a, 0xae, 0x6c, 0xe8, 0x85, 0x86, 0xbe, 0x1d, 0x30, 0x47, 0xbf, 0xa1, 0x26, 0xca, 0x00, 0xaa, 0xa6, 0xbf, 0xcf, 0xe0, 0x24, 0xad, 0xa3, 0xc9, 0x86, 0x4a, 0x68, 0x0e, 0xdc, 0x01, 0xd3, 0xb4, 0x86, 0x26, 0x03, 0xa8, 0x1a, 0x08, 0x1f, 0x28, 0xf2, 0xb4, 0xee, 0xd2, 0x77, 0x25, 0xa2, 0x62, 0xa6, 0xee, 0xc2, 0x99, 0x5a, 0x73, 0xe9, 0xbb, 0x20, 0x57, 0x21, 0x55, 0x3f, 0x83, 0x53, 0xb5, 0xa1, 0xa7, 0x59, 0xc0, 0x84, 0xa6, 0xc5, 0x1d, 0x30, 0x59, 0xeb, 0x7b, 0x9a, 0x02, 0xaa, 0xc6, 0xc6, 0x07, 0x8a, 0x6c, 0x6d, 0xea, 0x29, 0x4f, 0x54, 0xcc, 0xd7, 0x5d, 0x38, 0x5f, 0x1b, 0x7a, 0x2a, 0x73, 0x15, 0x12, 0xf6, 0x13, 0x30, 0x61, 0xbf, 0xa1, 0xa1, 0xca, 0xa4, 0x62, 0x60, 0xa6, 0xfc, 0x14, 0x4a, 0xd9, 0xaf, 0xab, 0x49, 0xe6, 0x68, 0x8a, 0xe1, 0xf2, 0x81, 0x22, 0x67, 0xeb, 0xba, 0xc9, 0xa5, 0x62, 0x70, 0xcc, 0xdc, 0x85, 0xb3, 0xb6, 0xa6, 0x9b, 0x2c, 0xa6, 0x72, 0xde, 0xfc, 0x0c, 0x4e, 0xdb, 0x3a, 0x85, 0xb2, 0xf1, 0x18, 0x9a, 0x3c, 0x77, 0xc0, 0xc4, 0xad, 0x51, 0x28, 0x03, 0xa8, 0x18, 0x41, 0x5f, 0x66, 0xee, 0xcb, 0xcc, 0x7d, 0x99, 0xb9, 0x2f, 0x33, 0xf7, 0x65, 0xe6, 0xbe, 0xcc, 0xdc, 0x97, 0x99, 0xfb, 0x32, 0x73, 0xc3, 0x99, 0xfb, 0xcf, 0xb3, 0xe8, 0xc6, 0xd3, 0x61, 0x18, 0xbd, 0x60, 0x9e, 0x54, 0x3f, 0x60, 0x83, 0xb1, 0xf1, 0xad, 0x8d, 0x1d, 0xee, 0x09, 0xf2, 0xb7, 0x99, 0xb4, 0x6a, 0x32, 0xce, 0x1d, 0xf6, 0xe1, 0xee, 0xf7, 0xd1, 0xfc, 0x38, 0x1c, 0x15, 0x7f, 0x21, 0x23, 0x39, 0x6c, 0xb6, 0xc0, 0xf9, 0x2e, 0x9a, 0x1b, 0x87, 0xa3, 0xa2, 0xaf, 0x60, 0x24, 0x07, 0x4e, 0xcb, 0xe9, 0xd2, 0xa2, 0x2f, 0x5d, 0xd0, 0xa5, 0x24, 0xaa, 0x10, 0xce, 0xc5, 0x5f, 0xb3, 0xa0, 0x9c, 0x69, 0xd0, 0xc9, 0x0e, 0x5c, 0xe8, 0xc5, 0x8a, 0xfc, 0xc0, 0xbe, 0xc7, 0x1c, 0xb8, 0xd8, 0xab, 0x14, 0xcc, 0x81, 0x7d, 0xcf, 0xd9, 0x42, 0xd7, 0xc6, 0xe1, 0xa8, 0xd8, 0xcb, 0x13, 0x3b, 0x33, 0x9d, 0xb4, 0x98, 0x1e, 0xb5, 0xf8, 0xeb, 0x12, 0xf4, 0xa8, 0x74, 0xd7, 0x4c, 0x4e, 0xb7, 0xe8, 0x0b, 0x12, 0xf4, 0x74, 0xf1, 0x07, 0xc1, 0x0a, 0xd6, 0xe8, 0x53, 0xaa, 0xd1, 0x44, 0x6b, 0x6b, 0xff, 0x9d, 0x45, 0x4b, 0x58, 0xb7, 0xd9, 0xb4, 0xe8, 0x03, 0x2b, 0xd5, 0x92, 0xb1, 0x10, 0xaf, 0xdd, 0xf7, 0x2c, 0xb4, 0x4b, 0xc6, 0x35, 0x9c, 0x82, 0x03, 0x4b, 0x05, 0x93, 0x24, 0xc0, 0xeb, 0x78, 0xdb, 0x4a, 0xc7, 0x19, 0x42, 0xae, 0xe6, 0x6d, 0x2b, 0x35, 0x73, 0x00, 0x44, 0x95, 0x81, 0xa5, 0xa6, 0xb9, 0xb3, 0xa0, 0xca, 0xde, 0xb6, 0x52, 0xb6, 0x48, 0x02, 0xbf, 0x27, 0x67, 0xa7, 0x6f, 0x89, 0x04, 0xbe, 0x47, 0x8a, 0xab, 0x3c, 0x5b, 0x9f, 0x69, 0x3d, 0xb0, 0xd4, 0x3a, 0xc7, 0x80, 0x2a, 0x7e, 0xdb, 0x4a, 0xf1, 0x5c, 0x1b, 0x88, 0xee, 0x6f, 0x60, 0x8d, 0x3f, 0xc5, 0x1a, 0x4f, 0x54, 0x1a, 0xdc, 0xff, 0xf2, 0xab, 0x7a, 0xe5, 0xe5, 0x57, 0xf5, 0xca, 0x1f, 0xcf, 0xea, 0x95, 0xbf, 0x9c, 0xd5, 0x2b, 0x7f, 0x3d, 0xab, 0x57, 0xbe, 0x38, 0xab, 0x57, 0xfe, 0x76, 0x56, 0x9f, 0xf9, 0xf2, 0xac, 0x5e, 0x79, 0x79, 0x56, 0x9f, 0xf9, 0xe5, 0x3f, 0xeb, 0x33, 0xfd, 0xab, 0xf8, 0x08, 0xfe, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x81, 0x1f, 0xa5, 0x79, 0x40, 0x00, 0x00, }