Class TransferParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferParameters.Builder>
com.google.cloud.domains.v1alpha2.TransferParameters.Builder
- All Implemented Interfaces:
TransferParametersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TransferParameters
public static final class TransferParameters.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransferParameters.Builder>
implements TransferParametersOrBuilder
Parameters required to transfer a domain from another registrar.Protobuf type
google.cloud.domains.v1alpha2.TransferParameters-
Method Summary
Modifier and TypeMethodDescriptionaddAllNameServers(Iterable<String> values) The name servers that currently store the configuration of the domain.addAllSupportedPrivacy(Iterable<? extends ContactPrivacy> values) Contact privacy options that the domain supports.addAllSupportedPrivacyValue(Iterable<Integer> values) Contact privacy options that the domain supports.addNameServers(String value) The name servers that currently store the configuration of the domain.addNameServersBytes(com.google.protobuf.ByteString value) The name servers that currently store the configuration of the domain.Contact privacy options that the domain supports.addSupportedPrivacyValue(int value) Contact privacy options that the domain supports.build()clear()The registrar that currently manages the domain.The domain name.The name servers that currently store the configuration of the domain.Contact privacy options that the domain supports.Indicates whether the domain is protected by a transfer lock.Price to transfer or renew the domain for one year.The registrar that currently manages the domain.com.google.protobuf.ByteStringThe registrar that currently manages the domain.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe domain name.com.google.protobuf.ByteStringThe domain name.getNameServers(int index) The name servers that currently store the configuration of the domain.com.google.protobuf.ByteStringgetNameServersBytes(int index) The name servers that currently store the configuration of the domain.intThe name servers that currently store the configuration of the domain.com.google.protobuf.ProtocolStringListThe name servers that currently store the configuration of the domain.getSupportedPrivacy(int index) Contact privacy options that the domain supports.intContact privacy options that the domain supports.Contact privacy options that the domain supports.intgetSupportedPrivacyValue(int index) Contact privacy options that the domain supports.Contact privacy options that the domain supports.Indicates whether the domain is protected by a transfer lock.intIndicates whether the domain is protected by a transfer lock.Price to transfer or renew the domain for one year.Price to transfer or renew the domain for one year.Price to transfer or renew the domain for one year.booleanPrice to transfer or renew the domain for one year.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TransferParameters other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeYearlyPrice(Money value) Price to transfer or renew the domain for one year.setCurrentRegistrar(String value) The registrar that currently manages the domain.setCurrentRegistrarBytes(com.google.protobuf.ByteString value) The registrar that currently manages the domain.setDomainName(String value) The domain name.setDomainNameBytes(com.google.protobuf.ByteString value) The domain name.setNameServers(int index, String value) The name servers that currently store the configuration of the domain.setSupportedPrivacy(int index, ContactPrivacy value) Contact privacy options that the domain supports.setSupportedPrivacyValue(int index, int value) Contact privacy options that the domain supports.Indicates whether the domain is protected by a transfer lock.setTransferLockStateValue(int value) Indicates whether the domain is protected by a transfer lock.setYearlyPrice(Money value) Price to transfer or renew the domain for one year.setYearlyPrice(Money.Builder builderForValue) Price to transfer or renew the domain for one year.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransferParameters.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransferParameters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransferParameters.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferParameters.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransferParameters.Builder>
-
mergeFrom
public TransferParameters.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<TransferParameters.Builder>- Throws:
IOException
-
getDomainName
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Specified by:
getDomainNamein interfaceTransferParametersOrBuilder- Returns:
- The domainName.
-
getDomainNameBytes
public com.google.protobuf.ByteString getDomainNameBytes()The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Specified by:
getDomainNameBytesin interfaceTransferParametersOrBuilder- Returns:
- The bytes for domainName.
-
setDomainName
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Parameters:
value- The domainName to set.- Returns:
- This builder for chaining.
-
clearDomainName
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Returns:
- This builder for chaining.
-
setDomainNameBytes
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Parameters:
value- The bytes for domainName to set.- Returns:
- This builder for chaining.
-
getCurrentRegistrar
The registrar that currently manages the domain.
string current_registrar = 2;- Specified by:
getCurrentRegistrarin interfaceTransferParametersOrBuilder- Returns:
- The currentRegistrar.
-
getCurrentRegistrarBytes
public com.google.protobuf.ByteString getCurrentRegistrarBytes()The registrar that currently manages the domain.
string current_registrar = 2;- Specified by:
getCurrentRegistrarBytesin interfaceTransferParametersOrBuilder- Returns:
- The bytes for currentRegistrar.
-
setCurrentRegistrar
The registrar that currently manages the domain.
string current_registrar = 2;- Parameters:
value- The currentRegistrar to set.- Returns:
- This builder for chaining.
-
clearCurrentRegistrar
The registrar that currently manages the domain.
string current_registrar = 2;- Returns:
- This builder for chaining.
-
setCurrentRegistrarBytes
The registrar that currently manages the domain.
string current_registrar = 2;- Parameters:
value- The bytes for currentRegistrar to set.- Returns:
- This builder for chaining.
-
getNameServersList
public com.google.protobuf.ProtocolStringList getNameServersList()The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Specified by:
getNameServersListin interfaceTransferParametersOrBuilder- Returns:
- A list containing the nameServers.
-
getNameServersCount
public int getNameServersCount()The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Specified by:
getNameServersCountin interfaceTransferParametersOrBuilder- Returns:
- The count of nameServers.
-
getNameServers
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Specified by:
getNameServersin interfaceTransferParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The nameServers at the given index.
-
getNameServersBytes
public com.google.protobuf.ByteString getNameServersBytes(int index) The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Specified by:
getNameServersBytesin interfaceTransferParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nameServers at the given index.
-
setNameServers
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Parameters:
index- The index to set the value at.value- The nameServers to set.- Returns:
- This builder for chaining.
-
addNameServers
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Parameters:
value- The nameServers to add.- Returns:
- This builder for chaining.
-
addAllNameServers
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Parameters:
values- The nameServers to add.- Returns:
- This builder for chaining.
-
clearNameServers
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Returns:
- This builder for chaining.
-
addNameServersBytes
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;- Parameters:
value- The bytes of the nameServers to add.- Returns:
- This builder for chaining.
-
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.v1alpha2.TransferLockState transfer_lock_state = 4;- Specified by:
getTransferLockStateValuein interfaceTransferParametersOrBuilder- Returns:
- The enum numeric value on the wire for transferLockState.
-
setTransferLockStateValue
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.v1alpha2.TransferLockState transfer_lock_state = 4;- Parameters:
value- The enum numeric value on the wire for transferLockState to set.- Returns:
- This builder for chaining.
-
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.v1alpha2.TransferLockState transfer_lock_state = 4;- Specified by:
getTransferLockStatein interfaceTransferParametersOrBuilder- Returns:
- The transferLockState.
-
setTransferLockState
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.v1alpha2.TransferLockState transfer_lock_state = 4;- Parameters:
value- The transferLockState to set.- Returns:
- This builder for chaining.
-
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.v1alpha2.TransferLockState transfer_lock_state = 4;- Returns:
- This builder for chaining.
-
getSupportedPrivacyList
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Specified by:
getSupportedPrivacyListin interfaceTransferParametersOrBuilder- Returns:
- A list containing the supportedPrivacy.
-
getSupportedPrivacyCount
public int getSupportedPrivacyCount()Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Specified by:
getSupportedPrivacyCountin interfaceTransferParametersOrBuilder- Returns:
- The count of supportedPrivacy.
-
getSupportedPrivacy
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Specified by:
getSupportedPrivacyin interfaceTransferParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedPrivacy at the given index.
-
setSupportedPrivacy
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Parameters:
index- The index to set the value at.value- The supportedPrivacy to set.- Returns:
- This builder for chaining.
-
addSupportedPrivacy
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Parameters:
value- The supportedPrivacy to add.- Returns:
- This builder for chaining.
-
addAllSupportedPrivacy
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Parameters:
values- The supportedPrivacy to add.- Returns:
- This builder for chaining.
-
clearSupportedPrivacy
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Returns:
- This builder for chaining.
-
getSupportedPrivacyValueList
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Specified by:
getSupportedPrivacyValueListin interfaceTransferParametersOrBuilder- Returns:
- A list containing the enum numeric values on the wire for supportedPrivacy.
-
getSupportedPrivacyValue
public int getSupportedPrivacyValue(int index) Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Specified by:
getSupportedPrivacyValuein interfaceTransferParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedPrivacy at the given index.
-
setSupportedPrivacyValue
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for supportedPrivacy to set.- Returns:
- This builder for chaining.
-
addSupportedPrivacyValue
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Parameters:
value- The enum numeric value on the wire for supportedPrivacy to add.- Returns:
- This builder for chaining.
-
addAllSupportedPrivacyValue
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5;- Parameters:
values- The enum numeric values on the wire for supportedPrivacy to add.- Returns:
- This builder for chaining.
-
hasYearlyPrice
public boolean hasYearlyPrice()Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;- Specified by:
hasYearlyPricein interfaceTransferParametersOrBuilder- Returns:
- Whether the yearlyPrice field is set.
-
getYearlyPrice
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;- Specified by:
getYearlyPricein interfaceTransferParametersOrBuilder- Returns:
- The yearlyPrice.
-
setYearlyPrice
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6; -
setYearlyPrice
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6; -
mergeYearlyPrice
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6; -
clearYearlyPrice
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6; -
getYearlyPriceBuilder
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6; -
getYearlyPriceOrBuilder
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;- Specified by:
getYearlyPriceOrBuilderin interfaceTransferParametersOrBuilder
-