Class TLSProperties.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TLSProperties.Builder>
com.google.protobuf.GeneratedMessage.Builder<TLSProperties.Builder>
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TLSPropertiesOrBuilder, Cloneable
Enclosing class:
TLSProperties

public static final class TLSProperties.Builder extends com.google.protobuf.GeneratedMessage.Builder<TLSProperties.Builder> implements TLSPropertiesOrBuilder
 Properties of a negotiated TLS connection.
 [#next-free-field: 8]
 
Protobuf type envoy.data.accesslog.v3.TLSProperties
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TLSProperties.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • clear

      public TLSProperties.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.GeneratedMessage.Builder<TLSProperties.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.GeneratedMessage.Builder<TLSProperties.Builder>
    • getDefaultInstanceForType

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

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

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

      private void buildPartial0(TLSProperties result)
    • mergeFrom

      public TLSProperties.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<TLSProperties.Builder>
    • mergeFrom

      public TLSProperties.Builder mergeFrom(TLSProperties other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TLSProperties.Builder>
    • mergeFrom

      public TLSProperties.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<TLSProperties.Builder>
      Throws:
      IOException
    • getTlsVersionValue

      public int getTlsVersionValue()
       Version of TLS that was negotiated.
       
      .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
      Specified by:
      getTlsVersionValue in interface TLSPropertiesOrBuilder
      Returns:
      The enum numeric value on the wire for tlsVersion.
    • setTlsVersionValue

      public TLSProperties.Builder setTlsVersionValue(int value)
       Version of TLS that was negotiated.
       
      .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
      Parameters:
      value - The enum numeric value on the wire for tlsVersion to set.
      Returns:
      This builder for chaining.
    • getTlsVersion

      public TLSProperties.TLSVersion getTlsVersion()
       Version of TLS that was negotiated.
       
      .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
      Specified by:
      getTlsVersion in interface TLSPropertiesOrBuilder
      Returns:
      The tlsVersion.
    • setTlsVersion

      public TLSProperties.Builder setTlsVersion(TLSProperties.TLSVersion value)
       Version of TLS that was negotiated.
       
      .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
      Parameters:
      value - The tlsVersion to set.
      Returns:
      This builder for chaining.
    • clearTlsVersion

      public TLSProperties.Builder clearTlsVersion()
       Version of TLS that was negotiated.
       
      .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
      Returns:
      This builder for chaining.
    • hasTlsCipherSuite

      public boolean hasTlsCipherSuite()
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
      Specified by:
      hasTlsCipherSuite in interface TLSPropertiesOrBuilder
      Returns:
      Whether the tlsCipherSuite field is set.
    • getTlsCipherSuite

      public com.google.protobuf.UInt32Value getTlsCipherSuite()
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
      Specified by:
      getTlsCipherSuite in interface TLSPropertiesOrBuilder
      Returns:
      The tlsCipherSuite.
    • setTlsCipherSuite

      public TLSProperties.Builder setTlsCipherSuite(com.google.protobuf.UInt32Value value)
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
    • setTlsCipherSuite

      public TLSProperties.Builder setTlsCipherSuite(com.google.protobuf.UInt32Value.Builder builderForValue)
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
    • mergeTlsCipherSuite

      public TLSProperties.Builder mergeTlsCipherSuite(com.google.protobuf.UInt32Value value)
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
    • clearTlsCipherSuite

      public TLSProperties.Builder clearTlsCipherSuite()
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
    • getTlsCipherSuiteBuilder

      public com.google.protobuf.UInt32Value.Builder getTlsCipherSuiteBuilder()
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
    • getTlsCipherSuiteOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getTlsCipherSuiteOrBuilder()
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
      Specified by:
      getTlsCipherSuiteOrBuilder in interface TLSPropertiesOrBuilder
    • internalGetTlsCipherSuiteFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> internalGetTlsCipherSuiteFieldBuilder()
       TLS cipher suite negotiated during handshake. The value is a
       four-digit hex code defined by the IANA TLS Cipher Suite Registry
       (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
      
       Here it is expressed as an integer.
       
      .google.protobuf.UInt32Value tls_cipher_suite = 2;
    • getTlsSniHostname

      public String getTlsSniHostname()
       SNI hostname from handshake.
       
      string tls_sni_hostname = 3;
      Specified by:
      getTlsSniHostname in interface TLSPropertiesOrBuilder
      Returns:
      The tlsSniHostname.
    • getTlsSniHostnameBytes

      public com.google.protobuf.ByteString getTlsSniHostnameBytes()
       SNI hostname from handshake.
       
      string tls_sni_hostname = 3;
      Specified by:
      getTlsSniHostnameBytes in interface TLSPropertiesOrBuilder
      Returns:
      The bytes for tlsSniHostname.
    • setTlsSniHostname

      public TLSProperties.Builder setTlsSniHostname(String value)
       SNI hostname from handshake.
       
      string tls_sni_hostname = 3;
      Parameters:
      value - The tlsSniHostname to set.
      Returns:
      This builder for chaining.
    • clearTlsSniHostname

      public TLSProperties.Builder clearTlsSniHostname()
       SNI hostname from handshake.
       
      string tls_sni_hostname = 3;
      Returns:
      This builder for chaining.
    • setTlsSniHostnameBytes

      public TLSProperties.Builder setTlsSniHostnameBytes(com.google.protobuf.ByteString value)
       SNI hostname from handshake.
       
      string tls_sni_hostname = 3;
      Parameters:
      value - The bytes for tlsSniHostname to set.
      Returns:
      This builder for chaining.
    • hasLocalCertificateProperties

      public boolean hasLocalCertificateProperties()
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
      Specified by:
      hasLocalCertificateProperties in interface TLSPropertiesOrBuilder
      Returns:
      Whether the localCertificateProperties field is set.
    • getLocalCertificateProperties

      public TLSProperties.CertificateProperties getLocalCertificateProperties()
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
      Specified by:
      getLocalCertificateProperties in interface TLSPropertiesOrBuilder
      Returns:
      The localCertificateProperties.
    • setLocalCertificateProperties

      public TLSProperties.Builder setLocalCertificateProperties(TLSProperties.CertificateProperties value)
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
    • setLocalCertificateProperties

      public TLSProperties.Builder setLocalCertificateProperties(TLSProperties.CertificateProperties.Builder builderForValue)
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
    • mergeLocalCertificateProperties

      public TLSProperties.Builder mergeLocalCertificateProperties(TLSProperties.CertificateProperties value)
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
    • clearLocalCertificateProperties

      public TLSProperties.Builder clearLocalCertificateProperties()
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
    • getLocalCertificatePropertiesBuilder

      public TLSProperties.CertificateProperties.Builder getLocalCertificatePropertiesBuilder()
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
    • getLocalCertificatePropertiesOrBuilder

      public TLSProperties.CertificatePropertiesOrBuilder getLocalCertificatePropertiesOrBuilder()
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
      Specified by:
      getLocalCertificatePropertiesOrBuilder in interface TLSPropertiesOrBuilder
    • internalGetLocalCertificatePropertiesFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<TLSProperties.CertificateProperties,TLSProperties.CertificateProperties.Builder,TLSProperties.CertificatePropertiesOrBuilder> internalGetLocalCertificatePropertiesFieldBuilder()
       Properties of the local certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
    • hasPeerCertificateProperties

      public boolean hasPeerCertificateProperties()
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
      Specified by:
      hasPeerCertificateProperties in interface TLSPropertiesOrBuilder
      Returns:
      Whether the peerCertificateProperties field is set.
    • getPeerCertificateProperties

      public TLSProperties.CertificateProperties getPeerCertificateProperties()
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
      Specified by:
      getPeerCertificateProperties in interface TLSPropertiesOrBuilder
      Returns:
      The peerCertificateProperties.
    • setPeerCertificateProperties

      public TLSProperties.Builder setPeerCertificateProperties(TLSProperties.CertificateProperties value)
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
    • setPeerCertificateProperties

      public TLSProperties.Builder setPeerCertificateProperties(TLSProperties.CertificateProperties.Builder builderForValue)
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
    • mergePeerCertificateProperties

      public TLSProperties.Builder mergePeerCertificateProperties(TLSProperties.CertificateProperties value)
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
    • clearPeerCertificateProperties

      public TLSProperties.Builder clearPeerCertificateProperties()
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
    • getPeerCertificatePropertiesBuilder

      public TLSProperties.CertificateProperties.Builder getPeerCertificatePropertiesBuilder()
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
    • getPeerCertificatePropertiesOrBuilder

      public TLSProperties.CertificatePropertiesOrBuilder getPeerCertificatePropertiesOrBuilder()
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
      Specified by:
      getPeerCertificatePropertiesOrBuilder in interface TLSPropertiesOrBuilder
    • internalGetPeerCertificatePropertiesFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<TLSProperties.CertificateProperties,TLSProperties.CertificateProperties.Builder,TLSProperties.CertificatePropertiesOrBuilder> internalGetPeerCertificatePropertiesFieldBuilder()
       Properties of the peer certificate used to negotiate TLS.
       
      .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
    • getTlsSessionId

      public String getTlsSessionId()
       The TLS session ID.
       
      string tls_session_id = 6;
      Specified by:
      getTlsSessionId in interface TLSPropertiesOrBuilder
      Returns:
      The tlsSessionId.
    • getTlsSessionIdBytes

      public com.google.protobuf.ByteString getTlsSessionIdBytes()
       The TLS session ID.
       
      string tls_session_id = 6;
      Specified by:
      getTlsSessionIdBytes in interface TLSPropertiesOrBuilder
      Returns:
      The bytes for tlsSessionId.
    • setTlsSessionId

      public TLSProperties.Builder setTlsSessionId(String value)
       The TLS session ID.
       
      string tls_session_id = 6;
      Parameters:
      value - The tlsSessionId to set.
      Returns:
      This builder for chaining.
    • clearTlsSessionId

      public TLSProperties.Builder clearTlsSessionId()
       The TLS session ID.
       
      string tls_session_id = 6;
      Returns:
      This builder for chaining.
    • setTlsSessionIdBytes

      public TLSProperties.Builder setTlsSessionIdBytes(com.google.protobuf.ByteString value)
       The TLS session ID.
       
      string tls_session_id = 6;
      Parameters:
      value - The bytes for tlsSessionId to set.
      Returns:
      This builder for chaining.
    • getJa3Fingerprint

      public String getJa3Fingerprint()
       The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
       
      string ja3_fingerprint = 7;
      Specified by:
      getJa3Fingerprint in interface TLSPropertiesOrBuilder
      Returns:
      The ja3Fingerprint.
    • getJa3FingerprintBytes

      public com.google.protobuf.ByteString getJa3FingerprintBytes()
       The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
       
      string ja3_fingerprint = 7;
      Specified by:
      getJa3FingerprintBytes in interface TLSPropertiesOrBuilder
      Returns:
      The bytes for ja3Fingerprint.
    • setJa3Fingerprint

      public TLSProperties.Builder setJa3Fingerprint(String value)
       The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
       
      string ja3_fingerprint = 7;
      Parameters:
      value - The ja3Fingerprint to set.
      Returns:
      This builder for chaining.
    • clearJa3Fingerprint

      public TLSProperties.Builder clearJa3Fingerprint()
       The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
       
      string ja3_fingerprint = 7;
      Returns:
      This builder for chaining.
    • setJa3FingerprintBytes

      public TLSProperties.Builder setJa3FingerprintBytes(com.google.protobuf.ByteString value)
       The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
       
      string ja3_fingerprint = 7;
      Parameters:
      value - The bytes for ja3Fingerprint to set.
      Returns:
      This builder for chaining.