代码拉取完成,页面将自动刷新
// 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 ProcInfo_ProcStatus int32
const (
ProcInfo_Unknown ProcInfo_ProcStatus = 0
ProcInfo_Running ProcInfo_ProcStatus = 1 // 正常
ProcInfo_Dead ProcInfo_ProcStatus = 2 // 没了
)
// Enum value maps for ProcInfo_ProcStatus.
var (
ProcInfo_ProcStatus_name = map[int32]string{
0: "Unknown",
1: "Running",
2: "Dead",
}
ProcInfo_ProcStatus_value = map[string]int32{
"Unknown": 0,
"Running": 1,
"Dead": 2,
}
)
func (x ProcInfo_ProcStatus) Enum() *ProcInfo_ProcStatus {
p := new(ProcInfo_ProcStatus)
*p = x
return p
}
func (x ProcInfo_ProcStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ProcInfo_ProcStatus) Descriptor() protoreflect.EnumDescriptor {
return file_uess_agent_proto_enumTypes[0].Descriptor()
}
func (ProcInfo_ProcStatus) Type() protoreflect.EnumType {
return &file_uess_agent_proto_enumTypes[0]
}
func (x ProcInfo_ProcStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ProcInfo_ProcStatus.Descriptor instead.
func (ProcInfo_ProcStatus) EnumDescriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{0, 0}
}
// 应用详情
type 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 ProcInfo_ProcStatus `protobuf:"varint,2,opt,name=status,proto3,enum=pb.ProcInfo_ProcStatus" json:"status,omitempty"`
Pid uint32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (x *ProcInfo) Reset() {
*x = ProcInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProcInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProcInfo) ProtoMessage() {}
func (x *ProcInfo) 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 ProcInfo.ProtoReflect.Descriptor instead.
func (*ProcInfo) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{0}
}
func (x *ProcInfo) GetUssId() string {
if x != nil {
return x.UssId
}
return ""
}
func (x *ProcInfo) GetStatus() ProcInfo_ProcStatus {
if x != nil {
return x.Status
}
return ProcInfo_Unknown
}
func (x *ProcInfo) GetPid() uint32 {
if x != nil {
return x.Pid
}
return 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"`
}
func (x *UESSRpcPingRequest) Reset() {
*x = UESSRpcPingRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[1]
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[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 UESSRpcPingRequest.ProtoReflect.Descriptor instead.
func (*UESSRpcPingRequest) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{1}
}
func (x *UESSRpcPingRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
type UESSRpcPingResponse 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 *ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
}
func (x *UESSRpcPingResponse) Reset() {
*x = UESSRpcPingResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_agent_proto_msgTypes[2]
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[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 UESSRpcPingResponse.ProtoReflect.Descriptor instead.
func (*UESSRpcPingResponse) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{2}
}
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 ""
}
func (x *UESSRpcPingResponse) GetResourceInfo() *ResourceInfo {
if x != nil {
return x.ResourceInfo
}
return nil
}
func (x *UESSRpcPingResponse) GetHostIp() string {
if x != nil {
return x.HostIp
}
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[3]
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[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 UESSHeartbeatRequest.ProtoReflect.Descriptor instead.
func (*UESSHeartbeatRequest) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{3}
}
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 *ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
ProcInfos []*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[4]
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[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 UESSHeartbeatResponse.ProtoReflect.Descriptor instead.
func (*UESSHeartbeatResponse) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{4}
}
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() *ResourceInfo {
if x != nil {
return x.ResourceInfo
}
return nil
}
func (x *UESSHeartbeatResponse) GetProcInfos() []*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[5]
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[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 UESSStartAppRequest.ProtoReflect.Descriptor instead.
func (*UESSStartAppRequest) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{5}
}
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[6]
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[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 UESSStartAppResponse.ProtoReflect.Descriptor instead.
func (*UESSStartAppResponse) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{6}
}
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[7]
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[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 UESSStopAppRequest.ProtoReflect.Descriptor instead.
func (*UESSStopAppRequest) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{7}
}
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[8]
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[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 UESSStopAppResponse.ProtoReflect.Descriptor instead.
func (*UESSStopAppResponse) Descriptor() ([]byte, []int) {
return file_uess_agent_proto_rawDescGZIP(), []int{8}
}
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 ""
}
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, 0x1a, 0x11, 0x75, 0x65, 0x73, 0x73, 0x2d, 0x63, 0x6f, 0x6d,
0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 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, 0x2f, 0x0a,
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e,
0x70, 0x62, 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, 0x32, 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, 0x22, 0x8b, 0x01, 0x0a, 0x13, 0x55, 0x45, 0x53, 0x53, 0x52,
0x70, 0x63, 0x50, 0x69, 0x6e, 0x67, 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, 0x35, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62,
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, 0x17, 0x0a, 0x07, 0x68,
0x6f, 0x73, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f,
0x73, 0x74, 0x49, 0x70, 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, 0xba, 0x01, 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, 0x35, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66,
0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 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, 0x2b, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x5f,
0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62,
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, 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, 0x90, 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, 0x44, 0x0a, 0x09, 0x48, 0x65, 0x61, 0x72,
0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x48,
0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x19, 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, 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, 9)
var file_uess_agent_proto_goTypes = []interface{}{
(ProcInfo_ProcStatus)(0), // 0: pb.ProcInfo.ProcStatus
(*ProcInfo)(nil), // 1: pb.ProcInfo
(*UESSRpcPingRequest)(nil), // 2: pb.UESSRpcPingRequest
(*UESSRpcPingResponse)(nil), // 3: pb.UESSRpcPingResponse
(*UESSHeartbeatRequest)(nil), // 4: pb.UESSHeartbeatRequest
(*UESSHeartbeatResponse)(nil), // 5: pb.UESSHeartbeatResponse
(*UESSStartAppRequest)(nil), // 6: pb.UESSStartAppRequest
(*UESSStartAppResponse)(nil), // 7: pb.UESSStartAppResponse
(*UESSStopAppRequest)(nil), // 8: pb.UESSStopAppRequest
(*UESSStopAppResponse)(nil), // 9: pb.UESSStopAppResponse
(*ResourceInfo)(nil), // 10: pb.ResourceInfo
}
var file_uess_agent_proto_depIdxs = []int32{
0, // 0: pb.ProcInfo.status:type_name -> pb.ProcInfo.ProcStatus
10, // 1: pb.UESSRpcPingResponse.resource_info:type_name -> pb.ResourceInfo
10, // 2: pb.UESSHeartbeatResponse.resource_info:type_name -> pb.ResourceInfo
1, // 3: pb.UESSHeartbeatResponse.proc_infos:type_name -> pb.ProcInfo
2, // 4: pb.AgentRpcServer.Ping:input_type -> pb.UESSRpcPingRequest
4, // 5: pb.AgentRpcServer.Heartbeat:input_type -> pb.UESSHeartbeatRequest
6, // 6: pb.AgentRpcServer.StartApp:input_type -> pb.UESSStartAppRequest
8, // 7: pb.AgentRpcServer.StopApp:input_type -> pb.UESSStopAppRequest
3, // 8: pb.AgentRpcServer.Ping:output_type -> pb.UESSRpcPingResponse
5, // 9: pb.AgentRpcServer.Heartbeat:output_type -> pb.UESSHeartbeatResponse
7, // 10: pb.AgentRpcServer.StartApp:output_type -> pb.UESSStartAppResponse
9, // 11: pb.AgentRpcServer.StopApp:output_type -> pb.UESSStopAppResponse
8, // [8:12] is the sub-list for method output_type
4, // [4:8] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] 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
}
file_uess_common_proto_init()
if !protoimpl.UnsafeEnabled {
file_uess_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProcInfo); 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.(*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[2].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[3].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[4].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[5].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[6].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[7].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[8].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
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_uess_agent_proto_rawDesc,
NumEnums: 1,
NumMessages: 9,
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
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。