blob: 87f13c2ba59d707be1f8dc9d56ad76bc6aa02fe4 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/skylab_local_state/save.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
// SaveRequest defines the input of `skylab_local_state save`.
type SaveRequest struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// The path to the directory where the host info file is located.
ResultsDir string `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"`
// DUT hostname, used in the name of the host info file.
DutName string `protobuf:"bytes,3,opt,name=dut_name,json=dutName,proto3" json:"dut_name,omitempty"`
// DUT ID, used in the name of the DUT state cache file.
DutId string `protobuf:"bytes,4,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"`
// E.g. "needs_repair", "ready" etc.
DutState string `protobuf:"bytes,5,opt,name=dut_state,json=dutState,proto3" json:"dut_state,omitempty"`
// If true, mark results directory as ready for offload.
SealResultsDir bool `protobuf:"varint,6,opt,name=seal_results_dir,json=sealResultsDir,proto3" json:"seal_results_dir,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SaveRequest) Reset() { *m = SaveRequest{} }
func (m *SaveRequest) String() string { return proto.CompactTextString(m) }
func (*SaveRequest) ProtoMessage() {}
func (*SaveRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_ca28d647d1205626, []int{0}
}
func (m *SaveRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SaveRequest.Unmarshal(m, b)
}
func (m *SaveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SaveRequest.Marshal(b, m, deterministic)
}
func (m *SaveRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SaveRequest.Merge(m, src)
}
func (m *SaveRequest) XXX_Size() int {
return xxx_messageInfo_SaveRequest.Size(m)
}
func (m *SaveRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SaveRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SaveRequest proto.InternalMessageInfo
func (m *SaveRequest) GetConfig() *Config {
if m != nil {
return m.Config
}
return nil
}
func (m *SaveRequest) GetResultsDir() string {
if m != nil {
return m.ResultsDir
}
return ""
}
func (m *SaveRequest) GetDutName() string {
if m != nil {
return m.DutName
}
return ""
}
func (m *SaveRequest) GetDutId() string {
if m != nil {
return m.DutId
}
return ""
}
func (m *SaveRequest) GetDutState() string {
if m != nil {
return m.DutState
}
return ""
}
func (m *SaveRequest) GetSealResultsDir() bool {
if m != nil {
return m.SealResultsDir
}
return false
}
func init() {
proto.RegisterType((*SaveRequest)(nil), "test_platform.skylab_local_state.SaveRequest")
}
func init() {
proto.RegisterFile("test_platform/skylab_local_state/save.proto", fileDescriptor_ca28d647d1205626)
}
var fileDescriptor_ca28d647d1205626 = []byte{
// 274 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xf4, 0x30,
0x14, 0x85, 0xe9, 0xff, 0x3b, 0x75, 0x26, 0x05, 0x91, 0x80, 0x50, 0x75, 0x61, 0x71, 0x55, 0x10,
0x13, 0xd0, 0x17, 0x10, 0x75, 0xa3, 0x88, 0x8b, 0xce, 0xce, 0x4d, 0xc8, 0x34, 0x69, 0x0d, 0x26,
0xbd, 0x63, 0x72, 0x33, 0xe0, 0x23, 0xfb, 0x16, 0xd2, 0x38, 0x8a, 0xe2, 0xa2, 0xcb, 0x7b, 0xce,
0xb9, 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