Class Playbook.Step.Builder (0.57.0)

public static final class Playbook.Step.Builder extends GeneratedMessageV3.Builder<Playbook.Step.Builder> implements Playbook.StepOrBuilder

Message of single step execution.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Playbook.Step

Static Methods

getDescriptor()

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

Methods

addAllSteps(Iterable<? extends Playbook.Step> values)

public Playbook.Step.Builder addAllSteps(Iterable<? extends Playbook.Step> values)

Sub-processing needed to execute the current step.

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.Step.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSteps(Playbook.Step value)

public Playbook.Step.Builder addSteps(Playbook.Step value)

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

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

addSteps(Playbook.Step.Builder builderForValue)

public Playbook.Step.Builder addSteps(Playbook.Step.Builder builderForValue)

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

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

addSteps(int index, Playbook.Step value)

public Playbook.Step.Builder addSteps(int index, Playbook.Step value)

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

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

addSteps(int index, Playbook.Step.Builder builderForValue)

public Playbook.Step.Builder addSteps(int index, Playbook.Step.Builder builderForValue)

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

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

addStepsBuilder()

public Playbook.Step.Builder addStepsBuilder()

Sub-processing needed to execute the current step.

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)

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Parameter
Name Description
index int
Returns
Type Description
Playbook.Step.Builder

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstruction()

public Playbook.Step.Builder clearInstruction()
Returns
Type Description
Playbook.Step.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSteps()

public Playbook.Step.Builder clearSteps()

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Returns
Type Description
Playbook.Step.Builder

clearText()

public Playbook.Step.Builder clearText()

Step instruction in text format.

string text = 1;

Returns
Type Description
Playbook.Step.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstructionCase()

public Playbook.Step.InstructionCase getInstructionCase()
Returns
Type Description
Playbook.Step.InstructionCase

getSteps(int index)

public Playbook.Step getSteps(int index)

Sub-processing needed to execute the current step.

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)

Sub-processing needed to execute the current step.

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()

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Returns
Type Description
List<Builder>

getStepsCount()

public int getStepsCount()

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Returns
Type Description
int

getStepsList()

public List<Playbook.Step> getStepsList()

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Returns
Type Description
List<Step>

getStepsOrBuilder(int index)

public Playbook.StepOrBuilder getStepsOrBuilder(int index)

Sub-processing needed to execute the current step.

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()

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Playbook.StepOrBuilder>

getText()

public String getText()

Step instruction in text format.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

Step instruction in text format.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasText()

public boolean hasText()

Step instruction in text format.

string text = 1;

Returns
Type Description
boolean

Whether the text field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Playbook.Step other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSteps(int index)

public Playbook.Step.Builder removeSteps(int index)

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

Parameter
Name Description
index int
Returns
Type Description
Playbook.Step.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSteps(int index, Playbook.Step value)

public Playbook.Step.Builder setSteps(int index, Playbook.Step value)

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

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

setSteps(int index, Playbook.Step.Builder builderForValue)

public Playbook.Step.Builder setSteps(int index, Playbook.Step.Builder builderForValue)

Sub-processing needed to execute the current step.

repeated .google.cloud.dialogflow.cx.v3beta1.Playbook.Step steps = 2;

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

setText(String value)

public Playbook.Step.Builder setText(String value)

Step instruction in text format.

string text = 1;

Parameter
Name Description
value String

The text to set.

Returns
Type Description
Playbook.Step.Builder

This builder for chaining.

setTextBytes(ByteString value)

public Playbook.Step.Builder setTextBytes(ByteString value)

Step instruction in text format.

string text = 1;

Parameter
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
Playbook.Step.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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