Class Http3ProtocolOptions.Builder

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

    public static final class Http3ProtocolOptions.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
    implements Http3ProtocolOptionsOrBuilder
     A message which allows using HTTP/3.
     [#next-free-field: 7]
     
    Protobuf type envoy.config.core.v3.Http3ProtocolOptions
    • Field Detail

      • bitField0_

        private int bitField0_
      • overrideStreamErrorOnInvalidHttpMessage_

        private com.google.protobuf.BoolValue overrideStreamErrorOnInvalidHttpMessage_
      • overrideStreamErrorOnInvalidHttpMessageBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> overrideStreamErrorOnInvalidHttpMessageBuilder_
      • allowExtendedConnect_

        private boolean allowExtendedConnect_
      • allowMetadata_

        private boolean allowMetadata_
    • 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<Http3ProtocolOptions.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

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

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

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

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

        public Http3ProtocolOptions.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<Http3ProtocolOptions.Builder>
        Throws:
        java.io.IOException
      • hasQuicProtocolOptions

        public boolean hasQuicProtocolOptions()
        .envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
        Specified by:
        hasQuicProtocolOptions in interface Http3ProtocolOptionsOrBuilder
        Returns:
        Whether the quicProtocolOptions field is set.
      • clearQuicProtocolOptions

        public Http3ProtocolOptions.Builder clearQuicProtocolOptions()
        .envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
      • getQuicProtocolOptionsBuilder

        public QuicProtocolOptions.Builder getQuicProtocolOptionsBuilder()
        .envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
      • hasOverrideStreamErrorOnInvalidHttpMessage

        public boolean hasOverrideStreamErrorOnInvalidHttpMessage()
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
        Specified by:
        hasOverrideStreamErrorOnInvalidHttpMessage in interface Http3ProtocolOptionsOrBuilder
        Returns:
        Whether the overrideStreamErrorOnInvalidHttpMessage field is set.
      • getOverrideStreamErrorOnInvalidHttpMessage

        public com.google.protobuf.BoolValue getOverrideStreamErrorOnInvalidHttpMessage()
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
        Specified by:
        getOverrideStreamErrorOnInvalidHttpMessage in interface Http3ProtocolOptionsOrBuilder
        Returns:
        The overrideStreamErrorOnInvalidHttpMessage.
      • setOverrideStreamErrorOnInvalidHttpMessage

        public Http3ProtocolOptions.Builder setOverrideStreamErrorOnInvalidHttpMessage​(com.google.protobuf.BoolValue value)
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
      • setOverrideStreamErrorOnInvalidHttpMessage

        public Http3ProtocolOptions.Builder setOverrideStreamErrorOnInvalidHttpMessage​(com.google.protobuf.BoolValue.Builder builderForValue)
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
      • mergeOverrideStreamErrorOnInvalidHttpMessage

        public Http3ProtocolOptions.Builder mergeOverrideStreamErrorOnInvalidHttpMessage​(com.google.protobuf.BoolValue value)
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
      • clearOverrideStreamErrorOnInvalidHttpMessage

        public Http3ProtocolOptions.Builder clearOverrideStreamErrorOnInvalidHttpMessage()
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
      • getOverrideStreamErrorOnInvalidHttpMessageBuilder

        public com.google.protobuf.BoolValue.Builder getOverrideStreamErrorOnInvalidHttpMessageBuilder()
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
      • getOverrideStreamErrorOnInvalidHttpMessageOrBuilder

        public com.google.protobuf.BoolValueOrBuilder getOverrideStreamErrorOnInvalidHttpMessageOrBuilder()
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
        Specified by:
        getOverrideStreamErrorOnInvalidHttpMessageOrBuilder in interface Http3ProtocolOptionsOrBuilder
      • getOverrideStreamErrorOnInvalidHttpMessageFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> getOverrideStreamErrorOnInvalidHttpMessageFieldBuilder()
         Allows invalid HTTP messaging and headers. When this option is disabled (default), then
         the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However,
         when this option is enabled, only the offending stream is terminated.
        
         If set, this overrides any HCM :ref:`stream_error_on_invalid_http_messaging
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>`.
         
        .google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
      • getAllowExtendedConnect

        public boolean getAllowExtendedConnect()
         Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using
         the header mechanisms from the `HTTP/2 extended connect RFC
         <https://datatracker.ietf.org/doc/html/rfc8441>`_
         and settings `proposed for HTTP/3
         <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_
         Note that HTTP/3 CONNECT is not yet an RFC.
         
        bool allow_extended_connect = 5 [(.xds.annotations.v3.field_status) = { ... }
        Specified by:
        getAllowExtendedConnect in interface Http3ProtocolOptionsOrBuilder
        Returns:
        The allowExtendedConnect.
      • setAllowExtendedConnect

        public Http3ProtocolOptions.Builder setAllowExtendedConnect​(boolean value)
         Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using
         the header mechanisms from the `HTTP/2 extended connect RFC
         <https://datatracker.ietf.org/doc/html/rfc8441>`_
         and settings `proposed for HTTP/3
         <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_
         Note that HTTP/3 CONNECT is not yet an RFC.
         
        bool allow_extended_connect = 5 [(.xds.annotations.v3.field_status) = { ... }
        Parameters:
        value - The allowExtendedConnect to set.
        Returns:
        This builder for chaining.
      • clearAllowExtendedConnect

        public Http3ProtocolOptions.Builder clearAllowExtendedConnect()
         Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using
         the header mechanisms from the `HTTP/2 extended connect RFC
         <https://datatracker.ietf.org/doc/html/rfc8441>`_
         and settings `proposed for HTTP/3
         <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_
         Note that HTTP/3 CONNECT is not yet an RFC.
         
        bool allow_extended_connect = 5 [(.xds.annotations.v3.field_status) = { ... }
        Returns:
        This builder for chaining.
      • getAllowMetadata

        public boolean getAllowMetadata()
         [#not-implemented-hide:] Hiding until Envoy has full metadata support.
         Still under implementation. DO NOT USE.
        
         Allows sending and receiving HTTP/3 METADATA frames. See [metadata
         docs](https://github.com/envoyproxy/envoy/blob/main/source/docs/h2_metadata.md) for more
         information.
         
        bool allow_metadata = 6;
        Specified by:
        getAllowMetadata in interface Http3ProtocolOptionsOrBuilder
        Returns:
        The allowMetadata.
      • setAllowMetadata

        public Http3ProtocolOptions.Builder setAllowMetadata​(boolean value)
         [#not-implemented-hide:] Hiding until Envoy has full metadata support.
         Still under implementation. DO NOT USE.
        
         Allows sending and receiving HTTP/3 METADATA frames. See [metadata
         docs](https://github.com/envoyproxy/envoy/blob/main/source/docs/h2_metadata.md) for more
         information.
         
        bool allow_metadata = 6;
        Parameters:
        value - The allowMetadata to set.
        Returns:
        This builder for chaining.
      • clearAllowMetadata

        public Http3ProtocolOptions.Builder clearAllowMetadata()
         [#not-implemented-hide:] Hiding until Envoy has full metadata support.
         Still under implementation. DO NOT USE.
        
         Allows sending and receiving HTTP/3 METADATA frames. See [metadata
         docs](https://github.com/envoyproxy/envoy/blob/main/source/docs/h2_metadata.md) for more
         information.
         
        bool allow_metadata = 6;
        Returns:
        This builder for chaining.