| // 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: 6 |
| 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"` |
| 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 "" |
| } |
| |
| // 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{ |
| // 440 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdb, 0x6a, 0xdb, 0x30, |
| 0x18, 0xc7, 0xa7, 0x9c, 0x16, 0x7f, 0x39, 0x54, 0x55, 0xd7, 0xd5, 0xb4, 0x8c, 0x19, 0x5f, 0x05, |
| 0x06, 0x76, 0x49, 0x29, 0xa3, 0x37, 0x85, 0x26, 0x36, 0x2c, 0xb4, 0xcb, 0x84, 0x16, 0x0c, 0xdb, |
| 0x8d, 0xf1, 0x1c, 0xc7, 0x11, 0x5b, 0xac, 0xe0, 0x24, 0x1e, 0x7d, 0x90, 0x3d, 0xe3, 0x5e, 0x63, |
| 0x58, 0xda, 0x6a, 0x7b, 0xb8, 0x77, 0xfe, 0x1f, 0x7e, 0x9f, 0xc4, 0x67, 0xc1, 0xf9, 0x26, 0x48, |
| 0x0e, 0xab, 0x20, 0xdc, 0x1f, 0x52, 0x9e, 0xc4, 0x76, 0x28, 0x92, 0x15, 0x8f, 0xad, 0x6d, 0x2a, |
| 0xf6, 0x82, 0x0c, 0x2a, 0xd9, 0xf9, 0x9b, 0xba, 0xaa, 0xcf, 0x97, 0xaa, 0x6d, 0xfe, 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