File: rpc_pb.rb

package info (click to toggle)
gitlab-agent 16.1.3-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 6,324 kB
  • sloc: makefile: 175; sh: 52; ruby: 3
file content (32 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: internal/module/agent_tracker/rpc/rpc.proto

require 'google/protobuf'

require 'internal/module/agent_tracker/agent_tracker_pb'
require 'validate/validate_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("internal/module/agent_tracker/rpc/rpc.proto", :syntax => :proto3) do
    add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest" do
      oneof :request do
        optional :project_id, :int64, 1, json_name: "projectId"
        optional :agent_id, :int64, 2, json_name: "agentId"
      end
    end
    add_message "gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse" do
      repeated :agents, :message, 1, "gitlab.agent.agent_tracker.ConnectedAgentInfo", json_name: "agents"
    end
  end
end

module Gitlab
  module Agent
    module AgentTracker
      module Rpc
        GetConnectedAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsRequest").msgclass
        GetConnectedAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.agent_tracker.rpc.GetConnectedAgentsResponse").msgclass
      end
    end
  end
end