Package com.google.cloud.domains.v1beta1
Class DnsSettings.GoogleDomainsDns
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns
-
- All Implemented Interfaces:
DnsSettings.GoogleDomainsDnsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- DnsSettings
public static final class DnsSettings.GoogleDomainsDns extends com.google.protobuf.GeneratedMessageV3 implements DnsSettings.GoogleDomainsDnsOrBuilder
Configuration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to [Google Domains](https://domains.google/).
Protobuf typegoogle.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDnsSettings.GoogleDomainsDns.BuilderConfiguration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDS_RECORDS_FIELD_NUMBERstatic intDS_STATE_FIELD_NUMBERstatic intNAME_SERVERS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static DnsSettings.GoogleDomainsDnsgetDefaultInstance()DnsSettings.GoogleDomainsDnsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DnsSettings.DsRecordgetDsRecords(int index)Output only.intgetDsRecordsCount()Output only.List<DnsSettings.DsRecord>getDsRecordsList()Output only.DnsSettings.DsRecordOrBuildergetDsRecordsOrBuilder(int index)Output only.List<? extends DnsSettings.DsRecordOrBuilder>getDsRecordsOrBuilderList()Output only.DnsSettings.DsStategetDsState()Required.intgetDsStateValue()Required.StringgetNameServers(int index)Output only.com.google.protobuf.ByteStringgetNameServersBytes(int index)Output only.intgetNameServersCount()Output only.com.google.protobuf.ProtocolStringListgetNameServersList()Output only.com.google.protobuf.Parser<DnsSettings.GoogleDomainsDns>getParserForType()intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DnsSettings.GoogleDomainsDns.BuildernewBuilder()static DnsSettings.GoogleDomainsDns.BuildernewBuilder(DnsSettings.GoogleDomainsDns prototype)DnsSettings.GoogleDomainsDns.BuildernewBuilderForType()protected DnsSettings.GoogleDomainsDns.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DnsSettings.GoogleDomainsDnsparseDelimitedFrom(InputStream input)static DnsSettings.GoogleDomainsDnsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsSettings.GoogleDomainsDnsparseFrom(byte[] data)static DnsSettings.GoogleDomainsDnsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsSettings.GoogleDomainsDnsparseFrom(com.google.protobuf.ByteString data)static DnsSettings.GoogleDomainsDnsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsSettings.GoogleDomainsDnsparseFrom(com.google.protobuf.CodedInputStream input)static DnsSettings.GoogleDomainsDnsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsSettings.GoogleDomainsDnsparseFrom(InputStream input)static DnsSettings.GoogleDomainsDnsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsSettings.GoogleDomainsDnsparseFrom(ByteBuffer data)static DnsSettings.GoogleDomainsDnsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DnsSettings.GoogleDomainsDns>parser()DnsSettings.GoogleDomainsDns.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_SERVERS_FIELD_NUMBER
public static final int NAME_SERVERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DS_STATE_FIELD_NUMBER
public static final int DS_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DS_RECORDS_FIELD_NUMBER
public static final int DS_RECORDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNameServersList
public com.google.protobuf.ProtocolStringList getNameServersList()
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameServersListin interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Returns:
- A list containing the nameServers.
-
getNameServersCount
public int getNameServersCount()
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameServersCountin interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Returns:
- The count of nameServers.
-
getNameServers
public String getNameServers(int index)
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameServersin interfaceDnsSettings.GoogleDomainsDnsOrBuilder- 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)
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameServersBytesin interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nameServers at the given index.
-
getDsStateValue
public int getDsStateValue()
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
.google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDsStateValuein interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Returns:
- The enum numeric value on the wire for dsState.
-
getDsState
public DnsSettings.DsState getDsState()
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
.google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDsStatein interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Returns:
- The dsState.
-
getDsRecordsList
public List<DnsSettings.DsRecord> getDsRecordsList()
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsListin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
getDsRecordsOrBuilderList
public List<? extends DnsSettings.DsRecordOrBuilder> getDsRecordsOrBuilderList()
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsOrBuilderListin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
getDsRecordsCount
public int getDsRecordsCount()
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsCountin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
getDsRecords
public DnsSettings.DsRecord getDsRecords(int index)
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
getDsRecordsOrBuilder
public DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index)
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsOrBuilderin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DnsSettings.GoogleDomainsDns parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DnsSettings.GoogleDomainsDns parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsSettings.GoogleDomainsDns parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DnsSettings.GoogleDomainsDns.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DnsSettings.GoogleDomainsDns.Builder newBuilder()
-
newBuilder
public static DnsSettings.GoogleDomainsDns.Builder newBuilder(DnsSettings.GoogleDomainsDns prototype)
-
toBuilder
public DnsSettings.GoogleDomainsDns.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DnsSettings.GoogleDomainsDns.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DnsSettings.GoogleDomainsDns getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DnsSettings.GoogleDomainsDns> parser()
-
getParserForType
public com.google.protobuf.Parser<DnsSettings.GoogleDomainsDns> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DnsSettings.GoogleDomainsDns getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-