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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyProtocol.KeyValuePairgetOnTlvPresent()If the TLV type is present, apply this metadata KeyValuePair.ProxyProtocol.KeyValuePairOrBuildergetOnTlvPresentOrBuilder()If the TLV type is present, apply this metadata KeyValuePair.intgetTlvType()The type that triggers the rule - required TLV type is defined as uint8_t in proxy protocol.booleanhasOnTlvPresent()If the TLV type is present, apply this metadata KeyValuePair.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-