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

package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // 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_resource_count_limit_exceeded_error_483ed17123eb8279, []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_resource_count_limit_exceeded_error_483ed17123eb8279, []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 (dst *ResourceCountLimitExceededErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Merge(dst, 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.RegisterType((*ResourceCountLimitExceededErrorEnum)(nil), "google.ads.googleads.v0.errors.ResourceCountLimitExceededErrorEnum")
	proto.RegisterEnum("google.ads.googleads.v0.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError", ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_value)
}

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

var fileDescriptor_resource_count_limit_exceeded_error_483ed17123eb8279 = []byte{
	// 411 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x6e, 0xd3, 0x30,
	0x1c, 0xc7, 0x69, 0x06, 0x1b, 0x78, 0x02, 0x32, 0x0b, 0x04, 0xd2, 0xd0, 0x26, 0x15, 0xce, 0x4e,
	0x24, 0x6e, 0xe6, 0xe4, 0xd9, 0x5e, 0x6a, 0xb1, 0x3a, 0x51, 0xfe, 0x74, 0x08, 0x55, 0xb2, 0x4a,
	0x63, 0x45, 0x95, 0xda, 0x7a, 0x8a, 0xdb, 0x89, 0x33, 0x8f, 0xc2, 0x71, 0x8f, 0xc2, 0xa3, 0xf0,
	0x12, 0xa0, 0xc4, 0x49, 0x38, 0xb1, 0x9d, 0xf2, 0xd5, 0x57, 0x1f, 0x7f, 0x1c, 0xfd, 0x7e, 0x06,
	0x93, 0xca, 0x98, 0x6a, 0xad, 0x83, 0x45, 0x69, 0x03, 0x17, 0x9b, 0x74, 0x1b, 0x06, 0xba, 0xae,
	0x4d, 0x6d, 0x83, 0x5a, 0x5b, 0xb3, 0xaf, 0x97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