Enum Class ManagerLinkErrorEnum.ManagerLinkError
java.lang.Object
java.lang.Enum<ManagerLinkErrorEnum.ManagerLinkError>
com.google.ads.googleads.v18.errors.ManagerLinkErrorEnum.ManagerLinkError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ManagerLinkErrorEnum.ManagerLinkError>,Constable
- Enclosing class:
- ManagerLinkErrorEnum
public static enum ManagerLinkErrorEnum.ManagerLinkError
extends Enum<ManagerLinkErrorEnum.ManagerLinkError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible ManagerLink errors.Protobuf enum
google.ads.googleads.v18.errors.ManagerLinkErrorEnum.ManagerLinkError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe manager and client have incompatible account types.Client is already invited by this manager.The client is already managed by this manager.Client is already managed in hierarchy.Client has no active user that can access the client account.You are not allowed to move a client to a manager that is not under your current hierarchy.The link was created with status ACTIVE and not PENDING.You are not allowed to link a manager account to itself.Adding this link will create a cycle.Manager and sub-manager to be linked have duplicate client.The change for mutate link is invalid.The changed status for mutate link is invalid.Adding this link would exceed the maximum hierarchy depth.The account is not authorized owner.Your manager account is suspended, and you are no longer allowed to link to clients.Manager account has the maximum number of linked clients.Parent manager account has the maximum number of linked clients.Manager has too many pending invitations.Client is already linked to too many managers.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe manager and client have incompatible account types.static final intClient is already invited by this manager.static final intThe client is already managed by this manager.static final intClient is already managed in hierarchy.static final intClient has no active user that can access the client account.static final intYou are not allowed to move a client to a manager that is not under your current hierarchy.static final intThe link was created with status ACTIVE and not PENDING.static final intYou are not allowed to link a manager account to itself.static final intAdding this link will create a cycle.static final intManager and sub-manager to be linked have duplicate client.static final intThe change for mutate link is invalid.static final intThe changed status for mutate link is invalid.static final intAdding this link would exceed the maximum hierarchy depth.static final intThe account is not authorized owner.static final intYour manager account is suspended, and you are no longer allowed to link to clients.static final intParent manager account has the maximum number of linked clients.static final intManager account has the maximum number of linked clients.static final intManager has too many pending invitations.static final intClient is already linked to too many managers.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ManagerLinkErrorEnum.ManagerLinkError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING
The manager and client have incompatible account types.
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2; -
TOO_MANY_MANAGERS
Client is already linked to too many managers.
TOO_MANY_MANAGERS = 3; -
TOO_MANY_INVITES
Manager has too many pending invitations.
TOO_MANY_INVITES = 4; -
ALREADY_INVITED_BY_THIS_MANAGER
Client is already invited by this manager.
ALREADY_INVITED_BY_THIS_MANAGER = 5; -
ALREADY_MANAGED_BY_THIS_MANAGER
The client is already managed by this manager.
ALREADY_MANAGED_BY_THIS_MANAGER = 6; -
ALREADY_MANAGED_IN_HIERARCHY
Client is already managed in hierarchy.
ALREADY_MANAGED_IN_HIERARCHY = 7; -
DUPLICATE_CHILD_FOUND
Manager and sub-manager to be linked have duplicate client.
DUPLICATE_CHILD_FOUND = 8; -
CLIENT_HAS_NO_ADMIN_USER
Client has no active user that can access the client account.
CLIENT_HAS_NO_ADMIN_USER = 9; -
MAX_DEPTH_EXCEEDED
Adding this link would exceed the maximum hierarchy depth.
MAX_DEPTH_EXCEEDED = 10; -
CYCLE_NOT_ALLOWED
Adding this link will create a cycle.
CYCLE_NOT_ALLOWED = 11; -
TOO_MANY_ACCOUNTS
Manager account has the maximum number of linked clients.
TOO_MANY_ACCOUNTS = 12; -
TOO_MANY_ACCOUNTS_AT_MANAGER
Parent manager account has the maximum number of linked clients.
TOO_MANY_ACCOUNTS_AT_MANAGER = 13; -
NON_OWNER_USER_CANNOT_MODIFY_LINK
The account is not authorized owner.
NON_OWNER_USER_CANNOT_MODIFY_LINK = 14; -
SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS
Your manager account is suspended, and you are no longer allowed to link to clients.
SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15; -
CLIENT_OUTSIDE_TREE
You are not allowed to move a client to a manager that is not under your current hierarchy.
CLIENT_OUTSIDE_TREE = 16; -
INVALID_STATUS_CHANGE
The changed status for mutate link is invalid.
INVALID_STATUS_CHANGE = 17; -
INVALID_CHANGE
The change for mutate link is invalid.
INVALID_CHANGE = 18; -
CUSTOMER_CANNOT_MANAGE_SELF
You are not allowed to link a manager account to itself.
CUSTOMER_CANNOT_MANAGE_SELF = 19; -
CREATING_ENABLED_LINK_NOT_ALLOWED
The link was created with status ACTIVE and not PENDING.
CREATING_ENABLED_LINK_NOT_ALLOWED = 20; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUE
public static final int ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUEThe manager and client have incompatible account types.
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2;- See Also:
-
TOO_MANY_MANAGERS_VALUE
public static final int TOO_MANY_MANAGERS_VALUEClient is already linked to too many managers.
TOO_MANY_MANAGERS = 3;- See Also:
-
TOO_MANY_INVITES_VALUE
public static final int TOO_MANY_INVITES_VALUEManager has too many pending invitations.
TOO_MANY_INVITES = 4;- See Also:
-
ALREADY_INVITED_BY_THIS_MANAGER_VALUE
public static final int ALREADY_INVITED_BY_THIS_MANAGER_VALUEClient is already invited by this manager.
ALREADY_INVITED_BY_THIS_MANAGER = 5;- See Also:
-
ALREADY_MANAGED_BY_THIS_MANAGER_VALUE
public static final int ALREADY_MANAGED_BY_THIS_MANAGER_VALUEThe client is already managed by this manager.
ALREADY_MANAGED_BY_THIS_MANAGER = 6;- See Also:
-
ALREADY_MANAGED_IN_HIERARCHY_VALUE
public static final int ALREADY_MANAGED_IN_HIERARCHY_VALUEClient is already managed in hierarchy.
ALREADY_MANAGED_IN_HIERARCHY = 7;- See Also:
-
DUPLICATE_CHILD_FOUND_VALUE
public static final int DUPLICATE_CHILD_FOUND_VALUEManager and sub-manager to be linked have duplicate client.
DUPLICATE_CHILD_FOUND = 8;- See Also:
-
CLIENT_HAS_NO_ADMIN_USER_VALUE
public static final int CLIENT_HAS_NO_ADMIN_USER_VALUEClient has no active user that can access the client account.
CLIENT_HAS_NO_ADMIN_USER = 9;- See Also:
-
MAX_DEPTH_EXCEEDED_VALUE
public static final int MAX_DEPTH_EXCEEDED_VALUEAdding this link would exceed the maximum hierarchy depth.
MAX_DEPTH_EXCEEDED = 10;- See Also:
-
CYCLE_NOT_ALLOWED_VALUE
public static final int CYCLE_NOT_ALLOWED_VALUEAdding this link will create a cycle.
CYCLE_NOT_ALLOWED = 11;- See Also:
-
TOO_MANY_ACCOUNTS_VALUE
public static final int TOO_MANY_ACCOUNTS_VALUEManager account has the maximum number of linked clients.
TOO_MANY_ACCOUNTS = 12;- See Also:
-
TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
public static final int TOO_MANY_ACCOUNTS_AT_MANAGER_VALUEParent manager account has the maximum number of linked clients.
TOO_MANY_ACCOUNTS_AT_MANAGER = 13;- See Also:
-
NON_OWNER_USER_CANNOT_MODIFY_LINK_VALUE
public static final int NON_OWNER_USER_CANNOT_MODIFY_LINK_VALUEThe account is not authorized owner.
NON_OWNER_USER_CANNOT_MODIFY_LINK = 14;- See Also:
-
SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUE
public static final int SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUEYour manager account is suspended, and you are no longer allowed to link to clients.
SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15;- See Also:
-
CLIENT_OUTSIDE_TREE_VALUE
public static final int CLIENT_OUTSIDE_TREE_VALUEYou are not allowed to move a client to a manager that is not under your current hierarchy.
CLIENT_OUTSIDE_TREE = 16;- See Also:
-
INVALID_STATUS_CHANGE_VALUE
public static final int INVALID_STATUS_CHANGE_VALUEThe changed status for mutate link is invalid.
INVALID_STATUS_CHANGE = 17;- See Also:
-
INVALID_CHANGE_VALUE
public static final int INVALID_CHANGE_VALUEThe change for mutate link is invalid.
INVALID_CHANGE = 18;- See Also:
-
CUSTOMER_CANNOT_MANAGE_SELF_VALUE
public static final int CUSTOMER_CANNOT_MANAGE_SELF_VALUEYou are not allowed to link a manager account to itself.
CUSTOMER_CANNOT_MANAGE_SELF = 19;- See Also:
-
CREATING_ENABLED_LINK_NOT_ALLOWED_VALUE
public static final int CREATING_ENABLED_LINK_NOT_ALLOWED_VALUEThe link was created with status ACTIVE and not PENDING.
CREATING_ENABLED_LINK_NOT_ALLOWED = 20;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ManagerLinkErrorEnum.ManagerLinkError> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ManagerLinkErrorEnum.ManagerLinkError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-