Class RegisterDomainRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RegisterDomainRequest.Builder>
com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder
- All Implemented Interfaces:
RegisterDomainRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RegisterDomainRequest
public static final class RegisterDomainRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RegisterDomainRequest.Builder>
implements RegisterDomainRequestOrBuilder
Request for the `RegisterDomain` method.Protobuf type
google.cloud.domains.v1alpha2.RegisterDomainRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllContactNotices(Iterable<? extends ContactNotice> values) The list of contact notices that the caller acknowledges.addAllContactNoticesValue(Iterable<Integer> values) The list of contact notices that the caller acknowledges.addAllDomainNotices(Iterable<? extends DomainNotice> values) The list of domain notices that you acknowledge.addAllDomainNoticesValue(Iterable<Integer> values) The list of domain notices that you acknowledge.addContactNotices(ContactNotice value) The list of contact notices that the caller acknowledges.addContactNoticesValue(int value) The list of contact notices that the caller acknowledges.addDomainNotices(DomainNotice value) The list of domain notices that you acknowledge.addDomainNoticesValue(int value) The list of domain notices that you acknowledge.build()clear()The list of contact notices that the caller acknowledges.The list of domain notices that you acknowledge.Required.Required.When true, only validation is performed, without actually registering the domain.Required.getContactNotices(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 final com.google.protobuf.Descriptors.Descriptorcom.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.Required.Required.Required.booleanWhen true, only validation is performed, without actually registering the domain.Required.Required.Required.booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RegisterDomainRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRegistration(Registration value) Required.mergeYearlyPrice(Money value) Required.setContactNotices(int index, ContactNotice value) The list of contact notices that the caller acknowledges.setContactNoticesValue(int index, int value) The list of contact notices that the caller acknowledges.setDomainNotices(int index, DomainNotice value) The list of domain notices that you acknowledge.setDomainNoticesValue(int index, int value) The list of domain notices that you acknowledge.Required.setParentBytes(com.google.protobuf.ByteString value) Required.setRegistration(Registration value) Required.setRegistration(Registration.Builder builderForValue) Required.setValidateOnly(boolean value) When true, only validation is performed, without actually registering the domain.setYearlyPrice(Money value) Required.setYearlyPrice(Money.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<RegisterDomainRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RegisterDomainRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RegisterDomainRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegisterDomainRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RegisterDomainRequest.Builder>
-
mergeFrom
public RegisterDomainRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegisterDomainRequest.Builder>- Throws:
IOException
-
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.
-
setParent
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) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
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) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
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) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
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.
-
setRegistration
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; -
setRegistration
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; -
mergeRegistration
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearRegistration
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; -
getRegistrationBuilder
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; -
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.
-
setDomainNotices
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;- Parameters:
index- The index to set the value at.value- The domainNotices to set.- Returns:
- This builder for chaining.
-
addDomainNotices
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;- Parameters:
value- The domainNotices to add.- Returns:
- This builder for chaining.
-
addAllDomainNotices
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;- Parameters:
values- The domainNotices to add.- Returns:
- This builder for chaining.
-
clearDomainNotices
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;- Returns:
- This builder for chaining.
-
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.
-
setDomainNoticesValue
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;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for domainNotices to set.- Returns:
- This builder for chaining.
-
addDomainNoticesValue
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;- Parameters:
value- The enum numeric value on the wire for domainNotices to add.- Returns:
- This builder for chaining.
-
addAllDomainNoticesValue
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;- Parameters:
values- The enum numeric values on the wire for domainNotices to add.- Returns:
- This builder for chaining.
-
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.
-
setContactNotices
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;- Parameters:
index- The index to set the value at.value- The contactNotices to set.- Returns:
- This builder for chaining.
-
addContactNotices
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;- Parameters:
value- The contactNotices to add.- Returns:
- This builder for chaining.
-
addAllContactNotices
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;- Parameters:
values- The contactNotices to add.- Returns:
- This builder for chaining.
-
clearContactNotices
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;- Returns:
- This builder for chaining.
-
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.
-
setContactNoticesValue
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;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for contactNotices to set.- Returns:
- This builder for chaining.
-
addContactNoticesValue
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;- Parameters:
value- The enum numeric value on the wire for contactNotices to add.- Returns:
- This builder for chaining.
-
addAllContactNoticesValue
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;- Parameters:
values- The enum numeric values on the wire for contactNotices to add.- Returns:
- This builder for chaining.
-
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.
-
setYearlyPrice
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]; -
setYearlyPrice
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]; -
mergeYearlyPrice
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]; -
clearYearlyPrice
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]; -
getYearlyPriceBuilder
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]; -
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.
-
setValidateOnly
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;- Parameters:
value- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
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;- Returns:
- This builder for chaining.
-