Class Generated.IngressSpec.Builder

    • Method Detail

      • 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.Builder<Generated.IngressSpec.Builder>
      • clear

        public Generated.IngressSpec.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • getDefaultInstanceForType

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

        public Generated.IngressSpec build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.IngressSpec buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Generated.IngressSpec.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • clearField

        public Generated.IngressSpec.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • clearOneof

        public Generated.IngressSpec.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • setRepeatedField

        public Generated.IngressSpec.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • addRepeatedField

        public Generated.IngressSpec.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • mergeFrom

        public Generated.IngressSpec.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Generated.IngressSpec.Builder>
        Throws:
        IOException
      • hasIngressClassName

        public boolean hasIngressClassName()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Specified by:
        hasIngressClassName in interface Generated.IngressSpecOrBuilder
        Returns:
        Whether the ingressClassName field is set.
      • getIngressClassName

        public String getIngressClassName()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Specified by:
        getIngressClassName in interface Generated.IngressSpecOrBuilder
        Returns:
        The ingressClassName.
      • getIngressClassNameBytes

        public com.google.protobuf.ByteString getIngressClassNameBytes()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Specified by:
        getIngressClassNameBytes in interface Generated.IngressSpecOrBuilder
        Returns:
        The bytes for ingressClassName.
      • setIngressClassName

        public Generated.IngressSpec.Builder setIngressClassName​(String value)
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Parameters:
        value - The ingressClassName to set.
        Returns:
        This builder for chaining.
      • clearIngressClassName

        public Generated.IngressSpec.Builder clearIngressClassName()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Returns:
        This builder for chaining.
      • setIngressClassNameBytes

        public Generated.IngressSpec.Builder setIngressClassNameBytes​(com.google.protobuf.ByteString value)
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Parameters:
        value - The bytes for ingressClassName to set.
        Returns:
        This builder for chaining.
      • hasDefaultBackend

        public boolean hasDefaultBackend()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
        Specified by:
        hasDefaultBackend in interface Generated.IngressSpecOrBuilder
        Returns:
        Whether the defaultBackend field is set.
      • getDefaultBackend

        public Generated.IngressBackend getDefaultBackend()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
        Specified by:
        getDefaultBackend in interface Generated.IngressSpecOrBuilder
        Returns:
        The defaultBackend.
      • setDefaultBackend

        public Generated.IngressSpec.Builder setDefaultBackend​(Generated.IngressBackend value)
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
      • setDefaultBackend

        public Generated.IngressSpec.Builder setDefaultBackend​(Generated.IngressBackend.Builder builderForValue)
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
      • mergeDefaultBackend

        public Generated.IngressSpec.Builder mergeDefaultBackend​(Generated.IngressBackend value)
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
      • clearDefaultBackend

        public Generated.IngressSpec.Builder clearDefaultBackend()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
      • getDefaultBackendBuilder

        public Generated.IngressBackend.Builder getDefaultBackendBuilder()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
      • getDefaultBackendOrBuilder

        public Generated.IngressBackendOrBuilder getDefaultBackendOrBuilder()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
        Specified by:
        getDefaultBackendOrBuilder in interface Generated.IngressSpecOrBuilder
      • getTlsList

        public List<Generated.IngressTLS> getTlsList()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTlsList in interface Generated.IngressSpecOrBuilder
      • getTlsCount

        public int getTlsCount()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTlsCount in interface Generated.IngressSpecOrBuilder
      • getTls

        public Generated.IngressTLS getTls​(int index)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTls in interface Generated.IngressSpecOrBuilder
      • setTls

        public Generated.IngressSpec.Builder setTls​(int index,
                                                    Generated.IngressTLS value)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • setTls

        public Generated.IngressSpec.Builder setTls​(int index,
                                                    Generated.IngressTLS.Builder builderForValue)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • addTls

        public Generated.IngressSpec.Builder addTls​(Generated.IngressTLS value)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • addTls

        public Generated.IngressSpec.Builder addTls​(int index,
                                                    Generated.IngressTLS value)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • addTls

        public Generated.IngressSpec.Builder addTls​(Generated.IngressTLS.Builder builderForValue)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • addTls

        public Generated.IngressSpec.Builder addTls​(int index,
                                                    Generated.IngressTLS.Builder builderForValue)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • addAllTls

        public Generated.IngressSpec.Builder addAllTls​(Iterable<? extends Generated.IngressTLS> values)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • clearTls

        public Generated.IngressSpec.Builder clearTls()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • removeTls

        public Generated.IngressSpec.Builder removeTls​(int index)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getTlsBuilder

        public Generated.IngressTLS.Builder getTlsBuilder​(int index)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getTlsOrBuilder

        public Generated.IngressTLSOrBuilder getTlsOrBuilder​(int index)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTlsOrBuilder in interface Generated.IngressSpecOrBuilder
      • getTlsOrBuilderList

        public List<? extends Generated.IngressTLSOrBuilder> getTlsOrBuilderList()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
        Specified by:
        getTlsOrBuilderList in interface Generated.IngressSpecOrBuilder
      • addTlsBuilder

        public Generated.IngressTLS.Builder addTlsBuilder()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • addTlsBuilder

        public Generated.IngressTLS.Builder addTlsBuilder​(int index)
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getTlsBuilderList

        public List<Generated.IngressTLS.Builder> getTlsBuilderList()
         tls represents the TLS configuration. Currently the Ingress only supports a
         single TLS port, 443. If multiple members of this list specify different hosts,
         they will be multiplexed on the same port according to the hostname specified
         through the SNI TLS extension, if the ingress controller fulfilling the
         ingress supports SNI.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getRulesList

        public List<Generated.IngressRule> getRulesList()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
        Specified by:
        getRulesList in interface Generated.IngressSpecOrBuilder
      • getRulesCount

        public int getRulesCount()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
        Specified by:
        getRulesCount in interface Generated.IngressSpecOrBuilder
      • getRules

        public Generated.IngressRule getRules​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
        Specified by:
        getRules in interface Generated.IngressSpecOrBuilder
      • setRules

        public Generated.IngressSpec.Builder setRules​(int index,
                                                      Generated.IngressRule value)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • setRules

        public Generated.IngressSpec.Builder setRules​(int index,
                                                      Generated.IngressRule.Builder builderForValue)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • addRules

        public Generated.IngressSpec.Builder addRules​(Generated.IngressRule value)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • addRules

        public Generated.IngressSpec.Builder addRules​(int index,
                                                      Generated.IngressRule value)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • addRules

        public Generated.IngressSpec.Builder addRules​(Generated.IngressRule.Builder builderForValue)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • addRules

        public Generated.IngressSpec.Builder addRules​(int index,
                                                      Generated.IngressRule.Builder builderForValue)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • addAllRules

        public Generated.IngressSpec.Builder addAllRules​(Iterable<? extends Generated.IngressRule> values)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • clearRules

        public Generated.IngressSpec.Builder clearRules()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • removeRules

        public Generated.IngressSpec.Builder removeRules​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • getRulesBuilder

        public Generated.IngressRule.Builder getRulesBuilder​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • getRulesOrBuilder

        public Generated.IngressRuleOrBuilder getRulesOrBuilder​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
        Specified by:
        getRulesOrBuilder in interface Generated.IngressSpecOrBuilder
      • addRulesBuilder

        public Generated.IngressRule.Builder addRulesBuilder()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • addRulesBuilder

        public Generated.IngressRule.Builder addRulesBuilder​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • getRulesBuilderList

        public List<Generated.IngressRule.Builder> getRulesBuilderList()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • setUnknownFields

        public final Generated.IngressSpec.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>
      • mergeUnknownFields

        public final Generated.IngressSpec.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressSpec.Builder>