blob: 145907129e3a35c92668b0d66ec91fd70ac96df0 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/skylab_local_state/load.proto
package skylab_local_state
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
// LoadRequest defines the input of `skylab_local_state load`.
type LoadRequest struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
ResultsDir string `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"` // Deprecated: Do not use.
// DUT hostname.
DutName string `protobuf:"bytes,3,opt,name=dut_name,json=dutName,proto3" json:"dut_name,omitempty"`
// Swarming run ID. Used in the results directory name.
RunId string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadRequest) Reset() { *m = LoadRequest{} }
func (m *LoadRequest) String() string { return proto.CompactTextString(m) }
func (*LoadRequest) ProtoMessage() {}
func (*LoadRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_8da18a4489bdf85e, []int{0}
}
func (m *LoadRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LoadRequest.Unmarshal(m, b)
}
func (m *LoadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LoadRequest.Marshal(b, m, deterministic)
}
func (m *LoadRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LoadRequest.Merge(m, src)
}
func (m *LoadRequest) XXX_Size() int {
return xxx_messageInfo_LoadRequest.Size(m)
}
func (m *LoadRequest) XXX_DiscardUnknown() {
xxx_messageInfo_LoadRequest.DiscardUnknown(m)
}
var xxx_messageInfo_LoadRequest proto.InternalMessageInfo
func (m *LoadRequest) GetConfig() *Config {
if m != nil {
return m.Config
}
return nil
}
// Deprecated: Do not use.
func (m *LoadRequest) GetResultsDir() string {
if m != nil {
return m.ResultsDir
}
return ""
}
func (m *LoadRequest) GetDutName() string {
if m != nil {
return m.DutName
}
return ""
}
func (m *LoadRequest) GetRunId() string {
if m != nil {
return m.RunId
}
return ""
}
// LoadResponse defines the output of `skylab_local_state load`.
type LoadResponse struct {
// What is currently installed on the DUT, e.g.
// "cros-version": "reef-release/R77-12345.0.0".
ProvisionableLabels map[string]string `protobuf:"bytes,1,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"`
// The path to the newly created directory containing the host info file.
ResultsDir string `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadResponse) Reset() { *m = LoadResponse{} }
func (m *LoadResponse) String() string { return proto.CompactTextString(m) }
func (*LoadResponse) ProtoMessage() {}
func (*LoadResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_8da18a4489bdf85e, []int{1}
}
func (m *LoadResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LoadResponse.Unmarshal(m, b)
}
func (m *LoadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LoadResponse.Marshal(b, m, deterministic)
}
func (m *LoadResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_LoadResponse.Merge(m, src)
}
func (m *LoadResponse) XXX_Size() int {
return xxx_messageInfo_LoadResponse.Size(m)
}
func (m *LoadResponse) XXX_DiscardUnknown() {
xxx_messageInfo_LoadResponse.DiscardUnknown(m)
}
var xxx_messageInfo_LoadResponse proto.InternalMessageInfo
func (m *LoadResponse) GetProvisionableLabels() map[string]string {
if m != nil {
return m.ProvisionableLabels
}
return nil
}
func (m *LoadResponse) GetResultsDir() string {
if m != nil {
return m.ResultsDir
}
return ""
}
func init() {
proto.RegisterType((*LoadRequest)(nil), "test_platform.skylab_local_state.LoadRequest")
proto.RegisterType((*LoadResponse)(nil), "test_platform.skylab_local_state.LoadResponse")
proto.RegisterMapType((map[string]string)(nil), "test_platform.skylab_local_state.LoadResponse.ProvisionableLabelsEntry")
}
func init() {
proto.RegisterFile("test_platform/skylab_local_state/load.proto", fileDescriptor_8da18a4489bdf85e)
}
var fileDescriptor_8da18a4489bdf85e = []byte{
// 340 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x4d, 0x4b, 0xc3, 0x30,
0x18, 0x80, 0xc9, 0xe6, 0xa6, 0x4b, 0x3d, 0x48, 0x9c, 0x50, 0x77, 0xb1, 0xcc, 0x4b, 0x41, 0x6c,
0x61, 0x5e, 0xc4, 0x93, 0xcc, 0x2f, 0x94, 0x21, 0xd2, 0xa3, 0x97, 0x92, 0xb6, 0x59, 0x0d, 0x4b,
0xf2, 0xd6, 0x7c, 0x0c, 0xe6, 0x0f, 0xf2, 0x0f, 0xfa, 0x07, 0x64, 0xdd, 0x84, 0xc9, 0x94, 0xde,
0xf2, 0xe6, 0x7d, 0xf2, 0xe4, 0xfd, 0xc0, 0x67, 0x96, 0x19, 0x9b, 0x56, 0x82, 0xda, 0x29, 0x68,
0x19, 0x9b, 0xd9, 0x42, 0xd0, 0x2c, 0x15, 0x90, 0x53, 0x91, 0x1a, 0x4b, 0x2d, 0x8b, 0x05, 0xd0,
0x22, 0xaa, 0x34, 0x58, 0x20, 0xc1, 0x2f, 0x38, 0xda, 0x86, 0x07, 0xe7, 0x8d, 0xba, 0x1c, 0x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