# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import warnings

from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from tast.cros.services.cros.ui import automation_service_pb2 as tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2

GRPC_GENERATED_VERSION = '1.71.0'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

try:
    from grpc._utilities import first_version_is_lower
    _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
except ImportError:
    _version_not_supported = True

if _version_not_supported:
    raise RuntimeError(
        f'The grpc package installed is at version {GRPC_VERSION},'
        + f' but the generated code in tast/cros/services/cros/ui/automation_service_pb2_grpc.py depends on'
        + f' grpcio>={GRPC_GENERATED_VERSION}.'
        + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
        + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
    )


class AutomationServiceStub(object):
    """AutomationService enables automating with the ChromeOS UI through the
    chrome.automation API. The chrome.automation API is documented here:
    https://developer.chrome.com/extensions/automation
    """

    def __init__(self, channel):
        """Constructor.

        Args:
            channel: A grpc.Channel.
        """
        self.Info = channel.unary_unary(
                '/tast.cros.ui.AutomationService/Info',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.InfoRequest.SerializeToString,
                response_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.InfoResponse.FromString,
                _registered_method=True)
        self.LeftClick = channel.unary_unary(
                '/tast.cros.ui.AutomationService/LeftClick',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.LeftClickRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.RightClick = channel.unary_unary(
                '/tast.cros.ui.AutomationService/RightClick',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.RightClickRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.DoubleClick = channel.unary_unary(
                '/tast.cros.ui.AutomationService/DoubleClick',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.DoubleClickRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.IsNodeFound = channel.unary_unary(
                '/tast.cros.ui.AutomationService/IsNodeFound',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.IsNodeFoundRequest.SerializeToString,
                response_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.IsNodeFoundResponse.FromString,
                _registered_method=True)
        self.MouseClickAtLocation = channel.unary_unary(
                '/tast.cros.ui.AutomationService/MouseClickAtLocation',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseClickAtLocationRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.EnsureFocused = channel.unary_unary(
                '/tast.cros.ui.AutomationService/EnsureFocused',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.EnsureFocusedRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.WaitUntilCheckedState = channel.unary_unary(
                '/tast.cros.ui.AutomationService/WaitUntilCheckedState',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilCheckedStateRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.WaitUntilExists = channel.unary_unary(
                '/tast.cros.ui.AutomationService/WaitUntilExists',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilExistsRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.WaitUntilGone = channel.unary_unary(
                '/tast.cros.ui.AutomationService/WaitUntilGone',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilGoneRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.EnsureGone = channel.unary_unary(
                '/tast.cros.ui.AutomationService/EnsureGone',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.EnsureGoneRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.MousePress = channel.unary_unary(
                '/tast.cros.ui.AutomationService/MousePress',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MousePressRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.MouseRelease = channel.unary_unary(
                '/tast.cros.ui.AutomationService/MouseRelease',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseReleaseRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.MouseMoveTo = channel.unary_unary(
                '/tast.cros.ui.AutomationService/MouseMoveTo',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseMoveToRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.MakeVisible = channel.unary_unary(
                '/tast.cros.ui.AutomationService/MakeVisible',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MakeVisibleRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.WaitForLocation = channel.unary_unary(
                '/tast.cros.ui.AutomationService/WaitForLocation',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitForLocationRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.CaptureScreenshot = channel.unary_unary(
                '/tast.cros.ui.AutomationService/CaptureScreenshot',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.CaptureScreenshotRequest.SerializeToString,
                response_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.CaptureScreenshotResponse.FromString,
                _registered_method=True)
        self.GetUITree = channel.unary_unary(
                '/tast.cros.ui.AutomationService/GetUITree',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.GetUITreeRequest.SerializeToString,
                response_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.GetUITreeResponse.FromString,
                _registered_method=True)
        self.SelectDropDownOption = channel.unary_unary(
                '/tast.cros.ui.AutomationService/SelectDropDownOption',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.SelectDropDownOptionRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.DoDefault = channel.unary_unary(
                '/tast.cros.ui.AutomationService/DoDefault',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.DoDefaultRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.ResetAutomation = channel.unary_unary(
                '/tast.cros.ui.AutomationService/ResetAutomation',
                request_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.ResetAutomationRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)


class AutomationServiceServicer(object):
    """AutomationService enables automating with the ChromeOS UI through the
    chrome.automation API. The chrome.automation API is documented here:
    https://developer.chrome.com/extensions/automation
    """

    def Info(self, request, context):
        """Info returns the information for the node found by the input finder.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def LeftClick(self, request, context):
        """LeftClick left clicks on the location of the node found by the input
        finder.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RightClick(self, request, context):
        """RightClick right clicks on the location of the node found by the input
        finder.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def DoubleClick(self, request, context):
        """DoubleClick double clicks on the location of the node found by the input
        finder.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def IsNodeFound(self, request, context):
        """IsNodeFound immediately checks if any nodes found with given finder.
        It returns true if found otherwise false.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def MouseClickAtLocation(self, request, context):
        """MouseClickAtLocation clicks on the specified location.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def EnsureFocused(self, request, context):
        """EnsureFocused ensures the found node is focused.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def WaitUntilCheckedState(self, request, context):
        """WaitUntilCheckedState waits until the node found by the input finder
        reaches the expected state.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def WaitUntilExists(self, request, context):
        """WaitUntilExists waits until the node found by the input finder exists.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def WaitUntilGone(self, request, context):
        """WaitUntilGone waits until the node found by the input finder gone.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def EnsureGone(self, request, context):
        """EnsureGone ensures the node is gone by checks the input finder doesn't
        exist within the specified time duration. If the input time duration isn't
        specified, a default time duration will be taken.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def MousePress(self, request, context):
        """MousePress presses a mouse button and holds it on the node. The press needs
        to be released by caller.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def MouseRelease(self, request, context):
        """MouseRelease releases the certain mouse button.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def MouseMoveTo(self, request, context):
        """MouseMoveTo moves the mouse to hover the requested node.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def MakeVisible(self, request, context):
        """MakeVisible makes node visible.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def WaitForLocation(self, request, context):
        """WaitForLocation waits until the node location is stabilized.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def CaptureScreenshot(self, request, context):
        """CaptureScreenshot captures the screenshot of the whole screen or a stable
        UI node.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetUITree(self, request, context):
        """GetUITree returns the assessibility tree in string representation.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def SelectDropDownOption(self, request, context):
        """SelectDropDownOption selects dropdown option with the option name.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def DoDefault(self, request, context):
        """DoDefault calls doDefault() JS method on the node found by the input
        finder.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def ResetAutomation(self, request, context):
        """ResetAutomation resets the automation API feature and helps to reset the
        UI tree.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_AutomationServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Info': grpc.unary_unary_rpc_method_handler(
                    servicer.Info,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.InfoRequest.FromString,
                    response_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.InfoResponse.SerializeToString,
            ),
            'LeftClick': grpc.unary_unary_rpc_method_handler(
                    servicer.LeftClick,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.LeftClickRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'RightClick': grpc.unary_unary_rpc_method_handler(
                    servicer.RightClick,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.RightClickRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'DoubleClick': grpc.unary_unary_rpc_method_handler(
                    servicer.DoubleClick,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.DoubleClickRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'IsNodeFound': grpc.unary_unary_rpc_method_handler(
                    servicer.IsNodeFound,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.IsNodeFoundRequest.FromString,
                    response_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.IsNodeFoundResponse.SerializeToString,
            ),
            'MouseClickAtLocation': grpc.unary_unary_rpc_method_handler(
                    servicer.MouseClickAtLocation,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseClickAtLocationRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'EnsureFocused': grpc.unary_unary_rpc_method_handler(
                    servicer.EnsureFocused,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.EnsureFocusedRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'WaitUntilCheckedState': grpc.unary_unary_rpc_method_handler(
                    servicer.WaitUntilCheckedState,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilCheckedStateRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'WaitUntilExists': grpc.unary_unary_rpc_method_handler(
                    servicer.WaitUntilExists,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilExistsRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'WaitUntilGone': grpc.unary_unary_rpc_method_handler(
                    servicer.WaitUntilGone,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilGoneRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'EnsureGone': grpc.unary_unary_rpc_method_handler(
                    servicer.EnsureGone,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.EnsureGoneRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'MousePress': grpc.unary_unary_rpc_method_handler(
                    servicer.MousePress,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MousePressRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'MouseRelease': grpc.unary_unary_rpc_method_handler(
                    servicer.MouseRelease,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseReleaseRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'MouseMoveTo': grpc.unary_unary_rpc_method_handler(
                    servicer.MouseMoveTo,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseMoveToRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'MakeVisible': grpc.unary_unary_rpc_method_handler(
                    servicer.MakeVisible,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MakeVisibleRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'WaitForLocation': grpc.unary_unary_rpc_method_handler(
                    servicer.WaitForLocation,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitForLocationRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'CaptureScreenshot': grpc.unary_unary_rpc_method_handler(
                    servicer.CaptureScreenshot,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.CaptureScreenshotRequest.FromString,
                    response_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.CaptureScreenshotResponse.SerializeToString,
            ),
            'GetUITree': grpc.unary_unary_rpc_method_handler(
                    servicer.GetUITree,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.GetUITreeRequest.FromString,
                    response_serializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.GetUITreeResponse.SerializeToString,
            ),
            'SelectDropDownOption': grpc.unary_unary_rpc_method_handler(
                    servicer.SelectDropDownOption,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.SelectDropDownOptionRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'DoDefault': grpc.unary_unary_rpc_method_handler(
                    servicer.DoDefault,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.DoDefaultRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'ResetAutomation': grpc.unary_unary_rpc_method_handler(
                    servicer.ResetAutomation,
                    request_deserializer=tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.ResetAutomationRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'tast.cros.ui.AutomationService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('tast.cros.ui.AutomationService', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class AutomationService(object):
    """AutomationService enables automating with the ChromeOS UI through the
    chrome.automation API. The chrome.automation API is documented here:
    https://developer.chrome.com/extensions/automation
    """

    @staticmethod
    def Info(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/Info',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.InfoRequest.SerializeToString,
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.InfoResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def LeftClick(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/LeftClick',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.LeftClickRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def RightClick(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/RightClick',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.RightClickRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DoubleClick(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/DoubleClick',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.DoubleClickRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def IsNodeFound(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/IsNodeFound',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.IsNodeFoundRequest.SerializeToString,
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.IsNodeFoundResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def MouseClickAtLocation(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/MouseClickAtLocation',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseClickAtLocationRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def EnsureFocused(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/EnsureFocused',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.EnsureFocusedRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def WaitUntilCheckedState(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/WaitUntilCheckedState',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilCheckedStateRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def WaitUntilExists(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/WaitUntilExists',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilExistsRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def WaitUntilGone(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/WaitUntilGone',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitUntilGoneRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def EnsureGone(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/EnsureGone',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.EnsureGoneRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def MousePress(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/MousePress',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MousePressRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def MouseRelease(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/MouseRelease',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseReleaseRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def MouseMoveTo(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/MouseMoveTo',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MouseMoveToRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def MakeVisible(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/MakeVisible',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.MakeVisibleRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def WaitForLocation(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/WaitForLocation',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.WaitForLocationRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def CaptureScreenshot(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/CaptureScreenshot',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.CaptureScreenshotRequest.SerializeToString,
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.CaptureScreenshotResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetUITree(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/GetUITree',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.GetUITreeRequest.SerializeToString,
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.GetUITreeResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def SelectDropDownOption(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/SelectDropDownOption',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.SelectDropDownOptionRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DoDefault(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/DoDefault',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.DoDefaultRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def ResetAutomation(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/tast.cros.ui.AutomationService/ResetAutomation',
            tast_dot_cros_dot_services_dot_cros_dot_ui_dot_automation__service__pb2.ResetAutomationRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)
