Class QaQuestion.TuningMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QaQuestion.TuningMetadata.Builder>
com.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata.Builder
- All Implemented Interfaces:
QaQuestion.TuningMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QaQuestion.TuningMetadata
public static final class QaQuestion.TuningMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QaQuestion.TuningMetadata.Builder>
implements QaQuestion.TuningMetadataOrBuilder
Metadata 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-
Method Summary
Modifier and TypeMethodDescriptionaddAllDatasetValidationWarnings(Iterable<? extends DatasetValidationWarning> values) A list of any applicable data validation warnings about the question's feedback labels.A list of any applicable data validation warnings about the question's feedback labels.A list of any applicable data validation warnings about the question's feedback labels.addDatasetValidationWarningsValue(int value) A list of any applicable data validation warnings about the question's feedback labels.build()clear()A list of any applicable data validation warnings about the question's feedback labels.Total number of valid labels provided for the question at the time of tuining.Error status of the tuning operation for the question.getDatasetValidationWarnings(int index) A list of any applicable data validation warnings about the question's feedback labels.intA list of any applicable data validation warnings about the question's feedback labels.A list of any applicable data validation warnings about the question's feedback labels.intgetDatasetValidationWarningsValue(int index) A list of any applicable data validation warnings about the question's feedback labels.A list of any applicable data validation warnings about the question's feedback labels.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongTotal number of valid labels provided for the question at the time of tuining.Error status of the tuning operation for the question.com.google.protobuf.ByteStringError status of the tuning operation for the question.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDatasetValidationWarnings(int index, DatasetValidationWarning value) A list of any applicable data validation warnings about the question's feedback labels.setDatasetValidationWarningsValue(int index, int value) A list of any applicable data validation warnings about the question's feedback labels.setTotalValidLabelCount(long value) Total number of valid labels provided for the question at the time of tuining.setTuningError(String value) Error status of the tuning operation for the question.setTuningErrorBytes(com.google.protobuf.ByteString value) Error status of the tuning operation for the question.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QaQuestion.TuningMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QaQuestion.TuningMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QaQuestion.TuningMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QaQuestion.TuningMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QaQuestion.TuningMetadata.Builder>
-
mergeFrom
public QaQuestion.TuningMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QaQuestion.TuningMetadata.Builder>- Throws:
IOException
-
getTotalValidLabelCount
public long getTotalValidLabelCount()Total number of valid labels provided for the question at the time of tuining.
int64 total_valid_label_count = 1;- Specified by:
getTotalValidLabelCountin interfaceQaQuestion.TuningMetadataOrBuilder- Returns:
- The totalValidLabelCount.
-
setTotalValidLabelCount
Total number of valid labels provided for the question at the time of tuining.
int64 total_valid_label_count = 1;- Parameters:
value- The totalValidLabelCount to set.- Returns:
- This builder for chaining.
-
clearTotalValidLabelCount
Total number of valid labels provided for the question at the time of tuining.
int64 total_valid_label_count = 1;- Returns:
- This builder for chaining.
-
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;- Specified by:
getDatasetValidationWarningsListin interfaceQaQuestion.TuningMetadataOrBuilder- Returns:
- A list containing the datasetValidationWarnings.
-
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;- Specified by:
getDatasetValidationWarningsCountin interfaceQaQuestion.TuningMetadataOrBuilder- Returns:
- The count of datasetValidationWarnings.
-
getDatasetValidationWarnings
A list of any applicable data validation warnings about the question's feedback labels.
repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2;- Specified by:
getDatasetValidationWarningsin interfaceQaQuestion.TuningMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The datasetValidationWarnings at the given index.
-
setDatasetValidationWarnings
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:
index- The index to set the value at.value- The datasetValidationWarnings to set.- Returns:
- This builder for chaining.
-
addDatasetValidationWarnings
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;- Parameters:
value- The datasetValidationWarnings to add.- Returns:
- This builder for chaining.
-
addAllDatasetValidationWarnings
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;- Parameters:
values- The datasetValidationWarnings to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getDatasetValidationWarningsValueListin interfaceQaQuestion.TuningMetadataOrBuilder- Returns:
- A list containing the enum numeric values on the wire for datasetValidationWarnings.
-
getDatasetValidationWarningsValue
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;- Specified by:
getDatasetValidationWarningsValuein interfaceQaQuestion.TuningMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of datasetValidationWarnings at the given index.
-
setDatasetValidationWarningsValue
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:
index- The index to set the value at.value- The enum numeric value on the wire for datasetValidationWarnings to set.- Returns:
- This builder for chaining.
-
addDatasetValidationWarningsValue
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:
value- The enum numeric value on the wire for datasetValidationWarnings to add.- Returns:
- This builder for chaining.
-
addAllDatasetValidationWarningsValue
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;- Parameters:
values- The enum numeric values on the wire for datasetValidationWarnings to add.- Returns:
- This builder for chaining.
-
getTuningError
Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;- Specified by:
getTuningErrorin interfaceQaQuestion.TuningMetadataOrBuilder- Returns:
- The tuningError.
-
getTuningErrorBytes
public com.google.protobuf.ByteString getTuningErrorBytes()Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;- Specified by:
getTuningErrorBytesin interfaceQaQuestion.TuningMetadataOrBuilder- Returns:
- The bytes for tuningError.
-
setTuningError
Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;- Parameters:
value- The tuningError to set.- Returns:
- This builder for chaining.
-
clearTuningError
Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;- Returns:
- This builder for chaining.
-
setTuningErrorBytes
Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
string tuning_error = 3;- Parameters:
value- The bytes for tuningError to set.- Returns:
- This builder for chaining.
-