Class HealthCheck.TlsOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
- io.envoyproxy.envoy.config.core.v3.HealthCheck.TlsOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HealthCheck.TlsOptionsOrBuilder,Cloneable
- Enclosing class:
- HealthCheck.TlsOptions
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 typeenvoy.config.core.v3.HealthCheck.TlsOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheck.TlsOptions.BuilderaddAllAlpnProtocols(Iterable<String> values)Specifies the ALPN protocols for health check connections.HealthCheck.TlsOptions.BuilderaddAlpnProtocols(String value)Specifies the ALPN protocols for health check connections.HealthCheck.TlsOptions.BuilderaddAlpnProtocolsBytes(com.google.protobuf.ByteString value)Specifies the ALPN protocols for health check connections.HealthCheck.TlsOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HealthCheck.TlsOptionsbuild()HealthCheck.TlsOptionsbuildPartial()HealthCheck.TlsOptions.Builderclear()HealthCheck.TlsOptions.BuilderclearAlpnProtocols()Specifies the ALPN protocols for health check connections.HealthCheck.TlsOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HealthCheck.TlsOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HealthCheck.TlsOptions.Builderclone()StringgetAlpnProtocols(int index)Specifies the ALPN protocols for health check connections.com.google.protobuf.ByteStringgetAlpnProtocolsBytes(int index)Specifies the ALPN protocols for health check connections.intgetAlpnProtocolsCount()Specifies the ALPN protocols for health check connections.com.google.protobuf.ProtocolStringListgetAlpnProtocolsList()Specifies the ALPN protocols for health check connections.HealthCheck.TlsOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HealthCheck.TlsOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HealthCheck.TlsOptions.BuildermergeFrom(com.google.protobuf.Message other)HealthCheck.TlsOptions.BuildermergeFrom(HealthCheck.TlsOptions other)HealthCheck.TlsOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HealthCheck.TlsOptions.BuildersetAlpnProtocols(int index, String value)Specifies the ALPN protocols for health check connections.HealthCheck.TlsOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HealthCheck.TlsOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HealthCheck.TlsOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
clear
public HealthCheck.TlsOptions.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.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.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
getDefaultInstanceForType
public HealthCheck.TlsOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HealthCheck.TlsOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HealthCheck.TlsOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HealthCheck.TlsOptions.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
setField
public HealthCheck.TlsOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
clearField
public HealthCheck.TlsOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
clearOneof
public HealthCheck.TlsOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
setRepeatedField
public HealthCheck.TlsOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
addRepeatedField
public HealthCheck.TlsOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
mergeFrom
public HealthCheck.TlsOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.TlsOptions.Builder>
-
mergeFrom
public HealthCheck.TlsOptions.Builder mergeFrom(HealthCheck.TlsOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
mergeFrom
public HealthCheck.TlsOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.TlsOptions.Builder>- Throws:
IOException
-
getAlpnProtocolsList
public 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_v3_api_msg_config.listener.v3.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;- Specified by:
getAlpnProtocolsListin interfaceHealthCheck.TlsOptionsOrBuilder- Returns:
- A list containing the alpnProtocols.
-
getAlpnProtocolsCount
public int getAlpnProtocolsCount()
Specifies the ALPN protocols for health check connections. This is useful if the corresponding upstream is using ALPN-based :ref:`FilterChainMatch <envoy_v3_api_msg_config.listener.v3.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;- Specified by:
getAlpnProtocolsCountin interfaceHealthCheck.TlsOptionsOrBuilder- Returns:
- The count of alpnProtocols.
-
getAlpnProtocols
public 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_v3_api_msg_config.listener.v3.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;- Specified by:
getAlpnProtocolsin interfaceHealthCheck.TlsOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The alpnProtocols at the given index.
-
getAlpnProtocolsBytes
public 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_v3_api_msg_config.listener.v3.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;- Specified by:
getAlpnProtocolsBytesin interfaceHealthCheck.TlsOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the alpnProtocols at the given index.
-
setAlpnProtocols
public 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_v3_api_msg_config.listener.v3.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;- Parameters:
index- The index to set the value at.value- The alpnProtocols to set.- Returns:
- This builder for chaining.
-
addAlpnProtocols
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_v3_api_msg_config.listener.v3.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;- Parameters:
value- The alpnProtocols to add.- Returns:
- This builder for chaining.
-
addAllAlpnProtocols
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_v3_api_msg_config.listener.v3.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;- Parameters:
values- The alpnProtocols to add.- Returns:
- This builder for chaining.
-
clearAlpnProtocols
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_v3_api_msg_config.listener.v3.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;- Returns:
- This builder for chaining.
-
addAlpnProtocolsBytes
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_v3_api_msg_config.listener.v3.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;- Parameters:
value- The bytes of the alpnProtocols to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final HealthCheck.TlsOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
mergeUnknownFields
public final HealthCheck.TlsOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TlsOptions.Builder>
-
-