blob: a012f49dca4c30778718c2b186e5941ec72791e7 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/gce/api/projects/v1/config.proto
package projects
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
_ "go.chromium.org/luci/common/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
// A config for a GCP project to report GCE quota utilization for.
type Config struct {
// The names of GCE quota metrics to report.
// https://cloud.google.com/compute/docs/reference/rest/v1/regions/list.
Metric []string `protobuf:"bytes,1,rep,name=metric,proto3" json:"metric,omitempty"`
// The name of a GCP project to report GCE quota utilization for.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// The names of GCE regions to report.
// https://cloud.google.com/compute/docs/reference/rest/v1/regions/list.
Region []string `protobuf:"bytes,3,rep,name=region,proto3" json:"region,omitempty"`
// Should only be set by the server. The revision of this config.
Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,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_6a829625d46c6b44, []int{0}
}
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) GetMetric() []string {
if m != nil {
return m.Metric
}
return nil
}
func (m *Config) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *Config) GetRegion() []string {
if m != nil {
return m.Region
}
return nil
}
func (m *Config) GetRevision() string {
if m != nil {
return m.Revision
}
return ""
}
// A config for several projects to report GCE quota utilization for.
type Configs struct {
// The projects to report GCE quota utilization for.
Project []*Config `protobuf:"bytes,1,rep,name=project,proto3" json:"project,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Configs) Reset() { *m = Configs{} }
func (m *Configs) String() string { return proto.CompactTextString(m) }
func (*Configs) ProtoMessage() {}
func (*Configs) Descriptor() ([]byte, []int) {
return fileDescriptor_6a829625d46c6b44, []int{1}
}
func (m *Configs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Configs.Unmarshal(m, b)
}
func (m *Configs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Configs.Marshal(b, m, deterministic)
}
func (m *Configs) XXX_Merge(src proto.Message) {
xxx_messageInfo_Configs.Merge(m, src)
}
func (m *Configs) XXX_Size() int {
return xxx_messageInfo_Configs.Size(m)
}
func (m *Configs) XXX_DiscardUnknown() {
xxx_messageInfo_Configs.DiscardUnknown(m)
}
var xxx_messageInfo_Configs proto.InternalMessageInfo
func (m *Configs) GetProject() []*Config {
if m != nil {
return m.Project
}
return nil
}
func init() {
proto.RegisterType((*Config)(nil), "projects.Config")
proto.RegisterType((*Configs)(nil), "projects.Configs")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/gce/api/projects/v1/config.proto", fileDescriptor_6a829625d46c6b44)
}
var fileDescriptor_6a829625d46c6b44 = []byte{
// 253 bytes of a gzipped FileDescriptorProto
0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