Class V1beta1Extensions.HTTPIngressPath

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1beta1Extensions.HTTPIngressPath
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1beta1Extensions.HTTPIngressPathOrBuilder, Serializable
Enclosing class:
V1beta1Extensions

public static final class V1beta1Extensions.HTTPIngressPath extends com.google.protobuf.GeneratedMessageV3 implements V1beta1Extensions.HTTPIngressPathOrBuilder
 HTTPIngressPath associates a path with a backend. Incoming urls matching the
 path are forwarded to the backend.
 
Protobuf type k8s.io.api.extensions.v1beta1.HTTPIngressPath
See Also:
  • Field Details

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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 '/'. When unspecified,
       all paths from incoming requests are matched.
       +optional
       
      optional string path = 1;
      Specified by:
      hasPath in interface V1beta1Extensions.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 '/'. When unspecified,
       all paths from incoming requests are matched.
       +optional
       
      optional string path = 1;
      Specified by:
      getPath in interface V1beta1Extensions.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 '/'. When unspecified,
       all paths from incoming requests are matched.
       +optional
       
      optional string path = 1;
      Specified by:
      getPathBytes in interface V1beta1Extensions.HTTPIngressPathOrBuilder
    • 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.
       Defaults to ImplementationSpecific.
       
      optional string pathType = 3;
      Specified by:
      hasPathType in interface V1beta1Extensions.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.
       Defaults to ImplementationSpecific.
       
      optional string pathType = 3;
      Specified by:
      getPathType in interface V1beta1Extensions.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.
       Defaults to ImplementationSpecific.
       
      optional string pathType = 3;
      Specified by:
      getPathTypeBytes in interface V1beta1Extensions.HTTPIngressPathOrBuilder
    • hasBackend

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

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

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1beta1Extensions.HTTPIngressPath parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1beta1Extensions.HTTPIngressPath parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Extensions.HTTPIngressPath parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public V1beta1Extensions.HTTPIngressPath.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V1beta1Extensions.HTTPIngressPath.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1beta1Extensions.HTTPIngressPath.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1beta1Extensions.HTTPIngressPath getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1beta1Extensions.HTTPIngressPath> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1beta1Extensions.HTTPIngressPath> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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