blob: eb6186f3a4fb8b3725706900c1427b35fcda7cf0 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/phosphorus/common.proto
package phosphorus
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
// BotEnvironment defines bot-specific parameters used by phosphorus.
type BotEnvironment struct {
// Absolute path to the autotest directory for the bot, e.g.
// "/usr/local/autotest".
AutotestDir string `protobuf:"bytes,1,opt,name=autotest_dir,json=autotestDir,proto3" json:"autotest_dir,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BotEnvironment) Reset() { *m = BotEnvironment{} }
func (m *BotEnvironment) String() string { return proto.CompactTextString(m) }
func (*BotEnvironment) ProtoMessage() {}
func (*BotEnvironment) Descriptor() ([]byte, []int) {
return fileDescriptor_6d57f1c2e65b1971, []int{0}
}
func (m *BotEnvironment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BotEnvironment.Unmarshal(m, b)
}
func (m *BotEnvironment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BotEnvironment.Marshal(b, m, deterministic)
}
func (m *BotEnvironment) XXX_Merge(src proto.Message) {
xxx_messageInfo_BotEnvironment.Merge(m, src)
}
func (m *BotEnvironment) XXX_Size() int {
return xxx_messageInfo_BotEnvironment.Size(m)
}
func (m *BotEnvironment) XXX_DiscardUnknown() {
xxx_messageInfo_BotEnvironment.DiscardUnknown(m)
}
var xxx_messageInfo_BotEnvironment proto.InternalMessageInfo
func (m *BotEnvironment) GetAutotestDir() string {
if m != nil {
return m.AutotestDir
}
return ""
}
// TaskEnvironment defines task-specific parameters used by phosphorus.
type TaskEnvironment struct {
// Absolute path to the results directory for a given run. Include results of
// both tests and non-test tasks like provision
ResultsDir string `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"`
// Absolute path to the results directory for a given run's tests.
// MUST be equal to ${results_dir}/autoserv_test if present. This restriction
// may be lifted in the future.
TestResultsDir string `protobuf:"bytes,3,opt,name=test_results_dir,json=testResultsDir,proto3" json:"test_results_dir,omitempty"`
// The name of the base lxc image used for Server Side Packaging (SSP).
//
// autoserv fetches the base image from a hard-coded path on Google
// Storage: gs://abci-ssp/autotest-containers/{name}.tar.xz
//
// See go/ctp-ssp for an overview of SSP.
SspBaseImageName string `protobuf:"bytes,4,opt,name=ssp_base_image_name,json=sspBaseImageName,proto3" json:"ssp_base_image_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TaskEnvironment) Reset() { *m = TaskEnvironment{} }
func (m *TaskEnvironment) String() string { return proto.CompactTextString(m) }
func (*TaskEnvironment) ProtoMessage() {}
func (*TaskEnvironment) Descriptor() ([]byte, []int) {
return fileDescriptor_6d57f1c2e65b1971, []int{1}
}
func (m *TaskEnvironment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskEnvironment.Unmarshal(m, b)
}
func (m *TaskEnvironment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TaskEnvironment.Marshal(b, m, deterministic)
}
func (m *TaskEnvironment) XXX_Merge(src proto.Message) {
xxx_messageInfo_TaskEnvironment.Merge(m, src)
}
func (m *TaskEnvironment) XXX_Size() int {
return xxx_messageInfo_TaskEnvironment.Size(m)
}
func (m *TaskEnvironment) XXX_DiscardUnknown() {
xxx_messageInfo_TaskEnvironment.DiscardUnknown(m)
}
var xxx_messageInfo_TaskEnvironment proto.InternalMessageInfo
func (m *TaskEnvironment) GetResultsDir() string {
if m != nil {
return m.ResultsDir
}
return ""
}
func (m *TaskEnvironment) GetTestResultsDir() string {
if m != nil {
return m.TestResultsDir
}
return ""
}
func (m *TaskEnvironment) GetSspBaseImageName() string {
if m != nil {
return m.SspBaseImageName
}
return ""
}
// Knobs specific to the step that uploads log-data to Google Storage.
type LogDataUploadStep struct {
// Controls the maximum number of files that may be uploaded concurrently.
// If unset, a hard-coded constant is used to limit concurrency (i.e., there
// is no way to request unlimited concurrent uploads).
MaxConcurrentUploads int32 `protobuf:"varint,1,opt,name=max_concurrent_uploads,json=maxConcurrentUploads,proto3" json:"max_concurrent_uploads,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LogDataUploadStep) Reset() { *m = LogDataUploadStep{} }
func (m *LogDataUploadStep) String() string { return proto.CompactTextString(m) }
func (*LogDataUploadStep) ProtoMessage() {}
func (*LogDataUploadStep) Descriptor() ([]byte, []int) {
return fileDescriptor_6d57f1c2e65b1971, []int{2}
}
func (m *LogDataUploadStep) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogDataUploadStep.Unmarshal(m, b)
}
func (m *LogDataUploadStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LogDataUploadStep.Marshal(b, m, deterministic)
}
func (m *LogDataUploadStep) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogDataUploadStep.Merge(m, src)
}
func (m *LogDataUploadStep) XXX_Size() int {
return xxx_messageInfo_LogDataUploadStep.Size(m)
}
func (m *LogDataUploadStep) XXX_DiscardUnknown() {
xxx_messageInfo_LogDataUploadStep.DiscardUnknown(m)
}
var xxx_messageInfo_LogDataUploadStep proto.InternalMessageInfo
func (m *LogDataUploadStep) GetMaxConcurrentUploads() int32 {
if m != nil {
return m.MaxConcurrentUploads
}
return 0
}
type FetchCrashesStep struct {
// URL of the crash server where crashes can be uploaded.
// e.g.: https://clients2.google.com/cr/report
CrashServerReportUrl string `protobuf:"bytes,1,opt,name=crash_server_report_url,json=crashServerReportUrl,proto3" json:"crash_server_report_url,omitempty"`
// URL of the crash server where pre-uploaded crashes can be viewed.
// e.g.: https://crash.corp.google.com
CrashServerViewUrl string `protobuf:"bytes,2,opt,name=crash_server_view_url,json=crashServerViewUrl,proto3" json:"crash_server_view_url,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FetchCrashesStep) Reset() { *m = FetchCrashesStep{} }
func (m *FetchCrashesStep) String() string { return proto.CompactTextString(m) }
func (*FetchCrashesStep) ProtoMessage() {}
func (*FetchCrashesStep) Descriptor() ([]byte, []int) {
return fileDescriptor_6d57f1c2e65b1971, []int{3}
}
func (m *FetchCrashesStep) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FetchCrashesStep.Unmarshal(m, b)
}
func (m *FetchCrashesStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FetchCrashesStep.Marshal(b, m, deterministic)
}
func (m *FetchCrashesStep) XXX_Merge(src proto.Message) {
xxx_messageInfo_FetchCrashesStep.Merge(m, src)
}
func (m *FetchCrashesStep) XXX_Size() int {
return xxx_messageInfo_FetchCrashesStep.Size(m)
}
func (m *FetchCrashesStep) XXX_DiscardUnknown() {
xxx_messageInfo_FetchCrashesStep.DiscardUnknown(m)
}
var xxx_messageInfo_FetchCrashesStep proto.InternalMessageInfo
func (m *FetchCrashesStep) GetCrashServerReportUrl() string {
if m != nil {
return m.CrashServerReportUrl
}
return ""
}
func (m *FetchCrashesStep) GetCrashServerViewUrl() string {
if m != nil {
return m.CrashServerViewUrl
}
return ""
}
// Config defines configuration parameters common to phosphorus subcommands.
type Config struct {
Bot *BotEnvironment `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"`
Task *TaskEnvironment `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
LogDataUploadStep *LogDataUploadStep `protobuf:"bytes,3,opt,name=log_data_upload_step,json=logDataUploadStep,proto3" json:"log_data_upload_step,omitempty"`
FetchCrashesStep *FetchCrashesStep `protobuf:"bytes,4,opt,name=fetch_crashes_step,json=fetchCrashesStep,proto3" json:"fetch_crashes_step,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Config) Reset() { *m = Config{} }
func (m *Config) String() string { return proto.CompactTextString(m) }
func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_6d57f1c2e65b1971, []int{4}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config.Marshal(b, m, deterministic)
}
func (m *Config) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config.Merge(m, src)
}
func (m *Config) XXX_Size() int {
return xxx_messageInfo_Config.Size(m)
}
func (m *Config) XXX_DiscardUnknown() {
xxx_messageInfo_Config.DiscardUnknown(m)
}
var xxx_messageInfo_Config proto.InternalMessageInfo
func (m *Config) GetBot() *BotEnvironment {
if m != nil {
return m.Bot
}
return nil
}
func (m *Config) GetTask() *TaskEnvironment {
if m != nil {
return m.Task
}
return nil
}
func (m *Config) GetLogDataUploadStep() *LogDataUploadStep {
if m != nil {
return m.LogDataUploadStep
}
return nil
}
func (m *Config) GetFetchCrashesStep() *FetchCrashesStep {
if m != nil {
return m.FetchCrashesStep
}
return nil
}
func init() {
proto.RegisterType((*BotEnvironment)(nil), "test_platform.phosphorus.BotEnvironment")
proto.RegisterType((*TaskEnvironment)(nil), "test_platform.phosphorus.TaskEnvironment")
proto.RegisterType((*LogDataUploadStep)(nil), "test_platform.phosphorus.LogDataUploadStep")
proto.RegisterType((*FetchCrashesStep)(nil), "test_platform.phosphorus.FetchCrashesStep")
proto.RegisterType((*Config)(nil), "test_platform.phosphorus.Config")
}
func init() {
proto.RegisterFile("test_platform/phosphorus/common.proto", fileDescriptor_6d57f1c2e65b1971)
}
var fileDescriptor_6d57f1c2e65b1971 = []byte{
// 477 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x93, 0x51, 0x6b, 0x13, 0x4f,
0x14, 0xc5, 0x49, 0x9a, 0x7f, 0xf9, 0x3b, 0x91, 0x9a, 0xae, 0xd1, 0xe6, 0x4d, 0x0d, 0x08, 0x51,
0x71, 0x17, 0x53, 0x7d, 0x11, 0x7c, 0x49, 0xa2, 0x50, 0x11, 0x1f, 0xb6, 0x46, 0x44, 0x84, 0x61,
0xb2, 0x99, 0xdd, 0x0c, 0xdd, 0x99, 0x3b, 0xdc, 0x3b, 0x9b, 0x56, 0xf0, 0x13, 0xf9, 0x15, 0xfc,
0x72, 0xb2, 0x37, 0xa9, 0x4d, 0x52, 0xf2, 0x38, 0xf7, 0x9c, 0xdf, 0x19, 0xf6, 0x9e, 0x1d, 0xf1,
0x34, 0x68, 0x0a, 0xd2, 0x97, 0x2a, 0xe4, 0x80, 0x36, 0xf1, 0x0b, 0x20, 0xbf, 0x00, 0xac, 0x28,
0xc9, 0xc0, 0x5a, 0x70, 0xb1, 0x47, 0x08, 0x10, 0xf5, 0xb6, 0x6c, 0xf1, 0x8d, 0xad, 0x7f, 0x2a,
0x8e, 0x46, 0x10, 0xde, 0xbb, 0xa5, 0x41, 0x70, 0x56, 0xbb, 0x10, 0x3d, 0x11, 0x77, 0x55, 0x15,
0x80, 0x89, 0xb9, 0xc1, 0x5e, 0xe3, 0x71, 0x63, 0x70, 0x27, 0x6d, 0x5f, 0xcf, 0x26, 0x06, 0xfb,
0xbf, 0x1b, 0xe2, 0xde, 0x17, 0x45, 0x17, 0x9b, 0xd8, 0x23, 0xd1, 0x46, 0x4d, 0x55, 0x19, 0x88,
0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