- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
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.v1.DNSConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DNSConfig.BuilderImplements
DNSConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DNSConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DNSConfig.Builder |
build()
public DNSConfig build()
Type | Description |
DNSConfig |
buildPartial()
public DNSConfig buildPartial()
Type | Description |
DNSConfig |
clear()
public DNSConfig.Builder clear()
Type | Description |
DNSConfig.Builder |
clearClusterDns()
public DNSConfig.Builder clearClusterDns()
cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1.DNSConfig.Provider cluster_dns = 1;
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;
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.v1.DNSConfig.DNSScope cluster_dns_scope = 2;
Type | Description |
DNSConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DNSConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DNSConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DNSConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DNSConfig.Builder |
clone()
public DNSConfig.Builder clone()
Type | Description |
DNSConfig.Builder |
getClusterDns()
public DNSConfig.Provider getClusterDns()
cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1.DNSConfig.Provider cluster_dns = 1;
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;
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;
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;
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;
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;
Type | Description |
int | The enum numeric value on the wire for clusterDns. |
getDefaultInstanceForType()
public DNSConfig getDefaultInstanceForType()
Type | Description |
DNSConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DNSConfig other)
public DNSConfig.Builder mergeFrom(DNSConfig other)
Name | Description |
other | DNSConfig |
Type | Description |
DNSConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DNSConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DNSConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DNSConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DNSConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DNSConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DNSConfig.Builder |
setClusterDns(DNSConfig.Provider value)
public DNSConfig.Builder setClusterDns(DNSConfig.Provider value)
cluster_dns indicates which in-cluster DNS provider should be used.
.google.container.v1.DNSConfig.Provider cluster_dns = 1;
Name | Description |
value | DNSConfig.Provider The clusterDns to set. |
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;
Name | Description |
value | String The clusterDnsDomain to set. |
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;
Name | Description |
value | ByteString The bytes for clusterDnsDomain to set. |
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.v1.DNSConfig.DNSScope cluster_dns_scope = 2;
Name | Description |
value | DNSConfig.DNSScope The clusterDnsScope to set. |
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.v1.DNSConfig.DNSScope cluster_dns_scope = 2;
Name | Description |
value | int The enum numeric value on the wire for clusterDnsScope to set. |
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.v1.DNSConfig.Provider cluster_dns = 1;
Name | Description |
value | int The enum numeric value on the wire for clusterDns to set. |
Type | Description |
DNSConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DNSConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DNSConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DNSConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DNSConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DNSConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DNSConfig.Builder |