"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""

import builtins
import google.protobuf.descriptor
import google.protobuf.message
import sentry_protos.snuba.v1.endpoint_trace_item_table_pb2
import typing

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing.final
class CreateTraceItemTableSubscriptionRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    TABLE_REQUEST_FIELD_NUMBER: builtins.int
    PROJECT_ID_FIELD_NUMBER: builtins.int
    TIME_WINDOW_FIELD_NUMBER: builtins.int
    RESOLUTION_FIELD_NUMBER: builtins.int
    project_id: builtins.int
    time_window: builtins.int
    resolution: builtins.int
    @property
    def table_request(self) -> sentry_protos.snuba.v1.endpoint_trace_item_table_pb2.TraceItemTableRequest: ...
    def __init__(
        self,
        *,
        table_request: sentry_protos.snuba.v1.endpoint_trace_item_table_pb2.TraceItemTableRequest | None = ...,
        project_id: builtins.int = ...,
        time_window: builtins.int = ...,
        resolution: builtins.int = ...,
    ) -> None: ...
    def HasField(self, field_name: typing.Literal["table_request", b"table_request"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["project_id", b"project_id", "resolution", b"resolution", "table_request", b"table_request", "time_window", b"time_window"]) -> None: ...

global___CreateTraceItemTableSubscriptionRequest = CreateTraceItemTableSubscriptionRequest

@typing.final
class CreateTraceItemTableSubscriptionResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    SUBSCRIPTION_ID_FIELD_NUMBER: builtins.int
    subscription_id: builtins.str
    def __init__(
        self,
        *,
        subscription_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["subscription_id", b"subscription_id"]) -> None: ...

global___CreateTraceItemTableSubscriptionResponse = CreateTraceItemTableSubscriptionResponse
