google-cloud-dialogflow-cx-v3 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +25 -9
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +28 -86
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +7 -3
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +3 -1
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +7 -3
  7. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +7 -5
  8. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/service_stub.rb +9 -9
  9. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +25 -65
  10. data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +25 -23
  11. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +4 -2
  12. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +4 -2
  13. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/service_stub.rb +2 -2
  14. data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +25 -31
  15. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +4 -2
  16. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +4 -2
  17. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/service_stub.rb +2 -2
  18. data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +25 -56
  19. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +4 -2
  20. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +4 -2
  21. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb +5 -5
  22. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +28 -93
  23. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +4 -2
  24. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +3 -1
  25. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +4 -2
  26. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +7 -5
  27. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/service_stub.rb +9 -9
  28. data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +27 -127
  29. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +4 -2
  30. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +4 -2
  31. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/service_stub.rb +7 -7
  32. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +28 -96
  33. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +4 -2
  34. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +3 -1
  35. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +4 -2
  36. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +7 -5
  37. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/service_stub.rb +10 -10
  38. data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +26 -26
  39. data/lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb +24 -4
  40. data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +25 -59
  41. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +4 -2
  42. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +4 -2
  43. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/service_stub.rb +5 -5
  44. data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +27 -73
  45. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +4 -2
  46. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +4 -2
  47. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/service_stub.rb +5 -5
  48. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +25 -53
  49. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +25 -65
  50. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +4 -2
  51. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +4 -2
  52. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/service_stub.rb +5 -5
  53. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +26 -34
  54. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +4 -2
  55. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +4 -2
  56. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/service_stub.rb +5 -5
  57. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +33 -177
  58. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +4 -2
  59. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +4 -2
  60. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/service_stub.rb +3 -3
  61. data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +34 -224
  62. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +4 -2
  63. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +3 -1
  64. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +4 -2
  65. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +7 -5
  66. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/service_stub.rb +12 -12
  67. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +26 -34
  68. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +4 -2
  69. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +4 -2
  70. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/service_stub.rb +5 -5
  71. data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +24 -34
  72. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  73. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +27 -55
  74. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +4 -2
  75. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +3 -1
  76. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +4 -2
  77. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +7 -5
  78. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/service_stub.rb +7 -7
  79. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +30 -125
  80. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +4 -2
  81. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +4 -2
  82. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/service_stub.rb +5 -5
  83. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +3 -0
  84. data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +12 -5
  85. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +6 -0
  86. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +2 -1
  87. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +65 -0
  88. data/proto_docs/google/protobuf/any.rb +7 -4
  89. data/proto_docs/google/protobuf/struct.rb +1 -1
  90. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  91. metadata +4 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/dialogflow/cx/v3/session.proto
3
4
 
@@ -17,185 +18,40 @@ require 'google/protobuf/struct_pb'
17
18
  require 'google/rpc/status_pb'
18
19
  require 'google/type/latlng_pb'
19
20
 
20
- Google::Protobuf::DescriptorPool.generated_pool.build do
21
- add_file("google/cloud/dialogflow/cx/v3/session.proto", :syntax => :proto3) do
22
- add_message "google.cloud.dialogflow.cx.v3.DetectIntentRequest" do
23
- optional :session, :string, 1
24
- optional :query_params, :message, 2, "google.cloud.dialogflow.cx.v3.QueryParameters"
25
- optional :query_input, :message, 3, "google.cloud.dialogflow.cx.v3.QueryInput"
26
- optional :output_audio_config, :message, 4, "google.cloud.dialogflow.cx.v3.OutputAudioConfig"
27
- end
28
- add_message "google.cloud.dialogflow.cx.v3.DetectIntentResponse" do
29
- optional :response_id, :string, 1
30
- optional :query_result, :message, 2, "google.cloud.dialogflow.cx.v3.QueryResult"
31
- optional :output_audio, :bytes, 4
32
- optional :output_audio_config, :message, 5, "google.cloud.dialogflow.cx.v3.OutputAudioConfig"
33
- optional :response_type, :enum, 6, "google.cloud.dialogflow.cx.v3.DetectIntentResponse.ResponseType"
34
- optional :allow_cancellation, :bool, 7
35
- end
36
- add_enum "google.cloud.dialogflow.cx.v3.DetectIntentResponse.ResponseType" do
37
- value :RESPONSE_TYPE_UNSPECIFIED, 0
38
- value :PARTIAL, 1
39
- value :FINAL, 2
40
- end
41
- add_message "google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest" do
42
- optional :session, :string, 1
43
- optional :query_params, :message, 2, "google.cloud.dialogflow.cx.v3.QueryParameters"
44
- optional :query_input, :message, 3, "google.cloud.dialogflow.cx.v3.QueryInput"
45
- optional :output_audio_config, :message, 4, "google.cloud.dialogflow.cx.v3.OutputAudioConfig"
46
- optional :enable_partial_response, :bool, 5
47
- optional :enable_debugging_info, :bool, 8
48
- end
49
- add_message "google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo" do
50
- optional :audio_data_chunks, :int32, 1
51
- optional :result_end_time_offset, :message, 2, "google.protobuf.Duration"
52
- optional :first_audio_duration, :message, 3, "google.protobuf.Duration"
53
- optional :single_utterance, :bool, 5
54
- repeated :speech_partial_results_end_times, :message, 6, "google.protobuf.Duration"
55
- repeated :speech_final_results_end_times, :message, 7, "google.protobuf.Duration"
56
- optional :partial_responses, :int32, 8
57
- optional :speaker_id_passive_latency_ms_offset, :int32, 9
58
- optional :bargein_event_triggered, :bool, 10
59
- optional :speech_single_utterance, :bool, 11
60
- repeated :dtmf_partial_results_times, :message, 12, "google.protobuf.Duration"
61
- repeated :dtmf_final_results_times, :message, 13, "google.protobuf.Duration"
62
- optional :single_utterance_end_time_offset, :message, 14, "google.protobuf.Duration"
63
- optional :no_speech_timeout, :message, 15, "google.protobuf.Duration"
64
- optional :is_input_text, :bool, 16
65
- optional :client_half_close_time_offset, :message, 17, "google.protobuf.Duration"
66
- optional :client_half_close_streaming_time_offset, :message, 18, "google.protobuf.Duration"
67
- end
68
- add_message "google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse" do
69
- optional :debugging_info, :message, 4, "google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfo"
70
- oneof :response do
71
- optional :recognition_result, :message, 1, "google.cloud.dialogflow.cx.v3.StreamingRecognitionResult"
72
- optional :detect_intent_response, :message, 2, "google.cloud.dialogflow.cx.v3.DetectIntentResponse"
73
- end
74
- end
75
- add_message "google.cloud.dialogflow.cx.v3.StreamingRecognitionResult" do
76
- optional :message_type, :enum, 1, "google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.MessageType"
77
- optional :transcript, :string, 2
78
- optional :is_final, :bool, 3
79
- optional :confidence, :float, 4
80
- optional :stability, :float, 6
81
- repeated :speech_word_info, :message, 7, "google.cloud.dialogflow.cx.v3.SpeechWordInfo"
82
- optional :speech_end_offset, :message, 8, "google.protobuf.Duration"
83
- optional :language_code, :string, 10
84
- end
85
- add_enum "google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.MessageType" do
86
- value :MESSAGE_TYPE_UNSPECIFIED, 0
87
- value :TRANSCRIPT, 1
88
- value :END_OF_SINGLE_UTTERANCE, 2
89
- end
90
- add_message "google.cloud.dialogflow.cx.v3.QueryParameters" do
91
- optional :time_zone, :string, 1
92
- optional :geo_location, :message, 2, "google.type.LatLng"
93
- repeated :session_entity_types, :message, 3, "google.cloud.dialogflow.cx.v3.SessionEntityType"
94
- optional :payload, :message, 4, "google.protobuf.Struct"
95
- optional :parameters, :message, 5, "google.protobuf.Struct"
96
- optional :current_page, :string, 6
97
- optional :disable_webhook, :bool, 7
98
- optional :analyze_query_text_sentiment, :bool, 8
99
- map :webhook_headers, :string, :string, 10
100
- repeated :flow_versions, :string, 14
101
- optional :channel, :string, 15
102
- end
103
- add_message "google.cloud.dialogflow.cx.v3.QueryInput" do
104
- optional :language_code, :string, 4
105
- oneof :input do
106
- optional :text, :message, 2, "google.cloud.dialogflow.cx.v3.TextInput"
107
- optional :intent, :message, 3, "google.cloud.dialogflow.cx.v3.IntentInput"
108
- optional :audio, :message, 5, "google.cloud.dialogflow.cx.v3.AudioInput"
109
- optional :event, :message, 6, "google.cloud.dialogflow.cx.v3.EventInput"
110
- optional :dtmf, :message, 7, "google.cloud.dialogflow.cx.v3.DtmfInput"
111
- end
112
- end
113
- add_message "google.cloud.dialogflow.cx.v3.QueryResult" do
114
- optional :language_code, :string, 2
115
- optional :parameters, :message, 3, "google.protobuf.Struct"
116
- repeated :response_messages, :message, 4, "google.cloud.dialogflow.cx.v3.ResponseMessage"
117
- repeated :webhook_statuses, :message, 13, "google.rpc.Status"
118
- repeated :webhook_payloads, :message, 6, "google.protobuf.Struct"
119
- optional :current_page, :message, 7, "google.cloud.dialogflow.cx.v3.Page"
120
- optional :intent, :message, 8, "google.cloud.dialogflow.cx.v3.Intent"
121
- optional :intent_detection_confidence, :float, 9
122
- optional :match, :message, 15, "google.cloud.dialogflow.cx.v3.Match"
123
- optional :diagnostic_info, :message, 10, "google.protobuf.Struct"
124
- optional :sentiment_analysis_result, :message, 17, "google.cloud.dialogflow.cx.v3.SentimentAnalysisResult"
125
- oneof :query do
126
- optional :text, :string, 1
127
- optional :trigger_intent, :string, 11
128
- optional :transcript, :string, 12
129
- optional :trigger_event, :string, 14
130
- optional :dtmf, :message, 23, "google.cloud.dialogflow.cx.v3.DtmfInput"
131
- end
132
- end
133
- add_message "google.cloud.dialogflow.cx.v3.TextInput" do
134
- optional :text, :string, 1
135
- end
136
- add_message "google.cloud.dialogflow.cx.v3.IntentInput" do
137
- optional :intent, :string, 1
138
- end
139
- add_message "google.cloud.dialogflow.cx.v3.AudioInput" do
140
- optional :config, :message, 1, "google.cloud.dialogflow.cx.v3.InputAudioConfig"
141
- optional :audio, :bytes, 2
142
- end
143
- add_message "google.cloud.dialogflow.cx.v3.EventInput" do
144
- optional :event, :string, 1
145
- end
146
- add_message "google.cloud.dialogflow.cx.v3.DtmfInput" do
147
- optional :digits, :string, 1
148
- optional :finish_digit, :string, 2
149
- end
150
- add_message "google.cloud.dialogflow.cx.v3.Match" do
151
- optional :intent, :message, 1, "google.cloud.dialogflow.cx.v3.Intent"
152
- optional :event, :string, 6
153
- optional :parameters, :message, 2, "google.protobuf.Struct"
154
- optional :resolved_input, :string, 3
155
- optional :match_type, :enum, 4, "google.cloud.dialogflow.cx.v3.Match.MatchType"
156
- optional :confidence, :float, 5
157
- end
158
- add_enum "google.cloud.dialogflow.cx.v3.Match.MatchType" do
159
- value :MATCH_TYPE_UNSPECIFIED, 0
160
- value :INTENT, 1
161
- value :DIRECT_INTENT, 2
162
- value :PARAMETER_FILLING, 3
163
- value :NO_MATCH, 4
164
- value :NO_INPUT, 5
165
- value :EVENT, 6
166
- end
167
- add_message "google.cloud.dialogflow.cx.v3.MatchIntentRequest" do
168
- optional :session, :string, 1
169
- optional :query_params, :message, 2, "google.cloud.dialogflow.cx.v3.QueryParameters"
170
- optional :query_input, :message, 3, "google.cloud.dialogflow.cx.v3.QueryInput"
171
- optional :persist_parameter_changes, :bool, 5
172
- end
173
- add_message "google.cloud.dialogflow.cx.v3.MatchIntentResponse" do
174
- repeated :matches, :message, 4, "google.cloud.dialogflow.cx.v3.Match"
175
- optional :current_page, :message, 5, "google.cloud.dialogflow.cx.v3.Page"
176
- oneof :query do
177
- optional :text, :string, 1
178
- optional :trigger_intent, :string, 2
179
- optional :transcript, :string, 3
180
- optional :trigger_event, :string, 6
181
- end
182
- end
183
- add_message "google.cloud.dialogflow.cx.v3.FulfillIntentRequest" do
184
- optional :match_intent_request, :message, 1, "google.cloud.dialogflow.cx.v3.MatchIntentRequest"
185
- optional :match, :message, 2, "google.cloud.dialogflow.cx.v3.Match"
186
- optional :output_audio_config, :message, 3, "google.cloud.dialogflow.cx.v3.OutputAudioConfig"
187
- end
188
- add_message "google.cloud.dialogflow.cx.v3.FulfillIntentResponse" do
189
- optional :response_id, :string, 1
190
- optional :query_result, :message, 2, "google.cloud.dialogflow.cx.v3.QueryResult"
191
- optional :output_audio, :bytes, 3
192
- optional :output_audio_config, :message, 4, "google.cloud.dialogflow.cx.v3.OutputAudioConfig"
193
- end
194
- add_message "google.cloud.dialogflow.cx.v3.SentimentAnalysisResult" do
195
- optional :score, :float, 1
196
- optional :magnitude, :float, 2
21
+
22
+ descriptor_data = "\n+google/cloud/dialogflow/cx/v3/session.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\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a*google/cloud/dialogflow/cx/v3/intent.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a\x37google/cloud/dialogflow/cx/v3/session_entity_type.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/rpc/status.proto\x1a\x18google/type/latlng.proto\"\xab\x02\n\x13\x44\x65tectIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\x8e\x03\n\x14\x44\x65tectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x04 \x01(\x0c\x12M\n\x13output_audio_config\x18\x05 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12W\n\rresponse_type\x18\x06 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.DetectIntentResponse.ResponseType\x12\x1a\n\x12\x61llow_cancellation\x18\x07 \x01(\x08\"E\n\x0cResponseType\x12\x1d\n\x19RESPONSE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PARTIAL\x10\x01\x12\t\n\x05\x46INAL\x10\x02\"\xf1\x02\n\x1cStreamingDetectIntentRequest\x12\x37\n\x07session\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12\x1f\n\x17\x65nable_partial_response\x18\x05 \x01(\x08\x12\x1d\n\x15\x65nable_debugging_info\x18\x08 \x01(\x08\"\xf8\x06\n\x1e\x43loudConversationDebuggingInfo\x12\x19\n\x11\x61udio_data_chunks\x18\x01 \x01(\x05\x12\x39\n\x16result_end_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14\x66irst_audio_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10single_utterance\x18\x05 \x01(\x08\x12\x43\n speech_partial_results_end_times\x18\x06 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1espeech_final_results_end_times\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x11partial_responses\x18\x08 \x01(\x05\x12,\n$speaker_id_passive_latency_ms_offset\x18\t \x01(\x05\x12\x1f\n\x17\x62\x61rgein_event_triggered\x18\n \x01(\x08\x12\x1f\n\x17speech_single_utterance\x18\x0b \x01(\x08\x12=\n\x1a\x64tmf_partial_results_times\x18\x0c \x03(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18\x64tmf_final_results_times\x18\r \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n single_utterance_end_time_offset\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11no_speech_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\ris_input_text\x18\x10 \x01(\x08\x12@\n\x1d\x63lient_half_close_time_offset\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12J\n\'client_half_close_streaming_time_offset\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xb2\x02\n\x1dStreamingDetectIntentResponse\x12W\n\x12recognition_result\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.StreamingRecognitionResultH\x00\x12U\n\x16\x64\x65tect_intent_response\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponseH\x00\x12U\n\x0e\x64\x65\x62ugging_info\x18\x04 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfoB\n\n\x08response\"\xb6\x03\n\x1aStreamingRecognitionResult\x12[\n\x0cmessage_type\x18\x01 \x01(\x0e\x32\x45.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.MessageType\x12\x12\n\ntranscript\x18\x02 \x01(\t\x12\x10\n\x08is_final\x18\x03 \x01(\x08\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x11\n\tstability\x18\x06 \x01(\x02\x12G\n\x10speech_word_info\x18\x07 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.SpeechWordInfo\x12\x34\n\x11speech_end_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rlanguage_code\x18\n \x01(\t\"X\n\x0bMessageType\x12\x1c\n\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTRANSCRIPT\x10\x01\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x02\"\x89\x05\n\x0fQueryParameters\x12\x11\n\ttime_zone\x18\x01 \x01(\t\x12)\n\x0cgeo_location\x18\x02 \x01(\x0b\x32\x13.google.type.LatLng\x12N\n\x14session_entity_types\x18\x03 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nparameters\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x06 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\x12\x17\n\x0f\x64isable_webhook\x18\x07 \x01(\x08\x12$\n\x1c\x61nalyze_query_text_sentiment\x18\x08 \x01(\x08\x12[\n\x0fwebhook_headers\x18\n \x03(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.QueryParameters.WebhookHeadersEntry\x12=\n\rflow_versions\x18\x0e \x03(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x0f\n\x07\x63hannel\x18\x0f \x01(\t\x12\x33\n\x0bsession_ttl\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xdb\x02\n\nQueryInput\x12\x38\n\x04text\x18\x02 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.TextInputH\x00\x12<\n\x06intent\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.IntentInputH\x00\x12:\n\x05\x61udio\x18\x05 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.AudioInputH\x00\x12:\n\x05\x65vent\x18\x06 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.EventInputH\x00\x12\x38\n\x04\x64tmf\x18\x07 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\x07\n\x05input\"\xa1\x06\n\x0bQueryResult\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x0b \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x0c \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x0e \x01(\tH\x00\x12\x38\n\x04\x64tmf\x18\x17 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12+\n\nparameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12I\n\x11response_messages\x18\x04 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12,\n\x10webhook_statuses\x18\r \x03(\x0b\x32\x12.google.rpc.Status\x12\x31\n\x10webhook_payloads\x18\x06 \x03(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x07 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Page\x12\x39\n\x06intent\x18\x08 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.IntentB\x02\x18\x01\x12\'\n\x1bintent_detection_confidence\x18\t \x01(\x02\x42\x02\x18\x01\x12\x33\n\x05match\x18\x0f \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x30\n\x0f\x64iagnostic_info\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\x12Y\n\x19sentiment_analysis_result\x18\x11 \x01(\x0b\x32\x36.google.cloud.dialogflow.cx.v3.SentimentAnalysisResultB\x07\n\x05query\"\x1e\n\tTextInput\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x02\"G\n\x0bIntentInput\x12\x38\n\x06intent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n dialogflow.googleapis.com/Intent\"a\n\nAudioInput\x12\x44\n\x06\x63onfig\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.InputAudioConfigB\x03\xe0\x41\x02\x12\r\n\x05\x61udio\x18\x02 \x01(\x0c\"\x1b\n\nEventInput\x12\r\n\x05\x65vent\x18\x01 \x01(\t\"1\n\tDtmfInput\x12\x0e\n\x06\x64igits\x18\x01 \x01(\t\x12\x14\n\x0c\x66inish_digit\x18\x02 \x01(\t\"\xf1\x02\n\x05Match\x12\x35\n\x06intent\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.Intent\x12\r\n\x05\x65vent\x18\x06 \x01(\t\x12+\n\nparameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0eresolved_input\x18\x03 \x01(\t\x12\x42\n\nmatch_type\x18\x04 \x01(\x0e\x32..google.cloud.dialogflow.cx.v3.Match.MatchType\x12\x12\n\nconfidence\x18\x05 \x01(\x02\"\x84\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x11\n\rDIRECT_INTENT\x10\x02\x12\x15\n\x11PARAMETER_FILLING\x10\x03\x12\x0c\n\x08NO_MATCH\x10\x04\x12\x0c\n\x08NO_INPUT\x10\x05\x12\t\n\x05\x45VENT\x10\x06\"\xfe\x01\n\x12MatchIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12!\n\x19persist_parameter_changes\x18\x05 \x01(\x08\"\x90\x02\n\x13MatchIntentResponse\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x02 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x03 \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x06 \x01(\tH\x00\x12\x35\n\x07matches\x18\x04 \x03(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x39\n\x0c\x63urrent_page\x18\x05 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.PageB\x07\n\x05query\"\xeb\x01\n\x14\x46ulfillIntentRequest\x12O\n\x14match_intent_request\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x12\x33\n\x05match\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12M\n\x13output_audio_config\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\xd3\x01\n\x15\x46ulfillIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x03 \x01(\x0c\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\";\n\x17SentimentAnalysisResult\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x32\xc4\t\n\x08Sessions\x12\xa6\x02\n\x0c\x44\x65tectIntent\x12\x32.google.cloud.dialogflow.cx.v3.DetectIntentRequest\x1a\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"E/v3/{session=projects/*/locations/*/agents/*/sessions/*}:detectIntent:\x01*ZY\"T/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:detectIntent:\x01*\x12\x98\x01\n\x15StreamingDetectIntent\x12;.google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest\x1a<.google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse\"\x00(\x01\x30\x01\x12\xa1\x02\n\x0bMatchIntent\x12\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x1a\x32.google.cloud.dialogflow.cx.v3.MatchIntentResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"D/v3/{session=projects/*/locations/*/agents/*/sessions/*}:matchIntent:\x01*ZX\"S/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:matchIntent:\x01*\x12\xd5\x02\n\rFulfillIntent\x12\x33.google.cloud.dialogflow.cx.v3.FulfillIntentRequest\x1a\x34.google.cloud.dialogflow.cx.v3.FulfillIntentResponse\"\xd8\x01\x82\xd3\xe4\x93\x02\xd1\x01\"[/v3/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent:\x01*Zo\"j/v3/{match_intent_request.session=projects/*/locations/*/agents/*/environments/*/sessions/*}:fulfillIntent:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x8a\x03\n!com.google.cloud.dialogflow.cx.v3B\x0cSessionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41\xd4\x01\n!dialogflow.googleapis.com/Session\x12Iprojects/{project}/locations/{location}/agents/{agent}/sessions/{session}\x12\x64projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}b\x06proto3"
23
+
24
+ pool = Google::Protobuf::DescriptorPool.generated_pool
25
+
26
+ begin
27
+ pool.add_serialized_file(descriptor_data)
28
+ rescue TypeError => e
29
+ # Compatibility code: will be removed in the next major version.
30
+ require 'google/protobuf/descriptor_pb'
31
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
32
+ parsed.clear_dependency
33
+ serialized = parsed.class.encode(parsed)
34
+ file = pool.add_serialized_file(serialized)
35
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
36
+ imports = [
37
+ ["google.cloud.dialogflow.cx.v3.OutputAudioConfig", "google/cloud/dialogflow/cx/v3/audio_config.proto"],
38
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
39
+ ["google.type.LatLng", "google/type/latlng.proto"],
40
+ ["google.cloud.dialogflow.cx.v3.SessionEntityType", "google/cloud/dialogflow/cx/v3/session_entity_type.proto"],
41
+ ["google.protobuf.Struct", "google/protobuf/struct.proto"],
42
+ ["google.cloud.dialogflow.cx.v3.ResponseMessage", "google/cloud/dialogflow/cx/v3/response_message.proto"],
43
+ ["google.rpc.Status", "google/rpc/status.proto"],
44
+ ["google.cloud.dialogflow.cx.v3.Page", "google/cloud/dialogflow/cx/v3/page.proto"],
45
+ ["google.cloud.dialogflow.cx.v3.Intent", "google/cloud/dialogflow/cx/v3/intent.proto"],
46
+ ]
47
+ imports.each do |type_name, expected_filename|
48
+ import_file = pool.lookup(type_name).file_descriptor
49
+ if import_file.name != expected_filename
50
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
197
51
  end
198
52
  end
53
+ warn "Each proto file must use a consistent fully-qualified name."
54
+ warn "This will become an error in the next major version."
199
55
  end
200
56
 
201
57
  module Google
@@ -140,7 +140,7 @@ module Google
140
140
  credentials = @config.credentials
141
141
  # Use self-signed JWT if the endpoint is unchanged from default,
142
142
  # but only if the default endpoint does not have a region prefix.
143
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
143
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
144
144
  !@config.endpoint.split(".").first.include?("-")
145
145
  credentials ||= Credentials.default scope: @config.scope,
146
146
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -652,7 +652,9 @@ module Google
652
652
  class Configuration
653
653
  extend ::Gapic::Config
654
654
 
655
- config_attr :endpoint, "dialogflow.googleapis.com", ::String
655
+ DEFAULT_ENDPOINT = "dialogflow.googleapis.com"
656
+
657
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
656
658
  config_attr :credentials, nil do |value|
657
659
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
658
660
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -134,7 +134,7 @@ module Google
134
134
  credentials = @config.credentials
135
135
  # Use self-signed JWT if the endpoint is unchanged from default,
136
136
  # but only if the default endpoint does not have a region prefix.
137
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
137
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
138
138
  !@config.endpoint.split(".").first.include?("-")
139
139
  credentials ||= Credentials.default scope: @config.scope,
140
140
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -480,7 +480,9 @@ module Google
480
480
  class Configuration
481
481
  extend ::Gapic::Config
482
482
 
483
- config_attr :endpoint, "dialogflow.googleapis.com", ::String
483
+ DEFAULT_ENDPOINT = "dialogflow.googleapis.com"
484
+
485
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
484
486
  config_attr :credentials, nil do |value|
485
487
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
486
488
  allowed.any? { |klass| klass === value }
@@ -60,7 +60,7 @@ module Google
60
60
 
61
61
  verb, uri, query_string_params, body = ServiceStub.transcode_detect_intent_request request_pb
62
62
  query_string_params = if query_string_params.any?
63
- query_string_params.to_h { |p| p.split("=", 2) }
63
+ query_string_params.to_h { |p| p.split "=", 2 }
64
64
  else
65
65
  {}
66
66
  end
@@ -98,7 +98,7 @@ module Google
98
98
 
99
99
  verb, uri, query_string_params, body = ServiceStub.transcode_match_intent_request request_pb
100
100
  query_string_params = if query_string_params.any?
101
- query_string_params.to_h { |p| p.split("=", 2) }
101
+ query_string_params.to_h { |p| p.split "=", 2 }
102
102
  else
103
103
  {}
104
104
  end
@@ -136,7 +136,7 @@ module Google
136
136
 
137
137
  verb, uri, query_string_params, body = ServiceStub.transcode_fulfill_intent_request request_pb
138
138
  query_string_params = if query_string_params.any?
139
- query_string_params.to_h { |p| p.split("=", 2) }
139
+ query_string_params.to_h { |p| p.split "=", 2 }
140
140
  else
141
141
  {}
142
142
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/dialogflow/cx/v3/test_case.proto
3
4
 
@@ -20,232 +21,41 @@ require 'google/protobuf/struct_pb'
20
21
  require 'google/protobuf/timestamp_pb'
21
22
  require 'google/rpc/status_pb'
22
23
 
23
- Google::Protobuf::DescriptorPool.generated_pool.build do
24
- add_file("google/cloud/dialogflow/cx/v3/test_case.proto", :syntax => :proto3) do
25
- add_message "google.cloud.dialogflow.cx.v3.TestCase" do
26
- optional :name, :string, 1
27
- repeated :tags, :string, 2
28
- optional :display_name, :string, 3
29
- optional :notes, :string, 4
30
- optional :test_config, :message, 13, "google.cloud.dialogflow.cx.v3.TestConfig"
31
- repeated :test_case_conversation_turns, :message, 5, "google.cloud.dialogflow.cx.v3.ConversationTurn"
32
- optional :creation_time, :message, 10, "google.protobuf.Timestamp"
33
- optional :last_test_result, :message, 12, "google.cloud.dialogflow.cx.v3.TestCaseResult"
34
- end
35
- add_message "google.cloud.dialogflow.cx.v3.TestCaseResult" do
36
- optional :name, :string, 1
37
- optional :environment, :string, 2
38
- repeated :conversation_turns, :message, 3, "google.cloud.dialogflow.cx.v3.ConversationTurn"
39
- optional :test_result, :enum, 4, "google.cloud.dialogflow.cx.v3.TestResult"
40
- optional :test_time, :message, 5, "google.protobuf.Timestamp"
41
- end
42
- add_message "google.cloud.dialogflow.cx.v3.TestConfig" do
43
- repeated :tracking_parameters, :string, 1
44
- optional :flow, :string, 2
45
- optional :page, :string, 3
46
- end
47
- add_message "google.cloud.dialogflow.cx.v3.ConversationTurn" do
48
- optional :user_input, :message, 1, "google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput"
49
- optional :virtual_agent_output, :message, 2, "google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput"
50
- end
51
- add_message "google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput" do
52
- optional :input, :message, 5, "google.cloud.dialogflow.cx.v3.QueryInput"
53
- optional :injected_parameters, :message, 2, "google.protobuf.Struct"
54
- optional :is_webhook_enabled, :bool, 3
55
- optional :enable_sentiment_analysis, :bool, 7
56
- end
57
- add_message "google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput" do
58
- optional :session_parameters, :message, 4, "google.protobuf.Struct"
59
- repeated :differences, :message, 5, "google.cloud.dialogflow.cx.v3.TestRunDifference"
60
- optional :diagnostic_info, :message, 6, "google.protobuf.Struct"
61
- optional :triggered_intent, :message, 7, "google.cloud.dialogflow.cx.v3.Intent"
62
- optional :current_page, :message, 8, "google.cloud.dialogflow.cx.v3.Page"
63
- repeated :text_responses, :message, 9, "google.cloud.dialogflow.cx.v3.ResponseMessage.Text"
64
- optional :status, :message, 10, "google.rpc.Status"
65
- end
66
- add_message "google.cloud.dialogflow.cx.v3.TestRunDifference" do
67
- optional :type, :enum, 1, "google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType"
68
- optional :description, :string, 2
69
- end
70
- add_enum "google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType" do
71
- value :DIFF_TYPE_UNSPECIFIED, 0
72
- value :INTENT, 1
73
- value :PAGE, 2
74
- value :PARAMETERS, 3
75
- value :UTTERANCE, 4
76
- value :FLOW, 5
77
- end
78
- add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage" do
79
- repeated :transitions, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition"
80
- optional :coverage_score, :float, 2
81
- end
82
- add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode" do
83
- oneof :kind do
84
- optional :page, :message, 1, "google.cloud.dialogflow.cx.v3.Page"
85
- optional :flow, :message, 2, "google.cloud.dialogflow.cx.v3.Flow"
86
- end
87
- end
88
- add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition" do
89
- optional :source, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode"
90
- optional :index, :int32, 4
91
- optional :target, :message, 2, "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode"
92
- optional :covered, :bool, 3
93
- oneof :detail do
94
- optional :transition_route, :message, 5, "google.cloud.dialogflow.cx.v3.TransitionRoute"
95
- optional :event_handler, :message, 6, "google.cloud.dialogflow.cx.v3.EventHandler"
96
- end
97
- end
98
- add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage" do
99
- repeated :coverages, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage"
100
- optional :coverage_score, :float, 2
101
- end
102
- add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage" do
103
- optional :route_group, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRouteGroup"
104
- repeated :transitions, :message, 2, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition"
105
- optional :coverage_score, :float, 3
106
- end
107
- add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition" do
108
- optional :transition_route, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRoute"
109
- optional :covered, :bool, 2
110
- end
111
- add_message "google.cloud.dialogflow.cx.v3.IntentCoverage" do
112
- repeated :intents, :message, 1, "google.cloud.dialogflow.cx.v3.IntentCoverage.Intent"
113
- optional :coverage_score, :float, 2
114
- end
115
- add_message "google.cloud.dialogflow.cx.v3.IntentCoverage.Intent" do
116
- optional :intent, :string, 1
117
- optional :covered, :bool, 2
118
- end
119
- add_message "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest" do
120
- optional :agent, :string, 3
121
- optional :type, :enum, 2, "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType"
122
- end
123
- add_enum "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType" do
124
- value :COVERAGE_TYPE_UNSPECIFIED, 0
125
- value :INTENT, 1
126
- value :PAGE_TRANSITION, 2
127
- value :TRANSITION_ROUTE_GROUP, 3
128
- end
129
- add_message "google.cloud.dialogflow.cx.v3.CalculateCoverageResponse" do
130
- optional :agent, :string, 5
131
- oneof :coverage_type do
132
- optional :intent_coverage, :message, 2, "google.cloud.dialogflow.cx.v3.IntentCoverage"
133
- optional :transition_coverage, :message, 4, "google.cloud.dialogflow.cx.v3.TransitionCoverage"
134
- optional :route_group_coverage, :message, 6, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage"
135
- end
136
- end
137
- add_message "google.cloud.dialogflow.cx.v3.ListTestCasesRequest" do
138
- optional :parent, :string, 1
139
- optional :page_size, :int32, 2
140
- optional :page_token, :string, 3
141
- optional :view, :enum, 4, "google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView"
142
- end
143
- add_enum "google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView" do
144
- value :TEST_CASE_VIEW_UNSPECIFIED, 0
145
- value :BASIC, 1
146
- value :FULL, 2
147
- end
148
- add_message "google.cloud.dialogflow.cx.v3.ListTestCasesResponse" do
149
- repeated :test_cases, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase"
150
- optional :next_page_token, :string, 2
151
- end
152
- add_message "google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest" do
153
- optional :parent, :string, 1
154
- repeated :names, :string, 3
155
- end
156
- add_message "google.cloud.dialogflow.cx.v3.CreateTestCaseRequest" do
157
- optional :parent, :string, 1
158
- optional :test_case, :message, 2, "google.cloud.dialogflow.cx.v3.TestCase"
159
- end
160
- add_message "google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest" do
161
- optional :test_case, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase"
162
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
163
- end
164
- add_message "google.cloud.dialogflow.cx.v3.GetTestCaseRequest" do
165
- optional :name, :string, 1
166
- end
167
- add_message "google.cloud.dialogflow.cx.v3.RunTestCaseRequest" do
168
- optional :name, :string, 1
169
- optional :environment, :string, 2
170
- end
171
- add_message "google.cloud.dialogflow.cx.v3.RunTestCaseResponse" do
172
- optional :result, :message, 2, "google.cloud.dialogflow.cx.v3.TestCaseResult"
173
- end
174
- add_message "google.cloud.dialogflow.cx.v3.RunTestCaseMetadata" do
175
- end
176
- add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest" do
177
- optional :parent, :string, 1
178
- optional :environment, :string, 2
179
- repeated :test_cases, :string, 3
180
- end
181
- add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse" do
182
- repeated :results, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseResult"
183
- end
184
- add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata" do
185
- repeated :errors, :message, 1, "google.cloud.dialogflow.cx.v3.TestError"
186
- end
187
- add_message "google.cloud.dialogflow.cx.v3.TestError" do
188
- optional :test_case, :string, 1
189
- optional :status, :message, 2, "google.rpc.Status"
190
- optional :test_time, :message, 3, "google.protobuf.Timestamp"
191
- end
192
- add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesRequest" do
193
- optional :parent, :string, 1
194
- oneof :source do
195
- optional :gcs_uri, :string, 2
196
- optional :content, :bytes, 3
197
- end
198
- end
199
- add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesResponse" do
200
- repeated :names, :string, 1
201
- end
202
- add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata" do
203
- repeated :errors, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseError"
204
- end
205
- add_message "google.cloud.dialogflow.cx.v3.TestCaseError" do
206
- optional :test_case, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase"
207
- optional :status, :message, 2, "google.rpc.Status"
208
- end
209
- add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest" do
210
- optional :parent, :string, 1
211
- optional :data_format, :enum, 3, "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat"
212
- optional :filter, :string, 4
213
- oneof :destination do
214
- optional :gcs_uri, :string, 2
215
- end
216
- end
217
- add_enum "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat" do
218
- value :DATA_FORMAT_UNSPECIFIED, 0
219
- value :BLOB, 1
220
- value :JSON, 2
221
- end
222
- add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesResponse" do
223
- oneof :destination do
224
- optional :gcs_uri, :string, 1
225
- optional :content, :bytes, 2
226
- end
227
- end
228
- add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata" do
229
- end
230
- add_message "google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest" do
231
- optional :parent, :string, 1
232
- optional :page_size, :int32, 2
233
- optional :page_token, :string, 3
234
- optional :filter, :string, 4
235
- end
236
- add_message "google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse" do
237
- repeated :test_case_results, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseResult"
238
- optional :next_page_token, :string, 2
239
- end
240
- add_message "google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest" do
241
- optional :name, :string, 1
242
- end
243
- add_enum "google.cloud.dialogflow.cx.v3.TestResult" do
244
- value :TEST_RESULT_UNSPECIFIED, 0
245
- value :PASSED, 1
246
- value :FAILED, 2
24
+
25
+ descriptor_data = "\n-google/cloud/dialogflow/cx/v3/test_case.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/flow.proto\x1a*google/cloud/dialogflow/cx/v3/intent.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a+google/cloud/dialogflow/cx/v3/session.proto\x1a:google/cloud/dialogflow/cx/v3/transition_route_group.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\x1a\x17google/rpc/status.proto\"\xdf\x03\n\x08TestCase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\r\n\x05notes\x18\x04 \x01(\t\x12>\n\x0btest_config\x18\r \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.TestConfig\x12U\n\x1ctest_case_conversation_turns\x18\x05 \x03(\x0b\x32/.google.cloud.dialogflow.cx.v3.ConversationTurn\x12\x36\n\rcreation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x10last_test_result\x18\x0c \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult:u\xea\x41r\n\"dialogflow.googleapis.com/TestCase\x12Lprojects/{project}/locations/{location}/agents/{agent}/testCases/{test_case}\"\xab\x03\n\x0eTestCaseResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x0b\x65nvironment\x18\x02 \x01(\tB*\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12K\n\x12\x63onversation_turns\x18\x03 \x03(\x0b\x32/.google.cloud.dialogflow.cx.v3.ConversationTurn\x12>\n\x0btest_result\x18\x04 \x01(\x0e\x32).google.cloud.dialogflow.cx.v3.TestResult\x12-\n\ttest_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x8d\x01\xea\x41\x89\x01\n(dialogflow.googleapis.com/TestCaseResult\x12]projects/{project}/locations/{location}/agents/{agent}/testCases/{test_case}/results/{result}\"\x8f\x01\n\nTestConfig\x12\x1b\n\x13tracking_parameters\x18\x01 \x03(\t\x12\x31\n\x04\x66low\x18\x02 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x31\n\x04page\x18\x03 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\"\xbf\x06\n\x10\x43onversationTurn\x12M\n\nuser_input\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput\x12`\n\x14virtual_agent_output\x18\x02 \x01(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput\x1a\xba\x01\n\tUserInput\x12\x38\n\x05input\x18\x05 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInput\x12\x34\n\x13injected_parameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1a\n\x12is_webhook_enabled\x18\x03 \x01(\x08\x12!\n\x19\x65nable_sentiment_analysis\x18\x07 \x01(\x08\x1a\xbc\x03\n\x12VirtualAgentOutput\x12\x33\n\x12session_parameters\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12J\n\x0b\x64ifferences\x18\x05 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.TestRunDifferenceB\x03\xe0\x41\x03\x12\x38\n\x0f\x64iagnostic_info\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xe0\x41\x02\xe0\x41\x04\x12?\n\x10triggered_intent\x18\x07 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.Intent\x12\x39\n\x0c\x63urrent_page\x18\x08 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Page\x12K\n\x0etext_responses\x18\t \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ResponseMessage.Text\x12\"\n\x06status\x18\n \x01(\x0b\x32\x12.google.rpc.Status\"\xd7\x01\n\x11TestRunDifference\x12G\n\x04type\x18\x01 \x01(\x0e\x32\x39.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"d\n\x08\x44iffType\x12\x19\n\x15\x44IFF_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x08\n\x04PAGE\x10\x02\x12\x0e\n\nPARAMETERS\x10\x03\x12\r\n\tUTTERANCE\x10\x04\x12\x08\n\x04\x46LOW\x10\x05\"\xf3\x04\n\x12TransitionCoverage\x12Q\n\x0btransitions\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1a\x82\x01\n\x0eTransitionNode\x12\x33\n\x04page\x18\x01 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.PageH\x00\x12\x33\n\x04\x66low\x18\x02 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowH\x00\x42\x06\n\x04kind\x1a\xec\x02\n\nTransition\x12P\n\x06source\x18\x01 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode\x12\r\n\x05index\x18\x04 \x01(\x05\x12P\n\x06target\x18\x02 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode\x12\x0f\n\x07\x63overed\x18\x03 \x01(\x08\x12J\n\x10transition_route\x18\x05 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRouteH\x00\x12\x44\n\revent_handler\x18\x06 \x01(\x0b\x32+.google.cloud.dialogflow.cx.v3.EventHandlerH\x00\x42\x08\n\x06\x64\x65tail\"\xcd\x03\n\x1cTransitionRouteGroupCoverage\x12W\n\tcoverages\x18\x01 \x03(\x0b\x32\x44.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1a\xbb\x02\n\x08\x43overage\x12H\n\x0broute_group\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\x12\x64\n\x0btransitions\x18\x02 \x03(\x0b\x32O.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition\x12\x16\n\x0e\x63overage_score\x18\x03 \x01(\x02\x1ag\n\nTransition\x12H\n\x10transition_route\x18\x01 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute\x12\x0f\n\x07\x63overed\x18\x02 \x01(\x08\"\xc1\x01\n\x0eIntentCoverage\x12\x45\n\x07intents\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.cx.v3.IntentCoverage.Intent\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1aP\n\x06Intent\x12\x35\n\x06intent\x18\x01 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/Intent\x12\x0f\n\x07\x63overed\x18\x02 \x01(\x08\"\x97\x02\n\x18\x43\x61lculateCoverageRequest\x12\x36\n\x05\x61gent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12W\n\x04type\x18\x02 \x01(\x0e\x32\x44.google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageTypeB\x03\xe0\x41\x02\"j\n\x0c\x43overageType\x12\x1d\n\x19\x43OVERAGE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x13\n\x0fPAGE_TRANSITION\x10\x02\x12\x1a\n\x16TRANSITION_ROUTE_GROUP\x10\x03\"\xda\x02\n\x19\x43\x61lculateCoverageResponse\x12\x33\n\x05\x61gent\x18\x05 \x01(\tB$\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12H\n\x0fintent_coverage\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.IntentCoverageH\x00\x12P\n\x13transition_coverage\x18\x04 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.TransitionCoverageH\x00\x12[\n\x14route_group_coverage\x18\x06 \x01(\x0b\x32;.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverageH\x00\x42\x0f\n\rcoverage_type\"\x8e\x02\n\x14ListTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12N\n\x04view\x18\x04 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView\"C\n\x0cTestCaseView\x12\x1e\n\x1aTEST_CASE_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\"m\n\x15ListTestCasesResponse\x12;\n\ntest_cases\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\x01\n\x1b\x42\x61tchDeleteTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x39\n\x05names\x18\x03 \x03(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"\x94\x01\n\x15\x43reateTestCaseRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12?\n\ttest_case\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCaseB\x03\xe0\x41\x02\"\x8e\x01\n\x15UpdateTestCaseRequest\x12?\n\ttest_case\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCaseB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"N\n\x12GetTestCaseRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"\x92\x01\n\x12RunTestCaseRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\x12\x42\n\x0b\x65nvironment\x18\x02 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"T\n\x13RunTestCaseResponse\x12=\n\x06result\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\"\x15\n\x13RunTestCaseMetadata\"\xda\x01\n\x18\x42\x61tchRunTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x42\n\x0b\x65nvironment\x18\x02 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12>\n\ntest_cases\x18\x03 \x03(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"[\n\x19\x42\x61tchRunTestCasesResponse\x12>\n\x07results\x18\x01 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\"U\n\x19\x42\x61tchRunTestCasesMetadata\x12\x38\n\x06\x65rrors\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.TestError\"\x9a\x01\n\tTestError\x12:\n\ttest_case\x18\x01 \x01(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12-\n\ttest_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x84\x01\n\x16ImportTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12\x11\n\x07\x63ontent\x18\x03 \x01(\x0cH\x00\x42\x08\n\x06source\"Q\n\x17ImportTestCasesResponse\x12\x36\n\x05names\x18\x01 \x03(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"W\n\x17ImportTestCasesMetadata\x12<\n\x06\x65rrors\x18\x01 \x03(\x0b\x32,.google.cloud.dialogflow.cx.v3.TestCaseError\"o\n\rTestCaseError\x12:\n\ttest_case\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCase\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"\x9c\x02\n\x16\x45xportTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12U\n\x0b\x64\x61ta_format\x18\x03 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"=\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42LOB\x10\x01\x12\x08\n\x04JSON\x10\x02\x42\r\n\x0b\x64\x65stination\"N\n\x17\x45xportTestCasesResponse\x12\x11\n\x07gcs_uri\x18\x01 \x01(\tH\x00\x12\x11\n\x07\x63ontent\x18\x02 \x01(\x0cH\x00\x42\r\n\x0b\x64\x65stination\"\x19\n\x17\x45xportTestCasesMetadata\"\x95\x01\n\x1aListTestCaseResultsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(dialogflow.googleapis.com/TestCaseResult\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x80\x01\n\x1bListTestCaseResultsResponse\x12H\n\x11test_case_results\x18\x01 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Z\n\x18GetTestCaseResultRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dialogflow.googleapis.com/TestCaseResult*A\n\nTestResult\x12\x1b\n\x17TEST_RESULT_UNSPECIFIED\x10\x00\x12\n\n\x06PASSED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x32\x99\x15\n\tTestCases\x12\xc3\x01\n\rListTestCases\x12\x33.google.cloud.dialogflow.cx.v3.ListTestCasesRequest\x1a\x34.google.cloud.dialogflow.cx.v3.ListTestCasesResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v3/{parent=projects/*/locations/*/agents/*}/testCases\xda\x41\x06parent\x12\xc2\x01\n\x14\x42\x61tchDeleteTestCases\x12:.google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest\x1a\x16.google.protobuf.Empty\"V\x82\xd3\xe4\x93\x02G\"B/v3/{parent=projects/*/locations/*/agents/*}/testCases:batchDelete:\x01*\xda\x41\x06parent\x12\xb0\x01\n\x0bGetTestCase\x12\x31.google.cloud.dialogflow.cx.v3.GetTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v3/{name=projects/*/locations/*/agents/*/testCases/*}\xda\x41\x04name\x12\xcd\x01\n\x0e\x43reateTestCase\x12\x34.google.cloud.dialogflow.cx.v3.CreateTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"\\\x82\xd3\xe4\x93\x02\x43\"6/v3/{parent=projects/*/locations/*/agents/*}/testCases:\ttest_case\xda\x41\x10parent,test_case\x12\xdc\x01\n\x0eUpdateTestCase\x12\x34.google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"k\x82\xd3\xe4\x93\x02M2@/v3/{test_case.name=projects/*/locations/*/agents/*/testCases/*}:\ttest_case\xda\x41\x15test_case,update_mask\x12\xd3\x01\n\x0bRunTestCase\x12\x31.google.cloud.dialogflow.cx.v3.RunTestCaseRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02?\":/v3/{name=projects/*/locations/*/agents/*/testCases/*}:run:\x01*\xca\x41*\n\x13RunTestCaseResponse\x12\x13RunTestCaseMetadata\x12\xf1\x01\n\x11\x42\x61tchRunTestCases\x12\x37.google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\x82\xd3\xe4\x93\x02\x44\"?/v3/{parent=projects/*/locations/*/agents/*}/testCases:batchRun:\x01*\xca\x41\x36\n\x19\x42\x61tchRunTestCasesResponse\x12\x19\x42\x61tchRunTestCasesMetadata\x12\xd7\x01\n\x11\x43\x61lculateCoverage\x12\x37.google.cloud.dialogflow.cx.v3.CalculateCoverageRequest\x1a\x38.google.cloud.dialogflow.cx.v3.CalculateCoverageResponse\"O\x82\xd3\xe4\x93\x02I\x12G/v3/{agent=projects/*/locations/*/agents/*}/testCases:calculateCoverage\x12\xe6\x01\n\x0fImportTestCases\x12\x35.google.cloud.dialogflow.cx.v3.ImportTestCasesRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x42\"=/v3/{parent=projects/*/locations/*/agents/*}/testCases:import:\x01*\xca\x41\x32\n\x17ImportTestCasesResponse\x12\x17ImportTestCasesMetadata\x12\xe6\x01\n\x0f\x45xportTestCases\x12\x35.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x42\"=/v3/{parent=projects/*/locations/*/agents/*}/testCases:export:\x01*\xca\x41\x32\n\x17\x45xportTestCasesResponse\x12\x17\x45xportTestCasesMetadata\x12\xdf\x01\n\x13ListTestCaseResults\x12\x39.google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest\x1a:.google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse\"Q\x82\xd3\xe4\x93\x02\x42\x12@/v3/{parent=projects/*/locations/*/agents/*/testCases/*}/results\xda\x41\x06parent\x12\xcc\x01\n\x11GetTestCaseResult\x12\x37.google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest\x1a-.google.cloud.dialogflow.cx.v3.TestCaseResult\"O\x82\xd3\xe4\x93\x02\x42\x12@/v3/{name=projects/*/locations/*/agents/*/testCases/*/results/*}\xda\x41\x04name\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\rTestCaseProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
26
+
27
+ pool = Google::Protobuf::DescriptorPool.generated_pool
28
+
29
+ begin
30
+ pool.add_serialized_file(descriptor_data)
31
+ rescue TypeError => e
32
+ # Compatibility code: will be removed in the next major version.
33
+ require 'google/protobuf/descriptor_pb'
34
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
35
+ parsed.clear_dependency
36
+ serialized = parsed.class.encode(parsed)
37
+ file = pool.add_serialized_file(serialized)
38
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
39
+ imports = [
40
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
41
+ ["google.cloud.dialogflow.cx.v3.QueryInput", "google/cloud/dialogflow/cx/v3/session.proto"],
42
+ ["google.protobuf.Struct", "google/protobuf/struct.proto"],
43
+ ["google.cloud.dialogflow.cx.v3.Intent", "google/cloud/dialogflow/cx/v3/intent.proto"],
44
+ ["google.cloud.dialogflow.cx.v3.Page", "google/cloud/dialogflow/cx/v3/page.proto"],
45
+ ["google.cloud.dialogflow.cx.v3.ResponseMessage.Text", "google/cloud/dialogflow/cx/v3/response_message.proto"],
46
+ ["google.rpc.Status", "google/rpc/status.proto"],
47
+ ["google.cloud.dialogflow.cx.v3.Flow", "google/cloud/dialogflow/cx/v3/flow.proto"],
48
+ ["google.cloud.dialogflow.cx.v3.TransitionRouteGroup", "google/cloud/dialogflow/cx/v3/transition_route_group.proto"],
49
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
50
+ ]
51
+ imports.each do |type_name, expected_filename|
52
+ import_file = pool.lookup(type_name).file_descriptor
53
+ if import_file.name != expected_filename
54
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
247
55
  end
248
56
  end
57
+ warn "Each proto file must use a consistent fully-qualified name."
58
+ warn "This will become an error in the next major version."
249
59
  end
250
60
 
251
61
  module Google