Class QaScorecardRevision

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.QaScorecardRevision
All Implemented Interfaces:
QaScorecardRevisionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class QaScorecardRevision extends com.google.protobuf.GeneratedMessage implements QaScorecardRevisionOrBuilder
 A revision of a QaScorecard.

 Modifying published scorecard fields would invalidate existing scorecard
 results — the questions may have changed, or the score weighting will make
 existing scores impossible to understand. So changes must create a new
 revision, rather than modifying the existing resource.
 
Protobuf type google.cloud.contactcenterinsights.v1.QaScorecardRevision
See Also:
  • Field Details

  • 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
    • getName

      public String getName()
       Identifier. The name of the scorecard revision.
       Format:
       projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface QaScorecardRevisionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the scorecard revision.
       Format:
       projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface QaScorecardRevisionOrBuilder
      Returns:
      The bytes for name.
    • hasSnapshot

      public boolean hasSnapshot()
       The snapshot of the scorecard at the time of this revision's creation.
       
      .google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
      Specified by:
      hasSnapshot in interface QaScorecardRevisionOrBuilder
      Returns:
      Whether the snapshot field is set.
    • getSnapshot

      public QaScorecard getSnapshot()
       The snapshot of the scorecard at the time of this revision's creation.
       
      .google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
      Specified by:
      getSnapshot in interface QaScorecardRevisionOrBuilder
      Returns:
      The snapshot.
    • getSnapshotOrBuilder

      public QaScorecardOrBuilder getSnapshotOrBuilder()
       The snapshot of the scorecard at the time of this revision's creation.
       
      .google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
      Specified by:
      getSnapshotOrBuilder in interface QaScorecardRevisionOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface QaScorecardRevisionOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface QaScorecardRevisionOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface QaScorecardRevisionOrBuilder
    • getAlternateIdsList

      public com.google.protobuf.ProtocolStringList getAlternateIdsList()
       Output only. Alternative IDs for this revision of the scorecard, e.g.,
       `latest`.
       
      repeated string alternate_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAlternateIdsList in interface QaScorecardRevisionOrBuilder
      Returns:
      A list containing the alternateIds.
    • getAlternateIdsCount

      public int getAlternateIdsCount()
       Output only. Alternative IDs for this revision of the scorecard, e.g.,
       `latest`.
       
      repeated string alternate_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAlternateIdsCount in interface QaScorecardRevisionOrBuilder
      Returns:
      The count of alternateIds.
    • getAlternateIds

      public String getAlternateIds(int index)
       Output only. Alternative IDs for this revision of the scorecard, e.g.,
       `latest`.
       
      repeated string alternate_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAlternateIds in interface QaScorecardRevisionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The alternateIds at the given index.
    • getAlternateIdsBytes

      public com.google.protobuf.ByteString getAlternateIdsBytes(int index)
       Output only. Alternative IDs for this revision of the scorecard, e.g.,
       `latest`.
       
      repeated string alternate_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAlternateIdsBytes in interface QaScorecardRevisionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the alternateIds at the given index.
    • getStateValue

      public int getStateValue()
       Output only. State of the scorecard revision, indicating whether it's ready
       to be used in analysis.
       
      .google.cloud.contactcenterinsights.v1.QaScorecardRevision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface QaScorecardRevisionOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public QaScorecardRevision.State getState()
       Output only. State of the scorecard revision, indicating whether it's ready
       to be used in analysis.
       
      .google.cloud.contactcenterinsights.v1.QaScorecardRevision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface QaScorecardRevisionOrBuilder
      Returns:
      The state.
    • 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 QaScorecardRevision parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static QaScorecardRevision parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static QaScorecardRevision parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static QaScorecardRevision.Builder newBuilder()
    • newBuilder

      public static QaScorecardRevision.Builder newBuilder(QaScorecardRevision prototype)
    • toBuilder

      public QaScorecardRevision.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static QaScorecardRevision getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<QaScorecardRevision> 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 QaScorecardRevision getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder