- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class FeedbackLabel.Builder extends GeneratedMessageV3.Builder<FeedbackLabel.Builder> implements FeedbackLabelOrBuilder
Represents a conversation, resource, and label provided by the user.
Protobuf type google.cloud.contactcenterinsights.v1.FeedbackLabel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FeedbackLabel.BuilderImplements
FeedbackLabelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FeedbackLabel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FeedbackLabel.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public FeedbackLabel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FeedbackLabel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FeedbackLabel.Builder |
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 |
clone()
public FeedbackLabel.Builder clone()
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FeedbackLabel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
setField(Descriptors.FieldDescriptor field, Object value)
public FeedbackLabel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FeedbackLabel.Builder |
setLabel(String value)
public FeedbackLabel.Builder setLabel(String value)
String label.
string label = 4;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FeedbackLabel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FeedbackLabel.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FeedbackLabel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |