Interface MessageAnnotationOrBuilder (4.30.0)

public interface MessageAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainEntities()

public abstract boolean getContainEntities()

Indicates whether the text message contains entities.

bool contain_entities = 2;

Returns
Type Description
boolean

The containEntities.

getParts(int index)

public abstract AnnotatedMessagePart getParts(int index)

The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].

repeated .google.cloud.dialogflow.v2.AnnotatedMessagePart parts = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotatedMessagePart

getPartsCount()

public abstract int getPartsCount()

The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].

repeated .google.cloud.dialogflow.v2.AnnotatedMessagePart parts = 1;

Returns
Type Description
int

getPartsList()

public abstract List<AnnotatedMessagePart> getPartsList()

The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].

repeated .google.cloud.dialogflow.v2.AnnotatedMessagePart parts = 1;

Returns
Type Description
List<AnnotatedMessagePart>

getPartsOrBuilder(int index)

public abstract AnnotatedMessagePartOrBuilder getPartsOrBuilder(int index)

The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].

repeated .google.cloud.dialogflow.v2.AnnotatedMessagePart parts = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotatedMessagePartOrBuilder

getPartsOrBuilderList()

public abstract List<? extends AnnotatedMessagePartOrBuilder> getPartsOrBuilderList()

The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].

repeated .google.cloud.dialogflow.v2.AnnotatedMessagePart parts = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.AnnotatedMessagePartOrBuilder>