Interface JsonToMetadata.MatchRulesOrBuilder

    • Method Detail

      • 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.