# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dialogflow/cx/v3/test_case.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/flow_pb' require 'google/cloud/dialogflow/cx/v3/intent_pb' require 'google/cloud/dialogflow/cx/v3/page_pb' require 'google/cloud/dialogflow/cx/v3/response_message_pb' require 'google/cloud/dialogflow/cx/v3/session_pb' require 'google/cloud/dialogflow/cx/v3/transition_route_group_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' require 'google/rpc/status_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/dialogflow/cx/v3/test_case.proto", :syntax => :proto3) do add_message "google.cloud.dialogflow.cx.v3.TestCase" do optional :name, :string, 1 repeated :tags, :string, 2 optional :display_name, :string, 3 optional :notes, :string, 4 optional :test_config, :message, 13, "google.cloud.dialogflow.cx.v3.TestConfig" repeated :test_case_conversation_turns, :message, 5, "google.cloud.dialogflow.cx.v3.ConversationTurn" optional :creation_time, :message, 10, "google.protobuf.Timestamp" optional :last_test_result, :message, 12, "google.cloud.dialogflow.cx.v3.TestCaseResult" end add_message "google.cloud.dialogflow.cx.v3.TestCaseResult" do optional :name, :string, 1 optional :environment, :string, 2 repeated :conversation_turns, :message, 3, "google.cloud.dialogflow.cx.v3.ConversationTurn" optional :test_result, :enum, 4, "google.cloud.dialogflow.cx.v3.TestResult" optional :test_time, :message, 5, "google.protobuf.Timestamp" end add_message "google.cloud.dialogflow.cx.v3.TestConfig" do repeated :tracking_parameters, :string, 1 optional :flow, :string, 2 optional :page, :string, 3 end add_message "google.cloud.dialogflow.cx.v3.ConversationTurn" do optional :user_input, :message, 1, "google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput" optional :virtual_agent_output, :message, 2, "google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput" end add_message "google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput" do optional :input, :message, 5, "google.cloud.dialogflow.cx.v3.QueryInput" optional :injected_parameters, :message, 2, "google.protobuf.Struct" optional :is_webhook_enabled, :bool, 3 optional :enable_sentiment_analysis, :bool, 7 end add_message "google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput" do optional :session_parameters, :message, 4, "google.protobuf.Struct" repeated :differences, :message, 5, "google.cloud.dialogflow.cx.v3.TestRunDifference" optional :diagnostic_info, :message, 6, "google.protobuf.Struct" optional :triggered_intent, :message, 7, "google.cloud.dialogflow.cx.v3.Intent" optional :current_page, :message, 8, "google.cloud.dialogflow.cx.v3.Page" repeated :text_responses, :message, 9, "google.cloud.dialogflow.cx.v3.ResponseMessage.Text" optional :status, :message, 10, "google.rpc.Status" end add_message "google.cloud.dialogflow.cx.v3.TestRunDifference" do optional :type, :enum, 1, "google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType" optional :description, :string, 2 end add_enum "google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType" do value :DIFF_TYPE_UNSPECIFIED, 0 value :INTENT, 1 value :PAGE, 2 value :PARAMETERS, 3 value :UTTERANCE, 4 end add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage" do repeated :transitions, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition" optional :coverage_score, :float, 2 end add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode" do oneof :kind do optional :page, :message, 1, "google.cloud.dialogflow.cx.v3.Page" optional :flow, :message, 2, "google.cloud.dialogflow.cx.v3.Flow" end end add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition" do optional :source, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode" optional :index, :int32, 4 optional :target, :message, 2, "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode" optional :covered, :bool, 3 oneof :detail do optional :transition_route, :message, 5, "google.cloud.dialogflow.cx.v3.TransitionRoute" optional :event_handler, :message, 6, "google.cloud.dialogflow.cx.v3.EventHandler" end end add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage" do repeated :coverages, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage" optional :coverage_score, :float, 2 end add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage" do optional :route_group, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRouteGroup" repeated :transitions, :message, 2, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition" optional :coverage_score, :float, 3 end add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition" do optional :transition_route, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRoute" optional :covered, :bool, 2 end add_message "google.cloud.dialogflow.cx.v3.IntentCoverage" do repeated :intents, :message, 1, "google.cloud.dialogflow.cx.v3.IntentCoverage.Intent" optional :coverage_score, :float, 2 end add_message "google.cloud.dialogflow.cx.v3.IntentCoverage.Intent" do optional :intent, :string, 1 optional :covered, :bool, 2 end add_message "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest" do optional :agent, :string, 3 optional :type, :enum, 2, "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType" end add_enum "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType" do value :COVERAGE_TYPE_UNSPECIFIED, 0 value :INTENT, 1 value :PAGE_TRANSITION, 2 value :TRANSITION_ROUTE_GROUP, 3 end add_message "google.cloud.dialogflow.cx.v3.CalculateCoverageResponse" do optional :agent, :string, 5 oneof :coverage_type do optional :intent_coverage, :message, 2, "google.cloud.dialogflow.cx.v3.IntentCoverage" optional :transition_coverage, :message, 4, "google.cloud.dialogflow.cx.v3.TransitionCoverage" optional :route_group_coverage, :message, 6, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage" end end add_message "google.cloud.dialogflow.cx.v3.ListTestCasesRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :view, :enum, 4, "google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView" end add_enum "google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView" do value :TEST_CASE_VIEW_UNSPECIFIED, 0 value :BASIC, 1 value :FULL, 2 end add_message "google.cloud.dialogflow.cx.v3.ListTestCasesResponse" do repeated :test_cases, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase" optional :next_page_token, :string, 2 end add_message "google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest" do optional :parent, :string, 1 repeated :names, :string, 3 end add_message "google.cloud.dialogflow.cx.v3.CreateTestCaseRequest" do optional :parent, :string, 1 optional :test_case, :message, 2, "google.cloud.dialogflow.cx.v3.TestCase" end add_message "google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest" do optional :test_case, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.dialogflow.cx.v3.GetTestCaseRequest" do optional :name, :string, 1 end add_message "google.cloud.dialogflow.cx.v3.RunTestCaseRequest" do optional :name, :string, 1 optional :environment, :string, 2 end add_message "google.cloud.dialogflow.cx.v3.RunTestCaseResponse" do optional :result, :message, 2, "google.cloud.dialogflow.cx.v3.TestCaseResult" end add_message "google.cloud.dialogflow.cx.v3.RunTestCaseMetadata" do end add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest" do optional :parent, :string, 1 optional :environment, :string, 2 repeated :test_cases, :string, 3 end add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse" do repeated :results, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseResult" end add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata" do repeated :errors, :message, 1, "google.cloud.dialogflow.cx.v3.TestError" end add_message "google.cloud.dialogflow.cx.v3.TestError" do optional :test_case, :string, 1 optional :status, :message, 2, "google.rpc.Status" optional :test_time, :message, 3, "google.protobuf.Timestamp" end add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesRequest" do optional :parent, :string, 1 oneof :source do optional :gcs_uri, :string, 2 optional :content, :bytes, 3 end end add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesResponse" do repeated :names, :string, 1 end add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata" do repeated :errors, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseError" end add_message "google.cloud.dialogflow.cx.v3.TestCaseError" do optional :test_case, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase" optional :status, :message, 2, "google.rpc.Status" end add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest" do optional :parent, :string, 1 optional :data_format, :enum, 3, "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat" optional :filter, :string, 4 oneof :destination do optional :gcs_uri, :string, 2 end end add_enum "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat" do value :DATA_FORMAT_UNSPECIFIED, 0 value :BLOB, 1 value :JSON, 2 end add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesResponse" do oneof :destination do optional :gcs_uri, :string, 1 optional :content, :bytes, 2 end end add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata" do end add_message "google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :filter, :string, 4 end add_message "google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse" do repeated :test_case_results, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseResult" optional :next_page_token, :string, 2 end add_message "google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest" do optional :name, :string, 1 end add_enum "google.cloud.dialogflow.cx.v3.TestResult" do value :TEST_RESULT_UNSPECIFIED, 0 value :PASSED, 1 value :FAILED, 2 end end end module Google module Cloud module Dialogflow module CX module V3 TestCase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestCase").msgclass TestCaseResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestCaseResult").msgclass TestConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestConfig").msgclass ConversationTurn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ConversationTurn").msgclass ConversationTurn::UserInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput").msgclass ConversationTurn::VirtualAgentOutput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput").msgclass TestRunDifference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestRunDifference").msgclass TestRunDifference::DiffType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType").enummodule TransitionCoverage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionCoverage").msgclass TransitionCoverage::TransitionNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode").msgclass TransitionCoverage::Transition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition").msgclass TransitionRouteGroupCoverage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage").msgclass TransitionRouteGroupCoverage::Coverage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage").msgclass TransitionRouteGroupCoverage::Coverage::Transition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition").msgclass IntentCoverage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.IntentCoverage").msgclass IntentCoverage::Intent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.IntentCoverage.Intent").msgclass CalculateCoverageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CalculateCoverageRequest").msgclass CalculateCoverageRequest::CoverageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType").enummodule CalculateCoverageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CalculateCoverageResponse").msgclass ListTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCasesRequest").msgclass ListTestCasesRequest::TestCaseView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView").enummodule ListTestCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCasesResponse").msgclass BatchDeleteTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest").msgclass CreateTestCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateTestCaseRequest").msgclass UpdateTestCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest").msgclass GetTestCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetTestCaseRequest").msgclass RunTestCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunTestCaseRequest").msgclass RunTestCaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunTestCaseResponse").msgclass RunTestCaseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunTestCaseMetadata").msgclass BatchRunTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest").msgclass BatchRunTestCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse").msgclass BatchRunTestCasesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata").msgclass TestError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestError").msgclass ImportTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportTestCasesRequest").msgclass ImportTestCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportTestCasesResponse").msgclass ImportTestCasesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata").msgclass TestCaseError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestCaseError").msgclass ExportTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportTestCasesRequest").msgclass ExportTestCasesRequest::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat").enummodule ExportTestCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportTestCasesResponse").msgclass ExportTestCasesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata").msgclass ListTestCaseResultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest").msgclass ListTestCaseResultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse").msgclass GetTestCaseResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest").msgclass TestResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestResult").enummodule end end end end end