Interface Generated.HTTPIngressPathOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Generated.IngressBackend getBackend()
      backend defines the referenced service endpoint to which the traffic will be forwarded to.
      Generated.IngressBackendOrBuilder getBackendOrBuilder()
      backend defines the referenced service endpoint to which the traffic will be forwarded to.
      String getPath()
      path is matched against the path of an incoming request.
      com.google.protobuf.ByteString getPathBytes()
      path is matched against the path of an incoming request.
      String getPathType()
      pathType determines the interpretation of the path matching.
      com.google.protobuf.ByteString getPathTypeBytes()
      pathType determines the interpretation of the path matching.
      boolean hasBackend()
      backend defines the referenced service endpoint to which the traffic will be forwarded to.
      boolean hasPath()
      path is matched against the path of an incoming request.
      boolean hasPathType()
      pathType determines the interpretation of the path matching.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasPath

        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;
        Returns:
        Whether the path field is set.
      • getPath

        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;
        Returns:
        The path.
      • getPathBytes

        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;
        Returns:
        The bytes for path.
      • hasPathType

        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;
        Returns:
        Whether the pathType field is set.
      • getPathType

        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;
        Returns:
        The pathType.
      • getPathTypeBytes

        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;
        Returns:
        The bytes for pathType.
      • hasBackend

        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;
        Returns:
        Whether the backend field is set.
      • getBackend

        Generated.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;
        Returns:
        The backend.
      • getBackendOrBuilder

        Generated.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;