Class QaScorecard.Builder (2.54.0)

public static final class QaScorecard.Builder extends GeneratedMessageV3.Builder<QaScorecard.Builder> implements QaScorecardOrBuilder

A QaScorecard represents a collection of questions to be scored during analysis.

Protobuf type google.cloud.contactcenterinsights.v1.QaScorecard

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QaScorecard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QaScorecard.Builder
Overrides

build()

public QaScorecard build()
Returns
Type Description
QaScorecard

buildPartial()

public QaScorecard buildPartial()
Returns
Type Description
QaScorecard

clear()

public QaScorecard.Builder clear()
Returns
Type Description
QaScorecard.Builder
Overrides

clearCreateTime()

public QaScorecard.Builder clearCreateTime()

Output only. The time at which this scorecard was created.

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

Returns
Type Description
QaScorecard.Builder

clearDescription()

public QaScorecard.Builder clearDescription()

A text description explaining the intent of the scorecard.

string description = 2;

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

clearDisplayName()

public QaScorecard.Builder clearDisplayName()

The user-specified display name of the scorecard.

string display_name = 7;

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public QaScorecard.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QaScorecard.Builder
Overrides

clearName()

public QaScorecard.Builder clearName()

Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QaScorecard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QaScorecard.Builder
Overrides

clearUpdateTime()

public QaScorecard.Builder clearUpdateTime()

Output only. The most recent time at which the scorecard was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
QaScorecard.Builder

clone()

public QaScorecard.Builder clone()
Returns
Type Description
QaScorecard.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which this scorecard 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 time at which this scorecard 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 time at which this scorecard was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public QaScorecard getDefaultInstanceForType()
Returns
Type Description
QaScorecard

getDescription()

public String getDescription()

A text description explaining the intent of the scorecard.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A text description explaining the intent of the scorecard.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The user-specified display name of the scorecard.

string display_name = 7;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The user-specified display name of the scorecard.

string display_name = 7;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The most recent time at which the scorecard was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The most recent time at which the scorecard was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The most recent time at which the scorecard was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which this scorecard was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The most recent time at which the scorecard was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public QaScorecard.Builder mergeCreateTime(Timestamp value)

Output only. The time at which this scorecard was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
QaScorecard.Builder

mergeFrom(QaScorecard other)

public QaScorecard.Builder mergeFrom(QaScorecard other)
Parameter
Name Description
other QaScorecard
Returns
Type Description
QaScorecard.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QaScorecard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QaScorecard.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QaScorecard.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QaScorecard.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QaScorecard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QaScorecard.Builder
Overrides

mergeUpdateTime(Timestamp value)

public QaScorecard.Builder mergeUpdateTime(Timestamp value)

Output only. The most recent time at which the scorecard was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
QaScorecard.Builder

setCreateTime(Timestamp value)

public QaScorecard.Builder setCreateTime(Timestamp value)

Output only. The time at which this scorecard was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
QaScorecard.Builder

setCreateTime(Timestamp.Builder builderForValue)

public QaScorecard.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which this scorecard was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
QaScorecard.Builder

setDescription(String value)

public QaScorecard.Builder setDescription(String value)

A text description explaining the intent of the scorecard.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public QaScorecard.Builder setDescriptionBytes(ByteString value)

A text description explaining the intent of the scorecard.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

setDisplayName(String value)

public QaScorecard.Builder setDisplayName(String value)

The user-specified display name of the scorecard.

string display_name = 7;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public QaScorecard.Builder setDisplayNameBytes(ByteString value)

The user-specified display name of the scorecard.

string display_name = 7;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public QaScorecard.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QaScorecard.Builder
Overrides

setName(String value)

public QaScorecard.Builder setName(String value)

Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

setNameBytes(ByteString value)

public QaScorecard.Builder setNameBytes(ByteString value)

Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
QaScorecard.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QaScorecard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QaScorecard.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QaScorecard.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QaScorecard.Builder
Overrides

setUpdateTime(Timestamp value)

public QaScorecard.Builder setUpdateTime(Timestamp value)

Output only. The most recent time at which the scorecard was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
QaScorecard.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public QaScorecard.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The most recent time at which the scorecard was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
QaScorecard.Builder