Interface Geoip.CustomHeaderConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Geoip.CustomHeaderConfig,Geoip.CustomHeaderConfig.Builder
- Enclosing class:
- Geoip
public static interface Geoip.CustomHeaderConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the request header to extract the client IP address from.com.google.protobuf.ByteStringThe name of the request header to extract the client IP address from.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
-
getHeaderName
String getHeaderName()The name of the request header to extract the client IP address from. The header value must contain a valid IP address (IPv4 or IPv6). If the header is missing or contains an invalid IP address, the filter will fall back to using the immediate downstream connection source address.
string header_name = 1 [(.validate.rules) = { ... }- Returns:
- The headerName.
-
getHeaderNameBytes
com.google.protobuf.ByteString getHeaderNameBytes()The name of the request header to extract the client IP address from. The header value must contain a valid IP address (IPv4 or IPv6). If the header is missing or contains an invalid IP address, the filter will fall back to using the immediate downstream connection source address.
string header_name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for headerName.
-