public static final class V1.PodDNSConfig extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
V1.PodDNSConfig.Builder
PodDNSConfig defines the DNS parameters of a pod in addition to
those generated from DNSPolicy.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NAMESERVERS_FIELD_NUMBER |
static int |
OPTIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.PodDNSConfig> |
PARSER
Deprecated.
|
static int |
SEARCHES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1.PodDNSConfig |
getDefaultInstance() |
V1.PodDNSConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
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.
|
com.google.protobuf.Parser<V1.PodDNSConfig> |
getParserForType() |
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.PodDNSConfig.Builder |
newBuilder() |
static V1.PodDNSConfig.Builder |
newBuilder(V1.PodDNSConfig prototype) |
V1.PodDNSConfig.Builder |
newBuilderForType() |
protected V1.PodDNSConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.PodDNSConfig |
parseDelimitedFrom(InputStream input) |
static V1.PodDNSConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodDNSConfig |
parseFrom(byte[] data) |
static V1.PodDNSConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodDNSConfig |
parseFrom(ByteBuffer data) |
static V1.PodDNSConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodDNSConfig |
parseFrom(com.google.protobuf.ByteString data) |
static V1.PodDNSConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodDNSConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.PodDNSConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodDNSConfig |
parseFrom(InputStream input) |
static V1.PodDNSConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.PodDNSConfig> |
parser() |
V1.PodDNSConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAMESERVERS_FIELD_NUMBER
public static final int SEARCHES_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.PodDNSConfig> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.PodDNSConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodDNSConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodDNSConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodDNSConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodDNSConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodDNSConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodDNSConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.PodDNSConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.PodDNSConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.PodDNSConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.PodDNSConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.PodDNSConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.PodDNSConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.PodDNSConfig.Builder newBuilder()
public static V1.PodDNSConfig.Builder newBuilder(V1.PodDNSConfig prototype)
public V1.PodDNSConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.PodDNSConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.PodDNSConfig getDefaultInstance()
public static com.google.protobuf.Parser<V1.PodDNSConfig> parser()
public com.google.protobuf.Parser<V1.PodDNSConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.PodDNSConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.