Class V1Networking.IngressSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressSpec.Builder>
io.kubernetes.client.proto.V1Networking.IngressSpec.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1Networking.IngressSpecOrBuilder, Cloneable
Enclosing class:
V1Networking.IngressSpec

public static final class V1Networking.IngressSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressSpec.Builder> implements V1Networking.IngressSpecOrBuilder
 IngressSpec describes the Ingress the user wishes to exist.
 
Protobuf type k8s.io.api.networking.v1.IngressSpec
  • Method Details

    • 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<V1Networking.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<V1Networking.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<V1Networking.IngressSpec.Builder>
    • getDefaultInstanceForType

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

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

      public V1Networking.IngressSpec buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<V1Networking.IngressSpec.Builder>
    • setField

      public V1Networking.IngressSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.IngressSpec.Builder>
    • clearField

      public V1Networking.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<V1Networking.IngressSpec.Builder>
    • clearOneof

      public V1Networking.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<V1Networking.IngressSpec.Builder>
    • setRepeatedField

      public V1Networking.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<V1Networking.IngressSpec.Builder>
    • addRepeatedField

      public V1Networking.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<V1Networking.IngressSpec.Builder>
    • mergeFrom

      public V1Networking.IngressSpec.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Networking.IngressSpec.Builder>
    • mergeFrom

    • isInitialized

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

      public V1Networking.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<V1Networking.IngressSpec.Builder>
      Throws:
      IOException
    • hasIngressClassName

      public boolean hasIngressClassName()
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
      Specified by:
      hasIngressClassName in interface V1Networking.IngressSpecOrBuilder
    • getIngressClassName

      public String getIngressClassName()
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
      Specified by:
      getIngressClassName in interface V1Networking.IngressSpecOrBuilder
    • getIngressClassNameBytes

      public com.google.protobuf.ByteString getIngressClassNameBytes()
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
      Specified by:
      getIngressClassNameBytes in interface V1Networking.IngressSpecOrBuilder
    • setIngressClassName

      public V1Networking.IngressSpec.Builder setIngressClassName(String value)
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
    • clearIngressClassName

      public V1Networking.IngressSpec.Builder clearIngressClassName()
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
    • setIngressClassNameBytes

      public V1Networking.IngressSpec.Builder setIngressClassNameBytes(com.google.protobuf.ByteString value)
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
    • 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 V1Networking.IngressSpecOrBuilder
    • getDefaultBackend

      public V1Networking.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 V1Networking.IngressSpecOrBuilder
    • setDefaultBackend

       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 V1Networking.IngressSpec.Builder setDefaultBackend(V1Networking.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

       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 V1Networking.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 V1Networking.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 V1Networking.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 V1Networking.IngressSpecOrBuilder
    • getTlsList

      public List<V1Networking.IngressTLS> getTlsList()
       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 V1Networking.IngressSpecOrBuilder
    • getTlsCount

      public int getTlsCount()
       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 V1Networking.IngressSpecOrBuilder
    • getTls

      public V1Networking.IngressTLS getTls(int index)
       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 V1Networking.IngressSpecOrBuilder
    • setTls

      public V1Networking.IngressSpec.Builder setTls(int index, V1Networking.IngressTLS value)
       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 V1Networking.IngressSpec.Builder setTls(int index, V1Networking.IngressTLS.Builder builderForValue)
       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

       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 V1Networking.IngressSpec.Builder addTls(int index, V1Networking.IngressTLS value)
       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

       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 V1Networking.IngressSpec.Builder addTls(int index, V1Networking.IngressTLS.Builder builderForValue)
       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

       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

       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 V1Networking.IngressSpec.Builder removeTls(int index)
       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 V1Networking.IngressTLS.Builder getTlsBuilder(int index)
       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 V1Networking.IngressTLSOrBuilder getTlsOrBuilder(int index)
       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 V1Networking.IngressSpecOrBuilder
    • getTlsOrBuilderList

      public List<? extends V1Networking.IngressTLSOrBuilder> getTlsOrBuilderList()
       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 V1Networking.IngressSpecOrBuilder
    • addTlsBuilder

      public V1Networking.IngressTLS.Builder addTlsBuilder()
       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 V1Networking.IngressTLS.Builder addTlsBuilder(int index)
       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<V1Networking.IngressTLS.Builder> getTlsBuilderList()
       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<V1Networking.IngressRule> getRulesList()
       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 V1Networking.IngressSpecOrBuilder
    • getRulesCount

      public int getRulesCount()
       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 V1Networking.IngressSpecOrBuilder
    • getRules

      public V1Networking.IngressRule getRules(int index)
       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 V1Networking.IngressSpecOrBuilder
    • setRules

      public V1Networking.IngressSpec.Builder setRules(int index, V1Networking.IngressRule value)
       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 V1Networking.IngressSpec.Builder setRules(int index, V1Networking.IngressRule.Builder builderForValue)
       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

       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 V1Networking.IngressSpec.Builder addRules(int index, V1Networking.IngressRule value)
       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

       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 V1Networking.IngressSpec.Builder addRules(int index, V1Networking.IngressRule.Builder builderForValue)
       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 V1Networking.IngressSpec.Builder addAllRules(Iterable<? extends V1Networking.IngressRule> values)
       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 V1Networking.IngressSpec.Builder clearRules()
       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 V1Networking.IngressSpec.Builder removeRules(int index)
       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 V1Networking.IngressRule.Builder getRulesBuilder(int index)
       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 V1Networking.IngressRuleOrBuilder getRulesOrBuilder(int index)
       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 V1Networking.IngressSpecOrBuilder
    • getRulesOrBuilderList

      public List<? extends V1Networking.IngressRuleOrBuilder> getRulesOrBuilderList()
       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:
      getRulesOrBuilderList in interface V1Networking.IngressSpecOrBuilder
    • addRulesBuilder

      public V1Networking.IngressRule.Builder addRulesBuilder()
       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 V1Networking.IngressRule.Builder addRulesBuilder(int index)
       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<V1Networking.IngressRule.Builder> getRulesBuilderList()
       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 V1Networking.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<V1Networking.IngressSpec.Builder>
    • mergeUnknownFields

      public final V1Networking.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<V1Networking.IngressSpec.Builder>