Class IntentMatchData.Builder (2.83.0)

public static final class IntentMatchData.Builder extends GeneratedMessage.Builder<IntentMatchData.Builder> implements IntentMatchDataOrBuilder

The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.

Protobuf type google.cloud.contactcenterinsights.v1.IntentMatchData

Static Methods

getDescriptor()

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

Methods

build()

public IntentMatchData build()
Returns
Type Description
IntentMatchData

buildPartial()

public IntentMatchData buildPartial()
Returns
Type Description
IntentMatchData

clear()

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

clearIntentUniqueId()

public IntentMatchData.Builder clearIntentUniqueId()

The id of the matched intent. Can be used to retrieve the corresponding intent information.

string intent_unique_id = 1;

Returns
Type Description
IntentMatchData.Builder

This builder for chaining.

getDefaultInstanceForType()

public IntentMatchData getDefaultInstanceForType()
Returns
Type Description
IntentMatchData

getDescriptorForType()

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

getIntentUniqueId()

public String getIntentUniqueId()

The id of the matched intent. Can be used to retrieve the corresponding intent information.

string intent_unique_id = 1;

Returns
Type Description
String

The intentUniqueId.

getIntentUniqueIdBytes()

public ByteString getIntentUniqueIdBytes()

The id of the matched intent. Can be used to retrieve the corresponding intent information.

string intent_unique_id = 1;

Returns
Type Description
ByteString

The bytes for intentUniqueId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IntentMatchData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIntentUniqueId(String value)

public IntentMatchData.Builder setIntentUniqueId(String value)

The id of the matched intent. Can be used to retrieve the corresponding intent information.

string intent_unique_id = 1;

Parameter
Name Description
value String

The intentUniqueId to set.

Returns
Type Description
IntentMatchData.Builder

This builder for chaining.

setIntentUniqueIdBytes(ByteString value)

public IntentMatchData.Builder setIntentUniqueIdBytes(ByteString value)

The id of the matched intent. Can be used to retrieve the corresponding intent information.

string intent_unique_id = 1;

Parameter
Name Description
value ByteString

The bytes for intentUniqueId to set.

Returns
Type Description
IntentMatchData.Builder

This builder for chaining.