Package com.google.cloud.dialogflow.v2
Enum SummarizationSection.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SummarizationSection.Type>
- Enclosing class:
- SummarizationSection
public static enum SummarizationSection.Type
extends Enum<SummarizationSection.Type>
implements com.google.protobuf.ProtocolMessageEnum
Type enum of the summarization sections.Protobuf enum
google.cloud.dialogflow.v2.SummarizationSection.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhat the agent does to help the customer.Concise version of the action section.Customer defined sections."Unsatisfied" or "Satisfied" depending on the customer's feelings at the end of the conversation.Key entities extracted from the conversation, such as ticket number, order number, dollar amount, etc.Reason for cancellation if the customer requests for a cancellation.Result of the customer service.What the customer needs help with or has question about.Concise version of the situation section.Undefined section type, does not return anything. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConcise version of the action section.static final intWhat the agent does to help the customer.static final intCustomer defined sections.static final int"Unsatisfied" or "Satisfied" depending on the customer's feelings at the end of the conversation.static final intKey entities extracted from the conversation, such as ticket number, order number, dollar amount, etc.static final intReason for cancellation if the customer requests for a cancellation.static final intResult of the customer service.static final intConcise version of the situation section.static final intWhat the customer needs help with or has question about.static final intUndefined section type, does not return anything. -
Method Summary
Modifier and TypeMethodDescriptionstatic SummarizationSection.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SummarizationSection.Type>static SummarizationSection.TypevalueOf(int value) Deprecated.static SummarizationSection.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SummarizationSection.TypeReturns the enum constant of this type with the specified name.static SummarizationSection.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Undefined section type, does not return anything.
TYPE_UNSPECIFIED = 0; -
SITUATION
What the customer needs help with or has question about. Section name: "situation".
SITUATION = 1; -
ACTION
What the agent does to help the customer. Section name: "action".
ACTION = 2; -
RESOLUTION
Result of the customer service. A single word describing the result of the conversation. Section name: "resolution".
RESOLUTION = 3; -
REASON_FOR_CANCELLATION
Reason for cancellation if the customer requests for a cancellation. "N/A" otherwise. Section name: "reason_for_cancellation".
REASON_FOR_CANCELLATION = 4; -
CUSTOMER_SATISFACTION
"Unsatisfied" or "Satisfied" depending on the customer's feelings at the end of the conversation. Section name: "customer_satisfaction".
CUSTOMER_SATISFACTION = 5; -
ENTITIES
Key entities extracted from the conversation, such as ticket number, order number, dollar amount, etc. Section names are prefixed by "entities/".
ENTITIES = 6; -
CUSTOMER_DEFINED
Customer defined sections.
CUSTOMER_DEFINED = 7; -
SITUATION_CONCISE
Concise version of the situation section. This type is only available if type SITUATION is not selected.
SITUATION_CONCISE = 9; -
ACTION_CONCISE
Concise version of the action section. This type is only available if type ACTION is not selected.
ACTION_CONCISE = 10; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEUndefined section type, does not return anything.
TYPE_UNSPECIFIED = 0;- See Also:
-
SITUATION_VALUE
public static final int SITUATION_VALUEWhat the customer needs help with or has question about. Section name: "situation".
SITUATION = 1;- See Also:
-
ACTION_VALUE
public static final int ACTION_VALUEWhat the agent does to help the customer. Section name: "action".
ACTION = 2;- See Also:
-
RESOLUTION_VALUE
public static final int RESOLUTION_VALUEResult of the customer service. A single word describing the result of the conversation. Section name: "resolution".
RESOLUTION = 3;- See Also:
-
REASON_FOR_CANCELLATION_VALUE
public static final int REASON_FOR_CANCELLATION_VALUEReason for cancellation if the customer requests for a cancellation. "N/A" otherwise. Section name: "reason_for_cancellation".
REASON_FOR_CANCELLATION = 4;- See Also:
-
CUSTOMER_SATISFACTION_VALUE
public static final int CUSTOMER_SATISFACTION_VALUE"Unsatisfied" or "Satisfied" depending on the customer's feelings at the end of the conversation. Section name: "customer_satisfaction".
CUSTOMER_SATISFACTION = 5;- See Also:
-
ENTITIES_VALUE
public static final int ENTITIES_VALUEKey entities extracted from the conversation, such as ticket number, order number, dollar amount, etc. Section names are prefixed by "entities/".
ENTITIES = 6;- See Also:
-
CUSTOMER_DEFINED_VALUE
public static final int CUSTOMER_DEFINED_VALUECustomer defined sections.
CUSTOMER_DEFINED = 7;- See Also:
-
SITUATION_CONCISE_VALUE
public static final int SITUATION_CONCISE_VALUEConcise version of the situation section. This type is only available if type SITUATION is not selected.
SITUATION_CONCISE = 9;- See Also:
-
ACTION_CONCISE_VALUE
public static final int ACTION_CONCISE_VALUEConcise version of the action section. This type is only available if type ACTION is not selected.
ACTION_CONCISE = 10;- 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<SummarizationSection.Type> 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 SummarizationSection.Type 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
-