Support for additional NR metrics
[ric-app/mc.git] / mc-core / mc / local_datasource / sgnb_activity_notification.pb-c.c
diff --git a/mc-core/mc/local_datasource/sgnb_activity_notification.pb-c.c b/mc-core/mc/local_datasource/sgnb_activity_notification.pb-c.c
new file mode 100644 (file)
index 0000000..a0ca92e
--- /dev/null
@@ -0,0 +1,227 @@
+/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
+/* Generated from: sgnb_activity_notification.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "sgnb_activity_notification.pb-c.h"
+void   streaming_protobufs__sg_nbactivity_notification__init
+                     (StreamingProtobufs__SgNBActivityNotification         *message)
+{
+  static const StreamingProtobufs__SgNBActivityNotification init_value = STREAMING_PROTOBUFS__SG_NBACTIVITY_NOTIFICATION__INIT;
+  *message = init_value;
+}
+size_t streaming_protobufs__sg_nbactivity_notification__get_packed_size
+                     (const StreamingProtobufs__SgNBActivityNotification *message)
+{
+  assert(message->base.descriptor == &streaming_protobufs__sg_nbactivity_notification__descriptor);
+  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t streaming_protobufs__sg_nbactivity_notification__pack
+                     (const StreamingProtobufs__SgNBActivityNotification *message,
+                      uint8_t       *out)
+{
+  assert(message->base.descriptor == &streaming_protobufs__sg_nbactivity_notification__descriptor);
+  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t streaming_protobufs__sg_nbactivity_notification__pack_to_buffer
+                     (const StreamingProtobufs__SgNBActivityNotification *message,
+                      ProtobufCBuffer *buffer)
+{
+  assert(message->base.descriptor == &streaming_protobufs__sg_nbactivity_notification__descriptor);
+  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+StreamingProtobufs__SgNBActivityNotification *
+       streaming_protobufs__sg_nbactivity_notification__unpack
+                     (ProtobufCAllocator  *allocator,
+                      size_t               len,
+                      const uint8_t       *data)
+{
+  return (StreamingProtobufs__SgNBActivityNotification *)
+     protobuf_c_message_unpack (&streaming_protobufs__sg_nbactivity_notification__descriptor,
+                                allocator, len, data);
+}
+void   streaming_protobufs__sg_nbactivity_notification__free_unpacked
+                     (StreamingProtobufs__SgNBActivityNotification *message,
+                      ProtobufCAllocator *allocator)
+{
+  if(!message)
+    return;
+  assert(message->base.descriptor == &streaming_protobufs__sg_nbactivity_notification__descriptor);
+  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+void   streaming_protobufs__sg_nbactivity_notification__ies__init
+                     (StreamingProtobufs__SgNBActivityNotificationIEs         *message)
+{
+  static const StreamingProtobufs__SgNBActivityNotificationIEs init_value = STREAMING_PROTOBUFS__SG_NBACTIVITY_NOTIFICATION__IES__INIT;
+  *message = init_value;
+}
+size_t streaming_protobufs__sg_nbactivity_notification__ies__get_packed_size
+                     (const StreamingProtobufs__SgNBActivityNotificationIEs *message)
+{
+  assert(message->base.descriptor == &streaming_protobufs__sg_nbactivity_notification__ies__descriptor);
+  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t streaming_protobufs__sg_nbactivity_notification__ies__pack
+                     (const StreamingProtobufs__SgNBActivityNotificationIEs *message,
+                      uint8_t       *out)
+{
+  assert(message->base.descriptor == &streaming_protobufs__sg_nbactivity_notification__ies__descriptor);
+  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t streaming_protobufs__sg_nbactivity_notification__ies__pack_to_buffer
+                     (const StreamingProtobufs__SgNBActivityNotificationIEs *message,
+                      ProtobufCBuffer *buffer)
+{
+  assert(message->base.descriptor == &streaming_protobufs__sg_nbactivity_notification__ies__descriptor);
+  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+StreamingProtobufs__SgNBActivityNotificationIEs *
+       streaming_protobufs__sg_nbactivity_notification__ies__unpack
+                     (ProtobufCAllocator  *allocator,
+                      size_t               len,
+                      const uint8_t       *data)
+{
+  return (StreamingProtobufs__SgNBActivityNotificationIEs *)
+     protobuf_c_message_unpack (&streaming_protobufs__sg_nbactivity_notification__ies__descriptor,
+                                allocator, len, data);
+}
+void   streaming_protobufs__sg_nbactivity_notification__ies__free_unpacked
+                     (StreamingProtobufs__SgNBActivityNotificationIEs *message,
+                      ProtobufCAllocator *allocator)
+{
+  if(!message)
+    return;
+  assert(message->base.descriptor == &streaming_protobufs__sg_nbactivity_notification__ies__descriptor);
+  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor streaming_protobufs__sg_nbactivity_notification__field_descriptors[1] =
+{
+  {
+    "protocolIEs",
+    1,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_MESSAGE,
+    0,   /* quantifier_offset */
+    offsetof(StreamingProtobufs__SgNBActivityNotification, protocolies),
+    &streaming_protobufs__sg_nbactivity_notification__ies__descriptor,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+};
+static const unsigned streaming_protobufs__sg_nbactivity_notification__field_indices_by_name[] = {
+  0,   /* field[0] = protocolIEs */
+};
+static const ProtobufCIntRange streaming_protobufs__sg_nbactivity_notification__number_ranges[1 + 1] =
+{
+  { 1, 0 },
+  { 0, 1 }
+};
+const ProtobufCMessageDescriptor streaming_protobufs__sg_nbactivity_notification__descriptor =
+{
+  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+  "streaming_protobufs.SgNBActivityNotification",
+  "SgNBActivityNotification",
+  "StreamingProtobufs__SgNBActivityNotification",
+  "streaming_protobufs",
+  sizeof(StreamingProtobufs__SgNBActivityNotification),
+  1,
+  streaming_protobufs__sg_nbactivity_notification__field_descriptors,
+  streaming_protobufs__sg_nbactivity_notification__field_indices_by_name,
+  1,  streaming_protobufs__sg_nbactivity_notification__number_ranges,
+  (ProtobufCMessageInit) streaming_protobufs__sg_nbactivity_notification__init,
+  NULL,NULL,NULL    /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor streaming_protobufs__sg_nbactivity_notification__ies__field_descriptors[5] =
+{
+  {
+    "id_MeNB_UE_X2AP_ID",
+    1,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_UINT32,
+    0,   /* quantifier_offset */
+    offsetof(StreamingProtobufs__SgNBActivityNotificationIEs, id_menb_ue_x2ap_id),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "id_SgNB_UE_X2AP_ID",
+    2,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_UINT32,
+    0,   /* quantifier_offset */
+    offsetof(StreamingProtobufs__SgNBActivityNotificationIEs, id_sgnb_ue_x2ap_id),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "id_UEContextLevelUserPlaneActivity",
+    3,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_MESSAGE,
+    0,   /* quantifier_offset */
+    offsetof(StreamingProtobufs__SgNBActivityNotificationIEs, id_uecontextleveluserplaneactivity),
+    &streaming_protobufs__user_plane_traffic_activity_report__descriptor,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "id_ERABActivityNotifyItemList",
+    4,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_MESSAGE,
+    0,   /* quantifier_offset */
+    offsetof(StreamingProtobufs__SgNBActivityNotificationIEs, id_erabactivitynotifyitemlist),
+    &streaming_protobufs__erabactivity_notify_item_list__descriptor,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+  {
+    "id_MeNB_UE_X2AP_ID_Extension",
+    5,
+    PROTOBUF_C_LABEL_NONE,
+    PROTOBUF_C_TYPE_MESSAGE,
+    0,   /* quantifier_offset */
+    offsetof(StreamingProtobufs__SgNBActivityNotificationIEs, id_menb_ue_x2ap_id_extension),
+    &google__protobuf__uint32_value__descriptor,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
+};
+static const unsigned streaming_protobufs__sg_nbactivity_notification__ies__field_indices_by_name[] = {
+  3,   /* field[3] = id_ERABActivityNotifyItemList */
+  0,   /* field[0] = id_MeNB_UE_X2AP_ID */
+  4,   /* field[4] = id_MeNB_UE_X2AP_ID_Extension */
+  1,   /* field[1] = id_SgNB_UE_X2AP_ID */
+  2,   /* field[2] = id_UEContextLevelUserPlaneActivity */
+};
+static const ProtobufCIntRange streaming_protobufs__sg_nbactivity_notification__ies__number_ranges[1 + 1] =
+{
+  { 1, 0 },
+  { 0, 5 }
+};
+const ProtobufCMessageDescriptor streaming_protobufs__sg_nbactivity_notification__ies__descriptor =
+{
+  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+  "streaming_protobufs.SgNBActivityNotification_IEs",
+  "SgNBActivityNotificationIEs",
+  "StreamingProtobufs__SgNBActivityNotificationIEs",
+  "streaming_protobufs",
+  sizeof(StreamingProtobufs__SgNBActivityNotificationIEs),
+  5,
+  streaming_protobufs__sg_nbactivity_notification__ies__field_descriptors,
+  streaming_protobufs__sg_nbactivity_notification__ies__field_indices_by_name,
+  1,  streaming_protobufs__sg_nbactivity_notification__ies__number_ranges,
+  (ProtobufCMessageInit) streaming_protobufs__sg_nbactivity_notification__ies__init,
+  NULL,NULL,NULL    /* reserved[123] */
+};