Class HealthCheck.TcpHealthCheck.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
- io.envoyproxy.envoy.config.core.v3.HealthCheck.TcpHealthCheck.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HealthCheck.TcpHealthCheckOrBuilder,java.lang.Cloneable
- Enclosing class:
- HealthCheck.TcpHealthCheck
public static final class HealthCheck.TcpHealthCheck.Builder extends com.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder> implements HealthCheck.TcpHealthCheckOrBuilder
Protobuf typeenvoy.config.core.v3.HealthCheck.TcpHealthCheck
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private ProxyProtocolConfigproxyProtocolConfig_private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,ProxyProtocolConfig.Builder,ProxyProtocolConfigOrBuilder>proxyProtocolConfigBuilder_private java.util.List<HealthCheck.Payload>receive_private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder>receiveBuilder_private HealthCheck.Payloadsend_private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder>sendBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheck.TcpHealthCheck.BuilderaddAllReceive(java.lang.Iterable<? extends HealthCheck.Payload> values)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheck.BuilderaddReceive(int index, HealthCheck.Payload value)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheck.BuilderaddReceive(int index, HealthCheck.Payload.Builder builderForValue)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheck.BuilderaddReceive(HealthCheck.Payload value)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheck.BuilderaddReceive(HealthCheck.Payload.Builder builderForValue)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.Payload.BuilderaddReceiveBuilder()When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.Payload.BuilderaddReceiveBuilder(int index)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheckbuild()HealthCheck.TcpHealthCheckbuildPartial()private voidbuildPartial0(HealthCheck.TcpHealthCheck result)private voidbuildPartialRepeatedFields(HealthCheck.TcpHealthCheck result)HealthCheck.TcpHealthCheck.Builderclear()HealthCheck.TcpHealthCheck.BuilderclearProxyProtocolConfig()When setting this value, it tries to attempt health check request with ProxyProtocol.HealthCheck.TcpHealthCheck.BuilderclearReceive()When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheck.BuilderclearSend()Empty payloads imply a connect-only health check.private voidensureReceiveIsMutable()HealthCheck.TcpHealthCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ProxyProtocolConfiggetProxyProtocolConfig()When setting this value, it tries to attempt health check request with ProxyProtocol.ProxyProtocolConfig.BuildergetProxyProtocolConfigBuilder()When setting this value, it tries to attempt health check request with ProxyProtocol.private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,ProxyProtocolConfig.Builder,ProxyProtocolConfigOrBuilder>getProxyProtocolConfigFieldBuilder()When setting this value, it tries to attempt health check request with ProxyProtocol.ProxyProtocolConfigOrBuildergetProxyProtocolConfigOrBuilder()When setting this value, it tries to attempt health check request with ProxyProtocol.HealthCheck.PayloadgetReceive(int index)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.Payload.BuildergetReceiveBuilder(int index)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.java.util.List<HealthCheck.Payload.Builder>getReceiveBuilderList()When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.intgetReceiveCount()When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder>getReceiveFieldBuilder()java.util.List<HealthCheck.Payload>getReceiveList()When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.PayloadOrBuildergetReceiveOrBuilder(int index)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.java.util.List<? extends HealthCheck.PayloadOrBuilder>getReceiveOrBuilderList()When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.PayloadgetSend()Empty payloads imply a connect-only health check.HealthCheck.Payload.BuildergetSendBuilder()Empty payloads imply a connect-only health check.private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder>getSendFieldBuilder()Empty payloads imply a connect-only health check.HealthCheck.PayloadOrBuildergetSendOrBuilder()Empty payloads imply a connect-only health check.booleanhasProxyProtocolConfig()When setting this value, it tries to attempt health check request with ProxyProtocol.booleanhasSend()Empty payloads imply a connect-only health check.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()HealthCheck.TcpHealthCheck.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HealthCheck.TcpHealthCheck.BuildermergeFrom(com.google.protobuf.Message other)HealthCheck.TcpHealthCheck.BuildermergeFrom(HealthCheck.TcpHealthCheck other)HealthCheck.TcpHealthCheck.BuildermergeProxyProtocolConfig(ProxyProtocolConfig value)When setting this value, it tries to attempt health check request with ProxyProtocol.HealthCheck.TcpHealthCheck.BuildermergeSend(HealthCheck.Payload value)Empty payloads imply a connect-only health check.HealthCheck.TcpHealthCheck.BuilderremoveReceive(int index)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheck.BuildersetProxyProtocolConfig(ProxyProtocolConfig value)When setting this value, it tries to attempt health check request with ProxyProtocol.HealthCheck.TcpHealthCheck.BuildersetProxyProtocolConfig(ProxyProtocolConfig.Builder builderForValue)When setting this value, it tries to attempt health check request with ProxyProtocol.HealthCheck.TcpHealthCheck.BuildersetReceive(int index, HealthCheck.Payload value)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheck.BuildersetReceive(int index, HealthCheck.Payload.Builder builderForValue)When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.HealthCheck.TcpHealthCheck.BuildersetSend(HealthCheck.Payload value)Empty payloads imply a connect-only health check.HealthCheck.TcpHealthCheck.BuildersetSend(HealthCheck.Payload.Builder builderForValue)Empty payloads imply a connect-only health check.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
send_
private HealthCheck.Payload send_
-
sendBuilder_
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder> sendBuilder_
-
receive_
private java.util.List<HealthCheck.Payload> receive_
-
receiveBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder> receiveBuilder_
-
proxyProtocolConfig_
private ProxyProtocolConfig proxyProtocolConfig_
-
proxyProtocolConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,ProxyProtocolConfig.Builder,ProxyProtocolConfigOrBuilder> proxyProtocolConfigBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public HealthCheck.TcpHealthCheck.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
getDefaultInstanceForType
public HealthCheck.TcpHealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HealthCheck.TcpHealthCheck build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HealthCheck.TcpHealthCheck buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(HealthCheck.TcpHealthCheck result)
-
buildPartial0
private void buildPartial0(HealthCheck.TcpHealthCheck result)
-
mergeFrom
public HealthCheck.TcpHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
mergeFrom
public HealthCheck.TcpHealthCheck.Builder mergeFrom(HealthCheck.TcpHealthCheck other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
mergeFrom
public HealthCheck.TcpHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.TcpHealthCheck.Builder>- Throws:
java.io.IOException
-
hasSend
public boolean hasSend()
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;- Specified by:
hasSendin interfaceHealthCheck.TcpHealthCheckOrBuilder- Returns:
- Whether the send field is set.
-
getSend
public HealthCheck.Payload getSend()
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;- Specified by:
getSendin interfaceHealthCheck.TcpHealthCheckOrBuilder- Returns:
- The send.
-
setSend
public HealthCheck.TcpHealthCheck.Builder setSend(HealthCheck.Payload value)
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
setSend
public HealthCheck.TcpHealthCheck.Builder setSend(HealthCheck.Payload.Builder builderForValue)
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
mergeSend
public HealthCheck.TcpHealthCheck.Builder mergeSend(HealthCheck.Payload value)
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
clearSend
public HealthCheck.TcpHealthCheck.Builder clearSend()
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
getSendBuilder
public HealthCheck.Payload.Builder getSendBuilder()
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
getSendOrBuilder
public HealthCheck.PayloadOrBuilder getSendOrBuilder()
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;- Specified by:
getSendOrBuilderin interfaceHealthCheck.TcpHealthCheckOrBuilder
-
getSendFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder> getSendFieldBuilder()
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
ensureReceiveIsMutable
private void ensureReceiveIsMutable()
-
getReceiveList
public java.util.List<HealthCheck.Payload> getReceiveList()
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;- Specified by:
getReceiveListin interfaceHealthCheck.TcpHealthCheckOrBuilder
-
getReceiveCount
public int getReceiveCount()
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;- Specified by:
getReceiveCountin interfaceHealthCheck.TcpHealthCheckOrBuilder
-
getReceive
public HealthCheck.Payload getReceive(int index)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;- Specified by:
getReceivein interfaceHealthCheck.TcpHealthCheckOrBuilder
-
setReceive
public HealthCheck.TcpHealthCheck.Builder setReceive(int index, HealthCheck.Payload value)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
setReceive
public HealthCheck.TcpHealthCheck.Builder setReceive(int index, HealthCheck.Payload.Builder builderForValue)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
addReceive
public HealthCheck.TcpHealthCheck.Builder addReceive(HealthCheck.Payload value)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
addReceive
public HealthCheck.TcpHealthCheck.Builder addReceive(int index, HealthCheck.Payload value)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
addReceive
public HealthCheck.TcpHealthCheck.Builder addReceive(HealthCheck.Payload.Builder builderForValue)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
addReceive
public HealthCheck.TcpHealthCheck.Builder addReceive(int index, HealthCheck.Payload.Builder builderForValue)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
addAllReceive
public HealthCheck.TcpHealthCheck.Builder addAllReceive(java.lang.Iterable<? extends HealthCheck.Payload> values)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
clearReceive
public HealthCheck.TcpHealthCheck.Builder clearReceive()
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
removeReceive
public HealthCheck.TcpHealthCheck.Builder removeReceive(int index)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
getReceiveBuilder
public HealthCheck.Payload.Builder getReceiveBuilder(int index)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
getReceiveOrBuilder
public HealthCheck.PayloadOrBuilder getReceiveOrBuilder(int index)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;- Specified by:
getReceiveOrBuilderin interfaceHealthCheck.TcpHealthCheckOrBuilder
-
getReceiveOrBuilderList
public java.util.List<? extends HealthCheck.PayloadOrBuilder> getReceiveOrBuilderList()
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;- Specified by:
getReceiveOrBuilderListin interfaceHealthCheck.TcpHealthCheckOrBuilder
-
addReceiveBuilder
public HealthCheck.Payload.Builder addReceiveBuilder()
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
addReceiveBuilder
public HealthCheck.Payload.Builder addReceiveBuilder(int index)
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
getReceiveBuilderList
public java.util.List<HealthCheck.Payload.Builder> getReceiveBuilderList()
When checking the response, “fuzzy” matching is performed such that each payload block must be found, and in the order specified, but not necessarily contiguous.
repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
-
getReceiveFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder,HealthCheck.PayloadOrBuilder> getReceiveFieldBuilder()
-
hasProxyProtocolConfig
public boolean hasProxyProtocolConfig()
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;- Specified by:
hasProxyProtocolConfigin interfaceHealthCheck.TcpHealthCheckOrBuilder- Returns:
- Whether the proxyProtocolConfig field is set.
-
getProxyProtocolConfig
public ProxyProtocolConfig getProxyProtocolConfig()
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;- Specified by:
getProxyProtocolConfigin interfaceHealthCheck.TcpHealthCheckOrBuilder- Returns:
- The proxyProtocolConfig.
-
setProxyProtocolConfig
public HealthCheck.TcpHealthCheck.Builder setProxyProtocolConfig(ProxyProtocolConfig value)
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
-
setProxyProtocolConfig
public HealthCheck.TcpHealthCheck.Builder setProxyProtocolConfig(ProxyProtocolConfig.Builder builderForValue)
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
-
mergeProxyProtocolConfig
public HealthCheck.TcpHealthCheck.Builder mergeProxyProtocolConfig(ProxyProtocolConfig value)
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
-
clearProxyProtocolConfig
public HealthCheck.TcpHealthCheck.Builder clearProxyProtocolConfig()
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
-
getProxyProtocolConfigBuilder
public ProxyProtocolConfig.Builder getProxyProtocolConfigBuilder()
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
-
getProxyProtocolConfigOrBuilder
public ProxyProtocolConfigOrBuilder getProxyProtocolConfigOrBuilder()
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;- Specified by:
getProxyProtocolConfigOrBuilderin interfaceHealthCheck.TcpHealthCheckOrBuilder
-
getProxyProtocolConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,ProxyProtocolConfig.Builder,ProxyProtocolConfigOrBuilder> getProxyProtocolConfigFieldBuilder()
When setting this value, it tries to attempt health check request with ProxyProtocol. When ``send`` is presented, they are sent after preceding ProxyProtocol header. Only ProxyProtocol header is sent when ``send`` is not presented. It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes LOCAL command and doesn't include L3/L4.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
-
-