1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/manager_link_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 ManagerLink errors.
type ManagerLinkErrorEnum_ManagerLinkError int32
const (
// Enum unspecified.
ManagerLinkErrorEnum_UNSPECIFIED ManagerLinkErrorEnum_ManagerLinkError = 0
// The received error code is not known in this version.
ManagerLinkErrorEnum_UNKNOWN ManagerLinkErrorEnum_ManagerLinkError = 1
// The manager and client have incompatible account types.
ManagerLinkErrorEnum_ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING ManagerLinkErrorEnum_ManagerLinkError = 2
// Client is already linked to too many managers.
ManagerLinkErrorEnum_TOO_MANY_MANAGERS ManagerLinkErrorEnum_ManagerLinkError = 3
// Manager has too many pending invitations.
ManagerLinkErrorEnum_TOO_MANY_INVITES ManagerLinkErrorEnum_ManagerLinkError = 4
// Client is already invited by this manager.
ManagerLinkErrorEnum_ALREADY_INVITED_BY_THIS_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 5
// The client is already managed by this manager.
ManagerLinkErrorEnum_ALREADY_MANAGED_BY_THIS_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 6
// Client is already managed in hierarchy.
ManagerLinkErrorEnum_ALREADY_MANAGED_IN_HIERARCHY ManagerLinkErrorEnum_ManagerLinkError = 7
// Manger and sub-manager to be linked have duplicate client.
ManagerLinkErrorEnum_DUPLICATE_CHILD_FOUND ManagerLinkErrorEnum_ManagerLinkError = 8
// Client has no active user that can access the client account.
ManagerLinkErrorEnum_CLIENT_HAS_NO_ADMIN_USER ManagerLinkErrorEnum_ManagerLinkError = 9
// Adding this link would exceed the maximum hierarchy depth.
ManagerLinkErrorEnum_MAX_DEPTH_EXCEEDED ManagerLinkErrorEnum_ManagerLinkError = 10
// Adding this link will create a cycle.
ManagerLinkErrorEnum_CYCLE_NOT_ALLOWED ManagerLinkErrorEnum_ManagerLinkError = 11
// Manager account has the maximum number of linked clients.
ManagerLinkErrorEnum_TOO_MANY_ACCOUNTS ManagerLinkErrorEnum_ManagerLinkError = 12
// Parent manager account has the maximum number of linked clients.
ManagerLinkErrorEnum_TOO_MANY_ACCOUNTS_AT_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 13
// The account is not authorized owner.
ManagerLinkErrorEnum_NON_OWNER_USER_CANNOT_MODIFY_LINK ManagerLinkErrorEnum_ManagerLinkError = 14
// Your manager account is suspended, and you are no longer allowed to link
// to clients.
ManagerLinkErrorEnum_SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS ManagerLinkErrorEnum_ManagerLinkError = 15
// You are not allowed to move a client to a manager that is not under your
// current hierarchy.
ManagerLinkErrorEnum_CLIENT_OUTSIDE_TREE ManagerLinkErrorEnum_ManagerLinkError = 16
)
var ManagerLinkErrorEnum_ManagerLinkError_name = map[int32]string{
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING",
3: "TOO_MANY_MANAGERS",
4: "TOO_MANY_INVITES",
5: "ALREADY_INVITED_BY_THIS_MANAGER",
6: "ALREADY_MANAGED_BY_THIS_MANAGER",
7: "ALREADY_MANAGED_IN_HIERARCHY",
8: "DUPLICATE_CHILD_FOUND",
9: "CLIENT_HAS_NO_ADMIN_USER",
10: "MAX_DEPTH_EXCEEDED",
11: "CYCLE_NOT_ALLOWED",
12: "TOO_MANY_ACCOUNTS",
13: "TOO_MANY_ACCOUNTS_AT_MANAGER",
14: "NON_OWNER_USER_CANNOT_MODIFY_LINK",
15: "SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS",
16: "CLIENT_OUTSIDE_TREE",
}
var ManagerLinkErrorEnum_ManagerLinkError_value = map[string]int32{
"UNSPECIFIED": 0,
"UNKNOWN": 1,
"ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING": 2,
"TOO_MANY_MANAGERS": 3,
"TOO_MANY_INVITES": 4,
"ALREADY_INVITED_BY_THIS_MANAGER": 5,
"ALREADY_MANAGED_BY_THIS_MANAGER": 6,
"ALREADY_MANAGED_IN_HIERARCHY": 7,
"DUPLICATE_CHILD_FOUND": 8,
"CLIENT_HAS_NO_ADMIN_USER": 9,
"MAX_DEPTH_EXCEEDED": 10,
"CYCLE_NOT_ALLOWED": 11,
"TOO_MANY_ACCOUNTS": 12,
"TOO_MANY_ACCOUNTS_AT_MANAGER": 13,
"NON_OWNER_USER_CANNOT_MODIFY_LINK": 14,
"SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS": 15,
"CLIENT_OUTSIDE_TREE": 16,
}
func (x ManagerLinkErrorEnum_ManagerLinkError) String() string {
return proto.EnumName(ManagerLinkErrorEnum_ManagerLinkError_name, int32(x))
}
func (ManagerLinkErrorEnum_ManagerLinkError) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_aba35d6dfea2fe63, []int{0, 0}
}
// Container for enum describing possible ManagerLink errors.
type ManagerLinkErrorEnum struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManagerLinkErrorEnum) Reset() { *m = ManagerLinkErrorEnum{} }
func (m *ManagerLinkErrorEnum) String() string { return proto.CompactTextString(m) }
func (*ManagerLinkErrorEnum) ProtoMessage() {}
func (*ManagerLinkErrorEnum) Descriptor() ([]byte, []int) {
return fileDescriptor_aba35d6dfea2fe63, []int{0}
}
func (m *ManagerLinkErrorEnum) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManagerLinkErrorEnum.Unmarshal(m, b)
}
func (m *ManagerLinkErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManagerLinkErrorEnum.Marshal(b, m, deterministic)
}
func (m *ManagerLinkErrorEnum) XXX_Merge(src proto.Message) {
xxx_messageInfo_ManagerLinkErrorEnum.Merge(m, src)
}
func (m *ManagerLinkErrorEnum) XXX_Size() int {
return xxx_messageInfo_ManagerLinkErrorEnum.Size(m)
}
func (m *ManagerLinkErrorEnum) XXX_DiscardUnknown() {
xxx_messageInfo_ManagerLinkErrorEnum.DiscardUnknown(m)
}
var xxx_messageInfo_ManagerLinkErrorEnum proto.InternalMessageInfo
func init() {
proto.RegisterEnum("google.ads.googleads.v3.errors.ManagerLinkErrorEnum_ManagerLinkError", ManagerLinkErrorEnum_ManagerLinkError_name, ManagerLinkErrorEnum_ManagerLinkError_value)
proto.RegisterType((*ManagerLinkErrorEnum)(nil), "google.ads.googleads.v3.errors.ManagerLinkErrorEnum")
}
func init() {
proto.RegisterFile("google/ads/googleads/v3/errors/manager_link_error.proto", fileDescriptor_aba35d6dfea2fe63)
}
var fileDescriptor_aba35d6dfea2fe63 = []byte{
// 556 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 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