Class QaQuestion.TuningMetadata (2.55.0)

public static final class QaQuestion.TuningMetadata extends GeneratedMessageV3 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

Static Fields

DATASET_VALIDATION_WARNINGS_FIELD_NUMBER

public static final int DATASET_VALIDATION_WARNINGS_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_VALID_LABEL_COUNT_FIELD_NUMBER

public static final int TOTAL_VALID_LABEL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TUNING_ERROR_FIELD_NUMBER

public static final int TUNING_ERROR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QaQuestion.TuningMetadata getDefaultInstance()
Returns
Type Description
QaQuestion.TuningMetadata

getDescriptor()

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

newBuilder()

public static QaQuestion.TuningMetadata.Builder newBuilder()
Returns
Type Description
QaQuestion.TuningMetadata.Builder

newBuilder(QaQuestion.TuningMetadata prototype)

public static QaQuestion.TuningMetadata.Builder newBuilder(QaQuestion.TuningMetadata prototype)
Parameter
Name Description
prototype QaQuestion.TuningMetadata
Returns
Type Description
QaQuestion.TuningMetadata.Builder

parseDelimitedFrom(InputStream input)

public static QaQuestion.TuningMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QaQuestion.TuningMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static QaQuestion.TuningMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QaQuestion.TuningMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static QaQuestion.TuningMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QaQuestion.TuningMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static QaQuestion.TuningMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QaQuestion.TuningMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static QaQuestion.TuningMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QaQuestion.TuningMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<QaQuestion.TuningMetadata> parser()
Returns
Type Description
Parser<TuningMetadata>

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 QaQuestion.TuningMetadata getDefaultInstanceForType()
Returns
Type Description
QaQuestion.TuningMetadata

getParserForType()

public Parser<QaQuestion.TuningMetadata> getParserForType()
Returns
Type Description
Parser<TuningMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 QaQuestion.TuningMetadata.Builder newBuilderForType()
Returns
Type Description
QaQuestion.TuningMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QaQuestion.TuningMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QaQuestion.TuningMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public QaQuestion.TuningMetadata.Builder toBuilder()
Returns
Type Description
QaQuestion.TuningMetadata.Builder

writeTo(CodedOutputStream output)

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