"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import collections.abc
from isolate.connections.grpc.definitions import common_pb2
import google.protobuf.descriptor
import google.protobuf.duration_pb2
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import google.protobuf.timestamp_pb2
from isolate.server.definitions import server_pb2
import sys
import typing

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

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

class _ApplicationAuthMode:
    ValueType = typing.NewType("ValueType", builtins.int)
    V: typing_extensions.TypeAlias = ValueType

class _ApplicationAuthModeEnumTypeWrapper(
    google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
        _ApplicationAuthMode.ValueType
    ],
    builtins.type,
):
    DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
    PRIVATE: _ApplicationAuthMode.ValueType  # 0
    PUBLIC: _ApplicationAuthMode.ValueType  # 1
    SHARED: _ApplicationAuthMode.ValueType  # 2

class ApplicationAuthMode(
    _ApplicationAuthMode, metaclass=_ApplicationAuthModeEnumTypeWrapper
): ...

PRIVATE: ApplicationAuthMode.ValueType  # 0
PUBLIC: ApplicationAuthMode.ValueType  # 1
SHARED: ApplicationAuthMode.ValueType  # 2
global___ApplicationAuthMode = ApplicationAuthMode

@typing_extensions.final
class HostedMap(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ENVIRONMENTS_FIELD_NUMBER: builtins.int
    MACHINE_REQUIREMENTS_FIELD_NUMBER: builtins.int
    FUNCTION_FIELD_NUMBER: builtins.int
    INPUTS_FIELD_NUMBER: builtins.int
    @property
    def environments(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        server_pb2.EnvironmentDefinition
    ]:
        """Environment definitions."""
    @property
    def machine_requirements(self) -> global___MachineRequirements:
        """Machine requirements"""
    @property
    def function(self) -> common_pb2.SerializedObject:
        """Function to run."""
    @property
    def inputs(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        common_pb2.SerializedObject
    ]:
        """Inputs to the function"""
    def __init__(
        self,
        *,
        environments: collections.abc.Iterable[server_pb2.EnvironmentDefinition]
        | None = ...,
        machine_requirements: global___MachineRequirements | None = ...,
        function: common_pb2.SerializedObject | None = ...,
        inputs: collections.abc.Iterable[common_pb2.SerializedObject] | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_machine_requirements",
            b"_machine_requirements",
            "function",
            b"function",
            "machine_requirements",
            b"machine_requirements",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_machine_requirements",
            b"_machine_requirements",
            "environments",
            b"environments",
            "function",
            b"function",
            "inputs",
            b"inputs",
            "machine_requirements",
            b"machine_requirements",
        ],
    ) -> None: ...
    def WhichOneof(
        self,
        oneof_group: typing_extensions.Literal[
            "_machine_requirements", b"_machine_requirements"
        ],
    ) -> typing_extensions.Literal["machine_requirements"] | None: ...

global___HostedMap = HostedMap

@typing_extensions.final
class HostedRun(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ENVIRONMENTS_FIELD_NUMBER: builtins.int
    MACHINE_REQUIREMENTS_FIELD_NUMBER: builtins.int
    FUNCTION_FIELD_NUMBER: builtins.int
    SETUP_FUNC_FIELD_NUMBER: builtins.int
    @property
    def environments(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        server_pb2.EnvironmentDefinition
    ]:
        """Environment definitions."""
    @property
    def machine_requirements(self) -> global___MachineRequirements:
        """Machine requirements"""
    @property
    def function(self) -> common_pb2.SerializedObject:
        """Function to run."""
    @property
    def setup_func(self) -> common_pb2.SerializedObject:
        """Optional setup function to pass as the first argument to the function."""
    def __init__(
        self,
        *,
        environments: collections.abc.Iterable[server_pb2.EnvironmentDefinition]
        | None = ...,
        machine_requirements: global___MachineRequirements | None = ...,
        function: common_pb2.SerializedObject | None = ...,
        setup_func: common_pb2.SerializedObject | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_machine_requirements",
            b"_machine_requirements",
            "_setup_func",
            b"_setup_func",
            "function",
            b"function",
            "machine_requirements",
            b"machine_requirements",
            "setup_func",
            b"setup_func",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_machine_requirements",
            b"_machine_requirements",
            "_setup_func",
            b"_setup_func",
            "environments",
            b"environments",
            "function",
            b"function",
            "machine_requirements",
            b"machine_requirements",
            "setup_func",
            b"setup_func",
        ],
    ) -> None: ...
    @typing.overload
    def WhichOneof(
        self,
        oneof_group: typing_extensions.Literal[
            "_machine_requirements", b"_machine_requirements"
        ],
    ) -> typing_extensions.Literal["machine_requirements"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_setup_func", b"_setup_func"]
    ) -> typing_extensions.Literal["setup_func"] | None: ...

global___HostedRun = HostedRun

@typing_extensions.final
class HostedRunCron(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ENVIRONMENTS_FIELD_NUMBER: builtins.int
    MACHINE_REQUIREMENTS_FIELD_NUMBER: builtins.int
    FUNCTION_FIELD_NUMBER: builtins.int
    CRON_FIELD_NUMBER: builtins.int
    @property
    def environments(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        server_pb2.EnvironmentDefinition
    ]:
        """Environment definitions."""
    @property
    def machine_requirements(self) -> global___MachineRequirements:
        """Machine requirements"""
    @property
    def function(self) -> common_pb2.SerializedObject:
        """Function to run."""
    cron: builtins.str
    """cron string to represent the run schedule"""
    def __init__(
        self,
        *,
        environments: collections.abc.Iterable[server_pb2.EnvironmentDefinition]
        | None = ...,
        machine_requirements: global___MachineRequirements | None = ...,
        function: common_pb2.SerializedObject | None = ...,
        cron: builtins.str = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_machine_requirements",
            b"_machine_requirements",
            "function",
            b"function",
            "machine_requirements",
            b"machine_requirements",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_machine_requirements",
            b"_machine_requirements",
            "cron",
            b"cron",
            "environments",
            b"environments",
            "function",
            b"function",
            "machine_requirements",
            b"machine_requirements",
        ],
    ) -> None: ...
    def WhichOneof(
        self,
        oneof_group: typing_extensions.Literal[
            "_machine_requirements", b"_machine_requirements"
        ],
    ) -> typing_extensions.Literal["machine_requirements"] | None: ...

global___HostedRunCron = HostedRunCron

@typing_extensions.final
class CreateUserKeyRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    class _Scope:
        ValueType = typing.NewType("ValueType", builtins.int)
        V: typing_extensions.TypeAlias = ValueType

    class _ScopeEnumTypeWrapper(
        google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
            CreateUserKeyRequest._Scope.ValueType
        ],
        builtins.type,
    ):  # noqa: F821
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        ADMIN: CreateUserKeyRequest._Scope.ValueType  # 0
        API: CreateUserKeyRequest._Scope.ValueType  # 1

    class Scope(_Scope, metaclass=_ScopeEnumTypeWrapper): ...
    ADMIN: CreateUserKeyRequest.Scope.ValueType  # 0
    API: CreateUserKeyRequest.Scope.ValueType  # 1

    SCOPE_FIELD_NUMBER: builtins.int
    ALIAS_FIELD_NUMBER: builtins.int
    scope: global___CreateUserKeyRequest.Scope.ValueType
    """privilege scope of the key"""
    alias: builtins.str
    """optional alias of the key"""
    def __init__(
        self,
        *,
        scope: global___CreateUserKeyRequest.Scope.ValueType = ...,
        alias: builtins.str | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal["_alias", b"_alias", "alias", b"alias"],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_alias", b"_alias", "alias", b"alias", "scope", b"scope"
        ],
    ) -> None: ...
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_alias", b"_alias"]
    ) -> typing_extensions.Literal["alias"] | None: ...

global___CreateUserKeyRequest = CreateUserKeyRequest

@typing_extensions.final
class CreateUserKeyResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    KEY_SECRET_FIELD_NUMBER: builtins.int
    KEY_ID_FIELD_NUMBER: builtins.int
    key_secret: builtins.str
    key_id: builtins.str
    def __init__(
        self,
        *,
        key_secret: builtins.str = ...,
        key_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "key_id", b"key_id", "key_secret", b"key_secret"
        ],
    ) -> None: ...

global___CreateUserKeyResponse = CreateUserKeyResponse

@typing_extensions.final
class ListUserKeysRequest(google.protobuf.message.Message):
    """Empty. For future use."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___ListUserKeysRequest = ListUserKeysRequest

@typing_extensions.final
class ListUserKeysResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    USER_KEYS_FIELD_NUMBER: builtins.int
    @property
    def user_keys(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        global___UserKeyInfo
    ]: ...
    def __init__(
        self,
        *,
        user_keys: collections.abc.Iterable[global___UserKeyInfo] | None = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["user_keys", b"user_keys"]
    ) -> None: ...

global___ListUserKeysResponse = ListUserKeysResponse

@typing_extensions.final
class RevokeUserKeyRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    KEY_ID_FIELD_NUMBER: builtins.int
    key_id: builtins.str
    def __init__(
        self,
        *,
        key_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["key_id", b"key_id"]
    ) -> None: ...

global___RevokeUserKeyRequest = RevokeUserKeyRequest

@typing_extensions.final
class RevokeUserKeyResponse(google.protobuf.message.Message):
    """Empty. For future use."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___RevokeUserKeyResponse = RevokeUserKeyResponse

@typing_extensions.final
class UserKeyInfo(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    KEY_ID_FIELD_NUMBER: builtins.int
    CREATED_AT_FIELD_NUMBER: builtins.int
    SCOPE_FIELD_NUMBER: builtins.int
    ALIAS_FIELD_NUMBER: builtins.int
    key_id: builtins.str
    @property
    def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    scope: global___CreateUserKeyRequest.Scope.ValueType
    alias: builtins.str
    def __init__(
        self,
        *,
        key_id: builtins.str = ...,
        created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        scope: global___CreateUserKeyRequest.Scope.ValueType = ...,
        alias: builtins.str = ...,
    ) -> None: ...
    def HasField(
        self, field_name: typing_extensions.Literal["created_at", b"created_at"]
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "alias",
            b"alias",
            "created_at",
            b"created_at",
            "key_id",
            b"key_id",
            "scope",
            b"scope",
        ],
    ) -> None: ...

global___UserKeyInfo = UserKeyInfo

@typing_extensions.final
class HostedRunResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    RUN_ID_FIELD_NUMBER: builtins.int
    STATUS_FIELD_NUMBER: builtins.int
    LOGS_FIELD_NUMBER: builtins.int
    RETURN_VALUE_FIELD_NUMBER: builtins.int
    run_id: builtins.str
    """Unique run id / token."""
    @property
    def status(self) -> global___HostedRunStatus:
        """Optionally the status of the current run (in terms of
        fal cloud).
        """
    @property
    def logs(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        common_pb2.Log
    ]:
        """The most recent logs from the run."""
    @property
    def return_value(self) -> common_pb2.SerializedObject:
        """The result of the run, if it is complete (indicated by
        status.is_complete).
        """
    def __init__(
        self,
        *,
        run_id: builtins.str = ...,
        status: global___HostedRunStatus | None = ...,
        logs: collections.abc.Iterable[common_pb2.Log] | None = ...,
        return_value: common_pb2.SerializedObject | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_return_value",
            b"_return_value",
            "_status",
            b"_status",
            "return_value",
            b"return_value",
            "status",
            b"status",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_return_value",
            b"_return_value",
            "_status",
            b"_status",
            "logs",
            b"logs",
            "return_value",
            b"return_value",
            "run_id",
            b"run_id",
            "status",
            b"status",
        ],
    ) -> None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_return_value", b"_return_value"]
    ) -> typing_extensions.Literal["return_value"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_status", b"_status"]
    ) -> typing_extensions.Literal["status"] | None: ...

global___HostedRunResult = HostedRunResult

@typing_extensions.final
class HostedRunStatus(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    class _State:
        ValueType = typing.NewType("ValueType", builtins.int)
        V: typing_extensions.TypeAlias = ValueType

    class _StateEnumTypeWrapper(
        google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
            HostedRunStatus._State.ValueType
        ],
        builtins.type,
    ):  # noqa: F821
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        IN_PROGRESS: HostedRunStatus._State.ValueType  # 0
        """The run is in progress."""
        SUCCESS: HostedRunStatus._State.ValueType  # 1
        """The run has completed successfully."""
        INTERNAL_FAILURE: HostedRunStatus._State.ValueType  # 2
        """The run has failed because of isolate.
        TODO: probably QUEUED, etc.
        """

    class State(_State, metaclass=_StateEnumTypeWrapper): ...
    IN_PROGRESS: HostedRunStatus.State.ValueType  # 0
    """The run is in progress."""
    SUCCESS: HostedRunStatus.State.ValueType  # 1
    """The run has completed successfully."""
    INTERNAL_FAILURE: HostedRunStatus.State.ValueType  # 2
    """The run has failed because of isolate.
    TODO: probably QUEUED, etc.
    """

    STATE_FIELD_NUMBER: builtins.int
    state: global___HostedRunStatus.State.ValueType
    """The state of the run."""
    def __init__(
        self,
        *,
        state: global___HostedRunStatus.State.ValueType = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["state", b"state"]
    ) -> None: ...

global___HostedRunStatus = HostedRunStatus

@typing_extensions.final
class MachineRequirements(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    MACHINE_TYPE_FIELD_NUMBER: builtins.int
    KEEP_ALIVE_FIELD_NUMBER: builtins.int
    BASE_IMAGE_FIELD_NUMBER: builtins.int
    EXPOSED_PORT_FIELD_NUMBER: builtins.int
    machine_type: builtins.str
    """Machine type. It is not an enum because we want to be able
    to dynamically add new machine types without regenerating
    both the client and the server. Validation is done at the
    server side.
    """
    keep_alive: builtins.int
    base_image: builtins.str
    exposed_port: builtins.int
    def __init__(
        self,
        *,
        machine_type: builtins.str = ...,
        keep_alive: builtins.int | None = ...,
        base_image: builtins.str | None = ...,
        exposed_port: builtins.int | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_base_image",
            b"_base_image",
            "_exposed_port",
            b"_exposed_port",
            "_keep_alive",
            b"_keep_alive",
            "base_image",
            b"base_image",
            "exposed_port",
            b"exposed_port",
            "keep_alive",
            b"keep_alive",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_base_image",
            b"_base_image",
            "_exposed_port",
            b"_exposed_port",
            "_keep_alive",
            b"_keep_alive",
            "base_image",
            b"base_image",
            "exposed_port",
            b"exposed_port",
            "keep_alive",
            b"keep_alive",
            "machine_type",
            b"machine_type",
        ],
    ) -> None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_base_image", b"_base_image"]
    ) -> typing_extensions.Literal["base_image"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_exposed_port", b"_exposed_port"]
    ) -> typing_extensions.Literal["exposed_port"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_keep_alive", b"_keep_alive"]
    ) -> typing_extensions.Literal["keep_alive"] | None: ...

global___MachineRequirements = MachineRequirements

@typing_extensions.final
class WorkerStatusListRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    START_TIME_FIELD_NUMBER: builtins.int
    END_TIME_FIELD_NUMBER: builtins.int
    USER_ID_FIELD_NUMBER: builtins.int
    MACHINE_TYPE_FIELD_NUMBER: builtins.int
    @property
    def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    @property
    def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    user_id: builtins.str
    machine_type: builtins.str
    def __init__(
        self,
        *,
        start_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        end_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        user_id: builtins.str | None = ...,
        machine_type: builtins.str | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_end_time",
            b"_end_time",
            "_machine_type",
            b"_machine_type",
            "_start_time",
            b"_start_time",
            "_user_id",
            b"_user_id",
            "end_time",
            b"end_time",
            "machine_type",
            b"machine_type",
            "start_time",
            b"start_time",
            "user_id",
            b"user_id",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_end_time",
            b"_end_time",
            "_machine_type",
            b"_machine_type",
            "_start_time",
            b"_start_time",
            "_user_id",
            b"_user_id",
            "end_time",
            b"end_time",
            "machine_type",
            b"machine_type",
            "start_time",
            b"start_time",
            "user_id",
            b"user_id",
        ],
    ) -> None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_end_time", b"_end_time"]
    ) -> typing_extensions.Literal["end_time"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_machine_type", b"_machine_type"]
    ) -> typing_extensions.Literal["machine_type"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_start_time", b"_start_time"]
    ) -> typing_extensions.Literal["start_time"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_user_id", b"_user_id"]
    ) -> typing_extensions.Literal["user_id"] | None: ...

global___WorkerStatusListRequest = WorkerStatusListRequest

@typing_extensions.final
class WorkerStatusListResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    WORKER_STATUS_FIELD_NUMBER: builtins.int
    @property
    def worker_status(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        global___WorkerStatus
    ]: ...
    def __init__(
        self,
        *,
        worker_status: collections.abc.Iterable[global___WorkerStatus] | None = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["worker_status", b"worker_status"]
    ) -> None: ...

global___WorkerStatusListResponse = WorkerStatusListResponse

@typing_extensions.final
class WorkerStatus(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    WORKER_ID_FIELD_NUMBER: builtins.int
    START_TIME_FIELD_NUMBER: builtins.int
    END_TIME_FIELD_NUMBER: builtins.int
    DURATION_FIELD_NUMBER: builtins.int
    USER_ID_FIELD_NUMBER: builtins.int
    MACHINE_TYPE_FIELD_NUMBER: builtins.int
    worker_id: builtins.str
    @property
    def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    @property
    def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    @property
    def duration(self) -> google.protobuf.duration_pb2.Duration: ...
    user_id: builtins.str
    machine_type: builtins.str
    def __init__(
        self,
        *,
        worker_id: builtins.str = ...,
        start_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        end_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        duration: google.protobuf.duration_pb2.Duration | None = ...,
        user_id: builtins.str = ...,
        machine_type: builtins.str = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "duration",
            b"duration",
            "end_time",
            b"end_time",
            "start_time",
            b"start_time",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "duration",
            b"duration",
            "end_time",
            b"end_time",
            "machine_type",
            b"machine_type",
            "start_time",
            b"start_time",
            "user_id",
            b"user_id",
            "worker_id",
            b"worker_id",
        ],
    ) -> None: ...

global___WorkerStatus = WorkerStatus

@typing_extensions.final
class RegisterApplicationRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ENVIRONMENTS_FIELD_NUMBER: builtins.int
    MACHINE_REQUIREMENTS_FIELD_NUMBER: builtins.int
    FUNCTION_FIELD_NUMBER: builtins.int
    SETUP_FUNC_FIELD_NUMBER: builtins.int
    APPLICATION_NAME_FIELD_NUMBER: builtins.int
    AUTH_MODE_FIELD_NUMBER: builtins.int
    MAX_CONCURRENCY_FIELD_NUMBER: builtins.int
    @property
    def environments(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        server_pb2.EnvironmentDefinition
    ]:
        """Environment definitions."""
    @property
    def machine_requirements(self) -> global___MachineRequirements:
        """Machine requirements"""
    @property
    def function(self) -> common_pb2.SerializedObject:
        """Function to run."""
    @property
    def setup_func(self) -> common_pb2.SerializedObject:
        """Optional setup function to pass as the first argument to the function."""
    application_name: builtins.str
    """Name of the application"""
    auth_mode: global___ApplicationAuthMode.ValueType
    """If application has alias: auth mode to use"""
    max_concurrency: builtins.int
    """Max concurrency in gateway"""
    def __init__(
        self,
        *,
        environments: collections.abc.Iterable[server_pb2.EnvironmentDefinition]
        | None = ...,
        machine_requirements: global___MachineRequirements | None = ...,
        function: common_pb2.SerializedObject | None = ...,
        setup_func: common_pb2.SerializedObject | None = ...,
        application_name: builtins.str | None = ...,
        auth_mode: global___ApplicationAuthMode.ValueType | None = ...,
        max_concurrency: builtins.int | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_application_name",
            b"_application_name",
            "_auth_mode",
            b"_auth_mode",
            "_machine_requirements",
            b"_machine_requirements",
            "_max_concurrency",
            b"_max_concurrency",
            "_setup_func",
            b"_setup_func",
            "application_name",
            b"application_name",
            "auth_mode",
            b"auth_mode",
            "function",
            b"function",
            "machine_requirements",
            b"machine_requirements",
            "max_concurrency",
            b"max_concurrency",
            "setup_func",
            b"setup_func",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_application_name",
            b"_application_name",
            "_auth_mode",
            b"_auth_mode",
            "_machine_requirements",
            b"_machine_requirements",
            "_max_concurrency",
            b"_max_concurrency",
            "_setup_func",
            b"_setup_func",
            "application_name",
            b"application_name",
            "auth_mode",
            b"auth_mode",
            "environments",
            b"environments",
            "function",
            b"function",
            "machine_requirements",
            b"machine_requirements",
            "max_concurrency",
            b"max_concurrency",
            "setup_func",
            b"setup_func",
        ],
    ) -> None: ...
    @typing.overload
    def WhichOneof(
        self,
        oneof_group: typing_extensions.Literal[
            "_application_name", b"_application_name"
        ],
    ) -> typing_extensions.Literal["application_name"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_auth_mode", b"_auth_mode"]
    ) -> typing_extensions.Literal["auth_mode"] | None: ...
    @typing.overload
    def WhichOneof(
        self,
        oneof_group: typing_extensions.Literal[
            "_machine_requirements", b"_machine_requirements"
        ],
    ) -> typing_extensions.Literal["machine_requirements"] | None: ...
    @typing.overload
    def WhichOneof(
        self,
        oneof_group: typing_extensions.Literal["_max_concurrency", b"_max_concurrency"],
    ) -> typing_extensions.Literal["max_concurrency"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_setup_func", b"_setup_func"]
    ) -> typing_extensions.Literal["setup_func"] | None: ...

global___RegisterApplicationRequest = RegisterApplicationRequest

@typing_extensions.final
class RegisterApplicationResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    LOGS_FIELD_NUMBER: builtins.int
    RESULT_FIELD_NUMBER: builtins.int
    @property
    def logs(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        common_pb2.Log
    ]: ...
    @property
    def result(self) -> global___RegisterApplicationResultType: ...
    def __init__(
        self,
        *,
        logs: collections.abc.Iterable[common_pb2.Log] | None = ...,
        result: global___RegisterApplicationResultType | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_result", b"_result", "result", b"result"
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_result", b"_result", "logs", b"logs", "result", b"result"
        ],
    ) -> None: ...
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_result", b"_result"]
    ) -> typing_extensions.Literal["result"] | None: ...

global___RegisterApplicationResult = RegisterApplicationResult

@typing_extensions.final
class RegisterApplicationResultType(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    APPLICATION_ID_FIELD_NUMBER: builtins.int
    application_id: builtins.str
    def __init__(
        self,
        *,
        application_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["application_id", b"application_id"]
    ) -> None: ...

global___RegisterApplicationResultType = RegisterApplicationResultType

@typing_extensions.final
class ListAliasesRequest(google.protobuf.message.Message):
    """Empty. For future use."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___ListAliasesRequest = ListAliasesRequest

@typing_extensions.final
class ListAliasesResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ALIASES_FIELD_NUMBER: builtins.int
    @property
    def aliases(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        global___AliasInfo
    ]: ...
    def __init__(
        self,
        *,
        aliases: collections.abc.Iterable[global___AliasInfo] | None = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["aliases", b"aliases"]
    ) -> None: ...

global___ListAliasesResult = ListAliasesResult

@typing_extensions.final
class AliasInfo(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ALIAS_FIELD_NUMBER: builtins.int
    REVISION_FIELD_NUMBER: builtins.int
    AUTH_MODE_FIELD_NUMBER: builtins.int
    MAX_CONCURRENCY_FIELD_NUMBER: builtins.int
    alias: builtins.str
    revision: builtins.str
    auth_mode: global___ApplicationAuthMode.ValueType
    max_concurrency: builtins.int
    def __init__(
        self,
        *,
        alias: builtins.str = ...,
        revision: builtins.str = ...,
        auth_mode: global___ApplicationAuthMode.ValueType = ...,
        max_concurrency: builtins.int = ...,
    ) -> None: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "alias",
            b"alias",
            "auth_mode",
            b"auth_mode",
            "max_concurrency",
            b"max_concurrency",
            "revision",
            b"revision",
        ],
    ) -> None: ...

global___AliasInfo = AliasInfo

@typing_extensions.final
class RegisterCronRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    APPLICATION_ID_FIELD_NUMBER: builtins.int
    CRON_FIELD_NUMBER: builtins.int
    application_id: builtins.str
    cron: builtins.str
    def __init__(
        self,
        *,
        application_id: builtins.str = ...,
        cron: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "application_id", b"application_id", "cron", b"cron"
        ],
    ) -> None: ...

global___RegisterCronRequest = RegisterCronRequest

@typing_extensions.final
class RegisterCronResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    RESULT_FIELD_NUMBER: builtins.int
    @property
    def result(self) -> global___RegisterCronResultType: ...
    def __init__(
        self,
        *,
        result: global___RegisterCronResultType | None = ...,
    ) -> None: ...
    def HasField(
        self, field_name: typing_extensions.Literal["result", b"result"]
    ) -> builtins.bool: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["result", b"result"]
    ) -> None: ...

global___RegisterCronResult = RegisterCronResult

@typing_extensions.final
class RegisterCronResultType(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CRON_ID_FIELD_NUMBER: builtins.int
    cron_id: builtins.str
    def __init__(
        self,
        *,
        cron_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["cron_id", b"cron_id"]
    ) -> None: ...

global___RegisterCronResultType = RegisterCronResultType

@typing_extensions.final
class CronResultType(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CRON_STRING_FIELD_NUMBER: builtins.int
    CRON_ID_FIELD_NUMBER: builtins.int
    NEXT_RUN_FIELD_NUMBER: builtins.int
    IS_ACTIVE_FIELD_NUMBER: builtins.int
    cron_string: builtins.str
    cron_id: builtins.str
    @property
    def next_run(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    is_active: builtins.bool
    def __init__(
        self,
        *,
        cron_string: builtins.str = ...,
        cron_id: builtins.str = ...,
        next_run: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        is_active: builtins.bool = ...,
    ) -> None: ...
    def HasField(
        self, field_name: typing_extensions.Literal["next_run", b"next_run"]
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "cron_id",
            b"cron_id",
            "cron_string",
            b"cron_string",
            "is_active",
            b"is_active",
            "next_run",
            b"next_run",
        ],
    ) -> None: ...

global___CronResultType = CronResultType

@typing_extensions.final
class ListCronsResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CRONS_FIELD_NUMBER: builtins.int
    @property
    def crons(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        global___CronResultType
    ]: ...
    def __init__(
        self,
        *,
        crons: collections.abc.Iterable[global___CronResultType] | None = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["crons", b"crons"]
    ) -> None: ...

global___ListCronsResult = ListCronsResult

@typing_extensions.final
class ListCronsRequest(google.protobuf.message.Message):
    """Empty. For future use."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___ListCronsRequest = ListCronsRequest

@typing_extensions.final
class ActivationResultType(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ACTIVATION_ID_FIELD_NUMBER: builtins.int
    STARTED_AT_FIELD_NUMBER: builtins.int
    FINISHED_AT_FIELD_NUMBER: builtins.int
    activation_id: builtins.str
    @property
    def started_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    @property
    def finished_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    def __init__(
        self,
        *,
        activation_id: builtins.str = ...,
        started_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        finished_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "finished_at", b"finished_at", "started_at", b"started_at"
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "activation_id",
            b"activation_id",
            "finished_at",
            b"finished_at",
            "started_at",
            b"started_at",
        ],
    ) -> None: ...

global___ActivationResultType = ActivationResultType

@typing_extensions.final
class ListActivationsResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    ACTIVATIONS_FIELD_NUMBER: builtins.int
    @property
    def activations(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        global___ActivationResultType
    ]: ...
    def __init__(
        self,
        *,
        activations: collections.abc.Iterable[global___ActivationResultType]
        | None = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["activations", b"activations"]
    ) -> None: ...

global___ListActivationsResult = ListActivationsResult

@typing_extensions.final
class ListActivationsRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CRON_ID_FIELD_NUMBER: builtins.int
    cron_id: builtins.str
    def __init__(
        self,
        *,
        cron_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["cron_id", b"cron_id"]
    ) -> None: ...

global___ListActivationsRequest = ListActivationsRequest

@typing_extensions.final
class CancelCronResult(google.protobuf.message.Message):
    """Empty. For future use."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___CancelCronResult = CancelCronResult

@typing_extensions.final
class CancelCronRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CRON_ID_FIELD_NUMBER: builtins.int
    cron_id: builtins.str
    def __init__(
        self,
        *,
        cron_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["cron_id", b"cron_id"]
    ) -> None: ...

global___CancelCronRequest = CancelCronRequest

@typing_extensions.final
class GetActivationLogsRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CRON_ID_FIELD_NUMBER: builtins.int
    ACTIVATION_ID_FIELD_NUMBER: builtins.int
    cron_id: builtins.str
    activation_id: builtins.str
    def __init__(
        self,
        *,
        cron_id: builtins.str = ...,
        activation_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "activation_id", b"activation_id", "cron_id", b"cron_id"
        ],
    ) -> None: ...

global___GetActivationLogsRequest = GetActivationLogsRequest

@typing_extensions.final
class GetActivationLogsResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    LOGS_FIELD_NUMBER: builtins.int
    @property
    def logs(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        common_pb2.Log
    ]: ...
    def __init__(
        self,
        *,
        logs: collections.abc.Iterable[common_pb2.Log] | None = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["logs", b"logs"]
    ) -> None: ...

global___GetActivationLogsResult = GetActivationLogsResult

@typing_extensions.final
class LogsFilter(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    LINES_FIELD_NUMBER: builtins.int
    URL_FIELD_NUMBER: builtins.int
    FROM_TIME_FIELD_NUMBER: builtins.int
    TO_TIME_FIELD_NUMBER: builtins.int
    lines: builtins.int
    url: builtins.str
    @property
    def from_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    @property
    def to_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    def __init__(
        self,
        *,
        lines: builtins.int | None = ...,
        url: builtins.str | None = ...,
        from_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        to_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_from_time",
            b"_from_time",
            "_lines",
            b"_lines",
            "_to_time",
            b"_to_time",
            "_url",
            b"_url",
            "from_time",
            b"from_time",
            "lines",
            b"lines",
            "to_time",
            b"to_time",
            "url",
            b"url",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_from_time",
            b"_from_time",
            "_lines",
            b"_lines",
            "_to_time",
            b"_to_time",
            "_url",
            b"_url",
            "from_time",
            b"from_time",
            "lines",
            b"lines",
            "to_time",
            b"to_time",
            "url",
            b"url",
        ],
    ) -> None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_from_time", b"_from_time"]
    ) -> typing_extensions.Literal["from_time"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_lines", b"_lines"]
    ) -> typing_extensions.Literal["lines"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_to_time", b"_to_time"]
    ) -> typing_extensions.Literal["to_time"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_url", b"_url"]
    ) -> typing_extensions.Literal["url"] | None: ...

global___LogsFilter = LogsFilter

@typing_extensions.final
class GetLogsRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    FOLLOW_FIELD_NUMBER: builtins.int
    FILTER_FIELD_NUMBER: builtins.int
    follow: builtins.bool
    @property
    def filter(self) -> global___LogsFilter: ...
    def __init__(
        self,
        *,
        follow: builtins.bool | None = ...,
        filter: global___LogsFilter | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_filter",
            b"_filter",
            "_follow",
            b"_follow",
            "filter",
            b"filter",
            "follow",
            b"follow",
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_filter",
            b"_filter",
            "_follow",
            b"_follow",
            "filter",
            b"filter",
            "follow",
            b"follow",
        ],
    ) -> None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_filter", b"_filter"]
    ) -> typing_extensions.Literal["filter"] | None: ...
    @typing.overload
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_follow", b"_follow"]
    ) -> typing_extensions.Literal["follow"] | None: ...

global___GetLogsRequest = GetLogsRequest

@typing_extensions.final
class GetLogsResult(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    LOG_ENTRY_FIELD_NUMBER: builtins.int
    @property
    def log_entry(self) -> common_pb2.Log: ...
    def __init__(
        self,
        *,
        log_entry: common_pb2.Log | None = ...,
    ) -> None: ...
    def HasField(
        self, field_name: typing_extensions.Literal["log_entry", b"log_entry"]
    ) -> builtins.bool: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["log_entry", b"log_entry"]
    ) -> None: ...

global___GetLogsResult = GetLogsResult

@typing_extensions.final
class SetSecretRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    VALUE_FIELD_NUMBER: builtins.int
    name: builtins.str
    value: builtins.str
    def __init__(
        self,
        *,
        name: builtins.str = ...,
        value: builtins.str | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal["_value", b"_value", "value", b"value"],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_value", b"_value", "name", b"name", "value", b"value"
        ],
    ) -> None: ...
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_value", b"_value"]
    ) -> typing_extensions.Literal["value"] | None: ...

global___SetSecretRequest = SetSecretRequest

@typing_extensions.final
class SetSecretResponse(google.protobuf.message.Message):
    """Empty. For future use."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___SetSecretResponse = SetSecretResponse

@typing_extensions.final
class ListSecretsRequest(google.protobuf.message.Message):
    """Empty. For future use."""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___ListSecretsRequest = ListSecretsRequest

@typing_extensions.final
class Secret(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    CREATED_TIME_FIELD_NUMBER: builtins.int
    name: builtins.str
    @property
    def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
        """Could also include the value/scope of the secret in the future."""
    def __init__(
        self,
        *,
        name: builtins.str = ...,
        created_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing_extensions.Literal[
            "_created_time", b"_created_time", "created_time", b"created_time"
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing_extensions.Literal[
            "_created_time",
            b"_created_time",
            "created_time",
            b"created_time",
            "name",
            b"name",
        ],
    ) -> None: ...
    def WhichOneof(
        self, oneof_group: typing_extensions.Literal["_created_time", b"_created_time"]
    ) -> typing_extensions.Literal["created_time"] | None: ...

global___Secret = Secret

@typing_extensions.final
class ListSecretsResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    SECRETS_FIELD_NUMBER: builtins.int
    @property
    def secrets(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        global___Secret
    ]: ...
    def __init__(
        self,
        *,
        secrets: collections.abc.Iterable[global___Secret] | None = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing_extensions.Literal["secrets", b"secrets"]
    ) -> None: ...

global___ListSecretsResponse = ListSecretsResponse
