Interface MessageAnnotationOrBuilder (4.15.0)

public interface MessageAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainEntities()

public abstract boolean getContainEntities()

Required. 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)

Optional. 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.v2beta1.AnnotatedMessagePart parts = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotatedMessagePart

getPartsCount()

public abstract int getPartsCount()

Optional. 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.v2beta1.AnnotatedMessagePart parts = 1;

Returns
Type Description
int

getPartsList()

public abstract List<AnnotatedMessagePart> getPartsList()

Optional. 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.v2beta1.AnnotatedMessagePart parts = 1;

Returns
Type Description
List<AnnotatedMessagePart>

getPartsOrBuilder(int index)

public abstract AnnotatedMessagePartOrBuilder getPartsOrBuilder(int index)

Optional. 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.v2beta1.AnnotatedMessagePart parts = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotatedMessagePartOrBuilder

getPartsOrBuilderList()

public abstract List<? extends AnnotatedMessagePartOrBuilder> getPartsOrBuilderList()

Optional. 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.v2beta1.AnnotatedMessagePart parts = 1;

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