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
  • Enum Constant Details

  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • 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:
    • 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:
    • INVALID_INVITATION_STATUS_VALUE

      public static final int INVALID_INVITATION_STATUS_VALUE
       Invalid 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_VALUE
       Email 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_VALUE
       Invalid 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_VALUE
       Email 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_VALUE
       Pending 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_VALUE
       Email 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null