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 and Description |
|---|
CONTACT_PRIVACY_UNSPECIFIED
The contact privacy settings are undefined.
|
PRIVATE_CONTACT_DATA
None of the data from `ContactSettings` is publicly available.
|
PUBLIC_CONTACT_DATA
All the data from `ContactSettings` is publicly available.
|
REDACTED_CONTACT_DATA
Some data from `ContactSettings` is publicly available.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTACT_PRIVACY_UNSPECIFIED_VALUE
The contact privacy settings are undefined.
|
static int |
PRIVATE_CONTACT_DATA_VALUE
None of the data from `ContactSettings` is publicly available.
|
static int |
PUBLIC_CONTACT_DATA_VALUE
All the data from `ContactSettings` is publicly available.
|
static int |
REDACTED_CONTACT_DATA_VALUE
Some data from `ContactSettings` is publicly available.
|
| Modifier and Type | Method and Description |
|---|---|
static ContactPrivacy |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ContactPrivacy> |
internalGetValueMap() |
static ContactPrivacy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ContactPrivacy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ContactPrivacy |
valueOf(String name)
Returns 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.
|
public static final ContactPrivacy CONTACT_PRIVACY_UNSPECIFIED
The contact privacy settings are undefined.
CONTACT_PRIVACY_UNSPECIFIED = 0;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;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;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;public static final ContactPrivacy UNRECOGNIZED
public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUE
The contact privacy settings are undefined.
CONTACT_PRIVACY_UNSPECIFIED = 0;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;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;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;public static ContactPrivacy[] values()
for (ContactPrivacy c : ContactPrivacy.values()) System.out.println(c);
public static ContactPrivacy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ContactPrivacy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ContactPrivacy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ContactPrivacy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ContactPrivacy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.