blob: 45d237f955545a8a61b6739588c7ba103438655e [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/physical_hosts.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 physical host in the database.
type PhysicalHost struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of this host on the network. Uniquely identifies this host.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The VLAN this host belongs to.
// When creating a host, omit this field. It will be inferred from the IPv4 address.
Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
// The machine backing this host.
Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,omitempty"`
// The operating system backing this host.
Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
// The number of VMs which can be deployed on this host.
VmSlots int32 `protobuf:"varint,5,opt,name=vm_slots,json=vmSlots,proto3" json:"vm_slots,omitempty"`
// A description of this host.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// The deployment ticket associated with this host.
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 the machine backing this host.
State v1.State `protobuf:"varint,9,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
// The virtual datacenter VMs deployed on this host belong to.
VirtualDatacenter string `protobuf:"bytes,10,opt,name=virtual_datacenter,json=virtualDatacenter,proto3" json:"virtual_datacenter,omitempty"`
// The primary NIC for this host.
Nic string `protobuf:"bytes,11,opt,name=nic,proto3" json:"nic,omitempty"`
// The MAC address associated with the primary NIC.
MacAddress string `protobuf:"bytes,12,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
}
func (x *PhysicalHost) Reset() {
*x = PhysicalHost{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PhysicalHost) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PhysicalHost) ProtoMessage() {}
func (x *PhysicalHost) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_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 PhysicalHost.ProtoReflect.Descriptor instead.
func (*PhysicalHost) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescGZIP(), []int{0}
}
func (x *PhysicalHost) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *PhysicalHost) GetVlan() int64 {
if x != nil {
return x.Vlan
}
return 0
}
func (x *PhysicalHost) GetMachine() string {
if x != nil {
return x.Machine
}
return ""
}
func (x *PhysicalHost) GetOs() string {
if x != nil {
return x.Os
}
return ""
}
func (x *PhysicalHost) GetVmSlots() int32 {
if x != nil {
return x.VmSlots
}
return 0
}
func (x *PhysicalHost) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *PhysicalHost) GetDeploymentTicket() string {
if x != nil {
return x.DeploymentTicket
}
return ""
}
func (x *PhysicalHost) GetIpv4() string {
if x != nil {
return x.Ipv4
}
return ""
}
func (x *PhysicalHost) GetState() v1.State {
if x != nil {
return x.State
}
return v1.State(0)
}
func (x *PhysicalHost) GetVirtualDatacenter() string {
if x != nil {
return x.VirtualDatacenter
}
return ""
}
func (x *PhysicalHost) GetNic() string {
if x != nil {
return x.Nic
}
return ""
}
func (x *PhysicalHost) GetMacAddress() string {
if x != nil {
return x.MacAddress
}
return ""
}
// A request to create a new physical host in the database.
type CreatePhysicalHostRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The host to create in the database.
Host *PhysicalHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
}
func (x *CreatePhysicalHostRequest) Reset() {
*x = CreatePhysicalHostRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreatePhysicalHostRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreatePhysicalHostRequest) ProtoMessage() {}
func (x *CreatePhysicalHostRequest) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_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 CreatePhysicalHostRequest.ProtoReflect.Descriptor instead.
func (*CreatePhysicalHostRequest) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescGZIP(), []int{1}
}
func (x *CreatePhysicalHostRequest) GetHost() *PhysicalHost {
if x != nil {
return x.Host
}
return nil
}
// A request to list physical hosts in the database.
type ListPhysicalHostsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The names of hosts to get.
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// The VLANs to filter retrieved hosts on.
Vlans []int64 `protobuf:"varint,2,rep,packed,name=vlans,proto3" json:"vlans,omitempty"`
// The IPv4 addresses to filter retrieved hosts on.
Ipv4S []string `protobuf:"bytes,3,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"`
// The machines to filter retrieved hosts on.
Machines []string `protobuf:"bytes,4,rep,name=machines,proto3" json:"machines,omitempty"`
// The operating systems to filter retrieved hosts on.
Oses []string `protobuf:"bytes,5,rep,name=oses,proto3" json:"oses,omitempty"`
// The states to filter retrieved hosts on.
States []v1.State `protobuf:"varint,6,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"`
// The platforms to filter retrieved hosts on.
Platforms []string `protobuf:"bytes,7,rep,name=platforms,proto3" json:"platforms,omitempty"`
// The racks to filter retrieved hosts on.
Racks []string `protobuf:"bytes,8,rep,name=racks,proto3" json:"racks,omitempty"`
// The datacenters to filter retrieved hosts on.
Datacenters []string `protobuf:"bytes,9,rep,name=datacenters,proto3" json:"datacenters,omitempty"`
// The virtual datacenters to filter retrieved hosts on.
VirtualDatacenters []string `protobuf:"bytes,10,rep,name=virtual_datacenters,json=virtualDatacenters,proto3" json:"virtual_datacenters,omitempty"`
// The NICs to filter retrieved hosts on.
Nics []string `protobuf:"bytes,11,rep,name=nics,proto3" json:"nics,omitempty"`
// The MAC addresses to filter retrieved hosts on.
MacAddresses []string `protobuf:"bytes,12,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"`
}
func (x *ListPhysicalHostsRequest) Reset() {
*x = ListPhysicalHostsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListPhysicalHostsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPhysicalHostsRequest) ProtoMessage() {}
func (x *ListPhysicalHostsRequest) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_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 ListPhysicalHostsRequest.ProtoReflect.Descriptor instead.
func (*ListPhysicalHostsRequest) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescGZIP(), []int{2}
}
func (x *ListPhysicalHostsRequest) GetNames() []string {
if x != nil {
return x.Names
}
return nil
}
func (x *ListPhysicalHostsRequest) GetVlans() []int64 {
if x != nil {
return x.Vlans
}
return nil
}
func (x *ListPhysicalHostsRequest) GetIpv4S() []string {
if x != nil {
return x.Ipv4S
}
return nil
}
func (x *ListPhysicalHostsRequest) GetMachines() []string {
if x != nil {
return x.Machines
}
return nil
}
func (x *ListPhysicalHostsRequest) GetOses() []string {
if x != nil {
return x.Oses
}
return nil
}
func (x *ListPhysicalHostsRequest) GetStates() []v1.State {
if x != nil {
return x.States
}
return nil
}
func (x *ListPhysicalHostsRequest) GetPlatforms() []string {
if x != nil {
return x.Platforms
}
return nil
}
func (x *ListPhysicalHostsRequest) GetRacks() []string {
if x != nil {
return x.Racks
}
return nil
}
func (x *ListPhysicalHostsRequest) GetDatacenters() []string {
if x != nil {
return x.Datacenters
}
return nil
}
func (x *ListPhysicalHostsRequest) GetVirtualDatacenters() []string {
if x != nil {
return x.VirtualDatacenters
}
return nil
}
func (x *ListPhysicalHostsRequest) GetNics() []string {
if x != nil {
return x.Nics
}
return nil
}
func (x *ListPhysicalHostsRequest) GetMacAddresses() []string {
if x != nil {
return x.MacAddresses
}
return nil
}
// A response containing a list of physical hosts in the database.
type ListPhysicalHostsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The hosts matching this request.
Hosts []*PhysicalHost `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` // TODO(smut): Support page tokens.
}
func (x *ListPhysicalHostsResponse) Reset() {
*x = ListPhysicalHostsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListPhysicalHostsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPhysicalHostsResponse) ProtoMessage() {}
func (x *ListPhysicalHostsResponse) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_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 ListPhysicalHostsResponse.ProtoReflect.Descriptor instead.
func (*ListPhysicalHostsResponse) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescGZIP(), []int{3}
}
func (x *ListPhysicalHostsResponse) GetHosts() []*PhysicalHost {
if x != nil {
return x.Hosts
}
return nil
}
// A request to update a physical host in the database.
type UpdatePhysicalHostRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The host to update in the database.
Host *PhysicalHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// The fields to update in the host.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}
func (x *UpdatePhysicalHostRequest) Reset() {
*x = UpdatePhysicalHostRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdatePhysicalHostRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdatePhysicalHostRequest) ProtoMessage() {}
func (x *UpdatePhysicalHostRequest) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_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 UpdatePhysicalHostRequest.ProtoReflect.Descriptor instead.
func (*UpdatePhysicalHostRequest) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescGZIP(), []int{4}
}
func (x *UpdatePhysicalHostRequest) GetHost() *PhysicalHost {
if x != nil {
return x.Host
}
return nil
}
func (x *UpdatePhysicalHostRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
var File_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto protoreflect.FileDescriptor
var file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDesc = []byte{
0x0a, 0x43, 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, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 0x73, 0x74, 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, 0xe5, 0x02, 0x0a,
0x0c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 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, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x12,
0x0e, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f, 0x73, 0x12,
0x19, 0x0a, 0x08, 0x76, 0x6d, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
0x05, 0x52, 0x07, 0x76, 0x6d, 0x53, 0x6c, 0x6f, 0x74, 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, 0x12, 0x2d, 0x0a, 0x12, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x64, 0x61,
0x74, 0x61, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11,
0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x63, 0x65, 0x6e, 0x74, 0x65,
0x72, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x69, 0x63, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x6e, 0x69, 0x63, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65,
0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x41, 0x64, 0x64,
0x72, 0x65, 0x73, 0x73, 0x22, 0x46, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68,
0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x29, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x15, 0x2e, 0x63, 0x72, 0x69, 0x6d, 0x73, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63,
0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0xf3, 0x02, 0x0a,
0x18, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x48, 0x6f, 0x73,
0x74, 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, 0x1a, 0x0a, 0x08, 0x6d,
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d,
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x73, 0x65, 0x73, 0x18,
0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6f, 0x73, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x73,
0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x06, 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, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18,
0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73,
0x12, 0x14, 0x0a, 0x05, 0x72, 0x61, 0x63, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52,
0x05, 0x72, 0x61, 0x63, 0x6b, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x63, 0x65,
0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x61, 0x74,
0x61, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x76, 0x69, 0x72, 0x74,
0x75, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18,
0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x61,
0x74, 0x61, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63,
0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x69, 0x63, 0x73, 0x12, 0x23, 0x0a,
0x0d, 0x6d, 0x61, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0c,
0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
0x65, 0x73, 0x22, 0x48, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63,
0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x2b, 0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15,
0x2e, 0x63, 0x72, 0x69, 0x6d, 0x73, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61,
0x6c, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x22, 0x83, 0x01, 0x0a,
0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x48,
0x6f, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x04, 0x68, 0x6f,
0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x72, 0x69, 0x6d, 0x73,
0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x52,
0x04, 0x68, 0x6f, 0x73, 0x74, 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_physical_hosts_proto_rawDescOnce sync.Once
file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescData = file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDesc
)
func file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescGZIP() []byte {
file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescOnce.Do(func() {
file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescData)
})
return file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDescData
}
var file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_goTypes = []interface{}{
(*PhysicalHost)(nil), // 0: crimson.PhysicalHost
(*CreatePhysicalHostRequest)(nil), // 1: crimson.CreatePhysicalHostRequest
(*ListPhysicalHostsRequest)(nil), // 2: crimson.ListPhysicalHostsRequest
(*ListPhysicalHostsResponse)(nil), // 3: crimson.ListPhysicalHostsResponse
(*UpdatePhysicalHostRequest)(nil), // 4: crimson.UpdatePhysicalHostRequest
(v1.State)(0), // 5: common.State
(*fieldmaskpb.FieldMask)(nil), // 6: google.protobuf.FieldMask
}
var file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_depIdxs = []int32{
5, // 0: crimson.PhysicalHost.state:type_name -> common.State
0, // 1: crimson.CreatePhysicalHostRequest.host:type_name -> crimson.PhysicalHost
5, // 2: crimson.ListPhysicalHostsRequest.states:type_name -> common.State
0, // 3: crimson.ListPhysicalHostsResponse.hosts:type_name -> crimson.PhysicalHost
0, // 4: crimson.UpdatePhysicalHostRequest.host:type_name -> crimson.PhysicalHost
6, // 5: crimson.UpdatePhysicalHostRequest.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_physical_hosts_proto_init() }
func file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_init() {
if File_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PhysicalHost); 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_physical_hosts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreatePhysicalHostRequest); 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_physical_hosts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListPhysicalHostsRequest); 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_physical_hosts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListPhysicalHostsResponse); 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_physical_hosts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdatePhysicalHostRequest); 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_physical_hosts_proto_rawDesc,
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_goTypes,
DependencyIndexes: file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_depIdxs,
MessageInfos: file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_msgTypes,
}.Build()
File_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto = out.File
file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_rawDesc = nil
file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_goTypes = nil
file_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto_depIdxs = nil
}