Class Playbook.Instruction.Builder (0.64.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
Playbook.Instruction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Playbook.Instruction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Playbook.Instruction.Builder
Overrides

addSteps(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;

Parameter
Name Description
value Playbook.Step
Returns
Type Description
Playbook.Instruction.Builder

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;

Parameter
Name Description
builderForValue Playbook.Step.Builder
Returns
Type Description
Playbook.Instruction.Builder

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;

Parameters
Name Description
index int
value Playbook.Step
Returns
Type Description
Playbook.Instruction.Builder

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;

Parameters
Name Description
index int
builderForValue Playbook.Step.Builder
Returns
Type Description
Playbook.Instruction.Builder

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;

Returns
Type Description
Playbook.Step.Builder

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
Returns
Type Description
Playbook.Step.Builder

build()

public Playbook.Instruction build()
Returns
Type Description
Playbook.Instruction

buildPartial()

public Playbook.Instruction buildPartial()
Returns
Type Description
Playbook.Instruction

clear()

public Playbook.Instruction.Builder clear()
Returns
Type Description
Playbook.Instruction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Playbook.Instruction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Playbook.Instruction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Playbook.Instruction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Playbook.Instruction.Builder
Overrides

clearSteps()

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;

Returns
Type Description
Playbook.Instruction.Builder

clone()

public Playbook.Instruction.Builder clone()
Returns
Type Description
Playbook.Instruction.Builder
Overrides

getDefaultInstanceForType()

public Playbook.Instruction getDefaultInstanceForType()
Returns
Type Description
Playbook.Instruction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
Playbook.Step

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
Returns
Type Description
Playbook.Step.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<Step>

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
Returns
Type Description
Playbook.StepOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Playbook.Instruction other)

public Playbook.Instruction.Builder mergeFrom(Playbook.Instruction other)
Parameter
Name Description
other Playbook.Instruction
Returns
Type Description
Playbook.Instruction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Playbook.Instruction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Playbook.Instruction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Playbook.Instruction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Playbook.Instruction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Playbook.Instruction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Playbook.Instruction.Builder
Overrides

removeSteps(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
Returns
Type Description
Playbook.Instruction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Playbook.Instruction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Playbook.Instruction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Playbook.Instruction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Playbook.Instruction.Builder
Overrides

setSteps(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;

Parameters
Name Description
index int
value Playbook.Step
Returns
Type Description
Playbook.Instruction.Builder

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;

Parameters
Name Description
index int
builderForValue Playbook.Step.Builder
Returns
Type Description
Playbook.Instruction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Playbook.Instruction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Playbook.Instruction.Builder
Overrides