Class DeletePhraseMatcherRequest.Builder (2.46.0)

public static final class DeletePhraseMatcherRequest.Builder extends GeneratedMessageV3.Builder<DeletePhraseMatcherRequest.Builder> implements DeletePhraseMatcherRequestOrBuilder

The request to delete a phrase matcher.

Protobuf type google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeletePhraseMatcherRequest build()
Returns
Type Description
DeletePhraseMatcherRequest

buildPartial()

public DeletePhraseMatcherRequest buildPartial()
Returns
Type Description
DeletePhraseMatcherRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeletePhraseMatcherRequest.Builder clearName()

Required. The name of the phrase matcher to delete.

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

Returns
Type Description
DeletePhraseMatcherRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeletePhraseMatcherRequest getDefaultInstanceForType()
Returns
Type Description
DeletePhraseMatcherRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the phrase matcher 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 phrase matcher 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(DeletePhraseMatcherRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeletePhraseMatcherRequest.Builder setName(String value)

Required. The name of the phrase matcher 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
DeletePhraseMatcherRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeletePhraseMatcherRequest.Builder setNameBytes(ByteString value)

Required. The name of the phrase matcher 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
DeletePhraseMatcherRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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