Class NodeKubeletConfig.CrashLoopBackOffConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NodeKubeletConfig.CrashLoopBackOffConfig.Builder>
com.google.container.v1.NodeKubeletConfig.CrashLoopBackOffConfig.Builder
All Implemented Interfaces:
NodeKubeletConfig.CrashLoopBackOffConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NodeKubeletConfig.CrashLoopBackOffConfig

public static final class NodeKubeletConfig.CrashLoopBackOffConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<NodeKubeletConfig.CrashLoopBackOffConfig.Builder> implements NodeKubeletConfig.CrashLoopBackOffConfigOrBuilder
 Contains config to modify node-level parameters for container restart
 behavior.
 
Protobuf type google.container.v1.NodeKubeletConfig.CrashLoopBackOffConfig
  • 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<NodeKubeletConfig.CrashLoopBackOffConfig.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<NodeKubeletConfig.CrashLoopBackOffConfig.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<NodeKubeletConfig.CrashLoopBackOffConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public NodeKubeletConfig.CrashLoopBackOffConfig.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<NodeKubeletConfig.CrashLoopBackOffConfig.Builder>
      Throws:
      IOException
    • getMaxContainerRestartPeriod

      public String getMaxContainerRestartPeriod()
       Optional. The maximum duration the backoff delay can accrue to for
       container restarts, minimum 1 second, maximum 300 seconds. If not set,
       defaults to the internal crashloopbackoff maximum.
      
       The string must be a sequence of decimal numbers, each with optional
       fraction and a unit suffix, such as "300ms".
       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
      
       See
       https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay
       for more details.
       
      string max_container_restart_period = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxContainerRestartPeriod in interface NodeKubeletConfig.CrashLoopBackOffConfigOrBuilder
      Returns:
      The maxContainerRestartPeriod.
    • getMaxContainerRestartPeriodBytes

      public com.google.protobuf.ByteString getMaxContainerRestartPeriodBytes()
       Optional. The maximum duration the backoff delay can accrue to for
       container restarts, minimum 1 second, maximum 300 seconds. If not set,
       defaults to the internal crashloopbackoff maximum.
      
       The string must be a sequence of decimal numbers, each with optional
       fraction and a unit suffix, such as "300ms".
       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
      
       See
       https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay
       for more details.
       
      string max_container_restart_period = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxContainerRestartPeriodBytes in interface NodeKubeletConfig.CrashLoopBackOffConfigOrBuilder
      Returns:
      The bytes for maxContainerRestartPeriod.
    • setMaxContainerRestartPeriod

      public NodeKubeletConfig.CrashLoopBackOffConfig.Builder setMaxContainerRestartPeriod(String value)
       Optional. The maximum duration the backoff delay can accrue to for
       container restarts, minimum 1 second, maximum 300 seconds. If not set,
       defaults to the internal crashloopbackoff maximum.
      
       The string must be a sequence of decimal numbers, each with optional
       fraction and a unit suffix, such as "300ms".
       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
      
       See
       https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay
       for more details.
       
      string max_container_restart_period = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The maxContainerRestartPeriod to set.
      Returns:
      This builder for chaining.
    • clearMaxContainerRestartPeriod

      public NodeKubeletConfig.CrashLoopBackOffConfig.Builder clearMaxContainerRestartPeriod()
       Optional. The maximum duration the backoff delay can accrue to for
       container restarts, minimum 1 second, maximum 300 seconds. If not set,
       defaults to the internal crashloopbackoff maximum.
      
       The string must be a sequence of decimal numbers, each with optional
       fraction and a unit suffix, such as "300ms".
       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
      
       See
       https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay
       for more details.
       
      string max_container_restart_period = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setMaxContainerRestartPeriodBytes

      public NodeKubeletConfig.CrashLoopBackOffConfig.Builder setMaxContainerRestartPeriodBytes(com.google.protobuf.ByteString value)
       Optional. The maximum duration the backoff delay can accrue to for
       container restarts, minimum 1 second, maximum 300 seconds. If not set,
       defaults to the internal crashloopbackoff maximum.
      
       The string must be a sequence of decimal numbers, each with optional
       fraction and a unit suffix, such as "300ms".
       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
      
       See
       https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay
       for more details.
       
      string max_container_restart_period = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for maxContainerRestartPeriod to set.
      Returns:
      This builder for chaining.