Package com.google.cloud.dialogflow.v2
Class AgentCoachingInstruction
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.AgentCoachingInstruction
- All Implemented Interfaces:
AgentCoachingInstructionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AgentCoachingInstruction
extends com.google.protobuf.GeneratedMessage
implements AgentCoachingInstructionOrBuilder
Agent Coaching instructions that customer can configure.Protobuf type
google.cloud.dialogflow.v2.AgentCoachingInstruction- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAgent Coaching instructions that customer can configure.static final classDuplication check for the suggestion.static interfacestatic enumThe event that should trigger this instruction.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.static AgentCoachingInstructionstatic final com.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Output only.Output only.com.google.protobuf.Parser<AgentCoachingInstruction>intOptional.com.google.protobuf.ByteStringOptional.Optional.intOptional.booleanOutput only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(AgentCoachingInstruction prototype) protected AgentCoachingInstruction.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AgentCoachingInstructionparseDelimitedFrom(InputStream input) static AgentCoachingInstructionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCoachingInstructionparseFrom(byte[] data) static AgentCoachingInstructionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCoachingInstructionparseFrom(com.google.protobuf.ByteString data) static AgentCoachingInstructionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCoachingInstructionparseFrom(com.google.protobuf.CodedInputStream input) static AgentCoachingInstructionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCoachingInstructionparseFrom(InputStream input) static AgentCoachingInstructionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AgentCoachingInstructionparseFrom(ByteBuffer data) static AgentCoachingInstructionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AgentCoachingInstruction>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DISPLAY_DETAILS_FIELD_NUMBER
public static final int DISPLAY_DETAILS_FIELD_NUMBER- See Also:
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER- See Also:
-
AGENT_ACTION_FIELD_NUMBER
public static final int AGENT_ACTION_FIELD_NUMBER- See Also:
-
SYSTEM_ACTION_FIELD_NUMBER
public static final int SYSTEM_ACTION_FIELD_NUMBER- See Also:
-
DUPLICATE_CHECK_RESULT_FIELD_NUMBER
public static final int DUPLICATE_CHECK_RESULT_FIELD_NUMBER- See Also:
-
TRIGGERING_EVENT_FIELD_NUMBER
public static final int TRIGGERING_EVENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDisplayName
Optional. Display name for the instruction.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceAgentCoachingInstructionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. Display name for the instruction.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The bytes for displayName.
-
getDisplayDetails
Optional. The detailed description of this instruction.
string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayDetailsin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The displayDetails.
-
getDisplayDetailsBytes
public com.google.protobuf.ByteString getDisplayDetailsBytes()Optional. The detailed description of this instruction.
string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayDetailsBytesin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The bytes for displayDetails.
-
getCondition
Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty.
string condition = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConditionin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The condition.
-
getConditionBytes
public com.google.protobuf.ByteString getConditionBytes()Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty.
string condition = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConditionBytesin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The bytes for condition.
-
getAgentAction
Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty
string agent_action = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAgentActionin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The agentAction.
-
getAgentActionBytes
public com.google.protobuf.ByteString getAgentActionBytes()Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty
string agent_action = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAgentActionBytesin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The bytes for agentAction.
-
getSystemAction
Optional. The action that system should take. For example, "call GetOrderTime with order_number={order number provided by the customer}". If the users don't have plugins or don't want to trigger plugins, the system_action can be emptystring system_action = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSystemActionin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The systemAction.
-
getSystemActionBytes
public com.google.protobuf.ByteString getSystemActionBytes()Optional. The action that system should take. For example, "call GetOrderTime with order_number={order number provided by the customer}". If the users don't have plugins or don't want to trigger plugins, the system_action can be emptystring system_action = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSystemActionBytesin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The bytes for systemAction.
-
hasDuplicateCheckResult
public boolean hasDuplicateCheckResult()Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDuplicateCheckResultin interfaceAgentCoachingInstructionOrBuilder- Returns:
- Whether the duplicateCheckResult field is set.
-
getDuplicateCheckResult
Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDuplicateCheckResultin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The duplicateCheckResult.
-
getDuplicateCheckResultOrBuilder
Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDuplicateCheckResultOrBuilderin interfaceAgentCoachingInstructionOrBuilder
-
getTriggeringEventValue
public int getTriggeringEventValue()Optional. The event that should trigger this instruction. If UNSPECIFIED, the instruction triggering will be same as the generator's trigger_event.
.google.cloud.dialogflow.v2.AgentCoachingInstruction.TriggerEvent triggering_event = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTriggeringEventValuein interfaceAgentCoachingInstructionOrBuilder- Returns:
- The enum numeric value on the wire for triggeringEvent.
-
getTriggeringEvent
Optional. The event that should trigger this instruction. If UNSPECIFIED, the instruction triggering will be same as the generator's trigger_event.
.google.cloud.dialogflow.v2.AgentCoachingInstruction.TriggerEvent triggering_event = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTriggeringEventin interfaceAgentCoachingInstructionOrBuilder- Returns:
- The triggeringEvent.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AgentCoachingInstruction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCoachingInstruction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCoachingInstruction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCoachingInstruction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCoachingInstruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AgentCoachingInstruction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AgentCoachingInstruction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AgentCoachingInstruction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AgentCoachingInstruction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AgentCoachingInstruction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AgentCoachingInstruction.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-