Class Playbook.Step (0.57.0)

public static final class Playbook.Step extends GeneratedMessageV3 implements Playbook.StepOrBuilder

Message of single step execution.

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

Static Fields

STEPS_FIELD_NUMBER

public static final int STEPS_FIELD_NUMBER
Field Value
Type Description
int

TEXT_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Playbook.Step getDefaultInstance()
Returns
Type Description
Playbook.Step

getDescriptor()

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

newBuilder()

public static Playbook.Step.Builder newBuilder()
Returns
Type Description
Playbook.Step.Builder

newBuilder(Playbook.Step prototype)

public static Playbook.Step.Builder newBuilder(Playbook.Step prototype)
Parameter
Name Description
prototype Playbook.Step
Returns
Type Description
Playbook.Step.Builder

parseDelimitedFrom(InputStream input)

public static Playbook.Step parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Playbook.Step
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Playbook.Step parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Playbook.Step
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Playbook.Step parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Playbook.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Playbook.Step parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Playbook.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Playbook.Step parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Playbook.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Playbook.Step parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Playbook.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Playbook.Step parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Playbook.Step
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Playbook.Step parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Playbook.Step
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Playbook.Step parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Playbook.Step
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Playbook.Step parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Playbook.Step
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Playbook.Step parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Playbook.Step
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Playbook.Step parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Playbook.Step
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Playbook.Step> parser()
Returns
Type Description
Parser<Step>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getInstructionCase()

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

getParserForType()

public Parser<Playbook.Step> getParserForType()
Returns
Type Description
Parser<Step>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Playbook.Step.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Playbook.Step.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException