Class DeleteAnalysisRuleRequest.Builder (2.55.0)

public static final class DeleteAnalysisRuleRequest.Builder extends GeneratedMessageV3.Builder<DeleteAnalysisRuleRequest.Builder> implements DeleteAnalysisRuleRequestOrBuilder

The request to delete a analysis rule.

Protobuf type google.cloud.contactcenterinsights.v1.DeleteAnalysisRuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteAnalysisRuleRequest build()
Returns
Type Description
DeleteAnalysisRuleRequest

buildPartial()

public DeleteAnalysisRuleRequest buildPartial()
Returns
Type Description
DeleteAnalysisRuleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteAnalysisRuleRequest.Builder clearName()

Required. The name of the analysis rule to delete.

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

Returns
Type Description
DeleteAnalysisRuleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteAnalysisRuleRequest getDefaultInstanceForType()
Returns
Type Description
DeleteAnalysisRuleRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the analysis rule 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 analysis rule 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(DeleteAnalysisRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteAnalysisRuleRequest.Builder setName(String value)

Required. The name of the analysis rule 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
DeleteAnalysisRuleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteAnalysisRuleRequest.Builder setNameBytes(ByteString value)

Required. The name of the analysis rule 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
DeleteAnalysisRuleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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