Enum AccessInvitationErrorEnum.AccessInvitationError
- java.lang.Object
-
- java.lang.Enum<AccessInvitationErrorEnum.AccessInvitationError>
-
- com.google.ads.googleads.v10.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.v10.errors.AccessInvitationErrorEnum.AccessInvitationError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMAIL_ADDRESS_ALREADY_HAS_ACCESSEmail address already has access to this customer.EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATIONEmail address already has a pending invitation.EMAIL_DOMAIN_POLICY_VIOLATEDEmail address doesn't conform to the email domain policy.GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWEDEmail address cannot be like abc+foo@google.com.INVALID_EMAIL_ADDRESSThe email address is invalid for sending an invitation.INVALID_INVITATION_IDInvalid invitation id.INVALID_INVITATION_STATUSInvalid invitation status for the operation.PENDING_INVITATIONS_LIMIT_EXCEEDEDPending invitation limit exceeded for the customer.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intEMAIL_ADDRESS_ALREADY_HAS_ACCESS_VALUEEmail address already has access to this customer.static intEMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION_VALUEEmail address already has a pending invitation.static intEMAIL_DOMAIN_POLICY_VIOLATED_VALUEEmail address doesn't conform to the email domain policy.static intGOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED_VALUEEmail address cannot be like abc+foo@google.com.static intINVALID_EMAIL_ADDRESS_VALUEThe email address is invalid for sending an invitation.static intINVALID_INVITATION_ID_VALUEInvalid invitation id.static intINVALID_INVITATION_STATUS_VALUEInvalid invitation status for the operation.static intPENDING_INVITATIONS_LIMIT_EXCEEDED_VALUEPending invitation limit exceeded for the customer.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 AccessInvitationErrorEnum.AccessInvitationErrorforNumber(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<AccessInvitationErrorEnum.AccessInvitationError>internalGetValueMap()static AccessInvitationErrorEnum.AccessInvitationErrorvalueOf(int value)Deprecated.static AccessInvitationErrorEnum.AccessInvitationErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AccessInvitationErrorEnum.AccessInvitationErrorvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
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 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
-
-