Interface IPTagging.IpTagHeaderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IPTagging.IpTagHeader,IPTagging.IpTagHeader.Builder
- Enclosing class:
- IPTagging
public static interface IPTagging.IpTagHeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionControl if the :ref:`header <envoy_v3_api_field_extensions.filters.http.ip_tagging.v3.IPTagging.IpTagHeader.header>` will be sanitized, or be appended to.intControl if the :ref:`header <envoy_v3_api_field_extensions.filters.http.ip_tagging.v3.IPTagging.IpTagHeader.header>` will be sanitized, or be appended to.Header to use for ip-tagging.com.google.protobuf.ByteStringHeader to use for ip-tagging.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
-
getHeader
String getHeader()Header to use for ip-tagging. This header will be sanitized based on the config in :ref:`action <envoy_v3_api_field_extensions.filters.http.ip_tagging.v3.IPTagging.IpTagHeader.action>` rather than the defaults for x-envoy prefixed headers.
string header = 1 [(.validate.rules) = { ... }- Returns:
- The header.
-
getHeaderBytes
com.google.protobuf.ByteString getHeaderBytes()Header to use for ip-tagging. This header will be sanitized based on the config in :ref:`action <envoy_v3_api_field_extensions.filters.http.ip_tagging.v3.IPTagging.IpTagHeader.action>` rather than the defaults for x-envoy prefixed headers.
string header = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for header.
-
getActionValue
int getActionValue()Control if the :ref:`header <envoy_v3_api_field_extensions.filters.http.ip_tagging.v3.IPTagging.IpTagHeader.header>` will be sanitized, or be appended to. Default: *SANITIZE*.
.envoy.extensions.filters.http.ip_tagging.v3.IPTagging.IpTagHeader.HeaderAction action = 2;- Returns:
- The enum numeric value on the wire for action.
-
getAction
IPTagging.IpTagHeader.HeaderAction getAction()Control if the :ref:`header <envoy_v3_api_field_extensions.filters.http.ip_tagging.v3.IPTagging.IpTagHeader.header>` will be sanitized, or be appended to. Default: *SANITIZE*.
.envoy.extensions.filters.http.ip_tagging.v3.IPTagging.IpTagHeader.HeaderAction action = 2;- Returns:
- The action.
-