"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
*!
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)

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

    http://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.
"""

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
import builtins as _builtins
import sys
import typing as _typing

if sys.version_info >= (3, 10):
    from typing import TypeAlias as _TypeAlias
else:
    from typing_extensions import TypeAlias as _TypeAlias

DESCRIPTOR: _descriptor.FileDescriptor

class _GapSize:
    ValueType = _typing.NewType("ValueType", _builtins.int)
    V: _TypeAlias = ValueType  # noqa: Y015

class _GapSizeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_GapSize.ValueType], _builtins.type):
    DESCRIPTOR: _descriptor.EnumDescriptor
    GAP_UNDEFINED: _GapSize.ValueType  # 0
    SMALL: _GapSize.ValueType  # 1
    MEDIUM: _GapSize.ValueType  # 2
    LARGE: _GapSize.ValueType  # 3
    NONE: _GapSize.ValueType  # 4
    XXSMALL: _GapSize.ValueType  # 5
    XSMALL: _GapSize.ValueType  # 6
    XLARGE: _GapSize.ValueType  # 7
    XXLARGE: _GapSize.ValueType  # 8

class GapSize(_GapSize, metaclass=_GapSizeEnumTypeWrapper): ...

GAP_UNDEFINED: GapSize.ValueType  # 0
SMALL: GapSize.ValueType  # 1
MEDIUM: GapSize.ValueType  # 2
LARGE: GapSize.ValueType  # 3
NONE: GapSize.ValueType  # 4
XXSMALL: GapSize.ValueType  # 5
XSMALL: GapSize.ValueType  # 6
XLARGE: GapSize.ValueType  # 7
XXLARGE: GapSize.ValueType  # 8
Global___GapSize: _TypeAlias = GapSize  # noqa: Y015

@_typing.final
class GapConfig(_message.Message):
    DESCRIPTOR: _descriptor.Descriptor

    GAP_SIZE_FIELD_NUMBER: _builtins.int
    gap_size: Global___GapSize.ValueType
    def __init__(
        self,
        *,
        gap_size: Global___GapSize.ValueType = ...,
    ) -> None: ...
    _HasFieldArgType: _TypeAlias = _typing.Literal["gap_size", b"gap_size", "gap_spec", b"gap_spec"]  # noqa: Y015
    def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["gap_size", b"gap_size", "gap_spec", b"gap_spec"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
    _WhichOneofReturnType_gap_spec: _TypeAlias = _typing.Literal["gap_size"]  # noqa: Y015
    _WhichOneofArgType_gap_spec: _TypeAlias = _typing.Literal["gap_spec", b"gap_spec"]  # noqa: Y015
    def WhichOneof(self, oneof_group: _WhichOneofArgType_gap_spec) -> _WhichOneofReturnType_gap_spec | None: ...

Global___GapConfig: _TypeAlias = GapConfig  # noqa: Y015
