// Generated by the protocol buffer compiler. DO NOT EDIT! // source: pybullet.proto #ifndef PROTOBUF_pybullet_2eproto__INCLUDED #define PROTOBUF_pybullet_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3002000 #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 3002000 < 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 // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) namespace pybullet_grpc { class LoadUrdfCommand; class LoadUrdfCommandDefaultTypeInternal; extern LoadUrdfCommandDefaultTypeInternal _LoadUrdfCommand_default_instance_; class LoadUrdfStatus; class LoadUrdfStatusDefaultTypeInternal; extern LoadUrdfStatusDefaultTypeInternal _LoadUrdfStatus_default_instance_; class PyBulletCommand; class PyBulletCommandDefaultTypeInternal; extern PyBulletCommandDefaultTypeInternal _PyBulletCommand_default_instance_; class PyBulletStatus; class PyBulletStatusDefaultTypeInternal; extern PyBulletStatusDefaultTypeInternal _PyBulletStatus_default_instance_; class StepSimulationCommand; class StepSimulationCommandDefaultTypeInternal; extern StepSimulationCommandDefaultTypeInternal _StepSimulationCommand_default_instance_; class TerminateServerCommand; class TerminateServerCommandDefaultTypeInternal; extern TerminateServerCommandDefaultTypeInternal _TerminateServerCommand_default_instance_; class quat4; class quat4DefaultTypeInternal; extern quat4DefaultTypeInternal _quat4_default_instance_; class vec3; class vec3DefaultTypeInternal; extern vec3DefaultTypeInternal _vec3_default_instance_; } // namespace pybullet_grpc namespace pybullet_grpc { namespace protobuf_pybullet_2eproto { // Internal implementation detail -- do not call these. struct TableStruct { static const ::google::protobuf::uint32 offsets[]; static void InitDefaultsImpl(); static void Shutdown(); }; void AddDescriptors(); void InitDefaults(); } // namespace protobuf_pybullet_2eproto // =================================================================== class vec3 : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pybullet_grpc.vec3) */ { public: vec3(); virtual ~vec3(); vec3(const vec3& from); inline vec3& operator=(const vec3& from) { CopyFrom(from); return *this; } static const ::google::protobuf::Descriptor* descriptor(); static const vec3& default_instance(); static inline const vec3* internal_default_instance() { return reinterpret_cast( &_vec3_default_instance_); } void Swap(vec3* other); // implements Message ---------------------------------------------- inline vec3* New() const PROTOBUF_FINAL { return New(NULL); } vec3* 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 vec3& from); void MergeFrom(const vec3& 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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(vec3* 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 ------------------------------------------------------- // double x = 1; void clear_x(); static const int kXFieldNumber = 1; double x() const; void set_x(double value); // double y = 2; void clear_y(); static const int kYFieldNumber = 2; double y() const; void set_y(double value); // double z = 3; void clear_z(); static const int kZFieldNumber = 3; double z() const; void set_z(double value); // @@protoc_insertion_point(class_scope:pybullet_grpc.vec3) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; double x_; double y_; double z_; mutable int _cached_size_; friend struct protobuf_pybullet_2eproto::TableStruct; }; // ------------------------------------------------------------------- class quat4 : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pybullet_grpc.quat4) */ { public: quat4(); virtual ~quat4(); quat4(const quat4& from); inline quat4& operator=(const quat4& from) { CopyFrom(from); return *this; } static const ::google::protobuf::Descriptor* descriptor(); static const quat4& default_instance(); static inline const quat4* internal_default_instance() { return reinterpret_cast( &_quat4_default_instance_); } void Swap(quat4* other); // implements Message ---------------------------------------------- inline quat4* New() const PROTOBUF_FINAL { return New(NULL); } quat4* 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 quat4& from); void MergeFrom(const quat4& 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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(quat4* 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 ------------------------------------------------------- // double x = 1; void clear_x(); static const int kXFieldNumber = 1; double x() const; void set_x(double value); // double y = 2; void clear_y(); static const int kYFieldNumber = 2; double y() const; void set_y(double value); // double z = 3; void clear_z(); static const int kZFieldNumber = 3; double z() const; void set_z(double value); // double w = 4; void clear_w(); static const int kWFieldNumber = 4; double w() const; void set_w(double value); // @@protoc_insertion_point(class_scope:pybullet_grpc.quat4) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; double x_; double y_; double z_; double w_; mutable int _cached_size_; friend struct protobuf_pybullet_2eproto::TableStruct; }; // ------------------------------------------------------------------- class TerminateServerCommand : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pybullet_grpc.TerminateServerCommand) */ { public: TerminateServerCommand(); virtual ~TerminateServerCommand(); TerminateServerCommand(const TerminateServerCommand& from); inline TerminateServerCommand& operator=(const TerminateServerCommand& from) { CopyFrom(from); return *this; } static const ::google::protobuf::Descriptor* descriptor(); static const TerminateServerCommand& default_instance(); static inline const TerminateServerCommand* internal_default_instance() { return reinterpret_cast( &_TerminateServerCommand_default_instance_); } void Swap(TerminateServerCommand* other); // implements Message ---------------------------------------------- inline TerminateServerCommand* New() const PROTOBUF_FINAL { return New(NULL); } TerminateServerCommand* 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 TerminateServerCommand& from); void MergeFrom(const TerminateServerCommand& 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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(TerminateServerCommand* 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 ------------------------------------------------------- // string exitReason = 1; void clear_exitreason(); static const int kExitReasonFieldNumber = 1; const ::std::string& exitreason() const; void set_exitreason(const ::std::string& value); #if LANG_CXX11 void set_exitreason(::std::string&& value); #endif void set_exitreason(const char* value); void set_exitreason(const char* value, size_t size); ::std::string* mutable_exitreason(); ::std::string* release_exitreason(); void set_allocated_exitreason(::std::string* exitreason); // @@protoc_insertion_point(class_scope:pybullet_grpc.TerminateServerCommand) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr exitreason_; mutable int _cached_size_; friend struct protobuf_pybullet_2eproto::TableStruct; }; // ------------------------------------------------------------------- class StepSimulationCommand : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pybullet_grpc.StepSimulationCommand) */ { public: StepSimulationCommand(); virtual ~StepSimulationCommand(); StepSimulationCommand(const StepSimulationCommand& from); inline StepSimulationCommand& operator=(const StepSimulationCommand& from) { CopyFrom(from); return *this; } static const ::google::protobuf::Descriptor* descriptor(); static const StepSimulationCommand& default_instance(); static inline const StepSimulationCommand* internal_default_instance() { return reinterpret_cast( &_StepSimulationCommand_default_instance_); } void Swap(StepSimulationCommand* other); // implements Message ---------------------------------------------- inline StepSimulationCommand* New() const PROTOBUF_FINAL { return New(NULL); } StepSimulationCommand* 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 StepSimulationCommand& from); void MergeFrom(const StepSimulationCommand& 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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(StepSimulationCommand* 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 ------------------------------------------------------- // @@protoc_insertion_point(class_scope:pybullet_grpc.StepSimulationCommand) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; mutable int _cached_size_; friend struct protobuf_pybullet_2eproto::TableStruct; }; // ------------------------------------------------------------------- class LoadUrdfCommand : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pybullet_grpc.LoadUrdfCommand) */ { public: LoadUrdfCommand(); virtual ~LoadUrdfCommand(); LoadUrdfCommand(const LoadUrdfCommand& from); inline LoadUrdfCommand& operator=(const LoadUrdfCommand& from) { CopyFrom(from); return *this; } static const ::google::protobuf::Descriptor* descriptor(); static const LoadUrdfCommand& default_instance(); enum HasUseMultiBodyCase { kUseMultiBody = 4, HASUSEMULTIBODY_NOT_SET = 0, }; enum HasUseFixedBaseCase { kUseFixedBase = 5, HASUSEFIXEDBASE_NOT_SET = 0, }; enum HasGlobalScalingCase { kGlobalScaling = 7, HASGLOBALSCALING_NOT_SET = 0, }; static inline const LoadUrdfCommand* internal_default_instance() { return reinterpret_cast( &_LoadUrdfCommand_default_instance_); } void Swap(LoadUrdfCommand* other); // implements Message ---------------------------------------------- inline LoadUrdfCommand* New() const PROTOBUF_FINAL { return New(NULL); } LoadUrdfCommand* 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 LoadUrdfCommand& from); void MergeFrom(const LoadUrdfCommand& 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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(LoadUrdfCommand* 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 ------------------------------------------------------- // string urdfFileName = 1; void clear_urdffilename(); static const int kUrdfFileNameFieldNumber = 1; const ::std::string& urdffilename() const; void set_urdffilename(const ::std::string& value); #if LANG_CXX11 void set_urdffilename(::std::string&& value); #endif void set_urdffilename(const char* value); void set_urdffilename(const char* value, size_t size); ::std::string* mutable_urdffilename(); ::std::string* release_urdffilename(); void set_allocated_urdffilename(::std::string* urdffilename); // .pybullet_grpc.vec3 initialPosition = 2; bool has_initialposition() const; void clear_initialposition(); static const int kInitialPositionFieldNumber = 2; const ::pybullet_grpc::vec3& initialposition() const; ::pybullet_grpc::vec3* mutable_initialposition(); ::pybullet_grpc::vec3* release_initialposition(); void set_allocated_initialposition(::pybullet_grpc::vec3* initialposition); // .pybullet_grpc.quat4 initialOrientation = 3; bool has_initialorientation() const; void clear_initialorientation(); static const int kInitialOrientationFieldNumber = 3; const ::pybullet_grpc::quat4& initialorientation() const; ::pybullet_grpc::quat4* mutable_initialorientation(); ::pybullet_grpc::quat4* release_initialorientation(); void set_allocated_initialorientation(::pybullet_grpc::quat4* initialorientation); // int32 urdfFlags = 6; void clear_urdfflags(); static const int kUrdfFlagsFieldNumber = 6; ::google::protobuf::int32 urdfflags() const; void set_urdfflags(::google::protobuf::int32 value); // int32 useMultiBody = 4; private: bool has_usemultibody() const; public: void clear_usemultibody(); static const int kUseMultiBodyFieldNumber = 4; ::google::protobuf::int32 usemultibody() const; void set_usemultibody(::google::protobuf::int32 value); // bool useFixedBase = 5; private: bool has_usefixedbase() const; public: void clear_usefixedbase(); static const int kUseFixedBaseFieldNumber = 5; bool usefixedbase() const; void set_usefixedbase(bool value); // double globalScaling = 7; private: bool has_globalscaling() const; public: void clear_globalscaling(); static const int kGlobalScalingFieldNumber = 7; double globalscaling() const; void set_globalscaling(double value); HasUseMultiBodyCase hasUseMultiBody_case() const; HasUseFixedBaseCase hasUseFixedBase_case() const; HasGlobalScalingCase hasGlobalScaling_case() const; // @@protoc_insertion_point(class_scope:pybullet_grpc.LoadUrdfCommand) private: void set_has_usemultibody(); void set_has_usefixedbase(); void set_has_globalscaling(); inline bool has_hasUseMultiBody() const; void clear_hasUseMultiBody(); inline void clear_has_hasUseMultiBody(); inline bool has_hasUseFixedBase() const; void clear_hasUseFixedBase(); inline void clear_has_hasUseFixedBase(); inline bool has_hasGlobalScaling() const; void clear_hasGlobalScaling(); inline void clear_has_hasGlobalScaling(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr urdffilename_; ::pybullet_grpc::vec3* initialposition_; ::pybullet_grpc::quat4* initialorientation_; ::google::protobuf::int32 urdfflags_; union HasUseMultiBodyUnion { HasUseMultiBodyUnion() {} ::google::protobuf::int32 usemultibody_; } hasUseMultiBody_; union HasUseFixedBaseUnion { HasUseFixedBaseUnion() {} bool usefixedbase_; } hasUseFixedBase_; union HasGlobalScalingUnion { HasGlobalScalingUnion() {} double globalscaling_; } hasGlobalScaling_; mutable int _cached_size_; ::google::protobuf::uint32 _oneof_case_[3]; friend struct protobuf_pybullet_2eproto::TableStruct; }; // ------------------------------------------------------------------- class LoadUrdfStatus : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pybullet_grpc.LoadUrdfStatus) */ { public: LoadUrdfStatus(); virtual ~LoadUrdfStatus(); LoadUrdfStatus(const LoadUrdfStatus& from); inline LoadUrdfStatus& operator=(const LoadUrdfStatus& from) { CopyFrom(from); return *this; } static const ::google::protobuf::Descriptor* descriptor(); static const LoadUrdfStatus& default_instance(); static inline const LoadUrdfStatus* internal_default_instance() { return reinterpret_cast( &_LoadUrdfStatus_default_instance_); } void Swap(LoadUrdfStatus* other); // implements Message ---------------------------------------------- inline LoadUrdfStatus* New() const PROTOBUF_FINAL { return New(NULL); } LoadUrdfStatus* 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 LoadUrdfStatus& from); void MergeFrom(const LoadUrdfStatus& 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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(LoadUrdfStatus* 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 ------------------------------------------------------- // int32 objectUniqueId = 1; void clear_objectuniqueid(); static const int kObjectUniqueIdFieldNumber = 1; ::google::protobuf::int32 objectuniqueid() const; void set_objectuniqueid(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:pybullet_grpc.LoadUrdfStatus) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::int32 objectuniqueid_; mutable int _cached_size_; friend struct protobuf_pybullet_2eproto::TableStruct; }; // ------------------------------------------------------------------- class PyBulletCommand : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pybullet_grpc.PyBulletCommand) */ { public: PyBulletCommand(); virtual ~PyBulletCommand(); PyBulletCommand(const PyBulletCommand& from); inline PyBulletCommand& operator=(const PyBulletCommand& from) { CopyFrom(from); return *this; } static const ::google::protobuf::Descriptor* descriptor(); static const PyBulletCommand& default_instance(); enum CommandsCase { kLoadUrdfCommand = 3, kTerminateServerCommand = 4, kStepSimulationCommand = 5, COMMANDS_NOT_SET = 0, }; static inline const PyBulletCommand* internal_default_instance() { return reinterpret_cast( &_PyBulletCommand_default_instance_); } void Swap(PyBulletCommand* other); // implements Message ---------------------------------------------- inline PyBulletCommand* New() const PROTOBUF_FINAL { return New(NULL); } PyBulletCommand* 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 PyBulletCommand& from); void MergeFrom(const PyBulletCommand& 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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(PyBulletCommand* 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 ------------------------------------------------------- // int32 commandType = 1; void clear_commandtype(); static const int kCommandTypeFieldNumber = 1; ::google::protobuf::int32 commandtype() const; void set_commandtype(::google::protobuf::int32 value); // .pybullet_grpc.LoadUrdfCommand loadUrdfCommand = 3; bool has_loadurdfcommand() const; void clear_loadurdfcommand(); static const int kLoadUrdfCommandFieldNumber = 3; const ::pybullet_grpc::LoadUrdfCommand& loadurdfcommand() const; ::pybullet_grpc::LoadUrdfCommand* mutable_loadurdfcommand(); ::pybullet_grpc::LoadUrdfCommand* release_loadurdfcommand(); void set_allocated_loadurdfcommand(::pybullet_grpc::LoadUrdfCommand* loadurdfcommand); // .pybullet_grpc.TerminateServerCommand terminateServerCommand = 4; bool has_terminateservercommand() const; void clear_terminateservercommand(); static const int kTerminateServerCommandFieldNumber = 4; const ::pybullet_grpc::TerminateServerCommand& terminateservercommand() const; ::pybullet_grpc::TerminateServerCommand* mutable_terminateservercommand(); ::pybullet_grpc::TerminateServerCommand* release_terminateservercommand(); void set_allocated_terminateservercommand(::pybullet_grpc::TerminateServerCommand* terminateservercommand); // .pybullet_grpc.StepSimulationCommand stepSimulationCommand = 5; bool has_stepsimulationcommand() const; void clear_stepsimulationcommand(); static const int kStepSimulationCommandFieldNumber = 5; const ::pybullet_grpc::StepSimulationCommand& stepsimulationcommand() const; ::pybullet_grpc::StepSimulationCommand* mutable_stepsimulationcommand(); ::pybullet_grpc::StepSimulationCommand* release_stepsimulationcommand(); void set_allocated_stepsimulationcommand(::pybullet_grpc::StepSimulationCommand* stepsimulationcommand); CommandsCase commands_case() const; // @@protoc_insertion_point(class_scope:pybullet_grpc.PyBulletCommand) private: void set_has_loadurdfcommand(); void set_has_terminateservercommand(); void set_has_stepsimulationcommand(); inline bool has_commands() const; void clear_commands(); inline void clear_has_commands(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::int32 commandtype_; union CommandsUnion { CommandsUnion() {} ::pybullet_grpc::LoadUrdfCommand* loadurdfcommand_; ::pybullet_grpc::TerminateServerCommand* terminateservercommand_; ::pybullet_grpc::StepSimulationCommand* stepsimulationcommand_; } commands_; mutable int _cached_size_; ::google::protobuf::uint32 _oneof_case_[1]; friend struct protobuf_pybullet_2eproto::TableStruct; }; // ------------------------------------------------------------------- class PyBulletStatus : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pybullet_grpc.PyBulletStatus) */ { public: PyBulletStatus(); virtual ~PyBulletStatus(); PyBulletStatus(const PyBulletStatus& from); inline PyBulletStatus& operator=(const PyBulletStatus& from) { CopyFrom(from); return *this; } static const ::google::protobuf::Descriptor* descriptor(); static const PyBulletStatus& default_instance(); enum StatusCase { kUrdfStatus = 2, STATUS_NOT_SET = 0, }; static inline const PyBulletStatus* internal_default_instance() { return reinterpret_cast( &_PyBulletStatus_default_instance_); } void Swap(PyBulletStatus* other); // implements Message ---------------------------------------------- inline PyBulletStatus* New() const PROTOBUF_FINAL { return New(NULL); } PyBulletStatus* 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 PyBulletStatus& from); void MergeFrom(const PyBulletStatus& 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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const PROTOBUF_FINAL { return InternalSerializeWithCachedSizesToArray( ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output); } int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(PyBulletStatus* 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 ------------------------------------------------------- // int32 statusType = 1; void clear_statustype(); static const int kStatusTypeFieldNumber = 1; ::google::protobuf::int32 statustype() const; void set_statustype(::google::protobuf::int32 value); // .pybullet_grpc.LoadUrdfStatus urdfStatus = 2; bool has_urdfstatus() const; void clear_urdfstatus(); static const int kUrdfStatusFieldNumber = 2; const ::pybullet_grpc::LoadUrdfStatus& urdfstatus() const; ::pybullet_grpc::LoadUrdfStatus* mutable_urdfstatus(); ::pybullet_grpc::LoadUrdfStatus* release_urdfstatus(); void set_allocated_urdfstatus(::pybullet_grpc::LoadUrdfStatus* urdfstatus); StatusCase status_case() const; // @@protoc_insertion_point(class_scope:pybullet_grpc.PyBulletStatus) private: void set_has_urdfstatus(); inline bool has_status() const; void clear_status(); inline void clear_has_status(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::int32 statustype_; union StatusUnion { StatusUnion() {} ::pybullet_grpc::LoadUrdfStatus* urdfstatus_; } status_; mutable int _cached_size_; ::google::protobuf::uint32 _oneof_case_[1]; friend struct protobuf_pybullet_2eproto::TableStruct; }; // =================================================================== // =================================================================== #if !PROTOBUF_INLINE_NOT_IN_HEADERS // vec3 // double x = 1; inline void vec3::clear_x() { x_ = 0; } inline double vec3::x() const { // @@protoc_insertion_point(field_get:pybullet_grpc.vec3.x) return x_; } inline void vec3::set_x(double value) { x_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.vec3.x) } // double y = 2; inline void vec3::clear_y() { y_ = 0; } inline double vec3::y() const { // @@protoc_insertion_point(field_get:pybullet_grpc.vec3.y) return y_; } inline void vec3::set_y(double value) { y_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.vec3.y) } // double z = 3; inline void vec3::clear_z() { z_ = 0; } inline double vec3::z() const { // @@protoc_insertion_point(field_get:pybullet_grpc.vec3.z) return z_; } inline void vec3::set_z(double value) { z_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.vec3.z) } // ------------------------------------------------------------------- // quat4 // double x = 1; inline void quat4::clear_x() { x_ = 0; } inline double quat4::x() const { // @@protoc_insertion_point(field_get:pybullet_grpc.quat4.x) return x_; } inline void quat4::set_x(double value) { x_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.quat4.x) } // double y = 2; inline void quat4::clear_y() { y_ = 0; } inline double quat4::y() const { // @@protoc_insertion_point(field_get:pybullet_grpc.quat4.y) return y_; } inline void quat4::set_y(double value) { y_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.quat4.y) } // double z = 3; inline void quat4::clear_z() { z_ = 0; } inline double quat4::z() const { // @@protoc_insertion_point(field_get:pybullet_grpc.quat4.z) return z_; } inline void quat4::set_z(double value) { z_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.quat4.z) } // double w = 4; inline void quat4::clear_w() { w_ = 0; } inline double quat4::w() const { // @@protoc_insertion_point(field_get:pybullet_grpc.quat4.w) return w_; } inline void quat4::set_w(double value) { w_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.quat4.w) } // ------------------------------------------------------------------- // TerminateServerCommand // string exitReason = 1; inline void TerminateServerCommand::clear_exitreason() { exitreason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& TerminateServerCommand::exitreason() const { // @@protoc_insertion_point(field_get:pybullet_grpc.TerminateServerCommand.exitReason) return exitreason_.GetNoArena(); } inline void TerminateServerCommand::set_exitreason(const ::std::string& value) { exitreason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:pybullet_grpc.TerminateServerCommand.exitReason) } #if LANG_CXX11 inline void TerminateServerCommand::set_exitreason(::std::string&& value) { exitreason_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value)); // @@protoc_insertion_point(field_set_rvalue:pybullet_grpc.TerminateServerCommand.exitReason) } #endif inline void TerminateServerCommand::set_exitreason(const char* value) { exitreason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:pybullet_grpc.TerminateServerCommand.exitReason) } inline void TerminateServerCommand::set_exitreason(const char* value, size_t size) { exitreason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:pybullet_grpc.TerminateServerCommand.exitReason) } inline ::std::string* TerminateServerCommand::mutable_exitreason() { // @@protoc_insertion_point(field_mutable:pybullet_grpc.TerminateServerCommand.exitReason) return exitreason_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* TerminateServerCommand::release_exitreason() { // @@protoc_insertion_point(field_release:pybullet_grpc.TerminateServerCommand.exitReason) return exitreason_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void TerminateServerCommand::set_allocated_exitreason(::std::string* exitreason) { if (exitreason != NULL) { } else { } exitreason_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), exitreason); // @@protoc_insertion_point(field_set_allocated:pybullet_grpc.TerminateServerCommand.exitReason) } // ------------------------------------------------------------------- // StepSimulationCommand // ------------------------------------------------------------------- // LoadUrdfCommand // string urdfFileName = 1; inline void LoadUrdfCommand::clear_urdffilename() { urdffilename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& LoadUrdfCommand::urdffilename() const { // @@protoc_insertion_point(field_get:pybullet_grpc.LoadUrdfCommand.urdfFileName) return urdffilename_.GetNoArena(); } inline void LoadUrdfCommand::set_urdffilename(const ::std::string& value) { urdffilename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:pybullet_grpc.LoadUrdfCommand.urdfFileName) } #if LANG_CXX11 inline void LoadUrdfCommand::set_urdffilename(::std::string&& value) { urdffilename_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value)); // @@protoc_insertion_point(field_set_rvalue:pybullet_grpc.LoadUrdfCommand.urdfFileName) } #endif inline void LoadUrdfCommand::set_urdffilename(const char* value) { urdffilename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:pybullet_grpc.LoadUrdfCommand.urdfFileName) } inline void LoadUrdfCommand::set_urdffilename(const char* value, size_t size) { urdffilename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:pybullet_grpc.LoadUrdfCommand.urdfFileName) } inline ::std::string* LoadUrdfCommand::mutable_urdffilename() { // @@protoc_insertion_point(field_mutable:pybullet_grpc.LoadUrdfCommand.urdfFileName) return urdffilename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* LoadUrdfCommand::release_urdffilename() { // @@protoc_insertion_point(field_release:pybullet_grpc.LoadUrdfCommand.urdfFileName) return urdffilename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void LoadUrdfCommand::set_allocated_urdffilename(::std::string* urdffilename) { if (urdffilename != NULL) { } else { } urdffilename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), urdffilename); // @@protoc_insertion_point(field_set_allocated:pybullet_grpc.LoadUrdfCommand.urdfFileName) } // .pybullet_grpc.vec3 initialPosition = 2; inline bool LoadUrdfCommand::has_initialposition() const { return this != internal_default_instance() && initialposition_ != NULL; } inline void LoadUrdfCommand::clear_initialposition() { if (GetArenaNoVirtual() == NULL && initialposition_ != NULL) delete initialposition_; initialposition_ = NULL; } inline const ::pybullet_grpc::vec3& LoadUrdfCommand::initialposition() const { // @@protoc_insertion_point(field_get:pybullet_grpc.LoadUrdfCommand.initialPosition) return initialposition_ != NULL ? *initialposition_ : *::pybullet_grpc::vec3::internal_default_instance(); } inline ::pybullet_grpc::vec3* LoadUrdfCommand::mutable_initialposition() { if (initialposition_ == NULL) { initialposition_ = new ::pybullet_grpc::vec3; } // @@protoc_insertion_point(field_mutable:pybullet_grpc.LoadUrdfCommand.initialPosition) return initialposition_; } inline ::pybullet_grpc::vec3* LoadUrdfCommand::release_initialposition() { // @@protoc_insertion_point(field_release:pybullet_grpc.LoadUrdfCommand.initialPosition) ::pybullet_grpc::vec3* temp = initialposition_; initialposition_ = NULL; return temp; } inline void LoadUrdfCommand::set_allocated_initialposition(::pybullet_grpc::vec3* initialposition) { delete initialposition_; initialposition_ = initialposition; if (initialposition) { } else { } // @@protoc_insertion_point(field_set_allocated:pybullet_grpc.LoadUrdfCommand.initialPosition) } // .pybullet_grpc.quat4 initialOrientation = 3; inline bool LoadUrdfCommand::has_initialorientation() const { return this != internal_default_instance() && initialorientation_ != NULL; } inline void LoadUrdfCommand::clear_initialorientation() { if (GetArenaNoVirtual() == NULL && initialorientation_ != NULL) delete initialorientation_; initialorientation_ = NULL; } inline const ::pybullet_grpc::quat4& LoadUrdfCommand::initialorientation() const { // @@protoc_insertion_point(field_get:pybullet_grpc.LoadUrdfCommand.initialOrientation) return initialorientation_ != NULL ? *initialorientation_ : *::pybullet_grpc::quat4::internal_default_instance(); } inline ::pybullet_grpc::quat4* LoadUrdfCommand::mutable_initialorientation() { if (initialorientation_ == NULL) { initialorientation_ = new ::pybullet_grpc::quat4; } // @@protoc_insertion_point(field_mutable:pybullet_grpc.LoadUrdfCommand.initialOrientation) return initialorientation_; } inline ::pybullet_grpc::quat4* LoadUrdfCommand::release_initialorientation() { // @@protoc_insertion_point(field_release:pybullet_grpc.LoadUrdfCommand.initialOrientation) ::pybullet_grpc::quat4* temp = initialorientation_; initialorientation_ = NULL; return temp; } inline void LoadUrdfCommand::set_allocated_initialorientation(::pybullet_grpc::quat4* initialorientation) { delete initialorientation_; initialorientation_ = initialorientation; if (initialorientation) { } else { } // @@protoc_insertion_point(field_set_allocated:pybullet_grpc.LoadUrdfCommand.initialOrientation) } // int32 useMultiBody = 4; inline bool LoadUrdfCommand::has_usemultibody() const { return hasUseMultiBody_case() == kUseMultiBody; } inline void LoadUrdfCommand::set_has_usemultibody() { _oneof_case_[0] = kUseMultiBody; } inline void LoadUrdfCommand::clear_usemultibody() { if (has_usemultibody()) { hasUseMultiBody_.usemultibody_ = 0; clear_has_hasUseMultiBody(); } } inline ::google::protobuf::int32 LoadUrdfCommand::usemultibody() const { // @@protoc_insertion_point(field_get:pybullet_grpc.LoadUrdfCommand.useMultiBody) if (has_usemultibody()) { return hasUseMultiBody_.usemultibody_; } return 0; } inline void LoadUrdfCommand::set_usemultibody(::google::protobuf::int32 value) { if (!has_usemultibody()) { clear_hasUseMultiBody(); set_has_usemultibody(); } hasUseMultiBody_.usemultibody_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.LoadUrdfCommand.useMultiBody) } // bool useFixedBase = 5; inline bool LoadUrdfCommand::has_usefixedbase() const { return hasUseFixedBase_case() == kUseFixedBase; } inline void LoadUrdfCommand::set_has_usefixedbase() { _oneof_case_[1] = kUseFixedBase; } inline void LoadUrdfCommand::clear_usefixedbase() { if (has_usefixedbase()) { hasUseFixedBase_.usefixedbase_ = false; clear_has_hasUseFixedBase(); } } inline bool LoadUrdfCommand::usefixedbase() const { // @@protoc_insertion_point(field_get:pybullet_grpc.LoadUrdfCommand.useFixedBase) if (has_usefixedbase()) { return hasUseFixedBase_.usefixedbase_; } return false; } inline void LoadUrdfCommand::set_usefixedbase(bool value) { if (!has_usefixedbase()) { clear_hasUseFixedBase(); set_has_usefixedbase(); } hasUseFixedBase_.usefixedbase_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.LoadUrdfCommand.useFixedBase) } // int32 urdfFlags = 6; inline void LoadUrdfCommand::clear_urdfflags() { urdfflags_ = 0; } inline ::google::protobuf::int32 LoadUrdfCommand::urdfflags() const { // @@protoc_insertion_point(field_get:pybullet_grpc.LoadUrdfCommand.urdfFlags) return urdfflags_; } inline void LoadUrdfCommand::set_urdfflags(::google::protobuf::int32 value) { urdfflags_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.LoadUrdfCommand.urdfFlags) } // double globalScaling = 7; inline bool LoadUrdfCommand::has_globalscaling() const { return hasGlobalScaling_case() == kGlobalScaling; } inline void LoadUrdfCommand::set_has_globalscaling() { _oneof_case_[2] = kGlobalScaling; } inline void LoadUrdfCommand::clear_globalscaling() { if (has_globalscaling()) { hasGlobalScaling_.globalscaling_ = 0; clear_has_hasGlobalScaling(); } } inline double LoadUrdfCommand::globalscaling() const { // @@protoc_insertion_point(field_get:pybullet_grpc.LoadUrdfCommand.globalScaling) if (has_globalscaling()) { return hasGlobalScaling_.globalscaling_; } return 0; } inline void LoadUrdfCommand::set_globalscaling(double value) { if (!has_globalscaling()) { clear_hasGlobalScaling(); set_has_globalscaling(); } hasGlobalScaling_.globalscaling_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.LoadUrdfCommand.globalScaling) } inline bool LoadUrdfCommand::has_hasUseMultiBody() const { return hasUseMultiBody_case() != HASUSEMULTIBODY_NOT_SET; } inline void LoadUrdfCommand::clear_has_hasUseMultiBody() { _oneof_case_[0] = HASUSEMULTIBODY_NOT_SET; } inline bool LoadUrdfCommand::has_hasUseFixedBase() const { return hasUseFixedBase_case() != HASUSEFIXEDBASE_NOT_SET; } inline void LoadUrdfCommand::clear_has_hasUseFixedBase() { _oneof_case_[1] = HASUSEFIXEDBASE_NOT_SET; } inline bool LoadUrdfCommand::has_hasGlobalScaling() const { return hasGlobalScaling_case() != HASGLOBALSCALING_NOT_SET; } inline void LoadUrdfCommand::clear_has_hasGlobalScaling() { _oneof_case_[2] = HASGLOBALSCALING_NOT_SET; } inline LoadUrdfCommand::HasUseMultiBodyCase LoadUrdfCommand::hasUseMultiBody_case() const { return LoadUrdfCommand::HasUseMultiBodyCase(_oneof_case_[0]); } inline LoadUrdfCommand::HasUseFixedBaseCase LoadUrdfCommand::hasUseFixedBase_case() const { return LoadUrdfCommand::HasUseFixedBaseCase(_oneof_case_[1]); } inline LoadUrdfCommand::HasGlobalScalingCase LoadUrdfCommand::hasGlobalScaling_case() const { return LoadUrdfCommand::HasGlobalScalingCase(_oneof_case_[2]); } // ------------------------------------------------------------------- // LoadUrdfStatus // int32 objectUniqueId = 1; inline void LoadUrdfStatus::clear_objectuniqueid() { objectuniqueid_ = 0; } inline ::google::protobuf::int32 LoadUrdfStatus::objectuniqueid() const { // @@protoc_insertion_point(field_get:pybullet_grpc.LoadUrdfStatus.objectUniqueId) return objectuniqueid_; } inline void LoadUrdfStatus::set_objectuniqueid(::google::protobuf::int32 value) { objectuniqueid_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.LoadUrdfStatus.objectUniqueId) } // ------------------------------------------------------------------- // PyBulletCommand // int32 commandType = 1; inline void PyBulletCommand::clear_commandtype() { commandtype_ = 0; } inline ::google::protobuf::int32 PyBulletCommand::commandtype() const { // @@protoc_insertion_point(field_get:pybullet_grpc.PyBulletCommand.commandType) return commandtype_; } inline void PyBulletCommand::set_commandtype(::google::protobuf::int32 value) { commandtype_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.PyBulletCommand.commandType) } // .pybullet_grpc.LoadUrdfCommand loadUrdfCommand = 3; inline bool PyBulletCommand::has_loadurdfcommand() const { return commands_case() == kLoadUrdfCommand; } inline void PyBulletCommand::set_has_loadurdfcommand() { _oneof_case_[0] = kLoadUrdfCommand; } inline void PyBulletCommand::clear_loadurdfcommand() { if (has_loadurdfcommand()) { delete commands_.loadurdfcommand_; clear_has_commands(); } } inline const ::pybullet_grpc::LoadUrdfCommand& PyBulletCommand::loadurdfcommand() const { // @@protoc_insertion_point(field_get:pybullet_grpc.PyBulletCommand.loadUrdfCommand) return has_loadurdfcommand() ? *commands_.loadurdfcommand_ : ::pybullet_grpc::LoadUrdfCommand::default_instance(); } inline ::pybullet_grpc::LoadUrdfCommand* PyBulletCommand::mutable_loadurdfcommand() { if (!has_loadurdfcommand()) { clear_commands(); set_has_loadurdfcommand(); commands_.loadurdfcommand_ = new ::pybullet_grpc::LoadUrdfCommand; } // @@protoc_insertion_point(field_mutable:pybullet_grpc.PyBulletCommand.loadUrdfCommand) return commands_.loadurdfcommand_; } inline ::pybullet_grpc::LoadUrdfCommand* PyBulletCommand::release_loadurdfcommand() { // @@protoc_insertion_point(field_release:pybullet_grpc.PyBulletCommand.loadUrdfCommand) if (has_loadurdfcommand()) { clear_has_commands(); ::pybullet_grpc::LoadUrdfCommand* temp = commands_.loadurdfcommand_; commands_.loadurdfcommand_ = NULL; return temp; } else { return NULL; } } inline void PyBulletCommand::set_allocated_loadurdfcommand(::pybullet_grpc::LoadUrdfCommand* loadurdfcommand) { clear_commands(); if (loadurdfcommand) { set_has_loadurdfcommand(); commands_.loadurdfcommand_ = loadurdfcommand; } // @@protoc_insertion_point(field_set_allocated:pybullet_grpc.PyBulletCommand.loadUrdfCommand) } // .pybullet_grpc.TerminateServerCommand terminateServerCommand = 4; inline bool PyBulletCommand::has_terminateservercommand() const { return commands_case() == kTerminateServerCommand; } inline void PyBulletCommand::set_has_terminateservercommand() { _oneof_case_[0] = kTerminateServerCommand; } inline void PyBulletCommand::clear_terminateservercommand() { if (has_terminateservercommand()) { delete commands_.terminateservercommand_; clear_has_commands(); } } inline const ::pybullet_grpc::TerminateServerCommand& PyBulletCommand::terminateservercommand() const { // @@protoc_insertion_point(field_get:pybullet_grpc.PyBulletCommand.terminateServerCommand) return has_terminateservercommand() ? *commands_.terminateservercommand_ : ::pybullet_grpc::TerminateServerCommand::default_instance(); } inline ::pybullet_grpc::TerminateServerCommand* PyBulletCommand::mutable_terminateservercommand() { if (!has_terminateservercommand()) { clear_commands(); set_has_terminateservercommand(); commands_.terminateservercommand_ = new ::pybullet_grpc::TerminateServerCommand; } // @@protoc_insertion_point(field_mutable:pybullet_grpc.PyBulletCommand.terminateServerCommand) return commands_.terminateservercommand_; } inline ::pybullet_grpc::TerminateServerCommand* PyBulletCommand::release_terminateservercommand() { // @@protoc_insertion_point(field_release:pybullet_grpc.PyBulletCommand.terminateServerCommand) if (has_terminateservercommand()) { clear_has_commands(); ::pybullet_grpc::TerminateServerCommand* temp = commands_.terminateservercommand_; commands_.terminateservercommand_ = NULL; return temp; } else { return NULL; } } inline void PyBulletCommand::set_allocated_terminateservercommand(::pybullet_grpc::TerminateServerCommand* terminateservercommand) { clear_commands(); if (terminateservercommand) { set_has_terminateservercommand(); commands_.terminateservercommand_ = terminateservercommand; } // @@protoc_insertion_point(field_set_allocated:pybullet_grpc.PyBulletCommand.terminateServerCommand) } // .pybullet_grpc.StepSimulationCommand stepSimulationCommand = 5; inline bool PyBulletCommand::has_stepsimulationcommand() const { return commands_case() == kStepSimulationCommand; } inline void PyBulletCommand::set_has_stepsimulationcommand() { _oneof_case_[0] = kStepSimulationCommand; } inline void PyBulletCommand::clear_stepsimulationcommand() { if (has_stepsimulationcommand()) { delete commands_.stepsimulationcommand_; clear_has_commands(); } } inline const ::pybullet_grpc::StepSimulationCommand& PyBulletCommand::stepsimulationcommand() const { // @@protoc_insertion_point(field_get:pybullet_grpc.PyBulletCommand.stepSimulationCommand) return has_stepsimulationcommand() ? *commands_.stepsimulationcommand_ : ::pybullet_grpc::StepSimulationCommand::default_instance(); } inline ::pybullet_grpc::StepSimulationCommand* PyBulletCommand::mutable_stepsimulationcommand() { if (!has_stepsimulationcommand()) { clear_commands(); set_has_stepsimulationcommand(); commands_.stepsimulationcommand_ = new ::pybullet_grpc::StepSimulationCommand; } // @@protoc_insertion_point(field_mutable:pybullet_grpc.PyBulletCommand.stepSimulationCommand) return commands_.stepsimulationcommand_; } inline ::pybullet_grpc::StepSimulationCommand* PyBulletCommand::release_stepsimulationcommand() { // @@protoc_insertion_point(field_release:pybullet_grpc.PyBulletCommand.stepSimulationCommand) if (has_stepsimulationcommand()) { clear_has_commands(); ::pybullet_grpc::StepSimulationCommand* temp = commands_.stepsimulationcommand_; commands_.stepsimulationcommand_ = NULL; return temp; } else { return NULL; } } inline void PyBulletCommand::set_allocated_stepsimulationcommand(::pybullet_grpc::StepSimulationCommand* stepsimulationcommand) { clear_commands(); if (stepsimulationcommand) { set_has_stepsimulationcommand(); commands_.stepsimulationcommand_ = stepsimulationcommand; } // @@protoc_insertion_point(field_set_allocated:pybullet_grpc.PyBulletCommand.stepSimulationCommand) } inline bool PyBulletCommand::has_commands() const { return commands_case() != COMMANDS_NOT_SET; } inline void PyBulletCommand::clear_has_commands() { _oneof_case_[0] = COMMANDS_NOT_SET; } inline PyBulletCommand::CommandsCase PyBulletCommand::commands_case() const { return PyBulletCommand::CommandsCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // PyBulletStatus // int32 statusType = 1; inline void PyBulletStatus::clear_statustype() { statustype_ = 0; } inline ::google::protobuf::int32 PyBulletStatus::statustype() const { // @@protoc_insertion_point(field_get:pybullet_grpc.PyBulletStatus.statusType) return statustype_; } inline void PyBulletStatus::set_statustype(::google::protobuf::int32 value) { statustype_ = value; // @@protoc_insertion_point(field_set:pybullet_grpc.PyBulletStatus.statusType) } // .pybullet_grpc.LoadUrdfStatus urdfStatus = 2; inline bool PyBulletStatus::has_urdfstatus() const { return status_case() == kUrdfStatus; } inline void PyBulletStatus::set_has_urdfstatus() { _oneof_case_[0] = kUrdfStatus; } inline void PyBulletStatus::clear_urdfstatus() { if (has_urdfstatus()) { delete status_.urdfstatus_; clear_has_status(); } } inline const ::pybullet_grpc::LoadUrdfStatus& PyBulletStatus::urdfstatus() const { // @@protoc_insertion_point(field_get:pybullet_grpc.PyBulletStatus.urdfStatus) return has_urdfstatus() ? *status_.urdfstatus_ : ::pybullet_grpc::LoadUrdfStatus::default_instance(); } inline ::pybullet_grpc::LoadUrdfStatus* PyBulletStatus::mutable_urdfstatus() { if (!has_urdfstatus()) { clear_status(); set_has_urdfstatus(); status_.urdfstatus_ = new ::pybullet_grpc::LoadUrdfStatus; } // @@protoc_insertion_point(field_mutable:pybullet_grpc.PyBulletStatus.urdfStatus) return status_.urdfstatus_; } inline ::pybullet_grpc::LoadUrdfStatus* PyBulletStatus::release_urdfstatus() { // @@protoc_insertion_point(field_release:pybullet_grpc.PyBulletStatus.urdfStatus) if (has_urdfstatus()) { clear_has_status(); ::pybullet_grpc::LoadUrdfStatus* temp = status_.urdfstatus_; status_.urdfstatus_ = NULL; return temp; } else { return NULL; } } inline void PyBulletStatus::set_allocated_urdfstatus(::pybullet_grpc::LoadUrdfStatus* urdfstatus) { clear_status(); if (urdfstatus) { set_has_urdfstatus(); status_.urdfstatus_ = urdfstatus; } // @@protoc_insertion_point(field_set_allocated:pybullet_grpc.PyBulletStatus.urdfStatus) } inline bool PyBulletStatus::has_status() const { return status_case() != STATUS_NOT_SET; } inline void PyBulletStatus::clear_has_status() { _oneof_case_[0] = STATUS_NOT_SET; } inline PyBulletStatus::StatusCase PyBulletStatus::status_case() const { return PyBulletStatus::StatusCase(_oneof_case_[0]); } #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace pybullet_grpc // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_pybullet_2eproto__INCLUDED