Class Intent.FollowupIntentInfo.Builder (4.4.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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.FollowupIntentInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder
Overrides

build()

public Intent.FollowupIntentInfo build()
Returns
TypeDescription
Intent.FollowupIntentInfo

buildPartial()

public Intent.FollowupIntentInfo buildPartial()
Returns
TypeDescription
Intent.FollowupIntentInfo

clear()

public Intent.FollowupIntentInfo.Builder clear()
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Intent.FollowupIntentInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Intent.FollowupIntentInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.FollowupIntentInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Intent.FollowupIntentInfo.Builder

This builder for chaining.

clone()

public Intent.FollowupIntentInfo.Builder clone()
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder
Overrides

getDefaultInstanceForType()

public Intent.FollowupIntentInfo getDefaultInstanceForType()
Returns
TypeDescription
Intent.FollowupIntentInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parentFollowupIntentName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Intent.FollowupIntentInfo other)

public Intent.FollowupIntentInfo.Builder mergeFrom(Intent.FollowupIntentInfo other)
Parameter
NameDescription
otherIntent.FollowupIntentInfo
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.FollowupIntentInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Intent.FollowupIntentInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.FollowupIntentInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.FollowupIntentInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The followupIntentName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for followupIntentName to set.

Returns
TypeDescription
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
NameDescription
valueString

The parentFollowupIntentName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parentFollowupIntentName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.FollowupIntentInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.FollowupIntentInfo.Builder
Overrides