// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: snap7_communication.proto

#ifndef PROTOBUF_snap7_5fcommunication_2eproto__INCLUDED
#define PROTOBUF_snap7_5fcommunication_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3005000
#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 3005000 < 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/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)

namespace protobuf_snap7_5fcommunication_2eproto {
// Internal implementation detail -- do not use these members.
struct TableStruct {
  static const ::google::protobuf::internal::ParseTableField entries[];
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  static const ::google::protobuf::internal::ParseTable schema[2];
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
  static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors();
void InitDefaultsSnap7_communication_parameterImpl();
void InitDefaultsSnap7_communication_parameter();
void InitDefaultsSnap7_communication_parameter_allImpl();
void InitDefaultsSnap7_communication_parameter_all();
inline void InitDefaults() {
  InitDefaultsSnap7_communication_parameter();
  InitDefaultsSnap7_communication_parameter_all();
}
}  // namespace protobuf_snap7_5fcommunication_2eproto
namespace Snap7_communication_proto {
class Snap7_communication_parameter;
class Snap7_communication_parameterDefaultTypeInternal;
extern Snap7_communication_parameterDefaultTypeInternal _Snap7_communication_parameter_default_instance_;
class Snap7_communication_parameter_all;
class Snap7_communication_parameter_allDefaultTypeInternal;
extern Snap7_communication_parameter_allDefaultTypeInternal _Snap7_communication_parameter_all_default_instance_;
}  // namespace Snap7_communication_proto
namespace Snap7_communication_proto {

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

class Snap7_communication_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Snap7_communication_proto.Snap7_communication_parameter) */ {
 public:
  Snap7_communication_parameter();
  virtual ~Snap7_communication_parameter();

  Snap7_communication_parameter(const Snap7_communication_parameter& from);

  inline Snap7_communication_parameter& operator=(const Snap7_communication_parameter& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  Snap7_communication_parameter(Snap7_communication_parameter&& from) noexcept
    : Snap7_communication_parameter() {
    *this = ::std::move(from);
  }

  inline Snap7_communication_parameter& operator=(Snap7_communication_parameter&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

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

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Snap7_communication_parameter* internal_default_instance() {
    return reinterpret_cast<const Snap7_communication_parameter*>(
               &_Snap7_communication_parameter_default_instance_);
  }
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
    0;

  void Swap(Snap7_communication_parameter* other);
  friend void swap(Snap7_communication_parameter& a, Snap7_communication_parameter& b) {
    a.Swap(&b);
  }

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

  inline Snap7_communication_parameter* New() const PROTOBUF_FINAL { return New(NULL); }

  Snap7_communication_parameter* 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 Snap7_communication_parameter& from);
  void MergeFrom(const Snap7_communication_parameter& 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(Snap7_communication_parameter* 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 -------------------------------------------------------

  // required string ip_string = 1 [default = "192.168.0.1"];
  bool has_ip_string() const;
  void clear_ip_string();
  static const int kIpStringFieldNumber = 1;
  const ::std::string& ip_string() const;
  void set_ip_string(const ::std::string& value);
  #if LANG_CXX11
  void set_ip_string(::std::string&& value);
  #endif
  void set_ip_string(const char* value);
  void set_ip_string(const char* value, size_t size);
  ::std::string* mutable_ip_string();
  ::std::string* release_ip_string();
  void set_allocated_ip_string(::std::string* ip_string);

  // @@protoc_insertion_point(class_scope:Snap7_communication_proto.Snap7_communication_parameter)
 private:
  void set_has_ip_string();
  void clear_has_ip_string();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_ip_string_;
  ::google::protobuf::internal::ArenaStringPtr ip_string_;
  friend struct ::protobuf_snap7_5fcommunication_2eproto::TableStruct;
  friend void ::protobuf_snap7_5fcommunication_2eproto::InitDefaultsSnap7_communication_parameterImpl();
};
// -------------------------------------------------------------------

class Snap7_communication_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Snap7_communication_proto.Snap7_communication_parameter_all) */ {
 public:
  Snap7_communication_parameter_all();
  virtual ~Snap7_communication_parameter_all();

  Snap7_communication_parameter_all(const Snap7_communication_parameter_all& from);

  inline Snap7_communication_parameter_all& operator=(const Snap7_communication_parameter_all& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  Snap7_communication_parameter_all(Snap7_communication_parameter_all&& from) noexcept
    : Snap7_communication_parameter_all() {
    *this = ::std::move(from);
  }

  inline Snap7_communication_parameter_all& operator=(Snap7_communication_parameter_all&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

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

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Snap7_communication_parameter_all* internal_default_instance() {
    return reinterpret_cast<const Snap7_communication_parameter_all*>(
               &_Snap7_communication_parameter_all_default_instance_);
  }
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
    1;

  void Swap(Snap7_communication_parameter_all* other);
  friend void swap(Snap7_communication_parameter_all& a, Snap7_communication_parameter_all& b) {
    a.Swap(&b);
  }

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

  inline Snap7_communication_parameter_all* New() const PROTOBUF_FINAL { return New(NULL); }

  Snap7_communication_parameter_all* 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 Snap7_communication_parameter_all& from);
  void MergeFrom(const Snap7_communication_parameter_all& 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(Snap7_communication_parameter_all* 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 -------------------------------------------------------

  // required .Snap7_communication_proto.Snap7_communication_parameter snap7_communication_parameters = 1;
  bool has_snap7_communication_parameters() const;
  void clear_snap7_communication_parameters();
  static const int kSnap7CommunicationParametersFieldNumber = 1;
  const ::Snap7_communication_proto::Snap7_communication_parameter& snap7_communication_parameters() const;
  ::Snap7_communication_proto::Snap7_communication_parameter* release_snap7_communication_parameters();
  ::Snap7_communication_proto::Snap7_communication_parameter* mutable_snap7_communication_parameters();
  void set_allocated_snap7_communication_parameters(::Snap7_communication_proto::Snap7_communication_parameter* snap7_communication_parameters);

  // @@protoc_insertion_point(class_scope:Snap7_communication_proto.Snap7_communication_parameter_all)
 private:
  void set_has_snap7_communication_parameters();
  void clear_has_snap7_communication_parameters();

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _cached_size_;
  ::Snap7_communication_proto::Snap7_communication_parameter* snap7_communication_parameters_;
  friend struct ::protobuf_snap7_5fcommunication_2eproto::TableStruct;
  friend void ::protobuf_snap7_5fcommunication_2eproto::InitDefaultsSnap7_communication_parameter_allImpl();
};
// ===================================================================


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

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// Snap7_communication_parameter

// required string ip_string = 1 [default = "192.168.0.1"];
inline bool Snap7_communication_parameter::has_ip_string() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Snap7_communication_parameter::set_has_ip_string() {
  _has_bits_[0] |= 0x00000001u;
}
inline void Snap7_communication_parameter::clear_has_ip_string() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void Snap7_communication_parameter::clear_ip_string() {
  ip_string_.ClearToDefaultNoArena(&::Snap7_communication_proto::Snap7_communication_parameter::_default_ip_string_.get());
  clear_has_ip_string();
}
inline const ::std::string& Snap7_communication_parameter::ip_string() const {
  // @@protoc_insertion_point(field_get:Snap7_communication_proto.Snap7_communication_parameter.ip_string)
  return ip_string_.GetNoArena();
}
inline void Snap7_communication_parameter::set_ip_string(const ::std::string& value) {
  set_has_ip_string();
  ip_string_.SetNoArena(&::Snap7_communication_proto::Snap7_communication_parameter::_default_ip_string_.get(), value);
  // @@protoc_insertion_point(field_set:Snap7_communication_proto.Snap7_communication_parameter.ip_string)
}
#if LANG_CXX11
inline void Snap7_communication_parameter::set_ip_string(::std::string&& value) {
  set_has_ip_string();
  ip_string_.SetNoArena(
    &::Snap7_communication_proto::Snap7_communication_parameter::_default_ip_string_.get(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:Snap7_communication_proto.Snap7_communication_parameter.ip_string)
}
#endif
inline void Snap7_communication_parameter::set_ip_string(const char* value) {
  GOOGLE_DCHECK(value != NULL);
  set_has_ip_string();
  ip_string_.SetNoArena(&::Snap7_communication_proto::Snap7_communication_parameter::_default_ip_string_.get(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:Snap7_communication_proto.Snap7_communication_parameter.ip_string)
}
inline void Snap7_communication_parameter::set_ip_string(const char* value, size_t size) {
  set_has_ip_string();
  ip_string_.SetNoArena(&::Snap7_communication_proto::Snap7_communication_parameter::_default_ip_string_.get(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:Snap7_communication_proto.Snap7_communication_parameter.ip_string)
}
inline ::std::string* Snap7_communication_parameter::mutable_ip_string() {
  set_has_ip_string();
  // @@protoc_insertion_point(field_mutable:Snap7_communication_proto.Snap7_communication_parameter.ip_string)
  return ip_string_.MutableNoArena(&::Snap7_communication_proto::Snap7_communication_parameter::_default_ip_string_.get());
}
inline ::std::string* Snap7_communication_parameter::release_ip_string() {
  // @@protoc_insertion_point(field_release:Snap7_communication_proto.Snap7_communication_parameter.ip_string)
  clear_has_ip_string();
  return ip_string_.ReleaseNoArena(&::Snap7_communication_proto::Snap7_communication_parameter::_default_ip_string_.get());
}
inline void Snap7_communication_parameter::set_allocated_ip_string(::std::string* ip_string) {
  if (ip_string != NULL) {
    set_has_ip_string();
  } else {
    clear_has_ip_string();
  }
  ip_string_.SetAllocatedNoArena(&::Snap7_communication_proto::Snap7_communication_parameter::_default_ip_string_.get(), ip_string);
  // @@protoc_insertion_point(field_set_allocated:Snap7_communication_proto.Snap7_communication_parameter.ip_string)
}

// -------------------------------------------------------------------

// Snap7_communication_parameter_all

// required .Snap7_communication_proto.Snap7_communication_parameter snap7_communication_parameters = 1;
inline bool Snap7_communication_parameter_all::has_snap7_communication_parameters() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Snap7_communication_parameter_all::set_has_snap7_communication_parameters() {
  _has_bits_[0] |= 0x00000001u;
}
inline void Snap7_communication_parameter_all::clear_has_snap7_communication_parameters() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void Snap7_communication_parameter_all::clear_snap7_communication_parameters() {
  if (snap7_communication_parameters_ != NULL) snap7_communication_parameters_->Clear();
  clear_has_snap7_communication_parameters();
}
inline const ::Snap7_communication_proto::Snap7_communication_parameter& Snap7_communication_parameter_all::snap7_communication_parameters() const {
  const ::Snap7_communication_proto::Snap7_communication_parameter* p = snap7_communication_parameters_;
  // @@protoc_insertion_point(field_get:Snap7_communication_proto.Snap7_communication_parameter_all.snap7_communication_parameters)
  return p != NULL ? *p : *reinterpret_cast<const ::Snap7_communication_proto::Snap7_communication_parameter*>(
      &::Snap7_communication_proto::_Snap7_communication_parameter_default_instance_);
}
inline ::Snap7_communication_proto::Snap7_communication_parameter* Snap7_communication_parameter_all::release_snap7_communication_parameters() {
  // @@protoc_insertion_point(field_release:Snap7_communication_proto.Snap7_communication_parameter_all.snap7_communication_parameters)
  clear_has_snap7_communication_parameters();
  ::Snap7_communication_proto::Snap7_communication_parameter* temp = snap7_communication_parameters_;
  snap7_communication_parameters_ = NULL;
  return temp;
}
inline ::Snap7_communication_proto::Snap7_communication_parameter* Snap7_communication_parameter_all::mutable_snap7_communication_parameters() {
  set_has_snap7_communication_parameters();
  if (snap7_communication_parameters_ == NULL) {
    snap7_communication_parameters_ = new ::Snap7_communication_proto::Snap7_communication_parameter;
  }
  // @@protoc_insertion_point(field_mutable:Snap7_communication_proto.Snap7_communication_parameter_all.snap7_communication_parameters)
  return snap7_communication_parameters_;
}
inline void Snap7_communication_parameter_all::set_allocated_snap7_communication_parameters(::Snap7_communication_proto::Snap7_communication_parameter* snap7_communication_parameters) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == NULL) {
    delete snap7_communication_parameters_;
  }
  if (snap7_communication_parameters) {
    ::google::protobuf::Arena* submessage_arena = NULL;
    if (message_arena != submessage_arena) {
      snap7_communication_parameters = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, snap7_communication_parameters, submessage_arena);
    }
    set_has_snap7_communication_parameters();
  } else {
    clear_has_snap7_communication_parameters();
  }
  snap7_communication_parameters_ = snap7_communication_parameters;
  // @@protoc_insertion_point(field_set_allocated:Snap7_communication_proto.Snap7_communication_parameter_all.snap7_communication_parameters)
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace Snap7_communication_proto

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_snap7_5fcommunication_2eproto__INCLUDED
