Class CommonTlsContext.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type envoy.api.v2.auth.CommonTlsContext
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • clear

      public CommonTlsContext.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • getDefaultInstanceForType

      public CommonTlsContext getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CommonTlsContext build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CommonTlsContext buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public CommonTlsContext.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • setField

      public CommonTlsContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • clearField

      public CommonTlsContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • clearOneof

      public CommonTlsContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • setRepeatedField

      public CommonTlsContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • addRepeatedField

      public CommonTlsContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • mergeFrom

      public CommonTlsContext.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommonTlsContext.Builder>
    • mergeFrom

      public CommonTlsContext.Builder mergeFrom(CommonTlsContext other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommonTlsContext.Builder>
      Throws:
      IOException
    • getValidationContextTypeCase

      public CommonTlsContext.ValidationContextTypeCase getValidationContextTypeCase()
      Specified by:
      getValidationContextTypeCase in interface CommonTlsContextOrBuilder
    • 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:
      hasTlsParams in interface CommonTlsContextOrBuilder
      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:
      getTlsParams in interface CommonTlsContextOrBuilder
      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:
      getTlsParamsOrBuilder in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificatesList in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificatesCount in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificates in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificatesOrBuilder in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificatesOrBuilderList in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificateSdsSecretConfigsList in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificateSdsSecretConfigsCount in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificateSdsSecretConfigs in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificateSdsSecretConfigsOrBuilder in interface CommonTlsContextOrBuilder
    • 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:
      getTlsCertificateSdsSecretConfigsOrBuilderList in interface CommonTlsContextOrBuilder
    • 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:
      hasValidationContext in interface CommonTlsContextOrBuilder
      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:
      getValidationContext in interface CommonTlsContextOrBuilder
      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:
      getValidationContextOrBuilder in interface CommonTlsContextOrBuilder
    • 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:
      hasValidationContextSdsSecretConfig in interface CommonTlsContextOrBuilder
      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:
      getValidationContextSdsSecretConfig in interface CommonTlsContextOrBuilder
      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:
      getValidationContextSdsSecretConfigOrBuilder in interface CommonTlsContextOrBuilder
    • 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:
      hasCombinedValidationContext in interface CommonTlsContextOrBuilder
      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:
      getCombinedValidationContext in interface CommonTlsContextOrBuilder
      Returns:
      The combinedValidationContext.
    • setCombinedValidationContext

       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

       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:
      getCombinedValidationContextOrBuilder in interface CommonTlsContextOrBuilder
    • 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:
      getAlpnProtocolsList in interface CommonTlsContextOrBuilder
      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:
      getAlpnProtocolsCount in interface CommonTlsContextOrBuilder
      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:
      getAlpnProtocols in interface CommonTlsContextOrBuilder
      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:
      getAlpnProtocolsBytes in interface CommonTlsContextOrBuilder
      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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>
    • mergeUnknownFields

      public final CommonTlsContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommonTlsContext.Builder>