public static final class DNSConfig.Builder extends GeneratedMessageV3.Builder<DNSConfig.Builder> implements DNSConfigOrBuilder
DNSConfig contains the desired set of options for configuring clusterDNS.
Protobuf type google.container.v1beta1.DNSConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DNSConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public DNSConfig buildPartial()
clear()
public DNSConfig.Builder clear()
Overrides
clearClusterDns()
public DNSConfig.Builder clearClusterDns()
cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1beta1.DNSConfig.Provider cluster_dns = 1;
clearClusterDnsDomain()
public DNSConfig.Builder clearClusterDnsDomain()
cluster_dns_domain is the suffix used for all cluster service records.
string cluster_dns_domain = 3;
clearClusterDnsScope()
public DNSConfig.Builder clearClusterDnsScope()
cluster_dns_scope indicates the scope of access to cluster DNS records.
.google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2;
clearField(Descriptors.FieldDescriptor field)
public DNSConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DNSConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DNSConfig.Builder clone()
Overrides
getClusterDns()
public DNSConfig.Provider getClusterDns()
cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1beta1.DNSConfig.Provider cluster_dns = 1;
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.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2;
getClusterDnsScopeValue()
public int getClusterDnsScopeValue()
cluster_dns_scope indicates the scope of access to cluster DNS records.
.google.container.v1beta1.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.v1beta1.DNSConfig.Provider cluster_dns = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for clusterDns.
|
getDefaultInstanceForType()
public DNSConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DNSConfig other)
public DNSConfig.Builder mergeFrom(DNSConfig other)
public DNSConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DNSConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DNSConfig.Builder mergeUnknownFields(UnknownFieldSet