Send feedback
Class Playbook.Instruction (0.70.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class Playbook . Instruction extends GeneratedMessageV3 implements Playbook . InstructionOrBuilder
Message of the Instruction of the playbook.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction
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
GUIDELINES_FIELD_NUMBER
public static final int GUIDELINES_FIELD_NUMBER
Field Value
Type
Description
int
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Playbook . Instruction getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Playbook . Instruction . Builder newBuilder ()
newBuilder(Playbook.Instruction prototype)
public static Playbook . Instruction . Builder newBuilder ( Playbook . Instruction prototype )
public static Playbook . Instruction parseDelimitedFrom ( InputStream input )
public static Playbook . Instruction parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Playbook . Instruction parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Playbook . Instruction parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Playbook . Instruction parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Playbook . Instruction parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Playbook . Instruction parseFrom ( CodedInputStream input )
public static Playbook . Instruction parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Playbook . Instruction parseFrom ( InputStream input )
public static Playbook . Instruction parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Playbook . Instruction parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Playbook . Instruction parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Playbook . Instruction > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Playbook . Instruction getDefaultInstanceForType ()
getGuidelines()
public 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 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.
getParserForType()
public Parser<Playbook . Instruction > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSteps(int index)
public 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
getStepsCount()
public 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 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;
getStepsOrBuilder(int index)
public 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
getStepsOrBuilderList()
public 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 >
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Playbook . Instruction . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Playbook . Instruction . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Playbook . Instruction . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[],[]]