How to use the getgauge.messages.messages_pb2 function in getgauge

To help you get started, we’ve selected a few getgauge examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github getgauge / gauge-python / getgauge / messages / lsp_pb2_grpc.py View on Github external
response_serializer=messages__pb2.StepValidateResponse.SerializeToString,
      ),
      'Refactor': grpc.unary_unary_rpc_method_handler(
          servicer.Refactor,
          request_deserializer=messages__pb2.RefactorRequest.FromString,
          response_serializer=messages__pb2.RefactorResponse.SerializeToString,
      ),
      'GetStepName': grpc.unary_unary_rpc_method_handler(
          servicer.GetStepName,
          request_deserializer=messages__pb2.StepNameRequest.FromString,
          response_serializer=messages__pb2.StepNameResponse.SerializeToString,
      ),
      'GetGlobPatterns': grpc.unary_unary_rpc_method_handler(
          servicer.GetGlobPatterns,
          request_deserializer=lsp__pb2.Empty.FromString,
          response_serializer=messages__pb2.ImplementationFileGlobPatternResponse.SerializeToString,
      ),
      'KillProcess': grpc.unary_unary_rpc_method_handler(
          servicer.KillProcess,
          request_deserializer=messages__pb2.KillProcessRequest.FromString,
          response_serializer=lsp__pb2.Empty.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'gauge.messages.lspService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))
github getgauge / gauge-python / getgauge / messages / services_pb2.py View on Github external
),
  _descriptor.MethodDescriptor(
    name='CacheFile',
    full_name='gauge.messages.Runner.CacheFile',
    index=13,
    containing_service=None,
    input_type=messages__pb2._CACHEFILEREQUEST,
    output_type=messages__pb2._EMPTY,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetStepName',
    full_name='gauge.messages.Runner.GetStepName',
    index=14,
    containing_service=None,
    input_type=messages__pb2._STEPNAMEREQUEST,
    output_type=messages__pb2._STEPNAMERESPONSE,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetGlobPatterns',
    full_name='gauge.messages.Runner.GetGlobPatterns',
    index=15,
    containing_service=None,
    input_type=messages__pb2._EMPTY,
    output_type=messages__pb2._IMPLEMENTATIONFILEGLOBPATTERNRESPONSE,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetStepNames',
    full_name='gauge.messages.Runner.GetStepNames',
    index=16,
github getgauge / gauge-python / getgauge / messages / services_pb2_grpc.py View on Github external
request_serializer=messages__pb2.ScenarioExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyStepExecutionStarting = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyStepExecutionStarting',
        request_serializer=messages__pb2.StepExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyStepExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyStepExecutionEnding',
        request_serializer=messages__pb2.StepExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyScenarioExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyScenarioExecutionEnding',
        request_serializer=messages__pb2.ScenarioExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySpecExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySpecExecutionEnding',
        request_serializer=messages__pb2.SpecExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyExecutionEnding',
        request_serializer=messages__pb2.ExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySuiteResult = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySuiteResult',
        request_serializer=messages__pb2.SuiteExecutionResult.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
github getgauge / gauge-python / getgauge / messages / services_pb2_grpc.py View on Github external
request_serializer=messages__pb2.ExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySpecExecutionStarting = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySpecExecutionStarting',
        request_serializer=messages__pb2.SpecExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyScenarioExecutionStarting = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyScenarioExecutionStarting',
        request_serializer=messages__pb2.ScenarioExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyStepExecutionStarting = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyStepExecutionStarting',
        request_serializer=messages__pb2.StepExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyStepExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyStepExecutionEnding',
        request_serializer=messages__pb2.StepExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyScenarioExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyScenarioExecutionEnding',
        request_serializer=messages__pb2.ScenarioExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySpecExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySpecExecutionEnding',
        request_serializer=messages__pb2.SpecExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
github getgauge / gauge-python / getgauge / messages / services_pb2_grpc.py View on Github external
request_serializer=messages__pb2.ScenarioExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySpecExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySpecExecutionEnding',
        request_serializer=messages__pb2.SpecExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyExecutionEnding',
        request_serializer=messages__pb2.ExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySuiteResult = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySuiteResult',
        request_serializer=messages__pb2.SuiteExecutionResult.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.Kill = channel.unary_unary(
        '/gauge.messages.Reporter/Kill',
        request_serializer=messages__pb2.KillProcessRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
github getgauge / gauge-python / getgauge / messages / services_pb2_grpc.py View on Github external
response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyStepExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyStepExecutionEnding',
        request_serializer=messages__pb2.StepExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyScenarioExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyScenarioExecutionEnding',
        request_serializer=messages__pb2.ScenarioExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySpecExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySpecExecutionEnding',
        request_serializer=messages__pb2.SpecExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyExecutionEnding',
        request_serializer=messages__pb2.ExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySuiteResult = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySuiteResult',
        request_serializer=messages__pb2.SuiteExecutionResult.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.Kill = channel.unary_unary(
        '/gauge.messages.Reporter/Kill',
        request_serializer=messages__pb2.KillProcessRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
github getgauge / gauge-python / getgauge / messages / lsp_pb2_grpc.py View on Github external
def __init__(self, channel):
    """Constructor.

    Args:
      channel: A grpc.Channel.
    """
    self.GetStepNames = channel.unary_unary(
        '/gauge.messages.lspService/GetStepNames',
        request_serializer=messages__pb2.StepNamesRequest.SerializeToString,
        response_deserializer=messages__pb2.StepNamesResponse.FromString,
        )
    self.CacheFile = channel.unary_unary(
        '/gauge.messages.lspService/CacheFile',
        request_serializer=messages__pb2.CacheFileRequest.SerializeToString,
        response_deserializer=lsp__pb2.Empty.FromString,
        )
    self.GetStepPositions = channel.unary_unary(
        '/gauge.messages.lspService/GetStepPositions',
        request_serializer=messages__pb2.StepPositionsRequest.SerializeToString,
        response_deserializer=messages__pb2.StepPositionsResponse.FromString,
        )
    self.GetImplementationFiles = channel.unary_unary(
        '/gauge.messages.lspService/GetImplementationFiles',
        request_serializer=lsp__pb2.Empty.SerializeToString,
        response_deserializer=messages__pb2.ImplementationFileListResponse.FromString,
github getgauge / gauge-python / getgauge / messages / services_pb2_grpc.py View on Github external
request_serializer=messages__pb2.SpecExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyExecutionEnding = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyExecutionEnding',
        request_serializer=messages__pb2.ExecutionEndingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySuiteResult = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySuiteResult',
        request_serializer=messages__pb2.SuiteExecutionResult.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.Kill = channel.unary_unary(
        '/gauge.messages.Reporter/Kill',
        request_serializer=messages__pb2.KillProcessRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
github getgauge / gauge-python / getgauge / messages / services_pb2_grpc.py View on Github external
def __init__(self, channel):
    """Constructor.

    Args:
      channel: A grpc.Channel.
    """
    self.NotifyExecutionStarting = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyExecutionStarting',
        request_serializer=messages__pb2.ExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifySpecExecutionStarting = channel.unary_unary(
        '/gauge.messages.Reporter/NotifySpecExecutionStarting',
        request_serializer=messages__pb2.SpecExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyScenarioExecutionStarting = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyScenarioExecutionStarting',
        request_serializer=messages__pb2.ScenarioExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
        )
    self.NotifyStepExecutionStarting = channel.unary_unary(
        '/gauge.messages.Reporter/NotifyStepExecutionStarting',
        request_serializer=messages__pb2.StepExecutionStartingRequest.SerializeToString,
        response_deserializer=messages__pb2.Empty.FromString,
github getgauge / gauge-python / getgauge / messages / services_pb2.py View on Github external
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='services.proto',
  package='gauge.messages',
  syntax='proto3',
  serialized_options=_b('\n\026com.thoughtworks.gauge\252\002\016Gauge.Messages'),
  serialized_pb=_b('\n\x0eservices.proto\x12\x0egauge.messages\x1a\x0emessages.proto2\xb5\x10\n\x06Runner\x12Y\n\x0cValidateStep\x12#.gauge.messages.StepValidateRequest\x1a$.gauge.messages.StepValidateResponse\x12Z\n\x18InitializeSuiteDataStore\x12\x15.gauge.messages.Empty\x1a\'.gauge.messages.ExecutionStatusResponse\x12\x63\n\x0eStartExecution\x12(.gauge.messages.ExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12Y\n\x17InitializeSpecDataStore\x12\x15.gauge.messages.Empty\x1a\'.gauge.messages.ExecutionStatusResponse\x12k\n\x12StartSpecExecution\x12,.gauge.messages.SpecExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12]\n\x1bInitializeScenarioDataStore\x12\x15.gauge.messages.Empty\x1a\'.gauge.messages.ExecutionStatusResponse\x12s\n\x16StartScenarioExecution\x12\x30.gauge.messages.ScenarioExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12k\n\x12StartStepExecution\x12,.gauge.messages.StepExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12Z\n\x0b\x45xecuteStep\x12\".gauge.messages.ExecuteStepRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12j\n\x13\x46inishStepExecution\x12*.gauge.messages.StepExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12r\n\x17\x46inishScenarioExecution\x12..gauge.messages.ScenarioExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12j\n\x13\x46inishSpecExecution\x12*.gauge.messages.SpecExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12\x62\n\x0f\x46inishExecution\x12&.gauge.messages.ExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12\x44\n\tCacheFile\x12 .gauge.messages.CacheFileRequest\x1a\x15.gauge.messages.Empty\x12P\n\x0bGetStepName\x12\x1f.gauge.messages.StepNameRequest\x1a .gauge.messages.StepNameResponse\x12_\n\x0fGetGlobPatterns\x12\x15.gauge.messages.Empty\x1a\x35.gauge.messages.ImplementationFileGlobPatternResponse\x12S\n\x0cGetStepNames\x12 .gauge.messages.StepNamesRequest\x1a!.gauge.messages.StepNamesResponse\x12_\n\x10GetStepPositions\x12$.gauge.messages.StepPositionsRequest\x1a%.gauge.messages.StepPositionsResponse\x12_\n\x16GetImplementationFiles\x12\x15.gauge.messages.Empty\x1a..gauge.messages.ImplementationFileListResponse\x12X\n\rImplementStub\x12-.gauge.messages.StubImplementationCodeRequest\x1a\x18.gauge.messages.FileDiff\x12M\n\x08Refactor\x12\x1f.gauge.messages.RefactorRequest\x1a .gauge.messages.RefactorResponse\x12\x41\n\x04Kill\x12\".gauge.messages.KillProcessRequest\x1a\x15.gauge.messages.Empty2\xaf\x07\n\x08Reporter\x12Z\n\x17NotifyExecutionStarting\x12(.gauge.messages.ExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12\x62\n\x1bNotifySpecExecutionStarting\x12,.gauge.messages.SpecExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12j\n\x1fNotifyScenarioExecutionStarting\x12\x30.gauge.messages.ScenarioExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12\x62\n\x1bNotifyStepExecutionStarting\x12,.gauge.messages.StepExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12^\n\x19NotifyStepExecutionEnding\x12*.gauge.messages.StepExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12\x66\n\x1dNotifyScenarioExecutionEnding\x12..gauge.messages.ScenarioExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12^\n\x19NotifySpecExecutionEnding\x12*.gauge.messages.SpecExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12V\n\x15NotifyExecutionEnding\x12&.gauge.messages.ExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12P\n\x11NotifySuiteResult\x12$.gauge.messages.SuiteExecutionResult\x1a\x15.gauge.messages.Empty\x12\x41\n\x04Kill\x12\".gauge.messages.KillProcessRequest\x1a\x15.gauge.messages.EmptyB)\n\x16\x63om.thoughtworks.gauge\xaa\x02\x0eGauge.Messagesb\x06proto3')
  ,
  dependencies=[messages__pb2.DESCRIPTOR,])



_sym_db.RegisterFileDescriptor(DESCRIPTOR)


DESCRIPTOR._options = None

_RUNNER = _descriptor.ServiceDescriptor(
  name='Runner',
  full_name='gauge.messages.Runner',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  serialized_start=51,
  serialized_end=2152,