Package com.google.cloud.domains.v1beta1
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.v1beta1.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.v1beta1.RegisterDomainRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterDomainRequest.Builder
addAllContactNotices(Iterable<? extends ContactNotice> values)
The list of contact notices that the caller acknowledges.RegisterDomainRequest.Builder
addAllContactNoticesValue(Iterable<Integer> values)
The list of contact notices that the caller acknowledges.RegisterDomainRequest.Builder
addAllDomainNotices(Iterable<? extends DomainNotice> values)
The list of domain notices that you acknowledge.RegisterDomainRequest.Builder
addAllDomainNoticesValue(Iterable<Integer> values)
The list of domain notices that you acknowledge.RegisterDomainRequest.Builder
addContactNotices(ContactNotice value)
The list of contact notices that the caller acknowledges.RegisterDomainRequest.Builder
addContactNoticesValue(int value)
The list of contact notices that the caller acknowledges.RegisterDomainRequest.Builder
addDomainNotices(DomainNotice value)
The list of domain notices that you acknowledge.RegisterDomainRequest.Builder
addDomainNoticesValue(int value)
The list of domain notices that you acknowledge.RegisterDomainRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RegisterDomainRequest
build()
RegisterDomainRequest
buildPartial()
RegisterDomainRequest.Builder
clear()
RegisterDomainRequest.Builder
clearContactNotices()
The list of contact notices that the caller acknowledges.RegisterDomainRequest.Builder
clearDomainNotices()
The list of domain notices that you acknowledge.RegisterDomainRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RegisterDomainRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RegisterDomainRequest.Builder
clearParent()
Required.RegisterDomainRequest.Builder
clearRegistration()
Required.RegisterDomainRequest.Builder
clearValidateOnly()
When true, only validation is performed, without actually registering the domain.RegisterDomainRequest.Builder
clearYearlyPrice()
Required.RegisterDomainRequest.Builder
clone()
ContactNotice
getContactNotices(int index)
The list of contact notices that the caller acknowledges.int
getContactNoticesCount()
The list of contact notices that the caller acknowledges.List<ContactNotice>
getContactNoticesList()
The list of contact notices that the caller acknowledges.int
getContactNoticesValue(int index)
The list of contact notices that the caller acknowledges.List<Integer>
getContactNoticesValueList()
The list of contact notices that the caller acknowledges.RegisterDomainRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
DomainNotice
getDomainNotices(int index)
The list of domain notices that you acknowledge.int
getDomainNoticesCount()
The list of domain notices that you acknowledge.List<DomainNotice>
getDomainNoticesList()
The list of domain notices that you acknowledge.int
getDomainNoticesValue(int index)
The list of domain notices that you acknowledge.List<Integer>
getDomainNoticesValueList()
The list of domain notices that you acknowledge.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Registration
getRegistration()
Required.Registration.Builder
getRegistrationBuilder()
Required.RegistrationOrBuilder
getRegistrationOrBuilder()
Required.boolean
getValidateOnly()
When true, only validation is performed, without actually registering the domain.com.google.type.Money
getYearlyPrice()
Required.com.google.type.Money.Builder
getYearlyPriceBuilder()
Required.com.google.type.MoneyOrBuilder
getYearlyPriceOrBuilder()
Required.boolean
hasRegistration()
Required.boolean
hasYearlyPrice()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RegisterDomainRequest.Builder
mergeFrom(RegisterDomainRequest other)
RegisterDomainRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RegisterDomainRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RegisterDomainRequest.Builder
mergeRegistration(Registration value)
Required.RegisterDomainRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RegisterDomainRequest.Builder
mergeYearlyPrice(com.google.type.Money value)
Required.RegisterDomainRequest.Builder
setContactNotices(int index, ContactNotice value)
The list of contact notices that the caller acknowledges.RegisterDomainRequest.Builder
setContactNoticesValue(int index, int value)
The list of contact notices that the caller acknowledges.RegisterDomainRequest.Builder
setDomainNotices(int index, DomainNotice value)
The list of domain notices that you acknowledge.RegisterDomainRequest.Builder
setDomainNoticesValue(int index, int value)
The list of domain notices that you acknowledge.RegisterDomainRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RegisterDomainRequest.Builder
setParent(String value)
Required.RegisterDomainRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
Required.RegisterDomainRequest.Builder
setRegistration(Registration value)
Required.RegisterDomainRequest.Builder
setRegistration(Registration.Builder builderForValue)
Required.RegisterDomainRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RegisterDomainRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RegisterDomainRequest.Builder
setValidateOnly(boolean value)
When true, only validation is performed, without actually registering the domain.RegisterDomainRequest.Builder
setYearlyPrice(com.google.type.Money value)
Required.RegisterDomainRequest.Builder
setYearlyPrice(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
clear
public RegisterDomainRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
getDefaultInstanceForType
public RegisterDomainRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegisterDomainRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegisterDomainRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegisterDomainRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
setField
public RegisterDomainRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
clearField
public RegisterDomainRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
clearOneof
public RegisterDomainRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
setRepeatedField
public RegisterDomainRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
addRepeatedField
public RegisterDomainRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
mergeFrom
public RegisterDomainRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RegisterDomainRequest.Builder>
-
mergeFrom
public RegisterDomainRequest.Builder mergeFrom(RegisterDomainRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getParent
in 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:
getParentBytes
in 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.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasRegistration
in interfaceRegisterDomainRequestOrBuilder
- Returns:
- Whether the registration field is set.
-
getRegistration
public Registration getRegistration()
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRegistration
in interfaceRegisterDomainRequestOrBuilder
- Returns:
- The registration.
-
setRegistration
public RegisterDomainRequest.Builder setRegistration(Registration value)
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1beta1.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.v1beta1.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.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearRegistration
public RegisterDomainRequest.Builder clearRegistration()
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
-
getRegistrationBuilder
public Registration.Builder getRegistrationBuilder()
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
-
getRegistrationOrBuilder
public RegistrationOrBuilder getRegistrationOrBuilder()
Required. The complete `Registration` resource to be created.
.google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRegistrationOrBuilder
in 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.v1beta1.DomainNotice domain_notices = 3;
- Specified by:
getDomainNoticesList
in 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.v1beta1.DomainNotice domain_notices = 3;
- Specified by:
getDomainNoticesCount
in 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.v1beta1.DomainNotice domain_notices = 3;
- Specified by:
getDomainNotices
in 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.DomainNotice domain_notices = 3;
- Specified by:
getDomainNoticesValueList
in 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.v1beta1.DomainNotice domain_notices = 3;
- Specified by:
getDomainNoticesValue
in 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ContactNotice contact_notices = 4;
- Specified by:
getContactNoticesList
in 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.v1beta1.ContactNotice contact_notices = 4;
- Specified by:
getContactNoticesCount
in 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.v1beta1.ContactNotice contact_notices = 4;
- Specified by:
getContactNotices
in 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ContactNotice contact_notices = 4;
- Specified by:
getContactNoticesValueList
in 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.v1beta1.ContactNotice contact_notices = 4;
- Specified by:
getContactNoticesValue
in 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.v1beta1.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.v1beta1.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.v1beta1.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:
hasYearlyPrice
in 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:
getYearlyPrice
in 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:
getYearlyPriceOrBuilder
in 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:
getValidateOnly
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
mergeUnknownFields
public final RegisterDomainRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterDomainRequest.Builder>
-
-