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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public IntentMatchData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IntentMatchData build()
Returns
public IntentMatchData buildPartial()
Returns
public IntentMatchData.Builder clear()
Returns
Overrides
public IntentMatchData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public IntentMatchData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public IntentMatchData.Builder clone()
Returns
Overrides
public IntentMatchData getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public IntentMatchData.Builder mergeFrom(IntentMatchData other)
Parameter
Returns
public IntentMatchData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public IntentMatchData.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final IntentMatchData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public IntentMatchData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public IntentMatchData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final IntentMatchData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides