blob: 9da6d26bfce25e8f3e1abd3335343e95e9f1b099 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: rack_lse.proto
package _go
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type RackLSE struct {
Id *LabSetupEnvID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The prototype that this rack LSE should follow. System will use this
// prototype to detect if the LSE is completed or valid.
PrototypeId *RackLSEPrototypeID `protobuf:"bytes,2,opt,name=prototype_id,json=prototypeId,proto3" json:"prototype_id,omitempty"`
// Types that are valid to be assigned to Lse:
// *RackLSE_ChromeRackLse
// *RackLSE_ChromeosRackLse
Lse isRackLSE_Lse `protobuf_oneof:"lse"`
// The racks that this LSE is linked to. No rack is linked if it's NULL.
Racks []*RackID `protobuf:"bytes,5,rep,name=racks,proto3" json:"racks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RackLSE) Reset() { *m = RackLSE{} }
func (m *RackLSE) String() string { return proto.CompactTextString(m) }
func (*RackLSE) ProtoMessage() {}
func (*RackLSE) Descriptor() ([]byte, []int) {
return fileDescriptor_ec346d1065a5819f, []int{0}
}
func (m *RackLSE) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RackLSE.Unmarshal(m, b)
}
func (m *RackLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RackLSE.Marshal(b, m, deterministic)
}
func (m *RackLSE) XXX_Merge(src proto.Message) {
xxx_messageInfo_RackLSE.Merge(m, src)
}
func (m *RackLSE) XXX_Size() int {
return xxx_messageInfo_RackLSE.Size(m)
}
func (m *RackLSE) XXX_DiscardUnknown() {
xxx_messageInfo_RackLSE.DiscardUnknown(m)
}
var xxx_messageInfo_RackLSE proto.InternalMessageInfo
func (m *RackLSE) GetId() *LabSetupEnvID {
if m != nil {
return m.Id
}
return nil
}
func (m *RackLSE) GetPrototypeId() *RackLSEPrototypeID {
if m != nil {
return m.PrototypeId
}
return nil
}
type isRackLSE_Lse interface {
isRackLSE_Lse()
}
type RackLSE_ChromeRackLse struct {
ChromeRackLse *ChromeRackLSE `protobuf:"bytes,3,opt,name=chrome_rack_lse,json=chromeRackLse,proto3,oneof"`
}
type RackLSE_ChromeosRackLse struct {
ChromeosRackLse *ChromeOSRackLSE `protobuf:"bytes,4,opt,name=chromeos_rack_lse,json=chromeosRackLse,proto3,oneof"`
}
func (*RackLSE_ChromeRackLse) isRackLSE_Lse() {}
func (*RackLSE_ChromeosRackLse) isRackLSE_Lse() {}
func (m *RackLSE) GetLse() isRackLSE_Lse {
if m != nil {
return m.Lse
}
return nil
}
func (m *RackLSE) GetChromeRackLse() *ChromeRackLSE {
if x, ok := m.GetLse().(*RackLSE_ChromeRackLse); ok {
return x.ChromeRackLse
}
return nil
}
func (m *RackLSE) GetChromeosRackLse() *ChromeOSRackLSE {
if x, ok := m.GetLse().(*RackLSE_ChromeosRackLse); ok {
return x.ChromeosRackLse
}
return nil
}
func (m *RackLSE) GetRacks() []*RackID {
if m != nil {
return m.Racks
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*RackLSE) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*RackLSE_ChromeRackLse)(nil),
(*RackLSE_ChromeosRackLse)(nil),
}
}
type ChromeRackLSE struct {
RpmHostnames []*PeripheralHost `protobuf:"bytes,1,rep,name=rpm_hostnames,json=rpmHostnames,proto3" json:"rpm_hostnames,omitempty"`
KvmHostnames []*PeripheralHost `protobuf:"bytes,2,rep,name=kvm_hostnames,json=kvmHostnames,proto3" json:"kvm_hostnames,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChromeRackLSE) Reset() { *m = ChromeRackLSE{} }
func (m *ChromeRackLSE) String() string { return proto.CompactTextString(m) }
func (*ChromeRackLSE) ProtoMessage() {}
func (*ChromeRackLSE) Descriptor() ([]byte, []int) {
return fileDescriptor_ec346d1065a5819f, []int{1}
}
func (m *ChromeRackLSE) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChromeRackLSE.Unmarshal(m, b)
}
func (m *ChromeRackLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChromeRackLSE.Marshal(b, m, deterministic)
}
func (m *ChromeRackLSE) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChromeRackLSE.Merge(m, src)
}
func (m *ChromeRackLSE) XXX_Size() int {
return xxx_messageInfo_ChromeRackLSE.Size(m)
}
func (m *ChromeRackLSE) XXX_DiscardUnknown() {
xxx_messageInfo_ChromeRackLSE.DiscardUnknown(m)
}
var xxx_messageInfo_ChromeRackLSE proto.InternalMessageInfo
func (m *ChromeRackLSE) GetRpmHostnames() []*PeripheralHost {
if m != nil {
return m.RpmHostnames
}
return nil
}
func (m *ChromeRackLSE) GetKvmHostnames() []*PeripheralHost {
if m != nil {
return m.KvmHostnames
}
return nil
}
type ChromeOSRackLSE struct {
Rpm []*RPM `protobuf:"bytes,1,rep,name=rpm,proto3" json:"rpm,omitempty"`
Switches []*Switch `protobuf:"bytes,2,rep,name=switches,proto3" json:"switches,omitempty"`
RpmHostnames []*PeripheralHost `protobuf:"bytes,3,rep,name=rpm_hostnames,json=rpmHostnames,proto3" json:"rpm_hostnames,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChromeOSRackLSE) Reset() { *m = ChromeOSRackLSE{} }
func (m *ChromeOSRackLSE) String() string { return proto.CompactTextString(m) }
func (*ChromeOSRackLSE) ProtoMessage() {}
func (*ChromeOSRackLSE) Descriptor() ([]byte, []int) {
return fileDescriptor_ec346d1065a5819f, []int{2}
}
func (m *ChromeOSRackLSE) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChromeOSRackLSE.Unmarshal(m, b)
}
func (m *ChromeOSRackLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChromeOSRackLSE.Marshal(b, m, deterministic)
}
func (m *ChromeOSRackLSE) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChromeOSRackLSE.Merge(m, src)
}
func (m *ChromeOSRackLSE) XXX_Size() int {
return xxx_messageInfo_ChromeOSRackLSE.Size(m)
}
func (m *ChromeOSRackLSE) XXX_DiscardUnknown() {
xxx_messageInfo_ChromeOSRackLSE.DiscardUnknown(m)
}
var xxx_messageInfo_ChromeOSRackLSE proto.InternalMessageInfo
func (m *ChromeOSRackLSE) GetRpm() []*RPM {
if m != nil {
return m.Rpm
}
return nil
}
func (m *ChromeOSRackLSE) GetSwitches() []*Switch {
if m != nil {
return m.Switches
}
return nil
}
func (m *ChromeOSRackLSE) GetRpmHostnames() []*PeripheralHost {
if m != nil {
return m.RpmHostnames
}
return nil
}
type PeripheralHost struct {
HardwareId string `protobuf:"bytes,1,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PeripheralHost) Reset() { *m = PeripheralHost{} }
func (m *PeripheralHost) String() string { return proto.CompactTextString(m) }
func (*PeripheralHost) ProtoMessage() {}
func (*PeripheralHost) Descriptor() ([]byte, []int) {
return fileDescriptor_ec346d1065a5819f, []int{3}
}
func (m *PeripheralHost) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PeripheralHost.Unmarshal(m, b)
}
func (m *PeripheralHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PeripheralHost.Marshal(b, m, deterministic)
}
func (m *PeripheralHost) XXX_Merge(src proto.Message) {
xxx_messageInfo_PeripheralHost.Merge(m, src)
}
func (m *PeripheralHost) XXX_Size() int {
return xxx_messageInfo_PeripheralHost.Size(m)
}
func (m *PeripheralHost) XXX_DiscardUnknown() {
xxx_messageInfo_PeripheralHost.DiscardUnknown(m)
}
var xxx_messageInfo_PeripheralHost proto.InternalMessageInfo
func (m *PeripheralHost) GetHardwareId() string {
if m != nil {
return m.HardwareId
}
return ""
}
func (m *PeripheralHost) GetHostname() string {
if m != nil {
return m.Hostname
}
return ""
}
func init() {
proto.RegisterType((*RackLSE)(nil), "fleet.RackLSE")
proto.RegisterType((*ChromeRackLSE)(nil), "fleet.ChromeRackLSE")
proto.RegisterType((*ChromeOSRackLSE)(nil), "fleet.ChromeOSRackLSE")
proto.RegisterType((*PeripheralHost)(nil), "fleet.PeripheralHost")
}
func init() { proto.RegisterFile("rack_lse.proto", fileDescriptor_ec346d1065a5819f) }
var fileDescriptor_ec346d1065a5819f = []byte{
// 413 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x8e, 0x94, 0x40,
0x10, 0xc6, 0x05, 0x44, 0x77, 0x8b, 0x61, 0x27, 0xdb, 0xfe, 0x09, 0x92, 0x4d, 0xdc, 0xa0, 0x87,
0xf5, 0x32, 0x24, 0xeb, 0xcd, 0x18, 0x0f, 0x2b, 0x9b, 0x0c, 0xc9, 0x6e, 0x9c, 0x34, 0x37, 0x2f,
0xa4, 0x07, 0x7a, 0xa4, 0x03, 0x0c, 0x9d, 0x6e, 0x9c, 0x89, 0x4f, 0xe0, 0x1b, 0x78, 0xf5, 0x55,
0x0d, 0x3d, 0x34, 0x0c, 0x9a, 0x98, 0xbd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