147 lines
5.9 KiB
Erlang
147 lines
5.9 KiB
Erlang
%% -*- coding: utf-8 -*-
|
|
%% Automatically generated, do not edit
|
|
%% Generated by gpb_compile version 4.21.1
|
|
|
|
-ifndef(message_pb).
|
|
-define(message_pb, true).
|
|
|
|
-define(message_pb_gpb_version, "4.21.1").
|
|
|
|
|
|
-ifndef('AUTH_REQUEST_PB_H').
|
|
-define('AUTH_REQUEST_PB_H', true).
|
|
-record(auth_request,
|
|
{uuid = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
username = <<>> :: unicode:chardata() | undefined, % = 2, optional
|
|
salt = <<>> :: unicode:chardata() | undefined, % = 4, optional
|
|
token = <<>> :: unicode:chardata() | undefined, % = 5, optional
|
|
timestamp = 0 :: non_neg_integer() | undefined % = 6, optional, 32 bits
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('AUTH_REPLY_PB_H').
|
|
-define('AUTH_REPLY_PB_H', true).
|
|
-record(auth_reply,
|
|
{code = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits
|
|
message = <<>> :: unicode:chardata() | undefined, % = 2, optional
|
|
repository_url = <<>> :: unicode:chardata() | undefined % = 3, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('ACTIVATE_PUSH_PB_H').
|
|
-define('ACTIVATE_PUSH_PB_H', true).
|
|
-record(activate_push,
|
|
{auth = false :: boolean() | 0 | 1 | undefined % = 1, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('DEPLOY_PB_H').
|
|
-define('DEPLOY_PB_H', true).
|
|
-record(deploy,
|
|
{task_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits
|
|
from = <<>> :: unicode:chardata() | undefined, % = 2, optional
|
|
service_id = <<>> :: unicode:chardata() | undefined % = 3, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('EFKA_RESPONSE_PB_H').
|
|
-define('EFKA_RESPONSE_PB_H', true).
|
|
-record(efka_response,
|
|
{code = 0 :: integer() | undefined, % = 1, optional, 32 bits
|
|
result = <<>> :: unicode:chardata() | undefined, % = 2, optional
|
|
message = <<>> :: unicode:chardata() | undefined % = 3, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('TOPIC_MESSAGE_PB_H').
|
|
-define('TOPIC_MESSAGE_PB_H', true).
|
|
-record(topic_message,
|
|
{topic = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
content = <<>> :: unicode:chardata() | undefined % = 2, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('SERVICE_PARAMS_PB_H').
|
|
-define('SERVICE_PARAMS_PB_H', true).
|
|
-record(service_params,
|
|
{service_id = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
params = <<>> :: unicode:chardata() | undefined % = 2, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('SERVICE_METRICS_PB_H').
|
|
-define('SERVICE_METRICS_PB_H', true).
|
|
-record(service_metrics,
|
|
{service_id = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
metrics = <<>> :: unicode:chardata() | undefined % = 2, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('DATA_PB_H').
|
|
-define('DATA_PB_H', true).
|
|
-record(data,
|
|
{service_id = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
metric = <<>> :: unicode:chardata() | undefined % = 2, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('PING_PB_H').
|
|
-define('PING_PB_H', true).
|
|
-record(ping,
|
|
{adcode = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
boot_time = 0 :: non_neg_integer() | undefined, % = 2, optional, 32 bits
|
|
province = <<>> :: unicode:chardata() | undefined, % = 3, optional
|
|
city = <<>> :: unicode:chardata() | undefined, % = 4, optional
|
|
efka_version = <<>> :: unicode:chardata() | undefined, % = 5, optional
|
|
kernel_arch = <<>> :: unicode:chardata() | undefined, % = 6, optional
|
|
ips = [] :: [unicode:chardata()] | undefined, % = 7, repeated
|
|
cpu_core = 0 :: non_neg_integer() | undefined, % = 8, optional, 32 bits
|
|
cpu_load = 0 :: non_neg_integer() | undefined, % = 9, optional, 32 bits
|
|
cpu_temperature = 0.0 :: float() | integer() | infinity | '-infinity' | nan | undefined, % = 10, optional
|
|
disk = [] :: [integer()] | undefined, % = 11, repeated, 32 bits
|
|
memory = [] :: [integer()] | undefined, % = 12, repeated, 32 bits
|
|
interfaces = <<>> :: unicode:chardata() | undefined % = 13, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('SERVICE_INFORM_PB_H').
|
|
-define('SERVICE_INFORM_PB_H', true).
|
|
-record(service_inform,
|
|
{service_id = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
props = <<>> :: unicode:chardata() | undefined, % = 2, optional
|
|
status = 0 :: non_neg_integer() | undefined, % = 3, optional, 32 bits
|
|
timestamp = 0 :: non_neg_integer() | undefined % = 4, optional, 32 bits
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('FEEDBACK_PHASE_PB_H').
|
|
-define('FEEDBACK_PHASE_PB_H', true).
|
|
-record(feedback_phase,
|
|
{task_id = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
timestamp = 0 :: non_neg_integer() | undefined, % = 2, optional, 32 bits
|
|
phase = <<>> :: unicode:chardata() | undefined, % = 3, optional
|
|
code = 0 :: non_neg_integer() | undefined, % = 4, optional, 32 bits
|
|
message = <<>> :: unicode:chardata() | undefined % = 5, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('EVENT_PB_H').
|
|
-define('EVENT_PB_H', true).
|
|
-record(event,
|
|
{service_id = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
event_type = 0 :: non_neg_integer() | undefined, % = 2, optional, 32 bits
|
|
params = <<>> :: unicode:chardata() | undefined % = 3, optional
|
|
}).
|
|
-endif.
|
|
|
|
-ifndef('AI_EVENT_PB_H').
|
|
-define('AI_EVENT_PB_H', true).
|
|
-record(ai_event,
|
|
{service_id = <<>> :: unicode:chardata() | undefined, % = 1, optional
|
|
event_type = 0 :: non_neg_integer() | undefined, % = 2, optional, 32 bits
|
|
params = <<>> :: unicode:chardata() | undefined % = 3, optional
|
|
}).
|
|
-endif.
|
|
|
|
-endif.
|