Class Watchdogs.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typeenvoy.config.bootstrap.v3.Watchdogs
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private WatchdogmainThreadWatchdog_private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder>mainThreadWatchdogBuilder_private WatchdogworkerWatchdog_private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder>workerWatchdogBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Watchdogsbuild()WatchdogsbuildPartial()private voidbuildPartial0(Watchdogs result)Watchdogs.Builderclear()Watchdogs.BuilderclearMainThreadWatchdog()Watchdog for the main thread.Watchdogs.BuilderclearWorkerWatchdog()Watchdog for the worker threads.WatchdogsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()WatchdoggetMainThreadWatchdog()Watchdog for the main thread.Watchdog.BuildergetMainThreadWatchdogBuilder()Watchdog for the main thread.private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder>getMainThreadWatchdogFieldBuilder()Watchdog for the main thread.WatchdogOrBuildergetMainThreadWatchdogOrBuilder()Watchdog for the main thread.WatchdoggetWorkerWatchdog()Watchdog for the worker threads.Watchdog.BuildergetWorkerWatchdogBuilder()Watchdog for the worker threads.private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder>getWorkerWatchdogFieldBuilder()Watchdog for the worker threads.WatchdogOrBuildergetWorkerWatchdogOrBuilder()Watchdog for the worker threads.booleanhasMainThreadWatchdog()Watchdog for the main thread.booleanhasWorkerWatchdog()Watchdog for the worker threads.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()Watchdogs.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Watchdogs.BuildermergeFrom(com.google.protobuf.Message other)Watchdogs.BuildermergeFrom(Watchdogs other)Watchdogs.BuildermergeMainThreadWatchdog(Watchdog value)Watchdog for the main thread.Watchdogs.BuildermergeWorkerWatchdog(Watchdog value)Watchdog for the worker threads.Watchdogs.BuildersetMainThreadWatchdog(Watchdog value)Watchdog for the main thread.Watchdogs.BuildersetMainThreadWatchdog(Watchdog.Builder builderForValue)Watchdog for the main thread.Watchdogs.BuildersetWorkerWatchdog(Watchdog value)Watchdog for the worker threads.Watchdogs.BuildersetWorkerWatchdog(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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
mainThreadWatchdog_
private Watchdog mainThreadWatchdog_
-
mainThreadWatchdogBuilder_
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder> mainThreadWatchdogBuilder_
-
workerWatchdog_
private Watchdog workerWatchdog_
-
workerWatchdogBuilder_
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder> workerWatchdogBuilder_
-
-
Method Detail
-
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
public Watchdogs.Builder 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
public Watchdogs getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Watchdogs build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Watchdogs buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Watchdogs result)
-
mergeFrom
public Watchdogs.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Watchdogs.Builder>
-
mergeFrom
public Watchdogs.Builder mergeFrom(Watchdogs other)
-
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 java.io.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:
java.io.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
public Watchdog getMainThreadWatchdog()
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;- Specified by:
getMainThreadWatchdogin interfaceWatchdogsOrBuilder- Returns:
- The mainThreadWatchdog.
-
setMainThreadWatchdog
public Watchdogs.Builder setMainThreadWatchdog(Watchdog value)
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;
-
setMainThreadWatchdog
public Watchdogs.Builder setMainThreadWatchdog(Watchdog.Builder builderForValue)
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;
-
mergeMainThreadWatchdog
public Watchdogs.Builder mergeMainThreadWatchdog(Watchdog value)
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;
-
clearMainThreadWatchdog
public Watchdogs.Builder clearMainThreadWatchdog()
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;
-
getMainThreadWatchdogBuilder
public Watchdog.Builder getMainThreadWatchdogBuilder()
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;
-
getMainThreadWatchdogOrBuilder
public WatchdogOrBuilder getMainThreadWatchdogOrBuilder()
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;- Specified by:
getMainThreadWatchdogOrBuilderin interfaceWatchdogsOrBuilder
-
getMainThreadWatchdogFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder> getMainThreadWatchdogFieldBuilder()
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
public Watchdog getWorkerWatchdog()
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;- Specified by:
getWorkerWatchdogin interfaceWatchdogsOrBuilder- Returns:
- The workerWatchdog.
-
setWorkerWatchdog
public Watchdogs.Builder setWorkerWatchdog(Watchdog value)
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
-
setWorkerWatchdog
public Watchdogs.Builder setWorkerWatchdog(Watchdog.Builder builderForValue)
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
-
mergeWorkerWatchdog
public Watchdogs.Builder mergeWorkerWatchdog(Watchdog value)
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
-
clearWorkerWatchdog
public Watchdogs.Builder clearWorkerWatchdog()
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
-
getWorkerWatchdogBuilder
public Watchdog.Builder getWorkerWatchdogBuilder()
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
-
getWorkerWatchdogOrBuilder
public WatchdogOrBuilder getWorkerWatchdogOrBuilder()
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;- Specified by:
getWorkerWatchdogOrBuilderin interfaceWatchdogsOrBuilder
-
getWorkerWatchdogFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder> getWorkerWatchdogFieldBuilder()
Watchdog for the worker threads.
.envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;
-
-