@google-cloud/discoveryengine 2.5.2 → 2.6.0
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.
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +459 -134
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +7 -0
- package/build/protos/protos.d.ts +1551 -248
- package/build/protos/protos.js +3506 -77
- package/build/protos/protos.json +338 -35
- package/build/src/v1/assistant_service_client.js +1 -1
- package/build/src/v1/cmek_config_service_client.js +1 -1
- package/build/src/v1/completion_service_client.js +1 -1
- package/build/src/v1/control_service_client.js +1 -1
- package/build/src/v1/conversational_search_service_client.js +1 -1
- package/build/src/v1/data_store_service_client.js +1 -1
- package/build/src/v1/document_service_client.js +1 -1
- package/build/src/v1/engine_service_client.js +1 -1
- package/build/src/v1/grounded_generation_service_client.js +1 -1
- package/build/src/v1/identity_mapping_store_service_client.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/project_service_client.js +1 -1
- package/build/src/v1/rank_service_client.js +1 -1
- package/build/src/v1/recommendation_service_client.js +1 -1
- package/build/src/v1/schema_service_client.js +1 -1
- package/build/src/v1/search_service_client.d.ts +672 -432
- package/build/src/v1/search_service_client.js +449 -289
- package/build/src/v1/search_tuning_service_client.js +1 -1
- package/build/src/v1/serving_config_service_client.js +1 -1
- package/build/src/v1/session_service_client.js +1 -1
- package/build/src/v1/site_search_engine_service_client.js +1 -1
- package/build/src/v1/user_event_service_client.js +1 -1
- package/build/src/v1/user_license_service_client.js +1 -1
- package/build/src/v1alpha/acl_config_service_client.js +1 -1
- package/build/src/v1alpha/chunk_service_client.js +1 -1
- package/build/src/v1alpha/completion_service_client.js +1 -1
- package/build/src/v1alpha/control_service_client.js +1 -1
- package/build/src/v1alpha/conversational_search_service_client.js +1 -1
- package/build/src/v1alpha/data_store_service_client.js +1 -1
- package/build/src/v1alpha/document_service_client.js +1 -1
- package/build/src/v1alpha/engine_service_client.js +1 -1
- package/build/src/v1alpha/estimate_billing_service_client.js +1 -1
- package/build/src/v1alpha/evaluation_service_client.js +1 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +1 -1
- package/build/src/v1alpha/index.js +1 -1
- package/build/src/v1alpha/project_service_client.js +1 -1
- package/build/src/v1alpha/rank_service_client.js +1 -1
- package/build/src/v1alpha/recommendation_service_client.js +1 -1
- package/build/src/v1alpha/sample_query_service_client.js +1 -1
- package/build/src/v1alpha/sample_query_set_service_client.js +1 -1
- package/build/src/v1alpha/schema_service_client.js +1 -1
- package/build/src/v1alpha/search_service_client.js +1 -1
- package/build/src/v1alpha/search_tuning_service_client.js +1 -1
- package/build/src/v1alpha/serving_config_service_client.js +1 -1
- package/build/src/v1alpha/session_service_client.js +1 -1
- package/build/src/v1alpha/site_search_engine_service_client.js +1 -1
- package/build/src/v1alpha/user_event_service_client.js +1 -1
- package/build/src/v1beta/completion_service_client.js +1 -1
- package/build/src/v1beta/control_service_client.js +1 -1
- package/build/src/v1beta/conversational_search_service_client.js +1 -1
- package/build/src/v1beta/data_store_service_client.js +1 -1
- package/build/src/v1beta/document_service_client.js +1 -1
- package/build/src/v1beta/engine_service_client.js +1 -1
- package/build/src/v1beta/evaluation_service_client.js +1 -1
- package/build/src/v1beta/grounded_generation_service_client.js +1 -1
- package/build/src/v1beta/index.js +1 -1
- package/build/src/v1beta/project_service_client.js +1 -1
- package/build/src/v1beta/rank_service_client.js +1 -1
- package/build/src/v1beta/recommendation_service_client.js +1 -1
- package/build/src/v1beta/sample_query_service_client.js +1 -1
- package/build/src/v1beta/sample_query_set_service_client.js +1 -1
- package/build/src/v1beta/schema_service_client.js +1 -1
- package/build/src/v1beta/search_service_client.js +1 -1
- package/build/src/v1beta/search_tuning_service_client.js +1 -1
- package/build/src/v1beta/serving_config_service_client.js +1 -1
- package/build/src/v1beta/session_service_client.js +1 -1
- package/build/src/v1beta/site_search_engine_service_client.js +1 -1
- package/build/src/v1beta/user_event_service_client.js +1 -1
- package/package.json +2 -2
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
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
|
|
@@ -9056,333 +9339,1227 @@ export namespace google {
|
|
|
9056
9339
|
/** Properties of a ChunkContent. */
|
|
9057
9340
|
interface IChunkContent {
|
|
9058
9341
|
|
|
9059
|
-
/** ChunkContent content */
|
|
9060
|
-
content?: (string|null);
|
|
9342
|
+
/** ChunkContent content */
|
|
9343
|
+
content?: (string|null);
|
|
9344
|
+
|
|
9345
|
+
/** ChunkContent pageIdentifier */
|
|
9346
|
+
pageIdentifier?: (string|null);
|
|
9347
|
+
}
|
|
9348
|
+
|
|
9349
|
+
/** Represents a ChunkContent. */
|
|
9350
|
+
class ChunkContent implements IChunkContent {
|
|
9351
|
+
|
|
9352
|
+
/**
|
|
9353
|
+
* Constructs a new ChunkContent.
|
|
9354
|
+
* @param [properties] Properties to set
|
|
9355
|
+
*/
|
|
9356
|
+
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.IChunkContent);
|
|
9357
|
+
|
|
9358
|
+
/** ChunkContent content. */
|
|
9359
|
+
public content: string;
|
|
9360
|
+
|
|
9361
|
+
/** ChunkContent pageIdentifier. */
|
|
9362
|
+
public pageIdentifier: string;
|
|
9363
|
+
|
|
9364
|
+
/**
|
|
9365
|
+
* Creates a new ChunkContent instance using the specified properties.
|
|
9366
|
+
* @param [properties] Properties to set
|
|
9367
|
+
* @returns ChunkContent instance
|
|
9368
|
+
*/
|
|
9369
|
+
public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.IChunkContent): google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent;
|
|
9370
|
+
|
|
9371
|
+
/**
|
|
9372
|
+
* Encodes the specified ChunkContent message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent.verify|verify} messages.
|
|
9373
|
+
* @param message ChunkContent message or plain object to encode
|
|
9374
|
+
* @param [writer] Writer to encode to
|
|
9375
|
+
* @returns Writer
|
|
9376
|
+
*/
|
|
9377
|
+
public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.IChunkContent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9378
|
+
|
|
9379
|
+
/**
|
|
9380
|
+
* Encodes the specified ChunkContent message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent.verify|verify} messages.
|
|
9381
|
+
* @param message ChunkContent message or plain object to encode
|
|
9382
|
+
* @param [writer] Writer to encode to
|
|
9383
|
+
* @returns Writer
|
|
9384
|
+
*/
|
|
9385
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.IChunkContent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9386
|
+
|
|
9387
|
+
/**
|
|
9388
|
+
* Decodes a ChunkContent message from the specified reader or buffer.
|
|
9389
|
+
* @param reader Reader or buffer to decode from
|
|
9390
|
+
* @param [length] Message length if known beforehand
|
|
9391
|
+
* @returns ChunkContent
|
|
9392
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9393
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9394
|
+
*/
|
|
9395
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent;
|
|
9396
|
+
|
|
9397
|
+
/**
|
|
9398
|
+
* Decodes a ChunkContent message from the specified reader or buffer, length delimited.
|
|
9399
|
+
* @param reader Reader or buffer to decode from
|
|
9400
|
+
* @returns ChunkContent
|
|
9401
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9402
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9403
|
+
*/
|
|
9404
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent;
|
|
9405
|
+
|
|
9406
|
+
/**
|
|
9407
|
+
* Verifies a ChunkContent message.
|
|
9408
|
+
* @param message Plain object to verify
|
|
9409
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9410
|
+
*/
|
|
9411
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9412
|
+
|
|
9413
|
+
/**
|
|
9414
|
+
* Creates a ChunkContent message from a plain object. Also converts values to their respective internal types.
|
|
9415
|
+
* @param object Plain object
|
|
9416
|
+
* @returns ChunkContent
|
|
9417
|
+
*/
|
|
9418
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent;
|
|
9419
|
+
|
|
9420
|
+
/**
|
|
9421
|
+
* Creates a plain object from a ChunkContent message. Also converts values to other types if specified.
|
|
9422
|
+
* @param message ChunkContent
|
|
9423
|
+
* @param [options] Conversion options
|
|
9424
|
+
* @returns Plain object
|
|
9425
|
+
*/
|
|
9426
|
+
public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9427
|
+
|
|
9428
|
+
/**
|
|
9429
|
+
* Converts this ChunkContent to JSON.
|
|
9430
|
+
* @returns JSON object
|
|
9431
|
+
*/
|
|
9432
|
+
public toJSON(): { [k: string]: any };
|
|
9433
|
+
|
|
9434
|
+
/**
|
|
9435
|
+
* Gets the default type url for ChunkContent
|
|
9436
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9437
|
+
* @returns The default type url
|
|
9438
|
+
*/
|
|
9439
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9440
|
+
}
|
|
9441
|
+
}
|
|
9442
|
+
|
|
9443
|
+
/** Properties of a SummaryWithMetadata. */
|
|
9444
|
+
interface ISummaryWithMetadata {
|
|
9445
|
+
|
|
9446
|
+
/** SummaryWithMetadata summary */
|
|
9447
|
+
summary?: (string|null);
|
|
9448
|
+
|
|
9449
|
+
/** SummaryWithMetadata citationMetadata */
|
|
9450
|
+
citationMetadata?: (google.cloud.discoveryengine.v1.SearchResponse.Summary.ICitationMetadata|null);
|
|
9451
|
+
|
|
9452
|
+
/** SummaryWithMetadata references */
|
|
9453
|
+
references?: (google.cloud.discoveryengine.v1.SearchResponse.Summary.IReference[]|null);
|
|
9454
|
+
}
|
|
9455
|
+
|
|
9456
|
+
/** Represents a SummaryWithMetadata. */
|
|
9457
|
+
class SummaryWithMetadata implements ISummaryWithMetadata {
|
|
9458
|
+
|
|
9459
|
+
/**
|
|
9460
|
+
* Constructs a new SummaryWithMetadata.
|
|
9461
|
+
* @param [properties] Properties to set
|
|
9462
|
+
*/
|
|
9463
|
+
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.Summary.ISummaryWithMetadata);
|
|
9464
|
+
|
|
9465
|
+
/** SummaryWithMetadata summary. */
|
|
9466
|
+
public summary: string;
|
|
9467
|
+
|
|
9468
|
+
/** SummaryWithMetadata citationMetadata. */
|
|
9469
|
+
public citationMetadata?: (google.cloud.discoveryengine.v1.SearchResponse.Summary.ICitationMetadata|null);
|
|
9470
|
+
|
|
9471
|
+
/** SummaryWithMetadata references. */
|
|
9472
|
+
public references: google.cloud.discoveryengine.v1.SearchResponse.Summary.IReference[];
|
|
9473
|
+
|
|
9474
|
+
/**
|
|
9475
|
+
* Creates a new SummaryWithMetadata instance using the specified properties.
|
|
9476
|
+
* @param [properties] Properties to set
|
|
9477
|
+
* @returns SummaryWithMetadata instance
|
|
9478
|
+
*/
|
|
9479
|
+
public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.Summary.ISummaryWithMetadata): google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata;
|
|
9480
|
+
|
|
9481
|
+
/**
|
|
9482
|
+
* Encodes the specified SummaryWithMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata.verify|verify} messages.
|
|
9483
|
+
* @param message SummaryWithMetadata message or plain object to encode
|
|
9484
|
+
* @param [writer] Writer to encode to
|
|
9485
|
+
* @returns Writer
|
|
9486
|
+
*/
|
|
9487
|
+
public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.ISummaryWithMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9488
|
+
|
|
9489
|
+
/**
|
|
9490
|
+
* Encodes the specified SummaryWithMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata.verify|verify} messages.
|
|
9491
|
+
* @param message SummaryWithMetadata message or plain object to encode
|
|
9492
|
+
* @param [writer] Writer to encode to
|
|
9493
|
+
* @returns Writer
|
|
9494
|
+
*/
|
|
9495
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.ISummaryWithMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9496
|
+
|
|
9497
|
+
/**
|
|
9498
|
+
* Decodes a SummaryWithMetadata message from the specified reader or buffer.
|
|
9499
|
+
* @param reader Reader or buffer to decode from
|
|
9500
|
+
* @param [length] Message length if known beforehand
|
|
9501
|
+
* @returns SummaryWithMetadata
|
|
9502
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9503
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9504
|
+
*/
|
|
9505
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata;
|
|
9506
|
+
|
|
9507
|
+
/**
|
|
9508
|
+
* Decodes a SummaryWithMetadata message from the specified reader or buffer, length delimited.
|
|
9509
|
+
* @param reader Reader or buffer to decode from
|
|
9510
|
+
* @returns SummaryWithMetadata
|
|
9511
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9512
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9513
|
+
*/
|
|
9514
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata;
|
|
9515
|
+
|
|
9516
|
+
/**
|
|
9517
|
+
* Verifies a SummaryWithMetadata message.
|
|
9518
|
+
* @param message Plain object to verify
|
|
9519
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9520
|
+
*/
|
|
9521
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9522
|
+
|
|
9523
|
+
/**
|
|
9524
|
+
* Creates a SummaryWithMetadata message from a plain object. Also converts values to their respective internal types.
|
|
9525
|
+
* @param object Plain object
|
|
9526
|
+
* @returns SummaryWithMetadata
|
|
9527
|
+
*/
|
|
9528
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata;
|
|
9529
|
+
|
|
9530
|
+
/**
|
|
9531
|
+
* Creates a plain object from a SummaryWithMetadata message. Also converts values to other types if specified.
|
|
9532
|
+
* @param message SummaryWithMetadata
|
|
9533
|
+
* @param [options] Conversion options
|
|
9534
|
+
* @returns Plain object
|
|
9535
|
+
*/
|
|
9536
|
+
public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9537
|
+
|
|
9538
|
+
/**
|
|
9539
|
+
* Converts this SummaryWithMetadata to JSON.
|
|
9540
|
+
* @returns JSON object
|
|
9541
|
+
*/
|
|
9542
|
+
public toJSON(): { [k: string]: any };
|
|
9543
|
+
|
|
9544
|
+
/**
|
|
9545
|
+
* Gets the default type url for SummaryWithMetadata
|
|
9546
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9547
|
+
* @returns The default type url
|
|
9548
|
+
*/
|
|
9549
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9550
|
+
}
|
|
9551
|
+
|
|
9552
|
+
/** SummarySkippedReason enum. */
|
|
9553
|
+
enum SummarySkippedReason {
|
|
9554
|
+
SUMMARY_SKIPPED_REASON_UNSPECIFIED = 0,
|
|
9555
|
+
ADVERSARIAL_QUERY_IGNORED = 1,
|
|
9556
|
+
NON_SUMMARY_SEEKING_QUERY_IGNORED = 2,
|
|
9557
|
+
OUT_OF_DOMAIN_QUERY_IGNORED = 3,
|
|
9558
|
+
POTENTIAL_POLICY_VIOLATION = 4,
|
|
9559
|
+
LLM_ADDON_NOT_ENABLED = 5,
|
|
9560
|
+
NO_RELEVANT_CONTENT = 6,
|
|
9561
|
+
JAIL_BREAKING_QUERY_IGNORED = 7,
|
|
9562
|
+
CUSTOMER_POLICY_VIOLATION = 8,
|
|
9563
|
+
NON_SUMMARY_SEEKING_QUERY_IGNORED_V2 = 9,
|
|
9564
|
+
TIME_OUT = 10
|
|
9565
|
+
}
|
|
9566
|
+
}
|
|
9567
|
+
|
|
9568
|
+
/** Properties of a QueryExpansionInfo. */
|
|
9569
|
+
interface IQueryExpansionInfo {
|
|
9570
|
+
|
|
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 {
|
|
9061
10247
|
|
|
9062
|
-
/**
|
|
9063
|
-
|
|
10248
|
+
/** AndExpression expressions */
|
|
10249
|
+
expressions?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[]|null);
|
|
9064
10250
|
}
|
|
9065
10251
|
|
|
9066
|
-
/** Represents
|
|
9067
|
-
class
|
|
10252
|
+
/** Represents an AndExpression. */
|
|
10253
|
+
class AndExpression implements IAndExpression {
|
|
9068
10254
|
|
|
9069
10255
|
/**
|
|
9070
|
-
* Constructs a new
|
|
10256
|
+
* Constructs a new AndExpression.
|
|
9071
10257
|
* @param [properties] Properties to set
|
|
9072
10258
|
*/
|
|
9073
|
-
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.
|
|
10259
|
+
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression);
|
|
9074
10260
|
|
|
9075
|
-
/**
|
|
9076
|
-
public
|
|
9077
|
-
|
|
9078
|
-
/** ChunkContent pageIdentifier. */
|
|
9079
|
-
public pageIdentifier: string;
|
|
10261
|
+
/** AndExpression expressions. */
|
|
10262
|
+
public expressions: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[];
|
|
9080
10263
|
|
|
9081
10264
|
/**
|
|
9082
|
-
* Creates a new
|
|
10265
|
+
* Creates a new AndExpression instance using the specified properties.
|
|
9083
10266
|
* @param [properties] Properties to set
|
|
9084
|
-
* @returns
|
|
10267
|
+
* @returns AndExpression instance
|
|
9085
10268
|
*/
|
|
9086
|
-
public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.
|
|
10269
|
+
public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
|
9087
10270
|
|
|
9088
10271
|
/**
|
|
9089
|
-
* Encodes the specified
|
|
9090
|
-
* @param message
|
|
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
|
|
9091
10274
|
* @param [writer] Writer to encode to
|
|
9092
10275
|
* @returns Writer
|
|
9093
10276
|
*/
|
|
9094
|
-
public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.
|
|
10277
|
+
public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9095
10278
|
|
|
9096
10279
|
/**
|
|
9097
|
-
* Encodes the specified
|
|
9098
|
-
* @param message
|
|
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
|
|
9099
10282
|
* @param [writer] Writer to encode to
|
|
9100
10283
|
* @returns Writer
|
|
9101
10284
|
*/
|
|
9102
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.
|
|
10285
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9103
10286
|
|
|
9104
10287
|
/**
|
|
9105
|
-
* Decodes
|
|
10288
|
+
* Decodes an AndExpression message from the specified reader or buffer.
|
|
9106
10289
|
* @param reader Reader or buffer to decode from
|
|
9107
10290
|
* @param [length] Message length if known beforehand
|
|
9108
|
-
* @returns
|
|
10291
|
+
* @returns AndExpression
|
|
9109
10292
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9110
10293
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9111
10294
|
*/
|
|
9112
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.
|
|
10295
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
|
9113
10296
|
|
|
9114
10297
|
/**
|
|
9115
|
-
* Decodes
|
|
10298
|
+
* Decodes an AndExpression message from the specified reader or buffer, length delimited.
|
|
9116
10299
|
* @param reader Reader or buffer to decode from
|
|
9117
|
-
* @returns
|
|
10300
|
+
* @returns AndExpression
|
|
9118
10301
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9119
10302
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9120
10303
|
*/
|
|
9121
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.
|
|
10304
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
|
9122
10305
|
|
|
9123
10306
|
/**
|
|
9124
|
-
* Verifies
|
|
10307
|
+
* Verifies an AndExpression message.
|
|
9125
10308
|
* @param message Plain object to verify
|
|
9126
10309
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
9127
10310
|
*/
|
|
9128
10311
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
9129
10312
|
|
|
9130
10313
|
/**
|
|
9131
|
-
* Creates
|
|
10314
|
+
* Creates an AndExpression message from a plain object. Also converts values to their respective internal types.
|
|
9132
10315
|
* @param object Plain object
|
|
9133
|
-
* @returns
|
|
10316
|
+
* @returns AndExpression
|
|
9134
10317
|
*/
|
|
9135
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.
|
|
10318
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
|
9136
10319
|
|
|
9137
10320
|
/**
|
|
9138
|
-
* Creates a plain object from
|
|
9139
|
-
* @param message
|
|
10321
|
+
* Creates a plain object from an AndExpression message. Also converts values to other types if specified.
|
|
10322
|
+
* @param message AndExpression
|
|
9140
10323
|
* @param [options] Conversion options
|
|
9141
10324
|
* @returns Plain object
|
|
9142
10325
|
*/
|
|
9143
|
-
public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.
|
|
10326
|
+
public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9144
10327
|
|
|
9145
10328
|
/**
|
|
9146
|
-
* Converts this
|
|
10329
|
+
* Converts this AndExpression to JSON.
|
|
9147
10330
|
* @returns JSON object
|
|
9148
10331
|
*/
|
|
9149
10332
|
public toJSON(): { [k: string]: any };
|
|
9150
10333
|
|
|
9151
10334
|
/**
|
|
9152
|
-
* Gets the default type url for
|
|
10335
|
+
* Gets the default type url for AndExpression
|
|
9153
10336
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9154
10337
|
* @returns The default type url
|
|
9155
10338
|
*/
|
|
9156
10339
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9157
10340
|
}
|
|
9158
|
-
}
|
|
9159
10341
|
|
|
9160
|
-
|
|
9161
|
-
|
|
10342
|
+
/** Properties of an OrExpression. */
|
|
10343
|
+
interface IOrExpression {
|
|
9162
10344
|
|
|
9163
|
-
|
|
9164
|
-
|
|
10345
|
+
/** OrExpression expressions */
|
|
10346
|
+
expressions?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[]|null);
|
|
10347
|
+
}
|
|
9165
10348
|
|
|
9166
|
-
/**
|
|
9167
|
-
|
|
10349
|
+
/** Represents an OrExpression. */
|
|
10350
|
+
class OrExpression implements IOrExpression {
|
|
9168
10351
|
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
10352
|
+
/**
|
|
10353
|
+
* Constructs a new OrExpression.
|
|
10354
|
+
* @param [properties] Properties to set
|
|
10355
|
+
*/
|
|
10356
|
+
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression);
|
|
9172
10357
|
|
|
9173
|
-
|
|
9174
|
-
|
|
10358
|
+
/** OrExpression expressions. */
|
|
10359
|
+
public expressions: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[];
|
|
9175
10360
|
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
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;
|
|
9181
10367
|
|
|
9182
|
-
|
|
9183
|
-
|
|
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;
|
|
9184
10375
|
|
|
9185
|
-
|
|
9186
|
-
|
|
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;
|
|
9187
10383
|
|
|
9188
|
-
|
|
9189
|
-
|
|
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;
|
|
9190
10393
|
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
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;
|
|
9197
10402
|
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.ISummaryWithMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
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);
|
|
9205
10409
|
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.ISummaryWithMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
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;
|
|
9213
10416
|
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
*/
|
|
9222
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata;
|
|
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 };
|
|
9223
10424
|
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9230
|
-
*/
|
|
9231
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata;
|
|
10425
|
+
/**
|
|
10426
|
+
* Converts this OrExpression to JSON.
|
|
10427
|
+
* @returns JSON object
|
|
10428
|
+
*/
|
|
10429
|
+
public toJSON(): { [k: string]: any };
|
|
9232
10430
|
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
|
|
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
|
+
}
|
|
9239
10438
|
|
|
9240
|
-
/**
|
|
9241
|
-
|
|
9242
|
-
* @param object Plain object
|
|
9243
|
-
* @returns SummaryWithMetadata
|
|
9244
|
-
*/
|
|
9245
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata;
|
|
10439
|
+
/** Properties of an Expression. */
|
|
10440
|
+
interface IExpression {
|
|
9246
10441
|
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
* @param message SummaryWithMetadata
|
|
9250
|
-
* @param [options] Conversion options
|
|
9251
|
-
* @returns Plain object
|
|
9252
|
-
*/
|
|
9253
|
-
public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10442
|
+
/** Expression stringConstraint */
|
|
10443
|
+
stringConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint|null);
|
|
9254
10444
|
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
* @returns JSON object
|
|
9258
|
-
*/
|
|
9259
|
-
public toJSON(): { [k: string]: any };
|
|
10445
|
+
/** Expression numberConstraint */
|
|
10446
|
+
numberConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint|null);
|
|
9260
10447
|
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9264
|
-
* @returns The default type url
|
|
9265
|
-
*/
|
|
9266
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9267
|
-
}
|
|
10448
|
+
/** Expression geolocationConstraint */
|
|
10449
|
+
geolocationConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint|null);
|
|
9268
10450
|
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
SUMMARY_SKIPPED_REASON_UNSPECIFIED = 0,
|
|
9272
|
-
ADVERSARIAL_QUERY_IGNORED = 1,
|
|
9273
|
-
NON_SUMMARY_SEEKING_QUERY_IGNORED = 2,
|
|
9274
|
-
OUT_OF_DOMAIN_QUERY_IGNORED = 3,
|
|
9275
|
-
POTENTIAL_POLICY_VIOLATION = 4,
|
|
9276
|
-
LLM_ADDON_NOT_ENABLED = 5,
|
|
9277
|
-
NO_RELEVANT_CONTENT = 6,
|
|
9278
|
-
JAIL_BREAKING_QUERY_IGNORED = 7,
|
|
9279
|
-
CUSTOMER_POLICY_VIOLATION = 8,
|
|
9280
|
-
NON_SUMMARY_SEEKING_QUERY_IGNORED_V2 = 9,
|
|
9281
|
-
TIME_OUT = 10
|
|
9282
|
-
}
|
|
9283
|
-
}
|
|
10451
|
+
/** Expression andExpr */
|
|
10452
|
+
andExpr?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression|null);
|
|
9284
10453
|
|
|
9285
|
-
|
|
9286
|
-
|
|
10454
|
+
/** Expression orExpr */
|
|
10455
|
+
orExpr?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression|null);
|
|
10456
|
+
}
|
|
9287
10457
|
|
|
9288
|
-
|
|
9289
|
-
|
|
10458
|
+
/** Represents an Expression. */
|
|
10459
|
+
class Expression implements IExpression {
|
|
9290
10460
|
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
10461
|
+
/**
|
|
10462
|
+
* Constructs a new Expression.
|
|
10463
|
+
* @param [properties] Properties to set
|
|
10464
|
+
*/
|
|
10465
|
+
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression);
|
|
9294
10466
|
|
|
9295
|
-
|
|
9296
|
-
|
|
10467
|
+
/** Expression stringConstraint. */
|
|
10468
|
+
public stringConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint|null);
|
|
9297
10469
|
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
* @param [properties] Properties to set
|
|
9301
|
-
*/
|
|
9302
|
-
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo);
|
|
10470
|
+
/** Expression numberConstraint. */
|
|
10471
|
+
public numberConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint|null);
|
|
9303
10472
|
|
|
9304
|
-
|
|
9305
|
-
|
|
10473
|
+
/** Expression geolocationConstraint. */
|
|
10474
|
+
public geolocationConstraint?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint|null);
|
|
9306
10475
|
|
|
9307
|
-
|
|
9308
|
-
|
|
10476
|
+
/** Expression andExpr. */
|
|
10477
|
+
public andExpr?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression|null);
|
|
9309
10478
|
|
|
9310
|
-
|
|
9311
|
-
|
|
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;
|
|
10479
|
+
/** Expression orExpr. */
|
|
10480
|
+
public orExpr?: (google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression|null);
|
|
9316
10481
|
|
|
9317
|
-
|
|
9318
|
-
|
|
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;
|
|
10482
|
+
/** Expression expr. */
|
|
10483
|
+
public expr?: ("stringConstraint"|"numberConstraint"|"geolocationConstraint"|"andExpr"|"orExpr");
|
|
9324
10484
|
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.IQueryExpansionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
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;
|
|
9332
10491
|
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
*/
|
|
9341
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
|
|
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;
|
|
9342
10499
|
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo;
|
|
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;
|
|
9351
10507
|
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
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;
|
|
9358
10517
|
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
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;
|
|
9365
10526
|
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
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);
|
|
9373
10533
|
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
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;
|
|
9379
10540
|
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
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 };
|
|
10548
|
+
|
|
10549
|
+
/**
|
|
10550
|
+
* Converts this Expression to JSON.
|
|
10551
|
+
* @returns JSON object
|
|
10552
|
+
*/
|
|
10553
|
+
public toJSON(): { [k: string]: any };
|
|
10554
|
+
|
|
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
|
|
|
@@ -109485,6 +110782,9 @@ export namespace google {
|
|
|
109485
110782
|
|
|
109486
110783
|
/** DataStoreSpec filter */
|
|
109487
110784
|
filter?: (string|null);
|
|
110785
|
+
|
|
110786
|
+
/** DataStoreSpec boostSpec */
|
|
110787
|
+
boostSpec?: (google.cloud.discoveryengine.v1beta.SearchRequest.IBoostSpec|null);
|
|
109488
110788
|
}
|
|
109489
110789
|
|
|
109490
110790
|
/** Represents a DataStoreSpec. */
|
|
@@ -109502,6 +110802,9 @@ export namespace google {
|
|
|
109502
110802
|
/** DataStoreSpec filter. */
|
|
109503
110803
|
public filter: string;
|
|
109504
110804
|
|
|
110805
|
+
/** DataStoreSpec boostSpec. */
|
|
110806
|
+
public boostSpec?: (google.cloud.discoveryengine.v1beta.SearchRequest.IBoostSpec|null);
|
|
110807
|
+
|
|
109505
110808
|
/**
|
|
109506
110809
|
* Creates a new DataStoreSpec instance using the specified properties.
|
|
109507
110810
|
* @param [properties] Properties to set
|