public interface GuidanceInstructionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getActions(int index)
public abstract GuidanceInstruction.Action getActions(int index)Optional. The action items that can be processed.
repeated .google.cloud.dialogflow.v2.GuidanceInstruction.Action actions = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GuidanceInstruction.Action |
|
getActionsCount()
public abstract int getActionsCount()Optional. The action items that can be processed.
repeated .google.cloud.dialogflow.v2.GuidanceInstruction.Action actions = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getActionsList()
public abstract List<GuidanceInstruction.Action> getActionsList()Optional. The action items that can be processed.
repeated .google.cloud.dialogflow.v2.GuidanceInstruction.Action actions = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Action> |
|
getActionsOrBuilder(int index)
public abstract GuidanceInstruction.ActionOrBuilder getActionsOrBuilder(int index)Optional. The action items that can be processed.
repeated .google.cloud.dialogflow.v2.GuidanceInstruction.Action actions = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GuidanceInstruction.ActionOrBuilder |
|
getActionsOrBuilderList()
public abstract List<? extends GuidanceInstruction.ActionOrBuilder> getActionsOrBuilderList()Optional. The action items that can be processed.
repeated .google.cloud.dialogflow.v2.GuidanceInstruction.Action actions = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.GuidanceInstruction.ActionOrBuilder> |
|
getCondition()
public abstract 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 abstract 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. |
getDisableSuggestedReply()
public abstract boolean getDisableSuggestedReply() Optional. Whether to disable suggested reply generation for this
instruction. When set to true, guidance generated from this instruction
will not include a suggested reply. Default is false (suggested reply
enabled).
bool disable_suggested_reply = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The disableSuggestedReply. |
getDisplayDetails()
public abstract 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 abstract 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 abstract String getDisplayName()Optional. Display name for the instruction. This name should be unique within the companion agent.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Optional. Display name for the instruction. This name should be unique within the companion agent.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getTriggerEvent()
public abstract CompanionAgent.TriggerEvent getTriggerEvent()Optional. Event that triggers the guidance instruction. If UNSPECIFIED, the instruction triggering will be the same as the skill's skill_triggering_event.
.google.cloud.dialogflow.v2.CompanionAgent.TriggerEvent trigger_event = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CompanionAgent.TriggerEvent |
The triggerEvent. |
getTriggerEventValue()
public abstract int getTriggerEventValue()Optional. Event that triggers the guidance instruction. If UNSPECIFIED, the instruction triggering will be the same as the skill's skill_triggering_event.
.google.cloud.dialogflow.v2.CompanionAgent.TriggerEvent trigger_event = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for triggerEvent. |