# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dialogflow/cx/v3/validation_message.proto

require 'google/protobuf'


descriptor_data = "\n6google/cloud/dialogflow/cx/v3/validation_message.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\"\x9a\x05\n\x11ValidationMessage\x12T\n\rresource_type\x18\x01 \x01(\x0e\x32=.google.cloud.dialogflow.cx.v3.ValidationMessage.ResourceType\x12\x15\n\tresources\x18\x02 \x03(\tB\x02\x18\x01\x12\x43\n\x0eresource_names\x18\x06 \x03(\x0b\x32+.google.cloud.dialogflow.cx.v3.ResourceName\x12K\n\x08severity\x18\x03 \x01(\x0e\x32\x39.google.cloud.dialogflow.cx.v3.ValidationMessage.Severity\x12\x0e\n\x06\x64\x65tail\x18\x04 \x01(\t\"\xad\x02\n\x0cResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41GENT\x10\x01\x12\n\n\x06INTENT\x10\x02\x12\x1a\n\x16INTENT_TRAINING_PHRASE\x10\x08\x12\x14\n\x10INTENT_PARAMETER\x10\t\x12\x0b\n\x07INTENTS\x10\n\x12\x1b\n\x17INTENT_TRAINING_PHRASES\x10\x0b\x12\x0f\n\x0b\x45NTITY_TYPE\x10\x03\x12\x10\n\x0c\x45NTITY_TYPES\x10\x0c\x12\x0b\n\x07WEBHOOK\x10\x04\x12\x08\n\x04\x46LOW\x10\x05\x12\x08\n\x04PAGE\x10\x06\x12\t\n\x05PAGES\x10\r\x12\x1a\n\x16TRANSITION_ROUTE_GROUP\x10\x07\x12 \n\x1c\x41GENT_TRANSITION_ROUTE_GROUP\x10\x0e\"F\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"2\n\x0cResourceName\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\tB\xb9\x01\n!com.google.cloud.dialogflow.cx.v3B\x16ValidationMessageProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module Dialogflow
      module CX
        module V3
          ValidationMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ValidationMessage").msgclass
          ValidationMessage::ResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ValidationMessage.ResourceType").enummodule
          ValidationMessage::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ValidationMessage.Severity").enummodule
          ResourceName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ResourceName").msgclass
        end
      end
    end
  end
end