/*
 * 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/partition.proto

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

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

  /**
   *
   *
   * <pre>
   * Optional. Name of the SerDe.
   * The maximum length is 256 characters.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The name.
   */
  java.lang.String getName();

  /**
   *
   *
   * <pre>
   * Optional. Name of the SerDe.
   * The maximum length is 256 characters.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Required. Specifies a fully-qualified class name of the serialization
   * library that is responsible for the translation of data between table
   * representation and the underlying low-level input and output format
   * structures. The maximum length is 256 characters.
   * </pre>
   *
   * <code>string serialization_library = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The serializationLibrary.
   */
  java.lang.String getSerializationLibrary();

  /**
   *
   *
   * <pre>
   * Required. Specifies a fully-qualified class name of the serialization
   * library that is responsible for the translation of data between table
   * representation and the underlying low-level input and output format
   * structures. The maximum length is 256 characters.
   * </pre>
   *
   * <code>string serialization_library = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for serializationLibrary.
   */
  com.google.protobuf.ByteString getSerializationLibraryBytes();

  /**
   *
   *
   * <pre>
   * Optional. Key-value pairs that define the initialization parameters for the
   * serialization library.
   * Maximum size 10 Kib.
   * </pre>
   *
   * <code>map&lt;string, string&gt; parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  int getParametersCount();

  /**
   *
   *
   * <pre>
   * Optional. Key-value pairs that define the initialization parameters for the
   * serialization library.
   * Maximum size 10 Kib.
   * </pre>
   *
   * <code>map&lt;string, string&gt; parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  boolean containsParameters(java.lang.String key);

  /** Use {@link #getParametersMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getParameters();

  /**
   *
   *
   * <pre>
   * Optional. Key-value pairs that define the initialization parameters for the
   * serialization library.
   * Maximum size 10 Kib.
   * </pre>
   *
   * <code>map&lt;string, string&gt; parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.util.Map<java.lang.String, java.lang.String> getParametersMap();

  /**
   *
   *
   * <pre>
   * Optional. Key-value pairs that define the initialization parameters for the
   * serialization library.
   * Maximum size 10 Kib.
   * </pre>
   *
   * <code>map&lt;string, string&gt; parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  /* nullable */
  java.lang.String getParametersOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue);

  /**
   *
   *
   * <pre>
   * Optional. Key-value pairs that define the initialization parameters for the
   * serialization library.
   * Maximum size 10 Kib.
   * </pre>
   *
   * <code>map&lt;string, string&gt; parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.lang.String getParametersOrThrow(java.lang.String key);
}
