Class QaScorecardRevision (2.55.0)

public final class QaScorecardRevision extends GeneratedMessageV3 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

Static Fields

ALTERNATE_IDS_FIELD_NUMBER

public static final int ALTERNATE_IDS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SNAPSHOT_FIELD_NUMBER

public static final int SNAPSHOT_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QaScorecardRevision getDefaultInstance()
Returns
Type Description
QaScorecardRevision

getDescriptor()

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

newBuilder()

public static QaScorecardRevision.Builder newBuilder()
Returns
Type Description
QaScorecardRevision.Builder

newBuilder(QaScorecardRevision prototype)

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

parseDelimitedFrom(InputStream input)

public static QaScorecardRevision parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QaScorecardRevision
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static QaScorecardRevision parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QaScorecardRevision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static QaScorecardRevision parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QaScorecardRevision
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static QaScorecardRevision parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QaScorecardRevision
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static QaScorecardRevision parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QaScorecardRevision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<QaScorecardRevision> parser()
Returns
Type Description
Parser<QaScorecardRevision>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAlternateIds(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The alternateIds at the given index.

getAlternateIdsBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the alternateIds at the given index.

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];

Returns
Type Description
int

The count of alternateIds.

getAlternateIdsList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the alternateIds.

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public QaScorecardRevision getDefaultInstanceForType()
Returns
Type Description
QaScorecardRevision

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<QaScorecardRevision> getParserForType()
Returns
Type Description
Parser<QaScorecardRevision>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSnapshot()

public QaScorecard getSnapshot()

The snapshot of the scorecard at the time of this revision's creation.

.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;

Returns
Type Description
QaScorecard

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;

Returns
Type Description
QaScorecardOrBuilder

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];

Returns
Type Description
QaScorecardRevision.State

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

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];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSnapshot()

public boolean hasSnapshot()

The snapshot of the scorecard at the time of this revision's creation.

.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;

Returns
Type Description
boolean

Whether the snapshot field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public QaScorecardRevision.Builder toBuilder()
Returns
Type Description
QaScorecardRevision.Builder

writeTo(CodedOutputStream output)

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