Class HealthCheck.TcpHealthCheck.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
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
,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 type
envoy.config.core.v3.HealthCheck.TcpHealthCheck
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private ProxyProtocolConfig
private com.google.protobuf.SingleFieldBuilder
<ProxyProtocolConfig, ProxyProtocolConfig.Builder, ProxyProtocolConfigOrBuilder> private List
<HealthCheck.Payload> private com.google.protobuf.RepeatedFieldBuilder
<HealthCheck.Payload, HealthCheck.Payload.Builder, HealthCheck.PayloadOrBuilder> private HealthCheck.Payload
private com.google.protobuf.SingleFieldBuilder
<HealthCheck.Payload, HealthCheck.Payload.Builder, HealthCheck.PayloadOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllReceive
(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.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.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.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.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.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.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.build()
private void
private void
clear()
When setting this value, it tries to attempt health check request with ProxyProtocol.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.Empty payloads imply a connect-only health check.private void
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
When setting this value, it tries to attempt health check request with ProxyProtocol.When setting this value, it tries to attempt health check request with ProxyProtocol.When setting this value, it tries to attempt health check request with ProxyProtocol.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.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.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.int
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.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.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.List
<? extends HealthCheck.PayloadOrBuilder> 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.getSend()
Empty payloads imply a connect-only health check.Empty payloads imply a connect-only health check.Empty payloads imply a connect-only health check.boolean
When setting this value, it tries to attempt health check request with ProxyProtocol.boolean
hasSend()
Empty payloads imply a connect-only health check.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<ProxyProtocolConfig, ProxyProtocolConfig.Builder, ProxyProtocolConfigOrBuilder> When setting this value, it tries to attempt health check request with ProxyProtocol.private com.google.protobuf.RepeatedFieldBuilder
<HealthCheck.Payload, HealthCheck.Payload.Builder, HealthCheck.PayloadOrBuilder> private com.google.protobuf.SingleFieldBuilder
<HealthCheck.Payload, HealthCheck.Payload.Builder, HealthCheck.PayloadOrBuilder> Empty payloads imply a connect-only health check.final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) When setting this value, it tries to attempt health check request with ProxyProtocol.mergeSend
(HealthCheck.Payload value) Empty payloads imply a connect-only health check.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.When setting this value, it tries to attempt health check request with ProxyProtocol.setProxyProtocolConfig
(ProxyProtocolConfig.Builder builderForValue) When setting this value, it tries to attempt health check request with ProxyProtocol.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.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.setSend
(HealthCheck.Payload value) Empty payloads imply a connect-only health check.setSend
(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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
send_
-
sendBuilder_
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder, sendBuilder_HealthCheck.PayloadOrBuilder> -
receive_
-
receiveBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder, receiveBuilder_HealthCheck.PayloadOrBuilder> -
proxyProtocolConfig_
-
proxyProtocolConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,ProxyProtocolConfig.Builder, proxyProtocolConfigBuilder_ProxyProtocolConfigOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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 IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
- Throws:
IOException
-
hasSend
public boolean hasSend()Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
- Specified by:
hasSend
in interfaceHealthCheck.TcpHealthCheckOrBuilder
- Returns:
- Whether the send field is set.
-
getSend
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
- Specified by:
getSend
in interfaceHealthCheck.TcpHealthCheckOrBuilder
- Returns:
- The send.
-
setSend
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
setSend
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
mergeSend
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
clearSend
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
getSendBuilder
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
getSendOrBuilder
Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
- Specified by:
getSendOrBuilder
in interfaceHealthCheck.TcpHealthCheckOrBuilder
-
internalGetSendFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder, internalGetSendFieldBuilder()HealthCheck.PayloadOrBuilder> Empty payloads imply a connect-only health check.
.envoy.config.core.v3.HealthCheck.Payload send = 1;
-
ensureReceiveIsMutable
private void ensureReceiveIsMutable() -
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:
getReceiveList
in 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:
getReceiveCount
in interfaceHealthCheck.TcpHealthCheckOrBuilder
-
getReceive
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:
getReceive
in interfaceHealthCheck.TcpHealthCheckOrBuilder
-
setReceive
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
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
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
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(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
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
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
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
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:
getReceiveOrBuilder
in interfaceHealthCheck.TcpHealthCheckOrBuilder
-
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:
getReceiveOrBuilderList
in interfaceHealthCheck.TcpHealthCheckOrBuilder
-
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
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
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;
-
internalGetReceiveFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HealthCheck.Payload,HealthCheck.Payload.Builder, internalGetReceiveFieldBuilder()HealthCheck.PayloadOrBuilder> -
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:
hasProxyProtocolConfig
in interfaceHealthCheck.TcpHealthCheckOrBuilder
- Returns:
- Whether the proxyProtocolConfig field is set.
-
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:
getProxyProtocolConfig
in interfaceHealthCheck.TcpHealthCheckOrBuilder
- Returns:
- The proxyProtocolConfig.
-
setProxyProtocolConfig
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
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
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
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
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:
getProxyProtocolConfigOrBuilder
in interfaceHealthCheck.TcpHealthCheckOrBuilder
-
internalGetProxyProtocolConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,ProxyProtocolConfig.Builder, internalGetProxyProtocolConfigFieldBuilder()ProxyProtocolConfigOrBuilder> 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;
-