Class AnswerFeedback (2.18.0)

public final class AnswerFeedback extends GeneratedMessageV3 implements AnswerFeedbackOrBuilder

The feedback that the customer has about a certain answer in the conversation.

Protobuf type google.cloud.contactcenterinsights.v1.AnswerFeedback

Static Fields

CLICKED_FIELD_NUMBER

public static final int CLICKED_FIELD_NUMBER
Field Value
TypeDescription
int

CORRECTNESS_LEVEL_FIELD_NUMBER

public static final int CORRECTNESS_LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAYED_FIELD_NUMBER

public static final int DISPLAYED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnswerFeedback getDefaultInstance()
Returns
TypeDescription
AnswerFeedback

getDescriptor()

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

newBuilder()

public static AnswerFeedback.Builder newBuilder()
Returns
TypeDescription
AnswerFeedback.Builder

newBuilder(AnswerFeedback prototype)

public static AnswerFeedback.Builder newBuilder(AnswerFeedback prototype)
Parameter
NameDescription
prototypeAnswerFeedback
Returns
TypeDescription
AnswerFeedback.Builder

parseDelimitedFrom(InputStream input)

public static AnswerFeedback parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnswerFeedback
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AnswerFeedback parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnswerFeedback
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AnswerFeedback parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnswerFeedback
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AnswerFeedback parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnswerFeedback
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AnswerFeedback parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnswerFeedback
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AnswerFeedback> parser()
Returns
TypeDescription
Parser<AnswerFeedback>

Methods

equals(Object obj)

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

getClicked()

public boolean getClicked()

Indicates whether an answer or item was clicked by the human agent.

bool clicked = 2;

Returns
TypeDescription
boolean

The clicked.

getCorrectnessLevel()

public AnswerFeedback.CorrectnessLevel getCorrectnessLevel()

The correctness level of an answer.

.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;

Returns
TypeDescription
AnswerFeedback.CorrectnessLevel

The correctnessLevel.

getCorrectnessLevelValue()

public int getCorrectnessLevelValue()

The correctness level of an answer.

.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel correctness_level = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for correctnessLevel.

getDefaultInstanceForType()

public AnswerFeedback getDefaultInstanceForType()
Returns
TypeDescription
AnswerFeedback

getDisplayed()

public boolean getDisplayed()

Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.

bool displayed = 3;

Returns
TypeDescription
boolean

The displayed.

getParserForType()

public Parser<AnswerFeedback> getParserForType()
Returns
TypeDescription
Parser<AnswerFeedback>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 AnswerFeedback.Builder newBuilderForType()
Returns
TypeDescription
AnswerFeedback.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AnswerFeedback.Builder toBuilder()
Returns
TypeDescription
AnswerFeedback.Builder

writeTo(CodedOutputStream output)

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