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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAllowContentTypes(int index)Allowed content-type for json to metadata transformation.com.google.protobuf.ByteStringgetAllowContentTypesBytes(int index)Allowed content-type for json to metadata transformation.intgetAllowContentTypesCount()Allowed content-type for json to metadata transformation.List<String>getAllowContentTypesList()Allowed content-type for json to metadata transformation.booleangetAllowEmptyContentType()Allowed empty content-type for json to metadata transformation.JsonToMetadata.RulegetRules(int index)The list of rules to apply.intgetRulesCount()The list of rules to apply.List<JsonToMetadata.Rule>getRulesList()The list of rules to apply.JsonToMetadata.RuleOrBuildergetRulesOrBuilder(int index)The list of rules to apply.List<? extends JsonToMetadata.RuleOrBuilder>getRulesOrBuilderList()The list of rules to apply.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
-