"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import collections.abc
import common.healthcheck.v1alpha.healthcheck_pb2
import google.protobuf.descriptor
import google.protobuf.field_mask_pb2
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import google.protobuf.struct_pb2
import google.protobuf.timestamp_pb2
import sys
import typing
import vdp.connector.v1alpha.connector_definition_pb2

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

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing_extensions.final
class LivenessRequest(google.protobuf.message.Message):
    """LivenessRequest represents a request to check a service liveness status"""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    HEALTH_CHECK_REQUEST_FIELD_NUMBER: builtins.int
    @property
    def health_check_request(self) -> common.healthcheck.v1alpha.healthcheck_pb2.HealthCheckRequest:
        """HealthCheckRequest message"""
    def __init__(
        self,
        *,
        health_check_request: common.healthcheck.v1alpha.healthcheck_pb2.HealthCheckRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_health_check_request", b"_health_check_request", "health_check_request", b"health_check_request"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_health_check_request", b"_health_check_request", "health_check_request", b"health_check_request"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_health_check_request", b"_health_check_request"]) -> typing_extensions.Literal["health_check_request"] | None: ...

global___LivenessRequest = LivenessRequest

@typing_extensions.final
class LivenessResponse(google.protobuf.message.Message):
    """LivenessResponse represents a response for a service liveness status"""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    HEALTH_CHECK_RESPONSE_FIELD_NUMBER: builtins.int
    @property
    def health_check_response(self) -> common.healthcheck.v1alpha.healthcheck_pb2.HealthCheckResponse:
        """HealthCheckResponse message"""
    def __init__(
        self,
        *,
        health_check_response: common.healthcheck.v1alpha.healthcheck_pb2.HealthCheckResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["health_check_response", b"health_check_response"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["health_check_response", b"health_check_response"]) -> None: ...

global___LivenessResponse = LivenessResponse

@typing_extensions.final
class ReadinessRequest(google.protobuf.message.Message):
    """ReadinessRequest represents a request to check a service readiness status"""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    HEALTH_CHECK_REQUEST_FIELD_NUMBER: builtins.int
    @property
    def health_check_request(self) -> common.healthcheck.v1alpha.healthcheck_pb2.HealthCheckRequest:
        """HealthCheckRequest message"""
    def __init__(
        self,
        *,
        health_check_request: common.healthcheck.v1alpha.healthcheck_pb2.HealthCheckRequest | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_health_check_request", b"_health_check_request", "health_check_request", b"health_check_request"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_health_check_request", b"_health_check_request", "health_check_request", b"health_check_request"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_health_check_request", b"_health_check_request"]) -> typing_extensions.Literal["health_check_request"] | None: ...

global___ReadinessRequest = ReadinessRequest

@typing_extensions.final
class ReadinessResponse(google.protobuf.message.Message):
    """ReadinessResponse represents a response for a service readiness status"""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    HEALTH_CHECK_RESPONSE_FIELD_NUMBER: builtins.int
    @property
    def health_check_response(self) -> common.healthcheck.v1alpha.healthcheck_pb2.HealthCheckResponse:
        """HealthCheckResponse message"""
    def __init__(
        self,
        *,
        health_check_response: common.healthcheck.v1alpha.healthcheck_pb2.HealthCheckResponse | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["health_check_response", b"health_check_response"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["health_check_response", b"health_check_response"]) -> None: ...

global___ReadinessResponse = ReadinessResponse

@typing_extensions.final
class ConnectorResource(google.protobuf.message.Message):
    """ConnectorResource represents a connector_resource data model"""

    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[ConnectorResource._State.ValueType], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        STATE_UNSPECIFIED: ConnectorResource._State.ValueType  # 0
        """State: UNSPECIFIED"""
        STATE_DISCONNECTED: ConnectorResource._State.ValueType  # 1
        """State: DISCONNECTED"""
        STATE_CONNECTED: ConnectorResource._State.ValueType  # 2
        """State: CONNECTED"""
        STATE_ERROR: ConnectorResource._State.ValueType  # 3
        """State: ERROR"""

    class State(_State, metaclass=_StateEnumTypeWrapper):
        """State enumerates the connector_resource state"""

    STATE_UNSPECIFIED: ConnectorResource.State.ValueType  # 0
    """State: UNSPECIFIED"""
    STATE_DISCONNECTED: ConnectorResource.State.ValueType  # 1
    """State: DISCONNECTED"""
    STATE_CONNECTED: ConnectorResource.State.ValueType  # 2
    """State: CONNECTED"""
    STATE_ERROR: ConnectorResource.State.ValueType  # 3
    """State: ERROR"""

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

    class _VisibilityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ConnectorResource._Visibility.ValueType], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        VISIBILITY_UNSPECIFIED: ConnectorResource._Visibility.ValueType  # 0
        """Visibility: UNSPECIFIED, equivalent to PRIVATE."""
        VISIBILITY_PRIVATE: ConnectorResource._Visibility.ValueType  # 1
        """Visibility: PRIVATE"""
        VISIBILITY_PUBLIC: ConnectorResource._Visibility.ValueType  # 2
        """Visibility: PUBLIC"""

    class Visibility(_Visibility, metaclass=_VisibilityEnumTypeWrapper):
        """ConnectorResource visibility including public or private"""

    VISIBILITY_UNSPECIFIED: ConnectorResource.Visibility.ValueType  # 0
    """Visibility: UNSPECIFIED, equivalent to PRIVATE."""
    VISIBILITY_PRIVATE: ConnectorResource.Visibility.ValueType  # 1
    """Visibility: PRIVATE"""
    VISIBILITY_PUBLIC: ConnectorResource.Visibility.ValueType  # 2
    """Visibility: PUBLIC"""

    NAME_FIELD_NUMBER: builtins.int
    UID_FIELD_NUMBER: builtins.int
    ID_FIELD_NUMBER: builtins.int
    CONNECTOR_DEFINITION_NAME_FIELD_NUMBER: builtins.int
    TYPE_FIELD_NUMBER: builtins.int
    DESCRIPTION_FIELD_NUMBER: builtins.int
    CONFIGURATION_FIELD_NUMBER: builtins.int
    STATE_FIELD_NUMBER: builtins.int
    TOMBSTONE_FIELD_NUMBER: builtins.int
    USER_FIELD_NUMBER: builtins.int
    ORG_FIELD_NUMBER: builtins.int
    CREATE_TIME_FIELD_NUMBER: builtins.int
    UPDATE_TIME_FIELD_NUMBER: builtins.int
    VISIBILITY_FIELD_NUMBER: builtins.int
    CONNECTOR_DEFINITION_FIELD_NUMBER: builtins.int
    DELETE_TIME_FIELD_NUMBER: builtins.int
    name: builtins.str
    """ConnectorResource resource name. It must have the format of
    "connector-resources/*"
    """
    uid: builtins.str
    """ConnectorResource UUID"""
    id: builtins.str
    """ConnectorResource resource ID (the last segment of the resource name)
    used to construct the resource name. This conforms to RFC-1034, which
    restricts to letters, numbers, and hyphen, with the first character a
    letter, the last a letter or a number, and a 63 character maximum.
    """
    connector_definition_name: builtins.str
    """ConnectorDefinition resource"""
    type: vdp.connector.v1alpha.connector_definition_pb2.ConnectorType.ValueType
    """ConnectorResource Type"""
    description: builtins.str
    """ConnectorResource description"""
    @property
    def configuration(self) -> google.protobuf.struct_pb2.Struct:
        """ConnectorResource configuration in JSON format"""
    state: global___ConnectorResource.State.ValueType
    """ConnectorResource state"""
    tombstone: builtins.bool
    """ConnectorResource tombstone"""
    user: builtins.str
    """The resource name with UUID of a user, e.g.,
    "users/bfb978f8-78d3-4338-aa2b-a6c699cb07c5".
    """
    org: builtins.str
    """The resource name with UUID of an organization"""
    @property
    def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
        """ConnectorResource creation time"""
    @property
    def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
        """ConnectorResource update time"""
    visibility: global___ConnectorResource.Visibility.ValueType
    """ConnectorResource visibility including public or private"""
    @property
    def connector_definition(self) -> vdp.connector.v1alpha.connector_definition_pb2.ConnectorDefinition:
        """Embed the content of the connector_definition"""
    @property
    def delete_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
        """ConnectorResource delete time"""
    def __init__(
        self,
        *,
        name: builtins.str = ...,
        uid: builtins.str = ...,
        id: builtins.str = ...,
        connector_definition_name: builtins.str = ...,
        type: vdp.connector.v1alpha.connector_definition_pb2.ConnectorType.ValueType = ...,
        description: builtins.str | None = ...,
        configuration: google.protobuf.struct_pb2.Struct | None = ...,
        state: global___ConnectorResource.State.ValueType = ...,
        tombstone: builtins.bool = ...,
        user: builtins.str = ...,
        org: builtins.str = ...,
        create_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        update_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
        visibility: global___ConnectorResource.Visibility.ValueType = ...,
        connector_definition: vdp.connector.v1alpha.connector_definition_pb2.ConnectorDefinition | None = ...,
        delete_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_description", b"_description", "configuration", b"configuration", "connector_definition", b"connector_definition", "create_time", b"create_time", "delete_time", b"delete_time", "description", b"description", "org", b"org", "owner", b"owner", "update_time", b"update_time", "user", b"user"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_description", b"_description", "configuration", b"configuration", "connector_definition", b"connector_definition", "connector_definition_name", b"connector_definition_name", "create_time", b"create_time", "delete_time", b"delete_time", "description", b"description", "id", b"id", "name", b"name", "org", b"org", "owner", b"owner", "state", b"state", "tombstone", b"tombstone", "type", b"type", "uid", b"uid", "update_time", b"update_time", "user", b"user", "visibility", b"visibility"]) -> None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_description", b"_description"]) -> typing_extensions.Literal["description"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["owner", b"owner"]) -> typing_extensions.Literal["user", "org"] | None: ...

global___ConnectorResource = ConnectorResource

@typing_extensions.final
class ListConnectorResourcesRequest(google.protobuf.message.Message):
    """/////////////////////////////////////////////////////////////////////
    RPC messages
    /////////////////////////////////////////////////////////////////////

    ListConnectorResourcesRequest represents a request to list
    ConnectorResource resources
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PAGE_SIZE_FIELD_NUMBER: builtins.int
    PAGE_TOKEN_FIELD_NUMBER: builtins.int
    VIEW_FIELD_NUMBER: builtins.int
    FILTER_FIELD_NUMBER: builtins.int
    SHOW_DELETED_FIELD_NUMBER: builtins.int
    page_size: builtins.int
    """The maximum number of connector-resources to return. The service may return fewer
    than this value. If unspecified, at most 10 connector-resources will be returned.
    The maximum value is 100; values above 100 will be coerced to 100.
    """
    page_token: builtins.str
    """Page token"""
    view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType
    """ConnectorResource view (default is VIEW_BASIC)"""
    filter: builtins.str
    """Filter expression to list connector-resources"""
    show_deleted: builtins.bool
    """Return soft_deleted connector resources"""
    def __init__(
        self,
        *,
        page_size: builtins.int | None = ...,
        page_token: builtins.str | None = ...,
        view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType | None = ...,
        filter: builtins.str | None = ...,
        show_deleted: builtins.bool | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_filter", b"_filter", "_page_size", b"_page_size", "_page_token", b"_page_token", "_show_deleted", b"_show_deleted", "_view", b"_view", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "show_deleted", b"show_deleted", "view", b"view"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_filter", b"_filter", "_page_size", b"_page_size", "_page_token", b"_page_token", "_show_deleted", b"_show_deleted", "_view", b"_view", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "show_deleted", b"show_deleted", "view", b"view"]) -> 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["_page_size", b"_page_size"]) -> typing_extensions.Literal["page_size"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_page_token", b"_page_token"]) -> typing_extensions.Literal["page_token"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_show_deleted", b"_show_deleted"]) -> typing_extensions.Literal["show_deleted"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_view", b"_view"]) -> typing_extensions.Literal["view"] | None: ...

global___ListConnectorResourcesRequest = ListConnectorResourcesRequest

@typing_extensions.final
class ListConnectorResourcesResponse(google.protobuf.message.Message):
    """ListConnectorResourcesResponse represents a response for a list of
    ConnectorResource resources
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCES_FIELD_NUMBER: builtins.int
    NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
    TOTAL_SIZE_FIELD_NUMBER: builtins.int
    @property
    def connector_resources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectorResource]:
        """A list of ConnectorResource resources"""
    next_page_token: builtins.str
    """Next page token"""
    total_size: builtins.int
    """Total count of connector_resource resources"""
    def __init__(
        self,
        *,
        connector_resources: collections.abc.Iterable[global___ConnectorResource] | None = ...,
        next_page_token: builtins.str = ...,
        total_size: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resources", b"connector_resources", "next_page_token", b"next_page_token", "total_size", b"total_size"]) -> None: ...

global___ListConnectorResourcesResponse = ListConnectorResourcesResponse

@typing_extensions.final
class LookUpConnectorResourceRequest(google.protobuf.message.Message):
    """LookUpConnectorResourceRequest represents a request to query a
    connector_resource via permalink
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PERMALINK_FIELD_NUMBER: builtins.int
    VIEW_FIELD_NUMBER: builtins.int
    permalink: builtins.str
    """Permalink of a connector_resource. For example:
    "connector-resources/{uid}"
    """
    view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType
    """ConnectorResource view (default is VIEW_BASIC)"""
    def __init__(
        self,
        *,
        permalink: builtins.str = ...,
        view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_view", b"_view", "view", b"view"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_view", b"_view", "permalink", b"permalink", "view", b"view"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_view", b"_view"]) -> typing_extensions.Literal["view"] | None: ...

global___LookUpConnectorResourceRequest = LookUpConnectorResourceRequest

@typing_extensions.final
class LookUpConnectorResourceResponse(google.protobuf.message.Message):
    """LookUpConnectorResourceResponse represents a response for a
    connector_resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> None: ...

global___LookUpConnectorResourceResponse = LookUpConnectorResourceResponse

@typing_extensions.final
class CreateUserConnectorResourceRequest(google.protobuf.message.Message):
    """CreateUserConnectorResourceRequest represents a request to create a
    ConnectorResource resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    PARENT_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """ConnectorResource resource"""
    parent: builtins.str
    """The parent resource where this connector resource will be created.
    Format: users/{users}
    """
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
        parent: builtins.str = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource", "parent", b"parent"]) -> None: ...

global___CreateUserConnectorResourceRequest = CreateUserConnectorResourceRequest

@typing_extensions.final
class CreateUserConnectorResourceResponse(google.protobuf.message.Message):
    """CreateUserConnectorResourceResponse represents a response for a
    ConnectorResource resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> None: ...

global___CreateUserConnectorResourceResponse = CreateUserConnectorResourceResponse

@typing_extensions.final
class ListUserConnectorResourcesRequest(google.protobuf.message.Message):
    """ListUserConnectorResourcesRequest represents a request to list
    ConnectorResource resources
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PAGE_SIZE_FIELD_NUMBER: builtins.int
    PAGE_TOKEN_FIELD_NUMBER: builtins.int
    VIEW_FIELD_NUMBER: builtins.int
    FILTER_FIELD_NUMBER: builtins.int
    PARENT_FIELD_NUMBER: builtins.int
    SHOW_DELETED_FIELD_NUMBER: builtins.int
    page_size: builtins.int
    """The maximum number of connector-resources to return. The service may return fewer
    than this value. If unspecified, at most 10 connector-resources will be returned.
    The maximum value is 100; values above 100 will be coerced to 100.
    """
    page_token: builtins.str
    """Page token"""
    view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType
    """ConnectorResource view (default is VIEW_BASIC)"""
    filter: builtins.str
    """Filter expression to list connector-resources"""
    parent: builtins.str
    """The parent resource where this connector resource will be created.
    Format: users/{users}
    """
    show_deleted: builtins.bool
    """Return soft_deleted connector resources"""
    def __init__(
        self,
        *,
        page_size: builtins.int | None = ...,
        page_token: builtins.str | None = ...,
        view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType | None = ...,
        filter: builtins.str | None = ...,
        parent: builtins.str = ...,
        show_deleted: builtins.bool | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_filter", b"_filter", "_page_size", b"_page_size", "_page_token", b"_page_token", "_show_deleted", b"_show_deleted", "_view", b"_view", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "show_deleted", b"show_deleted", "view", b"view"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_filter", b"_filter", "_page_size", b"_page_size", "_page_token", b"_page_token", "_show_deleted", b"_show_deleted", "_view", b"_view", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "parent", b"parent", "show_deleted", b"show_deleted", "view", b"view"]) -> 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["_page_size", b"_page_size"]) -> typing_extensions.Literal["page_size"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_page_token", b"_page_token"]) -> typing_extensions.Literal["page_token"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_show_deleted", b"_show_deleted"]) -> typing_extensions.Literal["show_deleted"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_view", b"_view"]) -> typing_extensions.Literal["view"] | None: ...

global___ListUserConnectorResourcesRequest = ListUserConnectorResourcesRequest

@typing_extensions.final
class ListUserConnectorResourcesResponse(google.protobuf.message.Message):
    """ListUserConnectorResourcesResponse represents a response for a list of
    ConnectorResource resources
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCES_FIELD_NUMBER: builtins.int
    NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
    TOTAL_SIZE_FIELD_NUMBER: builtins.int
    @property
    def connector_resources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectorResource]:
        """A list of ConnectorResource resources"""
    next_page_token: builtins.str
    """Next page token"""
    total_size: builtins.int
    """Total count of connector_resource resources"""
    def __init__(
        self,
        *,
        connector_resources: collections.abc.Iterable[global___ConnectorResource] | None = ...,
        next_page_token: builtins.str = ...,
        total_size: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resources", b"connector_resources", "next_page_token", b"next_page_token", "total_size", b"total_size"]) -> None: ...

global___ListUserConnectorResourcesResponse = ListUserConnectorResourcesResponse

@typing_extensions.final
class GetUserConnectorResourceRequest(google.protobuf.message.Message):
    """GetUserConnectorResourceRequest represents a request to query a
    ConnectorResource resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    VIEW_FIELD_NUMBER: builtins.int
    name: builtins.str
    """ConnectorResourceConnectorResource resource name. It must have the format of
    "connector-resources/*"
    """
    view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType
    """ConnectorResource view (default is VIEW_BASIC)"""
    def __init__(
        self,
        *,
        name: builtins.str = ...,
        view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_view", b"_view", "view", b"view"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_view", b"_view", "name", b"name", "view", b"view"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_view", b"_view"]) -> typing_extensions.Literal["view"] | None: ...

global___GetUserConnectorResourceRequest = GetUserConnectorResourceRequest

@typing_extensions.final
class GetUserConnectorResourceResponse(google.protobuf.message.Message):
    """GetUserConnectorResourceResponse represents a response for a
    ConnectorResource resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> None: ...

global___GetUserConnectorResourceResponse = GetUserConnectorResourceResponse

@typing_extensions.final
class UpdateUserConnectorResourceRequest(google.protobuf.message.Message):
    """UpdateUserConnectorResourceRequest represents a request to update a
    ConnectorResource resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    UPDATE_MASK_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """ConnectorResource resource"""
    @property
    def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
        """Update mask for a ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
        update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource", "update_mask", b"update_mask"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource", "update_mask", b"update_mask"]) -> None: ...

global___UpdateUserConnectorResourceRequest = UpdateUserConnectorResourceRequest

@typing_extensions.final
class UpdateUserConnectorResourceResponse(google.protobuf.message.Message):
    """UpdateUserConnectorResourceResponse represents a response for a
    ConnectorResource resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> None: ...

global___UpdateUserConnectorResourceResponse = UpdateUserConnectorResourceResponse

@typing_extensions.final
class DeleteUserConnectorResourceRequest(google.protobuf.message.Message):
    """DeleteUserConnectorResourceRequest represents a request to delete a
    ConnectorResource resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    name: builtins.str
    """ConnectorResource resource name. It must have the format of
    "connector-resources/*"
    """
    def __init__(
        self,
        *,
        name: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...

global___DeleteUserConnectorResourceRequest = DeleteUserConnectorResourceRequest

@typing_extensions.final
class DeleteUserConnectorResourceResponse(google.protobuf.message.Message):
    """DeleteUserConnectorResourceResponse represents an empty response"""

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

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

global___DeleteUserConnectorResourceResponse = DeleteUserConnectorResourceResponse

@typing_extensions.final
class ConnectUserConnectorResourceRequest(google.protobuf.message.Message):
    """ConnectUserConnectorResourceRequest represents a request to connect a
    connector_resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    name: builtins.str
    """ConnectorResource resource name. It must have the format of
    "connector-resources/*"
    """
    def __init__(
        self,
        *,
        name: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...

global___ConnectUserConnectorResourceRequest = ConnectUserConnectorResourceRequest

@typing_extensions.final
class ConnectUserConnectorResourceResponse(google.protobuf.message.Message):
    """ConnectUserConnectorResourceResponse represents a connected
    connector_resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """A ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> None: ...

global___ConnectUserConnectorResourceResponse = ConnectUserConnectorResourceResponse

@typing_extensions.final
class DisconnectUserConnectorResourceRequest(google.protobuf.message.Message):
    """DisconnectUserConnectorResourceRequest represents a request to disconnect a
    connector_resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    name: builtins.str
    """ConnectorResource resource name. It must have the format of
    "connector-resources/*"
    """
    def __init__(
        self,
        *,
        name: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...

global___DisconnectUserConnectorResourceRequest = DisconnectUserConnectorResourceRequest

@typing_extensions.final
class DisconnectUserConnectorResourceResponse(google.protobuf.message.Message):
    """DisconnectUserConnectorResourceResponse represents a disconnected
    connector_resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """A ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> None: ...

global___DisconnectUserConnectorResourceResponse = DisconnectUserConnectorResourceResponse

@typing_extensions.final
class RenameUserConnectorResourceRequest(google.protobuf.message.Message):
    """RenameUserConnectorResourceRequest represents a request to rename the
    ConnectorResource resource name
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    NEW_CONNECTOR_ID_FIELD_NUMBER: builtins.int
    name: builtins.str
    """ConnectorResource resource name. It must have the format of
    "connector-resources/*"
    """
    new_connector_id: builtins.str
    """ConnectorResource new resource id to replace with the
    ConnectorResource resource name to be
    "connector-resources/{new_connector_id}"
    """
    def __init__(
        self,
        *,
        name: builtins.str = ...,
        new_connector_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "new_connector_id", b"new_connector_id"]) -> None: ...

global___RenameUserConnectorResourceRequest = RenameUserConnectorResourceRequest

@typing_extensions.final
class RenameUserConnectorResourceResponse(google.protobuf.message.Message):
    """RenameUserConnectorResourceResponse represents a renamed ConnectorResource
    resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """A ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> None: ...

global___RenameUserConnectorResourceResponse = RenameUserConnectorResourceResponse

@typing_extensions.final
class ExecuteUserConnectorResourceRequest(google.protobuf.message.Message):
    """ExecuteUserConnectorResourceRequest represents a private request to execution
    connector_resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    INPUTS_FIELD_NUMBER: builtins.int
    TASK_FIELD_NUMBER: builtins.int
    name: builtins.str
    """Name of a connector_resource. For example:
    "connector-resources/{name}"
    """
    @property
    def inputs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
        """Inputs"""
    task: builtins.str
    """Task"""
    def __init__(
        self,
        *,
        name: builtins.str = ...,
        inputs: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None = ...,
        task: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["inputs", b"inputs", "name", b"name", "task", b"task"]) -> None: ...

global___ExecuteUserConnectorResourceRequest = ExecuteUserConnectorResourceRequest

@typing_extensions.final
class ExecuteUserConnectorResourceResponse(google.protobuf.message.Message):
    """ExecuteUserConnectorResourceResponse represents a response for execution
    output
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

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

global___ExecuteUserConnectorResourceResponse = ExecuteUserConnectorResourceResponse

@typing_extensions.final
class TestUserConnectorResourceRequest(google.protobuf.message.Message):
    """TestUserConnectorResourceRequest represents a public request to trigger check
    action on a connector_resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    name: builtins.str
    """ConnectorResource resource name. It must have the format of
    "connector-resources/*"
    """
    def __init__(
        self,
        *,
        name: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...

global___TestUserConnectorResourceRequest = TestUserConnectorResourceRequest

@typing_extensions.final
class TestUserConnectorResourceResponse(google.protobuf.message.Message):
    """TestUserConnectorResourceResponse represents a response containing a
    connector_resource's current state
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    STATE_FIELD_NUMBER: builtins.int
    state: global___ConnectorResource.State.ValueType
    """Retrieved connector_resource state"""
    def __init__(
        self,
        *,
        state: global___ConnectorResource.State.ValueType = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["state", b"state"]) -> None: ...

global___TestUserConnectorResourceResponse = TestUserConnectorResourceResponse

@typing_extensions.final
class WatchUserConnectorResourceRequest(google.protobuf.message.Message):
    """WatchUserConnectorResourceRequest represents a public request to query
    a connector_resource's current state
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    NAME_FIELD_NUMBER: builtins.int
    name: builtins.str
    """ConnectorResource resource name. It must have the format of
    "connector-resources/*"
    """
    def __init__(
        self,
        *,
        name: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...

global___WatchUserConnectorResourceRequest = WatchUserConnectorResourceRequest

@typing_extensions.final
class WatchUserConnectorResourceResponse(google.protobuf.message.Message):
    """WatchUserConnectorResourceResponse represents a response to fetch a
    connector_resource's current state
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    STATE_FIELD_NUMBER: builtins.int
    state: global___ConnectorResource.State.ValueType
    """Retrieved connector_resource state"""
    def __init__(
        self,
        *,
        state: global___ConnectorResource.State.ValueType = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["state", b"state"]) -> None: ...

global___WatchUserConnectorResourceResponse = WatchUserConnectorResourceResponse

@typing_extensions.final
class ListConnectorResourcesAdminRequest(google.protobuf.message.Message):
    """========== Private endpoints

    ListConnectorResourcesAdminRequest represents a request to list
    ConnectorResource resources from all users by admin
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PAGE_SIZE_FIELD_NUMBER: builtins.int
    PAGE_TOKEN_FIELD_NUMBER: builtins.int
    VIEW_FIELD_NUMBER: builtins.int
    FILTER_FIELD_NUMBER: builtins.int
    SHOW_DELETED_FIELD_NUMBER: builtins.int
    page_size: builtins.int
    """The maximum number of connector-resources to return. The service may return fewer
    than this value. If unspecified, at most 10 connector-resources will be returned.
    The maximum value is 100; values above 100 will be coerced to 100.
    """
    page_token: builtins.str
    """Page token"""
    view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType
    """ConnectorResource view (default is VIEW_BASIC)"""
    filter: builtins.str
    """Filter expression to list connector-resources"""
    show_deleted: builtins.bool
    """Return soft_deleted connector resources"""
    def __init__(
        self,
        *,
        page_size: builtins.int | None = ...,
        page_token: builtins.str | None = ...,
        view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType | None = ...,
        filter: builtins.str | None = ...,
        show_deleted: builtins.bool | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_filter", b"_filter", "_page_size", b"_page_size", "_page_token", b"_page_token", "_show_deleted", b"_show_deleted", "_view", b"_view", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "show_deleted", b"show_deleted", "view", b"view"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_filter", b"_filter", "_page_size", b"_page_size", "_page_token", b"_page_token", "_show_deleted", b"_show_deleted", "_view", b"_view", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "show_deleted", b"show_deleted", "view", b"view"]) -> 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["_page_size", b"_page_size"]) -> typing_extensions.Literal["page_size"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_page_token", b"_page_token"]) -> typing_extensions.Literal["page_token"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_show_deleted", b"_show_deleted"]) -> typing_extensions.Literal["show_deleted"] | None: ...
    @typing.overload
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_view", b"_view"]) -> typing_extensions.Literal["view"] | None: ...

global___ListConnectorResourcesAdminRequest = ListConnectorResourcesAdminRequest

@typing_extensions.final
class ListConnectorResourcesAdminResponse(google.protobuf.message.Message):
    """ListConnectorResourcesAdminResponse represents a response for a list of
    ConnectorResource resources
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCES_FIELD_NUMBER: builtins.int
    NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
    TOTAL_SIZE_FIELD_NUMBER: builtins.int
    @property
    def connector_resources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectorResource]:
        """A list of ConnectorResource resources"""
    next_page_token: builtins.str
    """Next page token"""
    total_size: builtins.int
    """Total count of connector_resource resources"""
    def __init__(
        self,
        *,
        connector_resources: collections.abc.Iterable[global___ConnectorResource] | None = ...,
        next_page_token: builtins.str = ...,
        total_size: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resources", b"connector_resources", "next_page_token", b"next_page_token", "total_size", b"total_size"]) -> None: ...

global___ListConnectorResourcesAdminResponse = ListConnectorResourcesAdminResponse

@typing_extensions.final
class LookUpConnectorResourceAdminRequest(google.protobuf.message.Message):
    """LookUpConnectorResourceAdminRequest represents a request to query a
    connector_resource via permalink by admin
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PERMALINK_FIELD_NUMBER: builtins.int
    VIEW_FIELD_NUMBER: builtins.int
    permalink: builtins.str
    """Permalink of a connector_resource. For example:
    "connector-resources/{uid}"
    """
    view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType
    """ConnectorResource view (default is VIEW_BASIC)"""
    def __init__(
        self,
        *,
        permalink: builtins.str = ...,
        view: vdp.connector.v1alpha.connector_definition_pb2.View.ValueType | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["_view", b"_view", "view", b"view"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["_view", b"_view", "permalink", b"permalink", "view", b"view"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal["_view", b"_view"]) -> typing_extensions.Literal["view"] | None: ...

global___LookUpConnectorResourceAdminRequest = LookUpConnectorResourceAdminRequest

@typing_extensions.final
class LookUpConnectorResourceAdminResponse(google.protobuf.message.Message):
    """LookUpConnectorResourceAdminResponse represents a response for a
    connector_resource
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    CONNECTOR_RESOURCE_FIELD_NUMBER: builtins.int
    @property
    def connector_resource(self) -> global___ConnectorResource:
        """ConnectorResource resource"""
    def __init__(
        self,
        *,
        connector_resource: global___ConnectorResource | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["connector_resource", b"connector_resource"]) -> None: ...

global___LookUpConnectorResourceAdminResponse = LookUpConnectorResourceAdminResponse

@typing_extensions.final
class CheckConnectorResourceRequest(google.protobuf.message.Message):
    """CheckConnectorResourceRequest represents a private request to query
    a connector_resource's current state
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PERMALINK_FIELD_NUMBER: builtins.int
    permalink: builtins.str
    """Permalink of a connector_resource. For example:
    "connector-resources/{uid}"
    """
    def __init__(
        self,
        *,
        permalink: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["permalink", b"permalink"]) -> None: ...

global___CheckConnectorResourceRequest = CheckConnectorResourceRequest

@typing_extensions.final
class CheckConnectorResourceResponse(google.protobuf.message.Message):
    """CheckConnectorResourceResponse represents a response to fetch a
    connector_resource's current state
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    STATE_FIELD_NUMBER: builtins.int
    state: global___ConnectorResource.State.ValueType
    """Retrieved connector_resource state"""
    def __init__(
        self,
        *,
        state: global___ConnectorResource.State.ValueType = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["state", b"state"]) -> None: ...

global___CheckConnectorResourceResponse = CheckConnectorResourceResponse
