public static final class Playbook.Instruction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder> implements Playbook.InstructionOrBuilder
Message of the Instruction of the playbook.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction| Modifier and Type | Method and Description |
|---|---|
Playbook.Instruction.Builder |
addAllSteps(Iterable<? extends Playbook.Step> values)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Playbook.Instruction.Builder |
addSteps(int index,
Playbook.Step.Builder builderForValue)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction.Builder |
addSteps(int index,
Playbook.Step value)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction.Builder |
addSteps(Playbook.Step.Builder builderForValue)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction.Builder |
addSteps(Playbook.Step value)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Step.Builder |
addStepsBuilder()
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Step.Builder |
addStepsBuilder(int index)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction |
build() |
Playbook.Instruction |
buildPartial() |
Playbook.Instruction.Builder |
clear() |
Playbook.Instruction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Playbook.Instruction.Builder |
clearGuidelines()
General guidelines for the playbook.
|
Playbook.Instruction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Playbook.Instruction.Builder |
clearSteps()
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction.Builder |
clone() |
Playbook.Instruction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGuidelines()
General guidelines for the playbook.
|
com.google.protobuf.ByteString |
getGuidelinesBytes()
General guidelines for the playbook.
|
Playbook.Step |
getSteps(int index)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Step.Builder |
getStepsBuilder(int index)
Ordered list of step by step execution instructions to accomplish
target goal.
|
List<Playbook.Step.Builder> |
getStepsBuilderList()
Ordered list of step by step execution instructions to accomplish
target goal.
|
int |
getStepsCount()
Ordered list of step by step execution instructions to accomplish
target goal.
|
List<Playbook.Step> |
getStepsList()
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.StepOrBuilder |
getStepsOrBuilder(int index)
Ordered list of step by step execution instructions to accomplish
target goal.
|
List<? extends Playbook.StepOrBuilder> |
getStepsOrBuilderList()
Ordered list of step by step execution instructions to accomplish
target goal.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Playbook.Instruction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Playbook.Instruction.Builder |
mergeFrom(com.google.protobuf.Message other) |
Playbook.Instruction.Builder |
mergeFrom(Playbook.Instruction other) |
Playbook.Instruction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Playbook.Instruction.Builder |
removeSteps(int index)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Playbook.Instruction.Builder |
setGuidelines(String value)
General guidelines for the playbook.
|
Playbook.Instruction.Builder |
setGuidelinesBytes(com.google.protobuf.ByteString value)
General guidelines for the playbook.
|
Playbook.Instruction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Playbook.Instruction.Builder |
setSteps(int index,
Playbook.Step.Builder builderForValue)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction.Builder |
setSteps(int index,
Playbook.Step value)
Ordered list of step by step execution instructions to accomplish
target goal.
|
Playbook.Instruction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Playbook.Instruction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Playbook.Instruction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Playbook.Instruction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder mergeFrom(Playbook.Instruction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public Playbook.Instruction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Playbook.Instruction.Builder>IOExceptionpublic 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;getGuidelines in interface Playbook.InstructionOrBuilderpublic com.google.protobuf.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;getGuidelinesBytes in interface Playbook.InstructionOrBuilderpublic Playbook.Instruction.Builder setGuidelines(String value)
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;value - The guidelines to set.public Playbook.Instruction.Builder clearGuidelines()
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;public Playbook.Instruction.Builder setGuidelinesBytes(com.google.protobuf.ByteString value)
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;value - The bytes for guidelines to set.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;getStepsList in interface Playbook.InstructionOrBuilderpublic int getStepsCount()
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;getStepsCount in interface Playbook.InstructionOrBuilderpublic 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;getSteps in interface Playbook.InstructionOrBuilderpublic Playbook.Instruction.Builder setSteps(int index, Playbook.Step value)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Instruction.Builder setSteps(int index, Playbook.Step.Builder builderForValue)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Instruction.Builder addSteps(Playbook.Step value)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Instruction.Builder addSteps(int index, Playbook.Step value)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Instruction.Builder addSteps(Playbook.Step.Builder builderForValue)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Instruction.Builder addSteps(int index, Playbook.Step.Builder builderForValue)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Instruction.Builder addAllSteps(Iterable<? extends Playbook.Step> values)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Instruction.Builder clearSteps()
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Instruction.Builder removeSteps(int index)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Step.Builder getStepsBuilder(int index)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;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;getStepsOrBuilder in interface Playbook.InstructionOrBuilderpublic 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;getStepsOrBuilderList in interface Playbook.InstructionOrBuilderpublic Playbook.Step.Builder addStepsBuilder()
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public Playbook.Step.Builder addStepsBuilder(int index)
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public List<Playbook.Step.Builder> getStepsBuilderList()
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;public final Playbook.Instruction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>public final Playbook.Instruction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Playbook.Instruction.Builder>Copyright © 2025 Google LLC. All rights reserved.