blob: 1c88dfd61d98b7c71005d49b60b82708afddc069 [file] [log] [blame]
// Copyright 2018 The LUCI Authors. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.3
// source: go.chromium.org/luci/machine-db/api/crimson/v1/vms.proto
package crimson
import (
v1 "go.chromium.org/luci/machine-db/api/common/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
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)
)
// A VM in the database.
type VM struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of this VM on the network. Uniquely identifies this VM.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The VLAN this VM belongs to.
// When creating a VM, omit this field. It will be inferred from the IPv4 address.
Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
// The physical host this VM is running on.
Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
// The VLAN this VM's physical host belongs to.
// When creating a VM, omit this field. It will be inferred from the host.
HostVlan int64 `protobuf:"varint,4,opt,name=host_vlan,json=hostVlan,proto3" json:"host_vlan,omitempty"`
// The operating system running on this VM.
Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"`
// A description of this VM.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// The deployment ticket associated with this VM.
DeploymentTicket string `protobuf:"bytes,7,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"`
// The IPv4 address associated with this host.
Ipv4 string `protobuf:"bytes,8,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
// The state of this VM.
State v1.State `protobuf:"varint,9,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
}
func (x *VM) Reset() {
*x = VM{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VM) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VM) ProtoMessage() {}
func (x *VM) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_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 VM.ProtoReflect.Descriptor instead.
func (*VM) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescGZIP(), []int{0}
}
func (x *VM) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *VM) GetVlan() int64 {
if x != nil {
return x.Vlan
}
return 0
}
func (x *VM) GetHost() string {
if x != nil {
return x.Host
}
return ""
}
func (x *VM) GetHostVlan() int64 {
if x != nil {
return x.HostVlan
}
return 0
}
func (x *VM) GetOs() string {
if x != nil {
return x.Os
}
return ""
}
func (x *VM) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *VM) GetDeploymentTicket() string {
if x != nil {
return x.DeploymentTicket
}
return ""
}
func (x *VM) GetIpv4() string {
if x != nil {
return x.Ipv4
}
return ""
}
func (x *VM) GetState() v1.State {
if x != nil {
return x.State
}
return v1.State(0)
}
// A request to create a new VM in the database.
type CreateVMRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The VM to create in the database.
Vm *VM `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
}
func (x *CreateVMRequest) Reset() {
*x = CreateVMRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateVMRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateVMRequest) ProtoMessage() {}
func (x *CreateVMRequest) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_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 CreateVMRequest.ProtoReflect.Descriptor instead.
func (*CreateVMRequest) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescGZIP(), []int{1}
}
func (x *CreateVMRequest) GetVm() *VM {
if x != nil {
return x.Vm
}
return nil
}
// A request to list VMs in the database.
type ListVMsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The names of VMs to get.
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// The VLANs to filter retrieved VMs on.
Vlans []int64 `protobuf:"varint,2,rep,packed,name=vlans,proto3" json:"vlans,omitempty"`
// The IPv4 addresses to filter retrieved VMs on.
Ipv4S []string `protobuf:"bytes,3,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"`
// The physical hosts to filter retrieved VMs on.
Hosts []string `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"`
// The physical host VLANs to filter retrieved VMs on.
HostVlans []int64 `protobuf:"varint,5,rep,packed,name=host_vlans,json=hostVlans,proto3" json:"host_vlans,omitempty"`
// The operating system to filter retrieved VMs on.
Oses []string `protobuf:"bytes,6,rep,name=oses,proto3" json:"oses,omitempty"`
// The states to filter retrieved VMs on.
States []v1.State `protobuf:"varint,10,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"`
}
func (x *ListVMsRequest) Reset() {
*x = ListVMsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListVMsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListVMsRequest) ProtoMessage() {}
func (x *ListVMsRequest) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_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 ListVMsRequest.ProtoReflect.Descriptor instead.
func (*ListVMsRequest) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescGZIP(), []int{2}
}
func (x *ListVMsRequest) GetNames() []string {
if x != nil {
return x.Names
}
return nil
}
func (x *ListVMsRequest) GetVlans() []int64 {
if x != nil {
return x.Vlans
}
return nil
}
func (x *ListVMsRequest) GetIpv4S() []string {
if x != nil {
return x.Ipv4S
}
return nil
}
func (x *ListVMsRequest) GetHosts() []string {
if x != nil {
return x.Hosts
}
return nil
}
func (x *ListVMsRequest) GetHostVlans() []int64 {
if x != nil {
return x.HostVlans
}
return nil
}
func (x *ListVMsRequest) GetOses() []string {
if x != nil {
return x.Oses
}
return nil
}
func (x *ListVMsRequest) GetStates() []v1.State {
if x != nil {
return x.States
}
return nil
}
// A response containing a list of VMs in the database.
type ListVMsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The VMs matching this request.
Vms []*VM `protobuf:"bytes,1,rep,name=vms,proto3" json:"vms,omitempty"` // TODO(smut): Support page tokens.
}
func (x *ListVMsResponse) Reset() {
*x = ListVMsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListVMsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListVMsResponse) ProtoMessage() {}
func (x *ListVMsResponse) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_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 ListVMsResponse.ProtoReflect.Descriptor instead.
func (*ListVMsResponse) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescGZIP(), []int{3}
}
func (x *ListVMsResponse) GetVms() []*VM {
if x != nil {
return x.Vms
}
return nil
}
// A request to update a VM in the database.
type UpdateVMRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The VM to update in the database.
Vm *VM `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
// The fields to update in the VM.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}
func (x *UpdateVMRequest) Reset() {
*x = UpdateVMRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateVMRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateVMRequest) ProtoMessage() {}
func (x *UpdateVMRequest) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_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 UpdateVMRequest.ProtoReflect.Descriptor instead.
func (*UpdateVMRequest) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescGZIP(), []int{4}
}
func (x *UpdateVMRequest) GetVm() *VM {
if x != nil {
return x.Vm
}
return nil
}
func (x *UpdateVMRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
var File_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto protoreflect.FileDescriptor
var file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDesc = []byte{
0x0a, 0x38, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2d, 0x64,
0x62, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x72, 0x69, 0x6d, 0x73, 0x6f, 0x6e, 0x2f, 0x76, 0x31,
0x2f, 0x76, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x72, 0x69, 0x6d,
0x73, 0x6f, 0x6e, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6d, 0x61, 0x63, 0x68,
0x69, 0x6e, 0x65, 0x2d, 0x64, 0x62, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xf5, 0x01, 0x0a, 0x02, 0x56, 0x4d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
0x76, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x76, 0x6c, 0x61, 0x6e,
0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x68, 0x6f, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x76, 0x6c, 0x61,
0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x56, 0x6c, 0x61,
0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f,
0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,
0x74, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10,
0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74,
0x12, 0x12, 0x0a, 0x04, 0x69, 0x70, 0x76, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x69, 0x70, 0x76, 0x34, 0x12, 0x23, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20,
0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61,
0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x2e, 0x0a, 0x0f, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x56, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x02,
0x76, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x63, 0x72, 0x69, 0x6d, 0x73,
0x6f, 0x6e, 0x2e, 0x56, 0x4d, 0x52, 0x02, 0x76, 0x6d, 0x22, 0xc2, 0x01, 0x0a, 0x0e, 0x4c, 0x69,
0x73, 0x74, 0x56, 0x4d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05,
0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d,
0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x03, 0x52, 0x05, 0x76, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x70, 0x76, 0x34,
0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x69, 0x70, 0x76, 0x34, 0x73, 0x12, 0x14,
0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68,
0x6f, 0x73, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x76, 0x6c, 0x61,
0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x56, 0x6c,
0x61, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x73, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
0x09, 0x52, 0x04, 0x6f, 0x73, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65,
0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x30,
0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x4d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x1d, 0x0a, 0x03, 0x76, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
0x2e, 0x63, 0x72, 0x69, 0x6d, 0x73, 0x6f, 0x6e, 0x2e, 0x56, 0x4d, 0x52, 0x03, 0x76, 0x6d, 0x73,
0x22, 0x6b, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x4d, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x02, 0x76, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x0b, 0x2e, 0x63, 0x72, 0x69, 0x6d, 0x73, 0x6f, 0x6e, 0x2e, 0x56, 0x4d, 0x52, 0x02, 0x76, 0x6d,
0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73,
0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x38, 0x5a,
0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67,
0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2d, 0x64, 0x62,
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x72, 0x69, 0x6d, 0x73, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b,
0x63, 0x72, 0x69, 0x6d, 0x73, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescOnce sync.Once
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescData = file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDesc
)
func file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescGZIP() []byte {
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescOnce.Do(func() {
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescData)
})
return file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDescData
}
var file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_goTypes = []interface{}{
(*VM)(nil), // 0: crimson.VM
(*CreateVMRequest)(nil), // 1: crimson.CreateVMRequest
(*ListVMsRequest)(nil), // 2: crimson.ListVMsRequest
(*ListVMsResponse)(nil), // 3: crimson.ListVMsResponse
(*UpdateVMRequest)(nil), // 4: crimson.UpdateVMRequest
(v1.State)(0), // 5: common.State
(*fieldmaskpb.FieldMask)(nil), // 6: google.protobuf.FieldMask
}
var file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_depIdxs = []int32{
5, // 0: crimson.VM.state:type_name -> common.State
0, // 1: crimson.CreateVMRequest.vm:type_name -> crimson.VM
5, // 2: crimson.ListVMsRequest.states:type_name -> common.State
0, // 3: crimson.ListVMsResponse.vms:type_name -> crimson.VM
0, // 4: crimson.UpdateVMRequest.vm:type_name -> crimson.VM
6, // 5: crimson.UpdateVMRequest.update_mask:type_name -> google.protobuf.FieldMask
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_init() }
func file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_init() {
if File_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VM); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateVMRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListVMsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListVMsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateVMRequest); 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_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDesc,
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_goTypes,
DependencyIndexes: file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_depIdxs,
MessageInfos: file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_msgTypes,
}.Build()
File_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto = out.File
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_rawDesc = nil
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_goTypes = nil
file_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto_depIdxs = nil
}