Class IntentMatchData.Builder (2.55.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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