Class Watchdogs.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Watchdogs.Builder>
com.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WatchdogsOrBuilder,Cloneable
- Enclosing class:
Watchdogs
public static final class Watchdogs.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
implements WatchdogsOrBuilder
Allows you to specify different watchdog configs for different subsystems. This allows finer tuned policies for the watchdog. If a subsystem is omitted the default values for that system will be used.Protobuf type
envoy.config.bootstrap.v3.Watchdogs-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Watchdogprivate com.google.protobuf.SingleFieldBuilder<Watchdog, Watchdog.Builder, WatchdogOrBuilder> private Watchdogprivate com.google.protobuf.SingleFieldBuilder<Watchdog, Watchdog.Builder, WatchdogOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(Watchdogs result) clear()Watchdog for the main thread.Watchdog for the worker threads.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorWatchdog for the main thread.Watchdog for the main thread.Watchdog for the main thread.Watchdog for the worker threads.Watchdog for the worker threads.Watchdog for the worker threads.booleanWatchdog for the main thread.booleanWatchdog for the worker threads.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<Watchdog, Watchdog.Builder, WatchdogOrBuilder> Watchdog for the main thread.private com.google.protobuf.SingleFieldBuilder<Watchdog, Watchdog.Builder, WatchdogOrBuilder> Watchdog for the worker threads.final booleanprivate voidmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMainThreadWatchdog(Watchdog value) Watchdog for the main thread.mergeWorkerWatchdog(Watchdog value) Watchdog for the worker threads.setMainThreadWatchdog(Watchdog value) Watchdog for the main thread.setMainThreadWatchdog(Watchdog.Builder builderForValue) Watchdog for the main thread.setWorkerWatchdog(Watchdog value) Watchdog for the worker threads.setWorkerWatchdog(Watchdog.Builder builderForValue) Watchdog for the worker threads.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, 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
-
Field Details
-
bitField0_
private int bitField0_ -
mainThreadWatchdog_
-
mainThreadWatchdogBuilder_
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder, mainThreadWatchdogBuilder_WatchdogOrBuilder> -
workerWatchdog_
-
workerWatchdogBuilder_
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder, workerWatchdogBuilder_WatchdogOrBuilder>
-
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Watchdogs.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.GeneratedMessage.Builder<Watchdogs.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
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Watchdogs.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
-
mergeFrom
public Watchdogs.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<Watchdogs.Builder>- Throws:
IOException
-
hasMainThreadWatchdog
public boolean hasMainThreadWatchdog()Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;- Specified by:
hasMainThreadWatchdogin interfaceWatchdogsOrBuilder- Returns:
- Whether the mainThreadWatchdog field is set.
-
getMainThreadWatchdog
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;- Specified by:
getMainThreadWatchdogin interfaceWatchdogsOrBuilder- Returns:
- The mainThreadWatchdog.
-
setMainThreadWatchdog
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1; -
setMainThreadWatchdog
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1; -
mergeMainThreadWatchdog
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1; -
clearMainThreadWatchdog
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1; -
getMainThreadWatchdogBuilder
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1; -
getMainThreadWatchdogOrBuilder
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;- Specified by:
getMainThreadWatchdogOrBuilderin interfaceWatchdogsOrBuilder
-
internalGetMainThreadWatchdogFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder, internalGetMainThreadWatchdogFieldBuilder()WatchdogOrBuilder> Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1; -
hasWorkerWatchdog
public boolean hasWorkerWatchdog()Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;- Specified by:
hasWorkerWatchdogin interfaceWatchdogsOrBuilder- Returns:
- Whether the workerWatchdog field is set.
-
getWorkerWatchdog
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;- Specified by:
getWorkerWatchdogin interfaceWatchdogsOrBuilder- Returns:
- The workerWatchdog.
-
setWorkerWatchdog
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2; -
setWorkerWatchdog
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2; -
mergeWorkerWatchdog
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2; -
clearWorkerWatchdog
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2; -
getWorkerWatchdogBuilder
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2; -
getWorkerWatchdogOrBuilder
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;- Specified by:
getWorkerWatchdogOrBuilderin interfaceWatchdogsOrBuilder
-
internalGetWorkerWatchdogFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder, internalGetWorkerWatchdogFieldBuilder()WatchdogOrBuilder> Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
-