Class AbortActionConfig.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AbortActionConfigOrBuilder, Cloneable
    Enclosing class:
    AbortActionConfig

    public static final class AbortActionConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AbortActionConfig.Builder>
    implements AbortActionConfigOrBuilder
     A GuardDogAction that will terminate the process by killing the
     stuck thread. This would allow easier access to the call stack of the stuck
     thread since we would run signal handlers on that thread. By default
     this will be registered to run as the last watchdog action on KILL and
     MULTIKILL events if those are enabled.
     
    Protobuf type envoy.watchdog.v3.AbortActionConfig
    • 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<AbortActionConfig.Builder>
      • clear

        public AbortActionConfig.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<AbortActionConfig.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<AbortActionConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public AbortActionConfig.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<AbortActionConfig.Builder>
      • setField

        public AbortActionConfig.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<AbortActionConfig.Builder>
      • clearField

        public AbortActionConfig.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<AbortActionConfig.Builder>
      • clearOneof

        public AbortActionConfig.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<AbortActionConfig.Builder>
      • setRepeatedField

        public AbortActionConfig.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<AbortActionConfig.Builder>
      • addRepeatedField

        public AbortActionConfig.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<AbortActionConfig.Builder>
      • mergeFrom

        public AbortActionConfig.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<AbortActionConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AbortActionConfig.Builder>
      • mergeFrom

        public AbortActionConfig.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<AbortActionConfig.Builder>
        Throws:
        IOException
      • hasWaitDuration

        public boolean hasWaitDuration()
         How long to wait for the thread to respond to the thread kill function
         before killing the process from this action. This is a blocking action.
         By default this is 5 seconds.
         
        .google.protobuf.Duration wait_duration = 1;
        Specified by:
        hasWaitDuration in interface AbortActionConfigOrBuilder
        Returns:
        Whether the waitDuration field is set.
      • getWaitDuration

        public com.google.protobuf.Duration getWaitDuration()
         How long to wait for the thread to respond to the thread kill function
         before killing the process from this action. This is a blocking action.
         By default this is 5 seconds.
         
        .google.protobuf.Duration wait_duration = 1;
        Specified by:
        getWaitDuration in interface AbortActionConfigOrBuilder
        Returns:
        The waitDuration.
      • setWaitDuration

        public AbortActionConfig.Builder setWaitDuration​(com.google.protobuf.Duration value)
         How long to wait for the thread to respond to the thread kill function
         before killing the process from this action. This is a blocking action.
         By default this is 5 seconds.
         
        .google.protobuf.Duration wait_duration = 1;
      • setWaitDuration

        public AbortActionConfig.Builder setWaitDuration​(com.google.protobuf.Duration.Builder builderForValue)
         How long to wait for the thread to respond to the thread kill function
         before killing the process from this action. This is a blocking action.
         By default this is 5 seconds.
         
        .google.protobuf.Duration wait_duration = 1;
      • mergeWaitDuration

        public AbortActionConfig.Builder mergeWaitDuration​(com.google.protobuf.Duration value)
         How long to wait for the thread to respond to the thread kill function
         before killing the process from this action. This is a blocking action.
         By default this is 5 seconds.
         
        .google.protobuf.Duration wait_duration = 1;
      • clearWaitDuration

        public AbortActionConfig.Builder clearWaitDuration()
         How long to wait for the thread to respond to the thread kill function
         before killing the process from this action. This is a blocking action.
         By default this is 5 seconds.
         
        .google.protobuf.Duration wait_duration = 1;
      • getWaitDurationBuilder

        public com.google.protobuf.Duration.Builder getWaitDurationBuilder()
         How long to wait for the thread to respond to the thread kill function
         before killing the process from this action. This is a blocking action.
         By default this is 5 seconds.
         
        .google.protobuf.Duration wait_duration = 1;
      • getWaitDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getWaitDurationOrBuilder()
         How long to wait for the thread to respond to the thread kill function
         before killing the process from this action. This is a blocking action.
         By default this is 5 seconds.
         
        .google.protobuf.Duration wait_duration = 1;
        Specified by:
        getWaitDurationOrBuilder in interface AbortActionConfigOrBuilder
      • setUnknownFields

        public final AbortActionConfig.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<AbortActionConfig.Builder>
      • mergeUnknownFields

        public final AbortActionConfig.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<AbortActionConfig.Builder>