// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/billing_setup_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 billing setup errors.
type BillingSetupErrorEnum_BillingSetupError int32

const (
	// Enum unspecified.
	BillingSetupErrorEnum_UNSPECIFIED BillingSetupErrorEnum_BillingSetupError = 0
	// The received error code is not known in this version.
	BillingSetupErrorEnum_UNKNOWN BillingSetupErrorEnum_BillingSetupError = 1
	// Cannot specify both an existing payments account and a new payments
	// account when setting up billing.
	BillingSetupErrorEnum_CANNOT_USE_EXISTING_AND_NEW_ACCOUNT BillingSetupErrorEnum_BillingSetupError = 2
	// Cannot cancel an approved billing setup whose start time has passed.
	BillingSetupErrorEnum_CANNOT_REMOVE_STARTED_BILLING_SETUP BillingSetupErrorEnum_BillingSetupError = 3
	// Cannot perform a Change of Bill-To (CBT) to the same payments account.
	BillingSetupErrorEnum_CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT BillingSetupErrorEnum_BillingSetupError = 4
	// Billing setups can only be used by customers with ENABLED or DRAFT
	// status.
	BillingSetupErrorEnum_BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS BillingSetupErrorEnum_BillingSetupError = 5
	// Billing setups must either include a correctly formatted existing
	// payments account id, or a non-empty new payments account name.
	BillingSetupErrorEnum_INVALID_PAYMENTS_ACCOUNT BillingSetupErrorEnum_BillingSetupError = 6
	// Only billable and third-party customers can create billing setups.
	BillingSetupErrorEnum_BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY BillingSetupErrorEnum_BillingSetupError = 7
	// Billing setup creations can only use NOW for start time type.
	BillingSetupErrorEnum_INVALID_START_TIME_TYPE BillingSetupErrorEnum_BillingSetupError = 8
	// Billing setups can only be created for a third-party customer if they do
	// not already have a setup.
	BillingSetupErrorEnum_THIRD_PARTY_ALREADY_HAS_BILLING BillingSetupErrorEnum_BillingSetupError = 9
	// Billing setups cannot be created if there is already a pending billing in
	// progress.
	BillingSetupErrorEnum_BILLING_SETUP_IN_PROGRESS BillingSetupErrorEnum_BillingSetupError = 10
	// Billing setups can only be created by customers who have permission to
	// setup billings. Users can contact a representative for help setting up
	// permissions.
	BillingSetupErrorEnum_NO_SIGNUP_PERMISSION BillingSetupErrorEnum_BillingSetupError = 11
	// Billing setups cannot be created if there is already a future-approved
	// billing.
	BillingSetupErrorEnum_CHANGE_OF_BILL_TO_IN_PROGRESS BillingSetupErrorEnum_BillingSetupError = 12
	// Requested payments profile not found.
	BillingSetupErrorEnum_PAYMENTS_PROFILE_NOT_FOUND BillingSetupErrorEnum_BillingSetupError = 13
	// Requested payments account not found.
	BillingSetupErrorEnum_PAYMENTS_ACCOUNT_NOT_FOUND BillingSetupErrorEnum_BillingSetupError = 14
	// Billing setup creation failed because the payments profile is ineligible.
	BillingSetupErrorEnum_PAYMENTS_PROFILE_INELIGIBLE BillingSetupErrorEnum_BillingSetupError = 15
	// Billing setup creation failed because the payments account is ineligible.
	BillingSetupErrorEnum_PAYMENTS_ACCOUNT_INELIGIBLE BillingSetupErrorEnum_BillingSetupError = 16
	// Billing setup creation failed because the payments profile needs internal
	// approval.
	BillingSetupErrorEnum_CUSTOMER_NEEDS_INTERNAL_APPROVAL BillingSetupErrorEnum_BillingSetupError = 17
	// Payments account has different currency code than the current customer
	// and hence cannot be used to setup billing.
	BillingSetupErrorEnum_PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH BillingSetupErrorEnum_BillingSetupError = 19
)

var BillingSetupErrorEnum_BillingSetupError_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "UNKNOWN",
	2:  "CANNOT_USE_EXISTING_AND_NEW_ACCOUNT",
	3:  "CANNOT_REMOVE_STARTED_BILLING_SETUP",
	4:  "CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT",
	5:  "BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS",
	6:  "INVALID_PAYMENTS_ACCOUNT",
	7:  "BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY",
	8:  "INVALID_START_TIME_TYPE",
	9:  "THIRD_PARTY_ALREADY_HAS_BILLING",
	10: "BILLING_SETUP_IN_PROGRESS",
	11: "NO_SIGNUP_PERMISSION",
	12: "CHANGE_OF_BILL_TO_IN_PROGRESS",
	13: "PAYMENTS_PROFILE_NOT_FOUND",
	14: "PAYMENTS_ACCOUNT_NOT_FOUND",
	15: "PAYMENTS_PROFILE_INELIGIBLE",
	16: "PAYMENTS_ACCOUNT_INELIGIBLE",
	17: "CUSTOMER_NEEDS_INTERNAL_APPROVAL",
	19: "PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH",
}

var BillingSetupErrorEnum_BillingSetupError_value = map[string]int32{
	"UNSPECIFIED":                                        0,
	"UNKNOWN":                                            1,
	"CANNOT_USE_EXISTING_AND_NEW_ACCOUNT":                2,
	"CANNOT_REMOVE_STARTED_BILLING_SETUP":                3,
	"CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT":     4,
	"BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS":    5,
	"INVALID_PAYMENTS_ACCOUNT":                           6,
	"BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY":  7,
	"INVALID_START_TIME_TYPE":                            8,
	"THIRD_PARTY_ALREADY_HAS_BILLING":                    9,
	"BILLING_SETUP_IN_PROGRESS":                          10,
	"NO_SIGNUP_PERMISSION":                               11,
	"CHANGE_OF_BILL_TO_IN_PROGRESS":                      12,
	"PAYMENTS_PROFILE_NOT_FOUND":                         13,
	"PAYMENTS_ACCOUNT_NOT_FOUND":                         14,
	"PAYMENTS_PROFILE_INELIGIBLE":                        15,
	"PAYMENTS_ACCOUNT_INELIGIBLE":                        16,
	"CUSTOMER_NEEDS_INTERNAL_APPROVAL":                   17,
	"PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH": 19,
}

func (x BillingSetupErrorEnum_BillingSetupError) String() string {
	return proto.EnumName(BillingSetupErrorEnum_BillingSetupError_name, int32(x))
}

func (BillingSetupErrorEnum_BillingSetupError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_ad919e3bbb1ef52f, []int{0, 0}
}

// Container for enum describing possible billing setup errors.
type BillingSetupErrorEnum struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_BillingSetupErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.BillingSetupErrorEnum_BillingSetupError", BillingSetupErrorEnum_BillingSetupError_name, BillingSetupErrorEnum_BillingSetupError_value)
	proto.RegisterType((*BillingSetupErrorEnum)(nil), "google.ads.googleads.v3.errors.BillingSetupErrorEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/errors/billing_setup_error.proto", fileDescriptor_ad919e3bbb1ef52f)
}

var fileDescriptor_ad919e3bbb1ef52f = []byte{
	// 617 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x6e, 0xd3, 0x4a,
	0x14, 0xc6, 0x6f, 0xd3, 0xdb, 0xf6, 0xde, 0x29, 0xd0, 0xe9, 0xf0, 0xaf, 0xf4, 0x2f, 0xa4, 0x48,
	0xec, 0x1c, 0xd1, 0x08, 0x84, 0xcc, 0x6a, 0x62, 0x9f, 0x38, 0x23, 0xec, 0x19, 0x6b, 0x66, 0x9c,
	0x12, 0x14, 0x69, 0x94, 0x92, 0x28, 0x8a, 0x94, 0xda, 0x51, 0x9c, 0xf6, 0x81, 0x58, 0xf2, 0x12,
	0xec, 0x79, 0x03, 0x5e, 0x81, 0x1d, 0x6f, 0x80, 0x6c, 0x27, 0x56, 0xa2, 0x88, 0x8a, 0x95, 0x8f,
	0x66, 0xbe, 0xef, 0x77, 0xe6, 0x1c, 0xf9, 0x43, 0xef, 0x86, 0x49, 0x32, 0x1c, 0x0f, 0x6a, 0xbd,
	0x7e, 0x5a, 0x2b, 0xca, 0xac, 0xba, 0xad, 0xd7, 0x06, 0xd3, 0x69, 0x32, 0x4d, 0x6b, 0x57, 0xa3,
	0xf1, 0x78, 0x14, 0x0f, 0x4d, 0x3a, 0x98, 0xdd, 0x4c, 0x4c, 0x7e, 0x68, 0x4d, 0xa6, 0xc9, 0x2c,
	0x21, 0xa7,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