/*
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/v2beta1/participant.proto

package com.google.cloud.dialogflow.v2beta1;

public interface MessageAnnotationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.MessageAnnotation)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Optional. The collection of annotated message parts ordered by their
   * position in the message. You can recover the annotated message by
   * concatenating [AnnotatedMessagePart.text].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.AnnotatedMessagePart parts = 1;</code>
   */
  java.util.List<com.google.cloud.dialogflow.v2beta1.AnnotatedMessagePart> getPartsList();
  /**
   *
   *
   * <pre>
   * Optional. The collection of annotated message parts ordered by their
   * position in the message. You can recover the annotated message by
   * concatenating [AnnotatedMessagePart.text].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.AnnotatedMessagePart parts = 1;</code>
   */
  com.google.cloud.dialogflow.v2beta1.AnnotatedMessagePart getParts(int index);
  /**
   *
   *
   * <pre>
   * Optional. The collection of annotated message parts ordered by their
   * position in the message. You can recover the annotated message by
   * concatenating [AnnotatedMessagePart.text].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.AnnotatedMessagePart parts = 1;</code>
   */
  int getPartsCount();
  /**
   *
   *
   * <pre>
   * Optional. The collection of annotated message parts ordered by their
   * position in the message. You can recover the annotated message by
   * concatenating [AnnotatedMessagePart.text].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.AnnotatedMessagePart parts = 1;</code>
   */
  java.util.List<? extends com.google.cloud.dialogflow.v2beta1.AnnotatedMessagePartOrBuilder>
      getPartsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Optional. The collection of annotated message parts ordered by their
   * position in the message. You can recover the annotated message by
   * concatenating [AnnotatedMessagePart.text].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.AnnotatedMessagePart parts = 1;</code>
   */
  com.google.cloud.dialogflow.v2beta1.AnnotatedMessagePartOrBuilder getPartsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Required. Indicates whether the text message contains entities.
   * </pre>
   *
   * <code>bool contain_entities = 2;</code>
   *
   * @return The containEntities.
   */
  boolean getContainEntities();
}
