Interface MessageAnnotationOrBuilder (4.3.1)

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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.AnnotatedMessagePartOrBuilder>