Enum CustomerClientLinkErrorEnum.CustomerClientLinkError
- java.lang.Object
-
- java.lang.Enum<CustomerClientLinkErrorEnum.CustomerClientLinkError>
-
- com.google.ads.googleads.v14.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<CustomerClientLinkErrorEnum.CustomerClientLinkError>
- Enclosing class:
- CustomerClientLinkErrorEnum
public static enum CustomerClientLinkErrorEnum.CustomerClientLinkError extends java.lang.Enum<CustomerClientLinkErrorEnum.CustomerClientLinkError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible CustomerClientLink errors.
Protobuf enumgoogle.ads.googleads.v14.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS
Attempt to change hidden status of a link that is not active.CLIENT_ALREADY_INVITED_BY_THIS_MANAGER
Trying to manage a client that already in being managed by customer.CLIENT_ALREADY_MANAGED_IN_HIERARCHY
Already managed by some other manager in the hierarchy.CLIENT_HAS_TOO_MANY_INVITATIONS
Invitor has the maximum pending invitations.CLIENT_HAS_TOO_MANY_MANAGERS
Client has too many managers.CUSTOMER_HAS_TOO_MANY_ACCOUNTS
Managed accounts has the maximum number of linked accounts.CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER
Parent manager account has the maximum number of linked accounts.CYCLIC_LINK_NOT_ALLOWED
Attempt to create a cycle in the hierarchy.UNKNOWN
The received error code is not known in this version.UNRECOGNIZED
UNSPECIFIED
Enum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static int
CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS_VALUE
Attempt to change hidden status of a link that is not active.static int
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER_VALUE
Trying to manage a client that already in being managed by customer.static int
CLIENT_ALREADY_MANAGED_IN_HIERARCHY_VALUE
Already managed by some other manager in the hierarchy.static int
CLIENT_HAS_TOO_MANY_INVITATIONS_VALUE
Invitor has the maximum pending invitations.static int
CLIENT_HAS_TOO_MANY_MANAGERS_VALUE
Client has too many managers.static int
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
Parent manager account has the maximum number of linked accounts.static int
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_VALUE
Managed accounts has the maximum number of linked accounts.static int
CYCLIC_LINK_NOT_ALLOWED_VALUE
Attempt to create a cycle in the hierarchy.static int
UNKNOWN_VALUE
The received error code is not known in this version.static int
UNSPECIFIED_VALUE
Enum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CustomerClientLinkErrorEnum.CustomerClientLinkError
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<CustomerClientLinkErrorEnum.CustomerClientLinkError>
internalGetValueMap()
static CustomerClientLinkErrorEnum.CustomerClientLinkError
valueOf(int value)
Deprecated.static CustomerClientLinkErrorEnum.CustomerClientLinkError
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static CustomerClientLinkErrorEnum.CustomerClientLinkError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CustomerClientLinkErrorEnum.CustomerClientLinkError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CLIENT_ALREADY_INVITED_BY_THIS_MANAGER
Trying to manage a client that already in being managed by customer.
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = 2;
-
CLIENT_ALREADY_MANAGED_IN_HIERARCHY
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CLIENT_ALREADY_MANAGED_IN_HIERARCHY
Already managed by some other manager in the hierarchy.
CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3;
-
CYCLIC_LINK_NOT_ALLOWED
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CYCLIC_LINK_NOT_ALLOWED
Attempt to create a cycle in the hierarchy.
CYCLIC_LINK_NOT_ALLOWED = 4;
-
CUSTOMER_HAS_TOO_MANY_ACCOUNTS
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CUSTOMER_HAS_TOO_MANY_ACCOUNTS
Managed accounts has the maximum number of linked accounts.
CUSTOMER_HAS_TOO_MANY_ACCOUNTS = 5;
-
CLIENT_HAS_TOO_MANY_INVITATIONS
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CLIENT_HAS_TOO_MANY_INVITATIONS
Invitor has the maximum pending invitations.
CLIENT_HAS_TOO_MANY_INVITATIONS = 6;
-
CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS
Attempt to change hidden status of a link that is not active.
CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7;
-
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER
Parent manager account has the maximum number of linked accounts.
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8;
-
CLIENT_HAS_TOO_MANY_MANAGERS
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CLIENT_HAS_TOO_MANY_MANAGERS
Client has too many managers.
CLIENT_HAS_TOO_MANY_MANAGERS = 9;
-
UNRECOGNIZED
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError 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
-
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER_VALUE
public static final int CLIENT_ALREADY_INVITED_BY_THIS_MANAGER_VALUE
Trying to manage a client that already in being managed by customer.
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = 2;
- See Also:
- Constant Field Values
-
CLIENT_ALREADY_MANAGED_IN_HIERARCHY_VALUE
public static final int CLIENT_ALREADY_MANAGED_IN_HIERARCHY_VALUE
Already managed by some other manager in the hierarchy.
CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3;
- See Also:
- Constant Field Values
-
CYCLIC_LINK_NOT_ALLOWED_VALUE
public static final int CYCLIC_LINK_NOT_ALLOWED_VALUE
Attempt to create a cycle in the hierarchy.
CYCLIC_LINK_NOT_ALLOWED = 4;
- See Also:
- Constant Field Values
-
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_VALUE
public static final int CUSTOMER_HAS_TOO_MANY_ACCOUNTS_VALUE
Managed accounts has the maximum number of linked accounts.
CUSTOMER_HAS_TOO_MANY_ACCOUNTS = 5;
- See Also:
- Constant Field Values
-
CLIENT_HAS_TOO_MANY_INVITATIONS_VALUE
public static final int CLIENT_HAS_TOO_MANY_INVITATIONS_VALUE
Invitor has the maximum pending invitations.
CLIENT_HAS_TOO_MANY_INVITATIONS = 6;
- See Also:
- Constant Field Values
-
CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS_VALUE
public static final int CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS_VALUE
Attempt to change hidden status of a link that is not active.
CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7;
- See Also:
- Constant Field Values
-
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
public static final int CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
Parent manager account has the maximum number of linked accounts.
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8;
- See Also:
- Constant Field Values
-
CLIENT_HAS_TOO_MANY_MANAGERS_VALUE
public static final int CLIENT_HAS_TOO_MANY_MANAGERS_VALUE
Client has too many managers.
CLIENT_HAS_TOO_MANY_MANAGERS = 9;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CustomerClientLinkErrorEnum.CustomerClientLinkError[] 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 (CustomerClientLinkErrorEnum.CustomerClientLinkError c : CustomerClientLinkErrorEnum.CustomerClientLinkError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomerClientLinkErrorEnum.CustomerClientLinkError 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CustomerClientLinkErrorEnum.CustomerClientLinkError 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 CustomerClientLinkErrorEnum.CustomerClientLinkError 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<CustomerClientLinkErrorEnum.CustomerClientLinkError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CustomerClientLinkErrorEnum.CustomerClientLinkError 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
-
-