mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Add protos
This commit is contained in:
parent
e03f2e6efd
commit
bdcb1bf35b
3 changed files with 866 additions and 102 deletions
|
@ -1683,6 +1683,178 @@ func (m *AclGetRecordsResponse) GetRecords() [][]byte {
|
|||
return nil
|
||||
}
|
||||
|
||||
type StoreDiffRequest struct {
|
||||
Ranges []*HeadSyncRange `protobuf:"bytes,3,rep,name=ranges,proto3" json:"ranges,omitempty"`
|
||||
}
|
||||
|
||||
func (m *StoreDiffRequest) Reset() { *m = StoreDiffRequest{} }
|
||||
func (m *StoreDiffRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*StoreDiffRequest) ProtoMessage() {}
|
||||
func (*StoreDiffRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_80e49f1f4ac27799, []int{24}
|
||||
}
|
||||
func (m *StoreDiffRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *StoreDiffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_StoreDiffRequest.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 *StoreDiffRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error) {
|
||||
b = b[:newLen]
|
||||
_, err := m.MarshalToSizedBuffer(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b, nil
|
||||
}
|
||||
func (m *StoreDiffRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StoreDiffRequest.Merge(m, src)
|
||||
}
|
||||
func (m *StoreDiffRequest) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *StoreDiffRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_StoreDiffRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_StoreDiffRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *StoreDiffRequest) GetRanges() []*HeadSyncRange {
|
||||
if m != nil {
|
||||
return m.Ranges
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type StoreDiffResponse struct {
|
||||
Results []*HeadSyncResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
|
||||
}
|
||||
|
||||
func (m *StoreDiffResponse) Reset() { *m = StoreDiffResponse{} }
|
||||
func (m *StoreDiffResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*StoreDiffResponse) ProtoMessage() {}
|
||||
func (*StoreDiffResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_80e49f1f4ac27799, []int{25}
|
||||
}
|
||||
func (m *StoreDiffResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *StoreDiffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_StoreDiffResponse.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 *StoreDiffResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error) {
|
||||
b = b[:newLen]
|
||||
_, err := m.MarshalToSizedBuffer(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b, nil
|
||||
}
|
||||
func (m *StoreDiffResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StoreDiffResponse.Merge(m, src)
|
||||
}
|
||||
func (m *StoreDiffResponse) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *StoreDiffResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_StoreDiffResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_StoreDiffResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *StoreDiffResponse) GetResults() []*HeadSyncResult {
|
||||
if m != nil {
|
||||
return m.Results
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type StoreKeyValue struct {
|
||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
TimestampMilli int64 `protobuf:"varint,3,opt,name=timestampMilli,proto3" json:"timestampMilli,omitempty"`
|
||||
}
|
||||
|
||||
func (m *StoreKeyValue) Reset() { *m = StoreKeyValue{} }
|
||||
func (m *StoreKeyValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*StoreKeyValue) ProtoMessage() {}
|
||||
func (*StoreKeyValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_80e49f1f4ac27799, []int{26}
|
||||
}
|
||||
func (m *StoreKeyValue) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *StoreKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_StoreKeyValue.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 *StoreKeyValue) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error) {
|
||||
b = b[:newLen]
|
||||
_, err := m.MarshalToSizedBuffer(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b, nil
|
||||
}
|
||||
func (m *StoreKeyValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StoreKeyValue.Merge(m, src)
|
||||
}
|
||||
func (m *StoreKeyValue) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *StoreKeyValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_StoreKeyValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_StoreKeyValue proto.InternalMessageInfo
|
||||
|
||||
func (m *StoreKeyValue) GetKey() string {
|
||||
if m != nil {
|
||||
return m.Key
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *StoreKeyValue) GetValue() []byte {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *StoreKeyValue) GetTimestampMilli() int64 {
|
||||
if m != nil {
|
||||
return m.TimestampMilli
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("spacesync.ErrCodes", ErrCodes_name, ErrCodes_value)
|
||||
proto.RegisterEnum("spacesync.SpaceSubscriptionAction", SpaceSubscriptionAction_name, SpaceSubscriptionAction_value)
|
||||
|
@ -1711,6 +1883,9 @@ func init() {
|
|||
proto.RegisterType((*AclAddRecordResponse)(nil), "spacesync.AclAddRecordResponse")
|
||||
proto.RegisterType((*AclGetRecordsRequest)(nil), "spacesync.AclGetRecordsRequest")
|
||||
proto.RegisterType((*AclGetRecordsResponse)(nil), "spacesync.AclGetRecordsResponse")
|
||||
proto.RegisterType((*StoreDiffRequest)(nil), "spacesync.StoreDiffRequest")
|
||||
proto.RegisterType((*StoreDiffResponse)(nil), "spacesync.StoreDiffResponse")
|
||||
proto.RegisterType((*StoreKeyValue)(nil), "spacesync.StoreKeyValue")
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
@ -1718,89 +1893,95 @@ func init() {
|
|||
}
|
||||
|
||||
var fileDescriptor_80e49f1f4ac27799 = []byte{
|
||||
// 1298 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff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x8c, 0x91, 0x33, 0x7a, 0x45, 0x31, 0x6e, 0x43, 0x33, 0x8a,
|
||||
0x2b, 0x66, 0x27, 0x35, 0xcd, 0x18, 0xc2, 0x2e, 0xa2, 0x13, 0x7f, 0x66, 0xbb, 0x32, 0xef, 0x26,
|
||||
0x4e, 0x48, 0x21, 0x99, 0x90, 0x99, 0x1f, 0x12, 0x57, 0x0e, 0x91, 0x81, 0x13, 0x52, 0xcc, 0x57,
|
||||
0x28, 0x03, 0xb0, 0xdd, 0xce, 0xaa, 0x34, 0x4a, 0x69, 0x8b, 0x82, 0x39, 0x14, 0x8e, 0x8f, 0xa7,
|
||||
0x6c, 0x94, 0x34, 0x6a, 0x3b, 0x43, 0x12, 0xb1, 0xad, 0x0d, 0x36, 0x73, 0x19, 0xc6, 0xda, 0xb1,
|
||||
0x38, 0x73, 0xd1, 0x03, 0xd8, 0x8d, 0xa8, 0x4b, 0x03, 0xee, 0x11, 0x5f, 0x46, 0x6d, 0xe0, 0x1c,
|
||||
0xc7, 0xda, 0x80, 0xeb, 0x39, 0x37, 0x71, 0xfd, 0x2d, 0x2b, 0xf5, 0xed, 0xfb, 0x89, 0xef, 0xb9,
|
||||
0xe1, 0xb2, 0x9e, 0xa6, 0x86, 0x42, 0x47, 0x35, 0xee, 0xff, 0x07, 0x68, 0xfd, 0xa8, 0x83, 0x91,
|
||||
0x97, 0xa0, 0x1d, 0x58, 0x93, 0x36, 0xa2, 0xcf, 0x34, 0x52, 0x38, 0x77, 0x72, 0x38, 0x98, 0xbc,
|
||||
0x1e, 0x66, 0x0a, 0x2f, 0x3d, 0x3e, 0xb2, 0x5d, 0x9c, 0xb7, 0x11, 0x49, 0x13, 0xc7, 0x57, 0x80,
|
||||
0x49, 0xd2, 0x19, 0x07, 0x59, 0x60, 0x64, 0x54, 0xda, 0xb0, 0x02, 0x0f, 0x0d, 0xa0, 0x2d, 0x21,
|
||||
0x87, 0x94, 0x73, 0x2f, 0x38, 0x63, 0xc7, 0x85, 0x16,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0x22, 0xc9, 0x49, 0xc1, 0x52, 0xfa, 0x0a, 0xb4, 0x2f, 0x24, 0xda, 0xe7,
|
||||
0x94, 0xc7, 0x68, 0xec, 0xad, 0x22, 0x23, 0x8e, 0x7f, 0x90, 0x3d, 0x15, 0x12, 0xd2, 0xda, 0x86,
|
||||
0x1b, 0x73, 0x58, 0x2a, 0x34, 0x79, 0xdb, 0x49, 0x96, 0x2c, 0xaa, 0x81, 0x13, 0xf2, 0xee, 0xdf,
|
||||
0x1a, 0x34, 0xf6, 0xa3, 0x68, 0x37, 0x74, 0x29, 0x43, 0x2d, 0x80, 0x17, 0x01, 0x3d, 0x9f, 0x50,
|
||||
0x87, 0x53, 0xd7, 0xac, 0x20, 0x53, 0xed, 0xfa, 0x43, 0x8f, 0x31, 0x2f, 0x38, 0x33, 0x35, 0x74,
|
||||
0x4d, 0x4d, 0xf4, 0xfe, 0xb9, 0xc7, 0x38, 0x33, 0x75, 0xb4, 0x01, 0xd7, 0x24, 0xe3, 0x59, 0xc8,
|
||||
0xed, 0x60, 0x97, 0x38, 0x23, 0x6a, 0xae, 0x20, 0x04, 0x2d, 0xc9, 0xb4, 0x59, 0x3c, 0xf9, 0xae,
|
||||
0x59, 0x45, 0x1d, 0x68, 0xcb, 0x09, 0x64, 0xcf, 0x42, 0xae, 0xe2, 0xf2, 0x4e, 0x7c, 0x6a, 0xae,
|
||||
0xa2, 0x36, 0x98, 0x98, 0x3a, 0xd4, 0x9b, 0x70, 0x9b, 0xd9, 0xc1, 0x2b, 0xe2, 0x7b, 0xae, 0x59,
|
||||
0x13, 0x18, 0x8a, 0x50, 0x2b, 0xca, 0xac, 0x0b, 0xcd, 0xbd, 0x69, 0xbc, 0xfa, 0xa8, 0xaa, 0x93,
|
||||
0xd9, 0x40, 0xb7, 0x60, 0xf3, 0x79, 0x18, 0x1e, 0x92, 0x60, 0xa6, 0x78, 0xec, 0x69, 0x14, 0x8e,
|
||||
0x85, 0x33, 0xb3, 0x29, 0x02, 0xde, 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 0x9a, 0xb3, 0x58, 0x58, 0x0c, 0xdd, 0xfe, 0x72, 0x85, 0x18, 0xf3,
|
||||
0xc9, 0x47, 0xbf, 0x5f, 0xf4, 0xb4, 0x37, 0x17, 0x3d, 0xed, 0xaf, 0x8b, 0x9e, 0xf6, 0xcb, 0x65,
|
||||
0xaf, 0xf2, 0xe6, 0xb2, 0x57, 0xf9, 0xf3, 0xb2, 0x57, 0xf9, 0xa6, 0xbb, 0xfc, 0x5f, 0xb5, 0x93,
|
||||
0x9a, 0xfc, 0x79, 0xf8, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2e, 0x04, 0x49, 0x74, 0xcf, 0x0d,
|
||||
0x00, 0x00,
|
||||
// 1399 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xcf, 0x6f, 0xdb, 0xb6,
|
||||
0x17, 0xb7, 0xe4, 0xc4, 0xb1, 0x5f, 0x1c, 0x57, 0x65, 0xdc, 0xc6, 0x5f, 0xb7, 0x70, 0x0d, 0xe2,
|
||||
0x8b, 0x2d, 0xe8, 0xa1, 0x6d, 0xd2, 0x61, 0x40, 0xbb, 0xed, 0x90, 0x26, 0x69, 0xe3, 0x75, 0x69,
|
||||
0x02, 0xba, 0x3f, 0x80, 0x01, 0xc3, 0xc0, 0x48, 0x4c, 0xa2, 0x55, 0x96, 0x3c, 0x91, 0x6e, 0xe3,
|
||||
0xe3, 0x4e, 0x3b, 0x6d, 0xd8, 0x79, 0xfb, 0x87, 0x76, 0xec, 0x6e, 0x3b, 0x0e, 0xed, 0x7d, 0x7f,
|
||||
0xc3, 0x40, 0x8a, 0x92, 0x28, 0x47, 0xee, 0x3a, 0xe4, 0x12, 0x8b, 0xef, 0xc7, 0xe7, 0xfd, 0xe4,
|
||||
0xe3, 0x0b, 0x6c, 0xb8, 0xd1, 0x68, 0x14, 0x85, 0x7c, 0x4c, 0x5d, 0x76, 0x5b, 0xfd, 0xe5, 0xd3,
|
||||
0xd0, 0x1d, 0xc7, 0x91, 0x88, 0x6e, 0xab, 0xbf, 0x3c, 0xa7, 0xde, 0x52, 0x04, 0xd4, 0xc8, 0x08,
|
||||
0x98, 0xc1, 0xca, 0x1e, 0xa3, 0xde, 0x70, 0x1a, 0xba, 0x84, 0x86, 0x27, 0x0c, 0x21, 0x58, 0x38,
|
||||
0x8e, 0xa3, 0x51, 0xc7, 0xea, 0x5b, 0xeb, 0x0b, 0x44, 0x7d, 0xa3, 0x16, 0xd8, 0x22, 0xea, 0xd8,
|
||||
0x8a, 0x62, 0x8b, 0x08, 0xb5, 0x61, 0x31, 0xf0, 0x47, 0xbe, 0xe8, 0x54, 0xfb, 0xd6, 0xfa, 0x0a,
|
||||
0x49, 0x0e, 0xa8, 0x0b, 0x75, 0x16, 0xb0, 0x11, 0x0b, 0x05, 0xef, 0x2c, 0xf4, 0xad, 0xf5, 0x3a,
|
||||
0xc9, 0xce, 0xf8, 0x0c, 0x5a, 0x99, 0x19, 0xc6, 0x27, 0x81, 0x90, 0x76, 0x4e, 0x29, 0x3f, 0x55,
|
||||
0x76, 0x9a, 0x44, 0x7d, 0xa3, 0xcf, 0x0d, 0x04, 0xbb, 0x5f, 0x5d, 0x5f, 0xde, 0xec, 0xdf, 0xca,
|
||||
0x7d, 0x2f, 0x02, 0xec, 0x26, 0x82, 0xb9, 0x0d, 0xe9, 0x95, 0x1b, 0x4d, 0xc2, 0xcc, 0x2b, 0x75,
|
||||
0xc0, 0x9f, 0xc1, 0x95, 0x52, 0x45, 0x19, 0x94, 0xef, 0x29, 0xf3, 0x0d, 0x62, 0xfb, 0x9e, 0x72,
|
||||
0x88, 0x51, 0x4f, 0x85, 0xd9, 0x20, 0xea, 0x1b, 0xff, 0x6c, 0xc1, 0xa5, 0x5c, 0xfb, 0xfb, 0x09,
|
||||
0xe3, 0x02, 0x75, 0x60, 0x49, 0xf9, 0x34, 0x48, 0x95, 0xd3, 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, 0x33, 0x49, 0xfe, 0x31, 0xce, 0x6c, 0x07,
|
||||
0x41, 0x6a, 0x7b, 0xa6, 0xb9, 0xf0, 0xc3, 0x4c, 0x51, 0xca, 0xe8, 0xc2, 0xfd, 0x77, 0x07, 0xf1,
|
||||
0x0f, 0x36, 0x34, 0x4d, 0x0e, 0xda, 0x82, 0x65, 0xa5, 0x23, 0xeb, 0xcc, 0x62, 0x8d, 0x73, 0xc3,
|
||||
0xc0, 0x21, 0xf4, 0xf5, 0x30, 0x17, 0x78, 0xe1, 0x8b, 0xd3, 0x81, 0x47, 0x4c, 0x1d, 0x19, 0x34,
|
||||
0x75, 0x03, 0x0d, 0x98, 0x06, 0x9d, 0x53, 0x10, 0x86, 0x66, 0x7e, 0xca, 0x0a, 0x56, 0xa0, 0xa1,
|
||||
0x4d, 0x68, 0x2b, 0xc8, 0x21, 0x13, 0xc2, 0x0f, 0x4f, 0xf8, 0x61, 0xa1, 0x84, 0xa5, 0x3c, 0xf4,
|
||||
0x29, 0x5c, 0x2d, 0xa3, 0x67, 0xd5, 0x9d, 0xc3, 0xc5, 0x7f, 0x58, 0xb0, 0x6c, 0x84, 0x24, 0xfb,
|
||||
0xc2, 0x57, 0x05, 0x12, 0x53, 0x3d, 0x4d, 0xb2, 0xb3, 0xec, 0x42, 0xe1, 0x8f, 0x18, 0x17, 0x74,
|
||||
0x34, 0x56, 0xa1, 0x55, 0x49, 0x4e, 0x90, 0x5c, 0x65, 0x23, 0xbb, 0x7f, 0x0d, 0x92, 0x13, 0xd0,
|
||||
0x47, 0xd0, 0x92, 0x4d, 0xe9, 0xbb, 0x54, 0xf8, 0x51, 0xf8, 0x98, 0x4d, 0x55, 0x34, 0x0b, 0x64,
|
||||
0x86, 0x2a, 0x07, 0x07, 0x67, 0x2c, 0xf1, 0xba, 0x49, 0xd4, 0x37, 0xba, 0x05, 0xc8, 0x48, 0x71,
|
||||
0x9a, 0x8d, 0x9a, 0x92, 0x28, 0xe1, 0xe0, 0x43, 0x68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ae, 0xbd, 0xd3, 0x19, 0xec, 0xcf, 0xd3, 0x4d, 0xa3, 0x20,
|
||||
0x99, 0x06, 0x7e, 0xa9, 0x47, 0xd2, 0x70, 0x72, 0xc4, 0xdd, 0xd8, 0x1f, 0xcb, 0x76, 0x96, 0x77,
|
||||
0x49, 0x0f, 0xf0, 0x34, 0xc4, 0xec, 0x8c, 0xee, 0x43, 0x8d, 0xba, 0x52, 0x4a, 0x3f, 0x18, 0xf8,
|
||||
0x9c, 0x31, 0x03, 0x69, 0x4b, 0x49, 0x12, 0xad, 0x81, 0x07, 0xb0, 0xba, 0xe5, 0x06, 0x5b, 0x9e,
|
||||
0x47, 0x98, 0x1b, 0xc5, 0xde, 0xbf, 0xbf, 0xa5, 0xc6, 0x33, 0x60, 0x17, 0x9e, 0x01, 0xfc, 0x15,
|
||||
0xb4, 0x8b, 0x50, 0x7a, 0x9a, 0x76, 0xa1, 0x1e, 0x2b, 0x4a, 0x06, 0x96, 0x9d, 0xdf, 0x83, 0xf6,
|
||||
0xa5, 0x42, 0x7b, 0xc4, 0x44, 0x82, 0xc6, 0x3f, 0xc8, 0x33, 0xea, 0x06, 0x7b, 0xf9, 0xaa, 0x90,
|
||||
0x1e, 0xf1, 0x06, 0x5c, 0x99, 0xc1, 0xd2, 0xae, 0xa9, 0xd7, 0x4e, 0x91, 0x54, 0x52, 0x9b, 0x24,
|
||||
0x3d, 0xe2, 0x1d, 0x70, 0x86, 0x22, 0x8a, 0x99, 0x7c, 0x70, 0x53, 0xd3, 0xf9, 0x1a, 0x51, 0xfd,
|
||||
0xb0, 0x35, 0x02, 0xef, 0xc1, 0x65, 0x03, 0xe5, 0x02, 0x6b, 0x01, 0xfe, 0x16, 0x56, 0x14, 0xd2,
|
||||
0x63, 0x36, 0x7d, 0x2e, 0xef, 0x18, 0x72, 0xa0, 0xfa, 0x92, 0x4d, 0x75, 0x0e, 0xe4, 0xa7, 0x5c,
|
||||
0xb3, 0xd4, 0xf5, 0xd3, 0x99, 0x4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 0xd4, 0x23, 0xe6, 0x54, 0xa4, 0xea, 0xb3, 0x90, 0x67, 0x04, 0xeb, 0xe6, 0xc7,
|
||||
0x50, 0x4f, 0x17, 0x31, 0xb4, 0x0c, 0x4b, 0x83, 0xd0, 0x97, 0x4b, 0x88, 0x53, 0x41, 0x35, 0xb0,
|
||||
0x9f, 0x6f, 0x38, 0x96, 0xfa, 0xdd, 0x74, 0xec, 0xcd, 0x9f, 0x6a, 0xd0, 0x48, 0x8c, 0x4c, 0x43,
|
||||
0x17, 0x6d, 0x43, 0x3d, 0x2d, 0x2f, 0xea, 0x96, 0xd6, 0x5c, 0x79, 0xdd, 0xbd, 0x56, 0xde, 0x0f,
|
||||
0x49, 0xf7, 0x3c, 0x84, 0x46, 0xd6, 0x52, 0xc8, 0x94, 0x9c, 0x6d, 0xd7, 0xee, 0xf5, 0x72, 0xa6,
|
||||
0xc6, 0x79, 0xa4, 0x1b, 0x6a, 0x37, 0xdd, 0xd2, 0x3b, 0xb3, 0xe2, 0x69, 0xab, 0x75, 0xe7, 0x72,
|
||||
0xd6, 0xad, 0x3b, 0x96, 0x72, 0x28, 0x5d, 0xbd, 0x8a, 0x0e, 0xcd, 0xec, 0x7d, 0x45, 0x87, 0x66,
|
||||
0xb7, 0x35, 0x03, 0x27, 0x08, 0xca, 0x70, 0xb2, 0x1d, 0xae, 0x0c, 0xc7, 0x58, 0xde, 0x08, 0x38,
|
||||
0xf9, 0x3a, 0x3c, 0x14, 0x31, 0xa3, 0x23, 0x74, 0xfd, 0xdc, 0xf3, 0x67, 0xec, 0xca, 0xdd, 0xf7,
|
||||
0x72, 0x55, 0x8c, 0x7b, 0x00, 0x39, 0xe3, 0x22, 0x68, 0xe8, 0x05, 0xac, 0xe5, 0x44, 0x1d, 0xd0,
|
||||
0xc5, 0x9d, 0xbc, 0x63, 0xa1, 0x03, 0x68, 0x9a, 0xd3, 0x17, 0xf5, 0x0c, 0xf9, 0x92, 0x09, 0xdf,
|
||||
0xbd, 0x31, 0x97, 0x9f, 0xe5, 0x71, 0xa5, 0x30, 0x34, 0xd1, 0x8c, 0xc6, 0xb9, 0xd1, 0xdc, 0xed,
|
||||
0xcf, 0x17, 0x48, 0x30, 0x1f, 0x7c, 0xf2, 0xfb, 0xdb, 0x9e, 0xf5, 0xe6, 0x6d, 0xcf, 0xfa, 0xeb,
|
||||
0x6d, 0xcf, 0xfa, 0xe5, 0x5d, 0xaf, 0xf2, 0xe6, 0x5d, 0xaf, 0xf2, 0xe7, 0xbb, 0x5e, 0xe5, 0xeb,
|
||||
0xee, 0xfc, 0x7f, 0x96, 0x8f, 0x6a, 0xea, 0xe7, 0xee, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc2,
|
||||
0xb4, 0x95, 0xdb, 0x51, 0x0f, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *HeadSyncRange) Marshal() (dAtA []byte, err error) {
|
||||
|
@ -2816,6 +2997,122 @@ func (m *AclGetRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *StoreDiffRequest) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *StoreDiffRequest) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *StoreDiffRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if len(m.Ranges) > 0 {
|
||||
for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- {
|
||||
{
|
||||
size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i -= size
|
||||
i = encodeVarintSpacesync(dAtA, i, uint64(size))
|
||||
}
|
||||
i--
|
||||
dAtA[i] = 0x1a
|
||||
}
|
||||
}
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *StoreDiffResponse) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *StoreDiffResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *StoreDiffResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if len(m.Results) > 0 {
|
||||
for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- {
|
||||
{
|
||||
size, err := m.Results[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i -= size
|
||||
i = encodeVarintSpacesync(dAtA, i, uint64(size))
|
||||
}
|
||||
i--
|
||||
dAtA[i] = 0xa
|
||||
}
|
||||
}
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *StoreKeyValue) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *StoreKeyValue) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *StoreKeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if m.TimestampMilli != 0 {
|
||||
i = encodeVarintSpacesync(dAtA, i, uint64(m.TimestampMilli))
|
||||
i--
|
||||
dAtA[i] = 0x18
|
||||
}
|
||||
if len(m.Value) > 0 {
|
||||
i -= len(m.Value)
|
||||
copy(dAtA[i:], m.Value)
|
||||
i = encodeVarintSpacesync(dAtA, i, uint64(len(m.Value)))
|
||||
i--
|
||||
dAtA[i] = 0x12
|
||||
}
|
||||
if len(m.Key) > 0 {
|
||||
i -= len(m.Key)
|
||||
copy(dAtA[i:], m.Key)
|
||||
i = encodeVarintSpacesync(dAtA, i, uint64(len(m.Key)))
|
||||
i--
|
||||
dAtA[i] = 0xa
|
||||
}
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func encodeVarintSpacesync(dAtA []byte, offset int, v uint64) int {
|
||||
offset -= sovSpacesync(v)
|
||||
base := offset
|
||||
|
@ -3286,6 +3583,56 @@ func (m *AclGetRecordsResponse) Size() (n int) {
|
|||
return n
|
||||
}
|
||||
|
||||
func (m *StoreDiffRequest) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
var l int
|
||||
_ = l
|
||||
if len(m.Ranges) > 0 {
|
||||
for _, e := range m.Ranges {
|
||||
l = e.Size()
|
||||
n += 1 + l + sovSpacesync(uint64(l))
|
||||
}
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *StoreDiffResponse) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
var l int
|
||||
_ = l
|
||||
if len(m.Results) > 0 {
|
||||
for _, e := range m.Results {
|
||||
l = e.Size()
|
||||
n += 1 + l + sovSpacesync(uint64(l))
|
||||
}
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *StoreKeyValue) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
var l int
|
||||
_ = l
|
||||
l = len(m.Key)
|
||||
if l > 0 {
|
||||
n += 1 + l + sovSpacesync(uint64(l))
|
||||
}
|
||||
l = len(m.Value)
|
||||
if l > 0 {
|
||||
n += 1 + l + sovSpacesync(uint64(l))
|
||||
}
|
||||
if m.TimestampMilli != 0 {
|
||||
n += 1 + sovSpacesync(uint64(m.TimestampMilli))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func sovSpacesync(x uint64) (n int) {
|
||||
return (math_bits.Len64(x|1) + 6) / 7
|
||||
}
|
||||
|
@ -6179,6 +6526,309 @@ func (m *AclGetRecordsResponse) Unmarshal(dAtA []byte) error {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
func (m *StoreDiffRequest) 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 ErrIntOverflowSpacesync
|
||||
}
|
||||
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: StoreDiffRequest: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: StoreDiffRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 3:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowSpacesync
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.Ranges = append(m.Ranges, &HeadSyncRange{})
|
||||
if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipSpacesync(dAtA[iNdEx:])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
if (iNdEx + skippy) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
iNdEx += skippy
|
||||
}
|
||||
}
|
||||
|
||||
if iNdEx > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *StoreDiffResponse) 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 ErrIntOverflowSpacesync
|
||||
}
|
||||
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: StoreDiffResponse: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: StoreDiffResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowSpacesync
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.Results = append(m.Results, &HeadSyncResult{})
|
||||
if err := m.Results[len(m.Results)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipSpacesync(dAtA[iNdEx:])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
if (iNdEx + skippy) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
iNdEx += skippy
|
||||
}
|
||||
}
|
||||
|
||||
if iNdEx > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *StoreKeyValue) 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 ErrIntOverflowSpacesync
|
||||
}
|
||||
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: StoreKeyValue: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: StoreKeyValue: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowSpacesync
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.Key = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
case 2:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
||||
}
|
||||
var byteLen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowSpacesync
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
byteLen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if byteLen < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
postIndex := iNdEx + byteLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...)
|
||||
if m.Value == nil {
|
||||
m.Value = []byte{}
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 3:
|
||||
if wireType != 0 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field TimestampMilli", wireType)
|
||||
}
|
||||
m.TimestampMilli = 0
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowSpacesync
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
m.TimestampMilli |= int64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipSpacesync(dAtA[iNdEx:])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||
return ErrInvalidLengthSpacesync
|
||||
}
|
||||
if (iNdEx + skippy) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
iNdEx += skippy
|
||||
}
|
||||
}
|
||||
|
||||
if iNdEx > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func skipSpacesync(dAtA []byte) (n int, err error) {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue