/*
 * 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: schema/google/showcase/v1beta1/echo.proto
// Protobuf Java Version: 4.33.2

package com.google.showcase.v1beta1;

@com.google.protobuf.Generated
public interface EchoRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.showcase.v1beta1.EchoRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The content to be echoed by the server.
   * </pre>
   *
   * <code>string content = 1;</code>
   *
   * @return Whether the content field is set.
   */
  boolean hasContent();

  /**
   *
   *
   * <pre>
   * The content to be echoed by the server.
   * </pre>
   *
   * <code>string content = 1;</code>
   *
   * @return The content.
   */
  java.lang.String getContent();

  /**
   *
   *
   * <pre>
   * The content to be echoed by the server.
   * </pre>
   *
   * <code>string content = 1;</code>
   *
   * @return The bytes for content.
   */
  com.google.protobuf.ByteString getContentBytes();

  /**
   *
   *
   * <pre>
   * The error to be thrown by the server.
   * </pre>
   *
   * <code>.google.rpc.Status error = 2;</code>
   *
   * @return Whether the error field is set.
   */
  boolean hasError();

  /**
   *
   *
   * <pre>
   * The error to be thrown by the server.
   * </pre>
   *
   * <code>.google.rpc.Status error = 2;</code>
   *
   * @return The error.
   */
  com.google.rpc.Status getError();

  /**
   *
   *
   * <pre>
   * The error to be thrown by the server.
   * </pre>
   *
   * <code>.google.rpc.Status error = 2;</code>
   */
  com.google.rpc.StatusOrBuilder getErrorOrBuilder();

  /**
   *
   *
   * <pre>
   * The severity to be echoed by the server.
   * </pre>
   *
   * <code>.google.showcase.v1beta1.Severity severity = 3;</code>
   *
   * @return The enum numeric value on the wire for severity.
   */
  int getSeverityValue();

  /**
   *
   *
   * <pre>
   * The severity to be echoed by the server.
   * </pre>
   *
   * <code>.google.showcase.v1beta1.Severity severity = 3;</code>
   *
   * @return The severity.
   */
  com.google.showcase.v1beta1.Severity getSeverity();

  /**
   *
   *
   * <pre>
   * Optional. This field can be set to test the routing annotation on the Echo method.
   * </pre>
   *
   * <code>string header = 4;</code>
   *
   * @return The header.
   */
  java.lang.String getHeader();

  /**
   *
   *
   * <pre>
   * Optional. This field can be set to test the routing annotation on the Echo method.
   * </pre>
   *
   * <code>string header = 4;</code>
   *
   * @return The bytes for header.
   */
  com.google.protobuf.ByteString getHeaderBytes();

  /**
   *
   *
   * <pre>
   * Optional. This field can be set to test the routing annotation on the Echo method.
   * </pre>
   *
   * <code>string other_header = 5;</code>
   *
   * @return The otherHeader.
   */
  java.lang.String getOtherHeader();

  /**
   *
   *
   * <pre>
   * Optional. This field can be set to test the routing annotation on the Echo method.
   * </pre>
   *
   * <code>string other_header = 5;</code>
   *
   * @return The bytes for otherHeader.
   */
  com.google.protobuf.ByteString getOtherHeaderBytes();

  /**
   *
   *
   * <pre>
   * To facilitate testing of https://google.aip.dev/client-libraries/4235
   * </pre>
   *
   * <code>string request_id = 7 [(.google.api.field_info) = { ... }</code>
   *
   * @return The requestId.
   */
  java.lang.String getRequestId();

  /**
   *
   *
   * <pre>
   * To facilitate testing of https://google.aip.dev/client-libraries/4235
   * </pre>
   *
   * <code>string request_id = 7 [(.google.api.field_info) = { ... }</code>
   *
   * @return The bytes for requestId.
   */
  com.google.protobuf.ByteString getRequestIdBytes();

  /**
   *
   *
   * <pre>
   * To facilitate testing of https://google.aip.dev/client-libraries/4235
   * </pre>
   *
   * <code>optional string other_request_id = 8 [(.google.api.field_info) = { ... }</code>
   *
   * @return Whether the otherRequestId field is set.
   */
  boolean hasOtherRequestId();

  /**
   *
   *
   * <pre>
   * To facilitate testing of https://google.aip.dev/client-libraries/4235
   * </pre>
   *
   * <code>optional string other_request_id = 8 [(.google.api.field_info) = { ... }</code>
   *
   * @return The otherRequestId.
   */
  java.lang.String getOtherRequestId();

  /**
   *
   *
   * <pre>
   * To facilitate testing of https://google.aip.dev/client-libraries/4235
   * </pre>
   *
   * <code>optional string other_request_id = 8 [(.google.api.field_info) = { ... }</code>
   *
   * @return The bytes for otherRequestId.
   */
  com.google.protobuf.ByteString getOtherRequestIdBytes();

  com.google.showcase.v1beta1.EchoRequest.ResponseCase getResponseCase();
}
