void  protobuf_AddDesc_MessageNewBlock_2eproto();
void protobuf_AssignDesc_MessageNewBlock_2eproto();
void protobuf_ShutdownFile_MessageNewBlock_2eproto();

class MessageNewBlock;

// ===================================================================

class MessageNewBlock : public ::google::protobuf::Message {
 public:
  MessageNewBlock();
  virtual ~MessageNewBlock();

  MessageNewBlock(const MessageNewBlock& from);

  inline MessageNewBlock& operator=(const MessageNewBlock& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const MessageNewBlock& default_instance();

  void Swap(MessageNewBlock* other);

  // implements Message ----------------------------------------------

  MessageNewBlock* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const MessageNewBlock& from);
  void MergeFrom(const MessageNewBlock& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:
  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // required int32 Status = 1;
  inline bool has_status() const;
  inline void clear_status();
  static const int kStatusFieldNumber = 1;
  inline ::google::protobuf::int32 status() const;
  inline void set_status(::google::protobuf::int32 value);

  // required string Path = 2;
  inline bool has_path() const;
  inline void clear_path();
  static const int kPathFieldNumber = 2;
  inline const ::std::string& path() const;
  inline void set_path(const ::std::string& value);
  inline void set_path(const char* value);
  inline void set_path(const char* value, size_t size);
  inline ::std::string* mutable_path();
  inline ::std::string* release_path();
  inline void set_allocated_path(::std::string* path);

  // required int64 Size = 3;
  inline bool has_size() const;
  inline void clear_size();
  static const int kSizeFieldNumber = 3;
  inline ::google::protobuf::int64 size() const;
  inline void set_size(::google::protobuf::int64 value);

  // required int64 PartId = 4;
  inline bool has_partid() const;
  inline void clear_partid();
  static const int kPartIdFieldNumber = 4;
  inline ::google::protobuf::int64 partid() const;
  inline void set_partid(::google::protobuf::int64 value);

  // required int64 Index = 5;
  inline bool has_index() const;
  inline void clear_index();
  static const int kIndexFieldNumber = 5;
  inline ::google::protobuf::int64 index() const;
  inline void set_index(::google::protobuf::int64 value);

  // required int64 FileOffset = 6;
  inline bool has_fileoffset() const;
  inline void clear_fileoffset();
  static const int kFileOffsetFieldNumber = 6;
  inline ::google::protobuf::int64 fileoffset() const;
  inline void set_fileoffset(::google::protobuf::int64 value);

  // required string Token = 7;
  inline bool has_token() const;
  inline void clear_token();
  static const int kTokenFieldNumber = 7;
  inline const ::std::string& token() const;
  inline void set_token(const ::std::string& value);
  inline void set_token(const char* value);
  inline void set_token(const char* value, size_t size);
  inline ::std::string* mutable_token();
  inline ::std::string* release_token();
  inline void set_allocated_token(::std::string* token);

  // @@protoc_insertion_point(class_scope:MessageNewBlock)
 private:
  inline void set_has_status();
  inline void clear_has_status();
  inline void set_has_path();
  inline void clear_has_path();
  inline void set_has_size();
  inline void clear_has_size();
  inline void set_has_partid();
  inline void clear_has_partid();
  inline void set_has_index();
  inline void clear_has_index();
  inline void set_has_fileoffset();
  inline void clear_has_fileoffset();
  inline void set_has_token();
  inline void clear_has_token();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  ::std::string* path_;
  ::google::protobuf::int64 size_;
  ::google::protobuf::int64 partid_;
  ::google::protobuf::int64 index_;
  ::google::protobuf::int64 fileoffset_;
  ::std::string* token_;
  ::google::protobuf::int32 status_;
  friend void  protobuf_AddDesc_MessageNewBlock_2eproto();
  friend void protobuf_AssignDesc_MessageNewBlock_2eproto();
  friend void protobuf_ShutdownFile_MessageNewBlock_2eproto();

  void InitAsDefaultInstance();
  static MessageNewBlock* default_instance_;
};
// ===================================================================


// ===================================================================

// MessageNewBlock

// required int32 Status = 1;
inline bool MessageNewBlock::has_status() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void MessageNewBlock::set_has_status() {
  _has_bits_[0] |= 0x00000001u;
}
inline void MessageNewBlock::clear_has_status() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void MessageNewBlock::clear_status() {
  status_ = 0;
  clear_has_status();
}
inline ::google::protobuf::int32 MessageNewBlock::status() const {
  // @@protoc_insertion_point(field_get:MessageNewBlock.Status)
  return status_;
}
inline void MessageNewBlock::set_status(::google::protobuf::int32 value) {
  set_has_status();
  status_ = value;
  // @@protoc_insertion_point(field_set:MessageNewBlock.Status)
}

// required string Path = 2;
inline bool MessageNewBlock::has_path() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void MessageNewBlock::set_has_path() {
  _has_bits_[0] |= 0x00000002u;
}
inline void MessageNewBlock::clear_has_path() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void MessageNewBlock::clear_path() {
  if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    path_->clear();
  }
  clear_has_path();
}
inline const ::std::string& MessageNewBlock::path() const {
  // @@protoc_insertion_point(field_get:MessageNewBlock.Path)
  return *path_;
}
inline void MessageNewBlock::set_path(const ::std::string& value) {
  set_has_path();
  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    path_ = new ::std::string;
  }
  path_->assign(value);
  // @@protoc_insertion_point(field_set:MessageNewBlock.Path)
}
inline void MessageNewBlock::set_path(const char* value) {
  set_has_path();
  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    path_ = new ::std::string;
  }
  path_->assign(value);
  // @@protoc_insertion_point(field_set_char:MessageNewBlock.Path)
}
inline void MessageNewBlock::set_path(const char* value, size_t size) {
  set_has_path();
  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    path_ = new ::std::string;
  }
  path_->assign(reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:MessageNewBlock.Path)
}
inline ::std::string* MessageNewBlock::mutable_path() {
  set_has_path();
  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    path_ = new ::std::string;
  }
  // @@protoc_insertion_point(field_mutable:MessageNewBlock.Path)
  return path_;
}
inline ::std::string* MessageNewBlock::release_path() {
  clear_has_path();
  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    return NULL;
  } else {
    ::std::string* temp = path_;
    path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    return temp;
  }
}
inline void MessageNewBlock::set_allocated_path(::std::string* path) {
  if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    delete path_;
  }
  if (path) {
    set_has_path();
    path_ = path;
  } else {
    clear_has_path();
    path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
  // @@protoc_insertion_point(field_set_allocated:MessageNewBlock.Path)
}

// required int64 Size = 3;
inline bool MessageNewBlock::has_size() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void MessageNewBlock::set_has_size() {
  _has_bits_[0] |= 0x00000004u;
}
inline void MessageNewBlock::clear_has_size() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void MessageNewBlock::clear_size() {
  size_ = GOOGLE_LONGLONG(0);
  clear_has_size();
}
inline ::google::protobuf::int64 MessageNewBlock::size() const {
  // @@protoc_insertion_point(field_get:MessageNewBlock.Size)
  return size_;
}
inline void MessageNewBlock::set_size(::google::protobuf::int64 value) {
  set_has_size();
  size_ = value;
  // @@protoc_insertion_point(field_set:MessageNewBlock.Size)
}

// required int64 PartId = 4;
inline bool MessageNewBlock::has_partid() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void MessageNewBlock::set_has_partid() {
  _has_bits_[0] |= 0x00000008u;
}
inline void MessageNewBlock::clear_has_partid() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void MessageNewBlock::clear_partid() {
  partid_ = GOOGLE_LONGLONG(0);
  clear_has_partid();
}
inline ::google::protobuf::int64 MessageNewBlock::partid() const {
  // @@protoc_insertion_point(field_get:MessageNewBlock.PartId)
  return partid_;
}
inline void MessageNewBlock::set_partid(::google::protobuf::int64 value) {
  set_has_partid();
  partid_ = value;
  // @@protoc_insertion_point(field_set:MessageNewBlock.PartId)
}

// required int64 Index = 5;
inline bool MessageNewBlock::has_index() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void MessageNewBlock::set_has_index() {
  _has_bits_[0] |= 0x00000010u;
}
inline void MessageNewBlock::clear_has_index() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void MessageNewBlock::clear_index() {
  index_ = GOOGLE_LONGLONG(0);
  clear_has_index();
}
inline ::google::protobuf::int64 MessageNewBlock::index() const {
  // @@protoc_insertion_point(field_get:MessageNewBlock.Index)
  return index_;
}
inline void MessageNewBlock::set_index(::google::protobuf::int64 value) {
  set_has_index();
  index_ = value;
  // @@protoc_insertion_point(field_set:MessageNewBlock.Index)
}

// required int64 FileOffset = 6;
inline bool MessageNewBlock::has_fileoffset() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void MessageNewBlock::set_has_fileoffset() {
  _has_bits_[0] |= 0x00000020u;
}
inline void MessageNewBlock::clear_has_fileoffset() {
  _has_bits_[0] &= ~0x00000020u;
}
inline void MessageNewBlock::clear_fileoffset() {
  fileoffset_ = GOOGLE_LONGLONG(0);
  clear_has_fileoffset();
}
inline ::google::protobuf::int64 MessageNewBlock::fileoffset() const {
  // @@protoc_insertion_point(field_get:MessageNewBlock.FileOffset)
  return fileoffset_;
}
inline void MessageNewBlock::set_fileoffset(::google::protobuf::int64 value) {
  set_has_fileoffset();
  fileoffset_ = value;
  // @@protoc_insertion_point(field_set:MessageNewBlock.FileOffset)
}

// required string Token = 7;
inline bool MessageNewBlock::has_token() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void MessageNewBlock::set_has_token() {
  _has_bits_[0] |= 0x00000040u;
}
inline void MessageNewBlock::clear_has_token() {
  _has_bits_[0] &= ~0x00000040u;
}
inline void MessageNewBlock::clear_token() {
  if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    token_->clear();
  }
  clear_has_token();
}
inline const ::std::string& MessageNewBlock::token() const {
  // @@protoc_insertion_point(field_get:MessageNewBlock.Token)
  return *token_;
}
inline void MessageNewBlock::set_token(const ::std::string& value) {
  set_has_token();
  if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    token_ = new ::std::string;
  }
  token_->assign(value);
  // @@protoc_insertion_point(field_set:MessageNewBlock.Token)
}
inline void MessageNewBlock::set_token(const char* value) {
  set_has_token();
  if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    token_ = new ::std::string;
  }
  token_->assign(value);
  // @@protoc_insertion_point(field_set_char:MessageNewBlock.Token)
}
inline void MessageNewBlock::set_token(const char* value, size_t size) {
  set_has_token();
  if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    token_ = new ::std::string;
  }
  token_->assign(reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:MessageNewBlock.Token)
}
inline ::std::string* MessageNewBlock::mutable_token() {
  set_has_token();
  if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    token_ = new ::std::string;
  }
  // @@protoc_insertion_point(field_mutable:MessageNewBlock.Token)
  return token_;
}
inline ::std::string* MessageNewBlock::release_token() {
  clear_has_token();
  if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    return NULL;
  } else {
    ::std::string* temp = token_;
    token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    return temp;
  }
}
inline void MessageNewBlock::set_allocated_token(::std::string* token) {
  if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    delete token_;
  }
  if (token) {
    set_has_token();
    token_ = token;
  } else {
    clear_has_token();
    token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
  // @@protoc_insertion_point(field_set_allocated:MessageNewBlock.Token)
}


// @@protoc_insertion_point(namespace_scope)

#ifndef SWIG
namespace google {
namespace protobuf {


}  // namespace google
}  // namespace protobuf
#endif  // SWIG

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_MessageNewBlock_2eproto__INCLUDED
