Class Watchdog.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
io.envoyproxy.envoy.config.bootstrap.v2.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.GeneratedMessageV3.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.Protobuf type
envoy.config.bootstrap.v2.Watchdog-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.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.If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationIf a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.com.google.protobuf.Duration.BuilderIf a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.com.google.protobuf.DurationOrBuilderIf a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.com.google.protobuf.DurationThe duration after which Envoy counts a nonresponsive thread in the *watchdog_mega_miss* statistic.com.google.protobuf.Duration.BuilderThe duration after which Envoy counts a nonresponsive thread in the *watchdog_mega_miss* statistic.com.google.protobuf.DurationOrBuilderThe duration after which Envoy counts a nonresponsive thread in the *watchdog_mega_miss* statistic.com.google.protobuf.DurationThe duration after which Envoy counts a nonresponsive thread in the *watchdog_miss* statistic.com.google.protobuf.Duration.BuilderThe duration after which Envoy counts a nonresponsive thread in the *watchdog_miss* statistic.com.google.protobuf.DurationOrBuilderThe duration after which Envoy counts a nonresponsive thread in the *watchdog_miss* statistic.com.google.protobuf.DurationIf at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process.com.google.protobuf.Duration.BuilderIf at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process.com.google.protobuf.DurationOrBuilderIf at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process.booleanIf a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.booleanThe duration after which Envoy counts a nonresponsive thread in the *watchdog_mega_miss* statistic.booleanThe duration after which Envoy counts a nonresponsive thread in the *watchdog_miss* statistic.booleanIf at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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.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.mergeMultikillTimeout(com.google.protobuf.Duration value) If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process.final Watchdog.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.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.setMultikillTimeout(com.google.protobuf.Duration value) If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process.setMultikillTimeout(com.google.protobuf.Duration.Builder builderForValue) If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Watchdog.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
setField
public Watchdog.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
setRepeatedField
public Watchdog.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
addRepeatedField
public Watchdog.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Watchdog.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
mergeFrom
public Watchdog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Watchdog.Builder>- Throws:
IOException
-
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:
hasMissTimeoutin interfaceWatchdogOrBuilder- 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:
getMissTimeoutin interfaceWatchdogOrBuilder- Returns:
- The missTimeout.
-
setMissTimeout
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
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
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
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:
getMissTimeoutOrBuilderin interfaceWatchdogOrBuilder
-
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:
hasMegamissTimeoutin interfaceWatchdogOrBuilder- 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:
getMegamissTimeoutin interfaceWatchdogOrBuilder- Returns:
- The megamissTimeout.
-
setMegamissTimeout
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
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
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
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:
getMegamissTimeoutOrBuilderin interfaceWatchdogOrBuilder
-
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:
hasKillTimeoutin interfaceWatchdogOrBuilder- 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:
getKillTimeoutin interfaceWatchdogOrBuilder- Returns:
- The killTimeout.
-
setKillTimeout
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
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
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
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:
getKillTimeoutOrBuilderin interfaceWatchdogOrBuilder
-
hasMultikillTimeout
public boolean hasMultikillTimeout()If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and 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:
hasMultikillTimeoutin interfaceWatchdogOrBuilder- Returns:
- Whether the multikillTimeout field is set.
-
getMultikillTimeout
public com.google.protobuf.Duration getMultikillTimeout()If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and 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:
getMultikillTimeoutin interfaceWatchdogOrBuilder- Returns:
- The multikillTimeout.
-
setMultikillTimeout
If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and 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
If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and 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
If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and 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
If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and 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 at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and 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 at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and 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:
getMultikillTimeoutOrBuilderin interfaceWatchdogOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Watchdog.Builder>
-