ufspb

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: 10 Imported by: 0

Documentation

Overview

Package ufspb contains the fleet service API.

Index

Constants

This section is empty.

Variables

View Source
var (
	AssetType_name = map[int32]string{
		0: "UNDEFINED",
		1: "DUT",
		2: "SERVO",
		3: "LABSTATION",
	}
	AssetType_value = map[string]int32{
		"UNDEFINED":  0,
		"DUT":        1,
		"SERVO":      2,
		"LABSTATION": 3,
	}
)

Enum value maps for AssetType.

View Source
var (
	RequestStatus_name = map[int32]string{
		0: "OK",
		1: "INVALID_MESSAGE",
		2: "SERVER_ERROR",
		3: "NO_ASSET_TAG",
		4: "NO_GPN",
	}
	RequestStatus_value = map[string]int32{
		"OK":              0,
		"INVALID_MESSAGE": 1,
		"SERVER_ERROR":    2,
		"NO_ASSET_TAG":    3,
		"NO_GPN":          4,
	}
)

Enum value maps for RequestStatus.

View Source
var (
	PushConfigType_name = map[int32]string{
		0: "PUSH_CONFIG_TYPE_UNSPECIFIED",
		1: "PUSH_CONFIG_TYPE_MOBILECONFIG",
		2: "PUSH_CONFIG_TYPE_PACKAGE",
	}
	PushConfigType_value = map[string]int32{
		"PUSH_CONFIG_TYPE_UNSPECIFIED":  0,
		"PUSH_CONFIG_TYPE_MOBILECONFIG": 1,
		"PUSH_CONFIG_TYPE_PACKAGE":      2,
	}
)

Enum value maps for PushConfigType.

View Source
var (
	Lab_name = map[int32]string{
		0:  "LAB_UNSPECIFIED",
		1:  "LAB_CHROME_ATLANTA",
		2:  "LAB_CHROMEOS_SANTIAM",
		3:  "LAB_CHROMEOS_DESTINY",
		4:  "LAB_CHROMEOS_PROMETHEUS",
		5:  "LAB_CHROMEOS_ATLANTIS",
		6:  "LAB_CHROMEOS_LINDAVISTA",
		7:  "LAB_DATACENTER_ATL97",
		8:  "LAB_DATACENTER_IAD97",
		9:  "LAB_DATACENTER_MTV96",
		10: "LAB_DATACENTER_MTV97",
		11: "LAB_DATACENTER_FUCHSIA",
	}
	Lab_value = map[string]int32{
		"LAB_UNSPECIFIED":         0,
		"LAB_CHROME_ATLANTA":      1,
		"LAB_CHROMEOS_SANTIAM":    2,
		"LAB_CHROMEOS_DESTINY":    3,
		"LAB_CHROMEOS_PROMETHEUS": 4,
		"LAB_CHROMEOS_ATLANTIS":   5,
		"LAB_CHROMEOS_LINDAVISTA": 6,
		"LAB_DATACENTER_ATL97":    7,
		"LAB_DATACENTER_IAD97":    8,
		"LAB_DATACENTER_MTV96":    9,
		"LAB_DATACENTER_MTV97":    10,
		"LAB_DATACENTER_FUCHSIA":  11,
	}
)

Enum value maps for Lab.

View Source
var (
	Zone_name = map[int32]string{
		0:  "ZONE_UNSPECIFIED",
		1:  "ZONE_ATLANTA",
		2:  "ZONE_CHROMEOS1",
		3:  "ZONE_CHROMEOS2",
		4:  "ZONE_CHROMEOS3",
		5:  "ZONE_CHROMEOS4",
		6:  "ZONE_CHROMEOS5",
		7:  "ZONE_CHROMEOS6",
		8:  "ZONE_CHROMEOS7",
		10: "ZONE_CHROMEOS15",
		11: "ZONE_ATL97",
		12: "ZONE_IAD97",
		13: "ZONE_MTV96",
		14: "ZONE_MTV97",
		15: "ZONE_FUCHSIA",
		16: "ZONE_CROS_GOOGLER_DESK",
		17: "ZONE_MTV1950_TESTING",
		18: "ZONE_SATLAB",
		19: "ZONE_BROWSER_GOOGLER_DESK",
		20: "ZONE_JETSTREAM_B946",
	}
	Zone_value = map[string]int32{
		"ZONE_UNSPECIFIED":          0,
		"ZONE_ATLANTA":              1,
		"ZONE_CHROMEOS1":            2,
		"ZONE_CHROMEOS2":            3,
		"ZONE_CHROMEOS3":            4,
		"ZONE_CHROMEOS4":            5,
		"ZONE_CHROMEOS5":            6,
		"ZONE_CHROMEOS6":            7,
		"ZONE_CHROMEOS7":            8,
		"ZONE_CHROMEOS15":           10,
		"ZONE_ATL97":                11,
		"ZONE_IAD97":                12,
		"ZONE_MTV96":                13,
		"ZONE_MTV97":                14,
		"ZONE_FUCHSIA":              15,
		"ZONE_CROS_GOOGLER_DESK":    16,
		"ZONE_MTV1950_TESTING":      17,
		"ZONE_SATLAB":               18,
		"ZONE_BROWSER_GOOGLER_DESK": 19,
		"ZONE_JETSTREAM_B946":       20,
	}
)

Enum value maps for Zone.

View Source
var (
	PeripheralType_name = map[int32]string{
		0: "PERIPHERAL_TYPE_UNSPECIFIED",
		1: "PERIPHERAL_TYPE_SERVO",
		2: "PERIPHERAL_TYPE_LABSTATION",
		3: "PERIPHERAL_TYPE_RPM",
		4: "PERIPHERAL_TYPE_KVM",
		5: "PERIPHERAL_TYPE_SWITCH",
		6: "PERIPHERAL_TYPE_BLUETOOTH_BTPEERS",
		7: "PERIPHERAL_TYPE_WIFICELL",
		8: "PERIPHERAL_TYPE_CAMERA",
	}
	PeripheralType_value = map[string]int32{
		"PERIPHERAL_TYPE_UNSPECIFIED":       0,
		"PERIPHERAL_TYPE_SERVO":             1,
		"PERIPHERAL_TYPE_LABSTATION":        2,
		"PERIPHERAL_TYPE_RPM":               3,
		"PERIPHERAL_TYPE_KVM":               4,
		"PERIPHERAL_TYPE_SWITCH":            5,
		"PERIPHERAL_TYPE_BLUETOOTH_BTPEERS": 6,
		"PERIPHERAL_TYPE_WIFICELL":          7,
		"PERIPHERAL_TYPE_CAMERA":            8,
	}
)

Enum value maps for PeripheralType.

View Source
var (
	VirtualType_name = map[int32]string{
		0: "VIRTUAL_TYPE_UNSPECIFIED",
		1: "VIRTUAL_TYPE_VM",
	}
	VirtualType_value = map[string]int32{
		"VIRTUAL_TYPE_UNSPECIFIED": 0,
		"VIRTUAL_TYPE_VM":          1,
	}
)

Enum value maps for VirtualType.

View Source
var (
	ChromeOSDeviceType_name = map[int32]string{
		0: "CHROME_OS_DEVICE_TYPE_UNSPECIFIED",
		1: "DEVICE_CHROMEBOOK",
		2: "DEVICE_LABSTATION",
		3: "DEVICE_SERVO",
	}
	ChromeOSDeviceType_value = map[string]int32{
		"CHROME_OS_DEVICE_TYPE_UNSPECIFIED": 0,
		"DEVICE_CHROMEBOOK":                 1,
		"DEVICE_LABSTATION":                 2,
		"DEVICE_SERVO":                      3,
	}
)

Enum value maps for ChromeOSDeviceType.

View Source
var (
	DeploymentEnv_name = map[int32]string{
		0: "DEPLOYMENTENV_UNDEFINED",
		1: "PROD",
		2: "AUTOPUSH",
	}
	DeploymentEnv_value = map[string]int32{
		"DEPLOYMENTENV_UNDEFINED": 0,
		"PROD":                    1,
		"AUTOPUSH":                2,
	}
)

Enum value maps for DeploymentEnv.

View Source
var (
	SchedulingUnitType_name = map[int32]string{
		0: "SCHEDULING_UNIT_TYPE_INVALID",
		1: "SCHEDULING_UNIT_TYPE_ALL",
		2: "SCHEDULING_UNIT_TYPE_INDIVIDUAL",
	}
	SchedulingUnitType_value = map[string]int32{
		"SCHEDULING_UNIT_TYPE_INVALID":    0,
		"SCHEDULING_UNIT_TYPE_ALL":        1,
		"SCHEDULING_UNIT_TYPE_INDIVIDUAL": 2,
	}
)

Enum value maps for SchedulingUnitType.

View Source
var (
	State_name = map[int32]string{
		0:  "STATE_UNSPECIFIED",
		1:  "STATE_REGISTERED",
		9:  "STATE_DEPLOYED_PRE_SERVING",
		2:  "STATE_DEPLOYED_TESTING",
		3:  "STATE_SERVING",
		10: "STATE_NEEDS_RESET",
		5:  "STATE_NEEDS_REPAIR",
		11: "STATE_REPAIR_FAILED",
		6:  "STATE_DISABLED",
		7:  "STATE_RESERVED",
		8:  "STATE_DECOMMISSIONED",
		12: "STATE_DEPLOYING",
		13: "STATE_READY",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED":          0,
		"STATE_REGISTERED":           1,
		"STATE_DEPLOYED_PRE_SERVING": 9,
		"STATE_DEPLOYED_TESTING":     2,
		"STATE_SERVING":              3,
		"STATE_NEEDS_RESET":          10,
		"STATE_NEEDS_REPAIR":         5,
		"STATE_REPAIR_FAILED":        11,
		"STATE_DISABLED":             6,
		"STATE_RESERVED":             7,
		"STATE_DECOMMISSIONED":       8,
		"STATE_DEPLOYING":            12,
		"STATE_READY":                13,
	}
)

Enum value maps for State.

View Source
var File_infra_unifiedfleet_api_v1_models_asset_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_assetinfo_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_caching_service_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_change_event_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_chopsasset_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_chrome_platform_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_deployment_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_hwid_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_location_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_lse_prototype_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_machine_lse_deployment_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_machine_lse_deployment_requirement_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_machine_lse_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_machine_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_network_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_peripherals_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_rack_lse_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_rack_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_scheduling_unit_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_state_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllDHCPConfigs

type AllDHCPConfigs struct {
	Configs []*DHCPConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

Message contains all dhcp configs.

func (*AllDHCPConfigs) Descriptor deprecated

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

Deprecated: Use AllDHCPConfigs.ProtoReflect.Descriptor instead.

func (*AllDHCPConfigs) GetConfigs

func (x *AllDHCPConfigs) GetConfigs() []*DHCPConfig

func (*AllDHCPConfigs) ProtoMessage

func (*AllDHCPConfigs) ProtoMessage()

func (*AllDHCPConfigs) ProtoReflect

func (x *AllDHCPConfigs) ProtoReflect() protoreflect.Message

func (*AllDHCPConfigs) Reset

func (x *AllDHCPConfigs) Reset()

func (*AllDHCPConfigs) String

func (x *AllDHCPConfigs) String() string

type Asset

type Asset struct {
	Name     string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                            // Asset tag or an unique identifier for the asset
	Type     AssetType  `protobuf:"varint,2,opt,name=type,proto3,enum=unifiedfleet.api.v1.models.AssetType" json:"type,omitempty"` // DUT, servo, labstation, etc,.
	Model    string     `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`                                          // Model of the asset
	Location *Location  `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`                                    // Last known location of the asset
	Info     *AssetInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"`                                            // Some info about the asset
	// Record the last update timestamp of this asset (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	Realm      string                 `protobuf:"bytes,7,opt,name=realm,proto3" json:"realm,omitempty"` // ACL info of the asset
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

Asset stores location and some basic info about the asset

func (*Asset) Descriptor deprecated

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetInfo

func (x *Asset) GetInfo() *AssetInfo

func (*Asset) GetLocation

func (x *Asset) GetLocation() *Location

func (*Asset) GetModel

func (x *Asset) GetModel() string

func (*Asset) GetName

func (x *Asset) GetName() string

func (*Asset) GetRealm

func (x *Asset) GetRealm() string

func (*Asset) GetTags

func (x *Asset) GetTags() []string

func (*Asset) GetType

func (x *Asset) GetType() AssetType

func (*Asset) GetUpdateTime

func (x *Asset) GetUpdateTime() *timestamppb.Timestamp

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type AssetInfo

type AssetInfo struct {
	AssetTag string `protobuf:"bytes,1,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"`
	// User not allowed to update this field. SSW will update this field.
	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"`
	// User not allowed to update this field. SSW will update this field.
	Sku   string `protobuf:"bytes,9,opt,name=sku,proto3" json:"sku,omitempty"`
	Phase string `protobuf:"bytes,10,opt,name=phase,proto3" json:"phase,omitempty"`
	// User not allowed to update this field. SSW will update this field.
	Hwid string `protobuf:"bytes,11,opt,name=hwid,proto3" json:"hwid,omitempty"`
	Gpn  string `protobuf:"bytes,12,opt,name=gpn,proto3" json:"gpn,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetInfo) Descriptor deprecated

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

Deprecated: Use AssetInfo.ProtoReflect.Descriptor instead.

func (*AssetInfo) GetAssetTag

func (x *AssetInfo) GetAssetTag() string

func (*AssetInfo) GetBuildTarget

func (x *AssetInfo) GetBuildTarget() string

func (*AssetInfo) GetCostCenter

func (x *AssetInfo) GetCostCenter() string

func (*AssetInfo) GetEthernetMacAddress

func (x *AssetInfo) GetEthernetMacAddress() string

func (*AssetInfo) GetGoogleCodeName

func (x *AssetInfo) GetGoogleCodeName() string

func (*AssetInfo) GetGpn

func (x *AssetInfo) GetGpn() string

func (*AssetInfo) GetHwid

func (x *AssetInfo) GetHwid() string

func (*AssetInfo) GetModel

func (x *AssetInfo) GetModel() string

func (*AssetInfo) GetPhase

func (x *AssetInfo) GetPhase() string

func (*AssetInfo) GetReferenceBoard

func (x *AssetInfo) GetReferenceBoard() string

func (*AssetInfo) GetSerialNumber

func (x *AssetInfo) GetSerialNumber() string

func (*AssetInfo) GetSku

func (x *AssetInfo) GetSku() string

func (*AssetInfo) ProtoMessage

func (*AssetInfo) ProtoMessage()

func (*AssetInfo) ProtoReflect

func (x *AssetInfo) ProtoReflect() protoreflect.Message

func (*AssetInfo) Reset

func (x *AssetInfo) Reset()

func (*AssetInfo) String

func (x *AssetInfo) String() string

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"`
	// contains filtered or unexported fields
}

func (*AssetInfoRequest) Descriptor deprecated

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

Deprecated: Use AssetInfoRequest.ProtoReflect.Descriptor instead.

func (*AssetInfoRequest) GetAssetTags

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

func (*AssetInfoRequest) ProtoMessage

func (*AssetInfoRequest) ProtoMessage()

func (*AssetInfoRequest) ProtoReflect

func (x *AssetInfoRequest) ProtoReflect() protoreflect.Message

func (*AssetInfoRequest) Reset

func (x *AssetInfoRequest) Reset()

func (*AssetInfoRequest) String

func (x *AssetInfoRequest) String() string

type AssetInfoResponse

type AssetInfoResponse struct {

	// Indicator of whether the request call succeed or not.
	RequestStatus RequestStatus `` /* 147-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"`
	// contains filtered or unexported fields
}

func (*AssetInfoResponse) Descriptor deprecated

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

Deprecated: Use AssetInfoResponse.ProtoReflect.Descriptor instead.

func (*AssetInfoResponse) GetAssets

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

func (*AssetInfoResponse) GetFailedAssetTags

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

func (*AssetInfoResponse) GetMissingAssetTags

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

func (*AssetInfoResponse) GetRequestStatus

func (x *AssetInfoResponse) GetRequestStatus() RequestStatus

func (*AssetInfoResponse) ProtoMessage

func (*AssetInfoResponse) ProtoMessage()

func (*AssetInfoResponse) ProtoReflect

func (x *AssetInfoResponse) ProtoReflect() protoreflect.Message

func (*AssetInfoResponse) Reset

func (x *AssetInfoResponse) Reset()

func (*AssetInfoResponse) String

func (x *AssetInfoResponse) String() string

type AssetType

type AssetType int32

AssetType determines the type of asset

const (
	AssetType_UNDEFINED  AssetType = 0
	AssetType_DUT        AssetType = 1
	AssetType_SERVO      AssetType = 2
	AssetType_LABSTATION AssetType = 3
)

func (AssetType) Descriptor

func (AssetType) Descriptor() protoreflect.EnumDescriptor

func (AssetType) Enum

func (x AssetType) Enum() *AssetType

func (AssetType) EnumDescriptor deprecated

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

Deprecated: Use AssetType.Descriptor instead.

func (AssetType) Number

func (x AssetType) Number() protoreflect.EnumNumber

func (AssetType) String

func (x AssetType) String() string

func (AssetType) Type

type CachingService

type CachingService struct {

	// caching service name
	// format will be 'cachingservices/{ipv4}'
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// port info of the caching service
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// particular subnet which the caching service serves/supports
	// Deprecated. Use 'serving_subnets' instead.
	//
	// Deprecated: Do not use.
	ServingSubnet string `protobuf:"bytes,3,opt,name=serving_subnet,json=servingSubnet,proto3" json:"serving_subnet,omitempty"`
	// ipv4 address of the primary node of the caching service
	PrimaryNode string `protobuf:"bytes,4,opt,name=primary_node,json=primaryNode,proto3" json:"primary_node,omitempty"`
	// ipv4 address of the secondary node of the caching service
	SecondaryNode string `protobuf:"bytes,5,opt,name=secondary_node,json=secondaryNode,proto3" json:"secondary_node,omitempty"`
	// state of the caching service
	State State `protobuf:"varint,6,opt,name=state,proto3,enum=unifiedfleet.api.v1.models.State" json:"state,omitempty"`
	// description of the caching service
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// record the last update timestamp of this caching service (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Particular subnets which the caching service serves/supports. One caching
	// service can support multiple subnets in the case of P2P network.
	ServingSubnets []string `protobuf:"bytes,9,rep,name=serving_subnets,json=servingSubnets,proto3" json:"serving_subnets,omitempty"`
	// contains filtered or unexported fields
}

CachingService refers to caching service information in the chromeos lab

A lab can have multiple caching services running. Each caching service has a primary node and a secondary node and serve a particular subnet. UFS stores the information of all caching services available in the labs.

func (*CachingService) Descriptor deprecated

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

Deprecated: Use CachingService.ProtoReflect.Descriptor instead.

func (*CachingService) GetDescription

func (x *CachingService) GetDescription() string

func (*CachingService) GetName

func (x *CachingService) GetName() string

func (*CachingService) GetPort

func (x *CachingService) GetPort() int32

func (*CachingService) GetPrimaryNode

func (x *CachingService) GetPrimaryNode() string

func (*CachingService) GetSecondaryNode

func (x *CachingService) GetSecondaryNode() string

func (*CachingService) GetServingSubnet deprecated

func (x *CachingService) GetServingSubnet() string

Deprecated: Do not use.

func (*CachingService) GetServingSubnets

func (x *CachingService) GetServingSubnets() []string

func (*CachingService) GetState

func (x *CachingService) GetState() State

func (*CachingService) GetUpdateTime

func (x *CachingService) GetUpdateTime() *timestamppb.Timestamp

func (*CachingService) ProtoMessage

func (*CachingService) ProtoMessage()

func (*CachingService) ProtoReflect

func (x *CachingService) ProtoReflect() protoreflect.Message

func (*CachingService) Reset

func (x *CachingService) Reset()

func (*CachingService) String

func (x *CachingService) String() string

type ChangeEvent

type ChangeEvent struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The string representation of the changed (multi-component) field paths,
	// See explanation of the field path here:
	// https://github.com/protocolbuffers/protobuf/blob/50e03cdde3ef1fc7e9674db0a98ee1dea93f6fb2/src/google/protobuf/field_mask.proto#L43
	// machine.serial_number, chromeos_machine.model, dut.config.peripherals.wifi.wificell,
	// peripheral_requirement.min
	EventLabel string `protobuf:"bytes,2,opt,name=event_label,json=eventLabel,proto3" json:"event_label,omitempty"`
	// The string representation of the changed item, e.g.
	// machine.serial_number: from "" => A
	// chromeos_machine.model: from modelA => modelB
	// dut.config.peripherals.wifi.wificell: from false => true
	// periphral_requirement.min: from 1 => 3
	OldValue string `protobuf:"bytes,3,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	NewValue string `protobuf:"bytes,4,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// Record the last update timestamp of this Event (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	UserEmail  string                 `protobuf:"bytes,6,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	Comment    string                 `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

represents the ChangeEvent generated when there is any change for the asset

func (*ChangeEvent) Descriptor deprecated

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

Deprecated: Use ChangeEvent.ProtoReflect.Descriptor instead.

func (*ChangeEvent) GetComment

func (x *ChangeEvent) GetComment() string

func (*ChangeEvent) GetEventLabel

func (x *ChangeEvent) GetEventLabel() string

func (*ChangeEvent) GetName

func (x *ChangeEvent) GetName() string

func (*ChangeEvent) GetNewValue

func (x *ChangeEvent) GetNewValue() string

func (*ChangeEvent) GetOldValue

func (x *ChangeEvent) GetOldValue() string

func (*ChangeEvent) GetUpdateTime

func (x *ChangeEvent) GetUpdateTime() *timestamppb.Timestamp

func (*ChangeEvent) GetUserEmail

func (x *ChangeEvent) GetUserEmail() string

func (*ChangeEvent) ProtoMessage

func (*ChangeEvent) ProtoMessage()

func (*ChangeEvent) ProtoReflect

func (x *ChangeEvent) ProtoReflect() protoreflect.Message

func (*ChangeEvent) Reset

func (x *ChangeEvent) Reset()

func (*ChangeEvent) String

func (x *ChangeEvent) String() string

type ChopsAsset

type ChopsAsset struct {

	// Asset's state and location
	Id       string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Next Tag: 3

func (*ChopsAsset) Descriptor deprecated

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

Deprecated: Use ChopsAsset.ProtoReflect.Descriptor instead.

func (*ChopsAsset) GetId

func (x *ChopsAsset) GetId() string

func (*ChopsAsset) GetLocation

func (x *ChopsAsset) GetLocation() *Location

func (*ChopsAsset) ProtoMessage

func (*ChopsAsset) ProtoMessage()

func (*ChopsAsset) ProtoReflect

func (x *ChopsAsset) ProtoReflect() protoreflect.Message

func (*ChopsAsset) Reset

func (x *ChopsAsset) Reset()

func (*ChopsAsset) String

func (x *ChopsAsset) String() string

type ChromeBrowserMachine

type ChromeBrowserMachine struct {

	// Descriptive name of Chrome Machine
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Should match one of the predefined Chrome Platforms.
	// Refers to ChromePlatform name
	ChromePlatform string `protobuf:"bytes,2,opt,name=chrome_platform,json=chromePlatform,proto3" json:"chrome_platform,omitempty"`
	// Interface of its connected devices.
	KvmInterface *KVMInterface `protobuf:"bytes,4,opt,name=kvm_interface,json=kvmInterface,proto3" json:"kvm_interface,omitempty"`
	RpmInterface *RPMInterface `protobuf:"bytes,5,opt,name=rpm_interface,json=rpmInterface,proto3" json:"rpm_interface,omitempty"`
	// Usually it's a buganizer bug.
	DeploymentTicket string `protobuf:"bytes,8,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"`
	// Can be covered by deployment_ticket
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	NicObjects  []*Nic `protobuf:"bytes,11,rep,name=nic_objects,json=nicObjects,proto3" json:"nic_objects,omitempty"`
	DracObject  *Drac  `protobuf:"bytes,12,opt,name=drac_object,json=dracObject,proto3" json:"drac_object,omitempty"`
	// contains filtered or unexported fields
}

ChromeBrowserMachine refers to bare metal servers in Chrome Browser lab

func (*ChromeBrowserMachine) Descriptor deprecated

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

Deprecated: Use ChromeBrowserMachine.ProtoReflect.Descriptor instead.

func (*ChromeBrowserMachine) GetChromePlatform

func (x *ChromeBrowserMachine) GetChromePlatform() string

func (*ChromeBrowserMachine) GetDeploymentTicket

func (x *ChromeBrowserMachine) GetDeploymentTicket() string

func (*ChromeBrowserMachine) GetDescription

func (x *ChromeBrowserMachine) GetDescription() string

func (*ChromeBrowserMachine) GetDisplayName

func (x *ChromeBrowserMachine) GetDisplayName() string

func (*ChromeBrowserMachine) GetDracObject

func (x *ChromeBrowserMachine) GetDracObject() *Drac

func (*ChromeBrowserMachine) GetKvmInterface

func (x *ChromeBrowserMachine) GetKvmInterface() *KVMInterface

func (*ChromeBrowserMachine) GetNicObjects

func (x *ChromeBrowserMachine) GetNicObjects() []*Nic

func (*ChromeBrowserMachine) GetRpmInterface

func (x *ChromeBrowserMachine) GetRpmInterface() *RPMInterface

func (*ChromeBrowserMachine) ProtoMessage

func (*ChromeBrowserMachine) ProtoMessage()

func (*ChromeBrowserMachine) ProtoReflect

func (x *ChromeBrowserMachine) ProtoReflect() protoreflect.Message

func (*ChromeBrowserMachine) Reset

func (x *ChromeBrowserMachine) Reset()

func (*ChromeBrowserMachine) String

func (x *ChromeBrowserMachine) String() string

type ChromeBrowserMachineLSE

type ChromeBrowserMachineLSE struct {

	// Indicate if VM is needed to set up
	// number of vms on the host
	Vms []*VM `protobuf:"bytes,1,rep,name=vms,proto3" json:"vms,omitempty"`
	// The allowed vm slots for this browser machine, usually it's manually set based on sysadmin's judgement.
	VmCapacity int32 `protobuf:"varint,2,opt,name=vm_capacity,json=vmCapacity,proto3" json:"vm_capacity,omitempty"`
	// Indicate the os version of the machine itself.
	OsVersion *OSVersion `protobuf:"bytes,3,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	// The virtual datacenter VMs deployed on this host belong to.
	VirtualDatacenter string `protobuf:"bytes,4,opt,name=virtual_datacenter,json=virtualDatacenter,proto3" json:"virtual_datacenter,omitempty"`
	// contains filtered or unexported fields
}

ChromeBrowserMachineLSE refers to the entity which hosts the vms in Chrome Browser lab

func (*ChromeBrowserMachineLSE) Descriptor deprecated

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

Deprecated: Use ChromeBrowserMachineLSE.ProtoReflect.Descriptor instead.

func (*ChromeBrowserMachineLSE) GetOsVersion

func (x *ChromeBrowserMachineLSE) GetOsVersion() *OSVersion

func (*ChromeBrowserMachineLSE) GetVirtualDatacenter

func (x *ChromeBrowserMachineLSE) GetVirtualDatacenter() string

func (*ChromeBrowserMachineLSE) GetVmCapacity

func (x *ChromeBrowserMachineLSE) GetVmCapacity() int32

func (*ChromeBrowserMachineLSE) GetVms

func (x *ChromeBrowserMachineLSE) GetVms() []*VM

func (*ChromeBrowserMachineLSE) ProtoMessage

func (*ChromeBrowserMachineLSE) ProtoMessage()

func (*ChromeBrowserMachineLSE) ProtoReflect

func (x *ChromeBrowserMachineLSE) ProtoReflect() protoreflect.Message

func (*ChromeBrowserMachineLSE) Reset

func (x *ChromeBrowserMachineLSE) Reset()

func (*ChromeBrowserMachineLSE) String

func (x *ChromeBrowserMachineLSE) String() string

type ChromeBrowserRack

type ChromeBrowserRack struct {
	RpmObjects    []*RPM    `protobuf:"bytes,4,rep,name=rpm_objects,json=rpmObjects,proto3" json:"rpm_objects,omitempty"`
	KvmObjects    []*KVM    `protobuf:"bytes,5,rep,name=kvm_objects,json=kvmObjects,proto3" json:"kvm_objects,omitempty"`
	SwitchObjects []*Switch `protobuf:"bytes,6,rep,name=switch_objects,json=switchObjects,proto3" json:"switch_objects,omitempty"`
	// contains filtered or unexported fields
}

ChromeBrowserRack refers to the rack in Chrome Browser lab

func (*ChromeBrowserRack) Descriptor deprecated

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

Deprecated: Use ChromeBrowserRack.ProtoReflect.Descriptor instead.

func (*ChromeBrowserRack) GetKvmObjects

func (x *ChromeBrowserRack) GetKvmObjects() []*KVM

func (*ChromeBrowserRack) GetRpmObjects

func (x *ChromeBrowserRack) GetRpmObjects() []*RPM

func (*ChromeBrowserRack) GetSwitchObjects

func (x *ChromeBrowserRack) GetSwitchObjects() []*Switch

func (*ChromeBrowserRack) ProtoMessage

func (*ChromeBrowserRack) ProtoMessage()

func (*ChromeBrowserRack) ProtoReflect

func (x *ChromeBrowserRack) ProtoReflect() protoreflect.Message

func (*ChromeBrowserRack) Reset

func (x *ChromeBrowserRack) Reset()

func (*ChromeBrowserRack) String

func (x *ChromeBrowserRack) String() string

type ChromeBrowserRackLSE

type ChromeBrowserRackLSE struct {

	// KVMs in the rack, they're the attached kvms' names, which are the same as their hostnames
	//
	// Deprecated: Do not use.
	Kvms []string `protobuf:"bytes,1,rep,name=kvms,proto3" json:"kvms,omitempty"`
	// Switches in the rack.
	//
	// Deprecated: Do not use.
	Switches []string `protobuf:"bytes,2,rep,name=switches,proto3" json:"switches,omitempty"`
	// contains filtered or unexported fields
}

ChromeBrowserRackLSE refers to the entity which has kvms and rpms connected to it in Chrome Browser lab

func (*ChromeBrowserRackLSE) Descriptor deprecated

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

Deprecated: Use ChromeBrowserRackLSE.ProtoReflect.Descriptor instead.

func (*ChromeBrowserRackLSE) GetKvms deprecated

func (x *ChromeBrowserRackLSE) GetKvms() []string

Deprecated: Do not use.

func (*ChromeBrowserRackLSE) GetSwitches deprecated

func (x *ChromeBrowserRackLSE) GetSwitches() []string

Deprecated: Do not use.

func (*ChromeBrowserRackLSE) ProtoMessage

func (*ChromeBrowserRackLSE) ProtoMessage()

func (*ChromeBrowserRackLSE) ProtoReflect

func (x *ChromeBrowserRackLSE) ProtoReflect() protoreflect.Message

func (*ChromeBrowserRackLSE) Reset

func (x *ChromeBrowserRackLSE) Reset()

func (*ChromeBrowserRackLSE) String

func (x *ChromeBrowserRackLSE) String() string

type ChromeOSDeviceData

type ChromeOSDeviceData struct {
	LabConfig           *MachineLSE                        `protobuf:"bytes,1,opt,name=lab_config,json=labConfig,proto3" json:"lab_config,omitempty"`
	Machine             *Machine                           `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"`
	DeviceConfig        *device.Config                     `protobuf:"bytes,3,opt,name=device_config,json=deviceConfig,proto3" json:"device_config,omitempty"`
	ManufacturingConfig *manufacturing.ManufacturingConfig `protobuf:"bytes,4,opt,name=manufacturing_config,json=manufacturingConfig,proto3" json:"manufacturing_config,omitempty"`
	HwidData            *HwidData                          `protobuf:"bytes,5,opt,name=hwid_data,json=hwidData,proto3" json:"hwid_data,omitempty"`
	DutState            *lab.DutState                      `protobuf:"bytes,6,opt,name=dut_state,json=dutState,proto3" json:"dut_state,omitempty"`
	DutV1               *inventory.DeviceUnderTest         `protobuf:"bytes,7,opt,name=dutV1,proto3" json:"dutV1,omitempty"`
	// contains filtered or unexported fields
}

func (*ChromeOSDeviceData) Descriptor deprecated

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

Deprecated: Use ChromeOSDeviceData.ProtoReflect.Descriptor instead.

func (*ChromeOSDeviceData) GetDeviceConfig

func (x *ChromeOSDeviceData) GetDeviceConfig() *device.Config

func (*ChromeOSDeviceData) GetDutState

func (x *ChromeOSDeviceData) GetDutState() *lab.DutState

func (*ChromeOSDeviceData) GetDutV1

func (*ChromeOSDeviceData) GetHwidData

func (x *ChromeOSDeviceData) GetHwidData() *HwidData

func (*ChromeOSDeviceData) GetLabConfig

func (x *ChromeOSDeviceData) GetLabConfig() *MachineLSE

func (*ChromeOSDeviceData) GetMachine

func (x *ChromeOSDeviceData) GetMachine() *Machine

func (*ChromeOSDeviceData) GetManufacturingConfig

func (x *ChromeOSDeviceData) GetManufacturingConfig() *manufacturing.ManufacturingConfig

func (*ChromeOSDeviceData) ProtoMessage

func (*ChromeOSDeviceData) ProtoMessage()

func (*ChromeOSDeviceData) ProtoReflect

func (x *ChromeOSDeviceData) ProtoReflect() protoreflect.Message

func (*ChromeOSDeviceData) Reset

func (x *ChromeOSDeviceData) Reset()

func (*ChromeOSDeviceData) String

func (x *ChromeOSDeviceData) String() string

type ChromeOSDeviceLSE

type ChromeOSDeviceLSE struct {

	// Deprecated: Do not use.
	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 */
	// Types that are assignable to Device:
	//	*ChromeOSDeviceLSE_Dut
	//	*ChromeOSDeviceLSE_Labstation
	Device isChromeOSDeviceLSE_Device `protobuf_oneof:"device"`
	// contains filtered or unexported fields
}

ChromeOSDeviceLSE refers to the entity in Chrome OS lab which is a DUT, test Bed or a Labstation

func (*ChromeOSDeviceLSE) Descriptor deprecated

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

Deprecated: Use ChromeOSDeviceLSE.ProtoReflect.Descriptor instead.

func (*ChromeOSDeviceLSE) GetConfig deprecated

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

Deprecated: Do not use.

func (*ChromeOSDeviceLSE) GetDevice

func (m *ChromeOSDeviceLSE) GetDevice() isChromeOSDeviceLSE_Device

func (*ChromeOSDeviceLSE) GetDut

func (x *ChromeOSDeviceLSE) GetDut() *lab.DeviceUnderTest

func (*ChromeOSDeviceLSE) GetLabstation

func (x *ChromeOSDeviceLSE) GetLabstation() *lab.Labstation

func (*ChromeOSDeviceLSE) GetNetworkDeviceInterface

func (x *ChromeOSDeviceLSE) GetNetworkDeviceInterface() *SwitchInterface

func (*ChromeOSDeviceLSE) GetRpmInterface

func (x *ChromeOSDeviceLSE) GetRpmInterface() *RPMInterface

func (*ChromeOSDeviceLSE) ProtoMessage

func (*ChromeOSDeviceLSE) ProtoMessage()

func (*ChromeOSDeviceLSE) ProtoReflect

func (x *ChromeOSDeviceLSE) ProtoReflect() protoreflect.Message

func (*ChromeOSDeviceLSE) Reset

func (x *ChromeOSDeviceLSE) Reset()

func (*ChromeOSDeviceLSE) String

func (x *ChromeOSDeviceLSE) String() string

type ChromeOSDeviceLSE_Dut

type ChromeOSDeviceLSE_Dut struct {
	Dut *lab.DeviceUnderTest `protobuf:"bytes,4,opt,name=dut,proto3,oneof"`
}

type ChromeOSDeviceLSE_Labstation

type ChromeOSDeviceLSE_Labstation struct {
	Labstation *lab.Labstation `protobuf:"bytes,5,opt,name=labstation,proto3,oneof"`
}

type ChromeOSDeviceType

type ChromeOSDeviceType int32

ChromeOSDeviceType refers to the different types of device/machine in the Chrome OS lab

const (
	ChromeOSDeviceType_CHROME_OS_DEVICE_TYPE_UNSPECIFIED ChromeOSDeviceType = 0
	ChromeOSDeviceType_DEVICE_CHROMEBOOK                 ChromeOSDeviceType = 1
	ChromeOSDeviceType_DEVICE_LABSTATION                 ChromeOSDeviceType = 2
	ChromeOSDeviceType_DEVICE_SERVO                      ChromeOSDeviceType = 3
)

func (ChromeOSDeviceType) Descriptor

func (ChromeOSDeviceType) Enum

func (ChromeOSDeviceType) EnumDescriptor deprecated

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

Deprecated: Use ChromeOSDeviceType.Descriptor instead.

func (ChromeOSDeviceType) Number

func (ChromeOSDeviceType) String

func (x ChromeOSDeviceType) String() string

func (ChromeOSDeviceType) Type

type ChromeOSMachine

type ChromeOSMachine struct {

	// All infos come from the 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 `` /* 143-byte string literal not displayed */
	// 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"`
	// User not allowed to update this field. SSW will update this field.
	Sku string `protobuf:"bytes,7,opt,name=sku,proto3" json:"sku,omitempty"`
	// Phase of the device [PVT, EVT, etc,.] if available.
	Phase string `protobuf:"bytes,8,opt,name=phase,proto3" json:"phase,omitempty"`
	// Cost center associated with the asset.
	CostCenter string `protobuf:"bytes,9,opt,name=cost_center,json=costCenter,proto3" json:"cost_center,omitempty"`
	// The manufacturing ID for a given DUT
	// User not allowed to update this field. SSW will update this field.
	Hwid string `protobuf:"bytes,10,opt,name=hwid,proto3" json:"hwid,omitempty"`
	// GPN stands for Google Part Number, unique identifier for the device
	Gpn string `protobuf:"bytes,11,opt,name=gpn,proto3" json:"gpn,omitempty"`
	// contains filtered or unexported fields
}

ChromeOSMachine refers duts and servers in Chrome OS lab

func (*ChromeOSMachine) Descriptor deprecated

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

Deprecated: Use ChromeOSMachine.ProtoReflect.Descriptor instead.

func (*ChromeOSMachine) GetBuildTarget

func (x *ChromeOSMachine) GetBuildTarget() string

func (*ChromeOSMachine) GetCostCenter

func (x *ChromeOSMachine) GetCostCenter() string

func (*ChromeOSMachine) GetDeviceType

func (x *ChromeOSMachine) GetDeviceType() ChromeOSDeviceType

func (*ChromeOSMachine) GetGoogleCodeName

func (x *ChromeOSMachine) GetGoogleCodeName() string

func (*ChromeOSMachine) GetGpn

func (x *ChromeOSMachine) GetGpn() string

func (*ChromeOSMachine) GetHwid

func (x *ChromeOSMachine) GetHwid() string

func (*ChromeOSMachine) GetMacAddress

func (x *ChromeOSMachine) GetMacAddress() string

func (*ChromeOSMachine) GetModel

func (x *ChromeOSMachine) GetModel() string

func (*ChromeOSMachine) GetPhase

func (x *ChromeOSMachine) GetPhase() string

func (*ChromeOSMachine) GetReferenceBoard

func (x *ChromeOSMachine) GetReferenceBoard() string

func (*ChromeOSMachine) GetSku

func (x *ChromeOSMachine) GetSku() string

func (*ChromeOSMachine) ProtoMessage

func (*ChromeOSMachine) ProtoMessage()

func (*ChromeOSMachine) ProtoReflect

func (x *ChromeOSMachine) ProtoReflect() protoreflect.Message

func (*ChromeOSMachine) Reset

func (x *ChromeOSMachine) Reset()

func (*ChromeOSMachine) String

func (x *ChromeOSMachine) String() string

type ChromeOSMachineLSE

type ChromeOSMachineLSE struct {

	// Types that are assignable to ChromeosLse:
	//	*ChromeOSMachineLSE_Dut
	//	*ChromeOSMachineLSE_Server
	//	*ChromeOSMachineLSE_DeviceLse
	//	*ChromeOSMachineLSE_ServerLse
	ChromeosLse isChromeOSMachineLSE_ChromeosLse `protobuf_oneof:"chromeos_lse"`
	// contains filtered or unexported fields
}

ChromeOSMachineLSE refers to the entity in Chrome OS lab which can be a Device(DUT, test Bed or Labstation) or a server

func (*ChromeOSMachineLSE) Descriptor deprecated

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

Deprecated: Use ChromeOSMachineLSE.ProtoReflect.Descriptor instead.

func (*ChromeOSMachineLSE) GetChromeosLse

func (m *ChromeOSMachineLSE) GetChromeosLse() isChromeOSMachineLSE_ChromeosLse

func (*ChromeOSMachineLSE) GetDeviceLse

func (x *ChromeOSMachineLSE) GetDeviceLse() *ChromeOSDeviceLSE

func (*ChromeOSMachineLSE) GetDut deprecated

Deprecated: Do not use.

func (*ChromeOSMachineLSE) GetServer deprecated

func (x *ChromeOSMachineLSE) GetServer() *ChromeOSServerLSE

Deprecated: Do not use.

func (*ChromeOSMachineLSE) GetServerLse

func (x *ChromeOSMachineLSE) GetServerLse() *ChromeOSServerLSE

func (*ChromeOSMachineLSE) ProtoMessage

func (*ChromeOSMachineLSE) ProtoMessage()

func (*ChromeOSMachineLSE) ProtoReflect

func (x *ChromeOSMachineLSE) ProtoReflect() protoreflect.Message

func (*ChromeOSMachineLSE) Reset

func (x *ChromeOSMachineLSE) Reset()

func (*ChromeOSMachineLSE) String

func (x *ChromeOSMachineLSE) String() string

type ChromeOSMachineLSE_DeviceLse

type ChromeOSMachineLSE_DeviceLse struct {
	DeviceLse *ChromeOSDeviceLSE `protobuf:"bytes,3,opt,name=device_lse,json=deviceLse,proto3,oneof"`
}

type ChromeOSMachineLSE_Dut

type ChromeOSMachineLSE_Dut struct {
	// Deprecated: Do not use.
	Dut *ChromeOSDeviceLSE `protobuf:"bytes,1,opt,name=dut,proto3,oneof"`
}

type ChromeOSMachineLSE_Server

type ChromeOSMachineLSE_Server struct {
	// Deprecated: Do not use.
	Server *ChromeOSServerLSE `protobuf:"bytes,2,opt,name=server,proto3,oneof"`
}

type ChromeOSMachineLSE_ServerLse

type ChromeOSMachineLSE_ServerLse struct {
	ServerLse *ChromeOSServerLSE `protobuf:"bytes,4,opt,name=server_lse,json=serverLse,proto3,oneof"`
}

type ChromeOSRack

type ChromeOSRack struct {
	// contains filtered or unexported fields
}

ChromeOSRack refers to the rack in Chrome Browser lab

func (*ChromeOSRack) Descriptor deprecated

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

Deprecated: Use ChromeOSRack.ProtoReflect.Descriptor instead.

func (*ChromeOSRack) ProtoMessage

func (*ChromeOSRack) ProtoMessage()

func (*ChromeOSRack) ProtoReflect

func (x *ChromeOSRack) ProtoReflect() protoreflect.Message

func (*ChromeOSRack) Reset

func (x *ChromeOSRack) Reset()

func (*ChromeOSRack) String

func (x *ChromeOSRack) String() string

type ChromeOSRackLSE

type ChromeOSRackLSE struct {

	// RPMs in the rack
	Rpms []string `protobuf:"bytes,1,rep,name=rpms,proto3" json:"rpms,omitempty"`
	// KVMs in the rack
	Kvms     []string `protobuf:"bytes,2,rep,name=kvms,proto3" json:"kvms,omitempty"`
	Switches []string `protobuf:"bytes,3,rep,name=switches,proto3" json:"switches,omitempty"`
	// contains filtered or unexported fields
}

ChromeOSRackLSE refers to the entity which has switches and rpms connected to it in Chrome OS lab

func (*ChromeOSRackLSE) Descriptor deprecated

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

Deprecated: Use ChromeOSRackLSE.ProtoReflect.Descriptor instead.

func (*ChromeOSRackLSE) GetKvms

func (x *ChromeOSRackLSE) GetKvms() []string

func (*ChromeOSRackLSE) GetRpms

func (x *ChromeOSRackLSE) GetRpms() []string

func (*ChromeOSRackLSE) GetSwitches

func (x *ChromeOSRackLSE) GetSwitches() []string

func (*ChromeOSRackLSE) ProtoMessage

func (*ChromeOSRackLSE) ProtoMessage()

func (*ChromeOSRackLSE) ProtoReflect

func (x *ChromeOSRackLSE) ProtoReflect() protoreflect.Message

func (*ChromeOSRackLSE) Reset

func (x *ChromeOSRackLSE) Reset()

func (*ChromeOSRackLSE) String

func (x *ChromeOSRackLSE) String() string

type ChromeOSServerLSE

type ChromeOSServerLSE struct {

	// The vlan that this server is going to serve
	SupportedRestrictedVlan string `` /* 132-byte string literal not displayed */
	ServicePort             int32  `protobuf:"varint,2,opt,name=service_port,json=servicePort,proto3" json:"service_port,omitempty"`
	// contains filtered or unexported fields
}

ChromeOSServerLSE refers to the entity in Chrome OS lab which is a server. Servers serve as different roles, e.g. devservers, for caching chromeos images, and drones, for running GKE pods to maintain the swarming bots that maps to the real chromeos devices.

func (*ChromeOSServerLSE) Descriptor deprecated

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

Deprecated: Use ChromeOSServerLSE.ProtoReflect.Descriptor instead.

func (*ChromeOSServerLSE) GetServicePort

func (x *ChromeOSServerLSE) GetServicePort() int32

func (*ChromeOSServerLSE) GetSupportedRestrictedVlan

func (x *ChromeOSServerLSE) GetSupportedRestrictedVlan() string

func (*ChromeOSServerLSE) ProtoMessage

func (*ChromeOSServerLSE) ProtoMessage()

func (*ChromeOSServerLSE) ProtoReflect

func (x *ChromeOSServerLSE) ProtoReflect() protoreflect.Message

func (*ChromeOSServerLSE) Reset

func (x *ChromeOSServerLSE) Reset()

func (*ChromeOSServerLSE) String

func (x *ChromeOSServerLSE) String() string

type ChromePlatform

type ChromePlatform struct {

	// The format will be chromePlatforms/XXX
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Manufacturer string `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	Description  string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Record the last update timestamp of this ChromePlatform (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// tags user can attach for easy querying/search
	Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

ChromePlatform refers to static configs defined by Chrome Browser lab for their machines

func (*ChromePlatform) Descriptor deprecated

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

Deprecated: Use ChromePlatform.ProtoReflect.Descriptor instead.

func (*ChromePlatform) GetDescription

func (x *ChromePlatform) GetDescription() string

func (*ChromePlatform) GetManufacturer

func (x *ChromePlatform) GetManufacturer() string

func (*ChromePlatform) GetName

func (x *ChromePlatform) GetName() string

func (*ChromePlatform) GetTags

func (x *ChromePlatform) GetTags() []string

func (*ChromePlatform) GetUpdateTime

func (x *ChromePlatform) GetUpdateTime() *timestamppb.Timestamp

func (*ChromePlatform) ProtoMessage

func (*ChromePlatform) ProtoMessage()

func (*ChromePlatform) ProtoReflect

func (x *ChromePlatform) ProtoReflect() protoreflect.Message

func (*ChromePlatform) Reset

func (x *ChromePlatform) Reset()

func (*ChromePlatform) String

func (x *ChromePlatform) String() string

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"`
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	Vlan       string                 `protobuf:"bytes,5,opt,name=vlan,proto3" json:"vlan,omitempty"`
	// contains filtered or unexported fields
}

func (*DHCPConfig) Descriptor deprecated

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

Deprecated: Use DHCPConfig.ProtoReflect.Descriptor instead.

func (*DHCPConfig) GetHostname

func (x *DHCPConfig) GetHostname() string

func (*DHCPConfig) GetIp

func (x *DHCPConfig) GetIp() string

func (*DHCPConfig) GetMacAddress

func (x *DHCPConfig) GetMacAddress() string

func (*DHCPConfig) GetUpdateTime

func (x *DHCPConfig) GetUpdateTime() *timestamppb.Timestamp

func (*DHCPConfig) GetVlan

func (x *DHCPConfig) GetVlan() string

func (*DHCPConfig) ProtoMessage

func (*DHCPConfig) ProtoMessage()

func (*DHCPConfig) ProtoReflect

func (x *DHCPConfig) ProtoReflect() protoreflect.Message

func (*DHCPConfig) Reset

func (x *DHCPConfig) Reset()

func (*DHCPConfig) String

func (x *DHCPConfig) String() string

type DeploymentEnv

type DeploymentEnv int32
const (
	// Only add DeploymentEnv prefix to undefined as there're still discussions about whether to add
	// prefix to all enums to reduce the code readability.
	DeploymentEnv_DEPLOYMENTENV_UNDEFINED DeploymentEnv = 0
	DeploymentEnv_PROD                    DeploymentEnv = 1
	DeploymentEnv_AUTOPUSH                DeploymentEnv = 2
)

func (DeploymentEnv) Descriptor

func (DeploymentEnv) Enum

func (x DeploymentEnv) Enum() *DeploymentEnv

func (DeploymentEnv) EnumDescriptor deprecated

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

Deprecated: Use DeploymentEnv.Descriptor instead.

func (DeploymentEnv) Number

func (DeploymentEnv) String

func (x DeploymentEnv) String() string

func (DeploymentEnv) Type

type Dimension

type Dimension struct {
	Key    string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Representing a matching <string, []string>

func (*Dimension) Descriptor deprecated

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

Deprecated: Use Dimension.ProtoReflect.Descriptor instead.

func (*Dimension) GetKey

func (x *Dimension) GetKey() string

func (*Dimension) GetValues

func (x *Dimension) GetValues() []string

func (*Dimension) ProtoMessage

func (*Dimension) ProtoMessage()

func (*Dimension) ProtoReflect

func (x *Dimension) ProtoReflect() protoreflect.Message

func (*Dimension) Reset

func (x *Dimension) Reset()

func (*Dimension) String

func (x *Dimension) String() string

type Drac

type Drac struct {

	// Unique serial_number or asset tag
	// The format will be dracs/{drac}
	Name            string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName     string           `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	MacAddress      string           `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	SwitchInterface *SwitchInterface `protobuf:"bytes,4,opt,name=switch_interface,json=switchInterface,proto3" json:"switch_interface,omitempty"`
	Password        string           `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// Record the last update timestamp of this Drac (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Refers to Machine name
	Machine string `protobuf:"bytes,7,opt,name=machine,proto3" json:"machine,omitempty"`
	// Refers to Rack name
	Rack string `protobuf:"bytes,9,opt,name=rack,proto3" json:"rack,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
	// Refers to Zone
	Zone string `protobuf:"bytes,12,opt,name=zone,proto3" json:"zone,omitempty"`
	// State of the drac
	ResourceState State `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Drac) Descriptor deprecated

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

Deprecated: Use Drac.ProtoReflect.Descriptor instead.

func (*Drac) GetDisplayName

func (x *Drac) GetDisplayName() string

func (*Drac) GetMacAddress

func (x *Drac) GetMacAddress() string

func (*Drac) GetMachine

func (x *Drac) GetMachine() string

func (*Drac) GetName

func (x *Drac) GetName() string

func (*Drac) GetPassword

func (x *Drac) GetPassword() string

func (*Drac) GetRack

func (x *Drac) GetRack() string

func (*Drac) GetResourceState

func (x *Drac) GetResourceState() State

func (*Drac) GetSwitchInterface

func (x *Drac) GetSwitchInterface() *SwitchInterface

func (*Drac) GetTags

func (x *Drac) GetTags() []string

func (*Drac) GetUpdateTime

func (x *Drac) GetUpdateTime() *timestamppb.Timestamp

func (*Drac) GetZone

func (x *Drac) GetZone() string

func (*Drac) ProtoMessage

func (*Drac) ProtoMessage()

func (*Drac) ProtoReflect

func (x *Drac) ProtoReflect() protoreflect.Message

func (*Drac) Reset

func (x *Drac) Reset()

func (*Drac) String

func (x *Drac) String() string

type DutLabel

type DutLabel struct {

	// Possible labels in the labels field.
	PossibleLabels []string          `protobuf:"bytes,1,rep,name=possible_labels,json=possibleLabels,proto3" json:"possible_labels,omitempty"`
	Labels         []*DutLabel_Label `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` // NOLINT
	// contains filtered or unexported fields
}

A set of labels representing the features of the device, can be revealed by decoding the HWID string.

func (*DutLabel) Descriptor deprecated

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

Deprecated: Use DutLabel.ProtoReflect.Descriptor instead.

func (*DutLabel) GetLabels

func (x *DutLabel) GetLabels() []*DutLabel_Label

func (*DutLabel) GetPossibleLabels

func (x *DutLabel) GetPossibleLabels() []string

func (*DutLabel) ProtoMessage

func (*DutLabel) ProtoMessage()

func (*DutLabel) ProtoReflect

func (x *DutLabel) ProtoReflect() protoreflect.Message

func (*DutLabel) Reset

func (x *DutLabel) Reset()

func (*DutLabel) String

func (x *DutLabel) String() string

type DutLabel_Label

type DutLabel_Label struct {

	// Name of the label, will always exist in the field of `possible_labels`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The value of this label.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

All labels extracted from the HWID string.

func (*DutLabel_Label) Descriptor deprecated

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

Deprecated: Use DutLabel_Label.ProtoReflect.Descriptor instead.

func (*DutLabel_Label) GetName

func (x *DutLabel_Label) GetName() string

func (*DutLabel_Label) GetValue

func (x *DutLabel_Label) GetValue() string

func (*DutLabel_Label) ProtoMessage

func (*DutLabel_Label) ProtoMessage()

func (*DutLabel_Label) ProtoReflect

func (x *DutLabel_Label) ProtoReflect() protoreflect.Message

func (*DutLabel_Label) Reset

func (x *DutLabel_Label) Reset()

func (*DutLabel_Label) String

func (x *DutLabel_Label) String() string

type DutMeta

type DutMeta struct {
	ChromeosDeviceId string `protobuf:"bytes,1,opt,name=chromeos_device_id,json=chromeosDeviceId,proto3" json:"chromeos_device_id,omitempty"`
	Hostname         string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	SerialNumber     string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	HwID             string `protobuf:"bytes,4,opt,name=hwID,proto3" json:"hwID,omitempty"`
	DeviceSku        string `protobuf:"bytes,5,opt,name=device_sku,json=deviceSku,proto3" json:"device_sku,omitempty"`
	// contains filtered or unexported fields
}

func (*DutMeta) Descriptor deprecated

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

Deprecated: Use DutMeta.ProtoReflect.Descriptor instead.

func (*DutMeta) GetChromeosDeviceId

func (x *DutMeta) GetChromeosDeviceId() string

func (*DutMeta) GetDeviceSku

func (x *DutMeta) GetDeviceSku() string

func (*DutMeta) GetHostname

func (x *DutMeta) GetHostname() string

func (*DutMeta) GetHwID

func (x *DutMeta) GetHwID() string

func (*DutMeta) GetSerialNumber

func (x *DutMeta) GetSerialNumber() string

func (*DutMeta) ProtoMessage

func (*DutMeta) ProtoMessage()

func (*DutMeta) ProtoReflect

func (x *DutMeta) ProtoReflect() protoreflect.Message

func (*DutMeta) Reset

func (x *DutMeta) Reset()

func (*DutMeta) String

func (x *DutMeta) String() string

type GetDutLabelResponse

type GetDutLabelResponse struct {

	// The DUT labels decoded from the HWID string.
	DutLabel *DutLabel `protobuf:"bytes,1,opt,name=dut_label,json=dutLabel,proto3" json:"dut_label,omitempty"`
	// contains filtered or unexported fields
}

The response message for `HwidService.GetDutLabel`.

func (*GetDutLabelResponse) Descriptor deprecated

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

Deprecated: Use GetDutLabelResponse.ProtoReflect.Descriptor instead.

func (*GetDutLabelResponse) GetDutLabel

func (x *GetDutLabelResponse) GetDutLabel() *DutLabel

func (*GetDutLabelResponse) ProtoMessage

func (*GetDutLabelResponse) ProtoMessage()

func (*GetDutLabelResponse) ProtoReflect

func (x *GetDutLabelResponse) ProtoReflect() protoreflect.Message

func (*GetDutLabelResponse) Reset

func (x *GetDutLabelResponse) Reset()

func (*GetDutLabelResponse) String

func (x *GetDutLabelResponse) String() string

type HostCriterial

type HostCriterial struct {

	// Users can specify multiple requirements in each host criterial
	//   * Search the bots based on the swarming instances and dimensions
	//   * List the hostnames to push
	//   * All enrolled hosts need to be pushed
	// The priority comparison:
	//   all > hostnames > swarming_criterials
	All       bool     `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	Hostnames []string `protobuf:"bytes,2,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
	// When swarming is replaced by RBE, this criterial will be deprecated and
	// replaced by rbe_criterials.
	SwarmingCriterials []*SwarmingCriterial `protobuf:"bytes,3,rep,name=swarming_criterials,json=swarmingCriterials,proto3" json:"swarming_criterials,omitempty"`
	// contains filtered or unexported fields
}

func (*HostCriterial) Descriptor deprecated

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

Deprecated: Use HostCriterial.ProtoReflect.Descriptor instead.

func (*HostCriterial) GetAll

func (x *HostCriterial) GetAll() bool

func (*HostCriterial) GetHostnames

func (x *HostCriterial) GetHostnames() []string

func (*HostCriterial) GetSwarmingCriterials

func (x *HostCriterial) GetSwarmingCriterials() []*SwarmingCriterial

func (*HostCriterial) ProtoMessage

func (*HostCriterial) ProtoMessage()

func (*HostCriterial) ProtoReflect

func (x *HostCriterial) ProtoReflect() protoreflect.Message

func (*HostCriterial) Reset

func (x *HostCriterial) Reset()

func (*HostCriterial) String

func (x *HostCriterial) String() string

type HostsToProfileItem

type HostsToProfileItem struct {

	// For each matching, the key is one host criterial, the value is
	// a list of profiles to be pushed
	HostCriterial *HostCriterial `protobuf:"bytes,1,opt,name=host_criterial,json=hostCriterial,proto3" json:"host_criterial,omitempty"`
	Profiles      []*Payload     `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*HostsToProfileItem) Descriptor deprecated

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

Deprecated: Use HostsToProfileItem.ProtoReflect.Descriptor instead.

func (*HostsToProfileItem) GetHostCriterial

func (x *HostsToProfileItem) GetHostCriterial() *HostCriterial

func (*HostsToProfileItem) GetProfiles

func (x *HostsToProfileItem) GetProfiles() []*Payload

func (*HostsToProfileItem) ProtoMessage

func (*HostsToProfileItem) ProtoMessage()

func (*HostsToProfileItem) ProtoReflect

func (x *HostsToProfileItem) ProtoReflect() protoreflect.Message

func (*HostsToProfileItem) Reset

func (x *HostsToProfileItem) Reset()

func (*HostsToProfileItem) String

func (x *HostsToProfileItem) String() string

type HostsToProfileItems

type HostsToProfileItems struct {

	// A list of matching between hosts to its specified profiles
	MatchingItem []*HostsToProfileItem `protobuf:"bytes,1,rep,name=matching_item,json=matchingItem,proto3" json:"matching_item,omitempty"`
	// contains filtered or unexported fields
}

func (*HostsToProfileItems) Descriptor deprecated

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

Deprecated: Use HostsToProfileItems.ProtoReflect.Descriptor instead.

func (*HostsToProfileItems) GetMatchingItem

func (x *HostsToProfileItems) GetMatchingItem() []*HostsToProfileItem

func (*HostsToProfileItems) ProtoMessage

func (*HostsToProfileItems) ProtoMessage()

func (*HostsToProfileItems) ProtoReflect

func (x *HostsToProfileItems) ProtoReflect() protoreflect.Message

func (*HostsToProfileItems) Reset

func (x *HostsToProfileItems) Reset()

func (*HostsToProfileItems) String

func (x *HostsToProfileItems) String() string

type HwidData

type HwidData struct {
	Sku     string `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
	Variant string `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

func (*HwidData) Descriptor deprecated

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

Deprecated: Use HwidData.ProtoReflect.Descriptor instead.

func (*HwidData) GetSku

func (x *HwidData) GetSku() string

func (*HwidData) GetVariant

func (x *HwidData) GetVariant() string

func (*HwidData) ProtoMessage

func (*HwidData) ProtoMessage()

func (*HwidData) ProtoReflect

func (x *HwidData) ProtoReflect() protoreflect.Message

func (*HwidData) Reset

func (x *HwidData) Reset()

func (*HwidData) String

func (x *HwidData) String() string

type IP

type IP struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// can be converted to and from the string ip address
	Ipv4     uint32 `protobuf:"varint,2,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
	Vlan     string `protobuf:"bytes,3,opt,name=vlan,proto3" json:"vlan,omitempty"`
	Occupied bool   `protobuf:"varint,4,opt,name=occupied,proto3" json:"occupied,omitempty"`
	// store the string ip address
	Ipv4Str string `protobuf:"bytes,5,opt,name=ipv4_str,json=ipv4Str,proto3" json:"ipv4_str,omitempty"`
	// Indicate if this IP is reserved (cannot be auto-assigned to any host)
	Reserve bool `protobuf:"varint,6,opt,name=reserve,proto3" json:"reserve,omitempty"`
	// contains filtered or unexported fields
}

IP is an intermediate record object, not an object to be exposed by API.

func (*IP) Descriptor deprecated

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

Deprecated: Use IP.ProtoReflect.Descriptor instead.

func (*IP) GetId

func (x *IP) GetId() string

func (*IP) GetIpv4

func (x *IP) GetIpv4() uint32

func (*IP) GetIpv4Str

func (x *IP) GetIpv4Str() string

func (*IP) GetOccupied

func (x *IP) GetOccupied() bool

func (*IP) GetReserve

func (x *IP) GetReserve() bool

func (*IP) GetVlan

func (x *IP) GetVlan() string

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) ProtoReflect

func (x *IP) ProtoReflect() protoreflect.Message

func (*IP) Reset

func (x *IP) Reset()

func (*IP) String

func (x *IP) String() string

type KVM

type KVM struct {

	// Unique serial_number or asset tag
	// The format will be kvms/{kvm}
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// Should match one of the predefined Chrome Platforms.
	// Refers to ChromePlatform name
	ChromePlatform string `protobuf:"bytes,3,opt,name=chrome_platform,json=chromePlatform,proto3" json:"chrome_platform,omitempty"`
	CapacityPort   int32  `protobuf:"varint,4,opt,name=capacity_port,json=capacityPort,proto3" json:"capacity_port,omitempty"`
	// Record the last update timestamp of this KVM (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Refers to Rack name
	Rack string `protobuf:"bytes,7,opt,name=rack,proto3" json:"rack,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// Refers to Zone
	Zone string `protobuf:"bytes,10,opt,name=zone,proto3" json:"zone,omitempty"`
	// A description of this kvm.
	Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
	// State of the kvm
	ResourceState State `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KVM) Descriptor deprecated

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

Deprecated: Use KVM.ProtoReflect.Descriptor instead.

func (*KVM) GetCapacityPort

func (x *KVM) GetCapacityPort() int32

func (*KVM) GetChromePlatform

func (x *KVM) GetChromePlatform() string

func (*KVM) GetDescription

func (x *KVM) GetDescription() string

func (*KVM) GetMacAddress

func (x *KVM) GetMacAddress() string

func (*KVM) GetName

func (x *KVM) GetName() string

func (*KVM) GetRack

func (x *KVM) GetRack() string

func (*KVM) GetResourceState

func (x *KVM) GetResourceState() State

func (*KVM) GetTags

func (x *KVM) GetTags() []string

func (*KVM) GetUpdateTime

func (x *KVM) GetUpdateTime() *timestamppb.Timestamp

func (*KVM) GetZone

func (x *KVM) GetZone() string

func (*KVM) ProtoMessage

func (*KVM) ProtoMessage()

func (*KVM) ProtoReflect

func (x *KVM) ProtoReflect() protoreflect.Message

func (*KVM) Reset

func (x *KVM) Reset()

func (*KVM) String

func (x *KVM) String() string

type KVMInterface

type KVMInterface struct {

	// Refers to KVM name
	Kvm      string `protobuf:"bytes,1,opt,name=kvm,proto3" json:"kvm,omitempty"`
	PortName string `protobuf:"bytes,3,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"`
	// contains filtered or unexported fields
}

Refer to one port of a given KVM

func (*KVMInterface) Descriptor deprecated

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

Deprecated: Use KVMInterface.ProtoReflect.Descriptor instead.

func (*KVMInterface) GetKvm

func (x *KVMInterface) GetKvm() string

func (*KVMInterface) GetPortName

func (x *KVMInterface) GetPortName() string

func (*KVMInterface) ProtoMessage

func (*KVMInterface) ProtoMessage()

func (*KVMInterface) ProtoReflect

func (x *KVMInterface) ProtoReflect() protoreflect.Message

func (*KVMInterface) Reset

func (x *KVMInterface) Reset()

func (*KVMInterface) String

func (x *KVMInterface) String() string

type Lab

type Lab int32

Lab refers to the different Labs under chrome org More labs to be added later if needed Next tag: 12

const (
	Lab_LAB_UNSPECIFIED         Lab = 0
	Lab_LAB_CHROME_ATLANTA      Lab = 1
	Lab_LAB_CHROMEOS_SANTIAM    Lab = 2
	Lab_LAB_CHROMEOS_DESTINY    Lab = 3
	Lab_LAB_CHROMEOS_PROMETHEUS Lab = 4
	Lab_LAB_CHROMEOS_ATLANTIS   Lab = 5
	Lab_LAB_CHROMEOS_LINDAVISTA Lab = 6
	Lab_LAB_DATACENTER_ATL97    Lab = 7
	Lab_LAB_DATACENTER_IAD97    Lab = 8
	Lab_LAB_DATACENTER_MTV96    Lab = 9
	Lab_LAB_DATACENTER_MTV97    Lab = 10
	Lab_LAB_DATACENTER_FUCHSIA  Lab = 11
)

func (Lab) Descriptor

func (Lab) Descriptor() protoreflect.EnumDescriptor

func (Lab) Enum

func (x Lab) Enum() *Lab

func (Lab) EnumDescriptor deprecated

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

Deprecated: Use Lab.Descriptor instead.

func (Lab) Number

func (x Lab) Number() protoreflect.EnumNumber

func (Lab) String

func (x Lab) String() string

func (Lab) Type

func (Lab) Type() protoreflect.EnumType

type LabMeta

type LabMeta struct {
	ChromeosDeviceId string             `protobuf:"bytes,1,opt,name=chromeos_device_id,json=chromeosDeviceId,proto3" json:"chromeos_device_id,omitempty"`
	Hostname         string             `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	ServoType        string             `protobuf:"bytes,3,opt,name=servo_type,json=servoType,proto3" json:"servo_type,omitempty"`
	SmartUsbhub      bool               `protobuf:"varint,4,opt,name=smart_usbhub,json=smartUsbhub,proto3" json:"smart_usbhub,omitempty"`
	ServoTopology    *lab.ServoTopology `protobuf:"bytes,5,opt,name=servo_topology,json=servoTopology,proto3" json:"servo_topology,omitempty"`
	// contains filtered or unexported fields
}

func (*LabMeta) Descriptor deprecated

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

Deprecated: Use LabMeta.ProtoReflect.Descriptor instead.

func (*LabMeta) GetChromeosDeviceId

func (x *LabMeta) GetChromeosDeviceId() string

func (*LabMeta) GetHostname

func (x *LabMeta) GetHostname() string

func (*LabMeta) GetServoTopology

func (x *LabMeta) GetServoTopology() *lab.ServoTopology

func (*LabMeta) GetServoType

func (x *LabMeta) GetServoType() string

func (*LabMeta) GetSmartUsbhub

func (x *LabMeta) GetSmartUsbhub() bool

func (*LabMeta) ProtoMessage

func (*LabMeta) ProtoMessage()

func (*LabMeta) ProtoReflect

func (x *LabMeta) ProtoReflect() protoreflect.Message

func (*LabMeta) Reset

func (x *LabMeta) Reset()

func (*LabMeta) String

func (x *LabMeta) String() string

type Location

type Location struct {

	// Each lab has many aisles.
	// This field refers to the aisle number/name in the lab.
	Aisle string `protobuf:"bytes,2,opt,name=aisle,proto3" json:"aisle,omitempty"`
	// Each aisle has many rows.
	// This field refers to the row number/name in the aisle.
	Row string `protobuf:"bytes,3,opt,name=row,proto3" json:"row,omitempty"`
	// Each row has many racks.
	// This field refers to the rack number/name in the row.
	Rack string `protobuf:"bytes,4,opt,name=rack,proto3" json:"rack,omitempty"`
	// The position of the rack in the row.
	RackNumber string `protobuf:"bytes,5,opt,name=rack_number,json=rackNumber,proto3" json:"rack_number,omitempty"`
	// Each rack has many shelves.
	// This field refers to the shelf number/name in the rack.
	Shelf string `protobuf:"bytes,6,opt,name=shelf,proto3" json:"shelf,omitempty"`
	// Each shelf has many positions where assets can be placed.
	// This field refers to the position number/name in the shelf
	Position string `protobuf:"bytes,7,opt,name=position,proto3" json:"position,omitempty"`
	// A string descriptor representing location. This can be to
	// store barcode values for location or user defined names.
	BarcodeName string `protobuf:"bytes,8,opt,name=barcode_name,json=barcodeName,proto3" json:"barcode_name,omitempty"`
	// Different zones in the chrome org. Required.
	Zone Zone `protobuf:"varint,9,opt,name=zone,proto3,enum=unifiedfleet.api.v1.models.Zone" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

Location of the asset(Rack/Machine) in the lab For Browser machine, lab and rack are the only field to fill in. The fine-grained location is mainly for OS machine as we care about rack, row, shelf.

func (*Location) Descriptor deprecated

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetAisle

func (x *Location) GetAisle() string

func (*Location) GetBarcodeName

func (x *Location) GetBarcodeName() string

func (*Location) GetPosition

func (x *Location) GetPosition() string

func (*Location) GetRack

func (x *Location) GetRack() string

func (*Location) GetRackNumber

func (x *Location) GetRackNumber() string

func (*Location) GetRow

func (x *Location) GetRow() string

func (*Location) GetShelf

func (x *Location) GetShelf() string

func (*Location) GetZone

func (x *Location) GetZone() Zone

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type Machine

type Machine struct {

	// A unique name for the machine.
	//   * AssetTag for ChromeOS machine (device)
	//   * Serial number for Chrome machine for now (server) (Ideally it should be assetTag once it’s ready)
	// The format will be machines/asset:XXX or machines/sn:XXX
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// serial_number of the machine.
	// for chromeOS machine, user is not allowed to update this field.
	// SSW will update this field.
	SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// Location details of where the machine is placed
	Location *Location `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	// Types that are assignable to Device:
	//	*Machine_ChromeBrowserMachine
	//	*Machine_ChromeosMachine
	Device isMachine_Device `protobuf_oneof:"device"`
	// Record the last update timestamp of this machine (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Record the ACL info of the machine
	Realm string `protobuf:"bytes,7,opt,name=realm,proto3" json:"realm,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// State of the machine
	ResourceState State `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Machine refers to the devices or bare metal servers which serves the tests directly.

func (*Machine) Descriptor deprecated

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

Deprecated: Use Machine.ProtoReflect.Descriptor instead.

func (*Machine) GetChromeBrowserMachine

func (x *Machine) GetChromeBrowserMachine() *ChromeBrowserMachine

func (*Machine) GetChromeosMachine

func (x *Machine) GetChromeosMachine() *ChromeOSMachine

func (*Machine) GetDevice

func (m *Machine) GetDevice() isMachine_Device

func (*Machine) GetLocation

func (x *Machine) GetLocation() *Location

func (*Machine) GetName

func (x *Machine) GetName() string

func (*Machine) GetRealm

func (x *Machine) GetRealm() string

func (*Machine) GetResourceState

func (x *Machine) GetResourceState() State

func (*Machine) GetSerialNumber

func (x *Machine) GetSerialNumber() string

func (*Machine) GetTags

func (x *Machine) GetTags() []string

func (*Machine) GetUpdateTime

func (x *Machine) GetUpdateTime() *timestamppb.Timestamp

func (*Machine) ProtoMessage

func (*Machine) ProtoMessage()

func (*Machine) ProtoReflect

func (x *Machine) ProtoReflect() protoreflect.Message

func (*Machine) Reset

func (x *Machine) Reset()

func (*Machine) String

func (x *Machine) String() string

type MachineLSE

type MachineLSE struct {

	// This is the unique hostname of the MachineLSE
	// The format will be machineLSEs/XXX
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The prototype that this machine LSE should follow. System will use this
	// prototype to detect if the LSE is completed or valid.
	MachineLsePrototype string `protobuf:"bytes,2,opt,name=machine_lse_prototype,json=machineLsePrototype,proto3" json:"machine_lse_prototype,omitempty"`
	// The hostname is also recorded in DHCP configs
	Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Types that are assignable to Lse:
	//	*MachineLSE_ChromeBrowserMachineLse
	//	*MachineLSE_ChromeosMachineLse
	Lse isMachineLSE_Lse `protobuf_oneof:"lse"`
	// The machines that this LSE is linked to. No machine is linked if it's empty.
	// A machine cannot be linked to multiple LSEs (no use case for now).
	Machines []string `protobuf:"bytes,6,rep,name=machines,proto3" json:"machines,omitempty"`
	// Record the last update timestamp of this MachineLSE (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The nic used to associate with the hostname, as one machine/host may contain multiple nics.
	Nic string `protobuf:"bytes,8,opt,name=nic,proto3" json:"nic,omitempty"`
	// It refers to which vlan the host is in.
	// Please note that user can also specify it for auto-assigning a host's IP.
	Vlan string `protobuf:"bytes,18,opt,name=vlan,proto3" json:"vlan,omitempty"`
	// It refers to which ip the host is assigned to.
	// Please note that user can also specify it for assigning ip.
	Ip string `protobuf:"bytes,19,opt,name=ip,proto3" json:"ip,omitempty"`
	// Refers to Rack name
	Rack string `protobuf:"bytes,10,opt,name=rack,proto3" json:"rack,omitempty"`
	// Refer to the manufacturer name of the attached machine for the host
	Manufacturer string `protobuf:"bytes,11,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
	// Refers to Zone
	Zone string `protobuf:"bytes,14,opt,name=zone,proto3" json:"zone,omitempty"`
	// The deployment ticket associated with this host.
	DeploymentTicket string `protobuf:"bytes,15,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"`
	// A description of this host.
	Description string `protobuf:"bytes,16,opt,name=description,proto3" json:"description,omitempty"`
	// State of the host resource
	ResourceState State `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

MachineLSE is the Machine Lab Setup Environment. It refers to the entity in the lab which has Machine(s) associated with it. It also has other components associated with it.

Next tag: 18

func (*MachineLSE) Descriptor deprecated

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

Deprecated: Use MachineLSE.ProtoReflect.Descriptor instead.

func (*MachineLSE) GetChromeBrowserMachineLse

func (x *MachineLSE) GetChromeBrowserMachineLse() *ChromeBrowserMachineLSE

func (*MachineLSE) GetChromeosMachineLse

func (x *MachineLSE) GetChromeosMachineLse() *ChromeOSMachineLSE

func (*MachineLSE) GetDeploymentTicket

func (x *MachineLSE) GetDeploymentTicket() string

func (*MachineLSE) GetDescription

func (x *MachineLSE) GetDescription() string

func (*MachineLSE) GetHostname

func (x *MachineLSE) GetHostname() string

func (*MachineLSE) GetIp

func (x *MachineLSE) GetIp() string

func (*MachineLSE) GetLse

func (m *MachineLSE) GetLse() isMachineLSE_Lse

func (*MachineLSE) GetMachineLsePrototype

func (x *MachineLSE) GetMachineLsePrototype() string

func (*MachineLSE) GetMachines

func (x *MachineLSE) GetMachines() []string

func (*MachineLSE) GetManufacturer

func (x *MachineLSE) GetManufacturer() string

func (*MachineLSE) GetName

func (x *MachineLSE) GetName() string

func (*MachineLSE) GetNic

func (x *MachineLSE) GetNic() string

func (*MachineLSE) GetRack

func (x *MachineLSE) GetRack() string

func (*MachineLSE) GetResourceState

func (x *MachineLSE) GetResourceState() State

func (*MachineLSE) GetTags

func (x *MachineLSE) GetTags() []string

func (*MachineLSE) GetUpdateTime

func (x *MachineLSE) GetUpdateTime() *timestamppb.Timestamp

func (*MachineLSE) GetVlan

func (x *MachineLSE) GetVlan() string

func (*MachineLSE) GetZone

func (x *MachineLSE) GetZone() string

func (*MachineLSE) ProtoMessage

func (*MachineLSE) ProtoMessage()

func (*MachineLSE) ProtoReflect

func (x *MachineLSE) ProtoReflect() protoreflect.Message

func (*MachineLSE) Reset

func (x *MachineLSE) Reset()

func (*MachineLSE) String

func (x *MachineLSE) String() string

type MachineLSEDeployment

type MachineLSEDeployment struct {

	// The name of the host which contains this deployment record.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Refer to Machine.serial_number in machine.proto
	SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// Usually it is empty by default.
	// If it's a mac host, the deployment_identifier here refers to the UUID generated by MegaMDM.
	DeploymentIdentifier string `protobuf:"bytes,3,opt,name=deployment_identifier,json=deploymentIdentifier,proto3" json:"deployment_identifier,omitempty"`
	// It refers to all configs which is gonna to be pushed to this host.
	ConfigsToPush []*Payload `protobuf:"bytes,4,rep,name=configs_to_push,json=configsToPush,proto3" json:"configs_to_push,omitempty"`
	// Record the last update timestamp of this host deployment (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Specify the deployment environment of the MegaMDM service which enrolls this host.
	DeploymentEnv DeploymentEnv `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

MachineLSEDeployment includes all info related to deployment of a machine LSE (host).

This deployment record will be updated in 3 ways:

  1. `shivas add machine`, a deployment record will be added to this machine even if it's not deployed yet. It usually happens when users add DHCP records for this machine to verify if it's physically set up well before adding the same hostname into UFS. hostname: "no-host-yet-<serial_number>" serial_number: from `shivas add machine` deployment_identifier: "" configs_to_push: nil
  1. StartActivation phase in Chrome MDM service. When Chrome MDM gots a request from a mac to activate itself, it will always update back this deployment record no matter whether there's already a record existing or not. It usually happens when a mac automatically connects to Google Guest WiFi network in the DC before anyone touches it yet. In this case, the record here would be: hostname: "no-host-yet-<serial_number>" serial_number: from Chrome MDM deployment_identifier: from Chrome MDM configs_to_push: from Chrome MDM
  1. `shivas add host`, a deployment record will be updated to reflect the real hostname given by users.

Next tag: 7

func (*MachineLSEDeployment) Descriptor deprecated

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

Deprecated: Use MachineLSEDeployment.ProtoReflect.Descriptor instead.

func (*MachineLSEDeployment) GetConfigsToPush

func (x *MachineLSEDeployment) GetConfigsToPush() []*Payload

func (*MachineLSEDeployment) GetDeploymentEnv

func (x *MachineLSEDeployment) GetDeploymentEnv() DeploymentEnv

func (*MachineLSEDeployment) GetDeploymentIdentifier

func (x *MachineLSEDeployment) GetDeploymentIdentifier() string

func (*MachineLSEDeployment) GetHostname

func (x *MachineLSEDeployment) GetHostname() string

func (*MachineLSEDeployment) GetSerialNumber

func (x *MachineLSEDeployment) GetSerialNumber() string

func (*MachineLSEDeployment) GetUpdateTime

func (x *MachineLSEDeployment) GetUpdateTime() *timestamppb.Timestamp

func (*MachineLSEDeployment) ProtoMessage

func (*MachineLSEDeployment) ProtoMessage()

func (*MachineLSEDeployment) ProtoReflect

func (x *MachineLSEDeployment) ProtoReflect() protoreflect.Message

func (*MachineLSEDeployment) Reset

func (x *MachineLSEDeployment) Reset()

func (*MachineLSEDeployment) String

func (x *MachineLSEDeployment) String() string

type MachineLSEPrototype

type MachineLSEPrototype struct {

	// A unique name for the MachineLSEPrototype.
	// The format will be machineLSEPrototypes/XXX
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// peripheral_requirements.peripheral_type must be unique.
	PeripheralRequirements []*PeripheralRequirement `` /* 127-byte string literal not displayed */
	// Indicates the Rack Unit capacity of this setup, corresponding
	// to a Rack’s Rack Unit capacity.
	OccupiedCapacityRu int32 `protobuf:"varint,3,opt,name=occupied_capacity_ru,json=occupiedCapacityRu,proto3" json:"occupied_capacity_ru,omitempty"`
	// Record the last update timestamp of this MachineLSEPrototype (In UTC timezone)
	UpdateTime          *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	VirtualRequirements []*VirtualRequirement  `protobuf:"bytes,5,rep,name=virtual_requirements,json=virtualRequirements,proto3" json:"virtual_requirements,omitempty"`
	// tags user can attach for easy querying/search
	Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineLSEPrototype) Descriptor deprecated

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

Deprecated: Use MachineLSEPrototype.ProtoReflect.Descriptor instead.

func (*MachineLSEPrototype) GetName

func (x *MachineLSEPrototype) GetName() string

func (*MachineLSEPrototype) GetOccupiedCapacityRu

func (x *MachineLSEPrototype) GetOccupiedCapacityRu() int32

func (*MachineLSEPrototype) GetPeripheralRequirements

func (x *MachineLSEPrototype) GetPeripheralRequirements() []*PeripheralRequirement

func (*MachineLSEPrototype) GetTags

func (x *MachineLSEPrototype) GetTags() []string

func (*MachineLSEPrototype) GetUpdateTime

func (x *MachineLSEPrototype) GetUpdateTime() *timestamppb.Timestamp

func (*MachineLSEPrototype) GetVirtualRequirements

func (x *MachineLSEPrototype) GetVirtualRequirements() []*VirtualRequirement

func (*MachineLSEPrototype) ProtoMessage

func (*MachineLSEPrototype) ProtoMessage()

func (*MachineLSEPrototype) ProtoReflect

func (x *MachineLSEPrototype) ProtoReflect() protoreflect.Message

func (*MachineLSEPrototype) Reset

func (x *MachineLSEPrototype) Reset()

func (*MachineLSEPrototype) String

func (x *MachineLSEPrototype) String() string

type MachineLSE_ChromeBrowserMachineLse

type MachineLSE_ChromeBrowserMachineLse struct {
	ChromeBrowserMachineLse *ChromeBrowserMachineLSE `protobuf:"bytes,4,opt,name=chrome_browser_machine_lse,json=chromeBrowserMachineLse,proto3,oneof"`
}

type MachineLSE_ChromeosMachineLse

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

type Machine_ChromeBrowserMachine

type Machine_ChromeBrowserMachine struct {
	// Chrome Browser Machine
	ChromeBrowserMachine *ChromeBrowserMachine `protobuf:"bytes,4,opt,name=chrome_browser_machine,json=chromeBrowserMachine,proto3,oneof"`
}

type Machine_ChromeosMachine

type Machine_ChromeosMachine struct {
	// Chrome OS Machine. The registration system will subscribe to the HaRT system,
	// and automatically get it using Machine name once a machine gets recorded.
	ChromeosMachine *ChromeOSMachine `protobuf:"bytes,5,opt,name=chromeos_machine,json=chromeosMachine,proto3,oneof"`
}

type Nic

type Nic struct {

	// Unique serial_number or asset tag
	// The format will be nics/XXX
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// Record the last update timestamp of this machine (In UTC timezone)
	UpdateTime      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	SwitchInterface *SwitchInterface       `protobuf:"bytes,4,opt,name=switch_interface,json=switchInterface,proto3" json:"switch_interface,omitempty"`
	// Refers to Machine name
	Machine string `protobuf:"bytes,5,opt,name=machine,proto3" json:"machine,omitempty"`
	// Refers to Rack name
	Rack string `protobuf:"bytes,7,opt,name=rack,proto3" json:"rack,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// Refers to Zone
	Zone string `protobuf:"bytes,10,opt,name=zone,proto3" json:"zone,omitempty"`
	// State of the nic
	ResourceState State `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Nic) Descriptor deprecated

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

Deprecated: Use Nic.ProtoReflect.Descriptor instead.

func (*Nic) GetMacAddress

func (x *Nic) GetMacAddress() string

func (*Nic) GetMachine

func (x *Nic) GetMachine() string

func (*Nic) GetName

func (x *Nic) GetName() string

func (*Nic) GetRack

func (x *Nic) GetRack() string

func (*Nic) GetResourceState

func (x *Nic) GetResourceState() State

func (*Nic) GetSwitchInterface

func (x *Nic) GetSwitchInterface() *SwitchInterface

func (*Nic) GetTags

func (x *Nic) GetTags() []string

func (*Nic) GetUpdateTime

func (x *Nic) GetUpdateTime() *timestamppb.Timestamp

func (*Nic) GetZone

func (x *Nic) GetZone() string

func (*Nic) ProtoMessage

func (*Nic) ProtoMessage()

func (*Nic) ProtoReflect

func (x *Nic) ProtoReflect() protoreflect.Message

func (*Nic) Reset

func (x *Nic) Reset()

func (*Nic) String

func (x *Nic) String() string

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"`
	Image       string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

OSVersion refers to the version of Operating System for machines running in Chrome Browser lab

func (*OSVersion) Descriptor deprecated

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

Deprecated: Use OSVersion.ProtoReflect.Descriptor instead.

func (*OSVersion) GetDescription

func (x *OSVersion) GetDescription() string

func (*OSVersion) GetImage

func (x *OSVersion) GetImage() string

func (*OSVersion) GetValue

func (x *OSVersion) GetValue() string

func (*OSVersion) ProtoMessage

func (*OSVersion) ProtoMessage()

func (*OSVersion) ProtoReflect

func (x *OSVersion) ProtoReflect() protoreflect.Message

func (*OSVersion) Reset

func (x *OSVersion) Reset()

func (*OSVersion) String

func (x *OSVersion) String() string

type Payload

type Payload struct {

	// It refers to the unique payload name,
	// e.g. energy_saver, disable_gatekeeper, puppet3_package, ..., etc.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// e.g. PUSH_CONFIG_TYPE_MOBILECONFIG
	Config PushConfigType `protobuf:"varint,2,opt,name=config,proto3,enum=unifiedfleet.api.v1.models.PushConfigType" json:"config,omitempty"`
	// It refers to a g3 path for a profile, e.g.
	//      //depot/google3/ops/macops/mdm/mega/chrome/profiles/energy_saver.mobileconfig
	// or refers to a server link for a package, e.g.
	//      https://macos-server-1.golo.chromium.org/manifests/clpuppet3.plist
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Payload describes the payload needed in deployment.

Next tag: 3

func (*Payload) Descriptor deprecated

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

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetConfig

func (x *Payload) GetConfig() PushConfigType

func (*Payload) GetName

func (x *Payload) GetName() string

func (*Payload) GetPath

func (x *Payload) GetPath() string

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

func (x *Payload) ProtoReflect() protoreflect.Message

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

type PeripheralRequirement

type PeripheralRequirement struct {

	// It refers to the peripheral type that a LSE needs. The common use cases
	// include: kvm, switch, servo, rpm, labstation, camera, ...
	PeripheralType PeripheralType `` /* 151-byte string literal not displayed */
	// The minimum/maximum number of the peripherals that needed by a LSE, e.g.
	// A test needs 1-3 bluetooth bt peers to be set up.
	Min int32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
	Max int32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

The requirement for peripherals of a LSE. Usually it’s predefined by the designer of the test and lab, e.g. a test needs 2 cameras, 1 rpm, 1 servo, and a labstation. We probably also record cables as ChromeOS ACS lab wants to track the cable usage also.

func (*PeripheralRequirement) Descriptor deprecated

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

Deprecated: Use PeripheralRequirement.ProtoReflect.Descriptor instead.

func (*PeripheralRequirement) GetMax

func (x *PeripheralRequirement) GetMax() int32

func (*PeripheralRequirement) GetMin

func (x *PeripheralRequirement) GetMin() int32

func (*PeripheralRequirement) GetPeripheralType

func (x *PeripheralRequirement) GetPeripheralType() PeripheralType

func (*PeripheralRequirement) ProtoMessage

func (*PeripheralRequirement) ProtoMessage()

func (*PeripheralRequirement) ProtoReflect

func (x *PeripheralRequirement) ProtoReflect() protoreflect.Message

func (*PeripheralRequirement) Reset

func (x *PeripheralRequirement) Reset()

func (*PeripheralRequirement) String

func (x *PeripheralRequirement) String() string

type PeripheralType

type PeripheralType int32

The supported peripheral type in LSE definition. The list is not completed as we have many special setups in ChromeOS high-touch labs. Will add them later when it comes to use.

const (
	PeripheralType_PERIPHERAL_TYPE_UNSPECIFIED       PeripheralType = 0
	PeripheralType_PERIPHERAL_TYPE_SERVO             PeripheralType = 1
	PeripheralType_PERIPHERAL_TYPE_LABSTATION        PeripheralType = 2
	PeripheralType_PERIPHERAL_TYPE_RPM               PeripheralType = 3
	PeripheralType_PERIPHERAL_TYPE_KVM               PeripheralType = 4
	PeripheralType_PERIPHERAL_TYPE_SWITCH            PeripheralType = 5
	PeripheralType_PERIPHERAL_TYPE_BLUETOOTH_BTPEERS PeripheralType = 6
	PeripheralType_PERIPHERAL_TYPE_WIFICELL          PeripheralType = 7
	PeripheralType_PERIPHERAL_TYPE_CAMERA            PeripheralType = 8
)

func (PeripheralType) Descriptor

func (PeripheralType) Enum

func (x PeripheralType) Enum() *PeripheralType

func (PeripheralType) EnumDescriptor deprecated

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

Deprecated: Use PeripheralType.Descriptor instead.

func (PeripheralType) Number

func (PeripheralType) String

func (x PeripheralType) String() string

func (PeripheralType) Type

type PushConfigType

type PushConfigType int32

Next tag: 3

const (
	PushConfigType_PUSH_CONFIG_TYPE_UNSPECIFIED  PushConfigType = 0
	PushConfigType_PUSH_CONFIG_TYPE_MOBILECONFIG PushConfigType = 1
	PushConfigType_PUSH_CONFIG_TYPE_PACKAGE      PushConfigType = 2
)

func (PushConfigType) Descriptor

func (PushConfigType) Enum

func (x PushConfigType) Enum() *PushConfigType

func (PushConfigType) EnumDescriptor deprecated

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

Deprecated: Use PushConfigType.Descriptor instead.

func (PushConfigType) Number

func (PushConfigType) String

func (x PushConfigType) String() string

func (PushConfigType) Type

type RPM

type RPM struct {

	// Unique serial_number or asset tag
	// The format will be rpms/{rpm}
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MacAddress   string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	CapacityPort int32  `protobuf:"varint,3,opt,name=capacity_port,json=capacityPort,proto3" json:"capacity_port,omitempty"`
	// Just for record here, can be added later if needed
	// To be recorded: model, manufacturer, amperage, voltage
	// Record the last update timestamp of this RPM (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Refers to Rack name
	Rack string `protobuf:"bytes,6,opt,name=rack,proto3" json:"rack,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
	// Refers to Zone
	Zone string `protobuf:"bytes,10,opt,name=zone,proto3" json:"zone,omitempty"`
	// State of the rpm
	ResourceState State `` /* 140-byte string literal not displayed */
	// A description of this rpm.
	Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*RPM) Descriptor deprecated

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

Deprecated: Use RPM.ProtoReflect.Descriptor instead.

func (*RPM) GetCapacityPort

func (x *RPM) GetCapacityPort() int32

func (*RPM) GetDescription

func (x *RPM) GetDescription() string

func (*RPM) GetMacAddress

func (x *RPM) GetMacAddress() string

func (*RPM) GetName

func (x *RPM) GetName() string

func (*RPM) GetRack

func (x *RPM) GetRack() string

func (*RPM) GetResourceState

func (x *RPM) GetResourceState() State

func (*RPM) GetTags

func (x *RPM) GetTags() []string

func (*RPM) GetUpdateTime

func (x *RPM) GetUpdateTime() *timestamppb.Timestamp

func (*RPM) GetZone

func (x *RPM) GetZone() string

func (*RPM) ProtoMessage

func (*RPM) ProtoMessage()

func (*RPM) ProtoReflect

func (x *RPM) ProtoReflect() protoreflect.Message

func (*RPM) Reset

func (x *RPM) Reset()

func (*RPM) String

func (x *RPM) String() string

type RPMInterface

type RPMInterface struct {

	// Refers to RPM name
	Rpm      string `protobuf:"bytes,1,opt,name=rpm,proto3" json:"rpm,omitempty"`
	PortName string `protobuf:"bytes,3,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"`
	// contains filtered or unexported fields
}

Refer to one port of a given RPM

func (*RPMInterface) Descriptor deprecated

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

Deprecated: Use RPMInterface.ProtoReflect.Descriptor instead.

func (*RPMInterface) GetPortName

func (x *RPMInterface) GetPortName() string

func (*RPMInterface) GetRpm

func (x *RPMInterface) GetRpm() string

func (*RPMInterface) ProtoMessage

func (*RPMInterface) ProtoMessage()

func (*RPMInterface) ProtoReflect

func (x *RPMInterface) ProtoReflect() protoreflect.Message

func (*RPMInterface) Reset

func (x *RPMInterface) Reset()

func (*RPMInterface) String

func (x *RPMInterface) String() string

type Rack

type Rack struct {

	// Unique (fake probably) asset tag
	// The format will be racks/XXX
	Name     string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Indicates the Rack Unit capacity of the rack.
	CapacityRu int32 `protobuf:"varint,3,opt,name=capacity_ru,json=capacityRu,proto3" json:"capacity_ru,omitempty"`
	// Types that are assignable to Rack:
	//	*Rack_ChromeBrowserRack
	//	*Rack_ChromeosRack
	Rack isRack_Rack `protobuf_oneof:"rack"`
	// Record the last update timestamp of this Rack (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Record the ACL info of the rack
	Realm string `protobuf:"bytes,7,opt,name=realm,proto3" json:"realm,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// A description of this rack.
	Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
	// State of the rack
	ResourceState State `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Rack refers to the racks which are placed in Chrome Browser lab and Chrome OS lab. Machines and Pheripherals are placed in the Racks.

func (*Rack) Descriptor deprecated

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

Deprecated: Use Rack.ProtoReflect.Descriptor instead.

func (*Rack) GetCapacityRu

func (x *Rack) GetCapacityRu() int32

func (*Rack) GetChromeBrowserRack

func (x *Rack) GetChromeBrowserRack() *ChromeBrowserRack

func (*Rack) GetChromeosRack

func (x *Rack) GetChromeosRack() *ChromeOSRack

func (*Rack) GetDescription

func (x *Rack) GetDescription() string

func (*Rack) GetLocation

func (x *Rack) GetLocation() *Location

func (*Rack) GetName

func (x *Rack) GetName() string

func (*Rack) GetRack

func (m *Rack) GetRack() isRack_Rack

func (*Rack) GetRealm

func (x *Rack) GetRealm() string

func (*Rack) GetResourceState

func (x *Rack) GetResourceState() State

func (*Rack) GetTags

func (x *Rack) GetTags() []string

func (*Rack) GetUpdateTime

func (x *Rack) GetUpdateTime() *timestamppb.Timestamp

func (*Rack) ProtoMessage

func (*Rack) ProtoMessage()

func (*Rack) ProtoReflect

func (x *Rack) ProtoReflect() protoreflect.Message

func (*Rack) Reset

func (x *Rack) Reset()

func (*Rack) String

func (x *Rack) String() string

type RackLSE

type RackLSE struct {

	// A unique random generated string
	// The format will be rackLSEs/XXX
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The prototype that this rack LSE should follow. System will use this
	// prototype to detect if the LSE is completed or valid.
	RackLsePrototype string `protobuf:"bytes,2,opt,name=rack_lse_prototype,json=rackLsePrototype,proto3" json:"rack_lse_prototype,omitempty"`
	// Types that are assignable to Lse:
	//	*RackLSE_ChromeBrowserRackLse
	//	*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 []string `protobuf:"bytes,5,rep,name=racks,proto3" json:"racks,omitempty"`
	// Record the last update timestamp of this RackLSE (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

RackLSE is the Rack Lab Setup Environment. It refers to the entity in the lab which has Rack(s) associated with it. It also has other components associated with it like switches, kvms, rpms.

func (*RackLSE) Descriptor deprecated

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

Deprecated: Use RackLSE.ProtoReflect.Descriptor instead.

func (*RackLSE) GetChromeBrowserRackLse

func (x *RackLSE) GetChromeBrowserRackLse() *ChromeBrowserRackLSE

func (*RackLSE) GetChromeosRackLse

func (x *RackLSE) GetChromeosRackLse() *ChromeOSRackLSE

func (*RackLSE) GetLse

func (m *RackLSE) GetLse() isRackLSE_Lse

func (*RackLSE) GetName

func (x *RackLSE) GetName() string

func (*RackLSE) GetRackLsePrototype

func (x *RackLSE) GetRackLsePrototype() string

func (*RackLSE) GetRacks

func (x *RackLSE) GetRacks() []string

func (*RackLSE) GetUpdateTime

func (x *RackLSE) GetUpdateTime() *timestamppb.Timestamp

func (*RackLSE) ProtoMessage

func (*RackLSE) ProtoMessage()

func (*RackLSE) ProtoReflect

func (x *RackLSE) ProtoReflect() protoreflect.Message

func (*RackLSE) Reset

func (x *RackLSE) Reset()

func (*RackLSE) String

func (x *RackLSE) String() string

type RackLSEPrototype

type RackLSEPrototype struct {

	// A unique name for the RackLSEPrototype.
	// The format will be rackLSEPrototypes/XXX
	Name                   string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	PeripheralRequirements []*PeripheralRequirement `` /* 127-byte string literal not displayed */
	// Record the last update timestamp of this RackLSEPrototype (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// tags user can attach for easy querying/search
	Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*RackLSEPrototype) Descriptor deprecated

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

Deprecated: Use RackLSEPrototype.ProtoReflect.Descriptor instead.

func (*RackLSEPrototype) GetName

func (x *RackLSEPrototype) GetName() string

func (*RackLSEPrototype) GetPeripheralRequirements

func (x *RackLSEPrototype) GetPeripheralRequirements() []*PeripheralRequirement

func (*RackLSEPrototype) GetTags

func (x *RackLSEPrototype) GetTags() []string

func (*RackLSEPrototype) GetUpdateTime

func (x *RackLSEPrototype) GetUpdateTime() *timestamppb.Timestamp

func (*RackLSEPrototype) ProtoMessage

func (*RackLSEPrototype) ProtoMessage()

func (*RackLSEPrototype) ProtoReflect

func (x *RackLSEPrototype) ProtoReflect() protoreflect.Message

func (*RackLSEPrototype) Reset

func (x *RackLSEPrototype) Reset()

func (*RackLSEPrototype) String

func (x *RackLSEPrototype) String() string

type RackLSE_ChromeBrowserRackLse

type RackLSE_ChromeBrowserRackLse struct {
	ChromeBrowserRackLse *ChromeBrowserRackLSE `protobuf:"bytes,3,opt,name=chrome_browser_rack_lse,json=chromeBrowserRackLse,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_ChromeBrowserRack

type Rack_ChromeBrowserRack struct {
	ChromeBrowserRack *ChromeBrowserRack `protobuf:"bytes,4,opt,name=chrome_browser_rack,json=chromeBrowserRack,proto3,oneof"`
}

type Rack_ChromeosRack

type Rack_ChromeosRack struct {
	ChromeosRack *ChromeOSRack `protobuf:"bytes,5,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) Descriptor

func (RequestStatus) Enum

func (x RequestStatus) Enum() *RequestStatus

func (RequestStatus) EnumDescriptor deprecated

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

Deprecated: Use RequestStatus.Descriptor instead.

func (RequestStatus) Number

func (RequestStatus) String

func (x RequestStatus) String() string

func (RequestStatus) Type

type SchedulingUnit

type SchedulingUnit struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// name of DUT/MachineLSE
	MachineLSEs []string `protobuf:"bytes,2,rep,name=machineLSEs,proto3" json:"machineLSEs,omitempty"`
	// swarming pools to which this SchedulingUnit belongs to.
	Pools []string `protobuf:"bytes,3,rep,name=pools,proto3" json:"pools,omitempty"`
	// indicate how dut_state dimension of a scheduling unit should be calculated.
	Type SchedulingUnitType `protobuf:"varint,4,opt,name=type,proto3,enum=unifiedfleet.api.v1.models.SchedulingUnitType" json:"type,omitempty"`
	// description of the SchedulingUnit.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// record the last update timestamp of this SchedulingUnit (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

SchedulingUnit is used for supporting multi-DUT setup in ChromeOS lab.

A SchedulingUnit will have one or more DUTs associated with it.

func (*SchedulingUnit) Descriptor deprecated

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

Deprecated: Use SchedulingUnit.ProtoReflect.Descriptor instead.

func (*SchedulingUnit) GetDescription

func (x *SchedulingUnit) GetDescription() string

func (*SchedulingUnit) GetMachineLSEs

func (x *SchedulingUnit) GetMachineLSEs() []string

func (*SchedulingUnit) GetName

func (x *SchedulingUnit) GetName() string

func (*SchedulingUnit) GetPools

func (x *SchedulingUnit) GetPools() []string

func (*SchedulingUnit) GetTags

func (x *SchedulingUnit) GetTags() []string

func (*SchedulingUnit) GetType

func (x *SchedulingUnit) GetType() SchedulingUnitType

func (*SchedulingUnit) GetUpdateTime

func (x *SchedulingUnit) GetUpdateTime() *timestamppb.Timestamp

func (*SchedulingUnit) ProtoMessage

func (*SchedulingUnit) ProtoMessage()

func (*SchedulingUnit) ProtoReflect

func (x *SchedulingUnit) ProtoReflect() protoreflect.Message

func (*SchedulingUnit) Reset

func (x *SchedulingUnit) Reset()

func (*SchedulingUnit) String

func (x *SchedulingUnit) String() string

type SchedulingUnitType

type SchedulingUnitType int32
const (
	SchedulingUnitType_SCHEDULING_UNIT_TYPE_INVALID SchedulingUnitType = 0
	// which means the SchedulingUnit only considers as ready when all of the associated DUT's/MachineLSE's resourceState is ready.
	SchedulingUnitType_SCHEDULING_UNIT_TYPE_ALL SchedulingUnitType = 1
	// which means the SchedulingUnit is considered as ready if at least one of the associated DUT's/MachineLSE's resourceState is ready.
	SchedulingUnitType_SCHEDULING_UNIT_TYPE_INDIVIDUAL SchedulingUnitType = 2
)

func (SchedulingUnitType) Descriptor

func (SchedulingUnitType) Enum

func (SchedulingUnitType) EnumDescriptor deprecated

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

Deprecated: Use SchedulingUnitType.Descriptor instead.

func (SchedulingUnitType) Number

func (SchedulingUnitType) String

func (x SchedulingUnitType) String() string

func (SchedulingUnitType) Type

type State

type State int32

Next tag: 14

const (
	State_STATE_UNSPECIFIED State = 0
	// Equlavant to the concept in ChromeOS lab: needs_deploy
	State_STATE_REGISTERED State = 1
	// Deployed but not placed in prod. It's only a temporarily state for browser machine
	// as there's no service to push a deployed machine to prod automatically yet.
	State_STATE_DEPLOYED_PRE_SERVING State = 9
	// Deployed to the prod infrastructure, but for testing.
	State_STATE_DEPLOYED_TESTING State = 2
	// Deployed to the prod infrastructure, serving.
	State_STATE_SERVING State = 3
	// Deployed to the prod infrastructure, but required cleanup and verify the machine.
	State_STATE_NEEDS_RESET State = 10
	// Deployed to the prod infrastructure, but needs repair.
	State_STATE_NEEDS_REPAIR State = 5
	// Deployed to the prod infrastructure, but failed to be repaired in previous step
	// and required new attempt for repairing.
	State_STATE_REPAIR_FAILED State = 11
	// Deployed to the prod infrastructure, but get disabled.
	State_STATE_DISABLED State = 6
	// Deployed to the prod infrastructure, but get reserved (e.g. locked).
	State_STATE_RESERVED State = 7
	// Decommissioned from the prod infrastructure, but still leave in UFS record.
	State_STATE_DECOMMISSIONED State = 8
	// Deploying the resource with required configs just before it is READY
	State_STATE_DEPLOYING State = 12
	// Resource is ready for use or free to use
	State_STATE_READY State = 13
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

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

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type StateRecord

type StateRecord struct {

	// The string resource_name could be an ID of a rack, machine, RPM and switches.
	// It can also be the ID of virtual concepts, e.g. LSE and vlan.
	// The format of the resource name will be “racks/XXX” or “rpms/XXX” to help to
	// distinguish the type of the resource.
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	State        State  `protobuf:"varint,2,opt,name=state,proto3,enum=unifiedfleet.api.v1.models.State" json:"state,omitempty"`
	User         string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	Ticket       string `protobuf:"bytes,4,opt,name=ticket,proto3" json:"ticket,omitempty"`
	Description  string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Record the last update timestamp of this machine (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

There's no exposed API for users to directly retrieve a state record.

Ideally, state record can only be modified internally by UFS after some essential preconditions are fulfilled.

Users will focus on the tasks triggered by any state change instead of the state itself, e.g. once the state of a machine is changed to registered, lab admins will know it by founding more machines are listed for waiting for further configurations, instead of actively monitoring it by any tooling.

func (*StateRecord) Descriptor deprecated

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

Deprecated: Use StateRecord.ProtoReflect.Descriptor instead.

func (*StateRecord) GetDescription

func (x *StateRecord) GetDescription() string

func (*StateRecord) GetResourceName

func (x *StateRecord) GetResourceName() string

func (*StateRecord) GetState

func (x *StateRecord) GetState() State

func (*StateRecord) GetTicket

func (x *StateRecord) GetTicket() string

func (*StateRecord) GetUpdateTime

func (x *StateRecord) GetUpdateTime() *timestamppb.Timestamp

func (*StateRecord) GetUser

func (x *StateRecord) GetUser() string

func (*StateRecord) ProtoMessage

func (*StateRecord) ProtoMessage()

func (*StateRecord) ProtoReflect

func (x *StateRecord) ProtoReflect() protoreflect.Message

func (*StateRecord) Reset

func (x *StateRecord) Reset()

func (*StateRecord) String

func (x *StateRecord) String() string

type SwarmingCriterial

type SwarmingCriterial struct {

	// E.g. chromium-swarm.appspot.com
	Instance   string       `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	Dimensions []*Dimension `protobuf:"bytes,2,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
	// contains filtered or unexported fields
}

func (*SwarmingCriterial) Descriptor deprecated

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

Deprecated: Use SwarmingCriterial.ProtoReflect.Descriptor instead.

func (*SwarmingCriterial) GetDimensions

func (x *SwarmingCriterial) GetDimensions() []*Dimension

func (*SwarmingCriterial) GetInstance

func (x *SwarmingCriterial) GetInstance() string

func (*SwarmingCriterial) ProtoMessage

func (*SwarmingCriterial) ProtoMessage()

func (*SwarmingCriterial) ProtoReflect

func (x *SwarmingCriterial) ProtoReflect() protoreflect.Message

func (*SwarmingCriterial) Reset

func (x *SwarmingCriterial) Reset()

func (*SwarmingCriterial) String

func (x *SwarmingCriterial) String() string

type Switch

type Switch struct {

	// Unique serial_number or asset tag
	// The format will be switches/{switch}
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CapacityPort int32  `protobuf:"varint,2,opt,name=capacity_port,json=capacityPort,proto3" json:"capacity_port,omitempty"`
	// Record the last update timestamp of this Switch (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Usually describe the model of the switch
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Refers to Rack name
	Rack string `protobuf:"bytes,6,opt,name=rack,proto3" json:"rack,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
	// Refers to Zone
	Zone string `protobuf:"bytes,9,opt,name=zone,proto3" json:"zone,omitempty"`
	// State of the switch
	ResourceState State `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Switch) Descriptor deprecated

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

Deprecated: Use Switch.ProtoReflect.Descriptor instead.

func (*Switch) GetCapacityPort

func (x *Switch) GetCapacityPort() int32

func (*Switch) GetDescription

func (x *Switch) GetDescription() string

func (*Switch) GetName

func (x *Switch) GetName() string

func (*Switch) GetRack

func (x *Switch) GetRack() string

func (*Switch) GetResourceState

func (x *Switch) GetResourceState() State

func (*Switch) GetTags

func (x *Switch) GetTags() []string

func (*Switch) GetUpdateTime

func (x *Switch) GetUpdateTime() *timestamppb.Timestamp

func (*Switch) GetZone

func (x *Switch) GetZone() string

func (*Switch) ProtoMessage

func (*Switch) ProtoMessage()

func (*Switch) ProtoReflect

func (x *Switch) ProtoReflect() protoreflect.Message

func (*Switch) Reset

func (x *Switch) Reset()

func (*Switch) String

func (x *Switch) String() string

type SwitchInterface

type SwitchInterface struct {

	// Refers to Switch name
	Switch   string `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"`
	PortName string `protobuf:"bytes,3,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"`
	// contains filtered or unexported fields
}

Refer to one port of a given switch

func (*SwitchInterface) Descriptor deprecated

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

Deprecated: Use SwitchInterface.ProtoReflect.Descriptor instead.

func (*SwitchInterface) GetPortName

func (x *SwitchInterface) GetPortName() string

func (*SwitchInterface) GetSwitch

func (x *SwitchInterface) GetSwitch() string

func (*SwitchInterface) ProtoMessage

func (*SwitchInterface) ProtoMessage()

func (*SwitchInterface) ProtoReflect

func (x *SwitchInterface) ProtoReflect() protoreflect.Message

func (*SwitchInterface) Reset

func (x *SwitchInterface) Reset()

func (*SwitchInterface) String

func (x *SwitchInterface) String() string

type VM

type VM struct {

	// A unique vm name
	Name       string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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"`
	Vlan       string     `protobuf:"bytes,5,opt,name=vlan,proto3" json:"vlan,omitempty"`
	// It refers to which ip the vm is assigned to.
	// Please note that user can also specify it for assigning ip.
	Ip           string `protobuf:"bytes,15,opt,name=ip,proto3" json:"ip,omitempty"`
	MachineLseId string `protobuf:"bytes,7,opt,name=machine_lse_id,json=machineLseId,proto3" json:"machine_lse_id,omitempty"`
	// Record the last update timestamp of this VM (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
	// Refers to Zone
	Zone string `protobuf:"bytes,11,opt,name=zone,proto3" json:"zone,omitempty"`
	// A description of this vm.
	Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
	// State of the vm resource
	ResourceState State `` /* 140-byte string literal not displayed */
	// The deployment ticket associated with this vm.
	DeploymentTicket string `protobuf:"bytes,14,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"`
	// contains filtered or unexported fields
}

func (*VM) Descriptor deprecated

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

Deprecated: Use VM.ProtoReflect.Descriptor instead.

func (*VM) GetDeploymentTicket

func (x *VM) GetDeploymentTicket() string

func (*VM) GetDescription

func (x *VM) GetDescription() string

func (*VM) GetHostname

func (x *VM) GetHostname() string

func (*VM) GetIp

func (x *VM) GetIp() string

func (*VM) GetMacAddress

func (x *VM) GetMacAddress() string

func (*VM) GetMachineLseId

func (x *VM) GetMachineLseId() string

func (*VM) GetName

func (x *VM) GetName() string

func (*VM) GetOsVersion

func (x *VM) GetOsVersion() *OSVersion

func (*VM) GetResourceState

func (x *VM) GetResourceState() State

func (*VM) GetTags

func (x *VM) GetTags() []string

func (*VM) GetUpdateTime

func (x *VM) GetUpdateTime() *timestamppb.Timestamp

func (*VM) GetVlan

func (x *VM) GetVlan() string

func (*VM) GetZone

func (x *VM) GetZone() string

func (*VM) ProtoMessage

func (*VM) ProtoMessage()

func (*VM) ProtoReflect

func (x *VM) ProtoReflect() protoreflect.Message

func (*VM) Reset

func (x *VM) Reset()

func (*VM) String

func (x *VM) String() string

type VirtualRequirement

type VirtualRequirement struct {
	VirtualType VirtualType `` /* 139-byte string literal not displayed */
	// The minimum/maximum number of the vms that can be setup.
	Min int32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
	Max int32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualRequirement) Descriptor deprecated

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

Deprecated: Use VirtualRequirement.ProtoReflect.Descriptor instead.

func (*VirtualRequirement) GetMax

func (x *VirtualRequirement) GetMax() int32

func (*VirtualRequirement) GetMin

func (x *VirtualRequirement) GetMin() int32

func (*VirtualRequirement) GetVirtualType

func (x *VirtualRequirement) GetVirtualType() VirtualType

func (*VirtualRequirement) ProtoMessage

func (*VirtualRequirement) ProtoMessage()

func (*VirtualRequirement) ProtoReflect

func (x *VirtualRequirement) ProtoReflect() protoreflect.Message

func (*VirtualRequirement) Reset

func (x *VirtualRequirement) Reset()

func (*VirtualRequirement) String

func (x *VirtualRequirement) String() string

type VirtualType

type VirtualType int32

The supported virtual type in LSE definition.

const (
	VirtualType_VIRTUAL_TYPE_UNSPECIFIED VirtualType = 0
	VirtualType_VIRTUAL_TYPE_VM          VirtualType = 1
)

func (VirtualType) Descriptor

func (VirtualType) Enum

func (x VirtualType) Enum() *VirtualType

func (VirtualType) EnumDescriptor deprecated

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

Deprecated: Use VirtualType.Descriptor instead.

func (VirtualType) Number

func (x VirtualType) Number() protoreflect.EnumNumber

func (VirtualType) String

func (x VirtualType) String() string

func (VirtualType) Type

type Vlan

type Vlan struct {

	// Unique name for the Vlan
	// The format will be vlans/XXX
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The format will be subnet/CIDR.
	VlanAddress string `protobuf:"bytes,2,opt,name=vlan_address,json=vlanAddress,proto3" json:"vlan_address,omitempty"`
	// The number of IPs that in this vlan
	CapacityIp int32 `protobuf:"varint,3,opt,name=capacity_ip,json=capacityIp,proto3" json:"capacity_ip,omitempty"`
	// Record the last update timestamp of this Vlan (In UTC timezone)
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The description of the vlan.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// The ips that cannot be used by normal host in this vlan.
	// By default, the first 10 and last 1 ip in the vlan is automatically reserved.
	// No need to specify them here.
	ReservedIps []string `protobuf:"bytes,7,rep,name=reserved_ips,json=reservedIps,proto3" json:"reserved_ips,omitempty"`
	// Define the free ip range of this vlan that can be automatically assigned.
	// Any ips between the two ips are regarded as available ips.
	// Any ips that not in this range will be marked as reserved.
	// If they're empty, it means no ips in this vlan can be used as dhcp configs.
	// The format of the ip ranges are ipv4 string format, e.g. 192.168.1.23.
	// User can update reserved_ips to remove some of the available ips in the free range.
	FreeStartIpv4Str string `protobuf:"bytes,11,opt,name=free_start_ipv4Str,json=freeStartIpv4Str,proto3" json:"free_start_ipv4Str,omitempty"`
	FreeEndIpv4Str   string `protobuf:"bytes,12,opt,name=free_end_ipv4Str,json=freeEndIpv4Str,proto3" json:"free_end_ipv4Str,omitempty"`
	// State of the vlan
	ResourceState State `` /* 139-byte string literal not displayed */
	// vlan_number is same as the vlan name without prefix(browser/atl/cros)
	VlanNumber string `protobuf:"bytes,9,opt,name=vlan_number,json=vlanNumber,proto3" json:"vlan_number,omitempty"`
	// The zone that this vlan serves. One vlan can serve multiple zones.
	Zones []Zone `protobuf:"varint,10,rep,packed,name=zones,proto3,enum=unifiedfleet.api.v1.models.Zone" json:"zones,omitempty"`
	// Record the ACL info of the vlan
	Realm string `protobuf:"bytes,13,opt,name=realm,proto3" json:"realm,omitempty"`
	// Tags user can attach for easy querying/searching
	Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*Vlan) Descriptor deprecated

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

Deprecated: Use Vlan.ProtoReflect.Descriptor instead.

func (*Vlan) GetCapacityIp

func (x *Vlan) GetCapacityIp() int32

func (*Vlan) GetDescription

func (x *Vlan) GetDescription() string

func (*Vlan) GetFreeEndIpv4Str

func (x *Vlan) GetFreeEndIpv4Str() string

func (*Vlan) GetFreeStartIpv4Str

func (x *Vlan) GetFreeStartIpv4Str() string

func (*Vlan) GetName

func (x *Vlan) GetName() string

func (*Vlan) GetRealm

func (x *Vlan) GetRealm() string

func (*Vlan) GetReservedIps

func (x *Vlan) GetReservedIps() []string

func (*Vlan) GetResourceState

func (x *Vlan) GetResourceState() State

func (*Vlan) GetTags

func (x *Vlan) GetTags() []string

func (*Vlan) GetUpdateTime

func (x *Vlan) GetUpdateTime() *timestamppb.Timestamp

func (*Vlan) GetVlanAddress

func (x *Vlan) GetVlanAddress() string

func (*Vlan) GetVlanNumber

func (x *Vlan) GetVlanNumber() string

func (*Vlan) GetZones

func (x *Vlan) GetZones() []Zone

func (*Vlan) ProtoMessage

func (*Vlan) ProtoMessage()

func (*Vlan) ProtoReflect

func (x *Vlan) ProtoReflect() protoreflect.Message

func (*Vlan) Reset

func (x *Vlan) Reset()

func (*Vlan) String

func (x *Vlan) String() string

type Zone

type Zone int32

Zone refers to the different network zones under chrome org Next tag: 20

const (
	Zone_ZONE_UNSPECIFIED          Zone = 0
	Zone_ZONE_ATLANTA              Zone = 1  // "atl" Building ? Room ?
	Zone_ZONE_CHROMEOS1            Zone = 2  // "chromeos1" // US-MTV-1600 // Santiam
	Zone_ZONE_CHROMEOS2            Zone = 3  // "chromeos2" // US-MTV-2081 // Atlantis
	Zone_ZONE_CHROMEOS3            Zone = 4  // "chromeos3" // US-MTV-946 // Lindavista
	Zone_ZONE_CHROMEOS4            Zone = 5  // "chromeos4" // US-MTV-2081 // Destiny
	Zone_ZONE_CHROMEOS5            Zone = 6  // "chromeos5" // US-MTV-946 // Lindavista
	Zone_ZONE_CHROMEOS6            Zone = 7  // "chromeos6" // US-MTV-2081 // Prometheus
	Zone_ZONE_CHROMEOS7            Zone = 8  // "chromeos7" // US-MTV-946 // Lindavista
	Zone_ZONE_CHROMEOS15           Zone = 10 // "chromeos15" // US-MTV-946 // Lindavista
	Zone_ZONE_ATL97                Zone = 11 // "atl97" //  US-ATL-MET1 // Room ?
	Zone_ZONE_IAD97                Zone = 12 // "iad97" // Building ? Room ?
	Zone_ZONE_MTV96                Zone = 13 // "mtv96" // US-MTV-41 // 1-1M0
	Zone_ZONE_MTV97                Zone = 14 // "mtv97" // US-MTV-1950 // 1-144
	Zone_ZONE_FUCHSIA              Zone = 15 // "lab01" // Building ? Room ?
	Zone_ZONE_CROS_GOOGLER_DESK    Zone = 16 // "desk" // For cros assets given to googlers
	Zone_ZONE_MTV1950_TESTING      Zone = 17 // "mtv1950" // temporary zone for testing cros assets in gTransit
	Zone_ZONE_SATLAB               Zone = 18 // "satlab" // zone for satlab duts
	Zone_ZONE_BROWSER_GOOGLER_DESK Zone = 19 // "desk" // for browser assets given to googlers
	Zone_ZONE_JETSTREAM_B946       Zone = 20 // US-MTV-946-1-1E1
)

func (Zone) Descriptor

func (Zone) Descriptor() protoreflect.EnumDescriptor

func (Zone) Enum

func (x Zone) Enum() *Zone

func (Zone) EnumDescriptor deprecated

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

Deprecated: Use Zone.Descriptor instead.

func (Zone) Number

func (x Zone) Number() protoreflect.EnumNumber

func (Zone) String

func (x Zone) String() string

func (Zone) Type

func (Zone) Type() protoreflect.EnumType

Directories

Path Synopsis
Package apibq contains the bigquery service API.
Package apibq contains the bigquery service API.
chromeos
device
Package ufspb contains the fleet service API.
Package ufspb contains the fleet service API.
lab
Package ufspb contains the fleet service API.
Package ufspb contains the fleet service API.
manufacturing
Package ufspb contains the fleet service API.
Package ufspb contains the fleet service API.

Jump to

Keyboard shortcuts

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