Package io.kubernetes.client.proto
Interface V1.TaintOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.Taint
,V1.Taint.Builder
- Enclosing class:
- V1
public static interface V1.TaintOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteString
Required.getKey()
Required.com.google.protobuf.ByteString
Required.TimeAdded represents the time at which the taint was added.TimeAdded represents the time at which the taint was added.getValue()
The taint value corresponding to the taint key.com.google.protobuf.ByteString
The taint value corresponding to the taint key.boolean
Required.boolean
hasKey()
Required.boolean
TimeAdded represents the time at which the taint was added.boolean
hasValue()
The taint value corresponding to the taint key.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasKey
boolean hasKey()Required. The taint key to be applied to a node.
optional string key = 1;
-
getKey
String getKey()Required. The taint key to be applied to a node.
optional string key = 1;
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Required. The taint key to be applied to a node.
optional string key = 1;
-
hasValue
boolean hasValue()The taint value corresponding to the taint key. +optional
optional string value = 2;
-
getValue
String getValue()The taint value corresponding to the taint key. +optional
optional string value = 2;
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()The taint value corresponding to the taint key. +optional
optional string value = 2;
-
hasEffect
boolean hasEffect()Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
optional string effect = 3;
-
getEffect
String getEffect()Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
optional string effect = 3;
-
getEffectBytes
com.google.protobuf.ByteString getEffectBytes()Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
optional string effect = 3;
-
hasTimeAdded
boolean hasTimeAdded()TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time timeAdded = 4;
-
getTimeAdded
Meta.Time getTimeAdded()TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time timeAdded = 4;
-
getTimeAddedOrBuilder
Meta.TimeOrBuilder getTimeAddedOrBuilder()TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time timeAdded = 4;
-