public static final class DNSConfig.Builder extends GeneratedMessage.Builder<DNSConfig.Builder> implements DNSConfigOrBuilderDNSConfig contains the desired set of options for configuring clusterDNS.
Protobuf type google.container.v1beta1.DNSConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DNSConfig.BuilderImplements
DNSConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DNSConfig build()| Returns | |
|---|---|
| Type | Description |
DNSConfig |
|
buildPartial()
public DNSConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DNSConfig |
|
clear()
public DNSConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
|
clearAdditiveVpcScopeDnsDomain()
public DNSConfig.Builder clearAdditiveVpcScopeDnsDomain()Optional. The domain used in Additive VPC scope.
string additive_vpc_scope_dns_domain = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
clearClusterDns()
public DNSConfig.Builder clearClusterDns()cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1beta1.DNSConfig.Provider cluster_dns = 1;
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
clearClusterDnsDomain()
public DNSConfig.Builder clearClusterDnsDomain()cluster_dns_domain is the suffix used for all cluster service records.
string cluster_dns_domain = 3;
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
getAdditiveVpcScopeDnsDomain()
public String getAdditiveVpcScopeDnsDomain()Optional. The domain used in Additive VPC scope.
string additive_vpc_scope_dns_domain = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The additiveVpcScopeDnsDomain. |
getAdditiveVpcScopeDnsDomainBytes()
public ByteString getAdditiveVpcScopeDnsDomainBytes()Optional. The domain used in Additive VPC scope.
string additive_vpc_scope_dns_domain = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for additiveVpcScopeDnsDomain. |
getClusterDns()
public DNSConfig.Provider getClusterDns()cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1beta1.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.v1beta1.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.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()| Returns | |
|---|---|
| Type | Description |
DNSConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DNSConfig other)
public DNSConfig.Builder mergeFrom(DNSConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DNSConfig |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DNSConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DNSConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
|
setAdditiveVpcScopeDnsDomain(String value)
public DNSConfig.Builder setAdditiveVpcScopeDnsDomain(String value)Optional. The domain used in Additive VPC scope.
string additive_vpc_scope_dns_domain = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe additiveVpcScopeDnsDomain to set. |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
setAdditiveVpcScopeDnsDomainBytes(ByteString value)
public DNSConfig.Builder setAdditiveVpcScopeDnsDomainBytes(ByteString value)Optional. The domain used in Additive VPC scope.
string additive_vpc_scope_dns_domain = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for additiveVpcScopeDnsDomain to set. |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
setClusterDns(DNSConfig.Provider value)
public DNSConfig.Builder setClusterDns(DNSConfig.Provider value)cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1beta1.DNSConfig.Provider cluster_dns = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DNSConfig.ProviderThe clusterDns to set. |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
setClusterDnsDomain(String value)
public DNSConfig.Builder setClusterDnsDomain(String value)cluster_dns_domain is the suffix used for all cluster service records.
string cluster_dns_domain = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clusterDnsDomain to set. |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
setClusterDnsDomainBytes(ByteString value)
public DNSConfig.Builder setClusterDnsDomainBytes(ByteString value)cluster_dns_domain is the suffix used for all cluster service records.
string cluster_dns_domain = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clusterDnsDomain to set. |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
setClusterDnsScope(DNSConfig.DNSScope value)
public DNSConfig.Builder setClusterDnsScope(DNSConfig.DNSScope value)cluster_dns_scope indicates the scope of access to cluster DNS records.
.google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DNSConfig.DNSScopeThe clusterDnsScope to set. |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
setClusterDnsScopeValue(int value)
public DNSConfig.Builder setClusterDnsScopeValue(int value)cluster_dns_scope indicates the scope of access to cluster DNS records.
.google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for clusterDnsScope to set. |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |
setClusterDnsValue(int value)
public DNSConfig.Builder setClusterDnsValue(int value)cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1beta1.DNSConfig.Provider cluster_dns = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for clusterDns to set. |
| Returns | |
|---|---|
| Type | Description |
DNSConfig.Builder |
This builder for chaining. |