Class RegisterParameters (1.5.0)

public final class RegisterParameters extends GeneratedMessageV3 implements RegisterParametersOrBuilder

Parameters required to register a new domain.

Protobuf type google.cloud.domains.v1.RegisterParameters

Static Fields

AVAILABILITY_FIELD_NUMBER

public static final int AVAILABILITY_FIELD_NUMBER
Field Value
TypeDescription
int

DOMAIN_NAME_FIELD_NUMBER

public static final int DOMAIN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

DOMAIN_NOTICES_FIELD_NUMBER

public static final int DOMAIN_NOTICES_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTED_PRIVACY_FIELD_NUMBER

public static final int SUPPORTED_PRIVACY_FIELD_NUMBER
Field Value
TypeDescription
int

YEARLY_PRICE_FIELD_NUMBER

public static final int YEARLY_PRICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RegisterParameters getDefaultInstance()
Returns
TypeDescription
RegisterParameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RegisterParameters.Builder newBuilder()
Returns
TypeDescription
RegisterParameters.Builder

newBuilder(RegisterParameters prototype)

public static RegisterParameters.Builder newBuilder(RegisterParameters prototype)
Parameter
NameDescription
prototypeRegisterParameters
Returns
TypeDescription
RegisterParameters.Builder

parseDelimitedFrom(InputStream input)

public static RegisterParameters parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RegisterParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RegisterParameters parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RegisterParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RegisterParameters parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RegisterParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RegisterParameters parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RegisterParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RegisterParameters parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RegisterParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RegisterParameters parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RegisterParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegisterParameters
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RegisterParameters> parser()
Returns
TypeDescription
Parser<RegisterParameters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAvailability()

public RegisterParameters.Availability getAvailability()

Indicates whether the domain is available for registration. This value is accurate when obtained by calling RetrieveRegisterParameters, but is approximate when obtained by calling SearchDomains.

.google.cloud.domains.v1.RegisterParameters.Availability availability = 2;

Returns
TypeDescription
RegisterParameters.Availability

The availability.

getAvailabilityValue()

public int getAvailabilityValue()

Indicates whether the domain is available for registration. This value is accurate when obtained by calling RetrieveRegisterParameters, but is approximate when obtained by calling SearchDomains.

.google.cloud.domains.v1.RegisterParameters.Availability availability = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for availability.

getDefaultInstanceForType()

public RegisterParameters getDefaultInstanceForType()
Returns
TypeDescription
RegisterParameters

getDomainName()

public String getDomainName()

The domain name. Unicode domain names are expressed in Punycode format.

string domain_name = 1;

Returns
TypeDescription
String

The domainName.

getDomainNameBytes()

public ByteString getDomainNameBytes()

The domain name. Unicode domain names are expressed in Punycode format.

string domain_name = 1;

Returns
TypeDescription
ByteString

The bytes for domainName.

getDomainNotices(int index)

public DomainNotice getDomainNotices(int index)

Notices about special properties of the domain.

repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
DomainNotice

The domainNotices at the given index.

getDomainNoticesCount()

public int getDomainNoticesCount()

Notices about special properties of the domain.

repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;

Returns
TypeDescription
int

The count of domainNotices.

getDomainNoticesList()

public List<DomainNotice> getDomainNoticesList()

Notices about special properties of the domain.

repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;

Returns
TypeDescription
List<DomainNotice>

A list containing the domainNotices.

getDomainNoticesValue(int index)

public int getDomainNoticesValue(int index)

Notices about special properties of the domain.

repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of domainNotices at the given index.

getDomainNoticesValueList()

public List<Integer> getDomainNoticesValueList()

Notices about special properties of the domain.

repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for domainNotices.

getParserForType()

public Parser<RegisterParameters> getParserForType()
Returns
TypeDescription
Parser<RegisterParameters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSupportedPrivacy(int index)

public ContactPrivacy getSupportedPrivacy(int index)

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ContactPrivacy

The supportedPrivacy at the given index.

getSupportedPrivacyCount()

public int getSupportedPrivacyCount()

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;

Returns
TypeDescription
int

The count of supportedPrivacy.

getSupportedPrivacyList()

public List<ContactPrivacy> getSupportedPrivacyList()

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;

Returns
TypeDescription
List<ContactPrivacy>

A list containing the supportedPrivacy.

getSupportedPrivacyValue(int index)

public int getSupportedPrivacyValue(int index)

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of supportedPrivacy at the given index.

getSupportedPrivacyValueList()

public List<Integer> getSupportedPrivacyValueList()

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for supportedPrivacy.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getYearlyPrice()

public Money getYearlyPrice()

Price to register or renew the domain for one year.

.google.type.Money yearly_price = 5;

Returns
TypeDescription
com.google.type.Money

The yearlyPrice.

getYearlyPriceOrBuilder()

public MoneyOrBuilder getYearlyPriceOrBuilder()

Price to register or renew the domain for one year.

.google.type.Money yearly_price = 5;

Returns
TypeDescription
com.google.type.MoneyOrBuilder

hasYearlyPrice()

public boolean hasYearlyPrice()

Price to register or renew the domain for one year.

.google.type.Money yearly_price = 5;

Returns
TypeDescription
boolean

Whether the yearlyPrice field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RegisterParameters.Builder newBuilderForType()
Returns
TypeDescription
RegisterParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RegisterParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RegisterParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RegisterParameters.Builder toBuilder()
Returns
TypeDescription
RegisterParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException