Class DialogflowInteractionData.Builder (2.43.0)

public static final class DialogflowInteractionData.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowInteractionData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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