Class V1Policy.PodDisruptionBudgetStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1Policy.PodDisruptionBudgetStatusOrBuilder, Cloneable
Enclosing class:
V1Policy.PodDisruptionBudgetStatus

public static final class V1Policy.PodDisruptionBudgetStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder> implements V1Policy.PodDisruptionBudgetStatusOrBuilder
 PodDisruptionBudgetStatus represents information about the status of a
 PodDisruptionBudget. Status may trail the actual state of a system.
 
Protobuf type k8s.io.api.policy.v1.PodDisruptionBudgetStatus
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
    • internalGetFieldAccessorTable

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

      public V1Policy.PodDisruptionBudgetStatus 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

      public V1Policy.PodDisruptionBudgetStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<V1Policy.PodDisruptionBudgetStatus.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public V1Policy.PodDisruptionBudgetStatus.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<V1Policy.PodDisruptionBudgetStatus.Builder>
      Throws:
      IOException
    • hasObservedGeneration

      public boolean hasObservedGeneration()
       Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
       status information is valid only if observedGeneration equals to PDB's object generation.
       +optional
       
      optional int64 observedGeneration = 1;
      Specified by:
      hasObservedGeneration in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getObservedGeneration

      public long getObservedGeneration()
       Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
       status information is valid only if observedGeneration equals to PDB's object generation.
       +optional
       
      optional int64 observedGeneration = 1;
      Specified by:
      getObservedGeneration in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • setObservedGeneration

      public V1Policy.PodDisruptionBudgetStatus.Builder setObservedGeneration(long value)
       Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
       status information is valid only if observedGeneration equals to PDB's object generation.
       +optional
       
      optional int64 observedGeneration = 1;
    • clearObservedGeneration

      public V1Policy.PodDisruptionBudgetStatus.Builder clearObservedGeneration()
       Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
       status information is valid only if observedGeneration equals to PDB's object generation.
       +optional
       
      optional int64 observedGeneration = 1;
    • getDisruptedPodsCount

      public int getDisruptedPodsCount()
      Description copied from interface: V1Policy.PodDisruptionBudgetStatusOrBuilder
       DisruptedPods contains information about pods whose eviction was
       processed by the API server eviction subresource handler but has not
       yet been observed by the PodDisruptionBudget controller.
       A pod will be in this map from the time when the API server processed the
       eviction request to the time when the pod is seen by PDB controller
       as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       and the value is the time when the API server processed the eviction request. If
       the deletion didn't occur and a pod is still there it will be removed from
       the list automatically by PodDisruptionBudget controller after some time.
       If everything goes smooth this map should be empty for the most of the time.
       Large number of entries in the map may indicate problems with pod deletions.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
      Specified by:
      getDisruptedPodsCount in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • containsDisruptedPods

      public boolean containsDisruptedPods(String key)
       DisruptedPods contains information about pods whose eviction was
       processed by the API server eviction subresource handler but has not
       yet been observed by the PodDisruptionBudget controller.
       A pod will be in this map from the time when the API server processed the
       eviction request to the time when the pod is seen by PDB controller
       as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       and the value is the time when the API server processed the eviction request. If
       the deletion didn't occur and a pod is still there it will be removed from
       the list automatically by PodDisruptionBudget controller after some time.
       If everything goes smooth this map should be empty for the most of the time.
       Large number of entries in the map may indicate problems with pod deletions.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
      Specified by:
      containsDisruptedPods in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getDisruptedPods

      @Deprecated public Map<String,Meta.Time> getDisruptedPods()
      Deprecated.
      Specified by:
      getDisruptedPods in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getDisruptedPodsMap

      public Map<String,Meta.Time> getDisruptedPodsMap()
       DisruptedPods contains information about pods whose eviction was
       processed by the API server eviction subresource handler but has not
       yet been observed by the PodDisruptionBudget controller.
       A pod will be in this map from the time when the API server processed the
       eviction request to the time when the pod is seen by PDB controller
       as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       and the value is the time when the API server processed the eviction request. If
       the deletion didn't occur and a pod is still there it will be removed from
       the list automatically by PodDisruptionBudget controller after some time.
       If everything goes smooth this map should be empty for the most of the time.
       Large number of entries in the map may indicate problems with pod deletions.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
      Specified by:
      getDisruptedPodsMap in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getDisruptedPodsOrDefault

      public Meta.Time getDisruptedPodsOrDefault(String key, Meta.Time defaultValue)
       DisruptedPods contains information about pods whose eviction was
       processed by the API server eviction subresource handler but has not
       yet been observed by the PodDisruptionBudget controller.
       A pod will be in this map from the time when the API server processed the
       eviction request to the time when the pod is seen by PDB controller
       as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       and the value is the time when the API server processed the eviction request. If
       the deletion didn't occur and a pod is still there it will be removed from
       the list automatically by PodDisruptionBudget controller after some time.
       If everything goes smooth this map should be empty for the most of the time.
       Large number of entries in the map may indicate problems with pod deletions.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
      Specified by:
      getDisruptedPodsOrDefault in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getDisruptedPodsOrThrow

      public Meta.Time getDisruptedPodsOrThrow(String key)
       DisruptedPods contains information about pods whose eviction was
       processed by the API server eviction subresource handler but has not
       yet been observed by the PodDisruptionBudget controller.
       A pod will be in this map from the time when the API server processed the
       eviction request to the time when the pod is seen by PDB controller
       as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       and the value is the time when the API server processed the eviction request. If
       the deletion didn't occur and a pod is still there it will be removed from
       the list automatically by PodDisruptionBudget controller after some time.
       If everything goes smooth this map should be empty for the most of the time.
       Large number of entries in the map may indicate problems with pod deletions.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
      Specified by:
      getDisruptedPodsOrThrow in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • clearDisruptedPods

      public V1Policy.PodDisruptionBudgetStatus.Builder clearDisruptedPods()
    • removeDisruptedPods

      public V1Policy.PodDisruptionBudgetStatus.Builder removeDisruptedPods(String key)
       DisruptedPods contains information about pods whose eviction was
       processed by the API server eviction subresource handler but has not
       yet been observed by the PodDisruptionBudget controller.
       A pod will be in this map from the time when the API server processed the
       eviction request to the time when the pod is seen by PDB controller
       as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       and the value is the time when the API server processed the eviction request. If
       the deletion didn't occur and a pod is still there it will be removed from
       the list automatically by PodDisruptionBudget controller after some time.
       If everything goes smooth this map should be empty for the most of the time.
       Large number of entries in the map may indicate problems with pod deletions.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
    • getMutableDisruptedPods

      @Deprecated public Map<String,Meta.Time> getMutableDisruptedPods()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDisruptedPods

      public V1Policy.PodDisruptionBudgetStatus.Builder putDisruptedPods(String key, Meta.Time value)
       DisruptedPods contains information about pods whose eviction was
       processed by the API server eviction subresource handler but has not
       yet been observed by the PodDisruptionBudget controller.
       A pod will be in this map from the time when the API server processed the
       eviction request to the time when the pod is seen by PDB controller
       as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       and the value is the time when the API server processed the eviction request. If
       the deletion didn't occur and a pod is still there it will be removed from
       the list automatically by PodDisruptionBudget controller after some time.
       If everything goes smooth this map should be empty for the most of the time.
       Large number of entries in the map may indicate problems with pod deletions.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
    • putAllDisruptedPods

      public V1Policy.PodDisruptionBudgetStatus.Builder putAllDisruptedPods(Map<String,Meta.Time> values)
       DisruptedPods contains information about pods whose eviction was
       processed by the API server eviction subresource handler but has not
       yet been observed by the PodDisruptionBudget controller.
       A pod will be in this map from the time when the API server processed the
       eviction request to the time when the pod is seen by PDB controller
       as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       and the value is the time when the API server processed the eviction request. If
       the deletion didn't occur and a pod is still there it will be removed from
       the list automatically by PodDisruptionBudget controller after some time.
       If everything goes smooth this map should be empty for the most of the time.
       Large number of entries in the map may indicate problems with pod deletions.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
    • hasDisruptionsAllowed

      public boolean hasDisruptionsAllowed()
       Number of pod disruptions that are currently allowed.
       
      optional int32 disruptionsAllowed = 3;
      Specified by:
      hasDisruptionsAllowed in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getDisruptionsAllowed

      public int getDisruptionsAllowed()
       Number of pod disruptions that are currently allowed.
       
      optional int32 disruptionsAllowed = 3;
      Specified by:
      getDisruptionsAllowed in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • setDisruptionsAllowed

      public V1Policy.PodDisruptionBudgetStatus.Builder setDisruptionsAllowed(int value)
       Number of pod disruptions that are currently allowed.
       
      optional int32 disruptionsAllowed = 3;
    • clearDisruptionsAllowed

      public V1Policy.PodDisruptionBudgetStatus.Builder clearDisruptionsAllowed()
       Number of pod disruptions that are currently allowed.
       
      optional int32 disruptionsAllowed = 3;
    • hasCurrentHealthy

      public boolean hasCurrentHealthy()
       current number of healthy pods
       
      optional int32 currentHealthy = 4;
      Specified by:
      hasCurrentHealthy in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getCurrentHealthy

      public int getCurrentHealthy()
       current number of healthy pods
       
      optional int32 currentHealthy = 4;
      Specified by:
      getCurrentHealthy in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • setCurrentHealthy

      public V1Policy.PodDisruptionBudgetStatus.Builder setCurrentHealthy(int value)
       current number of healthy pods
       
      optional int32 currentHealthy = 4;
    • clearCurrentHealthy

      public V1Policy.PodDisruptionBudgetStatus.Builder clearCurrentHealthy()
       current number of healthy pods
       
      optional int32 currentHealthy = 4;
    • hasDesiredHealthy

      public boolean hasDesiredHealthy()
       minimum desired number of healthy pods
       
      optional int32 desiredHealthy = 5;
      Specified by:
      hasDesiredHealthy in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getDesiredHealthy

      public int getDesiredHealthy()
       minimum desired number of healthy pods
       
      optional int32 desiredHealthy = 5;
      Specified by:
      getDesiredHealthy in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • setDesiredHealthy

      public V1Policy.PodDisruptionBudgetStatus.Builder setDesiredHealthy(int value)
       minimum desired number of healthy pods
       
      optional int32 desiredHealthy = 5;
    • clearDesiredHealthy

      public V1Policy.PodDisruptionBudgetStatus.Builder clearDesiredHealthy()
       minimum desired number of healthy pods
       
      optional int32 desiredHealthy = 5;
    • hasExpectedPods

      public boolean hasExpectedPods()
       total number of pods counted by this disruption budget
       
      optional int32 expectedPods = 6;
      Specified by:
      hasExpectedPods in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getExpectedPods

      public int getExpectedPods()
       total number of pods counted by this disruption budget
       
      optional int32 expectedPods = 6;
      Specified by:
      getExpectedPods in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • setExpectedPods

      public V1Policy.PodDisruptionBudgetStatus.Builder setExpectedPods(int value)
       total number of pods counted by this disruption budget
       
      optional int32 expectedPods = 6;
    • clearExpectedPods

      public V1Policy.PodDisruptionBudgetStatus.Builder clearExpectedPods()
       total number of pods counted by this disruption budget
       
      optional int32 expectedPods = 6;
    • getConditionsList

      public List<Meta.Condition> getConditionsList()
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
      Specified by:
      getConditionsList in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getConditionsCount

      public int getConditionsCount()
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
      Specified by:
      getConditionsCount in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getConditions

      public Meta.Condition getConditions(int index)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
      Specified by:
      getConditions in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • setConditions

      public V1Policy.PodDisruptionBudgetStatus.Builder setConditions(int index, Meta.Condition value)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • setConditions

      public V1Policy.PodDisruptionBudgetStatus.Builder setConditions(int index, Meta.Condition.Builder builderForValue)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • addConditions

       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • addConditions

      public V1Policy.PodDisruptionBudgetStatus.Builder addConditions(int index, Meta.Condition value)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • addConditions

       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • addConditions

      public V1Policy.PodDisruptionBudgetStatus.Builder addConditions(int index, Meta.Condition.Builder builderForValue)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • addAllConditions

      public V1Policy.PodDisruptionBudgetStatus.Builder addAllConditions(Iterable<? extends Meta.Condition> values)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • clearConditions

       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • removeConditions

      public V1Policy.PodDisruptionBudgetStatus.Builder removeConditions(int index)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • getConditionsBuilder

      public Meta.Condition.Builder getConditionsBuilder(int index)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • getConditionsOrBuilder

      public Meta.ConditionOrBuilder getConditionsOrBuilder(int index)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
      Specified by:
      getConditionsOrBuilder in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • getConditionsOrBuilderList

      public List<? extends Meta.ConditionOrBuilder> getConditionsOrBuilderList()
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
      Specified by:
      getConditionsOrBuilderList in interface V1Policy.PodDisruptionBudgetStatusOrBuilder
    • addConditionsBuilder

      public Meta.Condition.Builder addConditionsBuilder()
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • addConditionsBuilder

      public Meta.Condition.Builder addConditionsBuilder(int index)
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • getConditionsBuilderList

      public List<Meta.Condition.Builder> getConditionsBuilderList()
       Conditions contain conditions for PDB. The disruption controller sets the
       DisruptionAllowed condition. The following are known values for the reason field
       (additional reasons could be added in the future):
       - SyncFailed: The controller encountered an error and wasn't able to compute
                     the number of allowed disruptions. Therefore no disruptions are
                     allowed and the status of the condition will be False.
       - InsufficientPods: The number of pods are either at or below the number
                           required by the PodDisruptionBudget. No disruptions are
                           allowed and the status of the condition will be False.
       - SufficientPods: There are more pods than required by the PodDisruptionBudget.
                         The condition will be True, and the number of allowed
                         disruptions are provided by the disruptionsAllowed property.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
    • setUnknownFields

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

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