Class IntentMatchData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
- com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder
-
- All Implemented Interfaces:
IntentMatchDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IntentMatchData
public static final class IntentMatchData.Builder extends com.google.protobuf.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 typegoogle.cloud.contactcenterinsights.v1.IntentMatchData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntentMatchData.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IntentMatchDatabuild()IntentMatchDatabuildPartial()IntentMatchData.Builderclear()IntentMatchData.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)IntentMatchData.BuilderclearIntentUniqueId()The id of the matched intent.IntentMatchData.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)IntentMatchData.Builderclone()IntentMatchDatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIntentUniqueId()The id of the matched intent.com.google.protobuf.ByteStringgetIntentUniqueIdBytes()The id of the matched intent.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()IntentMatchData.BuildermergeFrom(IntentMatchData other)IntentMatchData.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)IntentMatchData.BuildermergeFrom(com.google.protobuf.Message other)IntentMatchData.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IntentMatchData.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IntentMatchData.BuildersetIntentUniqueId(String value)The id of the matched intent.IntentMatchData.BuildersetIntentUniqueIdBytes(com.google.protobuf.ByteString value)The id of the matched intent.IntentMatchData.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)IntentMatchData.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
clear
public IntentMatchData.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
getDefaultInstanceForType
public IntentMatchData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public IntentMatchData build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IntentMatchData buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public IntentMatchData.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
setField
public IntentMatchData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
clearField
public IntentMatchData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
clearOneof
public IntentMatchData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
setRepeatedField
public IntentMatchData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
addRepeatedField
public IntentMatchData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
mergeFrom
public IntentMatchData.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IntentMatchData.Builder>
-
mergeFrom
public IntentMatchData.Builder mergeFrom(IntentMatchData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
mergeFrom
public IntentMatchData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IntentMatchData.Builder>- Throws:
IOException
-
getIntentUniqueId
public String getIntentUniqueId()
The id of the matched intent. Can be used to retrieve the corresponding intent information.
string intent_unique_id = 1;- Specified by:
getIntentUniqueIdin interfaceIntentMatchDataOrBuilder- Returns:
- The intentUniqueId.
-
getIntentUniqueIdBytes
public com.google.protobuf.ByteString getIntentUniqueIdBytes()
The id of the matched intent. Can be used to retrieve the corresponding intent information.
string intent_unique_id = 1;- Specified by:
getIntentUniqueIdBytesin interfaceIntentMatchDataOrBuilder- Returns:
- The bytes for intentUniqueId.
-
setIntentUniqueId
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;- Parameters:
value- The intentUniqueId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setIntentUniqueIdBytes
public IntentMatchData.Builder setIntentUniqueIdBytes(com.google.protobuf.ByteString value)
The id of the matched intent. Can be used to retrieve the corresponding intent information.
string intent_unique_id = 1;- Parameters:
value- The bytes for intentUniqueId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final IntentMatchData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
mergeUnknownFields
public final IntentMatchData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
-
-