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

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/dialogflow/cx/v3/test_case_pb'
require 'google/cloud/dialogflow/cx/v3/webhook_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/struct_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n/google/cloud/dialogflow/cx/v3/environment.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/dialogflow/cx/v3/test_case.proto\x1a+google/cloud/dialogflow/cx/v3/webhook.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x06\n\x0b\x45nvironment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12Q\n\x0fversion_configs\x18\x06 \x03(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.Environment.VersionConfig\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12U\n\x11test_cases_config\x18\x07 \x01(\x0b\x32:.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig\x12P\n\x0ewebhook_config\x18\n \x01(\x0b\x32\x38.google.cloud.dialogflow.cx.v3.Environment.WebhookConfig\x1aK\n\rVersionConfig\x12:\n\x07version\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\x1a\x8f\x01\n\x0fTestCasesConfig\x12;\n\ntest_cases\x18\x01 \x03(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\x12\x1d\n\x15\x65nable_continuous_run\x18\x02 \x01(\x08\x12 \n\x18\x65nable_predeployment_run\x18\x03 \x01(\x08\x1aR\n\rWebhookConfig\x12\x41\n\x11webhook_overrides\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.cx.v3.Webhook:}\xea\x41z\n%dialogflow.googleapis.com/Environment\x12Qprojects/{project}/locations/{location}/agents/{agent}/environments/{environment}\"\x7f\n\x17ListEnvironmentsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dialogflow.googleapis.com/Environment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"u\n\x18ListEnvironmentsResponse\x12@\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32*.google.cloud.dialogflow.cx.v3.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x15GetEnvironmentRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"\x9f\x01\n\x18\x43reateEnvironmentRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dialogflow.googleapis.com/Environment\x12\x44\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.EnvironmentB\x03\xe0\x41\x02\"\x96\x01\n\x18UpdateEnvironmentRequest\x12\x44\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.EnvironmentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"W\n\x18\x44\x65leteEnvironmentRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"\x85\x01\n\x1fLookupEnvironmentHistoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n LookupEnvironmentHistoryResponse\x12@\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32*.google.cloud.dialogflow.cx.v3.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x04\n\x14\x43ontinuousTestResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12X\n\x06result\x18\x02 \x01(\x0e\x32H.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult\x12H\n\x11test_case_results\x18\x03 \x03(\tB-\xfa\x41*\n(dialogflow.googleapis.com/TestCaseResult\x12,\n\x08run_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"V\n\x14\x41ggregatedTestResult\x12&\n\"AGGREGATED_TEST_RESULT_UNSPECIFIED\x10\x00\x12\n\n\x06PASSED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02:\xb7\x01\xea\x41\xb3\x01\n.dialogflow.googleapis.com/ContinuousTestResult\x12\x80\x01projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/continuousTestResults/{continuous_test_result}\"^\n\x18RunContinuousTestRequest\x12\x42\n\x0b\x65nvironment\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"p\n\x19RunContinuousTestResponse\x12S\n\x16\x63ontinuous_test_result\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ContinuousTestResult\"U\n\x19RunContinuousTestMetadata\x12\x38\n\x06\x65rrors\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.TestError\"\x91\x01\n ListContinuousTestResultsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.dialogflow.googleapis.com/ContinuousTestResult\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x92\x01\n!ListContinuousTestResultsResponse\x12T\n\x17\x63ontinuous_test_results\x18\x01 \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ContinuousTestResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x98\x01\n\x11\x44\x65ployFlowRequest\x12\x42\n\x0b\x65nvironment\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12?\n\x0c\x66low_version\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Version\"i\n\x12\x44\x65ployFlowResponse\x12?\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.Environment\x12\x12\n\ndeployment\x18\x02 \x01(\t\"S\n\x12\x44\x65ployFlowMetadata\x12=\n\x0btest_errors\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.TestError2\xc4\x11\n\x0c\x45nvironments\x12\xcf\x01\n\x10ListEnvironments\x12\x36.google.cloud.dialogflow.cx.v3.ListEnvironmentsRequest\x1a\x37.google.cloud.dialogflow.cx.v3.ListEnvironmentsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v3/{parent=projects/*/locations/*/agents/*}/environments\x12\xbc\x01\n\x0eGetEnvironment\x12\x34.google.cloud.dialogflow.cx.v3.GetEnvironmentRequest\x1a*.google.cloud.dialogflow.cx.v3.Environment\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v3/{name=projects/*/locations/*/agents/*/environments/*}\x12\xf9\x01\n\x11\x43reateEnvironment\x12\x37.google.cloud.dialogflow.cx.v3.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41%\n\x0b\x45nvironment\x12\x16google.protobuf.Struct\xda\x41\x12parent,environment\x82\xd3\xe4\x93\x02H\"9/v3/{parent=projects/*/locations/*/agents/*}/environments:\x0b\x65nvironment\x12\x8a\x02\n\x11UpdateEnvironment\x12\x37.google.cloud.dialogflow.cx.v3.UpdateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\xca\x41%\n\x0b\x45nvironment\x12\x16google.protobuf.Struct\xda\x41\x17\x65nvironment,update_mask\x82\xd3\xe4\x93\x02T2E/v3/{environment.name=projects/*/locations/*/agents/*/environments/*}:\x0b\x65nvironment\x12\xae\x01\n\x11\x44\x65leteEnvironment\x12\x37.google.cloud.dialogflow.cx.v3.DeleteEnvironmentRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v3/{name=projects/*/locations/*/agents/*/environments/*}\x12\xfe\x01\n\x18LookupEnvironmentHistory\x12>.google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryRequest\x1a?.google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryResponse\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02T\x12R/v3/{name=projects/*/locations/*/agents/*/environments/*}:lookupEnvironmentHistory\x12\x84\x02\n\x11RunContinuousTest\x12\x37.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41\x36\n\x19RunContinuousTestResponse\x12\x19RunContinuousTestMetadata\x82\xd3\xe4\x93\x02W\"R/v3/{environment=projects/*/locations/*/agents/*/environments/*}:runContinuousTest:\x01*\x12\x82\x02\n\x19ListContinuousTestResults\x12?.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest\x1a@.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse\"b\xda\x41\x06parent\x82\xd3\xe4\x93\x02S\x12Q/v3/{parent=projects/*/locations/*/agents/*/environments/*}/continuousTestResults\x12\xe1\x01\n\nDeployFlow\x12\x30.google.cloud.dialogflow.cx.v3.DeployFlowRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41(\n\x12\x44\x65ployFlowResponse\x12\x12\x44\x65ployFlowMetadata\x82\xd3\xe4\x93\x02P\"K/v3/{environment=projects/*/locations/*/agents/*/environments/*}:deployFlow:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb3\x01\n!com.google.cloud.dialogflow.cx.v3B\x10\x45nvironmentProtoP\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 = [
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.cloud.dialogflow.cx.v3.Webhook", "google/cloud/dialogflow/cx/v3/webhook.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
    ["google.cloud.dialogflow.cx.v3.TestError", "google/cloud/dialogflow/cx/v3/test_case.proto"],
  ]
  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
          Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Environment").msgclass
          Environment::VersionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Environment.VersionConfig").msgclass
          Environment::TestCasesConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig").msgclass
          Environment::WebhookConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Environment.WebhookConfig").msgclass
          ListEnvironmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListEnvironmentsRequest").msgclass
          ListEnvironmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListEnvironmentsResponse").msgclass
          GetEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetEnvironmentRequest").msgclass
          CreateEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateEnvironmentRequest").msgclass
          UpdateEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateEnvironmentRequest").msgclass
          DeleteEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteEnvironmentRequest").msgclass
          LookupEnvironmentHistoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryRequest").msgclass
          LookupEnvironmentHistoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryResponse").msgclass
          ContinuousTestResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ContinuousTestResult").msgclass
          ContinuousTestResult::AggregatedTestResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult").enummodule
          RunContinuousTestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunContinuousTestRequest").msgclass
          RunContinuousTestResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunContinuousTestResponse").msgclass
          RunContinuousTestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata").msgclass
          ListContinuousTestResultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest").msgclass
          ListContinuousTestResultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse").msgclass
          DeployFlowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeployFlowRequest").msgclass
          DeployFlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeployFlowResponse").msgclass
          DeployFlowMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeployFlowMetadata").msgclass
        end
      end
    end
  end
end
