Enum FitDescriptor.FitLevel
- java.lang.Object
-
- java.lang.Enum<FitDescriptor.FitLevel>
-
- com.google.cloud.migrationcenter.v1.FitDescriptor.FitLevel
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<FitDescriptor.FitLevel>
- Enclosing class:
- FitDescriptor
public static enum FitDescriptor.FitLevel extends Enum<FitDescriptor.FitLevel> implements com.google.protobuf.ProtocolMessageEnum
Fit level.
Protobuf enumgoogle.cloud.migrationcenter.v1.FitDescriptor.FitLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIT
Fit.FIT_LEVEL_UNSPECIFIED
Not enough information.NO_FIT
No Fit.REQUIRES_EFFORT
Fit with effort.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
FIT_LEVEL_UNSPECIFIED_VALUE
Not enough information.static int
FIT_VALUE
Fit.static int
NO_FIT_VALUE
No Fit.static int
REQUIRES_EFFORT_VALUE
Fit with effort.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FitDescriptor.FitLevel
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<FitDescriptor.FitLevel>
internalGetValueMap()
static FitDescriptor.FitLevel
valueOf(int value)
Deprecated.static FitDescriptor.FitLevel
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static FitDescriptor.FitLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static FitDescriptor.FitLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIT_LEVEL_UNSPECIFIED
public static final FitDescriptor.FitLevel FIT_LEVEL_UNSPECIFIED
Not enough information.
FIT_LEVEL_UNSPECIFIED = 0;
-
FIT
public static final FitDescriptor.FitLevel FIT
Fit.
FIT = 1;
-
NO_FIT
public static final FitDescriptor.FitLevel NO_FIT
No Fit.
NO_FIT = 2;
-
REQUIRES_EFFORT
public static final FitDescriptor.FitLevel REQUIRES_EFFORT
Fit with effort.
REQUIRES_EFFORT = 3;
-
UNRECOGNIZED
public static final FitDescriptor.FitLevel UNRECOGNIZED
-
-
Field Detail
-
FIT_LEVEL_UNSPECIFIED_VALUE
public static final int FIT_LEVEL_UNSPECIFIED_VALUE
Not enough information.
FIT_LEVEL_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
FIT_VALUE
public static final int FIT_VALUE
Fit.
FIT = 1;
- See Also:
- Constant Field Values
-
NO_FIT_VALUE
public static final int NO_FIT_VALUE
No Fit.
NO_FIT = 2;
- See Also:
- Constant Field Values
-
REQUIRES_EFFORT_VALUE
public static final int REQUIRES_EFFORT_VALUE
Fit with effort.
REQUIRES_EFFORT = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FitDescriptor.FitLevel[] 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 (FitDescriptor.FitLevel c : FitDescriptor.FitLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FitDescriptor.FitLevel 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 FitDescriptor.FitLevel 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 FitDescriptor.FitLevel 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<FitDescriptor.FitLevel> 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 FitDescriptor.FitLevel 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
-
-