We're preparing the upgrade to GitLab 10! Preview the new UI: http://cern.ch/go/8stB

Commit fea2ee00 by Steven Murray

Attempt at automatically running protoc

parent 62817fe7
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AcsDismountTape.proto
#ifndef PROTOBUF_AcsDismountTape_2eproto__INCLUDED
#define PROTOBUF_AcsDismountTape_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2003000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 2003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_message_reflection.h>
// @@protoc_insertion_point(includes)
namespace castor {
namespace messages {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_AcsDismountTape_2eproto();
void protobuf_AssignDesc_AcsDismountTape_2eproto();
void protobuf_ShutdownFile_AcsDismountTape_2eproto();
class AcsDismountTape;
// ===================================================================
class AcsDismountTape : public ::google::protobuf::Message {
public:
AcsDismountTape();
virtual ~AcsDismountTape();
AcsDismountTape(const AcsDismountTape& from);
inline AcsDismountTape& operator=(const AcsDismountTape& 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 AcsDismountTape& default_instance();
void Swap(AcsDismountTape* other);
// implements Message ----------------------------------------------
AcsDismountTape* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const AcsDismountTape& from);
void MergeFrom(const AcsDismountTape& 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 string vid = 1;
inline bool has_vid() const;
inline void clear_vid();
static const int kVidFieldNumber = 1;
inline const ::std::string& vid() const;
inline void set_vid(const ::std::string& value);
inline void set_vid(const char* value);
inline void set_vid(const char* value, size_t size);
inline ::std::string* mutable_vid();
// required uint32 acs = 2;
inline bool has_acs() const;
inline void clear_acs();
static const int kAcsFieldNumber = 2;
inline ::google::protobuf::uint32 acs() const;
inline void set_acs(::google::protobuf::uint32 value);
// required uint32 lsm = 3;
inline bool has_lsm() const;
inline void clear_lsm();
static const int kLsmFieldNumber = 3;
inline ::google::protobuf::uint32 lsm() const;
inline void set_lsm(::google::protobuf::uint32 value);
// required uint32 panel = 4;
inline bool has_panel() const;
inline void clear_panel();
static const int kPanelFieldNumber = 4;
inline ::google::protobuf::uint32 panel() const;
inline void set_panel(::google::protobuf::uint32 value);
// required uint32 drive = 5;
inline bool has_drive() const;
inline void clear_drive();
static const int kDriveFieldNumber = 5;
inline ::google::protobuf::uint32 drive() const;
inline void set_drive(::google::protobuf::uint32 value);
// @@protoc_insertion_point(class_scope:castor.messages.AcsDismountTape)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
mutable int _cached_size_;
::std::string* vid_;
static const ::std::string _default_vid_;
::google::protobuf::uint32 acs_;
::google::protobuf::uint32 lsm_;
::google::protobuf::uint32 panel_;
::google::protobuf::uint32 drive_;
friend void protobuf_AddDesc_AcsDismountTape_2eproto();
friend void protobuf_AssignDesc_AcsDismountTape_2eproto();
friend void protobuf_ShutdownFile_AcsDismountTape_2eproto();
::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
// WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
inline bool _has_bit(int index) const {
return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
}
inline void _set_bit(int index) {
_has_bits_[index / 32] |= (1u << (index % 32));
}
inline void _clear_bit(int index) {
_has_bits_[index / 32] &= ~(1u << (index % 32));
}
void InitAsDefaultInstance();
static AcsDismountTape* default_instance_;
};
// ===================================================================
// ===================================================================
// AcsDismountTape
// required string vid = 1;
inline bool AcsDismountTape::has_vid() const {
return _has_bit(0);
}
inline void AcsDismountTape::clear_vid() {
if (vid_ != &_default_vid_) {
vid_->clear();
}
_clear_bit(0);
}
inline const ::std::string& AcsDismountTape::vid() const {
return *vid_;
}
inline void AcsDismountTape::set_vid(const ::std::string& value) {
_set_bit(0);
if (vid_ == &_default_vid_) {
vid_ = new ::std::string;
}
vid_->assign(value);
}
inline void AcsDismountTape::set_vid(const char* value) {
_set_bit(0);
if (vid_ == &_default_vid_) {
vid_ = new ::std::string;
}
vid_->assign(value);
}
inline void AcsDismountTape::set_vid(const char* value, size_t size) {
_set_bit(0);
if (vid_ == &_default_vid_) {
vid_ = new ::std::string;
}
vid_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* AcsDismountTape::mutable_vid() {
_set_bit(0);
if (vid_ == &_default_vid_) {
vid_ = new ::std::string;
}
return vid_;
}
// required uint32 acs = 2;
inline bool AcsDismountTape::has_acs() const {
return _has_bit(1);
}
inline void AcsDismountTape::clear_acs() {
acs_ = 0u;
_clear_bit(1);
}
inline ::google::protobuf::uint32 AcsDismountTape::acs() const {
return acs_;
}
inline void AcsDismountTape::set_acs(::google::protobuf::uint32 value) {
_set_bit(1);
acs_ = value;
}
// required uint32 lsm = 3;
inline bool AcsDismountTape::has_lsm() const {
return _has_bit(2);
}
inline void AcsDismountTape::clear_lsm() {
lsm_ = 0u;
_clear_bit(2);
}
inline ::google::protobuf::uint32 AcsDismountTape::lsm() const {
return lsm_;
}
inline void AcsDismountTape::set_lsm(::google::protobuf::uint32 value) {
_set_bit(2);
lsm_ = value;
}
// required uint32 panel = 4;
inline bool AcsDismountTape::has_panel() const {
return _has_bit(3);
}
inline void AcsDismountTape::clear_panel() {
panel_ = 0u;
_clear_bit(3);
}
inline ::google::protobuf::uint32 AcsDismountTape::panel() const {
return panel_;
}
inline void AcsDismountTape::set_panel(::google::protobuf::uint32 value) {
_set_bit(3);
panel_ = value;
}
// required uint32 drive = 5;
inline bool AcsDismountTape::has_drive() const {
return _has_bit(4);
}
inline void AcsDismountTape::clear_drive() {
drive_ = 0u;
_clear_bit(4);
}
inline ::google::protobuf::uint32 AcsDismountTape::drive() const {
return drive_;
}
inline void AcsDismountTape::set_drive(::google::protobuf::uint32 value) {
_set_bit(4);
drive_ = value;
}
// @@protoc_insertion_point(namespace_scope)
} // namespace messages
} // namespace castor
#ifndef SWIG
namespace google {
namespace protobuf {
} // namespace google
} // namespace protobuf
#endif // SWIG
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_AcsDismountTape_2eproto__INCLUDED
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AcsMountTapeReadOnly.proto
#ifndef PROTOBUF_AcsMountTapeReadOnly_2eproto__INCLUDED
#define PROTOBUF_AcsMountTapeReadOnly_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2003000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 2003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_message_reflection.h>
// @@protoc_insertion_point(includes)
namespace castor {
namespace messages {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_AcsMountTapeReadOnly_2eproto();
void protobuf_AssignDesc_AcsMountTapeReadOnly_2eproto();
void protobuf_ShutdownFile_AcsMountTapeReadOnly_2eproto();
class AcsMountTapeReadOnly;
// ===================================================================
class AcsMountTapeReadOnly : public ::google::protobuf::Message {
public:
AcsMountTapeReadOnly();
virtual ~AcsMountTapeReadOnly();
AcsMountTapeReadOnly(const AcsMountTapeReadOnly& from);
inline AcsMountTapeReadOnly& operator=(const AcsMountTapeReadOnly& 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 AcsMountTapeReadOnly& default_instance();
void Swap(AcsMountTapeReadOnly* other);
// implements Message ----------------------------------------------
AcsMountTapeReadOnly* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const AcsMountTapeReadOnly& from);
void MergeFrom(const AcsMountTapeReadOnly& 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 string vid = 1;
inline bool has_vid() const;
inline void clear_vid();
static const int kVidFieldNumber = 1;
inline const ::std::string& vid() const;
inline void set_vid(const ::std::string& value);
inline void set_vid(const char* value);
inline void set_vid(const char* value, size_t size);
inline ::std::string* mutable_vid();
// required uint32 acs = 2;
inline bool has_acs() const;
inline void clear_acs();
static const int kAcsFieldNumber = 2;
inline ::google::protobuf::uint32 acs() const;
inline void set_acs(::google::protobuf::uint32 value);
// required uint32 lsm = 3;
inline bool has_lsm() const;
inline void clear_lsm();
static const int kLsmFieldNumber = 3;
inline ::google::protobuf::uint32 lsm() const;
inline void set_lsm(::google::protobuf::uint32 value);
// required uint32 panel = 4;
inline bool has_panel() const;
inline void clear_panel();
static const int kPanelFieldNumber = 4;
inline ::google::protobuf::uint32 panel() const;
inline void set_panel(::google::protobuf::uint32 value);
// required uint32 drive = 5;
inline bool has_drive() const;
inline void clear_drive();
static const int kDriveFieldNumber = 5;
inline ::google::protobuf::uint32 drive() const;
inline void set_drive(::google::protobuf::uint32 value);
// @@protoc_insertion_point(class_scope:castor.messages.AcsMountTapeReadOnly)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
mutable int _cached_size_;
::std::string* vid_;
static const ::std::string _default_vid_;
::google::protobuf::uint32 acs_;
::google::protobuf::uint32 lsm_;
::google::protobuf::uint32 panel_;
::google::protobuf::uint32 drive_;
friend void protobuf_AddDesc_AcsMountTapeReadOnly_2eproto();
friend void protobuf_AssignDesc_AcsMountTapeReadOnly_2eproto();
friend void protobuf_ShutdownFile_AcsMountTapeReadOnly_2eproto();
::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
// WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
inline bool _has_bit(int index) const {
return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
}
inline void _set_bit(int index) {
_has_bits_[index / 32] |= (1u << (index % 32));
}
inline void _clear_bit(int index) {
_has_bits_[index / 32] &= ~(1u << (index % 32));
}
void InitAsDefaultInstance();
static AcsMountTapeReadOnly* default_instance_;
};
// ===================================================================
// ===================================================================
// AcsMountTapeReadOnly
// required string vid = 1;
inline bool AcsMountTapeReadOnly::has_vid() const {
return _has_bit(0);
}
inline void AcsMountTapeReadOnly::clear_vid() {
if (vid_ != &_default_vid_) {
vid_->clear();
}
_clear_bit(0);
}
inline const ::std::string& AcsMountTapeReadOnly::vid() const {
return *vid_;
}
inline void AcsMountTapeReadOnly::set_vid(const ::std::string& value) {
_set_bit(0);
if (vid_ == &_default_vid_) {
vid_ = new ::std::string;
}
vid_->assign(value);
}
inline void AcsMountTapeReadOnly::set_vid(const char* value) {
_set_bit(0);
if (vid_ == &_default_vid_) {
vid_ = new ::std::string;
}
vid_->assign(value);
}
inline void AcsMountTapeReadOnly::set_vid(const char* value, size_t size) {
_set_bit(0);
if (vid_ == &_default_vid_) {
vid_ = new ::std::string;
}
vid_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* AcsMountTapeReadOnly::mutable_vid() {
_set_bit(0);
if (vid_ == &_default_vid_) {
vid_ = new ::std::string;
}
return vid_;
}
// required uint32 acs = 2;
inline bool AcsMountTapeReadOnly::has_acs() const {
return _has_bit(1);
}
inline void AcsMountTapeReadOnly::clear_acs() {
acs_ = 0u;
_clear_bit(1);
}
inline ::google::protobuf::uint32 AcsMountTapeReadOnly::acs() const {
return acs_;
}
inline void AcsMountTapeReadOnly::set_acs(::google::protobuf::uint32 value) {
_set_bit(1);
acs_ = value;
}
// required uint32 lsm = 3;
inline bool AcsMountTapeReadOnly::has_lsm() const {
return _has_bit(2);
}
inline void AcsMountTapeReadOnly::clear_lsm() {
lsm_ = 0u;
_clear_bit(2);
}
inline ::google::protobuf::uint32 AcsMountTapeReadOnly::lsm() const {
return lsm_;
}
inline void AcsMountTapeReadOnly::set_lsm(::google::protobuf::uint32 value) {
_set_bit(2);
lsm_ = value;
}
// required uint32 panel = 4;
inline bool AcsMountTapeReadOnly::has_panel() const {
return _has_bit(3);
}
inline void AcsMountTapeReadOnly::clear_panel() {
panel_ = 0u;
_clear_bit(3);
}
inline ::google::protobuf::uint32 AcsMountTapeReadOnly::panel() const {
return panel_;
}
inline void AcsMountTapeReadOnly::set_panel(::google::protobuf::uint32 value) {
_set_bit(3);
panel_ = value;
}
// required uint32 drive = 5;
inline bool AcsMountTapeReadOnly::has_drive() const {
return _has_bit(4);
}
inline void AcsMountTapeReadOnly::clear_drive() {
drive_ = 0u;
_clear_bit(4);
}
inline ::google::protobuf::uint32 AcsMountTapeReadOnly::drive() const {
return drive_;
}
inline void AcsMountTapeReadOnly::set_drive(::google::protobuf::uint32 value) {
_set_bit(4);
drive_ = value;
}
// @@protoc_insertion_point(namespace_scope)
} // namespace messages
} // namespace castor
#ifndef SWIG
namespace google {
namespace protobuf {
} // namespace google
} // namespace protobuf
#endif // SWIG
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_AcsMountTapeReadOnly_2eproto__INCLUDED
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AcsMountTapeReadWrite.proto
#ifndef PROTOBUF_AcsMountTapeReadWrite_2eproto__INCLUDED
#define PROTOBUF_AcsMountTapeReadWrite_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2003000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 2003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_message_reflection.h>
// @@protoc_insertion_point(includes)
namespace castor {
namespace messages {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_AcsMountTapeReadWrite_2eproto();
void protobuf_AssignDesc_AcsMountTapeReadWrite_2eproto();
void protobuf_ShutdownFile_AcsMountTapeReadWrite_2eproto();
class AcsMountTapeReadWrite;
// ===================================================================
class AcsMountTapeReadWrite : public ::google::protobuf::Message {
public:
AcsMountTapeReadWrite();
virtual ~AcsMountTapeReadWrite();
AcsMountTapeReadWrite(const AcsMountTapeReadWrite& from);
inline AcsMountTapeReadWrite& operator=(const AcsMountTapeReadWrite& 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 AcsMountTapeReadWrite& default_instance();
void Swap(AcsMountTapeReadWrite* other);
// implements Message ----------------------------------------------
AcsMountTapeReadWrite* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const AcsMountTapeReadWrite& from);
void MergeFrom(const AcsMountTapeReadWrite& 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 string vid = 1;
inline bool has_vid() const;
inline void clear_vid();
static const int kVidFieldNumber = 1;
inline const ::std::string& vid() const;
inline void set_vid(const ::std::string& value);
inline void set_vid(const char* value);
inline void set_vid(const char* value, size_t size);
inline ::std::string* mutable_vid();
// required uint32 acs = 2;
inline bool has_acs() const;
inline void clear_acs();
static const int kAcsFieldNumber = 2;
inline ::google::protobuf::uint32 acs() const;
inline void set_acs(::google::protobuf::uint32 value);
// required uint32 lsm = 3;
inline bool has_lsm() const;
inline void clear_lsm();
static const int kLsmFieldNumber = 3;
inline ::google::protobuf::uint32 lsm() const;
inline void set_lsm(::google::protobuf::uint32 value);
// required uint32 panel = 4;
inline bool has_panel() const;
inline void clear_panel();
static const int kPanelFieldNumber = 4;
inline ::google::protobuf::uint32 panel() const;
inline void set_panel(::google::protobuf::uint32 value);
// required uint32 drive = 5;
inline bool has_drive() const;
inline void clear_drive();
static const int kDriveFieldNumber = 5;
inline ::google::protobuf::uint32 drive() const;
inline void set_drive(::google::protobuf::uint32 value);
// @@protoc_insertion_point(class_scope:castor.messages.AcsMountTapeReadWrite)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
mutable int _cached_size_;
::std::string* vid_;