Enum AccessInvitationErrorEnum.AccessInvitationError
- java.lang.Object
-
- java.lang.Enum<AccessInvitationErrorEnum.AccessInvitationError>
-
- com.google.ads.googleads.v9.errors.AccessInvitationErrorEnum.AccessInvitationError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<AccessInvitationErrorEnum.AccessInvitationError>
- Enclosing class:
- AccessInvitationErrorEnum
public static enum AccessInvitationErrorEnum.AccessInvitationError extends java.lang.Enum<AccessInvitationErrorEnum.AccessInvitationError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible AccessInvitation errors.
Protobuf enumgoogle.ads.googleads.v9.errors.AccessInvitationErrorEnum.AccessInvitationError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMAIL_ADDRESS_ALREADY_HAS_ACCESS
Email address already has access to this customer.EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION
Email address already has a pending invitation.EMAIL_DOMAIN_POLICY_VIOLATED
Email address doesn't conform to the email domain policy.GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED
Email address cannot be like abc+foo@google.com.INVALID_EMAIL_ADDRESS
The email address is invalid for sending an invitation.INVALID_INVITATION_ID
Invalid invitation id.INVALID_INVITATION_STATUS
Invalid invitation status for the operation.PENDING_INVITATIONS_LIMIT_EXCEEDED
Pending invitation limit exceeded for the customer.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
EMAIL_ADDRESS_ALREADY_HAS_ACCESS_VALUE
Email address already has access to this customer.static int
EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION_VALUE
Email address already has a pending invitation.static int
EMAIL_DOMAIN_POLICY_VIOLATED_VALUE
Email address doesn't conform to the email domain policy.static int
GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED_VALUE
Email address cannot be like abc+foo@google.com.static int
INVALID_EMAIL_ADDRESS_VALUE
The email address is invalid for sending an invitation.static int
INVALID_INVITATION_ID_VALUE
Invalid invitation id.static int
INVALID_INVITATION_STATUS_VALUE
Invalid invitation status for the operation.static int
PENDING_INVITATIONS_LIMIT_EXCEEDED_VALUE
Pending invitation limit exceeded for the customer.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 AccessInvitationErrorEnum.AccessInvitationError
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<AccessInvitationErrorEnum.AccessInvitationError>
internalGetValueMap()
static AccessInvitationErrorEnum.AccessInvitationError
valueOf(int value)
Deprecated.static AccessInvitationErrorEnum.AccessInvitationError
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static AccessInvitationErrorEnum.AccessInvitationError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AccessInvitationErrorEnum.AccessInvitationError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AccessInvitationErrorEnum.AccessInvitationError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final AccessInvitationErrorEnum.AccessInvitationError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
INVALID_EMAIL_ADDRESS
public static final AccessInvitationErrorEnum.AccessInvitationError INVALID_EMAIL_ADDRESS
The email address is invalid for sending an invitation.
INVALID_EMAIL_ADDRESS = 2;
-
EMAIL_ADDRESS_ALREADY_HAS_ACCESS
public static final AccessInvitationErrorEnum.AccessInvitationError EMAIL_ADDRESS_ALREADY_HAS_ACCESS
Email address already has access to this customer.
EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3;
-
INVALID_INVITATION_STATUS
public static final AccessInvitationErrorEnum.AccessInvitationError INVALID_INVITATION_STATUS
Invalid invitation status for the operation.
INVALID_INVITATION_STATUS = 4;
-
GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED
public static final AccessInvitationErrorEnum.AccessInvitationError GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED
Email address cannot be like abc+foo@google.com.
GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5;
-
INVALID_INVITATION_ID
public static final AccessInvitationErrorEnum.AccessInvitationError INVALID_INVITATION_ID
Invalid invitation id.
INVALID_INVITATION_ID = 6;
-
EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION
public static final AccessInvitationErrorEnum.AccessInvitationError EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION
Email address already has a pending invitation.
EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION = 7;
-
PENDING_INVITATIONS_LIMIT_EXCEEDED
public static final AccessInvitationErrorEnum.AccessInvitationError PENDING_INVITATIONS_LIMIT_EXCEEDED
Pending invitation limit exceeded for the customer.
PENDING_INVITATIONS_LIMIT_EXCEEDED = 8;
-
EMAIL_DOMAIN_POLICY_VIOLATED
public static final AccessInvitationErrorEnum.AccessInvitationError EMAIL_DOMAIN_POLICY_VIOLATED
Email address doesn't conform to the email domain policy. Please see https://support.google.com/google-ads/answer/2375456
EMAIL_DOMAIN_POLICY_VIOLATED = 9;
-
UNRECOGNIZED
public static final AccessInvitationErrorEnum.AccessInvitationError 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
-
INVALID_EMAIL_ADDRESS_VALUE
public static final int INVALID_EMAIL_ADDRESS_VALUE
The email address is invalid for sending an invitation.
INVALID_EMAIL_ADDRESS = 2;
- See Also:
- Constant Field Values
-
EMAIL_ADDRESS_ALREADY_HAS_ACCESS_VALUE
public static final int EMAIL_ADDRESS_ALREADY_HAS_ACCESS_VALUE
Email address already has access to this customer.
EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3;
- See Also:
- Constant Field Values
-
INVALID_INVITATION_STATUS_VALUE
public static final int INVALID_INVITATION_STATUS_VALUE
Invalid invitation status for the operation.
INVALID_INVITATION_STATUS = 4;
- See Also:
- Constant Field Values
-
GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED_VALUE
public static final int GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED_VALUE
Email address cannot be like abc+foo@google.com.
GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5;
- See Also:
- Constant Field Values
-
INVALID_INVITATION_ID_VALUE
public static final int INVALID_INVITATION_ID_VALUE
Invalid invitation id.
INVALID_INVITATION_ID = 6;
- See Also:
- Constant Field Values
-
EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION_VALUE
public static final int EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION_VALUE
Email address already has a pending invitation.
EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION = 7;
- See Also:
- Constant Field Values
-
PENDING_INVITATIONS_LIMIT_EXCEEDED_VALUE
public static final int PENDING_INVITATIONS_LIMIT_EXCEEDED_VALUE
Pending invitation limit exceeded for the customer.
PENDING_INVITATIONS_LIMIT_EXCEEDED = 8;
- See Also:
- Constant Field Values
-
EMAIL_DOMAIN_POLICY_VIOLATED_VALUE
public static final int EMAIL_DOMAIN_POLICY_VIOLATED_VALUE
Email address doesn't conform to the email domain policy. Please see https://support.google.com/google-ads/answer/2375456
EMAIL_DOMAIN_POLICY_VIOLATED = 9;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AccessInvitationErrorEnum.AccessInvitationError[] 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 (AccessInvitationErrorEnum.AccessInvitationError c : AccessInvitationErrorEnum.AccessInvitationError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessInvitationErrorEnum.AccessInvitationError 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 AccessInvitationErrorEnum.AccessInvitationError 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 AccessInvitationErrorEnum.AccessInvitationError 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<AccessInvitationErrorEnum.AccessInvitationError> 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 AccessInvitationErrorEnum.AccessInvitationError 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
-
-