Class FilterChain.OnDemandConfiguration.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FilterChain.OnDemandConfiguration.Builder>
com.google.protobuf.GeneratedMessage.Builder<FilterChain.OnDemandConfiguration.Builder>
io.envoyproxy.envoy.config.listener.v3.FilterChain.OnDemandConfiguration.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FilterChain.OnDemandConfigurationOrBuilder, Cloneable
Enclosing class:
FilterChain.OnDemandConfiguration

public static final class FilterChain.OnDemandConfiguration.Builder extends com.google.protobuf.GeneratedMessage.Builder<FilterChain.OnDemandConfiguration.Builder> implements FilterChain.OnDemandConfigurationOrBuilder
 The configuration for on-demand filter chain. If this field is not empty in FilterChain message,
 a filter chain will be built on-demand.
 On-demand filter chains help speedup the warming up of listeners since the building and initialization of
 an on-demand filter chain will be postponed to the arrival of new connection requests that require this filter chain.
 Filter chains that are not often used can be set as on-demand.
 
Protobuf type envoy.config.listener.v3.FilterChain.OnDemandConfiguration
  • Field Details

    • bitField0_

      private int bitField0_
    • rebuildTimeout_

      private com.google.protobuf.Duration rebuildTimeout_
    • rebuildTimeoutBuilder_

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> rebuildTimeoutBuilder_
  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • Method Details

    • 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<FilterChain.OnDemandConfiguration.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • 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<FilterChain.OnDemandConfiguration.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<FilterChain.OnDemandConfiguration.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FilterChain.OnDemandConfiguration buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • buildPartial0

      private void buildPartial0(FilterChain.OnDemandConfiguration result)
    • mergeFrom

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

    • isInitialized

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

      public FilterChain.OnDemandConfiguration.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<FilterChain.OnDemandConfiguration.Builder>
      Throws:
      IOException
    • hasRebuildTimeout

      public boolean hasRebuildTimeout()
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;
      Specified by:
      hasRebuildTimeout in interface FilterChain.OnDemandConfigurationOrBuilder
      Returns:
      Whether the rebuildTimeout field is set.
    • getRebuildTimeout

      public com.google.protobuf.Duration getRebuildTimeout()
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;
      Specified by:
      getRebuildTimeout in interface FilterChain.OnDemandConfigurationOrBuilder
      Returns:
      The rebuildTimeout.
    • setRebuildTimeout

      public FilterChain.OnDemandConfiguration.Builder setRebuildTimeout(com.google.protobuf.Duration value)
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;
    • setRebuildTimeout

      public FilterChain.OnDemandConfiguration.Builder setRebuildTimeout(com.google.protobuf.Duration.Builder builderForValue)
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;
    • mergeRebuildTimeout

      public FilterChain.OnDemandConfiguration.Builder mergeRebuildTimeout(com.google.protobuf.Duration value)
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;
    • clearRebuildTimeout

      public FilterChain.OnDemandConfiguration.Builder clearRebuildTimeout()
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;
    • getRebuildTimeoutBuilder

      public com.google.protobuf.Duration.Builder getRebuildTimeoutBuilder()
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;
    • getRebuildTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getRebuildTimeoutOrBuilder()
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;
      Specified by:
      getRebuildTimeoutOrBuilder in interface FilterChain.OnDemandConfigurationOrBuilder
    • internalGetRebuildTimeoutFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> internalGetRebuildTimeoutFieldBuilder()
       The timeout to wait for filter chain placeholders to complete rebuilding.
       1. If this field is set to 0, timeout is disabled.
       2. If not specified, a default timeout of 15s is used.
       Rebuilding will wait until dependencies are ready, have failed, or this timeout is reached.
       Upon failure or timeout, all connections related to this filter chain will be closed.
       Rebuilding will start again on the next new connection.
       
      .google.protobuf.Duration rebuild_timeout = 1;