Class Http11ProxyUpstreamTransport.Builder

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

    public static final class Http11ProxyUpstreamTransport.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Http11ProxyUpstreamTransport.Builder>
    implements Http11ProxyUpstreamTransportOrBuilder
     Configuration for HTTP/1.1 proxy transport sockets.
     This is intended for use in Envoy Mobile, though may eventually be extended
     for upstream Envoy use.
     If this transport socket is configured, and an intermediate filter adds the
     stream info necessary for proxying to the stream info (as the test filter
     does :repo:`here <test/integration/filters/header_to_proxy_filter.cc>`) then
     * Upstream connections will be directed to the specified proxy address rather
       than the host's address
     * Upstream TLS connections will have a raw HTTP/1.1 CONNECT header prefaced
       to the payload, and 200 response stripped (if less than 200 bytes)
     * Plaintext HTTP/1.1 connections will be sent with a fully qualified URL.
     This transport socket is not compatible with HTTP/3, plaintext HTTP/2, or raw TCP.
     
    Protobuf type envoy.extensions.transport_sockets.http_11_proxy.v3.Http11ProxyUpstreamTransport
    • 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<Http11ProxyUpstreamTransport.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<Http11ProxyUpstreamTransport.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public Http11ProxyUpstreamTransport.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<Http11ProxyUpstreamTransport.Builder>
        Throws:
        IOException
      • hasTransportSocket

        public boolean hasTransportSocket()
         The underlying transport socket being wrapped.
         
        .envoy.config.core.v3.TransportSocket transport_socket = 1 [(.validate.rules) = { ... }
        Specified by:
        hasTransportSocket in interface Http11ProxyUpstreamTransportOrBuilder
        Returns:
        Whether the transportSocket field is set.
      • clearTransportSocket

        public Http11ProxyUpstreamTransport.Builder clearTransportSocket()
         The underlying transport socket being wrapped.
         
        .envoy.config.core.v3.TransportSocket transport_socket = 1 [(.validate.rules) = { ... }
      • getTransportSocketBuilder

        public TransportSocket.Builder getTransportSocketBuilder()
         The underlying transport socket being wrapped.
         
        .envoy.config.core.v3.TransportSocket transport_socket = 1 [(.validate.rules) = { ... }