- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class Intent.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Intent.BuilderImplements
IntentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Intent.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public Intent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Builder |
clearId()
public Intent.Builder clearId()
The unique identifier of the intent.
string id = 1;
Returns | |
---|---|
Type | Description |
Intent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Builder |
clone()
public Intent.Builder clone()
Returns | |
---|---|
Type | Description |
Intent.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | String The 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 | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Intent.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Intent.Builder |
setId(String value)
public Intent.Builder setId(String value)
The unique identifier of the intent.
string id = 1;
Parameter | |
---|---|
Name | Description |
value | String The 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 | ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
Intent.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Intent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Intent.Builder |