Class RegisterParameters
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.domains.v1alpha2.RegisterParameters
- All Implemented Interfaces:
RegisterParametersOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RegisterParameters
extends com.google.protobuf.GeneratedMessage
implements RegisterParametersOrBuilder
Parameters required to register a new domain.Protobuf type
google.cloud.domains.v1alpha2.RegisterParameters- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPossible availability states of a domain name.static final classParameters required to register a new domain.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the domain is available for registration.intIndicates whether the domain is available for registration.static RegisterParametersstatic final com.google.protobuf.Descriptors.DescriptorThe domain name.com.google.protobuf.ByteStringThe domain name.getDomainNotices(int index) Notices about special properties of the domain.intNotices about special properties of the domain.Notices about special properties of the domain.intgetDomainNoticesValue(int index) Notices about special properties of the domain.Notices about special properties of the domain.com.google.protobuf.Parser<RegisterParameters>intgetSupportedPrivacy(int index) Contact privacy options that the domain supports.intContact privacy options that the domain supports.Contact privacy options that the domain supports.intgetSupportedPrivacyValue(int index) Contact privacy options that the domain supports.Contact privacy options that the domain supports.Price to register or renew the domain for one year.Price to register or renew the domain for one year.inthashCode()booleanPrice to register or renew the domain for one year.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RegisterParameters.Builderstatic RegisterParameters.BuildernewBuilder(RegisterParameters prototype) protected RegisterParameters.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RegisterParametersparseDelimitedFrom(InputStream input) static RegisterParametersparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterParametersparseFrom(byte[] data) static RegisterParametersparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterParametersparseFrom(com.google.protobuf.ByteString data) static RegisterParametersparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterParametersparseFrom(com.google.protobuf.CodedInputStream input) static RegisterParametersparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterParametersparseFrom(InputStream input) static RegisterParametersparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterParametersparseFrom(ByteBuffer data) static RegisterParametersparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RegisterParameters>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DOMAIN_NAME_FIELD_NUMBER
public static final int DOMAIN_NAME_FIELD_NUMBER- See Also:
-
AVAILABILITY_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER- See Also:
-
SUPPORTED_PRIVACY_FIELD_NUMBER
public static final int SUPPORTED_PRIVACY_FIELD_NUMBER- See Also:
-
DOMAIN_NOTICES_FIELD_NUMBER
public static final int DOMAIN_NOTICES_FIELD_NUMBER- See Also:
-
YEARLY_PRICE_FIELD_NUMBER
public static final int YEARLY_PRICE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDomainName
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Specified by:
getDomainNamein interfaceRegisterParametersOrBuilder- Returns:
- The domainName.
-
getDomainNameBytes
public com.google.protobuf.ByteString getDomainNameBytes()The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Specified by:
getDomainNameBytesin interfaceRegisterParametersOrBuilder- Returns:
- The bytes for domainName.
-
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.v1alpha2.RegisterParameters.Availability availability = 2;- Specified by:
getAvailabilityValuein interfaceRegisterParametersOrBuilder- Returns:
- The enum numeric value on the wire for 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.v1alpha2.RegisterParameters.Availability availability = 2;- Specified by:
getAvailabilityin interfaceRegisterParametersOrBuilder- Returns:
- The availability.
-
getSupportedPrivacyList
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyListin interfaceRegisterParametersOrBuilder- Returns:
- A list containing the supportedPrivacy.
-
getSupportedPrivacyCount
public int getSupportedPrivacyCount()Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyCountin interfaceRegisterParametersOrBuilder- Returns:
- The count of supportedPrivacy.
-
getSupportedPrivacy
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyin interfaceRegisterParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedPrivacy at the given index.
-
getSupportedPrivacyValueList
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyValueListin interfaceRegisterParametersOrBuilder- Returns:
- A list containing the enum numeric values on the wire for supportedPrivacy.
-
getSupportedPrivacyValue
public int getSupportedPrivacyValue(int index) Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyValuein interfaceRegisterParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedPrivacy at the given index.
-
getDomainNoticesList
Notices about special properties of the domain.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesListin interfaceRegisterParametersOrBuilder- Returns:
- A list containing the domainNotices.
-
getDomainNoticesCount
public int getDomainNoticesCount()Notices about special properties of the domain.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesCountin interfaceRegisterParametersOrBuilder- Returns:
- The count of domainNotices.
-
getDomainNotices
Notices about special properties of the domain.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesin interfaceRegisterParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The domainNotices at the given index.
-
getDomainNoticesValueList
Notices about special properties of the domain.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesValueListin interfaceRegisterParametersOrBuilder- Returns:
- A list containing the enum numeric values on the wire for domainNotices.
-
getDomainNoticesValue
public int getDomainNoticesValue(int index) Notices about special properties of the domain.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesValuein interfaceRegisterParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of domainNotices at the given index.
-
hasYearlyPrice
public boolean hasYearlyPrice()Price to register or renew the domain for one year.
.google.type.Money yearly_price = 5;- Specified by:
hasYearlyPricein interfaceRegisterParametersOrBuilder- Returns:
- Whether the yearlyPrice field is set.
-
getYearlyPrice
Price to register or renew the domain for one year.
.google.type.Money yearly_price = 5;- Specified by:
getYearlyPricein interfaceRegisterParametersOrBuilder- Returns:
- The yearlyPrice.
-
getYearlyPriceOrBuilder
Price to register or renew the domain for one year.
.google.type.Money yearly_price = 5;- Specified by:
getYearlyPriceOrBuilderin interfaceRegisterParametersOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RegisterParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RegisterParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RegisterParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RegisterParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RegisterParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RegisterParameters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-