Class TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult (2.54.0)

public static final class TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult extends GeneratedMessageV3 implements TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResultOrBuilder

Contains validation results for a question in the tuning request.

Protobuf type google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult

Inheritance

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

Static Fields

DATASET_VALIDATION_WARNINGS_FIELD_NUMBER

public static final int DATASET_VALIDATION_WARNINGS_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_FIELD_NUMBER

public static final int QUESTION_FIELD_NUMBER
Field Value
Type Description
int

VALID_FEEDBACK_LABELS_COUNT_FIELD_NUMBER

public static final int VALID_FEEDBACK_LABELS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult getDefaultInstance()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult

getDescriptor()

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

newBuilder()

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder newBuilder()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

newBuilder(TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult prototype)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder newBuilder(TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult prototype)
Parameter
Name Description
prototype TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

parseDelimitedFrom(InputStream input)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult> parser()
Returns
Type Description
Parser<QaQuestionDatasetValidationResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult> getParserForType()
Returns
Type Description
Parser<QaQuestionDatasetValidationResult>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder newBuilderForType()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder toBuilder()
Returns
Type Description
TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException