// Generated by the protocol buffer compiler. DO NOT EDIT! // source: JobTicket.proto #ifndef PROTOBUF_JobTicket_2eproto__INCLUDED #define PROTOBUF_JobTicket_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3004000 #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 3004000 < 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 #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include #include "JobSegment.pb.h" #include "ProcessParameters.pb.h" #include "JobWindingMethod.pb.h" #include "JobSpool.pb.h" // @@protoc_insertion_point(includes) namespace Tango { namespace PMR { namespace Printing { class JobTicket; class JobTicketDefaultTypeInternal; extern JobTicketDefaultTypeInternal _JobTicket_default_instance_; } // namespace Printing } // namespace PMR } // namespace Tango namespace Tango { namespace PMR { namespace Printing { namespace protobuf_JobTicket_2eproto { // Internal implementation detail -- do not call these. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[]; static const ::google::protobuf::uint32 offsets[]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static void InitDefaultsImpl(); }; void AddDescriptors(); void InitDefaults(); } // namespace protobuf_JobTicket_2eproto // =================================================================== class JobTicket : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Tango.PMR.Printing.JobTicket) */ { public: JobTicket(); virtual ~JobTicket(); JobTicket(const JobTicket& from); inline JobTicket& operator=(const JobTicket& from) { CopyFrom(from); return *this; } #if LANG_CXX11 JobTicket(JobTicket&& from) noexcept : JobTicket() { *this = ::std::move(from); } inline JobTicket& operator=(JobTicket&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const JobTicket& default_instance(); static inline const JobTicket* internal_default_instance() { return reinterpret_cast( &_JobTicket_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(JobTicket* other); friend void swap(JobTicket& a, JobTicket& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline JobTicket* New() const PROTOBUF_FINAL { return New(NULL); } JobTicket* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const JobTicket& from); void MergeFrom(const JobTicket& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(JobTicket* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated .Tango.PMR.Printing.JobSegment Segments = 8; int segments_size() const; void clear_segments(); static const int kSegmentsFieldNumber = 8; const ::Tango::PMR::Printing::JobSegment& segments(int index) const; ::Tango::PMR::Printing::JobSegment* mutable_segments(int index); ::Tango::PMR::Printing::JobSegment* add_segments(); ::google::protobuf::RepeatedPtrField< ::Tango::PMR::Printing::JobSegment >* mutable_segments(); const ::google::protobuf::RepeatedPtrField< ::Tango::PMR::Printing::JobSegment >& segments() const; // string Name = 1; void clear_name(); static const int kNameFieldNumber = 1; const ::std::string& name() const; void set_name(const ::std::string& value); #if LANG_CXX11 void set_name(::std::string&& value); #endif void set_name(const char* value); void set_name(const char* value, size_t size); ::std::string* mutable_name(); ::std::string* release_name(); void set_allocated_name(::std::string* name); // .Tango.PMR.Printing.ProcessParameters ProcessParameters = 5; bool has_processparameters() const; void clear_processparameters(); static const int kProcessParametersFieldNumber = 5; const ::Tango::PMR::Printing::ProcessParameters& processparameters() const; ::Tango::PMR::Printing::ProcessParameters* mutable_processparameters(); ::Tango::PMR::Printing::ProcessParameters* release_processparameters(); void set_allocated_processparameters(::Tango::PMR::Printing::ProcessParameters* processparameters); // .Tango.PMR.Printing.JobSpool Spool = 7; bool has_spool() const; void clear_spool(); static const int kSpoolFieldNumber = 7; const ::Tango::PMR::Printing::JobSpool& spool() const; ::Tango::PMR::Printing::JobSpool* mutable_spool(); ::Tango::PMR::Printing::JobSpool* release_spool(); void set_allocated_spool(::Tango::PMR::Printing::JobSpool* spool); // double InterSegmentLength = 3; void clear_intersegmentlength(); static const int kInterSegmentLengthFieldNumber = 3; double intersegmentlength() const; void set_intersegmentlength(double value); // double Length = 4; void clear_length(); static const int kLengthFieldNumber = 4; double length() const; void set_length(double value); // bool EnableInterSegment = 2; void clear_enableintersegment(); static const int kEnableInterSegmentFieldNumber = 2; bool enableintersegment() const; void set_enableintersegment(bool value); // .Tango.PMR.Printing.JobWindingMethod WindingMethod = 6; void clear_windingmethod(); static const int kWindingMethodFieldNumber = 6; ::Tango::PMR::Printing::JobWindingMethod windingmethod() const; void set_windingmethod(::Tango::PMR::Printing::JobWindingMethod value); // @@protoc_insertion_point(class_scope:Tango.PMR.Printing.JobTicket) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::Tango::PMR::Printing::JobSegment > segments_; ::google::protobuf::internal::ArenaStringPtr name_; ::Tango::PMR::Printing::ProcessParameters* processparameters_; ::Tango::PMR::Printing::JobSpool* spool_; double intersegmentlength_; double length_; bool enableintersegment_; int windingmethod_; mutable int _cached_size_; friend struct protobuf_JobTicket_2eproto::TableStruct; }; // =================================================================== // =================================================================== #if !PROTOBUF_INLINE_NOT_IN_HEADERS #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // JobTicket // string Name = 1; inline void JobTicket::clear_name() { name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& JobTicket::name() const { // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobTicket.Name) return name_.GetNoArena(); } inline void JobTicket::set_name(const ::std::string& value) { name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobTicket.Name) } #if LANG_CXX11 inline void JobTicket::set_name(::std::string&& value) { name_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:Tango.PMR.Printing.JobTicket.Name) } #endif inline void JobTicket::set_name(const char* value) { GOOGLE_DCHECK(value != NULL); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:Tango.PMR.Printing.JobTicket.Name) } inline void JobTicket::set_name(const char* value, size_t size) { name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:Tango.PMR.Printing.JobTicket.Name) } inline ::std::string* JobTicket::mutable_name() { // @@protoc_insertion_point(field_mutable:Tango.PMR.Printing.JobTicket.Name) return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* JobTicket::release_name() { // @@protoc_insertion_point(field_release:Tango.PMR.Printing.JobTicket.Name) return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void JobTicket::set_allocated_name(::std::string* name) { if (name != NULL) { } else { } name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:Tango.PMR.Printing.JobTicket.Name) } // bool EnableInterSegment = 2; inline void JobTicket::clear_enableintersegment() { enableintersegment_ = false; } inline bool JobTicket::enableintersegment() const { // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobTicket.EnableInterSegment) return enableintersegment_; } inline void JobTicket::set_enableintersegment(bool value) { enableintersegment_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobTicket.EnableInterSegment) } // double InterSegmentLength = 3; inline void JobTicket::clear_intersegmentlength() { intersegmentlength_ = 0; } inline double JobTicket::intersegmentlength() const { // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobTicket.InterSegmentLength) return intersegmentlength_; } inline void JobTicket::set_intersegmentlength(double value) { intersegmentlength_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobTicket.InterSegmentLength) } // double Length = 4; inline void JobTicket::clear_length() { length_ = 0; } inline double JobTicket::length() const { // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobTicket.Length) return length_; } inline void JobTicket::set_length(double value) { length_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobTicket.Length) } // .Tango.PMR.Printing.ProcessParameters ProcessParameters = 5; inline bool JobTicket::has_processparameters() const { return this != internal_default_instance() && processparameters_ != NULL; } inline void JobTicket::clear_processparameters() { if (GetArenaNoVirtual() == NULL && processparameters_ != NULL) delete processparameters_; processparameters_ = NULL; } inline const ::Tango::PMR::Printing::ProcessParameters& JobTicket::processparameters() const { const ::Tango::PMR::Printing::ProcessParameters* p = processparameters_; // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobTicket.ProcessParameters) return p != NULL ? *p : *reinterpret_cast( &::Tango::PMR::Printing::_ProcessParameters_default_instance_); } inline ::Tango::PMR::Printing::ProcessParameters* JobTicket::mutable_processparameters() { if (processparameters_ == NULL) { processparameters_ = new ::Tango::PMR::Printing::ProcessParameters; } // @@protoc_insertion_point(field_mutable:Tango.PMR.Printing.JobTicket.ProcessParameters) return processparameters_; } inline ::Tango::PMR::Printing::ProcessParameters* JobTicket::release_processparameters() { // @@protoc_insertion_point(field_release:Tango.PMR.Printing.JobTicket.ProcessParameters) ::Tango::PMR::Printing::ProcessParameters* temp = processparameters_; processparameters_ = NULL; return temp; } inline void JobTicket::set_allocated_processparameters(::Tango::PMR::Printing::ProcessParameters* processparameters) { delete processparameters_; processparameters_ = processparameters; if (processparameters) { } else { } // @@protoc_insertion_point(field_set_allocated:Tango.PMR.Printing.JobTicket.ProcessParameters) } // .Tango.PMR.Printing.JobWindingMethod WindingMethod = 6; inline void JobTicket::clear_windingmethod() { windingmethod_ = 0; } inline ::Tango::PMR::Printing::JobWindingMethod JobTicket::windingmethod() const { // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobTicket.WindingMethod) return static_cast< ::Tango::PMR::Printing::JobWindingMethod >(windingmethod_); } inline void JobTicket::set_windingmethod(::Tango::PMR::Printing::JobWindingMethod value) { windingmethod_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobTicket.WindingMethod) } // .Tango.PMR.Printing.JobSpool Spool = 7; inline bool JobTicket::has_spool() const { return this != internal_default_instance() && spool_ != NULL; } inline void JobTicket::clear_spool() { if (GetArenaNoVirtual() == NULL && spool_ != NULL) delete spool_; spool_ = NULL; } inline const ::Tango::PMR::Printing::JobSpool& JobTicket::spool() const { const ::Tango::PMR::Printing::JobSpool* p = spool_; // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobTicket.Spool) return p != NULL ? *p : *reinterpret_cast( &::Tango::PMR::Printing::_JobSpool_default_instance_); } inline ::Tango::PMR::Printing::JobSpool* JobTicket::mutable_spool() { if (spool_ == NULL) { spool_ = new ::Tango::PMR::Printing::JobSpool; } // @@protoc_insertion_point(field_mutable:Tango.PMR.Printing.JobTicket.Spool) return spool_; } inline ::Tango::PMR::Printing::JobSpool* JobTicket::release_spool() { // @@protoc_insertion_point(field_release:Tango.PMR.Printing.JobTicket.Spool) ::Tango::PMR::Printing::JobSpool* temp = spool_; spool_ = NULL; return temp; } inline void JobTicket::set_allocated_spool(::Tango::PMR::Printing::JobSpool* spool) { delete spool_; spool_ = spool; if (spool) { } else { } // @@protoc_insertion_point(field_set_allocated:Tango.PMR.Printing.JobTicket.Spool) } // repeated .Tango.PMR.Printing.JobSegment Segments = 8; inline int JobTicket::segments_size() const { return segments_.size(); } inline void JobTicket::clear_segments() { segments_.Clear(); } inline const ::Tango::PMR::Printing::JobSegment& JobTicket::segments(int index) const { // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobTicket.Segments) return segments_.Get(index); } inline ::Tango::PMR::Printing::JobSegment* JobTicket::mutable_segments(int index) { // @@protoc_insertion_point(field_mutable:Tango.PMR.Printing.JobTicket.Segments) return segments_.Mutable(index); } inline ::Tango::PMR::Printing::JobSegment* JobTicket::add_segments() { // @@protoc_insertion_point(field_add:Tango.PMR.Printing.JobTicket.Segments) return segments_.Add(); } inline ::google::protobuf::RepeatedPtrField< ::Tango::PMR::Printing::JobSegment >* JobTicket::mutable_segments() { // @@protoc_insertion_point(field_mutable_list:Tango.PMR.Printing.JobTicket.Segments) return &segments_; } inline const ::google::protobuf::RepeatedPtrField< ::Tango::PMR::Printing::JobSegment >& JobTicket::segments() const { // @@protoc_insertion_point(field_list:Tango.PMR.Printing.JobTicket.Segments) return segments_; } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace Printing } // namespace PMR } // namespace Tango // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_JobTicket_2eproto__INCLUDED