/*
 * Copyright 2025 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/bigquery/storage/v1beta/metastore_partition.proto

// Protobuf Java Version: 3.25.8
package com.google.cloud.bigquery.storage.v1beta;

public interface BatchSizeTooLargeErrorOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta.BatchSizeTooLargeError)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The maximum number of items that are supported in a single batch. This is
   * returned as a hint to the client to adjust the batch size.
   * </pre>
   *
   * <code>int64 max_batch_size = 1;</code>
   *
   * @return The maxBatchSize.
   */
  long getMaxBatchSize();

  /**
   *
   *
   * <pre>
   * Optional. The error message that is returned to the client.
   * </pre>
   *
   * <code>string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The errorMessage.
   */
  java.lang.String getErrorMessage();

  /**
   *
   *
   * <pre>
   * Optional. The error message that is returned to the client.
   * </pre>
   *
   * <code>string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for errorMessage.
   */
  com.google.protobuf.ByteString getErrorMessageBytes();
}
