Package com.google.cloud.compute.v1
Enum Condition.Op
- java.lang.Object
-
- java.lang.Enum<Condition.Op>
-
- com.google.cloud.compute.v1.Condition.Op
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Condition.Op>
- Enclosing class:
- Condition
public static enum Condition.Op extends Enum<Condition.Op> implements com.google.protobuf.ProtocolMessageEnum
This is deprecated and has no effect. Do not use.
Protobuf enumgoogle.cloud.compute.v1.Condition.Op
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISCHARGED
This is deprecated and has no effect.EQUALS
This is deprecated and has no effect.IN
This is deprecated and has no effect.NO_OP
This is deprecated and has no effect.NOT_EQUALS
This is deprecated and has no effect.NOT_IN
This is deprecated and has no effect.UNDEFINED_OP
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
DISCHARGED_VALUE
This is deprecated and has no effect.static int
EQUALS_VALUE
This is deprecated and has no effect.static int
IN_VALUE
This is deprecated and has no effect.static int
NO_OP_VALUE
This is deprecated and has no effect.static int
NOT_EQUALS_VALUE
This is deprecated and has no effect.static int
NOT_IN_VALUE
This is deprecated and has no effect.static int
UNDEFINED_OP_VALUE
A value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Condition.Op
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Condition.Op>
internalGetValueMap()
static Condition.Op
valueOf(int value)
Deprecated.static Condition.Op
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Condition.Op
valueOf(String name)
Returns the enum constant of this type with the specified name.static Condition.Op[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_OP
public static final Condition.Op UNDEFINED_OP
A value indicating that the enum field is not set.
UNDEFINED_OP = 0;
-
DISCHARGED
public static final Condition.Op DISCHARGED
This is deprecated and has no effect. Do not use.
DISCHARGED = 266338274;
-
EQUALS
public static final Condition.Op EQUALS
This is deprecated and has no effect. Do not use.
EQUALS = 442201023;
-
IN
public static final Condition.Op IN
This is deprecated and has no effect. Do not use.
IN = 2341;
-
NOT_EQUALS
public static final Condition.Op NOT_EQUALS
This is deprecated and has no effect. Do not use.
NOT_EQUALS = 19718859;
-
NOT_IN
public static final Condition.Op NOT_IN
This is deprecated and has no effect. Do not use.
NOT_IN = 161144369;
-
NO_OP
public static final Condition.Op NO_OP
This is deprecated and has no effect. Do not use.
NO_OP = 74481951;
-
UNRECOGNIZED
public static final Condition.Op UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_OP_VALUE
public static final int UNDEFINED_OP_VALUE
A value indicating that the enum field is not set.
UNDEFINED_OP = 0;
- See Also:
- Constant Field Values
-
DISCHARGED_VALUE
public static final int DISCHARGED_VALUE
This is deprecated and has no effect. Do not use.
DISCHARGED = 266338274;
- See Also:
- Constant Field Values
-
EQUALS_VALUE
public static final int EQUALS_VALUE
This is deprecated and has no effect. Do not use.
EQUALS = 442201023;
- See Also:
- Constant Field Values
-
IN_VALUE
public static final int IN_VALUE
This is deprecated and has no effect. Do not use.
IN = 2341;
- See Also:
- Constant Field Values
-
NOT_EQUALS_VALUE
public static final int NOT_EQUALS_VALUE
This is deprecated and has no effect. Do not use.
NOT_EQUALS = 19718859;
- See Also:
- Constant Field Values
-
NOT_IN_VALUE
public static final int NOT_IN_VALUE
This is deprecated and has no effect. Do not use.
NOT_IN = 161144369;
- See Also:
- Constant Field Values
-
NO_OP_VALUE
public static final int NO_OP_VALUE
This is deprecated and has no effect. Do not use.
NO_OP = 74481951;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Condition.Op[] 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 (Condition.Op c : Condition.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Condition.Op 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Condition.Op 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 Condition.Op 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<Condition.Op> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Condition.Op 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
-
-