/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: opentelemetry/proto/profiles/v1development/profiles.proto */

/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif

#include "opentelemetry/proto/profiles/v1development/profiles.pb-c.h"
void   opentelemetry__proto__profiles__v1development__profiles_data__init
                     (Opentelemetry__Proto__Profiles__V1development__ProfilesData         *message)
{
  static const Opentelemetry__Proto__Profiles__V1development__ProfilesData init_value = OPENTELEMETRY__PROTO__PROFILES__V1DEVELOPMENT__PROFILES_DATA__INIT;
  *message = init_value;
}
size_t opentelemetry__proto__profiles__v1development__profiles_data__get_packed_size
                     (const Opentelemetry__Proto__Profiles__V1development__ProfilesData *message)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__profiles_data__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t opentelemetry__proto__profiles__v1development__profiles_data__pack
                     (const Opentelemetry__Proto__Profiles__V1development__ProfilesData *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__profiles_data__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t opentelemetry__proto__profiles__v1development__profiles_data__pack_to_buffer
                     (const Opentelemetry__Proto__Profiles__V1development__ProfilesData *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__profiles_data__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Opentelemetry__Proto__Profiles__V1development__ProfilesData *
       opentelemetry__proto__profiles__v1development__profiles_data__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Opentelemetry__Proto__Profiles__V1development__ProfilesData *)
     protobuf_c_message_unpack (&opentelemetry__proto__profiles__v1development__profiles_data__descriptor,
                                allocator, len, data);
}
void   opentelemetry__proto__profiles__v1development__profiles_data__free_unpacked
                     (Opentelemetry__Proto__Profiles__V1development__ProfilesData *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__profiles_data__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   opentelemetry__proto__profiles__v1development__resource_profiles__init
                     (Opentelemetry__Proto__Profiles__V1development__ResourceProfiles         *message)
{
  static const Opentelemetry__Proto__Profiles__V1development__ResourceProfiles init_value = OPENTELEMETRY__PROTO__PROFILES__V1DEVELOPMENT__RESOURCE_PROFILES__INIT;
  *message = init_value;
}
size_t opentelemetry__proto__profiles__v1development__resource_profiles__get_packed_size
                     (const Opentelemetry__Proto__Profiles__V1development__ResourceProfiles *message)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__resource_profiles__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t opentelemetry__proto__profiles__v1development__resource_profiles__pack
                     (const Opentelemetry__Proto__Profiles__V1development__ResourceProfiles *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__resource_profiles__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t opentelemetry__proto__profiles__v1development__resource_profiles__pack_to_buffer
                     (const Opentelemetry__Proto__Profiles__V1development__ResourceProfiles *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__resource_profiles__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Opentelemetry__Proto__Profiles__V1development__ResourceProfiles *
       opentelemetry__proto__profiles__v1development__resource_profiles__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Opentelemetry__Proto__Profiles__V1development__ResourceProfiles *)
     protobuf_c_message_unpack (&opentelemetry__proto__profiles__v1development__resource_profiles__descriptor,
                                allocator, len, data);
}
void   opentelemetry__proto__profiles__v1development__resource_profiles__free_unpacked
                     (Opentelemetry__Proto__Profiles__V1development__ResourceProfiles *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__resource_profiles__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   opentelemetry__proto__profiles__v1development__scope_profiles__init
                     (Opentelemetry__Proto__Profiles__V1development__ScopeProfiles         *message)
{
  static const Opentelemetry__Proto__Profiles__V1development__ScopeProfiles init_value = OPENTELEMETRY__PROTO__PROFILES__V1DEVELOPMENT__SCOPE_PROFILES__INIT;
  *message = init_value;
}
size_t opentelemetry__proto__profiles__v1development__scope_profiles__get_packed_size
                     (const Opentelemetry__Proto__Profiles__V1development__ScopeProfiles *message)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__scope_profiles__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t opentelemetry__proto__profiles__v1development__scope_profiles__pack
                     (const Opentelemetry__Proto__Profiles__V1development__ScopeProfiles *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__scope_profiles__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t opentelemetry__proto__profiles__v1development__scope_profiles__pack_to_buffer
                     (const Opentelemetry__Proto__Profiles__V1development__ScopeProfiles *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__scope_profiles__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Opentelemetry__Proto__Profiles__V1development__ScopeProfiles *
       opentelemetry__proto__profiles__v1development__scope_profiles__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Opentelemetry__Proto__Profiles__V1development__ScopeProfiles *)
     protobuf_c_message_unpack (&opentelemetry__proto__profiles__v1development__scope_profiles__descriptor,
                                allocator, len, data);
}
void   opentelemetry__proto__profiles__v1development__scope_profiles__free_unpacked
                     (Opentelemetry__Proto__Profiles__V1development__ScopeProfiles *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__scope_profiles__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   opentelemetry__proto__profiles__v1development__profile_container__init
                     (Opentelemetry__Proto__Profiles__V1development__ProfileContainer         *message)
{
  static const Opentelemetry__Proto__Profiles__V1development__ProfileContainer init_value = OPENTELEMETRY__PROTO__PROFILES__V1DEVELOPMENT__PROFILE_CONTAINER__INIT;
  *message = init_value;
}
size_t opentelemetry__proto__profiles__v1development__profile_container__get_packed_size
                     (const Opentelemetry__Proto__Profiles__V1development__ProfileContainer *message)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__profile_container__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t opentelemetry__proto__profiles__v1development__profile_container__pack
                     (const Opentelemetry__Proto__Profiles__V1development__ProfileContainer *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__profile_container__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t opentelemetry__proto__profiles__v1development__profile_container__pack_to_buffer
                     (const Opentelemetry__Proto__Profiles__V1development__ProfileContainer *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__profile_container__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Opentelemetry__Proto__Profiles__V1development__ProfileContainer *
       opentelemetry__proto__profiles__v1development__profile_container__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Opentelemetry__Proto__Profiles__V1development__ProfileContainer *)
     protobuf_c_message_unpack (&opentelemetry__proto__profiles__v1development__profile_container__descriptor,
                                allocator, len, data);
}
void   opentelemetry__proto__profiles__v1development__profile_container__free_unpacked
                     (Opentelemetry__Proto__Profiles__V1development__ProfileContainer *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &opentelemetry__proto__profiles__v1development__profile_container__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor opentelemetry__proto__profiles__v1development__profiles_data__field_descriptors[1] =
{
  {
    "resource_profiles",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfilesData, n_resource_profiles),
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfilesData, resource_profiles),
    &opentelemetry__proto__profiles__v1development__resource_profiles__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned opentelemetry__proto__profiles__v1development__profiles_data__field_indices_by_name[] = {
  0,   /* field[0] = resource_profiles */
};
static const ProtobufCIntRange opentelemetry__proto__profiles__v1development__profiles_data__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor opentelemetry__proto__profiles__v1development__profiles_data__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "opentelemetry.proto.profiles.v1development.ProfilesData",
  "ProfilesData",
  "Opentelemetry__Proto__Profiles__V1development__ProfilesData",
  "opentelemetry.proto.profiles.v1development",
  sizeof(Opentelemetry__Proto__Profiles__V1development__ProfilesData),
  1,
  opentelemetry__proto__profiles__v1development__profiles_data__field_descriptors,
  opentelemetry__proto__profiles__v1development__profiles_data__field_indices_by_name,
  1,  opentelemetry__proto__profiles__v1development__profiles_data__number_ranges,
  (ProtobufCMessageInit) opentelemetry__proto__profiles__v1development__profiles_data__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor opentelemetry__proto__profiles__v1development__resource_profiles__field_descriptors[3] =
{
  {
    "resource",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ResourceProfiles, resource),
    &opentelemetry__proto__resource__v1__resource__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "scope_profiles",
    2,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Opentelemetry__Proto__Profiles__V1development__ResourceProfiles, n_scope_profiles),
    offsetof(Opentelemetry__Proto__Profiles__V1development__ResourceProfiles, scope_profiles),
    &opentelemetry__proto__profiles__v1development__scope_profiles__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "schema_url",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ResourceProfiles, schema_url),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned opentelemetry__proto__profiles__v1development__resource_profiles__field_indices_by_name[] = {
  0,   /* field[0] = resource */
  2,   /* field[2] = schema_url */
  1,   /* field[1] = scope_profiles */
};
static const ProtobufCIntRange opentelemetry__proto__profiles__v1development__resource_profiles__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor opentelemetry__proto__profiles__v1development__resource_profiles__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "opentelemetry.proto.profiles.v1development.ResourceProfiles",
  "ResourceProfiles",
  "Opentelemetry__Proto__Profiles__V1development__ResourceProfiles",
  "opentelemetry.proto.profiles.v1development",
  sizeof(Opentelemetry__Proto__Profiles__V1development__ResourceProfiles),
  3,
  opentelemetry__proto__profiles__v1development__resource_profiles__field_descriptors,
  opentelemetry__proto__profiles__v1development__resource_profiles__field_indices_by_name,
  1,  opentelemetry__proto__profiles__v1development__resource_profiles__number_ranges,
  (ProtobufCMessageInit) opentelemetry__proto__profiles__v1development__resource_profiles__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor opentelemetry__proto__profiles__v1development__scope_profiles__field_descriptors[3] =
{
  {
    "scope",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ScopeProfiles, scope),
    &opentelemetry__proto__common__v1__instrumentation_scope__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "profiles",
    2,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Opentelemetry__Proto__Profiles__V1development__ScopeProfiles, n_profiles),
    offsetof(Opentelemetry__Proto__Profiles__V1development__ScopeProfiles, profiles),
    &opentelemetry__proto__profiles__v1development__profile_container__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "schema_url",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ScopeProfiles, schema_url),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned opentelemetry__proto__profiles__v1development__scope_profiles__field_indices_by_name[] = {
  1,   /* field[1] = profiles */
  2,   /* field[2] = schema_url */
  0,   /* field[0] = scope */
};
static const ProtobufCIntRange opentelemetry__proto__profiles__v1development__scope_profiles__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor opentelemetry__proto__profiles__v1development__scope_profiles__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "opentelemetry.proto.profiles.v1development.ScopeProfiles",
  "ScopeProfiles",
  "Opentelemetry__Proto__Profiles__V1development__ScopeProfiles",
  "opentelemetry.proto.profiles.v1development",
  sizeof(Opentelemetry__Proto__Profiles__V1development__ScopeProfiles),
  3,
  opentelemetry__proto__profiles__v1development__scope_profiles__field_descriptors,
  opentelemetry__proto__profiles__v1development__scope_profiles__field_indices_by_name,
  1,  opentelemetry__proto__profiles__v1development__scope_profiles__number_ranges,
  (ProtobufCMessageInit) opentelemetry__proto__profiles__v1development__scope_profiles__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor opentelemetry__proto__profiles__v1development__profile_container__field_descriptors[8] =
{
  {
    "profile_id",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, profile_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "start_time_unix_nano",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_FIXED64,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, start_time_unix_nano),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "end_time_unix_nano",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_FIXED64,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, end_time_unix_nano),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "attributes",
    4,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, n_attributes),
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, attributes),
    &opentelemetry__proto__common__v1__key_value__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "dropped_attributes_count",
    5,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, dropped_attributes_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "original_payload_format",
    6,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, original_payload_format),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "original_payload",
    7,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, original_payload),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "profile",
    8,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer, profile),
    &opentelemetry__proto__profiles__v1development__profile__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned opentelemetry__proto__profiles__v1development__profile_container__field_indices_by_name[] = {
  3,   /* field[3] = attributes */
  4,   /* field[4] = dropped_attributes_count */
  2,   /* field[2] = end_time_unix_nano */
  6,   /* field[6] = original_payload */
  5,   /* field[5] = original_payload_format */
  7,   /* field[7] = profile */
  0,   /* field[0] = profile_id */
  1,   /* field[1] = start_time_unix_nano */
};
static const ProtobufCIntRange opentelemetry__proto__profiles__v1development__profile_container__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 8 }
};
const ProtobufCMessageDescriptor opentelemetry__proto__profiles__v1development__profile_container__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "opentelemetry.proto.profiles.v1development.ProfileContainer",
  "ProfileContainer",
  "Opentelemetry__Proto__Profiles__V1development__ProfileContainer",
  "opentelemetry.proto.profiles.v1development",
  sizeof(Opentelemetry__Proto__Profiles__V1development__ProfileContainer),
  8,
  opentelemetry__proto__profiles__v1development__profile_container__field_descriptors,
  opentelemetry__proto__profiles__v1development__profile_container__field_indices_by_name,
  1,  opentelemetry__proto__profiles__v1development__profile_container__number_ranges,
  (ProtobufCMessageInit) opentelemetry__proto__profiles__v1development__profile_container__init,
  NULL,NULL,NULL    /* reserved[123] */
};
