Class DialogflowIntent.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DialogflowIntent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

build()

public DialogflowIntent build()
Returns
TypeDescription
DialogflowIntent

buildPartial()

public DialogflowIntent buildPartial()
Returns
TypeDescription
DialogflowIntent

clear()

public DialogflowIntent.Builder clear()
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

clearDisplayName()

public DialogflowIntent.Builder clearDisplayName()

The human-readable name of the intent.

string display_name = 1;

Returns
TypeDescription
DialogflowIntent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DialogflowIntent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DialogflowIntent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

clone()

public DialogflowIntent.Builder clone()
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

getDefaultInstanceForType()

public DialogflowIntent getDefaultInstanceForType()
Returns
TypeDescription
DialogflowIntent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The human-readable name of the intent.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human-readable name of the intent.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DialogflowIntent other)

public DialogflowIntent.Builder mergeFrom(DialogflowIntent other)
Parameter
NameDescription
otherDialogflowIntent
Returns
TypeDescription
DialogflowIntent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DialogflowIntent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DialogflowIntent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DialogflowIntent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowIntent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

setDisplayName(String value)

public DialogflowIntent.Builder setDisplayName(String value)

The human-readable name of the intent.

string display_name = 1;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
DialogflowIntent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DialogflowIntent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

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

public DialogflowIntent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DialogflowIntent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowIntent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DialogflowIntent.Builder
Overrides