代码拉取完成,页面将自动刷新
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v4.23.1
// source: uess-agent.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 UESSHeartbeatResponse_ProcInfo_ProcStatus int32
const (
UESSHeartbeatResponse_ProcInfo_Unknown UESSHeartbeatResponse_ProcInfo_ProcStatus = 0
UESSHeartbeatResponse_ProcInfo_Running UESSHeartbeatResponse_ProcInfo_ProcStatus = 1 // 正常
UESSHeartbeatResponse_ProcInfo_Dead UESSHeartbeatResponse_ProcInfo_ProcStatus = 2 // 没了
)
// Enum value maps for UESSHeartbeatResponse_ProcInfo_ProcStatus.
var (
UESSHeartbeatResponse_ProcInfo_ProcStatus_name = map[int32]string{
0: "Unknown",
1: "Running",
2: "Dead",
}
UESSHeartbeatResponse_ProcInfo_ProcStatus_value = map[string]int32{
"Unknown": 0,
"Running": 1,
"Dead": 2,
}
)
func (x UESSHeartbeatResponse_ProcInfo_ProcStatus) Enum() *UESSHeartbeatResponse_ProcInfo_ProcStatus {
p := new(UESSHeartbeatResponse_ProcInfo_ProcStatus)
*p = x
return p
}
func (x UESSHeartbeatResponse_ProcInfo_ProcStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (UESSHeartbeatResponse_ProcInfo_ProcStatus) Descriptor() protoreflect.EnumDescriptor {
return file_uess_agent_proto_enumTypes[0].Descriptor()
}
func (UESSHeartbeatResponse_ProcInfo_ProcStatus) Type() protoreflect.EnumType {
return &file_uess_agent_proto_enumTypes[0]
}
func (x UESSHeartbeatResponse_ProcInfo_ProcStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use UESSHeartbeatResponse_ProcInfo_ProcStatus.Descriptor instead.
func (UESSHeartbeatResponse_ProcInfo_ProcStatus) EnumDescriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{3, 1, 0}
}
type UESSRpcPingRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
}
func (x *UESSRpcPingRequest) Reset() {
*x = UESSRpcPingRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSRpcPingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSRpcPingRequest) ProtoMessage() {}
func (x *UESSRpcPingRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_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 UESSRpcPingRequest.ProtoReflect.Descriptor instead.
func (*UESSRpcPingRequest) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{0}
}
func (x *UESSRpcPingRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *UESSRpcPingRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type UESSRpcPingResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 主机
HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
PlatformVersion string `protobuf:"bytes,3,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty"`
KernelVersion string `protobuf:"bytes,4,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
KernelArch string `protobuf:"bytes,5,opt,name=kernel_arch,json=kernelArch,proto3" json:"kernel_arch,omitempty"`
CpuList []*UESSRpcPingResponse_CPUInfo `protobuf:"bytes,6,rep,name=cpu_list,json=cpuList,proto3" json:"cpu_list,omitempty"`
// Memory
TotalMemory uint64 `protobuf:"varint,7,opt,name=total_memory,json=totalMemory,proto3" json:"total_memory,omitempty"`
TotalSwapMemory uint64 `protobuf:"varint,8,opt,name=total_swap_memory,json=totalSwapMemory,proto3" json:"total_swap_memory,omitempty"`
GpuList []*UESSRpcPingResponse_GPUInfo `protobuf:"bytes,9,rep,name=gpu_list,json=gpuList,proto3" json:"gpu_list,omitempty"`
Code int32 `protobuf:"varint,10,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,11,opt,name=msg,proto3" json:"msg,omitempty"`
}
func (x *UESSRpcPingResponse) Reset() {
*x = UESSRpcPingResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSRpcPingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSRpcPingResponse) ProtoMessage() {}
func (x *UESSRpcPingResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_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 UESSRpcPingResponse.ProtoReflect.Descriptor instead.
func (*UESSRpcPingResponse) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{1}
}
func (x *UESSRpcPingResponse) GetHostName() string {
if x != nil {
return x.HostName
}
return ""
}
func (x *UESSRpcPingResponse) GetPlatform() string {
if x != nil {
return x.Platform
}
return ""
}
func (x *UESSRpcPingResponse) GetPlatformVersion() string {
if x != nil {
return x.PlatformVersion
}
return ""
}
func (x *UESSRpcPingResponse) GetKernelVersion() string {
if x != nil {
return x.KernelVersion
}
return ""
}
func (x *UESSRpcPingResponse) GetKernelArch() string {
if x != nil {
return x.KernelArch
}
return ""
}
func (x *UESSRpcPingResponse) GetCpuList() []*UESSRpcPingResponse_CPUInfo {
if x != nil {
return x.CpuList
}
return nil
}
func (x *UESSRpcPingResponse) GetTotalMemory() uint64 {
if x != nil {
return x.TotalMemory
}
return 0
}
func (x *UESSRpcPingResponse) GetTotalSwapMemory() uint64 {
if x != nil {
return x.TotalSwapMemory
}
return 0
}
func (x *UESSRpcPingResponse) GetGpuList() []*UESSRpcPingResponse_GPUInfo {
if x != nil {
return x.GpuList
}
return nil
}
func (x *UESSRpcPingResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *UESSRpcPingResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
type UESSHeartbeatRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
}
func (x *UESSHeartbeatRequest) Reset() {
*x = UESSHeartbeatRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSHeartbeatRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSHeartbeatRequest) ProtoMessage() {}
func (x *UESSHeartbeatRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_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 UESSHeartbeatRequest.ProtoReflect.Descriptor instead.
func (*UESSHeartbeatRequest) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{2}
}
func (x *UESSHeartbeatRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *UESSHeartbeatRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type UESSHeartbeatResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
ResourceInfo *UESSHeartbeatResponse_ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
ProcInfos []*UESSHeartbeatResponse_ProcInfo `protobuf:"bytes,4,rep,name=proc_infos,json=procInfos,proto3" json:"proc_infos,omitempty"`
HostIp string `protobuf:"bytes,5,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
}
func (x *UESSHeartbeatResponse) Reset() {
*x = UESSHeartbeatResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSHeartbeatResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSHeartbeatResponse) ProtoMessage() {}
func (x *UESSHeartbeatResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_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 UESSHeartbeatResponse.ProtoReflect.Descriptor instead.
func (*UESSHeartbeatResponse) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{3}
}
func (x *UESSHeartbeatResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *UESSHeartbeatResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *UESSHeartbeatResponse) GetResourceInfo() *UESSHeartbeatResponse_ResourceInfo {
if x != nil {
return x.ResourceInfo
}
return nil
}
func (x *UESSHeartbeatResponse) GetProcInfos() []*UESSHeartbeatResponse_ProcInfo {
if x != nil {
return x.ProcInfos
}
return nil
}
func (x *UESSHeartbeatResponse) GetHostIp() string {
if x != nil {
return x.HostIp
}
return ""
}
// 启动应用
type UESSStartAppRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
SlsHost string `protobuf:"bytes,2,opt,name=sls_host,json=slsHost,proto3" json:"sls_host,omitempty"`
Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
UssId string `protobuf:"bytes,4,opt,name=uss_id,json=ussId,proto3" json:"uss_id,omitempty"`
}
func (x *UESSStartAppRequest) Reset() {
*x = UESSStartAppRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSStartAppRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSStartAppRequest) ProtoMessage() {}
func (x *UESSStartAppRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_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 UESSStartAppRequest.ProtoReflect.Descriptor instead.
func (*UESSStartAppRequest) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{4}
}
func (x *UESSStartAppRequest) GetAppName() string {
if x != nil {
return x.AppName
}
return ""
}
func (x *UESSStartAppRequest) GetSlsHost() string {
if x != nil {
return x.SlsHost
}
return ""
}
func (x *UESSStartAppRequest) GetPort() uint32 {
if x != nil {
return x.Port
}
return 0
}
func (x *UESSStartAppRequest) GetUssId() string {
if x != nil {
return x.UssId
}
return ""
}
type UESSStartAppResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
Pid uint32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (x *UESSStartAppResponse) Reset() {
*x = UESSStartAppResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSStartAppResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSStartAppResponse) ProtoMessage() {}
func (x *UESSStartAppResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_proto_msgTypes[5]
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 UESSStartAppResponse.ProtoReflect.Descriptor instead.
func (*UESSStartAppResponse) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{5}
}
func (x *UESSStartAppResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *UESSStartAppResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *UESSStartAppResponse) GetPid() uint32 {
if x != nil {
return x.Pid
}
return 0
}
// 停止应用
type UESSStopAppRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (x *UESSStopAppRequest) Reset() {
*x = UESSStopAppRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSStopAppRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSStopAppRequest) ProtoMessage() {}
func (x *UESSStopAppRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_proto_msgTypes[6]
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 UESSStopAppRequest.ProtoReflect.Descriptor instead.
func (*UESSStopAppRequest) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{6}
}
func (x *UESSStopAppRequest) GetPid() uint32 {
if x != nil {
return x.Pid
}
return 0
}
type UESSStopAppResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
}
func (x *UESSStopAppResponse) Reset() {
*x = UESSStopAppResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSStopAppResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSStopAppResponse) ProtoMessage() {}
func (x *UESSStopAppResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_proto_msgTypes[7]
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 UESSStopAppResponse.ProtoReflect.Descriptor instead.
func (*UESSStopAppResponse) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{7}
}
func (x *UESSStopAppResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *UESSStopAppResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
// CPU
type UESSRpcPingResponse_CPUInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CpuModelName string `protobuf:"bytes,1,opt,name=cpu_model_name,json=cpuModelName,proto3" json:"cpu_model_name,omitempty"`
CpuCoreNumber int32 `protobuf:"varint,2,opt,name=cpu_core_number,json=cpuCoreNumber,proto3" json:"cpu_core_number,omitempty"`
CpuClockSpeed float32 `protobuf:"fixed32,3,opt,name=cpu_clock_speed,json=cpuClockSpeed,proto3" json:"cpu_clock_speed,omitempty"`
}
func (x *UESSRpcPingResponse_CPUInfo) Reset() {
*x = UESSRpcPingResponse_CPUInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSRpcPingResponse_CPUInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSRpcPingResponse_CPUInfo) ProtoMessage() {}
func (x *UESSRpcPingResponse_CPUInfo) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_proto_msgTypes[8]
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 UESSRpcPingResponse_CPUInfo.ProtoReflect.Descriptor instead.
func (*UESSRpcPingResponse_CPUInfo) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{1, 0}
}
func (x *UESSRpcPingResponse_CPUInfo) GetCpuModelName() string {
if x != nil {
return x.CpuModelName
}
return ""
}
func (x *UESSRpcPingResponse_CPUInfo) GetCpuCoreNumber() int32 {
if x != nil {
return x.CpuCoreNumber
}
return 0
}
func (x *UESSRpcPingResponse_CPUInfo) GetCpuClockSpeed() float32 {
if x != nil {
return x.CpuClockSpeed
}
return 0
}
// GPU
type UESSRpcPingResponse_GPUInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GpuModelName string `protobuf:"bytes,1,opt,name=gpu_model_name,json=gpuModelName,proto3" json:"gpu_model_name,omitempty"`
GpuCoreNumber int32 `protobuf:"varint,2,opt,name=gpu_core_number,json=gpuCoreNumber,proto3" json:"gpu_core_number,omitempty"`
GpuClockSpeed float32 `protobuf:"fixed32,3,opt,name=gpu_clock_speed,json=gpuClockSpeed,proto3" json:"gpu_clock_speed,omitempty"`
GpuTotalMemory uint64 `protobuf:"varint,4,opt,name=gpu_total_memory,json=gpuTotalMemory,proto3" json:"gpu_total_memory,omitempty"`
}
func (x *UESSRpcPingResponse_GPUInfo) Reset() {
*x = UESSRpcPingResponse_GPUInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSRpcPingResponse_GPUInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSRpcPingResponse_GPUInfo) ProtoMessage() {}
func (x *UESSRpcPingResponse_GPUInfo) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_proto_msgTypes[9]
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 UESSRpcPingResponse_GPUInfo.ProtoReflect.Descriptor instead.
func (*UESSRpcPingResponse_GPUInfo) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{1, 1}
}
func (x *UESSRpcPingResponse_GPUInfo) GetGpuModelName() string {
if x != nil {
return x.GpuModelName
}
return ""
}
func (x *UESSRpcPingResponse_GPUInfo) GetGpuCoreNumber() int32 {
if x != nil {
return x.GpuCoreNumber
}
return 0
}
func (x *UESSRpcPingResponse_GPUInfo) GetGpuClockSpeed() float32 {
if x != nil {
return x.GpuClockSpeed
}
return 0
}
func (x *UESSRpcPingResponse_GPUInfo) GetGpuTotalMemory() uint64 {
if x != nil {
return x.GpuTotalMemory
}
return 0
}
// 资源详情
type UESSHeartbeatResponse_ResourceInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CpuPercent float32 `protobuf:"fixed32,1,opt,name=cpu_percent,json=cpuPercent,proto3" json:"cpu_percent,omitempty"`
FreeMemory float32 `protobuf:"fixed32,2,opt,name=free_memory,json=freeMemory,proto3" json:"free_memory,omitempty"`
}
func (x *UESSHeartbeatResponse_ResourceInfo) Reset() {
*x = UESSHeartbeatResponse_ResourceInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSHeartbeatResponse_ResourceInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSHeartbeatResponse_ResourceInfo) ProtoMessage() {}
func (x *UESSHeartbeatResponse_ResourceInfo) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_proto_msgTypes[10]
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 UESSHeartbeatResponse_ResourceInfo.ProtoReflect.Descriptor instead.
func (*UESSHeartbeatResponse_ResourceInfo) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{3, 0}
}
func (x *UESSHeartbeatResponse_ResourceInfo) GetCpuPercent() float32 {
if x != nil {
return x.CpuPercent
}
return 0
}
func (x *UESSHeartbeatResponse_ResourceInfo) GetFreeMemory() float32 {
if x != nil {
return x.FreeMemory
}
return 0
}
// 应用详情
type UESSHeartbeatResponse_ProcInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UssId string `protobuf:"bytes,1,opt,name=uss_id,json=ussId,proto3" json:"uss_id,omitempty"`
Status UESSHeartbeatResponse_ProcInfo_ProcStatus `protobuf:"varint,2,opt,name=status,proto3,enum=pb.UESSHeartbeatResponse_ProcInfo_ProcStatus" json:"status,omitempty"`
Pid uint32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (x *UESSHeartbeatResponse_ProcInfo) Reset() {
*x = UESSHeartbeatResponse_ProcInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSHeartbeatResponse_ProcInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSHeartbeatResponse_ProcInfo) ProtoMessage() {}
func (x *UESSHeartbeatResponse_ProcInfo) ProtoReflect() protoreflect.Message {
mi := &file_uess_agent_proto_msgTypes[11]
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 UESSHeartbeatResponse_ProcInfo.ProtoReflect.Descriptor instead.
func (*UESSHeartbeatResponse_ProcInfo) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{3, 1}
}
func (x *UESSHeartbeatResponse_ProcInfo) GetUssId() string {
if x != nil {
return x.UssId
}
return ""
}
func (x *UESSHeartbeatResponse_ProcInfo) GetStatus() UESSHeartbeatResponse_ProcInfo_ProcStatus {
if x != nil {
return x.Status
}
return UESSHeartbeatResponse_ProcInfo_Unknown
}
func (x *UESSHeartbeatResponse_ProcInfo) GetPid() uint32 {
if x != nil {
return x.Pid
}
return 0
}
var File_uess_agent_proto protoreflect.FileDescriptor
var file_uess_agent_proto_rawDesc = []byte{
0x0a, 0x10, 0x75, 0x65, 0x73, 0x73, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x48, 0x0a, 0x12, 0x55, 0x45, 0x53, 0x53, 0x52, 0x70,
0x63, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
0x22, 0xdb, 0x05, 0x0a, 0x13, 0x55, 0x45, 0x53, 0x53, 0x52, 0x70, 0x63, 0x50, 0x69, 0x6e, 0x67,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
0x6d, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61,
0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e,
0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73,
0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x5f, 0x61, 0x72,
0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c,
0x41, 0x72, 0x63, 0x68, 0x12, 0x3a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74,
0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53,
0x52, 0x70, 0x63, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
0x43, 0x50, 0x55, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x73, 0x74,
0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79,
0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d,
0x6f, 0x72, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x77, 0x61,
0x70, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x77, 0x61, 0x70, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12,
0x3a, 0x0a, 0x08, 0x67, 0x70, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x52, 0x70, 0x63, 0x50, 0x69,
0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x47, 0x50, 0x55, 0x49, 0x6e,
0x66, 0x6f, 0x52, 0x07, 0x67, 0x70, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63,
0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73,
0x67, 0x1a, 0x7f, 0x0a, 0x07, 0x43, 0x50, 0x55, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0e,
0x63, 0x70, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x70, 0x75, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x70, 0x75, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6e,
0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x70, 0x75,
0x43, 0x6f, 0x72, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x70,
0x75, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x03, 0x20,
0x01, 0x28, 0x02, 0x52, 0x0d, 0x63, 0x70, 0x75, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x70, 0x65,
0x65, 0x64, 0x1a, 0xa9, 0x01, 0x0a, 0x07, 0x47, 0x50, 0x55, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24,
0x0a, 0x0e, 0x67, 0x70, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x70, 0x75, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x70, 0x75, 0x5f, 0x63, 0x6f, 0x72, 0x65,
0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x67,
0x70, 0x75, 0x43, 0x6f, 0x72, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0f,
0x67, 0x70, 0x75, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18,
0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x67, 0x70, 0x75, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53,
0x70, 0x65, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x70, 0x75, 0x5f, 0x74, 0x6f, 0x74, 0x61,
0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e,
0x67, 0x70, 0x75, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x22, 0x4a,
0x0a, 0x14, 0x55, 0x45, 0x53, 0x53, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x74, 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe7, 0x03, 0x0a, 0x15, 0x55,
0x45, 0x53, 0x53, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x4b, 0x0a, 0x0d, 0x72, 0x65,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x48, 0x65, 0x61, 0x72, 0x74,
0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x5f,
0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x62,
0x2e, 0x55, 0x45, 0x53, 0x53, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52,
0x09, 0x70, 0x72, 0x6f, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f,
0x73, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73,
0x74, 0x49, 0x70, 0x1a, 0x50, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x70, 0x75, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65,
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x70, 0x75, 0x50, 0x65, 0x72,
0x63, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x6d, 0x65, 0x6d,
0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d,
0x65, 0x6d, 0x6f, 0x72, 0x79, 0x1a, 0xac, 0x01, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x63, 0x49, 0x6e,
0x66, 0x6f, 0x12, 0x15, 0x0a, 0x06, 0x75, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x73, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x55,
0x45, 0x53, 0x53, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72,
0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70,
0x69, 0x64, 0x22, 0x30, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, 0x0a,
0x07, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x65,
0x61, 0x64, 0x10, 0x02, 0x22, 0x76, 0x0a, 0x13, 0x55, 0x45, 0x53, 0x53, 0x53, 0x74, 0x61, 0x72,
0x74, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61,
0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x6c, 0x73, 0x5f, 0x68, 0x6f,
0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x6c, 0x73, 0x48, 0x6f, 0x73,
0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x75, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x73, 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x14,
0x55, 0x45, 0x53, 0x53, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69,
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x26, 0x0a, 0x12,
0x55, 0x45, 0x53, 0x53, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x03, 0x70, 0x69, 0x64, 0x22, 0x3b, 0x0a, 0x13, 0x55, 0x45, 0x53, 0x53, 0x53, 0x74, 0x6f, 0x70,
0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63,
0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73,
0x67, 0x32, 0x8c, 0x02, 0x0a, 0x0e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x70, 0x63, 0x53, 0x65,
0x72, 0x76, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70,
0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x52, 0x70, 0x63, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x52, 0x70,
0x63, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x40, 0x0a, 0x09, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x16, 0x2e, 0x70,
0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x52, 0x70, 0x63, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x52, 0x70,
0x63, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30,
0x01, 0x12, 0x3f, 0x0a, 0x08, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x70, 0x70, 0x12, 0x17, 0x2e,
0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x70, 0x70, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53,
0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x70, 0x70, 0x12, 0x16, 0x2e,
0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x70, 0x70, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x53,
0x74, 0x6f, 0x70, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_uess_agent_proto_rawDescOnce sync.Once
file_uess_agent_proto_rawDescData = file_uess_agent_proto_rawDesc
)
func file_uess_agent_proto_rawDescGZIP() []byte {
file_uess_agent_proto_rawDescOnce.Do(func() {
file_uess_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_uess_agent_proto_rawDescData)
})
return file_uess_agent_proto_rawDescData
}
var file_uess_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_uess_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_uess_agent_proto_goTypes = []interface{}{
(UESSHeartbeatResponse_ProcInfo_ProcStatus)(0), // 0: pb.UESSHeartbeatResponse.ProcInfo.ProcStatus
(*UESSRpcPingRequest)(nil), // 1: pb.UESSRpcPingRequest
(*UESSRpcPingResponse)(nil), // 2: pb.UESSRpcPingResponse
(*UESSHeartbeatRequest)(nil), // 3: pb.UESSHeartbeatRequest
(*UESSHeartbeatResponse)(nil), // 4: pb.UESSHeartbeatResponse
(*UESSStartAppRequest)(nil), // 5: pb.UESSStartAppRequest
(*UESSStartAppResponse)(nil), // 6: pb.UESSStartAppResponse
(*UESSStopAppRequest)(nil), // 7: pb.UESSStopAppRequest
(*UESSStopAppResponse)(nil), // 8: pb.UESSStopAppResponse
(*UESSRpcPingResponse_CPUInfo)(nil), // 9: pb.UESSRpcPingResponse.CPUInfo
(*UESSRpcPingResponse_GPUInfo)(nil), // 10: pb.UESSRpcPingResponse.GPUInfo
(*UESSHeartbeatResponse_ResourceInfo)(nil), // 11: pb.UESSHeartbeatResponse.ResourceInfo
(*UESSHeartbeatResponse_ProcInfo)(nil), // 12: pb.UESSHeartbeatResponse.ProcInfo
}
var file_uess_agent_proto_depIdxs = []int32{
9, // 0: pb.UESSRpcPingResponse.cpu_list:type_name -> pb.UESSRpcPingResponse.CPUInfo
10, // 1: pb.UESSRpcPingResponse.gpu_list:type_name -> pb.UESSRpcPingResponse.GPUInfo
11, // 2: pb.UESSHeartbeatResponse.resource_info:type_name -> pb.UESSHeartbeatResponse.ResourceInfo
12, // 3: pb.UESSHeartbeatResponse.proc_infos:type_name -> pb.UESSHeartbeatResponse.ProcInfo
0, // 4: pb.UESSHeartbeatResponse.ProcInfo.status:type_name -> pb.UESSHeartbeatResponse.ProcInfo.ProcStatus
1, // 5: pb.AgentRpcServer.Ping:input_type -> pb.UESSRpcPingRequest
1, // 6: pb.AgentRpcServer.Heartbeat:input_type -> pb.UESSRpcPingRequest
5, // 7: pb.AgentRpcServer.StartApp:input_type -> pb.UESSStartAppRequest
7, // 8: pb.AgentRpcServer.StopApp:input_type -> pb.UESSStopAppRequest
2, // 9: pb.AgentRpcServer.Ping:output_type -> pb.UESSRpcPingResponse
2, // 10: pb.AgentRpcServer.Heartbeat:output_type -> pb.UESSRpcPingResponse
6, // 11: pb.AgentRpcServer.StartApp:output_type -> pb.UESSStartAppResponse
8, // 12: pb.AgentRpcServer.StopApp:output_type -> pb.UESSStopAppResponse
9, // [9:13] is the sub-list for method output_type
5, // [5:9] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_uess_agent_proto_init() }
func file_uess_agent_proto_init() {
if File_uess_agent_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_uess_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSRpcPingRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSRpcPingResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSHeartbeatRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSHeartbeatResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSStartAppRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSStartAppResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSStopAppRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSStopAppResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSRpcPingResponse_CPUInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSRpcPingResponse_GPUInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSHeartbeatResponse_ResourceInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSHeartbeatResponse_ProcInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_uess_agent_proto_rawDesc,
NumEnums: 1,
NumMessages: 12,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_uess_agent_proto_goTypes,
DependencyIndexes: file_uess_agent_proto_depIdxs,
EnumInfos: file_uess_agent_proto_enumTypes,
MessageInfos: file_uess_agent_proto_msgTypes,
}.Build()
File_uess_agent_proto = out.File
file_uess_agent_proto_rawDesc = nil
file_uess_agent_proto_goTypes = nil
file_uess_agent_proto_depIdxs = nil
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。