public static interface Config.RuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getCookie()
The cookie to be extracted.
|
com.google.protobuf.ByteString |
getCookieBytes()
The cookie to be extracted.
|
String |
getHeader()
Specifies that a match will be performed on the value of a header or a cookie.
|
com.google.protobuf.ByteString |
getHeaderBytes()
Specifies that a match will be performed on the value of a header or a cookie.
|
Config.KeyValuePair |
getOnHeaderMissing()
If the header or cookie is not present, apply this metadata KeyValuePair.
|
Config.KeyValuePairOrBuilder |
getOnHeaderMissingOrBuilder()
If the header or cookie is not present, apply this metadata KeyValuePair.
|
Config.KeyValuePair |
getOnHeaderPresent()
If the header or cookie is present, apply this metadata KeyValuePair.
|
Config.KeyValuePairOrBuilder |
getOnHeaderPresentOrBuilder()
If the header or cookie 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 or cookie is not present, apply this metadata KeyValuePair.
|
boolean |
hasOnHeaderPresent()
If the header or cookie is present, apply this metadata KeyValuePair.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getHeader()
Specifies that a match will be performed on the value of a header or a cookie. The header to be extracted.
string header = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getHeaderBytes()
Specifies that a match will be performed on the value of a header or a cookie. The header to be extracted.
string header = 1 [(.validate.rules) = { ... }String getCookie()
The cookie to be extracted.
string cookie = 5 [(.validate.rules) = { ... }com.google.protobuf.ByteString getCookieBytes()
The cookie to be extracted.
string cookie = 5 [(.validate.rules) = { ... }boolean hasOnHeaderPresent()
If the header or cookie is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v3.Config.KeyValuePair on_header_present = 2 [(.udpa.annotations.field_migrate) = { ... }Config.KeyValuePair getOnHeaderPresent()
If the header or cookie is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v3.Config.KeyValuePair on_header_present = 2 [(.udpa.annotations.field_migrate) = { ... }Config.KeyValuePairOrBuilder getOnHeaderPresentOrBuilder()
If the header or cookie is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v3.Config.KeyValuePair on_header_present = 2 [(.udpa.annotations.field_migrate) = { ... }boolean hasOnHeaderMissing()
If the header or cookie 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 or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v3.Config.KeyValuePair on_header_missing = 3 [(.udpa.annotations.field_migrate) = { ... }Config.KeyValuePair getOnHeaderMissing()
If the header or cookie 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 or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v3.Config.KeyValuePair on_header_missing = 3 [(.udpa.annotations.field_migrate) = { ... }Config.KeyValuePairOrBuilder getOnHeaderMissingOrBuilder()
If the header or cookie 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 or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v3.Config.KeyValuePair on_header_missing = 3 [(.udpa.annotations.field_migrate) = { ... }boolean getRemove()
Whether or not to remove the header after a rule is applied. This prevents headers from leaking. This field is not supported in case of a cookie.
bool remove = 4;Copyright © 2018–2021 The Envoy Project. All rights reserved.