Class GRPCMethodMatch

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<GRPCMethodMatchBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class GRPCMethodMatch
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<GRPCMethodMatchBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    GRPCMethodMatch describes how to select a gRPC route by matching the gRPC request service and/or method.


    At least one of Service and Method MUST be a non-empty string.

    See Also:
    Serialized Form
    • Constructor Detail

      • GRPCMethodMatch

        public GRPCMethodMatch()
        No args constructor for use in serialization
      • GRPCMethodMatch

        public GRPCMethodMatch​(String method,
                               String service,
                               String type)
    • Method Detail

      • getMethod

        public String getMethod()
        Value of the method to match against. If left empty or omitted, will match all services.


        At least one of Service and Method MUST be a non-empty string.

      • setMethod

        public void setMethod​(String method)
        Value of the method to match against. If left empty or omitted, will match all services.


        At least one of Service and Method MUST be a non-empty string.

      • getService

        public String getService()
        Value of the service to match against. If left empty or omitted, will match any service.


        At least one of Service and Method MUST be a non-empty string.

      • setService

        public void setService​(String service)
        Value of the service to match against. If left empty or omitted, will match any service.


        At least one of Service and Method MUST be a non-empty string.

      • getType

        public String getType()
        Type specifies how to match against the service and/or method. Support: Core (Exact with service and method specified)


        Support: Implementation-specific (Exact with method specified but no service specified)


        Support: Implementation-specific (RegularExpression)

      • setType

        public void setType​(String type)
        Type specifies how to match against the service and/or method. Support: Core (Exact with service and method specified)


        Support: Implementation-specific (Exact with method specified but no service specified)


        Support: Implementation-specific (RegularExpression)

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)