public static enum GoogleDriveSource.ResourceId.ResourceType extends Enum<GoogleDriveSource.ResourceId.ResourceType> implements com.google.protobuf.ProtocolMessageEnum
The type of the Google Drive resource.Protobuf enum
google.cloud.vertexai.v1.GoogleDriveSource.ResourceId.ResourceType| Enum Constant and Description |
|---|
RESOURCE_TYPE_FILE
File resource type.
|
RESOURCE_TYPE_FOLDER
Folder resource type.
|
RESOURCE_TYPE_UNSPECIFIED
Unspecified resource type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RESOURCE_TYPE_FILE_VALUE
File resource type.
|
static int |
RESOURCE_TYPE_FOLDER_VALUE
Folder resource type.
|
static int |
RESOURCE_TYPE_UNSPECIFIED_VALUE
Unspecified resource type.
|
| Modifier and Type | Method and Description |
|---|---|
static GoogleDriveSource.ResourceId.ResourceType |
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<GoogleDriveSource.ResourceId.ResourceType> |
internalGetValueMap() |
static GoogleDriveSource.ResourceId.ResourceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GoogleDriveSource.ResourceId.ResourceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GoogleDriveSource.ResourceId.ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoogleDriveSource.ResourceId.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoogleDriveSource.ResourceId.ResourceType RESOURCE_TYPE_UNSPECIFIED
Unspecified resource type.
RESOURCE_TYPE_UNSPECIFIED = 0;public static final GoogleDriveSource.ResourceId.ResourceType RESOURCE_TYPE_FILE
File resource type.
RESOURCE_TYPE_FILE = 1;public static final GoogleDriveSource.ResourceId.ResourceType RESOURCE_TYPE_FOLDER
Folder resource type.
RESOURCE_TYPE_FOLDER = 2;public static final GoogleDriveSource.ResourceId.ResourceType UNRECOGNIZED
public static final int RESOURCE_TYPE_UNSPECIFIED_VALUE
Unspecified resource type.
RESOURCE_TYPE_UNSPECIFIED = 0;public static final int RESOURCE_TYPE_FILE_VALUE
File resource type.
RESOURCE_TYPE_FILE = 1;public static final int RESOURCE_TYPE_FOLDER_VALUE
Folder resource type.
RESOURCE_TYPE_FOLDER = 2;public static GoogleDriveSource.ResourceId.ResourceType[] values()
for (GoogleDriveSource.ResourceId.ResourceType c : GoogleDriveSource.ResourceId.ResourceType.values()) System.out.println(c);
public static GoogleDriveSource.ResourceId.ResourceType 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 GoogleDriveSource.ResourceId.ResourceType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GoogleDriveSource.ResourceId.ResourceType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GoogleDriveSource.ResourceId.ResourceType> 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 GoogleDriveSource.ResourceId.ResourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.