Interface MappedAttributeBuilderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MappedAttributeBuilder,MappedAttributeBuilder.Builder
public interface MappedAttributeBuilderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanA map of request attributes to set in the attributes struct.booleanSimilar to ``mapped_request_attributes``, but for response attributes.Deprecated.intA map of request attributes to set in the attributes struct.A map of request attributes to set in the attributes struct.getMappedRequestAttributesOrDefault(String key, String defaultValue) A map of request attributes to set in the attributes struct.A map of request attributes to set in the attributes struct.Deprecated.intSimilar to ``mapped_request_attributes``, but for response attributes.Similar to ``mapped_request_attributes``, but for response attributes.getMappedResponseAttributesOrDefault(String key, String defaultValue) Similar to ``mapped_request_attributes``, but for response attributes.Similar to ``mapped_request_attributes``, but for response attributes.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMappedRequestAttributesCount
int getMappedRequestAttributesCount()A map of request attributes to set in the attributes struct. The key is the attribute name, the value is the attribute value, interpretable by CEL. This allows for the re-mapping of attributes, which is not supported by the native attribute building logic.
map<string, string> mapped_request_attributes = 1; -
containsMappedRequestAttributes
A map of request attributes to set in the attributes struct. The key is the attribute name, the value is the attribute value, interpretable by CEL. This allows for the re-mapping of attributes, which is not supported by the native attribute building logic.
map<string, string> mapped_request_attributes = 1; -
getMappedRequestAttributes
Deprecated.UsegetMappedRequestAttributesMap()instead. -
getMappedRequestAttributesMap
A map of request attributes to set in the attributes struct. The key is the attribute name, the value is the attribute value, interpretable by CEL. This allows for the re-mapping of attributes, which is not supported by the native attribute building logic.
map<string, string> mapped_request_attributes = 1; -
getMappedRequestAttributesOrDefault
A map of request attributes to set in the attributes struct. The key is the attribute name, the value is the attribute value, interpretable by CEL. This allows for the re-mapping of attributes, which is not supported by the native attribute building logic.
map<string, string> mapped_request_attributes = 1; -
getMappedRequestAttributesOrThrow
A map of request attributes to set in the attributes struct. The key is the attribute name, the value is the attribute value, interpretable by CEL. This allows for the re-mapping of attributes, which is not supported by the native attribute building logic.
map<string, string> mapped_request_attributes = 1; -
getMappedResponseAttributesCount
int getMappedResponseAttributesCount()Similar to ``mapped_request_attributes``, but for response attributes. The response nomenclature here just indicates that the attributes, whatever they may be, are sent with a response headers, body, or trailers ext_proc call. If a value contains a request key, e.g., ``request.host``, then the attribute would just be sent along in the response. This is useful if a given ext_proc extension is only enabled for response handling, e.g., ``RESPONSE_HEADERS`` but the backend wants to access request metadata.
map<string, string> mapped_response_attributes = 2; -
containsMappedResponseAttributes
Similar to ``mapped_request_attributes``, but for response attributes. The response nomenclature here just indicates that the attributes, whatever they may be, are sent with a response headers, body, or trailers ext_proc call. If a value contains a request key, e.g., ``request.host``, then the attribute would just be sent along in the response. This is useful if a given ext_proc extension is only enabled for response handling, e.g., ``RESPONSE_HEADERS`` but the backend wants to access request metadata.
map<string, string> mapped_response_attributes = 2; -
getMappedResponseAttributes
Deprecated.UsegetMappedResponseAttributesMap()instead. -
getMappedResponseAttributesMap
Similar to ``mapped_request_attributes``, but for response attributes. The response nomenclature here just indicates that the attributes, whatever they may be, are sent with a response headers, body, or trailers ext_proc call. If a value contains a request key, e.g., ``request.host``, then the attribute would just be sent along in the response. This is useful if a given ext_proc extension is only enabled for response handling, e.g., ``RESPONSE_HEADERS`` but the backend wants to access request metadata.
map<string, string> mapped_response_attributes = 2; -
getMappedResponseAttributesOrDefault
Similar to ``mapped_request_attributes``, but for response attributes. The response nomenclature here just indicates that the attributes, whatever they may be, are sent with a response headers, body, or trailers ext_proc call. If a value contains a request key, e.g., ``request.host``, then the attribute would just be sent along in the response. This is useful if a given ext_proc extension is only enabled for response handling, e.g., ``RESPONSE_HEADERS`` but the backend wants to access request metadata.
map<string, string> mapped_response_attributes = 2; -
getMappedResponseAttributesOrThrow
Similar to ``mapped_request_attributes``, but for response attributes. The response nomenclature here just indicates that the attributes, whatever they may be, are sent with a response headers, body, or trailers ext_proc call. If a value contains a request key, e.g., ``request.host``, then the attribute would just be sent along in the response. This is useful if a given ext_proc extension is only enabled for response handling, e.g., ``RESPONSE_HEADERS`` but the backend wants to access request metadata.
map<string, string> mapped_response_attributes = 2;
-