Class Agent.AnswerFeedbackSettings.Builder (0.66.0)

public static final class Agent.AnswerFeedbackSettings.Builder extends GeneratedMessageV3.Builder<Agent.AnswerFeedbackSettings.Builder> implements Agent.AnswerFeedbackSettingsOrBuilder

Settings for answer feedback collection.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Agent.AnswerFeedbackSettings build()
Returns
Type Description
Agent.AnswerFeedbackSettings

buildPartial()

public Agent.AnswerFeedbackSettings buildPartial()
Returns
Type Description
Agent.AnswerFeedbackSettings

clear()

public Agent.AnswerFeedbackSettings.Builder clear()
Returns
Type Description
Agent.AnswerFeedbackSettings.Builder
Overrides

clearEnableAnswerFeedback()

public Agent.AnswerFeedbackSettings.Builder clearEnableAnswerFeedback()

Optional. If enabled, end users will be able to provide answer feedback to Dialogflow responses. Feature works only if interaction logging is enabled in the Dialogflow agent.

bool enable_answer_feedback = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Agent.AnswerFeedbackSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Agent.AnswerFeedbackSettings.Builder clone()
Returns
Type Description
Agent.AnswerFeedbackSettings.Builder
Overrides

getDefaultInstanceForType()

public Agent.AnswerFeedbackSettings getDefaultInstanceForType()
Returns
Type Description
Agent.AnswerFeedbackSettings

getDescriptorForType()

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

getEnableAnswerFeedback()

public boolean getEnableAnswerFeedback()

Optional. If enabled, end users will be able to provide answer feedback to Dialogflow responses. Feature works only if interaction logging is enabled in the Dialogflow agent.

bool enable_answer_feedback = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableAnswerFeedback.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Agent.AnswerFeedbackSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Agent.AnswerFeedbackSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Agent.AnswerFeedbackSettings.Builder
Overrides

setEnableAnswerFeedback(boolean value)

public Agent.AnswerFeedbackSettings.Builder setEnableAnswerFeedback(boolean value)

Optional. If enabled, end users will be able to provide answer feedback to Dialogflow responses. Feature works only if interaction logging is enabled in the Dialogflow agent.

bool enable_answer_feedback = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableAnswerFeedback to set.

Returns
Type Description
Agent.AnswerFeedbackSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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