Package com.google.cloud.dialogflow.v2
Interface MessageAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MessageAnnotation,MessageAnnotation.Builder
@Generated
public interface MessageAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the text message contains entities.getParts(int index) The collection of annotated message parts ordered by their position in the message.intThe collection of annotated message parts ordered by their position in the message.The collection of annotated message parts ordered by their position in the message.getPartsOrBuilder(int index) The collection of annotated message parts ordered by their position in the message.List<? extends AnnotatedMessagePartOrBuilder>The collection of annotated message parts ordered by their position in the message.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPartsList
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; -
getParts
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; -
getPartsCount
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; -
getPartsOrBuilderList
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; -
getPartsOrBuilder
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; -
getContainEntities
boolean getContainEntities()Indicates whether the text message contains entities.
bool contain_entities = 2;- Returns:
- The containEntities.
-