Class QuicProtocolOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
io.envoyproxy.envoy.api.v2.listener.QuicProtocolOptions.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, QuicProtocolOptionsOrBuilder, Cloneable
Enclosing class:
QuicProtocolOptions

public static final class QuicProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder> implements QuicProtocolOptionsOrBuilder
 Configuration specific to the QUIC protocol.
 Next id: 4
 
Protobuf type envoy.api.v2.listener.QuicProtocolOptions
  • Method Details

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

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

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

      public QuicProtocolOptions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<QuicProtocolOptions.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public QuicProtocolOptions.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<QuicProtocolOptions.Builder>
      Throws:
      IOException
    • hasMaxConcurrentStreams

      public boolean hasMaxConcurrentStreams()
       Maximum number of streams that the client can negotiate per connection. 100
       if not specified.
       
      .google.protobuf.UInt32Value max_concurrent_streams = 1;
      Specified by:
      hasMaxConcurrentStreams in interface QuicProtocolOptionsOrBuilder
      Returns:
      Whether the maxConcurrentStreams field is set.
    • getMaxConcurrentStreams

      public com.google.protobuf.UInt32Value getMaxConcurrentStreams()
       Maximum number of streams that the client can negotiate per connection. 100
       if not specified.
       
      .google.protobuf.UInt32Value max_concurrent_streams = 1;
      Specified by:
      getMaxConcurrentStreams in interface QuicProtocolOptionsOrBuilder
      Returns:
      The maxConcurrentStreams.
    • setMaxConcurrentStreams

      public QuicProtocolOptions.Builder setMaxConcurrentStreams(com.google.protobuf.UInt32Value value)
       Maximum number of streams that the client can negotiate per connection. 100
       if not specified.
       
      .google.protobuf.UInt32Value max_concurrent_streams = 1;
    • setMaxConcurrentStreams

      public QuicProtocolOptions.Builder setMaxConcurrentStreams(com.google.protobuf.UInt32Value.Builder builderForValue)
       Maximum number of streams that the client can negotiate per connection. 100
       if not specified.
       
      .google.protobuf.UInt32Value max_concurrent_streams = 1;
    • mergeMaxConcurrentStreams

      public QuicProtocolOptions.Builder mergeMaxConcurrentStreams(com.google.protobuf.UInt32Value value)
       Maximum number of streams that the client can negotiate per connection. 100
       if not specified.
       
      .google.protobuf.UInt32Value max_concurrent_streams = 1;
    • clearMaxConcurrentStreams

      public QuicProtocolOptions.Builder clearMaxConcurrentStreams()
       Maximum number of streams that the client can negotiate per connection. 100
       if not specified.
       
      .google.protobuf.UInt32Value max_concurrent_streams = 1;
    • getMaxConcurrentStreamsBuilder

      public com.google.protobuf.UInt32Value.Builder getMaxConcurrentStreamsBuilder()
       Maximum number of streams that the client can negotiate per connection. 100
       if not specified.
       
      .google.protobuf.UInt32Value max_concurrent_streams = 1;
    • getMaxConcurrentStreamsOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getMaxConcurrentStreamsOrBuilder()
       Maximum number of streams that the client can negotiate per connection. 100
       if not specified.
       
      .google.protobuf.UInt32Value max_concurrent_streams = 1;
      Specified by:
      getMaxConcurrentStreamsOrBuilder in interface QuicProtocolOptionsOrBuilder
    • hasIdleTimeout

      public boolean hasIdleTimeout()
       Maximum number of milliseconds that connection will be alive when there is
       no network activity. 300000ms if not specified.
       
      .google.protobuf.Duration idle_timeout = 2;
      Specified by:
      hasIdleTimeout in interface QuicProtocolOptionsOrBuilder
      Returns:
      Whether the idleTimeout field is set.
    • getIdleTimeout

      public com.google.protobuf.Duration getIdleTimeout()
       Maximum number of milliseconds that connection will be alive when there is
       no network activity. 300000ms if not specified.
       
      .google.protobuf.Duration idle_timeout = 2;
      Specified by:
      getIdleTimeout in interface QuicProtocolOptionsOrBuilder
      Returns:
      The idleTimeout.
    • setIdleTimeout

      public QuicProtocolOptions.Builder setIdleTimeout(com.google.protobuf.Duration value)
       Maximum number of milliseconds that connection will be alive when there is
       no network activity. 300000ms if not specified.
       
      .google.protobuf.Duration idle_timeout = 2;
    • setIdleTimeout

      public QuicProtocolOptions.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Maximum number of milliseconds that connection will be alive when there is
       no network activity. 300000ms if not specified.
       
      .google.protobuf.Duration idle_timeout = 2;
    • mergeIdleTimeout

      public QuicProtocolOptions.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
       Maximum number of milliseconds that connection will be alive when there is
       no network activity. 300000ms if not specified.
       
      .google.protobuf.Duration idle_timeout = 2;
    • clearIdleTimeout

      public QuicProtocolOptions.Builder clearIdleTimeout()
       Maximum number of milliseconds that connection will be alive when there is
       no network activity. 300000ms if not specified.
       
      .google.protobuf.Duration idle_timeout = 2;
    • getIdleTimeoutBuilder

      public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
       Maximum number of milliseconds that connection will be alive when there is
       no network activity. 300000ms if not specified.
       
      .google.protobuf.Duration idle_timeout = 2;
    • getIdleTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
       Maximum number of milliseconds that connection will be alive when there is
       no network activity. 300000ms if not specified.
       
      .google.protobuf.Duration idle_timeout = 2;
      Specified by:
      getIdleTimeoutOrBuilder in interface QuicProtocolOptionsOrBuilder
    • hasCryptoHandshakeTimeout

      public boolean hasCryptoHandshakeTimeout()
       Connection timeout in milliseconds before the crypto handshake is finished.
       20000ms if not specified.
       
      .google.protobuf.Duration crypto_handshake_timeout = 3;
      Specified by:
      hasCryptoHandshakeTimeout in interface QuicProtocolOptionsOrBuilder
      Returns:
      Whether the cryptoHandshakeTimeout field is set.
    • getCryptoHandshakeTimeout

      public com.google.protobuf.Duration getCryptoHandshakeTimeout()
       Connection timeout in milliseconds before the crypto handshake is finished.
       20000ms if not specified.
       
      .google.protobuf.Duration crypto_handshake_timeout = 3;
      Specified by:
      getCryptoHandshakeTimeout in interface QuicProtocolOptionsOrBuilder
      Returns:
      The cryptoHandshakeTimeout.
    • setCryptoHandshakeTimeout

      public QuicProtocolOptions.Builder setCryptoHandshakeTimeout(com.google.protobuf.Duration value)
       Connection timeout in milliseconds before the crypto handshake is finished.
       20000ms if not specified.
       
      .google.protobuf.Duration crypto_handshake_timeout = 3;
    • setCryptoHandshakeTimeout

      public QuicProtocolOptions.Builder setCryptoHandshakeTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Connection timeout in milliseconds before the crypto handshake is finished.
       20000ms if not specified.
       
      .google.protobuf.Duration crypto_handshake_timeout = 3;
    • mergeCryptoHandshakeTimeout

      public QuicProtocolOptions.Builder mergeCryptoHandshakeTimeout(com.google.protobuf.Duration value)
       Connection timeout in milliseconds before the crypto handshake is finished.
       20000ms if not specified.
       
      .google.protobuf.Duration crypto_handshake_timeout = 3;
    • clearCryptoHandshakeTimeout

      public QuicProtocolOptions.Builder clearCryptoHandshakeTimeout()
       Connection timeout in milliseconds before the crypto handshake is finished.
       20000ms if not specified.
       
      .google.protobuf.Duration crypto_handshake_timeout = 3;
    • getCryptoHandshakeTimeoutBuilder

      public com.google.protobuf.Duration.Builder getCryptoHandshakeTimeoutBuilder()
       Connection timeout in milliseconds before the crypto handshake is finished.
       20000ms if not specified.
       
      .google.protobuf.Duration crypto_handshake_timeout = 3;
    • getCryptoHandshakeTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getCryptoHandshakeTimeoutOrBuilder()
       Connection timeout in milliseconds before the crypto handshake is finished.
       20000ms if not specified.
       
      .google.protobuf.Duration crypto_handshake_timeout = 3;
      Specified by:
      getCryptoHandshakeTimeoutOrBuilder in interface QuicProtocolOptionsOrBuilder
    • setUnknownFields

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

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