pb

package
v0.0.0-...-83d3498 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EsManagerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "espb.EsManagerService",
	HandlerType: (*EsManagerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ESConnPaging",
			Handler:    _EsManagerService_ESConnPaging_Handler,
		},
		{
			MethodName: "ESConnTotal",
			Handler:    _EsManagerService_ESConnTotal_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _EsManagerService_Ping_Handler,
		},
		{
			MethodName: "ESConnDetail",
			Handler:    _EsManagerService_ESConnDetail_Handler,
		},
		{
			MethodName: "ESConnAll",
			Handler:    _EsManagerService_ESConnAll_Handler,
		},
		{
			MethodName: "CreateESConn",
			Handler:    _EsManagerService_CreateESConn_Handler,
		},
		{
			MethodName: "UpdateESConn",
			Handler:    _EsManagerService_UpdateESConn_Handler,
		},
		{
			MethodName: "DeleteESConn",
			Handler:    _EsManagerService_DeleteESConn_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "doc/esManager.proto",
}

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

View Source
var File_doc_esManager_proto protoreflect.FileDescriptor

Functions

func RegisterEsManagerServiceServer

func RegisterEsManagerServiceServer(s grpc.ServiceRegistrar, srv EsManagerServiceServer)

Types

type CreateESConnRequest

type CreateESConnRequest struct {
	ESConn   string `protobuf:"bytes,1,opt,name=ESConn,proto3" json:"ESConn,omitempty"`
	Version  int64  `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	User     string `protobuf:"bytes,3,opt,name=User,proto3" json:"User,omitempty"`
	PassWord string `protobuf:"bytes,4,opt,name=PassWord,proto3" json:"PassWord,omitempty"`
	Describe string `protobuf:"bytes,5,opt,name=Describe,proto3" json:"Describe,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateESConnRequest) Descriptor deprecated

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

Deprecated: Use CreateESConnRequest.ProtoReflect.Descriptor instead.

func (*CreateESConnRequest) GetDescribe

func (x *CreateESConnRequest) GetDescribe() string

func (*CreateESConnRequest) GetESConn

func (x *CreateESConnRequest) GetESConn() string

func (*CreateESConnRequest) GetPassWord

func (x *CreateESConnRequest) GetPassWord() string

func (*CreateESConnRequest) GetUser

func (x *CreateESConnRequest) GetUser() string

func (*CreateESConnRequest) GetVersion

func (x *CreateESConnRequest) GetVersion() int64

func (*CreateESConnRequest) ProtoMessage

func (*CreateESConnRequest) ProtoMessage()

func (*CreateESConnRequest) ProtoReflect

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

func (*CreateESConnRequest) Reset

func (x *CreateESConnRequest) Reset()

func (*CreateESConnRequest) String

func (x *CreateESConnRequest) String() string

type ESConn

type ESConn struct {
	ID       uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ESConn   string `protobuf:"bytes,2,opt,name=ESConn,proto3" json:"ESConn,omitempty"`
	Version  int64  `protobuf:"varint,3,opt,name=Version,proto3" json:"Version,omitempty"`
	User     string `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"`
	PassWord string `protobuf:"bytes,5,opt,name=PassWord,proto3" json:"PassWord,omitempty"`
	Describe string `protobuf:"bytes,6,opt,name=Describe,proto3" json:"Describe,omitempty"`
	// contains filtered or unexported fields
}

func (*ESConn) Descriptor deprecated

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

Deprecated: Use ESConn.ProtoReflect.Descriptor instead.

func (*ESConn) GetDescribe

func (x *ESConn) GetDescribe() string

func (*ESConn) GetESConn

func (x *ESConn) GetESConn() string

func (*ESConn) GetID

func (x *ESConn) GetID() uint64

func (*ESConn) GetPassWord

func (x *ESConn) GetPassWord() string

func (*ESConn) GetUser

func (x *ESConn) GetUser() string

func (*ESConn) GetVersion

func (x *ESConn) GetVersion() int64

func (*ESConn) ProtoMessage

func (*ESConn) ProtoMessage()

func (*ESConn) ProtoReflect

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

func (*ESConn) Reset

func (x *ESConn) Reset()

func (*ESConn) String

func (x *ESConn) String() string

type ESConnID

type ESConnID struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ESConnID) Descriptor deprecated

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

Deprecated: Use ESConnID.ProtoReflect.Descriptor instead.

func (*ESConnID) GetID

func (x *ESConnID) GetID() uint64

func (*ESConnID) ProtoMessage

func (*ESConnID) ProtoMessage()

func (*ESConnID) ProtoReflect

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

func (*ESConnID) Reset

func (x *ESConnID) Reset()

func (*ESConnID) String

func (x *ESConnID) String() string

type ESConnPagingRequest

type ESConnPagingRequest struct {
	Page     int64 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"`
	PageSize int64 `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*ESConnPagingRequest) Descriptor deprecated

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

Deprecated: Use ESConnPagingRequest.ProtoReflect.Descriptor instead.

func (*ESConnPagingRequest) GetPage

func (x *ESConnPagingRequest) GetPage() int64

func (*ESConnPagingRequest) GetPageSize

func (x *ESConnPagingRequest) GetPageSize() int64

func (*ESConnPagingRequest) ProtoMessage

func (*ESConnPagingRequest) ProtoMessage()

func (*ESConnPagingRequest) ProtoReflect

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

func (*ESConnPagingRequest) Reset

func (x *ESConnPagingRequest) Reset()

func (*ESConnPagingRequest) String

func (x *ESConnPagingRequest) String() string

type ESConnResponse

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

func (*ESConnResponse) Descriptor deprecated

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

Deprecated: Use ESConnResponse.ProtoReflect.Descriptor instead.

func (*ESConnResponse) GetESConns

func (x *ESConnResponse) GetESConns() []*ESConn

func (*ESConnResponse) ProtoMessage

func (*ESConnResponse) ProtoMessage()

func (*ESConnResponse) ProtoReflect

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

func (*ESConnResponse) Reset

func (x *ESConnResponse) Reset()

func (*ESConnResponse) String

func (x *ESConnResponse) String() string

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type EsManagerServiceClient

type EsManagerServiceClient interface {
	ESConnPaging(ctx context.Context, in *ESConnPagingRequest, opts ...grpc.CallOption) (*ESConnResponse, error)
	ESConnTotal(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Total, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
	ESConnDetail(ctx context.Context, in *ESConnID, opts ...grpc.CallOption) (*ESConn, error)
	ESConnAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ESConnResponse, error)
	CreateESConn(ctx context.Context, in *CreateESConnRequest, opts ...grpc.CallOption) (*Empty, error)
	UpdateESConn(ctx context.Context, in *UpdateESConnRequest, opts ...grpc.CallOption) (*Empty, error)
	DeleteESConn(ctx context.Context, in *ESConnID, opts ...grpc.CallOption) (*Empty, error)
}

EsManagerServiceClient is the client API for EsManagerService 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 EsManagerServiceServer

type EsManagerServiceServer interface {
	ESConnPaging(context.Context, *ESConnPagingRequest) (*ESConnResponse, error)
	ESConnTotal(context.Context, *Empty) (*Total, error)
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	ESConnDetail(context.Context, *ESConnID) (*ESConn, error)
	ESConnAll(context.Context, *Empty) (*ESConnResponse, error)
	CreateESConn(context.Context, *CreateESConnRequest) (*Empty, error)
	UpdateESConn(context.Context, *UpdateESConnRequest) (*Empty, error)
	DeleteESConn(context.Context, *ESConnID) (*Empty, error)
	// contains filtered or unexported methods
}

EsManagerServiceServer is the server API for EsManagerService service. All implementations must embed UnimplementedEsManagerServiceServer for forward compatibility

type PingRequest

type PingRequest struct {
	EsConnID uint64 `protobuf:"varint,1,opt,name=EsConnID,proto3" json:"EsConnID,omitempty"`
	// contains filtered or unexported fields
}

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) GetEsConnID

func (x *PingRequest) GetEsConnID() uint64

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PingResponse

type PingResponse struct {
	Data *anypb.Any `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetData

func (x *PingResponse) GetData() *anypb.Any

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type Total

type Total struct {
	Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"`
	// contains filtered or unexported fields
}

func (*Total) Descriptor deprecated

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

Deprecated: Use Total.ProtoReflect.Descriptor instead.

func (*Total) GetTotal

func (x *Total) GetTotal() int64

func (*Total) ProtoMessage

func (*Total) ProtoMessage()

func (*Total) ProtoReflect

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

func (*Total) Reset

func (x *Total) Reset()

func (*Total) String

func (x *Total) String() string

type UnimplementedEsManagerServiceServer

type UnimplementedEsManagerServiceServer struct {
}

UnimplementedEsManagerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEsManagerServiceServer) CreateESConn

func (UnimplementedEsManagerServiceServer) DeleteESConn

func (UnimplementedEsManagerServiceServer) ESConnAll

func (UnimplementedEsManagerServiceServer) ESConnDetail

func (UnimplementedEsManagerServiceServer) ESConnPaging

func (UnimplementedEsManagerServiceServer) ESConnTotal

func (UnimplementedEsManagerServiceServer) Ping

func (UnimplementedEsManagerServiceServer) UpdateESConn

type UnsafeEsManagerServiceServer

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

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

type UpdateESConnRequest

type UpdateESConnRequest struct {
	ID       uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ESConn   string `protobuf:"bytes,2,opt,name=ESConn,proto3" json:"ESConn,omitempty"`
	Version  int64  `protobuf:"varint,3,opt,name=Version,proto3" json:"Version,omitempty"`
	User     string `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"`
	PassWord string `protobuf:"bytes,5,opt,name=PassWord,proto3" json:"PassWord,omitempty"`
	Describe string `protobuf:"bytes,6,opt,name=Describe,proto3" json:"Describe,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateESConnRequest) Descriptor deprecated

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

Deprecated: Use UpdateESConnRequest.ProtoReflect.Descriptor instead.

func (*UpdateESConnRequest) GetDescribe

func (x *UpdateESConnRequest) GetDescribe() string

func (*UpdateESConnRequest) GetESConn

func (x *UpdateESConnRequest) GetESConn() string

func (*UpdateESConnRequest) GetID

func (x *UpdateESConnRequest) GetID() uint64

func (*UpdateESConnRequest) GetPassWord

func (x *UpdateESConnRequest) GetPassWord() string

func (*UpdateESConnRequest) GetUser

func (x *UpdateESConnRequest) GetUser() string

func (*UpdateESConnRequest) GetVersion

func (x *UpdateESConnRequest) GetVersion() int64

func (*UpdateESConnRequest) ProtoMessage

func (*UpdateESConnRequest) ProtoMessage()

func (*UpdateESConnRequest) ProtoReflect

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

func (*UpdateESConnRequest) Reset

func (x *UpdateESConnRequest) Reset()

func (*UpdateESConnRequest) String

func (x *UpdateESConnRequest) String() string

Jump to

Keyboard shortcuts

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