public static final class DialogflowIntent.Builder extends GeneratedMessageV3.Builder<DialogflowIntent.Builder> implements DialogflowIntentOrBuilder
The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.
Protobuf type google.cloud.contactcenterinsights.v1.DialogflowIntent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DialogflowIntent.BuilderImplements
DialogflowIntentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DialogflowIntent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DialogflowIntent.Builder |
build()
public DialogflowIntent build()
Type | Description |
DialogflowIntent |
buildPartial()
public DialogflowIntent buildPartial()
Type | Description |
DialogflowIntent |
clear()
public DialogflowIntent.Builder clear()
Type | Description |
DialogflowIntent.Builder |
clearDisplayName()
public DialogflowIntent.Builder clearDisplayName()
The human-readable name of the intent.
string display_name = 1;
Type | Description |
DialogflowIntent.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DialogflowIntent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DialogflowIntent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DialogflowIntent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DialogflowIntent.Builder |
clone()
public DialogflowIntent.Builder clone()
Type | Description |
DialogflowIntent.Builder |
getDefaultInstanceForType()
public DialogflowIntent getDefaultInstanceForType()
Type | Description |
DialogflowIntent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The human-readable name of the intent.
string display_name = 1;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The human-readable name of the intent.
string display_name = 1;
Type | Description |
ByteString | The bytes for displayName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DialogflowIntent other)
public DialogflowIntent.Builder mergeFrom(DialogflowIntent other)
Name | Description |
other | DialogflowIntent |
Type | Description |
DialogflowIntent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DialogflowIntent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DialogflowIntent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DialogflowIntent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DialogflowIntent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DialogflowIntent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DialogflowIntent.Builder |
setDisplayName(String value)
public DialogflowIntent.Builder setDisplayName(String value)
The human-readable name of the intent.
string display_name = 1;
Name | Description |
value | String The displayName to set. |
Type | Description |
DialogflowIntent.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DialogflowIntent.Builder setDisplayNameBytes(ByteString value)
The human-readable name of the intent.
string display_name = 1;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
DialogflowIntent.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DialogflowIntent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DialogflowIntent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DialogflowIntent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DialogflowIntent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DialogflowIntent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DialogflowIntent.Builder |