- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class QaScorecardRevision.Builder extends GeneratedMessageV3.Builder<QaScorecardRevision.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QaScorecardRevision.BuilderImplements
QaScorecardRevisionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAlternateIds(Iterable<String> values)
public QaScorecardRevision.Builder addAllAlternateIds(Iterable<String> values)
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 |
values |
Iterable<String> The alternateIds to add. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
This builder for chaining. |
addAlternateIds(String value)
public QaScorecardRevision.Builder addAlternateIds(String value)
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 |
value |
String The alternateIds to add. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
This builder for chaining. |
addAlternateIdsBytes(ByteString value)
public QaScorecardRevision.Builder addAlternateIdsBytes(ByteString value)
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 |
value |
ByteString The bytes of the alternateIds to add. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QaScorecardRevision.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
build()
public QaScorecardRevision build()
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
buildPartial()
public QaScorecardRevision buildPartial()
Returns | |
---|---|
Type | Description |
QaScorecardRevision |
clear()
public QaScorecardRevision.Builder clear()
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
clearAlternateIds()
public QaScorecardRevision.Builder clearAlternateIds()
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 |
QaScorecardRevision.Builder |
This builder for chaining. |
clearCreateTime()
public QaScorecardRevision.Builder clearCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
clearField(Descriptors.FieldDescriptor field)
public QaScorecardRevision.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
clearName()
public QaScorecardRevision.Builder clearName()
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 |
QaScorecardRevision.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QaScorecardRevision.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
clearSnapshot()
public QaScorecardRevision.Builder clearSnapshot()
The snapshot of the scorecard at the time of this revision's creation.
.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
clearState()
public QaScorecardRevision.Builder clearState()
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.Builder |
This builder for chaining. |
clone()
public QaScorecardRevision.Builder clone()
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
getSnapshotBuilder()
public QaScorecard.Builder getSnapshotBuilder()
The snapshot of the scorecard at the time of this revision's creation.
.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
Returns | |
---|---|
Type | Description |
QaScorecard.Builder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public QaScorecardRevision.Builder mergeCreateTime(Timestamp value)
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
mergeFrom(QaScorecardRevision other)
public QaScorecardRevision.Builder mergeFrom(QaScorecardRevision other)
Parameter | |
---|---|
Name | Description |
other |
QaScorecardRevision |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QaScorecardRevision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QaScorecardRevision.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
mergeSnapshot(QaScorecard value)
public QaScorecardRevision.Builder mergeSnapshot(QaScorecard value)
The snapshot of the scorecard at the time of this revision's creation.
.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
Parameter | |
---|---|
Name | Description |
value |
QaScorecard |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QaScorecardRevision.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
setAlternateIds(int index, String value)
public QaScorecardRevision.Builder setAlternateIds(int index, String value)
Output only. Alternative IDs for this revision of the scorecard, e.g.,
latest
.
repeated string alternate_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The alternateIds to set. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public QaScorecardRevision.Builder setCreateTime(Timestamp value)
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public QaScorecardRevision.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QaScorecardRevision.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
setName(String value)
public QaScorecardRevision.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public QaScorecardRevision.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QaScorecardRevision.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
setSnapshot(QaScorecard value)
public QaScorecardRevision.Builder setSnapshot(QaScorecard value)
The snapshot of the scorecard at the time of this revision's creation.
.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
Parameter | |
---|---|
Name | Description |
value |
QaScorecard |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
setSnapshot(QaScorecard.Builder builderForValue)
public QaScorecardRevision.Builder setSnapshot(QaScorecard.Builder builderForValue)
The snapshot of the scorecard at the time of this revision's creation.
.google.cloud.contactcenterinsights.v1.QaScorecard snapshot = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
QaScorecard.Builder |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
setState(QaScorecardRevision.State value)
public QaScorecardRevision.Builder setState(QaScorecardRevision.State value)
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];
Parameter | |
---|---|
Name | Description |
value |
QaScorecardRevision.State The state to set. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
This builder for chaining. |
setStateValue(int value)
public QaScorecardRevision.Builder setStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final QaScorecardRevision.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QaScorecardRevision.Builder |