public static final class DialogflowInteractionData.Builder extends GeneratedMessageV3.Builder<DialogflowInteractionData.Builder> implements DialogflowInteractionDataOrBuilder
Dialogflow interaction data.
Protobuf type google.cloud.contactcenterinsights.v1.DialogflowInteractionData
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public DialogflowInteractionData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DialogflowInteractionData build()
Returns
public DialogflowInteractionData buildPartial()
Returns
public DialogflowInteractionData.Builder clear()
Returns
Overrides
public DialogflowInteractionData.Builder clearConfidence()
The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
(completely certain).
float confidence = 2;
Returns
public DialogflowInteractionData.Builder clearDialogflowIntentId()
The Dialogflow intent resource path. Format:
projects/{project}/agent/{agent}/intents/{intent}
string dialogflow_intent_id = 1;
Returns
public DialogflowInteractionData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DialogflowInteractionData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DialogflowInteractionData.Builder clone()
Returns
Overrides
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.
|
public DialogflowInteractionData getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DialogflowInteractionData.Builder mergeFrom(DialogflowInteractionData other)
Parameter
Returns
public DialogflowInteractionData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DialogflowInteractionData.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DialogflowInteractionData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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
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
public DialogflowInteractionData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DialogflowInteractionData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DialogflowInteractionData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides