Class EntityType.ExcludedPhrase (0.14.2)

public static final class EntityType.ExcludedPhrase extends GeneratedMessageV3 implements EntityType.ExcludedPhraseOrBuilder

An excluded entity phrase that should not be matched.

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

Static Fields

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EntityType.ExcludedPhrase getDefaultInstance()
Returns
TypeDescription
EntityType.ExcludedPhrase

getDescriptor()

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

newBuilder()

public static EntityType.ExcludedPhrase.Builder newBuilder()
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder

newBuilder(EntityType.ExcludedPhrase prototype)

public static EntityType.ExcludedPhrase.Builder newBuilder(EntityType.ExcludedPhrase prototype)
Parameter
NameDescription
prototypeEntityType.ExcludedPhrase
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder

parseDelimitedFrom(InputStream input)

public static EntityType.ExcludedPhrase parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityType.ExcludedPhrase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EntityType.ExcludedPhrase parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityType.ExcludedPhrase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityType.ExcludedPhrase parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityType.ExcludedPhrase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityType.ExcludedPhrase parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityType.ExcludedPhrase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EntityType.ExcludedPhrase parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityType.ExcludedPhrase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EntityType.ExcludedPhrase parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityType.ExcludedPhrase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityType.ExcludedPhrase
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EntityType.ExcludedPhrase> parser()
Returns
TypeDescription
Parser<ExcludedPhrase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<EntityType.ExcludedPhrase> getParserForType()
Returns
TypeDescription
Parser<ExcludedPhrase>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EntityType.ExcludedPhrase.Builder newBuilderForType()
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EntityType.ExcludedPhrase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EntityType.ExcludedPhrase.Builder toBuilder()
Returns
TypeDescription
EntityType.ExcludedPhrase.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException