public static final class V1beta1Policy.PodDisruptionBudgetSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder> implements V1beta1Policy.PodDisruptionBudgetSpecOrBuilder
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.Protobuf type
k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec| Modifier and Type | Method and Description |
|---|---|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Policy.PodDisruptionBudgetSpec |
build() |
V1beta1Policy.PodDisruptionBudgetSpec |
buildPartial() |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
clear() |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
clearMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
clearMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
clearSelector()
Label query over pods whose evictions are managed by the disruption
budget.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
clone() |
V1beta1Policy.PodDisruptionBudgetSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
IntStr.IntOrString |
getMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
IntStr.IntOrString.Builder |
getMaxUnavailableBuilder()
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
IntStr.IntOrStringOrBuilder |
getMaxUnavailableOrBuilder()
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
IntStr.IntOrString |
getMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
IntStr.IntOrString.Builder |
getMinAvailableBuilder()
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
IntStr.IntOrStringOrBuilder |
getMinAvailableOrBuilder()
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
Meta.LabelSelector |
getSelector()
Label query over pods whose evictions are managed by the disruption
budget.
|
Meta.LabelSelector.Builder |
getSelectorBuilder()
Label query over pods whose evictions are managed by the disruption
budget.
|
Meta.LabelSelectorOrBuilder |
getSelectorOrBuilder()
Label query over pods whose evictions are managed by the disruption
budget.
|
boolean |
hasMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
boolean |
hasMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
boolean |
hasSelector()
Label query over pods whose evictions are managed by the disruption
budget.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
mergeFrom(V1beta1Policy.PodDisruptionBudgetSpec other) |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
mergeMaxUnavailable(IntStr.IntOrString value)
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
mergeMinAvailable(IntStr.IntOrString value)
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
mergeSelector(Meta.LabelSelector value)
Label query over pods whose evictions are managed by the disruption
budget.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setMaxUnavailable(IntStr.IntOrString.Builder builderForValue)
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setMaxUnavailable(IntStr.IntOrString value)
An eviction is allowed if at most "maxUnavailable" pods selected by
"selector" are unavailable after the eviction, i.e.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setMinAvailable(IntStr.IntOrString.Builder builderForValue)
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setMinAvailable(IntStr.IntOrString value)
An eviction is allowed if at least "minAvailable" pods selected by
"selector" will still be available after the eviction, i.e.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setSelector(Meta.LabelSelector.Builder builderForValue)
Label query over pods whose evictions are managed by the disruption
budget.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setSelector(Meta.LabelSelector value)
Label query over pods whose evictions are managed by the disruption
budget.
|
V1beta1Policy.PodDisruptionBudgetSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Policy.PodDisruptionBudgetSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Policy.PodDisruptionBudgetSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Policy.PodDisruptionBudgetSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder mergeFrom(V1beta1Policy.PodDisruptionBudgetSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public V1beta1Policy.PodDisruptionBudgetSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>IOExceptionpublic boolean hasMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;hasMinAvailable in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic IntStr.IntOrString getMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;getMinAvailable in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic V1beta1Policy.PodDisruptionBudgetSpec.Builder setMinAvailable(IntStr.IntOrString value)
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;public V1beta1Policy.PodDisruptionBudgetSpec.Builder setMinAvailable(IntStr.IntOrString.Builder builderForValue)
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;public V1beta1Policy.PodDisruptionBudgetSpec.Builder mergeMinAvailable(IntStr.IntOrString value)
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;public V1beta1Policy.PodDisruptionBudgetSpec.Builder clearMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;public IntStr.IntOrString.Builder getMinAvailableBuilder()
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;public IntStr.IntOrStringOrBuilder getMinAvailableOrBuilder()
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;getMinAvailableOrBuilder in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic boolean hasSelector()
Label query over pods whose evictions are managed by the disruption budget. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;hasSelector in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic Meta.LabelSelector getSelector()
Label query over pods whose evictions are managed by the disruption budget. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;getSelector in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic V1beta1Policy.PodDisruptionBudgetSpec.Builder setSelector(Meta.LabelSelector value)
Label query over pods whose evictions are managed by the disruption budget. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;public V1beta1Policy.PodDisruptionBudgetSpec.Builder setSelector(Meta.LabelSelector.Builder builderForValue)
Label query over pods whose evictions are managed by the disruption budget. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;public V1beta1Policy.PodDisruptionBudgetSpec.Builder mergeSelector(Meta.LabelSelector value)
Label query over pods whose evictions are managed by the disruption budget. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;public V1beta1Policy.PodDisruptionBudgetSpec.Builder clearSelector()
Label query over pods whose evictions are managed by the disruption budget. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;public Meta.LabelSelector.Builder getSelectorBuilder()
Label query over pods whose evictions are managed by the disruption budget. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;public Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
Label query over pods whose evictions are managed by the disruption budget. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;getSelectorOrBuilder in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic boolean hasMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;hasMaxUnavailable in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic IntStr.IntOrString getMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;getMaxUnavailable in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic V1beta1Policy.PodDisruptionBudgetSpec.Builder setMaxUnavailable(IntStr.IntOrString value)
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;public V1beta1Policy.PodDisruptionBudgetSpec.Builder setMaxUnavailable(IntStr.IntOrString.Builder builderForValue)
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;public V1beta1Policy.PodDisruptionBudgetSpec.Builder mergeMaxUnavailable(IntStr.IntOrString value)
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;public V1beta1Policy.PodDisruptionBudgetSpec.Builder clearMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;public IntStr.IntOrString.Builder getMaxUnavailableBuilder()
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;public IntStr.IntOrStringOrBuilder getMaxUnavailableOrBuilder()
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;getMaxUnavailableOrBuilder in interface V1beta1Policy.PodDisruptionBudgetSpecOrBuilderpublic final V1beta1Policy.PodDisruptionBudgetSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>public final V1beta1Policy.PodDisruptionBudgetSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetSpec.Builder>Copyright © 2019. All rights reserved.