public static enum GenerationConfig.MediaResolution extends Enum<GenerationConfig.MediaResolution> implements com.google.protobuf.ProtocolMessageEnum
Media resolution for the input media.Protobuf enum
google.cloud.aiplatform.v1beta1.GenerationConfig.MediaResolution| Enum Constant and Description |
|---|
MEDIA_RESOLUTION_HIGH
Media resolution set to high (zoomed reframing with 256 tokens).
|
MEDIA_RESOLUTION_LOW
Media resolution set to low (64 tokens).
|
MEDIA_RESOLUTION_MEDIUM
Media resolution set to medium (256 tokens).
|
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 (zoomed reframing with 256 tokens).
|
static int |
MEDIA_RESOLUTION_LOW_VALUE
Media resolution set to low (64 tokens).
|
static int |
MEDIA_RESOLUTION_MEDIUM_VALUE
Media resolution set to medium (256 tokens).
|
static int |
MEDIA_RESOLUTION_UNSPECIFIED_VALUE
Media resolution has not been set.
|
| Modifier and Type | Method and Description |
|---|---|
static GenerationConfig.MediaResolution |
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<GenerationConfig.MediaResolution> |
internalGetValueMap() |
static GenerationConfig.MediaResolution |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GenerationConfig.MediaResolution |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GenerationConfig.MediaResolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenerationConfig.MediaResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenerationConfig.MediaResolution MEDIA_RESOLUTION_UNSPECIFIED
Media resolution has not been set.
MEDIA_RESOLUTION_UNSPECIFIED = 0;public static final GenerationConfig.MediaResolution MEDIA_RESOLUTION_LOW
Media resolution set to low (64 tokens).
MEDIA_RESOLUTION_LOW = 1;public static final GenerationConfig.MediaResolution MEDIA_RESOLUTION_MEDIUM
Media resolution set to medium (256 tokens).
MEDIA_RESOLUTION_MEDIUM = 2;public static final GenerationConfig.MediaResolution MEDIA_RESOLUTION_HIGH
Media resolution set to high (zoomed reframing with 256 tokens).
MEDIA_RESOLUTION_HIGH = 3;public static final GenerationConfig.MediaResolution 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 (64 tokens).
MEDIA_RESOLUTION_LOW = 1;public static final int MEDIA_RESOLUTION_MEDIUM_VALUE
Media resolution set to medium (256 tokens).
MEDIA_RESOLUTION_MEDIUM = 2;public static final int MEDIA_RESOLUTION_HIGH_VALUE
Media resolution set to high (zoomed reframing with 256 tokens).
MEDIA_RESOLUTION_HIGH = 3;public static GenerationConfig.MediaResolution[] values()
for (GenerationConfig.MediaResolution c : GenerationConfig.MediaResolution.values()) System.out.println(c);
public static GenerationConfig.MediaResolution 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 GenerationConfig.MediaResolution valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GenerationConfig.MediaResolution forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GenerationConfig.MediaResolution> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GenerationConfig.MediaResolution valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.