Class Intent.FollowupIntentInfo.Builder (4.59.0)

public static final class Intent.FollowupIntentInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public Intent.FollowupIntentInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.FollowupIntentInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Intent.FollowupIntentInfo.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.FollowupIntentInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Intent.FollowupIntentInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.FollowupIntentInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.FollowupIntentInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Intent.FollowupIntentInfo.Builder
Overrides