Updating a set of supported NR metrics
[ric-app/mc.git] / mc-core / mc / local_datasource / ricgeomessages.pb-c.c
diff --git a/mc-core/mc/local_datasource/ricgeomessages.pb-c.c b/mc-core/mc/local_datasource/ricgeomessages.pb-c.c
new file mode 100644 (file)
index 0000000..2c9be4a
--- /dev/null
@@ -0,0 +1,292 @@
+/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
+/* Generated from: ricgeomessages.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "ricgeomessages.pb-c.h"
+void   geo_hdr__init
+                     (GeoHdr         *message)
+{
+  static const GeoHdr init_value = GEO_HDR__INIT;
+  *message = init_value;
+}
+size_t geo_hdr__get_packed_size
+                     (const GeoHdr *message)
+{
+  assert(message->base.descriptor == &geo_hdr__descriptor);
+  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t geo_hdr__pack
+                     (const GeoHdr *message,
+                      uint8_t       *out)
+{
+  assert(message->base.descriptor == &geo_hdr__descriptor);
+  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t geo_hdr__pack_to_buffer
+                     (const GeoHdr *message,
+                      ProtobufCBuffer *buffer)
+{
+  assert(message->base.descriptor == &geo_hdr__descriptor);
+  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+GeoHdr *
+       geo_hdr__unpack
+                     (ProtobufCAllocator  *allocator,
+                      size_t               len,
+                      const uint8_t       *data)
+{
+  return (GeoHdr *)
+     protobuf_c_message_unpack (&geo_hdr__descriptor,
+                                allocator, len, data);
+}
+void   geo_hdr__free_unpacked
+                     (GeoHdr *message,
+                      ProtobufCAllocator *allocator)
+{
+  if(!message)
+    return;
+  assert(message->base.descriptor == &geo_hdr__descriptor);
+  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+void   geo_msg__init
+                     (GeoMsg         *message)
+{
+  static const GeoMsg init_value = GEO_MSG__INIT;
+  *message = init_value;
+}
+size_t geo_msg__get_packed_size
+                     (const GeoMsg *message)
+{
+  assert(message->base.descriptor == &geo_msg__descriptor);
+  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t geo_msg__pack
+                     (const GeoMsg *message,
+                      uint8_t       *out)
+{
+  assert(message->base.descriptor == &geo_msg__descriptor);
+  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t geo_msg__pack_to_buffer
+                     (const GeoMsg *message,
+                      ProtobufCBuffer *buffer)
+{
+  assert(message->base.descriptor == &geo_msg__descriptor);
+  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+GeoMsg *
+       geo_msg__unpack
+                     (ProtobufCAllocator  *allocator,
+                      size_t               len,
+                      const uint8_t       *data)
+{
+  return (GeoMsg *)
+     protobuf_c_message_unpack (&geo_msg__descriptor,
+                                allocator, len, data);
+}
+void   geo_msg__free_unpacked
+                     (GeoMsg *message,
+                      ProtobufCAllocator *allocator)
+{
+  if(!message)
+    return;
+  assert(message->base.descriptor == &geo_msg__descriptor);
+  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor geo_hdr__field_descriptors[6] =
+{
+  {
+    "SequenceNumber",
+    1,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_UINT64,
+    0,   /* quantifier_offset */
+    offsetof(GeoHdr, sequencenumber),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "Timestamp",
+    2,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_UINT64,
+    0,   /* quantifier_offset */
+    offsetof(GeoHdr, timestamp),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "Eci",
+    3,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_UINT32,
+    0,   /* quantifier_offset */
+    offsetof(GeoHdr, eci),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "Plmn",
+    4,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_UINT32,
+    0,   /* quantifier_offset */
+    offsetof(GeoHdr, plmn),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "EUtranTraceID",
+    5,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_UINT64,
+    0,   /* quantifier_offset */
+    offsetof(GeoHdr, eutrantraceid),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "CRNTI",
+    6,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_UINT32,
+    0,   /* quantifier_offset */
+    offsetof(GeoHdr, crnti),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+};
+static const unsigned geo_hdr__field_indices_by_name[] = {
+  5,   /* field[5] = CRNTI */
+  4,   /* field[4] = EUtranTraceID */
+  2,   /* field[2] = Eci */
+  3,   /* field[3] = Plmn */
+  0,   /* field[0] = SequenceNumber */
+  1,   /* field[1] = Timestamp */
+};
+static const ProtobufCIntRange geo_hdr__number_ranges[1 + 1] =
+{
+  { 1, 0 },
+  { 0, 6 }
+};
+const ProtobufCMessageDescriptor geo_hdr__descriptor =
+{
+  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+  "GeoHdr",
+  "GeoHdr",
+  "GeoHdr",
+  "",
+  sizeof(GeoHdr),
+  6,
+  geo_hdr__field_descriptors,
+  geo_hdr__field_indices_by_name,
+  1,  geo_hdr__number_ranges,
+  (ProtobufCMessageInit) geo_hdr__init,
+  NULL,NULL,NULL    /* reserved[123] */
+};
+static const ProtobufCEnumValue geo_msg__types__enum_values_by_number[1] =
+{
+  { "PCMDREPORT", "GEO_MSG__TYPES__PCMDREPORT", 0 },
+};
+static const ProtobufCIntRange geo_msg__types__value_ranges[] = {
+{0, 0},{0, 1}
+};
+static const ProtobufCEnumValueIndex geo_msg__types__enum_values_by_name[1] =
+{
+  { "PCMDREPORT", 0 },
+};
+const ProtobufCEnumDescriptor geo_msg__types__descriptor =
+{
+  PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+  "GeoMsg.Types",
+  "Types",
+  "GeoMsg__Types",
+  "",
+  1,
+  geo_msg__types__enum_values_by_number,
+  1,
+  geo_msg__types__enum_values_by_name,
+  1,
+  geo_msg__types__value_ranges,
+  NULL,NULL,NULL,NULL   /* reserved[1234] */
+};
+static const ProtobufCFieldDescriptor geo_msg__field_descriptors[3] =
+{
+  {
+    "type",
+    1,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_ENUM,
+    0,   /* quantifier_offset */
+    offsetof(GeoMsg, type),
+    &geo_msg__types__descriptor,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "report",
+    2,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_MESSAGE,
+    offsetof(GeoMsg, geo_msg_oneof_case),
+    offsetof(GeoMsg, report),
+    &pcmd_report__descriptor,
+    NULL,
+    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "hdr",
+    3,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_MESSAGE,
+    0,   /* quantifier_offset */
+    offsetof(GeoMsg, hdr),
+    &geo_hdr__descriptor,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+};
+static const unsigned geo_msg__field_indices_by_name[] = {
+  2,   /* field[2] = hdr */
+  1,   /* field[1] = report */
+  0,   /* field[0] = type */
+};
+static const ProtobufCIntRange geo_msg__number_ranges[1 + 1] =
+{
+  { 1, 0 },
+  { 0, 3 }
+};
+const ProtobufCMessageDescriptor geo_msg__descriptor =
+{
+  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+  "GeoMsg",
+  "GeoMsg",
+  "GeoMsg",
+  "",
+  sizeof(GeoMsg),
+  3,
+  geo_msg__field_descriptors,
+  geo_msg__field_indices_by_name,
+  1,  geo_msg__number_ranges,
+  (ProtobufCMessageInit) geo_msg__init,
+  NULL,NULL,NULL    /* reserved[123] */
+};