All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PayloadToMetadata.Rule, PayloadToMetadata.Rule.Builder
Enclosing class:
PayloadToMetadata

public static interface PayloadToMetadata.RuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasMethodName

      boolean hasMethodName()
       If specified, the route must exactly match the request method name. As a special case,
       an empty string matches any request method name.
       
      string method_name = 1;
      Returns:
      Whether the methodName field is set.
    • getMethodName

      String getMethodName()
       If specified, the route must exactly match the request method name. As a special case,
       an empty string matches any request method name.
       
      string method_name = 1;
      Returns:
      The methodName.
    • getMethodNameBytes

      com.google.protobuf.ByteString getMethodNameBytes()
       If specified, the route must exactly match the request method name. As a special case,
       an empty string matches any request method name.
       
      string method_name = 1;
      Returns:
      The bytes for methodName.
    • hasServiceName

      boolean hasServiceName()
       If specified, the route must have the service name as the request method name prefix.
       As a special case, an empty string matches any service name. Only relevant when service
       multiplexing.
       
      string service_name = 2;
      Returns:
      Whether the serviceName field is set.
    • getServiceName

      String getServiceName()
       If specified, the route must have the service name as the request method name prefix.
       As a special case, an empty string matches any service name. Only relevant when service
       multiplexing.
       
      string service_name = 2;
      Returns:
      The serviceName.
    • getServiceNameBytes

      com.google.protobuf.ByteString getServiceNameBytes()
       If specified, the route must have the service name as the request method name prefix.
       As a special case, an empty string matches any service name. Only relevant when service
       multiplexing.
       
      string service_name = 2;
      Returns:
      The bytes for serviceName.
    • hasFieldSelector

      boolean hasFieldSelector()
       Specifies that a match will be performed on the value of a field.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.FieldSelector field_selector = 3 [(.validate.rules) = { ... }
      Returns:
      Whether the fieldSelector field is set.
    • getFieldSelector

       Specifies that a match will be performed on the value of a field.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.FieldSelector field_selector = 3 [(.validate.rules) = { ... }
      Returns:
      The fieldSelector.
    • getFieldSelectorOrBuilder

      PayloadToMetadata.FieldSelectorOrBuilder getFieldSelectorOrBuilder()
       Specifies that a match will be performed on the value of a field.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.FieldSelector field_selector = 3 [(.validate.rules) = { ... }
    • hasOnPresent

      boolean hasOnPresent()
       If the field is present, apply this metadata KeyValuePair.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_present = 4;
      Returns:
      Whether the onPresent field is set.
    • getOnPresent

       If the field is present, apply this metadata KeyValuePair.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_present = 4;
      Returns:
      The onPresent.
    • getOnPresentOrBuilder

       If the field is present, apply this metadata KeyValuePair.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_present = 4;
    • hasOnMissing

      boolean hasOnMissing()
       If the field is missing, apply this metadata KeyValuePair.
      
       The value in the KeyValuePair must be set, since it'll be used in lieu
       of the missing field value.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_missing = 5;
      Returns:
      Whether the onMissing field is set.
    • getOnMissing

       If the field is missing, apply this metadata KeyValuePair.
      
       The value in the KeyValuePair must be set, since it'll be used in lieu
       of the missing field value.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_missing = 5;
      Returns:
      The onMissing.
    • getOnMissingOrBuilder

       If the field is missing, apply this metadata KeyValuePair.
      
       The value in the KeyValuePair must be set, since it'll be used in lieu
       of the missing field value.
       
      .envoy.extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.KeyValuePair on_missing = 5;
    • getMatchSpecifierCase