Package com.google.cloud.dialogflow.v2
Enum Conversation.GeneratorContext.GeneratorType
java.lang.Object
java.lang.Enum<Conversation.GeneratorContext.GeneratorType>
com.google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Conversation.GeneratorContext.GeneratorType>
- Enclosing class:
- Conversation.GeneratorContext
public static enum Conversation.GeneratorContext.GeneratorType
extends Enum<Conversation.GeneratorContext.GeneratorType>
implements com.google.protobuf.ProtocolMessageEnum
The available generator types.Protobuf enum
google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAgent coaching generator type.Agent feedback generator type.Customer message generation generator type.Free form generator type.Unspecified generator type.Summarization generator type.Translation generator type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAgent coaching generator type.static final intAgent feedback generator type.static final intCustomer message generation generator type.static final intFree form generator type.static final intUnspecified generator type.static final intSummarization generator type.static final intTranslation generator type. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Conversation.GeneratorContext.GeneratorType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GENERATOR_TYPE_UNSPECIFIED
Unspecified generator type.
GENERATOR_TYPE_UNSPECIFIED = 0; -
FREE_FORM
Free form generator type.
FREE_FORM = 1; -
AGENT_COACHING
Agent coaching generator type.
AGENT_COACHING = 2; -
SUMMARIZATION
Summarization generator type.
SUMMARIZATION = 3; -
TRANSLATION
Translation generator type.
TRANSLATION = 4; -
AGENT_FEEDBACK
Agent feedback generator type.
AGENT_FEEDBACK = 5; -
CUSTOMER_MESSAGE_GENERATION
Customer message generation generator type.
CUSTOMER_MESSAGE_GENERATION = 6; -
UNRECOGNIZED
-
-
Field Details
-
GENERATOR_TYPE_UNSPECIFIED_VALUE
public static final int GENERATOR_TYPE_UNSPECIFIED_VALUEUnspecified generator type.
GENERATOR_TYPE_UNSPECIFIED = 0;- See Also:
-
FREE_FORM_VALUE
public static final int FREE_FORM_VALUEFree form generator type.
FREE_FORM = 1;- See Also:
-
AGENT_COACHING_VALUE
public static final int AGENT_COACHING_VALUEAgent coaching generator type.
AGENT_COACHING = 2;- See Also:
-
SUMMARIZATION_VALUE
public static final int SUMMARIZATION_VALUESummarization generator type.
SUMMARIZATION = 3;- See Also:
-
TRANSLATION_VALUE
public static final int TRANSLATION_VALUETranslation generator type.
TRANSLATION = 4;- See Also:
-
AGENT_FEEDBACK_VALUE
public static final int AGENT_FEEDBACK_VALUEAgent feedback generator type.
AGENT_FEEDBACK = 5;- See Also:
-
CUSTOMER_MESSAGE_GENERATION_VALUE
public static final int CUSTOMER_MESSAGE_GENERATION_VALUECustomer message generation generator type.
CUSTOMER_MESSAGE_GENERATION = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Conversation.GeneratorContext.GeneratorType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Conversation.GeneratorContext.GeneratorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-