public static interface Config.RuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader()
The header that triggers this rule — required.
|
com.google.protobuf.ByteString |
getHeaderBytes()
The header that triggers this rule — required.
|
Config.KeyValuePair |
getOnHeaderMissing()
If the header is not present, apply this metadata KeyValuePair.
|
Config.KeyValuePairOrBuilder |
getOnHeaderMissingOrBuilder()
If the header is not present, apply this metadata KeyValuePair.
|
Config.KeyValuePair |
getOnHeaderPresent()
If the header is present, apply this metadata KeyValuePair.
|
Config.KeyValuePairOrBuilder |
getOnHeaderPresentOrBuilder()
If the header is present, apply this metadata KeyValuePair.
|
boolean |
getRemove()
Whether or not to remove the header after a rule is applied.
|
boolean |
hasOnHeaderMissing()
If the header is not present, apply this metadata KeyValuePair.
|
boolean |
hasOnHeaderPresent()
If the header is present, apply this metadata KeyValuePair.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getHeader()
The header that triggers this rule — required.
string header = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getHeaderBytes()
The header that triggers this rule — required.
string header = 1 [(.validate.rules) = { ... }boolean hasOnHeaderPresent()
If the header is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header value.
.envoy.config.filter.http.header_to_metadata.v2.Config.KeyValuePair on_header_present = 2;Config.KeyValuePair getOnHeaderPresent()
If the header is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header value.
.envoy.config.filter.http.header_to_metadata.v2.Config.KeyValuePair on_header_present = 2;Config.KeyValuePairOrBuilder getOnHeaderPresentOrBuilder()
If the header is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header value.
.envoy.config.filter.http.header_to_metadata.v2.Config.KeyValuePair on_header_present = 2;boolean hasOnHeaderMissing()
If the header is not present, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing header value.
.envoy.config.filter.http.header_to_metadata.v2.Config.KeyValuePair on_header_missing = 3;Config.KeyValuePair getOnHeaderMissing()
If the header is not present, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing header value.
.envoy.config.filter.http.header_to_metadata.v2.Config.KeyValuePair on_header_missing = 3;Config.KeyValuePairOrBuilder getOnHeaderMissingOrBuilder()
If the header is not present, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing header value.
.envoy.config.filter.http.header_to_metadata.v2.Config.KeyValuePair on_header_missing = 3;boolean getRemove()
Whether or not to remove the header after a rule is applied. This prevents headers from leaking.
bool remove = 4;Copyright © 2018–2021 The Envoy Project. All rights reserved.