Class Generated.HTTPIngressPath.Builder

    • Method Detail

      • 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<Generated.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<Generated.HTTPIngressPath.Builder>
      • getDefaultInstanceForType

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

        public Generated.HTTPIngressPath build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.HTTPIngressPath buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Generated.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<Generated.HTTPIngressPath.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.HTTPIngressPath.Builder>
      • mergeFrom

        public Generated.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<Generated.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 Generated.HTTPIngressPathOrBuilder
        Returns:
        Whether the path field is set.
      • 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 Generated.HTTPIngressPathOrBuilder
        Returns:
        The path.
      • 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 Generated.HTTPIngressPathOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public Generated.HTTPIngressPath.Builder setPath​(String 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;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public Generated.HTTPIngressPath.Builder 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;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Generated.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;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • 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 Generated.HTTPIngressPathOrBuilder
        Returns:
        Whether the pathType field is set.
      • 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 Generated.HTTPIngressPathOrBuilder
        Returns:
        The pathType.
      • 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 Generated.HTTPIngressPathOrBuilder
        Returns:
        The bytes for pathType.
      • setPathType

        public Generated.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;
        Parameters:
        value - The pathType to set.
        Returns:
        This builder for chaining.
      • clearPathType

        public Generated.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;
        Returns:
        This builder for chaining.
      • setPathTypeBytes

        public Generated.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;
        Parameters:
        value - The bytes for pathType to set.
        Returns:
        This builder for chaining.
      • 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 Generated.HTTPIngressPathOrBuilder
        Returns:
        Whether the backend field is set.
      • clearBackend

        public Generated.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 Generated.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;
      • setUnknownFields

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

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