Class IntentMatchData.Builder (2.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IntentMatchData build()
Returns
TypeDescription
IntentMatchData

buildPartial()

public IntentMatchData buildPartial()
Returns
TypeDescription
IntentMatchData

clear()

public IntentMatchData.Builder clear()
Returns
TypeDescription
IntentMatchData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IntentMatchData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IntentMatchData.Builder
Overrides

clone()

public IntentMatchData.Builder clone()
Returns
TypeDescription
IntentMatchData.Builder
Overrides

getDefaultInstanceForType()

public IntentMatchData getDefaultInstanceForType()
Returns
TypeDescription
IntentMatchData

getDescriptorForType()

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

The bytes for intentUniqueId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IntentMatchData other)

public IntentMatchData.Builder mergeFrom(IntentMatchData other)
Parameter
NameDescription
otherIntentMatchData
Returns
TypeDescription
IntentMatchData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The intentUniqueId to set.

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

The bytes for intentUniqueId to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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