protocol

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v0_batch_proto protoreflect.FileDescriptor
View Source
var File_v0_search_get_proto protoreflect.FileDescriptor
View Source
var File_v0_weaviate_proto protoreflect.FileDescriptor
View Source
var Weaviate_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "weaviategrpc.Weaviate",
	HandlerType: (*WeaviateServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Search",
			Handler:    _Weaviate_Search_Handler,
		},
		{
			MethodName: "BatchObjects",
			Handler:    _Weaviate_BatchObjects_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v0/weaviate.proto",
}

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

Functions

func RegisterWeaviateServer

func RegisterWeaviateServer(s grpc.ServiceRegistrar, srv WeaviateServer)

Types

type BatchObjectsReply

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

func (*BatchObjectsReply) Descriptor deprecated

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

Deprecated: Use BatchObjectsReply.ProtoReflect.Descriptor instead.

func (*BatchObjectsReply) ProtoMessage

func (*BatchObjectsReply) ProtoMessage()

func (*BatchObjectsReply) ProtoReflect

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

func (*BatchObjectsReply) Reset

func (x *BatchObjectsReply) Reset()

func (*BatchObjectsReply) String

func (x *BatchObjectsReply) String() string

type BatchObjectsRequest

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

func (*BatchObjectsRequest) Descriptor deprecated

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

Deprecated: Use BatchObjectsRequest.ProtoReflect.Descriptor instead.

func (*BatchObjectsRequest) ProtoMessage

func (*BatchObjectsRequest) ProtoMessage()

func (*BatchObjectsRequest) ProtoReflect

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

func (*BatchObjectsRequest) Reset

func (x *BatchObjectsRequest) Reset()

func (*BatchObjectsRequest) String

func (x *BatchObjectsRequest) String() string

type SearchReply

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

func (*SearchReply) Descriptor deprecated

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

Deprecated: Use SearchReply.ProtoReflect.Descriptor instead.

func (*SearchReply) ProtoMessage

func (*SearchReply) ProtoMessage()

func (*SearchReply) ProtoReflect

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

func (*SearchReply) Reset

func (x *SearchReply) Reset()

func (*SearchReply) String

func (x *SearchReply) String() string

type SearchRequest

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

func (*SearchRequest) Descriptor deprecated

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

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

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

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type UnimplementedWeaviateServer

type UnimplementedWeaviateServer struct {
}

UnimplementedWeaviateServer must be embedded to have forward compatible implementations.

func (UnimplementedWeaviateServer) BatchObjects

func (UnimplementedWeaviateServer) Search

type UnsafeWeaviateServer

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

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

type WeaviateClient

type WeaviateClient interface {
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchReply, error)
	BatchObjects(ctx context.Context, in *BatchObjectsRequest, opts ...grpc.CallOption) (*BatchObjectsReply, error)
}

WeaviateClient is the client API for Weaviate 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.

func NewWeaviateClient

func NewWeaviateClient(cc grpc.ClientConnInterface) WeaviateClient

type WeaviateServer

type WeaviateServer interface {
	Search(context.Context, *SearchRequest) (*SearchReply, error)
	BatchObjects(context.Context, *BatchObjectsRequest) (*BatchObjectsReply, error)
	// contains filtered or unexported methods
}

WeaviateServer is the server API for Weaviate service. All implementations must embed UnimplementedWeaviateServer for forward compatibility

Jump to

Keyboard shortcuts

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