Enum Class CustomerClientLinkErrorEnum.CustomerClientLinkError
java.lang.Object
java.lang.Enum<CustomerClientLinkErrorEnum.CustomerClientLinkError>
com.google.ads.googleads.v18.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CustomerClientLinkErrorEnum.CustomerClientLinkError>,Constable
- Enclosing class:
- CustomerClientLinkErrorEnum
public static enum CustomerClientLinkErrorEnum.CustomerClientLinkError
extends Enum<CustomerClientLinkErrorEnum.CustomerClientLinkError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible CustomerClientLink errors.Protobuf enum
google.ads.googleads.v18.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAttempt to change hidden status of a link that is not active.Trying to manage a client that already in being managed by customer.Already managed by some other manager in the hierarchy.Invitor has the maximum pending invitations.Client has too many managers.Managed accounts has the maximum number of linked accounts.Parent manager account has the maximum number of linked accounts.Attempt to create a cycle in the hierarchy.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAttempt to change hidden status of a link that is not active.static final intTrying to manage a client that already in being managed by customer.static final intAlready managed by some other manager in the hierarchy.static final intInvitor has the maximum pending invitations.static final intClient has too many managers.static final intParent manager account has the maximum number of linked accounts.static final intManaged accounts has the maximum number of linked accounts.static final intAttempt to create a cycle in the hierarchy.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<CustomerClientLinkErrorEnum.CustomerClientLinkError>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; -
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER
public static final CustomerClientLinkErrorEnum.CustomerClientLinkError CLIENT_ALREADY_INVITED_BY_THIS_MANAGERTrying 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_HIERARCHYAlready managed by some other manager in the hierarchy.
CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3; -
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_ACCOUNTSManaged 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_INVITATIONSInvitor 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_ACCOUNTSAttempt 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_MANAGERParent 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_MANAGERSClient has too many managers.
CLIENT_HAS_TOO_MANY_MANAGERS = 9; -
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:
-
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER_VALUE
public static final int CLIENT_ALREADY_INVITED_BY_THIS_MANAGER_VALUETrying to manage a client that already in being managed by customer.
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = 2;- See Also:
-
CLIENT_ALREADY_MANAGED_IN_HIERARCHY_VALUE
public static final int CLIENT_ALREADY_MANAGED_IN_HIERARCHY_VALUEAlready managed by some other manager in the hierarchy.
CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3;- See Also:
-
CYCLIC_LINK_NOT_ALLOWED_VALUE
public static final int CYCLIC_LINK_NOT_ALLOWED_VALUEAttempt to create a cycle in the hierarchy.
CYCLIC_LINK_NOT_ALLOWED = 4;- See Also:
-
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_VALUE
public static final int CUSTOMER_HAS_TOO_MANY_ACCOUNTS_VALUEManaged accounts has the maximum number of linked accounts.
CUSTOMER_HAS_TOO_MANY_ACCOUNTS = 5;- See Also:
-
CLIENT_HAS_TOO_MANY_INVITATIONS_VALUE
public static final int CLIENT_HAS_TOO_MANY_INVITATIONS_VALUEInvitor has the maximum pending invitations.
CLIENT_HAS_TOO_MANY_INVITATIONS = 6;- See Also:
-
CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS_VALUE
public static final int CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS_VALUEAttempt to change hidden status of a link that is not active.
CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7;- See Also:
-
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
public static final int CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER_VALUEParent manager account has the maximum number of linked accounts.
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8;- See Also:
-
CLIENT_HAS_TOO_MANY_MANAGERS_VALUE
public static final int CLIENT_HAS_TOO_MANY_MANAGERS_VALUEClient has too many managers.
CLIENT_HAS_TOO_MANY_MANAGERS = 9;- 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<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 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
-