- 4.87.0 (latest)
- 4.86.0
- 4.84.0
- 4.82.0
- 4.81.0
- 4.80.0
- 4.79.0
- 4.78.0
- 4.76.0
- 4.74.0
- 4.73.0
- 4.70.0
- 4.69.0
- 4.68.0
- 4.66.0
- 4.65.0
- 4.64.0
- 4.63.0
- 4.62.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class AgentCoachingInstruction.Builder extends GeneratedMessageV3.Builder<AgentCoachingInstruction.Builder> implements AgentCoachingInstructionOrBuilderAgent Coaching instructions that customer can configure.
Protobuf type google.cloud.dialogflow.v2beta1.AgentCoachingInstruction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AgentCoachingInstruction.BuilderImplements
AgentCoachingInstructionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AgentCoachingInstruction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
build()
public AgentCoachingInstruction build()| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction |
|
buildPartial()
public AgentCoachingInstruction buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction |
|
clear()
public AgentCoachingInstruction.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
clearAgentAction()
public AgentCoachingInstruction.Builder clearAgentAction()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 |
AgentCoachingInstruction.Builder |
This builder for chaining. |
clearCondition()
public AgentCoachingInstruction.Builder clearCondition()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 |
AgentCoachingInstruction.Builder |
This builder for chaining. |
clearDisplayDetails()
public AgentCoachingInstruction.Builder clearDisplayDetails()Optional. The detailed description of this instruction.
string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
clearDisplayName()
public AgentCoachingInstruction.Builder clearDisplayName()Optional. Display name for the instruction.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
clearDuplicateCheckResult()
public AgentCoachingInstruction.Builder clearDuplicateCheckResult()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.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public AgentCoachingInstruction.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public AgentCoachingInstruction.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
clearSystemAction()
public AgentCoachingInstruction.Builder clearSystemAction()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 |
AgentCoachingInstruction.Builder |
This builder for chaining. |
clearTriggeringEvent()
public AgentCoachingInstruction.Builder clearTriggeringEvent()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.Builder |
This builder for chaining. |
clone()
public AgentCoachingInstruction.Builder clone()| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getDuplicateCheckResultBuilder()
public AgentCoachingInstruction.DuplicateCheckResult.Builder getDuplicateCheckResultBuilder()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.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDuplicateCheckResult(AgentCoachingInstruction.DuplicateCheckResult value)
public AgentCoachingInstruction.Builder mergeDuplicateCheckResult(AgentCoachingInstruction.DuplicateCheckResult value)Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingInstruction.DuplicateCheckResult |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
mergeFrom(AgentCoachingInstruction other)
public AgentCoachingInstruction.Builder mergeFrom(AgentCoachingInstruction other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentCoachingInstruction |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentCoachingInstruction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentCoachingInstruction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AgentCoachingInstruction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
setAgentAction(String value)
public AgentCoachingInstruction.Builder setAgentAction(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agentAction to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setAgentActionBytes(ByteString value)
public AgentCoachingInstruction.Builder setAgentActionBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agentAction to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setCondition(String value)
public AgentCoachingInstruction.Builder setCondition(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe condition to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setConditionBytes(ByteString value)
public AgentCoachingInstruction.Builder setConditionBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for condition to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setDisplayDetails(String value)
public AgentCoachingInstruction.Builder setDisplayDetails(String value)Optional. The detailed description of this instruction.
string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayDetails to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setDisplayDetailsBytes(ByteString value)
public AgentCoachingInstruction.Builder setDisplayDetailsBytes(ByteString value)Optional. The detailed description of this instruction.
string display_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayDetails to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setDisplayName(String value)
public AgentCoachingInstruction.Builder setDisplayName(String value)Optional. Display name for the instruction.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AgentCoachingInstruction.Builder setDisplayNameBytes(ByteString value)Optional. Display name for the instruction.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setDuplicateCheckResult(AgentCoachingInstruction.DuplicateCheckResult value)
public AgentCoachingInstruction.Builder setDuplicateCheckResult(AgentCoachingInstruction.DuplicateCheckResult value)Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingInstruction.DuplicateCheckResult |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
setDuplicateCheckResult(AgentCoachingInstruction.DuplicateCheckResult.Builder builderForValue)
public AgentCoachingInstruction.Builder setDuplicateCheckResult(AgentCoachingInstruction.DuplicateCheckResult.Builder builderForValue)Output only. Duplication check for the AgentCoachingInstruction.
.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult duplicate_check_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCoachingInstruction.DuplicateCheckResult.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public AgentCoachingInstruction.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AgentCoachingInstruction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|
setSystemAction(String value)
public AgentCoachingInstruction.Builder setSystemAction(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe systemAction to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setSystemActionBytes(ByteString value)
public AgentCoachingInstruction.Builder setSystemActionBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for systemAction to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setTriggeringEvent(AgentCoachingInstruction.TriggerEvent value)
public AgentCoachingInstruction.Builder setTriggeringEvent(AgentCoachingInstruction.TriggerEvent value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingInstruction.TriggerEventThe triggeringEvent to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setTriggeringEventValue(int value)
public AgentCoachingInstruction.Builder setTriggeringEventValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for triggeringEvent to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AgentCoachingInstruction.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.Builder |
|