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

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

class MajorClaimRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    class SegmentsEntry(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        KEY_FIELD_NUMBER: builtins.int
        VALUE_FIELD_NUMBER: builtins.int
        key: typing.Text
        @property
        def value(self) -> arg_services.mining.v1.adu_pb2.Segment: ...
        def __init__(self,
            *,
            key: typing.Text = ...,
            value: typing.Optional[arg_services.mining.v1.adu_pb2.Segment] = ...,
            ) -> None: ...
        def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
        def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...

    LANGUAGE_FIELD_NUMBER: builtins.int
    SEGMENTS_FIELD_NUMBER: builtins.int
    LIMIT_FIELD_NUMBER: builtins.int
    EXTRAS_FIELD_NUMBER: builtins.int
    language: typing.Text
    @property
    def segments(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, arg_services.mining.v1.adu_pb2.Segment]: ...
    limit: builtins.int
    @property
    def extras(self) -> google.protobuf.struct_pb2.Struct:
        """Implementation-specific information can be encoded here"""
        pass
    def __init__(self,
        *,
        language: typing.Text = ...,
        segments: typing.Optional[typing.Mapping[typing.Text, arg_services.mining.v1.adu_pb2.Segment]] = ...,
        limit: builtins.int = ...,
        extras: typing.Optional[google.protobuf.struct_pb2.Struct] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["extras",b"extras"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["extras",b"extras","language",b"language","limit",b"limit","segments",b"segments"]) -> None: ...
global___MajorClaimRequest = MajorClaimRequest

class MajorClaimResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    RANKING_FIELD_NUMBER: builtins.int
    EXTRAS_FIELD_NUMBER: builtins.int
    @property
    def ranking(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MajorClaimResult]: ...
    @property
    def extras(self) -> google.protobuf.struct_pb2.Struct:
        """Implementation-specific information can be encoded here"""
        pass
    def __init__(self,
        *,
        ranking: typing.Optional[typing.Iterable[global___MajorClaimResult]] = ...,
        extras: typing.Optional[google.protobuf.struct_pb2.Struct] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["extras",b"extras"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["extras",b"extras","ranking",b"ranking"]) -> None: ...
global___MajorClaimResponse = MajorClaimResponse

class MajorClaimResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ID_FIELD_NUMBER: builtins.int
    PROBABILITY_FIELD_NUMBER: builtins.int
    id: typing.Text
    probability: builtins.float
    def __init__(self,
        *,
        id: typing.Text = ...,
        probability: builtins.float = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["id",b"id","probability",b"probability"]) -> None: ...
global___MajorClaimResult = MajorClaimResult
