public static enum Document.State extends Enum<Document.State> implements ProtocolMessageEnum
Possible states of the documentProtobuf enum
google.cloud.dialogflow.v2.Document.State
Enum Constant and Description |
---|
ACTIVE
The document is active and ready to use.
|
CREATING
The document creation is in progress.
|
DELETING
The document deletion is in progress.
|
RELOADING
The document is reloading.
|
STATE_UNSPECIFIED
The document state is unspecified.
|
UNRECOGNIZED |
UPDATING
The document updation is in progress.
|
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_VALUE
The document is active and ready to use.
|
static int |
CREATING_VALUE
The document creation is in progress.
|
static int |
DELETING_VALUE
The document deletion is in progress.
|
static int |
RELOADING_VALUE
The document is reloading.
|
static int |
STATE_UNSPECIFIED_VALUE
The document state is unspecified.
|
static int |
UPDATING_VALUE
The document updation is in progress.
|
Modifier and Type | Method and Description |
---|---|
static Document.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Document.State> |
internalGetValueMap() |
static Document.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Document.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Document.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Document.State STATE_UNSPECIFIED
The document state is unspecified.
STATE_UNSPECIFIED = 0;
public static final Document.State CREATING
The document creation is in progress.
CREATING = 1;
public static final Document.State ACTIVE
The document is active and ready to use.
ACTIVE = 2;
public static final Document.State UPDATING
The document updation is in progress.
UPDATING = 3;
public static final Document.State RELOADING
The document is reloading.
RELOADING = 4;
public static final Document.State DELETING
The document deletion is in progress.
DELETING = 5;
public static final Document.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The document state is unspecified.
STATE_UNSPECIFIED = 0;
public static final int CREATING_VALUE
The document creation is in progress.
CREATING = 1;
public static final int ACTIVE_VALUE
The document is active and ready to use.
ACTIVE = 2;
public static final int UPDATING_VALUE
The document updation is in progress.
UPDATING = 3;
public static final int RELOADING_VALUE
The document is reloading.
RELOADING = 4;
public static final int DELETING_VALUE
The document deletion is in progress.
DELETING = 5;
public static Document.State[] values()
for (Document.State c : Document.State.values()) System.out.println(c);
public static Document.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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Document.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Document.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Document.State> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Document.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.