Send feedback
Class FeedbackLabel (2.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.54.0 keyboard_arrow_down
public final class FeedbackLabel extends GeneratedMessageV3 implements FeedbackLabelOrBuilder
Represents a conversation, resource, and label provided by the user.
Protobuf type google.cloud.contactcenterinsights.v1.FeedbackLabel
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LABELED_RESOURCE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LABEL_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int QA_ANSWER_LABEL_FIELD_NUMBER
Field Value
Type
Description
int
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static FeedbackLabel getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static FeedbackLabel . Builder newBuilder ()
public static FeedbackLabel . Builder newBuilder ( FeedbackLabel prototype )
public static FeedbackLabel parseDelimitedFrom ( InputStream input )
public static FeedbackLabel parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static FeedbackLabel parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static FeedbackLabel parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static FeedbackLabel parseFrom ( ByteString data )
public static FeedbackLabel parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static FeedbackLabel parseFrom ( CodedInputStream input )
public static FeedbackLabel parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static FeedbackLabel parseFrom ( InputStream input )
public static FeedbackLabel parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static FeedbackLabel parseFrom ( ByteBuffer data )
public static FeedbackLabel parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<FeedbackLabel> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Timestamp getCreateTime ()
Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The createTime.
public TimestampOrBuilder getCreateTimeOrBuilder ()
Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public FeedbackLabel getDefaultInstanceForType ()
String label.
string label = 4;
Returns
Type
Description
String
The label.
public ByteString getLabelBytes ()
String label.
string label = 4;
Returns
Type
Description
ByteString
The bytes for label.
public FeedbackLabel . LabelTypeCase getLabelTypeCase ()
public String getLabeledResource ()
Resource name of the resource to be labeled.
string labeled_resource = 3;
Returns
Type
Description
String
The labeledResource.
public ByteString getLabeledResourceBytes ()
Resource name of the resource to be labeled.
string labeled_resource = 3;
Returns
Type
Description
ByteString
The bytes for labeledResource.
Immutable. Resource name of the FeedbackLabel.
Format:
projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
Immutable. Resource name of the FeedbackLabel.
Format:
projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
ByteString
The bytes for name.
public Parser<FeedbackLabel> getParserForType ()
Overrides
public QaAnswer . AnswerValue getQaAnswerLabel ()
QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
public QaAnswer . AnswerValueOrBuilder getQaAnswerLabelOrBuilder ()
QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getUpdateTime ()
Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The updateTime.
public TimestampOrBuilder getUpdateTimeOrBuilder ()
Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime ()
Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the createTime field is set.
public boolean hasLabel ()
String label.
string label = 4;
Returns
Type
Description
boolean
Whether the label field is set.
public boolean hasQaAnswerLabel ()
QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
Returns
Type
Description
boolean
Whether the qaAnswerLabel field is set.
public boolean hasUpdateTime ()
Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the updateTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public FeedbackLabel . Builder newBuilderForType ()
protected FeedbackLabel . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public FeedbackLabel . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]