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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ALTERNATE_IDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SNAPSHOT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static QaScorecardRevision getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static QaScorecardRevision.Builder newBuilder()
public static QaScorecardRevision.Builder newBuilder(QaScorecardRevision prototype)
public static QaScorecardRevision parseDelimitedFrom(InputStream input)
public static QaScorecardRevision parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardRevision parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static QaScorecardRevision parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QaScorecardRevision parseFrom(ByteString data)
public static QaScorecardRevision parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QaScorecardRevision parseFrom(CodedInputStream input)
public static QaScorecardRevision parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardRevision parseFrom(InputStream input)
public static QaScorecardRevision parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardRevision parseFrom(ByteBuffer data)
public static QaScorecardRevision parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<QaScorecardRevision> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
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.
|
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.
|
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];
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.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QaScorecardRevision getDefaultInstanceForType()
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.
|
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.
|
public Parser<QaScorecardRevision> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public QaScorecard getSnapshot()
The snapshot of the scorecard at the time of this revision's creation.
.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
public QaScorecardOrBuilder getSnapshotOrBuilder()
The snapshot of the scorecard at the time of this revision's creation.
.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
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];
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public QaScorecardRevision.Builder newBuilderForType()
protected QaScorecardRevision.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public QaScorecardRevision.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides