mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
2172 lines
75 KiB
Go
2172 lines
75 KiB
Go
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
|
|
// Licensed under the GNU Affero General Public License (AGPL).
|
|
// See License.AGPL.txt in the project root for license information.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v3.20.1
|
|
// source: status.proto
|
|
|
|
package api
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
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 ContentSource int32
|
|
|
|
const (
|
|
ContentSource_from_other ContentSource = 0
|
|
ContentSource_from_backup ContentSource = 1
|
|
ContentSource_from_prebuild ContentSource = 2
|
|
)
|
|
|
|
// Enum value maps for ContentSource.
|
|
var (
|
|
ContentSource_name = map[int32]string{
|
|
0: "from_other",
|
|
1: "from_backup",
|
|
2: "from_prebuild",
|
|
}
|
|
ContentSource_value = map[string]int32{
|
|
"from_other": 0,
|
|
"from_backup": 1,
|
|
"from_prebuild": 2,
|
|
}
|
|
)
|
|
|
|
func (x ContentSource) Enum() *ContentSource {
|
|
p := new(ContentSource)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ContentSource) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ContentSource) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_status_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ContentSource) Type() protoreflect.EnumType {
|
|
return &file_status_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ContentSource) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ContentSource.Descriptor instead.
|
|
func (ContentSource) EnumDescriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type PortVisibility int32
|
|
|
|
const (
|
|
PortVisibility_private PortVisibility = 0
|
|
PortVisibility_public PortVisibility = 1
|
|
)
|
|
|
|
// Enum value maps for PortVisibility.
|
|
var (
|
|
PortVisibility_name = map[int32]string{
|
|
0: "private",
|
|
1: "public",
|
|
}
|
|
PortVisibility_value = map[string]int32{
|
|
"private": 0,
|
|
"public": 1,
|
|
}
|
|
)
|
|
|
|
func (x PortVisibility) Enum() *PortVisibility {
|
|
p := new(PortVisibility)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PortVisibility) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PortVisibility) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_status_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (PortVisibility) Type() protoreflect.EnumType {
|
|
return &file_status_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x PortVisibility) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PortVisibility.Descriptor instead.
|
|
func (PortVisibility) EnumDescriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
// DEPRECATED(use PortsStatus.OnOpenAction)
|
|
type OnPortExposedAction int32
|
|
|
|
const (
|
|
OnPortExposedAction_ignore OnPortExposedAction = 0
|
|
OnPortExposedAction_open_browser OnPortExposedAction = 1
|
|
OnPortExposedAction_open_preview OnPortExposedAction = 2
|
|
OnPortExposedAction_notify OnPortExposedAction = 3
|
|
OnPortExposedAction_notify_private OnPortExposedAction = 4
|
|
)
|
|
|
|
// Enum value maps for OnPortExposedAction.
|
|
var (
|
|
OnPortExposedAction_name = map[int32]string{
|
|
0: "ignore",
|
|
1: "open_browser",
|
|
2: "open_preview",
|
|
3: "notify",
|
|
4: "notify_private",
|
|
}
|
|
OnPortExposedAction_value = map[string]int32{
|
|
"ignore": 0,
|
|
"open_browser": 1,
|
|
"open_preview": 2,
|
|
"notify": 3,
|
|
"notify_private": 4,
|
|
}
|
|
)
|
|
|
|
func (x OnPortExposedAction) Enum() *OnPortExposedAction {
|
|
p := new(OnPortExposedAction)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x OnPortExposedAction) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (OnPortExposedAction) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_status_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (OnPortExposedAction) Type() protoreflect.EnumType {
|
|
return &file_status_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x OnPortExposedAction) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use OnPortExposedAction.Descriptor instead.
|
|
func (OnPortExposedAction) EnumDescriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type PortAutoExposure int32
|
|
|
|
const (
|
|
PortAutoExposure_trying PortAutoExposure = 0
|
|
PortAutoExposure_succeeded PortAutoExposure = 1
|
|
PortAutoExposure_failed PortAutoExposure = 2
|
|
)
|
|
|
|
// Enum value maps for PortAutoExposure.
|
|
var (
|
|
PortAutoExposure_name = map[int32]string{
|
|
0: "trying",
|
|
1: "succeeded",
|
|
2: "failed",
|
|
}
|
|
PortAutoExposure_value = map[string]int32{
|
|
"trying": 0,
|
|
"succeeded": 1,
|
|
"failed": 2,
|
|
}
|
|
)
|
|
|
|
func (x PortAutoExposure) Enum() *PortAutoExposure {
|
|
p := new(PortAutoExposure)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PortAutoExposure) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PortAutoExposure) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_status_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (PortAutoExposure) Type() protoreflect.EnumType {
|
|
return &file_status_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x PortAutoExposure) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PortAutoExposure.Descriptor instead.
|
|
func (PortAutoExposure) EnumDescriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type TaskState int32
|
|
|
|
const (
|
|
TaskState_opening TaskState = 0
|
|
TaskState_running TaskState = 1
|
|
TaskState_closed TaskState = 2
|
|
)
|
|
|
|
// Enum value maps for TaskState.
|
|
var (
|
|
TaskState_name = map[int32]string{
|
|
0: "opening",
|
|
1: "running",
|
|
2: "closed",
|
|
}
|
|
TaskState_value = map[string]int32{
|
|
"opening": 0,
|
|
"running": 1,
|
|
"closed": 2,
|
|
}
|
|
)
|
|
|
|
func (x TaskState) Enum() *TaskState {
|
|
p := new(TaskState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x TaskState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (TaskState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_status_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (TaskState) Type() protoreflect.EnumType {
|
|
return &file_status_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x TaskState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskState.Descriptor instead.
|
|
func (TaskState) EnumDescriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type ResourceStatusSeverity int32
|
|
|
|
const (
|
|
ResourceStatusSeverity_normal ResourceStatusSeverity = 0
|
|
ResourceStatusSeverity_warning ResourceStatusSeverity = 1
|
|
ResourceStatusSeverity_danger ResourceStatusSeverity = 2
|
|
)
|
|
|
|
// Enum value maps for ResourceStatusSeverity.
|
|
var (
|
|
ResourceStatusSeverity_name = map[int32]string{
|
|
0: "normal",
|
|
1: "warning",
|
|
2: "danger",
|
|
}
|
|
ResourceStatusSeverity_value = map[string]int32{
|
|
"normal": 0,
|
|
"warning": 1,
|
|
"danger": 2,
|
|
}
|
|
)
|
|
|
|
func (x ResourceStatusSeverity) Enum() *ResourceStatusSeverity {
|
|
p := new(ResourceStatusSeverity)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ResourceStatusSeverity) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ResourceStatusSeverity) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_status_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (ResourceStatusSeverity) Type() protoreflect.EnumType {
|
|
return &file_status_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x ResourceStatusSeverity) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ResourceStatusSeverity.Descriptor instead.
|
|
func (ResourceStatusSeverity) EnumDescriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type PortsStatus_OnOpenAction int32
|
|
|
|
const (
|
|
PortsStatus_ignore PortsStatus_OnOpenAction = 0
|
|
PortsStatus_open_browser PortsStatus_OnOpenAction = 1
|
|
PortsStatus_open_preview PortsStatus_OnOpenAction = 2
|
|
PortsStatus_notify PortsStatus_OnOpenAction = 3
|
|
PortsStatus_notify_private PortsStatus_OnOpenAction = 4
|
|
)
|
|
|
|
// Enum value maps for PortsStatus_OnOpenAction.
|
|
var (
|
|
PortsStatus_OnOpenAction_name = map[int32]string{
|
|
0: "ignore",
|
|
1: "open_browser",
|
|
2: "open_preview",
|
|
3: "notify",
|
|
4: "notify_private",
|
|
}
|
|
PortsStatus_OnOpenAction_value = map[string]int32{
|
|
"ignore": 0,
|
|
"open_browser": 1,
|
|
"open_preview": 2,
|
|
"notify": 3,
|
|
"notify_private": 4,
|
|
}
|
|
)
|
|
|
|
func (x PortsStatus_OnOpenAction) Enum() *PortsStatus_OnOpenAction {
|
|
p := new(PortsStatus_OnOpenAction)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PortsStatus_OnOpenAction) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PortsStatus_OnOpenAction) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_status_proto_enumTypes[6].Descriptor()
|
|
}
|
|
|
|
func (PortsStatus_OnOpenAction) Type() protoreflect.EnumType {
|
|
return &file_status_proto_enumTypes[6]
|
|
}
|
|
|
|
func (x PortsStatus_OnOpenAction) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PortsStatus_OnOpenAction.Descriptor instead.
|
|
func (PortsStatus_OnOpenAction) EnumDescriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{12, 0}
|
|
}
|
|
|
|
type SupervisorStatusRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SupervisorStatusRequest) Reset() {
|
|
*x = SupervisorStatusRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SupervisorStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SupervisorStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *SupervisorStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 SupervisorStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*SupervisorStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type SupervisorStatusResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
}
|
|
|
|
func (x *SupervisorStatusResponse) Reset() {
|
|
*x = SupervisorStatusResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SupervisorStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SupervisorStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *SupervisorStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 SupervisorStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*SupervisorStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SupervisorStatusResponse) GetOk() bool {
|
|
if x != nil {
|
|
return x.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
type IDEStatusRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// if true this request will return either when it times out or when the workspace IDE
|
|
// has become available.
|
|
Wait bool `protobuf:"varint,1,opt,name=wait,proto3" json:"wait,omitempty"`
|
|
}
|
|
|
|
func (x *IDEStatusRequest) Reset() {
|
|
*x = IDEStatusRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IDEStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IDEStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *IDEStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 IDEStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*IDEStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *IDEStatusRequest) GetWait() bool {
|
|
if x != nil {
|
|
return x.Wait
|
|
}
|
|
return false
|
|
}
|
|
|
|
type IDEStatusResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
Desktop *IDEStatusResponse_DesktopStatus `protobuf:"bytes,2,opt,name=desktop,proto3" json:"desktop,omitempty"`
|
|
}
|
|
|
|
func (x *IDEStatusResponse) Reset() {
|
|
*x = IDEStatusResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IDEStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IDEStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *IDEStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 IDEStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*IDEStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *IDEStatusResponse) GetOk() bool {
|
|
if x != nil {
|
|
return x.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *IDEStatusResponse) GetDesktop() *IDEStatusResponse_DesktopStatus {
|
|
if x != nil {
|
|
return x.Desktop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentStatusRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// if true this request will return either when it times out or when the workspace content
|
|
// has become available.
|
|
Wait bool `protobuf:"varint,1,opt,name=wait,proto3" json:"wait,omitempty"`
|
|
}
|
|
|
|
func (x *ContentStatusRequest) Reset() {
|
|
*x = ContentStatusRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ContentStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 ContentStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ContentStatusRequest) GetWait() bool {
|
|
if x != nil {
|
|
return x.Wait
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ContentStatusResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// true if the workspace content is available
|
|
Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
|
|
// source indicates where the workspace content came from
|
|
Source ContentSource `protobuf:"varint,2,opt,name=source,proto3,enum=supervisor.ContentSource" json:"source,omitempty"`
|
|
}
|
|
|
|
func (x *ContentStatusResponse) Reset() {
|
|
*x = ContentStatusResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ContentStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 ContentStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ContentStatusResponse) GetAvailable() bool {
|
|
if x != nil {
|
|
return x.Available
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ContentStatusResponse) GetSource() ContentSource {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ContentSource_from_other
|
|
}
|
|
|
|
type BackupStatusRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *BackupStatusRequest) Reset() {
|
|
*x = BackupStatusRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BackupStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BackupStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *BackupStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 BackupStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*BackupStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type BackupStatusResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CanaryAvailable bool `protobuf:"varint,1,opt,name=canary_available,json=canaryAvailable,proto3" json:"canary_available,omitempty"`
|
|
}
|
|
|
|
func (x *BackupStatusResponse) Reset() {
|
|
*x = BackupStatusResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BackupStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BackupStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *BackupStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 BackupStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*BackupStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *BackupStatusResponse) GetCanaryAvailable() bool {
|
|
if x != nil {
|
|
return x.CanaryAvailable
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PortsStatusRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// if observe is true, we'll return a stream of changes rather than just the
|
|
// current state of affairs.
|
|
Observe bool `protobuf:"varint,1,opt,name=observe,proto3" json:"observe,omitempty"`
|
|
}
|
|
|
|
func (x *PortsStatusRequest) Reset() {
|
|
*x = PortsStatusRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PortsStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PortsStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *PortsStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 PortsStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*PortsStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *PortsStatusRequest) GetObserve() bool {
|
|
if x != nil {
|
|
return x.Observe
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PortsStatusResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ports []*PortsStatus `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"`
|
|
}
|
|
|
|
func (x *PortsStatusResponse) Reset() {
|
|
*x = PortsStatusResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PortsStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PortsStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *PortsStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 PortsStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*PortsStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *PortsStatusResponse) GetPorts() []*PortsStatus {
|
|
if x != nil {
|
|
return x.Ports
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ExposedPortInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// public determines if the port is available without authentication or not
|
|
Visibility PortVisibility `protobuf:"varint,1,opt,name=visibility,proto3,enum=supervisor.PortVisibility" json:"visibility,omitempty"`
|
|
// url is the URL at which the port is available
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
// DEPRECATED(use PortsStatus.on_open instead): action hint on expose
|
|
//
|
|
// Deprecated: Do not use.
|
|
OnExposed OnPortExposedAction `protobuf:"varint,3,opt,name=on_exposed,json=onExposed,proto3,enum=supervisor.OnPortExposedAction" json:"on_exposed,omitempty"`
|
|
}
|
|
|
|
func (x *ExposedPortInfo) Reset() {
|
|
*x = ExposedPortInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ExposedPortInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExposedPortInfo) ProtoMessage() {}
|
|
|
|
func (x *ExposedPortInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 ExposedPortInfo.ProtoReflect.Descriptor instead.
|
|
func (*ExposedPortInfo) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *ExposedPortInfo) GetVisibility() PortVisibility {
|
|
if x != nil {
|
|
return x.Visibility
|
|
}
|
|
return PortVisibility_private
|
|
}
|
|
|
|
func (x *ExposedPortInfo) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *ExposedPortInfo) GetOnExposed() OnPortExposedAction {
|
|
if x != nil {
|
|
return x.OnExposed
|
|
}
|
|
return OnPortExposedAction_ignore
|
|
}
|
|
|
|
type TunneledPortInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// target port is the desired port on the remote machine
|
|
TargetPort uint32 `protobuf:"varint,1,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"`
|
|
// visibility determines if the listener on remote machine should accept connections from localhost or network
|
|
// visibility none means that the port should not be tunneled
|
|
Visibility TunnelVisiblity `protobuf:"varint,2,opt,name=visibility,proto3,enum=supervisor.TunnelVisiblity" json:"visibility,omitempty"`
|
|
// map of remote clients indicates on which remote port each client is listening to
|
|
Clients map[string]uint32 `protobuf:"bytes,3,rep,name=clients,proto3" json:"clients,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *TunneledPortInfo) Reset() {
|
|
*x = TunneledPortInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TunneledPortInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TunneledPortInfo) ProtoMessage() {}
|
|
|
|
func (x *TunneledPortInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 TunneledPortInfo.ProtoReflect.Descriptor instead.
|
|
func (*TunneledPortInfo) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *TunneledPortInfo) GetTargetPort() uint32 {
|
|
if x != nil {
|
|
return x.TargetPort
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TunneledPortInfo) GetVisibility() TunnelVisiblity {
|
|
if x != nil {
|
|
return x.Visibility
|
|
}
|
|
return TunnelVisiblity_none
|
|
}
|
|
|
|
func (x *TunneledPortInfo) GetClients() map[string]uint32 {
|
|
if x != nil {
|
|
return x.Clients
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PortsStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// local_port is the port a service actually bound to. Some services bind
|
|
// to localhost:<port>, in which case they cannot be made accessible from
|
|
// outside the container. To help with this, supervisor then starts a proxy
|
|
// that forwards traffic to this local port. In those cases, global_port
|
|
// contains the port where the proxy is listening on.
|
|
LocalPort uint32 `protobuf:"varint,1,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
|
|
// served is true if there is a process in the workspace that serves this port.
|
|
Served bool `protobuf:"varint,4,opt,name=served,proto3" json:"served,omitempty"`
|
|
// Exposed provides information when a port is exposed. If this field isn't set,
|
|
// the port is not available from outside the workspace (i.e. the internet).
|
|
Exposed *ExposedPortInfo `protobuf:"bytes,5,opt,name=exposed,proto3" json:"exposed,omitempty"`
|
|
// AutoExposure indicates the state of auto exposure
|
|
AutoExposure PortAutoExposure `protobuf:"varint,7,opt,name=auto_exposure,json=autoExposure,proto3,enum=supervisor.PortAutoExposure" json:"auto_exposure,omitempty"`
|
|
// Tunneled provides information when a port is tunneled. If not present then
|
|
// the port is not tunneled.
|
|
Tunneled *TunneledPortInfo `protobuf:"bytes,6,opt,name=tunneled,proto3" json:"tunneled,omitempty"`
|
|
// Port description, obtained from Gitpod PortConfig.
|
|
Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
|
|
// Port name, obtained from Gitpod PortConfig.
|
|
Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Action hint on open
|
|
OnOpen PortsStatus_OnOpenAction `protobuf:"varint,10,opt,name=on_open,json=onOpen,proto3,enum=supervisor.PortsStatus_OnOpenAction" json:"on_open,omitempty"`
|
|
}
|
|
|
|
func (x *PortsStatus) Reset() {
|
|
*x = PortsStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PortsStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PortsStatus) ProtoMessage() {}
|
|
|
|
func (x *PortsStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_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 PortsStatus.ProtoReflect.Descriptor instead.
|
|
func (*PortsStatus) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *PortsStatus) GetLocalPort() uint32 {
|
|
if x != nil {
|
|
return x.LocalPort
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PortsStatus) GetServed() bool {
|
|
if x != nil {
|
|
return x.Served
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PortsStatus) GetExposed() *ExposedPortInfo {
|
|
if x != nil {
|
|
return x.Exposed
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PortsStatus) GetAutoExposure() PortAutoExposure {
|
|
if x != nil {
|
|
return x.AutoExposure
|
|
}
|
|
return PortAutoExposure_trying
|
|
}
|
|
|
|
func (x *PortsStatus) GetTunneled() *TunneledPortInfo {
|
|
if x != nil {
|
|
return x.Tunneled
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PortsStatus) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PortsStatus) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PortsStatus) GetOnOpen() PortsStatus_OnOpenAction {
|
|
if x != nil {
|
|
return x.OnOpen
|
|
}
|
|
return PortsStatus_ignore
|
|
}
|
|
|
|
type TasksStatusRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// if observe is true, we'll return a stream of changes rather than just the
|
|
// current state of affairs.
|
|
Observe bool `protobuf:"varint,1,opt,name=observe,proto3" json:"observe,omitempty"`
|
|
}
|
|
|
|
func (x *TasksStatusRequest) Reset() {
|
|
*x = TasksStatusRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TasksStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TasksStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *TasksStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_proto_msgTypes[13]
|
|
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 TasksStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*TasksStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *TasksStatusRequest) GetObserve() bool {
|
|
if x != nil {
|
|
return x.Observe
|
|
}
|
|
return false
|
|
}
|
|
|
|
type TasksStatusResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tasks []*TaskStatus `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
}
|
|
|
|
func (x *TasksStatusResponse) Reset() {
|
|
*x = TasksStatusResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TasksStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TasksStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *TasksStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_proto_msgTypes[14]
|
|
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 TasksStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*TasksStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *TasksStatusResponse) GetTasks() []*TaskStatus {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TaskStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
State TaskState `protobuf:"varint,2,opt,name=state,proto3,enum=supervisor.TaskState" json:"state,omitempty"`
|
|
Terminal string `protobuf:"bytes,3,opt,name=terminal,proto3" json:"terminal,omitempty"`
|
|
Presentation *TaskPresentation `protobuf:"bytes,4,opt,name=presentation,proto3" json:"presentation,omitempty"`
|
|
}
|
|
|
|
func (x *TaskStatus) Reset() {
|
|
*x = TaskStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskStatus) ProtoMessage() {}
|
|
|
|
func (x *TaskStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_proto_msgTypes[15]
|
|
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 TaskStatus.ProtoReflect.Descriptor instead.
|
|
func (*TaskStatus) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *TaskStatus) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskStatus) GetState() TaskState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return TaskState_opening
|
|
}
|
|
|
|
func (x *TaskStatus) GetTerminal() string {
|
|
if x != nil {
|
|
return x.Terminal
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskStatus) GetPresentation() *TaskPresentation {
|
|
if x != nil {
|
|
return x.Presentation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TaskPresentation struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
OpenIn string `protobuf:"bytes,2,opt,name=open_in,json=openIn,proto3" json:"open_in,omitempty"`
|
|
OpenMode string `protobuf:"bytes,3,opt,name=open_mode,json=openMode,proto3" json:"open_mode,omitempty"`
|
|
}
|
|
|
|
func (x *TaskPresentation) Reset() {
|
|
*x = TaskPresentation{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskPresentation) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskPresentation) ProtoMessage() {}
|
|
|
|
func (x *TaskPresentation) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_proto_msgTypes[16]
|
|
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 TaskPresentation.ProtoReflect.Descriptor instead.
|
|
func (*TaskPresentation) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *TaskPresentation) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskPresentation) GetOpenIn() string {
|
|
if x != nil {
|
|
return x.OpenIn
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskPresentation) GetOpenMode() string {
|
|
if x != nil {
|
|
return x.OpenMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResourcesStatuRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ResourcesStatuRequest) Reset() {
|
|
*x = ResourcesStatuRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ResourcesStatuRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResourcesStatuRequest) ProtoMessage() {}
|
|
|
|
func (x *ResourcesStatuRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_proto_msgTypes[17]
|
|
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 ResourcesStatuRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResourcesStatuRequest) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
type ResourcesStatusResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Used memory and limit in bytes
|
|
Memory *ResourceStatus `protobuf:"bytes,1,opt,name=memory,proto3" json:"memory,omitempty"`
|
|
// Used CPU and limit in millicores.
|
|
Cpu *ResourceStatus `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
|
|
}
|
|
|
|
func (x *ResourcesStatusResponse) Reset() {
|
|
*x = ResourcesStatusResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ResourcesStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResourcesStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *ResourcesStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_proto_msgTypes[18]
|
|
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 ResourcesStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResourcesStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *ResourcesStatusResponse) GetMemory() *ResourceStatus {
|
|
if x != nil {
|
|
return x.Memory
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResourcesStatusResponse) GetCpu() *ResourceStatus {
|
|
if x != nil {
|
|
return x.Cpu
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResourceStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Used int64 `protobuf:"varint,1,opt,name=used,proto3" json:"used,omitempty"`
|
|
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Severity ResourceStatusSeverity `protobuf:"varint,3,opt,name=severity,proto3,enum=supervisor.ResourceStatusSeverity" json:"severity,omitempty"`
|
|
}
|
|
|
|
func (x *ResourceStatus) Reset() {
|
|
*x = ResourceStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ResourceStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResourceStatus) ProtoMessage() {}
|
|
|
|
func (x *ResourceStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_proto_msgTypes[19]
|
|
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 ResourceStatus.ProtoReflect.Descriptor instead.
|
|
func (*ResourceStatus) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *ResourceStatus) GetUsed() int64 {
|
|
if x != nil {
|
|
return x.Used
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ResourceStatus) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ResourceStatus) GetSeverity() ResourceStatusSeverity {
|
|
if x != nil {
|
|
return x.Severity
|
|
}
|
|
return ResourceStatusSeverity_normal
|
|
}
|
|
|
|
type IDEStatusResponse_DesktopStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
|
|
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
|
ClientID string `protobuf:"bytes,3,opt,name=clientID,proto3" json:"clientID,omitempty"`
|
|
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
}
|
|
|
|
func (x *IDEStatusResponse_DesktopStatus) Reset() {
|
|
*x = IDEStatusResponse_DesktopStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_status_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IDEStatusResponse_DesktopStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IDEStatusResponse_DesktopStatus) ProtoMessage() {}
|
|
|
|
func (x *IDEStatusResponse_DesktopStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_status_proto_msgTypes[20]
|
|
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 IDEStatusResponse_DesktopStatus.ProtoReflect.Descriptor instead.
|
|
func (*IDEStatusResponse_DesktopStatus) Descriptor() ([]byte, []int) {
|
|
return file_status_proto_rawDescGZIP(), []int{3, 0}
|
|
}
|
|
|
|
func (x *IDEStatusResponse_DesktopStatus) GetLink() string {
|
|
if x != nil {
|
|
return x.Link
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IDEStatusResponse_DesktopStatus) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IDEStatusResponse_DesktopStatus) GetClientID() string {
|
|
if x != nil {
|
|
return x.ClientID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IDEStatusResponse_DesktopStatus) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_status_proto protoreflect.FileDescriptor
|
|
|
|
var file_status_proto_rawDesc = []byte{
|
|
0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
|
|
0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
|
|
0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x19, 0x0a, 0x17, 0x53, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,
|
|
0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
|
0x2a, 0x0a, 0x18, 0x53, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x53, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f,
|
|
0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x22, 0x26, 0x0a, 0x10, 0x49,
|
|
0x44, 0x45, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x77,
|
|
0x61, 0x69, 0x74, 0x22, 0xd5, 0x01, 0x0a, 0x11, 0x49, 0x44, 0x45, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x45, 0x0a, 0x07, 0x64, 0x65, 0x73,
|
|
0x6b, 0x74, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x75, 0x70,
|
|
0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x49, 0x44, 0x45, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x6b, 0x74, 0x6f,
|
|
0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x07, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70,
|
|
0x1a, 0x69, 0x0a, 0x0d, 0x44, 0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x63,
|
|
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
|
|
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x2a, 0x0a, 0x14, 0x43,
|
|
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x22, 0x68, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31,
|
|
0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19,
|
|
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x22, 0x15, 0x0a, 0x13, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x14, 0x42, 0x61, 0x63, 0x6b,
|
|
0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x29, 0x0a, 0x10, 0x63, 0x61, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c,
|
|
0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x61,
|
|
0x72, 0x79, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x2e, 0x0a, 0x12, 0x50,
|
|
0x6f, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x07, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x44, 0x0a, 0x13, 0x50,
|
|
0x6f, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x17, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x50,
|
|
0x6f, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74,
|
|
0x73, 0x22, 0xa3, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x50, 0x6f, 0x72,
|
|
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c,
|
|
0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x73, 0x75, 0x70, 0x65,
|
|
0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62,
|
|
0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74,
|
|
0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
|
0x75, 0x72, 0x6c, 0x12, 0x42, 0x0a, 0x0a, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65,
|
|
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76,
|
|
0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4f, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73,
|
|
0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6f, 0x6e,
|
|
0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x22, 0xf1, 0x01, 0x0a, 0x10, 0x54, 0x75, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b,
|
|
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x3b, 0x0a,
|
|
0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54,
|
|
0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a,
|
|
0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x07, 0x63, 0x6c,
|
|
0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x75,
|
|
0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x65,
|
|
0x64, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a,
|
|
0x3a, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
|
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd3, 0x03, 0x0a, 0x0b,
|
|
0x50, 0x6f, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6c,
|
|
0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65,
|
|
0x72, 0x76, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76,
|
|
0x65, 0x64, 0x12, 0x35, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
|
|
0x2e, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x07, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x0d, 0x61, 0x75, 0x74,
|
|
0x6f, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x1c, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x50, 0x6f,
|
|
0x72, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x0c,
|
|
0x61, 0x75, 0x74, 0x6f, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x38, 0x0a, 0x08,
|
|
0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
|
|
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54, 0x75, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x74, 0x75,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
|
|
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x07,
|
|
0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,
|
|
0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x73,
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x4f, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x63, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x22, 0x5e, 0x0a, 0x0c, 0x4f,
|
|
0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x69,
|
|
0x67, 0x6e, 0x6f, 0x72, 0x65, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x6e, 0x5f,
|
|
0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x6f, 0x70, 0x65,
|
|
0x6e, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x6e,
|
|
0x6f, 0x74, 0x69, 0x66, 0x79, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66,
|
|
0x79, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x02, 0x10,
|
|
0x03, 0x22, 0x2e, 0x0a, 0x12, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x62, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76,
|
|
0x65, 0x22, 0x43, 0x0a, 0x13, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b,
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76,
|
|
0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x53,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f,
|
|
0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61,
|
|
0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x12, 0x40,
|
|
0x0a, 0x0c, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f,
|
|
0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x22, 0x5c, 0x0a, 0x10, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x70, 0x65, 0x6e,
|
|
0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49,
|
|
0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x17,
|
|
0x0a, 0x15, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x7b, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
|
|
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,
|
|
0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
|
|
0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
0x03, 0x63, 0x70, 0x75, 0x22, 0x7a, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69,
|
|
0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
|
0x12, 0x3e, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x22, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
|
|
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x65,
|
|
0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79,
|
|
0x2a, 0x43, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x10,
|
|
0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
|
0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x62, 0x75,
|
|
0x69, 0x6c, 0x64, 0x10, 0x02, 0x2a, 0x29, 0x0a, 0x0e, 0x50, 0x6f, 0x72, 0x74, 0x56, 0x69, 0x73,
|
|
0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61,
|
|
0x74, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x10, 0x01,
|
|
0x2a, 0x65, 0x0a, 0x13, 0x4f, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65,
|
|
0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x69, 0x67, 0x6e, 0x6f, 0x72,
|
|
0x65, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x62, 0x72, 0x6f, 0x77,
|
|
0x73, 0x65, 0x72, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x70, 0x72,
|
|
0x65, 0x76, 0x69, 0x65, 0x77, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x66,
|
|
0x79, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x70, 0x72,
|
|
0x69, 0x76, 0x61, 0x74, 0x65, 0x10, 0x04, 0x2a, 0x39, 0x0a, 0x10, 0x50, 0x6f, 0x72, 0x74, 0x41,
|
|
0x75, 0x74, 0x6f, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x74,
|
|
0x72, 0x79, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x73, 0x75, 0x63, 0x63, 0x65,
|
|
0x65, 0x64, 0x65, 0x64, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64,
|
|
0x10, 0x02, 0x2a, 0x31, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
|
|
0x0b, 0x0a, 0x07, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
|
|
0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x63, 0x6c, 0x6f,
|
|
0x73, 0x65, 0x64, 0x10, 0x02, 0x2a, 0x3d, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12,
|
|
0x0a, 0x0a, 0x06, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x77,
|
|
0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x64, 0x61, 0x6e, 0x67,
|
|
0x65, 0x72, 0x10, 0x02, 0x32, 0xc4, 0x07, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7c, 0x0a, 0x10, 0x53, 0x75, 0x70, 0x65, 0x72, 0x76,
|
|
0x69, 0x73, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x2e, 0x73, 0x75, 0x70,
|
|
0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x53, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,
|
|
0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x24, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x53, 0x75, 0x70,
|
|
0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f,
|
|
0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76,
|
|
0x69, 0x73, 0x6f, 0x72, 0x12, 0x83, 0x01, 0x0a, 0x09, 0x49, 0x44, 0x45, 0x53, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x12, 0x1c, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
|
|
0x49, 0x44, 0x45, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x1d, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x49, 0x44,
|
|
0x45, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x12, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x2f, 0x69, 0x64, 0x65, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x73,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x69, 0x64, 0x65, 0x2f, 0x77, 0x61, 0x69, 0x74, 0x2f, 0x7b,
|
|
0x77, 0x61, 0x69, 0x74, 0x3d, 0x74, 0x72, 0x75, 0x65, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x0d, 0x43,
|
|
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x73,
|
|
0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
|
0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
|
|
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x73,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5a, 0x25, 0x12,
|
|
0x23, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x2f, 0x77, 0x61, 0x69, 0x74, 0x2f, 0x7b, 0x77, 0x61, 0x69, 0x74, 0x3d, 0x74,
|
|
0x72, 0x75, 0x65, 0x7d, 0x12, 0x6c, 0x0a, 0x0c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74,
|
|
0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f,
|
|
0x72, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,
|
|
0x6f, 0x72, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12,
|
|
0x11, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x62, 0x61, 0x63, 0x6b,
|
|
0x75, 0x70, 0x12, 0x95, 0x01, 0x0a, 0x0b, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x12, 0x1e, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
|
|
0x50, 0x6f, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
|
|
0x50, 0x6f, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x10, 0x2f, 0x76, 0x31,
|
|
0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5a, 0x29, 0x12,
|
|
0x27, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x70, 0x6f, 0x72, 0x74,
|
|
0x73, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x2f, 0x7b, 0x6f, 0x62, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x3d, 0x74, 0x72, 0x75, 0x65, 0x7d, 0x30, 0x01, 0x12, 0x95, 0x01, 0x0a, 0x0b, 0x54,
|
|
0x61, 0x73, 0x6b, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x2e, 0x73, 0x75, 0x70,
|
|
0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x73, 0x75, 0x70,
|
|
0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4,
|
|
0x93, 0x02, 0x3d, 0x12, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f,
|
|
0x74, 0x61, 0x73, 0x6b, 0x73, 0x5a, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76,
|
|
0x65, 0x2f, 0x7b, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x3d, 0x74, 0x72, 0x75, 0x65, 0x7d,
|
|
0x30, 0x01, 0x12, 0x77, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x53,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,
|
|
0x6f, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74,
|
|
0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72,
|
|
0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x53,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82,
|
|
0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x46, 0x0a, 0x18, 0x69,
|
|
0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69,
|
|
0x73, 0x6f, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
|
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69,
|
|
0x74, 0x70, 0x6f, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2f,
|
|
0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_status_proto_rawDescOnce sync.Once
|
|
file_status_proto_rawDescData = file_status_proto_rawDesc
|
|
)
|
|
|
|
func file_status_proto_rawDescGZIP() []byte {
|
|
file_status_proto_rawDescOnce.Do(func() {
|
|
file_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_status_proto_rawDescData)
|
|
})
|
|
return file_status_proto_rawDescData
|
|
}
|
|
|
|
var file_status_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
|
|
var file_status_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
|
var file_status_proto_goTypes = []interface{}{
|
|
(ContentSource)(0), // 0: supervisor.ContentSource
|
|
(PortVisibility)(0), // 1: supervisor.PortVisibility
|
|
(OnPortExposedAction)(0), // 2: supervisor.OnPortExposedAction
|
|
(PortAutoExposure)(0), // 3: supervisor.PortAutoExposure
|
|
(TaskState)(0), // 4: supervisor.TaskState
|
|
(ResourceStatusSeverity)(0), // 5: supervisor.ResourceStatusSeverity
|
|
(PortsStatus_OnOpenAction)(0), // 6: supervisor.PortsStatus.OnOpenAction
|
|
(*SupervisorStatusRequest)(nil), // 7: supervisor.SupervisorStatusRequest
|
|
(*SupervisorStatusResponse)(nil), // 8: supervisor.SupervisorStatusResponse
|
|
(*IDEStatusRequest)(nil), // 9: supervisor.IDEStatusRequest
|
|
(*IDEStatusResponse)(nil), // 10: supervisor.IDEStatusResponse
|
|
(*ContentStatusRequest)(nil), // 11: supervisor.ContentStatusRequest
|
|
(*ContentStatusResponse)(nil), // 12: supervisor.ContentStatusResponse
|
|
(*BackupStatusRequest)(nil), // 13: supervisor.BackupStatusRequest
|
|
(*BackupStatusResponse)(nil), // 14: supervisor.BackupStatusResponse
|
|
(*PortsStatusRequest)(nil), // 15: supervisor.PortsStatusRequest
|
|
(*PortsStatusResponse)(nil), // 16: supervisor.PortsStatusResponse
|
|
(*ExposedPortInfo)(nil), // 17: supervisor.ExposedPortInfo
|
|
(*TunneledPortInfo)(nil), // 18: supervisor.TunneledPortInfo
|
|
(*PortsStatus)(nil), // 19: supervisor.PortsStatus
|
|
(*TasksStatusRequest)(nil), // 20: supervisor.TasksStatusRequest
|
|
(*TasksStatusResponse)(nil), // 21: supervisor.TasksStatusResponse
|
|
(*TaskStatus)(nil), // 22: supervisor.TaskStatus
|
|
(*TaskPresentation)(nil), // 23: supervisor.TaskPresentation
|
|
(*ResourcesStatuRequest)(nil), // 24: supervisor.ResourcesStatuRequest
|
|
(*ResourcesStatusResponse)(nil), // 25: supervisor.ResourcesStatusResponse
|
|
(*ResourceStatus)(nil), // 26: supervisor.ResourceStatus
|
|
(*IDEStatusResponse_DesktopStatus)(nil), // 27: supervisor.IDEStatusResponse.DesktopStatus
|
|
nil, // 28: supervisor.TunneledPortInfo.ClientsEntry
|
|
(TunnelVisiblity)(0), // 29: supervisor.TunnelVisiblity
|
|
}
|
|
var file_status_proto_depIdxs = []int32{
|
|
27, // 0: supervisor.IDEStatusResponse.desktop:type_name -> supervisor.IDEStatusResponse.DesktopStatus
|
|
0, // 1: supervisor.ContentStatusResponse.source:type_name -> supervisor.ContentSource
|
|
19, // 2: supervisor.PortsStatusResponse.ports:type_name -> supervisor.PortsStatus
|
|
1, // 3: supervisor.ExposedPortInfo.visibility:type_name -> supervisor.PortVisibility
|
|
2, // 4: supervisor.ExposedPortInfo.on_exposed:type_name -> supervisor.OnPortExposedAction
|
|
29, // 5: supervisor.TunneledPortInfo.visibility:type_name -> supervisor.TunnelVisiblity
|
|
28, // 6: supervisor.TunneledPortInfo.clients:type_name -> supervisor.TunneledPortInfo.ClientsEntry
|
|
17, // 7: supervisor.PortsStatus.exposed:type_name -> supervisor.ExposedPortInfo
|
|
3, // 8: supervisor.PortsStatus.auto_exposure:type_name -> supervisor.PortAutoExposure
|
|
18, // 9: supervisor.PortsStatus.tunneled:type_name -> supervisor.TunneledPortInfo
|
|
6, // 10: supervisor.PortsStatus.on_open:type_name -> supervisor.PortsStatus.OnOpenAction
|
|
22, // 11: supervisor.TasksStatusResponse.tasks:type_name -> supervisor.TaskStatus
|
|
4, // 12: supervisor.TaskStatus.state:type_name -> supervisor.TaskState
|
|
23, // 13: supervisor.TaskStatus.presentation:type_name -> supervisor.TaskPresentation
|
|
26, // 14: supervisor.ResourcesStatusResponse.memory:type_name -> supervisor.ResourceStatus
|
|
26, // 15: supervisor.ResourcesStatusResponse.cpu:type_name -> supervisor.ResourceStatus
|
|
5, // 16: supervisor.ResourceStatus.severity:type_name -> supervisor.ResourceStatusSeverity
|
|
7, // 17: supervisor.StatusService.SupervisorStatus:input_type -> supervisor.SupervisorStatusRequest
|
|
9, // 18: supervisor.StatusService.IDEStatus:input_type -> supervisor.IDEStatusRequest
|
|
11, // 19: supervisor.StatusService.ContentStatus:input_type -> supervisor.ContentStatusRequest
|
|
13, // 20: supervisor.StatusService.BackupStatus:input_type -> supervisor.BackupStatusRequest
|
|
15, // 21: supervisor.StatusService.PortsStatus:input_type -> supervisor.PortsStatusRequest
|
|
20, // 22: supervisor.StatusService.TasksStatus:input_type -> supervisor.TasksStatusRequest
|
|
24, // 23: supervisor.StatusService.ResourcesStatus:input_type -> supervisor.ResourcesStatuRequest
|
|
8, // 24: supervisor.StatusService.SupervisorStatus:output_type -> supervisor.SupervisorStatusResponse
|
|
10, // 25: supervisor.StatusService.IDEStatus:output_type -> supervisor.IDEStatusResponse
|
|
12, // 26: supervisor.StatusService.ContentStatus:output_type -> supervisor.ContentStatusResponse
|
|
14, // 27: supervisor.StatusService.BackupStatus:output_type -> supervisor.BackupStatusResponse
|
|
16, // 28: supervisor.StatusService.PortsStatus:output_type -> supervisor.PortsStatusResponse
|
|
21, // 29: supervisor.StatusService.TasksStatus:output_type -> supervisor.TasksStatusResponse
|
|
25, // 30: supervisor.StatusService.ResourcesStatus:output_type -> supervisor.ResourcesStatusResponse
|
|
24, // [24:31] is the sub-list for method output_type
|
|
17, // [17:24] is the sub-list for method input_type
|
|
17, // [17:17] is the sub-list for extension type_name
|
|
17, // [17:17] is the sub-list for extension extendee
|
|
0, // [0:17] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_status_proto_init() }
|
|
func file_status_proto_init() {
|
|
if File_status_proto != nil {
|
|
return
|
|
}
|
|
file_port_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SupervisorStatusRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SupervisorStatusResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IDEStatusRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IDEStatusResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ContentStatusRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ContentStatusResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BackupStatusRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BackupStatusResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PortsStatusRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PortsStatusResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ExposedPortInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TunneledPortInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PortsStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TasksStatusRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TasksStatusResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskPresentation); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ResourcesStatuRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ResourcesStatusResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ResourceStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_status_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IDEStatusResponse_DesktopStatus); 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_status_proto_rawDesc,
|
|
NumEnums: 7,
|
|
NumMessages: 22,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_status_proto_goTypes,
|
|
DependencyIndexes: file_status_proto_depIdxs,
|
|
EnumInfos: file_status_proto_enumTypes,
|
|
MessageInfos: file_status_proto_msgTypes,
|
|
}.Build()
|
|
File_status_proto = out.File
|
|
file_status_proto_rawDesc = nil
|
|
file_status_proto_goTypes = nil
|
|
file_status_proto_depIdxs = nil
|
|
}
|