Class DNSConfig (2.5.0)

public final class DNSConfig extends GeneratedMessageV3 implements DNSConfigOrBuilder

DNSConfig contains the desired set of options for configuring clusterDNS.

Protobuf type google.container.v1.DNSConfig

Implements

DNSConfigOrBuilder

Static Fields

CLUSTER_DNS_DOMAIN_FIELD_NUMBER

public static final int CLUSTER_DNS_DOMAIN_FIELD_NUMBER
Field Value
TypeDescription
int

CLUSTER_DNS_FIELD_NUMBER

public static final int CLUSTER_DNS_FIELD_NUMBER
Field Value
TypeDescription
int

CLUSTER_DNS_SCOPE_FIELD_NUMBER

public static final int CLUSTER_DNS_SCOPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DNSConfig getDefaultInstance()
Returns
TypeDescription
DNSConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DNSConfig.Builder newBuilder()
Returns
TypeDescription
DNSConfig.Builder

newBuilder(DNSConfig prototype)

public static DNSConfig.Builder newBuilder(DNSConfig prototype)
Parameter
NameDescription
prototypeDNSConfig
Returns
TypeDescription
DNSConfig.Builder

parseDelimitedFrom(InputStream input)

public static DNSConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DNSConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DNSConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DNSConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DNSConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DNSConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DNSConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DNSConfig> parser()
Returns
TypeDescription
Parser<DNSConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getClusterDns()

public DNSConfig.Provider getClusterDns()

cluster_dns indicates which in-cluster DNS provider should be used.

.google.container.v1.DNSConfig.Provider cluster_dns = 1;

Returns
TypeDescription
DNSConfig.Provider

The clusterDns.

getClusterDnsDomain()

public String getClusterDnsDomain()

cluster_dns_domain is the suffix used for all cluster service records.

string cluster_dns_domain = 3;

Returns
TypeDescription
String

The clusterDnsDomain.

getClusterDnsDomainBytes()

public ByteString getClusterDnsDomainBytes()

cluster_dns_domain is the suffix used for all cluster service records.

string cluster_dns_domain = 3;

Returns
TypeDescription
ByteString

The bytes for clusterDnsDomain.

getClusterDnsScope()

public DNSConfig.DNSScope getClusterDnsScope()

cluster_dns_scope indicates the scope of access to cluster DNS records.

.google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2;

Returns
TypeDescription
DNSConfig.DNSScope

The clusterDnsScope.

getClusterDnsScopeValue()

public int getClusterDnsScopeValue()

cluster_dns_scope indicates the scope of access to cluster DNS records.

.google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for clusterDnsScope.

getClusterDnsValue()

public int getClusterDnsValue()

cluster_dns indicates which in-cluster DNS provider should be used.

.google.container.v1.DNSConfig.Provider cluster_dns = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for clusterDns.

getDefaultInstanceForType()

public DNSConfig getDefaultInstanceForType()
Returns
TypeDescription
DNSConfig

getParserForType()

public Parser<DNSConfig> getParserForType()
Returns
TypeDescription
Parser<DNSConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DNSConfig.Builder newBuilderForType()
Returns
TypeDescription
DNSConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DNSConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DNSConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DNSConfig.Builder toBuilder()
Returns
TypeDescription
DNSConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException