Enum CustomerManagerLinkErrorEnum.CustomerManagerLinkError
- java.lang.Object
-
- java.lang.Enum<CustomerManagerLinkErrorEnum.CustomerManagerLinkError>
-
- com.google.ads.googleads.v10.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CustomerManagerLinkErrorEnum.CustomerManagerLinkError>
- Enclosing class:
- CustomerManagerLinkErrorEnum
public static enum CustomerManagerLinkErrorEnum.CustomerManagerLinkError extends java.lang.Enum<CustomerManagerLinkErrorEnum.CustomerManagerLinkError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible CustomerManagerLink errors.
Protobuf enumgoogle.ads.googleads.v10.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNEROnly account owners may change their permission role.CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNTWhen a client's link to its manager is not active, the link role cannot be changed.CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNERAccount should have at least one active owner on it before being unlinked.CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USERIf no active user on account it cannot be unlinked from its manager.DUPLICATE_CHILD_FOUNDAttempt to link a child to a parent that contains or will contain duplicate children.MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTSManager account has the maximum number of linked accounts.NO_PENDING_INVITENo pending invitation.SAME_CLIENT_MORE_THAN_ONCE_PER_CALLAttempt to operate on the same client more than once in the same call.TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTSThe authorized customer is a test account.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER_VALUEOnly account owners may change their permission role.static intCANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT_VALUEWhen a client's link to its manager is not active, the link role cannot be changed.static intCANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER_VALUEAccount should have at least one active owner on it before being unlinked.static intCANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER_VALUEIf no active user on account it cannot be unlinked from its manager.static intDUPLICATE_CHILD_FOUND_VALUEAttempt to link a child to a parent that contains or will contain duplicate children.static intMANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS_VALUEManager account has the maximum number of linked accounts.static intNO_PENDING_INVITE_VALUENo pending invitation.static intSAME_CLIENT_MORE_THAN_ONCE_PER_CALL_VALUEAttempt to operate on the same client more than once in the same call.static intTEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS_VALUEThe authorized customer is a test account.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 CustomerManagerLinkErrorEnum.CustomerManagerLinkErrorforNumber(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<CustomerManagerLinkErrorEnum.CustomerManagerLinkError>internalGetValueMap()static CustomerManagerLinkErrorEnum.CustomerManagerLinkErrorvalueOf(int value)Deprecated.static CustomerManagerLinkErrorEnum.CustomerManagerLinkErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CustomerManagerLinkErrorEnum.CustomerManagerLinkErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CustomerManagerLinkErrorEnum.CustomerManagerLinkError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
NO_PENDING_INVITE
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError NO_PENDING_INVITE
No pending invitation.
NO_PENDING_INVITE = 2;
-
SAME_CLIENT_MORE_THAN_ONCE_PER_CALL
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError SAME_CLIENT_MORE_THAN_ONCE_PER_CALL
Attempt to operate on the same client more than once in the same call.
SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3;
-
MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS
Manager account has the maximum number of linked accounts.
MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4;
-
CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER
If no active user on account it cannot be unlinked from its manager.
CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5;
-
CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER
Account should have at least one active owner on it before being unlinked.
CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6;
-
CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER
Only account owners may change their permission role.
CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7;
-
CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT
When a client's link to its manager is not active, the link role cannot be changed.
CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8;
-
DUPLICATE_CHILD_FOUND
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError DUPLICATE_CHILD_FOUND
Attempt to link a child to a parent that contains or will contain duplicate children.
DUPLICATE_CHILD_FOUND = 9;
-
TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS
The authorized customer is a test account. It can add no more than the allowed number of accounts
TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10;
-
UNRECOGNIZED
public static final CustomerManagerLinkErrorEnum.CustomerManagerLinkError 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
-
NO_PENDING_INVITE_VALUE
public static final int NO_PENDING_INVITE_VALUE
No pending invitation.
NO_PENDING_INVITE = 2;- See Also:
- Constant Field Values
-
SAME_CLIENT_MORE_THAN_ONCE_PER_CALL_VALUE
public static final int SAME_CLIENT_MORE_THAN_ONCE_PER_CALL_VALUE
Attempt to operate on the same client more than once in the same call.
SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3;- See Also:
- Constant Field Values
-
MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS_VALUE
public static final int MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS_VALUE
Manager account has the maximum number of linked accounts.
MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4;- See Also:
- Constant Field Values
-
CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER_VALUE
public static final int CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER_VALUE
If no active user on account it cannot be unlinked from its manager.
CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5;- See Also:
- Constant Field Values
-
CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER_VALUE
public static final int CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER_VALUE
Account should have at least one active owner on it before being unlinked.
CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6;- See Also:
- Constant Field Values
-
CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER_VALUE
public static final int CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER_VALUE
Only account owners may change their permission role.
CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7;- See Also:
- Constant Field Values
-
CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT_VALUE
public static final int CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT_VALUE
When a client's link to its manager is not active, the link role cannot be changed.
CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8;- See Also:
- Constant Field Values
-
DUPLICATE_CHILD_FOUND_VALUE
public static final int DUPLICATE_CHILD_FOUND_VALUE
Attempt to link a child to a parent that contains or will contain duplicate children.
DUPLICATE_CHILD_FOUND = 9;- See Also:
- Constant Field Values
-
TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS_VALUE
public static final int TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS_VALUE
The authorized customer is a test account. It can add no more than the allowed number of accounts
TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CustomerManagerLinkErrorEnum.CustomerManagerLinkError[] 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 (CustomerManagerLinkErrorEnum.CustomerManagerLinkError c : CustomerManagerLinkErrorEnum.CustomerManagerLinkError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomerManagerLinkErrorEnum.CustomerManagerLinkError 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 CustomerManagerLinkErrorEnum.CustomerManagerLinkError 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 CustomerManagerLinkErrorEnum.CustomerManagerLinkError 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<CustomerManagerLinkErrorEnum.CustomerManagerLinkError> 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 CustomerManagerLinkErrorEnum.CustomerManagerLinkError 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
-
-