Interface MessageAnnotationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MessageAnnotation, MessageAnnotation.Builder

    public interface MessageAnnotationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getContainEntities()
      Indicates whether the text message contains entities.
      AnnotatedMessagePart getParts​(int index)
      The collection of annotated message parts ordered by their position in the message.
      int getPartsCount()
      The collection of annotated message parts ordered by their position in the message.
      List<AnnotatedMessagePart> getPartsList()
      The collection of annotated message parts ordered by their position in the message.
      AnnotatedMessagePartOrBuilder getPartsOrBuilder​(int index)
      The collection of annotated message parts ordered by their position in the message.
      List<? extends AnnotatedMessagePartOrBuilder> getPartsOrBuilderList()
      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 Detail

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