|
|
|
|
@ -60,7 +60,7 @@ func (x ReadRequest_ResponseType) String() string { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (ReadRequest_ResponseType) EnumDescriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{3, 0} |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{2, 0} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type WriteRequest struct { |
|
|
|
|
@ -118,62 +118,6 @@ func (m *WriteRequest) GetMetadata() []MetricMetadata { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type WriteRequestWithRefs struct { |
|
|
|
|
Timeseries []ReducedTimeSeries `protobuf:"bytes,1,rep,name=timeseries,proto3" json:"timeseries"` |
|
|
|
|
// Symbol table for label names/values.
|
|
|
|
|
StringSymbolTable map[uint64]string `protobuf:"bytes,4,rep,name=string_symbol_table,json=stringSymbolTable,proto3" json:"string_symbol_table" 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 *WriteRequestWithRefs) Reset() { *m = WriteRequestWithRefs{} } |
|
|
|
|
func (m *WriteRequestWithRefs) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*WriteRequestWithRefs) ProtoMessage() {} |
|
|
|
|
func (*WriteRequestWithRefs) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{1} |
|
|
|
|
} |
|
|
|
|
func (m *WriteRequestWithRefs) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return m.Unmarshal(b) |
|
|
|
|
} |
|
|
|
|
func (m *WriteRequestWithRefs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
|
|
|
|
if deterministic { |
|
|
|
|
return xxx_messageInfo_WriteRequestWithRefs.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 *WriteRequestWithRefs) XXX_Merge(src proto.Message) { |
|
|
|
|
xxx_messageInfo_WriteRequestWithRefs.Merge(m, src) |
|
|
|
|
} |
|
|
|
|
func (m *WriteRequestWithRefs) XXX_Size() int { |
|
|
|
|
return m.Size() |
|
|
|
|
} |
|
|
|
|
func (m *WriteRequestWithRefs) XXX_DiscardUnknown() { |
|
|
|
|
xxx_messageInfo_WriteRequestWithRefs.DiscardUnknown(m) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_WriteRequestWithRefs proto.InternalMessageInfo |
|
|
|
|
|
|
|
|
|
func (m *WriteRequestWithRefs) GetTimeseries() []ReducedTimeSeries { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Timeseries |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *WriteRequestWithRefs) GetStringSymbolTable() map[uint64]string { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.StringSymbolTable |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type MinimizedWriteRequest struct { |
|
|
|
|
Timeseries []MinimizedTimeSeries `protobuf:"bytes,1,rep,name=timeseries,proto3" json:"timeseries"` |
|
|
|
|
// The symbols table. All symbols are concatenated strings. To read the symbols table, it's required
|
|
|
|
|
@ -188,7 +132,7 @@ func (m *MinimizedWriteRequest) Reset() { *m = MinimizedWriteRequest{} } |
|
|
|
|
func (m *MinimizedWriteRequest) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*MinimizedWriteRequest) ProtoMessage() {} |
|
|
|
|
func (*MinimizedWriteRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{2} |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{1} |
|
|
|
|
} |
|
|
|
|
func (m *MinimizedWriteRequest) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return m.Unmarshal(b) |
|
|
|
|
@ -249,7 +193,7 @@ func (m *ReadRequest) Reset() { *m = ReadRequest{} } |
|
|
|
|
func (m *ReadRequest) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*ReadRequest) ProtoMessage() {} |
|
|
|
|
func (*ReadRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{3} |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{2} |
|
|
|
|
} |
|
|
|
|
func (m *ReadRequest) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return m.Unmarshal(b) |
|
|
|
|
@ -305,7 +249,7 @@ func (m *ReadResponse) Reset() { *m = ReadResponse{} } |
|
|
|
|
func (m *ReadResponse) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*ReadResponse) ProtoMessage() {} |
|
|
|
|
func (*ReadResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{4} |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{3} |
|
|
|
|
} |
|
|
|
|
func (m *ReadResponse) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return m.Unmarshal(b) |
|
|
|
|
@ -355,7 +299,7 @@ func (m *Query) Reset() { *m = Query{} } |
|
|
|
|
func (m *Query) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*Query) ProtoMessage() {} |
|
|
|
|
func (*Query) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{5} |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{4} |
|
|
|
|
} |
|
|
|
|
func (m *Query) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return m.Unmarshal(b) |
|
|
|
|
@ -424,7 +368,7 @@ func (m *QueryResult) Reset() { *m = QueryResult{} } |
|
|
|
|
func (m *QueryResult) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*QueryResult) ProtoMessage() {} |
|
|
|
|
func (*QueryResult) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{6} |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{5} |
|
|
|
|
} |
|
|
|
|
func (m *QueryResult) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return m.Unmarshal(b) |
|
|
|
|
@ -477,7 +421,7 @@ func (m *ChunkedReadResponse) Reset() { *m = ChunkedReadResponse{} } |
|
|
|
|
func (m *ChunkedReadResponse) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*ChunkedReadResponse) ProtoMessage() {} |
|
|
|
|
func (*ChunkedReadResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{7} |
|
|
|
|
return fileDescriptor_eefc82927d57d89b, []int{6} |
|
|
|
|
} |
|
|
|
|
func (m *ChunkedReadResponse) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return m.Unmarshal(b) |
|
|
|
|
@ -523,8 +467,6 @@ func (m *ChunkedReadResponse) GetQueryIndex() int64 { |
|
|
|
|
func init() { |
|
|
|
|
proto.RegisterEnum("prometheus.ReadRequest_ResponseType", ReadRequest_ResponseType_name, ReadRequest_ResponseType_value) |
|
|
|
|
proto.RegisterType((*WriteRequest)(nil), "prometheus.WriteRequest") |
|
|
|
|
proto.RegisterType((*WriteRequestWithRefs)(nil), "prometheus.WriteRequestWithRefs") |
|
|
|
|
proto.RegisterMapType((map[uint64]string)(nil), "prometheus.WriteRequestWithRefs.StringSymbolTableEntry") |
|
|
|
|
proto.RegisterType((*MinimizedWriteRequest)(nil), "prometheus.MinimizedWriteRequest") |
|
|
|
|
proto.RegisterType((*ReadRequest)(nil), "prometheus.ReadRequest") |
|
|
|
|
proto.RegisterType((*ReadResponse)(nil), "prometheus.ReadResponse") |
|
|
|
|
@ -536,48 +478,41 @@ func init() { |
|
|
|
|
func init() { proto.RegisterFile("remote.proto", fileDescriptor_eefc82927d57d89b) } |
|
|
|
|
|
|
|
|
|
var fileDescriptor_eefc82927d57d89b = []byte{ |
|
|
|
|
// 655 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0xd3, 0x4a, |
|
|
|
|
0x14, 0xae, 0x93, 0xb4, 0xc9, 0x3d, 0xe9, 0xad, 0xdc, 0x69, 0xda, 0xfa, 0x46, 0xba, 0x6d, 0x64, |
|
|
|
|
0xdd, 0x45, 0xa4, 0x5e, 0x05, 0x51, 0x2a, 0x40, 0xa8, 0x0b, 0xfa, 0x13, 0xa9, 0x94, 0x9a, 0x9f, |
|
|
|
|
0x71, 0x50, 0x11, 0x42, 0xb2, 0x1c, 0xfb, 0xd0, 0x58, 0x8d, 0x7f, 0xea, 0x19, 0xa3, 0x9a, 0x35, |
|
|
|
|
0x0f, 0xc0, 0x03, 0xf0, 0x34, 0xac, 0xba, 0x42, 0x3c, 0x01, 0x42, 0x7d, 0x12, 0xe4, 0xb1, 0x1d, |
|
|
|
|
0x26, 0x25, 0xaa, 0xd8, 0xcd, 0x9c, 0xef, 0x67, 0xce, 0x7c, 0x67, 0x6c, 0x58, 0x8c, 0xd1, 0x0f, |
|
|
|
|
0x39, 0xf6, 0xa2, 0x38, 0xe4, 0x21, 0x81, 0x28, 0x0e, 0x7d, 0xe4, 0x23, 0x4c, 0x58, 0xbb, 0xc9, |
|
|
|
|
0xd3, 0x08, 0x59, 0x0e, 0xb4, 0x5b, 0x67, 0xe1, 0x59, 0x28, 0x96, 0x77, 0xb2, 0x55, 0x5e, 0xd5, |
|
|
|
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d, 0xa1, 0xbc, 0x59, 0xc8, 0x7c, 0xa3, 0xe1, 0x70, 0x41, 0xfc, 0xef, |
|
|
|
|
0xee, 0xfd, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x42, 0x7e, 0x2f, 0x97, 0x2e, 0x05, 0x00, 0x00, |
|
|
|
|
// 543 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcd, 0x6e, 0xd3, 0x40, |
|
|
|
|
0x10, 0xae, 0xeb, 0xb4, 0x09, 0xe3, 0x10, 0x99, 0x6d, 0x43, 0x4c, 0x0e, 0x49, 0x64, 0x71, 0x88, |
|
|
|
|
0x54, 0x14, 0x44, 0xa8, 0x38, 0xf5, 0x40, 0x5a, 0x22, 0x95, 0x52, 0xf3, 0xb3, 0x09, 0x02, 0x21, |
|
|
|
|
0x24, 0xcb, 0xb1, 0x47, 0x8d, 0x45, 0xfc, 0x53, 0xef, 0x5a, 0x6a, 0x38, 0xf3, 0x00, 0x3c, 0x13, |
|
|
|
|
0xa7, 0x9e, 0x10, 0x4f, 0x80, 0x50, 0x9e, 0x04, 0x79, 0x6d, 0x87, 0x0d, 0x20, 0xc4, 0xcd, 0xfb, |
|
|
|
|
0xfd, 0xcd, 0xec, 0xec, 0x18, 0xea, 0x09, 0x06, 0x11, 0xc7, 0x41, 0x9c, 0x44, 0x3c, 0x22, 0x10, |
|
|
|
|
0x27, 0x51, 0x80, 0x7c, 0x8e, 0x29, 0x6b, 0x6b, 0x7c, 0x19, 0x23, 0xcb, 0x89, 0xf6, 0xfe, 0x45, |
|
|
|
|
0x74, 0x11, 0x89, 0xcf, 0xfb, 0xd9, 0x57, 0x8e, 0x9a, 0x9f, 0x15, 0xa8, 0xbf, 0x49, 0x7c, 0x8e, |
|
|
|
|
0x14, 0x2f, 0x53, 0x64, 0x9c, 0x1c, 0x01, 0x70, 0x3f, 0x40, 0x86, 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8, 0x39, 0x6c, 0x6f, 0x44, 0xde, 0x91, |
|
|
|
|
0x23, 0x0b, 0x63, 0x91, 0x7a, 0xd3, 0x95, 0x8f, 0xa4, 0x0b, 0x5a, 0xb6, 0x46, 0x4b, 0xdb, 0x0f, |
|
|
|
|
0x3d, 0xbc, 0x2a, 0xe6, 0x04, 0x02, 0x7a, 0x9a, 0x21, 0xc7, 0xfb, 0xd7, 0xab, 0x8e, 0xf2, 0x6d, |
|
|
|
|
0xd5, 0x51, 0x7e, 0xac, 0x3a, 0xca, 0xbb, 0xdd, 0x2c, 0x37, 0x9e, 0xcd, 0x76, 0xc5, 0x0f, 0xfd, |
|
|
|
|
0xf0, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb0, 0x3e, 0xdc, 0x81, 0x0f, 0x04, 0x00, 0x00, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *WriteRequest) Marshal() (dAtA []byte, err error) { |
|
|
|
|
@ -635,64 +570,6 @@ func (m *WriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
|
|
|
|
return len(dAtA) - i, nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *WriteRequestWithRefs) 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 *WriteRequestWithRefs) MarshalTo(dAtA []byte) (int, error) { |
|
|
|
|
size := m.Size() |
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size]) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *WriteRequestWithRefs) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
|
|
|
|
i := len(dAtA) |
|
|
|
|
_ = i |
|
|
|
|
var l int |
|
|
|
|
_ = l |
|
|
|
|
if m.XXX_unrecognized != nil { |
|
|
|
|
i -= len(m.XXX_unrecognized) |
|
|
|
|
copy(dAtA[i:], m.XXX_unrecognized) |
|
|
|
|
} |
|
|
|
|
if len(m.StringSymbolTable) > 0 { |
|
|
|
|
for k := range m.StringSymbolTable { |
|
|
|
|
v := m.StringSymbolTable[k] |
|
|
|
|
baseI := i |
|
|
|
|
i -= len(v) |
|
|
|
|
copy(dAtA[i:], v) |
|
|
|
|
i = encodeVarintRemote(dAtA, i, uint64(len(v))) |
|
|
|
|
i-- |
|
|
|
|
dAtA[i] = 0x12 |
|
|
|
|
i = encodeVarintRemote(dAtA, i, uint64(k)) |
|
|
|
|
i-- |
|
|
|
|
dAtA[i] = 0x8 |
|
|
|
|
i = encodeVarintRemote(dAtA, i, uint64(baseI-i)) |
|
|
|
|
i-- |
|
|
|
|
dAtA[i] = 0x22 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if len(m.Timeseries) > 0 { |
|
|
|
|
for iNdEx := len(m.Timeseries) - 1; iNdEx >= 0; iNdEx-- { |
|
|
|
|
{ |
|
|
|
|
size, err := m.Timeseries[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
|
|
|
|
if err != nil { |
|
|
|
|
return 0, err |
|
|
|
|
} |
|
|
|
|
i -= size |
|
|
|
|
i = encodeVarintRemote(dAtA, i, uint64(size)) |
|
|
|
|
} |
|
|
|
|
i-- |
|
|
|
|
dAtA[i] = 0xa |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return len(dAtA) - i, nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *MinimizedWriteRequest) Marshal() (dAtA []byte, err error) { |
|
|
|
|
size := m.Size() |
|
|
|
|
dAtA = make([]byte, size) |
|
|
|
|
@ -1026,32 +903,6 @@ func (m *WriteRequest) Size() (n int) { |
|
|
|
|
return n |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *WriteRequestWithRefs) Size() (n int) { |
|
|
|
|
if m == nil { |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
var l int |
|
|
|
|
_ = l |
|
|
|
|
if len(m.Timeseries) > 0 { |
|
|
|
|
for _, e := range m.Timeseries { |
|
|
|
|
l = e.Size() |
|
|
|
|
n += 1 + l + sovRemote(uint64(l)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if len(m.StringSymbolTable) > 0 { |
|
|
|
|
for k, v := range m.StringSymbolTable { |
|
|
|
|
_ = k |
|
|
|
|
_ = v |
|
|
|
|
mapEntrySize := 1 + sovRemote(uint64(k)) + 1 + len(v) + sovRemote(uint64(len(v))) |
|
|
|
|
n += mapEntrySize + 1 + sovRemote(uint64(mapEntrySize)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if m.XXX_unrecognized != nil { |
|
|
|
|
n += len(m.XXX_unrecognized) |
|
|
|
|
} |
|
|
|
|
return n |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *MinimizedWriteRequest) Size() (n int) { |
|
|
|
|
if m == nil { |
|
|
|
|
return 0 |
|
|
|
|
@ -1309,204 +1160,6 @@ func (m *WriteRequest) Unmarshal(dAtA []byte) error { |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
func (m *WriteRequestWithRefs) 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 ErrIntOverflowRemote |
|
|
|
|
} |
|
|
|
|
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: WriteRequestWithRefs: wiretype end group for non-group") |
|
|
|
|
} |
|
|
|
|
if fieldNum <= 0 { |
|
|
|
|
return fmt.Errorf("proto: WriteRequestWithRefs: illegal tag %d (wire type %d)", fieldNum, wire) |
|
|
|
|
} |
|
|
|
|
switch fieldNum { |
|
|
|
|
case 1: |
|
|
|
|
if wireType != 2 { |
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Timeseries", wireType) |
|
|
|
|
} |
|
|
|
|
var msglen int |
|
|
|
|
for shift := uint(0); ; shift += 7 { |
|
|
|
|
if shift >= 64 { |
|
|
|
|
return ErrIntOverflowRemote |
|
|
|
|
} |
|
|
|
|
if iNdEx >= l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
b := dAtA[iNdEx] |
|
|
|
|
iNdEx++ |
|
|
|
|
msglen |= int(b&0x7F) << shift |
|
|
|
|
if b < 0x80 { |
|
|
|
|
break |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if msglen < 0 { |
|
|
|
|
return ErrInvalidLengthRemote |
|
|
|
|
} |
|
|
|
|
postIndex := iNdEx + msglen |
|
|
|
|
if postIndex < 0 { |
|
|
|
|
return ErrInvalidLengthRemote |
|
|
|
|
} |
|
|
|
|
if postIndex > l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
m.Timeseries = append(m.Timeseries, ReducedTimeSeries{}) |
|
|
|
|
if err := m.Timeseries[len(m.Timeseries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
|
|
|
|
return err |
|
|
|
|
} |
|
|
|
|
iNdEx = postIndex |
|
|
|
|
case 4: |
|
|
|
|
if wireType != 2 { |
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StringSymbolTable", wireType) |
|
|
|
|
} |
|
|
|
|
var msglen int |
|
|
|
|
for shift := uint(0); ; shift += 7 { |
|
|
|
|
if shift >= 64 { |
|
|
|
|
return ErrIntOverflowRemote |
|
|
|
|
} |
|
|
|
|
if iNdEx >= l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
b := dAtA[iNdEx] |
|
|
|
|
iNdEx++ |
|
|
|
|
msglen |= int(b&0x7F) << shift |
|
|
|
|
if b < 0x80 { |
|
|
|
|
break |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if msglen < 0 { |
|
|
|
|
return ErrInvalidLengthRemote |
|
|
|
|
} |
|
|
|
|
postIndex := iNdEx + msglen |
|
|
|
|
if postIndex < 0 { |
|
|
|
|
return ErrInvalidLengthRemote |
|
|
|
|
} |
|
|
|
|
if postIndex > l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
if m.StringSymbolTable == nil { |
|
|
|
|
m.StringSymbolTable = make(map[uint64]string) |
|
|
|
|
} |
|
|
|
|
var mapkey uint64 |
|
|
|
|
var mapvalue string |
|
|
|
|
for iNdEx < postIndex { |
|
|
|
|
entryPreIndex := iNdEx |
|
|
|
|
var wire uint64 |
|
|
|
|
for shift := uint(0); ; shift += 7 { |
|
|
|
|
if shift >= 64 { |
|
|
|
|
return ErrIntOverflowRemote |
|
|
|
|
} |
|
|
|
|
if iNdEx >= l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
b := dAtA[iNdEx] |
|
|
|
|
iNdEx++ |
|
|
|
|
wire |= uint64(b&0x7F) << shift |
|
|
|
|
if b < 0x80 { |
|
|
|
|
break |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
fieldNum := int32(wire >> 3) |
|
|
|
|
if fieldNum == 1 { |
|
|
|
|
for shift := uint(0); ; shift += 7 { |
|
|
|
|
if shift >= 64 { |
|
|
|
|
return ErrIntOverflowRemote |
|
|
|
|
} |
|
|
|
|
if iNdEx >= l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
b := dAtA[iNdEx] |
|
|
|
|
iNdEx++ |
|
|
|
|
mapkey |= uint64(b&0x7F) << shift |
|
|
|
|
if b < 0x80 { |
|
|
|
|
break |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} else if fieldNum == 2 { |
|
|
|
|
var stringLenmapvalue uint64 |
|
|
|
|
for shift := uint(0); ; shift += 7 { |
|
|
|
|
if shift >= 64 { |
|
|
|
|
return ErrIntOverflowRemote |
|
|
|
|
} |
|
|
|
|
if iNdEx >= l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
b := dAtA[iNdEx] |
|
|
|
|
iNdEx++ |
|
|
|
|
stringLenmapvalue |= uint64(b&0x7F) << shift |
|
|
|
|
if b < 0x80 { |
|
|
|
|
break |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
intStringLenmapvalue := int(stringLenmapvalue) |
|
|
|
|
if intStringLenmapvalue < 0 { |
|
|
|
|
return ErrInvalidLengthRemote |
|
|
|
|
} |
|
|
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
|
|
|
|
if postStringIndexmapvalue < 0 { |
|
|
|
|
return ErrInvalidLengthRemote |
|
|
|
|
} |
|
|
|
|
if postStringIndexmapvalue > l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
|
|
|
|
iNdEx = postStringIndexmapvalue |
|
|
|
|
} else { |
|
|
|
|
iNdEx = entryPreIndex |
|
|
|
|
skippy, err := skipRemote(dAtA[iNdEx:]) |
|
|
|
|
if err != nil { |
|
|
|
|
return err |
|
|
|
|
} |
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 { |
|
|
|
|
return ErrInvalidLengthRemote |
|
|
|
|
} |
|
|
|
|
if (iNdEx + skippy) > postIndex { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
iNdEx += skippy |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
m.StringSymbolTable[mapkey] = mapvalue |
|
|
|
|
iNdEx = postIndex |
|
|
|
|
default: |
|
|
|
|
iNdEx = preIndex |
|
|
|
|
skippy, err := skipRemote(dAtA[iNdEx:]) |
|
|
|
|
if err != nil { |
|
|
|
|
return err |
|
|
|
|
} |
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 { |
|
|
|
|
return ErrInvalidLengthRemote |
|
|
|
|
} |
|
|
|
|
if (iNdEx + skippy) > l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
|
|
|
iNdEx += skippy |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if iNdEx > l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
func (m *MinimizedWriteRequest) Unmarshal(dAtA []byte) error { |
|
|
|
|
l := len(dAtA) |
|
|
|
|
iNdEx := 0 |
|
|
|
|
|