Class CreateQaScorecardRevisionRequest.Builder (2.55.0)

public static final class CreateQaScorecardRevisionRequest.Builder extends GeneratedMessageV3.Builder<CreateQaScorecardRevisionRequest.Builder> implements CreateQaScorecardRevisionRequestOrBuilder

The request for creating a QaScorecardRevision.

Protobuf type google.cloud.contactcenterinsights.v1.CreateQaScorecardRevisionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateQaScorecardRevisionRequest build()
Returns
Type Description
CreateQaScorecardRevisionRequest

buildPartial()

public CreateQaScorecardRevisionRequest buildPartial()
Returns
Type Description
CreateQaScorecardRevisionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateQaScorecardRevisionRequest.Builder clearParent()

Required. The parent resource of the QaScorecardRevision.

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

Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

This builder for chaining.

clearQaScorecardRevision()

public CreateQaScorecardRevisionRequest.Builder clearQaScorecardRevision()

Required. The QaScorecardRevision to create.

.google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revision = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

clearQaScorecardRevisionId()

public CreateQaScorecardRevisionRequest.Builder clearQaScorecardRevisionId()

Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateQaScorecardRevisionRequest getDefaultInstanceForType()
Returns
Type Description
CreateQaScorecardRevisionRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource of the QaScorecardRevision.

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 QaScorecardRevision.

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

Returns
Type Description
ByteString

The bytes for parent.

getQaScorecardRevision()

public QaScorecardRevision getQaScorecardRevision()

Required. The QaScorecardRevision to create.

.google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revision = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaScorecardRevision

The qaScorecardRevision.

getQaScorecardRevisionBuilder()

public QaScorecardRevision.Builder getQaScorecardRevisionBuilder()

Required. The QaScorecardRevision to create.

.google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revision = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaScorecardRevision.Builder

getQaScorecardRevisionId()

public String getQaScorecardRevisionId()

Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The qaScorecardRevisionId.

getQaScorecardRevisionIdBytes()

public ByteString getQaScorecardRevisionIdBytes()

Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for qaScorecardRevisionId.

getQaScorecardRevisionOrBuilder()

public QaScorecardRevisionOrBuilder getQaScorecardRevisionOrBuilder()

Required. The QaScorecardRevision to create.

.google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revision = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QaScorecardRevisionOrBuilder

hasQaScorecardRevision()

public boolean hasQaScorecardRevision()

Required. The QaScorecardRevision to create.

.google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revision = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the qaScorecardRevision field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateQaScorecardRevisionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQaScorecardRevision(QaScorecardRevision value)

public CreateQaScorecardRevisionRequest.Builder mergeQaScorecardRevision(QaScorecardRevision value)

Required. The QaScorecardRevision to create.

.google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revision = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QaScorecardRevision
Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateQaScorecardRevisionRequest.Builder setParent(String value)

Required. The parent resource of the QaScorecardRevision.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateQaScorecardRevisionRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the QaScorecardRevision.

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
CreateQaScorecardRevisionRequest.Builder

This builder for chaining.

setQaScorecardRevision(QaScorecardRevision value)

public CreateQaScorecardRevisionRequest.Builder setQaScorecardRevision(QaScorecardRevision value)

Required. The QaScorecardRevision to create.

.google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revision = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QaScorecardRevision
Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

setQaScorecardRevision(QaScorecardRevision.Builder builderForValue)

public CreateQaScorecardRevisionRequest.Builder setQaScorecardRevision(QaScorecardRevision.Builder builderForValue)

Required. The QaScorecardRevision to create.

.google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revision = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue QaScorecardRevision.Builder
Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

setQaScorecardRevisionId(String value)

public CreateQaScorecardRevisionRequest.Builder setQaScorecardRevisionId(String value)

Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The qaScorecardRevisionId to set.

Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

This builder for chaining.

setQaScorecardRevisionIdBytes(ByteString value)

public CreateQaScorecardRevisionRequest.Builder setQaScorecardRevisionIdBytes(ByteString value)

Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for qaScorecardRevisionId to set.

Returns
Type Description
CreateQaScorecardRevisionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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