public static final class Intent.Builder extends GeneratedMessage.Builder<Intent.Builder> implements IntentOrBuilderThe data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.
Protobuf type google.cloud.contactcenterinsights.v1.Intent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Intent.BuilderImplements
IntentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Intent build()| Returns | |
|---|---|
| Type | Description |
Intent |
|
buildPartial()
public Intent buildPartial()| Returns | |
|---|---|
| Type | Description |
Intent |
|
clear()
public Intent.Builder clear()| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
|
clearDisplayName()
public Intent.Builder clearDisplayName()The human-readable name of the intent.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
This builder for chaining. |
clearId()
public Intent.Builder clearId()The unique identifier of the intent.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Intent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Intent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The human-readable name of the intent.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The human-readable name of the intent.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getId()
public String getId()The unique identifier of the intent.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()The unique identifier of the intent.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Intent other)
public Intent.Builder mergeFrom(Intent other)| Parameter | |
|---|---|
| Name | Description |
other |
Intent |
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Intent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
|
setDisplayName(String value)
public Intent.Builder setDisplayName(String value)The human-readable name of the intent.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Intent.Builder setDisplayNameBytes(ByteString value)The human-readable name of the intent.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
This builder for chaining. |
setId(String value)
public Intent.Builder setId(String value)The unique identifier of the intent.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public Intent.Builder setIdBytes(ByteString value)The unique identifier of the intent.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Builder |
This builder for chaining. |