Enum ContactPrivacy

java.lang.Object
java.lang.Enum<ContactPrivacy>
com.google.cloud.domains.v1alpha2.ContactPrivacy
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ContactPrivacy>

@Generated public enum ContactPrivacy extends Enum<ContactPrivacy> implements com.google.protobuf.ProtocolMessageEnum
 Defines a set of possible contact privacy settings for a `Registration`.

 [ICANN](https://icann.org/) maintains the WHOIS database, a publicly
 accessible mapping from domain name to contact information, and requires that
 each domain name have an entry. Choose from these options to control how much
 information in your `ContactSettings` is published.
 
Protobuf enum google.cloud.domains.v1alpha2.ContactPrivacy
  • Enum Constant Details

    • CONTACT_PRIVACY_UNSPECIFIED

      public static final ContactPrivacy CONTACT_PRIVACY_UNSPECIFIED
       The contact privacy settings are undefined.
       
      CONTACT_PRIVACY_UNSPECIFIED = 0;
    • PUBLIC_CONTACT_DATA

      public static final ContactPrivacy PUBLIC_CONTACT_DATA
       All the data from `ContactSettings` is publicly available. When setting
       this option, you must also provide a
       `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the
       request.
       
      PUBLIC_CONTACT_DATA = 1;
    • PRIVATE_CONTACT_DATA

      public static final ContactPrivacy PRIVATE_CONTACT_DATA
       None of the data from `ContactSettings` is publicly available. Instead,
       proxy contact data is published for your domain. Email sent to the proxy
       email address is forwarded to the registrant's email address. Cloud Domains
       provides this privacy proxy service at no additional cost.
       
      PRIVATE_CONTACT_DATA = 2;
    • REDACTED_CONTACT_DATA

      public static final ContactPrivacy REDACTED_CONTACT_DATA
       Some data from `ContactSettings` is publicly available. The actual
       information redacted depends on the domain. For details, see [the
       registration privacy
       article](https://support.google.com/domains/answer/3251242).
       
      REDACTED_CONTACT_DATA = 3;
    • UNRECOGNIZED

      public static final ContactPrivacy UNRECOGNIZED
  • Field Details

    • CONTACT_PRIVACY_UNSPECIFIED_VALUE

      public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUE
       The contact privacy settings are undefined.
       
      CONTACT_PRIVACY_UNSPECIFIED = 0;
      See Also:
    • PUBLIC_CONTACT_DATA_VALUE

      public static final int PUBLIC_CONTACT_DATA_VALUE
       All the data from `ContactSettings` is publicly available. When setting
       this option, you must also provide a
       `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the
       request.
       
      PUBLIC_CONTACT_DATA = 1;
      See Also:
    • PRIVATE_CONTACT_DATA_VALUE

      public static final int PRIVATE_CONTACT_DATA_VALUE
       None of the data from `ContactSettings` is publicly available. Instead,
       proxy contact data is published for your domain. Email sent to the proxy
       email address is forwarded to the registrant's email address. Cloud Domains
       provides this privacy proxy service at no additional cost.
       
      PRIVATE_CONTACT_DATA = 2;
      See Also:
    • REDACTED_CONTACT_DATA_VALUE

      public static final int REDACTED_CONTACT_DATA_VALUE
       Some data from `ContactSettings` is publicly available. The actual
       information redacted depends on the domain. For details, see [the
       registration privacy
       article](https://support.google.com/domains/answer/3251242).
       
      REDACTED_CONTACT_DATA = 3;
      See Also:
  • Method Details

    • values

      public static ContactPrivacy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ContactPrivacy valueOf(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:
      IllegalArgumentException - if this enum type 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 public static ContactPrivacy 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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static ContactPrivacy 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<ContactPrivacy> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ContactPrivacy 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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null