Enum Class AccessInvitationErrorEnum.AccessInvitationError
java.lang.Object
java.lang.Enum<AccessInvitationErrorEnum.AccessInvitationError>
com.google.ads.googleads.v18.errors.AccessInvitationErrorEnum.AccessInvitationError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AccessInvitationErrorEnum.AccessInvitationError>,Constable
- Enclosing class:
- AccessInvitationErrorEnum
public static enum AccessInvitationErrorEnum.AccessInvitationError
extends Enum<AccessInvitationErrorEnum.AccessInvitationError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible AccessInvitation errors.Protobuf enum
google.ads.googleads.v18.errors.AccessInvitationErrorEnum.AccessInvitationError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEmail address already has access to this customer.Email address already has a pending invitation.Email address doesn't conform to the email domain policy.Email address cannot be like abc+foo@google.com.The email address is invalid for sending an invitation.Invalid invitation ID.Invalid invitation status for the operation.Pending invitation limit exceeded for the customer.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEmail address already has access to this customer.static final intEmail address already has a pending invitation.static final intEmail address doesn't conform to the email domain policy.static final intEmail address cannot be like abc+foo@google.com.static final intThe email address is invalid for sending an invitation.static final intInvalid invitation ID.static final intInvalid invitation status for the operation.static final intPending invitation limit exceeded for the customer.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<AccessInvitationErrorEnum.AccessInvitationError>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; -
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_ACCESSEmail address already has access to this customer.
EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3; -
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_ALLOWEDEmail address cannot be like abc+foo@google.com.
GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5; -
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_INVITATIONEmail 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_EXCEEDEDPending invitation limit exceeded for the customer.
PENDING_INVITATIONS_LIMIT_EXCEEDED = 8; -
EMAIL_DOMAIN_POLICY_VIOLATED
Email address doesn't conform to the email domain policy. See https://support.google.com/google-ads/answer/2375456
EMAIL_DOMAIN_POLICY_VIOLATED = 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:
-
INVALID_EMAIL_ADDRESS_VALUE
public static final int INVALID_EMAIL_ADDRESS_VALUEThe email address is invalid for sending an invitation.
INVALID_EMAIL_ADDRESS = 2;- See Also:
-
EMAIL_ADDRESS_ALREADY_HAS_ACCESS_VALUE
public static final int EMAIL_ADDRESS_ALREADY_HAS_ACCESS_VALUEEmail address already has access to this customer.
EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3;- See Also:
-
INVALID_INVITATION_STATUS_VALUE
public static final int INVALID_INVITATION_STATUS_VALUEInvalid invitation status for the operation.
INVALID_INVITATION_STATUS = 4;- See Also:
-
GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED_VALUE
public static final int GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED_VALUEEmail address cannot be like abc+foo@google.com.
GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5;- See Also:
-
INVALID_INVITATION_ID_VALUE
public static final int INVALID_INVITATION_ID_VALUEInvalid invitation ID.
INVALID_INVITATION_ID = 6;- See Also:
-
EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION_VALUE
public static final int EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION_VALUEEmail address already has a pending invitation.
EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION = 7;- See Also:
-
PENDING_INVITATIONS_LIMIT_EXCEEDED_VALUE
public static final int PENDING_INVITATIONS_LIMIT_EXCEEDED_VALUEPending invitation limit exceeded for the customer.
PENDING_INVITATIONS_LIMIT_EXCEEDED = 8;- See Also:
-
EMAIL_DOMAIN_POLICY_VIOLATED_VALUE
public static final int EMAIL_DOMAIN_POLICY_VIOLATED_VALUEEmail address doesn't conform to the email domain policy. See https://support.google.com/google-ads/answer/2375456
EMAIL_DOMAIN_POLICY_VIOLATED = 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<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 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
-