Package k8s.io.api.core.v1
Class Generated.PodDNSConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.PodDNSConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.PodDNSConfigOrBuilder
- Enclosing class:
- Generated
public static final class Generated.PodDNSConfig extends com.google.protobuf.GeneratedMessageV3 implements Generated.PodDNSConfigOrBuilder
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
Protobuf typek8s.io.api.core.v1.PodDNSConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.PodDNSConfig.BuilderPodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intNAMESERVERS_FIELD_NUMBERstatic intOPTIONS_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.PodDNSConfig>PARSERDeprecated.static intSEARCHES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.PodDNSConfiggetDefaultInstance()Generated.PodDNSConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetNameservers(int index)A list of DNS name server IP addresses.com.google.protobuf.ByteStringgetNameserversBytes(int index)A list of DNS name server IP addresses.intgetNameserversCount()A list of DNS name server IP addresses.com.google.protobuf.ProtocolStringListgetNameserversList()A list of DNS name server IP addresses.Generated.PodDNSConfigOptiongetOptions(int index)A list of DNS resolver options.intgetOptionsCount()A list of DNS resolver options.List<Generated.PodDNSConfigOption>getOptionsList()A list of DNS resolver options.Generated.PodDNSConfigOptionOrBuildergetOptionsOrBuilder(int index)A list of DNS resolver options.List<? extends Generated.PodDNSConfigOptionOrBuilder>getOptionsOrBuilderList()A list of DNS resolver options.com.google.protobuf.Parser<Generated.PodDNSConfig>getParserForType()StringgetSearches(int index)A list of DNS search domains for host-name lookup.com.google.protobuf.ByteStringgetSearchesBytes(int index)A list of DNS search domains for host-name lookup.intgetSearchesCount()A list of DNS search domains for host-name lookup.com.google.protobuf.ProtocolStringListgetSearchesList()A list of DNS search domains for host-name lookup.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.PodDNSConfig.BuildernewBuilder()static Generated.PodDNSConfig.BuildernewBuilder(Generated.PodDNSConfig prototype)Generated.PodDNSConfig.BuildernewBuilderForType()protected Generated.PodDNSConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.PodDNSConfigparseDelimitedFrom(InputStream input)static Generated.PodDNSConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodDNSConfigparseFrom(byte[] data)static Generated.PodDNSConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodDNSConfigparseFrom(com.google.protobuf.ByteString data)static Generated.PodDNSConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodDNSConfigparseFrom(com.google.protobuf.CodedInputStream input)static Generated.PodDNSConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodDNSConfigparseFrom(InputStream input)static Generated.PodDNSConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodDNSConfigparseFrom(ByteBuffer data)static Generated.PodDNSConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.PodDNSConfig>parser()Generated.PodDNSConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAMESERVERS_FIELD_NUMBER
public static final int NAMESERVERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEARCHES_FIELD_NUMBER
public static final int SEARCHES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.PodDNSConfig> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNameserversList
public 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 +listType=atomic
repeated string nameservers = 1;- Specified by:
getNameserversListin interfaceGenerated.PodDNSConfigOrBuilder- Returns:
- A list containing the nameservers.
-
getNameserversCount
public 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 +listType=atomic
repeated string nameservers = 1;- Specified by:
getNameserversCountin interfaceGenerated.PodDNSConfigOrBuilder- Returns:
- The count of nameservers.
-
getNameservers
public 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 +listType=atomic
repeated string nameservers = 1;- Specified by:
getNameserversin interfaceGenerated.PodDNSConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The nameservers at the given index.
-
getNameserversBytes
public 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 +listType=atomic
repeated string nameservers = 1;- Specified by:
getNameserversBytesin interfaceGenerated.PodDNSConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nameservers at the given index.
-
getSearchesList
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 +listType=atomic
repeated string searches = 2;- Specified by:
getSearchesListin interfaceGenerated.PodDNSConfigOrBuilder- Returns:
- A list containing the searches.
-
getSearchesCount
public 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 +listType=atomic
repeated string searches = 2;- Specified by:
getSearchesCountin interfaceGenerated.PodDNSConfigOrBuilder- Returns:
- The count of searches.
-
getSearches
public 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 +listType=atomic
repeated string searches = 2;- Specified by:
getSearchesin interfaceGenerated.PodDNSConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The searches at the given index.
-
getSearchesBytes
public 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 +listType=atomic
repeated string searches = 2;- Specified by:
getSearchesBytesin interfaceGenerated.PodDNSConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the searches at the given index.
-
getOptionsList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;- Specified by:
getOptionsListin interfaceGenerated.PodDNSConfigOrBuilder
-
getOptionsOrBuilderList
public List<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;- Specified by:
getOptionsOrBuilderListin interfaceGenerated.PodDNSConfigOrBuilder
-
getOptionsCount
public 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 +listType=atomic
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;- Specified by:
getOptionsCountin interfaceGenerated.PodDNSConfigOrBuilder
-
getOptions
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;- Specified by:
getOptionsin interfaceGenerated.PodDNSConfigOrBuilder
-
getOptionsOrBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodDNSConfigOption options = 3;- Specified by:
getOptionsOrBuilderin interfaceGenerated.PodDNSConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Generated.PodDNSConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.PodDNSConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.PodDNSConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.PodDNSConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.PodDNSConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.PodDNSConfig.Builder newBuilder()
-
newBuilder
public static Generated.PodDNSConfig.Builder newBuilder(Generated.PodDNSConfig prototype)
-
toBuilder
public Generated.PodDNSConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.PodDNSConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.PodDNSConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.PodDNSConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.PodDNSConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.PodDNSConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-