"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

class _Granularity:
    ValueType = typing.NewType('ValueType', builtins.int)
    V: typing_extensions.TypeAlias = ValueType
class _GranularityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Granularity.ValueType], builtins.type):
    DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
    GRANULARITY_UNSPECIFIED: _Granularity.ValueType  # 0
    GRANULARITY_SENTENCE: _Granularity.ValueType  # 1
    GRANULARITY_SUBSENTENCE: _Granularity.ValueType  # 2
    GRANULARITY_PARAGRAPH: _Granularity.ValueType  # 3
class Granularity(_Granularity, metaclass=_GranularityEnumTypeWrapper):
    pass

GRANULARITY_UNSPECIFIED: Granularity.ValueType  # 0
GRANULARITY_SENTENCE: Granularity.ValueType  # 1
GRANULARITY_SUBSENTENCE: Granularity.ValueType  # 2
GRANULARITY_PARAGRAPH: Granularity.ValueType  # 3
global___Granularity = Granularity


class _Classifier:
    ValueType = typing.NewType('ValueType', builtins.int)
    V: typing_extensions.TypeAlias = ValueType
class _ClassifierEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Classifier.ValueType], builtins.type):
    DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
    CLASSIFIER_UNSPECIFIED: _Classifier.ValueType  # 0
    CLASSIFIER_TWO_WAY: _Classifier.ValueType  # 1
    CLASSIFIER_THREE_WAY: _Classifier.ValueType  # 2
    CLASSIFIER_SEQUENTIAL: _Classifier.ValueType  # 3
class Classifier(_Classifier, metaclass=_ClassifierEnumTypeWrapper):
    pass

CLASSIFIER_UNSPECIFIED: Classifier.ValueType  # 0
CLASSIFIER_TWO_WAY: Classifier.ValueType  # 1
CLASSIFIER_THREE_WAY: Classifier.ValueType  # 2
CLASSIFIER_SEQUENTIAL: Classifier.ValueType  # 3
global___Classifier = Classifier


class SegmentationRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    TEXT_FIELD_NUMBER: builtins.int
    GRANULARITY_FIELD_NUMBER: builtins.int
    text: typing.Text
    granularity: global___Granularity.ValueType
    def __init__(self,
        *,
        text: typing.Text = ...,
        granularity: global___Granularity.ValueType = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["granularity",b"granularity","text",b"text"]) -> None: ...
global___SegmentationRequest = SegmentationRequest

class SegmentationResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    SEGMENTS_FIELD_NUMBER: builtins.int
    @property
    def segments(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
    def __init__(self,
        *,
        segments: typing.Optional[typing.Iterable[typing.Text]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["segments",b"segments"]) -> None: ...
global___SegmentationResponse = SegmentationResponse

class ClassificationRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    SEGMENTS_FIELD_NUMBER: builtins.int
    CLASSIFIER_FIELD_NUMBER: builtins.int
    @property
    def segments(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
    classifier: global___Classifier.ValueType
    def __init__(self,
        *,
        segments: typing.Optional[typing.Iterable[typing.Text]] = ...,
        classifier: global___Classifier.ValueType = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["classifier",b"classifier","segments",b"segments"]) -> None: ...
global___ClassificationRequest = ClassificationRequest

class ClassificationResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    SEGMENTS_FIELD_NUMBER: builtins.int
    @property
    def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ClassifiedSegment]: ...
    def __init__(self,
        *,
        segments: typing.Optional[typing.Iterable[global___ClassifiedSegment]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["segments",b"segments"]) -> None: ...
global___ClassificationResponse = ClassificationResponse

class ClassifiedSegment(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    TEXT_FIELD_NUMBER: builtins.int
    ADU_FIELD_NUMBER: builtins.int
    CLAIM_FIELD_NUMBER: builtins.int
    PREMISE_FIELD_NUMBER: builtins.int
    text: typing.Text
    adu: builtins.bool
    claim: builtins.bool
    premise: builtins.bool
    def __init__(self,
        *,
        text: typing.Text = ...,
        adu: builtins.bool = ...,
        claim: builtins.bool = ...,
        premise: builtins.bool = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["adu",b"adu","claim",b"claim","premise",b"premise","text",b"text"]) -> None: ...
global___ClassifiedSegment = ClassifiedSegment
