/*
 * Copyright 2026 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!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/apps/card/v1/card.proto
// Protobuf Java Version: 4.33.2

package com.google.apps.card.v1;

@com.google.protobuf.Generated
public interface TextParagraphOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.apps.card.v1.TextParagraph)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The text that's shown in the widget.
   * </pre>
   *
   * <code>string text = 1;</code>
   *
   * @return The text.
   */
  java.lang.String getText();

  /**
   *
   *
   * <pre>
   * The text that's shown in the widget.
   * </pre>
   *
   * <code>string text = 1;</code>
   *
   * @return The bytes for text.
   */
  com.google.protobuf.ByteString getTextBytes();

  /**
   *
   *
   * <pre>
   * The maximum number of lines of text that are displayed in the widget. If
   * the text exceeds the specified maximum number of lines, the excess
   * content is concealed behind a **show more** button. If the text is equal or
   * shorter than the specified maximum number of lines, a **show more** button
   * isn't displayed.
   *
   * The default value is 0, in which case
   * all context is displayed. Negative values are ignored.
   * </pre>
   *
   * <code>int32 max_lines = 2;</code>
   *
   * @return The maxLines.
   */
  int getMaxLines();

  /**
   *
   *
   * <pre>
   * The syntax of the text. If not set, the text is rendered as HTML.
   *
   * [Google Chat apps](https://developers.google.com/workspace/chat):
   * </pre>
   *
   * <code>.google.apps.card.v1.TextParagraph.TextSyntax text_syntax = 4;</code>
   *
   * @return The enum numeric value on the wire for textSyntax.
   */
  int getTextSyntaxValue();

  /**
   *
   *
   * <pre>
   * The syntax of the text. If not set, the text is rendered as HTML.
   *
   * [Google Chat apps](https://developers.google.com/workspace/chat):
   * </pre>
   *
   * <code>.google.apps.card.v1.TextParagraph.TextSyntax text_syntax = 4;</code>
   *
   * @return The textSyntax.
   */
  com.google.apps.card.v1.TextParagraph.TextSyntax getTextSyntax();
}
