@ -60,15 +60,18 @@ func (x ReadRequest_ResponseType) String() string {
}
func ( ReadRequest_ResponseType ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_eefc82927d57d89b , [ ] int { 3 , 0 }
return fileDescriptor_eefc82927d57d89b , [ ] int { 1 , 0 }
}
type WriteRequest struct {
Timeseries [ ] TimeSeries ` protobuf:"bytes,1,rep,name=timeseries,proto3" json:"timeseries" `
Metadata [ ] MetricMetadata ` protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
Timeseries [ ] TimeSeries ` 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
// to know the offset:length range of the actual symbol to read from this string.
Symbols string ` protobuf:"bytes,4,opt,name=symbols,proto3" json:"symbols,omitempty" `
Symbols2 [ ] string ` protobuf:"bytes,5,rep,name=symbols2,proto3" json:"symbols2,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * WriteRequest ) Reset ( ) { * m = WriteRequest { } }
@ -111,123 +114,16 @@ func (m *WriteRequest) GetTimeseries() []TimeSeries {
return nil
}
func ( m * WriteRequest ) GetMetadata ( ) [ ] MetricMetadata {
if m != nil {
return m . Metadata
}
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
// to know the offset:length range of the actual symbol to read from this string.
Symbols string ` protobuf:"bytes,4,opt,name=symbols,proto3" json:"symbols,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
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 { 1 }
}
func ( m * MinimizedWriteRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
}
func ( m * MinimizedWriteRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
if deterministic {
return xxx_messageInfo_MinimizedWriteRequest . 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 * MinimizedWriteRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_MinimizedWriteRequest . Merge ( m , src )
}
func ( m * MinimizedWriteRequest ) XXX_Size ( ) int {
return m . Size ( )
}
func ( m * MinimizedWriteRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_MinimizedWriteRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_MinimizedWriteRequest proto . InternalMessageInfo
func ( m * MinimizedWriteRequest ) GetTimeseries ( ) [ ] MinimizedTimeSeries {
if m != nil {
return m . Timeseries
}
return nil
}
func ( m * MinimizedWriteRequest ) GetSymbols ( ) string {
func ( m * WriteRequest ) GetSymbols ( ) string {
if m != nil {
return m . Symbols
}
return ""
}
type MinimizedWriteRequestLen struct {
Timeseries [ ] MinimizedTimeSeriesLen ` protobuf:"bytes,1,rep,name=timeseries,proto3" json:"timeseries" `
// The symbols table. All symbols are concatenated strings prepended with a varint of their length.
// To read the symbols table, it's required to know the offset of the actual symbol to read from this string.
Symbols [ ] byte ` protobuf:"bytes,4,opt,name=symbols,proto3" json:"symbols,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * MinimizedWriteRequestLen ) Reset ( ) { * m = MinimizedWriteRequestLen { } }
func ( m * MinimizedWriteRequestLen ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * MinimizedWriteRequestLen ) ProtoMessage ( ) { }
func ( * MinimizedWriteRequestLen ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_eefc82927d57d89b , [ ] int { 2 }
}
func ( m * MinimizedWriteRequestLen ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
}
func ( m * MinimizedWriteRequestLen ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
if deterministic {
return xxx_messageInfo_MinimizedWriteRequestLen . 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 * MinimizedWriteRequestLen ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_MinimizedWriteRequestLen . Merge ( m , src )
}
func ( m * MinimizedWriteRequestLen ) XXX_Size ( ) int {
return m . Size ( )
}
func ( m * MinimizedWriteRequestLen ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_MinimizedWriteRequestLen . DiscardUnknown ( m )
}
var xxx_messageInfo_MinimizedWriteRequestLen proto . InternalMessageInfo
func ( m * MinimizedWriteRequestLen ) GetTimeseries ( ) [ ] MinimizedTimeSeriesLen {
func ( m * WriteRequest ) GetSymbols2 ( ) [ ] string {
if m != nil {
return m . Timeseries
}
return nil
}
func ( m * MinimizedWriteRequestLen ) GetSymbols ( ) [ ] byte {
if m != nil {
return m . Symbols
return m . Symbols2
}
return nil
}
@ -250,7 +146,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 { 1 }
}
func ( m * ReadRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
@ -306,7 +202,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 { 2 }
}
func ( m * ReadResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
@ -356,7 +252,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 { 3 }
}
func ( m * Query ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
@ -425,7 +321,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 { 4 }
}
func ( m * QueryResult ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
@ -478,7 +374,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 { 5 }
}
func ( m * ChunkedReadResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
@ -524,8 +420,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 ( ( * MinimizedWriteRequest ) ( nil ) , "prometheus.MinimizedWriteRequest" )
proto . RegisterType ( ( * MinimizedWriteRequestLen ) ( nil ) , "prometheus.MinimizedWriteRequestLen" )
proto . RegisterType ( ( * ReadRequest ) ( nil ) , "prometheus.ReadRequest" )
proto . RegisterType ( ( * ReadResponse ) ( nil ) , "prometheus.ReadResponse" )
proto . RegisterType ( ( * Query ) ( nil ) , "prometheus.Query" )
@ -536,43 +430,39 @@ func init() {
func init ( ) { proto . RegisterFile ( "remote.proto" , fileDescriptor_eefc82927d57d89b ) }
var fileDescriptor_eefc82927d57d89b = [ ] byte {
// 568 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0x8c , 0x54 , 0x4b , 0x6f , 0xd3 , 0x40 ,
0x10 , 0xee , 0xd6 , 0x69 , 0x13 , 0xc6 , 0xa1 , 0x32 , 0xdb , 0x96 , 0x9a , 0x1e , 0x9a , 0xc8 , 0xe2 , 0x10 ,
0xa9 , 0x28 , 0x88 , 0x50 , 0x71 , 0xea , 0x81 , 0xb4 , 0x44 , 0x0a , 0x25 , 0xe6 , 0xb1 , 0x09 , 0x02 , 0x21 ,
0x24 , 0xcb , 0xb1 , 0x47 , 0x8d , 0x45 , 0xfc , 0xa8 , 0x77 , 0x2d , 0x35 , 0x9c , 0x39 , 0x71 , 0xe2 , 0x37 ,
0x71 , 0xea , 0x09 , 0xf1 , 0x0b , 0x10 , 0xca , 0x2f , 0x41 , 0x7e , 0x85 , 0x0d , 0x44 , 0x94 , 0xdb , 0xee ,
0x7c , 0x8f , 0xfd , 0x76 , 0x76 , 0x6c , 0xa8 , 0xc7 , 0xe8 , 0x87 , 0x02 , 0xdb , 0x51 , 0x1c , 0x8a , 0x90 ,
0x42 , 0x14 , 0x87 , 0x3e , 0x8a , 0x09 , 0x26 , 0x7c , 0x5f , 0x15 , 0xb3 , 0x08 , 0x79 , 0x0e , 0xec , 0xef ,
0x9c , 0x87 , 0xe7 , 0x61 , 0xb6 , 0xbc , 0x9f , 0xae , 0xf2 , 0xaa , 0xf1 , 0x85 , 0x40 , 0xfd , 0x4d , 0xec ,
0x09 , 0x64 , 0x78 , 0x91 , 0x20 , 0x17 , 0xf4 , 0x18 , 0x40 , 0x78 , 0x3e , 0x72 , 0x8c , 0x3d , 0xe4 , 0x3a ,
0x69 , 0x2a , 0x2d , 0xb5 , 0x73 , 0xbb , 0xfd , 0xdb , 0xb4 , 0x3d , 0xf2 , 0x7c , 0x1c , 0x66 , 0xe8 , 0x49 ,
0xe5 , 0xea , 0x47 , 0x63 , 0x8d , 0x49 , 0x7c , 0x7a , 0x0c , 0x35 , 0x1f , 0x85 , 0xed , 0xda , 0xc2 , 0xd6 ,
0x95 , 0x4c , 0xbb , 0x2f , 0x6b , 0x4d , 0x14 , 0xb1 , 0xe7 , 0x98 , 0x05 , 0xa3 , 0xd0 , 0x2f , 0x14 , 0x67 ,
0x95 , 0xda , 0xba , 0xa6 , 0x18 , 0x9f , 0x08 , 0xec , 0x9a , 0x5e , 0xe0 , 0xf9 , 0xde , 0x47 , 0x74 , 0x97 ,
0xb2 , 0xf5 , 0x56 , 0x64 , 0x6b , 0x2c , 0xf9 , 0x97 , 0xb2 , 0x7f , 0x86 , 0xd4 , 0xa1 , 0xca , 0x67 , 0xfe ,
0x38 , 0x9c , 0x72 , 0xbd , 0xd2 , 0x24 , 0xad , 0x1b , 0xac , 0xdc , 0xe6 , 0x01 , 0xce , 0x2a , 0x35 , 0x45 ,
0xab , 0x18 , 0x9f , 0x09 , 0xe8 , 0x2b , 0x63 , 0x0c , 0x30 , 0xa0 , 0xfd , 0x15 , 0x49 , 0x8c , 0x6b , 0x92 ,
0x0c , 0x30 , 0xb8 , 0x3e , 0x4c , 0x7d , 0x75 , 0x98 , 0x6f , 0x04 , 0x54 , 0x86 , 0xb6 , 0x5b , 0x76 , 0xe2 ,
0x10 , 0xaa , 0x17 , 0x89 , 0x7c , 0xf8 , 0x2d , 0xf9 , 0xf0 , 0x57 , 0x09 , 0xc6 , 0x33 , 0x56 , 0x32 , 0xe8 ,
0x7b , 0xd8 , 0xb3 , 0x1d , 0x07 , 0x23 , 0x81 , 0xae , 0x15 , 0x23 , 0x8f , 0xc2 , 0x80 , 0xa3 , 0x95 , 0x8d ,
0x86 , 0xbe , 0xde , 0x54 , 0x5a , 0x5b , 0x9d , 0xbb , 0xb2 , 0x58 , 0x3a , 0xa6 , 0xcd , 0x0a , 0xf6 , 0x68 ,
0x16 , 0x21 , 0xdb , 0x2d , 0x4d , 0xe4 , 0x2a , 0x37 , 0x8e , 0xa0 , 0x2e , 0x17 , 0xa8 , 0x0a , 0xd5 , 0x61 ,
0xd7 , 0x7c , 0x39 , 0xe8 , 0x0d , 0xb5 , 0x35 , 0xba , 0x07 , 0xdb , 0xc3 , 0x11 , 0xeb , 0x75 , 0xcd , 0xde ,
0x13 , 0xeb , 0xed , 0x0b , 0x66 , 0x9d , 0xf6 , 0x5f , 0x3f , 0x7f , 0x36 , 0xd4 , 0x88 , 0xd1 , 0x4d , 0x55 ,
0xf6 , 0xc2 , 0x8a , 0x3e , 0x80 , 0x6a , 0x8c , 0x3c , 0x99 , 0x8a , 0xf2 , 0x42 , 0x7b , 0x7f , 0x5f , 0x28 ,
0xc3 , 0x59 , 0xc9 , 0x33 , 0xbe , 0x12 , 0xd8 , 0xc8 , 0x00 , 0x7a , 0x0f , 0x28 , 0x17 , 0x76 , 0x2c , 0xac ,
0xac , 0xaf , 0xc2 , 0xf6 , 0x23 , 0xcb , 0x4f , 0x7d , 0x48 , 0x4b , 0x61 , 0x5a , 0x86 , 0x8c , 0x4a , 0xc0 ,
0xe4 , 0xb4 , 0x05 , 0x1a , 0x06 , 0xee , 0x32 , 0x77 , 0x3d , 0xe3 , 0x6e , 0x61 , 0xe0 , 0xca , 0xcc , 0x23 ,
0xa8 , 0xf9 , 0xb6 , 0x70 , 0x26 , 0x18 , 0xf3 , 0x62 , 0x9a , 0x75 , 0x39 , 0xd5 , 0xc0 , 0x1e , 0xe3 , 0xd4 ,
0xcc , 0x09 , 0x6c , 0xc1 , 0xa4 , 0x87 , 0xb0 , 0x31 , 0xf1 , 0x02 , 0x91 , 0xbf , 0xa7 , 0xda , 0xd9 , 0xfd ,
0xb3 , 0xb9 , 0xfd , 0x14 , 0x64 , 0x39 , 0xc7 , 0xe8 , 0x81 , 0x2a , 0x5d , 0x8e , 0x3e , 0xfa , 0xff , 0xaf ,
0x4f , 0x9e , 0x22 , 0xe3 , 0x12 , 0xb6 , 0x4f , 0x27 , 0x49 , 0xf0 , 0x21 , 0x7d , 0x1c , 0xa9 , 0xab , 0x8f ,
0x61 , 0xcb , 0xc9 , 0xcb , 0xd6 , 0x92 , 0xe5 , 0x1d , 0xd9 , 0xb2 , 0x10 , 0x16 , 0xae , 0x37 , 0x1d , 0x79 ,
0x4b , 0x1b , 0xa0 , 0xa6 , 0x63 , 0x34 , 0xb3 , 0xbc , 0xc0 , 0xc5 , 0xcb , 0xa2 , 0x4f , 0x90 , 0x95 , 0x9e ,
0xa6 , 0x95 , 0x93 , 0x9d , 0xab , 0xf9 , 0x01 , 0xf9 , 0x3e , 0x3f , 0x20 , 0x3f , 0xe7 , 0x07 , 0xe4 , 0xdd ,
0x66 , 0xea , 0x1b , 0x8d , 0xc7 , 0x9b , 0xd9 , 0xdf , 0xe5 , 0xe1 , 0xaf , 0x00 , 0x00 , 0x00 , 0xff , 0xff ,
0xf1 , 0x65 , 0x72 , 0x0c , 0x9c , 0x04 , 0x00 , 0x00 ,
// 506 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0x8c , 0x53 , 0xcd , 0x6e , 0xd3 , 0x40 ,
0x10 , 0xee , 0xd6 , 0x49 , 0x93 , 0x8e , 0x43 , 0x64 , 0xb6 , 0x2d , 0x31 , 0x39 , 0xa4 , 0x91 , 0xc5 , 0xc1 ,
0x52 , 0x51 , 0x10 , 0xa1 , 0xe2 , 0xc4 , 0x81 , 0xb4 , 0x44 , 0x2a , 0xa5 , 0xe1 , 0x67 , 0x13 , 0x04 , 0x42 ,
0x48 , 0x96 , 0x93 , 0x8c , 0x1a , 0x8b , 0xf8 , 0xa7 , 0xbb , 0x6b , 0xa9 , 0x79 , 0x09 , 0x1e , 0x8a , 0x53 ,
0x4f , 0x88 , 0x27 , 0x40 , 0x28 , 0x4f , 0x82 , 0xbc , 0xb6 , 0xc3 , 0x16 , 0x2e , 0xdc , 0x66 , 0xbe , 0xef ,
0x9b , 0xcf , 0x33 , 0xb3 , 0x63 , 0x68 , 0x70 , 0x0c , 0x63 , 0x89 , 0xbd , 0x84 , 0xc7 , 0x32 , 0xa6 , 0x90 ,
0xf0 , 0x38 , 0x44 , 0xb9 , 0xc0 , 0x54 , 0xb4 , 0x4d , 0xb9 , 0x4a , 0x50 , 0xe4 , 0x44 , 0x7b , 0xff , 0x32 ,
0xbe , 0x8c , 0x55 , 0xf8 , 0x28 , 0x8b , 0x72 , 0xd4 , 0xf9 , 0x4a , 0xa0 , 0xf1 , 0x81 , 0x07 , 0x12 , 0x19 ,
0x5e , 0xa5 , 0x28 , 0x24 , 0x7d , 0x06 , 0x20 , 0x83 , 0x10 , 0x05 , 0xf2 , 0x00 , 0x85 , 0x4d , 0xba , 0x86 ,
0x6b , 0xf6 , 0xef , 0xf5 , 0xfe , 0x98 , 0xf6 , 0x26 , 0x41 , 0x88 , 0x63 , 0xc5 , 0x9e , 0x54 , 0x6e , 0x7e ,
0x1e , 0x6e , 0x31 , 0x4d , 0x4f , 0x6d , 0xa8 , 0x89 , 0x55 , 0x38 , 0x8d , 0x97 , 0xc2 , 0xae , 0x74 , 0x89 ,
0xbb , 0xcb , 0xca , 0x94 , 0xb6 , 0xa1 , 0x5e , 0x84 , 0x7d , 0xbb , 0xda , 0x35 , 0xdc , 0x5d , 0xb6 , 0xc9 ,
0xcf , 0x2b , 0xf5 , 0x6d , 0xcb , 0x38 , 0xaf , 0xd4 , 0x0d , 0xab , 0xe2 , 0x7c , 0x27 , 0x60 , 0x32 , 0xf4 ,
0xe7 , 0x65 , 0x3f , 0x47 , 0x50 , 0xbb , 0x4a , 0xf5 , 0x66 , 0xee , 0xea , 0xcd , 0xbc , 0x4b , 0x91 , 0xaf ,
0x58 , 0xa9 , 0xa0 , 0x9f , 0xa1 , 0xe5 , 0xcf , 0x66 , 0x98 , 0x48 , 0x9c , 0x7b , 0x1c , 0x45 , 0x12 , 0x47 ,
0x02 , 0x3d , 0xb5 , 0x04 , 0x7b , 0xbb , 0x6b , 0xb8 , 0xcd , 0xfe , 0x03 , 0xbd , 0x58 , 0xfb , 0x4c , 0x8f ,
0x15 , 0xea , 0xc9 , 0x2a , 0x41 , 0x76 , 0x50 , 0x9a , 0xe8 , 0xa8 , 0x70 , 0x8e , 0xa1 , 0xa1 , 0x03 , 0xd4 ,
0x84 , 0xda , 0x78 , 0x30 , 0x7a , 0x7b , 0x31 , 0x1c , 0x5b , 0x5b , 0xb4 , 0x05 , 0x7b , 0xe3 , 0x09 , 0x1b ,
0x0e , 0x46 , 0xc3 , 0x17 , 0xde , 0xc7 , 0x37 , 0xcc , 0x3b , 0x3d , 0x7b , 0xff , 0xfa , 0xd5 , 0xd8 , 0x22 ,
0xce , 0x20 , 0xab , 0xf2 , 0x37 , 0x56 , 0xf4 , 0x31 , 0xd4 , 0x38 , 0x8a , 0x74 , 0x29 , 0xcb , 0x81 , 0x5a ,
0xff , 0x0e , 0xa4 , 0x78 , 0x56 , 0xea , 0x9c , 0x6f , 0x04 , 0xaa , 0x8a , 0xa0 , 0x0f , 0x81 , 0x0a , 0xe9 ,
0x73 , 0xe9 , 0xa9 , 0x9d , 0x4b , 0x3f , 0x4c , 0xbc , 0x30 , 0xf3 , 0x21 , 0xae , 0xc1 , 0x2c , 0xc5 , 0x4c ,
0x4a , 0x62 , 0x24 , 0xa8 , 0x0b , 0x16 , 0x46 , 0xf3 , 0xdb , 0xda , 0x6d , 0xa5 , 0x6d , 0x62 , 0x34 , 0xd7 ,
0x95 , 0xc7 , 0x50 , 0x0f , 0x7d , 0x39 , 0x5b , 0x20 , 0x17 , 0xb6 , 0xa1 , 0xba , 0xb2 , 0xf5 , 0xae , 0x2e ,
0xfc , 0x29 , 0x2e , 0x47 , 0xb9 , 0x80 , 0x6d , 0x94 , 0xf4 , 0x08 , 0xaa , 0x8b , 0x20 , 0x92 , 0xf9 , 0x5b ,
0x9b , 0xfd , 0x83 , 0xbf , 0x97 , 0x7b , 0x96 , 0x91 , 0x2c , 0xd7 , 0x38 , 0x43 , 0x30 , 0xb5 , 0xe1 , 0xe8 ,
0xd3 , 0xff , 0xbf , 0x33 , 0xfd , 0xc2 , 0x9c , 0x6b , 0xd8 , 0x3b , 0x5d , 0xa4 , 0xd1 , 0x97 , 0xec , 0x71 ,
0xb4 , 0xad , 0x3e , 0x87 , 0xe6 , 0x2c , 0x87 , 0xbd , 0x5b , 0x96 , 0xf7 , 0x75 , 0xcb , 0xa2 , 0xb0 , 0x70 ,
0xbd , 0x33 , 0xd3 , 0x53 , 0x7a , 0x08 , 0x66 , 0x76 , 0x46 , 0x2b , 0x2f , 0x88 , 0xe6 , 0x78 , 0x5d , 0xec ,
0x09 , 0x14 , 0xf4 , 0x32 , 0x43 , 0x4e , 0xf6 , 0x6f , 0xd6 , 0x1d , 0xf2 , 0x63 , 0xdd , 0x21 , 0xbf , 0xd6 ,
0x1d , 0xf2 , 0x69 , 0x27 , 0xf3 , 0x4d , 0xa6 , 0xd3 , 0x1d , 0xf5 , 0x1f , 0x3d , 0xf9 , 0x1d , 0x00 , 0x00 ,
0xff , 0xff , 0x9b , 0x9a , 0xff , 0xe0 , 0x86 , 0x03 , 0x00 , 0x00 ,
}
func ( m * WriteRequest ) Marshal ( ) ( dAtA [ ] byte , err error ) {
@ -599,109 +489,15 @@ func (m *WriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i -= len ( m . XXX_unrecognized )
copy ( dAtA [ i : ] , m . XXX_unrecognized )
}
if len ( m . Metadata ) > 0 {
for iNdEx := len ( m . Metadata ) - 1 ; iNdEx >= 0 ; iNdEx -- {
{
size , err := m . Metadata [ iNdEx ] . MarshalToSizedBuffer ( dAtA [ : i ] )
if err != nil {
return 0 , err
}
i -= size
i = encodeVarintRemote ( dAtA , i , uint64 ( size ) )
}
if len ( m . Symbols2 ) > 0 {
for iNdEx := len ( m . Symbols2 ) - 1 ; iNdEx >= 0 ; iNdEx -- {
i -= len ( m . Symbols2 [ iNdEx ] )
copy ( dAtA [ i : ] , m . Symbols2 [ iNdEx ] )
i = encodeVarintRemote ( dAtA , i , uint64 ( len ( m . Symbols2 [ iNdEx ] ) ) )
i --
dAtA [ i ] = 0x1 a
dAtA [ i ] = 0x2a
}
}
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 )
n , err := m . MarshalToSizedBuffer ( dAtA [ : size ] )
if err != nil {
return nil , err
}
return dAtA [ : n ] , nil
}
func ( m * MinimizedWriteRequest ) MarshalTo ( dAtA [ ] byte ) ( int , error ) {
size := m . Size ( )
return m . MarshalToSizedBuffer ( dAtA [ : size ] )
}
func ( m * MinimizedWriteRequest ) 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 . Symbols ) > 0 {
i -= len ( m . Symbols )
copy ( dAtA [ i : ] , m . Symbols )
i = encodeVarintRemote ( dAtA , i , uint64 ( len ( m . Symbols ) ) )
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 * MinimizedWriteRequestLen ) 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 * MinimizedWriteRequestLen ) MarshalTo ( dAtA [ ] byte ) ( int , error ) {
size := m . Size ( )
return m . MarshalToSizedBuffer ( dAtA [ : size ] )
}
func ( m * MinimizedWriteRequestLen ) 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 . Symbols ) > 0 {
i -= len ( m . Symbols )
copy ( dAtA [ i : ] , m . Symbols )
@ -988,30 +784,6 @@ func encodeVarintRemote(dAtA []byte, offset int, v uint64) int {
return base
}
func ( m * WriteRequest ) 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 . Metadata ) > 0 {
for _ , e := range m . Metadata {
l = e . Size ( )
n += 1 + l + sovRemote ( uint64 ( l ) )
}
}
if m . XXX_unrecognized != nil {
n += len ( m . XXX_unrecognized )
}
return n
}
func ( m * MinimizedWriteRequest ) Size ( ) ( n int ) {
if m == nil {
return 0
}
@ -1027,28 +799,12 @@ func (m *MinimizedWriteRequest) Size() (n int) {
if l > 0 {
n += 1 + l + sovRemote ( uint64 ( l ) )
}
if m . XXX_unrecognized != nil {
n += len ( m . XXX_unrecognized )
}
return n
}
func ( m * MinimizedWriteRequestLen ) 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 ( )
if len ( m . Symbols2 ) > 0 {
for _ , s := range m . Symbols2 {
l = len ( s )
n += 1 + l + sovRemote ( uint64 ( l ) )
}
}
l = len ( m . Symbols )
if l > 0 {
n += 1 + l + sovRemote ( uint64 ( l ) )
}
if m . XXX_unrecognized != nil {
n += len ( m . XXX_unrecognized )
}
@ -1234,125 +990,6 @@ func (m *WriteRequest) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
case 3 :
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field Metadata" , 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 . Metadata = append ( m . Metadata , MetricMetadata { } )
if err := m . Metadata [ len ( m . Metadata ) - 1 ] . Unmarshal ( dAtA [ iNdEx : postIndex ] ) ; err != nil {
return err
}
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
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: MinimizedWriteRequest: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return fmt . Errorf ( "proto: MinimizedWriteRequest: 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 , MinimizedTimeSeries { } )
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 Symbols" , wireType )
@ -1385,96 +1022,11 @@ func (m *MinimizedWriteRequest) Unmarshal(dAtA []byte) error {
}
m . Symbols = string ( dAtA [ iNdEx : postIndex ] )
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 * MinimizedWriteRequestLen ) 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: MinimizedWriteRequestLen: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return fmt . Errorf ( "proto: MinimizedWriteRequestLen: 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 , MinimizedTimeSeriesLen { } )
if err := m . Timeseries [ len ( m . Timeseries ) - 1 ] . Unmarshal ( dAtA [ iNdEx : postIndex ] ) ; err != nil {
return err
}
iNdEx = postIndex
case 4 :
case 5 :
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field Symbols" , wireType )
return fmt . Errorf ( "proto: wrong wireType = %d for field Symbols2" , wireType )
}
var byteLen int
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRemote
@ -1484,25 +1036,23 @@ func (m *MinimizedWriteRequestLen) Unmarshal(dAtA []byte) error {
}
b := dAtA [ iNdEx ]
iNdEx ++
byte Len |= int ( b & 0x7F ) << shift
string Len |= u int64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
intStringLen := int ( stringLen )
if intStringLen < 0 {
return ErrInvalidLengthRemote
}
postIndex := iNdEx + byte Len
postIndex := iNdEx + intString Len
if postIndex < 0 {
return ErrInvalidLengthRemote
}
if postIndex > l {
return io . ErrUnexpectedEOF
}
m . Symbols = append ( m . Symbols [ : 0 ] , dAtA [ iNdEx : postIndex ] ... )
if m . Symbols == nil {
m . Symbols = [ ] byte { }
}
m . Symbols2 = append ( m . Symbols2 , string ( dAtA [ iNdEx : postIndex ] ) )
iNdEx = postIndex
default :
iNdEx = preIndex