Interface ProxyProtocol.RuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProxyProtocol.Rule,ProxyProtocol.Rule.Builder
- Enclosing class:
- ProxyProtocol
public static interface ProxyProtocol.RuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf the TLV type is present, apply this metadata KeyValuePair.If the TLV type is present, apply this metadata KeyValuePair.intThe type that triggers the rule - required TLV type is defined as uint8_t in proxy protocol.booleanIf the TLV type is present, apply this metadata KeyValuePair.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
-
getTlvType
int getTlvType()The type that triggers the rule - required TLV type is defined as uint8_t in proxy protocol. See `the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>`_ for details.
uint32 tlv_type = 1 [(.validate.rules) = { ... }- Returns:
- The tlvType.
-
hasOnTlvPresent
boolean hasOnTlvPresent()If the TLV type is present, apply this metadata KeyValuePair.
.envoy.extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.KeyValuePair on_tlv_present = 2;- Returns:
- Whether the onTlvPresent field is set.
-
getOnTlvPresent
ProxyProtocol.KeyValuePair getOnTlvPresent()If the TLV type is present, apply this metadata KeyValuePair.
.envoy.extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.KeyValuePair on_tlv_present = 2;- Returns:
- The onTlvPresent.
-
getOnTlvPresentOrBuilder
ProxyProtocol.KeyValuePairOrBuilder getOnTlvPresentOrBuilder()If the TLV type is present, apply this metadata KeyValuePair.
.envoy.extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.KeyValuePair on_tlv_present = 2;
-