Package com.google.cloud.domains.v1
Class RegisterDomainRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
- com.google.cloud.domains.v1.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.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder> implements RegisterDomainRequestOrBuilder
Request for the `RegisterDomain` method.
Protobuf typegoogle.cloud.domains.v1.RegisterDomainRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterDomainRequest.BuilderaddAllContactNotices(Iterable<? extends ContactNotice> values)The list of contact notices that the caller acknowledges.RegisterDomainRequest.BuilderaddAllContactNoticesValue(Iterable<Integer> values)The list of contact notices that the caller acknowledges.RegisterDomainRequest.BuilderaddAllDomainNotices(Iterable<? extends DomainNotice> values)The list of domain notices that you acknowledge.RegisterDomainRequest.BuilderaddAllDomainNoticesValue(Iterable<Integer> values)The list of domain notices that you acknowledge.RegisterDomainRequest.BuilderaddContactNotices(ContactNotice value)The list of contact notices that the caller acknowledges.RegisterDomainRequest.BuilderaddContactNoticesValue(int value)The list of contact notices that the caller acknowledges.RegisterDomainRequest.BuilderaddDomainNotices(DomainNotice value)The list of domain notices that you acknowledge.RegisterDomainRequest.BuilderaddDomainNoticesValue(int value)The list of domain notices that you acknowledge.RegisterDomainRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RegisterDomainRequestbuild()RegisterDomainRequestbuildPartial()RegisterDomainRequest.Builderclear()RegisterDomainRequest.BuilderclearContactNotices()The list of contact notices that the caller acknowledges.RegisterDomainRequest.BuilderclearDomainNotices()The list of domain notices that you acknowledge.RegisterDomainRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RegisterDomainRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RegisterDomainRequest.BuilderclearParent()Required.RegisterDomainRequest.BuilderclearRegistration()Required.RegisterDomainRequest.BuilderclearValidateOnly()When true, only validation is performed, without actually registering the domain.RegisterDomainRequest.BuilderclearYearlyPrice()Required.RegisterDomainRequest.Builderclone()ContactNoticegetContactNotices(int index)The list of contact notices that the caller acknowledges.intgetContactNoticesCount()The list of contact notices that the caller acknowledges.List<ContactNotice>getContactNoticesList()The list of contact notices that the caller acknowledges.intgetContactNoticesValue(int index)The list of contact notices that the caller acknowledges.List<Integer>getContactNoticesValueList()The list of contact notices that the caller acknowledges.RegisterDomainRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DomainNoticegetDomainNotices(int index)The list of domain notices that you acknowledge.intgetDomainNoticesCount()The list of domain notices that you acknowledge.List<DomainNotice>getDomainNoticesList()The list of domain notices that you acknowledge.intgetDomainNoticesValue(int index)The list of domain notices that you acknowledge.List<Integer>getDomainNoticesValueList()The list of domain notices that you acknowledge.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.RegistrationgetRegistration()Required.Registration.BuildergetRegistrationBuilder()Required.RegistrationOrBuildergetRegistrationOrBuilder()Required.booleangetValidateOnly()When true, only validation is performed, without actually registering the domain.com.google.type.MoneygetYearlyPrice()Required.com.google.type.Money.BuildergetYearlyPriceBuilder()Required.com.google.type.MoneyOrBuildergetYearlyPriceOrBuilder()Required.booleanhasRegistration()Required.booleanhasYearlyPrice()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RegisterDomainRequest.BuildermergeFrom(RegisterDomainRequest other)RegisterDomainRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RegisterDomainRequest.BuildermergeFrom(com.google.protobuf.Message other)RegisterDomainRequest.BuildermergeRegistration(Registration value)Required.RegisterDomainRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RegisterDomainRequest.BuildermergeYearlyPrice(com.google.type.Money value)Required.RegisterDomainRequest.BuildersetContactNotices(int index, ContactNotice value)The list of contact notices that the caller acknowledges.RegisterDomainRequest.BuildersetContactNoticesValue(int index, int value)The list of contact notices that the caller acknowledges.RegisterDomainRequest.BuildersetDomainNotices(int index, DomainNotice value)The list of domain notices that you acknowledge.RegisterDomainRequest.BuildersetDomainNoticesValue(int index, int value)The list of domain notices that you acknowledge.RegisterDomainRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RegisterDomainRequest.BuildersetParent(String value)Required.RegisterDomainRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Required.RegisterDomainRequest.BuildersetRegistration(Registration value)Required.RegisterDomainRequest.BuildersetRegistration(Registration.Builder builderForValue)Required.RegisterDomainRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RegisterDomainRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RegisterDomainRequest.BuildersetValidateOnly(boolean value)When true, only validation is performed, without actually registering the domain.RegisterDomainRequest.BuildersetYearlyPrice(com.google.type.Money value)Required.RegisterDomainRequest.BuildersetYearlyPrice(com.google.type.Money.Builder builderForValue)Required.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
clear
public RegisterDomainRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
getDefaultInstanceForType
public RegisterDomainRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegisterDomainRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegisterDomainRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegisterDomainRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
setField
public RegisterDomainRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
clearField
public RegisterDomainRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
clearOneof
public RegisterDomainRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
setRepeatedField
public RegisterDomainRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
addRepeatedField
public RegisterDomainRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
mergeFrom
public RegisterDomainRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegisterDomainRequest.Builder>
-
mergeFrom
public RegisterDomainRequest.Builder mergeFrom(RegisterDomainRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public RegisterDomainRequest.Builder setParent(String value)
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
public RegisterDomainRequest.Builder 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
public RegisterDomainRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasRegistrationin interfaceRegisterDomainRequestOrBuilder- Returns:
- Whether the registration field is set.
-
getRegistration
public Registration getRegistration()
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRegistrationin interfaceRegisterDomainRequestOrBuilder- Returns:
- The registration.
-
setRegistration
public RegisterDomainRequest.Builder setRegistration(Registration value)
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
-
setRegistration
public RegisterDomainRequest.Builder setRegistration(Registration.Builder builderForValue)
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
-
mergeRegistration
public RegisterDomainRequest.Builder mergeRegistration(Registration value)
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearRegistration
public RegisterDomainRequest.Builder clearRegistration()
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
-
getRegistrationBuilder
public Registration.Builder getRegistrationBuilder()
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
-
getRegistrationOrBuilder
public RegistrationOrBuilder getRegistrationOrBuilder()
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRegistrationOrBuilderin interfaceRegisterDomainRequestOrBuilder
-
getDomainNoticesList
public List<DomainNotice> getDomainNoticesList()
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.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.v1.DomainNotice domain_notices = 3;- Specified by:
getDomainNoticesCountin interfaceRegisterDomainRequestOrBuilder- Returns:
- The count of domainNotices.
-
getDomainNotices
public DomainNotice getDomainNotices(int index)
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.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
public RegisterDomainRequest.Builder setDomainNotices(int index, DomainNotice value)
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;- Parameters:
index- The index to set the value at.value- The domainNotices to set.- Returns:
- This builder for chaining.
-
addDomainNotices
public RegisterDomainRequest.Builder addDomainNotices(DomainNotice value)
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;- Parameters:
value- The domainNotices to add.- Returns:
- This builder for chaining.
-
addAllDomainNotices
public RegisterDomainRequest.Builder addAllDomainNotices(Iterable<? extends DomainNotice> values)
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;- Parameters:
values- The domainNotices to add.- Returns:
- This builder for chaining.
-
clearDomainNotices
public RegisterDomainRequest.Builder clearDomainNotices()
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;- Returns:
- This builder for chaining.
-
getDomainNoticesValueList
public List<Integer> getDomainNoticesValueList()
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.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.v1.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
public RegisterDomainRequest.Builder setDomainNoticesValue(int index, int value)
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.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
public RegisterDomainRequest.Builder addDomainNoticesValue(int value)
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;- Parameters:
value- The enum numeric value on the wire for domainNotices to add.- Returns:
- This builder for chaining.
-
addAllDomainNoticesValue
public RegisterDomainRequest.Builder addAllDomainNoticesValue(Iterable<Integer> values)
The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;- Parameters:
values- The enum numeric values on the wire for domainNotices to add.- Returns:
- This builder for chaining.
-
getContactNoticesList
public List<ContactNotice> 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.v1.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.v1.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesCountin interfaceRegisterDomainRequestOrBuilder- Returns:
- The count of contactNotices.
-
getContactNotices
public ContactNotice getContactNotices(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.v1.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
public RegisterDomainRequest.Builder setContactNotices(int index, ContactNotice value)
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.v1.ContactNotice contact_notices = 4;- Parameters:
index- The index to set the value at.value- The contactNotices to set.- Returns:
- This builder for chaining.
-
addContactNotices
public RegisterDomainRequest.Builder addContactNotices(ContactNotice value)
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.v1.ContactNotice contact_notices = 4;- Parameters:
value- The contactNotices to add.- Returns:
- This builder for chaining.
-
addAllContactNotices
public RegisterDomainRequest.Builder addAllContactNotices(Iterable<? extends ContactNotice> values)
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.v1.ContactNotice contact_notices = 4;- Parameters:
values- The contactNotices to add.- Returns:
- This builder for chaining.
-
clearContactNotices
public RegisterDomainRequest.Builder 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.v1.ContactNotice contact_notices = 4;- Returns:
- This builder for chaining.
-
getContactNoticesValueList
public List<Integer> 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.v1.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.v1.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
public RegisterDomainRequest.Builder setContactNoticesValue(int index, int value)
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.v1.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
public RegisterDomainRequest.Builder addContactNoticesValue(int value)
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.v1.ContactNotice contact_notices = 4;- Parameters:
value- The enum numeric value on the wire for contactNotices to add.- Returns:
- This builder for chaining.
-
addAllContactNoticesValue
public RegisterDomainRequest.Builder addAllContactNoticesValue(Iterable<Integer> values)
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.v1.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
public com.google.type.Money 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
public RegisterDomainRequest.Builder setYearlyPrice(com.google.type.Money value)
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
public RegisterDomainRequest.Builder setYearlyPrice(com.google.type.Money.Builder builderForValue)
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
public RegisterDomainRequest.Builder mergeYearlyPrice(com.google.type.Money value)
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
public RegisterDomainRequest.Builder 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
public com.google.type.Money.Builder 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
public com.google.type.MoneyOrBuilder 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
public RegisterDomainRequest.Builder setValidateOnly(boolean value)
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
public RegisterDomainRequest.Builder 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.
-
setUnknownFields
public final RegisterDomainRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
mergeUnknownFields
public final RegisterDomainRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
-