public static final class QaQuestion.TuningMetadata.Builder extends GeneratedMessage.Builder<QaQuestion.TuningMetadata.Builder> implements QaQuestion.TuningMetadataOrBuilderMetadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned.
Protobuf type google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QaQuestion.TuningMetadata.BuilderImplements
QaQuestion.TuningMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDatasetValidationWarnings(Iterable<? extends DatasetValidationWarning> values)
public QaQuestion.TuningMetadata.Builder addAllDatasetValidationWarnings(Iterable<? extends DatasetValidationWarning> values)A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.contactcenterinsights.v1.DatasetValidationWarning>The datasetValidationWarnings to add. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
addAllDatasetValidationWarningsValue(Iterable<Integer> values)
public QaQuestion.TuningMetadata.Builder addAllDatasetValidationWarningsValue(Iterable<Integer> values)A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for datasetValidationWarnings to add. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
addDatasetValidationWarnings(DatasetValidationWarning value)
public QaQuestion.TuningMetadata.Builder addDatasetValidationWarnings(DatasetValidationWarning value)A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DatasetValidationWarningThe datasetValidationWarnings to add. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
addDatasetValidationWarningsValue(int value)
public QaQuestion.TuningMetadata.Builder addDatasetValidationWarningsValue(int value)A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for datasetValidationWarnings to add. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
build()
public QaQuestion.TuningMetadata build()| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata |
|
buildPartial()
public QaQuestion.TuningMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata |
|
clear()
public QaQuestion.TuningMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
|
clearDatasetValidationWarnings()
public QaQuestion.TuningMetadata.Builder clearDatasetValidationWarnings()A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
clearTotalValidLabelCount()
public QaQuestion.TuningMetadata.Builder clearTotalValidLabelCount()Total number of valid labels provided for the question at the time of tuining.
int64 total_valid_label_count = 1;
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
clearTuningError()
public QaQuestion.TuningMetadata.Builder clearTuningError()Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
getDatasetValidationWarnings(int index)
public DatasetValidationWarning getDatasetValidationWarnings(int index)A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
DatasetValidationWarning |
The datasetValidationWarnings at the given index. |
getDatasetValidationWarningsCount()
public int getDatasetValidationWarningsCount()A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of datasetValidationWarnings. |
getDatasetValidationWarningsList()
public List<DatasetValidationWarning> getDatasetValidationWarningsList()A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Returns | |
|---|---|
| Type | Description |
List<DatasetValidationWarning> |
A list containing the datasetValidationWarnings. |
getDatasetValidationWarningsValue(int index)
public int getDatasetValidationWarningsValue(int index)A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of datasetValidationWarnings at the given index. |
getDatasetValidationWarningsValueList()
public List<Integer> getDatasetValidationWarningsValueList()A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for datasetValidationWarnings. |
getDefaultInstanceForType()
public QaQuestion.TuningMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTotalValidLabelCount()
public long getTotalValidLabelCount()Total number of valid labels provided for the question at the time of tuining.
int64 total_valid_label_count = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The totalValidLabelCount. |
getTuningError()
public String getTuningError()Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The tuningError. |
getTuningErrorBytes()
public ByteString getTuningErrorBytes()Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tuningError. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(QaQuestion.TuningMetadata other)
public QaQuestion.TuningMetadata.Builder mergeFrom(QaQuestion.TuningMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
QaQuestion.TuningMetadata |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QaQuestion.TuningMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QaQuestion.TuningMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
|
setDatasetValidationWarnings(int index, DatasetValidationWarning value)
public QaQuestion.TuningMetadata.Builder setDatasetValidationWarnings(int index, DatasetValidationWarning value)A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
DatasetValidationWarningThe datasetValidationWarnings to set. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
setDatasetValidationWarningsValue(int index, int value)
public QaQuestion.TuningMetadata.Builder setDatasetValidationWarningsValue(int index, int value)A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for datasetValidationWarnings to set. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
setTotalValidLabelCount(long value)
public QaQuestion.TuningMetadata.Builder setTotalValidLabelCount(long value)Total number of valid labels provided for the question at the time of tuining.
int64 total_valid_label_count = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe totalValidLabelCount to set. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
setTuningError(String value)
public QaQuestion.TuningMetadata.Builder setTuningError(String value)Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tuningError to set. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |
setTuningErrorBytes(ByteString value)
public QaQuestion.TuningMetadata.Builder setTuningErrorBytes(ByteString value)Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tuningError to set. |
| Returns | |
|---|---|
| Type | Description |
QaQuestion.TuningMetadata.Builder |
This builder for chaining. |