Class 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.GeneratedMessageV3.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
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>
      • 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public Watchdogs.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>
      • setField

        public Watchdogs.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>
      • clearField

        public Watchdogs.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>
      • clearOneof

        public Watchdogs.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>
      • setRepeatedField

        public Watchdogs.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  int index,
                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>
      • addRepeatedField

        public Watchdogs.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>
      • 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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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;
      • 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;
      • setUnknownFields

        public final Watchdogs.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>
      • mergeUnknownFields

        public final Watchdogs.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Watchdogs.Builder>