| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromiumos/payload_config.proto |
| |
| package chromiumos |
| |
| 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 |
| |
| // An enum of possible delta types. |
| type PayloadProperties_DeltaType int32 |
| |
| const ( |
| PayloadProperties_NOT_SET PayloadProperties_DeltaType = 0 |
| PayloadProperties_NO_DELTA PayloadProperties_DeltaType = 1 |
| PayloadProperties_OMAHA PayloadProperties_DeltaType = 2 |
| PayloadProperties_STEPPING_STONE PayloadProperties_DeltaType = 3 |
| PayloadProperties_MILESTONE PayloadProperties_DeltaType = 4 |
| PayloadProperties_FSI PayloadProperties_DeltaType = 5 |
| ) |
| |
| var PayloadProperties_DeltaType_name = map[int32]string{ |
| 0: "NOT_SET", |
| 1: "NO_DELTA", |
| 2: "OMAHA", |
| 3: "STEPPING_STONE", |
| 4: "MILESTONE", |
| 5: "FSI", |
| } |
| |
| var PayloadProperties_DeltaType_value = map[string]int32{ |
| "NOT_SET": 0, |
| "NO_DELTA": 1, |
| "OMAHA": 2, |
| "STEPPING_STONE": 3, |
| "MILESTONE": 4, |
| "FSI": 5, |
| } |
| |
| func (x PayloadProperties_DeltaType) String() string { |
| return proto.EnumName(PayloadProperties_DeltaType_name, int32(x)) |
| } |
| |
| func (PayloadProperties_DeltaType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_cefb278a7cd72110, []int{1, 0} |
| } |
| |
| type PayloadConfig struct { |
| // This is current configuration for payloads. |
| Delta []*PayloadProperties `protobuf:"bytes,1,rep,name=delta,proto3" json:"delta,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PayloadConfig) Reset() { *m = PayloadConfig{} } |
| func (m *PayloadConfig) String() string { return proto.CompactTextString(m) } |
| func (*PayloadConfig) ProtoMessage() {} |
| func (*PayloadConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_cefb278a7cd72110, []int{0} |
| } |
| |
| func (m *PayloadConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PayloadConfig.Unmarshal(m, b) |
| } |
| func (m *PayloadConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PayloadConfig.Marshal(b, m, deterministic) |
| } |
| func (m *PayloadConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PayloadConfig.Merge(m, src) |
| } |
| func (m *PayloadConfig) XXX_Size() int { |
| return xxx_messageInfo_PayloadConfig.Size(m) |
| } |
| func (m *PayloadConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_PayloadConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PayloadConfig proto.InternalMessageInfo |
| |
| func (m *PayloadConfig) GetDelta() []*PayloadProperties { |
| if m != nil { |
| return m.Delta |
| } |
| return nil |
| } |
| |
| // This is a single payload config field. |
| type PayloadProperties struct { |
| // The board to be considered for signing. |
| Board *PayloadProperties_Board `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"` |
| // The delta type to generate for the payload. |
| DeltaType PayloadProperties_DeltaType `protobuf:"varint,2,opt,name=delta_type,json=deltaType,proto3,enum=chromiumos.PayloadProperties_DeltaType" json:"delta_type,omitempty"` |
| // The channel to sign payloads for (e.g. 'dev', 'stable', or ''). |
| Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` |
| // The chrome os version (e.g. '12240.0.0' or ''). |
| ChromeOsVersion string `protobuf:"bytes,4,opt,name=chrome_os_version,json=chromeOsVersion,proto3" json:"chrome_os_version,omitempty"` |
| // The version of chrome within the payload (e.g. '78.0.3877.0'). |
| ChromeVersion string `protobuf:"bytes,5,opt,name=chrome_version,json=chromeVersion,proto3" json:"chrome_version,omitempty"` |
| // The milestone number (e.g. 73). |
| Milestone uint32 `protobuf:"varint,6,opt,name=milestone,proto3" json:"milestone,omitempty"` |
| // Generate the image update deltas. |
| GenerateDelta bool `protobuf:"varint,7,opt,name=generate_delta,json=generateDelta,proto3" json:"generate_delta,omitempty"` |
| // Test the image update deltas we generated post signing. |
| DeltaPayloadTests bool `protobuf:"varint,8,opt,name=delta_payload_tests,json=deltaPayloadTests,proto3" json:"delta_payload_tests,omitempty"` |
| // Do a full payload test. |
| FullPayloadTests bool `protobuf:"varint,9,opt,name=full_payload_tests,json=fullPayloadTests,proto3" json:"full_payload_tests,omitempty"` |
| // An array of model names: ['teemo', 'kench', 'sion']. |
| // While we generally don't like repeated scalars, it conforms to the json. |
| ApplicableModels []string `protobuf:"bytes,10,rep,name=applicable_models,json=applicableModels,proto3" json:"applicable_models,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PayloadProperties) Reset() { *m = PayloadProperties{} } |
| func (m *PayloadProperties) String() string { return proto.CompactTextString(m) } |
| func (*PayloadProperties) ProtoMessage() {} |
| func (*PayloadProperties) Descriptor() ([]byte, []int) { |
| return fileDescriptor_cefb278a7cd72110, []int{1} |
| } |
| |
| func (m *PayloadProperties) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PayloadProperties.Unmarshal(m, b) |
| } |
| func (m *PayloadProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PayloadProperties.Marshal(b, m, deterministic) |
| } |
| func (m *PayloadProperties) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PayloadProperties.Merge(m, src) |
| } |
| func (m *PayloadProperties) XXX_Size() int { |
| return xxx_messageInfo_PayloadProperties.Size(m) |
| } |
| func (m *PayloadProperties) XXX_DiscardUnknown() { |
| xxx_messageInfo_PayloadProperties.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PayloadProperties proto.InternalMessageInfo |
| |
| func (m *PayloadProperties) GetBoard() *PayloadProperties_Board { |
| if m != nil { |
| return m.Board |
| } |
| return nil |
| } |
| |
| func (m *PayloadProperties) GetDeltaType() PayloadProperties_DeltaType { |
| if m != nil { |
| return m.DeltaType |
| } |
| return PayloadProperties_NOT_SET |
| } |
| |
| func (m *PayloadProperties) GetChannel() string { |
| if m != nil { |
| return m.Channel |
| } |
| return "" |
| } |
| |
| func (m *PayloadProperties) GetChromeOsVersion() string { |
| if m != nil { |
| return m.ChromeOsVersion |
| } |
| return "" |
| } |
| |
| func (m *PayloadProperties) GetChromeVersion() string { |
| if m != nil { |
| return m.ChromeVersion |
| } |
| return "" |
| } |
| |
| func (m *PayloadProperties) GetMilestone() uint32 { |
| if m != nil { |
| return m.Milestone |
| } |
| return 0 |
| } |
| |
| func (m *PayloadProperties) GetGenerateDelta() bool { |
| if m != nil { |
| return m.GenerateDelta |
| } |
| return false |
| } |
| |
| func (m *PayloadProperties) GetDeltaPayloadTests() bool { |
| if m != nil { |
| return m.DeltaPayloadTests |
| } |
| return false |
| } |
| |
| func (m *PayloadProperties) GetFullPayloadTests() bool { |
| if m != nil { |
| return m.FullPayloadTests |
| } |
| return false |
| } |
| |
| func (m *PayloadProperties) GetApplicableModels() []string { |
| if m != nil { |
| return m.ApplicableModels |
| } |
| return nil |
| } |
| |
| // A board type and builder name, and if it is currently active. |
| type PayloadProperties_Board struct { |
| // The board's public codename (e.g. nyan-kitty). |
| PublicCodename string `protobuf:"bytes,1,opt,name=public_codename,json=publicCodename,proto3" json:"public_codename,omitempty"` |
| // Is the board currently being supported. |
| IsActive bool `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` |
| // What is the builder name for the board (e.g. nyan_kitty). |
| BuilderName string `protobuf:"bytes,3,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PayloadProperties_Board) Reset() { *m = PayloadProperties_Board{} } |
| func (m *PayloadProperties_Board) String() string { return proto.CompactTextString(m) } |
| func (*PayloadProperties_Board) ProtoMessage() {} |
| func (*PayloadProperties_Board) Descriptor() ([]byte, []int) { |
| return fileDescriptor_cefb278a7cd72110, []int{1, 0} |
| } |
| |
| func (m *PayloadProperties_Board) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PayloadProperties_Board.Unmarshal(m, b) |
| } |
| func (m *PayloadProperties_Board) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PayloadProperties_Board.Marshal(b, m, deterministic) |
| } |
| func (m *PayloadProperties_Board) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PayloadProperties_Board.Merge(m, src) |
| } |
| func (m *PayloadProperties_Board) XXX_Size() int { |
| return xxx_messageInfo_PayloadProperties_Board.Size(m) |
| } |
| func (m *PayloadProperties_Board) XXX_DiscardUnknown() { |
| xxx_messageInfo_PayloadProperties_Board.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PayloadProperties_Board proto.InternalMessageInfo |
| |
| func (m *PayloadProperties_Board) GetPublicCodename() string { |
| if m != nil { |
| return m.PublicCodename |
| } |
| return "" |
| } |
| |
| func (m *PayloadProperties_Board) GetIsActive() bool { |
| if m != nil { |
| return m.IsActive |
| } |
| return false |
| } |
| |
| func (m *PayloadProperties_Board) GetBuilderName() string { |
| if m != nil { |
| return m.BuilderName |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterEnum("chromiumos.PayloadProperties_DeltaType", PayloadProperties_DeltaType_name, PayloadProperties_DeltaType_value) |
| proto.RegisterType((*PayloadConfig)(nil), "chromiumos.PayloadConfig") |
| proto.RegisterType((*PayloadProperties)(nil), "chromiumos.PayloadProperties") |
| proto.RegisterType((*PayloadProperties_Board)(nil), "chromiumos.PayloadProperties.Board") |
| } |
| |
| func init() { proto.RegisterFile("chromiumos/payload_config.proto", fileDescriptor_cefb278a7cd72110) } |
| |
| var fileDescriptor_cefb278a7cd72110 = []byte{ |
| // 506 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x5f, 0x6b, 0xdb, 0x30, |
| 0x14, 0xc5, 0xe7, 0xa6, 0x6e, 0xe2, 0x9b, 0x26, 0x75, 0xb4, 0x17, 0xb3, 0x3f, 0xcc, 0xeb, 0x18, |
| 0x35, 0xdb, 0x70, 0x20, 0x1d, 0x83, 0x3d, 0xa6, 0x4d, 0xba, 0x05, 0x9a, 0x3f, 0x38, 0x66, 0x0f, |
| 0x83, 0x21, 0x14, 0x5b, 0x49, 0x05, 0xb2, 0x65, 0x24, 0xa7, 0x90, 0xef, 0xb3, 0x0f, 0x3a, 0x22, |
| 0xd9, 0x4d, 0xb7, 0x41, 0xdf, 0x7c, 0xcf, 0xf9, 0xe9, 0xc0, 0xf5, 0x91, 0xe0, 0x4d, 0x72, 0x27, |
| 0x45, 0xc6, 0xb6, 0x99, 0x50, 0xfd, 0x82, 0xec, 0xb8, 0x20, 0x29, 0x4e, 0x44, 0xbe, 0x66, 0x9b, |
| 0xb0, 0x90, 0xa2, 0x14, 0x08, 0x0e, 0xc0, 0xf9, 0x08, 0x3a, 0x0b, 0xc3, 0x5c, 0x6b, 0x04, 0x5d, |
| 0x82, 0x9d, 0x52, 0x5e, 0x12, 0xcf, 0xf2, 0x1b, 0x41, 0x7b, 0xf0, 0x3a, 0x3c, 0xc0, 0x61, 0x45, |
| 0x2e, 0xa4, 0x28, 0xa8, 0x2c, 0x19, 0x55, 0x91, 0x61, 0xcf, 0x7f, 0xdb, 0xd0, 0xfb,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