| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: go.chromium.org/luci/buildbucket/proto/service_config.proto |
| |
| package buildbucketpb |
| |
| 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 |
| |
| // Schema of settings.cfg file, a service config. |
| type SettingsCfg struct { |
| // Swarmbucket settings. |
| Swarming *SwarmingSettings `protobuf:"bytes,1,opt,name=swarming,proto3" json:"swarming,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SettingsCfg) Reset() { *m = SettingsCfg{} } |
| func (m *SettingsCfg) String() string { return proto.CompactTextString(m) } |
| func (*SettingsCfg) ProtoMessage() {} |
| func (*SettingsCfg) Descriptor() ([]byte, []int) { |
| return fileDescriptor_4e08a93b642b6ff2, []int{0} |
| } |
| |
| func (m *SettingsCfg) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SettingsCfg.Unmarshal(m, b) |
| } |
| func (m *SettingsCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SettingsCfg.Marshal(b, m, deterministic) |
| } |
| func (m *SettingsCfg) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SettingsCfg.Merge(m, src) |
| } |
| func (m *SettingsCfg) XXX_Size() int { |
| return xxx_messageInfo_SettingsCfg.Size(m) |
| } |
| func (m *SettingsCfg) XXX_DiscardUnknown() { |
| xxx_messageInfo_SettingsCfg.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SettingsCfg proto.InternalMessageInfo |
| |
| func (m *SettingsCfg) GetSwarming() *SwarmingSettings { |
| if m != nil { |
| return m.Swarming |
| } |
| return nil |
| } |
| |
| // Swarmbucket settings. |
| type SwarmingSettings struct { |
| // Swarmbucket build URLs will point to this Milo instance. |
| MiloHostname string `protobuf:"bytes,2,opt,name=milo_hostname,json=miloHostname,proto3" json:"milo_hostname,omitempty"` |
| // Default value of swarming.task_template_canary_percentage field in |
| // cr-buildbucket.cfg files. |
| DefaultTaskTemplateCanaryPercentage int32 `protobuf:"varint,3,opt,name=default_task_template_canary_percentage,json=defaultTaskTemplateCanaryPercentage,proto3" json:"default_task_template_canary_percentage,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SwarmingSettings) Reset() { *m = SwarmingSettings{} } |
| func (m *SwarmingSettings) String() string { return proto.CompactTextString(m) } |
| func (*SwarmingSettings) ProtoMessage() {} |
| func (*SwarmingSettings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_4e08a93b642b6ff2, []int{1} |
| } |
| |
| func (m *SwarmingSettings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SwarmingSettings.Unmarshal(m, b) |
| } |
| func (m *SwarmingSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SwarmingSettings.Marshal(b, m, deterministic) |
| } |
| func (m *SwarmingSettings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SwarmingSettings.Merge(m, src) |
| } |
| func (m *SwarmingSettings) XXX_Size() int { |
| return xxx_messageInfo_SwarmingSettings.Size(m) |
| } |
| func (m *SwarmingSettings) XXX_DiscardUnknown() { |
| xxx_messageInfo_SwarmingSettings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SwarmingSettings proto.InternalMessageInfo |
| |
| func (m *SwarmingSettings) GetMiloHostname() string { |
| if m != nil { |
| return m.MiloHostname |
| } |
| return "" |
| } |
| |
| func (m *SwarmingSettings) GetDefaultTaskTemplateCanaryPercentage() int32 { |
| if m != nil { |
| return m.DefaultTaskTemplateCanaryPercentage |
| } |
| return 0 |
| } |
| |
| func init() { |
| proto.RegisterType((*SettingsCfg)(nil), "buildbucket.SettingsCfg") |
| proto.RegisterType((*SwarmingSettings)(nil), "buildbucket.SwarmingSettings") |
| } |
| |
| func init() { |
| proto.RegisterFile("go.chromium.org/luci/buildbucket/proto/service_config.proto", fileDescriptor_4e08a93b642b6ff2) |
| } |
| |
| var fileDescriptor_4e08a93b642b6ff2 = []byte{ |
| // 250 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd0, 0x4f, 0x4b, 0xc3, 0x30, |
| 0x18, 0xc7, 0x71, 0x32, 0xff, 0x30, 0x53, 0x85, 0xd1, 0x53, 0x2f, 0x42, 0xd9, 0x0e, 0xf6, 0xd4, |
| 0x82, 0x8a, 0x20, 0xbb, 0xb9, 0xcb, 0xf0, 0x24, 0x5d, 0x4f, 0x5e, 0x42, 0x9a, 0x3d, 0xcd, 0x42, |
| 0x9b, 0xa4, 0x24, 0x4f, 0x14, 0x5f, 0x87, 0x6f, 0x58, 0x2c, 0x75, 0x14, 0x4f, 0xbb, 0x7e, 0x7f, |
| 0x9f, 0xe7, 0xf2, 0xd0, 0xb5, 0xb4, 0xb9, 0x38, 0x38, 0xab, 0x55, 0xd0, 0xb9, 0x75, 0xb2, 0xe8, |
| 0x82, 0x50, 0x45, 0x1d, 0x54, 0xb7, 0xaf, 0x83, 0x68, 0x01, 0x8b, 0xde, 0x59, 0xb4, 0x85, 0x07, |
| 0xf7, 0xa1, 0x04, 0x30, 0x61, 0x4d, 0xa3, 0x64, 0x3e, 0xc4, 0x38, 0x9a, 0xb8, 0xe5, 0x96, 0x46, |
| 0x3b, 0x40, 0x54, 0x46, 0xfa, 0x4d, 0x23, 0xe3, 0x67, 0x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