Class DialogflowInteractionData.Builder (2.83.0)

public static final class DialogflowInteractionData.Builder extends GeneratedMessage.Builder<DialogflowInteractionData.Builder> implements DialogflowInteractionDataOrBuilder

Dialogflow interaction data.

Protobuf type google.cloud.contactcenterinsights.v1.DialogflowInteractionData

Static Methods

getDescriptor()

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

Methods

build()

public DialogflowInteractionData build()
Returns
Type Description
DialogflowInteractionData

buildPartial()

public DialogflowInteractionData buildPartial()
Returns
Type Description
DialogflowInteractionData

clear()

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

clearConfidence()

public DialogflowInteractionData.Builder clearConfidence()

The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

float confidence = 2;

Returns
Type Description
DialogflowInteractionData.Builder

This builder for chaining.

clearDialogflowIntentId()

public DialogflowInteractionData.Builder clearDialogflowIntentId()

The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}

string dialogflow_intent_id = 1;

Returns
Type Description
DialogflowInteractionData.Builder

This builder for chaining.

getConfidence()

public float getConfidence()

The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

float confidence = 2;

Returns
Type Description
float

The confidence.

getDefaultInstanceForType()

public DialogflowInteractionData getDefaultInstanceForType()
Returns
Type Description
DialogflowInteractionData

getDescriptorForType()

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

getDialogflowIntentId()

public String getDialogflowIntentId()

The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}

string dialogflow_intent_id = 1;

Returns
Type Description
String

The dialogflowIntentId.

getDialogflowIntentIdBytes()

public ByteString getDialogflowIntentIdBytes()

The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}

string dialogflow_intent_id = 1;

Returns
Type Description
ByteString

The bytes for dialogflowIntentId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DialogflowInteractionData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConfidence(float value)

public DialogflowInteractionData.Builder setConfidence(float value)

The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

float confidence = 2;

Parameter
Name Description
value float

The confidence to set.

Returns
Type Description
DialogflowInteractionData.Builder

This builder for chaining.

setDialogflowIntentId(String value)

public DialogflowInteractionData.Builder setDialogflowIntentId(String value)

The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}

string dialogflow_intent_id = 1;

Parameter
Name Description
value String

The dialogflowIntentId to set.

Returns
Type Description
DialogflowInteractionData.Builder

This builder for chaining.

setDialogflowIntentIdBytes(ByteString value)

public DialogflowInteractionData.Builder setDialogflowIntentIdBytes(ByteString value)

The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}

string dialogflow_intent_id = 1;

Parameter
Name Description
value ByteString

The bytes for dialogflowIntentId to set.

Returns
Type Description
DialogflowInteractionData.Builder

This builder for chaining.