Class EntityType.ExcludedPhrase.Builder (0.54.0)

public static final class EntityType.ExcludedPhrase.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityType.ExcludedPhrase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityType.ExcludedPhrase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.