// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/errors/resource_count_limit_exceeded_error.proto

package errors

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	_ "google.golang.org/genproto/googleapis/api/annotations"
)

// 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

// Enum describing possible resource count limit exceeded errors.
type ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError int32

const (
	// Enum unspecified.
	ResourceCountLimitExceededErrorEnum_UNSPECIFIED ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 0
	// The received error code is not known in this version.
	ResourceCountLimitExceededErrorEnum_UNKNOWN ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 1
	// Indicates that this request would exceed the number of allowed resources
	// for the Google Ads account. The exact resource type and limit being
	// checked can be inferred from accountLimitType.
	ResourceCountLimitExceededErrorEnum_ACCOUNT_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 2
	// Indicates that this request would exceed the number of allowed resources
	// in a Campaign. The exact resource type and limit being checked can be
	// inferred from accountLimitType, and the numeric id of the
	// Campaign involved is given by enclosingId.
	ResourceCountLimitExceededErrorEnum_CAMPAIGN_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 3
	// Indicates that this request would exceed the number of allowed resources
	// in an ad group. The exact resource type and limit being checked can be
	// inferred from accountLimitType, and the numeric id of the
	// ad group involved is given by enclosingId.
	ResourceCountLimitExceededErrorEnum_ADGROUP_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 4
	// Indicates that this request would exceed the number of allowed resources
	// in an ad group ad. The exact resource type and limit being checked can
	// be inferred from accountLimitType, and the enclosingId
	// contains the ad group id followed by the ad id, separated by a single
	// comma (,).
	ResourceCountLimitExceededErrorEnum_AD_GROUP_AD_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 5
	// Indicates that this request would exceed the number of allowed resources
	// in an ad group criterion. The exact resource type and limit being checked
	// can be inferred from accountLimitType, and the
	// enclosingId contains the ad group id followed by the
	// criterion id, separated by a single comma (,).
	ResourceCountLimitExceededErrorEnum_AD_GROUP_CRITERION_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 6
	// Indicates that this request would exceed the number of allowed resources
	// in this shared set. The exact resource type and limit being checked can
	// be inferred from accountLimitType, and the numeric id of the
	// shared set involved is given by enclosingId.
	ResourceCountLimitExceededErrorEnum_SHARED_SET_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 7
	// Exceeds a limit related to a matching function.
	ResourceCountLimitExceededErrorEnum_MATCHING_FUNCTION_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 8
	// The response for this request would exceed the maximum number of rows
	// that can be returned.
	ResourceCountLimitExceededErrorEnum_RESPONSE_ROW_LIMIT_EXCEEDED ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 9
)

var ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "ACCOUNT_LIMIT",
	3: "CAMPAIGN_LIMIT",
	4: "ADGROUP_LIMIT",
	5: "AD_GROUP_AD_LIMIT",
	6: "AD_GROUP_CRITERION_LIMIT",
	7: "SHARED_SET_LIMIT",
	8: "MATCHING_FUNCTION_LIMIT",
	9: "RESPONSE_ROW_LIMIT_EXCEEDED",
}

var ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_value = map[string]int32{
	"UNSPECIFIED":                 0,
	"UNKNOWN":                     1,
	"ACCOUNT_LIMIT":               2,
	"CAMPAIGN_LIMIT":              3,
	"ADGROUP_LIMIT":               4,
	"AD_GROUP_AD_LIMIT":           5,
	"AD_GROUP_CRITERION_LIMIT":    6,
	"SHARED_SET_LIMIT":            7,
	"MATCHING_FUNCTION_LIMIT":     8,
	"RESPONSE_ROW_LIMIT_EXCEEDED": 9,
}

func (x ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError) String() string {
	return proto.EnumName(ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, int32(x))
}

func (ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_baf533b61e178968, []int{0, 0}
}

// Container for enum describing possible resource count limit exceeded errors.
type ResourceCountLimitExceededErrorEnum struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ResourceCountLimitExceededErrorEnum) Reset()         { *m = ResourceCountLimitExceededErrorEnum{} }
func (m *ResourceCountLimitExceededErrorEnum) String() string { return proto.CompactTextString(m) }
func (*ResourceCountLimitExceededErrorEnum) ProtoMessage()    {}
func (*ResourceCountLimitExceededErrorEnum) Descriptor() ([]byte, []int) {
	return fileDescriptor_baf533b61e178968, []int{0}
}

func (m *ResourceCountLimitExceededErrorEnum) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Unmarshal(m, b)
}
func (m *ResourceCountLimitExceededErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Marshal(b, m, deterministic)
}
func (m *ResourceCountLimitExceededErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Merge(m, src)
}
func (m *ResourceCountLimitExceededErrorEnum) XXX_Size() int {
	return xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Size(m)
}
func (m *ResourceCountLimitExceededErrorEnum) XXX_DiscardUnknown() {
	xxx_messageInfo_ResourceCountLimitExceededErrorEnum.DiscardUnknown(m)
}

var xxx_messageInfo_ResourceCountLimitExceededErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v1.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError", ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_value)
	proto.RegisterType((*ResourceCountLimitExceededErrorEnum)(nil), "google.ads.googleads.v1.errors.ResourceCountLimitExceededErrorEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v1/errors/resource_count_limit_exceeded_error.proto", fileDescriptor_baf533b61e178968)
}

var fileDescriptor_baf533b61e178968 = []byte{
	// 428 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xdf, 0x6a, 0xd4, 0x40,
	0x18, 0xc5, 0xdd, 0x54, 0x5b, 0x9d, 0xa2, 0xa6, 0x83, 0xa2, 0xd8, 0xd2, 0xc2, 0xea, 0xf5, 0x84,
	0xe0, 0x5d, 0xbc, 0x9a, 0x4e, 0xa6, 0xd9, 0xc1, 0xee, 0x24, 0xe4, 0xcf, 0x56, 0x64, 0x61, 0x88,
	0x9b, 0x21, 0x04, 0x76, 0x33, 0x4b, 0x26, 0x5b, 0xbc, 0xf6, 0x51, 0xbc, 0xec, 0xa3, 0xf8, 0x28,
	0xbe, 0x84, 0x92, 0x4c, 0xb2, 0x5e, 0xd9, 0x5e, 0xe5, 0x70, 0xf8, 0x7d, 0xe7, 0x84, 0x6f, 0x3e,
	0x30, 0x2b, 0x95, 0x2a, 0xd7, 0xd2, 0xc9, 0x0b, 0xed, 0x18, 0xd9, 0xa9, 0x5b, 0xd7, 0x91, 0x4d,
	0xa3, 0x1a, 0xed, 0x34, 0x52, 0xab, 0x5d, 0xb3, 0x92, 0x62, 0xa5, 0x76, 0x75, 0x2b, 0xd6, 0xd5,
	0xa6, 0x6a, 0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