public static final class Playbook.Instruction.Builder extends GeneratedMessageV3.Builder<Playbook.Instruction.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSteps(Iterable<? extends Playbook.Step> values)
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;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Playbook.Step>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Playbook.Instruction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
OverridesaddSteps(Playbook.Step value)
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;
addSteps(Playbook.Step.Builder builderForValue)
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;
addSteps(int index, Playbook.Step value)
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;
addSteps(int index, Playbook.Step.Builder builderForValue)
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;
addStepsBuilder()
public 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;
addStepsBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
build()
public Playbook.Instruction build()
buildPartial()
public Playbook.Instruction buildPartial()
clear()
public Playbook.Instruction.Builder clear()
OverridesclearField(Descriptors.FieldDescriptor field)
public Playbook.Instruction.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearGuidelines()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Playbook.Instruction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
OverridesclearSteps()
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;
clone()
public Playbook.Instruction.Builder clone()
OverridesgetDefaultInstanceForType()
public Playbook.Instruction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetGuidelines()
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. |
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
|
getStepsBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getStepsBuilderList()
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;
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
OverridesisInitialized()
public final boolean isInitialized()
OverridesmergeFrom(Playbook.Instruction other)
public Playbook.Instruction.Builder mergeFrom(Playbook.Instruction other)
public Playbook.Instruction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public Playbook.Instruction.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeUnknownFields(UnknownFieldSet unknownFields)
public final Playbook.Instruction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridesremoveSteps(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Playbook.Instruction.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetGuidelines(String value)
public 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;
Parameter |
---|
Name | Description |
value | String
The guidelines to set. |
setGuidelinesBytes(ByteString value)
public Playbook.Instruction.Builder setGuidelinesBytes(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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for guidelines to set. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Playbook.Instruction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetSteps(int index, Playbook.Step value)
public 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;
setSteps(int index, Playbook.Step.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final Playbook.Instruction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides