public static enum RagFile.RagFileType extends Enum<RagFile.RagFileType> implements com.google.protobuf.ProtocolMessageEnum
The type of the RagFile.Protobuf enum
google.cloud.aiplatform.v1beta1.RagFile.RagFileType| Enum Constant and Description |
|---|
RAG_FILE_TYPE_PDF
RagFile type is PDF.
|
RAG_FILE_TYPE_TXT
RagFile type is TXT.
|
RAG_FILE_TYPE_UNSPECIFIED
RagFile type is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RAG_FILE_TYPE_PDF_VALUE
RagFile type is PDF.
|
static int |
RAG_FILE_TYPE_TXT_VALUE
RagFile type is TXT.
|
static int |
RAG_FILE_TYPE_UNSPECIFIED_VALUE
RagFile type is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static RagFile.RagFileType |
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<RagFile.RagFileType> |
internalGetValueMap() |
static RagFile.RagFileType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RagFile.RagFileType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RagFile.RagFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RagFile.RagFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RagFile.RagFileType RAG_FILE_TYPE_UNSPECIFIED
RagFile type is unspecified.
RAG_FILE_TYPE_UNSPECIFIED = 0;public static final RagFile.RagFileType RAG_FILE_TYPE_TXT
RagFile type is TXT.
RAG_FILE_TYPE_TXT = 1;public static final RagFile.RagFileType RAG_FILE_TYPE_PDF
RagFile type is PDF.
RAG_FILE_TYPE_PDF = 2;public static final RagFile.RagFileType UNRECOGNIZED
public static final int RAG_FILE_TYPE_UNSPECIFIED_VALUE
RagFile type is unspecified.
RAG_FILE_TYPE_UNSPECIFIED = 0;public static final int RAG_FILE_TYPE_TXT_VALUE
RagFile type is TXT.
RAG_FILE_TYPE_TXT = 1;public static final int RAG_FILE_TYPE_PDF_VALUE
RagFile type is PDF.
RAG_FILE_TYPE_PDF = 2;public static RagFile.RagFileType[] values()
for (RagFile.RagFileType c : RagFile.RagFileType.values()) System.out.println(c);
public static RagFile.RagFileType 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 RagFile.RagFileType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RagFile.RagFileType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RagFile.RagFileType> 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 RagFile.RagFileType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.