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 int
private Watchdog
private com.google.protobuf.SingleFieldBuilder
<Watchdog, Watchdog.Builder, WatchdogOrBuilder> private Watchdog
private com.google.protobuf.SingleFieldBuilder
<Watchdog, Watchdog.Builder, WatchdogOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(Watchdogs result) clear()
Watchdog for the main thread.Watchdog for the worker threads.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Watchdog for the main thread.Watchdog for the main thread.private com.google.protobuf.SingleFieldBuilder
<Watchdog, Watchdog.Builder, WatchdogOrBuilder> Watchdog for the main thread.Watchdog for the main thread.Watchdog for the worker threads.Watchdog for the worker threads.private com.google.protobuf.SingleFieldBuilder
<Watchdog, Watchdog.Builder, WatchdogOrBuilder> Watchdog for the worker threads.Watchdog for the worker threads.boolean
Watchdog for the main thread.boolean
Watchdog for the worker threads.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeFrom
(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, 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 java.lang.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
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Watchdogs.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasMainThreadWatchdog
in 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:
getMainThreadWatchdog
in 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:
getMainThreadWatchdogOrBuilder
in interfaceWatchdogsOrBuilder
-
getMainThreadWatchdogFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder, getMainThreadWatchdogFieldBuilder()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:
hasWorkerWatchdog
in interfaceWatchdogsOrBuilder
- Returns:
- Whether the workerWatchdog field is set.
-
getWorkerWatchdog
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
- Specified by:
getWorkerWatchdog
in 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:
getWorkerWatchdogOrBuilder
in interfaceWatchdogsOrBuilder
-
getWorkerWatchdogFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder, getWorkerWatchdogFieldBuilder()WatchdogOrBuilder> Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
-