public static enum SessionEntityType.EntityOverrideMode extends Enum<SessionEntityType.EntityOverrideMode> implements com.google.protobuf.ProtocolMessageEnum
The types of modifications for a session entity type.Protobuf enum
google.cloud.dialogflow.v2beta1.SessionEntityType.EntityOverrideMode| Enum Constant and Description |
|---|
ENTITY_OVERRIDE_MODE_OVERRIDE
The collection of session entities overrides the collection of entities
in the corresponding developer entity type.
|
ENTITY_OVERRIDE_MODE_SUPPLEMENT
The collection of session entities extends the collection of entities in
the corresponding developer entity type.
|
ENTITY_OVERRIDE_MODE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENTITY_OVERRIDE_MODE_OVERRIDE_VALUE
The collection of session entities overrides the collection of entities
in the corresponding developer entity type.
|
static int |
ENTITY_OVERRIDE_MODE_SUPPLEMENT_VALUE
The collection of session entities extends the collection of entities in
the corresponding developer entity type.
|
static int |
ENTITY_OVERRIDE_MODE_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static SessionEntityType.EntityOverrideMode |
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<SessionEntityType.EntityOverrideMode> |
internalGetValueMap() |
static SessionEntityType.EntityOverrideMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SessionEntityType.EntityOverrideMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SessionEntityType.EntityOverrideMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionEntityType.EntityOverrideMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionEntityType.EntityOverrideMode ENTITY_OVERRIDE_MODE_UNSPECIFIED
Not specified. This value should be never used.
ENTITY_OVERRIDE_MODE_UNSPECIFIED = 0;public static final SessionEntityType.EntityOverrideMode ENTITY_OVERRIDE_MODE_OVERRIDE
The collection of session entities overrides the collection of entities in the corresponding developer entity type.
ENTITY_OVERRIDE_MODE_OVERRIDE = 1;public static final SessionEntityType.EntityOverrideMode ENTITY_OVERRIDE_MODE_SUPPLEMENT
The collection of session entities extends the collection of entities in the corresponding developer entity type. Calls to `ListSessionEntityTypes`, `GetSessionEntityType`, `CreateSessionEntityType` and `UpdateSessionEntityType` return the full collection of entities from the developer entity type in the agent's default language and the session entity type.
ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2;public static final SessionEntityType.EntityOverrideMode UNRECOGNIZED
public static final int ENTITY_OVERRIDE_MODE_UNSPECIFIED_VALUE
Not specified. This value should be never used.
ENTITY_OVERRIDE_MODE_UNSPECIFIED = 0;public static final int ENTITY_OVERRIDE_MODE_OVERRIDE_VALUE
The collection of session entities overrides the collection of entities in the corresponding developer entity type.
ENTITY_OVERRIDE_MODE_OVERRIDE = 1;public static final int ENTITY_OVERRIDE_MODE_SUPPLEMENT_VALUE
The collection of session entities extends the collection of entities in the corresponding developer entity type. Calls to `ListSessionEntityTypes`, `GetSessionEntityType`, `CreateSessionEntityType` and `UpdateSessionEntityType` return the full collection of entities from the developer entity type in the agent's default language and the session entity type.
ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2;public static SessionEntityType.EntityOverrideMode[] values()
for (SessionEntityType.EntityOverrideMode c : SessionEntityType.EntityOverrideMode.values()) System.out.println(c);
public static SessionEntityType.EntityOverrideMode 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 SessionEntityType.EntityOverrideMode valueOf(int value)
forNumber(int) instead.public static SessionEntityType.EntityOverrideMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SessionEntityType.EntityOverrideMode> 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 SessionEntityType.EntityOverrideMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.