Class CreateQaScorecardRequest.Builder (2.55.0)

public static final class CreateQaScorecardRequest.Builder extends GeneratedMessageV3.Builder<CreateQaScorecardRequest.Builder> implements CreateQaScorecardRequestOrBuilder

The request for creating a QaScorecard.

Protobuf type google.cloud.contactcenterinsights.v1.CreateQaScorecardRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateQaScorecardRequest build()
Returns
Type Description
CreateQaScorecardRequest

buildPartial()

public CreateQaScorecardRequest buildPartial()
Returns
Type Description
CreateQaScorecardRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateQaScorecardRequest.Builder clearParent()

Required. The parent resource of the QaScorecard.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateQaScorecardRequest.Builder

This builder for chaining.

clearQaScorecard()

public CreateQaScorecardRequest.Builder clearQaScorecard()

Required. The QaScorecard to create.

.google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateQaScorecardRequest.Builder

clearQaScorecardId()

public CreateQaScorecardRequest.Builder clearQaScorecardId()

Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.

string qa_scorecard_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateQaScorecardRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateQaScorecardRequest getDefaultInstanceForType()
Returns
Type Description
CreateQaScorecardRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource of the QaScorecard.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the QaScorecard.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getQaScorecard()

public QaScorecard getQaScorecard()

Required. The QaScorecard to create.

.google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaScorecard

The qaScorecard.

getQaScorecardBuilder()

public QaScorecard.Builder getQaScorecardBuilder()

Required. The QaScorecard to create.

.google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaScorecard.Builder

getQaScorecardId()

public String getQaScorecardId()

Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.

string qa_scorecard_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The qaScorecardId.

getQaScorecardIdBytes()

public ByteString getQaScorecardIdBytes()

Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.

string qa_scorecard_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for qaScorecardId.

getQaScorecardOrBuilder()

public QaScorecardOrBuilder getQaScorecardOrBuilder()

Required. The QaScorecard to create.

.google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaScorecardOrBuilder

hasQaScorecard()

public boolean hasQaScorecard()

Required. The QaScorecard to create.

.google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the qaScorecard field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateQaScorecardRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQaScorecard(QaScorecard value)

public CreateQaScorecardRequest.Builder mergeQaScorecard(QaScorecard value)

Required. The QaScorecard to create.

.google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecard = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QaScorecard
Returns
Type Description
CreateQaScorecardRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateQaScorecardRequest.Builder setParent(String value)

Required. The parent resource of the QaScorecard.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateQaScorecardRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateQaScorecardRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the QaScorecard.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateQaScorecardRequest.Builder

This builder for chaining.

setQaScorecard(QaScorecard value)

public CreateQaScorecardRequest.Builder setQaScorecard(QaScorecard value)

Required. The QaScorecard to create.

.google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecard = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QaScorecard
Returns
Type Description
CreateQaScorecardRequest.Builder

setQaScorecard(QaScorecard.Builder builderForValue)

public CreateQaScorecardRequest.Builder setQaScorecard(QaScorecard.Builder builderForValue)

Required. The QaScorecard to create.

.google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecard = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue QaScorecard.Builder
Returns
Type Description
CreateQaScorecardRequest.Builder

setQaScorecardId(String value)

public CreateQaScorecardRequest.Builder setQaScorecardId(String value)

Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.

string qa_scorecard_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The qaScorecardId to set.

Returns
Type Description
CreateQaScorecardRequest.Builder

This builder for chaining.

setQaScorecardIdBytes(ByteString value)

public CreateQaScorecardRequest.Builder setQaScorecardIdBytes(ByteString value)

Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used.

This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.

string qa_scorecard_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for qaScorecardId to set.

Returns
Type Description
CreateQaScorecardRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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