Class Agent.AnswerFeedbackSettings (0.52.0)

public static final class Agent.AnswerFeedbackSettings extends GeneratedMessageV3 implements Agent.AnswerFeedbackSettingsOrBuilder

Settings for answer feedback collection.

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

Static Fields

ENABLE_ANSWER_FEEDBACK_FIELD_NUMBER

public static final int ENABLE_ANSWER_FEEDBACK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Agent.AnswerFeedbackSettings getDefaultInstance()
Returns
TypeDescription
Agent.AnswerFeedbackSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Agent.AnswerFeedbackSettings.Builder newBuilder()
Returns
TypeDescription
Agent.AnswerFeedbackSettings.Builder

newBuilder(Agent.AnswerFeedbackSettings prototype)

public static Agent.AnswerFeedbackSettings.Builder newBuilder(Agent.AnswerFeedbackSettings prototype)
Parameter
NameDescription
prototypeAgent.AnswerFeedbackSettings
Returns
TypeDescription
Agent.AnswerFeedbackSettings.Builder

parseDelimitedFrom(InputStream input)

public static Agent.AnswerFeedbackSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.AnswerFeedbackSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Agent.AnswerFeedbackSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Agent.AnswerFeedbackSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Agent.AnswerFeedbackSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Agent.AnswerFeedbackSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Agent.AnswerFeedbackSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.AnswerFeedbackSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Agent.AnswerFeedbackSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.AnswerFeedbackSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Agent.AnswerFeedbackSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Agent.AnswerFeedbackSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.AnswerFeedbackSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Agent.AnswerFeedbackSettings> parser()
Returns
TypeDescription
Parser<AnswerFeedbackSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Agent.AnswerFeedbackSettings getDefaultInstanceForType()
Returns
TypeDescription
Agent.AnswerFeedbackSettings

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
TypeDescription
boolean

The enableAnswerFeedback.

getParserForType()

public Parser<Agent.AnswerFeedbackSettings> getParserForType()
Returns
TypeDescription
Parser<AnswerFeedbackSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Agent.AnswerFeedbackSettings.Builder newBuilderForType()
Returns
TypeDescription
Agent.AnswerFeedbackSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Agent.AnswerFeedbackSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Agent.AnswerFeedbackSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Agent.AnswerFeedbackSettings.Builder toBuilder()
Returns
TypeDescription
Agent.AnswerFeedbackSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException