Class DNSConfig (2.47.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
Type Description
int

CLUSTER_DNS_FIELD_NUMBER

public static final int CLUSTER_DNS_FIELD_NUMBER
Field Value
Type Description
int

CLUSTER_DNS_SCOPE_FIELD_NUMBER

public static final int CLUSTER_DNS_SCOPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DNSConfig getDefaultInstance()
Returns
Type Description
DNSConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DNSConfig.Builder newBuilder()
Returns
Type Description
DNSConfig.Builder

newBuilder(DNSConfig prototype)

public static DNSConfig.Builder newBuilder(DNSConfig prototype)
Parameter
Name Description
prototype DNSConfig
Returns
Type Description
DNSConfig.Builder

parseDelimitedFrom(InputStream input)

public static DNSConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DNSConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DNSConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DNSConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DNSConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DNSConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DNSConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DNSConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DNSConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DNSConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DNSConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DNSConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DNSConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DNSConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DNSConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DNSConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DNSConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DNSConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DNSConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DNSConfig> parser()
Returns
Type Description
Parser<DNSConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for clusterDns.

getDefaultInstanceForType()

public DNSConfig getDefaultInstanceForType()
Returns
Type Description
DNSConfig

getParserForType()

public Parser<DNSConfig> getParserForType()
Returns
Type Description
Parser<DNSConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DNSConfig.Builder newBuilderForType()
Returns
Type Description
DNSConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DNSConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DNSConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DNSConfig.Builder toBuilder()
Returns
Type Description
DNSConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException