syntax = "proto3"; package onprem.user.v1; option go_package = "gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; message DeviceTunnelCollectMetricsRequest { string device_id = 1; } message DeviceTunnelCollectMetricsResponse { string metrics_in_prometheus_line_format = 1; } message DeviceTunnelNetworkRequest { message Http { enum Method { Head = 0; Delete = 1; Get = 2; Options = 3; Post = 4; Put = 5; } Method method = 1; string url = 2; map headers = 3; bytes body = 4; } oneof message_type { Http http = 1; } string device_id = 2; } message DeviceTunnelNetworkResponse { message Http { uint32 status_code = 1; map headers = 2; bytes body = 3; } oneof message_type { Http http = 1; } }