Enum CustomerClientLinkErrorEnum.CustomerClientLinkError
- java.lang.Object
-
- java.lang.Enum<CustomerClientLinkErrorEnum.CustomerClientLinkError>
-
- com.google.ads.googleads.v10.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.v10.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTSAttempt to change hidden status of a link that is not active.CLIENT_ALREADY_INVITED_BY_THIS_MANAGERTrying to manage a client that already in being managed by customer.CLIENT_ALREADY_MANAGED_IN_HIERARCHYAlready managed by some other manager in the hierarchy.CLIENT_HAS_TOO_MANY_INVITATIONSInvitor has the maximum pending invitations.CLIENT_HAS_TOO_MANY_MANAGERSClient has too many managers.CUSTOMER_HAS_TOO_MANY_ACCOUNTSManaged accounts has the maximum number of linked accounts.CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGERParent manager account has the maximum number of linked accounts.CYCLIC_LINK_NOT_ALLOWEDAttempt to create a cycle in the hierarchy.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS_VALUEAttempt to change hidden status of a link that is not active.static intCLIENT_ALREADY_INVITED_BY_THIS_MANAGER_VALUETrying to manage a client that already in being managed by customer.static intCLIENT_ALREADY_MANAGED_IN_HIERARCHY_VALUEAlready managed by some other manager in the hierarchy.static intCLIENT_HAS_TOO_MANY_INVITATIONS_VALUEInvitor has the maximum pending invitations.static intCLIENT_HAS_TOO_MANY_MANAGERS_VALUEClient has too many managers.static intCUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER_VALUEParent manager account has the maximum number of linked accounts.static intCUSTOMER_HAS_TOO_MANY_ACCOUNTS_VALUEManaged accounts has the maximum number of linked accounts.static intCYCLIC_LINK_NOT_ALLOWED_VALUEAttempt to create a cycle in the hierarchy.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 CustomerClientLinkErrorEnum.CustomerClientLinkErrorforNumber(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<CustomerClientLinkErrorEnum.CustomerClientLinkError>internalGetValueMap()static CustomerClientLinkErrorEnum.CustomerClientLinkErrorvalueOf(int value)Deprecated.static CustomerClientLinkErrorEnum.CustomerClientLinkErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CustomerClientLinkErrorEnum.CustomerClientLinkErrorvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
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 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
-
-