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

#include "snap7_communication.pb.h"

#include <algorithm>

#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// This is a temporary google only hack
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
#include "third_party/protobuf/version.h"
#endif
// @@protoc_insertion_point(includes)

namespace protobuf_snap7_5fcommunication_2eproto {
extern PROTOBUF_INTERNAL_EXPORT_protobuf_snap7_5fcommunication_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Snap7_communication_parameter;
}  // namespace protobuf_snap7_5fcommunication_2eproto
namespace Snap7_communication_proto {
class Snap7_communication_parameterDefaultTypeInternal {
 public:
  ::google::protobuf::internal::ExplicitlyConstructed<Snap7_communication_parameter>
      _instance;
} _Snap7_communication_parameter_default_instance_;
class Snap7_communication_parameter_allDefaultTypeInternal {
 public:
  ::google::protobuf::internal::ExplicitlyConstructed<Snap7_communication_parameter_all>
      _instance;
} _Snap7_communication_parameter_all_default_instance_;
}  // namespace Snap7_communication_proto
namespace protobuf_snap7_5fcommunication_2eproto {
static void InitDefaultsSnap7_communication_parameter() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.DefaultConstruct();
  *::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get_mutable() = ::std::string("192.168.0.1", 11);
  ::google::protobuf::internal::OnShutdownDestroyString(
      ::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get_mutable());
  {
    void* ptr = &::Snap7_communication_proto::_Snap7_communication_parameter_default_instance_;
    new (ptr) ::Snap7_communication_proto::Snap7_communication_parameter();
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  }
  ::Snap7_communication_proto::Snap7_communication_parameter::InitAsDefaultInstance();
}

::google::protobuf::internal::SCCInfo<0> scc_info_Snap7_communication_parameter =
    {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSnap7_communication_parameter}, {}};

static void InitDefaultsSnap7_communication_parameter_all() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  {
    void* ptr = &::Snap7_communication_proto::_Snap7_communication_parameter_all_default_instance_;
    new (ptr) ::Snap7_communication_proto::Snap7_communication_parameter_all();
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  }
  ::Snap7_communication_proto::Snap7_communication_parameter_all::InitAsDefaultInstance();
}

::google::protobuf::internal::SCCInfo<1> scc_info_Snap7_communication_parameter_all =
    {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSnap7_communication_parameter_all}, {
      &protobuf_snap7_5fcommunication_2eproto::scc_info_Snap7_communication_parameter.base,}};

void InitDefaults() {
  ::google::protobuf::internal::InitSCC(&scc_info_Snap7_communication_parameter.base);
  ::google::protobuf::internal::InitSCC(&scc_info_Snap7_communication_parameter_all.base);
}

::google::protobuf::Metadata file_level_metadata[2];

const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Snap7_communication_proto::Snap7_communication_parameter, _has_bits_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Snap7_communication_proto::Snap7_communication_parameter, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Snap7_communication_proto::Snap7_communication_parameter, ip_string_),
  0,
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Snap7_communication_proto::Snap7_communication_parameter_all, _has_bits_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Snap7_communication_proto::Snap7_communication_parameter_all, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Snap7_communication_proto::Snap7_communication_parameter_all, snap7_communication_parameters_),
  0,
};
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  { 0, 6, sizeof(::Snap7_communication_proto::Snap7_communication_parameter)},
  { 7, 13, sizeof(::Snap7_communication_proto::Snap7_communication_parameter_all)},
};

static ::google::protobuf::Message const * const file_default_instances[] = {
  reinterpret_cast<const ::google::protobuf::Message*>(&::Snap7_communication_proto::_Snap7_communication_parameter_default_instance_),
  reinterpret_cast<const ::google::protobuf::Message*>(&::Snap7_communication_proto::_Snap7_communication_parameter_all_default_instance_),
};

void protobuf_AssignDescriptors() {
  AddDescriptors();
  AssignDescriptors(
      "snap7_communication.proto", schemas, file_default_instances, TableStruct::offsets,
      file_level_metadata, NULL, NULL);
}

void protobuf_AssignDescriptorsOnce() {
  static ::google::protobuf::internal::once_flag once;
  ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
}

void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 2);
}

void AddDescriptorsImpl() {
  InitDefaults();
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
      "\n\031snap7_communication.proto\022\031Snap7_commu"
      "nication_proto\"\?\n\035Snap7_communication_pa"
      "rameter\022\036\n\tip_string\030\001 \002(\t:\013192.168.0.1\""
      "\205\001\n!Snap7_communication_parameter_all\022`\n"
      "\036snap7_communication_parameters\030\001 \002(\01328."
      "Snap7_communication_proto.Snap7_communic"
      "ation_parameter"
  };
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
      descriptor, 255);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "snap7_communication.proto", &protobuf_RegisterTypes);
}

void AddDescriptors() {
  static ::google::protobuf::internal::once_flag once;
  ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
}
// Force AddDescriptors() to be called at dynamic initialization time.
struct StaticDescriptorInitializer {
  StaticDescriptorInitializer() {
    AddDescriptors();
  }
} static_descriptor_initializer;
}  // namespace protobuf_snap7_5fcommunication_2eproto
namespace Snap7_communication_proto {

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

void Snap7_communication_parameter::InitAsDefaultInstance() {
}
::google::protobuf::internal::ExplicitlyConstructed<::std::string> Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_;
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int Snap7_communication_parameter::kIpStringFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

Snap7_communication_parameter::Snap7_communication_parameter()
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  ::google::protobuf::internal::InitSCC(
      &protobuf_snap7_5fcommunication_2eproto::scc_info_Snap7_communication_parameter.base);
  SharedCtor();
  // @@protoc_insertion_point(constructor:Snap7_communication_proto.Snap7_communication_parameter)
}
Snap7_communication_parameter::Snap7_communication_parameter(const Snap7_communication_parameter& from)
  : ::google::protobuf::Message(),
      _internal_metadata_(NULL),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  ip_string_.UnsafeSetDefault(&::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get());
  if (from.has_ip_string()) {
    ip_string_.AssignWithDefault(&::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get(), from.ip_string_);
  }
  // @@protoc_insertion_point(copy_constructor:Snap7_communication_proto.Snap7_communication_parameter)
}

void Snap7_communication_parameter::SharedCtor() {
  ip_string_.UnsafeSetDefault(&::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get());
}

Snap7_communication_parameter::~Snap7_communication_parameter() {
  // @@protoc_insertion_point(destructor:Snap7_communication_proto.Snap7_communication_parameter)
  SharedDtor();
}

void Snap7_communication_parameter::SharedDtor() {
  ip_string_.DestroyNoArena(&::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get());
}

void Snap7_communication_parameter::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const ::google::protobuf::Descriptor* Snap7_communication_parameter::descriptor() {
  ::protobuf_snap7_5fcommunication_2eproto::protobuf_AssignDescriptorsOnce();
  return ::protobuf_snap7_5fcommunication_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}

const Snap7_communication_parameter& Snap7_communication_parameter::default_instance() {
  ::google::protobuf::internal::InitSCC(&protobuf_snap7_5fcommunication_2eproto::scc_info_Snap7_communication_parameter.base);
  return *internal_default_instance();
}


void Snap7_communication_parameter::Clear() {
// @@protoc_insertion_point(message_clear_start:Snap7_communication_proto.Snap7_communication_parameter)
  ::google::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000001u) {
    ip_string_.UnsafeMutablePointer()->assign(*&::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get());
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear();
}

bool Snap7_communication_parameter::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  ::google::protobuf::uint32 tag;
  // @@protoc_insertion_point(parse_start:Snap7_communication_proto.Snap7_communication_parameter)
  for (;;) {
    ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    tag = p.first;
    if (!p.second) goto handle_unusual;
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // required string ip_string = 1 [default = "192.168.0.1"];
      case 1: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_ip_string()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
            this->ip_string().data(), static_cast<int>(this->ip_string().length()),
            ::google::protobuf::internal::WireFormat::PARSE,
            "Snap7_communication_proto.Snap7_communication_parameter.ip_string");
        } else {
          goto handle_unusual;
        }
        break;
      }

      default: {
      handle_unusual:
        if (tag == 0) {
          goto success;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, _internal_metadata_.mutable_unknown_fields()));
        break;
      }
    }
  }
success:
  // @@protoc_insertion_point(parse_success:Snap7_communication_proto.Snap7_communication_parameter)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:Snap7_communication_proto.Snap7_communication_parameter)
  return false;
#undef DO_
}

void Snap7_communication_parameter::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:Snap7_communication_proto.Snap7_communication_parameter)
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // required string ip_string = 1 [default = "192.168.0.1"];
  if (cached_has_bits & 0x00000001u) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
      this->ip_string().data(), static_cast<int>(this->ip_string().length()),
      ::google::protobuf::internal::WireFormat::SERIALIZE,
      "Snap7_communication_proto.Snap7_communication_parameter.ip_string");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      1, this->ip_string(), output);
  }

  if (_internal_metadata_.have_unknown_fields()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        _internal_metadata_.unknown_fields(), output);
  }
  // @@protoc_insertion_point(serialize_end:Snap7_communication_proto.Snap7_communication_parameter)
}

::google::protobuf::uint8* Snap7_communication_parameter::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:Snap7_communication_proto.Snap7_communication_parameter)
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // required string ip_string = 1 [default = "192.168.0.1"];
  if (cached_has_bits & 0x00000001u) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
      this->ip_string().data(), static_cast<int>(this->ip_string().length()),
      ::google::protobuf::internal::WireFormat::SERIALIZE,
      "Snap7_communication_proto.Snap7_communication_parameter.ip_string");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        1, this->ip_string(), target);
  }

  if (_internal_metadata_.have_unknown_fields()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields(), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:Snap7_communication_proto.Snap7_communication_parameter)
  return target;
}

size_t Snap7_communication_parameter::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:Snap7_communication_proto.Snap7_communication_parameter)
  size_t total_size = 0;

  if (_internal_metadata_.have_unknown_fields()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        _internal_metadata_.unknown_fields());
  }
  // required string ip_string = 1 [default = "192.168.0.1"];
  if (has_ip_string()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::StringSize(
        this->ip_string());
  }
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void Snap7_communication_parameter::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:Snap7_communication_proto.Snap7_communication_parameter)
  GOOGLE_DCHECK_NE(&from, this);
  const Snap7_communication_parameter* source =
      ::google::protobuf::internal::DynamicCastToGenerated<const Snap7_communication_parameter>(
          &from);
  if (source == NULL) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:Snap7_communication_proto.Snap7_communication_parameter)
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:Snap7_communication_proto.Snap7_communication_parameter)
    MergeFrom(*source);
  }
}

void Snap7_communication_parameter::MergeFrom(const Snap7_communication_parameter& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Snap7_communication_proto.Snap7_communication_parameter)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (from.has_ip_string()) {
    set_has_ip_string();
    ip_string_.AssignWithDefault(&::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get(), from.ip_string_);
  }
}

void Snap7_communication_parameter::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:Snap7_communication_proto.Snap7_communication_parameter)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void Snap7_communication_parameter::CopyFrom(const Snap7_communication_parameter& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:Snap7_communication_proto.Snap7_communication_parameter)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool Snap7_communication_parameter::IsInitialized() const {
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
  return true;
}

void Snap7_communication_parameter::Swap(Snap7_communication_parameter* other) {
  if (other == this) return;
  InternalSwap(other);
}
void Snap7_communication_parameter::InternalSwap(Snap7_communication_parameter* other) {
  using std::swap;
  ip_string_.Swap(&other->ip_string_, &::Snap7_communication_proto::Snap7_communication_parameter::_i_give_permission_to_break_this_code_default_ip_string_.get(),
    GetArenaNoVirtual());
  swap(_has_bits_[0], other->_has_bits_[0]);
  _internal_metadata_.Swap(&other->_internal_metadata_);
}

::google::protobuf::Metadata Snap7_communication_parameter::GetMetadata() const {
  protobuf_snap7_5fcommunication_2eproto::protobuf_AssignDescriptorsOnce();
  return ::protobuf_snap7_5fcommunication_2eproto::file_level_metadata[kIndexInFileMessages];
}


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

void Snap7_communication_parameter_all::InitAsDefaultInstance() {
  ::Snap7_communication_proto::_Snap7_communication_parameter_all_default_instance_._instance.get_mutable()->snap7_communication_parameters_ = const_cast< ::Snap7_communication_proto::Snap7_communication_parameter*>(
      ::Snap7_communication_proto::Snap7_communication_parameter::internal_default_instance());
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int Snap7_communication_parameter_all::kSnap7CommunicationParametersFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

Snap7_communication_parameter_all::Snap7_communication_parameter_all()
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  ::google::protobuf::internal::InitSCC(
      &protobuf_snap7_5fcommunication_2eproto::scc_info_Snap7_communication_parameter_all.base);
  SharedCtor();
  // @@protoc_insertion_point(constructor:Snap7_communication_proto.Snap7_communication_parameter_all)
}
Snap7_communication_parameter_all::Snap7_communication_parameter_all(const Snap7_communication_parameter_all& from)
  : ::google::protobuf::Message(),
      _internal_metadata_(NULL),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  if (from.has_snap7_communication_parameters()) {
    snap7_communication_parameters_ = new ::Snap7_communication_proto::Snap7_communication_parameter(*from.snap7_communication_parameters_);
  } else {
    snap7_communication_parameters_ = NULL;
  }
  // @@protoc_insertion_point(copy_constructor:Snap7_communication_proto.Snap7_communication_parameter_all)
}

void Snap7_communication_parameter_all::SharedCtor() {
  snap7_communication_parameters_ = NULL;
}

Snap7_communication_parameter_all::~Snap7_communication_parameter_all() {
  // @@protoc_insertion_point(destructor:Snap7_communication_proto.Snap7_communication_parameter_all)
  SharedDtor();
}

void Snap7_communication_parameter_all::SharedDtor() {
  if (this != internal_default_instance()) delete snap7_communication_parameters_;
}

void Snap7_communication_parameter_all::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const ::google::protobuf::Descriptor* Snap7_communication_parameter_all::descriptor() {
  ::protobuf_snap7_5fcommunication_2eproto::protobuf_AssignDescriptorsOnce();
  return ::protobuf_snap7_5fcommunication_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}

const Snap7_communication_parameter_all& Snap7_communication_parameter_all::default_instance() {
  ::google::protobuf::internal::InitSCC(&protobuf_snap7_5fcommunication_2eproto::scc_info_Snap7_communication_parameter_all.base);
  return *internal_default_instance();
}


void Snap7_communication_parameter_all::Clear() {
// @@protoc_insertion_point(message_clear_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  ::google::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000001u) {
    GOOGLE_DCHECK(snap7_communication_parameters_ != NULL);
    snap7_communication_parameters_->Clear();
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear();
}

bool Snap7_communication_parameter_all::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  ::google::protobuf::uint32 tag;
  // @@protoc_insertion_point(parse_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  for (;;) {
    ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    tag = p.first;
    if (!p.second) goto handle_unusual;
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // required .Snap7_communication_proto.Snap7_communication_parameter snap7_communication_parameters = 1;
      case 1: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
               input, mutable_snap7_communication_parameters()));
        } else {
          goto handle_unusual;
        }
        break;
      }

      default: {
      handle_unusual:
        if (tag == 0) {
          goto success;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, _internal_metadata_.mutable_unknown_fields()));
        break;
      }
    }
  }
success:
  // @@protoc_insertion_point(parse_success:Snap7_communication_proto.Snap7_communication_parameter_all)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:Snap7_communication_proto.Snap7_communication_parameter_all)
  return false;
#undef DO_
}

void Snap7_communication_parameter_all::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // required .Snap7_communication_proto.Snap7_communication_parameter snap7_communication_parameters = 1;
  if (cached_has_bits & 0x00000001u) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      1, this->_internal_snap7_communication_parameters(), output);
  }

  if (_internal_metadata_.have_unknown_fields()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        _internal_metadata_.unknown_fields(), output);
  }
  // @@protoc_insertion_point(serialize_end:Snap7_communication_proto.Snap7_communication_parameter_all)
}

::google::protobuf::uint8* Snap7_communication_parameter_all::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // required .Snap7_communication_proto.Snap7_communication_parameter snap7_communication_parameters = 1;
  if (cached_has_bits & 0x00000001u) {
    target = ::google::protobuf::internal::WireFormatLite::
      InternalWriteMessageToArray(
        1, this->_internal_snap7_communication_parameters(), deterministic, target);
  }

  if (_internal_metadata_.have_unknown_fields()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields(), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:Snap7_communication_proto.Snap7_communication_parameter_all)
  return target;
}

size_t Snap7_communication_parameter_all::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  size_t total_size = 0;

  if (_internal_metadata_.have_unknown_fields()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        _internal_metadata_.unknown_fields());
  }
  // required .Snap7_communication_proto.Snap7_communication_parameter snap7_communication_parameters = 1;
  if (has_snap7_communication_parameters()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::MessageSize(
        *snap7_communication_parameters_);
  }
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void Snap7_communication_parameter_all::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  GOOGLE_DCHECK_NE(&from, this);
  const Snap7_communication_parameter_all* source =
      ::google::protobuf::internal::DynamicCastToGenerated<const Snap7_communication_parameter_all>(
          &from);
  if (source == NULL) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:Snap7_communication_proto.Snap7_communication_parameter_all)
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:Snap7_communication_proto.Snap7_communication_parameter_all)
    MergeFrom(*source);
  }
}

void Snap7_communication_parameter_all::MergeFrom(const Snap7_communication_parameter_all& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (from.has_snap7_communication_parameters()) {
    mutable_snap7_communication_parameters()->::Snap7_communication_proto::Snap7_communication_parameter::MergeFrom(from.snap7_communication_parameters());
  }
}

void Snap7_communication_parameter_all::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void Snap7_communication_parameter_all::CopyFrom(const Snap7_communication_parameter_all& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:Snap7_communication_proto.Snap7_communication_parameter_all)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool Snap7_communication_parameter_all::IsInitialized() const {
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
  if (has_snap7_communication_parameters()) {
    if (!this->snap7_communication_parameters_->IsInitialized()) return false;
  }
  return true;
}

void Snap7_communication_parameter_all::Swap(Snap7_communication_parameter_all* other) {
  if (other == this) return;
  InternalSwap(other);
}
void Snap7_communication_parameter_all::InternalSwap(Snap7_communication_parameter_all* other) {
  using std::swap;
  swap(snap7_communication_parameters_, other->snap7_communication_parameters_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  _internal_metadata_.Swap(&other->_internal_metadata_);
}

::google::protobuf::Metadata Snap7_communication_parameter_all::GetMetadata() const {
  protobuf_snap7_5fcommunication_2eproto::protobuf_AssignDescriptorsOnce();
  return ::protobuf_snap7_5fcommunication_2eproto::file_level_metadata[kIndexInFileMessages];
}


// @@protoc_insertion_point(namespace_scope)
}  // namespace Snap7_communication_proto
namespace google {
namespace protobuf {
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Snap7_communication_proto::Snap7_communication_parameter* Arena::CreateMaybeMessage< ::Snap7_communication_proto::Snap7_communication_parameter >(Arena* arena) {
  return Arena::CreateInternal< ::Snap7_communication_proto::Snap7_communication_parameter >(arena);
}
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Snap7_communication_proto::Snap7_communication_parameter_all* Arena::CreateMaybeMessage< ::Snap7_communication_proto::Snap7_communication_parameter_all >(Arena* arena) {
  return Arena::CreateInternal< ::Snap7_communication_proto::Snap7_communication_parameter_all >(arena);
}
}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)
