Class TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder (2.54.0)

public static final class TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder extends GeneratedMessageV3.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDatasetValidationWarnings(Iterable<? extends DatasetValidationWarning> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.DatasetValidationWarning>

The datasetValidationWarnings to add.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

addAllDatasetValidationWarningsValue(Iterable<Integer> values)

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;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for datasetValidationWarnings to add.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

addDatasetValidationWarnings(DatasetValidationWarning value)

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;

Parameter
Name Description
value DatasetValidationWarning

The datasetValidationWarnings to add.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

addDatasetValidationWarningsValue(int value)

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;

Parameter
Name Description
value int

The enum numeric value on the wire for datasetValidationWarnings to add.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

build()

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult build()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult

buildPartial()

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult buildPartial()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult

clear()

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder clear()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

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
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

clearQuestion()

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder 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
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

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
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

clone()

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder clone()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

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 int

The 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 int

The 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 TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult getDefaultInstanceForType()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getQuestion()

public String 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) = { ... }

Returns
Type Description
String

The question.

getQuestionBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for question.

getValidFeedbackLabelsCount()

public int getValidFeedbackLabelsCount()

The number of valid feedback labels in the question's dataset.

int32 valid_feedback_labels_count = 3;

Returns
Type Description
int

The validFeedbackLabelsCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult other)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder mergeFrom(TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult other)
Parameter
Name Description
other TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

setDatasetValidationWarnings(int index, DatasetValidationWarning value)

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
Name Description
index int

The index to set the value at.

value DatasetValidationWarning

The datasetValidationWarnings to set.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

setDatasetValidationWarningsValue(int index, int value)

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
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for datasetValidationWarnings to set.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

setQuestion(String value)

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) = { ... }

Parameter
Name Description
value String

The question to set.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

setQuestionBytes(ByteString value)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder setQuestionBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for question to set.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

setValidFeedbackLabelsCount(int value)

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder setValidFeedbackLabelsCount(int value)

The number of valid feedback labels in the question's dataset.

int32 valid_feedback_labels_count = 3;

Parameter
Name Description
value int

The validFeedbackLabelsCount to set.

Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

This builder for chaining.