Interface V1.TolerationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.Toleration, V1.Toleration.Builder
Enclosing class:
V1

public static interface V1.TolerationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Effect indicates the taint effect to match.
    com.google.protobuf.ByteString
    Effect indicates the taint effect to match.
    Key is the taint key that the toleration applies to.
    com.google.protobuf.ByteString
    Key is the taint key that the toleration applies to.
    Operator represents a key's relationship to the value.
    com.google.protobuf.ByteString
    Operator represents a key's relationship to the value.
    long
    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.
    Value is the taint value the toleration matches to.
    com.google.protobuf.ByteString
    Value is the taint value the toleration matches to.
    boolean
    Effect indicates the taint effect to match.
    boolean
    Key is the taint key that the toleration applies to.
    boolean
    Operator represents a key's relationship to the value.
    boolean
    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.
    boolean
    Value is the taint value the toleration matches to.

    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()
       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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;