Package k8s.io.api.core.v1
Interface Generated.TolerationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.Toleration,Generated.Toleration.Builder
- Enclosing class:
- Generated
public static interface Generated.TolerationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEffect()Effect indicates the taint effect to match.com.google.protobuf.ByteStringgetEffectBytes()Effect indicates the taint effect to match.StringgetKey()Key is the taint key that the toleration applies to.com.google.protobuf.ByteStringgetKeyBytes()Key is the taint key that the toleration applies to.StringgetOperator()Operator represents a key's relationship to the value.com.google.protobuf.ByteStringgetOperatorBytes()Operator represents a key's relationship to the value.longgetTolerationSeconds()TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.StringgetValue()Value is the taint value the toleration matches to.com.google.protobuf.ByteStringgetValueBytes()Value is the taint value the toleration matches to.booleanhasEffect()Effect indicates the taint effect to match.booleanhasKey()Key is the taint key that the toleration applies to.booleanhasOperator()Operator represents a key's relationship to the value.booleanhasTolerationSeconds()TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.booleanhasValue()Value is the taint value the toleration matches to.-
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()
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. +optional
optional string key = 1;- Returns:
- Whether the key field is set.
-
getKey
String getKey()
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. +optional
optional string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. +optional
optional string key = 1;- Returns:
- The bytes for key.
-
hasOperator
boolean hasOperator()
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. +optional
optional string operator = 2;- Returns:
- Whether the operator field is set.
-
getOperator
String getOperator()
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. +optional
optional string operator = 2;- Returns:
- The operator.
-
getOperatorBytes
com.google.protobuf.ByteString getOperatorBytes()
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. +optional
optional string operator = 2;- Returns:
- The bytes for operator.
-
hasValue
boolean hasValue()
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. +optional
optional string value = 3;- Returns:
- Whether the value field is set.
-
getValue
String getValue()
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. +optional
optional string value = 3;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. +optional
optional string value = 3;- Returns:
- The bytes for value.
-
hasEffect
boolean hasEffect()
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. +optional
optional string effect = 4;- Returns:
- Whether the effect field is set.
-
getEffect
String getEffect()
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. +optional
optional string effect = 4;- Returns:
- The effect.
-
getEffectBytes
com.google.protobuf.ByteString getEffectBytes()
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. +optional
optional string effect = 4;- Returns:
- The bytes for effect.
-
hasTolerationSeconds
boolean hasTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. +optional
optional int64 tolerationSeconds = 5;- Returns:
- Whether the tolerationSeconds field is set.
-
getTolerationSeconds
long getTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. +optional
optional int64 tolerationSeconds = 5;- Returns:
- The tolerationSeconds.
-
-