Class TlsCertificate.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TlsCertificateOrBuilder, Cloneable
    Enclosing class:
    TlsCertificate

    public static final class TlsCertificate.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TlsCertificate.Builder>
    implements TlsCertificateOrBuilder
     [#next-free-field: 7]
     
    Protobuf type envoy.api.v2.auth.TlsCertificate
    • Method Detail

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

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

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

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

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

        public TlsCertificate.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<TlsCertificate.Builder>
      • setField

        public TlsCertificate.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<TlsCertificate.Builder>
      • clearField

        public TlsCertificate.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<TlsCertificate.Builder>
      • clearOneof

        public TlsCertificate.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<TlsCertificate.Builder>
      • setRepeatedField

        public TlsCertificate.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<TlsCertificate.Builder>
      • addRepeatedField

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

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

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

        public TlsCertificate.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<TlsCertificate.Builder>
        Throws:
        IOException
      • hasCertificateChain

        public boolean hasCertificateChain()
         The TLS certificate chain.
         
        .envoy.api.v2.core.DataSource certificate_chain = 1;
        Specified by:
        hasCertificateChain in interface TlsCertificateOrBuilder
        Returns:
        Whether the certificateChain field is set.
      • setCertificateChain

        public TlsCertificate.Builder setCertificateChain​(DataSource value)
         The TLS certificate chain.
         
        .envoy.api.v2.core.DataSource certificate_chain = 1;
      • mergeCertificateChain

        public TlsCertificate.Builder mergeCertificateChain​(DataSource value)
         The TLS certificate chain.
         
        .envoy.api.v2.core.DataSource certificate_chain = 1;
      • clearCertificateChain

        public TlsCertificate.Builder clearCertificateChain()
         The TLS certificate chain.
         
        .envoy.api.v2.core.DataSource certificate_chain = 1;
      • getCertificateChainBuilder

        public DataSource.Builder getCertificateChainBuilder()
         The TLS certificate chain.
         
        .envoy.api.v2.core.DataSource certificate_chain = 1;
      • hasPrivateKey

        public boolean hasPrivateKey()
         The TLS private key.
         
        .envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];
        Specified by:
        hasPrivateKey in interface TlsCertificateOrBuilder
        Returns:
        Whether the privateKey field is set.
      • getPrivateKey

        public DataSource getPrivateKey()
         The TLS private key.
         
        .envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];
        Specified by:
        getPrivateKey in interface TlsCertificateOrBuilder
        Returns:
        The privateKey.
      • setPrivateKey

        public TlsCertificate.Builder setPrivateKey​(DataSource value)
         The TLS private key.
         
        .envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];
      • setPrivateKey

        public TlsCertificate.Builder setPrivateKey​(DataSource.Builder builderForValue)
         The TLS private key.
         
        .envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];
      • mergePrivateKey

        public TlsCertificate.Builder mergePrivateKey​(DataSource value)
         The TLS private key.
         
        .envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];
      • clearPrivateKey

        public TlsCertificate.Builder clearPrivateKey()
         The TLS private key.
         
        .envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];
      • getPrivateKeyBuilder

        public DataSource.Builder getPrivateKeyBuilder()
         The TLS private key.
         
        .envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];
      • hasPrivateKeyProvider

        public boolean hasPrivateKeyProvider()
         BoringSSL private key method provider. This is an alternative to :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be
         marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` and
         :ref:`private_key_provider
         <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an
         error.
         
        .envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;
        Specified by:
        hasPrivateKeyProvider in interface TlsCertificateOrBuilder
        Returns:
        Whether the privateKeyProvider field is set.
      • getPrivateKeyProvider

        public PrivateKeyProvider getPrivateKeyProvider()
         BoringSSL private key method provider. This is an alternative to :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be
         marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` and
         :ref:`private_key_provider
         <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an
         error.
         
        .envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;
        Specified by:
        getPrivateKeyProvider in interface TlsCertificateOrBuilder
        Returns:
        The privateKeyProvider.
      • setPrivateKeyProvider

        public TlsCertificate.Builder setPrivateKeyProvider​(PrivateKeyProvider value)
         BoringSSL private key method provider. This is an alternative to :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be
         marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` and
         :ref:`private_key_provider
         <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an
         error.
         
        .envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;
      • setPrivateKeyProvider

        public TlsCertificate.Builder setPrivateKeyProvider​(PrivateKeyProvider.Builder builderForValue)
         BoringSSL private key method provider. This is an alternative to :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be
         marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` and
         :ref:`private_key_provider
         <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an
         error.
         
        .envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;
      • mergePrivateKeyProvider

        public TlsCertificate.Builder mergePrivateKeyProvider​(PrivateKeyProvider value)
         BoringSSL private key method provider. This is an alternative to :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be
         marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` and
         :ref:`private_key_provider
         <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an
         error.
         
        .envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;
      • clearPrivateKeyProvider

        public TlsCertificate.Builder clearPrivateKeyProvider()
         BoringSSL private key method provider. This is an alternative to :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be
         marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` and
         :ref:`private_key_provider
         <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an
         error.
         
        .envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;
      • getPrivateKeyProviderBuilder

        public PrivateKeyProvider.Builder getPrivateKeyProviderBuilder()
         BoringSSL private key method provider. This is an alternative to :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be
         marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` and
         :ref:`private_key_provider
         <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an
         error.
         
        .envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;
      • getPrivateKeyProviderOrBuilder

        public PrivateKeyProviderOrBuilder getPrivateKeyProviderOrBuilder()
         BoringSSL private key method provider. This is an alternative to :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be
         marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key
         <envoy_api_field_auth.TlsCertificate.private_key>` and
         :ref:`private_key_provider
         <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an
         error.
         
        .envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;
        Specified by:
        getPrivateKeyProviderOrBuilder in interface TlsCertificateOrBuilder
      • hasPassword

        public boolean hasPassword()
         The password to decrypt the TLS private key. If this field is not set, it is assumed that the
         TLS private key is not password encrypted.
         
        .envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];
        Specified by:
        hasPassword in interface TlsCertificateOrBuilder
        Returns:
        Whether the password field is set.
      • getPassword

        public DataSource getPassword()
         The password to decrypt the TLS private key. If this field is not set, it is assumed that the
         TLS private key is not password encrypted.
         
        .envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];
        Specified by:
        getPassword in interface TlsCertificateOrBuilder
        Returns:
        The password.
      • setPassword

        public TlsCertificate.Builder setPassword​(DataSource value)
         The password to decrypt the TLS private key. If this field is not set, it is assumed that the
         TLS private key is not password encrypted.
         
        .envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];
      • setPassword

        public TlsCertificate.Builder setPassword​(DataSource.Builder builderForValue)
         The password to decrypt the TLS private key. If this field is not set, it is assumed that the
         TLS private key is not password encrypted.
         
        .envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];
      • mergePassword

        public TlsCertificate.Builder mergePassword​(DataSource value)
         The password to decrypt the TLS private key. If this field is not set, it is assumed that the
         TLS private key is not password encrypted.
         
        .envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];
      • clearPassword

        public TlsCertificate.Builder clearPassword()
         The password to decrypt the TLS private key. If this field is not set, it is assumed that the
         TLS private key is not password encrypted.
         
        .envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];
      • getPasswordBuilder

        public DataSource.Builder getPasswordBuilder()
         The password to decrypt the TLS private key. If this field is not set, it is assumed that the
         TLS private key is not password encrypted.
         
        .envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];
      • getPasswordOrBuilder

        public DataSourceOrBuilder getPasswordOrBuilder()
         The password to decrypt the TLS private key. If this field is not set, it is assumed that the
         TLS private key is not password encrypted.
         
        .envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];
        Specified by:
        getPasswordOrBuilder in interface TlsCertificateOrBuilder
      • hasOcspStaple

        public boolean hasOcspStaple()
         [#not-implemented-hide:]
         
        .envoy.api.v2.core.DataSource ocsp_staple = 4;
        Specified by:
        hasOcspStaple in interface TlsCertificateOrBuilder
        Returns:
        Whether the ocspStaple field is set.
      • clearOcspStaple

        public TlsCertificate.Builder clearOcspStaple()
         [#not-implemented-hide:]
         
        .envoy.api.v2.core.DataSource ocsp_staple = 4;
      • getOcspStapleBuilder

        public DataSource.Builder getOcspStapleBuilder()
         [#not-implemented-hide:]
         
        .envoy.api.v2.core.DataSource ocsp_staple = 4;
      • setSignedCertificateTimestamp

        public TlsCertificate.Builder setSignedCertificateTimestamp​(int index,
                                                                    DataSource value)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • setSignedCertificateTimestamp

        public TlsCertificate.Builder setSignedCertificateTimestamp​(int index,
                                                                    DataSource.Builder builderForValue)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • addSignedCertificateTimestamp

        public TlsCertificate.Builder addSignedCertificateTimestamp​(DataSource value)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • addSignedCertificateTimestamp

        public TlsCertificate.Builder addSignedCertificateTimestamp​(int index,
                                                                    DataSource value)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • addSignedCertificateTimestamp

        public TlsCertificate.Builder addSignedCertificateTimestamp​(DataSource.Builder builderForValue)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • addSignedCertificateTimestamp

        public TlsCertificate.Builder addSignedCertificateTimestamp​(int index,
                                                                    DataSource.Builder builderForValue)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • addAllSignedCertificateTimestamp

        public TlsCertificate.Builder addAllSignedCertificateTimestamp​(Iterable<? extends DataSource> values)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • clearSignedCertificateTimestamp

        public TlsCertificate.Builder clearSignedCertificateTimestamp()
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • removeSignedCertificateTimestamp

        public TlsCertificate.Builder removeSignedCertificateTimestamp​(int index)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • getSignedCertificateTimestampBuilder

        public DataSource.Builder getSignedCertificateTimestampBuilder​(int index)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • addSignedCertificateTimestampBuilder

        public DataSource.Builder addSignedCertificateTimestampBuilder()
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • addSignedCertificateTimestampBuilder

        public DataSource.Builder addSignedCertificateTimestampBuilder​(int index)
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • getSignedCertificateTimestampBuilderList

        public List<DataSource.Builder> getSignedCertificateTimestampBuilderList()
         [#not-implemented-hide:]
         
        repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;
      • setUnknownFields

        public final TlsCertificate.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<TlsCertificate.Builder>
      • mergeUnknownFields

        public final TlsCertificate.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<TlsCertificate.Builder>