Files
EdgeAPI/internal/rpc/pb/service_stat.pb.go

112 lines
3.5 KiB
Go
Raw Normal View History

2020-07-21 17:27:00 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.12.3
2020-07-24 09:17:48 +08:00
// source: service_stat.proto
2020-07-21 17:27:00 +08:00
2020-07-24 09:17:48 +08:00
package pb
2020-07-21 17:27:00 +08:00
import (
context "context"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
2020-07-24 09:17:48 +08:00
var File_service_stat_proto protoreflect.FileDescriptor
2020-07-21 17:27:00 +08:00
2020-07-24 09:17:48 +08:00
var file_service_stat_proto_rawDesc = []byte{
0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x32, 0x0d, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
2020-07-21 17:27:00 +08:00
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
2020-07-24 09:17:48 +08:00
var file_service_stat_proto_goTypes = []interface{}{}
var file_service_stat_proto_depIdxs = []int32{
2020-07-21 17:27:00 +08:00
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
2020-07-24 09:17:48 +08:00
func init() { file_service_stat_proto_init() }
func file_service_stat_proto_init() {
if File_service_stat_proto != nil {
2020-07-21 17:27:00 +08:00
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2020-07-24 09:17:48 +08:00
RawDescriptor: file_service_stat_proto_rawDesc,
2020-07-21 17:27:00 +08:00
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
2020-07-24 09:17:48 +08:00
GoTypes: file_service_stat_proto_goTypes,
DependencyIndexes: file_service_stat_proto_depIdxs,
2020-07-21 17:27:00 +08:00
}.Build()
2020-07-24 09:17:48 +08:00
File_service_stat_proto = out.File
file_service_stat_proto_rawDesc = nil
file_service_stat_proto_goTypes = nil
file_service_stat_proto_depIdxs = nil
2020-07-21 17:27:00 +08:00
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
2020-07-24 09:17:48 +08:00
// StatServiceClient is the client API for StatService service.
2020-07-21 17:27:00 +08:00
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2020-07-24 09:17:48 +08:00
type StatServiceClient interface {
2020-07-21 17:27:00 +08:00
}
2020-07-24 09:17:48 +08:00
type statServiceClient struct {
2020-07-21 17:27:00 +08:00
cc grpc.ClientConnInterface
}
2020-07-24 09:17:48 +08:00
func NewStatServiceClient(cc grpc.ClientConnInterface) StatServiceClient {
return &statServiceClient{cc}
2020-07-21 17:27:00 +08:00
}
2020-07-24 09:17:48 +08:00
// StatServiceServer is the server API for StatService service.
type StatServiceServer interface {
2020-07-21 17:27:00 +08:00
}
2020-07-24 09:17:48 +08:00
// UnimplementedStatServiceServer can be embedded to have forward compatible implementations.
type UnimplementedStatServiceServer struct {
2020-07-21 17:27:00 +08:00
}
2020-07-24 09:17:48 +08:00
func RegisterStatServiceServer(s *grpc.Server, srv StatServiceServer) {
s.RegisterService(&_StatService_serviceDesc, srv)
2020-07-21 17:27:00 +08:00
}
2020-07-24 09:17:48 +08:00
var _StatService_serviceDesc = grpc.ServiceDesc{
ServiceName: "pb.StatService",
HandlerType: (*StatServiceServer)(nil),
2020-07-21 17:27:00 +08:00
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{},
2020-07-24 09:17:48 +08:00
Metadata: "service_stat.proto",
2020-07-21 17:27:00 +08:00
}