| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/errors/customer_client_link_error.proto |
| |
| package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors" |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import _ "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.ProtoPackageIsVersion2 // please upgrade the proto package |
| |
| // Enum describing possible CustomerClientLink errors. |
| type CustomerClientLinkErrorEnum_CustomerClientLinkError int32 |
| |
| const ( |
| // Enum unspecified. |
| CustomerClientLinkErrorEnum_UNSPECIFIED CustomerClientLinkErrorEnum_CustomerClientLinkError = 0 |
| // The received error code is not known in this version. |
| CustomerClientLinkErrorEnum_UNKNOWN CustomerClientLinkErrorEnum_CustomerClientLinkError = 1 |
| // Trying to manage a client that already in being managed by customer. |
| CustomerClientLinkErrorEnum_CLIENT_ALREADY_INVITED_BY_THIS_MANAGER CustomerClientLinkErrorEnum_CustomerClientLinkError = 2 |
| // Already managed by some other manager in the hierarchy. |
| CustomerClientLinkErrorEnum_CLIENT_ALREADY_MANAGED_IN_HIERARCHY CustomerClientLinkErrorEnum_CustomerClientLinkError = 3 |
| // Attempt to create a cycle in the hierarchy. |
| CustomerClientLinkErrorEnum_CYCLIC_LINK_NOT_ALLOWED CustomerClientLinkErrorEnum_CustomerClientLinkError = 4 |
| // Managed accounts has the maximum number of linked accounts. |
| CustomerClientLinkErrorEnum_CUSTOMER_HAS_TOO_MANY_ACCOUNTS CustomerClientLinkErrorEnum_CustomerClientLinkError = 5 |
| // Invitor has the maximum pending invitations. |
| CustomerClientLinkErrorEnum_CLIENT_HAS_TOO_MANY_INVITATIONS CustomerClientLinkErrorEnum_CustomerClientLinkError = 6 |
| // Attempt to change hidden status of a link that is not active. |
| CustomerClientLinkErrorEnum_CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS CustomerClientLinkErrorEnum_CustomerClientLinkError = 7 |
| // Parent manager account has the maximum number of linked accounts. |
| CustomerClientLinkErrorEnum_CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER CustomerClientLinkErrorEnum_CustomerClientLinkError = 8 |
| ) |
| |
| var CustomerClientLinkErrorEnum_CustomerClientLinkError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "CLIENT_ALREADY_INVITED_BY_THIS_MANAGER", |
| 3: "CLIENT_ALREADY_MANAGED_IN_HIERARCHY", |
| 4: "CYCLIC_LINK_NOT_ALLOWED", |
| 5: "CUSTOMER_HAS_TOO_MANY_ACCOUNTS", |
| 6: "CLIENT_HAS_TOO_MANY_INVITATIONS", |
| 7: "CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS", |
| 8: "CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER", |
| } |
| var CustomerClientLinkErrorEnum_CustomerClientLinkError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "CLIENT_ALREADY_INVITED_BY_THIS_MANAGER": 2, |
| "CLIENT_ALREADY_MANAGED_IN_HIERARCHY": 3, |
| "CYCLIC_LINK_NOT_ALLOWED": 4, |
| "CUSTOMER_HAS_TOO_MANY_ACCOUNTS": 5, |
| "CLIENT_HAS_TOO_MANY_INVITATIONS": 6, |
| "CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS": 7, |
| "CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER": 8, |
| } |
| |
| func (x CustomerClientLinkErrorEnum_CustomerClientLinkError) String() string { |
| return proto.EnumName(CustomerClientLinkErrorEnum_CustomerClientLinkError_name, int32(x)) |
| } |
| func (CustomerClientLinkErrorEnum_CustomerClientLinkError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_customer_client_link_error_c03bfa9f5c874866, []int{0, 0} |
| } |
| |
| // Container for enum describing possible CustomeClientLink errors. |
| type CustomerClientLinkErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CustomerClientLinkErrorEnum) Reset() { *m = CustomerClientLinkErrorEnum{} } |
| func (m *CustomerClientLinkErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*CustomerClientLinkErrorEnum) ProtoMessage() {} |
| func (*CustomerClientLinkErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_customer_client_link_error_c03bfa9f5c874866, []int{0} |
| } |
| func (m *CustomerClientLinkErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CustomerClientLinkErrorEnum.Unmarshal(m, b) |
| } |
| func (m *CustomerClientLinkErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CustomerClientLinkErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (dst *CustomerClientLinkErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CustomerClientLinkErrorEnum.Merge(dst, src) |
| } |
| func (m *CustomerClientLinkErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_CustomerClientLinkErrorEnum.Size(m) |
| } |
| func (m *CustomerClientLinkErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_CustomerClientLinkErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CustomerClientLinkErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterType((*CustomerClientLinkErrorEnum)(nil), "google.ads.googleads.v1.errors.CustomerClientLinkErrorEnum") |
| proto.RegisterEnum("google.ads.googleads.v1.errors.CustomerClientLinkErrorEnum_CustomerClientLinkError", CustomerClientLinkErrorEnum_CustomerClientLinkError_name, CustomerClientLinkErrorEnum_CustomerClientLinkError_value) |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/errors/customer_client_link_error.proto", fileDescriptor_customer_client_link_error_c03bfa9f5c874866) |
| } |
| |
| var fileDescriptor_customer_client_link_error_c03bfa9f5c874866 = []byte{ |
| // 453 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4f, 0x6b, 0xd4, 0x40, |
| 0x14, 0x77, 0x53, 0x6d, 0x65, 0x7a, 0x30, 0xe4, 0x52, 0xb0, 0x65, 0x85, 0x14, 0x14, 0x05, 0x13, |
| 0x82, 0xb7, 0x78, 0x90, 0xd9, 0xc9, 0xb8, 0x19, 0x9a, 0x4e, 0x96, 0xfc, 0xd9, 0x12, 0x59, 0x78, |
| 0xc4, 0x4d, 0x08, 0xa1, 0xbb, 0x99, 0x25, 0x93, 0xf6, 0x03, 0x79, 0xf4, 0xa3, 0x08, 0x7e, 0x11, |
| 0xc1, 0xb3, 0x57, 0x49, 0x66, 0x77, 0xc5, 0xc2, 0xf6, 0x94, 0x1f, 0x79, 0xbf, 0x7f, 0xc9, 0x7b, |
| 0xe8, 0x53, 0x25, 0x44, 0xb5, 0x2a, 0xed, 0xbc, 0x90, 0xb6, 0x82, 0x3d, 0xba, 0x77, 0xec, 0xb2, |
| 0x6d, 0x45, 0x2b, 0xed, 0xe5, 0x9d, 0xec, 0xc4, 0xba, 0x6c, 0x61, 0xb9, 0xaa, 0xcb, 0xa6, 0x83, |
| 0x55, 0xdd, 0xdc, 0xc2, 0x30, 0xb3, 0x36, 0xad, 0xe8, 0x84, 0x31, 0x56, 0x2a, 0x2b, 0x2f, 0xa4, |
| 0xb5, 0x37, 0xb0, 0xee, 0x1d, 0x4b, 0x19, 0xbc, 0xbc, 0xd8, 0x05, 0x6c, 0x6a, 0x3b, 0x6f, 0x1a, |
| 0x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