Class DeleteQaScorecardRequest.Builder (2.54.0)

public static final class DeleteQaScorecardRequest.Builder extends GeneratedMessageV3.Builder<DeleteQaScorecardRequest.Builder> implements DeleteQaScorecardRequestOrBuilder

The request for deleting a QaScorecard.

Protobuf type google.cloud.contactcenterinsights.v1.DeleteQaScorecardRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteQaScorecardRequest build()
Returns
Type Description
DeleteQaScorecardRequest

buildPartial()

public DeleteQaScorecardRequest buildPartial()
Returns
Type Description
DeleteQaScorecardRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearForce()

public DeleteQaScorecardRequest.Builder clearForce()

Optional. If set to true, all of this QaScorecard's child resources will also be deleted. Otherwise, the request will only succeed if it has none.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeleteQaScorecardRequest.Builder

This builder for chaining.

clearName()

public DeleteQaScorecardRequest.Builder clearName()

Required. The name of the QaScorecard to delete.

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

Returns
Type Description
DeleteQaScorecardRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteQaScorecardRequest getDefaultInstanceForType()
Returns
Type Description
DeleteQaScorecardRequest

getDescriptorForType()

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

getForce()

public boolean getForce()

Optional. If set to true, all of this QaScorecard's child resources will also be deleted. Otherwise, the request will only succeed if it has none.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The force.

getName()

public String getName()

Required. The name of the QaScorecard to delete.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the QaScorecard to delete.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteQaScorecardRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setForce(boolean value)

public DeleteQaScorecardRequest.Builder setForce(boolean value)

Optional. If set to true, all of this QaScorecard's child resources will also be deleted. Otherwise, the request will only succeed if it has none.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The force to set.

Returns
Type Description
DeleteQaScorecardRequest.Builder

This builder for chaining.

setName(String value)

public DeleteQaScorecardRequest.Builder setName(String value)

Required. The name of the QaScorecard to delete.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteQaScorecardRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteQaScorecardRequest.Builder setNameBytes(ByteString value)

Required. The name of the QaScorecard to delete.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteQaScorecardRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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