Package io.kubernetes.client.proto
Class V1beta1Policy.PodDisruptionBudgetStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Policy.PodDisruptionBudgetStatusOrBuilder,Cloneable
- Enclosing class:
- V1beta1Policy.PodDisruptionBudgetStatus
public static final class V1beta1Policy.PodDisruptionBudgetStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
implements V1beta1Policy.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.v1beta1.PodDisruptionBudgetStatus-
Method Summary
Modifier and TypeMethodDescriptionaddAllConditions(Iterable<? extends Meta.Condition> values) Conditions contain conditions for PDB.addConditions(int index, Meta.Condition value) Conditions contain conditions for PDB.addConditions(int index, Meta.Condition.Builder builderForValue) Conditions contain conditions for PDB.addConditions(Meta.Condition value) Conditions contain conditions for PDB.addConditions(Meta.Condition.Builder builderForValue) Conditions contain conditions for PDB.Conditions contain conditions for PDB.addConditionsBuilder(int index) Conditions contain conditions for PDB.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Conditions contain conditions for PDB.current number of healthy podsminimum desired number of healthy podsNumber of pod disruptions that are currently allowed.total number of pods counted by this disruption budgetclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Most recent generation observed when updating this PDB status.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleanDisruptedPods 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.getConditions(int index) Conditions contain conditions for PDB.getConditionsBuilder(int index) Conditions contain conditions for PDB.Conditions contain conditions for PDB.intConditions contain conditions for PDB.Conditions contain conditions for PDB.getConditionsOrBuilder(int index) Conditions contain conditions for PDB.List<? extends Meta.ConditionOrBuilder>Conditions contain conditions for PDB.intcurrent number of healthy podsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintminimum desired number of healthy podsDeprecated.intDisruptedPods 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.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.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.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.intNumber of pod disruptions that are currently allowed.inttotal number of pods counted by this disruption budgetDeprecated.longMost recent generation observed when updating this PDB status.booleancurrent number of healthy podsbooleanminimum desired number of healthy podsbooleanNumber of pod disruptions that are currently allowed.booleantotal number of pods counted by this disruption budgetbooleanMost recent generation observed when updating this PDB status.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.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.removeConditions(int index) Conditions contain conditions for PDB.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.setConditions(int index, Meta.Condition value) Conditions contain conditions for PDB.setConditions(int index, Meta.Condition.Builder builderForValue) Conditions contain conditions for PDB.setCurrentHealthy(int value) current number of healthy podssetDesiredHealthy(int value) minimum desired number of healthy podssetDisruptionsAllowed(int value) Number of pod disruptions that are currently allowed.setExpectedPods(int value) total number of pods counted by this disruption budgetsetObservedGeneration(long value) Most recent generation observed when updating this PDB status.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
setField
public V1beta1Policy.PodDisruptionBudgetStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
clearField
public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
clearOneof
public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
setRepeatedField
public V1beta1Policy.PodDisruptionBudgetStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
addRepeatedField
public V1beta1Policy.PodDisruptionBudgetStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
mergeFrom
public V1beta1Policy.PodDisruptionBudgetStatus.Builder mergeFrom(V1beta1Policy.PodDisruptionBudgetStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
mergeFrom
public V1beta1Policy.PodDisruptionBudgetStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Policy.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:
hasObservedGenerationin interfaceV1beta1Policy.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:
getObservedGenerationin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
setObservedGeneration
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
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:V1beta1Policy.PodDisruptionBudgetStatusOrBuilderDisruptedPods 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:
getDisruptedPodsCountin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
containsDisruptedPods
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:
containsDisruptedPodsin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
getDisruptedPods
Deprecated.UsegetDisruptedPodsMap()instead.- Specified by:
getDisruptedPodsin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
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:
getDisruptedPodsMapin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
getDisruptedPodsOrDefault
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:
getDisruptedPodsOrDefaultin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
getDisruptedPodsOrThrow
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:
getDisruptedPodsOrThrowin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
clearDisruptedPods
-
removeDisruptedPods
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.Use alternate mutation accessors instead. -
putDisruptedPods
public V1beta1Policy.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 V1beta1Policy.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:
hasDisruptionsAllowedin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
getDisruptionsAllowed
public int getDisruptionsAllowed()Number of pod disruptions that are currently allowed.
optional int32 disruptionsAllowed = 3;- Specified by:
getDisruptionsAllowedin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
setDisruptionsAllowed
Number of pod disruptions that are currently allowed.
optional int32 disruptionsAllowed = 3; -
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:
hasCurrentHealthyin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
getCurrentHealthy
public int getCurrentHealthy()current number of healthy pods
optional int32 currentHealthy = 4;- Specified by:
getCurrentHealthyin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
setCurrentHealthy
current number of healthy pods
optional int32 currentHealthy = 4; -
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:
hasDesiredHealthyin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
getDesiredHealthy
public int getDesiredHealthy()minimum desired number of healthy pods
optional int32 desiredHealthy = 5;- Specified by:
getDesiredHealthyin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
setDesiredHealthy
minimum desired number of healthy pods
optional int32 desiredHealthy = 5; -
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:
hasExpectedPodsin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
getExpectedPods
public int getExpectedPods()total number of pods counted by this disruption budget
optional int32 expectedPods = 6;- Specified by:
getExpectedPodsin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
setExpectedPods
total number of pods counted by this disruption budget
optional int32 expectedPods = 6; -
clearExpectedPods
total number of pods counted by this disruption budget
optional int32 expectedPods = 6; -
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;- Specified by:
getConditionsListin interfaceV1beta1Policy.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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;- Specified by:
getConditionsCountin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
getConditions
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;- Specified by:
getConditionsin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
setConditions
public V1beta1Policy.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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
setConditions
public V1beta1Policy.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=typerepeated .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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
addConditions
public V1beta1Policy.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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
addConditions
public V1beta1Policy.PodDisruptionBudgetStatus.Builder addConditions(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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
addConditions
public V1beta1Policy.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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
addAllConditions
public V1beta1Policy.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=typerepeated .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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
removeConditions
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
getConditionsBuilder
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
getConditionsOrBuilder
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;- Specified by:
getConditionsOrBuilderin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;- Specified by:
getConditionsOrBuilderListin interfaceV1beta1Policy.PodDisruptionBudgetStatusOrBuilder
-
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
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=typerepeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7; -
setUnknownFields
public final V1beta1Policy.PodDisruptionBudgetStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-
mergeUnknownFields
public final V1beta1Policy.PodDisruptionBudgetStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>
-