_go

package
v0.0.0-...-e560ebb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChromeOSDeviceType_name = map[int32]string{
	0: "DEVICE_INVALID",
	1: "DEVICE_CHROMEBOOK",
	2: "DEVICE_LABSTATION",
	3: "DEVICE_SERVO",
}
View Source
var ChromeOSDeviceType_value = map[string]int32{
	"DEVICE_INVALID":    0,
	"DEVICE_CHROMEBOOK": 1,
	"DEVICE_LABSTATION": 2,
	"DEVICE_SERVO":      3,
}
View Source
var EventType_name = map[int32]string{
	0: "EVENT_INVALID",
}
View Source
var EventType_value = map[string]int32{
	"EVENT_INVALID": 0,
}
View Source
var RequestStatus_name = map[int32]string{
	0: "OK",
	1: "INVALID_MESSAGE",
	2: "SERVER_ERROR",
	3: "NO_ASSET_TAG",
	4: "NO_GPN",
}
View Source
var RequestStatus_value = map[string]int32{
	"OK":              0,
	"INVALID_MESSAGE": 1,
	"SERVER_ERROR":    2,
	"NO_ASSET_TAG":    3,
	"NO_GPN":          4,
}

Functions

This section is empty.

Types

type AssetInfo

type AssetInfo struct {
	AssetTag             string   `protobuf:"bytes,1,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"`
	SerialNumber         string   `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	CostCenter           string   `protobuf:"bytes,3,opt,name=cost_center,json=costCenter,proto3" json:"cost_center,omitempty"`
	GoogleCodeName       string   `protobuf:"bytes,4,opt,name=google_code_name,json=googleCodeName,proto3" json:"google_code_name,omitempty"`
	Model                string   `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	BuildTarget          string   `protobuf:"bytes,6,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	ReferenceBoard       string   `protobuf:"bytes,7,opt,name=reference_board,json=referenceBoard,proto3" json:"reference_board,omitempty"`
	EthernetMacAddress   string   `protobuf:"bytes,8,opt,name=ethernet_mac_address,json=ethernetMacAddress,proto3" json:"ethernet_mac_address,omitempty"`
	Sku                  string   `protobuf:"bytes,9,opt,name=sku,proto3" json:"sku,omitempty"`
	Phase                string   `protobuf:"bytes,10,opt,name=phase,proto3" json:"phase,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AssetInfo) Descriptor

func (*AssetInfo) Descriptor() ([]byte, []int)

func (*AssetInfo) GetAssetTag

func (m *AssetInfo) GetAssetTag() string

func (*AssetInfo) GetBuildTarget

func (m *AssetInfo) GetBuildTarget() string

func (*AssetInfo) GetCostCenter

func (m *AssetInfo) GetCostCenter() string

func (*AssetInfo) GetEthernetMacAddress

func (m *AssetInfo) GetEthernetMacAddress() string

func (*AssetInfo) GetGoogleCodeName

func (m *AssetInfo) GetGoogleCodeName() string

func (*AssetInfo) GetModel

func (m *AssetInfo) GetModel() string

func (*AssetInfo) GetPhase

func (m *AssetInfo) GetPhase() string

func (*AssetInfo) GetReferenceBoard

func (m *AssetInfo) GetReferenceBoard() string

func (*AssetInfo) GetSerialNumber

func (m *AssetInfo) GetSerialNumber() string

func (*AssetInfo) GetSku

func (m *AssetInfo) GetSku() string

func (*AssetInfo) ProtoMessage

func (*AssetInfo) ProtoMessage()

func (*AssetInfo) Reset

func (m *AssetInfo) Reset()

func (*AssetInfo) String

func (m *AssetInfo) String() string

func (*AssetInfo) XXX_DiscardUnknown

func (m *AssetInfo) XXX_DiscardUnknown()

func (*AssetInfo) XXX_Marshal

func (m *AssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetInfo) XXX_Merge

func (m *AssetInfo) XXX_Merge(src proto.Message)

func (*AssetInfo) XXX_Size

func (m *AssetInfo) XXX_Size() int

func (*AssetInfo) XXX_Unmarshal

func (m *AssetInfo) XXX_Unmarshal(b []byte) error

type AssetInfoRequest

type AssetInfoRequest struct {
	// Required. Asset tag(s) to lookup.
	AssetTags            []string `protobuf:"bytes,1,rep,name=asset_tags,json=assetTags,proto3" json:"asset_tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AssetInfoRequest) Descriptor

func (*AssetInfoRequest) Descriptor() ([]byte, []int)

func (*AssetInfoRequest) GetAssetTags

func (m *AssetInfoRequest) GetAssetTags() []string

func (*AssetInfoRequest) ProtoMessage

func (*AssetInfoRequest) ProtoMessage()

func (*AssetInfoRequest) Reset

func (m *AssetInfoRequest) Reset()

func (*AssetInfoRequest) String

func (m *AssetInfoRequest) String() string

func (*AssetInfoRequest) XXX_DiscardUnknown

func (m *AssetInfoRequest) XXX_DiscardUnknown()

func (*AssetInfoRequest) XXX_Marshal

func (m *AssetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetInfoRequest) XXX_Merge

func (m *AssetInfoRequest) XXX_Merge(src proto.Message)

func (*AssetInfoRequest) XXX_Size

func (m *AssetInfoRequest) XXX_Size() int

func (*AssetInfoRequest) XXX_Unmarshal

func (m *AssetInfoRequest) XXX_Unmarshal(b []byte) error

type AssetInfoResponse

type AssetInfoResponse struct {
	// Indicator of whether the request call succeed or not.
	RequestStatus RequestStatus `` /* 126-byte string literal not displayed */
	// A list of asset info retrieved from Hart.
	Assets []*AssetInfo `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"`
	// A list of asset tags not found in Corporate Asset Management platform.
	MissingAssetTags []string `protobuf:"bytes,3,rep,name=missing_asset_tags,json=missingAssetTags,proto3" json:"missing_asset_tags,omitempty"`
	// A list of asset tags whose part number not found in Hart.
	FailedAssetTags      []string `protobuf:"bytes,4,rep,name=failed_asset_tags,json=failedAssetTags,proto3" json:"failed_asset_tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AssetInfoResponse) Descriptor

func (*AssetInfoResponse) Descriptor() ([]byte, []int)

func (*AssetInfoResponse) GetAssets

func (m *AssetInfoResponse) GetAssets() []*AssetInfo

func (*AssetInfoResponse) GetFailedAssetTags

func (m *AssetInfoResponse) GetFailedAssetTags() []string

func (*AssetInfoResponse) GetMissingAssetTags

func (m *AssetInfoResponse) GetMissingAssetTags() []string

func (*AssetInfoResponse) GetRequestStatus

func (m *AssetInfoResponse) GetRequestStatus() RequestStatus

func (*AssetInfoResponse) ProtoMessage

func (*AssetInfoResponse) ProtoMessage()

func (*AssetInfoResponse) Reset

func (m *AssetInfoResponse) Reset()

func (*AssetInfoResponse) String

func (m *AssetInfoResponse) String() string

func (*AssetInfoResponse) XXX_DiscardUnknown

func (m *AssetInfoResponse) XXX_DiscardUnknown()

func (*AssetInfoResponse) XXX_Marshal

func (m *AssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetInfoResponse) XXX_Merge

func (m *AssetInfoResponse) XXX_Merge(src proto.Message)

func (*AssetInfoResponse) XXX_Size

func (m *AssetInfoResponse) XXX_Size() int

func (*AssetInfoResponse) XXX_Unmarshal

func (m *AssetInfoResponse) XXX_Unmarshal(b []byte) error

type ChromeMachine

type ChromeMachine struct {
	// Descriptive name of Chrome Machine
	Name       string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Platform   *ChromePlatform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	MacAddress string          `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	NicName    string          `protobuf:"bytes,4,opt,name=nic_name,json=nicName,proto3" json:"nic_name,omitempty"`
	// Interface of its connected devices.
	KvmInterface           *KVMInterface    `protobuf:"bytes,5,opt,name=kvm_interface,json=kvmInterface,proto3" json:"kvm_interface,omitempty"`
	RpmInterface           *RPMInterface    `protobuf:"bytes,6,opt,name=rpm_interface,json=rpmInterface,proto3" json:"rpm_interface,omitempty"`
	NetworkDeviceInterface *SwitchInterface `` /* 129-byte string literal not displayed */
	Drac                   *Drac            `protobuf:"bytes,8,opt,name=drac,proto3" json:"drac,omitempty"`
	// Usually it's a buganizer bug.
	DeploymentTicket     string   `protobuf:"bytes,9,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"`
	Description          string   `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChromeMachine) Descriptor

func (*ChromeMachine) Descriptor() ([]byte, []int)

func (*ChromeMachine) GetDeploymentTicket

func (m *ChromeMachine) GetDeploymentTicket() string

func (*ChromeMachine) GetDescription

func (m *ChromeMachine) GetDescription() string

func (*ChromeMachine) GetDrac

func (m *ChromeMachine) GetDrac() *Drac

func (*ChromeMachine) GetKvmInterface

func (m *ChromeMachine) GetKvmInterface() *KVMInterface

func (*ChromeMachine) GetMacAddress

func (m *ChromeMachine) GetMacAddress() string

func (*ChromeMachine) GetName

func (m *ChromeMachine) GetName() string

func (*ChromeMachine) GetNetworkDeviceInterface

func (m *ChromeMachine) GetNetworkDeviceInterface() *SwitchInterface

func (*ChromeMachine) GetNicName

func (m *ChromeMachine) GetNicName() string

func (*ChromeMachine) GetPlatform

func (m *ChromeMachine) GetPlatform() *ChromePlatform

func (*ChromeMachine) GetRpmInterface

func (m *ChromeMachine) GetRpmInterface() *RPMInterface

func (*ChromeMachine) ProtoMessage

func (*ChromeMachine) ProtoMessage()

func (*ChromeMachine) Reset

func (m *ChromeMachine) Reset()

func (*ChromeMachine) String

func (m *ChromeMachine) String() string

func (*ChromeMachine) XXX_DiscardUnknown

func (m *ChromeMachine) XXX_DiscardUnknown()

func (*ChromeMachine) XXX_Marshal

func (m *ChromeMachine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeMachine) XXX_Merge

func (m *ChromeMachine) XXX_Merge(src proto.Message)

func (*ChromeMachine) XXX_Size

func (m *ChromeMachine) XXX_Size() int

func (*ChromeMachine) XXX_Unmarshal

func (m *ChromeMachine) XXX_Unmarshal(b []byte) error

type ChromeMachineLSE

type ChromeMachineLSE struct {
	// The hostname is also recorded in DHCP configs
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Indicate if VM is needed to set up
	Vms                  []*VM    `protobuf:"bytes,2,rep,name=vms,proto3" json:"vms,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChromeMachineLSE) Descriptor

func (*ChromeMachineLSE) Descriptor() ([]byte, []int)

func (*ChromeMachineLSE) GetHostname

func (m *ChromeMachineLSE) GetHostname() string

func (*ChromeMachineLSE) GetVms

func (m *ChromeMachineLSE) GetVms() []*VM

func (*ChromeMachineLSE) ProtoMessage

func (*ChromeMachineLSE) ProtoMessage()

func (*ChromeMachineLSE) Reset

func (m *ChromeMachineLSE) Reset()

func (*ChromeMachineLSE) String

func (m *ChromeMachineLSE) String() string

func (*ChromeMachineLSE) XXX_DiscardUnknown

func (m *ChromeMachineLSE) XXX_DiscardUnknown()

func (*ChromeMachineLSE) XXX_Marshal

func (m *ChromeMachineLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeMachineLSE) XXX_Merge

func (m *ChromeMachineLSE) XXX_Merge(src proto.Message)

func (*ChromeMachineLSE) XXX_Size

func (m *ChromeMachineLSE) XXX_Size() int

func (*ChromeMachineLSE) XXX_Unmarshal

func (m *ChromeMachineLSE) XXX_Unmarshal(b []byte) error

type ChromeOSDeviceLSE

type ChromeOSDeviceLSE struct {
	Config                 *lab.DeviceUnderTest `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	RpmInterface           *RPMInterface        `protobuf:"bytes,2,opt,name=rpm_interface,json=rpmInterface,proto3" json:"rpm_interface,omitempty"`
	NetworkDeviceInterface *SwitchInterface     `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}             `json:"-"`
	XXX_unrecognized       []byte               `json:"-"`
	XXX_sizecache          int32                `json:"-"`
}

func (*ChromeOSDeviceLSE) Descriptor

func (*ChromeOSDeviceLSE) Descriptor() ([]byte, []int)

func (*ChromeOSDeviceLSE) GetConfig

func (m *ChromeOSDeviceLSE) GetConfig() *lab.DeviceUnderTest

func (*ChromeOSDeviceLSE) GetNetworkDeviceInterface

func (m *ChromeOSDeviceLSE) GetNetworkDeviceInterface() *SwitchInterface

func (*ChromeOSDeviceLSE) GetRpmInterface

func (m *ChromeOSDeviceLSE) GetRpmInterface() *RPMInterface

func (*ChromeOSDeviceLSE) ProtoMessage

func (*ChromeOSDeviceLSE) ProtoMessage()

func (*ChromeOSDeviceLSE) Reset

func (m *ChromeOSDeviceLSE) Reset()

func (*ChromeOSDeviceLSE) String

func (m *ChromeOSDeviceLSE) String() string

func (*ChromeOSDeviceLSE) XXX_DiscardUnknown

func (m *ChromeOSDeviceLSE) XXX_DiscardUnknown()

func (*ChromeOSDeviceLSE) XXX_Marshal

func (m *ChromeOSDeviceLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeOSDeviceLSE) XXX_Merge

func (m *ChromeOSDeviceLSE) XXX_Merge(src proto.Message)

func (*ChromeOSDeviceLSE) XXX_Size

func (m *ChromeOSDeviceLSE) XXX_Size() int

func (*ChromeOSDeviceLSE) XXX_Unmarshal

func (m *ChromeOSDeviceLSE) XXX_Unmarshal(b []byte) error

type ChromeOSDeviceType

type ChromeOSDeviceType int32
const (
	ChromeOSDeviceType_DEVICE_INVALID    ChromeOSDeviceType = 0
	ChromeOSDeviceType_DEVICE_CHROMEBOOK ChromeOSDeviceType = 1
	ChromeOSDeviceType_DEVICE_LABSTATION ChromeOSDeviceType = 2
	ChromeOSDeviceType_DEVICE_SERVO      ChromeOSDeviceType = 3
)

func (ChromeOSDeviceType) EnumDescriptor

func (ChromeOSDeviceType) EnumDescriptor() ([]byte, []int)

func (ChromeOSDeviceType) String

func (x ChromeOSDeviceType) String() string

type ChromeOSMachine

type ChromeOSMachine struct {
	// All infos come from HaRT system.
	// used by referencing device config.
	ReferenceBoard string `protobuf:"bytes,1,opt,name=reference_board,json=referenceBoard,proto3" json:"reference_board,omitempty"`
	// used by ChromeOS build system.
	BuildTarget string `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	Model       string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	// Chromebook, labstation, servo, …
	DeviceType ChromeOSDeviceType `protobuf:"varint,4,opt,name=device_type,json=deviceType,proto3,enum=fleet.ChromeOSDeviceType" json:"device_type,omitempty"`
	// Used internally, Different boards/models could share the same name.
	GoogleCodeName string `protobuf:"bytes,5,opt,name=google_code_name,json=googleCodeName,proto3" json:"google_code_name,omitempty"`
	// HaRT doesn’t guarantee its existence.
	MacAddress           string   `protobuf:"bytes,6,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChromeOSMachine) Descriptor

func (*ChromeOSMachine) Descriptor() ([]byte, []int)

func (*ChromeOSMachine) GetBuildTarget

func (m *ChromeOSMachine) GetBuildTarget() string

func (*ChromeOSMachine) GetDeviceType

func (m *ChromeOSMachine) GetDeviceType() ChromeOSDeviceType

func (*ChromeOSMachine) GetGoogleCodeName

func (m *ChromeOSMachine) GetGoogleCodeName() string

func (*ChromeOSMachine) GetMacAddress

func (m *ChromeOSMachine) GetMacAddress() string

func (*ChromeOSMachine) GetModel

func (m *ChromeOSMachine) GetModel() string

func (*ChromeOSMachine) GetReferenceBoard

func (m *ChromeOSMachine) GetReferenceBoard() string

func (*ChromeOSMachine) ProtoMessage

func (*ChromeOSMachine) ProtoMessage()

func (*ChromeOSMachine) Reset

func (m *ChromeOSMachine) Reset()

func (*ChromeOSMachine) String

func (m *ChromeOSMachine) String() string

func (*ChromeOSMachine) XXX_DiscardUnknown

func (m *ChromeOSMachine) XXX_DiscardUnknown()

func (*ChromeOSMachine) XXX_Marshal

func (m *ChromeOSMachine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeOSMachine) XXX_Merge

func (m *ChromeOSMachine) XXX_Merge(src proto.Message)

func (*ChromeOSMachine) XXX_Size

func (m *ChromeOSMachine) XXX_Size() int

func (*ChromeOSMachine) XXX_Unmarshal

func (m *ChromeOSMachine) XXX_Unmarshal(b []byte) error

type ChromeOSMachineLSE

type ChromeOSMachineLSE struct {
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Types that are valid to be assigned to ChromeosLse:
	//	*ChromeOSMachineLSE_Dut
	//	*ChromeOSMachineLSE_Server
	ChromeosLse          isChromeOSMachineLSE_ChromeosLse `protobuf_oneof:"chromeos_lse"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*ChromeOSMachineLSE) Descriptor

func (*ChromeOSMachineLSE) Descriptor() ([]byte, []int)

func (*ChromeOSMachineLSE) GetChromeosLse

func (m *ChromeOSMachineLSE) GetChromeosLse() isChromeOSMachineLSE_ChromeosLse

func (*ChromeOSMachineLSE) GetDut

func (*ChromeOSMachineLSE) GetHostname

func (m *ChromeOSMachineLSE) GetHostname() string

func (*ChromeOSMachineLSE) GetServer

func (m *ChromeOSMachineLSE) GetServer() *ChromeOSServerLSE

func (*ChromeOSMachineLSE) ProtoMessage

func (*ChromeOSMachineLSE) ProtoMessage()

func (*ChromeOSMachineLSE) Reset

func (m *ChromeOSMachineLSE) Reset()

func (*ChromeOSMachineLSE) String

func (m *ChromeOSMachineLSE) String() string

func (*ChromeOSMachineLSE) XXX_DiscardUnknown

func (m *ChromeOSMachineLSE) XXX_DiscardUnknown()

func (*ChromeOSMachineLSE) XXX_Marshal

func (m *ChromeOSMachineLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeOSMachineLSE) XXX_Merge

func (m *ChromeOSMachineLSE) XXX_Merge(src proto.Message)

func (*ChromeOSMachineLSE) XXX_OneofWrappers

func (*ChromeOSMachineLSE) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ChromeOSMachineLSE) XXX_Size

func (m *ChromeOSMachineLSE) XXX_Size() int

func (*ChromeOSMachineLSE) XXX_Unmarshal

func (m *ChromeOSMachineLSE) XXX_Unmarshal(b []byte) error

type ChromeOSMachineLSE_Dut

type ChromeOSMachineLSE_Dut struct {
	Dut *ChromeOSDeviceLSE `protobuf:"bytes,2,opt,name=dut,proto3,oneof"`
}

type ChromeOSMachineLSE_Server

type ChromeOSMachineLSE_Server struct {
	Server *ChromeOSServerLSE `protobuf:"bytes,3,opt,name=server,proto3,oneof"`
}

type ChromeOSRack

type ChromeOSRack struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChromeOSRack) Descriptor

func (*ChromeOSRack) Descriptor() ([]byte, []int)

func (*ChromeOSRack) ProtoMessage

func (*ChromeOSRack) ProtoMessage()

func (*ChromeOSRack) Reset

func (m *ChromeOSRack) Reset()

func (*ChromeOSRack) String

func (m *ChromeOSRack) String() string

func (*ChromeOSRack) XXX_DiscardUnknown

func (m *ChromeOSRack) XXX_DiscardUnknown()

func (*ChromeOSRack) XXX_Marshal

func (m *ChromeOSRack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeOSRack) XXX_Merge

func (m *ChromeOSRack) XXX_Merge(src proto.Message)

func (*ChromeOSRack) XXX_Size

func (m *ChromeOSRack) XXX_Size() int

func (*ChromeOSRack) XXX_Unmarshal

func (m *ChromeOSRack) XXX_Unmarshal(b []byte) error

type ChromeOSRackLSE

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 (*ChromeOSRackLSE) Descriptor

func (*ChromeOSRackLSE) Descriptor() ([]byte, []int)

func (*ChromeOSRackLSE) GetRpm

func (m *ChromeOSRackLSE) GetRpm() []*RPM

func (*ChromeOSRackLSE) GetRpmHostnames

func (m *ChromeOSRackLSE) GetRpmHostnames() []*PeripheralHost

func (*ChromeOSRackLSE) GetSwitches

func (m *ChromeOSRackLSE) GetSwitches() []*Switch

func (*ChromeOSRackLSE) ProtoMessage

func (*ChromeOSRackLSE) ProtoMessage()

func (*ChromeOSRackLSE) Reset

func (m *ChromeOSRackLSE) Reset()

func (*ChromeOSRackLSE) String

func (m *ChromeOSRackLSE) String() string

func (*ChromeOSRackLSE) XXX_DiscardUnknown

func (m *ChromeOSRackLSE) XXX_DiscardUnknown()

func (*ChromeOSRackLSE) XXX_Marshal

func (m *ChromeOSRackLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeOSRackLSE) XXX_Merge

func (m *ChromeOSRackLSE) XXX_Merge(src proto.Message)

func (*ChromeOSRackLSE) XXX_Size

func (m *ChromeOSRackLSE) XXX_Size() int

func (*ChromeOSRackLSE) XXX_Unmarshal

func (m *ChromeOSRackLSE) XXX_Unmarshal(b []byte) error

type ChromeOSServerLSE

type ChromeOSServerLSE struct {
	// The vlan that this server is going to serve
	ServedNetwork        *VlanID  `protobuf:"bytes,1,opt,name=served_network,json=servedNetwork,proto3" json:"served_network,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChromeOSServerLSE) Descriptor

func (*ChromeOSServerLSE) Descriptor() ([]byte, []int)

func (*ChromeOSServerLSE) GetServedNetwork

func (m *ChromeOSServerLSE) GetServedNetwork() *VlanID

func (*ChromeOSServerLSE) ProtoMessage

func (*ChromeOSServerLSE) ProtoMessage()

func (*ChromeOSServerLSE) Reset

func (m *ChromeOSServerLSE) Reset()

func (*ChromeOSServerLSE) String

func (m *ChromeOSServerLSE) String() string

func (*ChromeOSServerLSE) XXX_DiscardUnknown

func (m *ChromeOSServerLSE) XXX_DiscardUnknown()

func (*ChromeOSServerLSE) XXX_Marshal

func (m *ChromeOSServerLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeOSServerLSE) XXX_Merge

func (m *ChromeOSServerLSE) XXX_Merge(src proto.Message)

func (*ChromeOSServerLSE) XXX_Size

func (m *ChromeOSServerLSE) XXX_Size() int

func (*ChromeOSServerLSE) XXX_Unmarshal

func (m *ChromeOSServerLSE) XXX_Unmarshal(b []byte) error

type ChromePlatform

type ChromePlatform struct {
	Id                   *ChromePlatformID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	VmSlots              int32             `protobuf:"varint,2,opt,name=vm_slots,json=vmSlots,proto3" json:"vm_slots,omitempty"`
	Manufacturer         string            `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	Description          string            `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ChromePlatform) Descriptor

func (*ChromePlatform) Descriptor() ([]byte, []int)

func (*ChromePlatform) GetDescription

func (m *ChromePlatform) GetDescription() string

func (*ChromePlatform) GetId

func (m *ChromePlatform) GetId() *ChromePlatformID

func (*ChromePlatform) GetManufacturer

func (m *ChromePlatform) GetManufacturer() string

func (*ChromePlatform) GetVmSlots

func (m *ChromePlatform) GetVmSlots() int32

func (*ChromePlatform) ProtoMessage

func (*ChromePlatform) ProtoMessage()

func (*ChromePlatform) Reset

func (m *ChromePlatform) Reset()

func (*ChromePlatform) String

func (m *ChromePlatform) String() string

func (*ChromePlatform) XXX_DiscardUnknown

func (m *ChromePlatform) XXX_DiscardUnknown()

func (*ChromePlatform) XXX_Marshal

func (m *ChromePlatform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromePlatform) XXX_Merge

func (m *ChromePlatform) XXX_Merge(src proto.Message)

func (*ChromePlatform) XXX_Size

func (m *ChromePlatform) XXX_Size() int

func (*ChromePlatform) XXX_Unmarshal

func (m *ChromePlatform) XXX_Unmarshal(b []byte) error

type ChromePlatformID

type ChromePlatformID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChromePlatformID) Descriptor

func (*ChromePlatformID) Descriptor() ([]byte, []int)

func (*ChromePlatformID) GetValue

func (m *ChromePlatformID) GetValue() string

func (*ChromePlatformID) ProtoMessage

func (*ChromePlatformID) ProtoMessage()

func (*ChromePlatformID) Reset

func (m *ChromePlatformID) Reset()

func (*ChromePlatformID) String

func (m *ChromePlatformID) String() string

func (*ChromePlatformID) XXX_DiscardUnknown

func (m *ChromePlatformID) XXX_DiscardUnknown()

func (*ChromePlatformID) XXX_Marshal

func (m *ChromePlatformID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromePlatformID) XXX_Merge

func (m *ChromePlatformID) XXX_Merge(src proto.Message)

func (*ChromePlatformID) XXX_Size

func (m *ChromePlatformID) XXX_Size() int

func (*ChromePlatformID) XXX_Unmarshal

func (m *ChromePlatformID) XXX_Unmarshal(b []byte) error

type ChromeRack

type ChromeRack struct {
	Rpm                  []*RPM    `protobuf:"bytes,1,rep,name=rpm,proto3" json:"rpm,omitempty"`
	Kvm                  []*KVM    `protobuf:"bytes,2,rep,name=kvm,proto3" json:"kvm,omitempty"`
	Switches             []*Switch `protobuf:"bytes,3,rep,name=switches,proto3" json:"switches,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ChromeRack) Descriptor

func (*ChromeRack) Descriptor() ([]byte, []int)

func (*ChromeRack) GetKvm

func (m *ChromeRack) GetKvm() []*KVM

func (*ChromeRack) GetRpm

func (m *ChromeRack) GetRpm() []*RPM

func (*ChromeRack) GetSwitches

func (m *ChromeRack) GetSwitches() []*Switch

func (*ChromeRack) ProtoMessage

func (*ChromeRack) ProtoMessage()

func (*ChromeRack) Reset

func (m *ChromeRack) Reset()

func (*ChromeRack) String

func (m *ChromeRack) String() string

func (*ChromeRack) XXX_DiscardUnknown

func (m *ChromeRack) XXX_DiscardUnknown()

func (*ChromeRack) XXX_Marshal

func (m *ChromeRack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeRack) XXX_Merge

func (m *ChromeRack) XXX_Merge(src proto.Message)

func (*ChromeRack) XXX_Size

func (m *ChromeRack) XXX_Size() int

func (*ChromeRack) XXX_Unmarshal

func (m *ChromeRack) XXX_Unmarshal(b []byte) error

type ChromeRackLSE

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 (*ChromeRackLSE) Descriptor

func (*ChromeRackLSE) Descriptor() ([]byte, []int)

func (*ChromeRackLSE) GetKvmHostnames

func (m *ChromeRackLSE) GetKvmHostnames() []*PeripheralHost

func (*ChromeRackLSE) GetRpmHostnames

func (m *ChromeRackLSE) GetRpmHostnames() []*PeripheralHost

func (*ChromeRackLSE) ProtoMessage

func (*ChromeRackLSE) ProtoMessage()

func (*ChromeRackLSE) Reset

func (m *ChromeRackLSE) Reset()

func (*ChromeRackLSE) String

func (m *ChromeRackLSE) String() string

func (*ChromeRackLSE) XXX_DiscardUnknown

func (m *ChromeRackLSE) XXX_DiscardUnknown()

func (*ChromeRackLSE) XXX_Marshal

func (m *ChromeRackLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChromeRackLSE) XXX_Merge

func (m *ChromeRackLSE) XXX_Merge(src proto.Message)

func (*ChromeRackLSE) XXX_Size

func (m *ChromeRackLSE) XXX_Size() int

func (*ChromeRackLSE) XXX_Unmarshal

func (m *ChromeRackLSE) XXX_Unmarshal(b []byte) error

type DHCPConfig

type DHCPConfig struct {
	MacAddress           string   `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	Hostname             string   `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Ip                   string   `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DHCPConfig) Descriptor

func (*DHCPConfig) Descriptor() ([]byte, []int)

func (*DHCPConfig) GetHostname

func (m *DHCPConfig) GetHostname() string

func (*DHCPConfig) GetIp

func (m *DHCPConfig) GetIp() string

func (*DHCPConfig) GetMacAddress

func (m *DHCPConfig) GetMacAddress() string

func (*DHCPConfig) ProtoMessage

func (*DHCPConfig) ProtoMessage()

func (*DHCPConfig) Reset

func (m *DHCPConfig) Reset()

func (*DHCPConfig) String

func (m *DHCPConfig) String() string

func (*DHCPConfig) XXX_DiscardUnknown

func (m *DHCPConfig) XXX_DiscardUnknown()

func (*DHCPConfig) XXX_Marshal

func (m *DHCPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DHCPConfig) XXX_Merge

func (m *DHCPConfig) XXX_Merge(src proto.Message)

func (*DHCPConfig) XXX_Size

func (m *DHCPConfig) XXX_Size() int

func (*DHCPConfig) XXX_Unmarshal

func (m *DHCPConfig) XXX_Unmarshal(b []byte) error

type Drac

type Drac struct {
	Id                   *DracID          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MacAddress           string           `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	SwitchInterface      *SwitchInterface `protobuf:"bytes,3,opt,name=switch_interface,json=switchInterface,proto3" json:"switch_interface,omitempty"`
	Password             string           `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Drac) Descriptor

func (*Drac) Descriptor() ([]byte, []int)

func (*Drac) GetId

func (m *Drac) GetId() *DracID

func (*Drac) GetMacAddress

func (m *Drac) GetMacAddress() string

func (*Drac) GetPassword

func (m *Drac) GetPassword() string

func (*Drac) GetSwitchInterface

func (m *Drac) GetSwitchInterface() *SwitchInterface

func (*Drac) ProtoMessage

func (*Drac) ProtoMessage()

func (*Drac) Reset

func (m *Drac) Reset()

func (*Drac) String

func (m *Drac) String() string

func (*Drac) XXX_DiscardUnknown

func (m *Drac) XXX_DiscardUnknown()

func (*Drac) XXX_Marshal

func (m *Drac) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Drac) XXX_Merge

func (m *Drac) XXX_Merge(src proto.Message)

func (*Drac) XXX_Size

func (m *Drac) XXX_Size() int

func (*Drac) XXX_Unmarshal

func (m *Drac) XXX_Unmarshal(b []byte) error

type DracID

type DracID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DracID) Descriptor

func (*DracID) Descriptor() ([]byte, []int)

func (*DracID) GetValue

func (m *DracID) GetValue() string

func (*DracID) ProtoMessage

func (*DracID) ProtoMessage()

func (*DracID) Reset

func (m *DracID) Reset()

func (*DracID) String

func (m *DracID) String() string

func (*DracID) XXX_DiscardUnknown

func (m *DracID) XXX_DiscardUnknown()

func (*DracID) XXX_Marshal

func (m *DracID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DracID) XXX_Merge

func (m *DracID) XXX_Merge(src proto.Message)

func (*DracID) XXX_Size

func (m *DracID) XXX_Size() int

func (*DracID) XXX_Unmarshal

func (m *DracID) XXX_Unmarshal(b []byte) error

type Event

type Event struct {
	Id *EventID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are valid to be assigned to Asset:
	//	*Event_RackId
	//	*Event_MachineId
	Asset                isEvent_Asset        `protobuf_oneof:"asset"`
	EventLabel           EventType            `protobuf:"varint,4,opt,name=event_label,json=eventLabel,proto3,enum=fleet.EventType" json:"event_label,omitempty"`
	OldValue             string               `protobuf:"bytes,5,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	NewValue             string               `protobuf:"bytes,6,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	UpdatedTime          *timestamp.Timestamp `protobuf:"bytes,7,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	User                 *Event_User          `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"`
	Comment              string               `protobuf:"bytes,9,opt,name=comment,proto3" json:"comment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetAsset

func (m *Event) GetAsset() isEvent_Asset

func (*Event) GetComment

func (m *Event) GetComment() string

func (*Event) GetEventLabel

func (m *Event) GetEventLabel() EventType

func (*Event) GetId

func (m *Event) GetId() *EventID

func (*Event) GetMachineId

func (m *Event) GetMachineId() *MachineID

func (*Event) GetNewValue

func (m *Event) GetNewValue() string

func (*Event) GetOldValue

func (m *Event) GetOldValue() string

func (*Event) GetRackId

func (m *Event) GetRackId() *RackID

func (*Event) GetUpdatedTime

func (m *Event) GetUpdatedTime() *timestamp.Timestamp

func (*Event) GetUser

func (m *Event) GetUser() *Event_User

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_OneofWrappers

func (*Event) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type EventID

type EventID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EventID) Descriptor

func (*EventID) Descriptor() ([]byte, []int)

func (*EventID) GetValue

func (m *EventID) GetValue() string

func (*EventID) ProtoMessage

func (*EventID) ProtoMessage()

func (*EventID) Reset

func (m *EventID) Reset()

func (*EventID) String

func (m *EventID) String() string

func (*EventID) XXX_DiscardUnknown

func (m *EventID) XXX_DiscardUnknown()

func (*EventID) XXX_Marshal

func (m *EventID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventID) XXX_Merge

func (m *EventID) XXX_Merge(src proto.Message)

func (*EventID) XXX_Size

func (m *EventID) XXX_Size() int

func (*EventID) XXX_Unmarshal

func (m *EventID) XXX_Unmarshal(b []byte) error

type EventType

type EventType int32
const (
	EventType_EVENT_INVALID EventType = 0
)

func (EventType) EnumDescriptor

func (EventType) EnumDescriptor() ([]byte, []int)

func (EventType) String

func (x EventType) String() string

type Event_MachineId

type Event_MachineId struct {
	MachineId *MachineID `protobuf:"bytes,3,opt,name=machine_id,json=machineId,proto3,oneof"`
}

type Event_RackId

type Event_RackId struct {
	RackId *RackID `protobuf:"bytes,2,opt,name=rack_id,json=rackId,proto3,oneof"`
}

type Event_User

type Event_User struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Email                string   `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Event_User) Descriptor

func (*Event_User) Descriptor() ([]byte, []int)

func (*Event_User) GetEmail

func (m *Event_User) GetEmail() string

func (*Event_User) GetName

func (m *Event_User) GetName() string

func (*Event_User) ProtoMessage

func (*Event_User) ProtoMessage()

func (*Event_User) Reset

func (m *Event_User) Reset()

func (*Event_User) String

func (m *Event_User) String() string

func (*Event_User) XXX_DiscardUnknown

func (m *Event_User) XXX_DiscardUnknown()

func (*Event_User) XXX_Marshal

func (m *Event_User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event_User) XXX_Merge

func (m *Event_User) XXX_Merge(src proto.Message)

func (*Event_User) XXX_Size

func (m *Event_User) XXX_Size() int

func (*Event_User) XXX_Unmarshal

func (m *Event_User) XXX_Unmarshal(b []byte) error

type KVM

type KVM struct {
	// serial_number or asset tag
	Id *KVMID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Descriptive name if needed
	Name                 string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MacAddress           string          `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	Platform             *ChromePlatform `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
	AvailablePorts       int32           `protobuf:"varint,5,opt,name=available_ports,json=availablePorts,proto3" json:"available_ports,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*KVM) Descriptor

func (*KVM) Descriptor() ([]byte, []int)

func (*KVM) GetAvailablePorts

func (m *KVM) GetAvailablePorts() int32

func (*KVM) GetId

func (m *KVM) GetId() *KVMID

func (*KVM) GetMacAddress

func (m *KVM) GetMacAddress() string

func (*KVM) GetName

func (m *KVM) GetName() string

func (*KVM) GetPlatform

func (m *KVM) GetPlatform() *ChromePlatform

func (*KVM) ProtoMessage

func (*KVM) ProtoMessage()

func (*KVM) Reset

func (m *KVM) Reset()

func (*KVM) String

func (m *KVM) String() string

func (*KVM) XXX_DiscardUnknown

func (m *KVM) XXX_DiscardUnknown()

func (*KVM) XXX_Marshal

func (m *KVM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVM) XXX_Merge

func (m *KVM) XXX_Merge(src proto.Message)

func (*KVM) XXX_Size

func (m *KVM) XXX_Size() int

func (*KVM) XXX_Unmarshal

func (m *KVM) XXX_Unmarshal(b []byte) error

type KVMID

type KVMID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KVMID) Descriptor

func (*KVMID) Descriptor() ([]byte, []int)

func (*KVMID) GetValue

func (m *KVMID) GetValue() string

func (*KVMID) ProtoMessage

func (*KVMID) ProtoMessage()

func (*KVMID) Reset

func (m *KVMID) Reset()

func (*KVMID) String

func (m *KVMID) String() string

func (*KVMID) XXX_DiscardUnknown

func (m *KVMID) XXX_DiscardUnknown()

func (*KVMID) XXX_Marshal

func (m *KVMID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVMID) XXX_Merge

func (m *KVMID) XXX_Merge(src proto.Message)

func (*KVMID) XXX_Size

func (m *KVMID) XXX_Size() int

func (*KVMID) XXX_Unmarshal

func (m *KVMID) XXX_Unmarshal(b []byte) error

type KVMInterface

type KVMInterface struct {
	Id                   *KVMID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Port                 string   `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Refer to one port of a given KVM

func (*KVMInterface) Descriptor

func (*KVMInterface) Descriptor() ([]byte, []int)

func (*KVMInterface) GetId

func (m *KVMInterface) GetId() *KVMID

func (*KVMInterface) GetPort

func (m *KVMInterface) GetPort() string

func (*KVMInterface) ProtoMessage

func (*KVMInterface) ProtoMessage()

func (*KVMInterface) Reset

func (m *KVMInterface) Reset()

func (*KVMInterface) String

func (m *KVMInterface) String() string

func (*KVMInterface) XXX_DiscardUnknown

func (m *KVMInterface) XXX_DiscardUnknown()

func (*KVMInterface) XXX_Marshal

func (m *KVMInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVMInterface) XXX_Merge

func (m *KVMInterface) XXX_Merge(src proto.Message)

func (*KVMInterface) XXX_Size

func (m *KVMInterface) XXX_Size() int

func (*KVMInterface) XXX_Unmarshal

func (m *KVMInterface) XXX_Unmarshal(b []byte) error

type LabSetupEnvID

type LabSetupEnvID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LabSetupEnvID) Descriptor

func (*LabSetupEnvID) Descriptor() ([]byte, []int)

func (*LabSetupEnvID) GetValue

func (m *LabSetupEnvID) GetValue() string

func (*LabSetupEnvID) ProtoMessage

func (*LabSetupEnvID) ProtoMessage()

func (*LabSetupEnvID) Reset

func (m *LabSetupEnvID) Reset()

func (*LabSetupEnvID) String

func (m *LabSetupEnvID) String() string

func (*LabSetupEnvID) XXX_DiscardUnknown

func (m *LabSetupEnvID) XXX_DiscardUnknown()

func (*LabSetupEnvID) XXX_Marshal

func (m *LabSetupEnvID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabSetupEnvID) XXX_Merge

func (m *LabSetupEnvID) XXX_Merge(src proto.Message)

func (*LabSetupEnvID) XXX_Size

func (m *LabSetupEnvID) XXX_Size() int

func (*LabSetupEnvID) XXX_Unmarshal

func (m *LabSetupEnvID) XXX_Unmarshal(b []byte) error

type Location

type Location struct {
	// Location of the asset in the lab
	Lab                  string   `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,omitempty"`
	Aisle                string   `protobuf:"bytes,2,opt,name=aisle,proto3" json:"aisle,omitempty"`
	Row                  string   `protobuf:"bytes,3,opt,name=row,proto3" json:"row,omitempty"`
	Rack                 string   `protobuf:"bytes,4,opt,name=rack,proto3" json:"rack,omitempty"`
	Shelf                string   `protobuf:"bytes,5,opt,name=shelf,proto3" json:"shelf,omitempty"`
	Position             string   `protobuf:"bytes,6,opt,name=position,proto3" json:"position,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Next Tag: 7

func (*Location) Descriptor

func (*Location) Descriptor() ([]byte, []int)

func (*Location) GetAisle

func (m *Location) GetAisle() string

func (*Location) GetLab

func (m *Location) GetLab() string

func (*Location) GetPosition

func (m *Location) GetPosition() string

func (*Location) GetRack

func (m *Location) GetRack() string

func (*Location) GetRow

func (m *Location) GetRow() string

func (*Location) GetShelf

func (m *Location) GetShelf() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) Reset

func (m *Location) Reset()

func (*Location) String

func (m *Location) String() string

func (*Location) XXX_DiscardUnknown

func (m *Location) XXX_DiscardUnknown()

func (*Location) XXX_Marshal

func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Location) XXX_Merge

func (m *Location) XXX_Merge(src proto.Message)

func (*Location) XXX_Size

func (m *Location) XXX_Size() int

func (*Location) XXX_Unmarshal

func (m *Location) XXX_Unmarshal(b []byte) error

type Machine

type Machine struct {
	// A unique ID for the machine.
	Id       *MachineID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Location *Location  `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Types that are valid to be assigned to Device:
	//	*Machine_ChromeMachine
	//	*Machine_ChromeosMachine
	Device               isMachine_Device `protobuf_oneof:"device"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Next Tag: 5

func (*Machine) Descriptor

func (*Machine) Descriptor() ([]byte, []int)

func (*Machine) GetChromeMachine

func (m *Machine) GetChromeMachine() *ChromeMachine

func (*Machine) GetChromeosMachine

func (m *Machine) GetChromeosMachine() *ChromeOSMachine

func (*Machine) GetDevice

func (m *Machine) GetDevice() isMachine_Device

func (*Machine) GetId

func (m *Machine) GetId() *MachineID

func (*Machine) GetLocation

func (m *Machine) GetLocation() *Location

func (*Machine) ProtoMessage

func (*Machine) ProtoMessage()

func (*Machine) Reset

func (m *Machine) Reset()

func (*Machine) String

func (m *Machine) String() string

func (*Machine) XXX_DiscardUnknown

func (m *Machine) XXX_DiscardUnknown()

func (*Machine) XXX_Marshal

func (m *Machine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Machine) XXX_Merge

func (m *Machine) XXX_Merge(src proto.Message)

func (*Machine) XXX_OneofWrappers

func (*Machine) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Machine) XXX_Size

func (m *Machine) XXX_Size() int

func (*Machine) XXX_Unmarshal

func (m *Machine) XXX_Unmarshal(b []byte) error

type MachineID

type MachineID struct {
	// A unique ID for machine:
	//   * AssetTag for ChromeOS machine (device)
	//   * Serial number for Chrome machine (server)
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MachineID) Descriptor

func (*MachineID) Descriptor() ([]byte, []int)

func (*MachineID) GetValue

func (m *MachineID) GetValue() string

func (*MachineID) ProtoMessage

func (*MachineID) ProtoMessage()

func (*MachineID) Reset

func (m *MachineID) Reset()

func (*MachineID) String

func (m *MachineID) String() string

func (*MachineID) XXX_DiscardUnknown

func (m *MachineID) XXX_DiscardUnknown()

func (*MachineID) XXX_Marshal

func (m *MachineID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineID) XXX_Merge

func (m *MachineID) XXX_Merge(src proto.Message)

func (*MachineID) XXX_Size

func (m *MachineID) XXX_Size() int

func (*MachineID) XXX_Unmarshal

func (m *MachineID) XXX_Unmarshal(b []byte) error

type MachineLSE

type MachineLSE struct {
	Id *LabSetupEnvID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The prototype that this machine LSE should follow. System will use this
	// prototype to detect if the LSE is completed or valid.
	PrototypeId *MachineLSEPrototypeID `protobuf:"bytes,2,opt,name=prototype_id,json=prototypeId,proto3" json:"prototype_id,omitempty"`
	// Types that are valid to be assigned to Lse:
	//	*MachineLSE_ChromeMachineLse
	//	*MachineLSE_ChromeosMachineLse
	Lse isMachineLSE_Lse `protobuf_oneof:"lse"`
	// The machines that this LSE is linked to. No machine is linked if it's NULL.
	Machines             []*MachineID `protobuf:"bytes,5,rep,name=machines,proto3" json:"machines,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*MachineLSE) Descriptor

func (*MachineLSE) Descriptor() ([]byte, []int)

func (*MachineLSE) GetChromeMachineLse

func (m *MachineLSE) GetChromeMachineLse() *ChromeMachineLSE

func (*MachineLSE) GetChromeosMachineLse

func (m *MachineLSE) GetChromeosMachineLse() *ChromeOSMachineLSE

func (*MachineLSE) GetId

func (m *MachineLSE) GetId() *LabSetupEnvID

func (*MachineLSE) GetLse

func (m *MachineLSE) GetLse() isMachineLSE_Lse

func (*MachineLSE) GetMachines

func (m *MachineLSE) GetMachines() []*MachineID

func (*MachineLSE) GetPrototypeId

func (m *MachineLSE) GetPrototypeId() *MachineLSEPrototypeID

func (*MachineLSE) ProtoMessage

func (*MachineLSE) ProtoMessage()

func (*MachineLSE) Reset

func (m *MachineLSE) Reset()

func (*MachineLSE) String

func (m *MachineLSE) String() string

func (*MachineLSE) XXX_DiscardUnknown

func (m *MachineLSE) XXX_DiscardUnknown()

func (*MachineLSE) XXX_Marshal

func (m *MachineLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineLSE) XXX_Merge

func (m *MachineLSE) XXX_Merge(src proto.Message)

func (*MachineLSE) XXX_OneofWrappers

func (*MachineLSE) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MachineLSE) XXX_Size

func (m *MachineLSE) XXX_Size() int

func (*MachineLSE) XXX_Unmarshal

func (m *MachineLSE) XXX_Unmarshal(b []byte) error

type MachineLSEPrototypeID

type MachineLSEPrototypeID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MachineLSEPrototypeID) Descriptor

func (*MachineLSEPrototypeID) Descriptor() ([]byte, []int)

func (*MachineLSEPrototypeID) GetValue

func (m *MachineLSEPrototypeID) GetValue() string

func (*MachineLSEPrototypeID) ProtoMessage

func (*MachineLSEPrototypeID) ProtoMessage()

func (*MachineLSEPrototypeID) Reset

func (m *MachineLSEPrototypeID) Reset()

func (*MachineLSEPrototypeID) String

func (m *MachineLSEPrototypeID) String() string

func (*MachineLSEPrototypeID) XXX_DiscardUnknown

func (m *MachineLSEPrototypeID) XXX_DiscardUnknown()

func (*MachineLSEPrototypeID) XXX_Marshal

func (m *MachineLSEPrototypeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineLSEPrototypeID) XXX_Merge

func (m *MachineLSEPrototypeID) XXX_Merge(src proto.Message)

func (*MachineLSEPrototypeID) XXX_Size

func (m *MachineLSEPrototypeID) XXX_Size() int

func (*MachineLSEPrototypeID) XXX_Unmarshal

func (m *MachineLSEPrototypeID) XXX_Unmarshal(b []byte) error

type MachineLSE_ChromeMachineLse

type MachineLSE_ChromeMachineLse struct {
	ChromeMachineLse *ChromeMachineLSE `protobuf:"bytes,3,opt,name=chrome_machine_lse,json=chromeMachineLse,proto3,oneof"`
}

type MachineLSE_ChromeosMachineLse

type MachineLSE_ChromeosMachineLse struct {
	ChromeosMachineLse *ChromeOSMachineLSE `protobuf:"bytes,4,opt,name=chromeos_machine_lse,json=chromeosMachineLse,proto3,oneof"`
}

type Machine_ChromeMachine

type Machine_ChromeMachine struct {
	ChromeMachine *ChromeMachine `protobuf:"bytes,3,opt,name=chrome_machine,json=chromeMachine,proto3,oneof"`
}

type Machine_ChromeosMachine

type Machine_ChromeosMachine struct {
	ChromeosMachine *ChromeOSMachine `protobuf:"bytes,4,opt,name=chromeos_machine,json=chromeosMachine,proto3,oneof"`
}

type OSVersion

type OSVersion struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OSVersion) Descriptor

func (*OSVersion) Descriptor() ([]byte, []int)

func (*OSVersion) GetDescription

func (m *OSVersion) GetDescription() string

func (*OSVersion) GetValue

func (m *OSVersion) GetValue() string

func (*OSVersion) ProtoMessage

func (*OSVersion) ProtoMessage()

func (*OSVersion) Reset

func (m *OSVersion) Reset()

func (*OSVersion) String

func (m *OSVersion) String() string

func (*OSVersion) XXX_DiscardUnknown

func (m *OSVersion) XXX_DiscardUnknown()

func (*OSVersion) XXX_Marshal

func (m *OSVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OSVersion) XXX_Merge

func (m *OSVersion) XXX_Merge(src proto.Message)

func (*OSVersion) XXX_Size

func (m *OSVersion) XXX_Size() int

func (*OSVersion) XXX_Unmarshal

func (m *OSVersion) XXX_Unmarshal(b []byte) error

type PeripheralHost

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 (*PeripheralHost) Descriptor

func (*PeripheralHost) Descriptor() ([]byte, []int)

func (*PeripheralHost) GetHardwareId

func (m *PeripheralHost) GetHardwareId() string

func (*PeripheralHost) GetHostname

func (m *PeripheralHost) GetHostname() string

func (*PeripheralHost) ProtoMessage

func (*PeripheralHost) ProtoMessage()

func (*PeripheralHost) Reset

func (m *PeripheralHost) Reset()

func (*PeripheralHost) String

func (m *PeripheralHost) String() string

func (*PeripheralHost) XXX_DiscardUnknown

func (m *PeripheralHost) XXX_DiscardUnknown()

func (*PeripheralHost) XXX_Marshal

func (m *PeripheralHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeripheralHost) XXX_Merge

func (m *PeripheralHost) XXX_Merge(src proto.Message)

func (*PeripheralHost) XXX_Size

func (m *PeripheralHost) XXX_Size() int

func (*PeripheralHost) XXX_Unmarshal

func (m *PeripheralHost) XXX_Unmarshal(b []byte) error

type RPM

type RPM struct {
	// serial_number or asset tag
	Id *RPMID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Descriptive name if needed
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MacAddress           string   `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	AvailablePorts       int32    `protobuf:"varint,4,opt,name=available_ports,json=availablePorts,proto3" json:"available_ports,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RPM) Descriptor

func (*RPM) Descriptor() ([]byte, []int)

func (*RPM) GetAvailablePorts

func (m *RPM) GetAvailablePorts() int32

func (*RPM) GetId

func (m *RPM) GetId() *RPMID

func (*RPM) GetMacAddress

func (m *RPM) GetMacAddress() string

func (*RPM) GetName

func (m *RPM) GetName() string

func (*RPM) ProtoMessage

func (*RPM) ProtoMessage()

func (*RPM) Reset

func (m *RPM) Reset()

func (*RPM) String

func (m *RPM) String() string

func (*RPM) XXX_DiscardUnknown

func (m *RPM) XXX_DiscardUnknown()

func (*RPM) XXX_Marshal

func (m *RPM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RPM) XXX_Merge

func (m *RPM) XXX_Merge(src proto.Message)

func (*RPM) XXX_Size

func (m *RPM) XXX_Size() int

func (*RPM) XXX_Unmarshal

func (m *RPM) XXX_Unmarshal(b []byte) error

type RPMID

type RPMID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RPMID) Descriptor

func (*RPMID) Descriptor() ([]byte, []int)

func (*RPMID) GetValue

func (m *RPMID) GetValue() string

func (*RPMID) ProtoMessage

func (*RPMID) ProtoMessage()

func (*RPMID) Reset

func (m *RPMID) Reset()

func (*RPMID) String

func (m *RPMID) String() string

func (*RPMID) XXX_DiscardUnknown

func (m *RPMID) XXX_DiscardUnknown()

func (*RPMID) XXX_Marshal

func (m *RPMID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RPMID) XXX_Merge

func (m *RPMID) XXX_Merge(src proto.Message)

func (*RPMID) XXX_Size

func (m *RPMID) XXX_Size() int

func (*RPMID) XXX_Unmarshal

func (m *RPMID) XXX_Unmarshal(b []byte) error

type RPMInterface

type RPMInterface struct {
	Id                   *RPMID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Port                 string   `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Refer to one port of a given RPM

func (*RPMInterface) Descriptor

func (*RPMInterface) Descriptor() ([]byte, []int)

func (*RPMInterface) GetId

func (m *RPMInterface) GetId() *RPMID

func (*RPMInterface) GetPort

func (m *RPMInterface) GetPort() string

func (*RPMInterface) ProtoMessage

func (*RPMInterface) ProtoMessage()

func (*RPMInterface) Reset

func (m *RPMInterface) Reset()

func (*RPMInterface) String

func (m *RPMInterface) String() string

func (*RPMInterface) XXX_DiscardUnknown

func (m *RPMInterface) XXX_DiscardUnknown()

func (*RPMInterface) XXX_Marshal

func (m *RPMInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RPMInterface) XXX_Merge

func (m *RPMInterface) XXX_Merge(src proto.Message)

func (*RPMInterface) XXX_Size

func (m *RPMInterface) XXX_Size() int

func (*RPMInterface) XXX_Unmarshal

func (m *RPMInterface) XXX_Unmarshal(b []byte) error

type Rack

type Rack struct {
	// Serial number or asset tag
	Id       *RackID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Descriptive name
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Capacity int32  `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// Types that are valid to be assigned to Rack:
	//	*Rack_ChromeRack
	//	*Rack_ChromeosRack
	Rack                 isRack_Rack `protobuf_oneof:"rack"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Rack) Descriptor

func (*Rack) Descriptor() ([]byte, []int)

func (*Rack) GetCapacity

func (m *Rack) GetCapacity() int32

func (*Rack) GetChromeRack

func (m *Rack) GetChromeRack() *ChromeRack

func (*Rack) GetChromeosRack

func (m *Rack) GetChromeosRack() *ChromeOSRack

func (*Rack) GetId

func (m *Rack) GetId() *RackID

func (*Rack) GetLocation

func (m *Rack) GetLocation() *Location

func (*Rack) GetName

func (m *Rack) GetName() string

func (*Rack) GetRack

func (m *Rack) GetRack() isRack_Rack

func (*Rack) ProtoMessage

func (*Rack) ProtoMessage()

func (*Rack) Reset

func (m *Rack) Reset()

func (*Rack) String

func (m *Rack) String() string

func (*Rack) XXX_DiscardUnknown

func (m *Rack) XXX_DiscardUnknown()

func (*Rack) XXX_Marshal

func (m *Rack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Rack) XXX_Merge

func (m *Rack) XXX_Merge(src proto.Message)

func (*Rack) XXX_OneofWrappers

func (*Rack) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Rack) XXX_Size

func (m *Rack) XXX_Size() int

func (*Rack) XXX_Unmarshal

func (m *Rack) XXX_Unmarshal(b []byte) error

type RackID

type RackID struct {
	// A unique ID for rack.
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RackID) Descriptor

func (*RackID) Descriptor() ([]byte, []int)

func (*RackID) GetValue

func (m *RackID) GetValue() string

func (*RackID) ProtoMessage

func (*RackID) ProtoMessage()

func (*RackID) Reset

func (m *RackID) Reset()

func (*RackID) String

func (m *RackID) String() string

func (*RackID) XXX_DiscardUnknown

func (m *RackID) XXX_DiscardUnknown()

func (*RackID) XXX_Marshal

func (m *RackID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RackID) XXX_Merge

func (m *RackID) XXX_Merge(src proto.Message)

func (*RackID) XXX_Size

func (m *RackID) XXX_Size() int

func (*RackID) XXX_Unmarshal

func (m *RackID) XXX_Unmarshal(b []byte) error

type RackLSE

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 (*RackLSE) Descriptor

func (*RackLSE) Descriptor() ([]byte, []int)

func (*RackLSE) GetChromeRackLse

func (m *RackLSE) GetChromeRackLse() *ChromeRackLSE

func (*RackLSE) GetChromeosRackLse

func (m *RackLSE) GetChromeosRackLse() *ChromeOSRackLSE

func (*RackLSE) GetId

func (m *RackLSE) GetId() *LabSetupEnvID

func (*RackLSE) GetLse

func (m *RackLSE) GetLse() isRackLSE_Lse

func (*RackLSE) GetPrototypeId

func (m *RackLSE) GetPrototypeId() *RackLSEPrototypeID

func (*RackLSE) GetRacks

func (m *RackLSE) GetRacks() []*RackID

func (*RackLSE) ProtoMessage

func (*RackLSE) ProtoMessage()

func (*RackLSE) Reset

func (m *RackLSE) Reset()

func (*RackLSE) String

func (m *RackLSE) String() string

func (*RackLSE) XXX_DiscardUnknown

func (m *RackLSE) XXX_DiscardUnknown()

func (*RackLSE) XXX_Marshal

func (m *RackLSE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RackLSE) XXX_Merge

func (m *RackLSE) XXX_Merge(src proto.Message)

func (*RackLSE) XXX_OneofWrappers

func (*RackLSE) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RackLSE) XXX_Size

func (m *RackLSE) XXX_Size() int

func (*RackLSE) XXX_Unmarshal

func (m *RackLSE) XXX_Unmarshal(b []byte) error

type RackLSEPrototypeID

type RackLSEPrototypeID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RackLSEPrototypeID) Descriptor

func (*RackLSEPrototypeID) Descriptor() ([]byte, []int)

func (*RackLSEPrototypeID) GetValue

func (m *RackLSEPrototypeID) GetValue() string

func (*RackLSEPrototypeID) ProtoMessage

func (*RackLSEPrototypeID) ProtoMessage()

func (*RackLSEPrototypeID) Reset

func (m *RackLSEPrototypeID) Reset()

func (*RackLSEPrototypeID) String

func (m *RackLSEPrototypeID) String() string

func (*RackLSEPrototypeID) XXX_DiscardUnknown

func (m *RackLSEPrototypeID) XXX_DiscardUnknown()

func (*RackLSEPrototypeID) XXX_Marshal

func (m *RackLSEPrototypeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RackLSEPrototypeID) XXX_Merge

func (m *RackLSEPrototypeID) XXX_Merge(src proto.Message)

func (*RackLSEPrototypeID) XXX_Size

func (m *RackLSEPrototypeID) XXX_Size() int

func (*RackLSEPrototypeID) XXX_Unmarshal

func (m *RackLSEPrototypeID) XXX_Unmarshal(b []byte) error

type RackLSE_ChromeRackLse

type RackLSE_ChromeRackLse struct {
	ChromeRackLse *ChromeRackLSE `protobuf:"bytes,3,opt,name=chrome_rack_lse,json=chromeRackLse,proto3,oneof"`
}

type RackLSE_ChromeosRackLse

type RackLSE_ChromeosRackLse struct {
	ChromeosRackLse *ChromeOSRackLSE `protobuf:"bytes,4,opt,name=chromeos_rack_lse,json=chromeosRackLse,proto3,oneof"`
}

type Rack_ChromeRack

type Rack_ChromeRack struct {
	ChromeRack *ChromeRack `protobuf:"bytes,5,opt,name=chrome_rack,json=chromeRack,proto3,oneof"`
}

type Rack_ChromeosRack

type Rack_ChromeosRack struct {
	ChromeosRack *ChromeOSRack `protobuf:"bytes,6,opt,name=chromeos_rack,json=chromeosRack,proto3,oneof"`
}

type RequestStatus

type RequestStatus int32

TODO(anushruth): Use 0 as Undefined inline with https://google.aip.dev/126

const (
	RequestStatus_OK              RequestStatus = 0
	RequestStatus_INVALID_MESSAGE RequestStatus = 1
	RequestStatus_SERVER_ERROR    RequestStatus = 2
	RequestStatus_NO_ASSET_TAG    RequestStatus = 3
	RequestStatus_NO_GPN          RequestStatus = 4
)

func (RequestStatus) EnumDescriptor

func (RequestStatus) EnumDescriptor() ([]byte, []int)

func (RequestStatus) String

func (x RequestStatus) String() string

type Switch

type Switch struct {
	// serial_number or asset tag
	Id *SwitchID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Descriptive name if needed
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	AvailablePorts       int32    `protobuf:"varint,3,opt,name=available_ports,json=availablePorts,proto3" json:"available_ports,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Switch) Descriptor

func (*Switch) Descriptor() ([]byte, []int)

func (*Switch) GetAvailablePorts

func (m *Switch) GetAvailablePorts() int32

func (*Switch) GetId

func (m *Switch) GetId() *SwitchID

func (*Switch) GetName

func (m *Switch) GetName() string

func (*Switch) ProtoMessage

func (*Switch) ProtoMessage()

func (*Switch) Reset

func (m *Switch) Reset()

func (*Switch) String

func (m *Switch) String() string

func (*Switch) XXX_DiscardUnknown

func (m *Switch) XXX_DiscardUnknown()

func (*Switch) XXX_Marshal

func (m *Switch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Switch) XXX_Merge

func (m *Switch) XXX_Merge(src proto.Message)

func (*Switch) XXX_Size

func (m *Switch) XXX_Size() int

func (*Switch) XXX_Unmarshal

func (m *Switch) XXX_Unmarshal(b []byte) error

type SwitchID

type SwitchID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SwitchID) Descriptor

func (*SwitchID) Descriptor() ([]byte, []int)

func (*SwitchID) GetValue

func (m *SwitchID) GetValue() string

func (*SwitchID) ProtoMessage

func (*SwitchID) ProtoMessage()

func (*SwitchID) Reset

func (m *SwitchID) Reset()

func (*SwitchID) String

func (m *SwitchID) String() string

func (*SwitchID) XXX_DiscardUnknown

func (m *SwitchID) XXX_DiscardUnknown()

func (*SwitchID) XXX_Marshal

func (m *SwitchID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwitchID) XXX_Merge

func (m *SwitchID) XXX_Merge(src proto.Message)

func (*SwitchID) XXX_Size

func (m *SwitchID) XXX_Size() int

func (*SwitchID) XXX_Unmarshal

func (m *SwitchID) XXX_Unmarshal(b []byte) error

type SwitchInterface

type SwitchInterface struct {
	Id                   *SwitchID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Port                 string    `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Refer to one port of a given switch

func (*SwitchInterface) Descriptor

func (*SwitchInterface) Descriptor() ([]byte, []int)

func (*SwitchInterface) GetId

func (m *SwitchInterface) GetId() *SwitchID

func (*SwitchInterface) GetPort

func (m *SwitchInterface) GetPort() string

func (*SwitchInterface) ProtoMessage

func (*SwitchInterface) ProtoMessage()

func (*SwitchInterface) Reset

func (m *SwitchInterface) Reset()

func (*SwitchInterface) String

func (m *SwitchInterface) String() string

func (*SwitchInterface) XXX_DiscardUnknown

func (m *SwitchInterface) XXX_DiscardUnknown()

func (*SwitchInterface) XXX_Marshal

func (m *SwitchInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwitchInterface) XXX_Merge

func (m *SwitchInterface) XXX_Merge(src proto.Message)

func (*SwitchInterface) XXX_Size

func (m *SwitchInterface) XXX_Size() int

func (*SwitchInterface) XXX_Unmarshal

func (m *SwitchInterface) XXX_Unmarshal(b []byte) error

type VM

type VM struct {
	// A unique vm name
	Id                   *VMID      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OsVersion            *OSVersion `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	MacAddress           string     `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	Hostname             string     `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*VM) Descriptor

func (*VM) Descriptor() ([]byte, []int)

func (*VM) GetHostname

func (m *VM) GetHostname() string

func (*VM) GetId

func (m *VM) GetId() *VMID

func (*VM) GetMacAddress

func (m *VM) GetMacAddress() string

func (*VM) GetOsVersion

func (m *VM) GetOsVersion() *OSVersion

func (*VM) ProtoMessage

func (*VM) ProtoMessage()

func (*VM) Reset

func (m *VM) Reset()

func (*VM) String

func (m *VM) String() string

func (*VM) XXX_DiscardUnknown

func (m *VM) XXX_DiscardUnknown()

func (*VM) XXX_Marshal

func (m *VM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VM) XXX_Merge

func (m *VM) XXX_Merge(src proto.Message)

func (*VM) XXX_Size

func (m *VM) XXX_Size() int

func (*VM) XXX_Unmarshal

func (m *VM) XXX_Unmarshal(b []byte) error

type VMID

type VMID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VMID) Descriptor

func (*VMID) Descriptor() ([]byte, []int)

func (*VMID) GetValue

func (m *VMID) GetValue() string

func (*VMID) ProtoMessage

func (*VMID) ProtoMessage()

func (*VMID) Reset

func (m *VMID) Reset()

func (*VMID) String

func (m *VMID) String() string

func (*VMID) XXX_DiscardUnknown

func (m *VMID) XXX_DiscardUnknown()

func (*VMID) XXX_Marshal

func (m *VMID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VMID) XXX_Merge

func (m *VMID) XXX_Merge(src proto.Message)

func (*VMID) XXX_Size

func (m *VMID) XXX_Size() int

func (*VMID) XXX_Unmarshal

func (m *VMID) XXX_Unmarshal(b []byte) error

type Vlan

type Vlan struct {
	Id                   *VlanID  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	VlanAddress          string   `protobuf:"bytes,2,opt,name=vlan_address,json=vlanAddress,proto3" json:"vlan_address,omitempty"`
	Capacity             int32    `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Vlan) Descriptor

func (*Vlan) Descriptor() ([]byte, []int)

func (*Vlan) GetCapacity

func (m *Vlan) GetCapacity() int32

func (*Vlan) GetId

func (m *Vlan) GetId() *VlanID

func (*Vlan) GetVlanAddress

func (m *Vlan) GetVlanAddress() string

func (*Vlan) ProtoMessage

func (*Vlan) ProtoMessage()

func (*Vlan) Reset

func (m *Vlan) Reset()

func (*Vlan) String

func (m *Vlan) String() string

func (*Vlan) XXX_DiscardUnknown

func (m *Vlan) XXX_DiscardUnknown()

func (*Vlan) XXX_Marshal

func (m *Vlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vlan) XXX_Merge

func (m *Vlan) XXX_Merge(src proto.Message)

func (*Vlan) XXX_Size

func (m *Vlan) XXX_Size() int

func (*Vlan) XXX_Unmarshal

func (m *Vlan) XXX_Unmarshal(b []byte) error

type VlanID

type VlanID struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VlanID) Descriptor

func (*VlanID) Descriptor() ([]byte, []int)

func (*VlanID) GetValue

func (m *VlanID) GetValue() string

func (*VlanID) ProtoMessage

func (*VlanID) ProtoMessage()

func (*VlanID) Reset

func (m *VlanID) Reset()

func (*VlanID) String

func (m *VlanID) String() string

func (*VlanID) XXX_DiscardUnknown

func (m *VlanID) XXX_DiscardUnknown()

func (*VlanID) XXX_Marshal

func (m *VlanID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VlanID) XXX_Merge

func (m *VlanID) XXX_Merge(src proto.Message)

func (*VlanID) XXX_Size

func (m *VlanID) XXX_Size() int

func (*VlanID) XXX_Unmarshal

func (m *VlanID) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL