public static enum CorpusStatus.State extends Enum<CorpusStatus.State> implements com.google.protobuf.ProtocolMessageEnum
RagCorpus life state.Protobuf enum
google.cloud.aiplatform.v1beta1.CorpusStatus.State| Enum Constant and Description |
|---|
ACTIVE
RagCorpus is provisioned successfully and is ready to serve.
|
ERROR
RagCorpus is in a problematic situation.
|
INITIALIZED
RagCorpus resource entry is initialized, but hasn't done validation.
|
UNKNOWN
This state is not supposed to happen.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
RagCorpus is provisioned successfully and is ready to serve.
|
static int |
ERROR_VALUE
RagCorpus is in a problematic situation.
|
static int |
INITIALIZED_VALUE
RagCorpus resource entry is initialized, but hasn't done validation.
|
static int |
UNKNOWN_VALUE
This state is not supposed to happen.
|
| Modifier and Type | Method and Description |
|---|---|
static CorpusStatus.State |
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<CorpusStatus.State> |
internalGetValueMap() |
static CorpusStatus.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CorpusStatus.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CorpusStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CorpusStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorpusStatus.State UNKNOWN
This state is not supposed to happen.
UNKNOWN = 0;public static final CorpusStatus.State INITIALIZED
RagCorpus resource entry is initialized, but hasn't done validation.
INITIALIZED = 1;public static final CorpusStatus.State ACTIVE
RagCorpus is provisioned successfully and is ready to serve.
ACTIVE = 2;public static final CorpusStatus.State ERROR
RagCorpus is in a problematic situation. See `error_message` field for details.
ERROR = 3;public static final CorpusStatus.State UNRECOGNIZED
public static final int UNKNOWN_VALUE
This state is not supposed to happen.
UNKNOWN = 0;public static final int INITIALIZED_VALUE
RagCorpus resource entry is initialized, but hasn't done validation.
INITIALIZED = 1;public static final int ACTIVE_VALUE
RagCorpus is provisioned successfully and is ready to serve.
ACTIVE = 2;public static final int ERROR_VALUE
RagCorpus is in a problematic situation. See `error_message` field for details.
ERROR = 3;public static CorpusStatus.State[] values()
for (CorpusStatus.State c : CorpusStatus.State.values()) System.out.println(c);
public static CorpusStatus.State 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 CorpusStatus.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CorpusStatus.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CorpusStatus.State> 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 CorpusStatus.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.