# encoding: utf-8
##
# This file is auto-generated. DO NOT EDIT!
#
require 'protobuf'
module Cucumber
module Messages
::Protobuf::Optionable.inject(self) { ::Google::Protobuf::FileOptions }
##
# Enum Classes
#
class SourcesOrderType < ::Protobuf::Enum
define :ORDER_OF_DEFINITION, 0
define :RANDOM, 1
end
class StepDefinitionPatternType < ::Protobuf::Enum
define :CUCUMBER_EXPRESSION, 0
define :REGULAR_EXPRESSION, 1
end
##
# Message Classes
#
class Timestamp < ::Protobuf::Message; end
class Duration < ::Protobuf::Message; end
class Envelope < ::Protobuf::Message; end
class Location < ::Protobuf::Message; end
class SourceReference < ::Protobuf::Message; end
class Source < ::Protobuf::Message; end
class GherkinDocument < ::Protobuf::Message
class Comment < ::Protobuf::Message; end
class Feature < ::Protobuf::Message
class Tag < ::Protobuf::Message; end
class FeatureChild < ::Protobuf::Message
class Rule < ::Protobuf::Message; end
class RuleChild < ::Protobuf::Message; end
end
class Background < ::Protobuf::Message; end
class Scenario < ::Protobuf::Message
class Examples < ::Protobuf::Message; end
end
class TableRow < ::Protobuf::Message
class TableCell < ::Protobuf::Message; end
end
class Step < ::Protobuf::Message
class DataTable < ::Protobuf::Message; end
class DocString < ::Protobuf::Message; end
end
end
end
class Attachment < ::Protobuf::Message
class ContentEncoding < ::Protobuf::Enum
define :IDENTITY, 0
define :BASE64, 1
end
end
class Pickle < ::Protobuf::Message
class PickleTag < ::Protobuf::Message; end
class PickleStep < ::Protobuf::Message; end
end
class PickleStepArgument < ::Protobuf::Message
class PickleDocString < ::Protobuf::Message; end
class PickleTable < ::Protobuf::Message
class PickleTableRow < ::Protobuf::Message
class PickleTableCell < ::Protobuf::Message; end
end
end
end
class TestCase < ::Protobuf::Message
class TestStep < ::Protobuf::Message
class StepMatchArgumentsList < ::Protobuf::Message; end
end
end
class PickleAccepted < ::Protobuf::Message; end
class PickleRejected < ::Protobuf::Message; end
class TestRunStarted < ::Protobuf::Message; end
class TestCasePreparedStep < ::Protobuf::Message; end
class TestCasePrepared < ::Protobuf::Message; end
class TestCaseStarted < ::Protobuf::Message
class Platform < ::Protobuf::Message; end
end
class TestCaseFinished < ::Protobuf::Message; end
class TestStepStarted < ::Protobuf::Message; end
class TestStepFinished < ::Protobuf::Message; end
class TestStepResult < ::Protobuf::Message
class Status < ::Protobuf::Enum
define :UNKNOWN, 0
define :PASSED, 1
define :SKIPPED, 2
define :PENDING, 3
define :UNDEFINED, 4
define :AMBIGUOUS, 5
define :FAILED, 6
end
end
class TestRunFinished < ::Protobuf::Message; end
class CommandStart < ::Protobuf::Message; end
class SourcesConfig < ::Protobuf::Message; end
class SourcesFilterConfig < ::Protobuf::Message; end
class UriToLinesMapping < ::Protobuf::Message; end
class SourcesOrder < ::Protobuf::Message; end
class RuntimeConfig < ::Protobuf::Message; end
class SupportCodeConfig < ::Protobuf::Message; end
class Hook < ::Protobuf::Message; end
class StepDefinition < ::Protobuf::Message; end
class StepDefinitionPattern < ::Protobuf::Message; end
class ParameterType < ::Protobuf::Message; end
class UndefinedParameterType < ::Protobuf::Message; end
class CommandActionComplete < ::Protobuf::Message; end
class CommandRunBeforeTestRunHooks < ::Protobuf::Message; end
class CommandRunAfterTestRunHooks < ::Protobuf::Message; end
class CommandInitializeTestCase < ::Protobuf::Message; end
class CommandRunBeforeTestCaseHook < ::Protobuf::Message; end
class CommandRunAfterTestCaseHook < ::Protobuf::Message; end
class CommandRunTestStep < ::Protobuf::Message; end
class StepMatchArgument < ::Protobuf::Message
class Group < ::Protobuf::Message; end
end
class CommandGenerateSnippet < ::Protobuf::Message; end
class GeneratedExpression < ::Protobuf::Message; end
##
# File Options
#
set_option :go_package, "messages"
##
# Message Fields
#
class Timestamp
optional :int64, :seconds, 1
optional :int32, :nanos, 2
end
class Duration
optional :int64, :seconds, 1
optional :int32, :nanos, 2
end
class Envelope
optional ::Cucumber::Messages::Source, :source, 1
optional ::Cucumber::Messages::GherkinDocument, :gherkin_document, 2
optional ::Cucumber::Messages::Pickle, :pickle, 3
optional ::Cucumber::Messages::Attachment, :attachment, 4
optional ::Cucumber::Messages::TestCaseStarted, :test_case_started, 5
optional ::Cucumber::Messages::TestStepStarted, :test_step_started, 6
optional ::Cucumber::Messages::TestStepFinished, :test_step_finished, 7
optional ::Cucumber::Messages::TestCaseFinished, :test_case_finished, 8
optional ::Cucumber::Messages::PickleAccepted, :pickle_accepted, 9
optional ::Cucumber::Messages::PickleRejected, :pickle_rejected, 10
optional ::Cucumber::Messages::TestCasePrepared, :test_case_prepared, 11
optional ::Cucumber::Messages::TestRunStarted, :test_run_started, 12
optional ::Cucumber::Messages::TestRunFinished, :test_run_finished, 13
optional ::Cucumber::Messages::CommandStart, :command_start, 14
optional ::Cucumber::Messages::CommandActionComplete, :command_action_complete, 15
optional ::Cucumber::Messages::CommandRunBeforeTestRunHooks, :command_run_before_test_run_hooks, 16
optional ::Cucumber::Messages::CommandInitializeTestCase, :command_initialize_test_case, 17
optional ::Cucumber::Messages::CommandRunBeforeTestCaseHook, :command_run_before_test_case_hook, 18
optional ::Cucumber::Messages::CommandRunTestStep, :command_run_test_step, 19
optional ::Cucumber::Messages::CommandRunAfterTestCaseHook, :command_run_after_test_case_hook, 20
optional ::Cucumber::Messages::CommandRunAfterTestRunHooks, :command_run_after_test_run_hooks, 21
optional ::Cucumber::Messages::CommandGenerateSnippet, :command_generate_snippet, 22
optional :string, :command_error, 23
optional ::Cucumber::Messages::TestCase, :test_case, 24
optional ::Cucumber::Messages::StepDefinition, :step_definition, 25
optional ::Cucumber::Messages::Hook, :hook, 26
optional ::Cucumber::Messages::ParameterType, :parameter_type, 27
optional ::Cucumber::Messages::UndefinedParameterType, :undefined_parameter_type, 28
end
class Location
optional :uint32, :line, 1
optional :uint32, :column, 2
end
class SourceReference
optional :string, :uri, 1
optional ::Cucumber::Messages::Location, :location, 2
end
class Source
optional :string, :uri, 1
optional :string, :data, 2
optional :string, :media_type, 4
end
class GherkinDocument
class Comment
optional ::Cucumber::Messages::Location, :location, 1
optional :string, :text, 2
end
class Feature
class Tag
optional ::Cucumber::Messages::Location, :location, 1
optional :string, :name, 2
optional :string, :id, 3
end
class FeatureChild
class Rule
optional ::Cucumber::Messages::Location, :location, 1
optional :string, :keyword, 2
optional :string, :name, 3
optional :string, :description, 4
repeated ::Cucumber::Messages::GherkinDocument::Feature::FeatureChild::RuleChild, :children, 5
end
class RuleChild
optional ::Cucumber::Messages::GherkinDocument::Feature::Background, :background, 1
optional ::Cucumber::Messages::GherkinDocument::Feature::Scenario, :scenario, 2
end
optional ::Cucumber::Messages::GherkinDocument::Feature::FeatureChild::Rule, :rule, 1
optional ::Cucumber::Messages::GherkinDocument::Feature::Background, :background, 2
optional ::Cucumber::Messages::GherkinDocument::Feature::Scenario, :scenario, 3
end
class Background
optional ::Cucumber::Messages::Location, :location, 1
optional :string, :keyword, 2
optional :string, :name, 3
optional :string, :description, 4
repeated ::Cucumber::Messages::GherkinDocument::Feature::Step, :steps, 5
end
class Scenario
class Examples
optional ::Cucumber::Messages::Location, :location, 1
repeated ::Cucumber::Messages::GherkinDocument::Feature::Tag, :tags, 2
optional :string, :keyword, 3
optional :string, :name, 4
optional :string, :description, 5
optional ::Cucumber::Messages::GherkinDocument::Feature::TableRow, :table_header, 6
repeated ::Cucumber::Messages::GherkinDocument::Feature::TableRow, :table_body, 7
end
optional ::Cucumber::Messages::Location, :location, 1
repeated ::Cucumber::Messages::GherkinDocument::Feature::Tag, :tags, 2
optional :string, :keyword, 3
optional :string, :name, 4
optional :string, :description, 5
repeated ::Cucumber::Messages::GherkinDocument::Feature::Step, :steps, 6
repeated ::Cucumber::Messages::GherkinDocument::Feature::Scenario::Examples, :examples, 7
optional :string, :id, 8
end
class TableRow
class TableCell
optional ::Cucumber::Messages::Location, :location, 1
optional :string, :value, 2
end
optional ::Cucumber::Messages::Location, :location, 1
repeated ::Cucumber::Messages::GherkinDocument::Feature::TableRow::TableCell, :cells, 2
optional :string, :id, 3
end
class Step
class DataTable
optional ::Cucumber::Messages::Location, :location, 1
repeated ::Cucumber::Messages::GherkinDocument::Feature::TableRow, :rows, 2
end
class DocString
optional ::Cucumber::Messages::Location, :location, 1
optional :string, :media_type, 2
optional :string, :content, 3
optional :string, :delimiter, 4
end
optional ::Cucumber::Messages::Location, :location, 1
optional :string, :keyword, 2
optional :string, :text, 3
optional ::Cucumber::Messages::GherkinDocument::Feature::Step::DocString, :doc_string, 5
optional ::Cucumber::Messages::GherkinDocument::Feature::Step::DataTable, :data_table, 6
optional :string, :id, 7
end
optional ::Cucumber::Messages::Location, :location, 1
repeated ::Cucumber::Messages::GherkinDocument::Feature::Tag, :tags, 2
optional :string, :language, 3
optional :string, :keyword, 4
optional :string, :name, 5
optional :string, :description, 6
repeated ::Cucumber::Messages::GherkinDocument::Feature::FeatureChild, :children, 7
end
optional :string, :uri, 1
optional ::Cucumber::Messages::GherkinDocument::Feature, :feature, 2
repeated ::Cucumber::Messages::GherkinDocument::Comment, :comments, 3
end
class Attachment
optional ::Cucumber::Messages::SourceReference, :source, 1
optional :string, :test_step_id, 4
optional :string, :test_case_started_id, 5
optional :string, :body, 6
optional :string, :media_type, 7
optional ::Cucumber::Messages::Attachment::ContentEncoding, :content_encoding, 8
end
class Pickle
class PickleTag
optional :string, :name, 1
optional :string, :ast_node_id, 2
end
class PickleStep
optional :string, :text, 1
optional ::Cucumber::Messages::PickleStepArgument, :argument, 2
optional :string, :id, 3
repeated :string, :ast_node_ids, 4
end
optional :string, :id, 1
optional :string, :uri, 2
optional :string, :name, 3
optional :string, :language, 4
repeated ::Cucumber::Messages::Pickle::PickleStep, :steps, 5
repeated ::Cucumber::Messages::Pickle::PickleTag, :tags, 6
repeated :string, :ast_node_ids, 7
end
class PickleStepArgument
class PickleDocString
optional :string, :media_type, 1
optional :string, :content, 2
end
class PickleTable
class PickleTableRow
class PickleTableCell
optional :string, :value, 1
end
repeated ::Cucumber::Messages::PickleStepArgument::PickleTable::PickleTableRow::PickleTableCell, :cells, 1
end
repeated ::Cucumber::Messages::PickleStepArgument::PickleTable::PickleTableRow, :rows, 1
end
optional ::Cucumber::Messages::PickleStepArgument::PickleDocString, :doc_string, 1
optional ::Cucumber::Messages::PickleStepArgument::PickleTable, :data_table, 2
end
class TestCase
class TestStep
class StepMatchArgumentsList
repeated ::Cucumber::Messages::StepMatchArgument, :step_match_arguments, 1
end
optional :string, :id, 1
optional :string, :pickle_step_id, 2
repeated :string, :step_definition_ids, 3
repeated ::Cucumber::Messages::TestCase::TestStep::StepMatchArgumentsList, :step_match_arguments_lists, 4
optional :string, :hook_id, 5
end
optional :string, :id, 1
optional :string, :pickle_id, 2
repeated ::Cucumber::Messages::TestCase::TestStep, :test_steps, 3
end
class PickleAccepted
optional :string, :pickle_id, 1
end
class PickleRejected
optional :string, :pickle_id, 2
end
class TestRunStarted
optional ::Cucumber::Messages::Timestamp, :timestamp, 1
end
class TestCasePreparedStep
optional ::Cucumber::Messages::SourceReference, :source_location, 1
optional ::Cucumber::Messages::SourceReference, :action_location, 2
end
class TestCasePrepared
optional :string, :pickle_id, 1
repeated ::Cucumber::Messages::TestCasePreparedStep, :steps, 2
end
class TestCaseStarted
class Platform
optional :string, :implementation, 1
optional :string, :version, 2
optional :string, :os, 3
optional :string, :cpu, 4
end
optional ::Cucumber::Messages::Timestamp, :timestamp, 1
optional ::Cucumber::Messages::TestCaseStarted::Platform, :platform, 2
optional :uint32, :attempt, 3
optional :string, :test_case_id, 4
optional :string, :id, 5
end
class TestCaseFinished
optional ::Cucumber::Messages::Timestamp, :timestamp, 1
optional :string, :test_case_started_id, 3
end
class TestStepStarted
optional ::Cucumber::Messages::Timestamp, :timestamp, 1
optional :string, :test_step_id, 2
optional :string, :test_case_started_id, 3
end
class TestStepFinished
optional ::Cucumber::Messages::TestStepResult, :test_step_result, 1
optional ::Cucumber::Messages::Timestamp, :timestamp, 2
optional :string, :test_step_id, 3
optional :string, :test_case_started_id, 4
end
class TestStepResult
optional ::Cucumber::Messages::TestStepResult::Status, :status, 1
optional :string, :message, 2
optional ::Cucumber::Messages::Duration, :duration, 3
optional :bool, :will_be_retried, 4
end
class TestRunFinished
optional :bool, :success, 1
optional ::Cucumber::Messages::Timestamp, :timestamp, 2
optional :string, :message, 3
end
class CommandStart
optional :string, :base_directory, 2
optional ::Cucumber::Messages::SourcesConfig, :sources_config, 3
optional ::Cucumber::Messages::RuntimeConfig, :runtime_config, 4
optional ::Cucumber::Messages::SupportCodeConfig, :support_code_config, 5
end
class SourcesConfig
repeated :string, :absolute_paths, 1
optional :string, :language, 2
optional ::Cucumber::Messages::SourcesFilterConfig, :filters, 3
optional ::Cucumber::Messages::SourcesOrder, :order, 4
end
class SourcesFilterConfig
optional :string, :tag_expression, 1
repeated :string, :name_regular_expressions, 2
repeated ::Cucumber::Messages::UriToLinesMapping, :uri_to_lines_mapping, 3
end
class UriToLinesMapping
optional :string, :absolute_path, 1
repeated :uint64, :lines, 2
end
class SourcesOrder
optional ::Cucumber::Messages::SourcesOrderType, :type, 1
optional :uint64, :seed, 2
end
class RuntimeConfig
optional :bool, :is_fail_fast, 1
optional :bool, :is_dry_run, 2
optional :bool, :is_strict, 3
optional :uint64, :max_parallel, 4
end
class SupportCodeConfig
repeated ::Cucumber::Messages::Hook, :before_test_case_hooks, 1
repeated ::Cucumber::Messages::Hook, :after_test_case_hooks, 2
repeated ::Cucumber::Messages::StepDefinition, :step_definitions, 3
repeated ::Cucumber::Messages::ParameterType, :parameter_types, 4
end
class Hook
optional :string, :id, 1
optional :string, :tag_expression, 2
optional ::Cucumber::Messages::SourceReference, :source_reference, 3
end
class StepDefinition
optional :string, :id, 1
optional ::Cucumber::Messages::StepDefinitionPattern, :pattern, 2
optional ::Cucumber::Messages::SourceReference, :source_reference, 3
end
class StepDefinitionPattern
optional :string, :source, 1
optional ::Cucumber::Messages::StepDefinitionPatternType, :type, 2
end
class ParameterType
optional :string, :name, 1
repeated :string, :regular_expressions, 2
optional :bool, :prefer_for_regular_expression_match, 3
optional :bool, :use_for_snippets, 4
end
class UndefinedParameterType
optional :string, :name, 1
optional :string, :expression, 2
end
class CommandActionComplete
optional :string, :completed_id, 1
optional ::Cucumber::Messages::TestStepResult, :test_step_result, 2
optional :string, :snippet, 3
end
class CommandRunBeforeTestRunHooks
optional :string, :action_id, 1
end
class CommandRunAfterTestRunHooks
optional :string, :action_id, 1
end
class CommandInitializeTestCase
optional :string, :action_id, 1
optional ::Cucumber::Messages::Pickle, :pickle, 2
end
class CommandRunBeforeTestCaseHook
optional :string, :action_id, 1
optional :string, :hook_id, 2
optional :string, :test_case_id, 3
end
class CommandRunAfterTestCaseHook
optional :string, :action_id, 1
optional :string, :hook_id, 2
optional :string, :test_case_id, 3
end
class CommandRunTestStep
optional :string, :action_id, 1
optional :string, :step_definition_id, 2
repeated ::Cucumber::Messages::StepMatchArgument, :step_match_arguments, 3
optional ::Cucumber::Messages::PickleStepArgument, :pickle_step_argument, 4
optional :string, :test_case_id, 5
end
class StepMatchArgument
class Group
optional :uint32, :start, 1
optional :string, :value, 2
repeated ::Cucumber::Messages::StepMatchArgument::Group, :children, 3
end
optional :string, :parameter_type_name, 1
optional ::Cucumber::Messages::StepMatchArgument::Group, :group, 2
end
class CommandGenerateSnippet
optional :string, :action_id, 1
repeated ::Cucumber::Messages::GeneratedExpression, :generated_expressions, 2
optional ::Cucumber::Messages::PickleStepArgument, :pickle_step_argument, 3
end
class GeneratedExpression
optional :string, :text, 1
repeated :string, :parameter_type_names, 2
end
end
end