blob: 300e4d6c83e8f0a7628626951157d833d5e4ae1f [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: prototype/design_project.proto
package prototype
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
// Defines the metadata for a project, which ultimately controls how this
// project is managed throughout the infrastructure.
type DesignProject struct {
// Defines the human-readable name for the project.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Defines the git-repo path for the project.
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
// Defines the path that stores all of the project configuration.
// Relative to the git-repo
ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
// Define the project's local_manifest.
RepoManifestPath string `protobuf:"bytes,4,opt,name=repo_manifest_path,json=repoManifestPath,proto3" json:"repo_manifest_path,omitempty"`
// The Google Storage bucket for artifacts from the project's builds.
GsBucket string `protobuf:"bytes,5,opt,name=gs_bucket,json=gsBucket,proto3" json:"gs_bucket,omitempty"`
// Defines config needed to maintain firmware builders for the project.
FirmwareConfig *DesignProject_FirmwareConfig `protobuf:"bytes,6,opt,name=firmware_config,json=firmwareConfig,proto3" json:"firmware_config,omitempty"`
// Define factory build config needed for manufacturing verification.
FactoryConfig *DesignProject_FactoryConfig `protobuf:"bytes,7,opt,name=factory_config,json=factoryConfig,proto3" json:"factory_config,omitempty"`
// Defines signing config unique to the given design project.
SigningConfig *DesignProject_SigningConfig `protobuf:"bytes,8,opt,name=signing_config,json=signingConfig,proto3" json:"signing_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignProject) Reset() { *m = DesignProject{} }
func (m *DesignProject) String() string { return proto.CompactTextString(m) }
func (*DesignProject) ProtoMessage() {}
func (*DesignProject) Descriptor() ([]byte, []int) {
return fileDescriptor_f430eea6a6b81e0b, []int{0}
}
func (m *DesignProject) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignProject.Unmarshal(m, b)
}
func (m *DesignProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignProject.Marshal(b, m, deterministic)
}
func (m *DesignProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignProject.Merge(m, src)
}
func (m *DesignProject) XXX_Size() int {
return xxx_messageInfo_DesignProject.Size(m)
}
func (m *DesignProject) XXX_DiscardUnknown() {
xxx_messageInfo_DesignProject.DiscardUnknown(m)
}
var xxx_messageInfo_DesignProject proto.InternalMessageInfo
func (m *DesignProject) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *DesignProject) GetRepo() string {
if m != nil {
return m.Repo
}
return ""
}
func (m *DesignProject) GetConfigPath() string {
if m != nil {
return m.ConfigPath
}
return ""
}
func (m *DesignProject) GetRepoManifestPath() string {
if m != nil {
return m.RepoManifestPath
}
return ""
}
func (m *DesignProject) GetGsBucket() string {
if m != nil {
return m.GsBucket
}
return ""
}
func (m *DesignProject) GetFirmwareConfig() *DesignProject_FirmwareConfig {
if m != nil {
return m.FirmwareConfig
}
return nil
}
func (m *DesignProject) GetFactoryConfig() *DesignProject_FactoryConfig {
if m != nil {
return m.FactoryConfig
}
return nil
}
func (m *DesignProject) GetSigningConfig() *DesignProject_SigningConfig {
if m != nil {
return m.SigningConfig
}
return nil
}
type DesignProject_FirmwareConfig struct {
// Defines the firmware branch that will be maintained for the project.
FirmwareBranch string `protobuf:"bytes,1,opt,name=firmware_branch,json=firmwareBranch,proto3" json:"firmware_branch,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignProject_FirmwareConfig) Reset() { *m = DesignProject_FirmwareConfig{} }
func (m *DesignProject_FirmwareConfig) String() string { return proto.CompactTextString(m) }
func (*DesignProject_FirmwareConfig) ProtoMessage() {}
func (*DesignProject_FirmwareConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_f430eea6a6b81e0b, []int{0, 0}
}
func (m *DesignProject_FirmwareConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignProject_FirmwareConfig.Unmarshal(m, b)
}
func (m *DesignProject_FirmwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignProject_FirmwareConfig.Marshal(b, m, deterministic)
}
func (m *DesignProject_FirmwareConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignProject_FirmwareConfig.Merge(m, src)
}
func (m *DesignProject_FirmwareConfig) XXX_Size() int {
return xxx_messageInfo_DesignProject_FirmwareConfig.Size(m)
}
func (m *DesignProject_FirmwareConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DesignProject_FirmwareConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DesignProject_FirmwareConfig proto.InternalMessageInfo
func (m *DesignProject_FirmwareConfig) GetFirmwareBranch() string {
if m != nil {
return m.FirmwareBranch
}
return ""
}
type DesignProject_FactoryConfig struct {
// Defines the factory branch that will be maintained for the project.
FactoryBranch string `protobuf:"bytes,1,opt,name=factory_branch,json=factoryBranch,proto3" json:"factory_branch,omitempty"`
// A key in the project.yaml metadata file, to look up the branch, path,
// etc. For example, to match the entry in the project.yaml file:
//
// MILKYWAY:
// board: GALAXY
// branch: master
// version: 3
// path: v3/MILKYWAY
//
// project_key should be 'MILKYWAY'. The matching is case-insensitive.
HwidProjectKey string `protobuf:"bytes,2,opt,name=hwid_project_key,json=hwidProjectKey,proto3" json:"hwid_project_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignProject_FactoryConfig) Reset() { *m = DesignProject_FactoryConfig{} }
func (m *DesignProject_FactoryConfig) String() string { return proto.CompactTextString(m) }
func (*DesignProject_FactoryConfig) ProtoMessage() {}
func (*DesignProject_FactoryConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_f430eea6a6b81e0b, []int{0, 1}
}
func (m *DesignProject_FactoryConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignProject_FactoryConfig.Unmarshal(m, b)
}
func (m *DesignProject_FactoryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignProject_FactoryConfig.Marshal(b, m, deterministic)
}
func (m *DesignProject_FactoryConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignProject_FactoryConfig.Merge(m, src)
}
func (m *DesignProject_FactoryConfig) XXX_Size() int {
return xxx_messageInfo_DesignProject_FactoryConfig.Size(m)
}
func (m *DesignProject_FactoryConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DesignProject_FactoryConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DesignProject_FactoryConfig proto.InternalMessageInfo
func (m *DesignProject_FactoryConfig) GetFactoryBranch() string {
if m != nil {
return m.FactoryBranch
}
return ""
}
func (m *DesignProject_FactoryConfig) GetHwidProjectKey() string {
if m != nil {
return m.HwidProjectKey
}
return ""
}
type DesignProject_SigningConfig struct {
// Key names have taken historically followed many different patterns.
// To support all of the cases, this defines an explicit mapping between the
// supported brands and corresponding keys present in the respective
// keysets.
// Going forward, this could be standardized, removing the need for the
// explict mapping, but this will be required for the foreseeable future.
BrandIdToKey map[string]string `protobuf:"bytes,1,rep,name=brand_id_to_key,json=brandIdToKey,proto3" json:"brand_id_to_key,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DesignProject_SigningConfig) Reset() { *m = DesignProject_SigningConfig{} }
func (m *DesignProject_SigningConfig) String() string { return proto.CompactTextString(m) }
func (*DesignProject_SigningConfig) ProtoMessage() {}
func (*DesignProject_SigningConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_f430eea6a6b81e0b, []int{0, 2}
}
func (m *DesignProject_SigningConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DesignProject_SigningConfig.Unmarshal(m, b)
}
func (m *DesignProject_SigningConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DesignProject_SigningConfig.Marshal(b, m, deterministic)
}
func (m *DesignProject_SigningConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DesignProject_SigningConfig.Merge(m, src)
}
func (m *DesignProject_SigningConfig) XXX_Size() int {
return xxx_messageInfo_DesignProject_SigningConfig.Size(m)
}
func (m *DesignProject_SigningConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DesignProject_SigningConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DesignProject_SigningConfig proto.InternalMessageInfo
func (m *DesignProject_SigningConfig) GetBrandIdToKey() map[string]string {
if m != nil {
return m.BrandIdToKey
}
return nil
}
func init() {
proto.RegisterType((*DesignProject)(nil), "prototype.DesignProject")
proto.RegisterType((*DesignProject_FirmwareConfig)(nil), "prototype.DesignProject.FirmwareConfig")
proto.RegisterType((*DesignProject_FactoryConfig)(nil), "prototype.DesignProject.FactoryConfig")
proto.RegisterType((*DesignProject_SigningConfig)(nil), "prototype.DesignProject.SigningConfig")
proto.RegisterMapType((map[string]string)(nil), "prototype.DesignProject.SigningConfig.BrandIdToKeyEntry")
}
func init() { proto.RegisterFile("prototype/design_project.proto", fileDescriptor_f430eea6a6b81e0b) }
var fileDescriptor_f430eea6a6b81e0b = []byte{
// 432 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0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