Class TlsKeyLog.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TlsKeyLogOrBuilder, java.lang.Cloneable
    Enclosing class:
    TlsKeyLog

    public static final class TlsKeyLog.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<TlsKeyLog.Builder>
    implements TlsKeyLogOrBuilder
     TLS key log configuration.
     The key log file format is "format used by NSS for its SSLKEYLOGFILE debugging output" (text taken from openssl man page)
     
    Protobuf type envoy.extensions.transport_sockets.tls.v3.TlsKeyLog
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

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

      • 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<TlsKeyLog.Builder>
      • clear

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

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

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

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

        private void buildPartialRepeatedFields​(TlsKeyLog result)
      • buildPartial0

        private void buildPartial0​(TlsKeyLog result)
      • mergeFrom

        public TlsKeyLog.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<TlsKeyLog.Builder>
      • isInitialized

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

        public TlsKeyLog.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws java.io.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<TlsKeyLog.Builder>
        Throws:
        java.io.IOException
      • getPath

        public java.lang.String getPath()
         The path to save the TLS key log.
         
        string path = 1 [(.validate.rules) = { ... }
        Specified by:
        getPath in interface TlsKeyLogOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         The path to save the TLS key log.
         
        string path = 1 [(.validate.rules) = { ... }
        Specified by:
        getPathBytes in interface TlsKeyLogOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public TlsKeyLog.Builder setPath​(java.lang.String value)
         The path to save the TLS key log.
         
        string path = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public TlsKeyLog.Builder clearPath()
         The path to save the TLS key log.
         
        string path = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setPathBytes

        public TlsKeyLog.Builder setPathBytes​(com.google.protobuf.ByteString value)
         The path to save the TLS key log.
         
        string path = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • ensureLocalAddressRangeIsMutable

        private void ensureLocalAddressRangeIsMutable()
      • getLocalAddressRangeList

        public java.util.List<CidrRange> getLocalAddressRangeList()
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
        Specified by:
        getLocalAddressRangeList in interface TlsKeyLogOrBuilder
      • getLocalAddressRangeCount

        public int getLocalAddressRangeCount()
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
        Specified by:
        getLocalAddressRangeCount in interface TlsKeyLogOrBuilder
      • getLocalAddressRange

        public CidrRange getLocalAddressRange​(int index)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
        Specified by:
        getLocalAddressRange in interface TlsKeyLogOrBuilder
      • setLocalAddressRange

        public TlsKeyLog.Builder setLocalAddressRange​(int index,
                                                      CidrRange value)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • setLocalAddressRange

        public TlsKeyLog.Builder setLocalAddressRange​(int index,
                                                      CidrRange.Builder builderForValue)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • addLocalAddressRange

        public TlsKeyLog.Builder addLocalAddressRange​(CidrRange value)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • addLocalAddressRange

        public TlsKeyLog.Builder addLocalAddressRange​(int index,
                                                      CidrRange value)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • addLocalAddressRange

        public TlsKeyLog.Builder addLocalAddressRange​(CidrRange.Builder builderForValue)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • addLocalAddressRange

        public TlsKeyLog.Builder addLocalAddressRange​(int index,
                                                      CidrRange.Builder builderForValue)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • addAllLocalAddressRange

        public TlsKeyLog.Builder addAllLocalAddressRange​(java.lang.Iterable<? extends CidrRange> values)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • clearLocalAddressRange

        public TlsKeyLog.Builder clearLocalAddressRange()
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • removeLocalAddressRange

        public TlsKeyLog.Builder removeLocalAddressRange​(int index)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • getLocalAddressRangeBuilder

        public CidrRange.Builder getLocalAddressRangeBuilder​(int index)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • getLocalAddressRangeOrBuilder

        public CidrRangeOrBuilder getLocalAddressRangeOrBuilder​(int index)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
        Specified by:
        getLocalAddressRangeOrBuilder in interface TlsKeyLogOrBuilder
      • getLocalAddressRangeOrBuilderList

        public java.util.List<? extends CidrRangeOrBuilder> getLocalAddressRangeOrBuilderList()
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
        Specified by:
        getLocalAddressRangeOrBuilderList in interface TlsKeyLogOrBuilder
      • addLocalAddressRangeBuilder

        public CidrRange.Builder addLocalAddressRangeBuilder()
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • addLocalAddressRangeBuilder

        public CidrRange.Builder addLocalAddressRangeBuilder​(int index)
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • getLocalAddressRangeBuilderList

        public java.util.List<CidrRange.Builder> getLocalAddressRangeBuilderList()
         The local IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any local IP address  will be matched.
         
        repeated .envoy.config.core.v3.CidrRange local_address_range = 2;
      • ensureRemoteAddressRangeIsMutable

        private void ensureRemoteAddressRangeIsMutable()
      • getRemoteAddressRangeList

        public java.util.List<CidrRange> getRemoteAddressRangeList()
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
        Specified by:
        getRemoteAddressRangeList in interface TlsKeyLogOrBuilder
      • getRemoteAddressRangeCount

        public int getRemoteAddressRangeCount()
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
        Specified by:
        getRemoteAddressRangeCount in interface TlsKeyLogOrBuilder
      • getRemoteAddressRange

        public CidrRange getRemoteAddressRange​(int index)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
        Specified by:
        getRemoteAddressRange in interface TlsKeyLogOrBuilder
      • setRemoteAddressRange

        public TlsKeyLog.Builder setRemoteAddressRange​(int index,
                                                       CidrRange value)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • setRemoteAddressRange

        public TlsKeyLog.Builder setRemoteAddressRange​(int index,
                                                       CidrRange.Builder builderForValue)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • addRemoteAddressRange

        public TlsKeyLog.Builder addRemoteAddressRange​(CidrRange value)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • addRemoteAddressRange

        public TlsKeyLog.Builder addRemoteAddressRange​(int index,
                                                       CidrRange value)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • addRemoteAddressRange

        public TlsKeyLog.Builder addRemoteAddressRange​(CidrRange.Builder builderForValue)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • addRemoteAddressRange

        public TlsKeyLog.Builder addRemoteAddressRange​(int index,
                                                       CidrRange.Builder builderForValue)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • addAllRemoteAddressRange

        public TlsKeyLog.Builder addAllRemoteAddressRange​(java.lang.Iterable<? extends CidrRange> values)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • clearRemoteAddressRange

        public TlsKeyLog.Builder clearRemoteAddressRange()
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • removeRemoteAddressRange

        public TlsKeyLog.Builder removeRemoteAddressRange​(int index)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • getRemoteAddressRangeBuilder

        public CidrRange.Builder getRemoteAddressRangeBuilder​(int index)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • getRemoteAddressRangeOrBuilder

        public CidrRangeOrBuilder getRemoteAddressRangeOrBuilder​(int index)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
        Specified by:
        getRemoteAddressRangeOrBuilder in interface TlsKeyLogOrBuilder
      • getRemoteAddressRangeOrBuilderList

        public java.util.List<? extends CidrRangeOrBuilder> getRemoteAddressRangeOrBuilderList()
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
        Specified by:
        getRemoteAddressRangeOrBuilderList in interface TlsKeyLogOrBuilder
      • addRemoteAddressRangeBuilder

        public CidrRange.Builder addRemoteAddressRangeBuilder()
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • addRemoteAddressRangeBuilder

        public CidrRange.Builder addRemoteAddressRangeBuilder​(int index)
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;
      • getRemoteAddressRangeBuilderList

        public java.util.List<CidrRange.Builder> getRemoteAddressRangeBuilderList()
         The remote IP address that will be used to filter the connection which should save the TLS key log
         If it is not set, any remote IP address will be matched.
         
        repeated .envoy.config.core.v3.CidrRange remote_address_range = 3;