Enum ManagerLinkErrorEnum.ManagerLinkError
- java.lang.Object
-
- java.lang.Enum<ManagerLinkErrorEnum.ManagerLinkError>
-
- com.google.ads.googleads.v10.errors.ManagerLinkErrorEnum.ManagerLinkError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ManagerLinkErrorEnum.ManagerLinkError>
- Enclosing class:
- ManagerLinkErrorEnum
public static enum ManagerLinkErrorEnum.ManagerLinkError extends java.lang.Enum<ManagerLinkErrorEnum.ManagerLinkError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible ManagerLink errors.
Protobuf enumgoogle.ads.googleads.v10.errors.ManagerLinkErrorEnum.ManagerLinkError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTS_NOT_COMPATIBLE_FOR_LINKINGThe manager and client have incompatible account types.ALREADY_INVITED_BY_THIS_MANAGERClient is already invited by this manager.ALREADY_MANAGED_BY_THIS_MANAGERThe client is already managed by this manager.ALREADY_MANAGED_IN_HIERARCHYClient is already managed in hierarchy.CLIENT_HAS_NO_ADMIN_USERClient has no active user that can access the client account.CLIENT_OUTSIDE_TREEYou are not allowed to move a client to a manager that is not under your current hierarchy.CREATING_ENABLED_LINK_NOT_ALLOWEDThe link was created with status ACTIVE and not PENDING.CUSTOMER_CANNOT_MANAGE_SELFYou are not allowed to link a manager account to itself.CYCLE_NOT_ALLOWEDAdding this link will create a cycle.DUPLICATE_CHILD_FOUNDManager and sub-manager to be linked have duplicate client.INVALID_CHANGEThe change for mutate link is invalid.INVALID_STATUS_CHANGEThe changed status for mutate link is invalid.MAX_DEPTH_EXCEEDEDAdding this link would exceed the maximum hierarchy depth.NON_OWNER_USER_CANNOT_MODIFY_LINKThe account is not authorized owner.SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTSYour manager account is suspended, and you are no longer allowed to link to clients.TOO_MANY_ACCOUNTSManager account has the maximum number of linked clients.TOO_MANY_ACCOUNTS_AT_MANAGERParent manager account has the maximum number of linked clients.TOO_MANY_INVITESManager has too many pending invitations.TOO_MANY_MANAGERSClient is already linked to too many managers.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUEThe manager and client have incompatible account types.static intALREADY_INVITED_BY_THIS_MANAGER_VALUEClient is already invited by this manager.static intALREADY_MANAGED_BY_THIS_MANAGER_VALUEThe client is already managed by this manager.static intALREADY_MANAGED_IN_HIERARCHY_VALUEClient is already managed in hierarchy.static intCLIENT_HAS_NO_ADMIN_USER_VALUEClient has no active user that can access the client account.static intCLIENT_OUTSIDE_TREE_VALUEYou are not allowed to move a client to a manager that is not under your current hierarchy.static intCREATING_ENABLED_LINK_NOT_ALLOWED_VALUEThe link was created with status ACTIVE and not PENDING.static intCUSTOMER_CANNOT_MANAGE_SELF_VALUEYou are not allowed to link a manager account to itself.static intCYCLE_NOT_ALLOWED_VALUEAdding this link will create a cycle.static intDUPLICATE_CHILD_FOUND_VALUEManager and sub-manager to be linked have duplicate client.static intINVALID_CHANGE_VALUEThe change for mutate link is invalid.static intINVALID_STATUS_CHANGE_VALUEThe changed status for mutate link is invalid.static intMAX_DEPTH_EXCEEDED_VALUEAdding this link would exceed the maximum hierarchy depth.static intNON_OWNER_USER_CANNOT_MODIFY_LINK_VALUEThe account is not authorized owner.static intSUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUEYour manager account is suspended, and you are no longer allowed to link to clients.static intTOO_MANY_ACCOUNTS_AT_MANAGER_VALUEParent manager account has the maximum number of linked clients.static intTOO_MANY_ACCOUNTS_VALUEManager account has the maximum number of linked clients.static intTOO_MANY_INVITES_VALUEManager has too many pending invitations.static intTOO_MANY_MANAGERS_VALUEClient is already linked to too many managers.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ManagerLinkErrorEnum.ManagerLinkErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ManagerLinkErrorEnum.ManagerLinkError>internalGetValueMap()static ManagerLinkErrorEnum.ManagerLinkErrorvalueOf(int value)Deprecated.static ManagerLinkErrorEnum.ManagerLinkErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ManagerLinkErrorEnum.ManagerLinkErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ManagerLinkErrorEnum.ManagerLinkError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ManagerLinkErrorEnum.ManagerLinkError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final ManagerLinkErrorEnum.ManagerLinkError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING
public static final ManagerLinkErrorEnum.ManagerLinkError ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING
The manager and client have incompatible account types.
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2;
-
TOO_MANY_MANAGERS
public static final ManagerLinkErrorEnum.ManagerLinkError TOO_MANY_MANAGERS
Client is already linked to too many managers.
TOO_MANY_MANAGERS = 3;
-
TOO_MANY_INVITES
public static final ManagerLinkErrorEnum.ManagerLinkError TOO_MANY_INVITES
Manager has too many pending invitations.
TOO_MANY_INVITES = 4;
-
ALREADY_INVITED_BY_THIS_MANAGER
public static final ManagerLinkErrorEnum.ManagerLinkError ALREADY_INVITED_BY_THIS_MANAGER
Client is already invited by this manager.
ALREADY_INVITED_BY_THIS_MANAGER = 5;
-
ALREADY_MANAGED_BY_THIS_MANAGER
public static final ManagerLinkErrorEnum.ManagerLinkError ALREADY_MANAGED_BY_THIS_MANAGER
The client is already managed by this manager.
ALREADY_MANAGED_BY_THIS_MANAGER = 6;
-
ALREADY_MANAGED_IN_HIERARCHY
public static final ManagerLinkErrorEnum.ManagerLinkError ALREADY_MANAGED_IN_HIERARCHY
Client is already managed in hierarchy.
ALREADY_MANAGED_IN_HIERARCHY = 7;
-
DUPLICATE_CHILD_FOUND
public static final ManagerLinkErrorEnum.ManagerLinkError DUPLICATE_CHILD_FOUND
Manager and sub-manager to be linked have duplicate client.
DUPLICATE_CHILD_FOUND = 8;
-
CLIENT_HAS_NO_ADMIN_USER
public static final ManagerLinkErrorEnum.ManagerLinkError 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
public static final ManagerLinkErrorEnum.ManagerLinkError MAX_DEPTH_EXCEEDED
Adding this link would exceed the maximum hierarchy depth.
MAX_DEPTH_EXCEEDED = 10;
-
CYCLE_NOT_ALLOWED
public static final ManagerLinkErrorEnum.ManagerLinkError CYCLE_NOT_ALLOWED
Adding this link will create a cycle.
CYCLE_NOT_ALLOWED = 11;
-
TOO_MANY_ACCOUNTS
public static final ManagerLinkErrorEnum.ManagerLinkError TOO_MANY_ACCOUNTS
Manager account has the maximum number of linked clients.
TOO_MANY_ACCOUNTS = 12;
-
TOO_MANY_ACCOUNTS_AT_MANAGER
public static final ManagerLinkErrorEnum.ManagerLinkError 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
public static final ManagerLinkErrorEnum.ManagerLinkError NON_OWNER_USER_CANNOT_MODIFY_LINK
The account is not authorized owner.
NON_OWNER_USER_CANNOT_MODIFY_LINK = 14;
-
SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS
public static final ManagerLinkErrorEnum.ManagerLinkError 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
public static final ManagerLinkErrorEnum.ManagerLinkError 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
public static final ManagerLinkErrorEnum.ManagerLinkError INVALID_STATUS_CHANGE
The changed status for mutate link is invalid.
INVALID_STATUS_CHANGE = 17;
-
INVALID_CHANGE
public static final ManagerLinkErrorEnum.ManagerLinkError INVALID_CHANGE
The change for mutate link is invalid.
INVALID_CHANGE = 18;
-
CUSTOMER_CANNOT_MANAGE_SELF
public static final ManagerLinkErrorEnum.ManagerLinkError 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
public static final ManagerLinkErrorEnum.ManagerLinkError CREATING_ENABLED_LINK_NOT_ALLOWED
The link was created with status ACTIVE and not PENDING.
CREATING_ENABLED_LINK_NOT_ALLOWED = 20;
-
UNRECOGNIZED
public static final ManagerLinkErrorEnum.ManagerLinkError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUE
public static final int ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUE
The manager and client have incompatible account types.
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2;- See Also:
- Constant Field Values
-
TOO_MANY_MANAGERS_VALUE
public static final int TOO_MANY_MANAGERS_VALUE
Client is already linked to too many managers.
TOO_MANY_MANAGERS = 3;- See Also:
- Constant Field Values
-
TOO_MANY_INVITES_VALUE
public static final int TOO_MANY_INVITES_VALUE
Manager has too many pending invitations.
TOO_MANY_INVITES = 4;- See Also:
- Constant Field Values
-
ALREADY_INVITED_BY_THIS_MANAGER_VALUE
public static final int ALREADY_INVITED_BY_THIS_MANAGER_VALUE
Client is already invited by this manager.
ALREADY_INVITED_BY_THIS_MANAGER = 5;- See Also:
- Constant Field Values
-
ALREADY_MANAGED_BY_THIS_MANAGER_VALUE
public static final int ALREADY_MANAGED_BY_THIS_MANAGER_VALUE
The client is already managed by this manager.
ALREADY_MANAGED_BY_THIS_MANAGER = 6;- See Also:
- Constant Field Values
-
ALREADY_MANAGED_IN_HIERARCHY_VALUE
public static final int ALREADY_MANAGED_IN_HIERARCHY_VALUE
Client is already managed in hierarchy.
ALREADY_MANAGED_IN_HIERARCHY = 7;- See Also:
- Constant Field Values
-
DUPLICATE_CHILD_FOUND_VALUE
public static final int DUPLICATE_CHILD_FOUND_VALUE
Manager and sub-manager to be linked have duplicate client.
DUPLICATE_CHILD_FOUND = 8;- See Also:
- Constant Field Values
-
CLIENT_HAS_NO_ADMIN_USER_VALUE
public static final int CLIENT_HAS_NO_ADMIN_USER_VALUE
Client has no active user that can access the client account.
CLIENT_HAS_NO_ADMIN_USER = 9;- See Also:
- Constant Field Values
-
MAX_DEPTH_EXCEEDED_VALUE
public static final int MAX_DEPTH_EXCEEDED_VALUE
Adding this link would exceed the maximum hierarchy depth.
MAX_DEPTH_EXCEEDED = 10;- See Also:
- Constant Field Values
-
CYCLE_NOT_ALLOWED_VALUE
public static final int CYCLE_NOT_ALLOWED_VALUE
Adding this link will create a cycle.
CYCLE_NOT_ALLOWED = 11;- See Also:
- Constant Field Values
-
TOO_MANY_ACCOUNTS_VALUE
public static final int TOO_MANY_ACCOUNTS_VALUE
Manager account has the maximum number of linked clients.
TOO_MANY_ACCOUNTS = 12;- See Also:
- Constant Field Values
-
TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
public static final int TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
Parent manager account has the maximum number of linked clients.
TOO_MANY_ACCOUNTS_AT_MANAGER = 13;- See Also:
- Constant Field Values
-
NON_OWNER_USER_CANNOT_MODIFY_LINK_VALUE
public static final int NON_OWNER_USER_CANNOT_MODIFY_LINK_VALUE
The account is not authorized owner.
NON_OWNER_USER_CANNOT_MODIFY_LINK = 14;- See Also:
- Constant Field Values
-
SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUE
public static final int SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUE
Your manager account is suspended, and you are no longer allowed to link to clients.
SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15;- See Also:
- Constant Field Values
-
CLIENT_OUTSIDE_TREE_VALUE
public static final int CLIENT_OUTSIDE_TREE_VALUE
You are not allowed to move a client to a manager that is not under your current hierarchy.
CLIENT_OUTSIDE_TREE = 16;- See Also:
- Constant Field Values
-
INVALID_STATUS_CHANGE_VALUE
public static final int INVALID_STATUS_CHANGE_VALUE
The changed status for mutate link is invalid.
INVALID_STATUS_CHANGE = 17;- See Also:
- Constant Field Values
-
INVALID_CHANGE_VALUE
public static final int INVALID_CHANGE_VALUE
The change for mutate link is invalid.
INVALID_CHANGE = 18;- See Also:
- Constant Field Values
-
CUSTOMER_CANNOT_MANAGE_SELF_VALUE
public static final int CUSTOMER_CANNOT_MANAGE_SELF_VALUE
You are not allowed to link a manager account to itself.
CUSTOMER_CANNOT_MANAGE_SELF = 19;- See Also:
- Constant Field Values
-
CREATING_ENABLED_LINK_NOT_ALLOWED_VALUE
public static final int CREATING_ENABLED_LINK_NOT_ALLOWED_VALUE
The link was created with status ACTIVE and not PENDING.
CREATING_ENABLED_LINK_NOT_ALLOWED = 20;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ManagerLinkErrorEnum.ManagerLinkError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ManagerLinkErrorEnum.ManagerLinkError c : ManagerLinkErrorEnum.ManagerLinkError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManagerLinkErrorEnum.ManagerLinkError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static ManagerLinkErrorEnum.ManagerLinkError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static ManagerLinkErrorEnum.ManagerLinkError forNumber(int value)
- 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-