| // 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" |
| skylab_test_runner "go.chromium.org/chromiumos/infra/proto/go/test_platform/skylab_test_runner" |
| 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"` |
| // Paths to future results archives. |
| // These paths depend on the path of the local results directory, so they |
| // become well-defined the moment the local directory is created. |
| // `skylab_local_state load` does not perform the offload to the locations, |
| // the offload happens asynchronously after the task finishes. |
| AsyncResults *skylab_test_runner.AsyncResults `protobuf:"bytes,3,opt,name=async_results,json=asyncResults,proto3" json:"async_results,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 (m *LoadResponse) GetAsyncResults() *skylab_test_runner.AsyncResults { |
| if m != nil { |
| return m.AsyncResults |
| } |
| return nil |
| } |
| |
| 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{ |
| // 386 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0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