text: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: student.proto
  
  #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  #include "student.pb.h"
  
  #include <algorithm>
  
  #include <google/protobuf/stubs/common.h>
  #include <google/protobuf/stubs/port.h>
  #include <google/protobuf/stubs/once.h>
  #include <google/protobuf/io/coded_stream.h>
  #include <google/protobuf/wire_format_lite_inl.h>
  #include <google/protobuf/descriptor.h>
  #include <google/protobuf/generated_message_reflection.h>
  #include <google/protobuf/reflection_ops.h>
  #include <google/protobuf/wire_format.h>
  // @@protoc_insertion_point(includes)
  
  namespace student {
  
  namespace {
  
  const ::google::protobuf::Descriptor* Student_descriptor_ = NULL;
  const ::google::protobuf::internal::GeneratedMessageReflection*
    Student_reflection_ = NULL;
  
  }  // namespace
  
  
  void protobuf_AssignDesc_student_2eproto() GOOGLE_ATTRIBUTE_COLD;
  void protobuf_AssignDesc_student_2eproto() {
    protobuf_AddDesc_student_2eproto();
    const ::google::protobuf::FileDescriptor* file =
      ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
        "student.proto");
    GOOGLE_CHECK(file != NULL);
    Student_descriptor_ = file->message_type(0);
    static const int Student_offsets_[2] = {
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Student, name_),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Student, age_),
    };
    Student_reflection_ =
      ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
        Student_descriptor_,
        Student::default_instance_,
        Student_offsets_,
        -1,
        -1,
        -1,
        sizeof(Student),
        GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Student, _internal_metadata_),
        GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Student, _is_default_instance_));
  }
  
  namespace {
  
  GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  inline void protobuf_AssignDescriptorsOnce() {
    ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
                   &protobuf_AssignDesc_student_2eproto);
  }
  
  void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
  void protobuf_RegisterTypes(const ::std::string&) {
    protobuf_AssignDescriptorsOnce();
    ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
        Student_descriptor_, &Student::default_instance());
  }
  
  }  // namespace
  
  void protobuf_ShutdownFile_student_2eproto() {
    delete Student::default_instance_;
    delete Student_reflection_;
  }
  
  void protobuf_AddDesc_student_2eproto() GOOGLE_ATTRIBUTE_COLD;
  void protobuf_AddDesc_student_2eproto() {
    static bool already_here = false;
    if (already_here) return;
    already_here = true;
    GOOGLE_PROTOBUF_VERIFY_VERSION;
  
    ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
      "\n\rstudent.proto\022\007student\"$\n\007Student\022\014\n\004n"
      "ame\030\001 \001(\t\022\013\n\003age\030\002 \001(\005b\006proto3", 70);
    ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
      "student.proto", &protobuf_RegisterTypes);
    Student::default_instance_ = new Student();
    Student::default_instance_->InitAsDefaultInstance();
    ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_student_2eproto);
  }
  
  // Force AddDescriptors() to be called at static initialization time.
  struct StaticDescriptorInitializer_student_2eproto {
    StaticDescriptorInitializer_student_2eproto() {
      protobuf_AddDesc_student_2eproto();
    }
  } static_descriptor_initializer_student_2eproto_;
  
  // ===================================================================
  
  #if !defined(_MSC_VER) || _MSC_VER >= 1900
  const int Student::kNameFieldNumber;
  const int Student::kAgeFieldNumber;
  #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
  
  Student::Student()
    : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    SharedCtor();
    // @@protoc_insertion_point(constructor:student.Student)
  }
  
  void Student::InitAsDefaultInstance() {
    _is_default_instance_ = true;
  }
  
  Student::Student(const Student& from)
    : ::google::protobuf::Message(),
      _internal_metadata_(NULL) {
    SharedCtor();
    MergeFrom(from);
    // @@protoc_insertion_point(copy_constructor:student.Student)
  }
  
  void Student::SharedCtor() {
      _is_default_instance_ = false;
    ::google::protobuf::internal::GetEmptyString();
    _cached_size_ = 0;
    name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    age_ = 0;
  }
  
  Student::~Student() {
    // @@protoc_insertion_point(destructor:student.Student)
    SharedDtor();
  }
  
  void Student::SharedDtor() {
    name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    if (this != default_instance_) {
    }
  }
  
  void Student::SetCachedSize(int size) const {
    GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    _cached_size_ = size;
    GOOGLE_SAFE_CONCURRENT_WRITES_END();
  }
  const ::google::protobuf::Descriptor* Student::descriptor() {
    protobuf_AssignDescriptorsOnce();
    return Student_descriptor_;
  }
  
  const Student& Student::default_instance() {
    if (default_instance_ == NULL) protobuf_AddDesc_student_2eproto();
    return *default_instance_;
  }
  
  Student* Student::default_instance_ = NULL;
  
  Student* Student::New(::google::protobuf::Arena* arena) const {
    Student* n = new Student;
    if (arena != NULL) {
      arena->Own(n);
    }
    return n;
  }
  
  void Student::Clear() {
  // @@protoc_insertion_point(message_clear_start:student.Student)
    name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    age_ = 0;
  }
  
  bool Student::MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) {
  #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    ::google::protobuf::uint32 tag;
    // @@protoc_insertion_point(parse_start:student.Student)
    for (;;) {
      ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
      tag = p.first;
      if (!p.second) goto handle_unusual;
      switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
        // optional string name = 1;
        case 1: {
          if (tag == 10) {
            DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                  input, this->mutable_name()));
            DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              this->name().data(), this->name().length(),
              ::google::protobuf::internal::WireFormatLite::PARSE,
              "student.Student.name"));
          } else {
            goto handle_unusual;
          }
          if (input->ExpectTag(16)) goto parse_age;
          break;
        }
  
        // optional int32 age = 2;
        case 2: {
          if (tag == 16) {
           parse_age:
            DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                     ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                   input, &age_)));
  
          } else {
            goto handle_unusual;
          }
          if (input->ExpectAtEnd()) goto success;
          break;
        }
  
        default: {
        handle_unusual:
          if (tag == 0 ||
              ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
              ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
            goto success;
          }
          DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
          break;
        }
      }
    }
  success:
    // @@protoc_insertion_point(parse_success:student.Student)
    return true;
  failure:
    // @@protoc_insertion_point(parse_failure:student.Student)
    return false;
  #undef DO_
  }
  
  void Student::SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const {
    // @@protoc_insertion_point(serialize_start:student.Student)
    // optional string name = 1;
    if (this->name().size() > 0) {
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        this->name().data(), this->name().length(),
        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
        "student.Student.name");
      ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
        1, this->name(), output);
    }
  
    // optional int32 age = 2;
    if (this->age() != 0) {
      ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->age(), output);
    }
  
    // @@protoc_insertion_point(serialize_end:student.Student)
  }
  
  ::google::protobuf::uint8* Student::InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* target) const {
    // @@protoc_insertion_point(serialize_to_array_start:student.Student)
    // optional string name = 1;
    if (this->name().size() > 0) {
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        this->name().data(), this->name().length(),
        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
        "student.Student.name");
      target =
        ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
          1, this->name(), target);
    }
  
    // optional int32 age = 2;
    if (this->age() != 0) {
      target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->age(), target);
    }
  
    // @@protoc_insertion_point(serialize_to_array_end:student.Student)
    return target;
  }
  
  int Student::ByteSize() const {
  // @@protoc_insertion_point(message_byte_size_start:student.Student)
    int total_size = 0;
  
    // optional string name = 1;
    if (this->name().size() > 0) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->name());
    }
  
    // optional int32 age = 2;
    if (this->age() != 0) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::Int32Size(
          this->age());
    }
  
    GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    _cached_size_ = total_size;
    GOOGLE_SAFE_CONCURRENT_WRITES_END();
    return total_size;
  }
  
  void Student::MergeFrom(const ::google::protobuf::Message& from) {
  // @@protoc_insertion_point(generalized_merge_from_start:student.Student)
    if (GOOGLE_PREDICT_FALSE(&from == this)) {
      ::google::protobuf::internal::MergeFromFail(__FILE__, __LINE__);
    }
    const Student* source = 
        ::google::protobuf::internal::DynamicCastToGenerated<const Student>(
            &from);
    if (source == NULL) {
    // @@protoc_insertion_point(generalized_merge_from_cast_fail:student.Student)
      ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    } else {
    // @@protoc_insertion_point(generalized_merge_from_cast_success:student.Student)
      MergeFrom(*source);
    }
  }
  
  void Student::MergeFrom(const Student& from) {
  // @@protoc_insertion_point(class_specific_merge_from_start:student.Student)
    if (GOOGLE_PREDICT_FALSE(&from == this)) {
      ::google::protobuf::internal::MergeFromFail(__FILE__, __LINE__);
    }
    if (from.name().size() > 0) {
  
      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
    }
    if (from.age() != 0) {
      set_age(from.age());
    }
  }
  
  void Student::CopyFrom(const ::google::protobuf::Message& from) {
  // @@protoc_insertion_point(generalized_copy_from_start:student.Student)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  void Student::CopyFrom(const Student& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:student.Student)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  bool Student::IsInitialized() const {
  
    return true;
  }
  
  void Student::Swap(Student* other) {
    if (other == this) return;
    InternalSwap(other);
  }
  void Student::InternalSwap(Student* other) {
    name_.Swap(&other->name_);
    std::swap(age_, other->age_);
    _internal_metadata_.Swap(&other->_internal_metadata_);
    std::swap(_cached_size_, other->_cached_size_);
  }
  
  ::google::protobuf::Metadata Student::GetMetadata() const {
    protobuf_AssignDescriptorsOnce();
    ::google::protobuf::Metadata metadata;
    metadata.descriptor = Student_descriptor_;
    metadata.reflection = Student_reflection_;
    return metadata;
  }
  
  #if PROTOBUF_INLINE_NOT_IN_HEADERS
  // Student
  
  // optional string name = 1;
  void Student::clear_name() {
    name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
   const ::std::string& Student::name() const {
    // @@protoc_insertion_point(field_get:student.Student.name)
    return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
   void Student::set_name(const ::std::string& value) {
    
    name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
    // @@protoc_insertion_point(field_set:student.Student.name)
  }
   void Student::set_name(const char* value) {
    
    name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
    // @@protoc_insertion_point(field_set_char:student.Student.name)
  }
   void Student::set_name(const char* value, size_t size) {
    
    name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
        ::std::string(reinterpret_cast<const char*>(value), size));
    // @@protoc_insertion_point(field_set_pointer:student.Student.name)
  }
   ::std::string* Student::mutable_name() {
    
    // @@protoc_insertion_point(field_mutable:student.Student.name)
    return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
   ::std::string* Student::release_name() {
    // @@protoc_insertion_point(field_release:student.Student.name)
    
    return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
   void Student::set_allocated_name(::std::string* name) {
    if (name != NULL) {
      
    } else {
      
    }
    name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
    // @@protoc_insertion_point(field_set_allocated:student.Student.name)
  }
  
  // optional int32 age = 2;
  void Student::clear_age() {
    age_ = 0;
  }
   ::google::protobuf::int32 Student::age() const {
    // @@protoc_insertion_point(field_get:student.Student.age)
    return age_;
  }
   void Student::set_age(::google::protobuf::int32 value) {
    
    age_ = value;
    // @@protoc_insertion_point(field_set:student.Student.age)
  }
  
  #endif  // PROTOBUF_INLINE_NOT_IN_HEADERS
  
  // @@protoc_insertion_point(namespace_scope)
  
  }  // namespace student
  
  // @@protoc_insertion_point(global_scope)
  