Class QaQuestion.TuningMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata
All Implemented Interfaces:
QaQuestion.TuningMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
QaQuestion

public static final class QaQuestion.TuningMetadata extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • TOTAL_VALID_LABEL_COUNT_FIELD_NUMBER

      public static final int TOTAL_VALID_LABEL_COUNT_FIELD_NUMBER
      See Also:
    • DATASET_VALIDATION_WARNINGS_FIELD_NUMBER

      public static final int DATASET_VALIDATION_WARNINGS_FIELD_NUMBER
      See Also:
    • TUNING_ERROR_FIELD_NUMBER

      public static final int TUNING_ERROR_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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:
      getTotalValidLabelCount in interface QaQuestion.TuningMetadataOrBuilder
      Returns:
      The totalValidLabelCount.
    • 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;
      Specified by:
      getDatasetValidationWarningsList in interface QaQuestion.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:
      getDatasetValidationWarningsCount in interface QaQuestion.TuningMetadataOrBuilder
      Returns:
      The count of datasetValidationWarnings.
    • getDatasetValidationWarnings

      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;
      Specified by:
      getDatasetValidationWarnings in interface QaQuestion.TuningMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The 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;
      Specified by:
      getDatasetValidationWarningsValueList in interface QaQuestion.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:
      getDatasetValidationWarningsValue in interface QaQuestion.TuningMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of datasetValidationWarnings at the given index.
    • 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;
      Specified by:
      getTuningError in interface QaQuestion.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:
      getTuningErrorBytes in interface QaQuestion.TuningMetadataOrBuilder
      Returns:
      The bytes for tuningError.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QaQuestion.TuningMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QaQuestion.TuningMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QaQuestion.TuningMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public QaQuestion.TuningMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static QaQuestion.TuningMetadata.Builder newBuilder()
    • newBuilder

      public static QaQuestion.TuningMetadata.Builder newBuilder(QaQuestion.TuningMetadata prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected QaQuestion.TuningMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static QaQuestion.TuningMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<QaQuestion.TuningMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<QaQuestion.TuningMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public QaQuestion.TuningMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder