Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 4237444

Browse files
docs: update the doc on diagnostic info (#477)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 446890999 Source-Link: googleapis/googleapis@044c518 Source-Link: https://github.com/googleapis/googleapis-gen/commit/770df39bd68400a84c0bb256c3c2fb7d65d649d5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzcwZGYzOWJkNjg0MDBhODRjMGJiMjU2YzNjMmZiN2Q2NWQ2NDlkNSJ9
1 parent 0ba08fa commit 4237444

File tree

3 files changed

+226
-32
lines changed

3 files changed

+226
-32
lines changed

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResult.java

Lines changed: 168 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,8 +1269,20 @@ public com.google.cloud.dialogflow.cx.v3.MatchOrBuilder getMatchOrBuilder() {
12691269
*
12701270
* <pre>
12711271
* The free-form diagnostic info. For example, this field could contain
1272-
* webhook call latency. The string keys of the Struct's fields map can change
1273-
* without notice.
1272+
* webhook call latency. The fields of this data can change without notice,
1273+
* so you should not write code that depends on its structure.
1274+
* One of the fields is called "Alternative Matched Intents", which may
1275+
* aid with debugging. The following describes these intent results:
1276+
* - The list is empty if no intent was matched to end-user input.
1277+
* - Only intents that are referenced in the currently active flow are
1278+
* included.
1279+
* - The matched intent is included.
1280+
* - Other intents that could have matched end-user input, but did not match
1281+
* because they are referenced by intent routes that are out of
1282+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
1283+
* are included.
1284+
* - Other intents referenced by intent routes in scope that matched end-user
1285+
* input, but had a lower confidence score.
12741286
* </pre>
12751287
*
12761288
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -1286,8 +1298,20 @@ public boolean hasDiagnosticInfo() {
12861298
*
12871299
* <pre>
12881300
* The free-form diagnostic info. For example, this field could contain
1289-
* webhook call latency. The string keys of the Struct's fields map can change
1290-
* without notice.
1301+
* webhook call latency. The fields of this data can change without notice,
1302+
* so you should not write code that depends on its structure.
1303+
* One of the fields is called "Alternative Matched Intents", which may
1304+
* aid with debugging. The following describes these intent results:
1305+
* - The list is empty if no intent was matched to end-user input.
1306+
* - Only intents that are referenced in the currently active flow are
1307+
* included.
1308+
* - The matched intent is included.
1309+
* - Other intents that could have matched end-user input, but did not match
1310+
* because they are referenced by intent routes that are out of
1311+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
1312+
* are included.
1313+
* - Other intents referenced by intent routes in scope that matched end-user
1314+
* input, but had a lower confidence score.
12911315
* </pre>
12921316
*
12931317
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -1305,8 +1329,20 @@ public com.google.protobuf.Struct getDiagnosticInfo() {
13051329
*
13061330
* <pre>
13071331
* The free-form diagnostic info. For example, this field could contain
1308-
* webhook call latency. The string keys of the Struct's fields map can change
1309-
* without notice.
1332+
* webhook call latency. The fields of this data can change without notice,
1333+
* so you should not write code that depends on its structure.
1334+
* One of the fields is called "Alternative Matched Intents", which may
1335+
* aid with debugging. The following describes these intent results:
1336+
* - The list is empty if no intent was matched to end-user input.
1337+
* - Only intents that are referenced in the currently active flow are
1338+
* included.
1339+
* - The matched intent is included.
1340+
* - Other intents that could have matched end-user input, but did not match
1341+
* because they are referenced by intent routes that are out of
1342+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
1343+
* are included.
1344+
* - Other intents referenced by intent routes in scope that matched end-user
1345+
* input, but had a lower confidence score.
13101346
* </pre>
13111347
*
13121348
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5205,8 +5241,20 @@ public com.google.cloud.dialogflow.cx.v3.MatchOrBuilder getMatchOrBuilder() {
52055241
*
52065242
* <pre>
52075243
* The free-form diagnostic info. For example, this field could contain
5208-
* webhook call latency. The string keys of the Struct's fields map can change
5209-
* without notice.
5244+
* webhook call latency. The fields of this data can change without notice,
5245+
* so you should not write code that depends on its structure.
5246+
* One of the fields is called "Alternative Matched Intents", which may
5247+
* aid with debugging. The following describes these intent results:
5248+
* - The list is empty if no intent was matched to end-user input.
5249+
* - Only intents that are referenced in the currently active flow are
5250+
* included.
5251+
* - The matched intent is included.
5252+
* - Other intents that could have matched end-user input, but did not match
5253+
* because they are referenced by intent routes that are out of
5254+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5255+
* are included.
5256+
* - Other intents referenced by intent routes in scope that matched end-user
5257+
* input, but had a lower confidence score.
52105258
* </pre>
52115259
*
52125260
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5221,8 +5269,20 @@ public boolean hasDiagnosticInfo() {
52215269
*
52225270
* <pre>
52235271
* The free-form diagnostic info. For example, this field could contain
5224-
* webhook call latency. The string keys of the Struct's fields map can change
5225-
* without notice.
5272+
* webhook call latency. The fields of this data can change without notice,
5273+
* so you should not write code that depends on its structure.
5274+
* One of the fields is called "Alternative Matched Intents", which may
5275+
* aid with debugging. The following describes these intent results:
5276+
* - The list is empty if no intent was matched to end-user input.
5277+
* - Only intents that are referenced in the currently active flow are
5278+
* included.
5279+
* - The matched intent is included.
5280+
* - Other intents that could have matched end-user input, but did not match
5281+
* because they are referenced by intent routes that are out of
5282+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5283+
* are included.
5284+
* - Other intents referenced by intent routes in scope that matched end-user
5285+
* input, but had a lower confidence score.
52265286
* </pre>
52275287
*
52285288
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5243,8 +5303,20 @@ public com.google.protobuf.Struct getDiagnosticInfo() {
52435303
*
52445304
* <pre>
52455305
* The free-form diagnostic info. For example, this field could contain
5246-
* webhook call latency. The string keys of the Struct's fields map can change
5247-
* without notice.
5306+
* webhook call latency. The fields of this data can change without notice,
5307+
* so you should not write code that depends on its structure.
5308+
* One of the fields is called "Alternative Matched Intents", which may
5309+
* aid with debugging. The following describes these intent results:
5310+
* - The list is empty if no intent was matched to end-user input.
5311+
* - Only intents that are referenced in the currently active flow are
5312+
* included.
5313+
* - The matched intent is included.
5314+
* - Other intents that could have matched end-user input, but did not match
5315+
* because they are referenced by intent routes that are out of
5316+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5317+
* are included.
5318+
* - Other intents referenced by intent routes in scope that matched end-user
5319+
* input, but had a lower confidence score.
52485320
* </pre>
52495321
*
52505322
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5267,8 +5339,20 @@ public Builder setDiagnosticInfo(com.google.protobuf.Struct value) {
52675339
*
52685340
* <pre>
52695341
* The free-form diagnostic info. For example, this field could contain
5270-
* webhook call latency. The string keys of the Struct's fields map can change
5271-
* without notice.
5342+
* webhook call latency. The fields of this data can change without notice,
5343+
* so you should not write code that depends on its structure.
5344+
* One of the fields is called "Alternative Matched Intents", which may
5345+
* aid with debugging. The following describes these intent results:
5346+
* - The list is empty if no intent was matched to end-user input.
5347+
* - Only intents that are referenced in the currently active flow are
5348+
* included.
5349+
* - The matched intent is included.
5350+
* - Other intents that could have matched end-user input, but did not match
5351+
* because they are referenced by intent routes that are out of
5352+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5353+
* are included.
5354+
* - Other intents referenced by intent routes in scope that matched end-user
5355+
* input, but had a lower confidence score.
52725356
* </pre>
52735357
*
52745358
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5288,8 +5372,20 @@ public Builder setDiagnosticInfo(com.google.protobuf.Struct.Builder builderForVa
52885372
*
52895373
* <pre>
52905374
* The free-form diagnostic info. For example, this field could contain
5291-
* webhook call latency. The string keys of the Struct's fields map can change
5292-
* without notice.
5375+
* webhook call latency. The fields of this data can change without notice,
5376+
* so you should not write code that depends on its structure.
5377+
* One of the fields is called "Alternative Matched Intents", which may
5378+
* aid with debugging. The following describes these intent results:
5379+
* - The list is empty if no intent was matched to end-user input.
5380+
* - Only intents that are referenced in the currently active flow are
5381+
* included.
5382+
* - The matched intent is included.
5383+
* - Other intents that could have matched end-user input, but did not match
5384+
* because they are referenced by intent routes that are out of
5385+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5386+
* are included.
5387+
* - Other intents referenced by intent routes in scope that matched end-user
5388+
* input, but had a lower confidence score.
52935389
* </pre>
52945390
*
52955391
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5316,8 +5412,20 @@ public Builder mergeDiagnosticInfo(com.google.protobuf.Struct value) {
53165412
*
53175413
* <pre>
53185414
* The free-form diagnostic info. For example, this field could contain
5319-
* webhook call latency. The string keys of the Struct's fields map can change
5320-
* without notice.
5415+
* webhook call latency. The fields of this data can change without notice,
5416+
* so you should not write code that depends on its structure.
5417+
* One of the fields is called "Alternative Matched Intents", which may
5418+
* aid with debugging. The following describes these intent results:
5419+
* - The list is empty if no intent was matched to end-user input.
5420+
* - Only intents that are referenced in the currently active flow are
5421+
* included.
5422+
* - The matched intent is included.
5423+
* - Other intents that could have matched end-user input, but did not match
5424+
* because they are referenced by intent routes that are out of
5425+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5426+
* are included.
5427+
* - Other intents referenced by intent routes in scope that matched end-user
5428+
* input, but had a lower confidence score.
53215429
* </pre>
53225430
*
53235431
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5338,8 +5446,20 @@ public Builder clearDiagnosticInfo() {
53385446
*
53395447
* <pre>
53405448
* The free-form diagnostic info. For example, this field could contain
5341-
* webhook call latency. The string keys of the Struct's fields map can change
5342-
* without notice.
5449+
* webhook call latency. The fields of this data can change without notice,
5450+
* so you should not write code that depends on its structure.
5451+
* One of the fields is called "Alternative Matched Intents", which may
5452+
* aid with debugging. The following describes these intent results:
5453+
* - The list is empty if no intent was matched to end-user input.
5454+
* - Only intents that are referenced in the currently active flow are
5455+
* included.
5456+
* - The matched intent is included.
5457+
* - Other intents that could have matched end-user input, but did not match
5458+
* because they are referenced by intent routes that are out of
5459+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5460+
* are included.
5461+
* - Other intents referenced by intent routes in scope that matched end-user
5462+
* input, but had a lower confidence score.
53435463
* </pre>
53445464
*
53455465
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5354,8 +5474,20 @@ public com.google.protobuf.Struct.Builder getDiagnosticInfoBuilder() {
53545474
*
53555475
* <pre>
53565476
* The free-form diagnostic info. For example, this field could contain
5357-
* webhook call latency. The string keys of the Struct's fields map can change
5358-
* without notice.
5477+
* webhook call latency. The fields of this data can change without notice,
5478+
* so you should not write code that depends on its structure.
5479+
* One of the fields is called "Alternative Matched Intents", which may
5480+
* aid with debugging. The following describes these intent results:
5481+
* - The list is empty if no intent was matched to end-user input.
5482+
* - Only intents that are referenced in the currently active flow are
5483+
* included.
5484+
* - The matched intent is included.
5485+
* - Other intents that could have matched end-user input, but did not match
5486+
* because they are referenced by intent routes that are out of
5487+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5488+
* are included.
5489+
* - Other intents referenced by intent routes in scope that matched end-user
5490+
* input, but had a lower confidence score.
53595491
* </pre>
53605492
*
53615493
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -5374,8 +5506,20 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() {
53745506
*
53755507
* <pre>
53765508
* The free-form diagnostic info. For example, this field could contain
5377-
* webhook call latency. The string keys of the Struct's fields map can change
5378-
* without notice.
5509+
* webhook call latency. The fields of this data can change without notice,
5510+
* so you should not write code that depends on its structure.
5511+
* One of the fields is called "Alternative Matched Intents", which may
5512+
* aid with debugging. The following describes these intent results:
5513+
* - The list is empty if no intent was matched to end-user input.
5514+
* - Only intents that are referenced in the currently active flow are
5515+
* included.
5516+
* - The matched intent is included.
5517+
* - Other intents that could have matched end-user input, but did not match
5518+
* because they are referenced by intent routes that are out of
5519+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
5520+
* are included.
5521+
* - Other intents referenced by intent routes in scope that matched end-user
5522+
* input, but had a lower confidence score.
53795523
* </pre>
53805524
*
53815525
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>

proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/QueryResultOrBuilder.java

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,20 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr
652652
*
653653
* <pre>
654654
* The free-form diagnostic info. For example, this field could contain
655-
* webhook call latency. The string keys of the Struct's fields map can change
656-
* without notice.
655+
* webhook call latency. The fields of this data can change without notice,
656+
* so you should not write code that depends on its structure.
657+
* One of the fields is called "Alternative Matched Intents", which may
658+
* aid with debugging. The following describes these intent results:
659+
* - The list is empty if no intent was matched to end-user input.
660+
* - Only intents that are referenced in the currently active flow are
661+
* included.
662+
* - The matched intent is included.
663+
* - Other intents that could have matched end-user input, but did not match
664+
* because they are referenced by intent routes that are out of
665+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
666+
* are included.
667+
* - Other intents referenced by intent routes in scope that matched end-user
668+
* input, but had a lower confidence score.
657669
* </pre>
658670
*
659671
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -666,8 +678,20 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr
666678
*
667679
* <pre>
668680
* The free-form diagnostic info. For example, this field could contain
669-
* webhook call latency. The string keys of the Struct's fields map can change
670-
* without notice.
681+
* webhook call latency. The fields of this data can change without notice,
682+
* so you should not write code that depends on its structure.
683+
* One of the fields is called "Alternative Matched Intents", which may
684+
* aid with debugging. The following describes these intent results:
685+
* - The list is empty if no intent was matched to end-user input.
686+
* - Only intents that are referenced in the currently active flow are
687+
* included.
688+
* - The matched intent is included.
689+
* - Other intents that could have matched end-user input, but did not match
690+
* because they are referenced by intent routes that are out of
691+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
692+
* are included.
693+
* - Other intents referenced by intent routes in scope that matched end-user
694+
* input, but had a lower confidence score.
671695
* </pre>
672696
*
673697
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
@@ -680,8 +704,20 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr
680704
*
681705
* <pre>
682706
* The free-form diagnostic info. For example, this field could contain
683-
* webhook call latency. The string keys of the Struct's fields map can change
684-
* without notice.
707+
* webhook call latency. The fields of this data can change without notice,
708+
* so you should not write code that depends on its structure.
709+
* One of the fields is called "Alternative Matched Intents", which may
710+
* aid with debugging. The following describes these intent results:
711+
* - The list is empty if no intent was matched to end-user input.
712+
* - Only intents that are referenced in the currently active flow are
713+
* included.
714+
* - The matched intent is included.
715+
* - Other intents that could have matched end-user input, but did not match
716+
* because they are referenced by intent routes that are out of
717+
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
718+
* are included.
719+
* - Other intents referenced by intent routes in scope that matched end-user
720+
* input, but had a lower confidence score.
685721
* </pre>
686722
*
687723
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>

proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/session.proto

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,22 @@ message QueryResult {
617617
Match match = 15;
618618

619619
// The free-form diagnostic info. For example, this field could contain
620-
// webhook call latency. The string keys of the Struct's fields map can change
621-
// without notice.
620+
// webhook call latency. The fields of this data can change without notice,
621+
// so you should not write code that depends on its structure.
622+
//
623+
// One of the fields is called "Alternative Matched Intents", which may
624+
// aid with debugging. The following describes these intent results:
625+
//
626+
// - The list is empty if no intent was matched to end-user input.
627+
// - Only intents that are referenced in the currently active flow are
628+
// included.
629+
// - The matched intent is included.
630+
// - Other intents that could have matched end-user input, but did not match
631+
// because they are referenced by intent routes that are out of
632+
// [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
633+
// are included.
634+
// - Other intents referenced by intent routes in scope that matched end-user
635+
// input, but had a lower confidence score.
622636
google.protobuf.Struct diagnostic_info = 10;
623637

624638
// The sentiment analyss result, which depends on

0 commit comments

Comments
 (0)