public static final class TransferParameters.Builder extends GeneratedMessage.Builder<TransferParameters.Builder> implements TransferParametersOrBuilderParameters required to transfer a domain from another registrar.
Protobuf type google.cloud.domains.v1.TransferParameters
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TransferParameters.BuilderImplements
TransferParametersOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNameServers(Iterable<String> values)
public TransferParameters.Builder addAllNameServers(Iterable<String> values)The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The nameServers to add. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
addAllSupportedPrivacy(Iterable<? extends ContactPrivacy> values)
public TransferParameters.Builder addAllSupportedPrivacy(Iterable<? extends ContactPrivacy> values)Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.domains.v1.ContactPrivacy>The supportedPrivacy to add. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
addAllSupportedPrivacyValue(Iterable<Integer> values)
public TransferParameters.Builder addAllSupportedPrivacyValue(Iterable<Integer> values)Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for supportedPrivacy to add. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
addNameServers(String value)
public TransferParameters.Builder addNameServers(String value)The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nameServers to add. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
addNameServersBytes(ByteString value)
public TransferParameters.Builder addNameServersBytes(ByteString value)The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the nameServers to add. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
addSupportedPrivacy(ContactPrivacy value)
public TransferParameters.Builder addSupportedPrivacy(ContactPrivacy value)Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ContactPrivacyThe supportedPrivacy to add. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
addSupportedPrivacyValue(int value)
public TransferParameters.Builder addSupportedPrivacyValue(int value)Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for supportedPrivacy to add. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
build()
public TransferParameters build()| Returns | |
|---|---|
| Type | Description |
TransferParameters |
|
buildPartial()
public TransferParameters buildPartial()| Returns | |
|---|---|
| Type | Description |
TransferParameters |
|
clear()
public TransferParameters.Builder clear()| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
|
clearCurrentRegistrar()
public TransferParameters.Builder clearCurrentRegistrar()The registrar that currently manages the domain.
string current_registrar = 2;
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
clearDomainName()
public TransferParameters.Builder clearDomainName()The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
clearNameServers()
public TransferParameters.Builder clearNameServers()The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
clearSupportedPrivacy()
public TransferParameters.Builder clearSupportedPrivacy()Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
clearTransferLockState()
public TransferParameters.Builder clearTransferLockState() Indicates whether the domain is protected by a transfer lock. For a
transfer to succeed, this must show UNLOCKED. To unlock a domain,
go to its current registrar.
.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
clearYearlyPrice()
public TransferParameters.Builder clearYearlyPrice()Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
|
getCurrentRegistrar()
public String getCurrentRegistrar()The registrar that currently manages the domain.
string current_registrar = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The currentRegistrar. |
getCurrentRegistrarBytes()
public ByteString getCurrentRegistrarBytes()The registrar that currently manages the domain.
string current_registrar = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for currentRegistrar. |
getDefaultInstanceForType()
public TransferParameters getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TransferParameters |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDomainName()
public String getDomainName()The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The domainName. |
getDomainNameBytes()
public ByteString getDomainNameBytes()The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for domainName. |
getNameServers(int index)
public String getNameServers(int index)The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The nameServers at the given index. |
getNameServersBytes(int index)
public ByteString getNameServersBytes(int index)The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the nameServers at the given index. |
getNameServersCount()
public int getNameServersCount()The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of nameServers. |
getNameServersList()
public ProtocolStringList getNameServersList()The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the nameServers. |
getSupportedPrivacy(int index)
public ContactPrivacy getSupportedPrivacy(int index)Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
ContactPrivacy |
The supportedPrivacy at the given index. |
getSupportedPrivacyCount()
public int getSupportedPrivacyCount()Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The count of supportedPrivacy. |
getSupportedPrivacyList()
public List<ContactPrivacy> getSupportedPrivacyList()Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Returns | |
|---|---|
| Type | Description |
List<ContactPrivacy> |
A list containing the supportedPrivacy. |
getSupportedPrivacyValue(int index)
public int getSupportedPrivacyValue(int index)Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of supportedPrivacy at the given index. |
getSupportedPrivacyValueList()
public List<Integer> getSupportedPrivacyValueList()Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedPrivacy. |
getTransferLockState()
public TransferLockState getTransferLockState() Indicates whether the domain is protected by a transfer lock. For a
transfer to succeed, this must show UNLOCKED. To unlock a domain,
go to its current registrar.
.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;
| Returns | |
|---|---|
| Type | Description |
TransferLockState |
The transferLockState. |
getTransferLockStateValue()
public int getTransferLockStateValue() Indicates whether the domain is protected by a transfer lock. For a
transfer to succeed, this must show UNLOCKED. To unlock a domain,
go to its current registrar.
.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for transferLockState. |
getYearlyPrice()
public Money getYearlyPrice()Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Money |
The yearlyPrice. |
getYearlyPriceBuilder()
public Money.Builder getYearlyPriceBuilder()Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Money.Builder |
|
getYearlyPriceOrBuilder()
public MoneyOrBuilder getYearlyPriceOrBuilder()Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
| Returns | |
|---|---|
| Type | Description |
com.google.type.MoneyOrBuilder |
|
hasYearlyPrice()
public boolean hasYearlyPrice()Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the yearlyPrice field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TransferParameters other)
public TransferParameters.Builder mergeFrom(TransferParameters other)| Parameter | |
|---|---|
| Name | Description |
other |
TransferParameters |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TransferParameters.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
|
mergeYearlyPrice(Money value)
public TransferParameters.Builder mergeYearlyPrice(Money value)Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Money |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
|
setCurrentRegistrar(String value)
public TransferParameters.Builder setCurrentRegistrar(String value)The registrar that currently manages the domain.
string current_registrar = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe currentRegistrar to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setCurrentRegistrarBytes(ByteString value)
public TransferParameters.Builder setCurrentRegistrarBytes(ByteString value)The registrar that currently manages the domain.
string current_registrar = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for currentRegistrar to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setDomainName(String value)
public TransferParameters.Builder setDomainName(String value)The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe domainName to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setDomainNameBytes(ByteString value)
public TransferParameters.Builder setDomainNameBytes(ByteString value)The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for domainName to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setNameServers(int index, String value)
public TransferParameters.Builder setNameServers(int index, String value)The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe nameServers to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setSupportedPrivacy(int index, ContactPrivacy value)
public TransferParameters.Builder setSupportedPrivacy(int index, ContactPrivacy value)Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
ContactPrivacyThe supportedPrivacy to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setSupportedPrivacyValue(int index, int value)
public TransferParameters.Builder setSupportedPrivacyValue(int index, int value)Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for supportedPrivacy to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setTransferLockState(TransferLockState value)
public TransferParameters.Builder setTransferLockState(TransferLockState value) Indicates whether the domain is protected by a transfer lock. For a
transfer to succeed, this must show UNLOCKED. To unlock a domain,
go to its current registrar.
.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
TransferLockStateThe transferLockState to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setTransferLockStateValue(int value)
public TransferParameters.Builder setTransferLockStateValue(int value) Indicates whether the domain is protected by a transfer lock. For a
transfer to succeed, this must show UNLOCKED. To unlock a domain,
go to its current registrar.
.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for transferLockState to set. |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
This builder for chaining. |
setYearlyPrice(Money value)
public TransferParameters.Builder setYearlyPrice(Money value)Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Money |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
|
setYearlyPrice(Money.Builder builderForValue)
public TransferParameters.Builder setYearlyPrice(Money.Builder builderForValue)Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Money.Builder |
| Returns | |
|---|---|
| Type | Description |
TransferParameters.Builder |
|