text: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: google/actions/sdk/v2/interactionmodel/prompt/static_simple_prompt.proto
  
  #include "google/actions/sdk/v2/interactionmodel/prompt/static_simple_prompt.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_2fprompt_2fstatic_5fsimple_5fprompt_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_StaticSimplePrompt_Variant_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto;
  namespace google {
  namespace actions {
  namespace sdk {
  namespace v2 {
  namespace interactionmodel {
  namespace prompt {
  class StaticSimplePrompt_VariantDefaultTypeInternal {
   public:
    ::google::protobuf::internal::ExplicitlyConstructed<StaticSimplePrompt_Variant> _instance;
  } _StaticSimplePrompt_Variant_default_instance_;
  class StaticSimplePromptDefaultTypeInternal {
   public:
    ::google::protobuf::internal::ExplicitlyConstructed<StaticSimplePrompt> _instance;
  } _StaticSimplePrompt_default_instance_;
  }  // namespace prompt
  }  // namespace interactionmodel
  }  // namespace v2
  }  // namespace sdk
  }  // namespace actions
  }  // namespace google
  static void InitDefaultsStaticSimplePrompt_Variant_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto() {
    GOOGLE_PROTOBUF_VERIFY_VERSION;
  
    {
      void* ptr = &::google::actions::sdk::v2::interactionmodel::prompt::_StaticSimplePrompt_Variant_default_instance_;
      new (ptr) ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant();
      ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
    }
    ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant::InitAsDefaultInstance();
  }
  
  ::google::protobuf::internal::SCCInfo<0> scc_info_StaticSimplePrompt_Variant_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto =
      {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsStaticSimplePrompt_Variant_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto}, {}};
  
  static void InitDefaultsStaticSimplePrompt_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto() {
    GOOGLE_PROTOBUF_VERIFY_VERSION;
  
    {
      void* ptr = &::google::actions::sdk::v2::interactionmodel::prompt::_StaticSimplePrompt_default_instance_;
      new (ptr) ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt();
      ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
    }
    ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt::InitAsDefaultInstance();
  }
  
  ::google::protobuf::internal::SCCInfo<1> scc_info_StaticSimplePrompt_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto =
      {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsStaticSimplePrompt_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto}, {
        &scc_info_StaticSimplePrompt_Variant_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto.base,}};
  
  void InitDefaults_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto() {
    ::google::protobuf::internal::InitSCC(&scc_info_StaticSimplePrompt_Variant_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto.base);
    ::google::protobuf::internal::InitSCC(&scc_info_StaticSimplePrompt_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto.base);
  }
  
  ::google::protobuf::Metadata file_level_metadata_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto[2];
  constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto = nullptr;
  constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto = nullptr;
  
  const ::google::protobuf::uint32 TableStruct_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
    ~0u,  // no _has_bits_
    PROTOBUF_FIELD_OFFSET(::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant, _internal_metadata_),
    ~0u,  // no _extensions_
    ~0u,  // no _oneof_case_
    ~0u,  // no _weak_field_map_
    PROTOBUF_FIELD_OFFSET(::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant, speech_),
    PROTOBUF_FIELD_OFFSET(::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant, text_),
    ~0u,  // no _has_bits_
    PROTOBUF_FIELD_OFFSET(::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt, _internal_metadata_),
    ~0u,  // no _extensions_
    ~0u,  // no _oneof_case_
    ~0u,  // no _weak_field_map_
    PROTOBUF_FIELD_OFFSET(::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt, variants_),
  };
  static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
    { 0, -1, sizeof(::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant)},
    { 7, -1, sizeof(::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt)},
  };
  
  static ::google::protobuf::Message const * const file_default_instances[] = {
    reinterpret_cast<const ::google::protobuf::Message*>(&::google::actions::sdk::v2::interactionmodel::prompt::_StaticSimplePrompt_Variant_default_instance_),
    reinterpret_cast<const ::google::protobuf::Message*>(&::google::actions::sdk::v2::interactionmodel::prompt::_StaticSimplePrompt_default_instance_),
  };
  
  ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto = {
    {}, AddDescriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto, "google/actions/sdk/v2/interactionmodel/prompt/static_simple_prompt.proto", schemas,
    file_default_instances, TableStruct_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto::offsets,
    file_level_metadata_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto, 2, file_level_enum_descriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto, file_level_service_descriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto,
  };
  
  const char descriptor_table_protodef_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto[] =
    "\nHgoogle/actions/sdk/v2/interactionmodel"
    "/prompt/static_simple_prompt.proto\022-goog"
    "le.actions.sdk.v2.interactionmodel.promp"
    "t\032\037google/api/field_behavior.proto\"\244\001\n\022S"
    "taticSimplePrompt\022[\n\010variants\030\001 \003(\0132I.go"
    "ogle.actions.sdk.v2.interactionmodel.pro"
    "mpt.StaticSimplePrompt.Variant\0321\n\007Varian"
    "t\022\023\n\006speech\030\001 \001(\tB\003\340A\001\022\021\n\004text\030\002 \001(\tB\003\340A"
    "\001B\243\001\n1com.google.actions.sdk.v2.interact"
    "ionmodel.promptB\027StaticSimplePromptProto"
    "P\001ZSgoogle.golang.org/genproto/googleapi"
    "s/actions/sdk/v2/interactionmodel/prompt"
    ";promptb\006proto3"
    ;
  ::google::protobuf::internal::DescriptorTable descriptor_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto = {
    false, InitDefaults_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto, 
    descriptor_table_protodef_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto,
    "google/actions/sdk/v2/interactionmodel/prompt/static_simple_prompt.proto", &assign_descriptors_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto, 495,
  };
  
  void AddDescriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto() {
    static constexpr ::google::protobuf::internal::InitFunc deps[1] =
    {
      ::AddDescriptors_google_2fapi_2ffield_5fbehavior_2eproto,
    };
   ::google::protobuf::internal::AddDescriptors(&descriptor_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto, deps, 1);
  }
  
  // Force running AddDescriptors() at dynamic initialization time.
  static bool dynamic_init_dummy_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto = []() { AddDescriptors_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto(); return true; }();
  namespace google {
  namespace actions {
  namespace sdk {
  namespace v2 {
  namespace interactionmodel {
  namespace prompt {
  
  // ===================================================================
  
  void StaticSimplePrompt_Variant::InitAsDefaultInstance() {
  }
  class StaticSimplePrompt_Variant::HasBitSetters {
   public:
  };
  
  #if !defined(_MSC_VER) || _MSC_VER >= 1900
  const int StaticSimplePrompt_Variant::kSpeechFieldNumber;
  const int StaticSimplePrompt_Variant::kTextFieldNumber;
  #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
  
  StaticSimplePrompt_Variant::StaticSimplePrompt_Variant()
    : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
    SharedCtor();
    // @@protoc_insertion_point(constructor:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
  }
  StaticSimplePrompt_Variant::StaticSimplePrompt_Variant(const StaticSimplePrompt_Variant& from)
    : ::google::protobuf::Message(),
        _internal_metadata_(nullptr) {
    _internal_metadata_.MergeFrom(from._internal_metadata_);
    speech_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    if (from.speech().size() > 0) {
      speech_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.speech_);
    }
    text_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    if (from.text().size() > 0) {
      text_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.text_);
    }
    // @@protoc_insertion_point(copy_constructor:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
  }
  
  void StaticSimplePrompt_Variant::SharedCtor() {
    ::google::protobuf::internal::InitSCC(
        &scc_info_StaticSimplePrompt_Variant_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto.base);
    speech_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    text_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
  
  StaticSimplePrompt_Variant::~StaticSimplePrompt_Variant() {
    // @@protoc_insertion_point(destructor:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    SharedDtor();
  }
  
  void StaticSimplePrompt_Variant::SharedDtor() {
    speech_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    text_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
  
  void StaticSimplePrompt_Variant::SetCachedSize(int size) const {
    _cached_size_.Set(size);
  }
  const StaticSimplePrompt_Variant& StaticSimplePrompt_Variant::default_instance() {
    ::google::protobuf::internal::InitSCC(&::scc_info_StaticSimplePrompt_Variant_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto.base);
    return *internal_default_instance();
  }
  
  
  void StaticSimplePrompt_Variant::Clear() {
  // @@protoc_insertion_point(message_clear_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    ::google::protobuf::uint32 cached_has_bits = 0;
    // Prevent compiler warnings about cached_has_bits being unused
    (void) cached_has_bits;
  
    speech_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    _internal_metadata_.Clear();
  }
  
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* StaticSimplePrompt_Variant::_InternalParse(const char* begin, const char* end, void* object,
                    ::google::protobuf::internal::ParseContext* ctx) {
    auto msg = static_cast<StaticSimplePrompt_Variant*>(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) {
        // string speech = 1 [(.google.api.field_behavior) = OPTIONAL];
        case 1: {
          if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
          ptr = ::google::protobuf::io::ReadSize(ptr, &size);
          GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
          ctx->extra_parse_data().SetFieldName("google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant.speech");
          object = msg->mutable_speech();
          if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
            parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
            goto string_till_end;
          }
          GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
          ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
          ptr += size;
          break;
        }
        // string text = 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);
          ctx->extra_parse_data().SetFieldName("google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant.text");
          object = msg->mutable_text();
          if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
            parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
            goto string_till_end;
          }
          GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
          ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
          ptr += size;
          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;
  string_till_end:
    static_cast<::std::string*>(object)->clear();
    static_cast<::std::string*>(object)->reserve(size);
    goto len_delim_till_end;
  len_delim_till_end:
    return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
                                 {parser_till_end, object}, size);
  }
  #else  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  bool StaticSimplePrompt_Variant::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.prompt.StaticSimplePrompt.Variant)
    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)) {
        // string speech = 1 [(.google.api.field_behavior) = OPTIONAL];
        case 1: {
          if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
            DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                  input, this->mutable_speech()));
            DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              this->speech().data(), static_cast<int>(this->speech().length()),
              ::google::protobuf::internal::WireFormatLite::PARSE,
              "google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant.speech"));
          } else {
            goto handle_unusual;
          }
          break;
        }
  
        // string text = 2 [(.google.api.field_behavior) = OPTIONAL];
        case 2: {
          if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
            DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                  input, this->mutable_text()));
            DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              this->text().data(), static_cast<int>(this->text().length()),
              ::google::protobuf::internal::WireFormatLite::PARSE,
              "google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant.text"));
          } 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.prompt.StaticSimplePrompt.Variant)
    return true;
  failure:
    // @@protoc_insertion_point(parse_failure:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    return false;
  #undef DO_
  }
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  
  void StaticSimplePrompt_Variant::SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const {
    // @@protoc_insertion_point(serialize_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    ::google::protobuf::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    // string speech = 1 [(.google.api.field_behavior) = OPTIONAL];
    if (this->speech().size() > 0) {
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        this->speech().data(), static_cast<int>(this->speech().length()),
        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
        "google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant.speech");
      ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
        1, this->speech(), output);
    }
  
    // string text = 2 [(.google.api.field_behavior) = OPTIONAL];
    if (this->text().size() > 0) {
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        this->text().data(), static_cast<int>(this->text().length()),
        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
        "google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant.text");
      ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
        2, this->text(), 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.prompt.StaticSimplePrompt.Variant)
  }
  
  ::google::protobuf::uint8* StaticSimplePrompt_Variant::InternalSerializeWithCachedSizesToArray(
      ::google::protobuf::uint8* target) const {
    // @@protoc_insertion_point(serialize_to_array_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    ::google::protobuf::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    // string speech = 1 [(.google.api.field_behavior) = OPTIONAL];
    if (this->speech().size() > 0) {
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        this->speech().data(), static_cast<int>(this->speech().length()),
        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
        "google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant.speech");
      target =
        ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
          1, this->speech(), target);
    }
  
    // string text = 2 [(.google.api.field_behavior) = OPTIONAL];
    if (this->text().size() > 0) {
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        this->text().data(), static_cast<int>(this->text().length()),
        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
        "google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant.text");
      target =
        ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
          2, this->text(), 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.prompt.StaticSimplePrompt.Variant)
    return target;
  }
  
  size_t StaticSimplePrompt_Variant::ByteSizeLong() const {
  // @@protoc_insertion_point(message_byte_size_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    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;
  
    // string speech = 1 [(.google.api.field_behavior) = OPTIONAL];
    if (this->speech().size() > 0) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->speech());
    }
  
    // string text = 2 [(.google.api.field_behavior) = OPTIONAL];
    if (this->text().size() > 0) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::StringSize(
          this->text());
    }
  
    int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    SetCachedSize(cached_size);
    return total_size;
  }
  
  void StaticSimplePrompt_Variant::MergeFrom(const ::google::protobuf::Message& from) {
  // @@protoc_insertion_point(generalized_merge_from_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    GOOGLE_DCHECK_NE(&from, this);
    const StaticSimplePrompt_Variant* source =
        ::google::protobuf::DynamicCastToGenerated<StaticSimplePrompt_Variant>(
            &from);
    if (source == nullptr) {
    // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
      ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    } else {
    // @@protoc_insertion_point(generalized_merge_from_cast_success:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
      MergeFrom(*source);
    }
  }
  
  void StaticSimplePrompt_Variant::MergeFrom(const StaticSimplePrompt_Variant& from) {
  // @@protoc_insertion_point(class_specific_merge_from_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    GOOGLE_DCHECK_NE(&from, this);
    _internal_metadata_.MergeFrom(from._internal_metadata_);
    ::google::protobuf::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    if (from.speech().size() > 0) {
  
      speech_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.speech_);
    }
    if (from.text().size() > 0) {
  
      text_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.text_);
    }
  }
  
  void StaticSimplePrompt_Variant::CopyFrom(const ::google::protobuf::Message& from) {
  // @@protoc_insertion_point(generalized_copy_from_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  void StaticSimplePrompt_Variant::CopyFrom(const StaticSimplePrompt_Variant& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  bool StaticSimplePrompt_Variant::IsInitialized() const {
    return true;
  }
  
  void StaticSimplePrompt_Variant::Swap(StaticSimplePrompt_Variant* other) {
    if (other == this) return;
    InternalSwap(other);
  }
  void StaticSimplePrompt_Variant::InternalSwap(StaticSimplePrompt_Variant* other) {
    using std::swap;
    _internal_metadata_.Swap(&other->_internal_metadata_);
    speech_.Swap(&other->speech_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      GetArenaNoVirtual());
    text_.Swap(&other->text_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      GetArenaNoVirtual());
  }
  
  ::google::protobuf::Metadata StaticSimplePrompt_Variant::GetMetadata() const {
    ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto);
    return ::file_level_metadata_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto[kIndexInFileMessages];
  }
  
  
  // ===================================================================
  
  void StaticSimplePrompt::InitAsDefaultInstance() {
  }
  class StaticSimplePrompt::HasBitSetters {
   public:
  };
  
  #if !defined(_MSC_VER) || _MSC_VER >= 1900
  const int StaticSimplePrompt::kVariantsFieldNumber;
  #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
  
  StaticSimplePrompt::StaticSimplePrompt()
    : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
    SharedCtor();
    // @@protoc_insertion_point(constructor:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
  }
  StaticSimplePrompt::StaticSimplePrompt(const StaticSimplePrompt& from)
    : ::google::protobuf::Message(),
        _internal_metadata_(nullptr),
        variants_(from.variants_) {
    _internal_metadata_.MergeFrom(from._internal_metadata_);
    // @@protoc_insertion_point(copy_constructor:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
  }
  
  void StaticSimplePrompt::SharedCtor() {
    ::google::protobuf::internal::InitSCC(
        &scc_info_StaticSimplePrompt_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto.base);
  }
  
  StaticSimplePrompt::~StaticSimplePrompt() {
    // @@protoc_insertion_point(destructor:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    SharedDtor();
  }
  
  void StaticSimplePrompt::SharedDtor() {
  }
  
  void StaticSimplePrompt::SetCachedSize(int size) const {
    _cached_size_.Set(size);
  }
  const StaticSimplePrompt& StaticSimplePrompt::default_instance() {
    ::google::protobuf::internal::InitSCC(&::scc_info_StaticSimplePrompt_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto.base);
    return *internal_default_instance();
  }
  
  
  void StaticSimplePrompt::Clear() {
  // @@protoc_insertion_point(message_clear_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    ::google::protobuf::uint32 cached_has_bits = 0;
    // Prevent compiler warnings about cached_has_bits being unused
    (void) cached_has_bits;
  
    variants_.Clear();
    _internal_metadata_.Clear();
  }
  
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* StaticSimplePrompt::_InternalParse(const char* begin, const char* end, void* object,
                    ::google::protobuf::internal::ParseContext* ctx) {
    auto msg = static_cast<StaticSimplePrompt*>(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) {
        // repeated .google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant variants = 1;
        case 1: {
          if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
          do {
            ptr = ::google::protobuf::io::ReadSize(ptr, &size);
            GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
            parser_till_end = ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant::_InternalParse;
            object = msg->add_variants();
            if (size > end - ptr) goto len_delim_till_end;
            ptr += size;
            GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
                {parser_till_end, object}, ptr - size, ptr));
            if (ptr >= end) break;
          } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1));
          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 StaticSimplePrompt::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.prompt.StaticSimplePrompt)
    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)) {
        // repeated .google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant variants = 1;
        case 1: {
          if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
            DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
                  input, add_variants()));
          } 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.prompt.StaticSimplePrompt)
    return true;
  failure:
    // @@protoc_insertion_point(parse_failure:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    return false;
  #undef DO_
  }
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  
  void StaticSimplePrompt::SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const {
    // @@protoc_insertion_point(serialize_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    ::google::protobuf::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    // repeated .google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant variants = 1;
    for (unsigned int i = 0,
        n = static_cast<unsigned int>(this->variants_size()); i < n; i++) {
      ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
        1,
        this->variants(static_cast<int>(i)),
        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.prompt.StaticSimplePrompt)
  }
  
  ::google::protobuf::uint8* StaticSimplePrompt::InternalSerializeWithCachedSizesToArray(
      ::google::protobuf::uint8* target) const {
    // @@protoc_insertion_point(serialize_to_array_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    ::google::protobuf::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    // repeated .google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant variants = 1;
    for (unsigned int i = 0,
        n = static_cast<unsigned int>(this->variants_size()); i < n; i++) {
      target = ::google::protobuf::internal::WireFormatLite::
        InternalWriteMessageToArray(
          1, this->variants(static_cast<int>(i)), 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.prompt.StaticSimplePrompt)
    return target;
  }
  
  size_t StaticSimplePrompt::ByteSizeLong() const {
  // @@protoc_insertion_point(message_byte_size_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    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;
  
    // repeated .google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt.Variant variants = 1;
    {
      unsigned int count = static_cast<unsigned int>(this->variants_size());
      total_size += 1UL * count;
      for (unsigned int i = 0; i < count; i++) {
        total_size +=
          ::google::protobuf::internal::WireFormatLite::MessageSize(
            this->variants(static_cast<int>(i)));
      }
    }
  
    int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    SetCachedSize(cached_size);
    return total_size;
  }
  
  void StaticSimplePrompt::MergeFrom(const ::google::protobuf::Message& from) {
  // @@protoc_insertion_point(generalized_merge_from_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    GOOGLE_DCHECK_NE(&from, this);
    const StaticSimplePrompt* source =
        ::google::protobuf::DynamicCastToGenerated<StaticSimplePrompt>(
            &from);
    if (source == nullptr) {
    // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
      ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    } else {
    // @@protoc_insertion_point(generalized_merge_from_cast_success:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
      MergeFrom(*source);
    }
  }
  
  void StaticSimplePrompt::MergeFrom(const StaticSimplePrompt& from) {
  // @@protoc_insertion_point(class_specific_merge_from_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    GOOGLE_DCHECK_NE(&from, this);
    _internal_metadata_.MergeFrom(from._internal_metadata_);
    ::google::protobuf::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    variants_.MergeFrom(from.variants_);
  }
  
  void StaticSimplePrompt::CopyFrom(const ::google::protobuf::Message& from) {
  // @@protoc_insertion_point(generalized_copy_from_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  void StaticSimplePrompt::CopyFrom(const StaticSimplePrompt& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:google.actions.sdk.v2.interactionmodel.prompt.StaticSimplePrompt)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  bool StaticSimplePrompt::IsInitialized() const {
    return true;
  }
  
  void StaticSimplePrompt::Swap(StaticSimplePrompt* other) {
    if (other == this) return;
    InternalSwap(other);
  }
  void StaticSimplePrompt::InternalSwap(StaticSimplePrompt* other) {
    using std::swap;
    _internal_metadata_.Swap(&other->_internal_metadata_);
    CastToBase(&variants_)->InternalSwap(CastToBase(&other->variants_));
  }
  
  ::google::protobuf::Metadata StaticSimplePrompt::GetMetadata() const {
    ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto);
    return ::file_level_metadata_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fstatic_5fsimple_5fprompt_2eproto[kIndexInFileMessages];
  }
  
  
  // @@protoc_insertion_point(namespace_scope)
  }  // namespace prompt
  }  // namespace interactionmodel
  }  // namespace v2
  }  // namespace sdk
  }  // namespace actions
  }  // namespace google
  namespace google {
  namespace protobuf {
  template<> PROTOBUF_NOINLINE ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant* Arena::CreateMaybeMessage< ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant >(Arena* arena) {
    return Arena::CreateInternal< ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt_Variant >(arena);
  }
  template<> PROTOBUF_NOINLINE ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt* Arena::CreateMaybeMessage< ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt >(Arena* arena) {
    return Arena::CreateInternal< ::google::actions::sdk::v2::interactionmodel::prompt::StaticSimplePrompt >(arena);
  }
  }  // namespace protobuf
  }  // namespace google
  
  // @@protoc_insertion_point(global_scope)
  #include <google/protobuf/port_undef.inc>
  