Files
frp-panel/pb/api_master.pb.go
2024-01-16 03:15:37 +00:00

569 lines
20 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.32.0
// protoc v4.25.1
// source: api_master.proto
package pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
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)
)
type ClientStatus_Status int32
const (
ClientStatus_STATUS_UNSPECIFIED ClientStatus_Status = 0
ClientStatus_STATUS_ONLINE ClientStatus_Status = 1
ClientStatus_STATUS_OFFLINE ClientStatus_Status = 2
ClientStatus_STATUS_ERROR ClientStatus_Status = 3
)
// Enum value maps for ClientStatus_Status.
var (
ClientStatus_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_ONLINE",
2: "STATUS_OFFLINE",
3: "STATUS_ERROR",
}
ClientStatus_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_ONLINE": 1,
"STATUS_OFFLINE": 2,
"STATUS_ERROR": 3,
}
)
func (x ClientStatus_Status) Enum() *ClientStatus_Status {
p := new(ClientStatus_Status)
*p = x
return p
}
func (x ClientStatus_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientStatus_Status) Descriptor() protoreflect.EnumDescriptor {
return file_api_master_proto_enumTypes[0].Descriptor()
}
func (ClientStatus_Status) Type() protoreflect.EnumType {
return &file_api_master_proto_enumTypes[0]
}
func (x ClientStatus_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ClientStatus_Status.Descriptor instead.
func (ClientStatus_Status) EnumDescriptor() ([]byte, []int) {
return file_api_master_proto_rawDescGZIP(), []int{0, 0}
}
type ClientStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ClientType ClientType `protobuf:"varint,1,opt,name=client_type,json=clientType,proto3,enum=common.ClientType" json:"client_type,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
Status ClientStatus_Status `protobuf:"varint,3,opt,name=status,proto3,enum=api_master.ClientStatus_Status" json:"status,omitempty"`
Ping int32 `protobuf:"varint,4,opt,name=ping,proto3" json:"ping,omitempty"` // 单位为毫秒
}
func (x *ClientStatus) Reset() {
*x = ClientStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_api_master_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ClientStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClientStatus) ProtoMessage() {}
func (x *ClientStatus) ProtoReflect() protoreflect.Message {
mi := &file_api_master_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClientStatus.ProtoReflect.Descriptor instead.
func (*ClientStatus) Descriptor() ([]byte, []int) {
return file_api_master_proto_rawDescGZIP(), []int{0}
}
func (x *ClientStatus) GetClientType() ClientType {
if x != nil {
return x.ClientType
}
return ClientType_CLIENT_TYPE_UNSPECIFIED
}
func (x *ClientStatus) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
func (x *ClientStatus) GetStatus() ClientStatus_Status {
if x != nil {
return x.Status
}
return ClientStatus_STATUS_UNSPECIFIED
}
func (x *ClientStatus) GetPing() int32 {
if x != nil {
return x.Ping
}
return 0
}
type GetClientsStatusRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ClientType ClientType `protobuf:"varint,1,opt,name=client_type,json=clientType,proto3,enum=common.ClientType" json:"client_type,omitempty"`
ClientIds []string `protobuf:"bytes,2,rep,name=client_ids,json=clientIds,proto3" json:"client_ids,omitempty"`
}
func (x *GetClientsStatusRequest) Reset() {
*x = GetClientsStatusRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_master_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetClientsStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClientsStatusRequest) ProtoMessage() {}
func (x *GetClientsStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_master_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetClientsStatusRequest.ProtoReflect.Descriptor instead.
func (*GetClientsStatusRequest) Descriptor() ([]byte, []int) {
return file_api_master_proto_rawDescGZIP(), []int{1}
}
func (x *GetClientsStatusRequest) GetClientType() ClientType {
if x != nil {
return x.ClientType
}
return ClientType_CLIENT_TYPE_UNSPECIFIED
}
func (x *GetClientsStatusRequest) GetClientIds() []string {
if x != nil {
return x.ClientIds
}
return nil
}
type GetClientsStatusResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
Clients map[string]*ClientStatus `protobuf:"bytes,2,rep,name=clients,proto3" json:"clients,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *GetClientsStatusResponse) Reset() {
*x = GetClientsStatusResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_api_master_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetClientsStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClientsStatusResponse) ProtoMessage() {}
func (x *GetClientsStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_master_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetClientsStatusResponse.ProtoReflect.Descriptor instead.
func (*GetClientsStatusResponse) Descriptor() ([]byte, []int) {
return file_api_master_proto_rawDescGZIP(), []int{2}
}
func (x *GetClientsStatusResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
func (x *GetClientsStatusResponse) GetClients() map[string]*ClientStatus {
if x != nil {
return x.Clients
}
return nil
}
type GetClientCertRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ClientType ClientType `protobuf:"varint,1,opt,name=client_type,json=clientType,proto3,enum=common.ClientType" json:"client_type,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
}
func (x *GetClientCertRequest) Reset() {
*x = GetClientCertRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_master_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetClientCertRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClientCertRequest) ProtoMessage() {}
func (x *GetClientCertRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_master_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetClientCertRequest.ProtoReflect.Descriptor instead.
func (*GetClientCertRequest) Descriptor() ([]byte, []int) {
return file_api_master_proto_rawDescGZIP(), []int{3}
}
func (x *GetClientCertRequest) GetClientType() ClientType {
if x != nil {
return x.ClientType
}
return ClientType_CLIENT_TYPE_UNSPECIFIED
}
func (x *GetClientCertRequest) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
func (x *GetClientCertRequest) GetClientSecret() string {
if x != nil {
return x.ClientSecret
}
return ""
}
type GetClientCertResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
Cert []byte `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
}
func (x *GetClientCertResponse) Reset() {
*x = GetClientCertResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_api_master_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetClientCertResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClientCertResponse) ProtoMessage() {}
func (x *GetClientCertResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_master_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetClientCertResponse.ProtoReflect.Descriptor instead.
func (*GetClientCertResponse) Descriptor() ([]byte, []int) {
return file_api_master_proto_rawDescGZIP(), []int{4}
}
func (x *GetClientCertResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
func (x *GetClientCertResponse) GetCert() []byte {
if x != nil {
return x.Cert
}
return nil
}
var File_api_master_proto protoreflect.FileDescriptor
var file_api_master_proto_rawDesc = []byte{
0x0a, 0x10, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x0a, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x0c,
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x02, 0x0a,
0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x33, 0x0a,
0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79,
0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12,
0x37, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x1f, 0x2e, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x69, 0x6e, 0x67,
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x69, 0x6e, 0x67, 0x22, 0x59, 0x0a, 0x06,
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11,
0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10,
0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4f, 0x46, 0x46, 0x4c,
0x49, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f,
0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x22, 0x6d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x33, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x22, 0xf5, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01,
0x12, 0x4b, 0x0a, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x31, 0x2e, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x47,
0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x54, 0x0a,
0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
0x2e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18,
0x2e, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
0x02, 0x38, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x8d,
0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x63,
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09,
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x63,
0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0c, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_api_master_proto_rawDescOnce sync.Once
file_api_master_proto_rawDescData = file_api_master_proto_rawDesc
)
func file_api_master_proto_rawDescGZIP() []byte {
file_api_master_proto_rawDescOnce.Do(func() {
file_api_master_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_master_proto_rawDescData)
})
return file_api_master_proto_rawDescData
}
var file_api_master_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_master_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_api_master_proto_goTypes = []interface{}{
(ClientStatus_Status)(0), // 0: api_master.ClientStatus.Status
(*ClientStatus)(nil), // 1: api_master.ClientStatus
(*GetClientsStatusRequest)(nil), // 2: api_master.GetClientsStatusRequest
(*GetClientsStatusResponse)(nil), // 3: api_master.GetClientsStatusResponse
(*GetClientCertRequest)(nil), // 4: api_master.GetClientCertRequest
(*GetClientCertResponse)(nil), // 5: api_master.GetClientCertResponse
nil, // 6: api_master.GetClientsStatusResponse.ClientsEntry
(ClientType)(0), // 7: common.ClientType
(*Status)(nil), // 8: common.Status
}
var file_api_master_proto_depIdxs = []int32{
7, // 0: api_master.ClientStatus.client_type:type_name -> common.ClientType
0, // 1: api_master.ClientStatus.status:type_name -> api_master.ClientStatus.Status
7, // 2: api_master.GetClientsStatusRequest.client_type:type_name -> common.ClientType
8, // 3: api_master.GetClientsStatusResponse.status:type_name -> common.Status
6, // 4: api_master.GetClientsStatusResponse.clients:type_name -> api_master.GetClientsStatusResponse.ClientsEntry
7, // 5: api_master.GetClientCertRequest.client_type:type_name -> common.ClientType
8, // 6: api_master.GetClientCertResponse.status:type_name -> common.Status
1, // 7: api_master.GetClientsStatusResponse.ClientsEntry.value:type_name -> api_master.ClientStatus
8, // [8:8] is the sub-list for method output_type
8, // [8:8] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_api_master_proto_init() }
func file_api_master_proto_init() {
if File_api_master_proto != nil {
return
}
file_common_proto_init()
if !protoimpl.UnsafeEnabled {
file_api_master_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ClientStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_master_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetClientsStatusRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_master_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetClientsStatusResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_master_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetClientCertRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_master_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetClientCertResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_api_master_proto_msgTypes[2].OneofWrappers = []interface{}{}
file_api_master_proto_msgTypes[4].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_master_proto_rawDesc,
NumEnums: 1,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_api_master_proto_goTypes,
DependencyIndexes: file_api_master_proto_depIdxs,
EnumInfos: file_api_master_proto_enumTypes,
MessageInfos: file_api_master_proto_msgTypes,
}.Build()
File_api_master_proto = out.File
file_api_master_proto_rawDesc = nil
file_api_master_proto_goTypes = nil
file_api_master_proto_depIdxs = nil
}