Class Intent.FollowupIntentInfo.Builder (4.89.0)

public static final class Intent.FollowupIntentInfo.Builder extends GeneratedMessage.Builder<Intent.FollowupIntentInfo.Builder> implements Intent.FollowupIntentInfoOrBuilder

Represents a single followup intent in the chain.

Protobuf type google.cloud.dialogflow.v2.Intent.FollowupIntentInfo

Static Methods

getDescriptor()

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

Methods

build()

public Intent.FollowupIntentInfo build()
Returns
Type Description
Intent.FollowupIntentInfo

buildPartial()

public Intent.FollowupIntentInfo buildPartial()
Returns
Type Description
Intent.FollowupIntentInfo

clear()

public Intent.FollowupIntentInfo.Builder clear()
Returns
Type Description
Intent.FollowupIntentInfo.Builder
Overrides

clearFollowupIntentName()

public Intent.FollowupIntentInfo.Builder clearFollowupIntentName()

The unique identifier of the followup intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string followup_intent_name = 1;

Returns
Type Description
Intent.FollowupIntentInfo.Builder

This builder for chaining.

clearParentFollowupIntentName()

public Intent.FollowupIntentInfo.Builder clearParentFollowupIntentName()

The unique identifier of the followup intent's parent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string parent_followup_intent_name = 2;

Returns
Type Description
Intent.FollowupIntentInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public Intent.FollowupIntentInfo getDefaultInstanceForType()
Returns
Type Description
Intent.FollowupIntentInfo

getDescriptorForType()

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

getFollowupIntentName()

public String getFollowupIntentName()

The unique identifier of the followup intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string followup_intent_name = 1;

Returns
Type Description
String

The followupIntentName.

getFollowupIntentNameBytes()

public ByteString getFollowupIntentNameBytes()

The unique identifier of the followup intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string followup_intent_name = 1;

Returns
Type Description
ByteString

The bytes for followupIntentName.

getParentFollowupIntentName()

public String getParentFollowupIntentName()

The unique identifier of the followup intent's parent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string parent_followup_intent_name = 2;

Returns
Type Description
String

The parentFollowupIntentName.

getParentFollowupIntentNameBytes()

public ByteString getParentFollowupIntentNameBytes()

The unique identifier of the followup intent's parent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string parent_followup_intent_name = 2;

Returns
Type Description
ByteString

The bytes for parentFollowupIntentName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Intent.FollowupIntentInfo other)

public Intent.FollowupIntentInfo.Builder mergeFrom(Intent.FollowupIntentInfo other)
Parameter
Name Description
other Intent.FollowupIntentInfo
Returns
Type Description
Intent.FollowupIntentInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Intent.FollowupIntentInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Intent.FollowupIntentInfo.Builder
Overrides

setFollowupIntentName(String value)

public Intent.FollowupIntentInfo.Builder setFollowupIntentName(String value)

The unique identifier of the followup intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string followup_intent_name = 1;

Parameter
Name Description
value String

The followupIntentName to set.

Returns
Type Description
Intent.FollowupIntentInfo.Builder

This builder for chaining.

setFollowupIntentNameBytes(ByteString value)

public Intent.FollowupIntentInfo.Builder setFollowupIntentNameBytes(ByteString value)

The unique identifier of the followup intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string followup_intent_name = 1;

Parameter
Name Description
value ByteString

The bytes for followupIntentName to set.

Returns
Type Description
Intent.FollowupIntentInfo.Builder

This builder for chaining.

setParentFollowupIntentName(String value)

public Intent.FollowupIntentInfo.Builder setParentFollowupIntentName(String value)

The unique identifier of the followup intent's parent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string parent_followup_intent_name = 2;

Parameter
Name Description
value String

The parentFollowupIntentName to set.

Returns
Type Description
Intent.FollowupIntentInfo.Builder

This builder for chaining.

setParentFollowupIntentNameBytes(ByteString value)

public Intent.FollowupIntentInfo.Builder setParentFollowupIntentNameBytes(ByteString value)

The unique identifier of the followup intent's parent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

string parent_followup_intent_name = 2;

Parameter
Name Description
value ByteString

The bytes for parentFollowupIntentName to set.

Returns
Type Description
Intent.FollowupIntentInfo.Builder

This builder for chaining.