Package flyteidl.admin
Enum ClusterAssignmentOuterClass.Selector.Operator
- java.lang.Object
-
- java.lang.Enum<ClusterAssignmentOuterClass.Selector.Operator>
-
- flyteidl.admin.ClusterAssignmentOuterClass.Selector.Operator
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ClusterAssignmentOuterClass.Selector.Operator>
- Enclosing class:
- ClusterAssignmentOuterClass.Selector
public static enum ClusterAssignmentOuterClass.Selector.Operator extends Enum<ClusterAssignmentOuterClass.Selector.Operator> implements com.google.protobuf.ProtocolMessageEnum
Defines how a label with a corresponding key and value is selected or excluded.
Protobuf enumflyteidl.admin.Selector.Operator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALSEQUALS = 0;EXISTSA label key with any valueININ = 2;NOT_EQUALSNOT_EQUALS = 1;NOT_INNOT_IN = 3;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intEQUALS_VALUEEQUALS = 0;static intEXISTS_VALUEA label key with any valuestatic intIN_VALUEIN = 2;private static com.google.protobuf.Internal.EnumLiteMap<ClusterAssignmentOuterClass.Selector.Operator>internalValueMapstatic intNOT_EQUALS_VALUENOT_EQUALS = 1;static intNOT_IN_VALUENOT_IN = 3;private intvalueprivate static ClusterAssignmentOuterClass.Selector.Operator[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateOperator(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ClusterAssignmentOuterClass.Selector.OperatorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ClusterAssignmentOuterClass.Selector.Operator>internalGetValueMap()static ClusterAssignmentOuterClass.Selector.OperatorvalueOf(int value)Deprecated.static ClusterAssignmentOuterClass.Selector.OperatorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ClusterAssignmentOuterClass.Selector.OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static ClusterAssignmentOuterClass.Selector.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final ClusterAssignmentOuterClass.Selector.Operator EQUALS
EQUALS = 0;
-
NOT_EQUALS
public static final ClusterAssignmentOuterClass.Selector.Operator NOT_EQUALS
NOT_EQUALS = 1;
-
IN
public static final ClusterAssignmentOuterClass.Selector.Operator IN
IN = 2;
-
NOT_IN
public static final ClusterAssignmentOuterClass.Selector.Operator NOT_IN
NOT_IN = 3;
-
EXISTS
public static final ClusterAssignmentOuterClass.Selector.Operator EXISTS
A label key with any value
EXISTS = 4;
-
UNRECOGNIZED
public static final ClusterAssignmentOuterClass.Selector.Operator UNRECOGNIZED
-
-
Field Detail
-
EQUALS_VALUE
public static final int EQUALS_VALUE
EQUALS = 0;- See Also:
- Constant Field Values
-
NOT_EQUALS_VALUE
public static final int NOT_EQUALS_VALUE
NOT_EQUALS = 1;- See Also:
- Constant Field Values
-
IN_VALUE
public static final int IN_VALUE
IN = 2;- See Also:
- Constant Field Values
-
NOT_IN_VALUE
public static final int NOT_IN_VALUE
NOT_IN = 3;- See Also:
- Constant Field Values
-
EXISTS_VALUE
public static final int EXISTS_VALUE
A label key with any value
EXISTS = 4;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<ClusterAssignmentOuterClass.Selector.Operator> internalValueMap
-
VALUES
private static final ClusterAssignmentOuterClass.Selector.Operator[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static ClusterAssignmentOuterClass.Selector.Operator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClusterAssignmentOuterClass.Selector.Operator c : ClusterAssignmentOuterClass.Selector.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClusterAssignmentOuterClass.Selector.Operator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ClusterAssignmentOuterClass.Selector.Operator valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static ClusterAssignmentOuterClass.Selector.Operator forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ClusterAssignmentOuterClass.Selector.Operator> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ClusterAssignmentOuterClass.Selector.Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-