Class V1Networking.HTTPIngressPath.Builder

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

public static final class V1Networking.HTTPIngressPath.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Networking.HTTPIngressPath.Builder> implements V1Networking.HTTPIngressPathOrBuilder
 HTTPIngressPath associates a path with a backend. Incoming urls matching the
 path are forwarded to the backend.
 
Protobuf type k8s.io.api.networking.v1.HTTPIngressPath
  • 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.HTTPIngressPath.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.HTTPIngressPath.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.HTTPIngressPath.Builder>
    • getDefaultInstanceForType

      public V1Networking.HTTPIngressPath 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 V1Networking.HTTPIngressPath 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.HTTPIngressPath.Builder>
    • setField

      public V1Networking.HTTPIngressPath.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.HTTPIngressPath.Builder>
    • clearField

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

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

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

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

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

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

      public boolean hasPath()
       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 '/' and must be present
       when using PathType with value "Exact" or "Prefix".
       +optional
       
      optional string path = 1;
      Specified by:
      hasPath in interface V1Networking.HTTPIngressPathOrBuilder
    • getPath

      public String getPath()
       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 '/' and must be present
       when using PathType with value "Exact" or "Prefix".
       +optional
       
      optional string path = 1;
      Specified by:
      getPath in interface V1Networking.HTTPIngressPathOrBuilder
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       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 '/' and must be present
       when using PathType with value "Exact" or "Prefix".
       +optional
       
      optional string path = 1;
      Specified by:
      getPathBytes in interface V1Networking.HTTPIngressPathOrBuilder
    • setPath

       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 '/' and must be present
       when using PathType with value "Exact" or "Prefix".
       +optional
       
      optional string path = 1;
    • clearPath

       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 '/' and must be present
       when using PathType with value "Exact" or "Prefix".
       +optional
       
      optional string path = 1;
    • setPathBytes

      public V1Networking.HTTPIngressPath.Builder setPathBytes(com.google.protobuf.ByteString value)
       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 '/' and must be present
       when using PathType with value "Exact" or "Prefix".
       +optional
       
      optional string path = 1;
    • hasPathType

      public boolean hasPathType()
       PathType determines the interpretation of the Path matching. PathType can
       be one of the following values:
       * Exact: Matches the URL path exactly.
       * Prefix: Matches based on a URL path prefix split by '/'. Matching is
         done on a path element by element basis. A path element refers is the
         list of labels in the path split by the '/' separator. A request is a
         match for path p if every p is an element-wise prefix of p of the
         request path. Note that if the last element of the path is a substring
         of the last element in request path, it is not a match (e.g. /foo/bar
         matches /foo/bar/baz, but does not match /foo/barbaz).
       * ImplementationSpecific: Interpretation of the Path matching is up to
         the IngressClass. Implementations can treat this as a separate PathType
         or treat it identically to Prefix or Exact path types.
       Implementations are required to support all path types.
       
      optional string pathType = 3;
      Specified by:
      hasPathType in interface V1Networking.HTTPIngressPathOrBuilder
    • getPathType

      public String getPathType()
       PathType determines the interpretation of the Path matching. PathType can
       be one of the following values:
       * Exact: Matches the URL path exactly.
       * Prefix: Matches based on a URL path prefix split by '/'. Matching is
         done on a path element by element basis. A path element refers is the
         list of labels in the path split by the '/' separator. A request is a
         match for path p if every p is an element-wise prefix of p of the
         request path. Note that if the last element of the path is a substring
         of the last element in request path, it is not a match (e.g. /foo/bar
         matches /foo/bar/baz, but does not match /foo/barbaz).
       * ImplementationSpecific: Interpretation of the Path matching is up to
         the IngressClass. Implementations can treat this as a separate PathType
         or treat it identically to Prefix or Exact path types.
       Implementations are required to support all path types.
       
      optional string pathType = 3;
      Specified by:
      getPathType in interface V1Networking.HTTPIngressPathOrBuilder
    • getPathTypeBytes

      public com.google.protobuf.ByteString getPathTypeBytes()
       PathType determines the interpretation of the Path matching. PathType can
       be one of the following values:
       * Exact: Matches the URL path exactly.
       * Prefix: Matches based on a URL path prefix split by '/'. Matching is
         done on a path element by element basis. A path element refers is the
         list of labels in the path split by the '/' separator. A request is a
         match for path p if every p is an element-wise prefix of p of the
         request path. Note that if the last element of the path is a substring
         of the last element in request path, it is not a match (e.g. /foo/bar
         matches /foo/bar/baz, but does not match /foo/barbaz).
       * ImplementationSpecific: Interpretation of the Path matching is up to
         the IngressClass. Implementations can treat this as a separate PathType
         or treat it identically to Prefix or Exact path types.
       Implementations are required to support all path types.
       
      optional string pathType = 3;
      Specified by:
      getPathTypeBytes in interface V1Networking.HTTPIngressPathOrBuilder
    • setPathType

      public V1Networking.HTTPIngressPath.Builder setPathType(String value)
       PathType determines the interpretation of the Path matching. PathType can
       be one of the following values:
       * Exact: Matches the URL path exactly.
       * Prefix: Matches based on a URL path prefix split by '/'. Matching is
         done on a path element by element basis. A path element refers is the
         list of labels in the path split by the '/' separator. A request is a
         match for path p if every p is an element-wise prefix of p of the
         request path. Note that if the last element of the path is a substring
         of the last element in request path, it is not a match (e.g. /foo/bar
         matches /foo/bar/baz, but does not match /foo/barbaz).
       * ImplementationSpecific: Interpretation of the Path matching is up to
         the IngressClass. Implementations can treat this as a separate PathType
         or treat it identically to Prefix or Exact path types.
       Implementations are required to support all path types.
       
      optional string pathType = 3;
    • clearPathType

      public V1Networking.HTTPIngressPath.Builder clearPathType()
       PathType determines the interpretation of the Path matching. PathType can
       be one of the following values:
       * Exact: Matches the URL path exactly.
       * Prefix: Matches based on a URL path prefix split by '/'. Matching is
         done on a path element by element basis. A path element refers is the
         list of labels in the path split by the '/' separator. A request is a
         match for path p if every p is an element-wise prefix of p of the
         request path. Note that if the last element of the path is a substring
         of the last element in request path, it is not a match (e.g. /foo/bar
         matches /foo/bar/baz, but does not match /foo/barbaz).
       * ImplementationSpecific: Interpretation of the Path matching is up to
         the IngressClass. Implementations can treat this as a separate PathType
         or treat it identically to Prefix or Exact path types.
       Implementations are required to support all path types.
       
      optional string pathType = 3;
    • setPathTypeBytes

      public V1Networking.HTTPIngressPath.Builder setPathTypeBytes(com.google.protobuf.ByteString value)
       PathType determines the interpretation of the Path matching. PathType can
       be one of the following values:
       * Exact: Matches the URL path exactly.
       * Prefix: Matches based on a URL path prefix split by '/'. Matching is
         done on a path element by element basis. A path element refers is the
         list of labels in the path split by the '/' separator. A request is a
         match for path p if every p is an element-wise prefix of p of the
         request path. Note that if the last element of the path is a substring
         of the last element in request path, it is not a match (e.g. /foo/bar
         matches /foo/bar/baz, but does not match /foo/barbaz).
       * ImplementationSpecific: Interpretation of the Path matching is up to
         the IngressClass. Implementations can treat this as a separate PathType
         or treat it identically to Prefix or Exact path types.
       Implementations are required to support all path types.
       
      optional string pathType = 3;
    • hasBackend

      public boolean hasBackend()
       Backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.networking.v1.IngressBackend backend = 2;
      Specified by:
      hasBackend in interface V1Networking.HTTPIngressPathOrBuilder
    • getBackend

      public V1Networking.IngressBackend getBackend()
       Backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.networking.v1.IngressBackend backend = 2;
      Specified by:
      getBackend in interface V1Networking.HTTPIngressPathOrBuilder
    • setBackend

       Backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.networking.v1.IngressBackend backend = 2;
    • setBackend

       Backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.networking.v1.IngressBackend backend = 2;
    • mergeBackend

       Backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.networking.v1.IngressBackend backend = 2;
    • clearBackend

      public V1Networking.HTTPIngressPath.Builder clearBackend()
       Backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.networking.v1.IngressBackend backend = 2;
    • getBackendBuilder

      public V1Networking.IngressBackend.Builder getBackendBuilder()
       Backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.networking.v1.IngressBackend backend = 2;
    • getBackendOrBuilder

      public V1Networking.IngressBackendOrBuilder getBackendOrBuilder()
       Backend defines the referenced service endpoint to which the traffic
       will be forwarded to.
       
      optional .k8s.io.api.networking.v1.IngressBackend backend = 2;
      Specified by:
      getBackendOrBuilder in interface V1Networking.HTTPIngressPathOrBuilder
    • setUnknownFields

      public final V1Networking.HTTPIngressPath.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.HTTPIngressPath.Builder>
    • mergeUnknownFields

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