Class EntityType.ExcludedPhrase.Builder (0.94.0)

public static final class EntityType.ExcludedPhrase.Builder extends GeneratedMessage.Builder<EntityType.ExcludedPhrase.Builder> implements EntityType.ExcludedPhraseOrBuilder

An excluded entity phrase that should not be matched.

Protobuf type google.cloud.dialogflow.cx.v3.EntityType.ExcludedPhrase

Static Methods

getDescriptor()

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

Methods

build()

public EntityType.ExcludedPhrase build()
Returns
Type Description
EntityType.ExcludedPhrase

buildPartial()

public EntityType.ExcludedPhrase buildPartial()
Returns
Type Description
EntityType.ExcludedPhrase

clear()

public EntityType.ExcludedPhrase.Builder clear()
Returns
Type Description
EntityType.ExcludedPhrase.Builder
Overrides

clearValue()

public EntityType.ExcludedPhrase.Builder clearValue()

Required. The word or phrase to be excluded.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityType.ExcludedPhrase.Builder

This builder for chaining.

getDefaultInstanceForType()

public EntityType.ExcludedPhrase getDefaultInstanceForType()
Returns
Type Description
EntityType.ExcludedPhrase

getDescriptorForType()

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

getValue()

public String getValue()

Required. The word or phrase to be excluded.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Required. The word or phrase to be excluded.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntityType.ExcludedPhrase other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setValue(String value)

public EntityType.ExcludedPhrase.Builder setValue(String value)

Required. The word or phrase to be excluded.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The value to set.

Returns
Type Description
EntityType.ExcludedPhrase.Builder

This builder for chaining.

setValueBytes(ByteString value)

public EntityType.ExcludedPhrase.Builder setValueBytes(ByteString value)

Required. The word or phrase to be excluded.

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
EntityType.ExcludedPhrase.Builder

This builder for chaining.