Class EntityType.ExcludedPhrase.Builder (0.14.2)

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.v3beta1.EntityType.ExcludedPhrase

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntityType.ExcludedPhrase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides

build()

public EntityType.ExcludedPhrase build()
Returns
TypeDescription
EntityType.ExcludedPhrase

buildPartial()

public EntityType.ExcludedPhrase buildPartial()
Returns
TypeDescription
EntityType.ExcludedPhrase

clear()

public EntityType.ExcludedPhrase.Builder clear()
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EntityType.ExcludedPhrase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityType.ExcludedPhrase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
EntityType.ExcludedPhrase.Builder

This builder for chaining.

clone()

public EntityType.ExcludedPhrase.Builder clone()
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides

getDefaultInstanceForType()

public EntityType.ExcludedPhrase getDefaultInstanceForType()
Returns
TypeDescription
EntityType.ExcludedPhrase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValue()

public String getValue()

Required. The word or phrase to be excluded.

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

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

Required. The word or phrase to be excluded.

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

Returns
TypeDescription
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityType.ExcludedPhrase other)

public EntityType.ExcludedPhrase.Builder mergeFrom(EntityType.ExcludedPhrase other)
Parameter
NameDescription
otherEntityType.ExcludedPhrase
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntityType.ExcludedPhrase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EntityType.ExcludedPhrase.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityType.ExcludedPhrase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EntityType.ExcludedPhrase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityType.ExcludedPhrase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The value to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
EntityType.ExcludedPhrase.Builder

This builder for chaining.