text: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: google/actions/sdk/v2/interactionmodel/type/free_text_type.proto
  
  #include "google/actions/sdk/v2/interactionmodel/type/free_text_type.pb.h"
  
  #include <algorithm>
  
  #include <google/protobuf/stubs/common.h>
  #include <google/protobuf/io/coded_stream.h>
  #include <google/protobuf/extension_set.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>
  // @@protoc_insertion_point(includes)
  #include <google/protobuf/port_def.inc>
  
  extern PROTOBUF_INTERNAL_EXPORT_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2fentity_5fdisplay_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_EntityDisplay_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2fentity_5fdisplay_2eproto;
  namespace google {
  namespace actions {
  namespace sdk {
  namespace v2 {
  namespace interactionmodel {
  namespace type {
  class FreeTextTypeDefaultTypeInternal {
   public:
    ::google::protobuf::internal::ExplicitlyConstructed<FreeTextType> _instance;
  } _FreeTextType_default_instance_;
  }  // namespace type
  }  // namespace interactionmodel
  }  // namespace v2
  }  // namespace sdk
  }  // namespace actions
  }  // namespace google
  static void InitDefaultsFreeTextType_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto() {
    GOOGLE_PROTOBUF_VERIFY_VERSION;
  
    {
      void* ptr = &::google::actions::sdk::v2::interactionmodel::type::_FreeTextType_default_instance_;
      new (ptr) ::google::actions::sdk::v2::interactionmodel::type::FreeTextType();
      ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
    }
    ::google::actions::sdk::v2::interactionmodel::type::FreeTextType::InitAsDefaultInstance();
  }
  
  ::google::protobuf::internal::SCCInfo<1> scc_info_FreeTextType_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto =
      {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsFreeTextType_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto}, {
        &scc_info_EntityDisplay_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2fentity_5fdisplay_2eproto.base,}};
  
  void InitDefaults_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto() {
    ::google::protobuf::internal::InitSCC(&scc_info_FreeTextType_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto.base);
  }
  
  ::google::protobuf::Metadata file_level_metadata_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto[1];
  constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto = nullptr;
  constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto = nullptr;
  
  const ::google::protobuf::uint32 TableStruct_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
    ~0u,  // no _has_bits_
    PROTOBUF_FIELD_OFFSET(::google::actions::sdk::v2::interactionmodel::type::FreeTextType, _internal_metadata_),
    ~0u,  // no _extensions_
    ~0u,  // no _oneof_case_
    ~0u,  // no _weak_field_map_
    PROTOBUF_FIELD_OFFSET(::google::actions::sdk::v2::interactionmodel::type::FreeTextType, display_),
  };
  static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
    { 0, -1, sizeof(::google::actions::sdk::v2::interactionmodel::type::FreeTextType)},
  };
  
  static ::google::protobuf::Message const * const file_default_instances[] = {
    reinterpret_cast<const ::google::protobuf::Message*>(&::google::actions::sdk::v2::interactionmodel::type::_FreeTextType_default_instance_),
  };
  
  ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto = {
    {}, AddDescriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto, "google/actions/sdk/v2/interactionmodel/type/free_text_type.proto", schemas,
    file_default_instances, TableStruct_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto::offsets,
    file_level_metadata_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto, 1, file_level_enum_descriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto, file_level_service_descriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto,
  };
  
  const char descriptor_table_protodef_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto[] =
    "\n@google/actions/sdk/v2/interactionmodel"
    "/type/free_text_type.proto\022+google.actio"
    "ns.sdk.v2.interactionmodel.type\032@google/"
    "actions/sdk/v2/interactionmodel/type/ent"
    "ity_display.proto\032\037google/api/field_beha"
    "vior.proto\"`\n\014FreeTextType\022P\n\007display\030\002 "
    "\001(\0132:.google.actions.sdk.v2.interactionm"
    "odel.type.EntityDisplayB\003\340A\001B\222\001\n/com.goo"
    "gle.actions.sdk.v2.interactionmodel.type"
    "B\021FreeTextTypeProtoP\001ZJgoogle.golang.org"
    "/genproto/googleapis/actions/sdk/v2/inte"
    "ractionmodel/typeb\006proto3"
    ;
  ::google::protobuf::internal::DescriptorTable descriptor_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto = {
    false, InitDefaults_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto, 
    descriptor_table_protodef_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto,
    "google/actions/sdk/v2/interactionmodel/type/free_text_type.proto", &assign_descriptors_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto, 465,
  };
  
  void AddDescriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto() {
    static constexpr ::google::protobuf::internal::InitFunc deps[2] =
    {
      ::AddDescriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2fentity_5fdisplay_2eproto,
      ::AddDescriptors_google_2fapi_2ffield_5fbehavior_2eproto,
    };
   ::google::protobuf::internal::AddDescriptors(&descriptor_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto, deps, 2);
  }
  
  // Force running AddDescriptors() at dynamic initialization time.
  static bool dynamic_init_dummy_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto = []() { AddDescriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto(); return true; }();
  namespace google {
  namespace actions {
  namespace sdk {
  namespace v2 {
  namespace interactionmodel {
  namespace type {
  
  // ===================================================================
  
  void FreeTextType::InitAsDefaultInstance() {
    ::google::actions::sdk::v2::interactionmodel::type::_FreeTextType_default_instance_._instance.get_mutable()->display_ = const_cast< ::google::actions::sdk::v2::interactionmodel::type::EntityDisplay*>(
        ::google::actions::sdk::v2::interactionmodel::type::EntityDisplay::internal_default_instance());
  }
  class FreeTextType::HasBitSetters {
   public:
    static const ::google::actions::sdk::v2::interactionmodel::type::EntityDisplay& display(const FreeTextType* msg);
  };
  
  const ::google::actions::sdk::v2::interactionmodel::type::EntityDisplay&
  FreeTextType::HasBitSetters::display(const FreeTextType* msg) {
    return *msg->display_;
  }
  void FreeTextType::clear_display() {
    if (GetArenaNoVirtual() == nullptr && display_ != nullptr) {
      delete display_;
    }
    display_ = nullptr;
  }
  #if !defined(_MSC_VER) || _MSC_VER >= 1900
  const int FreeTextType::kDisplayFieldNumber;
  #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
  
  FreeTextType::FreeTextType()
    : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
    SharedCtor();
    // @@protoc_insertion_point(constructor:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
  }
  FreeTextType::FreeTextType(const FreeTextType& from)
    : ::google::protobuf::Message(),
        _internal_metadata_(nullptr) {
    _internal_metadata_.MergeFrom(from._internal_metadata_);
    if (from.has_display()) {
      display_ = new ::google::actions::sdk::v2::interactionmodel::type::EntityDisplay(*from.display_);
    } else {
      display_ = nullptr;
    }
    // @@protoc_insertion_point(copy_constructor:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
  }
  
  void FreeTextType::SharedCtor() {
    ::google::protobuf::internal::InitSCC(
        &scc_info_FreeTextType_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto.base);
    display_ = nullptr;
  }
  
  FreeTextType::~FreeTextType() {
    // @@protoc_insertion_point(destructor:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    SharedDtor();
  }
  
  void FreeTextType::SharedDtor() {
    if (this != internal_default_instance()) delete display_;
  }
  
  void FreeTextType::SetCachedSize(int size) const {
    _cached_size_.Set(size);
  }
  const FreeTextType& FreeTextType::default_instance() {
    ::google::protobuf::internal::InitSCC(&::scc_info_FreeTextType_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto.base);
    return *internal_default_instance();
  }
  
  
  void FreeTextType::Clear() {
  // @@protoc_insertion_point(message_clear_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    ::google::protobuf::uint32 cached_has_bits = 0;
    // Prevent compiler warnings about cached_has_bits being unused
    (void) cached_has_bits;
  
    if (GetArenaNoVirtual() == nullptr && display_ != nullptr) {
      delete display_;
    }
    display_ = nullptr;
    _internal_metadata_.Clear();
  }
  
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* FreeTextType::_InternalParse(const char* begin, const char* end, void* object,
                    ::google::protobuf::internal::ParseContext* ctx) {
    auto msg = static_cast<FreeTextType*>(object);
    ::google::protobuf::int32 size; (void)size;
    int depth; (void)depth;
    ::google::protobuf::uint32 tag;
    ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
    auto ptr = begin;
    while (ptr < end) {
      ptr = ::google::protobuf::io::Parse32(ptr, &tag);
      GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
      switch (tag >> 3) {
        // .google.actions.sdk.v2.interactionmodel.type.EntityDisplay display = 2 [(.google.api.field_behavior) = OPTIONAL];
        case 2: {
          if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
          ptr = ::google::protobuf::io::ReadSize(ptr, &size);
          GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
          parser_till_end = ::google::actions::sdk::v2::interactionmodel::type::EntityDisplay::_InternalParse;
          object = msg->mutable_display();
          if (size > end - ptr) goto len_delim_till_end;
          ptr += size;
          GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
              {parser_till_end, object}, ptr - size, ptr));
          break;
        }
        default: {
        handle_unusual:
          if ((tag & 7) == 4 || tag == 0) {
            ctx->EndGroup(tag);
            return ptr;
          }
          auto res = UnknownFieldParse(tag, {_InternalParse, msg},
            ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
          ptr = res.first;
          GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
          if (res.second) return ptr;
        }
      }  // switch
    }  // while
    return ptr;
  len_delim_till_end:
    return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
                                 {parser_till_end, object}, size);
  }
  #else  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  bool FreeTextType::MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) {
  #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
    ::google::protobuf::uint32 tag;
    // @@protoc_insertion_point(parse_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    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)) {
        // .google.actions.sdk.v2.interactionmodel.type.EntityDisplay display = 2 [(.google.api.field_behavior) = OPTIONAL];
        case 2: {
          if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
            DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
                 input, mutable_display()));
          } 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:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    return true;
  failure:
    // @@protoc_insertion_point(parse_failure:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    return false;
  #undef DO_
  }
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  
  void FreeTextType::SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const {
    // @@protoc_insertion_point(serialize_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    ::google::protobuf::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    // .google.actions.sdk.v2.interactionmodel.type.EntityDisplay display = 2 [(.google.api.field_behavior) = OPTIONAL];
    if (this->has_display()) {
      ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
        2, HasBitSetters::display(this), output);
    }
  
    if (_internal_metadata_.have_unknown_fields()) {
      ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
          _internal_metadata_.unknown_fields(), output);
    }
    // @@protoc_insertion_point(serialize_end:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
  }
  
  ::google::protobuf::uint8* FreeTextType::InternalSerializeWithCachedSizesToArray(
      ::google::protobuf::uint8* target) const {
    // @@protoc_insertion_point(serialize_to_array_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    ::google::protobuf::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    // .google.actions.sdk.v2.interactionmodel.type.EntityDisplay display = 2 [(.google.api.field_behavior) = OPTIONAL];
    if (this->has_display()) {
      target = ::google::protobuf::internal::WireFormatLite::
        InternalWriteMessageToArray(
          2, HasBitSetters::display(this), 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:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    return target;
  }
  
  size_t FreeTextType::ByteSizeLong() const {
  // @@protoc_insertion_point(message_byte_size_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    size_t total_size = 0;
  
    if (_internal_metadata_.have_unknown_fields()) {
      total_size +=
        ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
          _internal_metadata_.unknown_fields());
    }
    ::google::protobuf::uint32 cached_has_bits = 0;
    // Prevent compiler warnings about cached_has_bits being unused
    (void) cached_has_bits;
  
    // .google.actions.sdk.v2.interactionmodel.type.EntityDisplay display = 2 [(.google.api.field_behavior) = OPTIONAL];
    if (this->has_display()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::MessageSize(
          *display_);
    }
  
    int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    SetCachedSize(cached_size);
    return total_size;
  }
  
  void FreeTextType::MergeFrom(const ::google::protobuf::Message& from) {
  // @@protoc_insertion_point(generalized_merge_from_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    GOOGLE_DCHECK_NE(&from, this);
    const FreeTextType* source =
        ::google::protobuf::DynamicCastToGenerated<FreeTextType>(
            &from);
    if (source == nullptr) {
    // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
      ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    } else {
    // @@protoc_insertion_point(generalized_merge_from_cast_success:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
      MergeFrom(*source);
    }
  }
  
  void FreeTextType::MergeFrom(const FreeTextType& from) {
  // @@protoc_insertion_point(class_specific_merge_from_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    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_display()) {
      mutable_display()->::google::actions::sdk::v2::interactionmodel::type::EntityDisplay::MergeFrom(from.display());
    }
  }
  
  void FreeTextType::CopyFrom(const ::google::protobuf::Message& from) {
  // @@protoc_insertion_point(generalized_copy_from_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  void FreeTextType::CopyFrom(const FreeTextType& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:google.actions.sdk.v2.interactionmodel.type.FreeTextType)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  bool FreeTextType::IsInitialized() const {
    return true;
  }
  
  void FreeTextType::Swap(FreeTextType* other) {
    if (other == this) return;
    InternalSwap(other);
  }
  void FreeTextType::InternalSwap(FreeTextType* other) {
    using std::swap;
    _internal_metadata_.Swap(&other->_internal_metadata_);
    swap(display_, other->display_);
  }
  
  ::google::protobuf::Metadata FreeTextType::GetMetadata() const {
    ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto);
    return ::file_level_metadata_google_2factions_2fsdk_2fv2_2finteractionmodel_2ftype_2ffree_5ftext_5ftype_2eproto[kIndexInFileMessages];
  }
  
  
  // @@protoc_insertion_point(namespace_scope)
  }  // namespace type
  }  // namespace interactionmodel
  }  // namespace v2
  }  // namespace sdk
  }  // namespace actions
  }  // namespace google
  namespace google {
  namespace protobuf {
  template<> PROTOBUF_NOINLINE ::google::actions::sdk::v2::interactionmodel::type::FreeTextType* Arena::CreateMaybeMessage< ::google::actions::sdk::v2::interactionmodel::type::FreeTextType >(Arena* arena) {
    return Arena::CreateInternal< ::google::actions::sdk::v2::interactionmodel::type::FreeTextType >(arena);
  }
  }  // namespace protobuf
  }  // namespace google
  
  // @@protoc_insertion_point(global_scope)
  #include <google/protobuf/port_undef.inc>
  