Interface ProxyProtocolConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProxyProtocolConfig
,ProxyProtocolConfig.Builder
public interface ProxyProtocolConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyProtocolPassThroughTLVs
getPassThroughTlvs()
This config controls which TLVs can be passed to upstream if it is Proxy Protocol V2 header.ProxyProtocolPassThroughTLVsOrBuilder
getPassThroughTlvsOrBuilder()
This config controls which TLVs can be passed to upstream if it is Proxy Protocol V2 header.ProxyProtocolConfig.Version
getVersion()
The PROXY protocol version to use.int
getVersionValue()
The PROXY protocol version to use.boolean
hasPassThroughTlvs()
This config controls which TLVs can be passed to upstream if it is Proxy Protocol V2 header.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVersionValue
int getVersionValue()
The PROXY protocol version to use. See https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt for details
.envoy.config.core.v3.ProxyProtocolConfig.Version version = 1;
- Returns:
- The enum numeric value on the wire for version.
-
getVersion
ProxyProtocolConfig.Version getVersion()
The PROXY protocol version to use. See https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt for details
.envoy.config.core.v3.ProxyProtocolConfig.Version version = 1;
- Returns:
- The version.
-
hasPassThroughTlvs
boolean hasPassThroughTlvs()
This config controls which TLVs can be passed to upstream if it is Proxy Protocol V2 header. If there is no setting for this field, no TLVs will be passed through.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs pass_through_tlvs = 2;
- Returns:
- Whether the passThroughTlvs field is set.
-
getPassThroughTlvs
ProxyProtocolPassThroughTLVs getPassThroughTlvs()
This config controls which TLVs can be passed to upstream if it is Proxy Protocol V2 header. If there is no setting for this field, no TLVs will be passed through.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs pass_through_tlvs = 2;
- Returns:
- The passThroughTlvs.
-
getPassThroughTlvsOrBuilder
ProxyProtocolPassThroughTLVsOrBuilder getPassThroughTlvsOrBuilder()
This config controls which TLVs can be passed to upstream if it is Proxy Protocol V2 header. If there is no setting for this field, no TLVs will be passed through.
.envoy.config.core.v3.ProxyProtocolPassThroughTLVs pass_through_tlvs = 2;
-
-