1816 lines
55 KiB
Go
1816 lines
55 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.30.0
|
||
|
// protoc v3.14.0
|
||
|
// source: cloud/cloud.proto
|
||
|
|
||
|
package cloud
|
||
|
|
||
|
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 PowerState int32
|
||
|
|
||
|
const (
|
||
|
PowerState_UNKNOWN PowerState = 0
|
||
|
PowerState_OFF PowerState = 1
|
||
|
PowerState_SUSPENDED PowerState = 2
|
||
|
PowerState_ON PowerState = 3
|
||
|
)
|
||
|
|
||
|
// Enum value maps for PowerState.
|
||
|
var (
|
||
|
PowerState_name = map[int32]string{
|
||
|
0: "UNKNOWN",
|
||
|
1: "OFF",
|
||
|
2: "SUSPENDED",
|
||
|
3: "ON",
|
||
|
}
|
||
|
PowerState_value = map[string]int32{
|
||
|
"UNKNOWN": 0,
|
||
|
"OFF": 1,
|
||
|
"SUSPENDED": 2,
|
||
|
"ON": 3,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x PowerState) Enum() *PowerState {
|
||
|
p := new(PowerState)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x PowerState) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (PowerState) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_cloud_cloud_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (PowerState) Type() protoreflect.EnumType {
|
||
|
return &file_cloud_cloud_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x PowerState) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use PowerState.Descriptor instead.
|
||
|
func (PowerState) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
type VMPowerRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
State PowerState `protobuf:"varint,2,opt,name=State,proto3,enum=api.cloud.PowerState" json:"State,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMPowerRequest) Reset() {
|
||
|
*x = VMPowerRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMPowerRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMPowerRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMPowerRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMPowerRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*VMPowerRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *VMPowerRequest) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMPowerRequest) GetState() PowerState {
|
||
|
if x != nil {
|
||
|
return x.State
|
||
|
}
|
||
|
return PowerState_UNKNOWN
|
||
|
}
|
||
|
|
||
|
type VMPowerResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
}
|
||
|
|
||
|
func (x *VMPowerResponse) Reset() {
|
||
|
*x = VMPowerResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMPowerResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMPowerResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMPowerResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMPowerResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*VMPowerResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
type VMNetworkInfo struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
||
|
Lan string `protobuf:"bytes,2,opt,name=lan,proto3" json:"lan,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMNetworkInfo) Reset() {
|
||
|
*x = VMNetworkInfo{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMNetworkInfo) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMNetworkInfo) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMNetworkInfo) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMNetworkInfo.ProtoReflect.Descriptor instead.
|
||
|
func (*VMNetworkInfo) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *VMNetworkInfo) GetAddress() string {
|
||
|
if x != nil {
|
||
|
return x.Address
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMNetworkInfo) GetLan() string {
|
||
|
if x != nil {
|
||
|
return x.Lan
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type VMInfo struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
Slug string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
|
||
|
State PowerState `protobuf:"varint,4,opt,name=State,proto3,enum=api.cloud.PowerState" json:"State,omitempty"`
|
||
|
Network []*VMNetworkInfo `protobuf:"bytes,5,rep,name=network,proto3" json:"network,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMInfo) Reset() {
|
||
|
*x = VMInfo{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMInfo) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMInfo) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMInfo) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMInfo.ProtoReflect.Descriptor instead.
|
||
|
func (*VMInfo) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *VMInfo) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMInfo) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMInfo) GetSlug() string {
|
||
|
if x != nil {
|
||
|
return x.Slug
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMInfo) GetState() PowerState {
|
||
|
if x != nil {
|
||
|
return x.State
|
||
|
}
|
||
|
return PowerState_UNKNOWN
|
||
|
}
|
||
|
|
||
|
func (x *VMInfo) GetNetwork() []*VMNetworkInfo {
|
||
|
if x != nil {
|
||
|
return x.Network
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type VMListRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMListRequest) Reset() {
|
||
|
*x = VMListRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMListRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMListRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMListRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMListRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*VMListRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *VMListRequest) GetZoneId() string {
|
||
|
if x != nil {
|
||
|
return x.ZoneId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type VMListResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Vms []*VMInfo `protobuf:"bytes,1,rep,name=vms,proto3" json:"vms,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMListResponse) Reset() {
|
||
|
*x = VMListResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMListResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMListResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMListResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMListResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*VMListResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *VMListResponse) GetVms() []*VMInfo {
|
||
|
if x != nil {
|
||
|
return x.Vms
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type VMGetRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
// TODO: add some filters
|
||
|
//
|
||
|
// Types that are assignable to Search:
|
||
|
//
|
||
|
// *VMGetRequest_Id
|
||
|
// *VMGetRequest_Name
|
||
|
Search isVMGetRequest_Search `protobuf_oneof:"search"`
|
||
|
}
|
||
|
|
||
|
func (x *VMGetRequest) Reset() {
|
||
|
*x = VMGetRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMGetRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMGetRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMGetRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMGetRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*VMGetRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (m *VMGetRequest) GetSearch() isVMGetRequest_Search {
|
||
|
if m != nil {
|
||
|
return m.Search
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *VMGetRequest) GetId() string {
|
||
|
if x, ok := x.GetSearch().(*VMGetRequest_Id); ok {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMGetRequest) GetName() string {
|
||
|
if x, ok := x.GetSearch().(*VMGetRequest_Name); ok {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type isVMGetRequest_Search interface {
|
||
|
isVMGetRequest_Search()
|
||
|
}
|
||
|
|
||
|
type VMGetRequest_Id struct {
|
||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type VMGetRequest_Name struct {
|
||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*VMGetRequest_Id) isVMGetRequest_Search() {}
|
||
|
|
||
|
func (*VMGetRequest_Name) isVMGetRequest_Search() {}
|
||
|
|
||
|
type VMGetResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Vm *VMInfo `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMGetResponse) Reset() {
|
||
|
*x = VMGetResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[7]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMGetResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMGetResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMGetResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMGetResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*VMGetResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{7}
|
||
|
}
|
||
|
|
||
|
func (x *VMGetResponse) GetVm() *VMInfo {
|
||
|
if x != nil {
|
||
|
return x.Vm
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type CreateOptions struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
CpuCount uint32 `protobuf:"varint,1,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
|
||
|
MemoryMb uint32 `protobuf:"varint,2,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"`
|
||
|
DiskGb uint32 `protobuf:"varint,3,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
|
||
|
NetworkId string `protobuf:"bytes,4,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *CreateOptions) Reset() {
|
||
|
*x = CreateOptions{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[8]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *CreateOptions) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*CreateOptions) ProtoMessage() {}
|
||
|
|
||
|
func (x *CreateOptions) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 CreateOptions.ProtoReflect.Descriptor instead.
|
||
|
func (*CreateOptions) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{8}
|
||
|
}
|
||
|
|
||
|
func (x *CreateOptions) GetCpuCount() uint32 {
|
||
|
if x != nil {
|
||
|
return x.CpuCount
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *CreateOptions) GetMemoryMb() uint32 {
|
||
|
if x != nil {
|
||
|
return x.MemoryMb
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *CreateOptions) GetDiskGb() uint32 {
|
||
|
if x != nil {
|
||
|
return x.DiskGb
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *CreateOptions) GetNetworkId() string {
|
||
|
if x != nil {
|
||
|
return x.NetworkId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type VMCreateRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
|
||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
Slug string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
|
||
|
AuthorizedHosts []string `protobuf:"bytes,4,rep,name=AuthorizedHosts,proto3" json:"AuthorizedHosts,omitempty"`
|
||
|
InitScript string `protobuf:"bytes,5,opt,name=init_script,json=initScript,proto3" json:"init_script,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateRequest) Reset() {
|
||
|
*x = VMCreateRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[9]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMCreateRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMCreateRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMCreateRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*VMCreateRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{9}
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateRequest) GetZoneId() string {
|
||
|
if x != nil {
|
||
|
return x.ZoneId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateRequest) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateRequest) GetSlug() string {
|
||
|
if x != nil {
|
||
|
return x.Slug
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateRequest) GetAuthorizedHosts() []string {
|
||
|
if x != nil {
|
||
|
return x.AuthorizedHosts
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateRequest) GetInitScript() string {
|
||
|
if x != nil {
|
||
|
return x.InitScript
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type VMCreateResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Vm *VMInfo `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateResponse) Reset() {
|
||
|
*x = VMCreateResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[10]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMCreateResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMCreateResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMCreateResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*VMCreateResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{10}
|
||
|
}
|
||
|
|
||
|
func (x *VMCreateResponse) GetVm() *VMInfo {
|
||
|
if x != nil {
|
||
|
return x.Vm
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type VMDestroyRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMDestroyRequest) Reset() {
|
||
|
*x = VMDestroyRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[11]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMDestroyRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMDestroyRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMDestroyRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMDestroyRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*VMDestroyRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{11}
|
||
|
}
|
||
|
|
||
|
func (x *VMDestroyRequest) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type VMDestroyResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
}
|
||
|
|
||
|
func (x *VMDestroyResponse) Reset() {
|
||
|
*x = VMDestroyResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[12]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMDestroyResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMDestroyResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMDestroyResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMDestroyResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*VMDestroyResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{12}
|
||
|
}
|
||
|
|
||
|
type Slug struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||
|
CpuCount uint32 `protobuf:"varint,4,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
|
||
|
MemoryMb uint32 `protobuf:"varint,5,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"`
|
||
|
DiskGb uint32 `protobuf:"varint,6,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
|
||
|
Cost uint32 `protobuf:"varint,7,opt,name=cost,proto3" json:"cost,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Slug) Reset() {
|
||
|
*x = Slug{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[13]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Slug) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Slug) ProtoMessage() {}
|
||
|
|
||
|
func (x *Slug) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 Slug.ProtoReflect.Descriptor instead.
|
||
|
func (*Slug) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{13}
|
||
|
}
|
||
|
|
||
|
func (x *Slug) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Slug) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Slug) GetDescription() string {
|
||
|
if x != nil {
|
||
|
return x.Description
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Slug) GetCpuCount() uint32 {
|
||
|
if x != nil {
|
||
|
return x.CpuCount
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Slug) GetMemoryMb() uint32 {
|
||
|
if x != nil {
|
||
|
return x.MemoryMb
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Slug) GetDiskGb() uint32 {
|
||
|
if x != nil {
|
||
|
return x.DiskGb
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Slug) GetCost() uint32 {
|
||
|
if x != nil {
|
||
|
return x.Cost
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type VMListSlugsRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMListSlugsRequest) Reset() {
|
||
|
*x = VMListSlugsRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[14]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMListSlugsRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMListSlugsRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMListSlugsRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMListSlugsRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*VMListSlugsRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{14}
|
||
|
}
|
||
|
|
||
|
func (x *VMListSlugsRequest) GetZoneId() string {
|
||
|
if x != nil {
|
||
|
return x.ZoneId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type VMListSlugsResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Slugs []*Slug `protobuf:"bytes,1,rep,name=slugs,proto3" json:"slugs,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *VMListSlugsResponse) Reset() {
|
||
|
*x = VMListSlugsResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[15]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *VMListSlugsResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*VMListSlugsResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *VMListSlugsResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 VMListSlugsResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*VMListSlugsResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{15}
|
||
|
}
|
||
|
|
||
|
func (x *VMListSlugsResponse) GetSlugs() []*Slug {
|
||
|
if x != nil {
|
||
|
return x.Slugs
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type Zone struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Zone) Reset() {
|
||
|
*x = Zone{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[16]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Zone) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Zone) ProtoMessage() {}
|
||
|
|
||
|
func (x *Zone) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 Zone.ProtoReflect.Descriptor instead.
|
||
|
func (*Zone) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{16}
|
||
|
}
|
||
|
|
||
|
func (x *Zone) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Zone) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Zone) GetDescription() string {
|
||
|
if x != nil {
|
||
|
return x.Description
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type ZonesListRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
}
|
||
|
|
||
|
func (x *ZonesListRequest) Reset() {
|
||
|
*x = ZonesListRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[17]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ZonesListRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ZonesListRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *ZonesListRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 ZonesListRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*ZonesListRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{17}
|
||
|
}
|
||
|
|
||
|
type ZonesListResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Zones []*Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ZonesListResponse) Reset() {
|
||
|
*x = ZonesListResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[18]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ZonesListResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ZonesListResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *ZonesListResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 ZonesListResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*ZonesListResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{18}
|
||
|
}
|
||
|
|
||
|
func (x *ZonesListResponse) GetZones() []*Zone {
|
||
|
if x != nil {
|
||
|
return x.Zones
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type Network struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
VLAN int32 `protobuf:"varint,3,opt,name=VLAN,proto3" json:"VLAN,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Network) Reset() {
|
||
|
*x = Network{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[19]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Network) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Network) ProtoMessage() {}
|
||
|
|
||
|
func (x *Network) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 Network.ProtoReflect.Descriptor instead.
|
||
|
func (*Network) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{19}
|
||
|
}
|
||
|
|
||
|
func (x *Network) GetId() string {
|
||
|
if x != nil {
|
||
|
return x.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Network) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Network) GetVLAN() int32 {
|
||
|
if x != nil {
|
||
|
return x.VLAN
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type NetworksListRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *NetworksListRequest) Reset() {
|
||
|
*x = NetworksListRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[20]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *NetworksListRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*NetworksListRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *NetworksListRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_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 NetworksListRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*NetworksListRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{20}
|
||
|
}
|
||
|
|
||
|
func (x *NetworksListRequest) GetZoneId() string {
|
||
|
if x != nil {
|
||
|
return x.ZoneId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type NetworksListResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *NetworksListResponse) Reset() {
|
||
|
*x = NetworksListResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[21]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *NetworksListResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*NetworksListResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *NetworksListResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_cloud_cloud_proto_msgTypes[21]
|
||
|
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 NetworksListResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*NetworksListResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_cloud_cloud_proto_rawDescGZIP(), []int{21}
|
||
|
}
|
||
|
|
||
|
func (x *NetworksListResponse) GetNetworks() []*Network {
|
||
|
if x != nil {
|
||
|
return x.Networks
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_cloud_cloud_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_cloud_cloud_proto_rawDesc = []byte{
|
||
|
0x0a, 0x11, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x12, 0x09, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x22, 0x4d,
|
||
|
0x0a, 0x0e, 0x56, 0x4d, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
|
||
|
0x12, 0x2b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||
|
0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x50, 0x6f, 0x77, 0x65,
|
||
|
0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x11, 0x0a,
|
||
|
0x0f, 0x56, 0x4d, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||
|
0x22, 0x3b, 0x0a, 0x0d, 0x56, 0x4d, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66,
|
||
|
0x6f, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6c,
|
||
|
0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x61, 0x6e, 0x22, 0xa1, 0x01,
|
||
|
0x0a, 0x06, 0x56, 0x4d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||
|
0x73, 0x6c, 0x75, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6c, 0x75, 0x67,
|
||
|
0x12, 0x2b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||
|
0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x50, 0x6f, 0x77, 0x65,
|
||
|
0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x32, 0x0a,
|
||
|
0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18,
|
||
|
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d, 0x4e, 0x65, 0x74,
|
||
|
0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
|
||
|
0x6b, 0x22, 0x28, 0x0a, 0x0d, 0x56, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||
|
0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x22, 0x35, 0x0a, 0x0e, 0x56,
|
||
|
0x4d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a,
|
||
|
0x03, 0x76, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69,
|
||
|
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x76,
|
||
|
0x6d, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x56, 0x4d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||
|
0x73, 0x74, 0x12, 0x10, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
|
||
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x65,
|
||
|
0x61, 0x72, 0x63, 0x68, 0x22, 0x32, 0x0a, 0x0d, 0x56, 0x4d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73,
|
||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x02, 0x76, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d,
|
||
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x02, 0x76, 0x6d, 0x22, 0x81, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65,
|
||
|
0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70,
|
||
|
0x75, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63,
|
||
|
0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x6f, 0x72,
|
||
|
0x79, 0x5f, 0x6d, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x6f,
|
||
|
0x72, 0x79, 0x4d, 0x62, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x67, 0x62, 0x18,
|
||
|
0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x47, 0x62, 0x12, 0x1d, 0x0a,
|
||
|
0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x22, 0x9d, 0x01, 0x0a,
|
||
|
0x0f, 0x56, 0x4d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||
|
0x12, 0x17, 0x0a, 0x07, 0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
|
||
|
0x04, 0x73, 0x6c, 0x75, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6c, 0x75,
|
||
|
0x67, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x48,
|
||
|
0x6f, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x75, 0x74, 0x68,
|
||
|
0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x69,
|
||
|
0x6e, 0x69, 0x74, 0x5f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x22, 0x35, 0x0a, 0x10,
|
||
|
0x56, 0x4d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||
|
0x12, 0x21, 0x0a, 0x02, 0x76, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61,
|
||
|
0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
||
|
0x02, 0x76, 0x6d, 0x22, 0x22, 0x0a, 0x10, 0x56, 0x4d, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79,
|
||
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x56, 0x4d, 0x44, 0x65, 0x73,
|
||
|
0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb3, 0x01, 0x0a,
|
||
|
0x04, 0x53, 0x6c, 0x75, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
|
||
|
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
||
|
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63,
|
||
|
0x70, 0x75, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08,
|
||
|
0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x6f,
|
||
|
0x72, 0x79, 0x5f, 0x6d, 0x62, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x65, 0x6d,
|
||
|
0x6f, 0x72, 0x79, 0x4d, 0x62, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x67, 0x62,
|
||
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x47, 0x62, 0x12, 0x12,
|
||
|
0x0a, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f,
|
||
|
0x73, 0x74, 0x22, 0x2d, 0x0a, 0x12, 0x56, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x75, 0x67,
|
||
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x7a, 0x6f, 0x6e, 0x65,
|
||
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49,
|
||
|
0x64, 0x22, 0x3c, 0x0a, 0x13, 0x56, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x75, 0x67, 0x73,
|
||
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x6c, 0x75, 0x67,
|
||
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c,
|
||
|
0x6f, 0x75, 0x64, 0x2e, 0x53, 0x6c, 0x75, 0x67, 0x52, 0x05, 0x73, 0x6c, 0x75, 0x67, 0x73, 0x22,
|
||
|
0x4c, 0x0a, 0x04, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64,
|
||
|
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x12, 0x0a,
|
||
|
0x10, 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||
|
0x74, 0x22, 0x3a, 0x0a, 0x11, 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
|
||
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x18,
|
||
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
|
||
|
0x64, 0x2e, 0x5a, 0x6f, 0x6e, 0x65, 0x52, 0x05, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x22, 0x41, 0x0a,
|
||
|
0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||
|
0x56, 0x4c, 0x41, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x56, 0x4c, 0x41, 0x4e,
|
||
|
0x22, 0x2e, 0x0a, 0x13, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x4c, 0x69, 0x73, 0x74,
|
||
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x7a, 0x6f, 0x6e, 0x65, 0x5f,
|
||
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64,
|
||
|
0x22, 0x46, 0x0a, 0x14, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x4c, 0x69, 0x73, 0x74,
|
||
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, 0x6e, 0x65, 0x74, 0x77,
|
||
|
0x6f, 0x72, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x70, 0x69,
|
||
|
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x08,
|
||
|
0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x2a, 0x39, 0x0a, 0x0a, 0x50, 0x6f, 0x77, 0x65,
|
||
|
0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
|
||
|
0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x46, 0x46, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09,
|
||
|
0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x4f,
|
||
|
0x4e, 0x10, 0x03, 0x32, 0xb8, 0x04, 0x0a, 0x05, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x12, 0x3d, 0x0a,
|
||
|
0x06, 0x56, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c,
|
||
|
0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||
|
0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d,
|
||
|
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x05,
|
||
|
0x56, 0x4d, 0x47, 0x65, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
|
||
|
0x64, 0x2e, 0x56, 0x4d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18,
|
||
|
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d, 0x47, 0x65, 0x74,
|
||
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x56, 0x4d, 0x50, 0x6f,
|
||
|
0x77, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
|
||
|
0x56, 0x4d, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a,
|
||
|
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d, 0x50, 0x6f, 0x77,
|
||
|
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x56, 0x4d,
|
||
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f,
|
||
|
0x75, 0x64, 0x2e, 0x56, 0x4d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||
|
0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56,
|
||
|
0x4d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||
|
0x46, 0x0a, 0x09, 0x56, 0x4d, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x12, 0x1b, 0x2e, 0x61,
|
||
|
0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d, 0x44, 0x65, 0x73, 0x74, 0x72,
|
||
|
0x6f, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e,
|
||
|
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x4d, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52,
|
||
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x56, 0x4d, 0x4c, 0x69, 0x73,
|
||
|
0x74, 0x53, 0x6c, 0x75, 0x67, 0x73, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f,
|
||
|
0x75, 0x64, 0x2e, 0x56, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x75, 0x67, 0x73, 0x52, 0x65,
|
||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
|
||
|
0x64, 0x2e, 0x56, 0x4d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x75, 0x67, 0x73, 0x52, 0x65, 0x73,
|
||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x4c, 0x69,
|
||
|
0x73, 0x74, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x5a,
|
||
|
0x6f, 0x6e, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||
|
0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x5a, 0x6f, 0x6e, 0x65,
|
||
|
0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a,
|
||
|
0x0c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e,
|
||
|
0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
|
||
|
0x6b, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
|
||
|
0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
|
||
|
0x6b, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x12,
|
||
|
0x5a, 0x10, 0x65, 0x73, 0x78, 0x6c, 0x69, 0x62, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f,
|
||
|
0x75, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_cloud_cloud_proto_rawDescOnce sync.Once
|
||
|
file_cloud_cloud_proto_rawDescData = file_cloud_cloud_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_cloud_cloud_proto_rawDescGZIP() []byte {
|
||
|
file_cloud_cloud_proto_rawDescOnce.Do(func() {
|
||
|
file_cloud_cloud_proto_rawDescData = protoimpl.X.CompressGZIP(file_cloud_cloud_proto_rawDescData)
|
||
|
})
|
||
|
return file_cloud_cloud_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_cloud_cloud_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
|
var file_cloud_cloud_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
||
|
var file_cloud_cloud_proto_goTypes = []interface{}{
|
||
|
(PowerState)(0), // 0: api.cloud.PowerState
|
||
|
(*VMPowerRequest)(nil), // 1: api.cloud.VMPowerRequest
|
||
|
(*VMPowerResponse)(nil), // 2: api.cloud.VMPowerResponse
|
||
|
(*VMNetworkInfo)(nil), // 3: api.cloud.VMNetworkInfo
|
||
|
(*VMInfo)(nil), // 4: api.cloud.VMInfo
|
||
|
(*VMListRequest)(nil), // 5: api.cloud.VMListRequest
|
||
|
(*VMListResponse)(nil), // 6: api.cloud.VMListResponse
|
||
|
(*VMGetRequest)(nil), // 7: api.cloud.VMGetRequest
|
||
|
(*VMGetResponse)(nil), // 8: api.cloud.VMGetResponse
|
||
|
(*CreateOptions)(nil), // 9: api.cloud.CreateOptions
|
||
|
(*VMCreateRequest)(nil), // 10: api.cloud.VMCreateRequest
|
||
|
(*VMCreateResponse)(nil), // 11: api.cloud.VMCreateResponse
|
||
|
(*VMDestroyRequest)(nil), // 12: api.cloud.VMDestroyRequest
|
||
|
(*VMDestroyResponse)(nil), // 13: api.cloud.VMDestroyResponse
|
||
|
(*Slug)(nil), // 14: api.cloud.Slug
|
||
|
(*VMListSlugsRequest)(nil), // 15: api.cloud.VMListSlugsRequest
|
||
|
(*VMListSlugsResponse)(nil), // 16: api.cloud.VMListSlugsResponse
|
||
|
(*Zone)(nil), // 17: api.cloud.Zone
|
||
|
(*ZonesListRequest)(nil), // 18: api.cloud.ZonesListRequest
|
||
|
(*ZonesListResponse)(nil), // 19: api.cloud.ZonesListResponse
|
||
|
(*Network)(nil), // 20: api.cloud.Network
|
||
|
(*NetworksListRequest)(nil), // 21: api.cloud.NetworksListRequest
|
||
|
(*NetworksListResponse)(nil), // 22: api.cloud.NetworksListResponse
|
||
|
}
|
||
|
var file_cloud_cloud_proto_depIdxs = []int32{
|
||
|
0, // 0: api.cloud.VMPowerRequest.State:type_name -> api.cloud.PowerState
|
||
|
0, // 1: api.cloud.VMInfo.State:type_name -> api.cloud.PowerState
|
||
|
3, // 2: api.cloud.VMInfo.network:type_name -> api.cloud.VMNetworkInfo
|
||
|
4, // 3: api.cloud.VMListResponse.vms:type_name -> api.cloud.VMInfo
|
||
|
4, // 4: api.cloud.VMGetResponse.vm:type_name -> api.cloud.VMInfo
|
||
|
4, // 5: api.cloud.VMCreateResponse.vm:type_name -> api.cloud.VMInfo
|
||
|
14, // 6: api.cloud.VMListSlugsResponse.slugs:type_name -> api.cloud.Slug
|
||
|
17, // 7: api.cloud.ZonesListResponse.zones:type_name -> api.cloud.Zone
|
||
|
20, // 8: api.cloud.NetworksListResponse.networks:type_name -> api.cloud.Network
|
||
|
5, // 9: api.cloud.Cloud.VMList:input_type -> api.cloud.VMListRequest
|
||
|
7, // 10: api.cloud.Cloud.VMGet:input_type -> api.cloud.VMGetRequest
|
||
|
1, // 11: api.cloud.Cloud.VMPower:input_type -> api.cloud.VMPowerRequest
|
||
|
10, // 12: api.cloud.Cloud.VMCreate:input_type -> api.cloud.VMCreateRequest
|
||
|
12, // 13: api.cloud.Cloud.VMDestroy:input_type -> api.cloud.VMDestroyRequest
|
||
|
15, // 14: api.cloud.Cloud.VMListSlugs:input_type -> api.cloud.VMListSlugsRequest
|
||
|
18, // 15: api.cloud.Cloud.ZonesList:input_type -> api.cloud.ZonesListRequest
|
||
|
21, // 16: api.cloud.Cloud.NetworksList:input_type -> api.cloud.NetworksListRequest
|
||
|
6, // 17: api.cloud.Cloud.VMList:output_type -> api.cloud.VMListResponse
|
||
|
8, // 18: api.cloud.Cloud.VMGet:output_type -> api.cloud.VMGetResponse
|
||
|
2, // 19: api.cloud.Cloud.VMPower:output_type -> api.cloud.VMPowerResponse
|
||
|
11, // 20: api.cloud.Cloud.VMCreate:output_type -> api.cloud.VMCreateResponse
|
||
|
13, // 21: api.cloud.Cloud.VMDestroy:output_type -> api.cloud.VMDestroyResponse
|
||
|
16, // 22: api.cloud.Cloud.VMListSlugs:output_type -> api.cloud.VMListSlugsResponse
|
||
|
19, // 23: api.cloud.Cloud.ZonesList:output_type -> api.cloud.ZonesListResponse
|
||
|
22, // 24: api.cloud.Cloud.NetworksList:output_type -> api.cloud.NetworksListResponse
|
||
|
17, // [17:25] is the sub-list for method output_type
|
||
|
9, // [9:17] is the sub-list for method input_type
|
||
|
9, // [9:9] is the sub-list for extension type_name
|
||
|
9, // [9:9] is the sub-list for extension extendee
|
||
|
0, // [0:9] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_cloud_cloud_proto_init() }
|
||
|
func file_cloud_cloud_proto_init() {
|
||
|
if File_cloud_cloud_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_cloud_cloud_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMPowerRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMPowerResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMNetworkInfo); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMInfo); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMListRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMListResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMGetRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMGetResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*CreateOptions); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMCreateRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMCreateResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMDestroyRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMDestroyResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Slug); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMListSlugsRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*VMListSlugsResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Zone); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ZonesListRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ZonesListResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Network); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*NetworksListRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*NetworksListResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
file_cloud_cloud_proto_msgTypes[6].OneofWrappers = []interface{}{
|
||
|
(*VMGetRequest_Id)(nil),
|
||
|
(*VMGetRequest_Name)(nil),
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_cloud_cloud_proto_rawDesc,
|
||
|
NumEnums: 1,
|
||
|
NumMessages: 22,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 1,
|
||
|
},
|
||
|
GoTypes: file_cloud_cloud_proto_goTypes,
|
||
|
DependencyIndexes: file_cloud_cloud_proto_depIdxs,
|
||
|
EnumInfos: file_cloud_cloud_proto_enumTypes,
|
||
|
MessageInfos: file_cloud_cloud_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_cloud_cloud_proto = out.File
|
||
|
file_cloud_cloud_proto_rawDesc = nil
|
||
|
file_cloud_cloud_proto_goTypes = nil
|
||
|
file_cloud_cloud_proto_depIdxs = nil
|
||
|
}
|