Package com.google.genai.types
Enum PartMediaResolutionLevel.Known
java.lang.Object
java.lang.Enum<PartMediaResolutionLevel.Known>
com.google.genai.types.PartMediaResolutionLevel.Known
- All Implemented Interfaces:
Serializable,Comparable<PartMediaResolutionLevel.Known>
- Enclosing class:
- PartMediaResolutionLevel
Enum representing the known values for PartMediaResolutionLevel.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMedia resolution set to high.Media resolution set to low.Media resolution set to medium.Media resolution has not been set. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static PartMediaResolutionLevel.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MEDIA_RESOLUTION_UNSPECIFIED
Media resolution has not been set. -
MEDIA_RESOLUTION_LOW
Media resolution set to low. -
MEDIA_RESOLUTION_MEDIUM
Media resolution set to medium. -
MEDIA_RESOLUTION_HIGH
Media resolution set to high. -
PART_MEDIA_RESOLUTION_LEVEL_UNSPECIFIED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-