blob: 60e83283a9a8d91a529a19dd9ce3d1926e648f96 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: manufacturing/config.proto
package manufacturing
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// phase for the device. Next Tag: 9
type Config_Phase int32
const (
Config_PHASE_INVALID Config_Phase = 0
Config_PHASE_EVT Config_Phase = 1
Config_PHASE_EVT2 Config_Phase = 2
Config_PHASE_DVT Config_Phase = 3
Config_PHASE_DVT2 Config_Phase = 4
Config_PHASE_PVT Config_Phase = 5
Config_PHASE_PVT2 Config_Phase = 6
Config_PHASE_PVT3 Config_Phase = 7
Config_PHASE_MP Config_Phase = 8
)
var Config_Phase_name = map[int32]string{
0: "PHASE_INVALID",
1: "PHASE_EVT",
2: "PHASE_EVT2",
3: "PHASE_DVT",
4: "PHASE_DVT2",
5: "PHASE_PVT",
6: "PHASE_PVT2",
7: "PHASE_PVT3",
8: "PHASE_MP",
}
var Config_Phase_value = map[string]int32{
"PHASE_INVALID": 0,
"PHASE_EVT": 1,
"PHASE_EVT2": 2,
"PHASE_DVT": 3,
"PHASE_DVT2": 4,
"PHASE_PVT": 5,
"PHASE_PVT2": 6,
"PHASE_PVT3": 7,
"PHASE_MP": 8,
}
func (x Config_Phase) String() string {
return proto.EnumName(Config_Phase_name, int32(x))
}
func (Config_Phase) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0865c899a120f1e4, []int{0, 0}
}
// phases for cr50 module. Next Tag: 3
type Config_CR50Phase int32
const (
Config_CR50_PHASE_INVALID Config_CR50Phase = 0
Config_CR50_PHASE_PREPVT Config_CR50Phase = 1
Config_CR50_PHASE_PVT Config_CR50Phase = 2
)
var Config_CR50Phase_name = map[int32]string{
0: "CR50_PHASE_INVALID",
1: "CR50_PHASE_PREPVT",
2: "CR50_PHASE_PVT",
}
var Config_CR50Phase_value = map[string]int32{
"CR50_PHASE_INVALID": 0,
"CR50_PHASE_PREPVT": 1,
"CR50_PHASE_PVT": 2,
}
func (x Config_CR50Phase) String() string {
return proto.EnumName(Config_CR50Phase_name, int32(x))
}
func (Config_CR50Phase) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0865c899a120f1e4, []int{0, 1}
}
// key env for cr50 RW version. Next Tag: 3
type Config_CR50KeyEnv int32
const (
Config_CR50_KEYENV_INVALID Config_CR50KeyEnv = 0
Config_CR50_KEYENV_PROD Config_CR50KeyEnv = 1
Config_CR50_KEYENV_DEV Config_CR50KeyEnv = 2
)
var Config_CR50KeyEnv_name = map[int32]string{
0: "CR50_KEYENV_INVALID",
1: "CR50_KEYENV_PROD",
2: "CR50_KEYENV_DEV",
}
var Config_CR50KeyEnv_value = map[string]int32{
"CR50_KEYENV_INVALID": 0,
"CR50_KEYENV_PROD": 1,
"CR50_KEYENV_DEV": 2,
}
func (x Config_CR50KeyEnv) String() string {
return proto.EnumName(Config_CR50KeyEnv_name, int32(x))
}
func (Config_CR50KeyEnv) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0865c899a120f1e4, []int{0, 2}
}
// These are the configs that's provided in manufacture stage of a ChromeOS device.
// Next Tag: 7
type Config struct {
ManufacturingId *ConfigID `protobuf:"bytes,1,opt,name=manufacturing_id,json=manufacturingId,proto3" json:"manufacturing_id,omitempty"`
DevicePhase Config_Phase `protobuf:"varint,2,opt,name=device_phase,json=devicePhase,proto3,enum=manufacturing.Config_Phase" json:"device_phase,omitempty"`
Cr50Phase Config_CR50Phase `protobuf:"varint,3,opt,name=cr50_phase,json=cr50Phase,proto3,enum=manufacturing.Config_CR50Phase" json:"cr50_phase,omitempty"`
// Detected based on the cr50 RW version that the DUT is running on.
Cr50KeyEnv Config_CR50KeyEnv `protobuf:"varint,4,opt,name=cr50_key_env,json=cr50KeyEnv,proto3,enum=manufacturing.Config_CR50KeyEnv" json:"cr50_key_env,omitempty"`
// wifi chip that is installed on the DUT in manufacturing stage.
WifiChip string `protobuf:"bytes,5,opt,name=wifi_chip,json=wifiChip,proto3" json:"wifi_chip,omitempty"`
// Save repeated hwid components obtained from hwid service
HwidComponent []string `protobuf:"bytes,6,rep,name=hwid_component,json=hwidComponent,proto3" json:"hwid_component,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Config) Reset() { *m = Config{} }
func (m *Config) String() string { return proto.CompactTextString(m) }
func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_0865c899a120f1e4, []int{0}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config.Marshal(b, m, deterministic)
}
func (m *Config) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config.Merge(m, src)
}
func (m *Config) XXX_Size() int {
return xxx_messageInfo_Config.Size(m)
}
func (m *Config) XXX_DiscardUnknown() {
xxx_messageInfo_Config.DiscardUnknown(m)
}
var xxx_messageInfo_Config proto.InternalMessageInfo
func (m *Config) GetManufacturingId() *ConfigID {
if m != nil {
return m.ManufacturingId
}
return nil
}
func (m *Config) GetDevicePhase() Config_Phase {
if m != nil {
return m.DevicePhase
}
return Config_PHASE_INVALID
}
func (m *Config) GetCr50Phase() Config_CR50Phase {
if m != nil {
return m.Cr50Phase
}
return Config_CR50_PHASE_INVALID
}
func (m *Config) GetCr50KeyEnv() Config_CR50KeyEnv {
if m != nil {
return m.Cr50KeyEnv
}
return Config_CR50_KEYENV_INVALID
}
func (m *Config) GetWifiChip() string {
if m != nil {
return m.WifiChip
}
return ""
}
func (m *Config) GetHwidComponent() []string {
if m != nil {
return m.HwidComponent
}
return nil
}
// Message contains all ChromeOS manufacturing configs.
type ConfigList struct {
Value []*Config `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ConfigList) Reset() { *m = ConfigList{} }
func (m *ConfigList) String() string { return proto.CompactTextString(m) }
func (*ConfigList) ProtoMessage() {}
func (*ConfigList) Descriptor() ([]byte, []int) {
return fileDescriptor_0865c899a120f1e4, []int{1}
}
func (m *ConfigList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ConfigList.Unmarshal(m, b)
}
func (m *ConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ConfigList.Marshal(b, m, deterministic)
}
func (m *ConfigList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConfigList.Merge(m, src)
}
func (m *ConfigList) XXX_Size() int {
return xxx_messageInfo_ConfigList.Size(m)
}
func (m *ConfigList) XXX_DiscardUnknown() {
xxx_messageInfo_ConfigList.DiscardUnknown(m)
}
var xxx_messageInfo_ConfigList proto.InternalMessageInfo
func (m *ConfigList) GetValue() []*Config {
if m != nil {
return m.Value
}
return nil
}
func init() {
proto.RegisterEnum("manufacturing.Config_Phase", Config_Phase_name, Config_Phase_value)
proto.RegisterEnum("manufacturing.Config_CR50Phase", Config_CR50Phase_name, Config_CR50Phase_value)
proto.RegisterEnum("manufacturing.Config_CR50KeyEnv", Config_CR50KeyEnv_name, Config_CR50KeyEnv_value)
proto.RegisterType((*Config)(nil), "manufacturing.Config")
proto.RegisterType((*ConfigList)(nil), "manufacturing.ConfigList")
}
func init() { proto.RegisterFile("manufacturing/config.proto", fileDescriptor_0865c899a120f1e4) }
var fileDescriptor_0865c899a120f1e4 = []byte{
// 466 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00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