Class 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 type k8s.io.api.core.v1.PodDNSConfig
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.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:
        getNameserversList in interface Generated.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:
        getNameserversCount in interface Generated.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:
        getNameservers in interface Generated.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:
        getNameserversBytes in interface Generated.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:
        getSearchesList in interface Generated.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:
        getSearchesCount in interface Generated.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:
        getSearches in interface Generated.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:
        getSearchesBytes in interface Generated.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:
        getOptionsList in interface Generated.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:
        getOptionsOrBuilderList in interface Generated.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:
        getOptionsCount in interface Generated.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:
        getOptions in interface Generated.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:
        getOptionsOrBuilder in interface Generated.PodDNSConfigOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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
      • newBuilderForType

        public Generated.PodDNSConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Generated.PodDNSConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Generated.PodDNSConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.PodDNSConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Generated.PodDNSConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder