Class Watchdog.Builder

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

public static final class Watchdog.Builder extends com.google.protobuf.GeneratedMessage.Builder<Watchdog.Builder> implements WatchdogOrBuilder
Envoy process watchdog configuration. When configured, this monitors for
nonresponsive threads and kills the process after the configured thresholds.
See the :ref:`watchdog documentation <operations_performance_watchdog>` for more information.
[#next-free-field: 8]
Protobuf type envoy.config.bootstrap.v3.Watchdog
  • Method Summary

    Modifier and Type
    Method
    Description
    Register actions that will fire on given WatchDog events.
    addActions(int index, Watchdog.WatchdogAction.Builder builderForValue)
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
    addActionsBuilder(int index)
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
     
     
     
    Register actions that will fire on given WatchDog events.
    If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.
    Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.
    Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.
    If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.
    getActions(int index)
    Register actions that will fire on given WatchDog events.
    getActionsBuilder(int index)
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
    int
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Duration
    If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.
    com.google.protobuf.Duration.Builder
    If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.
    com.google.protobuf.DurationOrBuilder
    If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.
    com.google.protobuf.Duration
    Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.
    com.google.protobuf.Duration.Builder
    Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.
    com.google.protobuf.DurationOrBuilder
    Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.
    com.google.protobuf.Duration
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.
    com.google.protobuf.Duration.Builder
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.
    com.google.protobuf.DurationOrBuilder
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.
    com.google.protobuf.Duration
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.
    com.google.protobuf.Duration.Builder
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.
    com.google.protobuf.DurationOrBuilder
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.
    Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.
    Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.
    Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.
    com.google.protobuf.Duration
    If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.
    com.google.protobuf.Duration.Builder
    If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.
    com.google.protobuf.DurationOrBuilder
    If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.
    boolean
    If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.
    boolean
    Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.
    boolean
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.
    boolean
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.
    boolean
    Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.
    boolean
    If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeKillTimeout(com.google.protobuf.Duration value)
    If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.
    mergeMaxKillTimeoutJitter(com.google.protobuf.Duration value)
    Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.
    mergeMegamissTimeout(com.google.protobuf.Duration value)
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.
    mergeMissTimeout(com.google.protobuf.Duration value)
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.
    Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.
    mergeMultikillTimeout(com.google.protobuf.Duration value)
    If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.
    removeActions(int index)
    Register actions that will fire on given WatchDog events.
    Register actions that will fire on given WatchDog events.
    setActions(int index, Watchdog.WatchdogAction.Builder builderForValue)
    Register actions that will fire on given WatchDog events.
    setKillTimeout(com.google.protobuf.Duration value)
    If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.
    setKillTimeout(com.google.protobuf.Duration.Builder builderForValue)
    If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.
    setMaxKillTimeoutJitter(com.google.protobuf.Duration value)
    Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.
    setMaxKillTimeoutJitter(com.google.protobuf.Duration.Builder builderForValue)
    Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.
    setMegamissTimeout(com.google.protobuf.Duration value)
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.
    setMegamissTimeout(com.google.protobuf.Duration.Builder builderForValue)
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.
    setMissTimeout(com.google.protobuf.Duration value)
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.
    setMissTimeout(com.google.protobuf.Duration.Builder builderForValue)
    The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.
    Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.
    Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.
    setMultikillTimeout(com.google.protobuf.Duration value)
    If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.
    setMultikillTimeout(com.google.protobuf.Duration.Builder builderForValue)
    If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<Watchdog.Builder>
    • clear

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

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

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

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

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

      public Watchdog.Builder mergeFrom(Watchdog other)
    • isInitialized

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

      public Watchdog.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<Watchdog.Builder>
      Throws:
      IOException
    • getActionsList

      public List<Watchdog.WatchdogAction> getActionsList()
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
      Specified by:
      getActionsList in interface WatchdogOrBuilder
    • getActionsCount

      public int getActionsCount()
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
      Specified by:
      getActionsCount in interface WatchdogOrBuilder
    • getActions

      public Watchdog.WatchdogAction getActions(int index)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
      Specified by:
      getActions in interface WatchdogOrBuilder
    • setActions

      public Watchdog.Builder setActions(int index, Watchdog.WatchdogAction value)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • setActions

      public Watchdog.Builder setActions(int index, Watchdog.WatchdogAction.Builder builderForValue)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • addActions

      public Watchdog.Builder addActions(Watchdog.WatchdogAction value)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • addActions

      public Watchdog.Builder addActions(int index, Watchdog.WatchdogAction value)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • addActions

      public Watchdog.Builder addActions(Watchdog.WatchdogAction.Builder builderForValue)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • addActions

      public Watchdog.Builder addActions(int index, Watchdog.WatchdogAction.Builder builderForValue)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • addAllActions

      public Watchdog.Builder addAllActions(Iterable<? extends Watchdog.WatchdogAction> values)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • clearActions

      public Watchdog.Builder clearActions()
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • removeActions

      public Watchdog.Builder removeActions(int index)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • getActionsBuilder

      public Watchdog.WatchdogAction.Builder getActionsBuilder(int index)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • getActionsOrBuilder

      public Watchdog.WatchdogActionOrBuilder getActionsOrBuilder(int index)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
      Specified by:
      getActionsOrBuilder in interface WatchdogOrBuilder
    • getActionsOrBuilderList

      public List<? extends Watchdog.WatchdogActionOrBuilder> getActionsOrBuilderList()
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
      Specified by:
      getActionsOrBuilderList in interface WatchdogOrBuilder
    • addActionsBuilder

      public Watchdog.WatchdogAction.Builder addActionsBuilder()
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • addActionsBuilder

      public Watchdog.WatchdogAction.Builder addActionsBuilder(int index)
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • getActionsBuilderList

      public List<Watchdog.WatchdogAction.Builder> getActionsBuilderList()
      Register actions that will fire on given WatchDog events.
      See ``WatchDogAction`` for priority of events.
      
      repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7;
    • hasMissTimeout

      public boolean hasMissTimeout()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_miss`` statistic. If not specified the default is 200ms.
      
      .google.protobuf.Duration miss_timeout = 1;
      Specified by:
      hasMissTimeout in interface WatchdogOrBuilder
      Returns:
      Whether the missTimeout field is set.
    • getMissTimeout

      public com.google.protobuf.Duration getMissTimeout()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_miss`` statistic. If not specified the default is 200ms.
      
      .google.protobuf.Duration miss_timeout = 1;
      Specified by:
      getMissTimeout in interface WatchdogOrBuilder
      Returns:
      The missTimeout.
    • setMissTimeout

      public Watchdog.Builder setMissTimeout(com.google.protobuf.Duration value)
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_miss`` statistic. If not specified the default is 200ms.
      
      .google.protobuf.Duration miss_timeout = 1;
    • setMissTimeout

      public Watchdog.Builder setMissTimeout(com.google.protobuf.Duration.Builder builderForValue)
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_miss`` statistic. If not specified the default is 200ms.
      
      .google.protobuf.Duration miss_timeout = 1;
    • mergeMissTimeout

      public Watchdog.Builder mergeMissTimeout(com.google.protobuf.Duration value)
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_miss`` statistic. If not specified the default is 200ms.
      
      .google.protobuf.Duration miss_timeout = 1;
    • clearMissTimeout

      public Watchdog.Builder clearMissTimeout()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_miss`` statistic. If not specified the default is 200ms.
      
      .google.protobuf.Duration miss_timeout = 1;
    • getMissTimeoutBuilder

      public com.google.protobuf.Duration.Builder getMissTimeoutBuilder()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_miss`` statistic. If not specified the default is 200ms.
      
      .google.protobuf.Duration miss_timeout = 1;
    • getMissTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getMissTimeoutOrBuilder()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_miss`` statistic. If not specified the default is 200ms.
      
      .google.protobuf.Duration miss_timeout = 1;
      Specified by:
      getMissTimeoutOrBuilder in interface WatchdogOrBuilder
    • hasMegamissTimeout

      public boolean hasMegamissTimeout()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_mega_miss`` statistic. If not specified the default is
      1000ms.
      
      .google.protobuf.Duration megamiss_timeout = 2;
      Specified by:
      hasMegamissTimeout in interface WatchdogOrBuilder
      Returns:
      Whether the megamissTimeout field is set.
    • getMegamissTimeout

      public com.google.protobuf.Duration getMegamissTimeout()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_mega_miss`` statistic. If not specified the default is
      1000ms.
      
      .google.protobuf.Duration megamiss_timeout = 2;
      Specified by:
      getMegamissTimeout in interface WatchdogOrBuilder
      Returns:
      The megamissTimeout.
    • setMegamissTimeout

      public Watchdog.Builder setMegamissTimeout(com.google.protobuf.Duration value)
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_mega_miss`` statistic. If not specified the default is
      1000ms.
      
      .google.protobuf.Duration megamiss_timeout = 2;
    • setMegamissTimeout

      public Watchdog.Builder setMegamissTimeout(com.google.protobuf.Duration.Builder builderForValue)
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_mega_miss`` statistic. If not specified the default is
      1000ms.
      
      .google.protobuf.Duration megamiss_timeout = 2;
    • mergeMegamissTimeout

      public Watchdog.Builder mergeMegamissTimeout(com.google.protobuf.Duration value)
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_mega_miss`` statistic. If not specified the default is
      1000ms.
      
      .google.protobuf.Duration megamiss_timeout = 2;
    • clearMegamissTimeout

      public Watchdog.Builder clearMegamissTimeout()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_mega_miss`` statistic. If not specified the default is
      1000ms.
      
      .google.protobuf.Duration megamiss_timeout = 2;
    • getMegamissTimeoutBuilder

      public com.google.protobuf.Duration.Builder getMegamissTimeoutBuilder()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_mega_miss`` statistic. If not specified the default is
      1000ms.
      
      .google.protobuf.Duration megamiss_timeout = 2;
    • getMegamissTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getMegamissTimeoutOrBuilder()
      The duration after which Envoy counts a nonresponsive thread in the
      ``watchdog_mega_miss`` statistic. If not specified the default is
      1000ms.
      
      .google.protobuf.Duration megamiss_timeout = 2;
      Specified by:
      getMegamissTimeoutOrBuilder in interface WatchdogOrBuilder
    • hasKillTimeout

      public boolean hasKillTimeout()
      If a watched thread has been nonresponsive for this duration, assume a
      programming error and kill the entire Envoy process. Set to 0 to disable
      kill behavior. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration kill_timeout = 3;
      Specified by:
      hasKillTimeout in interface WatchdogOrBuilder
      Returns:
      Whether the killTimeout field is set.
    • getKillTimeout

      public com.google.protobuf.Duration getKillTimeout()
      If a watched thread has been nonresponsive for this duration, assume a
      programming error and kill the entire Envoy process. Set to 0 to disable
      kill behavior. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration kill_timeout = 3;
      Specified by:
      getKillTimeout in interface WatchdogOrBuilder
      Returns:
      The killTimeout.
    • setKillTimeout

      public Watchdog.Builder setKillTimeout(com.google.protobuf.Duration value)
      If a watched thread has been nonresponsive for this duration, assume a
      programming error and kill the entire Envoy process. Set to 0 to disable
      kill behavior. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration kill_timeout = 3;
    • setKillTimeout

      public Watchdog.Builder setKillTimeout(com.google.protobuf.Duration.Builder builderForValue)
      If a watched thread has been nonresponsive for this duration, assume a
      programming error and kill the entire Envoy process. Set to 0 to disable
      kill behavior. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration kill_timeout = 3;
    • mergeKillTimeout

      public Watchdog.Builder mergeKillTimeout(com.google.protobuf.Duration value)
      If a watched thread has been nonresponsive for this duration, assume a
      programming error and kill the entire Envoy process. Set to 0 to disable
      kill behavior. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration kill_timeout = 3;
    • clearKillTimeout

      public Watchdog.Builder clearKillTimeout()
      If a watched thread has been nonresponsive for this duration, assume a
      programming error and kill the entire Envoy process. Set to 0 to disable
      kill behavior. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration kill_timeout = 3;
    • getKillTimeoutBuilder

      public com.google.protobuf.Duration.Builder getKillTimeoutBuilder()
      If a watched thread has been nonresponsive for this duration, assume a
      programming error and kill the entire Envoy process. Set to 0 to disable
      kill behavior. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration kill_timeout = 3;
    • getKillTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getKillTimeoutOrBuilder()
      If a watched thread has been nonresponsive for this duration, assume a
      programming error and kill the entire Envoy process. Set to 0 to disable
      kill behavior. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration kill_timeout = 3;
      Specified by:
      getKillTimeoutOrBuilder in interface WatchdogOrBuilder
    • hasMaxKillTimeoutJitter

      public boolean hasMaxKillTimeoutJitter()
      Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is
      enabled. Enabling this feature would help to reduce risk of synchronized
      watchdog kill events across proxies due to external triggers. Set to 0 to
      disable. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }
      Specified by:
      hasMaxKillTimeoutJitter in interface WatchdogOrBuilder
      Returns:
      Whether the maxKillTimeoutJitter field is set.
    • getMaxKillTimeoutJitter

      public com.google.protobuf.Duration getMaxKillTimeoutJitter()
      Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is
      enabled. Enabling this feature would help to reduce risk of synchronized
      watchdog kill events across proxies due to external triggers. Set to 0 to
      disable. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }
      Specified by:
      getMaxKillTimeoutJitter in interface WatchdogOrBuilder
      Returns:
      The maxKillTimeoutJitter.
    • setMaxKillTimeoutJitter

      public Watchdog.Builder setMaxKillTimeoutJitter(com.google.protobuf.Duration value)
      Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is
      enabled. Enabling this feature would help to reduce risk of synchronized
      watchdog kill events across proxies due to external triggers. Set to 0 to
      disable. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }
    • setMaxKillTimeoutJitter

      public Watchdog.Builder setMaxKillTimeoutJitter(com.google.protobuf.Duration.Builder builderForValue)
      Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is
      enabled. Enabling this feature would help to reduce risk of synchronized
      watchdog kill events across proxies due to external triggers. Set to 0 to
      disable. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }
    • mergeMaxKillTimeoutJitter

      public Watchdog.Builder mergeMaxKillTimeoutJitter(com.google.protobuf.Duration value)
      Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is
      enabled. Enabling this feature would help to reduce risk of synchronized
      watchdog kill events across proxies due to external triggers. Set to 0 to
      disable. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }
    • clearMaxKillTimeoutJitter

      public Watchdog.Builder clearMaxKillTimeoutJitter()
      Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is
      enabled. Enabling this feature would help to reduce risk of synchronized
      watchdog kill events across proxies due to external triggers. Set to 0 to
      disable. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }
    • getMaxKillTimeoutJitterBuilder

      public com.google.protobuf.Duration.Builder getMaxKillTimeoutJitterBuilder()
      Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is
      enabled. Enabling this feature would help to reduce risk of synchronized
      watchdog kill events across proxies due to external triggers. Set to 0 to
      disable. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }
    • getMaxKillTimeoutJitterOrBuilder

      public com.google.protobuf.DurationOrBuilder getMaxKillTimeoutJitterOrBuilder()
      Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is
      enabled. Enabling this feature would help to reduce risk of synchronized
      watchdog kill events across proxies due to external triggers. Set to 0 to
      disable. If not specified the default is 0 (disabled).
      
      .google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }
      Specified by:
      getMaxKillTimeoutJitterOrBuilder in interface WatchdogOrBuilder
    • hasMultikillTimeout

      public boolean hasMultikillTimeout()
      If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))``
      threads have been nonresponsive for at least this duration kill the entire
      Envoy process. Set to 0 to disable this behavior. If not specified the
      default is 0 (disabled).
      
      .google.protobuf.Duration multikill_timeout = 4;
      Specified by:
      hasMultikillTimeout in interface WatchdogOrBuilder
      Returns:
      Whether the multikillTimeout field is set.
    • getMultikillTimeout

      public com.google.protobuf.Duration getMultikillTimeout()
      If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))``
      threads have been nonresponsive for at least this duration kill the entire
      Envoy process. Set to 0 to disable this behavior. If not specified the
      default is 0 (disabled).
      
      .google.protobuf.Duration multikill_timeout = 4;
      Specified by:
      getMultikillTimeout in interface WatchdogOrBuilder
      Returns:
      The multikillTimeout.
    • setMultikillTimeout

      public Watchdog.Builder setMultikillTimeout(com.google.protobuf.Duration value)
      If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))``
      threads have been nonresponsive for at least this duration kill the entire
      Envoy process. Set to 0 to disable this behavior. If not specified the
      default is 0 (disabled).
      
      .google.protobuf.Duration multikill_timeout = 4;
    • setMultikillTimeout

      public Watchdog.Builder setMultikillTimeout(com.google.protobuf.Duration.Builder builderForValue)
      If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))``
      threads have been nonresponsive for at least this duration kill the entire
      Envoy process. Set to 0 to disable this behavior. If not specified the
      default is 0 (disabled).
      
      .google.protobuf.Duration multikill_timeout = 4;
    • mergeMultikillTimeout

      public Watchdog.Builder mergeMultikillTimeout(com.google.protobuf.Duration value)
      If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))``
      threads have been nonresponsive for at least this duration kill the entire
      Envoy process. Set to 0 to disable this behavior. If not specified the
      default is 0 (disabled).
      
      .google.protobuf.Duration multikill_timeout = 4;
    • clearMultikillTimeout

      public Watchdog.Builder clearMultikillTimeout()
      If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))``
      threads have been nonresponsive for at least this duration kill the entire
      Envoy process. Set to 0 to disable this behavior. If not specified the
      default is 0 (disabled).
      
      .google.protobuf.Duration multikill_timeout = 4;
    • getMultikillTimeoutBuilder

      public com.google.protobuf.Duration.Builder getMultikillTimeoutBuilder()
      If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))``
      threads have been nonresponsive for at least this duration kill the entire
      Envoy process. Set to 0 to disable this behavior. If not specified the
      default is 0 (disabled).
      
      .google.protobuf.Duration multikill_timeout = 4;
    • getMultikillTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getMultikillTimeoutOrBuilder()
      If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))``
      threads have been nonresponsive for at least this duration kill the entire
      Envoy process. Set to 0 to disable this behavior. If not specified the
      default is 0 (disabled).
      
      .google.protobuf.Duration multikill_timeout = 4;
      Specified by:
      getMultikillTimeoutOrBuilder in interface WatchdogOrBuilder
    • hasMultikillThreshold

      public boolean hasMultikillThreshold()
      Sets the threshold for ``multikill_timeout`` in terms of the percentage of
      nonresponsive threads required for the ``multikill_timeout``.
      If not specified the default is 0.
      
      .envoy.type.v3.Percent multikill_threshold = 5;
      Specified by:
      hasMultikillThreshold in interface WatchdogOrBuilder
      Returns:
      Whether the multikillThreshold field is set.
    • getMultikillThreshold

      public Percent getMultikillThreshold()
      Sets the threshold for ``multikill_timeout`` in terms of the percentage of
      nonresponsive threads required for the ``multikill_timeout``.
      If not specified the default is 0.
      
      .envoy.type.v3.Percent multikill_threshold = 5;
      Specified by:
      getMultikillThreshold in interface WatchdogOrBuilder
      Returns:
      The multikillThreshold.
    • setMultikillThreshold

      public Watchdog.Builder setMultikillThreshold(Percent value)
      Sets the threshold for ``multikill_timeout`` in terms of the percentage of
      nonresponsive threads required for the ``multikill_timeout``.
      If not specified the default is 0.
      
      .envoy.type.v3.Percent multikill_threshold = 5;
    • setMultikillThreshold

      public Watchdog.Builder setMultikillThreshold(Percent.Builder builderForValue)
      Sets the threshold for ``multikill_timeout`` in terms of the percentage of
      nonresponsive threads required for the ``multikill_timeout``.
      If not specified the default is 0.
      
      .envoy.type.v3.Percent multikill_threshold = 5;
    • mergeMultikillThreshold

      public Watchdog.Builder mergeMultikillThreshold(Percent value)
      Sets the threshold for ``multikill_timeout`` in terms of the percentage of
      nonresponsive threads required for the ``multikill_timeout``.
      If not specified the default is 0.
      
      .envoy.type.v3.Percent multikill_threshold = 5;
    • clearMultikillThreshold

      public Watchdog.Builder clearMultikillThreshold()
      Sets the threshold for ``multikill_timeout`` in terms of the percentage of
      nonresponsive threads required for the ``multikill_timeout``.
      If not specified the default is 0.
      
      .envoy.type.v3.Percent multikill_threshold = 5;
    • getMultikillThresholdBuilder

      public Percent.Builder getMultikillThresholdBuilder()
      Sets the threshold for ``multikill_timeout`` in terms of the percentage of
      nonresponsive threads required for the ``multikill_timeout``.
      If not specified the default is 0.
      
      .envoy.type.v3.Percent multikill_threshold = 5;
    • getMultikillThresholdOrBuilder

      public PercentOrBuilder getMultikillThresholdOrBuilder()
      Sets the threshold for ``multikill_timeout`` in terms of the percentage of
      nonresponsive threads required for the ``multikill_timeout``.
      If not specified the default is 0.
      
      .envoy.type.v3.Percent multikill_threshold = 5;
      Specified by:
      getMultikillThresholdOrBuilder in interface WatchdogOrBuilder