Enum AccessInvitationErrorEnum.AccessInvitationError

    • 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 name
        java.lang.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
        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 name
        java.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.
      • 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 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 name
        java.lang.NullPointerException - if the argument is null