Interface TargetTcpProxiesSetProxyHeaderRequestOrBuilder (1.31.0)

public interface TargetTcpProxiesSetProxyHeaderRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProxyHeader()

public abstract String getProxyHeader()

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. Check the ProxyHeader enum for the list of possible values.

optional string proxy_header = 160374142;

Returns
TypeDescription
String

The proxyHeader.

getProxyHeaderBytes()

public abstract ByteString getProxyHeaderBytes()

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. Check the ProxyHeader enum for the list of possible values.

optional string proxy_header = 160374142;

Returns
TypeDescription
ByteString

The bytes for proxyHeader.

hasProxyHeader()

public abstract boolean hasProxyHeader()

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. Check the ProxyHeader enum for the list of possible values.

optional string proxy_header = 160374142;

Returns
TypeDescription
boolean

Whether the proxyHeader field is set.