Class AgentCoachingInstruction (4.87.0)

public final class AgentCoachingInstruction extends GeneratedMessageV3 implements AgentCoachingInstructionOrBuilder

Agent Coaching instructions that customer can configure.

Protobuf type google.cloud.dialogflow.v2beta1.AgentCoachingInstruction

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()
Returns
Type Description
AgentCoachingInstruction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AgentCoachingInstruction.Builder newBuilder()
Returns
Type Description
AgentCoachingInstruction.Builder

newBuilder(AgentCoachingInstruction prototype)

public static AgentCoachingInstruction.Builder newBuilder(AgentCoachingInstruction prototype)
Parameter
Name Description
prototype AgentCoachingInstruction
Returns
Type Description
AgentCoachingInstruction.Builder

parseDelimitedFrom(InputStream input)

public static AgentCoachingInstruction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingInstruction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AgentCoachingInstruction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingInstruction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AgentCoachingInstruction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingInstruction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AgentCoachingInstruction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingInstruction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AgentCoachingInstruction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingInstruction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AgentCoachingInstruction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AgentCoachingInstruction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentCoachingInstruction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AgentCoachingInstruction> parser()
Returns
Type Description
Parser<AgentCoachingInstruction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
AgentCoachingInstruction

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];

Returns
Type Description
AgentCoachingInstruction.DuplicateCheckResult

The duplicateCheckResult.

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];

Returns
Type Description
AgentCoachingInstruction.DuplicateCheckResultOrBuilder

getParserForType()

public Parser<AgentCoachingInstruction> getParserForType()
Returns
Type Description
Parser<AgentCoachingInstruction>
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];

Returns
Type Description
AgentCoachingInstruction.TriggerEvent

The triggeringEvent.

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AgentCoachingInstruction.Builder newBuilderForType()
Returns
Type Description
AgentCoachingInstruction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AgentCoachingInstruction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentCoachingInstruction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AgentCoachingInstruction.Builder toBuilder()
Returns
Type Description
AgentCoachingInstruction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException