frontendv2pb

package
v0.0.0-...-f8e07d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFrontend = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFrontend   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterFrontendForQuerierServer

func RegisterFrontendForQuerierServer(s *grpc.Server, srv FrontendForQuerierServer)

Types

type FrontendForQuerierClient

type FrontendForQuerierClient interface {
	QueryResult(ctx context.Context, in *QueryResultRequest, opts ...grpc.CallOption) (*QueryResultResponse, error)
	QueryResultStream(ctx context.Context, opts ...grpc.CallOption) (FrontendForQuerier_QueryResultStreamClient, error)
}

FrontendForQuerierClient is the client API for FrontendForQuerier service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFrontendForQuerierClient

func NewFrontendForQuerierClient(cc *grpc.ClientConn) FrontendForQuerierClient

type FrontendForQuerierServer

type FrontendForQuerierServer interface {
	QueryResult(context.Context, *QueryResultRequest) (*QueryResultResponse, error)
	QueryResultStream(FrontendForQuerier_QueryResultStreamServer) error
}

FrontendForQuerierServer is the server API for FrontendForQuerier service.

type FrontendForQuerier_QueryResultStreamClient

type FrontendForQuerier_QueryResultStreamClient interface {
	Send(*QueryResultStreamRequest) error
	CloseAndRecv() (*QueryResultResponse, error)
	grpc.ClientStream
}

type FrontendForQuerier_QueryResultStreamServer

type FrontendForQuerier_QueryResultStreamServer interface {
	SendAndClose(*QueryResultResponse) error
	Recv() (*QueryResultStreamRequest, error)
	grpc.ServerStream
}

type QueryResultBody

type QueryResultBody struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
}

func (*QueryResultBody) Descriptor

func (*QueryResultBody) Descriptor() ([]byte, []int)

func (*QueryResultBody) Equal

func (this *QueryResultBody) Equal(that interface{}) bool

func (*QueryResultBody) GetChunk

func (m *QueryResultBody) GetChunk() []byte

func (*QueryResultBody) GoString

func (this *QueryResultBody) GoString() string

func (*QueryResultBody) Marshal

func (m *QueryResultBody) Marshal() (dAtA []byte, err error)

func (*QueryResultBody) MarshalTo

func (m *QueryResultBody) MarshalTo(dAtA []byte) (int, error)

func (*QueryResultBody) MarshalToSizedBuffer

func (m *QueryResultBody) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryResultBody) ProtoMessage

func (*QueryResultBody) ProtoMessage()

func (*QueryResultBody) Reset

func (m *QueryResultBody) Reset()

func (*QueryResultBody) Size

func (m *QueryResultBody) Size() (n int)

func (*QueryResultBody) String

func (this *QueryResultBody) String() string

func (*QueryResultBody) Unmarshal

func (m *QueryResultBody) Unmarshal(dAtA []byte) error

func (*QueryResultBody) XXX_DiscardUnknown

func (m *QueryResultBody) XXX_DiscardUnknown()

func (*QueryResultBody) XXX_Marshal

func (m *QueryResultBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryResultBody) XXX_Merge

func (m *QueryResultBody) XXX_Merge(src proto.Message)

func (*QueryResultBody) XXX_Size

func (m *QueryResultBody) XXX_Size() int

func (*QueryResultBody) XXX_Unmarshal

func (m *QueryResultBody) XXX_Unmarshal(b []byte) error

type QueryResultMetadata

type QueryResultMetadata struct {
	Code    int32              `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Headers []*httpgrpc.Header `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
	Stats   *stats.Stats       `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
}

func (*QueryResultMetadata) Descriptor

func (*QueryResultMetadata) Descriptor() ([]byte, []int)

func (*QueryResultMetadata) Equal

func (this *QueryResultMetadata) Equal(that interface{}) bool

func (*QueryResultMetadata) GetCode

func (m *QueryResultMetadata) GetCode() int32

func (*QueryResultMetadata) GetHeaders

func (m *QueryResultMetadata) GetHeaders() []*httpgrpc.Header

func (*QueryResultMetadata) GetStats

func (m *QueryResultMetadata) GetStats() *stats.Stats

func (*QueryResultMetadata) GoString

func (this *QueryResultMetadata) GoString() string

func (*QueryResultMetadata) Marshal

func (m *QueryResultMetadata) Marshal() (dAtA []byte, err error)

func (*QueryResultMetadata) MarshalTo

func (m *QueryResultMetadata) MarshalTo(dAtA []byte) (int, error)

func (*QueryResultMetadata) MarshalToSizedBuffer

func (m *QueryResultMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryResultMetadata) ProtoMessage

func (*QueryResultMetadata) ProtoMessage()

func (*QueryResultMetadata) Reset

func (m *QueryResultMetadata) Reset()

func (*QueryResultMetadata) Size

func (m *QueryResultMetadata) Size() (n int)

func (*QueryResultMetadata) String

func (this *QueryResultMetadata) String() string

func (*QueryResultMetadata) Unmarshal

func (m *QueryResultMetadata) Unmarshal(dAtA []byte) error

func (*QueryResultMetadata) XXX_DiscardUnknown

func (m *QueryResultMetadata) XXX_DiscardUnknown()

func (*QueryResultMetadata) XXX_Marshal

func (m *QueryResultMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryResultMetadata) XXX_Merge

func (m *QueryResultMetadata) XXX_Merge(src proto.Message)

func (*QueryResultMetadata) XXX_Size

func (m *QueryResultMetadata) XXX_Size() int

func (*QueryResultMetadata) XXX_Unmarshal

func (m *QueryResultMetadata) XXX_Unmarshal(b []byte) error

type QueryResultRequest

type QueryResultRequest struct {
	QueryID      uint64                 `protobuf:"varint,1,opt,name=queryID,proto3" json:"queryID,omitempty"`
	HttpResponse *httpgrpc.HTTPResponse `protobuf:"bytes,2,opt,name=httpResponse,proto3" json:"httpResponse,omitempty"`
	Stats        *stats.Stats           `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
}

func (*QueryResultRequest) Descriptor

func (*QueryResultRequest) Descriptor() ([]byte, []int)

func (*QueryResultRequest) Equal

func (this *QueryResultRequest) Equal(that interface{}) bool

func (*QueryResultRequest) GetHttpResponse

func (m *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponse

func (*QueryResultRequest) GetQueryID

func (m *QueryResultRequest) GetQueryID() uint64

func (*QueryResultRequest) GetStats

func (m *QueryResultRequest) GetStats() *stats.Stats

func (*QueryResultRequest) GoString

func (this *QueryResultRequest) GoString() string

func (*QueryResultRequest) Marshal

func (m *QueryResultRequest) Marshal() (dAtA []byte, err error)

func (*QueryResultRequest) MarshalTo

func (m *QueryResultRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryResultRequest) MarshalToSizedBuffer

func (m *QueryResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryResultRequest) ProtoMessage

func (*QueryResultRequest) ProtoMessage()

func (*QueryResultRequest) Reset

func (m *QueryResultRequest) Reset()

func (*QueryResultRequest) Size

func (m *QueryResultRequest) Size() (n int)

func (*QueryResultRequest) String

func (this *QueryResultRequest) String() string

func (*QueryResultRequest) Unmarshal

func (m *QueryResultRequest) Unmarshal(dAtA []byte) error

func (*QueryResultRequest) XXX_DiscardUnknown

func (m *QueryResultRequest) XXX_DiscardUnknown()

func (*QueryResultRequest) XXX_Marshal

func (m *QueryResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryResultRequest) XXX_Merge

func (m *QueryResultRequest) XXX_Merge(src proto.Message)

func (*QueryResultRequest) XXX_Size

func (m *QueryResultRequest) XXX_Size() int

func (*QueryResultRequest) XXX_Unmarshal

func (m *QueryResultRequest) XXX_Unmarshal(b []byte) error

type QueryResultResponse

type QueryResultResponse struct {
}

func (*QueryResultResponse) Descriptor

func (*QueryResultResponse) Descriptor() ([]byte, []int)

func (*QueryResultResponse) Equal

func (this *QueryResultResponse) Equal(that interface{}) bool

func (*QueryResultResponse) GoString

func (this *QueryResultResponse) GoString() string

func (*QueryResultResponse) Marshal

func (m *QueryResultResponse) Marshal() (dAtA []byte, err error)

func (*QueryResultResponse) MarshalTo

func (m *QueryResultResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryResultResponse) MarshalToSizedBuffer

func (m *QueryResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryResultResponse) ProtoMessage

func (*QueryResultResponse) ProtoMessage()

func (*QueryResultResponse) Reset

func (m *QueryResultResponse) Reset()

func (*QueryResultResponse) Size

func (m *QueryResultResponse) Size() (n int)

func (*QueryResultResponse) String

func (this *QueryResultResponse) String() string

func (*QueryResultResponse) Unmarshal

func (m *QueryResultResponse) Unmarshal(dAtA []byte) error

func (*QueryResultResponse) XXX_DiscardUnknown

func (m *QueryResultResponse) XXX_DiscardUnknown()

func (*QueryResultResponse) XXX_Marshal

func (m *QueryResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryResultResponse) XXX_Merge

func (m *QueryResultResponse) XXX_Merge(src proto.Message)

func (*QueryResultResponse) XXX_Size

func (m *QueryResultResponse) XXX_Size() int

func (*QueryResultResponse) XXX_Unmarshal

func (m *QueryResultResponse) XXX_Unmarshal(b []byte) error

type QueryResultStreamRequest

type QueryResultStreamRequest struct {
	QueryID uint64 `protobuf:"varint,1,opt,name=queryID,proto3" json:"queryID,omitempty"`
	// Types that are valid to be assigned to Data:
	//	*QueryResultStreamRequest_Metadata
	//	*QueryResultStreamRequest_Body
	Data isQueryResultStreamRequest_Data `protobuf_oneof:"data"`
}

func (*QueryResultStreamRequest) Descriptor

func (*QueryResultStreamRequest) Descriptor() ([]byte, []int)

func (*QueryResultStreamRequest) Equal

func (this *QueryResultStreamRequest) Equal(that interface{}) bool

func (*QueryResultStreamRequest) GetBody

func (*QueryResultStreamRequest) GetData

func (m *QueryResultStreamRequest) GetData() isQueryResultStreamRequest_Data

func (*QueryResultStreamRequest) GetMetadata

func (*QueryResultStreamRequest) GetQueryID

func (m *QueryResultStreamRequest) GetQueryID() uint64

func (*QueryResultStreamRequest) GoString

func (this *QueryResultStreamRequest) GoString() string

func (*QueryResultStreamRequest) Marshal

func (m *QueryResultStreamRequest) Marshal() (dAtA []byte, err error)

func (*QueryResultStreamRequest) MarshalTo

func (m *QueryResultStreamRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryResultStreamRequest) MarshalToSizedBuffer

func (m *QueryResultStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryResultStreamRequest) ProtoMessage

func (*QueryResultStreamRequest) ProtoMessage()

func (*QueryResultStreamRequest) Reset

func (m *QueryResultStreamRequest) Reset()

func (*QueryResultStreamRequest) Size

func (m *QueryResultStreamRequest) Size() (n int)

func (*QueryResultStreamRequest) String

func (this *QueryResultStreamRequest) String() string

func (*QueryResultStreamRequest) Unmarshal

func (m *QueryResultStreamRequest) Unmarshal(dAtA []byte) error

func (*QueryResultStreamRequest) XXX_DiscardUnknown

func (m *QueryResultStreamRequest) XXX_DiscardUnknown()

func (*QueryResultStreamRequest) XXX_Marshal

func (m *QueryResultStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryResultStreamRequest) XXX_Merge

func (m *QueryResultStreamRequest) XXX_Merge(src proto.Message)

func (*QueryResultStreamRequest) XXX_OneofWrappers

func (*QueryResultStreamRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*QueryResultStreamRequest) XXX_Size

func (m *QueryResultStreamRequest) XXX_Size() int

func (*QueryResultStreamRequest) XXX_Unmarshal

func (m *QueryResultStreamRequest) XXX_Unmarshal(b []byte) error

type QueryResultStreamRequest_Body

type QueryResultStreamRequest_Body struct {
	Body *QueryResultBody `protobuf:"bytes,3,opt,name=body,proto3,oneof"`
}

func (*QueryResultStreamRequest_Body) Equal

func (this *QueryResultStreamRequest_Body) Equal(that interface{}) bool

func (*QueryResultStreamRequest_Body) GoString

func (this *QueryResultStreamRequest_Body) GoString() string

func (*QueryResultStreamRequest_Body) MarshalTo

func (m *QueryResultStreamRequest_Body) MarshalTo(dAtA []byte) (int, error)

func (*QueryResultStreamRequest_Body) MarshalToSizedBuffer

func (m *QueryResultStreamRequest_Body) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryResultStreamRequest_Body) Size

func (m *QueryResultStreamRequest_Body) Size() (n int)

func (*QueryResultStreamRequest_Body) String

func (this *QueryResultStreamRequest_Body) String() string

type QueryResultStreamRequest_Metadata

type QueryResultStreamRequest_Metadata struct {
	Metadata *QueryResultMetadata `protobuf:"bytes,2,opt,name=metadata,proto3,oneof"`
}

func (*QueryResultStreamRequest_Metadata) Equal

func (this *QueryResultStreamRequest_Metadata) Equal(that interface{}) bool

func (*QueryResultStreamRequest_Metadata) GoString

func (this *QueryResultStreamRequest_Metadata) GoString() string

func (*QueryResultStreamRequest_Metadata) MarshalTo

func (m *QueryResultStreamRequest_Metadata) MarshalTo(dAtA []byte) (int, error)

func (*QueryResultStreamRequest_Metadata) MarshalToSizedBuffer

func (m *QueryResultStreamRequest_Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryResultStreamRequest_Metadata) Size

func (m *QueryResultStreamRequest_Metadata) Size() (n int)

func (*QueryResultStreamRequest_Metadata) String

type UnimplementedFrontendForQuerierServer

type UnimplementedFrontendForQuerierServer struct {
}

UnimplementedFrontendForQuerierServer can be embedded to have forward compatible implementations.

func (*UnimplementedFrontendForQuerierServer) QueryResult

func (*UnimplementedFrontendForQuerierServer) QueryResultStream

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL