public static final class FeedbackLabel.Builder extends GeneratedMessage.Builder<FeedbackLabel.Builder> implements FeedbackLabelOrBuilderRepresents a conversation, resource, and label provided by the user.
Protobuf type google.cloud.contactcenterinsights.v1.FeedbackLabel
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FeedbackLabel.BuilderImplements
FeedbackLabelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FeedbackLabel build()| Returns | |
|---|---|
| Type | Description |
FeedbackLabel |
|
buildPartial()
public FeedbackLabel buildPartial()| Returns | |
|---|---|
| Type | Description |
FeedbackLabel |
|
clear()
public FeedbackLabel.Builder clear()| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
clearCreateTime()
public FeedbackLabel.Builder clearCreateTime()Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
clearLabel()
public FeedbackLabel.Builder clearLabel()String label.
string label = 4;
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
This builder for chaining. |
clearLabelType()
public FeedbackLabel.Builder clearLabelType()| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
clearLabeledResource()
public FeedbackLabel.Builder clearLabeledResource()Resource name of the resource to be labeled.
string labeled_resource = 3;
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
This builder for chaining. |
clearName()
public FeedbackLabel.Builder clearName()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 |
FeedbackLabel.Builder |
This builder for chaining. |
clearQaAnswerLabel()
public FeedbackLabel.Builder clearQaAnswerLabel()QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
clearUpdateTime()
public FeedbackLabel.Builder clearUpdateTime()Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
getCreateTime()
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public FeedbackLabel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FeedbackLabel |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabel()
public String getLabel()String label.
string label = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes()String label.
string label = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getLabelTypeCase()
public FeedbackLabel.LabelTypeCase getLabelTypeCase()| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.LabelTypeCase |
|
getLabeledResource()
public String getLabeledResource()Resource name of the resource to be labeled.
string labeled_resource = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The labeledResource. |
getLabeledResourceBytes()
public ByteString getLabeledResourceBytes()Resource name of the resource to be labeled.
string labeled_resource = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for labeledResource. |
getName()
public String getName()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. |
getNameBytes()
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. |
getQaAnswerLabel()
public QaAnswer.AnswerValue getQaAnswerLabel()QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
| Returns | |
|---|---|
| Type | Description |
QaAnswer.AnswerValue |
The qaAnswerLabel. |
getQaAnswerLabelBuilder()
public QaAnswer.AnswerValue.Builder getQaAnswerLabelBuilder()QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
| Returns | |
|---|---|
| Type | Description |
QaAnswer.AnswerValue.Builder |
|
getQaAnswerLabelOrBuilder()
public QaAnswer.AnswerValueOrBuilder getQaAnswerLabelOrBuilder()QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
| Returns | |
|---|---|
| Type | Description |
QaAnswer.AnswerValueOrBuilder |
|
getUpdateTime()
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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
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. |
hasLabel()
public boolean hasLabel()String label.
string label = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the label field is set. |
hasQaAnswerLabel()
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. |
hasUpdateTime()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public FeedbackLabel.Builder mergeCreateTime(Timestamp value)Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
mergeFrom(FeedbackLabel other)
public FeedbackLabel.Builder mergeFrom(FeedbackLabel other)| Parameter | |
|---|---|
| Name | Description |
other |
FeedbackLabel |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FeedbackLabel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FeedbackLabel.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
mergeQaAnswerLabel(QaAnswer.AnswerValue value)
public FeedbackLabel.Builder mergeQaAnswerLabel(QaAnswer.AnswerValue value)QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
QaAnswer.AnswerValue |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
mergeUpdateTime(Timestamp value)
public FeedbackLabel.Builder mergeUpdateTime(Timestamp value)Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
setCreateTime(Timestamp value)
public FeedbackLabel.Builder setCreateTime(Timestamp value)Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public FeedbackLabel.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Create time of the label.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
setLabel(String value)
public FeedbackLabel.Builder setLabel(String value)String label.
string label = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public FeedbackLabel.Builder setLabelBytes(ByteString value)String label.
string label = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
This builder for chaining. |
setLabeledResource(String value)
public FeedbackLabel.Builder setLabeledResource(String value)Resource name of the resource to be labeled.
string labeled_resource = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe labeledResource to set. |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
This builder for chaining. |
setLabeledResourceBytes(ByteString value)
public FeedbackLabel.Builder setLabeledResourceBytes(ByteString value)Resource name of the resource to be labeled.
string labeled_resource = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for labeledResource to set. |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
This builder for chaining. |
setName(String value)
public FeedbackLabel.Builder setName(String value)Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FeedbackLabel.Builder setNameBytes(ByteString value)Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
This builder for chaining. |
setQaAnswerLabel(QaAnswer.AnswerValue value)
public FeedbackLabel.Builder setQaAnswerLabel(QaAnswer.AnswerValue value)QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
QaAnswer.AnswerValue |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
setQaAnswerLabel(QaAnswer.AnswerValue.Builder builderForValue)
public FeedbackLabel.Builder setQaAnswerLabel(QaAnswer.AnswerValue.Builder builderForValue)QaAnswer label.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue qa_answer_label = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
QaAnswer.AnswerValue.Builder |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
setUpdateTime(Timestamp value)
public FeedbackLabel.Builder setUpdateTime(Timestamp value)Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public FeedbackLabel.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Update time of the label.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FeedbackLabel.Builder |
|