Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionThe contact privacy settings are undefined.None of the data from `ContactSettings` is publicly available.All the data from `ContactSettings` is publicly available.Some data from `ContactSettings` is publicly available. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe contact privacy settings are undefined.static final intNone of the data from `ContactSettings` is publicly available.static final intAll the data from `ContactSettings` is publicly available.static final intSome data from `ContactSettings` is publicly available. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactPrivacyforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ContactPrivacy>static ContactPrivacyvalueOf(int value) Deprecated.static ContactPrivacyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ContactPrivacyReturns the enum constant of this type with the specified name.static ContactPrivacy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONTACT_PRIVACY_UNSPECIFIED
The contact privacy settings are undefined.
CONTACT_PRIVACY_UNSPECIFIED = 0; -
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
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
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
-
-
Field Details
-
CONTACT_PRIVACY_UNSPECIFIED_VALUE
public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUEThe contact privacy settings are undefined.
CONTACT_PRIVACY_UNSPECIFIED = 0;- See Also:
-
PUBLIC_CONTACT_DATA_VALUE
public static final int PUBLIC_CONTACT_DATA_VALUEAll 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_VALUENone 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_VALUESome 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
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
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 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 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 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
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-