"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import arg_services.mining.v1.entailment_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 EntailmentsRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    LANGUAGE_FIELD_NUMBER: builtins.int
    ENTAILMENTS_FIELD_NUMBER: builtins.int
    EXTRAS_FIELD_NUMBER: builtins.int
    language: typing.Text
    @property
    def entailments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Entailment]: ...
    @property
    def extras(self) -> google.protobuf.struct_pb2.Struct:
        """Implementation-specific information can be encoded here"""
        pass
    def __init__(self,
        *,
        language: typing.Text = ...,
        entailments: typing.Optional[typing.Iterable[global___Entailment]] = ...,
        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["entailments",b"entailments","extras",b"extras","language",b"language"]) -> None: ...
global___EntailmentsRequest = EntailmentsRequest

class EntailmentsResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    RESULTS_FIELD_NUMBER: builtins.int
    EXTRAS_FIELD_NUMBER: builtins.int
    @property
    def results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EntailmentResult]: ...
    @property
    def extras(self) -> google.protobuf.struct_pb2.Struct:
        """Implementation-specific information can be encoded here"""
        pass
    def __init__(self,
        *,
        results: typing.Optional[typing.Iterable[global___EntailmentResult]] = ...,
        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","results",b"results"]) -> None: ...
global___EntailmentsResponse = EntailmentsResponse

class Entailment(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    PREMISE_FIELD_NUMBER: builtins.int
    CLAIM_FIELD_NUMBER: builtins.int
    TYPE_FIELD_NUMBER: builtins.int
    premise: typing.Text
    claim: typing.Text
    type: arg_services.mining.v1.entailment_pb2.EntailmentType.ValueType
    def __init__(self,
        *,
        premise: typing.Text = ...,
        claim: typing.Text = ...,
        type: arg_services.mining.v1.entailment_pb2.EntailmentType.ValueType = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["claim",b"claim","premise",b"premise","type",b"type"]) -> None: ...
global___Entailment = Entailment

class EntailmentResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    class SimilaritiesEntry(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        KEY_FIELD_NUMBER: builtins.int
        VALUE_FIELD_NUMBER: builtins.int
        key: typing.Text
        value: builtins.float
        def __init__(self,
            *,
            key: typing.Text = ...,
            value: builtins.float = ...,
            ) -> None: ...
        def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...

    SIMILARITIES_FIELD_NUMBER: builtins.int
    KEYWORDS_PREMISE_FIELD_NUMBER: builtins.int
    KEYWORDS_CLAIM_FIELD_NUMBER: builtins.int
    @property
    def similarities(self) -> google.protobuf.internal.containers.ScalarMap[typing.Text, builtins.float]: ...
    @property
    def keywords_premise(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ...
    @property
    def keywords_claim(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]:
        """SurrogateClassification surrogates = 4;"""
        pass
    def __init__(self,
        *,
        similarities: typing.Optional[typing.Mapping[typing.Text, builtins.float]] = ...,
        keywords_premise: typing.Optional[typing.Iterable[builtins.bool]] = ...,
        keywords_claim: typing.Optional[typing.Iterable[builtins.bool]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["keywords_claim",b"keywords_claim","keywords_premise",b"keywords_premise","similarities",b"similarities"]) -> None: ...
global___EntailmentResult = EntailmentResult
