/*
 * 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/datacatalog/v1beta1/schema.proto

package com.google.cloud.datacatalog.v1beta1;

public interface ColumnSchemaOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.ColumnSchema)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. Name of the column.
   * </pre>
   *
   * <code>string column = 6 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The column.
   */
  java.lang.String getColumn();
  /**
   *
   *
   * <pre>
   * Required. Name of the column.
   * </pre>
   *
   * <code>string column = 6 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for column.
   */
  com.google.protobuf.ByteString getColumnBytes();

  /**
   *
   *
   * <pre>
   * Required. Type of the column.
   * </pre>
   *
   * <code>string type = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The type.
   */
  java.lang.String getType();
  /**
   *
   *
   * <pre>
   * Required. Type of the column.
   * </pre>
   *
   * <code>string type = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for type.
   */
  com.google.protobuf.ByteString getTypeBytes();

  /**
   *
   *
   * <pre>
   * Optional. Description of the column. Default value is an empty string.
   * </pre>
   *
   * <code>string description = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * Optional. Description of the column. Default value is an empty string.
   * </pre>
   *
   * <code>string description = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   *
   *
   * <pre>
   * Optional. A column's mode indicates whether the values in this column are
   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
   * supported. Default mode is `NULLABLE`.
   * </pre>
   *
   * <code>string mode = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The mode.
   */
  java.lang.String getMode();
  /**
   *
   *
   * <pre>
   * Optional. A column's mode indicates whether the values in this column are
   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
   * supported. Default mode is `NULLABLE`.
   * </pre>
   *
   * <code>string mode = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for mode.
   */
  com.google.protobuf.ByteString getModeBytes();

  /**
   *
   *
   * <pre>
   * Optional. Schema of sub-columns. A column can have zero or more
   * sub-columns.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.util.List<com.google.cloud.datacatalog.v1beta1.ColumnSchema> getSubcolumnsList();
  /**
   *
   *
   * <pre>
   * Optional. Schema of sub-columns. A column can have zero or more
   * sub-columns.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index);
  /**
   *
   *
   * <pre>
   * Optional. Schema of sub-columns. A column can have zero or more
   * sub-columns.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  int getSubcolumnsCount();
  /**
   *
   *
   * <pre>
   * Optional. Schema of sub-columns. A column can have zero or more
   * sub-columns.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.util.List<? extends com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder>
      getSubcolumnsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Optional. Schema of sub-columns. A column can have zero or more
   * sub-columns.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.datacatalog.v1beta1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index);
}
