Class TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder>
com.google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
- All Implemented Interfaces:
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
public static final class TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder>
implements TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder
Contains validation results for a question in the tuning request.Protobuf type
google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult-
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.Output only.The number of valid feedback labels in the question's dataset.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.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.intThe number of valid feedback labels in the question's dataset.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.setQuestion(String value) Output only.setQuestionBytes(com.google.protobuf.ByteString value) Output only.setValidFeedbackLabelsCount(int value) The number of valid feedback labels in the question's dataset.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<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder>
-
getDefaultInstanceForType
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult 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
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder>
-
mergeFrom
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder>- Throws:
IOException
-
getQuestion
Output only. The resource path of the question whose dataset was evaluated for tuning.
string question = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getQuestionin interfaceTuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder- Returns:
- The question.
-
getQuestionBytes
public com.google.protobuf.ByteString getQuestionBytes()Output only. The resource path of the question whose dataset was evaluated for tuning.
string question = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getQuestionBytesin interfaceTuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder- Returns:
- The bytes for question.
-
setQuestion
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder setQuestion(String value) Output only. The resource path of the question whose dataset was evaluated for tuning.
string question = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The question to set.- Returns:
- This builder for chaining.
-
clearQuestion
Output only. The resource path of the question whose dataset was evaluated for tuning.
string question = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setQuestionBytes
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder setQuestionBytes(com.google.protobuf.ByteString value) Output only. The resource path of the question whose dataset was evaluated for tuning.
string question = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for question to set.- 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 interfaceTuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder- 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 interfaceTuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder- 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 interfaceTuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The datasetValidationWarnings at the given index.
-
setDatasetValidationWarnings
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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 TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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 TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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:
- 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 interfaceTuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder- 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 interfaceTuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of datasetValidationWarnings at the given index.
-
setDatasetValidationWarningsValue
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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:
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
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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;- Parameters:
value- The enum numeric value on the wire for datasetValidationWarnings to add.- Returns:
- This builder for chaining.
-
addAllDatasetValidationWarningsValue
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.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.
-
getValidFeedbackLabelsCount
public int getValidFeedbackLabelsCount()The number of valid feedback labels in the question's dataset.
int32 valid_feedback_labels_count = 3;- Specified by:
getValidFeedbackLabelsCountin interfaceTuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder- Returns:
- The validFeedbackLabelsCount.
-
setValidFeedbackLabelsCount
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder setValidFeedbackLabelsCount(int value) The number of valid feedback labels in the question's dataset.
int32 valid_feedback_labels_count = 3;- Parameters:
value- The validFeedbackLabelsCount to set.- Returns:
- This builder for chaining.
-
clearValidFeedbackLabelsCount
public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder clearValidFeedbackLabelsCount()The number of valid feedback labels in the question's dataset.
int32 valid_feedback_labels_count = 3;- Returns:
- This builder for chaining.
-