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 Details

  • 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 class com.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • clear

      public Watchdogs.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Watchdogs.Builder>
    • getDefaultInstanceForType

      public Watchdogs getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Watchdogs build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Watchdogs buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • buildPartial0

      private void buildPartial0(Watchdogs result)
    • mergeFrom

      public Watchdogs.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Watchdogs.Builder>
    • mergeFrom

      public Watchdogs.Builder mergeFrom(Watchdogs other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface WatchdogsOrBuilder
      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 interface WatchdogsOrBuilder
      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 interface WatchdogsOrBuilder
    • 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 interface WatchdogsOrBuilder
      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 interface WatchdogsOrBuilder
      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 interface WatchdogsOrBuilder
    • getWorkerWatchdogFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<Watchdog,Watchdog.Builder,WatchdogOrBuilder> getWorkerWatchdogFieldBuilder()
       Watchdog for the worker threads.
       
      .envoy.config.bootstrap.v3.Watchdog worker_watchdog = 2;