Class Registration
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.domains.v1alpha2.Registration
-
- All Implemented Interfaces:
RegistrationOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Registration extends com.google.protobuf.GeneratedMessageV3 implements RegistrationOrBuilder
The `Registration` resource facilitates managing and configuring domain name registrations. There are several ways to create a new `Registration` resource: To create a new `Registration` resource, find a suitable domain name by calling the `SearchDomains` method with a query to see available domain name options. After choosing a name, call `RetrieveRegisterParameters` to ensure availability and obtain information like pricing, which is needed to build a call to `RegisterDomain`. Another way to create a new `Registration` is to transfer an existing domain from another registrar. First, go to the current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to `TransferDomain`.
Protobuf typegoogle.cloud.domains.v1alpha2.Registration
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Registration.Builder
The `Registration` resource facilitates managing and configuring domain name registrations.static class
Registration.Issue
Possible issues with a `Registration` that require attention.static class
Registration.State
Possible states of a `Registration`.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONTACT_SETTINGS_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DNS_SETTINGS_FIELD_NUMBER
static int
DOMAIN_NAME_FIELD_NUMBER
static int
EXPIRE_TIME_FIELD_NUMBER
static int
ISSUES_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MANAGEMENT_SETTINGS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PENDING_CONTACT_SETTINGS_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
SUPPORTED_PRIVACY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Set of labels associated with the `Registration`.boolean
equals(Object obj)
ContactSettings
getContactSettings()
Required.ContactSettingsOrBuilder
getContactSettingsOrBuilder()
Required.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Registration
getDefaultInstance()
Registration
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
DnsSettings
getDnsSettings()
Settings controlling the DNS configuration of the `Registration`.DnsSettingsOrBuilder
getDnsSettingsOrBuilder()
Settings controlling the DNS configuration of the `Registration`.String
getDomainName()
Required.com.google.protobuf.ByteString
getDomainNameBytes()
Required.com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.Registration.Issue
getIssues(int index)
Output only.int
getIssuesCount()
Output only.List<Registration.Issue>
getIssuesList()
Output only.int
getIssuesValue(int index)
Output only.List<Integer>
getIssuesValueList()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Set of labels associated with the `Registration`.Map<String,String>
getLabelsMap()
Set of labels associated with the `Registration`.String
getLabelsOrDefault(String key, String defaultValue)
Set of labels associated with the `Registration`.String
getLabelsOrThrow(String key)
Set of labels associated with the `Registration`.ManagementSettings
getManagementSettings()
Settings for management of the `Registration`, including renewal, billing, and transfer.ManagementSettingsOrBuilder
getManagementSettingsOrBuilder()
Settings for management of the `Registration`, including renewal, billing, and transfer.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<Registration>
getParserForType()
ContactSettings
getPendingContactSettings()
Output only.ContactSettingsOrBuilder
getPendingContactSettingsOrBuilder()
Output only.int
getSerializedSize()
Registration.State
getState()
Output only.int
getStateValue()
Output only.ContactPrivacy
getSupportedPrivacy(int index)
Output only.int
getSupportedPrivacyCount()
Output only.List<ContactPrivacy>
getSupportedPrivacyList()
Output only.int
getSupportedPrivacyValue(int index)
Output only.List<Integer>
getSupportedPrivacyValueList()
Output only.boolean
hasContactSettings()
Required.boolean
hasCreateTime()
Output only.boolean
hasDnsSettings()
Settings controlling the DNS configuration of the `Registration`.boolean
hasExpireTime()
Output only.int
hashCode()
boolean
hasManagementSettings()
Settings for management of the `Registration`, including renewal, billing, and transfer.boolean
hasPendingContactSettings()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Registration.Builder
newBuilder()
static Registration.Builder
newBuilder(Registration prototype)
Registration.Builder
newBuilderForType()
protected Registration.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Registration
parseDelimitedFrom(InputStream input)
static Registration
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Registration
parseFrom(byte[] data)
static Registration
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Registration
parseFrom(com.google.protobuf.ByteString data)
static Registration
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Registration
parseFrom(com.google.protobuf.CodedInputStream input)
static Registration
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Registration
parseFrom(InputStream input)
static Registration
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Registration
parseFrom(ByteBuffer data)
static Registration
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Registration>
parser()
Registration.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOMAIN_NAME_FIELD_NUMBER
public static final int DOMAIN_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISSUES_FIELD_NUMBER
public static final int ISSUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANAGEMENT_SETTINGS_FIELD_NUMBER
public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DNS_SETTINGS_FIELD_NUMBER
public static final int DNS_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTACT_SETTINGS_FIELD_NUMBER
public static final int CONTACT_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PENDING_CONTACT_SETTINGS_FIELD_NUMBER
public static final int PENDING_CONTACT_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUPPORTED_PRIVACY_FIELD_NUMBER
public static final int SUPPORTED_PRIVACY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. Name of the `Registration` resource, in the format `projects/*/locations/*/registrations/<domain_name>`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceRegistrationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Name of the `Registration` resource, in the format `projects/*/locations/*/registrations/<domain_name>`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceRegistrationOrBuilder
- Returns:
- The bytes for name.
-
getDomainName
public String getDomainName()
Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getDomainName
in interfaceRegistrationOrBuilder
- Returns:
- The domainName.
-
getDomainNameBytes
public com.google.protobuf.ByteString getDomainNameBytes()
Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getDomainNameBytes
in interfaceRegistrationOrBuilder
- Returns:
- The bytes for domainName.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation timestamp of the `Registration` resource.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceRegistrationOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of the `Registration` resource.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceRegistrationOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of the `Registration` resource.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceRegistrationOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
Output only. The expiration timestamp of the `Registration`.
.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasExpireTime
in interfaceRegistrationOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
Output only. The expiration timestamp of the `Registration`.
.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTime
in interfaceRegistrationOrBuilder
- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The expiration timestamp of the `Registration`.
.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTimeOrBuilder
in interfaceRegistrationOrBuilder
-
getStateValue
public int getStateValue()
Output only. The state of the `Registration`
.google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceRegistrationOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Registration.State getState()
Output only. The state of the `Registration`
.google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceRegistrationOrBuilder
- Returns:
- The state.
-
getIssuesList
public List<Registration.Issue> getIssuesList()
Output only. The set of issues with the `Registration` that require attention.
repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getIssuesList
in interfaceRegistrationOrBuilder
- Returns:
- A list containing the issues.
-
getIssuesCount
public int getIssuesCount()
Output only. The set of issues with the `Registration` that require attention.
repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getIssuesCount
in interfaceRegistrationOrBuilder
- Returns:
- The count of issues.
-
getIssues
public Registration.Issue getIssues(int index)
Output only. The set of issues with the `Registration` that require attention.
repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getIssues
in interfaceRegistrationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The issues at the given index.
-
getIssuesValueList
public List<Integer> getIssuesValueList()
Output only. The set of issues with the `Registration` that require attention.
repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getIssuesValueList
in interfaceRegistrationOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for issues.
-
getIssuesValue
public int getIssuesValue(int index)
Output only. The set of issues with the `Registration` that require attention.
repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getIssuesValue
in interfaceRegistrationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of issues at the given index.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:RegistrationOrBuilder
Set of labels associated with the `Registration`.
map<string, string> labels = 9;
- Specified by:
getLabelsCount
in interfaceRegistrationOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Set of labels associated with the `Registration`.
map<string, string> labels = 9;
- Specified by:
containsLabels
in interfaceRegistrationOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceRegistrationOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Set of labels associated with the `Registration`.
map<string, string> labels = 9;
- Specified by:
getLabelsMap
in interfaceRegistrationOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Set of labels associated with the `Registration`.
map<string, string> labels = 9;
- Specified by:
getLabelsOrDefault
in interfaceRegistrationOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Set of labels associated with the `Registration`.
map<string, string> labels = 9;
- Specified by:
getLabelsOrThrow
in interfaceRegistrationOrBuilder
-
hasManagementSettings
public boolean hasManagementSettings()
Settings for management of the `Registration`, including renewal, billing, and transfer. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureManagementSettings` method.
.google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
- Specified by:
hasManagementSettings
in interfaceRegistrationOrBuilder
- Returns:
- Whether the managementSettings field is set.
-
getManagementSettings
public ManagementSettings getManagementSettings()
Settings for management of the `Registration`, including renewal, billing, and transfer. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureManagementSettings` method.
.google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
- Specified by:
getManagementSettings
in interfaceRegistrationOrBuilder
- Returns:
- The managementSettings.
-
getManagementSettingsOrBuilder
public ManagementSettingsOrBuilder getManagementSettingsOrBuilder()
Settings for management of the `Registration`, including renewal, billing, and transfer. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureManagementSettings` method.
.google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
- Specified by:
getManagementSettingsOrBuilder
in interfaceRegistrationOrBuilder
-
hasDnsSettings
public boolean hasDnsSettings()
Settings controlling the DNS configuration of the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureDnsSettings` method.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11;
- Specified by:
hasDnsSettings
in interfaceRegistrationOrBuilder
- Returns:
- Whether the dnsSettings field is set.
-
getDnsSettings
public DnsSettings getDnsSettings()
Settings controlling the DNS configuration of the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureDnsSettings` method.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11;
- Specified by:
getDnsSettings
in interfaceRegistrationOrBuilder
- Returns:
- The dnsSettings.
-
getDnsSettingsOrBuilder
public DnsSettingsOrBuilder getDnsSettingsOrBuilder()
Settings controlling the DNS configuration of the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureDnsSettings` method.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11;
- Specified by:
getDnsSettingsOrBuilder
in interfaceRegistrationOrBuilder
-
hasContactSettings
public boolean hasContactSettings()
Required. Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasContactSettings
in interfaceRegistrationOrBuilder
- Returns:
- Whether the contactSettings field is set.
-
getContactSettings
public ContactSettings getContactSettings()
Required. Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getContactSettings
in interfaceRegistrationOrBuilder
- Returns:
- The contactSettings.
-
getContactSettingsOrBuilder
public ContactSettingsOrBuilder getContactSettingsOrBuilder()
Required. Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getContactSettingsOrBuilder
in interfaceRegistrationOrBuilder
-
hasPendingContactSettings
public boolean hasPendingContactSettings()
Output only. Pending contact settings for the `Registration`. Updates to the `contact_settings` field that change its `registrant_contact` or `privacy` fields require email confirmation by the `registrant_contact` before taking effect. This field is set only if there are pending updates to the `contact_settings` that have not been confirmed. To confirm the changes, the `registrant_contact` must follow the instructions in the email they receive.
.google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasPendingContactSettings
in interfaceRegistrationOrBuilder
- Returns:
- Whether the pendingContactSettings field is set.
-
getPendingContactSettings
public ContactSettings getPendingContactSettings()
Output only. Pending contact settings for the `Registration`. Updates to the `contact_settings` field that change its `registrant_contact` or `privacy` fields require email confirmation by the `registrant_contact` before taking effect. This field is set only if there are pending updates to the `contact_settings` that have not been confirmed. To confirm the changes, the `registrant_contact` must follow the instructions in the email they receive.
.google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPendingContactSettings
in interfaceRegistrationOrBuilder
- Returns:
- The pendingContactSettings.
-
getPendingContactSettingsOrBuilder
public ContactSettingsOrBuilder getPendingContactSettingsOrBuilder()
Output only. Pending contact settings for the `Registration`. Updates to the `contact_settings` field that change its `registrant_contact` or `privacy` fields require email confirmation by the `registrant_contact` before taking effect. This field is set only if there are pending updates to the `contact_settings` that have not been confirmed. To confirm the changes, the `registrant_contact` must follow the instructions in the email they receive.
.google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPendingContactSettingsOrBuilder
in interfaceRegistrationOrBuilder
-
getSupportedPrivacyList
public List<ContactPrivacy> getSupportedPrivacyList()
Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSupportedPrivacyList
in interfaceRegistrationOrBuilder
- Returns:
- A list containing the supportedPrivacy.
-
getSupportedPrivacyCount
public int getSupportedPrivacyCount()
Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSupportedPrivacyCount
in interfaceRegistrationOrBuilder
- Returns:
- The count of supportedPrivacy.
-
getSupportedPrivacy
public ContactPrivacy getSupportedPrivacy(int index)
Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSupportedPrivacy
in interfaceRegistrationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The supportedPrivacy at the given index.
-
getSupportedPrivacyValueList
public List<Integer> getSupportedPrivacyValueList()
Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSupportedPrivacyValueList
in interfaceRegistrationOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for supportedPrivacy.
-
getSupportedPrivacyValue
public int getSupportedPrivacyValue(int index)
Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSupportedPrivacyValue
in interfaceRegistrationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedPrivacy at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Registration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Registration parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Registration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Registration parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Registration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Registration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Registration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Registration.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Registration.Builder newBuilder()
-
newBuilder
public static Registration.Builder newBuilder(Registration prototype)
-
toBuilder
public Registration.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Registration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Registration getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Registration> parser()
-
getParserForType
public com.google.protobuf.Parser<Registration> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Registration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-