blob: 536d01ad8abf788933249fed78c38ebc1a05e715 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/phosphorus/prejob.proto
package phosphorus
import (
fmt "fmt"
proto ""
timestamp ""
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
// PrejobRequest defines the input of `phosphorus prejob`.
type PrejobRequest struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
DutHostname string `protobuf:"bytes,2,opt,name=dut_hostname,json=dutHostname,proto3" json:"dut_hostname,omitempty"`
ProvisionableLabels map[string]string `protobuf:"bytes,3,rep,name=provisionable_labels,json=provisionableLabels,proto3" json:"provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Deprecated: Do not use.
// What needs to be installed onto the DUT at the end of prejob, e.g.
// "cros-version": "reef-release/R77-12345.0.0".
DesiredProvisionableLabels map[string]string `protobuf:"bytes,4,rep,name=desired_provisionable_labels,json=desiredProvisionableLabels,proto3" json:"desired_provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// What is installed on the DUT before the prejob, e.g.
// "cros-version": "reef-release/R77-12345.0.0".
ExistingProvisionableLabels map[string]string `protobuf:"bytes,5,rep,name=existing_provisionable_labels,json=existingProvisionableLabels,proto3" json:"existing_provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Hard deadline for execution.
// All prejob execution should abort beyond this deadline.
Deadline *timestamp.Timestamp `protobuf:"bytes,6,opt,name=deadline,proto3" json:"deadline,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
func (m *PrejobRequest) Reset() { *m = PrejobRequest{} }
func (m *PrejobRequest) String() string { return proto.CompactTextString(m) }
func (*PrejobRequest) ProtoMessage() {}
func (*PrejobRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_5d406d24cdb4ff2a, []int{0}
func (m *PrejobRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrejobRequest.Unmarshal(m, b)
func (m *PrejobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrejobRequest.Marshal(b, m, deterministic)
func (m *PrejobRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrejobRequest.Merge(m, src)
func (m *PrejobRequest) XXX_Size() int {
return xxx_messageInfo_PrejobRequest.Size(m)
func (m *PrejobRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_PrejobRequest proto.InternalMessageInfo
func (m *PrejobRequest) GetConfig() *Config {
if m != nil {
return m.Config
return nil
func (m *PrejobRequest) GetDutHostname() string {
if m != nil {
return m.DutHostname
return ""
// Deprecated: Do not use.
func (m *PrejobRequest) GetProvisionableLabels() map[string]string {
if m != nil {
return m.ProvisionableLabels
return nil
func (m *PrejobRequest) GetDesiredProvisionableLabels() map[string]string {
if m != nil {
return m.DesiredProvisionableLabels
return nil
func (m *PrejobRequest) GetExistingProvisionableLabels() map[string]string {
if m != nil {
return m.ExistingProvisionableLabels
return nil
func (m *PrejobRequest) GetDeadline() *timestamp.Timestamp {
if m != nil {
return m.Deadline
return nil
func init() {
proto.RegisterType((*PrejobRequest)(nil), "test_platform.phosphorus.PrejobRequest")
proto.RegisterMapType((map[string]string)(nil), "test_platform.phosphorus.PrejobRequest.DesiredProvisionableLabelsEntry")
proto.RegisterMapType((map[string]string)(nil), "test_platform.phosphorus.PrejobRequest.ExistingProvisionableLabelsEntry")
proto.RegisterMapType((map[string]string)(nil), "test_platform.phosphorus.PrejobRequest.ProvisionableLabelsEntry")
func init() {
proto.RegisterFile("test_platform/phosphorus/prejob.proto", fileDescriptor_5d406d24cdb4ff2a)
var fileDescriptor_5d406d24cdb4ff2a = []byte{
// 408 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x51, 0x6b, 0xd5, 0x30,
0x18, 0x86, 0xe9, 0x39, 0xee, 0xe0, 0x72, 0x14, 0x24, 0xee, 0xa2, 0x54, 0x65, 0x55, 0x10, 0xce,
0x55, 0x02, 0x13, 0x64, 0x78, 0x25, 0xc7, 0x4d, 0x77, 0xa1, 0x32, 0x8a, 0x57, 0xde, 0x94, 0xf4,
0xf4, 0x6b, 0x1b, 0x6d, 0xf2, 0xc5, 0x24, 0x9d, 0xee, 0x27, 0x08, 0xfe, 0x07, 0xff, 0xaa, 0x98,
0x9e, 0xaa, 0xc3, 0x85, 0x6d, 0x77, 0x4d, 0xfb, 0xf4, 0xfd, 0x1e, 0x92, 0x37, 0xe4, 0xa9, 0x07,
0xe7, 0x4b, 0xd3, 0x0b, 0xdf, 0xa0, 0x55, 0xdc, 0x74, 0xe8, 0x4c, 0x87, 0x76, 0x70, 0xdc, 0x58,
0xf8, 0x84, 0x15, 0x33, 0x16, 0x3d, 0xd2, 0xf4, 0x02, 0xc6, 0xfe, 0x62, 0xd9, 0x7e, 0x8b, 0xd8,
0xf6, 0xc0, 0x03, 0x57, 0x0d, 0x0d, 0xf7, 0x52, 0x81, 0xf3, 0x42, 0x99, 0xf1, 0xd7, 0x2c, 0x3e,
0x61, 0x83, 0x4a, 0xa1, 0x1e, 0xb1, 0x27, 0x3f, 0x17, 0xe4, 0xee, 0x69, 0x18, 0x59, 0xc0, 0x97,
0x01, 0x9c, 0xa7, 0x87, 0x64, 0xb1, 0x41, 0xdd, 0xc8, 0x36, 0x4d, 0xf2, 0x64, 0xb5, 0x3c, 0xc8,
0x59, 0x4c, 0x82, 0xbd, 0x0a, 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