Class Playbook.Instruction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Playbook.Instruction.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction.Builder
- All Implemented Interfaces:
Playbook.InstructionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Playbook.Instruction
public static final class Playbook.Instruction.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Playbook.Instruction.Builder>
implements Playbook.InstructionOrBuilder
Message of the Instruction of the playbook.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Playbook.Instruction-
Method Summary
Modifier and TypeMethodDescriptionaddAllSteps(Iterable<? extends Playbook.Step> values) Ordered list of step by step execution instructions to accomplish target goal.addSteps(int index, Playbook.Step value) Ordered list of step by step execution instructions to accomplish target goal.addSteps(int index, Playbook.Step.Builder builderForValue) Ordered list of step by step execution instructions to accomplish target goal.addSteps(Playbook.Step value) Ordered list of step by step execution instructions to accomplish target goal.addSteps(Playbook.Step.Builder builderForValue) Ordered list of step by step execution instructions to accomplish target goal.Ordered list of step by step execution instructions to accomplish target goal.addStepsBuilder(int index) Ordered list of step by step execution instructions to accomplish target goal.build()clear()General guidelines for the playbook.Ordered list of step by step execution instructions to accomplish target goal.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorGeneral guidelines for the playbook.com.google.protobuf.ByteStringGeneral guidelines for the playbook.getSteps(int index) Ordered list of step by step execution instructions to accomplish target goal.getStepsBuilder(int index) Ordered list of step by step execution instructions to accomplish target goal.Ordered list of step by step execution instructions to accomplish target goal.intOrdered list of step by step execution instructions to accomplish target goal.Ordered list of step by step execution instructions to accomplish target goal.getStepsOrBuilder(int index) Ordered list of step by step execution instructions to accomplish target goal.List<? extends Playbook.StepOrBuilder>Ordered list of step by step execution instructions to accomplish target goal.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Playbook.Instruction other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSteps(int index) Ordered list of step by step execution instructions to accomplish target goal.setGuidelines(String value) General guidelines for the playbook.setGuidelinesBytes(com.google.protobuf.ByteString value) General guidelines for the playbook.setSteps(int index, Playbook.Step value) Ordered list of step by step execution instructions to accomplish target goal.setSteps(int index, Playbook.Step.Builder builderForValue) Ordered list of step by step execution instructions to accomplish target goal.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Playbook.Instruction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Playbook.Instruction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Playbook.Instruction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Playbook.Instruction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Playbook.Instruction.Builder>
-
mergeFrom
public Playbook.Instruction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Playbook.Instruction.Builder>- Throws:
IOException
-
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;- Specified by:
getGuidelinesin interfacePlaybook.InstructionOrBuilder- Returns:
- The guidelines.
-
getGuidelinesBytes
public 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;- Specified by:
getGuidelinesBytesin interfacePlaybook.InstructionOrBuilder- Returns:
- The bytes for guidelines.
-
setGuidelines
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;- Parameters:
value- The guidelines to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setGuidelinesBytes
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;- Parameters:
value- The bytes for guidelines to set.- Returns:
- This builder for chaining.
-
getStepsList
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;- Specified by:
getStepsListin interfacePlaybook.InstructionOrBuilder
-
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;- Specified by:
getStepsCountin interfacePlaybook.InstructionOrBuilder
-
getSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;- Specified by:
getStepsin interfacePlaybook.InstructionOrBuilder
-
setSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
setSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
addSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
addSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
addSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
addSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
addAllSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
clearSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
removeSteps
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
getStepsBuilder
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
getStepsOrBuilder
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;- Specified by:
getStepsOrBuilderin interfacePlaybook.InstructionOrBuilder
-
getStepsOrBuilderList
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;- Specified by:
getStepsOrBuilderListin interfacePlaybook.InstructionOrBuilder
-
addStepsBuilder
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
addStepsBuilder
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2; -
getStepsBuilderList
Ordered list of step by step execution instructions to accomplish target goal.
repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;
-