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
      String getEffect()
      Effect indicates the taint effect to match.
      com.google.protobuf.ByteString getEffectBytes()
      Effect indicates the taint effect to match.
      String getKey()
      Key is the taint key that the toleration applies to.
      com.google.protobuf.ByteString getKeyBytes()
      Key is the taint key that the toleration applies to.
      String getOperator()
      Operator represents a key's relationship to the value.
      com.google.protobuf.ByteString getOperatorBytes()
      Operator represents a key's relationship to the value.
      long getTolerationSeconds()
      TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.
      String getValue()
      Value is the taint value the toleration matches to.
      com.google.protobuf.ByteString getValueBytes()
      Value is the taint value the toleration matches to.
      boolean hasEffect()
      Effect indicates the taint effect to match.
      boolean hasKey()
      Key is the taint key that the toleration applies to.
      boolean hasOperator()
      Operator represents a key's relationship to the value.
      boolean hasTolerationSeconds()
      TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.
      boolean hasValue()
      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 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.