- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.48.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.6
- 0.7.0
- 0.6.1
- 0.5.4
public static final class RegisterDomainRequest.Builder extends GeneratedMessageV3.Builder<RegisterDomainRequest.Builder> implements RegisterDomainRequestOrBuilder
Request for the RegisterDomain
method.
Protobuf type google.cloud.domains.v1alpha2.RegisterDomainRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegisterDomainRequest.BuilderImplements
RegisterDomainRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllContactNotices(Iterable<? extends ContactNotice> values)
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.v1alpha2.ContactNotice contact_notices = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.domains.v1alpha2.ContactNotice> The contactNotices to add. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
addAllContactNoticesValue(Iterable<Integer> values)
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.v1alpha2.ContactNotice contact_notices = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for contactNotices to add. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
addAllDomainNotices(Iterable<? extends DomainNotice> values)
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.v1alpha2.DomainNotice domain_notices = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.domains.v1alpha2.DomainNotice> The domainNotices to add. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
addAllDomainNoticesValue(Iterable<Integer> values)
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.v1alpha2.DomainNotice domain_notices = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for domainNotices to add. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
addContactNotices(ContactNotice value)
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.v1alpha2.ContactNotice contact_notices = 4;
Parameter | |
---|---|
Name | Description |
value |
ContactNotice The contactNotices to add. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
addContactNoticesValue(int value)
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.v1alpha2.ContactNotice contact_notices = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for contactNotices to add. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
addDomainNotices(DomainNotice value)
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.v1alpha2.DomainNotice domain_notices = 3;
Parameter | |
---|---|
Name | Description |
value |
DomainNotice The domainNotices to add. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
addDomainNoticesValue(int value)
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.v1alpha2.DomainNotice domain_notices = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for domainNotices to add. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RegisterDomainRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
build()
public RegisterDomainRequest build()
Returns | |
---|---|
Type | Description |
RegisterDomainRequest |
buildPartial()
public RegisterDomainRequest buildPartial()
Returns | |
---|---|
Type | Description |
RegisterDomainRequest |
clear()
public RegisterDomainRequest.Builder clear()
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
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.v1alpha2.ContactNotice contact_notices = 4;
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
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.v1alpha2.DomainNotice domain_notices = 3;
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RegisterDomainRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RegisterDomainRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
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 | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
clearRegistration()
public RegisterDomainRequest.Builder clearRegistration()
Required. The complete Registration
resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
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 | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
clone()
public RegisterDomainRequest.Builder clone()
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
getContactNotices(int index)
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.v1alpha2.ContactNotice contact_notices = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
ContactNotice |
The contactNotices at the given index. |
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;
Returns | |
---|---|
Type | Description |
int |
The count of contactNotices. |
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.v1alpha2.ContactNotice contact_notices = 4;
Returns | |
---|---|
Type | Description |
List<ContactNotice> |
A list containing the contactNotices. |
getContactNoticesValue(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of contactNotices at the given index. |
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.v1alpha2.ContactNotice contact_notices = 4;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for contactNotices. |
getDefaultInstanceForType()
public RegisterDomainRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RegisterDomainRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDomainNotices(int index)
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.v1alpha2.DomainNotice domain_notices = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
DomainNotice |
The domainNotices at the given index. |
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;
Returns | |
---|---|
Type | Description |
int |
The count of domainNotices. |
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.v1alpha2.DomainNotice domain_notices = 3;
Returns | |
---|---|
Type | Description |
List<DomainNotice> |
A list containing the domainNotices. |
getDomainNoticesValue(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of domainNotices at the given index. |
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.v1alpha2.DomainNotice domain_notices = 3;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for domainNotices. |
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) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getRegistration()
public Registration getRegistration()
Required. The complete Registration
resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Registration |
The registration. |
getRegistrationBuilder()
public Registration.Builder getRegistrationBuilder()
Required. The complete Registration
resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Registration.Builder |
getRegistrationOrBuilder()
public RegistrationOrBuilder getRegistrationOrBuilder()
Required. The complete Registration
resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RegistrationOrBuilder |
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;
Returns | |
---|---|
Type | Description |
boolean |
The validateOnly. |
getYearlyPrice()
public 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];
Returns | |
---|---|
Type | Description |
com.google.type.Money |
The yearlyPrice. |
getYearlyPriceBuilder()
public 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];
Returns | |
---|---|
Type | Description |
com.google.type.Money.Builder |
getYearlyPriceOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
com.google.type.MoneyOrBuilder |
hasRegistration()
public boolean hasRegistration()
Required. The complete Registration
resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the registration field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the yearlyPrice field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RegisterDomainRequest other)
public RegisterDomainRequest.Builder mergeFrom(RegisterDomainRequest other)
Parameter | |
---|---|
Name | Description |
other |
RegisterDomainRequest |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RegisterDomainRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RegisterDomainRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
mergeRegistration(Registration value)
public RegisterDomainRequest.Builder mergeRegistration(Registration value)
Required. The complete Registration
resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Registration |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RegisterDomainRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
mergeYearlyPrice(Money value)
public RegisterDomainRequest.Builder mergeYearlyPrice(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];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Money |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
setContactNotices(int index, ContactNotice value)
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.v1alpha2.ContactNotice contact_notices = 4;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
ContactNotice The contactNotices to set. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
setContactNoticesValue(int index, int value)
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.v1alpha2.ContactNotice contact_notices = 4;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for contactNotices to set. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
setDomainNotices(int index, DomainNotice value)
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.v1alpha2.DomainNotice domain_notices = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
DomainNotice The domainNotices to set. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
setDomainNoticesValue(int index, int value)
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.v1alpha2.DomainNotice domain_notices = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for domainNotices to set. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RegisterDomainRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
setParent(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public RegisterDomainRequest.Builder setParentBytes(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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
setRegistration(Registration value)
public RegisterDomainRequest.Builder setRegistration(Registration value)
Required. The complete Registration
resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Registration |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
setRegistration(Registration.Builder builderForValue)
public RegisterDomainRequest.Builder setRegistration(Registration.Builder builderForValue)
Required. The complete Registration
resource to be created.
.google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Registration.Builder |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RegisterDomainRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RegisterDomainRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
setValidateOnly(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
This builder for chaining. |
setYearlyPrice(Money value)
public RegisterDomainRequest.Builder setYearlyPrice(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];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Money |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |
setYearlyPrice(Money.Builder builderForValue)
public RegisterDomainRequest.Builder setYearlyPrice(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Money.Builder |
Returns | |
---|---|
Type | Description |
RegisterDomainRequest.Builder |