func (x *QuotaScope) UnmarshalJSON(b []byte) error {
	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
	if err != nil {
		return err
	}
	*x = QuotaScope(num)
	return nil
}
Deprecated: Do not use.
package pb
import (
	proto "github.com/golang/protobuf/proto"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)
const (
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
const _ = proto.ProtoPackageIsVersion4
type QuotaScope int32
const (
	QuotaScope_CLUSTER QuotaScope = 1
	QuotaScope_MACHINE QuotaScope = 2
)
var (
	QuotaScope_name = map[int32]string{
		1: "CLUSTER",
		2: "MACHINE",
	}
	QuotaScope_value = map[string]int32{
		"CLUSTER": 1,
		"MACHINE": 2,
	}
)
func (x QuotaScope) Enum() *QuotaScope {
	p := new(QuotaScope)
	*p = x
	return p
}
func (x QuotaScope) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (QuotaScope) Descriptor() protoreflect.EnumDescriptor {
	return file_Quota_proto_enumTypes[0].Descriptor()
}
func (QuotaScope) Type() protoreflect.EnumType {
	return &file_Quota_proto_enumTypes[0]
}
func (x QuotaScope) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}