Interface Playbook.InstructionOrBuilder (0.70.0)

public static interface Playbook.InstructionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGuidelines()

public abstract String getGuidelines()

General guidelines for the playbook. These are unstructured instructions that are not directly part of the goal, e.g. "Always be polite". It's valid for this text to be long and used instead of steps altogether.

string guidelines = 1;

Returns
Type Description
String

The guidelines.

getGuidelinesBytes()

public abstract ByteString getGuidelinesBytes()

General guidelines for the playbook. These are unstructured instructions that are not directly part of the goal, e.g. "Always be polite". It's valid for this text to be long and used instead of steps altogether.

string guidelines = 1;

Returns
Type Description
ByteString

The bytes for guidelines.

getSteps(int index)

public abstract Playbook.Step getSteps(int index)

Ordered list of step by step execution instructions to accomplish target goal.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Parameter
Name Description
index int
Returns
Type Description
Playbook.Step

getStepsCount()

public abstract int getStepsCount()

Ordered list of step by step execution instructions to accomplish target goal.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Returns
Type Description
int

getStepsList()

public abstract List<Playbook.Step> getStepsList()

Ordered list of step by step execution instructions to accomplish target goal.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Returns
Type Description
List<Step>

getStepsOrBuilder(int index)

public abstract Playbook.StepOrBuilder getStepsOrBuilder(int index)

Ordered list of step by step execution instructions to accomplish target goal.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Parameter
Name Description
index int
Returns
Type Description
Playbook.StepOrBuilder

getStepsOrBuilderList()

public abstract List<? extends Playbook.StepOrBuilder> getStepsOrBuilderList()

Ordered list of step by step execution instructions to accomplish target goal.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Playbook.StepOrBuilder>