Package io.envoyproxy.envoy.api.v2.auth
Class CommonTlsContext.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
-
- io.envoyproxy.envoy.api.v2.auth.CommonTlsContext.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommonTlsContextOrBuilder,Cloneable
- Enclosing class:
- CommonTlsContext
public static final class CommonTlsContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder> implements CommonTlsContextOrBuilder
TLS context shared by both client and server TLS contexts. [#next-free-field: 9]
Protobuf typeenvoy.api.v2.auth.CommonTlsContext
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonTlsContext.BuilderaddAllAlpnProtocols(Iterable<String> values)Supplies the list of ALPN protocols that the listener should expose.CommonTlsContext.BuilderaddAllTlsCertificates(Iterable<? extends TlsCertificate> values):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuilderaddAllTlsCertificateSdsSecretConfigs(Iterable<? extends SdsSecretConfig> values)Configs for fetching TLS certificates via SDS API.CommonTlsContext.BuilderaddAlpnProtocols(String value)Supplies the list of ALPN protocols that the listener should expose.CommonTlsContext.BuilderaddAlpnProtocolsBytes(com.google.protobuf.ByteString value)Supplies the list of ALPN protocols that the listener should expose.CommonTlsContext.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CommonTlsContext.BuilderaddTlsCertificates(int index, TlsCertificate value):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuilderaddTlsCertificates(int index, TlsCertificate.Builder builderForValue):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuilderaddTlsCertificates(TlsCertificate value):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuilderaddTlsCertificates(TlsCertificate.Builder builderForValue):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.TlsCertificate.BuilderaddTlsCertificatesBuilder():ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.TlsCertificate.BuilderaddTlsCertificatesBuilder(int index):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuilderaddTlsCertificateSdsSecretConfigs(int index, SdsSecretConfig value)Configs for fetching TLS certificates via SDS API.CommonTlsContext.BuilderaddTlsCertificateSdsSecretConfigs(int index, SdsSecretConfig.Builder builderForValue)Configs for fetching TLS certificates via SDS API.CommonTlsContext.BuilderaddTlsCertificateSdsSecretConfigs(SdsSecretConfig value)Configs for fetching TLS certificates via SDS API.CommonTlsContext.BuilderaddTlsCertificateSdsSecretConfigs(SdsSecretConfig.Builder builderForValue)Configs for fetching TLS certificates via SDS API.SdsSecretConfig.BuilderaddTlsCertificateSdsSecretConfigsBuilder()Configs for fetching TLS certificates via SDS API.SdsSecretConfig.BuilderaddTlsCertificateSdsSecretConfigsBuilder(int index)Configs for fetching TLS certificates via SDS API.CommonTlsContextbuild()CommonTlsContextbuildPartial()CommonTlsContext.Builderclear()CommonTlsContext.BuilderclearAlpnProtocols()Supplies the list of ALPN protocols that the listener should expose.CommonTlsContext.BuilderclearCombinedValidationContext()Combined certificate validation context holds a default CertificateValidationContext and SDS config.CommonTlsContext.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CommonTlsContext.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CommonTlsContext.BuilderclearTlsCertificates():ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuilderclearTlsCertificateSdsSecretConfigs()Configs for fetching TLS certificates via SDS API.CommonTlsContext.BuilderclearTlsParams()TLS protocol versions, cipher suites etc.CommonTlsContext.BuilderclearValidationContext()How to validate peer certificates.CommonTlsContext.BuilderclearValidationContextSdsSecretConfig()Config for fetching validation context via SDS API.CommonTlsContext.BuilderclearValidationContextType()CommonTlsContext.Builderclone()StringgetAlpnProtocols(int index)Supplies the list of ALPN protocols that the listener should expose.com.google.protobuf.ByteStringgetAlpnProtocolsBytes(int index)Supplies the list of ALPN protocols that the listener should expose.intgetAlpnProtocolsCount()Supplies the list of ALPN protocols that the listener should expose.com.google.protobuf.ProtocolStringListgetAlpnProtocolsList()Supplies the list of ALPN protocols that the listener should expose.CommonTlsContext.CombinedCertificateValidationContextgetCombinedValidationContext()Combined certificate validation context holds a default CertificateValidationContext and SDS config.CommonTlsContext.CombinedCertificateValidationContext.BuildergetCombinedValidationContextBuilder()Combined certificate validation context holds a default CertificateValidationContext and SDS config.CommonTlsContext.CombinedCertificateValidationContextOrBuildergetCombinedValidationContextOrBuilder()Combined certificate validation context holds a default CertificateValidationContext and SDS config.CommonTlsContextgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()TlsCertificategetTlsCertificates(int index):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.TlsCertificate.BuildergetTlsCertificatesBuilder(int index):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.List<TlsCertificate.Builder>getTlsCertificatesBuilderList():ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.intgetTlsCertificatesCount():ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.SdsSecretConfiggetTlsCertificateSdsSecretConfigs(int index)Configs for fetching TLS certificates via SDS API.SdsSecretConfig.BuildergetTlsCertificateSdsSecretConfigsBuilder(int index)Configs for fetching TLS certificates via SDS API.List<SdsSecretConfig.Builder>getTlsCertificateSdsSecretConfigsBuilderList()Configs for fetching TLS certificates via SDS API.intgetTlsCertificateSdsSecretConfigsCount()Configs for fetching TLS certificates via SDS API.List<SdsSecretConfig>getTlsCertificateSdsSecretConfigsList()Configs for fetching TLS certificates via SDS API.SdsSecretConfigOrBuildergetTlsCertificateSdsSecretConfigsOrBuilder(int index)Configs for fetching TLS certificates via SDS API.List<? extends SdsSecretConfigOrBuilder>getTlsCertificateSdsSecretConfigsOrBuilderList()Configs for fetching TLS certificates via SDS API.List<TlsCertificate>getTlsCertificatesList():ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.TlsCertificateOrBuildergetTlsCertificatesOrBuilder(int index):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.List<? extends TlsCertificateOrBuilder>getTlsCertificatesOrBuilderList():ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.TlsParametersgetTlsParams()TLS protocol versions, cipher suites etc.TlsParameters.BuildergetTlsParamsBuilder()TLS protocol versions, cipher suites etc.TlsParametersOrBuildergetTlsParamsOrBuilder()TLS protocol versions, cipher suites etc.CertificateValidationContextgetValidationContext()How to validate peer certificates.CertificateValidationContext.BuildergetValidationContextBuilder()How to validate peer certificates.CertificateValidationContextOrBuildergetValidationContextOrBuilder()How to validate peer certificates.SdsSecretConfiggetValidationContextSdsSecretConfig()Config for fetching validation context via SDS API.SdsSecretConfig.BuildergetValidationContextSdsSecretConfigBuilder()Config for fetching validation context via SDS API.SdsSecretConfigOrBuildergetValidationContextSdsSecretConfigOrBuilder()Config for fetching validation context via SDS API.CommonTlsContext.ValidationContextTypeCasegetValidationContextTypeCase()booleanhasCombinedValidationContext()Combined certificate validation context holds a default CertificateValidationContext and SDS config.booleanhasTlsParams()TLS protocol versions, cipher suites etc.booleanhasValidationContext()How to validate peer certificates.booleanhasValidationContextSdsSecretConfig()Config for fetching validation context via SDS API.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CommonTlsContext.BuildermergeCombinedValidationContext(CommonTlsContext.CombinedCertificateValidationContext value)Combined certificate validation context holds a default CertificateValidationContext and SDS config.CommonTlsContext.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommonTlsContext.BuildermergeFrom(com.google.protobuf.Message other)CommonTlsContext.BuildermergeFrom(CommonTlsContext other)CommonTlsContext.BuildermergeTlsParams(TlsParameters value)TLS protocol versions, cipher suites etc.CommonTlsContext.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommonTlsContext.BuildermergeValidationContext(CertificateValidationContext value)How to validate peer certificates.CommonTlsContext.BuildermergeValidationContextSdsSecretConfig(SdsSecretConfig value)Config for fetching validation context via SDS API.CommonTlsContext.BuilderremoveTlsCertificates(int index):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuilderremoveTlsCertificateSdsSecretConfigs(int index)Configs for fetching TLS certificates via SDS API.CommonTlsContext.BuildersetAlpnProtocols(int index, String value)Supplies the list of ALPN protocols that the listener should expose.CommonTlsContext.BuildersetCombinedValidationContext(CommonTlsContext.CombinedCertificateValidationContext value)Combined certificate validation context holds a default CertificateValidationContext and SDS config.CommonTlsContext.BuildersetCombinedValidationContext(CommonTlsContext.CombinedCertificateValidationContext.Builder builderForValue)Combined certificate validation context holds a default CertificateValidationContext and SDS config.CommonTlsContext.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CommonTlsContext.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CommonTlsContext.BuildersetTlsCertificates(int index, TlsCertificate value):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuildersetTlsCertificates(int index, TlsCertificate.Builder builderForValue):ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates.CommonTlsContext.BuildersetTlsCertificateSdsSecretConfigs(int index, SdsSecretConfig value)Configs for fetching TLS certificates via SDS API.CommonTlsContext.BuildersetTlsCertificateSdsSecretConfigs(int index, SdsSecretConfig.Builder builderForValue)Configs for fetching TLS certificates via SDS API.CommonTlsContext.BuildersetTlsParams(TlsParameters value)TLS protocol versions, cipher suites etc.CommonTlsContext.BuildersetTlsParams(TlsParameters.Builder builderForValue)TLS protocol versions, cipher suites etc.CommonTlsContext.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommonTlsContext.BuildersetValidationContext(CertificateValidationContext value)How to validate peer certificates.CommonTlsContext.BuildersetValidationContext(CertificateValidationContext.Builder builderForValue)How to validate peer certificates.CommonTlsContext.BuildersetValidationContextSdsSecretConfig(SdsSecretConfig value)Config for fetching validation context via SDS API.CommonTlsContext.BuildersetValidationContextSdsSecretConfig(SdsSecretConfig.Builder builderForValue)Config for fetching validation context via SDS API.-
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<CommonTlsContext.Builder>
-
clear
public CommonTlsContext.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<CommonTlsContext.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<CommonTlsContext.Builder>
-
getDefaultInstanceForType
public CommonTlsContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommonTlsContext build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommonTlsContext buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommonTlsContext.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<CommonTlsContext.Builder>
-
setField
public CommonTlsContext.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<CommonTlsContext.Builder>
-
clearField
public CommonTlsContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
-
clearOneof
public CommonTlsContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
-
setRepeatedField
public CommonTlsContext.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<CommonTlsContext.Builder>
-
addRepeatedField
public CommonTlsContext.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<CommonTlsContext.Builder>
-
mergeFrom
public CommonTlsContext.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonTlsContext.Builder>
-
mergeFrom
public CommonTlsContext.Builder mergeFrom(CommonTlsContext other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
-
mergeFrom
public CommonTlsContext.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<CommonTlsContext.Builder>- Throws:
IOException
-
getValidationContextTypeCase
public CommonTlsContext.ValidationContextTypeCase getValidationContextTypeCase()
- Specified by:
getValidationContextTypeCasein interfaceCommonTlsContextOrBuilder
-
clearValidationContextType
public CommonTlsContext.Builder clearValidationContextType()
-
hasTlsParams
public boolean hasTlsParams()
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;- Specified by:
hasTlsParamsin interfaceCommonTlsContextOrBuilder- Returns:
- Whether the tlsParams field is set.
-
getTlsParams
public TlsParameters getTlsParams()
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;- Specified by:
getTlsParamsin interfaceCommonTlsContextOrBuilder- Returns:
- The tlsParams.
-
setTlsParams
public CommonTlsContext.Builder setTlsParams(TlsParameters value)
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;
-
setTlsParams
public CommonTlsContext.Builder setTlsParams(TlsParameters.Builder builderForValue)
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;
-
mergeTlsParams
public CommonTlsContext.Builder mergeTlsParams(TlsParameters value)
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;
-
clearTlsParams
public CommonTlsContext.Builder clearTlsParams()
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;
-
getTlsParamsBuilder
public TlsParameters.Builder getTlsParamsBuilder()
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;
-
getTlsParamsOrBuilder
public TlsParametersOrBuilder getTlsParamsOrBuilder()
TLS protocol versions, cipher suites etc.
.envoy.api.v2.auth.TlsParameters tls_params = 1;- Specified by:
getTlsParamsOrBuilderin interfaceCommonTlsContextOrBuilder
-
getTlsCertificatesList
public List<TlsCertificate> getTlsCertificatesList()
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;- Specified by:
getTlsCertificatesListin interfaceCommonTlsContextOrBuilder
-
getTlsCertificatesCount
public int getTlsCertificatesCount()
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;- Specified by:
getTlsCertificatesCountin interfaceCommonTlsContextOrBuilder
-
getTlsCertificates
public TlsCertificate getTlsCertificates(int index)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;- Specified by:
getTlsCertificatesin interfaceCommonTlsContextOrBuilder
-
setTlsCertificates
public CommonTlsContext.Builder setTlsCertificates(int index, TlsCertificate value)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
setTlsCertificates
public CommonTlsContext.Builder setTlsCertificates(int index, TlsCertificate.Builder builderForValue)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
addTlsCertificates
public CommonTlsContext.Builder addTlsCertificates(TlsCertificate value)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
addTlsCertificates
public CommonTlsContext.Builder addTlsCertificates(int index, TlsCertificate value)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
addTlsCertificates
public CommonTlsContext.Builder addTlsCertificates(TlsCertificate.Builder builderForValue)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
addTlsCertificates
public CommonTlsContext.Builder addTlsCertificates(int index, TlsCertificate.Builder builderForValue)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
addAllTlsCertificates
public CommonTlsContext.Builder addAllTlsCertificates(Iterable<? extends TlsCertificate> values)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
clearTlsCertificates
public CommonTlsContext.Builder clearTlsCertificates()
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
removeTlsCertificates
public CommonTlsContext.Builder removeTlsCertificates(int index)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
getTlsCertificatesBuilder
public TlsCertificate.Builder getTlsCertificatesBuilder(int index)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
getTlsCertificatesOrBuilder
public TlsCertificateOrBuilder getTlsCertificatesOrBuilder(int index)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;- Specified by:
getTlsCertificatesOrBuilderin interfaceCommonTlsContextOrBuilder
-
getTlsCertificatesOrBuilderList
public List<? extends TlsCertificateOrBuilder> getTlsCertificatesOrBuilderList()
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;- Specified by:
getTlsCertificatesOrBuilderListin interfaceCommonTlsContextOrBuilder
-
addTlsCertificatesBuilder
public TlsCertificate.Builder addTlsCertificatesBuilder()
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
addTlsCertificatesBuilder
public TlsCertificate.Builder addTlsCertificatesBuilder(int index)
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
getTlsCertificatesBuilderList
public List<TlsCertificate.Builder> getTlsCertificatesBuilderList()
:ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates. Only a single TLS certificate is supported in client contexts. In server contexts, the first RSA certificate is used for clients that only support RSA and the first ECDSA certificate is used for clients that support ECDSA.
repeated .envoy.api.v2.auth.TlsCertificate tls_certificates = 2;
-
getTlsCertificateSdsSecretConfigsList
public List<SdsSecretConfig> getTlsCertificateSdsSecretConfigsList()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }- Specified by:
getTlsCertificateSdsSecretConfigsListin interfaceCommonTlsContextOrBuilder
-
getTlsCertificateSdsSecretConfigsCount
public int getTlsCertificateSdsSecretConfigsCount()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }- Specified by:
getTlsCertificateSdsSecretConfigsCountin interfaceCommonTlsContextOrBuilder
-
getTlsCertificateSdsSecretConfigs
public SdsSecretConfig getTlsCertificateSdsSecretConfigs(int index)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }- Specified by:
getTlsCertificateSdsSecretConfigsin interfaceCommonTlsContextOrBuilder
-
setTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder setTlsCertificateSdsSecretConfigs(int index, SdsSecretConfig value)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
setTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder setTlsCertificateSdsSecretConfigs(int index, SdsSecretConfig.Builder builderForValue)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
addTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder addTlsCertificateSdsSecretConfigs(SdsSecretConfig value)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
addTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder addTlsCertificateSdsSecretConfigs(int index, SdsSecretConfig value)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
addTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder addTlsCertificateSdsSecretConfigs(SdsSecretConfig.Builder builderForValue)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
addTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder addTlsCertificateSdsSecretConfigs(int index, SdsSecretConfig.Builder builderForValue)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
addAllTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder addAllTlsCertificateSdsSecretConfigs(Iterable<? extends SdsSecretConfig> values)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
clearTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder clearTlsCertificateSdsSecretConfigs()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
removeTlsCertificateSdsSecretConfigs
public CommonTlsContext.Builder removeTlsCertificateSdsSecretConfigs(int index)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
getTlsCertificateSdsSecretConfigsBuilder
public SdsSecretConfig.Builder getTlsCertificateSdsSecretConfigsBuilder(int index)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
getTlsCertificateSdsSecretConfigsOrBuilder
public SdsSecretConfigOrBuilder getTlsCertificateSdsSecretConfigsOrBuilder(int index)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }- Specified by:
getTlsCertificateSdsSecretConfigsOrBuilderin interfaceCommonTlsContextOrBuilder
-
getTlsCertificateSdsSecretConfigsOrBuilderList
public List<? extends SdsSecretConfigOrBuilder> getTlsCertificateSdsSecretConfigsOrBuilderList()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }- Specified by:
getTlsCertificateSdsSecretConfigsOrBuilderListin interfaceCommonTlsContextOrBuilder
-
addTlsCertificateSdsSecretConfigsBuilder
public SdsSecretConfig.Builder addTlsCertificateSdsSecretConfigsBuilder()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
addTlsCertificateSdsSecretConfigsBuilder
public SdsSecretConfig.Builder addTlsCertificateSdsSecretConfigsBuilder(int index)
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
getTlsCertificateSdsSecretConfigsBuilderList
public List<SdsSecretConfig.Builder> getTlsCertificateSdsSecretConfigsBuilderList()
Configs for fetching TLS certificates via SDS API.
repeated .envoy.api.v2.auth.SdsSecretConfig tls_certificate_sds_secret_configs = 6 [(.validate.rules) = { ... }
-
hasValidationContext
public boolean hasValidationContext()
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;- Specified by:
hasValidationContextin interfaceCommonTlsContextOrBuilder- Returns:
- Whether the validationContext field is set.
-
getValidationContext
public CertificateValidationContext getValidationContext()
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;- Specified by:
getValidationContextin interfaceCommonTlsContextOrBuilder- Returns:
- The validationContext.
-
setValidationContext
public CommonTlsContext.Builder setValidationContext(CertificateValidationContext value)
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;
-
setValidationContext
public CommonTlsContext.Builder setValidationContext(CertificateValidationContext.Builder builderForValue)
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;
-
mergeValidationContext
public CommonTlsContext.Builder mergeValidationContext(CertificateValidationContext value)
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;
-
clearValidationContext
public CommonTlsContext.Builder clearValidationContext()
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;
-
getValidationContextBuilder
public CertificateValidationContext.Builder getValidationContextBuilder()
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;
-
getValidationContextOrBuilder
public CertificateValidationContextOrBuilder getValidationContextOrBuilder()
How to validate peer certificates.
.envoy.api.v2.auth.CertificateValidationContext validation_context = 3;- Specified by:
getValidationContextOrBuilderin interfaceCommonTlsContextOrBuilder
-
hasValidationContextSdsSecretConfig
public boolean hasValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;- Specified by:
hasValidationContextSdsSecretConfigin interfaceCommonTlsContextOrBuilder- Returns:
- Whether the validationContextSdsSecretConfig field is set.
-
getValidationContextSdsSecretConfig
public SdsSecretConfig getValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;- Specified by:
getValidationContextSdsSecretConfigin interfaceCommonTlsContextOrBuilder- Returns:
- The validationContextSdsSecretConfig.
-
setValidationContextSdsSecretConfig
public CommonTlsContext.Builder setValidationContextSdsSecretConfig(SdsSecretConfig value)
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;
-
setValidationContextSdsSecretConfig
public CommonTlsContext.Builder setValidationContextSdsSecretConfig(SdsSecretConfig.Builder builderForValue)
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;
-
mergeValidationContextSdsSecretConfig
public CommonTlsContext.Builder mergeValidationContextSdsSecretConfig(SdsSecretConfig value)
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;
-
clearValidationContextSdsSecretConfig
public CommonTlsContext.Builder clearValidationContextSdsSecretConfig()
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;
-
getValidationContextSdsSecretConfigBuilder
public SdsSecretConfig.Builder getValidationContextSdsSecretConfigBuilder()
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;
-
getValidationContextSdsSecretConfigOrBuilder
public SdsSecretConfigOrBuilder getValidationContextSdsSecretConfigOrBuilder()
Config for fetching validation context via SDS API.
.envoy.api.v2.auth.SdsSecretConfig validation_context_sds_secret_config = 7;- Specified by:
getValidationContextSdsSecretConfigOrBuilderin interfaceCommonTlsContextOrBuilder
-
hasCombinedValidationContext
public boolean hasCombinedValidationContext()
Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;- Specified by:
hasCombinedValidationContextin interfaceCommonTlsContextOrBuilder- Returns:
- Whether the combinedValidationContext field is set.
-
getCombinedValidationContext
public CommonTlsContext.CombinedCertificateValidationContext getCombinedValidationContext()
Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;- Specified by:
getCombinedValidationContextin interfaceCommonTlsContextOrBuilder- Returns:
- The combinedValidationContext.
-
setCombinedValidationContext
public CommonTlsContext.Builder setCombinedValidationContext(CommonTlsContext.CombinedCertificateValidationContext value)
Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;
-
setCombinedValidationContext
public CommonTlsContext.Builder setCombinedValidationContext(CommonTlsContext.CombinedCertificateValidationContext.Builder builderForValue)
Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;
-
mergeCombinedValidationContext
public CommonTlsContext.Builder mergeCombinedValidationContext(CommonTlsContext.CombinedCertificateValidationContext value)
Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;
-
clearCombinedValidationContext
public CommonTlsContext.Builder clearCombinedValidationContext()
Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;
-
getCombinedValidationContextBuilder
public CommonTlsContext.CombinedCertificateValidationContext.Builder getCombinedValidationContextBuilder()
Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;
-
getCombinedValidationContextOrBuilder
public CommonTlsContext.CombinedCertificateValidationContextOrBuilder getCombinedValidationContextOrBuilder()
Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;- Specified by:
getCombinedValidationContextOrBuilderin interfaceCommonTlsContextOrBuilder
-
getAlpnProtocolsList
public com.google.protobuf.ProtocolStringList getAlpnProtocolsList()
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Specified by:
getAlpnProtocolsListin interfaceCommonTlsContextOrBuilder- Returns:
- A list containing the alpnProtocols.
-
getAlpnProtocolsCount
public int getAlpnProtocolsCount()
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Specified by:
getAlpnProtocolsCountin interfaceCommonTlsContextOrBuilder- Returns:
- The count of alpnProtocols.
-
getAlpnProtocols
public String getAlpnProtocols(int index)
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Specified by:
getAlpnProtocolsin interfaceCommonTlsContextOrBuilder- 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)
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Specified by:
getAlpnProtocolsBytesin interfaceCommonTlsContextOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the alpnProtocols at the given index.
-
setAlpnProtocols
public CommonTlsContext.Builder setAlpnProtocols(int index, String value)
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Parameters:
index- The index to set the value at.value- The alpnProtocols to set.- Returns:
- This builder for chaining.
-
addAlpnProtocols
public CommonTlsContext.Builder addAlpnProtocols(String value)
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Parameters:
value- The alpnProtocols to add.- Returns:
- This builder for chaining.
-
addAllAlpnProtocols
public CommonTlsContext.Builder addAllAlpnProtocols(Iterable<String> values)
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Parameters:
values- The alpnProtocols to add.- Returns:
- This builder for chaining.
-
clearAlpnProtocols
public CommonTlsContext.Builder clearAlpnProtocols()
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Returns:
- This builder for chaining.
-
addAlpnProtocolsBytes
public CommonTlsContext.Builder addAlpnProtocolsBytes(com.google.protobuf.ByteString value)
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;- Parameters:
value- The bytes of the alpnProtocols to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CommonTlsContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
-
mergeUnknownFields
public final CommonTlsContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
-
-