Package io.kubernetes.client.proto
Class V1Policy.PodDisruptionBudgetStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 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()
boolean
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.getConditions
(int index) Conditions contain conditions for PDB.getConditionsBuilder
(int index) Conditions contain conditions for PDB.Conditions contain conditions for PDB.int
Conditions 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.int
current number of healthy podsstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
minimum desired number of healthy podsDeprecated.int
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.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.int
Number of pod disruptions that are currently allowed.int
total number of pods counted by this disruption budgetDeprecated.long
Most recent generation observed when updating this PDB status.boolean
current number of healthy podsboolean
minimum desired number of healthy podsboolean
Number of pod disruptions that are currently allowed.boolean
total number of pods counted by this disruption budgetboolean
Most recent generation observed when updating this PDB status.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
clearField
public V1Policy.PodDisruptionBudgetStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
clearOneof
public V1Policy.PodDisruptionBudgetStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
mergeFrom
public V1Policy.PodDisruptionBudgetStatus.Builder mergeFrom(V1Policy.PodDisruptionBudgetStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceV1Policy.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 interfaceV1Policy.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: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 interfaceV1Policy.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:
containsDisruptedPods
in interfaceV1Policy.PodDisruptionBudgetStatusOrBuilder
-
getDisruptedPods
Deprecated.UsegetDisruptedPodsMap()
instead.- Specified by:
getDisruptedPods
in interfaceV1Policy.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:
getDisruptedPodsMap
in interfaceV1Policy.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:
getDisruptedPodsOrDefault
in interfaceV1Policy.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:
getDisruptedPodsOrThrow
in interfaceV1Policy.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
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
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 interfaceV1Policy.PodDisruptionBudgetStatusOrBuilder
-
getDisruptionsAllowed
public int getDisruptionsAllowed()Number of pod disruptions that are currently allowed.
optional int32 disruptionsAllowed = 3;
- Specified by:
getDisruptionsAllowed
in interfaceV1Policy.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:
hasCurrentHealthy
in interfaceV1Policy.PodDisruptionBudgetStatusOrBuilder
-
getCurrentHealthy
public int getCurrentHealthy()current number of healthy pods
optional int32 currentHealthy = 4;
- Specified by:
getCurrentHealthy
in interfaceV1Policy.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:
hasDesiredHealthy
in interfaceV1Policy.PodDisruptionBudgetStatusOrBuilder
-
getDesiredHealthy
public int getDesiredHealthy()minimum desired number of healthy pods
optional int32 desiredHealthy = 5;
- Specified by:
getDesiredHealthy
in interfaceV1Policy.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:
hasExpectedPods
in interfaceV1Policy.PodDisruptionBudgetStatusOrBuilder
-
getExpectedPods
public int getExpectedPods()total number of pods counted by this disruption budget
optional int32 expectedPods = 6;
- Specified by:
getExpectedPods
in interfaceV1Policy.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=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
- Specified by:
getConditionsList
in interfaceV1Policy.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 interfaceV1Policy.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=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
- Specified by:
getConditions
in interfaceV1Policy.PodDisruptionBudgetStatusOrBuilder
-
setConditions
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
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(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
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
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
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
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 interfaceV1Policy.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=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;
- Specified by:
getConditionsOrBuilderList
in interfaceV1Policy.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=type
repeated .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=type
repeated .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=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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-
mergeUnknownFields
public final V1Policy.PodDisruptionBudgetStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Policy.PodDisruptionBudgetStatus.Builder>
-