Class V1beta1Extensions.IngressSpec.Builder

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

public static final class V1beta1Extensions.IngressSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressSpec.Builder> implements V1beta1Extensions.IngressSpecOrBuilder
 IngressSpec describes the Ingress the user wishes to exist.
 
Protobuf type k8s.io.api.extensions.v1beta1.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<V1beta1Extensions.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<V1beta1Extensions.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<V1beta1Extensions.IngressSpec.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1beta1Extensions.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<V1beta1Extensions.IngressSpec.Builder>
    • setField

      public V1beta1Extensions.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<V1beta1Extensions.IngressSpec.Builder>
    • clearField

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

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

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

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

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

      public V1beta1Extensions.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<V1beta1Extensions.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 V1beta1Extensions.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 V1beta1Extensions.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 V1beta1Extensions.IngressSpecOrBuilder
    • setIngressClassName

      public V1beta1Extensions.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 V1beta1Extensions.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 V1beta1Extensions.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;
    • hasBackend

      public boolean hasBackend()
       A default backend capable of servicing requests that don't match any
       rule. At least one of 'backend' or 'rules' must be specified. This field
       is optional to allow the loadbalancer controller or defaulting logic to
       specify a global default.
       +optional
       
      optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 1;
      Specified by:
      hasBackend in interface V1beta1Extensions.IngressSpecOrBuilder
    • getBackend

      public V1beta1Extensions.IngressBackend getBackend()
       A default backend capable of servicing requests that don't match any
       rule. At least one of 'backend' or 'rules' must be specified. This field
       is optional to allow the loadbalancer controller or defaulting logic to
       specify a global default.
       +optional
       
      optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 1;
      Specified by:
      getBackend in interface V1beta1Extensions.IngressSpecOrBuilder
    • setBackend

       A default backend capable of servicing requests that don't match any
       rule. At least one of 'backend' or 'rules' must be specified. This field
       is optional to allow the loadbalancer controller or defaulting logic to
       specify a global default.
       +optional
       
      optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 1;
    • setBackend

       A default backend capable of servicing requests that don't match any
       rule. At least one of 'backend' or 'rules' must be specified. This field
       is optional to allow the loadbalancer controller or defaulting logic to
       specify a global default.
       +optional
       
      optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 1;
    • mergeBackend

       A default backend capable of servicing requests that don't match any
       rule. At least one of 'backend' or 'rules' must be specified. This field
       is optional to allow the loadbalancer controller or defaulting logic to
       specify a global default.
       +optional
       
      optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 1;
    • clearBackend

       A default backend capable of servicing requests that don't match any
       rule. At least one of 'backend' or 'rules' must be specified. This field
       is optional to allow the loadbalancer controller or defaulting logic to
       specify a global default.
       +optional
       
      optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 1;
    • getBackendBuilder

      public V1beta1Extensions.IngressBackend.Builder getBackendBuilder()
       A default backend capable of servicing requests that don't match any
       rule. At least one of 'backend' or 'rules' must be specified. This field
       is optional to allow the loadbalancer controller or defaulting logic to
       specify a global default.
       +optional
       
      optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 1;
    • getBackendOrBuilder

      public V1beta1Extensions.IngressBackendOrBuilder getBackendOrBuilder()
       A default backend capable of servicing requests that don't match any
       rule. At least one of 'backend' or 'rules' must be specified. This field
       is optional to allow the loadbalancer controller or defaulting logic to
       specify a global default.
       +optional
       
      optional .k8s.io.api.extensions.v1beta1.IngressBackend backend = 1;
      Specified by:
      getBackendOrBuilder in interface V1beta1Extensions.IngressSpecOrBuilder
    • getTlsList

      public List<V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
      Specified by:
      getTlsList in interface V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
      Specified by:
      getTlsCount in interface V1beta1Extensions.IngressSpecOrBuilder
    • getTls

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
      Specified by:
      getTls in interface V1beta1Extensions.IngressSpecOrBuilder
    • setTls

       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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
    • setTls

       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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
    • removeTls

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
    • getTlsBuilder

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
    • getTlsOrBuilder

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
      Specified by:
      getTlsOrBuilder in interface V1beta1Extensions.IngressSpecOrBuilder
    • getTlsOrBuilderList

      public List<? extends V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
      Specified by:
      getTlsOrBuilderList in interface V1beta1Extensions.IngressSpecOrBuilder
    • addTlsBuilder

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
    • addTlsBuilder

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
    • getTlsBuilderList

      public List<V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressTLS tls = 2;
    • getRulesList

      public List<V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
      Specified by:
      getRulesList in interface V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
      Specified by:
      getRulesCount in interface V1beta1Extensions.IngressSpecOrBuilder
    • getRules

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
      Specified by:
      getRules in interface V1beta1Extensions.IngressSpecOrBuilder
    • setRules

       A list of host rules used to configure the Ingress. If unspecified, or
       no rule matches, all traffic is sent to the default backend.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • setRules

       A list of host rules used to configure the Ingress. If unspecified, or
       no rule matches, all traffic is sent to the default backend.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • addAllRules

       A list of host rules used to configure the Ingress. If unspecified, or
       no rule matches, all traffic is sent to the default backend.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • 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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • removeRules

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • getRulesBuilder

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • getRulesOrBuilder

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
      Specified by:
      getRulesOrBuilder in interface V1beta1Extensions.IngressSpecOrBuilder
    • getRulesOrBuilderList

      public List<? extends V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
      Specified by:
      getRulesOrBuilderList in interface V1beta1Extensions.IngressSpecOrBuilder
    • addRulesBuilder

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • addRulesBuilder

      public V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • getRulesBuilderList

      public List<V1beta1Extensions.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.
       +optional
       
      repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
    • setUnknownFields

      public final V1beta1Extensions.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<V1beta1Extensions.IngressSpec.Builder>
    • mergeUnknownFields

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