Class GuidanceInstruction.Action.Builder (4.105.0)

public static final class GuidanceInstruction.Action.Builder extends GeneratedMessage.Builder<GuidanceInstruction.Action.Builder> implements GuidanceInstruction.ActionOrBuilder

Actions to take, including agent action and system action (automation).

Protobuf type google.cloud.dialogflow.v2.GuidanceInstruction.Action

Static Methods

getDescriptor()

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

Methods

build()

public GuidanceInstruction.Action build()
Returns
Type Description
GuidanceInstruction.Action

buildPartial()

public GuidanceInstruction.Action buildPartial()
Returns
Type Description
GuidanceInstruction.Action

clear()

public GuidanceInstruction.Action.Builder clear()
Returns
Type Description
GuidanceInstruction.Action.Builder
Overrides

clearDescription()

public GuidanceInstruction.Action.Builder clearDescription()

Required. Description of action item. It can be a agent action (e.g. "Send a message to the customer", "greet the customer") or system action (e.g. "Update the ticket", "Create a task", "cancel the order").

string description = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GuidanceInstruction.Action.Builder

This builder for chaining.

getDefaultInstanceForType()

public GuidanceInstruction.Action getDefaultInstanceForType()
Returns
Type Description
GuidanceInstruction.Action

getDescription()

public String getDescription()

Required. Description of action item. It can be a agent action (e.g. "Send a message to the customer", "greet the customer") or system action (e.g. "Update the ticket", "Create a task", "cancel the order").

string description = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Required. Description of action item. It can be a agent action (e.g. "Send a message to the customer", "greet the customer") or system action (e.g. "Update the ticket", "Create a task", "cancel the order").

string description = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuidanceInstruction.Action other)

public GuidanceInstruction.Action.Builder mergeFrom(GuidanceInstruction.Action other)
Parameter
Name Description
other GuidanceInstruction.Action
Returns
Type Description
GuidanceInstruction.Action.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GuidanceInstruction.Action.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GuidanceInstruction.Action.Builder
Overrides

setDescription(String value)

public GuidanceInstruction.Action.Builder setDescription(String value)

Required. Description of action item. It can be a agent action (e.g. "Send a message to the customer", "greet the customer") or system action (e.g. "Update the ticket", "Create a task", "cancel the order").

string description = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
GuidanceInstruction.Action.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public GuidanceInstruction.Action.Builder setDescriptionBytes(ByteString value)

Required. Description of action item. It can be a agent action (e.g. "Send a message to the customer", "greet the customer") or system action (e.g. "Update the ticket", "Create a task", "cancel the order").

string description = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
GuidanceInstruction.Action.Builder

This builder for chaining.