public static final class HealthCheck.TlsOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder> implements HealthCheck.TlsOptionsOrBuilder
Health checks occur over the transport socket specified for the cluster. This implies that if a cluster is using a TLS-enabled transport socket, the health check will also occur over TLS. This allows overriding the cluster TLS settings, just for health check connections.Protobuf type
envoy.config.core.v4alpha.HealthCheck.TlsOptions| Modifier and Type | Method and Description |
|---|---|
HealthCheck.TlsOptions.Builder |
addAllAlpnProtocols(Iterable<String> values)
Specifies the ALPN protocols for health check connections.
|
HealthCheck.TlsOptions.Builder |
addAlpnProtocols(String value)
Specifies the ALPN protocols for health check connections.
|
HealthCheck.TlsOptions.Builder |
addAlpnProtocolsBytes(com.google.protobuf.ByteString value)
Specifies the ALPN protocols for health check connections.
|
HealthCheck.TlsOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheck.TlsOptions |
build() |
HealthCheck.TlsOptions |
buildPartial() |
HealthCheck.TlsOptions.Builder |
clear() |
HealthCheck.TlsOptions.Builder |
clearAlpnProtocols()
Specifies the ALPN protocols for health check connections.
|
HealthCheck.TlsOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HealthCheck.TlsOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HealthCheck.TlsOptions.Builder |
clone() |
String |
getAlpnProtocols(int index)
Specifies the ALPN protocols for health check connections.
|
com.google.protobuf.ByteString |
getAlpnProtocolsBytes(int index)
Specifies the ALPN protocols for health check connections.
|
int |
getAlpnProtocolsCount()
Specifies the ALPN protocols for health check connections.
|
com.google.protobuf.ProtocolStringList |
getAlpnProtocolsList()
Specifies the ALPN protocols for health check connections.
|
HealthCheck.TlsOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HealthCheck.TlsOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HealthCheck.TlsOptions.Builder |
mergeFrom(HealthCheck.TlsOptions other) |
HealthCheck.TlsOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
HealthCheck.TlsOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HealthCheck.TlsOptions.Builder |
setAlpnProtocols(int index,
String value)
Specifies the ALPN protocols for health check connections.
|
HealthCheck.TlsOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheck.TlsOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HealthCheck.TlsOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HealthCheck.TlsOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HealthCheck.TlsOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HealthCheck.TlsOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder mergeFrom(HealthCheck.TlsOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public HealthCheck.TlsOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.TlsOptions.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getAlpnProtocolsList()
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;getAlpnProtocolsList in interface HealthCheck.TlsOptionsOrBuilderpublic int getAlpnProtocolsCount()
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;getAlpnProtocolsCount in interface HealthCheck.TlsOptionsOrBuilderpublic String getAlpnProtocols(int index)
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;getAlpnProtocols in interface HealthCheck.TlsOptionsOrBuilderpublic com.google.protobuf.ByteString getAlpnProtocolsBytes(int index)
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;getAlpnProtocolsBytes in interface HealthCheck.TlsOptionsOrBuilderpublic HealthCheck.TlsOptions.Builder setAlpnProtocols(int index, String value)
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;public HealthCheck.TlsOptions.Builder addAlpnProtocols(String value)
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;public HealthCheck.TlsOptions.Builder addAllAlpnProtocols(Iterable<String> values)
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;public HealthCheck.TlsOptions.Builder clearAlpnProtocols()
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;public HealthCheck.TlsOptions.Builder addAlpnProtocolsBytes(com.google.protobuf.ByteString value)
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_api_msg_config.listener.v4alpha.FilterChainMatch>` along with different protocols for health checks versus data connections. If empty, no ALPN protocols will be set on health check connections.
repeated string alpn_protocols = 1;public final HealthCheck.TlsOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>public final HealthCheck.TlsOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.