frontendpb

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_frontend_frontendpb_frontend_proto protoreflect.FileDescriptor
View Source
var FrontendForQuerier_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "frontendpb.FrontendForQuerier",
	HandlerType: (*FrontendForQuerierServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "QueryResult",
			Handler:    _FrontendForQuerier_QueryResult_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "frontend/frontendpb/frontend.proto",
}

FrontendForQuerier_ServiceDesc is the grpc.ServiceDesc for FrontendForQuerier service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFrontendForQuerierServer

func RegisterFrontendForQuerierServer(s grpc.ServiceRegistrar, srv FrontendForQuerierServer)

Types

type FrontendForQuerierClient

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

FrontendForQuerierClient is the client API for FrontendForQuerier service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FrontendForQuerierServer

type FrontendForQuerierServer interface {
	QueryResult(context.Context, *QueryResultRequest) (*QueryResultResponse, error)
	// contains filtered or unexported methods
}

FrontendForQuerierServer is the server API for FrontendForQuerier service. All implementations must embed UnimplementedFrontendForQuerierServer for forward compatibility

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"`
	// contains filtered or unexported fields
}

func (*QueryResultRequest) Descriptor deprecated

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

Deprecated: Use QueryResultRequest.ProtoReflect.Descriptor instead.

func (*QueryResultRequest) GetHttpResponse

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

func (*QueryResultRequest) GetQueryID

func (x *QueryResultRequest) GetQueryID() uint64

func (*QueryResultRequest) GetStats

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

func (*QueryResultRequest) MarshalToSizedBufferVT

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

func (*QueryResultRequest) MarshalToVT

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

func (*QueryResultRequest) MarshalVT

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

func (*QueryResultRequest) ProtoMessage

func (*QueryResultRequest) ProtoMessage()

func (*QueryResultRequest) ProtoReflect

func (x *QueryResultRequest) ProtoReflect() protoreflect.Message

func (*QueryResultRequest) Reset

func (x *QueryResultRequest) Reset()

func (*QueryResultRequest) SizeVT

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

func (*QueryResultRequest) String

func (x *QueryResultRequest) String() string

func (*QueryResultRequest) UnmarshalVT

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

type QueryResultResponse

type QueryResultResponse struct {
	// contains filtered or unexported fields
}

func (*QueryResultResponse) Descriptor deprecated

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

Deprecated: Use QueryResultResponse.ProtoReflect.Descriptor instead.

func (*QueryResultResponse) MarshalToSizedBufferVT

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

func (*QueryResultResponse) MarshalToVT

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

func (*QueryResultResponse) MarshalVT

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

func (*QueryResultResponse) ProtoMessage

func (*QueryResultResponse) ProtoMessage()

func (*QueryResultResponse) ProtoReflect

func (x *QueryResultResponse) ProtoReflect() protoreflect.Message

func (*QueryResultResponse) Reset

func (x *QueryResultResponse) Reset()

func (*QueryResultResponse) SizeVT

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

func (*QueryResultResponse) String

func (x *QueryResultResponse) String() string

func (*QueryResultResponse) UnmarshalVT

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

type UnimplementedFrontendForQuerierServer

type UnimplementedFrontendForQuerierServer struct {
}

UnimplementedFrontendForQuerierServer must be embedded to have forward compatible implementations.

func (UnimplementedFrontendForQuerierServer) QueryResult

type UnsafeFrontendForQuerierServer

type UnsafeFrontendForQuerierServer interface {
	// contains filtered or unexported methods
}

UnsafeFrontendForQuerierServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FrontendForQuerierServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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