blob: 0eddc0568a0f48c2f9f3c6b42dae3530e1bee0ce [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/dm/api/distributor/distributor.proto
package distributor
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
jobsim "go.chromium.org/luci/dm/api/distributor/jobsim"
v1 "go.chromium.org/luci/dm/api/distributor/swarming/v1"
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
type Alias struct {
OtherConfig string `protobuf:"bytes,1,opt,name=other_config,json=otherConfig,proto3" json:"other_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Alias) Reset() { *m = Alias{} }
func (m *Alias) String() string { return proto.CompactTextString(m) }
func (*Alias) ProtoMessage() {}
func (*Alias) Descriptor() ([]byte, []int) {
return fileDescriptor_ae589283bac413cb, []int{0}
}
func (m *Alias) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Alias.Unmarshal(m, b)
}
func (m *Alias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Alias.Marshal(b, m, deterministic)
}
func (m *Alias) XXX_Merge(src proto.Message) {
xxx_messageInfo_Alias.Merge(m, src)
}
func (m *Alias) XXX_Size() int {
return xxx_messageInfo_Alias.Size(m)
}
func (m *Alias) XXX_DiscardUnknown() {
xxx_messageInfo_Alias.DiscardUnknown(m)
}
var xxx_messageInfo_Alias proto.InternalMessageInfo
func (m *Alias) GetOtherConfig() string {
if m != nil {
return m.OtherConfig
}
return ""
}
type Distributor struct {
// TODO(iannucci): Maybe something like Any or extensions would be a better
// fit here? The ultimate goal is that users will be able to use the proto
// text format for luci-config. I suspect that Any or extensions would lose
// the ability to validate such text-formatted protobufs, but maybe that's
// not the case.
//
// Types that are valid to be assigned to DistributorType:
// *Distributor_Alias
// *Distributor_SwarmingV1
// *Distributor_Jobsim
DistributorType isDistributor_DistributorType `protobuf_oneof:"distributor_type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Distributor) Reset() { *m = Distributor{} }
func (m *Distributor) String() string { return proto.CompactTextString(m) }
func (*Distributor) ProtoMessage() {}
func (*Distributor) Descriptor() ([]byte, []int) {
return fileDescriptor_ae589283bac413cb, []int{1}
}
func (m *Distributor) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Distributor.Unmarshal(m, b)
}
func (m *Distributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Distributor.Marshal(b, m, deterministic)
}
func (m *Distributor) XXX_Merge(src proto.Message) {
xxx_messageInfo_Distributor.Merge(m, src)
}
func (m *Distributor) XXX_Size() int {
return xxx_messageInfo_Distributor.Size(m)
}
func (m *Distributor) XXX_DiscardUnknown() {
xxx_messageInfo_Distributor.DiscardUnknown(m)
}
var xxx_messageInfo_Distributor proto.InternalMessageInfo
type isDistributor_DistributorType interface {
isDistributor_DistributorType()
}
type Distributor_Alias struct {
Alias *Alias `protobuf:"bytes,1,opt,name=alias,proto3,oneof"`
}
type Distributor_SwarmingV1 struct {
SwarmingV1 *v1.Config `protobuf:"bytes,4,opt,name=swarming_v1,json=swarmingV1,proto3,oneof"`
}
type Distributor_Jobsim struct {
Jobsim *jobsim.Config `protobuf:"bytes,2048,opt,name=jobsim,proto3,oneof"`
}
func (*Distributor_Alias) isDistributor_DistributorType() {}
func (*Distributor_SwarmingV1) isDistributor_DistributorType() {}
func (*Distributor_Jobsim) isDistributor_DistributorType() {}
func (m *Distributor) GetDistributorType() isDistributor_DistributorType {
if m != nil {
return m.DistributorType
}
return nil
}
func (m *Distributor) GetAlias() *Alias {
if x, ok := m.GetDistributorType().(*Distributor_Alias); ok {
return x.Alias
}
return nil
}
func (m *Distributor) GetSwarmingV1() *v1.Config {
if x, ok := m.GetDistributorType().(*Distributor_SwarmingV1); ok {
return x.SwarmingV1
}
return nil
}
func (m *Distributor) GetJobsim() *jobsim.Config {
if x, ok := m.GetDistributorType().(*Distributor_Jobsim); ok {
return x.Jobsim
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Distributor) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Distributor_Alias)(nil),
(*Distributor_SwarmingV1)(nil),
(*Distributor_Jobsim)(nil),
}
}
type Config struct {
DistributorConfigs map[string]*Distributor `protobuf:"bytes,1,rep,name=distributor_configs,json=distributorConfigs,proto3" json:"distributor_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
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_ae589283bac413cb, []int{2}
}
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) GetDistributorConfigs() map[string]*Distributor {
if m != nil {
return m.DistributorConfigs
}
return nil
}
func init() {
proto.RegisterType((*Alias)(nil), "distributor.Alias")
proto.RegisterType((*Distributor)(nil), "distributor.Distributor")
proto.RegisterType((*Config)(nil), "distributor.Config")
proto.RegisterMapType((map[string]*Distributor)(nil), "distributor.Config.DistributorConfigsEntry")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/dm/api/distributor/distributor.proto", fileDescriptor_ae589283bac413cb)
}
var fileDescriptor_ae589283bac413cb = []byte{
// 334 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xc3, 0x30,
0x18, 0xc6, 0xd7, 0xb5, 0x1b, 0xf3, 0x8d, 0x48, 0x89, 0x07, 0xcb, 0x4e, 0xba, 0xd3, 0x9c, 0x90,
0xb0, 0x89, 0xe0, 0x9f, 0x8b, 0x7f, 0x61, 0xec, 0xd8, 0x83, 0x27, 0xa1, 0x74, 0x5b, 0xed, 0xa2,
0xeb, 0x52, 0xd2, 0xb4, 0xd2, 0x9b, 0xdf, 0xcb, 0x0f, 0xe0, 0xd7, 0x92, 0x26, 0x9d, 0xcb, 0x10,
0x61, 0xa7, 0x86, 0x27, 0xcf, 0xf3, 0xbc, 0xfd, 0xbd, 0x81, 0xab, 0x98, 0x93, 0xd9, 0x42, 0xf0,
0x84, 0xe5, 0x09, 0xe1, 0x22, 0xa6, 0xcb, 0x7c, 0xc6, 0xe8, 0x3c, 0xa1, 0x61, 0xca, 0xe8, 0x9c,
0x65, 0x52, 0xb0, 0x69, 0x2e, 0xb9, 0x30, 0xcf, 0x24, 0x15, 0x5c, 0x72, 0x8c, 0x0c, 0xa9, 0x7b,
0xb3, 0x6b, 0xcf, 0x1b, 0x9f, 0x66, 0x2c, 0xa9, 0x3f, 0xba, 0xa9, 0x7b, 0xbb, 0x6b, 0x38, 0xfb,
0x08, 0x45, 0xc2, 0x56, 0x31, 0x2d, 0x86, 0x74, 0xc6, 0x57, 0xaf, 0x2c, 0xd6, 0x0d, 0xbd, 0x01,
0xb4, 0xee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