blob: 027e199170b62af53ee1ff06e5ebdc3a3a3dada9 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/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
// This request would exceed a limit on the number of allowed resources.
// The details of which type of limit was exceeded will eventually be
// returned in ErrorDetails.
ResourceCountLimitExceededErrorEnum_RESOURCE_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 10
)
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",
10: "RESOURCE_LIMIT",
}
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,
"RESOURCE_LIMIT": 10,
}
func (x ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError) String() string {
return proto.EnumName(ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, int32(x))
}
func (ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_637849f04cc1d370, []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_637849f04cc1d370, []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.v3.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError", ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_value)
proto.RegisterType((*ResourceCountLimitExceededErrorEnum)(nil), "google.ads.googleads.v3.errors.ResourceCountLimitExceededErrorEnum")
}
func init() {
proto.RegisterFile("google/ads/googleads/v3/errors/resource_count_limit_exceeded_error.proto", fileDescriptor_637849f04cc1d370)
}
var fileDescriptor_637849f04cc1d370 = []byte{
// 440 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xd1, 0x6e, 0xd3, 0x30,
0x18, 0x85, 0x69, 0x06, 0x1b, 0x78, 0x02, 0x32, 0x0b, 0x04, 0x62, 0xd3, 0x26, 0x15, 0xae, 0x9d,
0x8b, 0xdc, 0x85, 0x2b, 0xcf, 0xf1, 0xd2, 0x88, 0xd5, 0x89, 0x9c, 0xa4, 0x43, 0xa8, 0x92, 0x15,
0x1a, 0x2b, 0x8a, 0xd4, 0xc6, 0x55, 0x9c, 0x4e, 0x3c, 0x09, 0x0f, 0xc0, 0x25, 0x0f, 0xc1, 0x03,
0xf0, 0x28, 0xbc, 0x04, 0x28, 0x71, 0x52, 0xae, 0xa0, 0x57, 0xf9, 0x75, 0xf4, 0x9d, 0x73, 0xac,
0xfc, 0x3f, 0x98, 0x95, 0x4a, 0x95, 0x6b, 0xe9, 0xe4, 0x85, 0x76, 0xcc, 0xd8, 0x4d, 0xf7, 0xae,
0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