Class RegisterDomainRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.domains.v1alpha2.RegisterDomainRequest
- All Implemented Interfaces:
RegisterDomainRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RegisterDomainRequest
extends com.google.protobuf.GeneratedMessage
implements RegisterDomainRequestOrBuilder
Request for the `RegisterDomain` method.Protobuf type
google.cloud.domains.v1alpha2.RegisterDomainRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest for the `RegisterDomain` method.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 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 TypeMethodDescriptionbooleangetContactNotices(int index) The list of contact notices that the caller acknowledges.intThe list of contact notices that the caller acknowledges.The list of contact notices that the caller acknowledges.intgetContactNoticesValue(int index) The list of contact notices that the caller acknowledges.The list of contact notices that the caller acknowledges.static RegisterDomainRequeststatic final com.google.protobuf.Descriptors.DescriptorgetDomainNotices(int index) The list of domain notices that you acknowledge.intThe list of domain notices that you acknowledge.The list of domain notices that you acknowledge.intgetDomainNoticesValue(int index) The list of domain notices that you acknowledge.The list of domain notices that you acknowledge.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<RegisterDomainRequest>Required.Required.intbooleanWhen true, only validation is performed, without actually registering the domain.Required.Required.inthashCode()booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(RegisterDomainRequest prototype) protected RegisterDomainRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RegisterDomainRequestparseDelimitedFrom(InputStream input) static RegisterDomainRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterDomainRequestparseFrom(byte[] data) static RegisterDomainRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterDomainRequestparseFrom(com.google.protobuf.ByteString data) static RegisterDomainRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterDomainRequestparseFrom(com.google.protobuf.CodedInputStream input) static RegisterDomainRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterDomainRequestparseFrom(InputStream input) static RegisterDomainRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterDomainRequestparseFrom(ByteBuffer data) static RegisterDomainRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RegisterDomainRequest>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
-
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER- See Also:
-
REGISTRATION_FIELD_NUMBER
public static final int REGISTRATION_FIELD_NUMBER- See Also:
-
DOMAIN_NOTICES_FIELD_NUMBER
public static final int DOMAIN_NOTICES_FIELD_NUMBER- See Also:
-
CONTACT_NOTICES_FIELD_NUMBER
public static final int CONTACT_NOTICES_FIELD_NUMBER- See Also:
-
YEARLY_PRICE_FIELD_NUMBER
public static final int YEARLY_PRICE_FIELD_NUMBER- See Also:
-
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_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
-
getParent
Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceRegisterDomainRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceRegisterDomainRequestOrBuilder- Returns:
- The bytes for parent.
-
hasRegistration
public boolean hasRegistration()Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasRegistrationin interfaceRegisterDomainRequestOrBuilder- Returns:
- Whether the registration field is set.
-
getRegistration
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRegistrationin interfaceRegisterDomainRequestOrBuilder- Returns:
- The registration.
-
getRegistrationOrBuilder
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRegistrationOrBuilderin interfaceRegisterDomainRequestOrBuilder
-
getDomainNoticesList
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3;- Specified by:
getDomainNoticesListin interfaceRegisterDomainRequestOrBuilder- Returns:
- A list containing the domainNotices.
-
getDomainNoticesCount
public int getDomainNoticesCount()The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3;- Specified by:
getDomainNoticesCountin interfaceRegisterDomainRequestOrBuilder- Returns:
- The count of domainNotices.
-
getDomainNotices
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3;- Specified by:
getDomainNoticesin interfaceRegisterDomainRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The domainNotices at the given index.
-
getDomainNoticesValueList
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3;- Specified by:
getDomainNoticesValueListin interfaceRegisterDomainRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for domainNotices.
-
getDomainNoticesValue
public int getDomainNoticesValue(int index) The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3;- Specified by:
getDomainNoticesValuein interfaceRegisterDomainRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of domainNotices at the given index.
-
getContactNoticesList
The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`.
repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesListin interfaceRegisterDomainRequestOrBuilder- Returns:
- A list containing the contactNotices.
-
getContactNoticesCount
public int getContactNoticesCount()The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`.
repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesCountin interfaceRegisterDomainRequestOrBuilder- Returns:
- The count of contactNotices.
-
getContactNotices
The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`.
repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesin interfaceRegisterDomainRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The contactNotices at the given index.
-
getContactNoticesValueList
The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`.
repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesValueListin interfaceRegisterDomainRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for contactNotices.
-
getContactNoticesValue
public int getContactNoticesValue(int index) The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`.
repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesValuein interfaceRegisterDomainRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of contactNotices at the given index.
-
hasYearlyPrice
public boolean hasYearlyPrice()Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.
.google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasYearlyPricein interfaceRegisterDomainRequestOrBuilder- Returns:
- Whether the yearlyPrice field is set.
-
getYearlyPrice
Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.
.google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getYearlyPricein interfaceRegisterDomainRequestOrBuilder- Returns:
- The yearlyPrice.
-
getYearlyPriceOrBuilder
Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.
.google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getYearlyPriceOrBuilderin interfaceRegisterDomainRequestOrBuilder
-
getValidateOnly
public boolean getValidateOnly()When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation
bool validate_only = 6;- Specified by:
getValidateOnlyin interfaceRegisterDomainRequestOrBuilder- Returns:
- The validateOnly.
-
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 RegisterDomainRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterDomainRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterDomainRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterDomainRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterDomainRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RegisterDomainRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RegisterDomainRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RegisterDomainRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RegisterDomainRequest 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 RegisterDomainRequest.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
-