public final class DNSConfig extends GeneratedMessageV3 implements DNSConfigOrBuilder
DNSConfig contains the desired set of options for configuring clusterDNS.
Protobuf type google.container.v1.DNSConfig
Static Fields
CLUSTER_DNS_DOMAIN_FIELD_NUMBER
public static final int CLUSTER_DNS_DOMAIN_FIELD_NUMBER
Field Value
CLUSTER_DNS_FIELD_NUMBER
public static final int CLUSTER_DNS_FIELD_NUMBER
Field Value
CLUSTER_DNS_SCOPE_FIELD_NUMBER
public static final int CLUSTER_DNS_SCOPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DNSConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DNSConfig.Builder newBuilder()
Returns
newBuilder(DNSConfig prototype)
public static DNSConfig.Builder newBuilder(DNSConfig prototype)
Parameter
Returns
public static DNSConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DNSConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DNSConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DNSConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DNSConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DNSConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DNSConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DNSConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DNSConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DNSConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DNSConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DNSConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DNSConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
getParserForType()
public Parser<DNSConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DNSConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DNSConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DNSConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions