public static final class Intent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder> implements IntentOrBuilder
The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.Protobuf type
google.cloud.contactcenterinsights.v1.Intent| Modifier and Type | Method and Description |
|---|---|
Intent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Intent |
build() |
Intent |
buildPartial() |
Intent.Builder |
clear() |
Intent.Builder |
clearDisplayName()
The human-readable name of the intent.
|
Intent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Intent.Builder |
clearId()
The unique identifier of the intent.
|
Intent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Intent.Builder |
clone() |
Intent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The human-readable name of the intent.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The human-readable name of the intent.
|
String |
getId()
The unique identifier of the intent.
|
com.google.protobuf.ByteString |
getIdBytes()
The unique identifier of the intent.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Intent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Intent.Builder |
mergeFrom(Intent other) |
Intent.Builder |
mergeFrom(com.google.protobuf.Message other) |
Intent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Intent.Builder |
setDisplayName(String value)
The human-readable name of the intent.
|
Intent.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The human-readable name of the intent.
|
Intent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Intent.Builder |
setId(String value)
The unique identifier of the intent.
|
Intent.Builder |
setIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the intent.
|
Intent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Intent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Intent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Intent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Intent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Builder>public Intent.Builder mergeFrom(Intent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Builder>IOExceptionpublic String getId()
The unique identifier of the intent.
string id = 1;getId in interface IntentOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
The unique identifier of the intent.
string id = 1;getIdBytes in interface IntentOrBuilderpublic Intent.Builder setId(String value)
The unique identifier of the intent.
string id = 1;value - The id to set.public Intent.Builder clearId()
The unique identifier of the intent.
string id = 1;public Intent.Builder setIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the intent.
string id = 1;value - The bytes for id to set.public String getDisplayName()
The human-readable name of the intent.
string display_name = 2;getDisplayName in interface IntentOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The human-readable name of the intent.
string display_name = 2;getDisplayNameBytes in interface IntentOrBuilderpublic Intent.Builder setDisplayName(String value)
The human-readable name of the intent.
string display_name = 2;value - The displayName to set.public Intent.Builder clearDisplayName()
The human-readable name of the intent.
string display_name = 2;public Intent.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The human-readable name of the intent.
string display_name = 2;value - The bytes for displayName to set.public final Intent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public final Intent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>Copyright © 2025 Google LLC. All rights reserved.