public final class AgentCoachingInstruction extends GeneratedMessageV3 implements AgentCoachingInstructionOrBuilder
Agent Coaching instructions that customer can configure.
Protobuf type google.cloud.dialogflow.v2beta1.AgentCoachingInstruction
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AGENT_ACTION_FIELD_NUMBER
public static final int AGENT_ACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DISPLAY_DETAILS_FIELD_NUMBER
public static final int DISPLAY_DETAILS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DUPLICATE_CHECK_RESULT_FIELD_NUMBER
public static final int DUPLICATE_CHECK_RESULT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SYSTEM_ACTION_FIELD_NUMBER
public static final int SYSTEM_ACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TRIGGERING_EVENT_FIELD_NUMBER
public static final int TRIGGERING_EVENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AgentCoachingInstruction getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AgentCoachingInstruction.Builder newBuilder()
newBuilder(AgentCoachingInstruction prototype)
public static AgentCoachingInstruction.Builder newBuilder(AgentCoachingInstruction prototype)
public static AgentCoachingInstruction parseDelimitedFrom(InputStream input)
public static AgentCoachingInstruction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AgentCoachingInstruction parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingInstruction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AgentCoachingInstruction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingInstruction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingInstruction parseFrom(CodedInputStream input)
public static AgentCoachingInstruction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingInstruction parseFrom(InputStream input)
public static AgentCoachingInstruction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AgentCoachingInstruction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AgentCoachingInstruction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AgentCoachingInstruction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAgentAction()
public String 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];
| Returns |
| Type |
Description |
String |
The agentAction.
|
getAgentActionBytes()
public 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];
| Returns |
| Type |
Description |
ByteString |
The bytes for agentAction.
|
getCondition()
public String 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];
| Returns |
| Type |
Description |
String |
The condition.
|
getConditionBytes()
public 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];
| Returns |
| Type |
Description |
ByteString |
The bytes for condition.
|
getDefaultInstanceForType()
public AgentCoachingInstruction getDefaultInstanceForType()
getDisplayDetails()
public String getDisplayDetails()
Optional. The detailed description of this instruction.
string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The displayDetails.
|
getDisplayDetailsBytes()
public ByteString getDisplayDetailsBytes()
Optional. The detailed description of this instruction.
string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for displayDetails.
|
getDisplayName()
public String getDisplayName()
Optional. Display name for the instruction.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Display name for the instruction.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
getDuplicateCheckResult()
public AgentCoachingInstruction.DuplicateCheckResult getDuplicateCheckResult()
Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDuplicateCheckResultOrBuilder()
public AgentCoachingInstruction.DuplicateCheckResultOrBuilder getDuplicateCheckResultOrBuilder()
Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<AgentCoachingInstruction> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSystemAction()
public String 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 empty
string system_action = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The systemAction.
|
getSystemActionBytes()
public 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 empty
string system_action = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for systemAction.
|
getTriggeringEvent()
public AgentCoachingInstruction.TriggerEvent 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.v2beta1.AgentCoachingInstruction.TriggerEvent triggering_event = 10 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.AgentCoachingInstruction.TriggerEvent triggering_event = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for triggeringEvent.
|
hasDuplicateCheckResult()
public boolean hasDuplicateCheckResult()
Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the duplicateCheckResult field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AgentCoachingInstruction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AgentCoachingInstruction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public AgentCoachingInstruction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides