public static final class V1.Toleration extends com.google.protobuf.GeneratedMessageV3 implements V1.TolerationOrBuilder
The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.Protobuf type
k8s.io.api.core.v1.Toleration| Modifier and Type | Class and Description |
|---|---|
static class |
V1.Toleration.Builder
The pod this Toleration is attached to tolerates any taint that matches
the triple <key,value,effect> using the matching operator <operator>.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EFFECT_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
OPERATOR_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.Toleration> |
PARSER
Deprecated.
|
static int |
TOLERATIONSECONDS_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1.Toleration |
getDefaultInstance() |
V1.Toleration |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<V1.Toleration> |
getParserForType() |
int |
getSerializedSize() |
long |
getTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be
of effect NoExecute, otherwise this field is ignored) tolerates the taint.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.Toleration.Builder |
newBuilder() |
static V1.Toleration.Builder |
newBuilder(V1.Toleration prototype) |
V1.Toleration.Builder |
newBuilderForType() |
protected V1.Toleration.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.Toleration |
parseDelimitedFrom(InputStream input) |
static V1.Toleration |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Toleration |
parseFrom(byte[] data) |
static V1.Toleration |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Toleration |
parseFrom(ByteBuffer data) |
static V1.Toleration |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Toleration |
parseFrom(com.google.protobuf.ByteString data) |
static V1.Toleration |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Toleration |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.Toleration |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Toleration |
parseFrom(InputStream input) |
static V1.Toleration |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.Toleration> |
parser() |
V1.Toleration.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int KEY_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int EFFECT_FIELD_NUMBER
public static final int TOLERATIONSECONDS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.Toleration> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasKey in interface V1.TolerationOrBuilderpublic 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;getKey in interface V1.TolerationOrBuilderpublic 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;getKeyBytes in interface V1.TolerationOrBuilderpublic 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;hasOperator in interface V1.TolerationOrBuilderpublic 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;getOperator in interface V1.TolerationOrBuilderpublic 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;getOperatorBytes in interface V1.TolerationOrBuilderpublic 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;hasValue in interface V1.TolerationOrBuilderpublic 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;getValue in interface V1.TolerationOrBuilderpublic 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;getValueBytes in interface V1.TolerationOrBuilderpublic 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;hasEffect in interface V1.TolerationOrBuilderpublic 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;getEffect in interface V1.TolerationOrBuilderpublic 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;getEffectBytes in interface V1.TolerationOrBuilderpublic 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;hasTolerationSeconds in interface V1.TolerationOrBuilderpublic 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;getTolerationSeconds in interface V1.TolerationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.Toleration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Toleration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Toleration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Toleration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Toleration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Toleration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Toleration parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.Toleration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.Toleration parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.Toleration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.Toleration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.Toleration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.Toleration.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.Toleration.Builder newBuilder()
public static V1.Toleration.Builder newBuilder(V1.Toleration prototype)
public V1.Toleration.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.Toleration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.Toleration getDefaultInstance()
public static com.google.protobuf.Parser<V1.Toleration> parser()
public com.google.protobuf.Parser<V1.Toleration> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.Toleration getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.