Enum Class CustomerManagerLinkErrorEnum.CustomerManagerLinkError
java.lang.Object
java.lang.Enum<CustomerManagerLinkErrorEnum.CustomerManagerLinkError>
com.google.ads.googleads.v18.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CustomerManagerLinkErrorEnum.CustomerManagerLinkError>,Constable
- Enclosing class:
- CustomerManagerLinkErrorEnum
public static enum CustomerManagerLinkErrorEnum.CustomerManagerLinkError
extends Enum<CustomerManagerLinkErrorEnum.CustomerManagerLinkError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible CustomerManagerLink errors.Protobuf enum
google.ads.googleads.v18.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly account owners may change their permission role.When a client's link to its manager is not active, the link role cannot be changed.Account should have at least one active owner on it before being unlinked.If no active user on account it cannot be unlinked from its manager.Attempt to link a child to a parent that contains or will contain duplicate children.Manager account has the maximum number of linked accounts.No pending invitation.Attempt to operate on the same client more than once in the same call.The authorized customer is a test account.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOnly account owners may change their permission role.static final intWhen a client's link to its manager is not active, the link role cannot be changed.static final intAccount should have at least one active owner on it before being unlinked.static final intIf no active user on account it cannot be unlinked from its manager.static final intAttempt to link a child to a parent that contains or will contain duplicate children.static final intManager account has the maximum number of linked accounts.static final intNo pending invitation.static final intAttempt to operate on the same client more than once in the same call.static final intThe authorized customer is a test account.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<CustomerManagerLinkErrorEnum.CustomerManagerLinkError>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; -
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_CALLAttempt 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_ACCOUNTSManager 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_USERIf 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_OWNERAccount 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_OWNEROnly 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_ACCOUNTWhen 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
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_ACCOUNTSThe 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
-
-
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:
-
NO_PENDING_INVITE_VALUE
public static final int NO_PENDING_INVITE_VALUENo pending invitation.
NO_PENDING_INVITE = 2;- See Also:
-
SAME_CLIENT_MORE_THAN_ONCE_PER_CALL_VALUE
public static final int SAME_CLIENT_MORE_THAN_ONCE_PER_CALL_VALUEAttempt to operate on the same client more than once in the same call.
SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3;- See Also:
-
MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS_VALUE
public static final int MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS_VALUEManager account has the maximum number of linked accounts.
MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4;- See Also:
-
CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER_VALUE
public static final int CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER_VALUEIf no active user on account it cannot be unlinked from its manager.
CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5;- See Also:
-
CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER_VALUE
public static final int CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER_VALUEAccount should have at least one active owner on it before being unlinked.
CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6;- See Also:
-
CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER_VALUE
public static final int CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER_VALUEOnly account owners may change their permission role.
CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7;- See Also:
-
CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT_VALUE
public static final int CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT_VALUEWhen 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:
-
DUPLICATE_CHILD_FOUND_VALUE
public static final int DUPLICATE_CHILD_FOUND_VALUEAttempt to link a child to a parent that contains or will contain duplicate children.
DUPLICATE_CHILD_FOUND = 9;- See Also:
-
TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS_VALUE
public static final int TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS_VALUEThe 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:
-
-
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<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 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
-