1 Star 0 Fork 0

StudySpace/uess-protobuf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
uess-instance.pb.go 44.42 KB
一键复制 编辑 原始数据 按行查看 历史
木子金兑 提交于 2023-08-17 09:07 . feat: add devtool api
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v4.23.1
// source: uess-instance.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 UESSInstanceStatus int32
const (
UESSInstanceStatus_UIS_Unknown UESSInstanceStatus = 0 // 未知
UESSInstanceStatus_UIS_Starting UESSInstanceStatus = 1 // 启动中
UESSInstanceStatus_UIS_WaitConnect UESSInstanceStatus = 2 // 待连接
UESSInstanceStatus_UIS_Connected UESSInstanceStatus = 3 // 已连接
UESSInstanceStatus_USI_Restarting UESSInstanceStatus = 4 // 重启中
UESSInstanceStatus_USI_Dead UESSInstanceStatus = 5 // 已删除
)
// Enum value maps for UESSInstanceStatus.
var (
UESSInstanceStatus_name = map[int32]string{
0: "UIS_Unknown",
1: "UIS_Starting",
2: "UIS_WaitConnect",
3: "UIS_Connected",
4: "USI_Restarting",
5: "USI_Dead",
}
UESSInstanceStatus_value = map[string]int32{
"UIS_Unknown": 0,
"UIS_Starting": 1,
"UIS_WaitConnect": 2,
"UIS_Connected": 3,
"USI_Restarting": 4,
"USI_Dead": 5,
}
)
func (x UESSInstanceStatus) Enum() *UESSInstanceStatus {
p := new(UESSInstanceStatus)
*p = x
return p
}
func (x UESSInstanceStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (UESSInstanceStatus) Descriptor() protoreflect.EnumDescriptor {
return file_uess_instance_proto_enumTypes[0].Descriptor()
}
func (UESSInstanceStatus) Type() protoreflect.EnumType {
return &file_uess_instance_proto_enumTypes[0]
}
func (x UESSInstanceStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use UESSInstanceStatus.Descriptor instead.
func (UESSInstanceStatus) EnumDescriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{0}
}
// 创建实例 POST token_option /api/v1/instance/list
type UESSInstanceListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status UESSInstanceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=pb.UESSInstanceStatus" json:"status,omitempty"`
HostIp string `protobuf:"bytes,2,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"` // 机器上的实例
AppName string `protobuf:"bytes,3,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
}
func (x *UESSInstanceListRequest) Reset() {
*x = UESSInstanceListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSInstanceListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSInstanceListRequest) ProtoMessage() {}
func (x *UESSInstanceListRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSInstanceListRequest.ProtoReflect.Descriptor instead.
func (*UESSInstanceListRequest) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{0}
}
func (x *UESSInstanceListRequest) GetStatus() UESSInstanceStatus {
if x != nil {
return x.Status
}
return UESSInstanceStatus_UIS_Unknown
}
func (x *UESSInstanceListRequest) GetHostIp() string {
if x != nil {
return x.HostIp
}
return ""
}
func (x *UESSInstanceListRequest) GetAppName() string {
if x != nil {
return x.AppName
}
return ""
}
type UESSInstanceListResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
Instances []*UESSInstanceListResponse_Instance `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"`
}
func (x *UESSInstanceListResponse) Reset() {
*x = UESSInstanceListResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSInstanceListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSInstanceListResponse) ProtoMessage() {}
func (x *UESSInstanceListResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSInstanceListResponse.ProtoReflect.Descriptor instead.
func (*UESSInstanceListResponse) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{1}
}
func (x *UESSInstanceListResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *UESSInstanceListResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *UESSInstanceListResponse) GetInstances() []*UESSInstanceListResponse_Instance {
if x != nil {
return x.Instances
}
return nil
}
// 创建实例 POST token_option /api/v1/instance/create
type UESSCreateInstanceRequest 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"` // 应用名称
}
func (x *UESSCreateInstanceRequest) Reset() {
*x = UESSCreateInstanceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSCreateInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSCreateInstanceRequest) ProtoMessage() {}
func (x *UESSCreateInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSCreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*UESSCreateInstanceRequest) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{2}
}
func (x *UESSCreateInstanceRequest) GetAppName() string {
if x != nil {
return x.AppName
}
return ""
}
type UESSCreateInstanceResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
WsUrl string `protobuf:"bytes,4,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
UeVersion string `protobuf:"bytes,5,opt,name=ue_version,json=ueVersion,proto3" json:"ue_version,omitempty"`
Status UESSInstanceStatus `protobuf:"varint,11,opt,name=status,proto3,enum=pb.UESSInstanceStatus" json:"status,omitempty"`
}
func (x *UESSCreateInstanceResponse) Reset() {
*x = UESSCreateInstanceResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSCreateInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSCreateInstanceResponse) ProtoMessage() {}
func (x *UESSCreateInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSCreateInstanceResponse.ProtoReflect.Descriptor instead.
func (*UESSCreateInstanceResponse) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{3}
}
func (x *UESSCreateInstanceResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *UESSCreateInstanceResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *UESSCreateInstanceResponse) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *UESSCreateInstanceResponse) GetWsUrl() string {
if x != nil {
return x.WsUrl
}
return ""
}
func (x *UESSCreateInstanceResponse) GetUeVersion() string {
if x != nil {
return x.UeVersion
}
return ""
}
func (x *UESSCreateInstanceResponse) GetStatus() UESSInstanceStatus {
if x != nil {
return x.Status
}
return UESSInstanceStatus_UIS_Unknown
}
// 移除实例 POST token_option /api/v1/instance/remove
type UESSRemoveInstanceRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
}
func (x *UESSRemoveInstanceRequest) Reset() {
*x = UESSRemoveInstanceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSRemoveInstanceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSRemoveInstanceRequest) ProtoMessage() {}
func (x *UESSRemoveInstanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSRemoveInstanceRequest.ProtoReflect.Descriptor instead.
func (*UESSRemoveInstanceRequest) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{4}
}
func (x *UESSRemoveInstanceRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
type UESSRemoveInstanceResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
}
func (x *UESSRemoveInstanceResponse) Reset() {
*x = UESSRemoveInstanceResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSRemoveInstanceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSRemoveInstanceResponse) ProtoMessage() {}
func (x *UESSRemoveInstanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSRemoveInstanceResponse.ProtoReflect.Descriptor instead.
func (*UESSRemoveInstanceResponse) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{5}
}
func (x *UESSRemoveInstanceResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *UESSRemoveInstanceResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
// 移除实例 POST token_option /api/v1/instance/detail
type UESSInstanceDetailRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
}
func (x *UESSInstanceDetailRequest) Reset() {
*x = UESSInstanceDetailRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSInstanceDetailRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSInstanceDetailRequest) ProtoMessage() {}
func (x *UESSInstanceDetailRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSInstanceDetailRequest.ProtoReflect.Descriptor instead.
func (*UESSInstanceDetailRequest) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{6}
}
func (x *UESSInstanceDetailRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
type UESSInstanceDetailResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
WsUrl string `protobuf:"bytes,4,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
UeVersion string `protobuf:"bytes,5,opt,name=ue_version,json=ueVersion,proto3" json:"ue_version,omitempty"`
Status UESSInstanceStatus `protobuf:"varint,11,opt,name=status,proto3,enum=pb.UESSInstanceStatus" json:"status,omitempty"`
}
func (x *UESSInstanceDetailResponse) Reset() {
*x = UESSInstanceDetailResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSInstanceDetailResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSInstanceDetailResponse) ProtoMessage() {}
func (x *UESSInstanceDetailResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSInstanceDetailResponse.ProtoReflect.Descriptor instead.
func (*UESSInstanceDetailResponse) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{7}
}
func (x *UESSInstanceDetailResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *UESSInstanceDetailResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *UESSInstanceDetailResponse) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *UESSInstanceDetailResponse) GetWsUrl() string {
if x != nil {
return x.WsUrl
}
return ""
}
func (x *UESSInstanceDetailResponse) GetUeVersion() string {
if x != nil {
return x.UeVersion
}
return ""
}
func (x *UESSInstanceDetailResponse) GetStatus() UESSInstanceStatus {
if x != nil {
return x.Status
}
return UESSInstanceStatus_UIS_Unknown
}
// 实例ready POST token_option /api/v1/instance/ready
type UESSInstanceReadyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID
}
func (x *UESSInstanceReadyRequest) Reset() {
*x = UESSInstanceReadyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSInstanceReadyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSInstanceReadyRequest) ProtoMessage() {}
func (x *UESSInstanceReadyRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSInstanceReadyRequest.ProtoReflect.Descriptor instead.
func (*UESSInstanceReadyRequest) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{8}
}
func (x *UESSInstanceReadyRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
type UESSInstanceReadyResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
}
func (x *UESSInstanceReadyResponse) Reset() {
*x = UESSInstanceReadyResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSInstanceReadyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSInstanceReadyResponse) ProtoMessage() {}
func (x *UESSInstanceReadyResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSInstanceReadyResponse.ProtoReflect.Descriptor instead.
func (*UESSInstanceReadyResponse) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{9}
}
func (x *UESSInstanceReadyResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *UESSInstanceReadyResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
// 获取调试工具 GET token_option /api/v1/instance/devtool
type UESSGetDebugToolRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UESSGetDebugToolRequest) Reset() {
*x = UESSGetDebugToolRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSGetDebugToolRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSGetDebugToolRequest) ProtoMessage() {}
func (x *UESSGetDebugToolRequest) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSGetDebugToolRequest.ProtoReflect.Descriptor instead.
func (*UESSGetDebugToolRequest) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{10}
}
type UESSGetDebugToolResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
SlsId string `protobuf:"bytes,3,opt,name=sls_id,json=slsId,proto3" json:"sls_id,omitempty"`
HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
StreamerPort uint32 `protobuf:"varint,5,opt,name=streamer_port,json=streamerPort,proto3" json:"streamer_port,omitempty"`
PlayerPort uint32 `protobuf:"varint,6,opt,name=player_port,json=playerPort,proto3" json:"player_port,omitempty"`
}
func (x *UESSGetDebugToolResponse) Reset() {
*x = UESSGetDebugToolResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSGetDebugToolResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSGetDebugToolResponse) ProtoMessage() {}
func (x *UESSGetDebugToolResponse) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_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 UESSGetDebugToolResponse.ProtoReflect.Descriptor instead.
func (*UESSGetDebugToolResponse) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{11}
}
func (x *UESSGetDebugToolResponse) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *UESSGetDebugToolResponse) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *UESSGetDebugToolResponse) GetSlsId() string {
if x != nil {
return x.SlsId
}
return ""
}
func (x *UESSGetDebugToolResponse) GetHostIp() string {
if x != nil {
return x.HostIp
}
return ""
}
func (x *UESSGetDebugToolResponse) GetStreamerPort() uint32 {
if x != nil {
return x.StreamerPort
}
return 0
}
func (x *UESSGetDebugToolResponse) GetPlayerPort() uint32 {
if x != nil {
return x.PlayerPort
}
return 0
}
type UESSInstanceListResponse_Instance struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
AppName string `protobuf:"bytes,2,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
StartTime string `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
SlsId string `protobuf:"bytes,4,opt,name=sls_id,json=slsId,proto3" json:"sls_id,omitempty"`
StreamerPort uint32 `protobuf:"varint,5,opt,name=streamer_port,json=streamerPort,proto3" json:"streamer_port,omitempty"`
PlayerPort uint32 `protobuf:"varint,6,opt,name=player_port,json=playerPort,proto3" json:"player_port,omitempty"`
SchedulerHostIp string `protobuf:"bytes,7,opt,name=scheduler_host_ip,json=schedulerHostIp,proto3" json:"scheduler_host_ip,omitempty"`
DeployHostIp string `protobuf:"bytes,8,opt,name=deploy_host_ip,json=deployHostIp,proto3" json:"deploy_host_ip,omitempty"`
StreamerPid uint32 `protobuf:"varint,9,opt,name=streamer_pid,json=streamerPid,proto3" json:"streamer_pid,omitempty"`
HeartTime string `protobuf:"bytes,10,opt,name=heart_time,json=heartTime,proto3" json:"heart_time,omitempty"`
Status UESSInstanceStatus `protobuf:"varint,11,opt,name=status,proto3,enum=pb.UESSInstanceStatus" json:"status,omitempty"`
InUse bool `protobuf:"varint,12,opt,name=in_use,json=inUse,proto3" json:"in_use,omitempty"`
UeVersion string `protobuf:"bytes,13,opt,name=ue_version,json=ueVersion,proto3" json:"ue_version,omitempty"`
}
func (x *UESSInstanceListResponse_Instance) Reset() {
*x = UESSInstanceListResponse_Instance{}
if protoimpl.UnsafeEnabled {
mi := &file_uess_instance_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UESSInstanceListResponse_Instance) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UESSInstanceListResponse_Instance) ProtoMessage() {}
func (x *UESSInstanceListResponse_Instance) ProtoReflect() protoreflect.Message {
mi := &file_uess_instance_proto_msgTypes[12]
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 UESSInstanceListResponse_Instance.ProtoReflect.Descriptor instead.
func (*UESSInstanceListResponse_Instance) Descriptor() ([]byte, []int) {
return file_uess_instance_proto_rawDescGZIP(), []int{1, 0}
}
func (x *UESSInstanceListResponse_Instance) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *UESSInstanceListResponse_Instance) GetAppName() string {
if x != nil {
return x.AppName
}
return ""
}
func (x *UESSInstanceListResponse_Instance) GetStartTime() string {
if x != nil {
return x.StartTime
}
return ""
}
func (x *UESSInstanceListResponse_Instance) GetSlsId() string {
if x != nil {
return x.SlsId
}
return ""
}
func (x *UESSInstanceListResponse_Instance) GetStreamerPort() uint32 {
if x != nil {
return x.StreamerPort
}
return 0
}
func (x *UESSInstanceListResponse_Instance) GetPlayerPort() uint32 {
if x != nil {
return x.PlayerPort
}
return 0
}
func (x *UESSInstanceListResponse_Instance) GetSchedulerHostIp() string {
if x != nil {
return x.SchedulerHostIp
}
return ""
}
func (x *UESSInstanceListResponse_Instance) GetDeployHostIp() string {
if x != nil {
return x.DeployHostIp
}
return ""
}
func (x *UESSInstanceListResponse_Instance) GetStreamerPid() uint32 {
if x != nil {
return x.StreamerPid
}
return 0
}
func (x *UESSInstanceListResponse_Instance) GetHeartTime() string {
if x != nil {
return x.HeartTime
}
return ""
}
func (x *UESSInstanceListResponse_Instance) GetStatus() UESSInstanceStatus {
if x != nil {
return x.Status
}
return UESSInstanceStatus_UIS_Unknown
}
func (x *UESSInstanceListResponse_Instance) GetInUse() bool {
if x != nil {
return x.InUse
}
return false
}
func (x *UESSInstanceListResponse_Instance) GetUeVersion() string {
if x != nil {
return x.UeVersion
}
return ""
}
var File_uess_instance_proto protoreflect.FileDescriptor
var file_uess_instance_proto_rawDesc = []byte{
0x0a, 0x13, 0x75, 0x65, 0x73, 0x73, 0x2d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7d, 0x0a, 0x17, 0x55, 0x45, 0x53,
0x53, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x49, 0x6e,
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x70, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x12, 0x19, 0x0a,
0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xc4, 0x04, 0x0a, 0x18, 0x55, 0x45, 0x53,
0x53, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x43, 0x0a, 0x09, 0x69,
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25,
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
0x1a, 0xbc, 0x03, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a,
0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x19,
0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61,
0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,
0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x6c, 0x73, 0x5f,
0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x6c, 0x73, 0x49, 0x64, 0x12,
0x23, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x72, 0x74,
0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72,
0x50, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x70,
0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65,
0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
0x65, 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x49,
0x70, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x5f, 0x68, 0x6f, 0x73, 0x74,
0x5f, 0x69, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x6c, 0x6f,
0x79, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x65, 0x61,
0x6d, 0x65, 0x72, 0x5f, 0x70, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73,
0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x50, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x65,
0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x68, 0x65, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x55,
0x45, 0x53, 0x53, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x6e, 0x5f,
0x75, 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x6e, 0x55, 0x73, 0x65,
0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22,
0x36, 0x0a, 0x19, 0x55, 0x45, 0x53, 0x53, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 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, 0x22, 0xc9, 0x01, 0x0a, 0x1a, 0x55, 0x45, 0x53, 0x53,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a,
0x06, 0x77, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77,
0x73, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x65, 0x56, 0x65, 0x72, 0x73,
0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20,
0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x49, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x22, 0x3c, 0x0a, 0x19, 0x55, 0x45, 0x53, 0x53, 0x52, 0x65, 0x6d, 0x6f, 0x76,
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49,
0x64, 0x22, 0x42, 0x0a, 0x1a, 0x55, 0x45, 0x53, 0x53, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49,
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73,
0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x3c, 0x0a, 0x19, 0x55, 0x45, 0x53, 0x53, 0x49, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x49, 0x64, 0x22, 0xc9, 0x01, 0x0a, 0x1a, 0x55, 0x45, 0x53, 0x53, 0x49, 0x6e, 0x73, 0x74,
0x61, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74,
0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69,
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x77, 0x73, 0x5f,
0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x73, 0x55, 0x72, 0x6c,
0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x16, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x45, 0x53, 0x53, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
0x3b, 0x0a, 0x18, 0x55, 0x45, 0x53, 0x53, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69,
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x22, 0x41, 0x0a, 0x19,
0x55, 0x45, 0x53, 0x53, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x61, 0x64,
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63,
0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22,
0x19, 0x0a, 0x17, 0x55, 0x45, 0x53, 0x53, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x54,
0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xb6, 0x01, 0x0a, 0x18, 0x55,
0x45, 0x53, 0x53, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x54, 0x6f, 0x6f, 0x6c, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a,
0x06, 0x73, 0x6c, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73,
0x6c, 0x73, 0x49, 0x64, 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, 0x12, 0x23, 0x0a,
0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x50, 0x6f,
0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x72,
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50,
0x6f, 0x72, 0x74, 0x2a, 0x81, 0x01, 0x0a, 0x12, 0x55, 0x45, 0x53, 0x53, 0x49, 0x6e, 0x73, 0x74,
0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x49,
0x53, 0x5f, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x55,
0x49, 0x53, 0x5f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x13, 0x0a,
0x0f, 0x55, 0x49, 0x53, 0x5f, 0x57, 0x61, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x49, 0x53, 0x5f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
0x74, 0x65, 0x64, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x53, 0x49, 0x5f, 0x52, 0x65, 0x73,
0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x53, 0x49,
0x5f, 0x44, 0x65, 0x61, 0x64, 0x10, 0x05, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_uess_instance_proto_rawDescOnce sync.Once
file_uess_instance_proto_rawDescData = file_uess_instance_proto_rawDesc
)
func file_uess_instance_proto_rawDescGZIP() []byte {
file_uess_instance_proto_rawDescOnce.Do(func() {
file_uess_instance_proto_rawDescData = protoimpl.X.CompressGZIP(file_uess_instance_proto_rawDescData)
})
return file_uess_instance_proto_rawDescData
}
var file_uess_instance_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_uess_instance_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_uess_instance_proto_goTypes = []interface{}{
(UESSInstanceStatus)(0), // 0: pb.UESSInstanceStatus
(*UESSInstanceListRequest)(nil), // 1: pb.UESSInstanceListRequest
(*UESSInstanceListResponse)(nil), // 2: pb.UESSInstanceListResponse
(*UESSCreateInstanceRequest)(nil), // 3: pb.UESSCreateInstanceRequest
(*UESSCreateInstanceResponse)(nil), // 4: pb.UESSCreateInstanceResponse
(*UESSRemoveInstanceRequest)(nil), // 5: pb.UESSRemoveInstanceRequest
(*UESSRemoveInstanceResponse)(nil), // 6: pb.UESSRemoveInstanceResponse
(*UESSInstanceDetailRequest)(nil), // 7: pb.UESSInstanceDetailRequest
(*UESSInstanceDetailResponse)(nil), // 8: pb.UESSInstanceDetailResponse
(*UESSInstanceReadyRequest)(nil), // 9: pb.UESSInstanceReadyRequest
(*UESSInstanceReadyResponse)(nil), // 10: pb.UESSInstanceReadyResponse
(*UESSGetDebugToolRequest)(nil), // 11: pb.UESSGetDebugToolRequest
(*UESSGetDebugToolResponse)(nil), // 12: pb.UESSGetDebugToolResponse
(*UESSInstanceListResponse_Instance)(nil), // 13: pb.UESSInstanceListResponse.Instance
}
var file_uess_instance_proto_depIdxs = []int32{
0, // 0: pb.UESSInstanceListRequest.status:type_name -> pb.UESSInstanceStatus
13, // 1: pb.UESSInstanceListResponse.instances:type_name -> pb.UESSInstanceListResponse.Instance
0, // 2: pb.UESSCreateInstanceResponse.status:type_name -> pb.UESSInstanceStatus
0, // 3: pb.UESSInstanceDetailResponse.status:type_name -> pb.UESSInstanceStatus
0, // 4: pb.UESSInstanceListResponse.Instance.status:type_name -> pb.UESSInstanceStatus
5, // [5:5] is the sub-list for method output_type
5, // [5:5] 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_instance_proto_init() }
func file_uess_instance_proto_init() {
if File_uess_instance_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_uess_instance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSInstanceListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSInstanceListResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSCreateInstanceRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSCreateInstanceResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSRemoveInstanceRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSRemoveInstanceResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSInstanceDetailRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSInstanceDetailResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSInstanceReadyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSInstanceReadyResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSGetDebugToolRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSGetDebugToolResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uess_instance_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UESSInstanceListResponse_Instance); 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_instance_proto_rawDesc,
NumEnums: 1,
NumMessages: 13,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_uess_instance_proto_goTypes,
DependencyIndexes: file_uess_instance_proto_depIdxs,
EnumInfos: file_uess_instance_proto_enumTypes,
MessageInfos: file_uess_instance_proto_msgTypes,
}.Build()
File_uess_instance_proto = out.File
file_uess_instance_proto_rawDesc = nil
file_uess_instance_proto_goTypes = nil
file_uess_instance_proto_depIdxs = nil
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lrayt-study-space/uess-protobuf.git
git@gitee.com:lrayt-study-space/uess-protobuf.git
lrayt-study-space
uess-protobuf
uess-protobuf
v0.2.1

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385