pbqdsl

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pbcmdb_pbqdsl_pbqdsl_proto protoreflect.FileDescriptor
View Source
var File_pbcmdb_pbqdsl_service_proto protoreflect.FileDescriptor
View Source
var QdslService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "org.listware.sdk.pbcmdb.pbqdsl.QdslService",
	HandlerType: (*QdslServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Qdsl",
			Handler:    _QdslService_Qdsl_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pbcmdb/pbqdsl/service.proto",
}

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

Functions

func RegisterQdslServiceServer

func RegisterQdslServiceServer(s grpc.ServiceRegistrar, srv QdslServiceServer)

Types

type Element

type Element struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Key    string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Name   string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Type   string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Object []byte `protobuf:"bytes,5,opt,name=object,proto3" json:"object,omitempty"`
	LinkId string `protobuf:"bytes,6,opt,name=linkId,proto3" json:"linkId,omitempty"`
	Link   []byte `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"`
	Path   []byte `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*Element) Descriptor deprecated

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

Deprecated: Use Element.ProtoReflect.Descriptor instead.

func (*Element) GetId

func (x *Element) GetId() string

func (*Element) GetKey

func (x *Element) GetKey() string
func (x *Element) GetLink() []byte

func (*Element) GetLinkId

func (x *Element) GetLinkId() string

func (*Element) GetName

func (x *Element) GetName() string

func (*Element) GetObject

func (x *Element) GetObject() []byte

func (*Element) GetPath

func (x *Element) GetPath() []byte

func (*Element) GetType

func (x *Element) GetType() string

func (*Element) ProtoMessage

func (*Element) ProtoMessage()

func (*Element) ProtoReflect

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

func (*Element) Reset

func (x *Element) Reset()

func (*Element) String

func (x *Element) String() string

type Elements

type Elements struct {
	Elements []*Element `protobuf:"bytes,1,rep,name=Elements,proto3" json:"Elements,omitempty"`
	// contains filtered or unexported fields
}

func (*Elements) Descriptor deprecated

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

Deprecated: Use Elements.ProtoReflect.Descriptor instead.

func (*Elements) GetElements

func (x *Elements) GetElements() []*Element

func (*Elements) ProtoMessage

func (*Elements) ProtoMessage()

func (*Elements) ProtoReflect

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

func (*Elements) Reset

func (x *Elements) Reset()

func (*Elements) String

func (x *Elements) String() string

type Options

type Options struct {
	Id     bool `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Key    bool `protobuf:"varint,2,opt,name=key,proto3" json:"key,omitempty"`
	Name   bool `protobuf:"varint,3,opt,name=name,proto3" json:"name,omitempty"`
	Type   bool `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	Object bool `protobuf:"varint,5,opt,name=object,proto3" json:"object,omitempty"`
	Link   bool `protobuf:"varint,6,opt,name=link,proto3" json:"link,omitempty"`
	LinkId bool `protobuf:"varint,7,opt,name=linkId,proto3" json:"linkId,omitempty"`
	Path   bool `protobuf:"varint,8,opt,name=path,proto3" json:"path,omitempty"`
	Remove bool `protobuf:"varint,9,opt,name=remove,proto3" json:"remove,omitempty"`
	// contains filtered or unexported fields
}

func (*Options) Descriptor deprecated

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

Deprecated: Use Options.ProtoReflect.Descriptor instead.

func (*Options) GetId

func (x *Options) GetId() bool

func (*Options) GetKey

func (x *Options) GetKey() bool
func (x *Options) GetLink() bool

func (*Options) GetLinkId

func (x *Options) GetLinkId() bool

func (*Options) GetName

func (x *Options) GetName() bool

func (*Options) GetObject

func (x *Options) GetObject() bool

func (*Options) GetPath

func (x *Options) GetPath() bool

func (*Options) GetRemove

func (x *Options) GetRemove() bool

func (*Options) GetType

func (x *Options) GetType() bool

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) ProtoReflect

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

func (*Options) Reset

func (x *Options) Reset()

func (*Options) String

func (x *Options) String() string

type QdslServiceClient

type QdslServiceClient interface {
	Qdsl(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Elements, error)
}

QdslServiceClient is the client API for QdslService 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 QdslServiceServer

type QdslServiceServer interface {
	Qdsl(context.Context, *Query) (*Elements, error)
	// contains filtered or unexported methods
}

QdslServiceServer is the server API for QdslService service. All implementations must embed UnimplementedQdslServiceServer for forward compatibility

type Query

type Query struct {
	Query   string   `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Options *Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*Query) Descriptor deprecated

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetOptions

func (x *Query) GetOptions() *Options

func (*Query) GetQuery

func (x *Query) GetQuery() string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

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

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

type UnimplementedQdslServiceServer

type UnimplementedQdslServiceServer struct {
}

UnimplementedQdslServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedQdslServiceServer) Qdsl

type UnsafeQdslServiceServer

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

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

Jump to

Keyboard shortcuts

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