%% -*- coding: utf-8 -*- %% Automatically generated, do not edit %% Generated by gpb_compile version 4.21.7 -ifndef(message_pb). -define(message_pb, true). -define(message_pb_gpb_version, "4.21.7"). -ifndef('REQUEST.AUTHREQUEST_PB_H'). -define('REQUEST.AUTHREQUEST_PB_H', true). -record('Request.AuthRequest', {uuid = <<>> :: iodata() | undefined, % = 1, optional token = <<>> :: iodata() | undefined, % = 2, optional timestamp = 0 :: non_neg_integer() | undefined % = 3, optional, 64 bits }). -endif. -ifndef('REQUEST_PB_H'). -define('REQUEST_PB_H', true). -record('Request', {packet_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits body :: {auth_request, message_pb:'Request.AuthRequest'()} | undefined % oneof }). -endif. -ifndef('RESPONSE.ERROR_PB_H'). -define('RESPONSE.ERROR_PB_H', true). -record('Response.Error', {code = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits reason = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('RESPONSE.AUTHRESPONSE_PB_H'). -define('RESPONSE.AUTHRESPONSE_PB_H', true). -record('Response.AuthResponse', { }). -endif. -ifndef('RESPONSE_PB_H'). -define('RESPONSE_PB_H', true). -record('Response', {packet_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits body :: {auth_response, message_pb:'Response.AuthResponse'()} | {error, message_pb:'Response.Error'()} | undefined % oneof }). -endif. -ifndef('COMMAND.CONTAINER_PB_H'). -define('COMMAND.CONTAINER_PB_H', true). -record('Command.Container', {action :: {list, message_pb:'Command.Container.ContainerList'()} | {deploy, message_pb:'Command.Container.ContainerDeploy'()} | {start, message_pb:'Command.Container.ContainerStart'()} | {stop, message_pb:'Command.Container.ContainerStop'()} | {kill, message_pb:'Command.Container.ContainerKill'()} | {remove, message_pb:'Command.Container.ContainerRemove'()} | {config, message_pb:'Command.Container.ContainerConfig'()} | undefined % oneof }). -endif. -ifndef('COMMAND.CONTAINER.CONTAINERCONFIG_PB_H'). -define('COMMAND.CONTAINER.CONTAINERCONFIG_PB_H', true). -record('Command.Container.ContainerConfig', {target = undefined :: message_pb:'Command.Container.ContainerTarget'() | undefined, % = 1, optional config = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('COMMAND.CONTAINER.CONTAINERREMOVE_PB_H'). -define('COMMAND.CONTAINER.CONTAINERREMOVE_PB_H', true). -record('Command.Container.ContainerRemove', {target = undefined :: message_pb:'Command.Container.ContainerTarget'() | undefined, % = 1, optional force = false :: boolean() | 0 | 1 | undefined, % = 2, optional remove_volumes = false :: boolean() | 0 | 1 | undefined % = 3, optional }). -endif. -ifndef('COMMAND.CONTAINER.CONTAINERKILL_PB_H'). -define('COMMAND.CONTAINER.CONTAINERKILL_PB_H', true). -record('Command.Container.ContainerKill', {target = undefined :: message_pb:'Command.Container.ContainerTarget'() | undefined, % = 1, optional signal = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('COMMAND.CONTAINER.CONTAINERSTOP_PB_H'). -define('COMMAND.CONTAINER.CONTAINERSTOP_PB_H', true). -record('Command.Container.ContainerStop', {target = undefined :: message_pb:'Command.Container.ContainerTarget'() | undefined, % = 1, optional timeout_seconds = 0 :: non_neg_integer() | undefined % = 2, optional, 32 bits }). -endif. -ifndef('COMMAND.CONTAINER.CONTAINERSTART_PB_H'). -define('COMMAND.CONTAINER.CONTAINERSTART_PB_H', true). -record('Command.Container.ContainerStart', {target = undefined :: message_pb:'Command.Container.ContainerTarget'() | undefined % = 1, optional }). -endif. -ifndef('COMMAND.CONTAINER.CONTAINERDEPLOY_PB_H'). -define('COMMAND.CONTAINER.CONTAINERDEPLOY_PB_H', true). -record('Command.Container.ContainerDeploy', {task_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits params = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('COMMAND.CONTAINER.CONTAINERLIST_PB_H'). -define('COMMAND.CONTAINER.CONTAINERLIST_PB_H', true). -record('Command.Container.ContainerList', { }). -endif. -ifndef('COMMAND.CONTAINER.CONTAINERTARGET_PB_H'). -define('COMMAND.CONTAINER.CONTAINERTARGET_PB_H', true). -record('Command.Container.ContainerTarget', {name = <<>> :: iodata() | undefined, % = 1, optional id = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('COMMAND_PB_H'). -define('COMMAND_PB_H', true). -record('Command', {packet_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits body :: {container, message_pb:'Command.Container'()} | undefined % oneof }). -endif. -ifndef('COMMANDRESPONSE.ERROR_PB_H'). -define('COMMANDRESPONSE.ERROR_PB_H', true). -record('CommandResponse.Error', {code = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits reason = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('COMMANDRESPONSE_PB_H'). -define('COMMANDRESPONSE_PB_H', true). -record('CommandResponse', {packet_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits body :: {result, iodata()} | {error, message_pb:'CommandResponse.Error'()} | undefined % oneof }). -endif. -ifndef('MESSAGE.PING_PB_H'). -define('MESSAGE.PING_PB_H', true). -record('Message.Ping', { }). -endif. -ifndef('MESSAGE.PONG_PB_H'). -define('MESSAGE.PONG_PB_H', true). -record('Message.Pong', { }). -endif. -ifndef('MESSAGE.PUB_PB_H'). -define('MESSAGE.PUB_PB_H', true). -record('Message.Pub', {topic = <<>> :: iodata() | undefined, % = 1, optional qos = 0 :: non_neg_integer() | undefined, % = 2, optional, 32 bits content = <<>> :: iodata() | undefined % = 3, optional }). -endif. -ifndef('MESSAGE.METRICDATA_PB_H'). -define('MESSAGE.METRICDATA_PB_H', true). -record('Message.MetricData', {route_key = <<>> :: iodata() | undefined, % = 1, optional metric = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('MESSAGE.TASKEVENT_PB_H'). -define('MESSAGE.TASKEVENT_PB_H', true). -record('Message.TaskEvent', {task_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits type = <<>> :: iodata() | undefined, % = 2, optional stream = <<>> :: iodata() | undefined % = 3, optional }). -endif. -ifndef('MESSAGE_PB_H'). -define('MESSAGE_PB_H', true). -record('Message', {body :: {ping, message_pb:'Message.Ping'()} | {pong, message_pb:'Message.Pong'()} | {pub, message_pb:'Message.Pub'()} | {metric_data, message_pb:'Message.MetricData'()} | {task_event, message_pb:'Message.TaskEvent'()} | undefined % oneof }). -endif. -ifndef('STREAM.OPEN_PB_H'). -define('STREAM.OPEN_PB_H', true). -record('Stream.Open', { }). -endif. -ifndef('STREAM.OPENED_PB_H'). -define('STREAM.OPENED_PB_H', true). -record('Stream.Opened', { }). -endif. -ifndef('STREAM.OPENERROR_PB_H'). -define('STREAM.OPENERROR_PB_H', true). -record('Stream.OpenError', {reason = <<>> :: iodata() | undefined % = 1, optional }). -endif. -ifndef('STREAM.DATA_PB_H'). -define('STREAM.DATA_PB_H', true). -record('Stream.Data', {bytes = <<>> :: iodata() | undefined % = 1, optional }). -endif. -ifndef('STREAM.FIN_PB_H'). -define('STREAM.FIN_PB_H', true). -record('Stream.Fin', { }). -endif. -ifndef('STREAM.RESET_PB_H'). -define('STREAM.RESET_PB_H', true). -record('Stream.Reset', {reason = <<>> :: iodata() | undefined % = 1, optional }). -endif. -ifndef('STREAM_PB_H'). -define('STREAM_PB_H', true). -record('Stream', {stream_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits payload :: {open, message_pb:'Stream.Open'()} | {opened, message_pb:'Stream.Opened'()} | {open_error, message_pb:'Stream.OpenError'()} | {data, message_pb:'Stream.Data'()} | {fin, message_pb:'Stream.Fin'()} | {reset, message_pb:'Stream.Reset'()} | undefined % oneof }). -endif. -endif.