Interface ProxyProtocolPassThroughTLVsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProxyProtocolPassThroughTLVs
,ProxyProtocolPassThroughTLVs.Builder
public interface ProxyProtocolPassThroughTLVsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe strategy to pass through TLVs.int
The strategy to pass through TLVs.int
getTlvType
(int index) The TLV types that are applied based on match_type.int
The TLV types that are applied based on match_type.The TLV types that are applied based on match_type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMatchTypeValue
int getMatchTypeValue()The strategy to pass through TLVs. Default is INCLUDE_ALL. If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType match_type = 1;
- Returns:
- The enum numeric value on the wire for matchType.
-
getMatchType
ProxyProtocolPassThroughTLVs.PassTLVsMatchType getMatchType()The strategy to pass through TLVs. Default is INCLUDE_ALL. If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType match_type = 1;
- Returns:
- The matchType.
-
getTlvTypeList
The TLV types that are applied based on match_type. 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.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }
- Returns:
- A list containing the tlvType.
-
getTlvTypeCount
int getTlvTypeCount()The TLV types that are applied based on match_type. 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.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }
- Returns:
- The count of tlvType.
-
getTlvType
int getTlvType(int index) The TLV types that are applied based on match_type. 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.
repeated uint32 tlv_type = 2 [(.validate.rules) = { ... }
- Parameters:
index
- The index of the element to return.- Returns:
- The tlvType at the given index.
-