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 Type
    Method
    Description
    boolean
    Indicates whether the text message contains entities.
    getParts(int index)
    The collection of annotated message parts ordered by their position in the message.
    int
    The 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.
    The collection of annotated message parts ordered by their position in the message.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      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;
    • 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

      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;
    • getContainEntities

      boolean getContainEntities()
       Indicates whether the text message contains entities.
       
      bool contain_entities = 2;
      Returns:
      The containEntities.