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