public enum IntentView extends 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.v2beta1.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(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(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 IntentView valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static IntentView forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.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)
Copyright © 2022 Google LLC. All rights reserved.