Class DialogflowIntent.Builder (2.51.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DialogflowIntent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DialogflowIntent.Builder
Overrides

build()

public DialogflowIntent build()
Returns
Type Description
DialogflowIntent

buildPartial()

public DialogflowIntent buildPartial()
Returns
Type Description
DialogflowIntent

clear()

public DialogflowIntent.Builder clear()
Returns
Type Description
DialogflowIntent.Builder
Overrides

clearDisplayName()

public DialogflowIntent.Builder clearDisplayName()

The human-readable name of the intent.

string display_name = 1;

Returns
Type Description
DialogflowIntent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DialogflowIntent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DialogflowIntent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DialogflowIntent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DialogflowIntent.Builder
Overrides

clone()

public DialogflowIntent.Builder clone()
Returns
Type Description
DialogflowIntent.Builder
Overrides

getDefaultInstanceForType()

public DialogflowIntent getDefaultInstanceForType()
Returns
Type Description
DialogflowIntent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The human-readable name of the intent.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human-readable name of the intent.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DialogflowIntent other)

public DialogflowIntent.Builder mergeFrom(DialogflowIntent other)
Parameter
Name Description
other DialogflowIntent
Returns
Type Description
DialogflowIntent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DialogflowIntent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogflowIntent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DialogflowIntent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DialogflowIntent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowIntent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DialogflowIntent.Builder
Overrides

setDisplayName(String value)

public DialogflowIntent.Builder setDisplayName(String value)

The human-readable name of the intent.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
DialogflowIntent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DialogflowIntent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DialogflowIntent.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DialogflowIntent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DialogflowIntent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowIntent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DialogflowIntent.Builder
Overrides