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 int
bitField0_
private Watchdog
mainThreadWatchdog_
private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder>
mainThreadWatchdogBuilder_
private Watchdog
workerWatchdog_
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 Watchdogs
build()
Watchdogs
buildPartial()
private void
buildPartial0(Watchdogs result)
Watchdogs.Builder
clear()
Watchdogs.Builder
clearMainThreadWatchdog()
Watchdog for the main thread.Watchdogs.Builder
clearWorkerWatchdog()
Watchdog for the worker threads.Watchdogs
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Watchdog
getMainThreadWatchdog()
Watchdog for the main thread.Watchdog.Builder
getMainThreadWatchdogBuilder()
Watchdog for the main thread.private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder>
getMainThreadWatchdogFieldBuilder()
Watchdog for the main thread.WatchdogOrBuilder
getMainThreadWatchdogOrBuilder()
Watchdog for the main thread.Watchdog
getWorkerWatchdog()
Watchdog for the worker threads.Watchdog.Builder
getWorkerWatchdogBuilder()
Watchdog for the worker threads.private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder>
getWorkerWatchdogFieldBuilder()
Watchdog for the worker threads.WatchdogOrBuilder
getWorkerWatchdogOrBuilder()
Watchdog for the worker threads.boolean
hasMainThreadWatchdog()
Watchdog for the main thread.boolean
hasWorkerWatchdog()
Watchdog for the worker threads.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Watchdogs.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Watchdogs.Builder
mergeFrom(com.google.protobuf.Message other)
Watchdogs.Builder
mergeFrom(Watchdogs other)
Watchdogs.Builder
mergeMainThreadWatchdog(Watchdog value)
Watchdog for the main thread.Watchdogs.Builder
mergeWorkerWatchdog(Watchdog value)
Watchdog for the worker threads.Watchdogs.Builder
setMainThreadWatchdog(Watchdog value)
Watchdog for the main thread.Watchdogs.Builder
setMainThreadWatchdog(Watchdog.Builder builderForValue)
Watchdog for the main thread.Watchdogs.Builder
setWorkerWatchdog(Watchdog value)
Watchdog for the worker threads.Watchdogs.Builder
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
-
-
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Watchdogs.Builder 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
public Watchdogs getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Watchdogs build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Watchdogs buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Watchdogs result)
-
mergeFrom
public Watchdogs.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Watchdogs.Builder>
-
mergeFrom
public Watchdogs.Builder mergeFrom(Watchdogs other)
-
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 java.io.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:
java.io.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
public Watchdog getMainThreadWatchdog()
Watchdog for the main thread.
.envoy.config.bootstrap.v3.Watchdog main_thread_watchdog = 1;
- Specified by:
getMainThreadWatchdog
in 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:
getMainThreadWatchdogOrBuilder
in 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:
hasWorkerWatchdog
in 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:
getWorkerWatchdog
in 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:
getWorkerWatchdogOrBuilder
in 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;
-
-