Class V1beta1Extensions.IngressRuleValue.Builder

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

public static final class V1beta1Extensions.IngressRuleValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IngressRuleValue.Builder> implements V1beta1Extensions.IngressRuleValueOrBuilder
 IngressRuleValue represents a rule to apply against incoming requests. If the
 rule is satisfied, the request is routed to the specified backend. Currently
 mixing different types of rules in a single Ingress is disallowed, so exactly
 one of the following must be set.
 
Protobuf type k8s.io.api.extensions.v1beta1.IngressRuleValue
  • 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.IngressRuleValue.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.IngressRuleValue.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.IngressRuleValue.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public V1beta1Extensions.IngressRuleValue.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.IngressRuleValue.Builder>
      Throws:
      IOException
    • hasHttp

      public boolean hasHttp()
       http is a list of http selectors pointing to backends.
       A path is matched against the path of an incoming request. Currently it can
       contain characters disallowed from the conventional "path" part of a URL
       as defined by RFC 3986. Paths must begin with a '/'.
       A backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue http = 1;
      Specified by:
      hasHttp in interface V1beta1Extensions.IngressRuleValueOrBuilder
    • getHttp

       http is a list of http selectors pointing to backends.
       A path is matched against the path of an incoming request. Currently it can
       contain characters disallowed from the conventional "path" part of a URL
       as defined by RFC 3986. Paths must begin with a '/'.
       A backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue http = 1;
      Specified by:
      getHttp in interface V1beta1Extensions.IngressRuleValueOrBuilder
    • setHttp

       http is a list of http selectors pointing to backends.
       A path is matched against the path of an incoming request. Currently it can
       contain characters disallowed from the conventional "path" part of a URL
       as defined by RFC 3986. Paths must begin with a '/'.
       A backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue http = 1;
    • setHttp

       http is a list of http selectors pointing to backends.
       A path is matched against the path of an incoming request. Currently it can
       contain characters disallowed from the conventional "path" part of a URL
       as defined by RFC 3986. Paths must begin with a '/'.
       A backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue http = 1;
    • mergeHttp

       http is a list of http selectors pointing to backends.
       A path is matched against the path of an incoming request. Currently it can
       contain characters disallowed from the conventional "path" part of a URL
       as defined by RFC 3986. Paths must begin with a '/'.
       A backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue http = 1;
    • clearHttp

       http is a list of http selectors pointing to backends.
       A path is matched against the path of an incoming request. Currently it can
       contain characters disallowed from the conventional "path" part of a URL
       as defined by RFC 3986. Paths must begin with a '/'.
       A backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue http = 1;
    • getHttpBuilder

       http is a list of http selectors pointing to backends.
       A path is matched against the path of an incoming request. Currently it can
       contain characters disallowed from the conventional "path" part of a URL
       as defined by RFC 3986. Paths must begin with a '/'.
       A backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue http = 1;
    • getHttpOrBuilder

       http is a list of http selectors pointing to backends.
       A path is matched against the path of an incoming request. Currently it can
       contain characters disallowed from the conventional "path" part of a URL
       as defined by RFC 3986. Paths must begin with a '/'.
       A backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue http = 1;
      Specified by:
      getHttpOrBuilder in interface V1beta1Extensions.IngressRuleValueOrBuilder
    • setUnknownFields

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

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