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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public IntentMatchData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public IntentMatchData build()
public IntentMatchData buildPartial()
public IntentMatchData.Builder clear()
Overrides
public IntentMatchData.Builder clearField(Descriptors.FieldDescriptor field)
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;
public IntentMatchData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public IntentMatchData.Builder clone()
Overrides
public IntentMatchData getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
public final boolean isInitialized()
Overrides
public IntentMatchData.Builder mergeFrom(IntentMatchData other)
public IntentMatchData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public IntentMatchData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final IntentMatchData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public IntentMatchData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public IntentMatchData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final IntentMatchData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides