blob: 664942d844c839bd1db4ff4a40ed7b611f68135b [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/side_effects/config.proto
package side_effects
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
// TKOConfig describes TKO connection params.
type TKOConfig struct {
// The connection to the TKO CloudSQL instance is done via cloud_sql_proxy.
// proxy_socket is the UNIX socket used by the cloud_sql_proxy.
ProxySocket string `protobuf:"bytes,1,opt,name=proxy_socket,proto3" json:"proxy_socket,omitempty"`
MysqlUser string `protobuf:"bytes,2,opt,name=mysql_user,proto3" json:"mysql_user,omitempty"`
// File containing the MySQL password. Populated from the encrypted password.
MysqlPasswordFile string `protobuf:"bytes,3,opt,name=mysql_password_file,proto3" json:"mysql_password_file,omitempty"`
// MySQL password encrypted using the Cloud KMS key and encoded as base64
// string.
EncryptedMysqlPassword string `protobuf:"bytes,4,opt,name=encrypted_mysql_password,proto3" json:"encrypted_mysql_password,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TKOConfig) Reset() { *m = TKOConfig{} }
func (m *TKOConfig) String() string { return proto.CompactTextString(m) }
func (*TKOConfig) ProtoMessage() {}
func (*TKOConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_8fdf5a17a3e842d5, []int{0}
}
func (m *TKOConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TKOConfig.Unmarshal(m, b)
}
func (m *TKOConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TKOConfig.Marshal(b, m, deterministic)
}
func (m *TKOConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_TKOConfig.Merge(m, src)
}
func (m *TKOConfig) XXX_Size() int {
return xxx_messageInfo_TKOConfig.Size(m)
}
func (m *TKOConfig) XXX_DiscardUnknown() {
xxx_messageInfo_TKOConfig.DiscardUnknown(m)
}
var xxx_messageInfo_TKOConfig proto.InternalMessageInfo
func (m *TKOConfig) GetProxySocket() string {
if m != nil {
return m.ProxySocket
}
return ""
}
func (m *TKOConfig) GetMysqlUser() string {
if m != nil {
return m.MysqlUser
}
return ""
}
func (m *TKOConfig) GetMysqlPasswordFile() string {
if m != nil {
return m.MysqlPasswordFile
}
return ""
}
func (m *TKOConfig) GetEncryptedMysqlPassword() string {
if m != nil {
return m.EncryptedMysqlPassword
}
return ""
}
// GoogleStorageConfig describes GS offloading params.
type GoogleStorageConfig struct {
// Google Storage bucket where the results will be offloaded.
// E.g. "chromeos-autotest-results".
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
// File containing the gsutil credentials, e.g. a key file of a service
// acccount.
CredentialsFile string `protobuf:"bytes,2,opt,name=credentials_file,proto3" json:"credentials_file,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GoogleStorageConfig) Reset() { *m = GoogleStorageConfig{} }
func (m *GoogleStorageConfig) String() string { return proto.CompactTextString(m) }
func (*GoogleStorageConfig) ProtoMessage() {}
func (*GoogleStorageConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_8fdf5a17a3e842d5, []int{1}
}
func (m *GoogleStorageConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GoogleStorageConfig.Unmarshal(m, b)
}
func (m *GoogleStorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GoogleStorageConfig.Marshal(b, m, deterministic)
}
func (m *GoogleStorageConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_GoogleStorageConfig.Merge(m, src)
}
func (m *GoogleStorageConfig) XXX_Size() int {
return xxx_messageInfo_GoogleStorageConfig.Size(m)
}
func (m *GoogleStorageConfig) XXX_DiscardUnknown() {
xxx_messageInfo_GoogleStorageConfig.DiscardUnknown(m)
}
var xxx_messageInfo_GoogleStorageConfig proto.InternalMessageInfo
func (m *GoogleStorageConfig) GetBucket() string {
if m != nil {
return m.Bucket
}
return ""
}
func (m *GoogleStorageConfig) GetCredentialsFile() string {
if m != nil {
return m.CredentialsFile
}
return ""
}
// ChromePerfConfig describes the params for uploading Chrome performance
// results to https://chromeperf.appspot.com. These results are displayed on
// the perf dashboard: go/crosbolt.
type ChromePerfConfig struct {
// Iff true, tko/parse uploads perf results to ChromePerf in addition to
// uploading results to TKO.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChromePerfConfig) Reset() { *m = ChromePerfConfig{} }
func (m *ChromePerfConfig) String() string { return proto.CompactTextString(m) }
func (*ChromePerfConfig) ProtoMessage() {}
func (*ChromePerfConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_8fdf5a17a3e842d5, []int{2}
}
func (m *ChromePerfConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChromePerfConfig.Unmarshal(m, b)
}
func (m *ChromePerfConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChromePerfConfig.Marshal(b, m, deterministic)
}
func (m *ChromePerfConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChromePerfConfig.Merge(m, src)
}
func (m *ChromePerfConfig) XXX_Size() int {
return xxx_messageInfo_ChromePerfConfig.Size(m)
}
func (m *ChromePerfConfig) XXX_DiscardUnknown() {
xxx_messageInfo_ChromePerfConfig.DiscardUnknown(m)
}
var xxx_messageInfo_ChromePerfConfig proto.InternalMessageInfo
func (m *ChromePerfConfig) GetEnabled() bool {
if m != nil {
return m.Enabled
}
return false
}
// CTSConfig describes CTS results offload params.
type CTSConfig struct {
// Iff true, gs_offloader offloads CTS results to CTS-specific locations
// in addition to regular offloading.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CTSConfig) Reset() { *m = CTSConfig{} }
func (m *CTSConfig) String() string { return proto.CompactTextString(m) }
func (*CTSConfig) ProtoMessage() {}
func (*CTSConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_8fdf5a17a3e842d5, []int{3}
}
func (m *CTSConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CTSConfig.Unmarshal(m, b)
}
func (m *CTSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CTSConfig.Marshal(b, m, deterministic)
}
func (m *CTSConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_CTSConfig.Merge(m, src)
}
func (m *CTSConfig) XXX_Size() int {
return xxx_messageInfo_CTSConfig.Size(m)
}
func (m *CTSConfig) XXX_DiscardUnknown() {
xxx_messageInfo_CTSConfig.DiscardUnknown(m)
}
var xxx_messageInfo_CTSConfig proto.InternalMessageInfo
func (m *CTSConfig) GetEnabled() bool {
if m != nil {
return m.Enabled
}
return false
}
// Config defines configuration for side effects.
type Config struct {
Tko *TKOConfig `protobuf:"bytes,1,opt,name=tko,proto3" json:"tko,omitempty"`
GoogleStorage *GoogleStorageConfig `protobuf:"bytes,2,opt,name=google_storage,proto3" json:"google_storage,omitempty"`
ChromePerf *ChromePerfConfig `protobuf:"bytes,3,opt,name=chrome_perf,proto3" json:"chrome_perf,omitempty"`
Cts *CTSConfig `protobuf:"bytes,4,opt,name=cts,proto3" json:"cts,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_8fdf5a17a3e842d5, []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) GetTko() *TKOConfig {
if m != nil {
return m.Tko
}
return nil
}
func (m *Config) GetGoogleStorage() *GoogleStorageConfig {
if m != nil {
return m.GoogleStorage
}
return nil
}
func (m *Config) GetChromePerf() *ChromePerfConfig {
if m != nil {
return m.ChromePerf
}
return nil
}
func (m *Config) GetCts() *CTSConfig {
if m != nil {
return m.Cts
}
return nil
}
func init() {
proto.RegisterType((*TKOConfig)(nil), "test_platform.side_effects.TKOConfig")
proto.RegisterType((*GoogleStorageConfig)(nil), "test_platform.side_effects.GoogleStorageConfig")
proto.RegisterType((*ChromePerfConfig)(nil), "test_platform.side_effects.ChromePerfConfig")
proto.RegisterType((*CTSConfig)(nil), "test_platform.side_effects.CTSConfig")
proto.RegisterType((*Config)(nil), "test_platform.side_effects.Config")
}
func init() {
proto.RegisterFile("test_platform/side_effects/config.proto", fileDescriptor_8fdf5a17a3e842d5)
}
var fileDescriptor_8fdf5a17a3e842d5 = []byte{
// 381 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xcf, 0x6a, 0xdb, 0x40,
0x10, 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