Class DialogflowInteractionData.Builder (2.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DialogflowInteractionData build()
Returns
TypeDescription
DialogflowInteractionData

buildPartial()

public DialogflowInteractionData buildPartial()
Returns
TypeDescription
DialogflowInteractionData

clear()

public DialogflowInteractionData.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DialogflowInteractionData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DialogflowInteractionData.Builder clone()
Returns
TypeDescription
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
TypeDescription
float

The confidence.

getDefaultInstanceForType()

public DialogflowInteractionData getDefaultInstanceForType()
Returns
TypeDescription
DialogflowInteractionData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDialogflowIntentId()

public String getDialogflowIntentId()

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

string dialogflow_intent_id = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for dialogflowIntentId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DialogflowInteractionData other)

public DialogflowInteractionData.Builder mergeFrom(DialogflowInteractionData other)
Parameter
NameDescription
otherDialogflowInteractionData
Returns
TypeDescription
DialogflowInteractionData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowInteractionData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuefloat

The confidence to set.

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

The dialogflowIntentId to set.

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

The bytes for dialogflowIntentId to set.

Returns
TypeDescription
DialogflowInteractionData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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