Interface JsonToMetadata.MatchRulesOrBuilder

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

public static interface JsonToMetadata.MatchRulesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getRulesList

      List<JsonToMetadata.Rule> getRulesList()
       The list of rules to apply.
       
      repeated .envoy.extensions.filters.http.json_to_metadata.v3.JsonToMetadata.Rule rules = 1 [(.validate.rules) = { ... }
    • getRules

      JsonToMetadata.Rule getRules(int index)
       The list of rules to apply.
       
      repeated .envoy.extensions.filters.http.json_to_metadata.v3.JsonToMetadata.Rule rules = 1 [(.validate.rules) = { ... }
    • getRulesCount

      int getRulesCount()
       The list of rules to apply.
       
      repeated .envoy.extensions.filters.http.json_to_metadata.v3.JsonToMetadata.Rule rules = 1 [(.validate.rules) = { ... }
    • getRulesOrBuilderList

      List<? extends JsonToMetadata.RuleOrBuilder> getRulesOrBuilderList()
       The list of rules to apply.
       
      repeated .envoy.extensions.filters.http.json_to_metadata.v3.JsonToMetadata.Rule rules = 1 [(.validate.rules) = { ... }
    • getRulesOrBuilder

      JsonToMetadata.RuleOrBuilder getRulesOrBuilder(int index)
       The list of rules to apply.
       
      repeated .envoy.extensions.filters.http.json_to_metadata.v3.JsonToMetadata.Rule rules = 1 [(.validate.rules) = { ... }
    • getAllowContentTypesList

      List<String> getAllowContentTypesList()
       Allowed content-type for json to metadata transformation.
       Default to ``{"application/json"}``.
      
       Set ``allow_empty_content_type`` if empty/missing content-type header
       is allowed.
       
      repeated string allow_content_types = 2 [(.validate.rules) = { ... }
      Returns:
      A list containing the allowContentTypes.
    • getAllowContentTypesCount

      int getAllowContentTypesCount()
       Allowed content-type for json to metadata transformation.
       Default to ``{"application/json"}``.
      
       Set ``allow_empty_content_type`` if empty/missing content-type header
       is allowed.
       
      repeated string allow_content_types = 2 [(.validate.rules) = { ... }
      Returns:
      The count of allowContentTypes.
    • getAllowContentTypes

      String getAllowContentTypes(int index)
       Allowed content-type for json to metadata transformation.
       Default to ``{"application/json"}``.
      
       Set ``allow_empty_content_type`` if empty/missing content-type header
       is allowed.
       
      repeated string allow_content_types = 2 [(.validate.rules) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowContentTypes at the given index.
    • getAllowContentTypesBytes

      com.google.protobuf.ByteString getAllowContentTypesBytes(int index)
       Allowed content-type for json to metadata transformation.
       Default to ``{"application/json"}``.
      
       Set ``allow_empty_content_type`` if empty/missing content-type header
       is allowed.
       
      repeated string allow_content_types = 2 [(.validate.rules) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the allowContentTypes at the given index.
    • getAllowEmptyContentType

      boolean getAllowEmptyContentType()
       Allowed empty content-type for json to metadata transformation.
       Default to false.
       
      bool allow_empty_content_type = 3;
      Returns:
      The allowEmptyContentType.
    • hasAllowContentTypesRegex

      boolean hasAllowContentTypesRegex()
       Allowed content-type by regex match for json to metadata transformation.
       This can be used in parallel with ``allow_content_types``.
       
      .envoy.type.matcher.v3.RegexMatcher allow_content_types_regex = 4;
      Returns:
      Whether the allowContentTypesRegex field is set.
    • getAllowContentTypesRegex

      RegexMatcher getAllowContentTypesRegex()
       Allowed content-type by regex match for json to metadata transformation.
       This can be used in parallel with ``allow_content_types``.
       
      .envoy.type.matcher.v3.RegexMatcher allow_content_types_regex = 4;
      Returns:
      The allowContentTypesRegex.
    • getAllowContentTypesRegexOrBuilder

      RegexMatcherOrBuilder getAllowContentTypesRegexOrBuilder()
       Allowed content-type by regex match for json to metadata transformation.
       This can be used in parallel with ``allow_content_types``.
       
      .envoy.type.matcher.v3.RegexMatcher allow_content_types_regex = 4;