public static final class V1.PodDNSConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder> implements V1.PodDNSConfigOrBuilder
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.Protobuf type
k8s.io.api.core.v1.PodDNSConfig| Modifier and Type | Method and Description |
|---|---|
V1.PodDNSConfig.Builder |
addAllNameservers(Iterable<String> values)
A list of DNS name server IP addresses.
|
V1.PodDNSConfig.Builder |
addAllOptions(Iterable<? extends V1.PodDNSConfigOption> values)
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
addAllSearches(Iterable<String> values)
A list of DNS search domains for host-name lookup.
|
V1.PodDNSConfig.Builder |
addNameservers(String value)
A list of DNS name server IP addresses.
|
V1.PodDNSConfig.Builder |
addNameserversBytes(com.google.protobuf.ByteString value)
A list of DNS name server IP addresses.
|
V1.PodDNSConfig.Builder |
addOptions(int index,
V1.PodDNSConfigOption.Builder builderForValue)
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
addOptions(int index,
V1.PodDNSConfigOption value)
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
addOptions(V1.PodDNSConfigOption.Builder builderForValue)
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
addOptions(V1.PodDNSConfigOption value)
A list of DNS resolver options.
|
V1.PodDNSConfigOption.Builder |
addOptionsBuilder()
A list of DNS resolver options.
|
V1.PodDNSConfigOption.Builder |
addOptionsBuilder(int index)
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PodDNSConfig.Builder |
addSearches(String value)
A list of DNS search domains for host-name lookup.
|
V1.PodDNSConfig.Builder |
addSearchesBytes(com.google.protobuf.ByteString value)
A list of DNS search domains for host-name lookup.
|
V1.PodDNSConfig |
build() |
V1.PodDNSConfig |
buildPartial() |
V1.PodDNSConfig.Builder |
clear() |
V1.PodDNSConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.PodDNSConfig.Builder |
clearNameservers()
A list of DNS name server IP addresses.
|
V1.PodDNSConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.PodDNSConfig.Builder |
clearOptions()
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
clearSearches()
A list of DNS search domains for host-name lookup.
|
V1.PodDNSConfig.Builder |
clone() |
V1.PodDNSConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNameservers(int index)
A list of DNS name server IP addresses.
|
com.google.protobuf.ByteString |
getNameserversBytes(int index)
A list of DNS name server IP addresses.
|
int |
getNameserversCount()
A list of DNS name server IP addresses.
|
com.google.protobuf.ProtocolStringList |
getNameserversList()
A list of DNS name server IP addresses.
|
V1.PodDNSConfigOption |
getOptions(int index)
A list of DNS resolver options.
|
V1.PodDNSConfigOption.Builder |
getOptionsBuilder(int index)
A list of DNS resolver options.
|
List<V1.PodDNSConfigOption.Builder> |
getOptionsBuilderList()
A list of DNS resolver options.
|
int |
getOptionsCount()
A list of DNS resolver options.
|
List<V1.PodDNSConfigOption> |
getOptionsList()
A list of DNS resolver options.
|
V1.PodDNSConfigOptionOrBuilder |
getOptionsOrBuilder(int index)
A list of DNS resolver options.
|
List<? extends V1.PodDNSConfigOptionOrBuilder> |
getOptionsOrBuilderList()
A list of DNS resolver options.
|
String |
getSearches(int index)
A list of DNS search domains for host-name lookup.
|
com.google.protobuf.ByteString |
getSearchesBytes(int index)
A list of DNS search domains for host-name lookup.
|
int |
getSearchesCount()
A list of DNS search domains for host-name lookup.
|
com.google.protobuf.ProtocolStringList |
getSearchesList()
A list of DNS search domains for host-name lookup.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.PodDNSConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.PodDNSConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.PodDNSConfig.Builder |
mergeFrom(V1.PodDNSConfig other) |
V1.PodDNSConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PodDNSConfig.Builder |
removeOptions(int index)
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PodDNSConfig.Builder |
setNameservers(int index,
String value)
A list of DNS name server IP addresses.
|
V1.PodDNSConfig.Builder |
setOptions(int index,
V1.PodDNSConfigOption.Builder builderForValue)
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
setOptions(int index,
V1.PodDNSConfigOption value)
A list of DNS resolver options.
|
V1.PodDNSConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.PodDNSConfig.Builder |
setSearches(int index,
String value)
A list of DNS search domains for host-name lookup.
|
V1.PodDNSConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PodDNSConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PodDNSConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PodDNSConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder mergeFrom(V1.PodDNSConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public V1.PodDNSConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodDNSConfig.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getNameserversList()
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;getNameserversList in interface V1.PodDNSConfigOrBuilderpublic int getNameserversCount()
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;getNameserversCount in interface V1.PodDNSConfigOrBuilderpublic String getNameservers(int index)
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;getNameservers in interface V1.PodDNSConfigOrBuilderpublic com.google.protobuf.ByteString getNameserversBytes(int index)
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;getNameserversBytes in interface V1.PodDNSConfigOrBuilderpublic V1.PodDNSConfig.Builder setNameservers(int index, String value)
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;public V1.PodDNSConfig.Builder addNameservers(String value)
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;public V1.PodDNSConfig.Builder addAllNameservers(Iterable<String> values)
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;public V1.PodDNSConfig.Builder clearNameservers()
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;public V1.PodDNSConfig.Builder addNameserversBytes(com.google.protobuf.ByteString value)
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. +optional
repeated string nameservers = 1;public com.google.protobuf.ProtocolStringList getSearchesList()
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;getSearchesList in interface V1.PodDNSConfigOrBuilderpublic int getSearchesCount()
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;getSearchesCount in interface V1.PodDNSConfigOrBuilderpublic String getSearches(int index)
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;getSearches in interface V1.PodDNSConfigOrBuilderpublic com.google.protobuf.ByteString getSearchesBytes(int index)
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;getSearchesBytes in interface V1.PodDNSConfigOrBuilderpublic V1.PodDNSConfig.Builder setSearches(int index, String value)
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;public V1.PodDNSConfig.Builder addSearches(String value)
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;public V1.PodDNSConfig.Builder addAllSearches(Iterable<String> values)
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;public V1.PodDNSConfig.Builder clearSearches()
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;public V1.PodDNSConfig.Builder addSearchesBytes(com.google.protobuf.ByteString value)
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. +optional
repeated string searches = 2;public List<V1.PodDNSConfigOption> getOptionsList()
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;getOptionsList in interface V1.PodDNSConfigOrBuilderpublic int getOptionsCount()
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;getOptionsCount in interface V1.PodDNSConfigOrBuilderpublic V1.PodDNSConfigOption getOptions(int index)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;getOptions in interface V1.PodDNSConfigOrBuilderpublic V1.PodDNSConfig.Builder setOptions(int index, V1.PodDNSConfigOption value)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfig.Builder setOptions(int index, V1.PodDNSConfigOption.Builder builderForValue)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfig.Builder addOptions(V1.PodDNSConfigOption value)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfig.Builder addOptions(int index, V1.PodDNSConfigOption value)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfig.Builder addOptions(V1.PodDNSConfigOption.Builder builderForValue)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfig.Builder addOptions(int index, V1.PodDNSConfigOption.Builder builderForValue)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfig.Builder addAllOptions(Iterable<? extends V1.PodDNSConfigOption> values)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfig.Builder clearOptions()
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfig.Builder removeOptions(int index)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfigOption.Builder getOptionsBuilder(int index)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfigOptionOrBuilder getOptionsOrBuilder(int index)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;getOptionsOrBuilder in interface V1.PodDNSConfigOrBuilderpublic List<? extends V1.PodDNSConfigOptionOrBuilder> getOptionsOrBuilderList()
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;getOptionsOrBuilderList in interface V1.PodDNSConfigOrBuilderpublic V1.PodDNSConfigOption.Builder addOptionsBuilder()
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public V1.PodDNSConfigOption.Builder addOptionsBuilder(int index)
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public List<V1.PodDNSConfigOption.Builder> getOptionsBuilderList()
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. +optional
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;public final V1.PodDNSConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>public final V1.PodDNSConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodDNSConfig.Builder>Copyright © 2023. All rights reserved.