Package k8s.io.api.core.v1
Interface Generated.TaintOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.Taint,Generated.Taint.Builder
- Enclosing class:
- Generated
public static interface Generated.TaintOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEffect()Required.com.google.protobuf.ByteStringgetEffectBytes()Required.StringgetKey()Required.com.google.protobuf.ByteStringgetKeyBytes()Required.Generated.TimegetTimeAdded()TimeAdded represents the time at which the taint was added.Generated.TimeOrBuildergetTimeAddedOrBuilder()TimeAdded represents the time at which the taint was added.StringgetValue()The taint value corresponding to the taint key.com.google.protobuf.ByteStringgetValueBytes()The taint value corresponding to the taint key.booleanhasEffect()Required.booleanhasKey()Required.booleanhasTimeAdded()TimeAdded represents the time at which the taint was added.booleanhasValue()The taint value corresponding to the taint key.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKey
boolean hasKey()
Required. The taint key to be applied to a node.
optional string key = 1;- Returns:
- Whether the key field is set.
-
getKey
String getKey()
Required. The taint key to be applied to a node.
optional string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
Required. The taint key to be applied to a node.
optional string key = 1;- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()
The taint value corresponding to the taint key. +optional
optional string value = 2;- Returns:
- Whether the value field is set.
-
getValue
String getValue()
The taint value corresponding to the taint key. +optional
optional string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
The taint value corresponding to the taint key. +optional
optional string value = 2;- Returns:
- The bytes for value.
-
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;- Returns:
- Whether the effect field is set.
-
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;- Returns:
- The effect.
-
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;- Returns:
- The bytes for effect.
-
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;- Returns:
- Whether the timeAdded field is set.
-
getTimeAdded
Generated.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;- Returns:
- The timeAdded.
-
getTimeAddedOrBuilder
Generated.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;
-
-