public enum IntentView extends java.lang.Enum<IntentView> implements ProtocolMessageEnum
Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response by default.Protobuf enum
google.cloud.dialogflow.v2.IntentView
Enum Constant and Description |
---|
INTENT_VIEW_FULL
All fields are populated.
|
INTENT_VIEW_UNSPECIFIED
Training phrases field is not populated in the response.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
INTENT_VIEW_FULL_VALUE
All fields are populated.
|
static int |
INTENT_VIEW_UNSPECIFIED_VALUE
Training phrases field is not populated in the response.
|
Modifier and Type | Method and Description |
---|---|
static IntentView |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<IntentView> |
internalGetValueMap() |
static IntentView |
valueOf(Descriptors.EnumValueDescriptor desc) |
static IntentView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static IntentView |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntentView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntentView INTENT_VIEW_UNSPECIFIED
Training phrases field is not populated in the response.
INTENT_VIEW_UNSPECIFIED = 0;
public static final IntentView INTENT_VIEW_FULL
All fields are populated.
INTENT_VIEW_FULL = 1;
public static final IntentView UNRECOGNIZED
public static final int INTENT_VIEW_UNSPECIFIED_VALUE
Training phrases field is not populated in the response.
INTENT_VIEW_UNSPECIFIED = 0;
public static final int INTENT_VIEW_FULL_VALUE
All fields are populated.
INTENT_VIEW_FULL = 1;
public static IntentView[] values()
for (IntentView c : IntentView.values()) System.out.println(c);
public static IntentView valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static IntentView valueOf(int value)
forNumber(int)
instead.public static IntentView forNumber(int value)
public static Internal.EnumLiteMap<IntentView> 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 IntentView valueOf(Descriptors.EnumValueDescriptor desc)