public static enum Part.MediaResolution.Level extends Enum<Part.MediaResolution.Level> implements com.google.protobuf.ProtocolMessageEnum
The media resolution level.Protobuf enum
google.cloud.aiplatform.v1.Part.MediaResolution.Level| Enum Constant and Description |
|---|
MEDIA_RESOLUTION_HIGH
Media resolution set to high.
|
MEDIA_RESOLUTION_LOW
Media resolution set to low.
|
MEDIA_RESOLUTION_MEDIUM
Media resolution set to medium.
|
MEDIA_RESOLUTION_ULTRA_HIGH
Media resolution set to ultra high.
|
MEDIA_RESOLUTION_UNSPECIFIED
Media resolution has not been set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MEDIA_RESOLUTION_HIGH_VALUE
Media resolution set to high.
|
static int |
MEDIA_RESOLUTION_LOW_VALUE
Media resolution set to low.
|
static int |
MEDIA_RESOLUTION_MEDIUM_VALUE
Media resolution set to medium.
|
static int |
MEDIA_RESOLUTION_ULTRA_HIGH_VALUE
Media resolution set to ultra high.
|
static int |
MEDIA_RESOLUTION_UNSPECIFIED_VALUE
Media resolution has not been set.
|
| Modifier and Type | Method and Description |
|---|---|
static Part.MediaResolution.Level |
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<Part.MediaResolution.Level> |
internalGetValueMap() |
static Part.MediaResolution.Level |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Part.MediaResolution.Level |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Part.MediaResolution.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Part.MediaResolution.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Part.MediaResolution.Level MEDIA_RESOLUTION_UNSPECIFIED
Media resolution has not been set.
MEDIA_RESOLUTION_UNSPECIFIED = 0;public static final Part.MediaResolution.Level MEDIA_RESOLUTION_LOW
Media resolution set to low.
MEDIA_RESOLUTION_LOW = 1;public static final Part.MediaResolution.Level MEDIA_RESOLUTION_MEDIUM
Media resolution set to medium.
MEDIA_RESOLUTION_MEDIUM = 2;public static final Part.MediaResolution.Level MEDIA_RESOLUTION_HIGH
Media resolution set to high.
MEDIA_RESOLUTION_HIGH = 3;public static final Part.MediaResolution.Level MEDIA_RESOLUTION_ULTRA_HIGH
Media resolution set to ultra high. This is for image only.
MEDIA_RESOLUTION_ULTRA_HIGH = 4;public static final Part.MediaResolution.Level UNRECOGNIZED
public static final int MEDIA_RESOLUTION_UNSPECIFIED_VALUE
Media resolution has not been set.
MEDIA_RESOLUTION_UNSPECIFIED = 0;public static final int MEDIA_RESOLUTION_LOW_VALUE
Media resolution set to low.
MEDIA_RESOLUTION_LOW = 1;public static final int MEDIA_RESOLUTION_MEDIUM_VALUE
Media resolution set to medium.
MEDIA_RESOLUTION_MEDIUM = 2;public static final int MEDIA_RESOLUTION_HIGH_VALUE
Media resolution set to high.
MEDIA_RESOLUTION_HIGH = 3;public static final int MEDIA_RESOLUTION_ULTRA_HIGH_VALUE
Media resolution set to ultra high. This is for image only.
MEDIA_RESOLUTION_ULTRA_HIGH = 4;public static Part.MediaResolution.Level[] values()
for (Part.MediaResolution.Level c : Part.MediaResolution.Level.values()) System.out.println(c);
public static Part.MediaResolution.Level valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Part.MediaResolution.Level valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Part.MediaResolution.Level forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Part.MediaResolution.Level> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Part.MediaResolution.Level valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.