/* Generated by the protocol buffer compiler.  DO NOT EDIT! */

#ifndef PROTOBUF_C_scalar_2dtypes_2eproto__INCLUDED
#define PROTOBUF_C_scalar_2dtypes_2eproto__INCLUDED

#include <google/protobuf-c/protobuf-c.h>

PROTOBUF_C_BEGIN_DECLS


typedef struct _Test__ScalarTypes Test__ScalarTypes;


/* --- enums --- */


/* --- messages --- */

struct  _Test__ScalarTypes
{
  ProtobufCMessage base;
  char *field_string;
  protobuf_c_boolean has_field_double;
  double field_double;
  size_t n_field_float;
  float *field_float;
  protobuf_c_boolean has_field_int32;
  int32_t field_int32;
  protobuf_c_boolean has_field_int64;
  int64_t field_int64;
  protobuf_c_boolean has_field_uint32;
  uint32_t field_uint32;
  protobuf_c_boolean has_field_uint64;
  uint64_t field_uint64;
  protobuf_c_boolean has_field_sint32;
  int32_t field_sint32;
  protobuf_c_boolean has_field_sint64;
  int64_t field_sint64;
  protobuf_c_boolean has_field_fixed32;
  uint32_t field_fixed32;
  protobuf_c_boolean has_field_fixed64;
  uint64_t field_fixed64;
  protobuf_c_boolean has_field_sfixed32;
  int32_t field_sfixed32;
  protobuf_c_boolean has_field_sfixed64;
  int64_t field_sfixed64;
  protobuf_c_boolean has_field_bool;
  protobuf_c_boolean field_bool;
  protobuf_c_boolean has_field_bytes;
  ProtobufCBinaryData field_bytes;
};
#define TEST__SCALAR_TYPES__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&test__scalar_types__descriptor) \
    , NULL, 0,0, 0,NULL, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,{0,NULL} }


/* Test__ScalarTypes methods */
void   test__scalar_types__init
                     (Test__ScalarTypes         *message);
size_t test__scalar_types__get_packed_size
                     (const Test__ScalarTypes   *message);
size_t test__scalar_types__pack
                     (const Test__ScalarTypes   *message,
                      uint8_t             *out);
size_t test__scalar_types__pack_to_buffer
                     (const Test__ScalarTypes   *message,
                      ProtobufCBuffer     *buffer);
Test__ScalarTypes *
       test__scalar_types__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   test__scalar_types__free_unpacked
                     (Test__ScalarTypes *message,
                      ProtobufCAllocator *allocator);
/* --- per-message closures --- */

typedef void (*Test__ScalarTypes_Closure)
                 (const Test__ScalarTypes *message,
                  void *closure_data);

/* --- services --- */


/* --- descriptors --- */

extern const ProtobufCMessageDescriptor test__scalar_types__descriptor;

PROTOBUF_C_END_DECLS


#endif  /* PROTOBUF_scalar_2dtypes_2eproto__INCLUDED */
