|
@@ -26,10 +26,10 @@ var _ = math.Inf
|
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
|
|
type FileVersion struct {
|
|
|
- Version protocol.Vector `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
|
|
|
- Device []byte `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
|
|
|
- Invalid bool `protobuf:"varint,3,opt,name=invalid,proto3" json:"invalid,omitempty"`
|
|
|
- Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
|
+ Version protocol.Vector `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
|
|
|
+ Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
|
+ Devices [][]byte `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
|
|
|
+ InvalidDevices [][]byte `protobuf:"bytes,4,rep,name=invalid_devices,json=invalidDevices,proto3" json:"invalid_devices,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (m *FileVersion) Reset() { *m = FileVersion{} }
|
|
@@ -66,7 +66,7 @@ func (m *FileVersion) XXX_DiscardUnknown() {
|
|
|
var xxx_messageInfo_FileVersion proto.InternalMessageInfo
|
|
|
|
|
|
type VersionList struct {
|
|
|
- Versions []FileVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions"`
|
|
|
+ RawVersions []FileVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions"`
|
|
|
}
|
|
|
|
|
|
func (m *VersionList) Reset() { *m = VersionList{} }
|
|
@@ -318,6 +318,82 @@ func (m *CountsSet) XXX_DiscardUnknown() {
|
|
|
|
|
|
var xxx_messageInfo_CountsSet proto.InternalMessageInfo
|
|
|
|
|
|
+type FileVersionDeprecated struct {
|
|
|
+ Version protocol.Vector `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
|
|
|
+ Device []byte `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
|
|
|
+ Invalid bool `protobuf:"varint,3,opt,name=invalid,proto3" json:"invalid,omitempty"`
|
|
|
+ Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *FileVersionDeprecated) Reset() { *m = FileVersionDeprecated{} }
|
|
|
+func (m *FileVersionDeprecated) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*FileVersionDeprecated) ProtoMessage() {}
|
|
|
+func (*FileVersionDeprecated) Descriptor() ([]byte, []int) {
|
|
|
+ return fileDescriptor_e774e8f5f348d14d, []int{7}
|
|
|
+}
|
|
|
+func (m *FileVersionDeprecated) XXX_Unmarshal(b []byte) error {
|
|
|
+ return m.Unmarshal(b)
|
|
|
+}
|
|
|
+func (m *FileVersionDeprecated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
+ if deterministic {
|
|
|
+ return xxx_messageInfo_FileVersionDeprecated.Marshal(b, m, deterministic)
|
|
|
+ } else {
|
|
|
+ b = b[:cap(b)]
|
|
|
+ n, err := m.MarshalToSizedBuffer(b)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return b[:n], nil
|
|
|
+ }
|
|
|
+}
|
|
|
+func (m *FileVersionDeprecated) XXX_Merge(src proto.Message) {
|
|
|
+ xxx_messageInfo_FileVersionDeprecated.Merge(m, src)
|
|
|
+}
|
|
|
+func (m *FileVersionDeprecated) XXX_Size() int {
|
|
|
+ return m.ProtoSize()
|
|
|
+}
|
|
|
+func (m *FileVersionDeprecated) XXX_DiscardUnknown() {
|
|
|
+ xxx_messageInfo_FileVersionDeprecated.DiscardUnknown(m)
|
|
|
+}
|
|
|
+
|
|
|
+var xxx_messageInfo_FileVersionDeprecated proto.InternalMessageInfo
|
|
|
+
|
|
|
+type VersionListDeprecated struct {
|
|
|
+ Versions []FileVersionDeprecated `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *VersionListDeprecated) Reset() { *m = VersionListDeprecated{} }
|
|
|
+func (*VersionListDeprecated) ProtoMessage() {}
|
|
|
+func (*VersionListDeprecated) Descriptor() ([]byte, []int) {
|
|
|
+ return fileDescriptor_e774e8f5f348d14d, []int{8}
|
|
|
+}
|
|
|
+func (m *VersionListDeprecated) XXX_Unmarshal(b []byte) error {
|
|
|
+ return m.Unmarshal(b)
|
|
|
+}
|
|
|
+func (m *VersionListDeprecated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
+ if deterministic {
|
|
|
+ return xxx_messageInfo_VersionListDeprecated.Marshal(b, m, deterministic)
|
|
|
+ } else {
|
|
|
+ b = b[:cap(b)]
|
|
|
+ n, err := m.MarshalToSizedBuffer(b)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return b[:n], nil
|
|
|
+ }
|
|
|
+}
|
|
|
+func (m *VersionListDeprecated) XXX_Merge(src proto.Message) {
|
|
|
+ xxx_messageInfo_VersionListDeprecated.Merge(m, src)
|
|
|
+}
|
|
|
+func (m *VersionListDeprecated) XXX_Size() int {
|
|
|
+ return m.ProtoSize()
|
|
|
+}
|
|
|
+func (m *VersionListDeprecated) XXX_DiscardUnknown() {
|
|
|
+ xxx_messageInfo_VersionListDeprecated.DiscardUnknown(m)
|
|
|
+}
|
|
|
+
|
|
|
+var xxx_messageInfo_VersionListDeprecated proto.InternalMessageInfo
|
|
|
+
|
|
|
func init() {
|
|
|
proto.RegisterType((*FileVersion)(nil), "db.FileVersion")
|
|
|
proto.RegisterType((*VersionList)(nil), "db.VersionList")
|
|
@@ -326,61 +402,68 @@ func init() {
|
|
|
proto.RegisterType((*IndirectionHashesOnly)(nil), "db.IndirectionHashesOnly")
|
|
|
proto.RegisterType((*Counts)(nil), "db.Counts")
|
|
|
proto.RegisterType((*CountsSet)(nil), "db.CountsSet")
|
|
|
+ proto.RegisterType((*FileVersionDeprecated)(nil), "db.FileVersionDeprecated")
|
|
|
+ proto.RegisterType((*VersionListDeprecated)(nil), "db.VersionListDeprecated")
|
|
|
}
|
|
|
|
|
|
func init() { proto.RegisterFile("structs.proto", fileDescriptor_e774e8f5f348d14d) }
|
|
|
|
|
|
var fileDescriptor_e774e8f5f348d14d = []byte{
|
|
|
- // 774 bytes of a gzipped FileDescriptorProto
|
|
|
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x4d, 0x8f, 0xe3, 0x44,
|
|
|
- 0x10, 0x8d, 0x37, 0x71, 0x3e, 0xca, 0x49, 0xd8, 0x6d, 0x96, 0x91, 0x15, 0x09, 0xc7, 0x0a, 0x5a,
|
|
|
- 0xc9, 0xe2, 0x90, 0xc0, 0xec, 0x0d, 0x24, 0x0e, 0x61, 0x35, 0x22, 0x12, 0x62, 0x51, 0x67, 0xb5,
|
|
|
- 0xa7, 0x95, 0x22, 0x7f, 0x74, 0x92, 0xd6, 0x38, 0xee, 0xe0, 0xee, 0xcc, 0xc8, 0xf3, 0x17, 0xb8,
|
|
|
- 0x70, 0xe4, 0x38, 0x17, 0xfe, 0xcb, 0x1c, 0xe7, 0x88, 0x38, 0x44, 0x90, 0x70, 0x80, 0x7f, 0x81,
|
|
|
- 0xba, 0xdb, 0x76, 0x3c, 0x73, 0x61, 0x6e, 0x55, 0xaf, 0x2a, 0xa9, 0xaa, 0xf7, 0x9e, 0x1b, 0x7a,
|
|
|
- 0x5c, 0xa4, 0xbb, 0x50, 0xf0, 0xf1, 0x36, 0x65, 0x82, 0xa1, 0x67, 0x51, 0x30, 0xf8, 0x2c, 0x25,
|
|
|
- 0x5b, 0xc6, 0x27, 0x0a, 0x08, 0x76, 0xcb, 0xc9, 0x8a, 0xad, 0x98, 0x4a, 0x54, 0xa4, 0x1b, 0x07,
|
|
|
- 0x67, 0x31, 0x0d, 0x74, 0x4b, 0xc8, 0xe2, 0x49, 0x40, 0xb6, 0x1a, 0x1f, 0xf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func (m *FileVersion) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
_ = i
|
|
|
var l int
|
|
|
_ = l
|
|
|
- if m.Deleted {
|
|
|
- i--
|
|
|
- if m.Deleted {
|
|
|
- dAtA[i] = 1
|
|
|
- } else {
|
|
|
- dAtA[i] = 0
|
|
|
+ if len(m.InvalidDevices) > 0 {
|
|
|
+ for iNdEx := len(m.InvalidDevices) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
+ i -= len(m.InvalidDevices[iNdEx])
|
|
|
+ copy(dAtA[i:], m.InvalidDevices[iNdEx])
|
|
|
+ i = encodeVarintStructs(dAtA, i, uint64(len(m.InvalidDevices[iNdEx])))
|
|
|
+ i--
|
|
|
+ dAtA[i] = 0x22
|
|
|
}
|
|
|
- i--
|
|
|
- dAtA[i] = 0x20
|
|
|
}
|
|
|
- if m.Invalid {
|
|
|
+ if len(m.Devices) > 0 {
|
|
|
+ for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
+ i -= len(m.Devices[iNdEx])
|
|
|
+ copy(dAtA[i:], m.Devices[iNdEx])
|
|
|
+ i = encodeVarintStructs(dAtA, i, uint64(len(m.Devices[iNdEx])))
|
|
|
+ i--
|
|
|
+ dAtA[i] = 0x1a
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if m.Deleted {
|
|
|
i--
|
|
|
- if m.Invalid {
|
|
|
+ if m.Deleted {
|
|
|
dAtA[i] = 1
|
|
|
} else {
|
|
|
dAtA[i] = 0
|
|
|
}
|
|
|
i--
|
|
|
- dAtA[i] = 0x18
|
|
|
- }
|
|
|
- if len(m.Device) > 0 {
|
|
|
- i -= len(m.Device)
|
|
|
- copy(dAtA[i:], m.Device)
|
|
|
- i = encodeVarintStructs(dAtA, i, uint64(len(m.Device)))
|
|
|
- i--
|
|
|
- dAtA[i] = 0x12
|
|
|
+ dAtA[i] = 0x10
|
|
|
}
|
|
|
{
|
|
|
size, err := m.Version.MarshalToSizedBuffer(dAtA[:i])
|
|
@@ -463,10 +547,10 @@ func (m *VersionList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
_ = i
|
|
|
var l int
|
|
|
_ = l
|
|
|
- if len(m.Versions) > 0 {
|
|
|
- for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
+ if len(m.RawVersions) > 0 {
|
|
|
+ for iNdEx := len(m.RawVersions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
{
|
|
|
- size, err := m.Versions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
+ size, err := m.RawVersions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
if err != nil {
|
|
|
return 0, err
|
|
|
}
|
|
@@ -813,6 +897,103 @@ func (m *CountsSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
return len(dAtA) - i, nil
|
|
|
}
|
|
|
|
|
|
+func (m *FileVersionDeprecated) Marshal() (dAtA []byte, err error) {
|
|
|
+ size := m.ProtoSize()
|
|
|
+ dAtA = make([]byte, size)
|
|
|
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return dAtA[:n], nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *FileVersionDeprecated) MarshalTo(dAtA []byte) (int, error) {
|
|
|
+ size := m.ProtoSize()
|
|
|
+ return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
+}
|
|
|
+
|
|
|
+func (m *FileVersionDeprecated) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
+ i := len(dAtA)
|
|
|
+ _ = i
|
|
|
+ var l int
|
|
|
+ _ = l
|
|
|
+ if m.Deleted {
|
|
|
+ i--
|
|
|
+ if m.Deleted {
|
|
|
+ dAtA[i] = 1
|
|
|
+ } else {
|
|
|
+ dAtA[i] = 0
|
|
|
+ }
|
|
|
+ i--
|
|
|
+ dAtA[i] = 0x20
|
|
|
+ }
|
|
|
+ if m.Invalid {
|
|
|
+ i--
|
|
|
+ if m.Invalid {
|
|
|
+ dAtA[i] = 1
|
|
|
+ } else {
|
|
|
+ dAtA[i] = 0
|
|
|
+ }
|
|
|
+ i--
|
|
|
+ dAtA[i] = 0x18
|
|
|
+ }
|
|
|
+ if len(m.Device) > 0 {
|
|
|
+ i -= len(m.Device)
|
|
|
+ copy(dAtA[i:], m.Device)
|
|
|
+ i = encodeVarintStructs(dAtA, i, uint64(len(m.Device)))
|
|
|
+ i--
|
|
|
+ dAtA[i] = 0x12
|
|
|
+ }
|
|
|
+ {
|
|
|
+ size, err := m.Version.MarshalToSizedBuffer(dAtA[:i])
|
|
|
+ if err != nil {
|
|
|
+ return 0, err
|
|
|
+ }
|
|
|
+ i -= size
|
|
|
+ i = encodeVarintStructs(dAtA, i, uint64(size))
|
|
|
+ }
|
|
|
+ i--
|
|
|
+ dAtA[i] = 0xa
|
|
|
+ return len(dAtA) - i, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *VersionListDeprecated) Marshal() (dAtA []byte, err error) {
|
|
|
+ size := m.ProtoSize()
|
|
|
+ dAtA = make([]byte, size)
|
|
|
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return dAtA[:n], nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *VersionListDeprecated) MarshalTo(dAtA []byte) (int, error) {
|
|
|
+ size := m.ProtoSize()
|
|
|
+ return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
+}
|
|
|
+
|
|
|
+func (m *VersionListDeprecated) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
+ i := len(dAtA)
|
|
|
+ _ = i
|
|
|
+ var l int
|
|
|
+ _ = l
|
|
|
+ if len(m.Versions) > 0 {
|
|
|
+ for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
+ {
|
|
|
+ size, err := m.Versions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
+ if err != nil {
|
|
|
+ return 0, err
|
|
|
+ }
|
|
|
+ i -= size
|
|
|
+ i = encodeVarintStructs(dAtA, i, uint64(size))
|
|
|
+ }
|
|
|
+ i--
|
|
|
+ dAtA[i] = 0xa
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return len(dAtA) - i, nil
|
|
|
+}
|
|
|
+
|
|
|
func encodeVarintStructs(dAtA []byte, offset int, v uint64) int {
|
|
|
offset -= sovStructs(v)
|
|
|
base := offset
|
|
@@ -832,16 +1013,21 @@ func (m *FileVersion) ProtoSize() (n int) {
|
|
|
_ = l
|
|
|
l = m.Version.ProtoSize()
|
|
|
n += 1 + l + sovStructs(uint64(l))
|
|
|
- l = len(m.Device)
|
|
|
- if l > 0 {
|
|
|
- n += 1 + l + sovStructs(uint64(l))
|
|
|
- }
|
|
|
- if m.Invalid {
|
|
|
- n += 2
|
|
|
- }
|
|
|
if m.Deleted {
|
|
|
n += 2
|
|
|
}
|
|
|
+ if len(m.Devices) > 0 {
|
|
|
+ for _, b := range m.Devices {
|
|
|
+ l = len(b)
|
|
|
+ n += 1 + l + sovStructs(uint64(l))
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if len(m.InvalidDevices) > 0 {
|
|
|
+ for _, b := range m.InvalidDevices {
|
|
|
+ l = len(b)
|
|
|
+ n += 1 + l + sovStructs(uint64(l))
|
|
|
+ }
|
|
|
+ }
|
|
|
return n
|
|
|
}
|
|
|
|
|
@@ -851,8 +1037,8 @@ func (m *VersionList) ProtoSize() (n int) {
|
|
|
}
|
|
|
var l int
|
|
|
_ = l
|
|
|
- if len(m.Versions) > 0 {
|
|
|
- for _, e := range m.Versions {
|
|
|
+ if len(m.RawVersions) > 0 {
|
|
|
+ for _, e := range m.RawVersions {
|
|
|
l = e.ProtoSize()
|
|
|
n += 1 + l + sovStructs(uint64(l))
|
|
|
}
|
|
@@ -1007,6 +1193,42 @@ func (m *CountsSet) ProtoSize() (n int) {
|
|
|
return n
|
|
|
}
|
|
|
|
|
|
+func (m *FileVersionDeprecated) ProtoSize() (n int) {
|
|
|
+ if m == nil {
|
|
|
+ return 0
|
|
|
+ }
|
|
|
+ var l int
|
|
|
+ _ = l
|
|
|
+ l = m.Version.ProtoSize()
|
|
|
+ n += 1 + l + sovStructs(uint64(l))
|
|
|
+ l = len(m.Device)
|
|
|
+ if l > 0 {
|
|
|
+ n += 1 + l + sovStructs(uint64(l))
|
|
|
+ }
|
|
|
+ if m.Invalid {
|
|
|
+ n += 2
|
|
|
+ }
|
|
|
+ if m.Deleted {
|
|
|
+ n += 2
|
|
|
+ }
|
|
|
+ return n
|
|
|
+}
|
|
|
+
|
|
|
+func (m *VersionListDeprecated) ProtoSize() (n int) {
|
|
|
+ if m == nil {
|
|
|
+ return 0
|
|
|
+ }
|
|
|
+ var l int
|
|
|
+ _ = l
|
|
|
+ if len(m.Versions) > 0 {
|
|
|
+ for _, e := range m.Versions {
|
|
|
+ l = e.ProtoSize()
|
|
|
+ n += 1 + l + sovStructs(uint64(l))
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return n
|
|
|
+}
|
|
|
+
|
|
|
func sovStructs(x uint64) (n int) {
|
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
|
}
|
|
@@ -1076,10 +1298,10 @@ func (m *FileVersion) Unmarshal(dAtA []byte) error {
|
|
|
}
|
|
|
iNdEx = postIndex
|
|
|
case 2:
|
|
|
- if wireType != 2 {
|
|
|
- return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType)
|
|
|
+ if wireType != 0 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Deleted", wireType)
|
|
|
}
|
|
|
- var byteLen int
|
|
|
+ var v int
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
if shift >= 64 {
|
|
|
return ErrIntOverflowStructs
|
|
@@ -1089,31 +1311,17 @@ func (m *FileVersion) Unmarshal(dAtA []byte) error {
|
|
|
}
|
|
|
b := dAtA[iNdEx]
|
|
|
iNdEx++
|
|
|
- byteLen |= int(b&0x7F) << shift
|
|
|
+ v |= int(b&0x7F) << shift
|
|
|
if b < 0x80 {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- if byteLen < 0 {
|
|
|
- return ErrInvalidLengthStructs
|
|
|
- }
|
|
|
- postIndex := iNdEx + byteLen
|
|
|
- if postIndex < 0 {
|
|
|
- return ErrInvalidLengthStructs
|
|
|
- }
|
|
|
- if postIndex > l {
|
|
|
- return io.ErrUnexpectedEOF
|
|
|
- }
|
|
|
- m.Device = append(m.Device[:0], dAtA[iNdEx:postIndex]...)
|
|
|
- if m.Device == nil {
|
|
|
- m.Device = []byte{}
|
|
|
- }
|
|
|
- iNdEx = postIndex
|
|
|
+ m.Deleted = bool(v != 0)
|
|
|
case 3:
|
|
|
- if wireType != 0 {
|
|
|
- return fmt.Errorf("proto: wrong wireType = %d for field Invalid", wireType)
|
|
|
+ if wireType != 2 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Devices", wireType)
|
|
|
}
|
|
|
- var v int
|
|
|
+ var byteLen int
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
if shift >= 64 {
|
|
|
return ErrIntOverflowStructs
|
|
@@ -1123,17 +1331,29 @@ func (m *FileVersion) Unmarshal(dAtA []byte) error {
|
|
|
}
|
|
|
b := dAtA[iNdEx]
|
|
|
iNdEx++
|
|
|
- v |= int(b&0x7F) << shift
|
|
|
+ byteLen |= int(b&0x7F) << shift
|
|
|
if b < 0x80 {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- m.Invalid = bool(v != 0)
|
|
|
+ if byteLen < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ postIndex := iNdEx + byteLen
|
|
|
+ if postIndex < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if postIndex > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ m.Devices = append(m.Devices, make([]byte, postIndex-iNdEx))
|
|
|
+ copy(m.Devices[len(m.Devices)-1], dAtA[iNdEx:postIndex])
|
|
|
+ iNdEx = postIndex
|
|
|
case 4:
|
|
|
- if wireType != 0 {
|
|
|
- return fmt.Errorf("proto: wrong wireType = %d for field Deleted", wireType)
|
|
|
+ if wireType != 2 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field InvalidDevices", wireType)
|
|
|
}
|
|
|
- var v int
|
|
|
+ var byteLen int
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
if shift >= 64 {
|
|
|
return ErrIntOverflowStructs
|
|
@@ -1143,12 +1363,24 @@ func (m *FileVersion) Unmarshal(dAtA []byte) error {
|
|
|
}
|
|
|
b := dAtA[iNdEx]
|
|
|
iNdEx++
|
|
|
- v |= int(b&0x7F) << shift
|
|
|
+ byteLen |= int(b&0x7F) << shift
|
|
|
if b < 0x80 {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- m.Deleted = bool(v != 0)
|
|
|
+ if byteLen < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ postIndex := iNdEx + byteLen
|
|
|
+ if postIndex < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if postIndex > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ m.InvalidDevices = append(m.InvalidDevices, make([]byte, postIndex-iNdEx))
|
|
|
+ copy(m.InvalidDevices[len(m.InvalidDevices)-1], dAtA[iNdEx:postIndex])
|
|
|
+ iNdEx = postIndex
|
|
|
default:
|
|
|
iNdEx = preIndex
|
|
|
skippy, err := skipStructs(dAtA[iNdEx:])
|
|
@@ -1204,7 +1436,7 @@ func (m *VersionList) Unmarshal(dAtA []byte) error {
|
|
|
switch fieldNum {
|
|
|
case 1:
|
|
|
if wireType != 2 {
|
|
|
- return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field RawVersions", wireType)
|
|
|
}
|
|
|
var msglen int
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
@@ -1231,8 +1463,8 @@ func (m *VersionList) Unmarshal(dAtA []byte) error {
|
|
|
if postIndex > l {
|
|
|
return io.ErrUnexpectedEOF
|
|
|
}
|
|
|
- m.Versions = append(m.Versions, FileVersion{})
|
|
|
- if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
+ m.RawVersions = append(m.RawVersions, FileVersion{})
|
|
|
+ if err := m.RawVersions[len(m.RawVersions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
return err
|
|
|
}
|
|
|
iNdEx = postIndex
|
|
@@ -2243,6 +2475,253 @@ func (m *CountsSet) Unmarshal(dAtA []byte) error {
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
+func (m *FileVersionDeprecated) Unmarshal(dAtA []byte) error {
|
|
|
+ l := len(dAtA)
|
|
|
+ iNdEx := 0
|
|
|
+ for iNdEx < l {
|
|
|
+ preIndex := iNdEx
|
|
|
+ var wire uint64
|
|
|
+ for shift := uint(0); ; shift += 7 {
|
|
|
+ if shift >= 64 {
|
|
|
+ return ErrIntOverflowStructs
|
|
|
+ }
|
|
|
+ if iNdEx >= l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ b := dAtA[iNdEx]
|
|
|
+ iNdEx++
|
|
|
+ wire |= uint64(b&0x7F) << shift
|
|
|
+ if b < 0x80 {
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ fieldNum := int32(wire >> 3)
|
|
|
+ wireType := int(wire & 0x7)
|
|
|
+ if wireType == 4 {
|
|
|
+ return fmt.Errorf("proto: FileVersionDeprecated: wiretype end group for non-group")
|
|
|
+ }
|
|
|
+ if fieldNum <= 0 {
|
|
|
+ return fmt.Errorf("proto: FileVersionDeprecated: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
+ }
|
|
|
+ switch fieldNum {
|
|
|
+ case 1:
|
|
|
+ if wireType != 2 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
|
|
|
+ }
|
|
|
+ var msglen int
|
|
|
+ for shift := uint(0); ; shift += 7 {
|
|
|
+ if shift >= 64 {
|
|
|
+ return ErrIntOverflowStructs
|
|
|
+ }
|
|
|
+ if iNdEx >= l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ b := dAtA[iNdEx]
|
|
|
+ iNdEx++
|
|
|
+ msglen |= int(b&0x7F) << shift
|
|
|
+ if b < 0x80 {
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if msglen < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ postIndex := iNdEx + msglen
|
|
|
+ if postIndex < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if postIndex > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ if err := m.Version.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
+ return err
|
|
|
+ }
|
|
|
+ iNdEx = postIndex
|
|
|
+ case 2:
|
|
|
+ if wireType != 2 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType)
|
|
|
+ }
|
|
|
+ var byteLen int
|
|
|
+ for shift := uint(0); ; shift += 7 {
|
|
|
+ if shift >= 64 {
|
|
|
+ return ErrIntOverflowStructs
|
|
|
+ }
|
|
|
+ if iNdEx >= l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ b := dAtA[iNdEx]
|
|
|
+ iNdEx++
|
|
|
+ byteLen |= int(b&0x7F) << shift
|
|
|
+ if b < 0x80 {
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if byteLen < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ postIndex := iNdEx + byteLen
|
|
|
+ if postIndex < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if postIndex > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ m.Device = append(m.Device[:0], dAtA[iNdEx:postIndex]...)
|
|
|
+ if m.Device == nil {
|
|
|
+ m.Device = []byte{}
|
|
|
+ }
|
|
|
+ iNdEx = postIndex
|
|
|
+ case 3:
|
|
|
+ if wireType != 0 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Invalid", wireType)
|
|
|
+ }
|
|
|
+ var v int
|
|
|
+ for shift := uint(0); ; shift += 7 {
|
|
|
+ if shift >= 64 {
|
|
|
+ return ErrIntOverflowStructs
|
|
|
+ }
|
|
|
+ if iNdEx >= l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ b := dAtA[iNdEx]
|
|
|
+ iNdEx++
|
|
|
+ v |= int(b&0x7F) << shift
|
|
|
+ if b < 0x80 {
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ m.Invalid = bool(v != 0)
|
|
|
+ case 4:
|
|
|
+ if wireType != 0 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Deleted", wireType)
|
|
|
+ }
|
|
|
+ var v int
|
|
|
+ for shift := uint(0); ; shift += 7 {
|
|
|
+ if shift >= 64 {
|
|
|
+ return ErrIntOverflowStructs
|
|
|
+ }
|
|
|
+ if iNdEx >= l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ b := dAtA[iNdEx]
|
|
|
+ iNdEx++
|
|
|
+ v |= int(b&0x7F) << shift
|
|
|
+ if b < 0x80 {
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ m.Deleted = bool(v != 0)
|
|
|
+ default:
|
|
|
+ iNdEx = preIndex
|
|
|
+ skippy, err := skipStructs(dAtA[iNdEx:])
|
|
|
+ if err != nil {
|
|
|
+ return err
|
|
|
+ }
|
|
|
+ if skippy < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if (iNdEx + skippy) < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if (iNdEx + skippy) > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ iNdEx += skippy
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ if iNdEx > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+func (m *VersionListDeprecated) Unmarshal(dAtA []byte) error {
|
|
|
+ l := len(dAtA)
|
|
|
+ iNdEx := 0
|
|
|
+ for iNdEx < l {
|
|
|
+ preIndex := iNdEx
|
|
|
+ var wire uint64
|
|
|
+ for shift := uint(0); ; shift += 7 {
|
|
|
+ if shift >= 64 {
|
|
|
+ return ErrIntOverflowStructs
|
|
|
+ }
|
|
|
+ if iNdEx >= l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ b := dAtA[iNdEx]
|
|
|
+ iNdEx++
|
|
|
+ wire |= uint64(b&0x7F) << shift
|
|
|
+ if b < 0x80 {
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ fieldNum := int32(wire >> 3)
|
|
|
+ wireType := int(wire & 0x7)
|
|
|
+ if wireType == 4 {
|
|
|
+ return fmt.Errorf("proto: VersionListDeprecated: wiretype end group for non-group")
|
|
|
+ }
|
|
|
+ if fieldNum <= 0 {
|
|
|
+ return fmt.Errorf("proto: VersionListDeprecated: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
+ }
|
|
|
+ switch fieldNum {
|
|
|
+ case 1:
|
|
|
+ if wireType != 2 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
|
|
|
+ }
|
|
|
+ var msglen int
|
|
|
+ for shift := uint(0); ; shift += 7 {
|
|
|
+ if shift >= 64 {
|
|
|
+ return ErrIntOverflowStructs
|
|
|
+ }
|
|
|
+ if iNdEx >= l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ b := dAtA[iNdEx]
|
|
|
+ iNdEx++
|
|
|
+ msglen |= int(b&0x7F) << shift
|
|
|
+ if b < 0x80 {
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if msglen < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ postIndex := iNdEx + msglen
|
|
|
+ if postIndex < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if postIndex > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ m.Versions = append(m.Versions, FileVersionDeprecated{})
|
|
|
+ if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
+ return err
|
|
|
+ }
|
|
|
+ iNdEx = postIndex
|
|
|
+ default:
|
|
|
+ iNdEx = preIndex
|
|
|
+ skippy, err := skipStructs(dAtA[iNdEx:])
|
|
|
+ if err != nil {
|
|
|
+ return err
|
|
|
+ }
|
|
|
+ if skippy < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if (iNdEx + skippy) < 0 {
|
|
|
+ return ErrInvalidLengthStructs
|
|
|
+ }
|
|
|
+ if (iNdEx + skippy) > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ iNdEx += skippy
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ if iNdEx > l {
|
|
|
+ return io.ErrUnexpectedEOF
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
func skipStructs(dAtA []byte) (n int, err error) {
|
|
|
l := len(dAtA)
|
|
|
iNdEx := 0
|