public enum IntentView extends Enum<IntentView> implements com.google.protobuf.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 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<IntentView> |
internalGetValueMap() |
static IntentView |
valueOf(com.google.protobuf.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.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 com.google.protobuf.Internal.EnumLiteMap<IntentView> 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 IntentView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.