Class DialogflowIntent.Builder (2.83.0)

public static final class DialogflowIntent.Builder extends GeneratedMessage.Builder<DialogflowIntent.Builder> implements DialogflowIntentOrBuilder

The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.

Protobuf type google.cloud.contactcenterinsights.v1.DialogflowIntent

Static Methods

getDescriptor()

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

Methods

build()

public DialogflowIntent build()
Returns
Type Description
DialogflowIntent

buildPartial()

public DialogflowIntent buildPartial()
Returns
Type Description
DialogflowIntent

clear()

public DialogflowIntent.Builder clear()
Returns
Type Description
DialogflowIntent.Builder
Overrides

clearDisplayName()

public DialogflowIntent.Builder clearDisplayName()

The human-readable name of the intent.

string display_name = 1;

Returns
Type Description
DialogflowIntent.Builder

This builder for chaining.

getDefaultInstanceForType()

public DialogflowIntent getDefaultInstanceForType()
Returns
Type Description
DialogflowIntent

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The human-readable name of the intent.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human-readable name of the intent.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DialogflowIntent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDisplayName(String value)

public DialogflowIntent.Builder setDisplayName(String value)

The human-readable name of the intent.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
DialogflowIntent.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public DialogflowIntent.Builder setDisplayNameBytes(ByteString value)

The human-readable name of the intent.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
DialogflowIntent.Builder

This builder for chaining.