@google-cloud/discoveryengine 2.5.2 → 2.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +30 -1
  2. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +459 -134
  3. package/build/protos/protos.d.ts +1400 -103
  4. package/build/protos/protos.js +3602 -201
  5. package/build/protos/protos.json +331 -35
  6. package/build/src/v1/assistant_service_client.js +1 -1
  7. package/build/src/v1/cmek_config_service_client.js +1 -1
  8. package/build/src/v1/completion_service_client.js +1 -1
  9. package/build/src/v1/control_service_client.js +1 -1
  10. package/build/src/v1/conversational_search_service_client.js +1 -1
  11. package/build/src/v1/data_store_service_client.js +1 -1
  12. package/build/src/v1/document_service_client.js +1 -1
  13. package/build/src/v1/engine_service_client.js +1 -1
  14. package/build/src/v1/grounded_generation_service_client.js +1 -1
  15. package/build/src/v1/identity_mapping_store_service_client.js +1 -1
  16. package/build/src/v1/index.js +1 -1
  17. package/build/src/v1/project_service_client.js +1 -1
  18. package/build/src/v1/rank_service_client.js +1 -1
  19. package/build/src/v1/recommendation_service_client.js +1 -1
  20. package/build/src/v1/schema_service_client.js +1 -1
  21. package/build/src/v1/search_service_client.d.ts +672 -432
  22. package/build/src/v1/search_service_client.js +449 -289
  23. package/build/src/v1/search_tuning_service_client.js +1 -1
  24. package/build/src/v1/serving_config_service_client.js +1 -1
  25. package/build/src/v1/session_service_client.js +1 -1
  26. package/build/src/v1/site_search_engine_service_client.js +1 -1
  27. package/build/src/v1/user_event_service_client.js +1 -1
  28. package/build/src/v1/user_license_service_client.js +1 -1
  29. package/build/src/v1alpha/acl_config_service_client.js +1 -1
  30. package/build/src/v1alpha/chunk_service_client.js +1 -1
  31. package/build/src/v1alpha/completion_service_client.js +1 -1
  32. package/build/src/v1alpha/control_service_client.js +1 -1
  33. package/build/src/v1alpha/conversational_search_service_client.js +1 -1
  34. package/build/src/v1alpha/data_store_service_client.js +1 -1
  35. package/build/src/v1alpha/document_service_client.js +1 -1
  36. package/build/src/v1alpha/engine_service_client.js +1 -1
  37. package/build/src/v1alpha/estimate_billing_service_client.js +1 -1
  38. package/build/src/v1alpha/evaluation_service_client.js +1 -1
  39. package/build/src/v1alpha/grounded_generation_service_client.js +1 -1
  40. package/build/src/v1alpha/index.js +1 -1
  41. package/build/src/v1alpha/project_service_client.js +1 -1
  42. package/build/src/v1alpha/rank_service_client.js +1 -1
  43. package/build/src/v1alpha/recommendation_service_client.js +1 -1
  44. package/build/src/v1alpha/sample_query_service_client.js +1 -1
  45. package/build/src/v1alpha/sample_query_set_service_client.js +1 -1
  46. package/build/src/v1alpha/schema_service_client.js +1 -1
  47. package/build/src/v1alpha/search_service_client.js +1 -1
  48. package/build/src/v1alpha/search_tuning_service_client.js +1 -1
  49. package/build/src/v1alpha/serving_config_service_client.js +1 -1
  50. package/build/src/v1alpha/session_service_client.js +1 -1
  51. package/build/src/v1alpha/site_search_engine_service_client.js +1 -1
  52. package/build/src/v1alpha/user_event_service_client.js +1 -1
  53. package/build/src/v1beta/completion_service_client.js +1 -1
  54. package/build/src/v1beta/control_service_client.js +1 -1
  55. package/build/src/v1beta/conversational_search_service_client.js +1 -1
  56. package/build/src/v1beta/data_store_service_client.js +1 -1
  57. package/build/src/v1beta/document_service_client.js +1 -1
  58. package/build/src/v1beta/engine_service_client.js +1 -1
  59. package/build/src/v1beta/evaluation_service_client.js +1 -1
  60. package/build/src/v1beta/grounded_generation_service_client.js +1 -1
  61. package/build/src/v1beta/index.js +1 -1
  62. package/build/src/v1beta/project_service_client.js +1 -1
  63. package/build/src/v1beta/rank_service_client.js +1 -1
  64. package/build/src/v1beta/recommendation_service_client.js +1 -1
  65. package/build/src/v1beta/sample_query_service_client.js +1 -1
  66. package/build/src/v1beta/sample_query_set_service_client.js +1 -1
  67. package/build/src/v1beta/schema_service_client.js +1 -1
  68. package/build/src/v1beta/search_service_client.js +1 -1
  69. package/build/src/v1beta/search_tuning_service_client.js +1 -1
  70. package/build/src/v1beta/serving_config_service_client.js +1 -1
  71. package/build/src/v1beta/session_service_client.js +1 -1
  72. package/build/src/v1beta/site_search_engine_service_client.js +1 -1
  73. package/build/src/v1beta/user_event_service_client.js +1 -1
  74. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -5012,6 +5012,9 @@ export namespace google {
5012
5012
  /** SearchRequest query */
5013
5013
  query?: (string|null);
5014
5014
 
5015
+ /** SearchRequest pageCategories */
5016
+ pageCategories?: (string[]|null);
5017
+
5015
5018
  /** SearchRequest imageQuery */
5016
5019
  imageQuery?: (google.cloud.discoveryengine.v1.SearchRequest.IImageQuery|null);
5017
5020
 
@@ -5066,18 +5069,30 @@ export namespace google {
5066
5069
  /** SearchRequest contentSearchSpec */
5067
5070
  contentSearchSpec?: (google.cloud.discoveryengine.v1.SearchRequest.IContentSearchSpec|null);
5068
5071
 
5072
+ /** SearchRequest rankingExpression */
5073
+ rankingExpression?: (string|null);
5074
+
5075
+ /** SearchRequest rankingExpressionBackend */
5076
+ rankingExpressionBackend?: (google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|null);
5077
+
5069
5078
  /** SearchRequest safeSearch */
5070
5079
  safeSearch?: (boolean|null);
5071
5080
 
5072
5081
  /** SearchRequest userLabels */
5073
5082
  userLabels?: ({ [k: string]: string }|null);
5074
5083
 
5084
+ /** SearchRequest naturalLanguageQueryUnderstandingSpec */
5085
+ naturalLanguageQueryUnderstandingSpec?: (google.cloud.discoveryengine.v1.SearchRequest.INaturalLanguageQueryUnderstandingSpec|null);
5086
+
5075
5087
  /** SearchRequest searchAsYouTypeSpec */
5076
5088
  searchAsYouTypeSpec?: (google.cloud.discoveryengine.v1.SearchRequest.ISearchAsYouTypeSpec|null);
5077
5089
 
5078
5090
  /** SearchRequest displaySpec */
5079
5091
  displaySpec?: (google.cloud.discoveryengine.v1.SearchRequest.IDisplaySpec|null);
5080
5092
 
5093
+ /** SearchRequest crowdingSpecs */
5094
+ crowdingSpecs?: (google.cloud.discoveryengine.v1.SearchRequest.ICrowdingSpec[]|null);
5095
+
5081
5096
  /** SearchRequest session */
5082
5097
  session?: (string|null);
5083
5098
 
@@ -5089,12 +5104,6 @@ export namespace google {
5089
5104
 
5090
5105
  /** SearchRequest relevanceScoreSpec */
5091
5106
  relevanceScoreSpec?: (google.cloud.discoveryengine.v1.SearchRequest.IRelevanceScoreSpec|null);
5092
-
5093
- /** SearchRequest rankingExpression */
5094
- rankingExpression?: (string|null);
5095
-
5096
- /** SearchRequest rankingExpressionBackend */
5097
- rankingExpressionBackend?: (google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|null);
5098
5107
  }
5099
5108
 
5100
5109
  /** Represents a SearchRequest. */
@@ -5115,6 +5124,9 @@ export namespace google {
5115
5124
  /** SearchRequest query. */
5116
5125
  public query: string;
5117
5126
 
5127
+ /** SearchRequest pageCategories. */
5128
+ public pageCategories: string[];
5129
+
5118
5130
  /** SearchRequest imageQuery. */
5119
5131
  public imageQuery?: (google.cloud.discoveryengine.v1.SearchRequest.IImageQuery|null);
5120
5132
 
@@ -5169,18 +5181,30 @@ export namespace google {
5169
5181
  /** SearchRequest contentSearchSpec. */
5170
5182
  public contentSearchSpec?: (google.cloud.discoveryengine.v1.SearchRequest.IContentSearchSpec|null);
5171
5183
 
5184
+ /** SearchRequest rankingExpression. */
5185
+ public rankingExpression: string;
5186
+
5187
+ /** SearchRequest rankingExpressionBackend. */
5188
+ public rankingExpressionBackend: (google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend);
5189
+
5172
5190
  /** SearchRequest safeSearch. */
5173
5191
  public safeSearch: boolean;
5174
5192
 
5175
5193
  /** SearchRequest userLabels. */
5176
5194
  public userLabels: { [k: string]: string };
5177
5195
 
5196
+ /** SearchRequest naturalLanguageQueryUnderstandingSpec. */
5197
+ public naturalLanguageQueryUnderstandingSpec?: (google.cloud.discoveryengine.v1.SearchRequest.INaturalLanguageQueryUnderstandingSpec|null);
5198
+
5178
5199
  /** SearchRequest searchAsYouTypeSpec. */
5179
5200
  public searchAsYouTypeSpec?: (google.cloud.discoveryengine.v1.SearchRequest.ISearchAsYouTypeSpec|null);
5180
5201
 
5181
5202
  /** SearchRequest displaySpec. */
5182
5203
  public displaySpec?: (google.cloud.discoveryengine.v1.SearchRequest.IDisplaySpec|null);
5183
5204
 
5205
+ /** SearchRequest crowdingSpecs. */
5206
+ public crowdingSpecs: google.cloud.discoveryengine.v1.SearchRequest.ICrowdingSpec[];
5207
+
5184
5208
  /** SearchRequest session. */
5185
5209
  public session: string;
5186
5210
 
@@ -5193,12 +5217,6 @@ export namespace google {
5193
5217
  /** SearchRequest relevanceScoreSpec. */
5194
5218
  public relevanceScoreSpec?: (google.cloud.discoveryengine.v1.SearchRequest.IRelevanceScoreSpec|null);
5195
5219
 
5196
- /** SearchRequest rankingExpression. */
5197
- public rankingExpression: string;
5198
-
5199
- /** SearchRequest rankingExpressionBackend. */
5200
- public rankingExpressionBackend: (google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend);
5201
-
5202
5220
  /**
5203
5221
  * Creates a new SearchRequest instance using the specified properties.
5204
5222
  * @param [properties] Properties to set
@@ -7223,6 +7241,138 @@ export namespace google {
7223
7241
  }
7224
7242
  }
7225
7243
 
7244
+ /** Properties of a NaturalLanguageQueryUnderstandingSpec. */
7245
+ interface INaturalLanguageQueryUnderstandingSpec {
7246
+
7247
+ /** NaturalLanguageQueryUnderstandingSpec filterExtractionCondition */
7248
+ filterExtractionCondition?: (google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|null);
7249
+
7250
+ /** NaturalLanguageQueryUnderstandingSpec geoSearchQueryDetectionFieldNames */
7251
+ geoSearchQueryDetectionFieldNames?: (string[]|null);
7252
+
7253
+ /** NaturalLanguageQueryUnderstandingSpec extractedFilterBehavior */
7254
+ extractedFilterBehavior?: (google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior|null);
7255
+
7256
+ /** NaturalLanguageQueryUnderstandingSpec allowedFieldNames */
7257
+ allowedFieldNames?: (string[]|null);
7258
+ }
7259
+
7260
+ /** Represents a NaturalLanguageQueryUnderstandingSpec. */
7261
+ class NaturalLanguageQueryUnderstandingSpec implements INaturalLanguageQueryUnderstandingSpec {
7262
+
7263
+ /**
7264
+ * Constructs a new NaturalLanguageQueryUnderstandingSpec.
7265
+ * @param [properties] Properties to set
7266
+ */
7267
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchRequest.INaturalLanguageQueryUnderstandingSpec);
7268
+
7269
+ /** NaturalLanguageQueryUnderstandingSpec filterExtractionCondition. */
7270
+ public filterExtractionCondition: (google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition);
7271
+
7272
+ /** NaturalLanguageQueryUnderstandingSpec geoSearchQueryDetectionFieldNames. */
7273
+ public geoSearchQueryDetectionFieldNames: string[];
7274
+
7275
+ /** NaturalLanguageQueryUnderstandingSpec extractedFilterBehavior. */
7276
+ public extractedFilterBehavior: (google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior);
7277
+
7278
+ /** NaturalLanguageQueryUnderstandingSpec allowedFieldNames. */
7279
+ public allowedFieldNames: string[];
7280
+
7281
+ /**
7282
+ * Creates a new NaturalLanguageQueryUnderstandingSpec instance using the specified properties.
7283
+ * @param [properties] Properties to set
7284
+ * @returns NaturalLanguageQueryUnderstandingSpec instance
7285
+ */
7286
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchRequest.INaturalLanguageQueryUnderstandingSpec): google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
7287
+
7288
+ /**
7289
+ * Encodes the specified NaturalLanguageQueryUnderstandingSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.verify|verify} messages.
7290
+ * @param message NaturalLanguageQueryUnderstandingSpec message or plain object to encode
7291
+ * @param [writer] Writer to encode to
7292
+ * @returns Writer
7293
+ */
7294
+ public static encode(message: google.cloud.discoveryengine.v1.SearchRequest.INaturalLanguageQueryUnderstandingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
7295
+
7296
+ /**
7297
+ * Encodes the specified NaturalLanguageQueryUnderstandingSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.verify|verify} messages.
7298
+ * @param message NaturalLanguageQueryUnderstandingSpec message or plain object to encode
7299
+ * @param [writer] Writer to encode to
7300
+ * @returns Writer
7301
+ */
7302
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchRequest.INaturalLanguageQueryUnderstandingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
7303
+
7304
+ /**
7305
+ * Decodes a NaturalLanguageQueryUnderstandingSpec message from the specified reader or buffer.
7306
+ * @param reader Reader or buffer to decode from
7307
+ * @param [length] Message length if known beforehand
7308
+ * @returns NaturalLanguageQueryUnderstandingSpec
7309
+ * @throws {Error} If the payload is not a reader or valid buffer
7310
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7311
+ */
7312
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
7313
+
7314
+ /**
7315
+ * Decodes a NaturalLanguageQueryUnderstandingSpec message from the specified reader or buffer, length delimited.
7316
+ * @param reader Reader or buffer to decode from
7317
+ * @returns NaturalLanguageQueryUnderstandingSpec
7318
+ * @throws {Error} If the payload is not a reader or valid buffer
7319
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7320
+ */
7321
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
7322
+
7323
+ /**
7324
+ * Verifies a NaturalLanguageQueryUnderstandingSpec message.
7325
+ * @param message Plain object to verify
7326
+ * @returns `null` if valid, otherwise the reason why it is not
7327
+ */
7328
+ public static verify(message: { [k: string]: any }): (string|null);
7329
+
7330
+ /**
7331
+ * Creates a NaturalLanguageQueryUnderstandingSpec message from a plain object. Also converts values to their respective internal types.
7332
+ * @param object Plain object
7333
+ * @returns NaturalLanguageQueryUnderstandingSpec
7334
+ */
7335
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
7336
+
7337
+ /**
7338
+ * Creates a plain object from a NaturalLanguageQueryUnderstandingSpec message. Also converts values to other types if specified.
7339
+ * @param message NaturalLanguageQueryUnderstandingSpec
7340
+ * @param [options] Conversion options
7341
+ * @returns Plain object
7342
+ */
7343
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
7344
+
7345
+ /**
7346
+ * Converts this NaturalLanguageQueryUnderstandingSpec to JSON.
7347
+ * @returns JSON object
7348
+ */
7349
+ public toJSON(): { [k: string]: any };
7350
+
7351
+ /**
7352
+ * Gets the default type url for NaturalLanguageQueryUnderstandingSpec
7353
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7354
+ * @returns The default type url
7355
+ */
7356
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7357
+ }
7358
+
7359
+ namespace NaturalLanguageQueryUnderstandingSpec {
7360
+
7361
+ /** FilterExtractionCondition enum. */
7362
+ enum FilterExtractionCondition {
7363
+ CONDITION_UNSPECIFIED = 0,
7364
+ DISABLED = 1,
7365
+ ENABLED = 2
7366
+ }
7367
+
7368
+ /** ExtractedFilterBehavior enum. */
7369
+ enum ExtractedFilterBehavior {
7370
+ EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED = 0,
7371
+ HARD_FILTER = 1,
7372
+ SOFT_BOOST = 2
7373
+ }
7374
+ }
7375
+
7226
7376
  /** Properties of a SearchAsYouTypeSpec. */
7227
7377
  interface ISearchAsYouTypeSpec {
7228
7378
 
@@ -7438,6 +7588,125 @@ export namespace google {
7438
7588
  }
7439
7589
  }
7440
7590
 
7591
+ /** Properties of a CrowdingSpec. */
7592
+ interface ICrowdingSpec {
7593
+
7594
+ /** CrowdingSpec field */
7595
+ field?: (string|null);
7596
+
7597
+ /** CrowdingSpec maxCount */
7598
+ maxCount?: (number|null);
7599
+
7600
+ /** CrowdingSpec mode */
7601
+ mode?: (google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode|null);
7602
+ }
7603
+
7604
+ /** Represents a CrowdingSpec. */
7605
+ class CrowdingSpec implements ICrowdingSpec {
7606
+
7607
+ /**
7608
+ * Constructs a new CrowdingSpec.
7609
+ * @param [properties] Properties to set
7610
+ */
7611
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchRequest.ICrowdingSpec);
7612
+
7613
+ /** CrowdingSpec field. */
7614
+ public field: string;
7615
+
7616
+ /** CrowdingSpec maxCount. */
7617
+ public maxCount: number;
7618
+
7619
+ /** CrowdingSpec mode. */
7620
+ public mode: (google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode);
7621
+
7622
+ /**
7623
+ * Creates a new CrowdingSpec instance using the specified properties.
7624
+ * @param [properties] Properties to set
7625
+ * @returns CrowdingSpec instance
7626
+ */
7627
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchRequest.ICrowdingSpec): google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec;
7628
+
7629
+ /**
7630
+ * Encodes the specified CrowdingSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.verify|verify} messages.
7631
+ * @param message CrowdingSpec message or plain object to encode
7632
+ * @param [writer] Writer to encode to
7633
+ * @returns Writer
7634
+ */
7635
+ public static encode(message: google.cloud.discoveryengine.v1.SearchRequest.ICrowdingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
7636
+
7637
+ /**
7638
+ * Encodes the specified CrowdingSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.verify|verify} messages.
7639
+ * @param message CrowdingSpec message or plain object to encode
7640
+ * @param [writer] Writer to encode to
7641
+ * @returns Writer
7642
+ */
7643
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchRequest.ICrowdingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
7644
+
7645
+ /**
7646
+ * Decodes a CrowdingSpec message from the specified reader or buffer.
7647
+ * @param reader Reader or buffer to decode from
7648
+ * @param [length] Message length if known beforehand
7649
+ * @returns CrowdingSpec
7650
+ * @throws {Error} If the payload is not a reader or valid buffer
7651
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7652
+ */
7653
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec;
7654
+
7655
+ /**
7656
+ * Decodes a CrowdingSpec message from the specified reader or buffer, length delimited.
7657
+ * @param reader Reader or buffer to decode from
7658
+ * @returns CrowdingSpec
7659
+ * @throws {Error} If the payload is not a reader or valid buffer
7660
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7661
+ */
7662
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec;
7663
+
7664
+ /**
7665
+ * Verifies a CrowdingSpec message.
7666
+ * @param message Plain object to verify
7667
+ * @returns `null` if valid, otherwise the reason why it is not
7668
+ */
7669
+ public static verify(message: { [k: string]: any }): (string|null);
7670
+
7671
+ /**
7672
+ * Creates a CrowdingSpec message from a plain object. Also converts values to their respective internal types.
7673
+ * @param object Plain object
7674
+ * @returns CrowdingSpec
7675
+ */
7676
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec;
7677
+
7678
+ /**
7679
+ * Creates a plain object from a CrowdingSpec message. Also converts values to other types if specified.
7680
+ * @param message CrowdingSpec
7681
+ * @param [options] Conversion options
7682
+ * @returns Plain object
7683
+ */
7684
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
7685
+
7686
+ /**
7687
+ * Converts this CrowdingSpec to JSON.
7688
+ * @returns JSON object
7689
+ */
7690
+ public toJSON(): { [k: string]: any };
7691
+
7692
+ /**
7693
+ * Gets the default type url for CrowdingSpec
7694
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7695
+ * @returns The default type url
7696
+ */
7697
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7698
+ }
7699
+
7700
+ namespace CrowdingSpec {
7701
+
7702
+ /** Mode enum. */
7703
+ enum Mode {
7704
+ MODE_UNSPECIFIED = 0,
7705
+ DROP_CROWDED_RESULTS = 1,
7706
+ DEMOTE_CROWDED_RESULTS_TO_END = 2
7707
+ }
7708
+ }
7709
+
7441
7710
  /** Properties of a SessionSpec. */
7442
7711
  interface ISessionSpec {
7443
7712
 
@@ -7638,6 +7907,15 @@ export namespace google {
7638
7907
  public static getTypeUrl(typeUrlPrefix?: string): string;
7639
7908
  }
7640
7909
 
7910
+ /** RankingExpressionBackend enum. */
7911
+ enum RankingExpressionBackend {
7912
+ RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0,
7913
+ BYOE = 1,
7914
+ CLEARBOX = 2,
7915
+ RANK_BY_EMBEDDING = 3,
7916
+ RANK_BY_FORMULA = 4
7917
+ }
7918
+
7641
7919
  /** RelevanceThreshold enum. */
7642
7920
  enum RelevanceThreshold {
7643
7921
  RELEVANCE_THRESHOLD_UNSPECIFIED = 0,
@@ -7646,13 +7924,6 @@ export namespace google {
7646
7924
  MEDIUM = 3,
7647
7925
  HIGH = 4
7648
7926
  }
7649
-
7650
- /** RankingExpressionBackend enum. */
7651
- enum RankingExpressionBackend {
7652
- RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0,
7653
- RANK_BY_EMBEDDING = 3,
7654
- RANK_BY_FORMULA = 4
7655
- }
7656
7927
  }
7657
7928
 
7658
7929
  /** Properties of a SearchResponse. */
@@ -7685,11 +7956,17 @@ export namespace google {
7685
7956
  /** SearchResponse queryExpansionInfo */
7686
7957
  queryExpansionInfo?: (google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo|null);
7687
7958
 
7959
+ /** SearchResponse naturalLanguageQueryUnderstandingInfo */
7960
+ naturalLanguageQueryUnderstandingInfo?: (google.cloud.discoveryengine.v1.SearchResponse.INaturalLanguageQueryUnderstandingInfo|null);
7961
+
7688
7962
  /** SearchResponse sessionInfo */
7689
7963
  sessionInfo?: (google.cloud.discoveryengine.v1.SearchResponse.ISessionInfo|null);
7690
7964
 
7691
7965
  /** SearchResponse searchLinkPromotions */
7692
7966
  searchLinkPromotions?: (google.cloud.discoveryengine.v1.ISearchLinkPromotion[]|null);
7967
+
7968
+ /** SearchResponse semanticState */
7969
+ semanticState?: (google.cloud.discoveryengine.v1.SearchResponse.SemanticState|keyof typeof google.cloud.discoveryengine.v1.SearchResponse.SemanticState|null);
7693
7970
  }
7694
7971
 
7695
7972
  /** Represents a SearchResponse. */
@@ -7728,12 +8005,18 @@ export namespace google {
7728
8005
  /** SearchResponse queryExpansionInfo. */
7729
8006
  public queryExpansionInfo?: (google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo|null);
7730
8007
 
8008
+ /** SearchResponse naturalLanguageQueryUnderstandingInfo. */
8009
+ public naturalLanguageQueryUnderstandingInfo?: (google.cloud.discoveryengine.v1.SearchResponse.INaturalLanguageQueryUnderstandingInfo|null);
8010
+
7731
8011
  /** SearchResponse sessionInfo. */
7732
8012
  public sessionInfo?: (google.cloud.discoveryengine.v1.SearchResponse.ISessionInfo|null);
7733
8013
 
7734
8014
  /** SearchResponse searchLinkPromotions. */
7735
8015
  public searchLinkPromotions: google.cloud.discoveryengine.v1.ISearchLinkPromotion[];
7736
8016
 
8017
+ /** SearchResponse semanticState. */
8018
+ public semanticState: (google.cloud.discoveryengine.v1.SearchResponse.SemanticState|keyof typeof google.cloud.discoveryengine.v1.SearchResponse.SemanticState);
8019
+
7737
8020
  /**
7738
8021
  * Creates a new SearchResponse instance using the specified properties.
7739
8022
  * @param [properties] Properties to set
@@ -9285,104 +9568,998 @@ export namespace google {
9285
9568
  /** Properties of a QueryExpansionInfo. */
9286
9569
  interface IQueryExpansionInfo {
9287
9570
 
9288
- /** QueryExpansionInfo expandedQuery */
9289
- expandedQuery?: (boolean|null);
9571
+ /** QueryExpansionInfo expandedQuery */
9572
+ expandedQuery?: (boolean|null);
9573
+
9574
+ /** QueryExpansionInfo pinnedResultCount */
9575
+ pinnedResultCount?: (number|Long|string|null);
9576
+ }
9577
+
9578
+ /** Represents a QueryExpansionInfo. */
9579
+ class QueryExpansionInfo implements IQueryExpansionInfo {
9580
+
9581
+ /**
9582
+ * Constructs a new QueryExpansionInfo.
9583
+ * @param [properties] Properties to set
9584
+ */
9585
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo);
9586
+
9587
+ /** QueryExpansionInfo expandedQuery. */
9588
+ public expandedQuery: boolean;
9589
+
9590
+ /** QueryExpansionInfo pinnedResultCount. */
9591
+ public pinnedResultCount: (number|Long|string);
9592
+
9593
+ /**
9594
+ * Creates a new QueryExpansionInfo instance using the specified properties.
9595
+ * @param [properties] Properties to set
9596
+ * @returns QueryExpansionInfo instance
9597
+ */
9598
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
9599
+
9600
+ /**
9601
+ * Encodes the specified QueryExpansionInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo.verify|verify} messages.
9602
+ * @param message QueryExpansionInfo message or plain object to encode
9603
+ * @param [writer] Writer to encode to
9604
+ * @returns Writer
9605
+ */
9606
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
9607
+
9608
+ /**
9609
+ * Encodes the specified QueryExpansionInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo.verify|verify} messages.
9610
+ * @param message QueryExpansionInfo message or plain object to encode
9611
+ * @param [writer] Writer to encode to
9612
+ * @returns Writer
9613
+ */
9614
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
9615
+
9616
+ /**
9617
+ * Decodes a QueryExpansionInfo message from the specified reader or buffer.
9618
+ * @param reader Reader or buffer to decode from
9619
+ * @param [length] Message length if known beforehand
9620
+ * @returns QueryExpansionInfo
9621
+ * @throws {Error} If the payload is not a reader or valid buffer
9622
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9623
+ */
9624
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
9625
+
9626
+ /**
9627
+ * Decodes a QueryExpansionInfo message from the specified reader or buffer, length delimited.
9628
+ * @param reader Reader or buffer to decode from
9629
+ * @returns QueryExpansionInfo
9630
+ * @throws {Error} If the payload is not a reader or valid buffer
9631
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9632
+ */
9633
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
9634
+
9635
+ /**
9636
+ * Verifies a QueryExpansionInfo message.
9637
+ * @param message Plain object to verify
9638
+ * @returns `null` if valid, otherwise the reason why it is not
9639
+ */
9640
+ public static verify(message: { [k: string]: any }): (string|null);
9641
+
9642
+ /**
9643
+ * Creates a QueryExpansionInfo message from a plain object. Also converts values to their respective internal types.
9644
+ * @param object Plain object
9645
+ * @returns QueryExpansionInfo
9646
+ */
9647
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
9648
+
9649
+ /**
9650
+ * Creates a plain object from a QueryExpansionInfo message. Also converts values to other types if specified.
9651
+ * @param message QueryExpansionInfo
9652
+ * @param [options] Conversion options
9653
+ * @returns Plain object
9654
+ */
9655
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
9656
+
9657
+ /**
9658
+ * Converts this QueryExpansionInfo to JSON.
9659
+ * @returns JSON object
9660
+ */
9661
+ public toJSON(): { [k: string]: any };
9662
+
9663
+ /**
9664
+ * Gets the default type url for QueryExpansionInfo
9665
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9666
+ * @returns The default type url
9667
+ */
9668
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9669
+ }
9670
+
9671
+ /** Properties of a NaturalLanguageQueryUnderstandingInfo. */
9672
+ interface INaturalLanguageQueryUnderstandingInfo {
9673
+
9674
+ /** NaturalLanguageQueryUnderstandingInfo extractedFilters */
9675
+ extractedFilters?: (string|null);
9676
+
9677
+ /** NaturalLanguageQueryUnderstandingInfo rewrittenQuery */
9678
+ rewrittenQuery?: (string|null);
9679
+
9680
+ /** NaturalLanguageQueryUnderstandingInfo classifiedIntents */
9681
+ classifiedIntents?: (string[]|null);
9682
+
9683
+ /** NaturalLanguageQueryUnderstandingInfo structuredExtractedFilter */
9684
+ structuredExtractedFilter?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter|null);
9685
+ }
9686
+
9687
+ /** Represents a NaturalLanguageQueryUnderstandingInfo. */
9688
+ class NaturalLanguageQueryUnderstandingInfo implements INaturalLanguageQueryUnderstandingInfo {
9689
+
9690
+ /**
9691
+ * Constructs a new NaturalLanguageQueryUnderstandingInfo.
9692
+ * @param [properties] Properties to set
9693
+ */
9694
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.INaturalLanguageQueryUnderstandingInfo);
9695
+
9696
+ /** NaturalLanguageQueryUnderstandingInfo extractedFilters. */
9697
+ public extractedFilters: string;
9698
+
9699
+ /** NaturalLanguageQueryUnderstandingInfo rewrittenQuery. */
9700
+ public rewrittenQuery: string;
9701
+
9702
+ /** NaturalLanguageQueryUnderstandingInfo classifiedIntents. */
9703
+ public classifiedIntents: string[];
9704
+
9705
+ /** NaturalLanguageQueryUnderstandingInfo structuredExtractedFilter. */
9706
+ public structuredExtractedFilter?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter|null);
9707
+
9708
+ /**
9709
+ * Creates a new NaturalLanguageQueryUnderstandingInfo instance using the specified properties.
9710
+ * @param [properties] Properties to set
9711
+ * @returns NaturalLanguageQueryUnderstandingInfo instance
9712
+ */
9713
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.INaturalLanguageQueryUnderstandingInfo): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
9714
+
9715
+ /**
9716
+ * Encodes the specified NaturalLanguageQueryUnderstandingInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.verify|verify} messages.
9717
+ * @param message NaturalLanguageQueryUnderstandingInfo message or plain object to encode
9718
+ * @param [writer] Writer to encode to
9719
+ * @returns Writer
9720
+ */
9721
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.INaturalLanguageQueryUnderstandingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
9722
+
9723
+ /**
9724
+ * Encodes the specified NaturalLanguageQueryUnderstandingInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.verify|verify} messages.
9725
+ * @param message NaturalLanguageQueryUnderstandingInfo message or plain object to encode
9726
+ * @param [writer] Writer to encode to
9727
+ * @returns Writer
9728
+ */
9729
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.INaturalLanguageQueryUnderstandingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
9730
+
9731
+ /**
9732
+ * Decodes a NaturalLanguageQueryUnderstandingInfo message from the specified reader or buffer.
9733
+ * @param reader Reader or buffer to decode from
9734
+ * @param [length] Message length if known beforehand
9735
+ * @returns NaturalLanguageQueryUnderstandingInfo
9736
+ * @throws {Error} If the payload is not a reader or valid buffer
9737
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9738
+ */
9739
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
9740
+
9741
+ /**
9742
+ * Decodes a NaturalLanguageQueryUnderstandingInfo message from the specified reader or buffer, length delimited.
9743
+ * @param reader Reader or buffer to decode from
9744
+ * @returns NaturalLanguageQueryUnderstandingInfo
9745
+ * @throws {Error} If the payload is not a reader or valid buffer
9746
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9747
+ */
9748
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
9749
+
9750
+ /**
9751
+ * Verifies a NaturalLanguageQueryUnderstandingInfo message.
9752
+ * @param message Plain object to verify
9753
+ * @returns `null` if valid, otherwise the reason why it is not
9754
+ */
9755
+ public static verify(message: { [k: string]: any }): (string|null);
9756
+
9757
+ /**
9758
+ * Creates a NaturalLanguageQueryUnderstandingInfo message from a plain object. Also converts values to their respective internal types.
9759
+ * @param object Plain object
9760
+ * @returns NaturalLanguageQueryUnderstandingInfo
9761
+ */
9762
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
9763
+
9764
+ /**
9765
+ * Creates a plain object from a NaturalLanguageQueryUnderstandingInfo message. Also converts values to other types if specified.
9766
+ * @param message NaturalLanguageQueryUnderstandingInfo
9767
+ * @param [options] Conversion options
9768
+ * @returns Plain object
9769
+ */
9770
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
9771
+
9772
+ /**
9773
+ * Converts this NaturalLanguageQueryUnderstandingInfo to JSON.
9774
+ * @returns JSON object
9775
+ */
9776
+ public toJSON(): { [k: string]: any };
9777
+
9778
+ /**
9779
+ * Gets the default type url for NaturalLanguageQueryUnderstandingInfo
9780
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9781
+ * @returns The default type url
9782
+ */
9783
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9784
+ }
9785
+
9786
+ namespace NaturalLanguageQueryUnderstandingInfo {
9787
+
9788
+ /** Properties of a StructuredExtractedFilter. */
9789
+ interface IStructuredExtractedFilter {
9790
+
9791
+ /** StructuredExtractedFilter expression */
9792
+ expression?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression|null);
9793
+ }
9794
+
9795
+ /** Represents a StructuredExtractedFilter. */
9796
+ class StructuredExtractedFilter implements IStructuredExtractedFilter {
9797
+
9798
+ /**
9799
+ * Constructs a new StructuredExtractedFilter.
9800
+ * @param [properties] Properties to set
9801
+ */
9802
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter);
9803
+
9804
+ /** StructuredExtractedFilter expression. */
9805
+ public expression?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression|null);
9806
+
9807
+ /**
9808
+ * Creates a new StructuredExtractedFilter instance using the specified properties.
9809
+ * @param [properties] Properties to set
9810
+ * @returns StructuredExtractedFilter instance
9811
+ */
9812
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
9813
+
9814
+ /**
9815
+ * Encodes the specified StructuredExtractedFilter message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.verify|verify} messages.
9816
+ * @param message StructuredExtractedFilter message or plain object to encode
9817
+ * @param [writer] Writer to encode to
9818
+ * @returns Writer
9819
+ */
9820
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter, writer?: $protobuf.Writer): $protobuf.Writer;
9821
+
9822
+ /**
9823
+ * Encodes the specified StructuredExtractedFilter message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.verify|verify} messages.
9824
+ * @param message StructuredExtractedFilter message or plain object to encode
9825
+ * @param [writer] Writer to encode to
9826
+ * @returns Writer
9827
+ */
9828
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter, writer?: $protobuf.Writer): $protobuf.Writer;
9829
+
9830
+ /**
9831
+ * Decodes a StructuredExtractedFilter message from the specified reader or buffer.
9832
+ * @param reader Reader or buffer to decode from
9833
+ * @param [length] Message length if known beforehand
9834
+ * @returns StructuredExtractedFilter
9835
+ * @throws {Error} If the payload is not a reader or valid buffer
9836
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9837
+ */
9838
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
9839
+
9840
+ /**
9841
+ * Decodes a StructuredExtractedFilter message from the specified reader or buffer, length delimited.
9842
+ * @param reader Reader or buffer to decode from
9843
+ * @returns StructuredExtractedFilter
9844
+ * @throws {Error} If the payload is not a reader or valid buffer
9845
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9846
+ */
9847
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
9848
+
9849
+ /**
9850
+ * Verifies a StructuredExtractedFilter message.
9851
+ * @param message Plain object to verify
9852
+ * @returns `null` if valid, otherwise the reason why it is not
9853
+ */
9854
+ public static verify(message: { [k: string]: any }): (string|null);
9855
+
9856
+ /**
9857
+ * Creates a StructuredExtractedFilter message from a plain object. Also converts values to their respective internal types.
9858
+ * @param object Plain object
9859
+ * @returns StructuredExtractedFilter
9860
+ */
9861
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
9862
+
9863
+ /**
9864
+ * Creates a plain object from a StructuredExtractedFilter message. Also converts values to other types if specified.
9865
+ * @param message StructuredExtractedFilter
9866
+ * @param [options] Conversion options
9867
+ * @returns Plain object
9868
+ */
9869
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
9870
+
9871
+ /**
9872
+ * Converts this StructuredExtractedFilter to JSON.
9873
+ * @returns JSON object
9874
+ */
9875
+ public toJSON(): { [k: string]: any };
9876
+
9877
+ /**
9878
+ * Gets the default type url for StructuredExtractedFilter
9879
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9880
+ * @returns The default type url
9881
+ */
9882
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9883
+ }
9884
+
9885
+ namespace StructuredExtractedFilter {
9886
+
9887
+ /** Properties of a StringConstraint. */
9888
+ interface IStringConstraint {
9889
+
9890
+ /** StringConstraint fieldName */
9891
+ fieldName?: (string|null);
9892
+
9893
+ /** StringConstraint values */
9894
+ values?: (string[]|null);
9895
+
9896
+ /** StringConstraint querySegment */
9897
+ querySegment?: (string|null);
9898
+ }
9899
+
9900
+ /** Represents a StringConstraint. */
9901
+ class StringConstraint implements IStringConstraint {
9902
+
9903
+ /**
9904
+ * Constructs a new StringConstraint.
9905
+ * @param [properties] Properties to set
9906
+ */
9907
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint);
9908
+
9909
+ /** StringConstraint fieldName. */
9910
+ public fieldName: string;
9911
+
9912
+ /** StringConstraint values. */
9913
+ public values: string[];
9914
+
9915
+ /** StringConstraint querySegment. */
9916
+ public querySegment: string;
9917
+
9918
+ /**
9919
+ * Creates a new StringConstraint instance using the specified properties.
9920
+ * @param [properties] Properties to set
9921
+ * @returns StringConstraint instance
9922
+ */
9923
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
9924
+
9925
+ /**
9926
+ * Encodes the specified StringConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint.verify|verify} messages.
9927
+ * @param message StringConstraint message or plain object to encode
9928
+ * @param [writer] Writer to encode to
9929
+ * @returns Writer
9930
+ */
9931
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
9932
+
9933
+ /**
9934
+ * Encodes the specified StringConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint.verify|verify} messages.
9935
+ * @param message StringConstraint message or plain object to encode
9936
+ * @param [writer] Writer to encode to
9937
+ * @returns Writer
9938
+ */
9939
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
9940
+
9941
+ /**
9942
+ * Decodes a StringConstraint message from the specified reader or buffer.
9943
+ * @param reader Reader or buffer to decode from
9944
+ * @param [length] Message length if known beforehand
9945
+ * @returns StringConstraint
9946
+ * @throws {Error} If the payload is not a reader or valid buffer
9947
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9948
+ */
9949
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
9950
+
9951
+ /**
9952
+ * Decodes a StringConstraint message from the specified reader or buffer, length delimited.
9953
+ * @param reader Reader or buffer to decode from
9954
+ * @returns StringConstraint
9955
+ * @throws {Error} If the payload is not a reader or valid buffer
9956
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9957
+ */
9958
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
9959
+
9960
+ /**
9961
+ * Verifies a StringConstraint message.
9962
+ * @param message Plain object to verify
9963
+ * @returns `null` if valid, otherwise the reason why it is not
9964
+ */
9965
+ public static verify(message: { [k: string]: any }): (string|null);
9966
+
9967
+ /**
9968
+ * Creates a StringConstraint message from a plain object. Also converts values to their respective internal types.
9969
+ * @param object Plain object
9970
+ * @returns StringConstraint
9971
+ */
9972
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
9973
+
9974
+ /**
9975
+ * Creates a plain object from a StringConstraint message. Also converts values to other types if specified.
9976
+ * @param message StringConstraint
9977
+ * @param [options] Conversion options
9978
+ * @returns Plain object
9979
+ */
9980
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
9981
+
9982
+ /**
9983
+ * Converts this StringConstraint to JSON.
9984
+ * @returns JSON object
9985
+ */
9986
+ public toJSON(): { [k: string]: any };
9987
+
9988
+ /**
9989
+ * Gets the default type url for StringConstraint
9990
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9991
+ * @returns The default type url
9992
+ */
9993
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9994
+ }
9995
+
9996
+ /** Properties of a NumberConstraint. */
9997
+ interface INumberConstraint {
9998
+
9999
+ /** NumberConstraint fieldName */
10000
+ fieldName?: (string|null);
10001
+
10002
+ /** NumberConstraint comparison */
10003
+ comparison?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|keyof typeof google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|null);
10004
+
10005
+ /** NumberConstraint value */
10006
+ value?: (number|null);
10007
+
10008
+ /** NumberConstraint querySegment */
10009
+ querySegment?: (string|null);
10010
+ }
10011
+
10012
+ /** Represents a NumberConstraint. */
10013
+ class NumberConstraint implements INumberConstraint {
10014
+
10015
+ /**
10016
+ * Constructs a new NumberConstraint.
10017
+ * @param [properties] Properties to set
10018
+ */
10019
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint);
10020
+
10021
+ /** NumberConstraint fieldName. */
10022
+ public fieldName: string;
10023
+
10024
+ /** NumberConstraint comparison. */
10025
+ public comparison: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|keyof typeof google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison);
10026
+
10027
+ /** NumberConstraint value. */
10028
+ public value: number;
10029
+
10030
+ /** NumberConstraint querySegment. */
10031
+ public querySegment: string;
10032
+
10033
+ /**
10034
+ * Creates a new NumberConstraint instance using the specified properties.
10035
+ * @param [properties] Properties to set
10036
+ * @returns NumberConstraint instance
10037
+ */
10038
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
10039
+
10040
+ /**
10041
+ * Encodes the specified NumberConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.verify|verify} messages.
10042
+ * @param message NumberConstraint message or plain object to encode
10043
+ * @param [writer] Writer to encode to
10044
+ * @returns Writer
10045
+ */
10046
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
10047
+
10048
+ /**
10049
+ * Encodes the specified NumberConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.verify|verify} messages.
10050
+ * @param message NumberConstraint message or plain object to encode
10051
+ * @param [writer] Writer to encode to
10052
+ * @returns Writer
10053
+ */
10054
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
10055
+
10056
+ /**
10057
+ * Decodes a NumberConstraint message from the specified reader or buffer.
10058
+ * @param reader Reader or buffer to decode from
10059
+ * @param [length] Message length if known beforehand
10060
+ * @returns NumberConstraint
10061
+ * @throws {Error} If the payload is not a reader or valid buffer
10062
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10063
+ */
10064
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
10065
+
10066
+ /**
10067
+ * Decodes a NumberConstraint message from the specified reader or buffer, length delimited.
10068
+ * @param reader Reader or buffer to decode from
10069
+ * @returns NumberConstraint
10070
+ * @throws {Error} If the payload is not a reader or valid buffer
10071
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10072
+ */
10073
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
10074
+
10075
+ /**
10076
+ * Verifies a NumberConstraint message.
10077
+ * @param message Plain object to verify
10078
+ * @returns `null` if valid, otherwise the reason why it is not
10079
+ */
10080
+ public static verify(message: { [k: string]: any }): (string|null);
10081
+
10082
+ /**
10083
+ * Creates a NumberConstraint message from a plain object. Also converts values to their respective internal types.
10084
+ * @param object Plain object
10085
+ * @returns NumberConstraint
10086
+ */
10087
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
10088
+
10089
+ /**
10090
+ * Creates a plain object from a NumberConstraint message. Also converts values to other types if specified.
10091
+ * @param message NumberConstraint
10092
+ * @param [options] Conversion options
10093
+ * @returns Plain object
10094
+ */
10095
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
10096
+
10097
+ /**
10098
+ * Converts this NumberConstraint to JSON.
10099
+ * @returns JSON object
10100
+ */
10101
+ public toJSON(): { [k: string]: any };
10102
+
10103
+ /**
10104
+ * Gets the default type url for NumberConstraint
10105
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10106
+ * @returns The default type url
10107
+ */
10108
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10109
+ }
10110
+
10111
+ namespace NumberConstraint {
10112
+
10113
+ /** Comparison enum. */
10114
+ enum Comparison {
10115
+ COMPARISON_UNSPECIFIED = 0,
10116
+ EQUALS = 1,
10117
+ LESS_THAN_EQUALS = 2,
10118
+ LESS_THAN = 3,
10119
+ GREATER_THAN_EQUALS = 4,
10120
+ GREATER_THAN = 5
10121
+ }
10122
+ }
10123
+
10124
+ /** Properties of a GeolocationConstraint. */
10125
+ interface IGeolocationConstraint {
10126
+
10127
+ /** GeolocationConstraint fieldName */
10128
+ fieldName?: (string|null);
10129
+
10130
+ /** GeolocationConstraint address */
10131
+ address?: (string|null);
10132
+
10133
+ /** GeolocationConstraint latitude */
10134
+ latitude?: (number|null);
10135
+
10136
+ /** GeolocationConstraint longitude */
10137
+ longitude?: (number|null);
10138
+
10139
+ /** GeolocationConstraint radiusInMeters */
10140
+ radiusInMeters?: (number|null);
10141
+ }
10142
+
10143
+ /** Represents a GeolocationConstraint. */
10144
+ class GeolocationConstraint implements IGeolocationConstraint {
10145
+
10146
+ /**
10147
+ * Constructs a new GeolocationConstraint.
10148
+ * @param [properties] Properties to set
10149
+ */
10150
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint);
10151
+
10152
+ /** GeolocationConstraint fieldName. */
10153
+ public fieldName: string;
10154
+
10155
+ /** GeolocationConstraint address. */
10156
+ public address: string;
10157
+
10158
+ /** GeolocationConstraint latitude. */
10159
+ public latitude: number;
10160
+
10161
+ /** GeolocationConstraint longitude. */
10162
+ public longitude: number;
10163
+
10164
+ /** GeolocationConstraint radiusInMeters. */
10165
+ public radiusInMeters: number;
10166
+
10167
+ /**
10168
+ * Creates a new GeolocationConstraint instance using the specified properties.
10169
+ * @param [properties] Properties to set
10170
+ * @returns GeolocationConstraint instance
10171
+ */
10172
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
10173
+
10174
+ /**
10175
+ * Encodes the specified GeolocationConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint.verify|verify} messages.
10176
+ * @param message GeolocationConstraint message or plain object to encode
10177
+ * @param [writer] Writer to encode to
10178
+ * @returns Writer
10179
+ */
10180
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
10181
+
10182
+ /**
10183
+ * Encodes the specified GeolocationConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint.verify|verify} messages.
10184
+ * @param message GeolocationConstraint message or plain object to encode
10185
+ * @param [writer] Writer to encode to
10186
+ * @returns Writer
10187
+ */
10188
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
10189
+
10190
+ /**
10191
+ * Decodes a GeolocationConstraint message from the specified reader or buffer.
10192
+ * @param reader Reader or buffer to decode from
10193
+ * @param [length] Message length if known beforehand
10194
+ * @returns GeolocationConstraint
10195
+ * @throws {Error} If the payload is not a reader or valid buffer
10196
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10197
+ */
10198
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
10199
+
10200
+ /**
10201
+ * Decodes a GeolocationConstraint message from the specified reader or buffer, length delimited.
10202
+ * @param reader Reader or buffer to decode from
10203
+ * @returns GeolocationConstraint
10204
+ * @throws {Error} If the payload is not a reader or valid buffer
10205
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10206
+ */
10207
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
10208
+
10209
+ /**
10210
+ * Verifies a GeolocationConstraint message.
10211
+ * @param message Plain object to verify
10212
+ * @returns `null` if valid, otherwise the reason why it is not
10213
+ */
10214
+ public static verify(message: { [k: string]: any }): (string|null);
10215
+
10216
+ /**
10217
+ * Creates a GeolocationConstraint message from a plain object. Also converts values to their respective internal types.
10218
+ * @param object Plain object
10219
+ * @returns GeolocationConstraint
10220
+ */
10221
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
10222
+
10223
+ /**
10224
+ * Creates a plain object from a GeolocationConstraint message. Also converts values to other types if specified.
10225
+ * @param message GeolocationConstraint
10226
+ * @param [options] Conversion options
10227
+ * @returns Plain object
10228
+ */
10229
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
10230
+
10231
+ /**
10232
+ * Converts this GeolocationConstraint to JSON.
10233
+ * @returns JSON object
10234
+ */
10235
+ public toJSON(): { [k: string]: any };
10236
+
10237
+ /**
10238
+ * Gets the default type url for GeolocationConstraint
10239
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10240
+ * @returns The default type url
10241
+ */
10242
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10243
+ }
10244
+
10245
+ /** Properties of an AndExpression. */
10246
+ interface IAndExpression {
10247
+
10248
+ /** AndExpression expressions */
10249
+ expressions?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[]|null);
10250
+ }
10251
+
10252
+ /** Represents an AndExpression. */
10253
+ class AndExpression implements IAndExpression {
10254
+
10255
+ /**
10256
+ * Constructs a new AndExpression.
10257
+ * @param [properties] Properties to set
10258
+ */
10259
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression);
10260
+
10261
+ /** AndExpression expressions. */
10262
+ public expressions: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[];
10263
+
10264
+ /**
10265
+ * Creates a new AndExpression instance using the specified properties.
10266
+ * @param [properties] Properties to set
10267
+ * @returns AndExpression instance
10268
+ */
10269
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
10270
+
10271
+ /**
10272
+ * Encodes the specified AndExpression message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression.verify|verify} messages.
10273
+ * @param message AndExpression message or plain object to encode
10274
+ * @param [writer] Writer to encode to
10275
+ * @returns Writer
10276
+ */
10277
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression, writer?: $protobuf.Writer): $protobuf.Writer;
10278
+
10279
+ /**
10280
+ * Encodes the specified AndExpression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression.verify|verify} messages.
10281
+ * @param message AndExpression message or plain object to encode
10282
+ * @param [writer] Writer to encode to
10283
+ * @returns Writer
10284
+ */
10285
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression, writer?: $protobuf.Writer): $protobuf.Writer;
10286
+
10287
+ /**
10288
+ * Decodes an AndExpression message from the specified reader or buffer.
10289
+ * @param reader Reader or buffer to decode from
10290
+ * @param [length] Message length if known beforehand
10291
+ * @returns AndExpression
10292
+ * @throws {Error} If the payload is not a reader or valid buffer
10293
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10294
+ */
10295
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
10296
+
10297
+ /**
10298
+ * Decodes an AndExpression message from the specified reader or buffer, length delimited.
10299
+ * @param reader Reader or buffer to decode from
10300
+ * @returns AndExpression
10301
+ * @throws {Error} If the payload is not a reader or valid buffer
10302
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10303
+ */
10304
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
10305
+
10306
+ /**
10307
+ * Verifies an AndExpression message.
10308
+ * @param message Plain object to verify
10309
+ * @returns `null` if valid, otherwise the reason why it is not
10310
+ */
10311
+ public static verify(message: { [k: string]: any }): (string|null);
10312
+
10313
+ /**
10314
+ * Creates an AndExpression message from a plain object. Also converts values to their respective internal types.
10315
+ * @param object Plain object
10316
+ * @returns AndExpression
10317
+ */
10318
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
10319
+
10320
+ /**
10321
+ * Creates a plain object from an AndExpression message. Also converts values to other types if specified.
10322
+ * @param message AndExpression
10323
+ * @param [options] Conversion options
10324
+ * @returns Plain object
10325
+ */
10326
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
10327
+
10328
+ /**
10329
+ * Converts this AndExpression to JSON.
10330
+ * @returns JSON object
10331
+ */
10332
+ public toJSON(): { [k: string]: any };
10333
+
10334
+ /**
10335
+ * Gets the default type url for AndExpression
10336
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10337
+ * @returns The default type url
10338
+ */
10339
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10340
+ }
10341
+
10342
+ /** Properties of an OrExpression. */
10343
+ interface IOrExpression {
10344
+
10345
+ /** OrExpression expressions */
10346
+ expressions?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[]|null);
10347
+ }
10348
+
10349
+ /** Represents an OrExpression. */
10350
+ class OrExpression implements IOrExpression {
10351
+
10352
+ /**
10353
+ * Constructs a new OrExpression.
10354
+ * @param [properties] Properties to set
10355
+ */
10356
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression);
10357
+
10358
+ /** OrExpression expressions. */
10359
+ public expressions: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[];
10360
+
10361
+ /**
10362
+ * Creates a new OrExpression instance using the specified properties.
10363
+ * @param [properties] Properties to set
10364
+ * @returns OrExpression instance
10365
+ */
10366
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
10367
+
10368
+ /**
10369
+ * Encodes the specified OrExpression message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.verify|verify} messages.
10370
+ * @param message OrExpression message or plain object to encode
10371
+ * @param [writer] Writer to encode to
10372
+ * @returns Writer
10373
+ */
10374
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression, writer?: $protobuf.Writer): $protobuf.Writer;
10375
+
10376
+ /**
10377
+ * Encodes the specified OrExpression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.verify|verify} messages.
10378
+ * @param message OrExpression message or plain object to encode
10379
+ * @param [writer] Writer to encode to
10380
+ * @returns Writer
10381
+ */
10382
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression, writer?: $protobuf.Writer): $protobuf.Writer;
10383
+
10384
+ /**
10385
+ * Decodes an OrExpression message from the specified reader or buffer.
10386
+ * @param reader Reader or buffer to decode from
10387
+ * @param [length] Message length if known beforehand
10388
+ * @returns OrExpression
10389
+ * @throws {Error} If the payload is not a reader or valid buffer
10390
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10391
+ */
10392
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
10393
+
10394
+ /**
10395
+ * Decodes an OrExpression message from the specified reader or buffer, length delimited.
10396
+ * @param reader Reader or buffer to decode from
10397
+ * @returns OrExpression
10398
+ * @throws {Error} If the payload is not a reader or valid buffer
10399
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10400
+ */
10401
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
10402
+
10403
+ /**
10404
+ * Verifies an OrExpression message.
10405
+ * @param message Plain object to verify
10406
+ * @returns `null` if valid, otherwise the reason why it is not
10407
+ */
10408
+ public static verify(message: { [k: string]: any }): (string|null);
10409
+
10410
+ /**
10411
+ * Creates an OrExpression message from a plain object. Also converts values to their respective internal types.
10412
+ * @param object Plain object
10413
+ * @returns OrExpression
10414
+ */
10415
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
10416
+
10417
+ /**
10418
+ * Creates a plain object from an OrExpression message. Also converts values to other types if specified.
10419
+ * @param message OrExpression
10420
+ * @param [options] Conversion options
10421
+ * @returns Plain object
10422
+ */
10423
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
10424
+
10425
+ /**
10426
+ * Converts this OrExpression to JSON.
10427
+ * @returns JSON object
10428
+ */
10429
+ public toJSON(): { [k: string]: any };
10430
+
10431
+ /**
10432
+ * Gets the default type url for OrExpression
10433
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10434
+ * @returns The default type url
10435
+ */
10436
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10437
+ }
10438
+
10439
+ /** Properties of an Expression. */
10440
+ interface IExpression {
10441
+
10442
+ /** Expression stringConstraint */
10443
+ stringConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint|null);
10444
+
10445
+ /** Expression numberConstraint */
10446
+ numberConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint|null);
10447
+
10448
+ /** Expression geolocationConstraint */
10449
+ geolocationConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint|null);
10450
+
10451
+ /** Expression andExpr */
10452
+ andExpr?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression|null);
10453
+
10454
+ /** Expression orExpr */
10455
+ orExpr?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression|null);
10456
+ }
10457
+
10458
+ /** Represents an Expression. */
10459
+ class Expression implements IExpression {
10460
+
10461
+ /**
10462
+ * Constructs a new Expression.
10463
+ * @param [properties] Properties to set
10464
+ */
10465
+ constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression);
10466
+
10467
+ /** Expression stringConstraint. */
10468
+ public stringConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint|null);
9290
10469
 
9291
- /** QueryExpansionInfo pinnedResultCount */
9292
- pinnedResultCount?: (number|Long|string|null);
9293
- }
10470
+ /** Expression numberConstraint. */
10471
+ public numberConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint|null);
9294
10472
 
9295
- /** Represents a QueryExpansionInfo. */
9296
- class QueryExpansionInfo implements IQueryExpansionInfo {
10473
+ /** Expression geolocationConstraint. */
10474
+ public geolocationConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint|null);
9297
10475
 
9298
- /**
9299
- * Constructs a new QueryExpansionInfo.
9300
- * @param [properties] Properties to set
9301
- */
9302
- constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo);
10476
+ /** Expression andExpr. */
10477
+ public andExpr?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression|null);
9303
10478
 
9304
- /** QueryExpansionInfo expandedQuery. */
9305
- public expandedQuery: boolean;
10479
+ /** Expression orExpr. */
10480
+ public orExpr?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression|null);
9306
10481
 
9307
- /** QueryExpansionInfo pinnedResultCount. */
9308
- public pinnedResultCount: (number|Long|string);
10482
+ /** Expression expr. */
10483
+ public expr?: ("stringConstraint"|"numberConstraint"|"geolocationConstraint"|"andExpr"|"orExpr");
9309
10484
 
9310
- /**
9311
- * Creates a new QueryExpansionInfo instance using the specified properties.
9312
- * @param [properties] Properties to set
9313
- * @returns QueryExpansionInfo instance
9314
- */
9315
- public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
10485
+ /**
10486
+ * Creates a new Expression instance using the specified properties.
10487
+ * @param [properties] Properties to set
10488
+ * @returns Expression instance
10489
+ */
10490
+ public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
9316
10491
 
9317
- /**
9318
- * Encodes the specified QueryExpansionInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo.verify|verify} messages.
9319
- * @param message QueryExpansionInfo message or plain object to encode
9320
- * @param [writer] Writer to encode to
9321
- * @returns Writer
9322
- */
9323
- public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
10492
+ /**
10493
+ * Encodes the specified Expression message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.verify|verify} messages.
10494
+ * @param message Expression message or plain object to encode
10495
+ * @param [writer] Writer to encode to
10496
+ * @returns Writer
10497
+ */
10498
+ public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression, writer?: $protobuf.Writer): $protobuf.Writer;
9324
10499
 
9325
- /**
9326
- * Encodes the specified QueryExpansionInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo.verify|verify} messages.
9327
- * @param message QueryExpansionInfo message or plain object to encode
9328
- * @param [writer] Writer to encode to
9329
- * @returns Writer
9330
- */
9331
- public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
10500
+ /**
10501
+ * Encodes the specified Expression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.verify|verify} messages.
10502
+ * @param message Expression message or plain object to encode
10503
+ * @param [writer] Writer to encode to
10504
+ * @returns Writer
10505
+ */
10506
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression, writer?: $protobuf.Writer): $protobuf.Writer;
9332
10507
 
9333
- /**
9334
- * Decodes a QueryExpansionInfo message from the specified reader or buffer.
9335
- * @param reader Reader or buffer to decode from
9336
- * @param [length] Message length if known beforehand
9337
- * @returns QueryExpansionInfo
9338
- * @throws {Error} If the payload is not a reader or valid buffer
9339
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9340
- */
9341
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
10508
+ /**
10509
+ * Decodes an Expression message from the specified reader or buffer.
10510
+ * @param reader Reader or buffer to decode from
10511
+ * @param [length] Message length if known beforehand
10512
+ * @returns Expression
10513
+ * @throws {Error} If the payload is not a reader or valid buffer
10514
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10515
+ */
10516
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
9342
10517
 
9343
- /**
9344
- * Decodes a QueryExpansionInfo message from the specified reader or buffer, length delimited.
9345
- * @param reader Reader or buffer to decode from
9346
- * @returns QueryExpansionInfo
9347
- * @throws {Error} If the payload is not a reader or valid buffer
9348
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9349
- */
9350
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
10518
+ /**
10519
+ * Decodes an Expression message from the specified reader or buffer, length delimited.
10520
+ * @param reader Reader or buffer to decode from
10521
+ * @returns Expression
10522
+ * @throws {Error} If the payload is not a reader or valid buffer
10523
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10524
+ */
10525
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
9351
10526
 
9352
- /**
9353
- * Verifies a QueryExpansionInfo message.
9354
- * @param message Plain object to verify
9355
- * @returns `null` if valid, otherwise the reason why it is not
9356
- */
9357
- public static verify(message: { [k: string]: any }): (string|null);
10527
+ /**
10528
+ * Verifies an Expression message.
10529
+ * @param message Plain object to verify
10530
+ * @returns `null` if valid, otherwise the reason why it is not
10531
+ */
10532
+ public static verify(message: { [k: string]: any }): (string|null);
9358
10533
 
9359
- /**
9360
- * Creates a QueryExpansionInfo message from a plain object. Also converts values to their respective internal types.
9361
- * @param object Plain object
9362
- * @returns QueryExpansionInfo
9363
- */
9364
- public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
10534
+ /**
10535
+ * Creates an Expression message from a plain object. Also converts values to their respective internal types.
10536
+ * @param object Plain object
10537
+ * @returns Expression
10538
+ */
10539
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
9365
10540
 
9366
- /**
9367
- * Creates a plain object from a QueryExpansionInfo message. Also converts values to other types if specified.
9368
- * @param message QueryExpansionInfo
9369
- * @param [options] Conversion options
9370
- * @returns Plain object
9371
- */
9372
- public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
10541
+ /**
10542
+ * Creates a plain object from an Expression message. Also converts values to other types if specified.
10543
+ * @param message Expression
10544
+ * @param [options] Conversion options
10545
+ * @returns Plain object
10546
+ */
10547
+ public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression, options?: $protobuf.IConversionOptions): { [k: string]: any };
9373
10548
 
9374
- /**
9375
- * Converts this QueryExpansionInfo to JSON.
9376
- * @returns JSON object
9377
- */
9378
- public toJSON(): { [k: string]: any };
10549
+ /**
10550
+ * Converts this Expression to JSON.
10551
+ * @returns JSON object
10552
+ */
10553
+ public toJSON(): { [k: string]: any };
9379
10554
 
9380
- /**
9381
- * Gets the default type url for QueryExpansionInfo
9382
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9383
- * @returns The default type url
9384
- */
9385
- public static getTypeUrl(typeUrlPrefix?: string): string;
10555
+ /**
10556
+ * Gets the default type url for Expression
10557
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10558
+ * @returns The default type url
10559
+ */
10560
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10561
+ }
10562
+ }
9386
10563
  }
9387
10564
 
9388
10565
  /** Properties of a SessionInfo. */
@@ -9487,6 +10664,13 @@ export namespace google {
9487
10664
  */
9488
10665
  public static getTypeUrl(typeUrlPrefix?: string): string;
9489
10666
  }
10667
+
10668
+ /** SemanticState enum. */
10669
+ enum SemanticState {
10670
+ SEMANTIC_STATE_UNSPECIFIED = 0,
10671
+ DISABLED = 1,
10672
+ ENABLED = 2
10673
+ }
9490
10674
  }
9491
10675
 
9492
10676
  /** Properties of a Chunk. */
@@ -27141,6 +28325,9 @@ export namespace google {
27141
28325
  /** DataStore advancedSiteSearchConfig */
27142
28326
  advancedSiteSearchConfig?: (google.cloud.discoveryengine.v1.IAdvancedSiteSearchConfig|null);
27143
28327
 
28328
+ /** DataStore naturalLanguageQueryUnderstandingConfig */
28329
+ naturalLanguageQueryUnderstandingConfig?: (google.cloud.discoveryengine.v1.INaturalLanguageQueryUnderstandingConfig|null);
28330
+
27144
28331
  /** DataStore kmsKeyName */
27145
28332
  kmsKeyName?: (string|null);
27146
28333
 
@@ -27202,6 +28389,9 @@ export namespace google {
27202
28389
  /** DataStore advancedSiteSearchConfig. */
27203
28390
  public advancedSiteSearchConfig?: (google.cloud.discoveryengine.v1.IAdvancedSiteSearchConfig|null);
27204
28391
 
28392
+ /** DataStore naturalLanguageQueryUnderstandingConfig. */
28393
+ public naturalLanguageQueryUnderstandingConfig?: (google.cloud.discoveryengine.v1.INaturalLanguageQueryUnderstandingConfig|null);
28394
+
27205
28395
  /** DataStore kmsKeyName. */
27206
28396
  public kmsKeyName: string;
27207
28397
 
@@ -27549,6 +28739,113 @@ export namespace google {
27549
28739
  public static getTypeUrl(typeUrlPrefix?: string): string;
27550
28740
  }
27551
28741
 
28742
+ /** Properties of a NaturalLanguageQueryUnderstandingConfig. */
28743
+ interface INaturalLanguageQueryUnderstandingConfig {
28744
+
28745
+ /** NaturalLanguageQueryUnderstandingConfig mode */
28746
+ mode?: (google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig.Mode|keyof typeof google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig.Mode|null);
28747
+ }
28748
+
28749
+ /** Represents a NaturalLanguageQueryUnderstandingConfig. */
28750
+ class NaturalLanguageQueryUnderstandingConfig implements INaturalLanguageQueryUnderstandingConfig {
28751
+
28752
+ /**
28753
+ * Constructs a new NaturalLanguageQueryUnderstandingConfig.
28754
+ * @param [properties] Properties to set
28755
+ */
28756
+ constructor(properties?: google.cloud.discoveryengine.v1.INaturalLanguageQueryUnderstandingConfig);
28757
+
28758
+ /** NaturalLanguageQueryUnderstandingConfig mode. */
28759
+ public mode: (google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig.Mode|keyof typeof google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig.Mode);
28760
+
28761
+ /**
28762
+ * Creates a new NaturalLanguageQueryUnderstandingConfig instance using the specified properties.
28763
+ * @param [properties] Properties to set
28764
+ * @returns NaturalLanguageQueryUnderstandingConfig instance
28765
+ */
28766
+ public static create(properties?: google.cloud.discoveryengine.v1.INaturalLanguageQueryUnderstandingConfig): google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig;
28767
+
28768
+ /**
28769
+ * Encodes the specified NaturalLanguageQueryUnderstandingConfig message. Does not implicitly {@link google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig.verify|verify} messages.
28770
+ * @param message NaturalLanguageQueryUnderstandingConfig message or plain object to encode
28771
+ * @param [writer] Writer to encode to
28772
+ * @returns Writer
28773
+ */
28774
+ public static encode(message: google.cloud.discoveryengine.v1.INaturalLanguageQueryUnderstandingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
28775
+
28776
+ /**
28777
+ * Encodes the specified NaturalLanguageQueryUnderstandingConfig message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig.verify|verify} messages.
28778
+ * @param message NaturalLanguageQueryUnderstandingConfig message or plain object to encode
28779
+ * @param [writer] Writer to encode to
28780
+ * @returns Writer
28781
+ */
28782
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.INaturalLanguageQueryUnderstandingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
28783
+
28784
+ /**
28785
+ * Decodes a NaturalLanguageQueryUnderstandingConfig message from the specified reader or buffer.
28786
+ * @param reader Reader or buffer to decode from
28787
+ * @param [length] Message length if known beforehand
28788
+ * @returns NaturalLanguageQueryUnderstandingConfig
28789
+ * @throws {Error} If the payload is not a reader or valid buffer
28790
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28791
+ */
28792
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig;
28793
+
28794
+ /**
28795
+ * Decodes a NaturalLanguageQueryUnderstandingConfig message from the specified reader or buffer, length delimited.
28796
+ * @param reader Reader or buffer to decode from
28797
+ * @returns NaturalLanguageQueryUnderstandingConfig
28798
+ * @throws {Error} If the payload is not a reader or valid buffer
28799
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28800
+ */
28801
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig;
28802
+
28803
+ /**
28804
+ * Verifies a NaturalLanguageQueryUnderstandingConfig message.
28805
+ * @param message Plain object to verify
28806
+ * @returns `null` if valid, otherwise the reason why it is not
28807
+ */
28808
+ public static verify(message: { [k: string]: any }): (string|null);
28809
+
28810
+ /**
28811
+ * Creates a NaturalLanguageQueryUnderstandingConfig message from a plain object. Also converts values to their respective internal types.
28812
+ * @param object Plain object
28813
+ * @returns NaturalLanguageQueryUnderstandingConfig
28814
+ */
28815
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig;
28816
+
28817
+ /**
28818
+ * Creates a plain object from a NaturalLanguageQueryUnderstandingConfig message. Also converts values to other types if specified.
28819
+ * @param message NaturalLanguageQueryUnderstandingConfig
28820
+ * @param [options] Conversion options
28821
+ * @returns Plain object
28822
+ */
28823
+ public static toObject(message: google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
28824
+
28825
+ /**
28826
+ * Converts this NaturalLanguageQueryUnderstandingConfig to JSON.
28827
+ * @returns JSON object
28828
+ */
28829
+ public toJSON(): { [k: string]: any };
28830
+
28831
+ /**
28832
+ * Gets the default type url for NaturalLanguageQueryUnderstandingConfig
28833
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
28834
+ * @returns The default type url
28835
+ */
28836
+ public static getTypeUrl(typeUrlPrefix?: string): string;
28837
+ }
28838
+
28839
+ namespace NaturalLanguageQueryUnderstandingConfig {
28840
+
28841
+ /** Mode enum. */
28842
+ enum Mode {
28843
+ MODE_UNSPECIFIED = 0,
28844
+ DISABLED = 1,
28845
+ ENABLED = 2
28846
+ }
28847
+ }
28848
+
27552
28849
  /** Properties of a WorkspaceConfig. */
27553
28850
  interface IWorkspaceConfig {
27554
28851