# Code generated by protoc-gen-twirp_ruby 1.0.0, DO NOT EDIT.
require 'twirp'
require_relative 'service_pb.rb'

module Code
  module Justin
    module Tv
      module Commerce
        module Prometheus
          class PrometheusService < Twirp::Service
            package 'code.justin.tv.commerce.prometheus'
            service 'Prometheus'
            rpc :HealthCheck, HealthCheckReq, HealthCheckResp, :ruby_method => :health_check
            rpc :ElasticsearchPing, ElasticsearchPingReq, ElasticsearchPingResp, :ruby_method => :elasticsearch_ping
            rpc :PublishEvent, PublishEventReq, PublishEventResp, :ruby_method => :publish_event
            rpc :PublishEvents, PublishEventsReq, PublishEventsResp, :ruby_method => :publish_events
            rpc :Search, SearchReq, SearchResp, :ruby_method => :search
            rpc :GetEventSubtypes, GetEventSubtypesReq, GetEventSubtypesResp, :ruby_method => :get_event_subtypes
            rpc :GenerateSearchReport, GenerateSearchReportReq, GenerateSearchReportResp, :ruby_method => :generate_search_report
          end

          class PrometheusClient < Twirp::Client
            client_for PrometheusService
          end
        end
      end
    end
  end
end
