Class CommonTlsContext.CertificateProvider

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CommonTlsContext.CertificateProviderOrBuilder, java.io.Serializable
    Enclosing class:
    CommonTlsContext

    public static final class CommonTlsContext.CertificateProvider
    extends com.google.protobuf.GeneratedMessage
    implements CommonTlsContext.CertificateProviderOrBuilder
     Config for Certificate provider to get certificates. This provider should allow certificates to be
     fetched/refreshed over the network asynchronously with respect to the TLS handshake.
    
     DEPRECATED: This message is not currently used, but if we ever do need it, we will want to
     move it out of CommonTlsContext and into common.proto, similar to the existing
     CertificateProviderPluginInstance message.
    
     [#not-implemented-hide:]
     
    Protobuf type envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider
    See Also:
    Serialized Form
    • Constructor Detail

      • CertificateProvider

        private CertificateProvider​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • CertificateProvider

        private CertificateProvider()
    • 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
      • getName

        public java.lang.String getName()
         opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify
         a root-certificate (validation context) or "TLS" to specify a new tls-certificate.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getName in interface CommonTlsContext.CertificateProviderOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         opaque name used to specify certificate instances or types. For example, "ROOTCA" to specify
         a root-certificate (validation context) or "TLS" to specify a new tls-certificate.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getNameBytes in interface CommonTlsContext.CertificateProviderOrBuilder
        Returns:
        The bytes for name.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CommonTlsContext.CertificateProvider parseFrom​(java.nio.ByteBuffer data)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonTlsContext.CertificateProvider parseFrom​(java.nio.ByteBuffer data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonTlsContext.CertificateProvider parseFrom​(com.google.protobuf.ByteString data)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonTlsContext.CertificateProvider parseFrom​(com.google.protobuf.ByteString data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonTlsContext.CertificateProvider parseFrom​(byte[] data)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonTlsContext.CertificateProvider parseFrom​(byte[] data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonTlsContext.CertificateProvider parseFrom​(java.io.InputStream input,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CommonTlsContext.CertificateProvider parseDelimitedFrom​(java.io.InputStream input,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CommonTlsContext.CertificateProvider parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

        protected CommonTlsContext.CertificateProvider.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<CommonTlsContext.CertificateProvider> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

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