@google-cloud/discoveryengine 1.12.0 → 1.13.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/CHANGELOG.md +7 -0
- package/README.md +4 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +55 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +31 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +28 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +7 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +23 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +11 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +6 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +114 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +57 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +407 -11
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +14 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +126 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +3 -0
- package/build/protos/protos.d.ts +3703 -219
- package/build/protos/protos.js +35486 -26672
- package/build/protos/protos.json +844 -46
- package/build/src/v1alpha/completion_service_client.d.ts +91 -0
- package/build/src/v1alpha/completion_service_client.js +90 -0
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +18 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +12 -3
- package/build/src/v1alpha/data_store_service_client.js +8 -2
- package/build/src/v1alpha/document_service_client.d.ts +4 -0
- package/build/src/v1alpha/document_service_client.js +6 -0
- package/build/src/v1alpha/engine_service_client.js +6 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +6 -0
- package/build/src/v1alpha/evaluation_service_client.js +6 -0
- package/build/src/v1alpha/project_service_client.js +6 -0
- package/build/src/v1alpha/sample_query_service_client.js +6 -0
- package/build/src/v1alpha/schema_service_client.js +6 -0
- package/build/src/v1alpha/search_service_client.d.ts +219 -21
- package/build/src/v1alpha/search_service_client.js +146 -14
- package/build/src/v1alpha/search_tuning_service_client.js +6 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +101 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +70 -0
- package/build/src/v1alpha/site_search_engine_service_client_config.json +8 -0
- package/build/src/v1alpha/user_event_service_client.js +6 -0
- package/package.json +2 -2
package/build/protos/protos.d.ts
CHANGED
@@ -32667,6 +32667,9 @@ export namespace google {
|
|
32667
32667
|
|
32668
32668
|
/** Reference chunkInfo */
|
32669
32669
|
chunkInfo?: (google.cloud.discoveryengine.v1alpha.Answer.Reference.IChunkInfo|null);
|
32670
|
+
|
32671
|
+
/** Reference structuredDocumentInfo */
|
32672
|
+
structuredDocumentInfo?: (google.cloud.discoveryengine.v1alpha.Answer.Reference.IStructuredDocumentInfo|null);
|
32670
32673
|
}
|
32671
32674
|
|
32672
32675
|
/** Represents a Reference. */
|
@@ -32684,8 +32687,11 @@ export namespace google {
|
|
32684
32687
|
/** Reference chunkInfo. */
|
32685
32688
|
public chunkInfo?: (google.cloud.discoveryengine.v1alpha.Answer.Reference.IChunkInfo|null);
|
32686
32689
|
|
32690
|
+
/** Reference structuredDocumentInfo. */
|
32691
|
+
public structuredDocumentInfo?: (google.cloud.discoveryengine.v1alpha.Answer.Reference.IStructuredDocumentInfo|null);
|
32692
|
+
|
32687
32693
|
/** Reference content. */
|
32688
|
-
public content?: ("unstructuredDocumentInfo"|"chunkInfo");
|
32694
|
+
public content?: ("unstructuredDocumentInfo"|"chunkInfo"|"structuredDocumentInfo");
|
32689
32695
|
|
32690
32696
|
/**
|
32691
32697
|
* Creates a new Reference instance using the specified properties.
|
@@ -32898,6 +32904,9 @@ export namespace google {
|
|
32898
32904
|
|
32899
32905
|
/** ChunkContent pageIdentifier */
|
32900
32906
|
pageIdentifier?: (string|null);
|
32907
|
+
|
32908
|
+
/** ChunkContent relevanceScore */
|
32909
|
+
relevanceScore?: (number|null);
|
32901
32910
|
}
|
32902
32911
|
|
32903
32912
|
/** Represents a ChunkContent. */
|
@@ -32915,6 +32924,12 @@ export namespace google {
|
|
32915
32924
|
/** ChunkContent pageIdentifier. */
|
32916
32925
|
public pageIdentifier: string;
|
32917
32926
|
|
32927
|
+
/** ChunkContent relevanceScore. */
|
32928
|
+
public relevanceScore?: (number|null);
|
32929
|
+
|
32930
|
+
/** ChunkContent _relevanceScore. */
|
32931
|
+
public _relevanceScore?: "relevanceScore";
|
32932
|
+
|
32918
32933
|
/**
|
32919
32934
|
* Creates a new ChunkContent instance using the specified properties.
|
32920
32935
|
* @param [properties] Properties to set
|
@@ -33235,6 +33250,109 @@ export namespace google {
|
|
33235
33250
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
33236
33251
|
}
|
33237
33252
|
}
|
33253
|
+
|
33254
|
+
/** Properties of a StructuredDocumentInfo. */
|
33255
|
+
interface IStructuredDocumentInfo {
|
33256
|
+
|
33257
|
+
/** StructuredDocumentInfo document */
|
33258
|
+
document?: (string|null);
|
33259
|
+
|
33260
|
+
/** StructuredDocumentInfo structData */
|
33261
|
+
structData?: (google.protobuf.IStruct|null);
|
33262
|
+
}
|
33263
|
+
|
33264
|
+
/** Represents a StructuredDocumentInfo. */
|
33265
|
+
class StructuredDocumentInfo implements IStructuredDocumentInfo {
|
33266
|
+
|
33267
|
+
/**
|
33268
|
+
* Constructs a new StructuredDocumentInfo.
|
33269
|
+
* @param [properties] Properties to set
|
33270
|
+
*/
|
33271
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.Answer.Reference.IStructuredDocumentInfo);
|
33272
|
+
|
33273
|
+
/** StructuredDocumentInfo document. */
|
33274
|
+
public document: string;
|
33275
|
+
|
33276
|
+
/** StructuredDocumentInfo structData. */
|
33277
|
+
public structData?: (google.protobuf.IStruct|null);
|
33278
|
+
|
33279
|
+
/**
|
33280
|
+
* Creates a new StructuredDocumentInfo instance using the specified properties.
|
33281
|
+
* @param [properties] Properties to set
|
33282
|
+
* @returns StructuredDocumentInfo instance
|
33283
|
+
*/
|
33284
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.Answer.Reference.IStructuredDocumentInfo): google.cloud.discoveryengine.v1alpha.Answer.Reference.StructuredDocumentInfo;
|
33285
|
+
|
33286
|
+
/**
|
33287
|
+
* Encodes the specified StructuredDocumentInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.Answer.Reference.StructuredDocumentInfo.verify|verify} messages.
|
33288
|
+
* @param message StructuredDocumentInfo message or plain object to encode
|
33289
|
+
* @param [writer] Writer to encode to
|
33290
|
+
* @returns Writer
|
33291
|
+
*/
|
33292
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.Answer.Reference.IStructuredDocumentInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
33293
|
+
|
33294
|
+
/**
|
33295
|
+
* Encodes the specified StructuredDocumentInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.Answer.Reference.StructuredDocumentInfo.verify|verify} messages.
|
33296
|
+
* @param message StructuredDocumentInfo message or plain object to encode
|
33297
|
+
* @param [writer] Writer to encode to
|
33298
|
+
* @returns Writer
|
33299
|
+
*/
|
33300
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.Answer.Reference.IStructuredDocumentInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
33301
|
+
|
33302
|
+
/**
|
33303
|
+
* Decodes a StructuredDocumentInfo message from the specified reader or buffer.
|
33304
|
+
* @param reader Reader or buffer to decode from
|
33305
|
+
* @param [length] Message length if known beforehand
|
33306
|
+
* @returns StructuredDocumentInfo
|
33307
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
33308
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
33309
|
+
*/
|
33310
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.Answer.Reference.StructuredDocumentInfo;
|
33311
|
+
|
33312
|
+
/**
|
33313
|
+
* Decodes a StructuredDocumentInfo message from the specified reader or buffer, length delimited.
|
33314
|
+
* @param reader Reader or buffer to decode from
|
33315
|
+
* @returns StructuredDocumentInfo
|
33316
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
33317
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
33318
|
+
*/
|
33319
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.Answer.Reference.StructuredDocumentInfo;
|
33320
|
+
|
33321
|
+
/**
|
33322
|
+
* Verifies a StructuredDocumentInfo message.
|
33323
|
+
* @param message Plain object to verify
|
33324
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
33325
|
+
*/
|
33326
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
33327
|
+
|
33328
|
+
/**
|
33329
|
+
* Creates a StructuredDocumentInfo message from a plain object. Also converts values to their respective internal types.
|
33330
|
+
* @param object Plain object
|
33331
|
+
* @returns StructuredDocumentInfo
|
33332
|
+
*/
|
33333
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.Answer.Reference.StructuredDocumentInfo;
|
33334
|
+
|
33335
|
+
/**
|
33336
|
+
* Creates a plain object from a StructuredDocumentInfo message. Also converts values to other types if specified.
|
33337
|
+
* @param message StructuredDocumentInfo
|
33338
|
+
* @param [options] Conversion options
|
33339
|
+
* @returns Plain object
|
33340
|
+
*/
|
33341
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.Answer.Reference.StructuredDocumentInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
33342
|
+
|
33343
|
+
/**
|
33344
|
+
* Converts this StructuredDocumentInfo to JSON.
|
33345
|
+
* @returns JSON object
|
33346
|
+
*/
|
33347
|
+
public toJSON(): { [k: string]: any };
|
33348
|
+
|
33349
|
+
/**
|
33350
|
+
* Gets the default type url for StructuredDocumentInfo
|
33351
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
33352
|
+
* @returns The default type url
|
33353
|
+
*/
|
33354
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
33355
|
+
}
|
33238
33356
|
}
|
33239
33357
|
|
33240
33358
|
/** Properties of a Step. */
|
@@ -33675,6 +33793,9 @@ export namespace google {
|
|
33675
33793
|
|
33676
33794
|
/** SearchResult chunkInfo */
|
33677
33795
|
chunkInfo?: (google.cloud.discoveryengine.v1alpha.Answer.Step.Action.Observation.SearchResult.IChunkInfo[]|null);
|
33796
|
+
|
33797
|
+
/** SearchResult structData */
|
33798
|
+
structData?: (google.protobuf.IStruct|null);
|
33678
33799
|
}
|
33679
33800
|
|
33680
33801
|
/** Represents a SearchResult. */
|
@@ -33701,6 +33822,9 @@ export namespace google {
|
|
33701
33822
|
/** SearchResult chunkInfo. */
|
33702
33823
|
public chunkInfo: google.cloud.discoveryengine.v1alpha.Answer.Step.Action.Observation.SearchResult.IChunkInfo[];
|
33703
33824
|
|
33825
|
+
/** SearchResult structData. */
|
33826
|
+
public structData?: (google.protobuf.IStruct|null);
|
33827
|
+
|
33704
33828
|
/**
|
33705
33829
|
* Creates a new SearchResult instance using the specified properties.
|
33706
33830
|
* @param [properties] Properties to set
|
@@ -34216,7 +34340,8 @@ export namespace google {
|
|
34216
34340
|
enum Type {
|
34217
34341
|
TYPE_UNSPECIFIED = 0,
|
34218
34342
|
ADVERSARIAL_QUERY = 1,
|
34219
|
-
NON_ANSWER_SEEKING_QUERY = 2
|
34343
|
+
NON_ANSWER_SEEKING_QUERY = 2,
|
34344
|
+
JAIL_BREAKING_QUERY = 3
|
34220
34345
|
}
|
34221
34346
|
}
|
34222
34347
|
}
|
@@ -34235,7 +34360,9 @@ export namespace google {
|
|
34235
34360
|
ADVERSARIAL_QUERY_IGNORED = 1,
|
34236
34361
|
NON_ANSWER_SEEKING_QUERY_IGNORED = 2,
|
34237
34362
|
OUT_OF_DOMAIN_QUERY_IGNORED = 3,
|
34238
|
-
POTENTIAL_POLICY_VIOLATION = 4
|
34363
|
+
POTENTIAL_POLICY_VIOLATION = 4,
|
34364
|
+
NO_RELEVANT_CONTENT = 5,
|
34365
|
+
JAIL_BREAKING_QUERY_IGNORED = 6
|
34239
34366
|
}
|
34240
34367
|
}
|
34241
34368
|
|
@@ -35187,6 +35314,142 @@ export namespace google {
|
|
35187
35314
|
}
|
35188
35315
|
}
|
35189
35316
|
|
35317
|
+
/** Properties of a CompletionSuggestion. */
|
35318
|
+
interface ICompletionSuggestion {
|
35319
|
+
|
35320
|
+
/** CompletionSuggestion globalScore */
|
35321
|
+
globalScore?: (number|null);
|
35322
|
+
|
35323
|
+
/** CompletionSuggestion frequency */
|
35324
|
+
frequency?: (number|Long|string|null);
|
35325
|
+
|
35326
|
+
/** CompletionSuggestion suggestion */
|
35327
|
+
suggestion?: (string|null);
|
35328
|
+
|
35329
|
+
/** CompletionSuggestion languageCode */
|
35330
|
+
languageCode?: (string|null);
|
35331
|
+
|
35332
|
+
/** CompletionSuggestion groupId */
|
35333
|
+
groupId?: (string|null);
|
35334
|
+
|
35335
|
+
/** CompletionSuggestion groupScore */
|
35336
|
+
groupScore?: (number|null);
|
35337
|
+
|
35338
|
+
/** CompletionSuggestion alternativePhrases */
|
35339
|
+
alternativePhrases?: (string[]|null);
|
35340
|
+
}
|
35341
|
+
|
35342
|
+
/** Represents a CompletionSuggestion. */
|
35343
|
+
class CompletionSuggestion implements ICompletionSuggestion {
|
35344
|
+
|
35345
|
+
/**
|
35346
|
+
* Constructs a new CompletionSuggestion.
|
35347
|
+
* @param [properties] Properties to set
|
35348
|
+
*/
|
35349
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ICompletionSuggestion);
|
35350
|
+
|
35351
|
+
/** CompletionSuggestion globalScore. */
|
35352
|
+
public globalScore?: (number|null);
|
35353
|
+
|
35354
|
+
/** CompletionSuggestion frequency. */
|
35355
|
+
public frequency?: (number|Long|string|null);
|
35356
|
+
|
35357
|
+
/** CompletionSuggestion suggestion. */
|
35358
|
+
public suggestion: string;
|
35359
|
+
|
35360
|
+
/** CompletionSuggestion languageCode. */
|
35361
|
+
public languageCode: string;
|
35362
|
+
|
35363
|
+
/** CompletionSuggestion groupId. */
|
35364
|
+
public groupId: string;
|
35365
|
+
|
35366
|
+
/** CompletionSuggestion groupScore. */
|
35367
|
+
public groupScore: number;
|
35368
|
+
|
35369
|
+
/** CompletionSuggestion alternativePhrases. */
|
35370
|
+
public alternativePhrases: string[];
|
35371
|
+
|
35372
|
+
/** CompletionSuggestion rankingInfo. */
|
35373
|
+
public rankingInfo?: ("globalScore"|"frequency");
|
35374
|
+
|
35375
|
+
/**
|
35376
|
+
* Creates a new CompletionSuggestion instance using the specified properties.
|
35377
|
+
* @param [properties] Properties to set
|
35378
|
+
* @returns CompletionSuggestion instance
|
35379
|
+
*/
|
35380
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.ICompletionSuggestion): google.cloud.discoveryengine.v1alpha.CompletionSuggestion;
|
35381
|
+
|
35382
|
+
/**
|
35383
|
+
* Encodes the specified CompletionSuggestion message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.CompletionSuggestion.verify|verify} messages.
|
35384
|
+
* @param message CompletionSuggestion message or plain object to encode
|
35385
|
+
* @param [writer] Writer to encode to
|
35386
|
+
* @returns Writer
|
35387
|
+
*/
|
35388
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.ICompletionSuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
35389
|
+
|
35390
|
+
/**
|
35391
|
+
* Encodes the specified CompletionSuggestion message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.CompletionSuggestion.verify|verify} messages.
|
35392
|
+
* @param message CompletionSuggestion message or plain object to encode
|
35393
|
+
* @param [writer] Writer to encode to
|
35394
|
+
* @returns Writer
|
35395
|
+
*/
|
35396
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.ICompletionSuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
35397
|
+
|
35398
|
+
/**
|
35399
|
+
* Decodes a CompletionSuggestion message from the specified reader or buffer.
|
35400
|
+
* @param reader Reader or buffer to decode from
|
35401
|
+
* @param [length] Message length if known beforehand
|
35402
|
+
* @returns CompletionSuggestion
|
35403
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35404
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35405
|
+
*/
|
35406
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.CompletionSuggestion;
|
35407
|
+
|
35408
|
+
/**
|
35409
|
+
* Decodes a CompletionSuggestion message from the specified reader or buffer, length delimited.
|
35410
|
+
* @param reader Reader or buffer to decode from
|
35411
|
+
* @returns CompletionSuggestion
|
35412
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35413
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35414
|
+
*/
|
35415
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.CompletionSuggestion;
|
35416
|
+
|
35417
|
+
/**
|
35418
|
+
* Verifies a CompletionSuggestion message.
|
35419
|
+
* @param message Plain object to verify
|
35420
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
35421
|
+
*/
|
35422
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35423
|
+
|
35424
|
+
/**
|
35425
|
+
* Creates a CompletionSuggestion message from a plain object. Also converts values to their respective internal types.
|
35426
|
+
* @param object Plain object
|
35427
|
+
* @returns CompletionSuggestion
|
35428
|
+
*/
|
35429
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.CompletionSuggestion;
|
35430
|
+
|
35431
|
+
/**
|
35432
|
+
* Creates a plain object from a CompletionSuggestion message. Also converts values to other types if specified.
|
35433
|
+
* @param message CompletionSuggestion
|
35434
|
+
* @param [options] Conversion options
|
35435
|
+
* @returns Plain object
|
35436
|
+
*/
|
35437
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.CompletionSuggestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35438
|
+
|
35439
|
+
/**
|
35440
|
+
* Converts this CompletionSuggestion to JSON.
|
35441
|
+
* @returns JSON object
|
35442
|
+
*/
|
35443
|
+
public toJSON(): { [k: string]: any };
|
35444
|
+
|
35445
|
+
/**
|
35446
|
+
* Gets the default type url for CompletionSuggestion
|
35447
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
35448
|
+
* @returns The default type url
|
35449
|
+
*/
|
35450
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
35451
|
+
}
|
35452
|
+
|
35190
35453
|
/** Represents a CompletionService */
|
35191
35454
|
class CompletionService extends $protobuf.rpc.Service {
|
35192
35455
|
|
@@ -35248,6 +35511,34 @@ export namespace google {
|
|
35248
35511
|
* @returns Promise
|
35249
35512
|
*/
|
35250
35513
|
public purgeSuggestionDenyListEntries(request: google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesRequest): Promise<google.longrunning.Operation>;
|
35514
|
+
|
35515
|
+
/**
|
35516
|
+
* Calls ImportCompletionSuggestions.
|
35517
|
+
* @param request ImportCompletionSuggestionsRequest message or plain object
|
35518
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
35519
|
+
*/
|
35520
|
+
public importCompletionSuggestions(request: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsRequest, callback: google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestionsCallback): void;
|
35521
|
+
|
35522
|
+
/**
|
35523
|
+
* Calls ImportCompletionSuggestions.
|
35524
|
+
* @param request ImportCompletionSuggestionsRequest message or plain object
|
35525
|
+
* @returns Promise
|
35526
|
+
*/
|
35527
|
+
public importCompletionSuggestions(request: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsRequest): Promise<google.longrunning.Operation>;
|
35528
|
+
|
35529
|
+
/**
|
35530
|
+
* Calls PurgeCompletionSuggestions.
|
35531
|
+
* @param request PurgeCompletionSuggestionsRequest message or plain object
|
35532
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
35533
|
+
*/
|
35534
|
+
public purgeCompletionSuggestions(request: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsRequest, callback: google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestionsCallback): void;
|
35535
|
+
|
35536
|
+
/**
|
35537
|
+
* Calls PurgeCompletionSuggestions.
|
35538
|
+
* @param request PurgeCompletionSuggestionsRequest message or plain object
|
35539
|
+
* @returns Promise
|
35540
|
+
*/
|
35541
|
+
public purgeCompletionSuggestions(request: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsRequest): Promise<google.longrunning.Operation>;
|
35251
35542
|
}
|
35252
35543
|
|
35253
35544
|
namespace CompletionService {
|
@@ -35272,6 +35563,20 @@ export namespace google {
|
|
35272
35563
|
* @param [response] Operation
|
35273
35564
|
*/
|
35274
35565
|
type PurgeSuggestionDenyListEntriesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
35566
|
+
|
35567
|
+
/**
|
35568
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1alpha.CompletionService|importCompletionSuggestions}.
|
35569
|
+
* @param error Error, if any
|
35570
|
+
* @param [response] Operation
|
35571
|
+
*/
|
35572
|
+
type ImportCompletionSuggestionsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
35573
|
+
|
35574
|
+
/**
|
35575
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1alpha.CompletionService|purgeCompletionSuggestions}.
|
35576
|
+
* @param error Error, if any
|
35577
|
+
* @param [response] Operation
|
35578
|
+
*/
|
35579
|
+
type PurgeCompletionSuggestionsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
35275
35580
|
}
|
35276
35581
|
|
35277
35582
|
/** Properties of a CompleteQueryRequest. */
|
@@ -36436,6 +36741,9 @@ export namespace google {
|
|
36436
36741
|
|
36437
36742
|
/** FhirStoreSource gcsStagingDir */
|
36438
36743
|
gcsStagingDir?: (string|null);
|
36744
|
+
|
36745
|
+
/** FhirStoreSource resourceTypes */
|
36746
|
+
resourceTypes?: (string[]|null);
|
36439
36747
|
}
|
36440
36748
|
|
36441
36749
|
/** Represents a FhirStoreSource. */
|
@@ -36453,6 +36761,9 @@ export namespace google {
|
|
36453
36761
|
/** FhirStoreSource gcsStagingDir. */
|
36454
36762
|
public gcsStagingDir: string;
|
36455
36763
|
|
36764
|
+
/** FhirStoreSource resourceTypes. */
|
36765
|
+
public resourceTypes: string[];
|
36766
|
+
|
36456
36767
|
/**
|
36457
36768
|
* Creates a new FhirStoreSource instance using the specified properties.
|
36458
36769
|
* @param [properties] Properties to set
|
@@ -36658,6 +36969,133 @@ export namespace google {
|
|
36658
36969
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
36659
36970
|
}
|
36660
36971
|
|
36972
|
+
/** Properties of an AlloyDbSource. */
|
36973
|
+
interface IAlloyDbSource {
|
36974
|
+
|
36975
|
+
/** AlloyDbSource projectId */
|
36976
|
+
projectId?: (string|null);
|
36977
|
+
|
36978
|
+
/** AlloyDbSource locationId */
|
36979
|
+
locationId?: (string|null);
|
36980
|
+
|
36981
|
+
/** AlloyDbSource clusterId */
|
36982
|
+
clusterId?: (string|null);
|
36983
|
+
|
36984
|
+
/** AlloyDbSource databaseId */
|
36985
|
+
databaseId?: (string|null);
|
36986
|
+
|
36987
|
+
/** AlloyDbSource tableId */
|
36988
|
+
tableId?: (string|null);
|
36989
|
+
|
36990
|
+
/** AlloyDbSource gcsStagingDir */
|
36991
|
+
gcsStagingDir?: (string|null);
|
36992
|
+
}
|
36993
|
+
|
36994
|
+
/** Represents an AlloyDbSource. */
|
36995
|
+
class AlloyDbSource implements IAlloyDbSource {
|
36996
|
+
|
36997
|
+
/**
|
36998
|
+
* Constructs a new AlloyDbSource.
|
36999
|
+
* @param [properties] Properties to set
|
37000
|
+
*/
|
37001
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IAlloyDbSource);
|
37002
|
+
|
37003
|
+
/** AlloyDbSource projectId. */
|
37004
|
+
public projectId: string;
|
37005
|
+
|
37006
|
+
/** AlloyDbSource locationId. */
|
37007
|
+
public locationId: string;
|
37008
|
+
|
37009
|
+
/** AlloyDbSource clusterId. */
|
37010
|
+
public clusterId: string;
|
37011
|
+
|
37012
|
+
/** AlloyDbSource databaseId. */
|
37013
|
+
public databaseId: string;
|
37014
|
+
|
37015
|
+
/** AlloyDbSource tableId. */
|
37016
|
+
public tableId: string;
|
37017
|
+
|
37018
|
+
/** AlloyDbSource gcsStagingDir. */
|
37019
|
+
public gcsStagingDir: string;
|
37020
|
+
|
37021
|
+
/**
|
37022
|
+
* Creates a new AlloyDbSource instance using the specified properties.
|
37023
|
+
* @param [properties] Properties to set
|
37024
|
+
* @returns AlloyDbSource instance
|
37025
|
+
*/
|
37026
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IAlloyDbSource): google.cloud.discoveryengine.v1alpha.AlloyDbSource;
|
37027
|
+
|
37028
|
+
/**
|
37029
|
+
* Encodes the specified AlloyDbSource message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.AlloyDbSource.verify|verify} messages.
|
37030
|
+
* @param message AlloyDbSource message or plain object to encode
|
37031
|
+
* @param [writer] Writer to encode to
|
37032
|
+
* @returns Writer
|
37033
|
+
*/
|
37034
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IAlloyDbSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
37035
|
+
|
37036
|
+
/**
|
37037
|
+
* Encodes the specified AlloyDbSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.AlloyDbSource.verify|verify} messages.
|
37038
|
+
* @param message AlloyDbSource message or plain object to encode
|
37039
|
+
* @param [writer] Writer to encode to
|
37040
|
+
* @returns Writer
|
37041
|
+
*/
|
37042
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IAlloyDbSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
37043
|
+
|
37044
|
+
/**
|
37045
|
+
* Decodes an AlloyDbSource message from the specified reader or buffer.
|
37046
|
+
* @param reader Reader or buffer to decode from
|
37047
|
+
* @param [length] Message length if known beforehand
|
37048
|
+
* @returns AlloyDbSource
|
37049
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37050
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37051
|
+
*/
|
37052
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.AlloyDbSource;
|
37053
|
+
|
37054
|
+
/**
|
37055
|
+
* Decodes an AlloyDbSource message from the specified reader or buffer, length delimited.
|
37056
|
+
* @param reader Reader or buffer to decode from
|
37057
|
+
* @returns AlloyDbSource
|
37058
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37059
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37060
|
+
*/
|
37061
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.AlloyDbSource;
|
37062
|
+
|
37063
|
+
/**
|
37064
|
+
* Verifies an AlloyDbSource message.
|
37065
|
+
* @param message Plain object to verify
|
37066
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37067
|
+
*/
|
37068
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37069
|
+
|
37070
|
+
/**
|
37071
|
+
* Creates an AlloyDbSource message from a plain object. Also converts values to their respective internal types.
|
37072
|
+
* @param object Plain object
|
37073
|
+
* @returns AlloyDbSource
|
37074
|
+
*/
|
37075
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.AlloyDbSource;
|
37076
|
+
|
37077
|
+
/**
|
37078
|
+
* Creates a plain object from an AlloyDbSource message. Also converts values to other types if specified.
|
37079
|
+
* @param message AlloyDbSource
|
37080
|
+
* @param [options] Conversion options
|
37081
|
+
* @returns Plain object
|
37082
|
+
*/
|
37083
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.AlloyDbSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37084
|
+
|
37085
|
+
/**
|
37086
|
+
* Converts this AlloyDbSource to JSON.
|
37087
|
+
* @returns JSON object
|
37088
|
+
*/
|
37089
|
+
public toJSON(): { [k: string]: any };
|
37090
|
+
|
37091
|
+
/**
|
37092
|
+
* Gets the default type url for AlloyDbSource
|
37093
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
37094
|
+
* @returns The default type url
|
37095
|
+
*/
|
37096
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
37097
|
+
}
|
37098
|
+
|
36661
37099
|
/** Properties of a FirestoreSource. */
|
36662
37100
|
interface IFirestoreSource {
|
36663
37101
|
|
@@ -37472,6 +37910,9 @@ export namespace google {
|
|
37472
37910
|
/** ImportDocumentsRequest firestoreSource */
|
37473
37911
|
firestoreSource?: (google.cloud.discoveryengine.v1alpha.IFirestoreSource|null);
|
37474
37912
|
|
37913
|
+
/** ImportDocumentsRequest alloyDbSource */
|
37914
|
+
alloyDbSource?: (google.cloud.discoveryengine.v1alpha.IAlloyDbSource|null);
|
37915
|
+
|
37475
37916
|
/** ImportDocumentsRequest bigtableSource */
|
37476
37917
|
bigtableSource?: (google.cloud.discoveryengine.v1alpha.IBigtableSource|null);
|
37477
37918
|
|
@@ -37524,6 +37965,9 @@ export namespace google {
|
|
37524
37965
|
/** ImportDocumentsRequest firestoreSource. */
|
37525
37966
|
public firestoreSource?: (google.cloud.discoveryengine.v1alpha.IFirestoreSource|null);
|
37526
37967
|
|
37968
|
+
/** ImportDocumentsRequest alloyDbSource. */
|
37969
|
+
public alloyDbSource?: (google.cloud.discoveryengine.v1alpha.IAlloyDbSource|null);
|
37970
|
+
|
37527
37971
|
/** ImportDocumentsRequest bigtableSource. */
|
37528
37972
|
public bigtableSource?: (google.cloud.discoveryengine.v1alpha.IBigtableSource|null);
|
37529
37973
|
|
@@ -37546,7 +37990,7 @@ export namespace google {
|
|
37546
37990
|
public idField: string;
|
37547
37991
|
|
37548
37992
|
/** ImportDocumentsRequest source. */
|
37549
|
-
public source?: ("inlineSource"|"gcsSource"|"bigquerySource"|"fhirStoreSource"|"spannerSource"|"cloudSqlSource"|"firestoreSource"|"bigtableSource");
|
37993
|
+
public source?: ("inlineSource"|"gcsSource"|"bigquerySource"|"fhirStoreSource"|"spannerSource"|"cloudSqlSource"|"firestoreSource"|"alloyDbSource"|"bigtableSource");
|
37550
37994
|
|
37551
37995
|
/**
|
37552
37996
|
* Creates a new ImportDocumentsRequest instance using the specified properties.
|
@@ -38260,6 +38704,448 @@ export namespace google {
|
|
38260
38704
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
38261
38705
|
}
|
38262
38706
|
|
38707
|
+
/** Properties of an ImportCompletionSuggestionsRequest. */
|
38708
|
+
interface IImportCompletionSuggestionsRequest {
|
38709
|
+
|
38710
|
+
/** ImportCompletionSuggestionsRequest inlineSource */
|
38711
|
+
inlineSource?: (google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.IInlineSource|null);
|
38712
|
+
|
38713
|
+
/** ImportCompletionSuggestionsRequest gcsSource */
|
38714
|
+
gcsSource?: (google.cloud.discoveryengine.v1alpha.IGcsSource|null);
|
38715
|
+
|
38716
|
+
/** ImportCompletionSuggestionsRequest bigquerySource */
|
38717
|
+
bigquerySource?: (google.cloud.discoveryengine.v1alpha.IBigQuerySource|null);
|
38718
|
+
|
38719
|
+
/** ImportCompletionSuggestionsRequest parent */
|
38720
|
+
parent?: (string|null);
|
38721
|
+
|
38722
|
+
/** ImportCompletionSuggestionsRequest errorConfig */
|
38723
|
+
errorConfig?: (google.cloud.discoveryengine.v1alpha.IImportErrorConfig|null);
|
38724
|
+
}
|
38725
|
+
|
38726
|
+
/** Represents an ImportCompletionSuggestionsRequest. */
|
38727
|
+
class ImportCompletionSuggestionsRequest implements IImportCompletionSuggestionsRequest {
|
38728
|
+
|
38729
|
+
/**
|
38730
|
+
* Constructs a new ImportCompletionSuggestionsRequest.
|
38731
|
+
* @param [properties] Properties to set
|
38732
|
+
*/
|
38733
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsRequest);
|
38734
|
+
|
38735
|
+
/** ImportCompletionSuggestionsRequest inlineSource. */
|
38736
|
+
public inlineSource?: (google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.IInlineSource|null);
|
38737
|
+
|
38738
|
+
/** ImportCompletionSuggestionsRequest gcsSource. */
|
38739
|
+
public gcsSource?: (google.cloud.discoveryengine.v1alpha.IGcsSource|null);
|
38740
|
+
|
38741
|
+
/** ImportCompletionSuggestionsRequest bigquerySource. */
|
38742
|
+
public bigquerySource?: (google.cloud.discoveryengine.v1alpha.IBigQuerySource|null);
|
38743
|
+
|
38744
|
+
/** ImportCompletionSuggestionsRequest parent. */
|
38745
|
+
public parent: string;
|
38746
|
+
|
38747
|
+
/** ImportCompletionSuggestionsRequest errorConfig. */
|
38748
|
+
public errorConfig?: (google.cloud.discoveryengine.v1alpha.IImportErrorConfig|null);
|
38749
|
+
|
38750
|
+
/** ImportCompletionSuggestionsRequest source. */
|
38751
|
+
public source?: ("inlineSource"|"gcsSource"|"bigquerySource");
|
38752
|
+
|
38753
|
+
/**
|
38754
|
+
* Creates a new ImportCompletionSuggestionsRequest instance using the specified properties.
|
38755
|
+
* @param [properties] Properties to set
|
38756
|
+
* @returns ImportCompletionSuggestionsRequest instance
|
38757
|
+
*/
|
38758
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsRequest): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest;
|
38759
|
+
|
38760
|
+
/**
|
38761
|
+
* Encodes the specified ImportCompletionSuggestionsRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.verify|verify} messages.
|
38762
|
+
* @param message ImportCompletionSuggestionsRequest message or plain object to encode
|
38763
|
+
* @param [writer] Writer to encode to
|
38764
|
+
* @returns Writer
|
38765
|
+
*/
|
38766
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
38767
|
+
|
38768
|
+
/**
|
38769
|
+
* Encodes the specified ImportCompletionSuggestionsRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.verify|verify} messages.
|
38770
|
+
* @param message ImportCompletionSuggestionsRequest message or plain object to encode
|
38771
|
+
* @param [writer] Writer to encode to
|
38772
|
+
* @returns Writer
|
38773
|
+
*/
|
38774
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
38775
|
+
|
38776
|
+
/**
|
38777
|
+
* Decodes an ImportCompletionSuggestionsRequest message from the specified reader or buffer.
|
38778
|
+
* @param reader Reader or buffer to decode from
|
38779
|
+
* @param [length] Message length if known beforehand
|
38780
|
+
* @returns ImportCompletionSuggestionsRequest
|
38781
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38782
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38783
|
+
*/
|
38784
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest;
|
38785
|
+
|
38786
|
+
/**
|
38787
|
+
* Decodes an ImportCompletionSuggestionsRequest message from the specified reader or buffer, length delimited.
|
38788
|
+
* @param reader Reader or buffer to decode from
|
38789
|
+
* @returns ImportCompletionSuggestionsRequest
|
38790
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38791
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38792
|
+
*/
|
38793
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest;
|
38794
|
+
|
38795
|
+
/**
|
38796
|
+
* Verifies an ImportCompletionSuggestionsRequest message.
|
38797
|
+
* @param message Plain object to verify
|
38798
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
38799
|
+
*/
|
38800
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
38801
|
+
|
38802
|
+
/**
|
38803
|
+
* Creates an ImportCompletionSuggestionsRequest message from a plain object. Also converts values to their respective internal types.
|
38804
|
+
* @param object Plain object
|
38805
|
+
* @returns ImportCompletionSuggestionsRequest
|
38806
|
+
*/
|
38807
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest;
|
38808
|
+
|
38809
|
+
/**
|
38810
|
+
* Creates a plain object from an ImportCompletionSuggestionsRequest message. Also converts values to other types if specified.
|
38811
|
+
* @param message ImportCompletionSuggestionsRequest
|
38812
|
+
* @param [options] Conversion options
|
38813
|
+
* @returns Plain object
|
38814
|
+
*/
|
38815
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
38816
|
+
|
38817
|
+
/**
|
38818
|
+
* Converts this ImportCompletionSuggestionsRequest to JSON.
|
38819
|
+
* @returns JSON object
|
38820
|
+
*/
|
38821
|
+
public toJSON(): { [k: string]: any };
|
38822
|
+
|
38823
|
+
/**
|
38824
|
+
* Gets the default type url for ImportCompletionSuggestionsRequest
|
38825
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
38826
|
+
* @returns The default type url
|
38827
|
+
*/
|
38828
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
38829
|
+
}
|
38830
|
+
|
38831
|
+
namespace ImportCompletionSuggestionsRequest {
|
38832
|
+
|
38833
|
+
/** Properties of an InlineSource. */
|
38834
|
+
interface IInlineSource {
|
38835
|
+
|
38836
|
+
/** InlineSource suggestions */
|
38837
|
+
suggestions?: (google.cloud.discoveryengine.v1alpha.ICompletionSuggestion[]|null);
|
38838
|
+
}
|
38839
|
+
|
38840
|
+
/** Represents an InlineSource. */
|
38841
|
+
class InlineSource implements IInlineSource {
|
38842
|
+
|
38843
|
+
/**
|
38844
|
+
* Constructs a new InlineSource.
|
38845
|
+
* @param [properties] Properties to set
|
38846
|
+
*/
|
38847
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.IInlineSource);
|
38848
|
+
|
38849
|
+
/** InlineSource suggestions. */
|
38850
|
+
public suggestions: google.cloud.discoveryengine.v1alpha.ICompletionSuggestion[];
|
38851
|
+
|
38852
|
+
/**
|
38853
|
+
* Creates a new InlineSource instance using the specified properties.
|
38854
|
+
* @param [properties] Properties to set
|
38855
|
+
* @returns InlineSource instance
|
38856
|
+
*/
|
38857
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.IInlineSource): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource;
|
38858
|
+
|
38859
|
+
/**
|
38860
|
+
* Encodes the specified InlineSource message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource.verify|verify} messages.
|
38861
|
+
* @param message InlineSource message or plain object to encode
|
38862
|
+
* @param [writer] Writer to encode to
|
38863
|
+
* @returns Writer
|
38864
|
+
*/
|
38865
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
38866
|
+
|
38867
|
+
/**
|
38868
|
+
* Encodes the specified InlineSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource.verify|verify} messages.
|
38869
|
+
* @param message InlineSource message or plain object to encode
|
38870
|
+
* @param [writer] Writer to encode to
|
38871
|
+
* @returns Writer
|
38872
|
+
*/
|
38873
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
38874
|
+
|
38875
|
+
/**
|
38876
|
+
* Decodes an InlineSource message from the specified reader or buffer.
|
38877
|
+
* @param reader Reader or buffer to decode from
|
38878
|
+
* @param [length] Message length if known beforehand
|
38879
|
+
* @returns InlineSource
|
38880
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38881
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38882
|
+
*/
|
38883
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource;
|
38884
|
+
|
38885
|
+
/**
|
38886
|
+
* Decodes an InlineSource message from the specified reader or buffer, length delimited.
|
38887
|
+
* @param reader Reader or buffer to decode from
|
38888
|
+
* @returns InlineSource
|
38889
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38890
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38891
|
+
*/
|
38892
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource;
|
38893
|
+
|
38894
|
+
/**
|
38895
|
+
* Verifies an InlineSource message.
|
38896
|
+
* @param message Plain object to verify
|
38897
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
38898
|
+
*/
|
38899
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
38900
|
+
|
38901
|
+
/**
|
38902
|
+
* Creates an InlineSource message from a plain object. Also converts values to their respective internal types.
|
38903
|
+
* @param object Plain object
|
38904
|
+
* @returns InlineSource
|
38905
|
+
*/
|
38906
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource;
|
38907
|
+
|
38908
|
+
/**
|
38909
|
+
* Creates a plain object from an InlineSource message. Also converts values to other types if specified.
|
38910
|
+
* @param message InlineSource
|
38911
|
+
* @param [options] Conversion options
|
38912
|
+
* @returns Plain object
|
38913
|
+
*/
|
38914
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
38915
|
+
|
38916
|
+
/**
|
38917
|
+
* Converts this InlineSource to JSON.
|
38918
|
+
* @returns JSON object
|
38919
|
+
*/
|
38920
|
+
public toJSON(): { [k: string]: any };
|
38921
|
+
|
38922
|
+
/**
|
38923
|
+
* Gets the default type url for InlineSource
|
38924
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
38925
|
+
* @returns The default type url
|
38926
|
+
*/
|
38927
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
38928
|
+
}
|
38929
|
+
}
|
38930
|
+
|
38931
|
+
/** Properties of an ImportCompletionSuggestionsResponse. */
|
38932
|
+
interface IImportCompletionSuggestionsResponse {
|
38933
|
+
|
38934
|
+
/** ImportCompletionSuggestionsResponse errorSamples */
|
38935
|
+
errorSamples?: (google.rpc.IStatus[]|null);
|
38936
|
+
|
38937
|
+
/** ImportCompletionSuggestionsResponse errorConfig */
|
38938
|
+
errorConfig?: (google.cloud.discoveryengine.v1alpha.IImportErrorConfig|null);
|
38939
|
+
}
|
38940
|
+
|
38941
|
+
/** Represents an ImportCompletionSuggestionsResponse. */
|
38942
|
+
class ImportCompletionSuggestionsResponse implements IImportCompletionSuggestionsResponse {
|
38943
|
+
|
38944
|
+
/**
|
38945
|
+
* Constructs a new ImportCompletionSuggestionsResponse.
|
38946
|
+
* @param [properties] Properties to set
|
38947
|
+
*/
|
38948
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsResponse);
|
38949
|
+
|
38950
|
+
/** ImportCompletionSuggestionsResponse errorSamples. */
|
38951
|
+
public errorSamples: google.rpc.IStatus[];
|
38952
|
+
|
38953
|
+
/** ImportCompletionSuggestionsResponse errorConfig. */
|
38954
|
+
public errorConfig?: (google.cloud.discoveryengine.v1alpha.IImportErrorConfig|null);
|
38955
|
+
|
38956
|
+
/**
|
38957
|
+
* Creates a new ImportCompletionSuggestionsResponse instance using the specified properties.
|
38958
|
+
* @param [properties] Properties to set
|
38959
|
+
* @returns ImportCompletionSuggestionsResponse instance
|
38960
|
+
*/
|
38961
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsResponse): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse;
|
38962
|
+
|
38963
|
+
/**
|
38964
|
+
* Encodes the specified ImportCompletionSuggestionsResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse.verify|verify} messages.
|
38965
|
+
* @param message ImportCompletionSuggestionsResponse message or plain object to encode
|
38966
|
+
* @param [writer] Writer to encode to
|
38967
|
+
* @returns Writer
|
38968
|
+
*/
|
38969
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
38970
|
+
|
38971
|
+
/**
|
38972
|
+
* Encodes the specified ImportCompletionSuggestionsResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse.verify|verify} messages.
|
38973
|
+
* @param message ImportCompletionSuggestionsResponse message or plain object to encode
|
38974
|
+
* @param [writer] Writer to encode to
|
38975
|
+
* @returns Writer
|
38976
|
+
*/
|
38977
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
38978
|
+
|
38979
|
+
/**
|
38980
|
+
* Decodes an ImportCompletionSuggestionsResponse message from the specified reader or buffer.
|
38981
|
+
* @param reader Reader or buffer to decode from
|
38982
|
+
* @param [length] Message length if known beforehand
|
38983
|
+
* @returns ImportCompletionSuggestionsResponse
|
38984
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38985
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38986
|
+
*/
|
38987
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse;
|
38988
|
+
|
38989
|
+
/**
|
38990
|
+
* Decodes an ImportCompletionSuggestionsResponse message from the specified reader or buffer, length delimited.
|
38991
|
+
* @param reader Reader or buffer to decode from
|
38992
|
+
* @returns ImportCompletionSuggestionsResponse
|
38993
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38994
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38995
|
+
*/
|
38996
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse;
|
38997
|
+
|
38998
|
+
/**
|
38999
|
+
* Verifies an ImportCompletionSuggestionsResponse message.
|
39000
|
+
* @param message Plain object to verify
|
39001
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
39002
|
+
*/
|
39003
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
39004
|
+
|
39005
|
+
/**
|
39006
|
+
* Creates an ImportCompletionSuggestionsResponse message from a plain object. Also converts values to their respective internal types.
|
39007
|
+
* @param object Plain object
|
39008
|
+
* @returns ImportCompletionSuggestionsResponse
|
39009
|
+
*/
|
39010
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse;
|
39011
|
+
|
39012
|
+
/**
|
39013
|
+
* Creates a plain object from an ImportCompletionSuggestionsResponse message. Also converts values to other types if specified.
|
39014
|
+
* @param message ImportCompletionSuggestionsResponse
|
39015
|
+
* @param [options] Conversion options
|
39016
|
+
* @returns Plain object
|
39017
|
+
*/
|
39018
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
39019
|
+
|
39020
|
+
/**
|
39021
|
+
* Converts this ImportCompletionSuggestionsResponse to JSON.
|
39022
|
+
* @returns JSON object
|
39023
|
+
*/
|
39024
|
+
public toJSON(): { [k: string]: any };
|
39025
|
+
|
39026
|
+
/**
|
39027
|
+
* Gets the default type url for ImportCompletionSuggestionsResponse
|
39028
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
39029
|
+
* @returns The default type url
|
39030
|
+
*/
|
39031
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
39032
|
+
}
|
39033
|
+
|
39034
|
+
/** Properties of an ImportCompletionSuggestionsMetadata. */
|
39035
|
+
interface IImportCompletionSuggestionsMetadata {
|
39036
|
+
|
39037
|
+
/** ImportCompletionSuggestionsMetadata createTime */
|
39038
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
39039
|
+
|
39040
|
+
/** ImportCompletionSuggestionsMetadata updateTime */
|
39041
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
39042
|
+
|
39043
|
+
/** ImportCompletionSuggestionsMetadata successCount */
|
39044
|
+
successCount?: (number|Long|string|null);
|
39045
|
+
|
39046
|
+
/** ImportCompletionSuggestionsMetadata failureCount */
|
39047
|
+
failureCount?: (number|Long|string|null);
|
39048
|
+
}
|
39049
|
+
|
39050
|
+
/** Represents an ImportCompletionSuggestionsMetadata. */
|
39051
|
+
class ImportCompletionSuggestionsMetadata implements IImportCompletionSuggestionsMetadata {
|
39052
|
+
|
39053
|
+
/**
|
39054
|
+
* Constructs a new ImportCompletionSuggestionsMetadata.
|
39055
|
+
* @param [properties] Properties to set
|
39056
|
+
*/
|
39057
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsMetadata);
|
39058
|
+
|
39059
|
+
/** ImportCompletionSuggestionsMetadata createTime. */
|
39060
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
39061
|
+
|
39062
|
+
/** ImportCompletionSuggestionsMetadata updateTime. */
|
39063
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
39064
|
+
|
39065
|
+
/** ImportCompletionSuggestionsMetadata successCount. */
|
39066
|
+
public successCount: (number|Long|string);
|
39067
|
+
|
39068
|
+
/** ImportCompletionSuggestionsMetadata failureCount. */
|
39069
|
+
public failureCount: (number|Long|string);
|
39070
|
+
|
39071
|
+
/**
|
39072
|
+
* Creates a new ImportCompletionSuggestionsMetadata instance using the specified properties.
|
39073
|
+
* @param [properties] Properties to set
|
39074
|
+
* @returns ImportCompletionSuggestionsMetadata instance
|
39075
|
+
*/
|
39076
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsMetadata): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata;
|
39077
|
+
|
39078
|
+
/**
|
39079
|
+
* Encodes the specified ImportCompletionSuggestionsMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata.verify|verify} messages.
|
39080
|
+
* @param message ImportCompletionSuggestionsMetadata message or plain object to encode
|
39081
|
+
* @param [writer] Writer to encode to
|
39082
|
+
* @returns Writer
|
39083
|
+
*/
|
39084
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
39085
|
+
|
39086
|
+
/**
|
39087
|
+
* Encodes the specified ImportCompletionSuggestionsMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata.verify|verify} messages.
|
39088
|
+
* @param message ImportCompletionSuggestionsMetadata message or plain object to encode
|
39089
|
+
* @param [writer] Writer to encode to
|
39090
|
+
* @returns Writer
|
39091
|
+
*/
|
39092
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
39093
|
+
|
39094
|
+
/**
|
39095
|
+
* Decodes an ImportCompletionSuggestionsMetadata message from the specified reader or buffer.
|
39096
|
+
* @param reader Reader or buffer to decode from
|
39097
|
+
* @param [length] Message length if known beforehand
|
39098
|
+
* @returns ImportCompletionSuggestionsMetadata
|
39099
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
39100
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
39101
|
+
*/
|
39102
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata;
|
39103
|
+
|
39104
|
+
/**
|
39105
|
+
* Decodes an ImportCompletionSuggestionsMetadata message from the specified reader or buffer, length delimited.
|
39106
|
+
* @param reader Reader or buffer to decode from
|
39107
|
+
* @returns ImportCompletionSuggestionsMetadata
|
39108
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
39109
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
39110
|
+
*/
|
39111
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata;
|
39112
|
+
|
39113
|
+
/**
|
39114
|
+
* Verifies an ImportCompletionSuggestionsMetadata message.
|
39115
|
+
* @param message Plain object to verify
|
39116
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
39117
|
+
*/
|
39118
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
39119
|
+
|
39120
|
+
/**
|
39121
|
+
* Creates an ImportCompletionSuggestionsMetadata message from a plain object. Also converts values to their respective internal types.
|
39122
|
+
* @param object Plain object
|
39123
|
+
* @returns ImportCompletionSuggestionsMetadata
|
39124
|
+
*/
|
39125
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata;
|
39126
|
+
|
39127
|
+
/**
|
39128
|
+
* Creates a plain object from an ImportCompletionSuggestionsMetadata message. Also converts values to other types if specified.
|
39129
|
+
* @param message ImportCompletionSuggestionsMetadata
|
39130
|
+
* @param [options] Conversion options
|
39131
|
+
* @returns Plain object
|
39132
|
+
*/
|
39133
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
39134
|
+
|
39135
|
+
/**
|
39136
|
+
* Converts this ImportCompletionSuggestionsMetadata to JSON.
|
39137
|
+
* @returns JSON object
|
39138
|
+
*/
|
39139
|
+
public toJSON(): { [k: string]: any };
|
39140
|
+
|
39141
|
+
/**
|
39142
|
+
* Gets the default type url for ImportCompletionSuggestionsMetadata
|
39143
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
39144
|
+
* @returns The default type url
|
39145
|
+
*/
|
39146
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
39147
|
+
}
|
39148
|
+
|
38263
39149
|
/** Properties of an ImportSampleQueriesRequest. */
|
38264
39150
|
interface IImportSampleQueriesRequest {
|
38265
39151
|
|
@@ -39080,6 +39966,9 @@ export namespace google {
|
|
39080
39966
|
|
39081
39967
|
/** AccessRestriction principals */
|
39082
39968
|
principals?: (google.cloud.discoveryengine.v1alpha.IPrincipal[]|null);
|
39969
|
+
|
39970
|
+
/** AccessRestriction idpWide */
|
39971
|
+
idpWide?: (boolean|null);
|
39083
39972
|
}
|
39084
39973
|
|
39085
39974
|
/** Represents an AccessRestriction. */
|
@@ -39094,6 +39983,9 @@ export namespace google {
|
|
39094
39983
|
/** AccessRestriction principals. */
|
39095
39984
|
public principals: google.cloud.discoveryengine.v1alpha.IPrincipal[];
|
39096
39985
|
|
39986
|
+
/** AccessRestriction idpWide. */
|
39987
|
+
public idpWide: boolean;
|
39988
|
+
|
39097
39989
|
/**
|
39098
39990
|
* Creates a new AccessRestriction instance using the specified properties.
|
39099
39991
|
* @param [properties] Properties to set
|
@@ -41074,6 +41966,9 @@ export namespace google {
|
|
41074
41966
|
/** PurgeDocumentsRequest gcsSource */
|
41075
41967
|
gcsSource?: (google.cloud.discoveryengine.v1alpha.IGcsSource|null);
|
41076
41968
|
|
41969
|
+
/** PurgeDocumentsRequest inlineSource */
|
41970
|
+
inlineSource?: (google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.IInlineSource|null);
|
41971
|
+
|
41077
41972
|
/** PurgeDocumentsRequest parent */
|
41078
41973
|
parent?: (string|null);
|
41079
41974
|
|
@@ -41099,6 +41994,9 @@ export namespace google {
|
|
41099
41994
|
/** PurgeDocumentsRequest gcsSource. */
|
41100
41995
|
public gcsSource?: (google.cloud.discoveryengine.v1alpha.IGcsSource|null);
|
41101
41996
|
|
41997
|
+
/** PurgeDocumentsRequest inlineSource. */
|
41998
|
+
public inlineSource?: (google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.IInlineSource|null);
|
41999
|
+
|
41102
42000
|
/** PurgeDocumentsRequest parent. */
|
41103
42001
|
public parent: string;
|
41104
42002
|
|
@@ -41112,7 +42010,7 @@ export namespace google {
|
|
41112
42010
|
public force: boolean;
|
41113
42011
|
|
41114
42012
|
/** PurgeDocumentsRequest source. */
|
41115
|
-
public source?: "gcsSource";
|
42013
|
+
public source?: ("gcsSource"|"inlineSource");
|
41116
42014
|
|
41117
42015
|
/**
|
41118
42016
|
* Creates a new PurgeDocumentsRequest instance using the specified properties.
|
@@ -41192,6 +42090,106 @@ export namespace google {
|
|
41192
42090
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
41193
42091
|
}
|
41194
42092
|
|
42093
|
+
namespace PurgeDocumentsRequest {
|
42094
|
+
|
42095
|
+
/** Properties of an InlineSource. */
|
42096
|
+
interface IInlineSource {
|
42097
|
+
|
42098
|
+
/** InlineSource documents */
|
42099
|
+
documents?: (string[]|null);
|
42100
|
+
}
|
42101
|
+
|
42102
|
+
/** Represents an InlineSource. */
|
42103
|
+
class InlineSource implements IInlineSource {
|
42104
|
+
|
42105
|
+
/**
|
42106
|
+
* Constructs a new InlineSource.
|
42107
|
+
* @param [properties] Properties to set
|
42108
|
+
*/
|
42109
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.IInlineSource);
|
42110
|
+
|
42111
|
+
/** InlineSource documents. */
|
42112
|
+
public documents: string[];
|
42113
|
+
|
42114
|
+
/**
|
42115
|
+
* Creates a new InlineSource instance using the specified properties.
|
42116
|
+
* @param [properties] Properties to set
|
42117
|
+
* @returns InlineSource instance
|
42118
|
+
*/
|
42119
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.IInlineSource): google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource;
|
42120
|
+
|
42121
|
+
/**
|
42122
|
+
* Encodes the specified InlineSource message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource.verify|verify} messages.
|
42123
|
+
* @param message InlineSource message or plain object to encode
|
42124
|
+
* @param [writer] Writer to encode to
|
42125
|
+
* @returns Writer
|
42126
|
+
*/
|
42127
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
42128
|
+
|
42129
|
+
/**
|
42130
|
+
* Encodes the specified InlineSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource.verify|verify} messages.
|
42131
|
+
* @param message InlineSource message or plain object to encode
|
42132
|
+
* @param [writer] Writer to encode to
|
42133
|
+
* @returns Writer
|
42134
|
+
*/
|
42135
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
42136
|
+
|
42137
|
+
/**
|
42138
|
+
* Decodes an InlineSource message from the specified reader or buffer.
|
42139
|
+
* @param reader Reader or buffer to decode from
|
42140
|
+
* @param [length] Message length if known beforehand
|
42141
|
+
* @returns InlineSource
|
42142
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
42143
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
42144
|
+
*/
|
42145
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource;
|
42146
|
+
|
42147
|
+
/**
|
42148
|
+
* Decodes an InlineSource message from the specified reader or buffer, length delimited.
|
42149
|
+
* @param reader Reader or buffer to decode from
|
42150
|
+
* @returns InlineSource
|
42151
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
42152
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
42153
|
+
*/
|
42154
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource;
|
42155
|
+
|
42156
|
+
/**
|
42157
|
+
* Verifies an InlineSource message.
|
42158
|
+
* @param message Plain object to verify
|
42159
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
42160
|
+
*/
|
42161
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
42162
|
+
|
42163
|
+
/**
|
42164
|
+
* Creates an InlineSource message from a plain object. Also converts values to their respective internal types.
|
42165
|
+
* @param object Plain object
|
42166
|
+
* @returns InlineSource
|
42167
|
+
*/
|
42168
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource;
|
42169
|
+
|
42170
|
+
/**
|
42171
|
+
* Creates a plain object from an InlineSource message. Also converts values to other types if specified.
|
42172
|
+
* @param message InlineSource
|
42173
|
+
* @param [options] Conversion options
|
42174
|
+
* @returns Plain object
|
42175
|
+
*/
|
42176
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
42177
|
+
|
42178
|
+
/**
|
42179
|
+
* Converts this InlineSource to JSON.
|
42180
|
+
* @returns JSON object
|
42181
|
+
*/
|
42182
|
+
public toJSON(): { [k: string]: any };
|
42183
|
+
|
42184
|
+
/**
|
42185
|
+
* Gets the default type url for InlineSource
|
42186
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
42187
|
+
* @returns The default type url
|
42188
|
+
*/
|
42189
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
42190
|
+
}
|
42191
|
+
}
|
42192
|
+
|
41195
42193
|
/** Properties of a PurgeDocumentsResponse. */
|
41196
42194
|
interface IPurgeDocumentsResponse {
|
41197
42195
|
|
@@ -41719,6 +42717,309 @@ export namespace google {
|
|
41719
42717
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
41720
42718
|
}
|
41721
42719
|
|
42720
|
+
/** Properties of a PurgeCompletionSuggestionsRequest. */
|
42721
|
+
interface IPurgeCompletionSuggestionsRequest {
|
42722
|
+
|
42723
|
+
/** PurgeCompletionSuggestionsRequest parent */
|
42724
|
+
parent?: (string|null);
|
42725
|
+
}
|
42726
|
+
|
42727
|
+
/** Represents a PurgeCompletionSuggestionsRequest. */
|
42728
|
+
class PurgeCompletionSuggestionsRequest implements IPurgeCompletionSuggestionsRequest {
|
42729
|
+
|
42730
|
+
/**
|
42731
|
+
* Constructs a new PurgeCompletionSuggestionsRequest.
|
42732
|
+
* @param [properties] Properties to set
|
42733
|
+
*/
|
42734
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsRequest);
|
42735
|
+
|
42736
|
+
/** PurgeCompletionSuggestionsRequest parent. */
|
42737
|
+
public parent: string;
|
42738
|
+
|
42739
|
+
/**
|
42740
|
+
* Creates a new PurgeCompletionSuggestionsRequest instance using the specified properties.
|
42741
|
+
* @param [properties] Properties to set
|
42742
|
+
* @returns PurgeCompletionSuggestionsRequest instance
|
42743
|
+
*/
|
42744
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsRequest): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsRequest;
|
42745
|
+
|
42746
|
+
/**
|
42747
|
+
* Encodes the specified PurgeCompletionSuggestionsRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsRequest.verify|verify} messages.
|
42748
|
+
* @param message PurgeCompletionSuggestionsRequest message or plain object to encode
|
42749
|
+
* @param [writer] Writer to encode to
|
42750
|
+
* @returns Writer
|
42751
|
+
*/
|
42752
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
42753
|
+
|
42754
|
+
/**
|
42755
|
+
* Encodes the specified PurgeCompletionSuggestionsRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsRequest.verify|verify} messages.
|
42756
|
+
* @param message PurgeCompletionSuggestionsRequest message or plain object to encode
|
42757
|
+
* @param [writer] Writer to encode to
|
42758
|
+
* @returns Writer
|
42759
|
+
*/
|
42760
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
42761
|
+
|
42762
|
+
/**
|
42763
|
+
* Decodes a PurgeCompletionSuggestionsRequest message from the specified reader or buffer.
|
42764
|
+
* @param reader Reader or buffer to decode from
|
42765
|
+
* @param [length] Message length if known beforehand
|
42766
|
+
* @returns PurgeCompletionSuggestionsRequest
|
42767
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
42768
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
42769
|
+
*/
|
42770
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsRequest;
|
42771
|
+
|
42772
|
+
/**
|
42773
|
+
* Decodes a PurgeCompletionSuggestionsRequest message from the specified reader or buffer, length delimited.
|
42774
|
+
* @param reader Reader or buffer to decode from
|
42775
|
+
* @returns PurgeCompletionSuggestionsRequest
|
42776
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
42777
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
42778
|
+
*/
|
42779
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsRequest;
|
42780
|
+
|
42781
|
+
/**
|
42782
|
+
* Verifies a PurgeCompletionSuggestionsRequest message.
|
42783
|
+
* @param message Plain object to verify
|
42784
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
42785
|
+
*/
|
42786
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
42787
|
+
|
42788
|
+
/**
|
42789
|
+
* Creates a PurgeCompletionSuggestionsRequest message from a plain object. Also converts values to their respective internal types.
|
42790
|
+
* @param object Plain object
|
42791
|
+
* @returns PurgeCompletionSuggestionsRequest
|
42792
|
+
*/
|
42793
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsRequest;
|
42794
|
+
|
42795
|
+
/**
|
42796
|
+
* Creates a plain object from a PurgeCompletionSuggestionsRequest message. Also converts values to other types if specified.
|
42797
|
+
* @param message PurgeCompletionSuggestionsRequest
|
42798
|
+
* @param [options] Conversion options
|
42799
|
+
* @returns Plain object
|
42800
|
+
*/
|
42801
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
42802
|
+
|
42803
|
+
/**
|
42804
|
+
* Converts this PurgeCompletionSuggestionsRequest to JSON.
|
42805
|
+
* @returns JSON object
|
42806
|
+
*/
|
42807
|
+
public toJSON(): { [k: string]: any };
|
42808
|
+
|
42809
|
+
/**
|
42810
|
+
* Gets the default type url for PurgeCompletionSuggestionsRequest
|
42811
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
42812
|
+
* @returns The default type url
|
42813
|
+
*/
|
42814
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
42815
|
+
}
|
42816
|
+
|
42817
|
+
/** Properties of a PurgeCompletionSuggestionsResponse. */
|
42818
|
+
interface IPurgeCompletionSuggestionsResponse {
|
42819
|
+
|
42820
|
+
/** PurgeCompletionSuggestionsResponse purgeSucceeded */
|
42821
|
+
purgeSucceeded?: (boolean|null);
|
42822
|
+
|
42823
|
+
/** PurgeCompletionSuggestionsResponse errorSamples */
|
42824
|
+
errorSamples?: (google.rpc.IStatus[]|null);
|
42825
|
+
}
|
42826
|
+
|
42827
|
+
/** Represents a PurgeCompletionSuggestionsResponse. */
|
42828
|
+
class PurgeCompletionSuggestionsResponse implements IPurgeCompletionSuggestionsResponse {
|
42829
|
+
|
42830
|
+
/**
|
42831
|
+
* Constructs a new PurgeCompletionSuggestionsResponse.
|
42832
|
+
* @param [properties] Properties to set
|
42833
|
+
*/
|
42834
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsResponse);
|
42835
|
+
|
42836
|
+
/** PurgeCompletionSuggestionsResponse purgeSucceeded. */
|
42837
|
+
public purgeSucceeded: boolean;
|
42838
|
+
|
42839
|
+
/** PurgeCompletionSuggestionsResponse errorSamples. */
|
42840
|
+
public errorSamples: google.rpc.IStatus[];
|
42841
|
+
|
42842
|
+
/**
|
42843
|
+
* Creates a new PurgeCompletionSuggestionsResponse instance using the specified properties.
|
42844
|
+
* @param [properties] Properties to set
|
42845
|
+
* @returns PurgeCompletionSuggestionsResponse instance
|
42846
|
+
*/
|
42847
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsResponse): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse;
|
42848
|
+
|
42849
|
+
/**
|
42850
|
+
* Encodes the specified PurgeCompletionSuggestionsResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse.verify|verify} messages.
|
42851
|
+
* @param message PurgeCompletionSuggestionsResponse message or plain object to encode
|
42852
|
+
* @param [writer] Writer to encode to
|
42853
|
+
* @returns Writer
|
42854
|
+
*/
|
42855
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
42856
|
+
|
42857
|
+
/**
|
42858
|
+
* Encodes the specified PurgeCompletionSuggestionsResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse.verify|verify} messages.
|
42859
|
+
* @param message PurgeCompletionSuggestionsResponse message or plain object to encode
|
42860
|
+
* @param [writer] Writer to encode to
|
42861
|
+
* @returns Writer
|
42862
|
+
*/
|
42863
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
42864
|
+
|
42865
|
+
/**
|
42866
|
+
* Decodes a PurgeCompletionSuggestionsResponse message from the specified reader or buffer.
|
42867
|
+
* @param reader Reader or buffer to decode from
|
42868
|
+
* @param [length] Message length if known beforehand
|
42869
|
+
* @returns PurgeCompletionSuggestionsResponse
|
42870
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
42871
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
42872
|
+
*/
|
42873
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse;
|
42874
|
+
|
42875
|
+
/**
|
42876
|
+
* Decodes a PurgeCompletionSuggestionsResponse message from the specified reader or buffer, length delimited.
|
42877
|
+
* @param reader Reader or buffer to decode from
|
42878
|
+
* @returns PurgeCompletionSuggestionsResponse
|
42879
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
42880
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
42881
|
+
*/
|
42882
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse;
|
42883
|
+
|
42884
|
+
/**
|
42885
|
+
* Verifies a PurgeCompletionSuggestionsResponse message.
|
42886
|
+
* @param message Plain object to verify
|
42887
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
42888
|
+
*/
|
42889
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
42890
|
+
|
42891
|
+
/**
|
42892
|
+
* Creates a PurgeCompletionSuggestionsResponse message from a plain object. Also converts values to their respective internal types.
|
42893
|
+
* @param object Plain object
|
42894
|
+
* @returns PurgeCompletionSuggestionsResponse
|
42895
|
+
*/
|
42896
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse;
|
42897
|
+
|
42898
|
+
/**
|
42899
|
+
* Creates a plain object from a PurgeCompletionSuggestionsResponse message. Also converts values to other types if specified.
|
42900
|
+
* @param message PurgeCompletionSuggestionsResponse
|
42901
|
+
* @param [options] Conversion options
|
42902
|
+
* @returns Plain object
|
42903
|
+
*/
|
42904
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
42905
|
+
|
42906
|
+
/**
|
42907
|
+
* Converts this PurgeCompletionSuggestionsResponse to JSON.
|
42908
|
+
* @returns JSON object
|
42909
|
+
*/
|
42910
|
+
public toJSON(): { [k: string]: any };
|
42911
|
+
|
42912
|
+
/**
|
42913
|
+
* Gets the default type url for PurgeCompletionSuggestionsResponse
|
42914
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
42915
|
+
* @returns The default type url
|
42916
|
+
*/
|
42917
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
42918
|
+
}
|
42919
|
+
|
42920
|
+
/** Properties of a PurgeCompletionSuggestionsMetadata. */
|
42921
|
+
interface IPurgeCompletionSuggestionsMetadata {
|
42922
|
+
|
42923
|
+
/** PurgeCompletionSuggestionsMetadata createTime */
|
42924
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
42925
|
+
|
42926
|
+
/** PurgeCompletionSuggestionsMetadata updateTime */
|
42927
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
42928
|
+
}
|
42929
|
+
|
42930
|
+
/** Represents a PurgeCompletionSuggestionsMetadata. */
|
42931
|
+
class PurgeCompletionSuggestionsMetadata implements IPurgeCompletionSuggestionsMetadata {
|
42932
|
+
|
42933
|
+
/**
|
42934
|
+
* Constructs a new PurgeCompletionSuggestionsMetadata.
|
42935
|
+
* @param [properties] Properties to set
|
42936
|
+
*/
|
42937
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsMetadata);
|
42938
|
+
|
42939
|
+
/** PurgeCompletionSuggestionsMetadata createTime. */
|
42940
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
42941
|
+
|
42942
|
+
/** PurgeCompletionSuggestionsMetadata updateTime. */
|
42943
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
42944
|
+
|
42945
|
+
/**
|
42946
|
+
* Creates a new PurgeCompletionSuggestionsMetadata instance using the specified properties.
|
42947
|
+
* @param [properties] Properties to set
|
42948
|
+
* @returns PurgeCompletionSuggestionsMetadata instance
|
42949
|
+
*/
|
42950
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsMetadata): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata;
|
42951
|
+
|
42952
|
+
/**
|
42953
|
+
* Encodes the specified PurgeCompletionSuggestionsMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata.verify|verify} messages.
|
42954
|
+
* @param message PurgeCompletionSuggestionsMetadata message or plain object to encode
|
42955
|
+
* @param [writer] Writer to encode to
|
42956
|
+
* @returns Writer
|
42957
|
+
*/
|
42958
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
42959
|
+
|
42960
|
+
/**
|
42961
|
+
* Encodes the specified PurgeCompletionSuggestionsMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata.verify|verify} messages.
|
42962
|
+
* @param message PurgeCompletionSuggestionsMetadata message or plain object to encode
|
42963
|
+
* @param [writer] Writer to encode to
|
42964
|
+
* @returns Writer
|
42965
|
+
*/
|
42966
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IPurgeCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
42967
|
+
|
42968
|
+
/**
|
42969
|
+
* Decodes a PurgeCompletionSuggestionsMetadata message from the specified reader or buffer.
|
42970
|
+
* @param reader Reader or buffer to decode from
|
42971
|
+
* @param [length] Message length if known beforehand
|
42972
|
+
* @returns PurgeCompletionSuggestionsMetadata
|
42973
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
42974
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
42975
|
+
*/
|
42976
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata;
|
42977
|
+
|
42978
|
+
/**
|
42979
|
+
* Decodes a PurgeCompletionSuggestionsMetadata message from the specified reader or buffer, length delimited.
|
42980
|
+
* @param reader Reader or buffer to decode from
|
42981
|
+
* @returns PurgeCompletionSuggestionsMetadata
|
42982
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
42983
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
42984
|
+
*/
|
42985
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata;
|
42986
|
+
|
42987
|
+
/**
|
42988
|
+
* Verifies a PurgeCompletionSuggestionsMetadata message.
|
42989
|
+
* @param message Plain object to verify
|
42990
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
42991
|
+
*/
|
42992
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
42993
|
+
|
42994
|
+
/**
|
42995
|
+
* Creates a PurgeCompletionSuggestionsMetadata message from a plain object. Also converts values to their respective internal types.
|
42996
|
+
* @param object Plain object
|
42997
|
+
* @returns PurgeCompletionSuggestionsMetadata
|
42998
|
+
*/
|
42999
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata;
|
43000
|
+
|
43001
|
+
/**
|
43002
|
+
* Creates a plain object from a PurgeCompletionSuggestionsMetadata message. Also converts values to other types if specified.
|
43003
|
+
* @param message PurgeCompletionSuggestionsMetadata
|
43004
|
+
* @param [options] Conversion options
|
43005
|
+
* @returns Plain object
|
43006
|
+
*/
|
43007
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
43008
|
+
|
43009
|
+
/**
|
43010
|
+
* Converts this PurgeCompletionSuggestionsMetadata to JSON.
|
43011
|
+
* @returns JSON object
|
43012
|
+
*/
|
43013
|
+
public toJSON(): { [k: string]: any };
|
43014
|
+
|
43015
|
+
/**
|
43016
|
+
* Gets the default type url for PurgeCompletionSuggestionsMetadata
|
43017
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
43018
|
+
* @returns The default type url
|
43019
|
+
*/
|
43020
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
43021
|
+
}
|
43022
|
+
|
41722
43023
|
/** Properties of a Condition. */
|
41723
43024
|
interface ICondition {
|
41724
43025
|
|
@@ -44113,6 +45414,12 @@ export namespace google {
|
|
44113
45414
|
/** SearchRequest userInfo */
|
44114
45415
|
userInfo?: (google.cloud.discoveryengine.v1alpha.IUserInfo|null);
|
44115
45416
|
|
45417
|
+
/** SearchRequest languageCode */
|
45418
|
+
languageCode?: (string|null);
|
45419
|
+
|
45420
|
+
/** SearchRequest regionCode */
|
45421
|
+
regionCode?: (string|null);
|
45422
|
+
|
44116
45423
|
/** SearchRequest facetSpecs */
|
44117
45424
|
facetSpecs?: (google.cloud.discoveryengine.v1alpha.SearchRequest.IFacetSpec[]|null);
|
44118
45425
|
|
@@ -44146,8 +45453,23 @@ export namespace google {
|
|
44146
45453
|
/** SearchRequest userLabels */
|
44147
45454
|
userLabels?: ({ [k: string]: string }|null);
|
44148
45455
|
|
45456
|
+
/** SearchRequest naturalLanguageQueryUnderstandingSpec */
|
45457
|
+
naturalLanguageQueryUnderstandingSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.INaturalLanguageQueryUnderstandingSpec|null);
|
45458
|
+
|
45459
|
+
/** SearchRequest searchAsYouTypeSpec */
|
45460
|
+
searchAsYouTypeSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ISearchAsYouTypeSpec|null);
|
45461
|
+
|
44149
45462
|
/** SearchRequest customFineTuningSpec */
|
44150
45463
|
customFineTuningSpec?: (google.cloud.discoveryengine.v1alpha.ICustomFineTuningSpec|null);
|
45464
|
+
|
45465
|
+
/** SearchRequest session */
|
45466
|
+
session?: (string|null);
|
45467
|
+
|
45468
|
+
/** SearchRequest sessionSpec */
|
45469
|
+
sessionSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ISessionSpec|null);
|
45470
|
+
|
45471
|
+
/** SearchRequest relevanceThreshold */
|
45472
|
+
relevanceThreshold?: (google.cloud.discoveryengine.v1alpha.SearchRequest.RelevanceThreshold|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.RelevanceThreshold|null);
|
44151
45473
|
}
|
44152
45474
|
|
44153
45475
|
/** Represents a SearchRequest. */
|
@@ -44195,6 +45517,12 @@ export namespace google {
|
|
44195
45517
|
/** SearchRequest userInfo. */
|
44196
45518
|
public userInfo?: (google.cloud.discoveryengine.v1alpha.IUserInfo|null);
|
44197
45519
|
|
45520
|
+
/** SearchRequest languageCode. */
|
45521
|
+
public languageCode: string;
|
45522
|
+
|
45523
|
+
/** SearchRequest regionCode. */
|
45524
|
+
public regionCode: string;
|
45525
|
+
|
44198
45526
|
/** SearchRequest facetSpecs. */
|
44199
45527
|
public facetSpecs: google.cloud.discoveryengine.v1alpha.SearchRequest.IFacetSpec[];
|
44200
45528
|
|
@@ -44228,9 +45556,24 @@ export namespace google {
|
|
44228
45556
|
/** SearchRequest userLabels. */
|
44229
45557
|
public userLabels: { [k: string]: string };
|
44230
45558
|
|
45559
|
+
/** SearchRequest naturalLanguageQueryUnderstandingSpec. */
|
45560
|
+
public naturalLanguageQueryUnderstandingSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.INaturalLanguageQueryUnderstandingSpec|null);
|
45561
|
+
|
45562
|
+
/** SearchRequest searchAsYouTypeSpec. */
|
45563
|
+
public searchAsYouTypeSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ISearchAsYouTypeSpec|null);
|
45564
|
+
|
44231
45565
|
/** SearchRequest customFineTuningSpec. */
|
44232
45566
|
public customFineTuningSpec?: (google.cloud.discoveryengine.v1alpha.ICustomFineTuningSpec|null);
|
44233
45567
|
|
45568
|
+
/** SearchRequest session. */
|
45569
|
+
public session: string;
|
45570
|
+
|
45571
|
+
/** SearchRequest sessionSpec. */
|
45572
|
+
public sessionSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ISessionSpec|null);
|
45573
|
+
|
45574
|
+
/** SearchRequest relevanceThreshold. */
|
45575
|
+
public relevanceThreshold: (google.cloud.discoveryengine.v1alpha.SearchRequest.RelevanceThreshold|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.RelevanceThreshold);
|
45576
|
+
|
44234
45577
|
/**
|
44235
45578
|
* Creates a new SearchRequest instance using the specified properties.
|
44236
45579
|
* @param [properties] Properties to set
|
@@ -45672,6 +47015,9 @@ export namespace google {
|
|
45672
47015
|
/** SummarySpec ignoreNonSummarySeekingQuery */
|
45673
47016
|
ignoreNonSummarySeekingQuery?: (boolean|null);
|
45674
47017
|
|
47018
|
+
/** SummarySpec ignoreLowRelevantContent */
|
47019
|
+
ignoreLowRelevantContent?: (boolean|null);
|
47020
|
+
|
45675
47021
|
/** SummarySpec modelPromptSpec */
|
45676
47022
|
modelPromptSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.IModelPromptSpec|null);
|
45677
47023
|
|
@@ -45706,6 +47052,9 @@ export namespace google {
|
|
45706
47052
|
/** SummarySpec ignoreNonSummarySeekingQuery. */
|
45707
47053
|
public ignoreNonSummarySeekingQuery: boolean;
|
45708
47054
|
|
47055
|
+
/** SummarySpec ignoreLowRelevantContent. */
|
47056
|
+
public ignoreLowRelevantContent: boolean;
|
47057
|
+
|
45709
47058
|
/** SummarySpec modelPromptSpec. */
|
45710
47059
|
public modelPromptSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.IModelPromptSpec|null);
|
45711
47060
|
|
@@ -46427,6 +47776,341 @@ export namespace google {
|
|
46427
47776
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
46428
47777
|
}
|
46429
47778
|
}
|
47779
|
+
|
47780
|
+
/** Properties of a NaturalLanguageQueryUnderstandingSpec. */
|
47781
|
+
interface INaturalLanguageQueryUnderstandingSpec {
|
47782
|
+
|
47783
|
+
/** NaturalLanguageQueryUnderstandingSpec filterExtractionCondition */
|
47784
|
+
filterExtractionCondition?: (google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|null);
|
47785
|
+
|
47786
|
+
/** NaturalLanguageQueryUnderstandingSpec geoSearchQueryDetectionFieldNames */
|
47787
|
+
geoSearchQueryDetectionFieldNames?: (string[]|null);
|
47788
|
+
}
|
47789
|
+
|
47790
|
+
/** Represents a NaturalLanguageQueryUnderstandingSpec. */
|
47791
|
+
class NaturalLanguageQueryUnderstandingSpec implements INaturalLanguageQueryUnderstandingSpec {
|
47792
|
+
|
47793
|
+
/**
|
47794
|
+
* Constructs a new NaturalLanguageQueryUnderstandingSpec.
|
47795
|
+
* @param [properties] Properties to set
|
47796
|
+
*/
|
47797
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.INaturalLanguageQueryUnderstandingSpec);
|
47798
|
+
|
47799
|
+
/** NaturalLanguageQueryUnderstandingSpec filterExtractionCondition. */
|
47800
|
+
public filterExtractionCondition: (google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition);
|
47801
|
+
|
47802
|
+
/** NaturalLanguageQueryUnderstandingSpec geoSearchQueryDetectionFieldNames. */
|
47803
|
+
public geoSearchQueryDetectionFieldNames: string[];
|
47804
|
+
|
47805
|
+
/**
|
47806
|
+
* Creates a new NaturalLanguageQueryUnderstandingSpec instance using the specified properties.
|
47807
|
+
* @param [properties] Properties to set
|
47808
|
+
* @returns NaturalLanguageQueryUnderstandingSpec instance
|
47809
|
+
*/
|
47810
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.INaturalLanguageQueryUnderstandingSpec): google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
|
47811
|
+
|
47812
|
+
/**
|
47813
|
+
* Encodes the specified NaturalLanguageQueryUnderstandingSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec.verify|verify} messages.
|
47814
|
+
* @param message NaturalLanguageQueryUnderstandingSpec message or plain object to encode
|
47815
|
+
* @param [writer] Writer to encode to
|
47816
|
+
* @returns Writer
|
47817
|
+
*/
|
47818
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchRequest.INaturalLanguageQueryUnderstandingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
47819
|
+
|
47820
|
+
/**
|
47821
|
+
* Encodes the specified NaturalLanguageQueryUnderstandingSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec.verify|verify} messages.
|
47822
|
+
* @param message NaturalLanguageQueryUnderstandingSpec message or plain object to encode
|
47823
|
+
* @param [writer] Writer to encode to
|
47824
|
+
* @returns Writer
|
47825
|
+
*/
|
47826
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchRequest.INaturalLanguageQueryUnderstandingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
47827
|
+
|
47828
|
+
/**
|
47829
|
+
* Decodes a NaturalLanguageQueryUnderstandingSpec message from the specified reader or buffer.
|
47830
|
+
* @param reader Reader or buffer to decode from
|
47831
|
+
* @param [length] Message length if known beforehand
|
47832
|
+
* @returns NaturalLanguageQueryUnderstandingSpec
|
47833
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
47834
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
47835
|
+
*/
|
47836
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
|
47837
|
+
|
47838
|
+
/**
|
47839
|
+
* Decodes a NaturalLanguageQueryUnderstandingSpec message from the specified reader or buffer, length delimited.
|
47840
|
+
* @param reader Reader or buffer to decode from
|
47841
|
+
* @returns NaturalLanguageQueryUnderstandingSpec
|
47842
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
47843
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
47844
|
+
*/
|
47845
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
|
47846
|
+
|
47847
|
+
/**
|
47848
|
+
* Verifies a NaturalLanguageQueryUnderstandingSpec message.
|
47849
|
+
* @param message Plain object to verify
|
47850
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
47851
|
+
*/
|
47852
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
47853
|
+
|
47854
|
+
/**
|
47855
|
+
* Creates a NaturalLanguageQueryUnderstandingSpec message from a plain object. Also converts values to their respective internal types.
|
47856
|
+
* @param object Plain object
|
47857
|
+
* @returns NaturalLanguageQueryUnderstandingSpec
|
47858
|
+
*/
|
47859
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec;
|
47860
|
+
|
47861
|
+
/**
|
47862
|
+
* Creates a plain object from a NaturalLanguageQueryUnderstandingSpec message. Also converts values to other types if specified.
|
47863
|
+
* @param message NaturalLanguageQueryUnderstandingSpec
|
47864
|
+
* @param [options] Conversion options
|
47865
|
+
* @returns Plain object
|
47866
|
+
*/
|
47867
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
47868
|
+
|
47869
|
+
/**
|
47870
|
+
* Converts this NaturalLanguageQueryUnderstandingSpec to JSON.
|
47871
|
+
* @returns JSON object
|
47872
|
+
*/
|
47873
|
+
public toJSON(): { [k: string]: any };
|
47874
|
+
|
47875
|
+
/**
|
47876
|
+
* Gets the default type url for NaturalLanguageQueryUnderstandingSpec
|
47877
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
47878
|
+
* @returns The default type url
|
47879
|
+
*/
|
47880
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
47881
|
+
}
|
47882
|
+
|
47883
|
+
namespace NaturalLanguageQueryUnderstandingSpec {
|
47884
|
+
|
47885
|
+
/** FilterExtractionCondition enum. */
|
47886
|
+
enum FilterExtractionCondition {
|
47887
|
+
CONDITION_UNSPECIFIED = 0,
|
47888
|
+
DISABLED = 1,
|
47889
|
+
ENABLED = 2
|
47890
|
+
}
|
47891
|
+
}
|
47892
|
+
|
47893
|
+
/** Properties of a SearchAsYouTypeSpec. */
|
47894
|
+
interface ISearchAsYouTypeSpec {
|
47895
|
+
|
47896
|
+
/** SearchAsYouTypeSpec condition */
|
47897
|
+
condition?: (google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec.Condition|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec.Condition|null);
|
47898
|
+
}
|
47899
|
+
|
47900
|
+
/** Represents a SearchAsYouTypeSpec. */
|
47901
|
+
class SearchAsYouTypeSpec implements ISearchAsYouTypeSpec {
|
47902
|
+
|
47903
|
+
/**
|
47904
|
+
* Constructs a new SearchAsYouTypeSpec.
|
47905
|
+
* @param [properties] Properties to set
|
47906
|
+
*/
|
47907
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.ISearchAsYouTypeSpec);
|
47908
|
+
|
47909
|
+
/** SearchAsYouTypeSpec condition. */
|
47910
|
+
public condition: (google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec.Condition|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec.Condition);
|
47911
|
+
|
47912
|
+
/**
|
47913
|
+
* Creates a new SearchAsYouTypeSpec instance using the specified properties.
|
47914
|
+
* @param [properties] Properties to set
|
47915
|
+
* @returns SearchAsYouTypeSpec instance
|
47916
|
+
*/
|
47917
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.ISearchAsYouTypeSpec): google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec;
|
47918
|
+
|
47919
|
+
/**
|
47920
|
+
* Encodes the specified SearchAsYouTypeSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec.verify|verify} messages.
|
47921
|
+
* @param message SearchAsYouTypeSpec message or plain object to encode
|
47922
|
+
* @param [writer] Writer to encode to
|
47923
|
+
* @returns Writer
|
47924
|
+
*/
|
47925
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchRequest.ISearchAsYouTypeSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
47926
|
+
|
47927
|
+
/**
|
47928
|
+
* Encodes the specified SearchAsYouTypeSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec.verify|verify} messages.
|
47929
|
+
* @param message SearchAsYouTypeSpec message or plain object to encode
|
47930
|
+
* @param [writer] Writer to encode to
|
47931
|
+
* @returns Writer
|
47932
|
+
*/
|
47933
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchRequest.ISearchAsYouTypeSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
47934
|
+
|
47935
|
+
/**
|
47936
|
+
* Decodes a SearchAsYouTypeSpec message from the specified reader or buffer.
|
47937
|
+
* @param reader Reader or buffer to decode from
|
47938
|
+
* @param [length] Message length if known beforehand
|
47939
|
+
* @returns SearchAsYouTypeSpec
|
47940
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
47941
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
47942
|
+
*/
|
47943
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec;
|
47944
|
+
|
47945
|
+
/**
|
47946
|
+
* Decodes a SearchAsYouTypeSpec message from the specified reader or buffer, length delimited.
|
47947
|
+
* @param reader Reader or buffer to decode from
|
47948
|
+
* @returns SearchAsYouTypeSpec
|
47949
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
47950
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
47951
|
+
*/
|
47952
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec;
|
47953
|
+
|
47954
|
+
/**
|
47955
|
+
* Verifies a SearchAsYouTypeSpec message.
|
47956
|
+
* @param message Plain object to verify
|
47957
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
47958
|
+
*/
|
47959
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
47960
|
+
|
47961
|
+
/**
|
47962
|
+
* Creates a SearchAsYouTypeSpec message from a plain object. Also converts values to their respective internal types.
|
47963
|
+
* @param object Plain object
|
47964
|
+
* @returns SearchAsYouTypeSpec
|
47965
|
+
*/
|
47966
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec;
|
47967
|
+
|
47968
|
+
/**
|
47969
|
+
* Creates a plain object from a SearchAsYouTypeSpec message. Also converts values to other types if specified.
|
47970
|
+
* @param message SearchAsYouTypeSpec
|
47971
|
+
* @param [options] Conversion options
|
47972
|
+
* @returns Plain object
|
47973
|
+
*/
|
47974
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
47975
|
+
|
47976
|
+
/**
|
47977
|
+
* Converts this SearchAsYouTypeSpec to JSON.
|
47978
|
+
* @returns JSON object
|
47979
|
+
*/
|
47980
|
+
public toJSON(): { [k: string]: any };
|
47981
|
+
|
47982
|
+
/**
|
47983
|
+
* Gets the default type url for SearchAsYouTypeSpec
|
47984
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
47985
|
+
* @returns The default type url
|
47986
|
+
*/
|
47987
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
47988
|
+
}
|
47989
|
+
|
47990
|
+
namespace SearchAsYouTypeSpec {
|
47991
|
+
|
47992
|
+
/** Condition enum. */
|
47993
|
+
enum Condition {
|
47994
|
+
CONDITION_UNSPECIFIED = 0,
|
47995
|
+
DISABLED = 1,
|
47996
|
+
ENABLED = 2
|
47997
|
+
}
|
47998
|
+
}
|
47999
|
+
|
48000
|
+
/** Properties of a SessionSpec. */
|
48001
|
+
interface ISessionSpec {
|
48002
|
+
|
48003
|
+
/** SessionSpec queryId */
|
48004
|
+
queryId?: (string|null);
|
48005
|
+
|
48006
|
+
/** SessionSpec searchResultPersistenceCount */
|
48007
|
+
searchResultPersistenceCount?: (number|null);
|
48008
|
+
}
|
48009
|
+
|
48010
|
+
/** Represents a SessionSpec. */
|
48011
|
+
class SessionSpec implements ISessionSpec {
|
48012
|
+
|
48013
|
+
/**
|
48014
|
+
* Constructs a new SessionSpec.
|
48015
|
+
* @param [properties] Properties to set
|
48016
|
+
*/
|
48017
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.ISessionSpec);
|
48018
|
+
|
48019
|
+
/** SessionSpec queryId. */
|
48020
|
+
public queryId: string;
|
48021
|
+
|
48022
|
+
/** SessionSpec searchResultPersistenceCount. */
|
48023
|
+
public searchResultPersistenceCount?: (number|null);
|
48024
|
+
|
48025
|
+
/** SessionSpec _searchResultPersistenceCount. */
|
48026
|
+
public _searchResultPersistenceCount?: "searchResultPersistenceCount";
|
48027
|
+
|
48028
|
+
/**
|
48029
|
+
* Creates a new SessionSpec instance using the specified properties.
|
48030
|
+
* @param [properties] Properties to set
|
48031
|
+
* @returns SessionSpec instance
|
48032
|
+
*/
|
48033
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.ISessionSpec): google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec;
|
48034
|
+
|
48035
|
+
/**
|
48036
|
+
* Encodes the specified SessionSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec.verify|verify} messages.
|
48037
|
+
* @param message SessionSpec message or plain object to encode
|
48038
|
+
* @param [writer] Writer to encode to
|
48039
|
+
* @returns Writer
|
48040
|
+
*/
|
48041
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchRequest.ISessionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
48042
|
+
|
48043
|
+
/**
|
48044
|
+
* Encodes the specified SessionSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec.verify|verify} messages.
|
48045
|
+
* @param message SessionSpec message or plain object to encode
|
48046
|
+
* @param [writer] Writer to encode to
|
48047
|
+
* @returns Writer
|
48048
|
+
*/
|
48049
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchRequest.ISessionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
48050
|
+
|
48051
|
+
/**
|
48052
|
+
* Decodes a SessionSpec message from the specified reader or buffer.
|
48053
|
+
* @param reader Reader or buffer to decode from
|
48054
|
+
* @param [length] Message length if known beforehand
|
48055
|
+
* @returns SessionSpec
|
48056
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
48057
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
48058
|
+
*/
|
48059
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec;
|
48060
|
+
|
48061
|
+
/**
|
48062
|
+
* Decodes a SessionSpec message from the specified reader or buffer, length delimited.
|
48063
|
+
* @param reader Reader or buffer to decode from
|
48064
|
+
* @returns SessionSpec
|
48065
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
48066
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
48067
|
+
*/
|
48068
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec;
|
48069
|
+
|
48070
|
+
/**
|
48071
|
+
* Verifies a SessionSpec message.
|
48072
|
+
* @param message Plain object to verify
|
48073
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
48074
|
+
*/
|
48075
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
48076
|
+
|
48077
|
+
/**
|
48078
|
+
* Creates a SessionSpec message from a plain object. Also converts values to their respective internal types.
|
48079
|
+
* @param object Plain object
|
48080
|
+
* @returns SessionSpec
|
48081
|
+
*/
|
48082
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec;
|
48083
|
+
|
48084
|
+
/**
|
48085
|
+
* Creates a plain object from a SessionSpec message. Also converts values to other types if specified.
|
48086
|
+
* @param message SessionSpec
|
48087
|
+
* @param [options] Conversion options
|
48088
|
+
* @returns Plain object
|
48089
|
+
*/
|
48090
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
48091
|
+
|
48092
|
+
/**
|
48093
|
+
* Converts this SessionSpec to JSON.
|
48094
|
+
* @returns JSON object
|
48095
|
+
*/
|
48096
|
+
public toJSON(): { [k: string]: any };
|
48097
|
+
|
48098
|
+
/**
|
48099
|
+
* Gets the default type url for SessionSpec
|
48100
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
48101
|
+
* @returns The default type url
|
48102
|
+
*/
|
48103
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
48104
|
+
}
|
48105
|
+
|
48106
|
+
/** RelevanceThreshold enum. */
|
48107
|
+
enum RelevanceThreshold {
|
48108
|
+
RELEVANCE_THRESHOLD_UNSPECIFIED = 0,
|
48109
|
+
LOWEST = 1,
|
48110
|
+
LOW = 2,
|
48111
|
+
MEDIUM = 3,
|
48112
|
+
HIGH = 4
|
48113
|
+
}
|
46430
48114
|
}
|
46431
48115
|
|
46432
48116
|
/** Properties of a SearchResponse. */
|
@@ -46467,6 +48151,15 @@ export namespace google {
|
|
46467
48151
|
|
46468
48152
|
/** SearchResponse queryExpansionInfo */
|
46469
48153
|
queryExpansionInfo?: (google.cloud.discoveryengine.v1alpha.SearchResponse.IQueryExpansionInfo|null);
|
48154
|
+
|
48155
|
+
/** SearchResponse naturalLanguageQueryUnderstandingInfo */
|
48156
|
+
naturalLanguageQueryUnderstandingInfo?: (google.cloud.discoveryengine.v1alpha.SearchResponse.INaturalLanguageQueryUnderstandingInfo|null);
|
48157
|
+
|
48158
|
+
/** SearchResponse sessionInfo */
|
48159
|
+
sessionInfo?: (google.cloud.discoveryengine.v1alpha.SearchResponse.ISessionInfo|null);
|
48160
|
+
|
48161
|
+
/** SearchResponse oneBoxResults */
|
48162
|
+
oneBoxResults?: (google.cloud.discoveryengine.v1alpha.SearchResponse.IOneBoxResult[]|null);
|
46470
48163
|
}
|
46471
48164
|
|
46472
48165
|
/** Represents a SearchResponse. */
|
@@ -46514,6 +48207,15 @@ export namespace google {
|
|
46514
48207
|
/** SearchResponse queryExpansionInfo. */
|
46515
48208
|
public queryExpansionInfo?: (google.cloud.discoveryengine.v1alpha.SearchResponse.IQueryExpansionInfo|null);
|
46516
48209
|
|
48210
|
+
/** SearchResponse naturalLanguageQueryUnderstandingInfo. */
|
48211
|
+
public naturalLanguageQueryUnderstandingInfo?: (google.cloud.discoveryengine.v1alpha.SearchResponse.INaturalLanguageQueryUnderstandingInfo|null);
|
48212
|
+
|
48213
|
+
/** SearchResponse sessionInfo. */
|
48214
|
+
public sessionInfo?: (google.cloud.discoveryengine.v1alpha.SearchResponse.ISessionInfo|null);
|
48215
|
+
|
48216
|
+
/** SearchResponse oneBoxResults. */
|
48217
|
+
public oneBoxResults: google.cloud.discoveryengine.v1alpha.SearchResponse.IOneBoxResult[];
|
48218
|
+
|
46517
48219
|
/**
|
46518
48220
|
* Creates a new SearchResponse instance using the specified properties.
|
46519
48221
|
* @param [properties] Properties to set
|
@@ -47785,432 +49487,1527 @@ export namespace google {
|
|
47785
49487
|
/** Properties of a ChunkContent. */
|
47786
49488
|
interface IChunkContent {
|
47787
49489
|
|
47788
|
-
/** ChunkContent content */
|
47789
|
-
content?: (string|null);
|
49490
|
+
/** ChunkContent content */
|
49491
|
+
content?: (string|null);
|
49492
|
+
|
49493
|
+
/** ChunkContent pageIdentifier */
|
49494
|
+
pageIdentifier?: (string|null);
|
49495
|
+
}
|
49496
|
+
|
49497
|
+
/** Represents a ChunkContent. */
|
49498
|
+
class ChunkContent implements IChunkContent {
|
49499
|
+
|
49500
|
+
/**
|
49501
|
+
* Constructs a new ChunkContent.
|
49502
|
+
* @param [properties] Properties to set
|
49503
|
+
*/
|
49504
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent);
|
49505
|
+
|
49506
|
+
/** ChunkContent content. */
|
49507
|
+
public content: string;
|
49508
|
+
|
49509
|
+
/** ChunkContent pageIdentifier. */
|
49510
|
+
public pageIdentifier: string;
|
49511
|
+
|
49512
|
+
/**
|
49513
|
+
* Creates a new ChunkContent instance using the specified properties.
|
49514
|
+
* @param [properties] Properties to set
|
49515
|
+
* @returns ChunkContent instance
|
49516
|
+
*/
|
49517
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent;
|
49518
|
+
|
49519
|
+
/**
|
49520
|
+
* Encodes the specified ChunkContent message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent.verify|verify} messages.
|
49521
|
+
* @param message ChunkContent message or plain object to encode
|
49522
|
+
* @param [writer] Writer to encode to
|
49523
|
+
* @returns Writer
|
49524
|
+
*/
|
49525
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent, writer?: $protobuf.Writer): $protobuf.Writer;
|
49526
|
+
|
49527
|
+
/**
|
49528
|
+
* Encodes the specified ChunkContent message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent.verify|verify} messages.
|
49529
|
+
* @param message ChunkContent message or plain object to encode
|
49530
|
+
* @param [writer] Writer to encode to
|
49531
|
+
* @returns Writer
|
49532
|
+
*/
|
49533
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent, writer?: $protobuf.Writer): $protobuf.Writer;
|
49534
|
+
|
49535
|
+
/**
|
49536
|
+
* Decodes a ChunkContent message from the specified reader or buffer.
|
49537
|
+
* @param reader Reader or buffer to decode from
|
49538
|
+
* @param [length] Message length if known beforehand
|
49539
|
+
* @returns ChunkContent
|
49540
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49541
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49542
|
+
*/
|
49543
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent;
|
49544
|
+
|
49545
|
+
/**
|
49546
|
+
* Decodes a ChunkContent message from the specified reader or buffer, length delimited.
|
49547
|
+
* @param reader Reader or buffer to decode from
|
49548
|
+
* @returns ChunkContent
|
49549
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49550
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49551
|
+
*/
|
49552
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent;
|
49553
|
+
|
49554
|
+
/**
|
49555
|
+
* Verifies a ChunkContent message.
|
49556
|
+
* @param message Plain object to verify
|
49557
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
49558
|
+
*/
|
49559
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
49560
|
+
|
49561
|
+
/**
|
49562
|
+
* Creates a ChunkContent message from a plain object. Also converts values to their respective internal types.
|
49563
|
+
* @param object Plain object
|
49564
|
+
* @returns ChunkContent
|
49565
|
+
*/
|
49566
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent;
|
49567
|
+
|
49568
|
+
/**
|
49569
|
+
* Creates a plain object from a ChunkContent message. Also converts values to other types if specified.
|
49570
|
+
* @param message ChunkContent
|
49571
|
+
* @param [options] Conversion options
|
49572
|
+
* @returns Plain object
|
49573
|
+
*/
|
49574
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
49575
|
+
|
49576
|
+
/**
|
49577
|
+
* Converts this ChunkContent to JSON.
|
49578
|
+
* @returns JSON object
|
49579
|
+
*/
|
49580
|
+
public toJSON(): { [k: string]: any };
|
49581
|
+
|
49582
|
+
/**
|
49583
|
+
* Gets the default type url for ChunkContent
|
49584
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
49585
|
+
* @returns The default type url
|
49586
|
+
*/
|
49587
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
49588
|
+
}
|
49589
|
+
}
|
49590
|
+
|
49591
|
+
/** Properties of a SummaryWithMetadata. */
|
49592
|
+
interface ISummaryWithMetadata {
|
49593
|
+
|
49594
|
+
/** SummaryWithMetadata summary */
|
49595
|
+
summary?: (string|null);
|
49596
|
+
|
49597
|
+
/** SummaryWithMetadata citationMetadata */
|
49598
|
+
citationMetadata?: (google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ICitationMetadata|null);
|
49599
|
+
|
49600
|
+
/** SummaryWithMetadata references */
|
49601
|
+
references?: (google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.IReference[]|null);
|
49602
|
+
}
|
49603
|
+
|
49604
|
+
/** Represents a SummaryWithMetadata. */
|
49605
|
+
class SummaryWithMetadata implements ISummaryWithMetadata {
|
49606
|
+
|
49607
|
+
/**
|
49608
|
+
* Constructs a new SummaryWithMetadata.
|
49609
|
+
* @param [properties] Properties to set
|
49610
|
+
*/
|
49611
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ISummaryWithMetadata);
|
49612
|
+
|
49613
|
+
/** SummaryWithMetadata summary. */
|
49614
|
+
public summary: string;
|
49615
|
+
|
49616
|
+
/** SummaryWithMetadata citationMetadata. */
|
49617
|
+
public citationMetadata?: (google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ICitationMetadata|null);
|
49618
|
+
|
49619
|
+
/** SummaryWithMetadata references. */
|
49620
|
+
public references: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.IReference[];
|
49621
|
+
|
49622
|
+
/**
|
49623
|
+
* Creates a new SummaryWithMetadata instance using the specified properties.
|
49624
|
+
* @param [properties] Properties to set
|
49625
|
+
* @returns SummaryWithMetadata instance
|
49626
|
+
*/
|
49627
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ISummaryWithMetadata): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata;
|
49628
|
+
|
49629
|
+
/**
|
49630
|
+
* Encodes the specified SummaryWithMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata.verify|verify} messages.
|
49631
|
+
* @param message SummaryWithMetadata message or plain object to encode
|
49632
|
+
* @param [writer] Writer to encode to
|
49633
|
+
* @returns Writer
|
49634
|
+
*/
|
49635
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ISummaryWithMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
49636
|
+
|
49637
|
+
/**
|
49638
|
+
* Encodes the specified SummaryWithMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata.verify|verify} messages.
|
49639
|
+
* @param message SummaryWithMetadata message or plain object to encode
|
49640
|
+
* @param [writer] Writer to encode to
|
49641
|
+
* @returns Writer
|
49642
|
+
*/
|
49643
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ISummaryWithMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
49644
|
+
|
49645
|
+
/**
|
49646
|
+
* Decodes a SummaryWithMetadata message from the specified reader or buffer.
|
49647
|
+
* @param reader Reader or buffer to decode from
|
49648
|
+
* @param [length] Message length if known beforehand
|
49649
|
+
* @returns SummaryWithMetadata
|
49650
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49651
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49652
|
+
*/
|
49653
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata;
|
49654
|
+
|
49655
|
+
/**
|
49656
|
+
* Decodes a SummaryWithMetadata message from the specified reader or buffer, length delimited.
|
49657
|
+
* @param reader Reader or buffer to decode from
|
49658
|
+
* @returns SummaryWithMetadata
|
49659
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49660
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49661
|
+
*/
|
49662
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata;
|
49663
|
+
|
49664
|
+
/**
|
49665
|
+
* Verifies a SummaryWithMetadata message.
|
49666
|
+
* @param message Plain object to verify
|
49667
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
49668
|
+
*/
|
49669
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
49670
|
+
|
49671
|
+
/**
|
49672
|
+
* Creates a SummaryWithMetadata message from a plain object. Also converts values to their respective internal types.
|
49673
|
+
* @param object Plain object
|
49674
|
+
* @returns SummaryWithMetadata
|
49675
|
+
*/
|
49676
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata;
|
49677
|
+
|
49678
|
+
/**
|
49679
|
+
* Creates a plain object from a SummaryWithMetadata message. Also converts values to other types if specified.
|
49680
|
+
* @param message SummaryWithMetadata
|
49681
|
+
* @param [options] Conversion options
|
49682
|
+
* @returns Plain object
|
49683
|
+
*/
|
49684
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
49685
|
+
|
49686
|
+
/**
|
49687
|
+
* Converts this SummaryWithMetadata to JSON.
|
49688
|
+
* @returns JSON object
|
49689
|
+
*/
|
49690
|
+
public toJSON(): { [k: string]: any };
|
49691
|
+
|
49692
|
+
/**
|
49693
|
+
* Gets the default type url for SummaryWithMetadata
|
49694
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
49695
|
+
* @returns The default type url
|
49696
|
+
*/
|
49697
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
49698
|
+
}
|
49699
|
+
|
49700
|
+
/** SummarySkippedReason enum. */
|
49701
|
+
enum SummarySkippedReason {
|
49702
|
+
SUMMARY_SKIPPED_REASON_UNSPECIFIED = 0,
|
49703
|
+
ADVERSARIAL_QUERY_IGNORED = 1,
|
49704
|
+
NON_SUMMARY_SEEKING_QUERY_IGNORED = 2,
|
49705
|
+
OUT_OF_DOMAIN_QUERY_IGNORED = 3,
|
49706
|
+
POTENTIAL_POLICY_VIOLATION = 4,
|
49707
|
+
LLM_ADDON_NOT_ENABLED = 5,
|
49708
|
+
NO_RELEVANT_CONTENT = 6,
|
49709
|
+
JAIL_BREAKING_QUERY_IGNORED = 7
|
49710
|
+
}
|
49711
|
+
}
|
49712
|
+
|
49713
|
+
/** Properties of a GeoSearchDebugInfo. */
|
49714
|
+
interface IGeoSearchDebugInfo {
|
49715
|
+
|
49716
|
+
/** GeoSearchDebugInfo originalAddressQuery */
|
49717
|
+
originalAddressQuery?: (string|null);
|
49718
|
+
|
49719
|
+
/** GeoSearchDebugInfo errorMessage */
|
49720
|
+
errorMessage?: (string|null);
|
49721
|
+
}
|
49722
|
+
|
49723
|
+
/** Represents a GeoSearchDebugInfo. */
|
49724
|
+
class GeoSearchDebugInfo implements IGeoSearchDebugInfo {
|
49725
|
+
|
49726
|
+
/**
|
49727
|
+
* Constructs a new GeoSearchDebugInfo.
|
49728
|
+
* @param [properties] Properties to set
|
49729
|
+
*/
|
49730
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.IGeoSearchDebugInfo);
|
49731
|
+
|
49732
|
+
/** GeoSearchDebugInfo originalAddressQuery. */
|
49733
|
+
public originalAddressQuery: string;
|
49734
|
+
|
49735
|
+
/** GeoSearchDebugInfo errorMessage. */
|
49736
|
+
public errorMessage: string;
|
49737
|
+
|
49738
|
+
/**
|
49739
|
+
* Creates a new GeoSearchDebugInfo instance using the specified properties.
|
49740
|
+
* @param [properties] Properties to set
|
49741
|
+
* @returns GeoSearchDebugInfo instance
|
49742
|
+
*/
|
49743
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.IGeoSearchDebugInfo): google.cloud.discoveryengine.v1alpha.SearchResponse.GeoSearchDebugInfo;
|
49744
|
+
|
49745
|
+
/**
|
49746
|
+
* Encodes the specified GeoSearchDebugInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.GeoSearchDebugInfo.verify|verify} messages.
|
49747
|
+
* @param message GeoSearchDebugInfo message or plain object to encode
|
49748
|
+
* @param [writer] Writer to encode to
|
49749
|
+
* @returns Writer
|
49750
|
+
*/
|
49751
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.IGeoSearchDebugInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
49752
|
+
|
49753
|
+
/**
|
49754
|
+
* Encodes the specified GeoSearchDebugInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.GeoSearchDebugInfo.verify|verify} messages.
|
49755
|
+
* @param message GeoSearchDebugInfo message or plain object to encode
|
49756
|
+
* @param [writer] Writer to encode to
|
49757
|
+
* @returns Writer
|
49758
|
+
*/
|
49759
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.IGeoSearchDebugInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
49760
|
+
|
49761
|
+
/**
|
49762
|
+
* Decodes a GeoSearchDebugInfo message from the specified reader or buffer.
|
49763
|
+
* @param reader Reader or buffer to decode from
|
49764
|
+
* @param [length] Message length if known beforehand
|
49765
|
+
* @returns GeoSearchDebugInfo
|
49766
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49767
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49768
|
+
*/
|
49769
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.GeoSearchDebugInfo;
|
49770
|
+
|
49771
|
+
/**
|
49772
|
+
* Decodes a GeoSearchDebugInfo message from the specified reader or buffer, length delimited.
|
49773
|
+
* @param reader Reader or buffer to decode from
|
49774
|
+
* @returns GeoSearchDebugInfo
|
49775
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49776
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49777
|
+
*/
|
49778
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.GeoSearchDebugInfo;
|
49779
|
+
|
49780
|
+
/**
|
49781
|
+
* Verifies a GeoSearchDebugInfo message.
|
49782
|
+
* @param message Plain object to verify
|
49783
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
49784
|
+
*/
|
49785
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
49786
|
+
|
49787
|
+
/**
|
49788
|
+
* Creates a GeoSearchDebugInfo message from a plain object. Also converts values to their respective internal types.
|
49789
|
+
* @param object Plain object
|
49790
|
+
* @returns GeoSearchDebugInfo
|
49791
|
+
*/
|
49792
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.GeoSearchDebugInfo;
|
49793
|
+
|
49794
|
+
/**
|
49795
|
+
* Creates a plain object from a GeoSearchDebugInfo message. Also converts values to other types if specified.
|
49796
|
+
* @param message GeoSearchDebugInfo
|
49797
|
+
* @param [options] Conversion options
|
49798
|
+
* @returns Plain object
|
49799
|
+
*/
|
49800
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.GeoSearchDebugInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
49801
|
+
|
49802
|
+
/**
|
49803
|
+
* Converts this GeoSearchDebugInfo to JSON.
|
49804
|
+
* @returns JSON object
|
49805
|
+
*/
|
49806
|
+
public toJSON(): { [k: string]: any };
|
49807
|
+
|
49808
|
+
/**
|
49809
|
+
* Gets the default type url for GeoSearchDebugInfo
|
49810
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
49811
|
+
* @returns The default type url
|
49812
|
+
*/
|
49813
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
49814
|
+
}
|
49815
|
+
|
49816
|
+
/** Properties of a QueryExpansionInfo. */
|
49817
|
+
interface IQueryExpansionInfo {
|
49818
|
+
|
49819
|
+
/** QueryExpansionInfo expandedQuery */
|
49820
|
+
expandedQuery?: (boolean|null);
|
49821
|
+
|
49822
|
+
/** QueryExpansionInfo pinnedResultCount */
|
49823
|
+
pinnedResultCount?: (number|Long|string|null);
|
49824
|
+
}
|
49825
|
+
|
49826
|
+
/** Represents a QueryExpansionInfo. */
|
49827
|
+
class QueryExpansionInfo implements IQueryExpansionInfo {
|
49828
|
+
|
49829
|
+
/**
|
49830
|
+
* Constructs a new QueryExpansionInfo.
|
49831
|
+
* @param [properties] Properties to set
|
49832
|
+
*/
|
49833
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.IQueryExpansionInfo);
|
49834
|
+
|
49835
|
+
/** QueryExpansionInfo expandedQuery. */
|
49836
|
+
public expandedQuery: boolean;
|
49837
|
+
|
49838
|
+
/** QueryExpansionInfo pinnedResultCount. */
|
49839
|
+
public pinnedResultCount: (number|Long|string);
|
49840
|
+
|
49841
|
+
/**
|
49842
|
+
* Creates a new QueryExpansionInfo instance using the specified properties.
|
49843
|
+
* @param [properties] Properties to set
|
49844
|
+
* @returns QueryExpansionInfo instance
|
49845
|
+
*/
|
49846
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.IQueryExpansionInfo): google.cloud.discoveryengine.v1alpha.SearchResponse.QueryExpansionInfo;
|
49847
|
+
|
49848
|
+
/**
|
49849
|
+
* Encodes the specified QueryExpansionInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.QueryExpansionInfo.verify|verify} messages.
|
49850
|
+
* @param message QueryExpansionInfo message or plain object to encode
|
49851
|
+
* @param [writer] Writer to encode to
|
49852
|
+
* @returns Writer
|
49853
|
+
*/
|
49854
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.IQueryExpansionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
49855
|
+
|
49856
|
+
/**
|
49857
|
+
* Encodes the specified QueryExpansionInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.QueryExpansionInfo.verify|verify} messages.
|
49858
|
+
* @param message QueryExpansionInfo message or plain object to encode
|
49859
|
+
* @param [writer] Writer to encode to
|
49860
|
+
* @returns Writer
|
49861
|
+
*/
|
49862
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.IQueryExpansionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
49863
|
+
|
49864
|
+
/**
|
49865
|
+
* Decodes a QueryExpansionInfo message from the specified reader or buffer.
|
49866
|
+
* @param reader Reader or buffer to decode from
|
49867
|
+
* @param [length] Message length if known beforehand
|
49868
|
+
* @returns QueryExpansionInfo
|
49869
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49870
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49871
|
+
*/
|
49872
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.QueryExpansionInfo;
|
49873
|
+
|
49874
|
+
/**
|
49875
|
+
* Decodes a QueryExpansionInfo message from the specified reader or buffer, length delimited.
|
49876
|
+
* @param reader Reader or buffer to decode from
|
49877
|
+
* @returns QueryExpansionInfo
|
49878
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49879
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49880
|
+
*/
|
49881
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.QueryExpansionInfo;
|
49882
|
+
|
49883
|
+
/**
|
49884
|
+
* Verifies a QueryExpansionInfo message.
|
49885
|
+
* @param message Plain object to verify
|
49886
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
49887
|
+
*/
|
49888
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
49889
|
+
|
49890
|
+
/**
|
49891
|
+
* Creates a QueryExpansionInfo message from a plain object. Also converts values to their respective internal types.
|
49892
|
+
* @param object Plain object
|
49893
|
+
* @returns QueryExpansionInfo
|
49894
|
+
*/
|
49895
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.QueryExpansionInfo;
|
49896
|
+
|
49897
|
+
/**
|
49898
|
+
* Creates a plain object from a QueryExpansionInfo message. Also converts values to other types if specified.
|
49899
|
+
* @param message QueryExpansionInfo
|
49900
|
+
* @param [options] Conversion options
|
49901
|
+
* @returns Plain object
|
49902
|
+
*/
|
49903
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.QueryExpansionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
49904
|
+
|
49905
|
+
/**
|
49906
|
+
* Converts this QueryExpansionInfo to JSON.
|
49907
|
+
* @returns JSON object
|
49908
|
+
*/
|
49909
|
+
public toJSON(): { [k: string]: any };
|
49910
|
+
|
49911
|
+
/**
|
49912
|
+
* Gets the default type url for QueryExpansionInfo
|
49913
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
49914
|
+
* @returns The default type url
|
49915
|
+
*/
|
49916
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
49917
|
+
}
|
49918
|
+
|
49919
|
+
/** Properties of a NaturalLanguageQueryUnderstandingInfo. */
|
49920
|
+
interface INaturalLanguageQueryUnderstandingInfo {
|
49921
|
+
|
49922
|
+
/** NaturalLanguageQueryUnderstandingInfo extractedFilters */
|
49923
|
+
extractedFilters?: (string|null);
|
49924
|
+
|
49925
|
+
/** NaturalLanguageQueryUnderstandingInfo rewrittenQuery */
|
49926
|
+
rewrittenQuery?: (string|null);
|
49927
|
+
|
49928
|
+
/** NaturalLanguageQueryUnderstandingInfo structuredExtractedFilter */
|
49929
|
+
structuredExtractedFilter?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter|null);
|
49930
|
+
}
|
49931
|
+
|
49932
|
+
/** Represents a NaturalLanguageQueryUnderstandingInfo. */
|
49933
|
+
class NaturalLanguageQueryUnderstandingInfo implements INaturalLanguageQueryUnderstandingInfo {
|
49934
|
+
|
49935
|
+
/**
|
49936
|
+
* Constructs a new NaturalLanguageQueryUnderstandingInfo.
|
49937
|
+
* @param [properties] Properties to set
|
49938
|
+
*/
|
49939
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.INaturalLanguageQueryUnderstandingInfo);
|
49940
|
+
|
49941
|
+
/** NaturalLanguageQueryUnderstandingInfo extractedFilters. */
|
49942
|
+
public extractedFilters: string;
|
49943
|
+
|
49944
|
+
/** NaturalLanguageQueryUnderstandingInfo rewrittenQuery. */
|
49945
|
+
public rewrittenQuery: string;
|
49946
|
+
|
49947
|
+
/** NaturalLanguageQueryUnderstandingInfo structuredExtractedFilter. */
|
49948
|
+
public structuredExtractedFilter?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter|null);
|
49949
|
+
|
49950
|
+
/**
|
49951
|
+
* Creates a new NaturalLanguageQueryUnderstandingInfo instance using the specified properties.
|
49952
|
+
* @param [properties] Properties to set
|
49953
|
+
* @returns NaturalLanguageQueryUnderstandingInfo instance
|
49954
|
+
*/
|
49955
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.INaturalLanguageQueryUnderstandingInfo): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
|
49956
|
+
|
49957
|
+
/**
|
49958
|
+
* Encodes the specified NaturalLanguageQueryUnderstandingInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.verify|verify} messages.
|
49959
|
+
* @param message NaturalLanguageQueryUnderstandingInfo message or plain object to encode
|
49960
|
+
* @param [writer] Writer to encode to
|
49961
|
+
* @returns Writer
|
49962
|
+
*/
|
49963
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.INaturalLanguageQueryUnderstandingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
49964
|
+
|
49965
|
+
/**
|
49966
|
+
* Encodes the specified NaturalLanguageQueryUnderstandingInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.verify|verify} messages.
|
49967
|
+
* @param message NaturalLanguageQueryUnderstandingInfo message or plain object to encode
|
49968
|
+
* @param [writer] Writer to encode to
|
49969
|
+
* @returns Writer
|
49970
|
+
*/
|
49971
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.INaturalLanguageQueryUnderstandingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
49972
|
+
|
49973
|
+
/**
|
49974
|
+
* Decodes a NaturalLanguageQueryUnderstandingInfo message from the specified reader or buffer.
|
49975
|
+
* @param reader Reader or buffer to decode from
|
49976
|
+
* @param [length] Message length if known beforehand
|
49977
|
+
* @returns NaturalLanguageQueryUnderstandingInfo
|
49978
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49979
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49980
|
+
*/
|
49981
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
|
49982
|
+
|
49983
|
+
/**
|
49984
|
+
* Decodes a NaturalLanguageQueryUnderstandingInfo message from the specified reader or buffer, length delimited.
|
49985
|
+
* @param reader Reader or buffer to decode from
|
49986
|
+
* @returns NaturalLanguageQueryUnderstandingInfo
|
49987
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
49988
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
49989
|
+
*/
|
49990
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
|
49991
|
+
|
49992
|
+
/**
|
49993
|
+
* Verifies a NaturalLanguageQueryUnderstandingInfo message.
|
49994
|
+
* @param message Plain object to verify
|
49995
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
49996
|
+
*/
|
49997
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
49998
|
+
|
49999
|
+
/**
|
50000
|
+
* Creates a NaturalLanguageQueryUnderstandingInfo message from a plain object. Also converts values to their respective internal types.
|
50001
|
+
* @param object Plain object
|
50002
|
+
* @returns NaturalLanguageQueryUnderstandingInfo
|
50003
|
+
*/
|
50004
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo;
|
50005
|
+
|
50006
|
+
/**
|
50007
|
+
* Creates a plain object from a NaturalLanguageQueryUnderstandingInfo message. Also converts values to other types if specified.
|
50008
|
+
* @param message NaturalLanguageQueryUnderstandingInfo
|
50009
|
+
* @param [options] Conversion options
|
50010
|
+
* @returns Plain object
|
50011
|
+
*/
|
50012
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
50013
|
+
|
50014
|
+
/**
|
50015
|
+
* Converts this NaturalLanguageQueryUnderstandingInfo to JSON.
|
50016
|
+
* @returns JSON object
|
50017
|
+
*/
|
50018
|
+
public toJSON(): { [k: string]: any };
|
50019
|
+
|
50020
|
+
/**
|
50021
|
+
* Gets the default type url for NaturalLanguageQueryUnderstandingInfo
|
50022
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
50023
|
+
* @returns The default type url
|
50024
|
+
*/
|
50025
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
50026
|
+
}
|
50027
|
+
|
50028
|
+
namespace NaturalLanguageQueryUnderstandingInfo {
|
50029
|
+
|
50030
|
+
/** Properties of a StructuredExtractedFilter. */
|
50031
|
+
interface IStructuredExtractedFilter {
|
50032
|
+
|
50033
|
+
/** StructuredExtractedFilter expression */
|
50034
|
+
expression?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression|null);
|
50035
|
+
}
|
50036
|
+
|
50037
|
+
/** Represents a StructuredExtractedFilter. */
|
50038
|
+
class StructuredExtractedFilter implements IStructuredExtractedFilter {
|
50039
|
+
|
50040
|
+
/**
|
50041
|
+
* Constructs a new StructuredExtractedFilter.
|
50042
|
+
* @param [properties] Properties to set
|
50043
|
+
*/
|
50044
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter);
|
50045
|
+
|
50046
|
+
/** StructuredExtractedFilter expression. */
|
50047
|
+
public expression?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression|null);
|
50048
|
+
|
50049
|
+
/**
|
50050
|
+
* Creates a new StructuredExtractedFilter instance using the specified properties.
|
50051
|
+
* @param [properties] Properties to set
|
50052
|
+
* @returns StructuredExtractedFilter instance
|
50053
|
+
*/
|
50054
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
|
50055
|
+
|
50056
|
+
/**
|
50057
|
+
* Encodes the specified StructuredExtractedFilter message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.verify|verify} messages.
|
50058
|
+
* @param message StructuredExtractedFilter message or plain object to encode
|
50059
|
+
* @param [writer] Writer to encode to
|
50060
|
+
* @returns Writer
|
50061
|
+
*/
|
50062
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
50063
|
+
|
50064
|
+
/**
|
50065
|
+
* Encodes the specified StructuredExtractedFilter message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.verify|verify} messages.
|
50066
|
+
* @param message StructuredExtractedFilter message or plain object to encode
|
50067
|
+
* @param [writer] Writer to encode to
|
50068
|
+
* @returns Writer
|
50069
|
+
*/
|
50070
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.IStructuredExtractedFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
50071
|
+
|
50072
|
+
/**
|
50073
|
+
* Decodes a StructuredExtractedFilter message from the specified reader or buffer.
|
50074
|
+
* @param reader Reader or buffer to decode from
|
50075
|
+
* @param [length] Message length if known beforehand
|
50076
|
+
* @returns StructuredExtractedFilter
|
50077
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50078
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50079
|
+
*/
|
50080
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
|
50081
|
+
|
50082
|
+
/**
|
50083
|
+
* Decodes a StructuredExtractedFilter message from the specified reader or buffer, length delimited.
|
50084
|
+
* @param reader Reader or buffer to decode from
|
50085
|
+
* @returns StructuredExtractedFilter
|
50086
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50087
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50088
|
+
*/
|
50089
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
|
50090
|
+
|
50091
|
+
/**
|
50092
|
+
* Verifies a StructuredExtractedFilter message.
|
50093
|
+
* @param message Plain object to verify
|
50094
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
50095
|
+
*/
|
50096
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
50097
|
+
|
50098
|
+
/**
|
50099
|
+
* Creates a StructuredExtractedFilter message from a plain object. Also converts values to their respective internal types.
|
50100
|
+
* @param object Plain object
|
50101
|
+
* @returns StructuredExtractedFilter
|
50102
|
+
*/
|
50103
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter;
|
50104
|
+
|
50105
|
+
/**
|
50106
|
+
* Creates a plain object from a StructuredExtractedFilter message. Also converts values to other types if specified.
|
50107
|
+
* @param message StructuredExtractedFilter
|
50108
|
+
* @param [options] Conversion options
|
50109
|
+
* @returns Plain object
|
50110
|
+
*/
|
50111
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
50112
|
+
|
50113
|
+
/**
|
50114
|
+
* Converts this StructuredExtractedFilter to JSON.
|
50115
|
+
* @returns JSON object
|
50116
|
+
*/
|
50117
|
+
public toJSON(): { [k: string]: any };
|
50118
|
+
|
50119
|
+
/**
|
50120
|
+
* Gets the default type url for StructuredExtractedFilter
|
50121
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
50122
|
+
* @returns The default type url
|
50123
|
+
*/
|
50124
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
50125
|
+
}
|
50126
|
+
|
50127
|
+
namespace StructuredExtractedFilter {
|
50128
|
+
|
50129
|
+
/** Properties of a StringConstraint. */
|
50130
|
+
interface IStringConstraint {
|
50131
|
+
|
50132
|
+
/** StringConstraint fieldName */
|
50133
|
+
fieldName?: (string|null);
|
50134
|
+
|
50135
|
+
/** StringConstraint values */
|
50136
|
+
values?: (string[]|null);
|
50137
|
+
}
|
50138
|
+
|
50139
|
+
/** Represents a StringConstraint. */
|
50140
|
+
class StringConstraint implements IStringConstraint {
|
50141
|
+
|
50142
|
+
/**
|
50143
|
+
* Constructs a new StringConstraint.
|
50144
|
+
* @param [properties] Properties to set
|
50145
|
+
*/
|
50146
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint);
|
50147
|
+
|
50148
|
+
/** StringConstraint fieldName. */
|
50149
|
+
public fieldName: string;
|
50150
|
+
|
50151
|
+
/** StringConstraint values. */
|
50152
|
+
public values: string[];
|
50153
|
+
|
50154
|
+
/**
|
50155
|
+
* Creates a new StringConstraint instance using the specified properties.
|
50156
|
+
* @param [properties] Properties to set
|
50157
|
+
* @returns StringConstraint instance
|
50158
|
+
*/
|
50159
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
|
50160
|
+
|
50161
|
+
/**
|
50162
|
+
* Encodes the specified StringConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint.verify|verify} messages.
|
50163
|
+
* @param message StringConstraint message or plain object to encode
|
50164
|
+
* @param [writer] Writer to encode to
|
50165
|
+
* @returns Writer
|
50166
|
+
*/
|
50167
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
50168
|
+
|
50169
|
+
/**
|
50170
|
+
* Encodes the specified StringConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint.verify|verify} messages.
|
50171
|
+
* @param message StringConstraint message or plain object to encode
|
50172
|
+
* @param [writer] Writer to encode to
|
50173
|
+
* @returns Writer
|
50174
|
+
*/
|
50175
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
50176
|
+
|
50177
|
+
/**
|
50178
|
+
* Decodes a StringConstraint message from the specified reader or buffer.
|
50179
|
+
* @param reader Reader or buffer to decode from
|
50180
|
+
* @param [length] Message length if known beforehand
|
50181
|
+
* @returns StringConstraint
|
50182
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50183
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50184
|
+
*/
|
50185
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
|
50186
|
+
|
50187
|
+
/**
|
50188
|
+
* Decodes a StringConstraint message from the specified reader or buffer, length delimited.
|
50189
|
+
* @param reader Reader or buffer to decode from
|
50190
|
+
* @returns StringConstraint
|
50191
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50192
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50193
|
+
*/
|
50194
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
|
50195
|
+
|
50196
|
+
/**
|
50197
|
+
* Verifies a StringConstraint message.
|
50198
|
+
* @param message Plain object to verify
|
50199
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
50200
|
+
*/
|
50201
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
50202
|
+
|
50203
|
+
/**
|
50204
|
+
* Creates a StringConstraint message from a plain object. Also converts values to their respective internal types.
|
50205
|
+
* @param object Plain object
|
50206
|
+
* @returns StringConstraint
|
50207
|
+
*/
|
50208
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint;
|
50209
|
+
|
50210
|
+
/**
|
50211
|
+
* Creates a plain object from a StringConstraint message. Also converts values to other types if specified.
|
50212
|
+
* @param message StringConstraint
|
50213
|
+
* @param [options] Conversion options
|
50214
|
+
* @returns Plain object
|
50215
|
+
*/
|
50216
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
50217
|
+
|
50218
|
+
/**
|
50219
|
+
* Converts this StringConstraint to JSON.
|
50220
|
+
* @returns JSON object
|
50221
|
+
*/
|
50222
|
+
public toJSON(): { [k: string]: any };
|
50223
|
+
|
50224
|
+
/**
|
50225
|
+
* Gets the default type url for StringConstraint
|
50226
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
50227
|
+
* @returns The default type url
|
50228
|
+
*/
|
50229
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
50230
|
+
}
|
50231
|
+
|
50232
|
+
/** Properties of a NumberConstraint. */
|
50233
|
+
interface INumberConstraint {
|
50234
|
+
|
50235
|
+
/** NumberConstraint fieldName */
|
50236
|
+
fieldName?: (string|null);
|
50237
|
+
|
50238
|
+
/** NumberConstraint comparison */
|
50239
|
+
comparison?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|keyof typeof google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|null);
|
50240
|
+
|
50241
|
+
/** NumberConstraint value */
|
50242
|
+
value?: (number|null);
|
50243
|
+
}
|
50244
|
+
|
50245
|
+
/** Represents a NumberConstraint. */
|
50246
|
+
class NumberConstraint implements INumberConstraint {
|
50247
|
+
|
50248
|
+
/**
|
50249
|
+
* Constructs a new NumberConstraint.
|
50250
|
+
* @param [properties] Properties to set
|
50251
|
+
*/
|
50252
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint);
|
50253
|
+
|
50254
|
+
/** NumberConstraint fieldName. */
|
50255
|
+
public fieldName: string;
|
50256
|
+
|
50257
|
+
/** NumberConstraint comparison. */
|
50258
|
+
public comparison: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison|keyof typeof google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison);
|
50259
|
+
|
50260
|
+
/** NumberConstraint value. */
|
50261
|
+
public value: number;
|
50262
|
+
|
50263
|
+
/**
|
50264
|
+
* Creates a new NumberConstraint instance using the specified properties.
|
50265
|
+
* @param [properties] Properties to set
|
50266
|
+
* @returns NumberConstraint instance
|
50267
|
+
*/
|
50268
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
|
50269
|
+
|
50270
|
+
/**
|
50271
|
+
* Encodes the specified NumberConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.verify|verify} messages.
|
50272
|
+
* @param message NumberConstraint message or plain object to encode
|
50273
|
+
* @param [writer] Writer to encode to
|
50274
|
+
* @returns Writer
|
50275
|
+
*/
|
50276
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
50277
|
+
|
50278
|
+
/**
|
50279
|
+
* Encodes the specified NumberConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.verify|verify} messages.
|
50280
|
+
* @param message NumberConstraint message or plain object to encode
|
50281
|
+
* @param [writer] Writer to encode to
|
50282
|
+
* @returns Writer
|
50283
|
+
*/
|
50284
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
50285
|
+
|
50286
|
+
/**
|
50287
|
+
* Decodes a NumberConstraint message from the specified reader or buffer.
|
50288
|
+
* @param reader Reader or buffer to decode from
|
50289
|
+
* @param [length] Message length if known beforehand
|
50290
|
+
* @returns NumberConstraint
|
50291
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50292
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50293
|
+
*/
|
50294
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
|
50295
|
+
|
50296
|
+
/**
|
50297
|
+
* Decodes a NumberConstraint message from the specified reader or buffer, length delimited.
|
50298
|
+
* @param reader Reader or buffer to decode from
|
50299
|
+
* @returns NumberConstraint
|
50300
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50301
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50302
|
+
*/
|
50303
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
|
50304
|
+
|
50305
|
+
/**
|
50306
|
+
* Verifies a NumberConstraint message.
|
50307
|
+
* @param message Plain object to verify
|
50308
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
50309
|
+
*/
|
50310
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
50311
|
+
|
50312
|
+
/**
|
50313
|
+
* Creates a NumberConstraint message from a plain object. Also converts values to their respective internal types.
|
50314
|
+
* @param object Plain object
|
50315
|
+
* @returns NumberConstraint
|
50316
|
+
*/
|
50317
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint;
|
50318
|
+
|
50319
|
+
/**
|
50320
|
+
* Creates a plain object from a NumberConstraint message. Also converts values to other types if specified.
|
50321
|
+
* @param message NumberConstraint
|
50322
|
+
* @param [options] Conversion options
|
50323
|
+
* @returns Plain object
|
50324
|
+
*/
|
50325
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
50326
|
+
|
50327
|
+
/**
|
50328
|
+
* Converts this NumberConstraint to JSON.
|
50329
|
+
* @returns JSON object
|
50330
|
+
*/
|
50331
|
+
public toJSON(): { [k: string]: any };
|
50332
|
+
|
50333
|
+
/**
|
50334
|
+
* Gets the default type url for NumberConstraint
|
50335
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
50336
|
+
* @returns The default type url
|
50337
|
+
*/
|
50338
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
50339
|
+
}
|
50340
|
+
|
50341
|
+
namespace NumberConstraint {
|
50342
|
+
|
50343
|
+
/** Comparison enum. */
|
50344
|
+
enum Comparison {
|
50345
|
+
COMPARISON_UNSPECIFIED = 0,
|
50346
|
+
EQUALS = 1,
|
50347
|
+
LESS_THAN_EQUALS = 2,
|
50348
|
+
LESS_THAN = 3,
|
50349
|
+
GREATER_THAN_EQUALS = 4,
|
50350
|
+
GREATER_THAN = 5
|
50351
|
+
}
|
50352
|
+
}
|
50353
|
+
|
50354
|
+
/** Properties of a GeolocationConstraint. */
|
50355
|
+
interface IGeolocationConstraint {
|
50356
|
+
|
50357
|
+
/** GeolocationConstraint fieldName */
|
50358
|
+
fieldName?: (string|null);
|
50359
|
+
|
50360
|
+
/** GeolocationConstraint address */
|
50361
|
+
address?: (string|null);
|
50362
|
+
|
50363
|
+
/** GeolocationConstraint latitude */
|
50364
|
+
latitude?: (number|null);
|
50365
|
+
|
50366
|
+
/** GeolocationConstraint longitude */
|
50367
|
+
longitude?: (number|null);
|
50368
|
+
|
50369
|
+
/** GeolocationConstraint radiusInMeters */
|
50370
|
+
radiusInMeters?: (number|null);
|
50371
|
+
}
|
50372
|
+
|
50373
|
+
/** Represents a GeolocationConstraint. */
|
50374
|
+
class GeolocationConstraint implements IGeolocationConstraint {
|
50375
|
+
|
50376
|
+
/**
|
50377
|
+
* Constructs a new GeolocationConstraint.
|
50378
|
+
* @param [properties] Properties to set
|
50379
|
+
*/
|
50380
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint);
|
50381
|
+
|
50382
|
+
/** GeolocationConstraint fieldName. */
|
50383
|
+
public fieldName: string;
|
50384
|
+
|
50385
|
+
/** GeolocationConstraint address. */
|
50386
|
+
public address: string;
|
50387
|
+
|
50388
|
+
/** GeolocationConstraint latitude. */
|
50389
|
+
public latitude: number;
|
50390
|
+
|
50391
|
+
/** GeolocationConstraint longitude. */
|
50392
|
+
public longitude: number;
|
50393
|
+
|
50394
|
+
/** GeolocationConstraint radiusInMeters. */
|
50395
|
+
public radiusInMeters: number;
|
50396
|
+
|
50397
|
+
/**
|
50398
|
+
* Creates a new GeolocationConstraint instance using the specified properties.
|
50399
|
+
* @param [properties] Properties to set
|
50400
|
+
* @returns GeolocationConstraint instance
|
50401
|
+
*/
|
50402
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
|
50403
|
+
|
50404
|
+
/**
|
50405
|
+
* Encodes the specified GeolocationConstraint message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint.verify|verify} messages.
|
50406
|
+
* @param message GeolocationConstraint message or plain object to encode
|
50407
|
+
* @param [writer] Writer to encode to
|
50408
|
+
* @returns Writer
|
50409
|
+
*/
|
50410
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
50411
|
+
|
50412
|
+
/**
|
50413
|
+
* Encodes the specified GeolocationConstraint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint.verify|verify} messages.
|
50414
|
+
* @param message GeolocationConstraint message or plain object to encode
|
50415
|
+
* @param [writer] Writer to encode to
|
50416
|
+
* @returns Writer
|
50417
|
+
*/
|
50418
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
50419
|
+
|
50420
|
+
/**
|
50421
|
+
* Decodes a GeolocationConstraint message from the specified reader or buffer.
|
50422
|
+
* @param reader Reader or buffer to decode from
|
50423
|
+
* @param [length] Message length if known beforehand
|
50424
|
+
* @returns GeolocationConstraint
|
50425
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50426
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50427
|
+
*/
|
50428
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
|
50429
|
+
|
50430
|
+
/**
|
50431
|
+
* Decodes a GeolocationConstraint message from the specified reader or buffer, length delimited.
|
50432
|
+
* @param reader Reader or buffer to decode from
|
50433
|
+
* @returns GeolocationConstraint
|
50434
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50435
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50436
|
+
*/
|
50437
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
|
50438
|
+
|
50439
|
+
/**
|
50440
|
+
* Verifies a GeolocationConstraint message.
|
50441
|
+
* @param message Plain object to verify
|
50442
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
50443
|
+
*/
|
50444
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
50445
|
+
|
50446
|
+
/**
|
50447
|
+
* Creates a GeolocationConstraint message from a plain object. Also converts values to their respective internal types.
|
50448
|
+
* @param object Plain object
|
50449
|
+
* @returns GeolocationConstraint
|
50450
|
+
*/
|
50451
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint;
|
50452
|
+
|
50453
|
+
/**
|
50454
|
+
* Creates a plain object from a GeolocationConstraint message. Also converts values to other types if specified.
|
50455
|
+
* @param message GeolocationConstraint
|
50456
|
+
* @param [options] Conversion options
|
50457
|
+
* @returns Plain object
|
50458
|
+
*/
|
50459
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
50460
|
+
|
50461
|
+
/**
|
50462
|
+
* Converts this GeolocationConstraint to JSON.
|
50463
|
+
* @returns JSON object
|
50464
|
+
*/
|
50465
|
+
public toJSON(): { [k: string]: any };
|
50466
|
+
|
50467
|
+
/**
|
50468
|
+
* Gets the default type url for GeolocationConstraint
|
50469
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
50470
|
+
* @returns The default type url
|
50471
|
+
*/
|
50472
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
50473
|
+
}
|
50474
|
+
|
50475
|
+
/** Properties of an AndExpression. */
|
50476
|
+
interface IAndExpression {
|
50477
|
+
|
50478
|
+
/** AndExpression expressions */
|
50479
|
+
expressions?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[]|null);
|
50480
|
+
}
|
50481
|
+
|
50482
|
+
/** Represents an AndExpression. */
|
50483
|
+
class AndExpression implements IAndExpression {
|
50484
|
+
|
50485
|
+
/**
|
50486
|
+
* Constructs a new AndExpression.
|
50487
|
+
* @param [properties] Properties to set
|
50488
|
+
*/
|
50489
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression);
|
50490
|
+
|
50491
|
+
/** AndExpression expressions. */
|
50492
|
+
public expressions: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[];
|
50493
|
+
|
50494
|
+
/**
|
50495
|
+
* Creates a new AndExpression instance using the specified properties.
|
50496
|
+
* @param [properties] Properties to set
|
50497
|
+
* @returns AndExpression instance
|
50498
|
+
*/
|
50499
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
50500
|
+
|
50501
|
+
/**
|
50502
|
+
* Encodes the specified AndExpression message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression.verify|verify} messages.
|
50503
|
+
* @param message AndExpression message or plain object to encode
|
50504
|
+
* @param [writer] Writer to encode to
|
50505
|
+
* @returns Writer
|
50506
|
+
*/
|
50507
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
50508
|
+
|
50509
|
+
/**
|
50510
|
+
* Encodes the specified AndExpression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression.verify|verify} messages.
|
50511
|
+
* @param message AndExpression message or plain object to encode
|
50512
|
+
* @param [writer] Writer to encode to
|
50513
|
+
* @returns Writer
|
50514
|
+
*/
|
50515
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
50516
|
+
|
50517
|
+
/**
|
50518
|
+
* Decodes an AndExpression message from the specified reader or buffer.
|
50519
|
+
* @param reader Reader or buffer to decode from
|
50520
|
+
* @param [length] Message length if known beforehand
|
50521
|
+
* @returns AndExpression
|
50522
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50523
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50524
|
+
*/
|
50525
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
50526
|
+
|
50527
|
+
/**
|
50528
|
+
* Decodes an AndExpression message from the specified reader or buffer, length delimited.
|
50529
|
+
* @param reader Reader or buffer to decode from
|
50530
|
+
* @returns AndExpression
|
50531
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50532
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50533
|
+
*/
|
50534
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
50535
|
+
|
50536
|
+
/**
|
50537
|
+
* Verifies an AndExpression message.
|
50538
|
+
* @param message Plain object to verify
|
50539
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
50540
|
+
*/
|
50541
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
50542
|
+
|
50543
|
+
/**
|
50544
|
+
* Creates an AndExpression message from a plain object. Also converts values to their respective internal types.
|
50545
|
+
* @param object Plain object
|
50546
|
+
* @returns AndExpression
|
50547
|
+
*/
|
50548
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression;
|
50549
|
+
|
50550
|
+
/**
|
50551
|
+
* Creates a plain object from an AndExpression message. Also converts values to other types if specified.
|
50552
|
+
* @param message AndExpression
|
50553
|
+
* @param [options] Conversion options
|
50554
|
+
* @returns Plain object
|
50555
|
+
*/
|
50556
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
50557
|
+
|
50558
|
+
/**
|
50559
|
+
* Converts this AndExpression to JSON.
|
50560
|
+
* @returns JSON object
|
50561
|
+
*/
|
50562
|
+
public toJSON(): { [k: string]: any };
|
50563
|
+
|
50564
|
+
/**
|
50565
|
+
* Gets the default type url for AndExpression
|
50566
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
50567
|
+
* @returns The default type url
|
50568
|
+
*/
|
50569
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
50570
|
+
}
|
47790
50571
|
|
47791
|
-
|
47792
|
-
|
50572
|
+
/** Properties of an OrExpression. */
|
50573
|
+
interface IOrExpression {
|
50574
|
+
|
50575
|
+
/** OrExpression expressions */
|
50576
|
+
expressions?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[]|null);
|
47793
50577
|
}
|
47794
50578
|
|
47795
|
-
/** Represents
|
47796
|
-
class
|
50579
|
+
/** Represents an OrExpression. */
|
50580
|
+
class OrExpression implements IOrExpression {
|
47797
50581
|
|
47798
50582
|
/**
|
47799
|
-
* Constructs a new
|
50583
|
+
* Constructs a new OrExpression.
|
47800
50584
|
* @param [properties] Properties to set
|
47801
50585
|
*/
|
47802
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
47803
|
-
|
47804
|
-
/** ChunkContent content. */
|
47805
|
-
public content: string;
|
50586
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression);
|
47806
50587
|
|
47807
|
-
/**
|
47808
|
-
public
|
50588
|
+
/** OrExpression expressions. */
|
50589
|
+
public expressions: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression[];
|
47809
50590
|
|
47810
50591
|
/**
|
47811
|
-
* Creates a new
|
50592
|
+
* Creates a new OrExpression instance using the specified properties.
|
47812
50593
|
* @param [properties] Properties to set
|
47813
|
-
* @returns
|
50594
|
+
* @returns OrExpression instance
|
47814
50595
|
*/
|
47815
|
-
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50596
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
|
47816
50597
|
|
47817
50598
|
/**
|
47818
|
-
* Encodes the specified
|
47819
|
-
* @param message
|
50599
|
+
* Encodes the specified OrExpression message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.verify|verify} messages.
|
50600
|
+
* @param message OrExpression message or plain object to encode
|
47820
50601
|
* @param [writer] Writer to encode to
|
47821
50602
|
* @returns Writer
|
47822
50603
|
*/
|
47823
|
-
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50604
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
47824
50605
|
|
47825
50606
|
/**
|
47826
|
-
* Encodes the specified
|
47827
|
-
* @param message
|
50607
|
+
* Encodes the specified OrExpression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.verify|verify} messages.
|
50608
|
+
* @param message OrExpression message or plain object to encode
|
47828
50609
|
* @param [writer] Writer to encode to
|
47829
50610
|
* @returns Writer
|
47830
50611
|
*/
|
47831
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50612
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
47832
50613
|
|
47833
50614
|
/**
|
47834
|
-
* Decodes
|
50615
|
+
* Decodes an OrExpression message from the specified reader or buffer.
|
47835
50616
|
* @param reader Reader or buffer to decode from
|
47836
50617
|
* @param [length] Message length if known beforehand
|
47837
|
-
* @returns
|
50618
|
+
* @returns OrExpression
|
47838
50619
|
* @throws {Error} If the payload is not a reader or valid buffer
|
47839
50620
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
47840
50621
|
*/
|
47841
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50622
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
|
47842
50623
|
|
47843
50624
|
/**
|
47844
|
-
* Decodes
|
50625
|
+
* Decodes an OrExpression message from the specified reader or buffer, length delimited.
|
47845
50626
|
* @param reader Reader or buffer to decode from
|
47846
|
-
* @returns
|
50627
|
+
* @returns OrExpression
|
47847
50628
|
* @throws {Error} If the payload is not a reader or valid buffer
|
47848
50629
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
47849
50630
|
*/
|
47850
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50631
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
|
47851
50632
|
|
47852
50633
|
/**
|
47853
|
-
* Verifies
|
50634
|
+
* Verifies an OrExpression message.
|
47854
50635
|
* @param message Plain object to verify
|
47855
50636
|
* @returns `null` if valid, otherwise the reason why it is not
|
47856
50637
|
*/
|
47857
50638
|
public static verify(message: { [k: string]: any }): (string|null);
|
47858
50639
|
|
47859
50640
|
/**
|
47860
|
-
* Creates
|
50641
|
+
* Creates an OrExpression message from a plain object. Also converts values to their respective internal types.
|
47861
50642
|
* @param object Plain object
|
47862
|
-
* @returns
|
50643
|
+
* @returns OrExpression
|
47863
50644
|
*/
|
47864
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50645
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression;
|
47865
50646
|
|
47866
50647
|
/**
|
47867
|
-
* Creates a plain object from
|
47868
|
-
* @param message
|
50648
|
+
* Creates a plain object from an OrExpression message. Also converts values to other types if specified.
|
50649
|
+
* @param message OrExpression
|
47869
50650
|
* @param [options] Conversion options
|
47870
50651
|
* @returns Plain object
|
47871
50652
|
*/
|
47872
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50653
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
47873
50654
|
|
47874
50655
|
/**
|
47875
|
-
* Converts this
|
50656
|
+
* Converts this OrExpression to JSON.
|
47876
50657
|
* @returns JSON object
|
47877
50658
|
*/
|
47878
50659
|
public toJSON(): { [k: string]: any };
|
47879
50660
|
|
47880
50661
|
/**
|
47881
|
-
* Gets the default type url for
|
50662
|
+
* Gets the default type url for OrExpression
|
47882
50663
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
47883
50664
|
* @returns The default type url
|
47884
50665
|
*/
|
47885
50666
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
47886
50667
|
}
|
47887
|
-
}
|
47888
50668
|
|
47889
|
-
|
47890
|
-
|
50669
|
+
/** Properties of an Expression. */
|
50670
|
+
interface IExpression {
|
47891
50671
|
|
47892
|
-
|
47893
|
-
|
50672
|
+
/** Expression stringConstraint */
|
50673
|
+
stringConstraint?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint|null);
|
47894
50674
|
|
47895
|
-
|
47896
|
-
|
50675
|
+
/** Expression numberConstraint */
|
50676
|
+
numberConstraint?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint|null);
|
47897
50677
|
|
47898
|
-
|
47899
|
-
|
47900
|
-
}
|
50678
|
+
/** Expression geolocationConstraint */
|
50679
|
+
geolocationConstraint?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint|null);
|
47901
50680
|
|
47902
|
-
|
47903
|
-
|
50681
|
+
/** Expression andExpr */
|
50682
|
+
andExpr?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression|null);
|
47904
50683
|
|
47905
|
-
|
47906
|
-
|
47907
|
-
|
47908
|
-
*/
|
47909
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ISummaryWithMetadata);
|
50684
|
+
/** Expression orExpr */
|
50685
|
+
orExpr?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression|null);
|
50686
|
+
}
|
47910
50687
|
|
47911
|
-
/**
|
47912
|
-
|
50688
|
+
/** Represents an Expression. */
|
50689
|
+
class Expression implements IExpression {
|
47913
50690
|
|
47914
|
-
|
47915
|
-
|
50691
|
+
/**
|
50692
|
+
* Constructs a new Expression.
|
50693
|
+
* @param [properties] Properties to set
|
50694
|
+
*/
|
50695
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression);
|
47916
50696
|
|
47917
|
-
|
47918
|
-
|
50697
|
+
/** Expression stringConstraint. */
|
50698
|
+
public stringConstraint?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IStringConstraint|null);
|
47919
50699
|
|
47920
|
-
|
47921
|
-
|
47922
|
-
* @param [properties] Properties to set
|
47923
|
-
* @returns SummaryWithMetadata instance
|
47924
|
-
*/
|
47925
|
-
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ISummaryWithMetadata): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata;
|
50700
|
+
/** Expression numberConstraint. */
|
50701
|
+
public numberConstraint?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.INumberConstraint|null);
|
47926
50702
|
|
47927
|
-
|
47928
|
-
|
47929
|
-
* @param message SummaryWithMetadata message or plain object to encode
|
47930
|
-
* @param [writer] Writer to encode to
|
47931
|
-
* @returns Writer
|
47932
|
-
*/
|
47933
|
-
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ISummaryWithMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
50703
|
+
/** Expression geolocationConstraint. */
|
50704
|
+
public geolocationConstraint?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IGeolocationConstraint|null);
|
47934
50705
|
|
47935
|
-
|
47936
|
-
|
47937
|
-
* @param message SummaryWithMetadata message or plain object to encode
|
47938
|
-
* @param [writer] Writer to encode to
|
47939
|
-
* @returns Writer
|
47940
|
-
*/
|
47941
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.ISummaryWithMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
50706
|
+
/** Expression andExpr. */
|
50707
|
+
public andExpr?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IAndExpression|null);
|
47942
50708
|
|
47943
|
-
|
47944
|
-
|
47945
|
-
* @param reader Reader or buffer to decode from
|
47946
|
-
* @param [length] Message length if known beforehand
|
47947
|
-
* @returns SummaryWithMetadata
|
47948
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
47949
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
47950
|
-
*/
|
47951
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata;
|
50709
|
+
/** Expression orExpr. */
|
50710
|
+
public orExpr?: (google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IOrExpression|null);
|
47952
50711
|
|
47953
|
-
|
47954
|
-
|
47955
|
-
* @param reader Reader or buffer to decode from
|
47956
|
-
* @returns SummaryWithMetadata
|
47957
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
47958
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
47959
|
-
*/
|
47960
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummaryWithMetadata;
|
50712
|
+
/** Expression expr. */
|
50713
|
+
public expr?: ("stringConstraint"|"numberConstraint"|"geolocationConstraint"|"andExpr"|"orExpr");
|
47961
50714
|
|
47962
|
-
|
47963
|
-
|
47964
|
-
|
47965
|
-
|
47966
|
-
|
47967
|
-
|
50715
|
+
/**
|
50716
|
+
* Creates a new Expression instance using the specified properties.
|
50717
|
+
* @param [properties] Properties to set
|
50718
|
+
* @returns Expression instance
|
50719
|
+
*/
|
50720
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
|
47968
50721
|
|
47969
|
-
|
47970
|
-
|
47971
|
-
|
47972
|
-
|
47973
|
-
|
47974
|
-
|
50722
|
+
/**
|
50723
|
+
* Encodes the specified Expression message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.verify|verify} messages.
|
50724
|
+
* @param message Expression message or plain object to encode
|
50725
|
+
* @param [writer] Writer to encode to
|
50726
|
+
* @returns Writer
|
50727
|
+
*/
|
50728
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
47975
50729
|
|
47976
|
-
|
47977
|
-
|
47978
|
-
|
47979
|
-
|
47980
|
-
|
47981
|
-
|
47982
|
-
|
50730
|
+
/**
|
50731
|
+
* Encodes the specified Expression message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.verify|verify} messages.
|
50732
|
+
* @param message Expression message or plain object to encode
|
50733
|
+
* @param [writer] Writer to encode to
|
50734
|
+
* @returns Writer
|
50735
|
+
*/
|
50736
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.IExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
47983
50737
|
|
47984
|
-
|
47985
|
-
|
47986
|
-
|
47987
|
-
|
47988
|
-
|
50738
|
+
/**
|
50739
|
+
* Decodes an Expression message from the specified reader or buffer.
|
50740
|
+
* @param reader Reader or buffer to decode from
|
50741
|
+
* @param [length] Message length if known beforehand
|
50742
|
+
* @returns Expression
|
50743
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50744
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50745
|
+
*/
|
50746
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
|
47989
50747
|
|
47990
|
-
|
47991
|
-
|
47992
|
-
|
47993
|
-
|
47994
|
-
|
47995
|
-
|
47996
|
-
|
50748
|
+
/**
|
50749
|
+
* Decodes an Expression message from the specified reader or buffer, length delimited.
|
50750
|
+
* @param reader Reader or buffer to decode from
|
50751
|
+
* @returns Expression
|
50752
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
50753
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
50754
|
+
*/
|
50755
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
|
47997
50756
|
|
47998
|
-
|
47999
|
-
|
48000
|
-
|
48001
|
-
|
48002
|
-
|
48003
|
-
|
48004
|
-
|
48005
|
-
|
50757
|
+
/**
|
50758
|
+
* Verifies an Expression message.
|
50759
|
+
* @param message Plain object to verify
|
50760
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
50761
|
+
*/
|
50762
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
50763
|
+
|
50764
|
+
/**
|
50765
|
+
* Creates an Expression message from a plain object. Also converts values to their respective internal types.
|
50766
|
+
* @param object Plain object
|
50767
|
+
* @returns Expression
|
50768
|
+
*/
|
50769
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression;
|
50770
|
+
|
50771
|
+
/**
|
50772
|
+
* Creates a plain object from an Expression message. Also converts values to other types if specified.
|
50773
|
+
* @param message Expression
|
50774
|
+
* @param [options] Conversion options
|
50775
|
+
* @returns Plain object
|
50776
|
+
*/
|
50777
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
50778
|
+
|
50779
|
+
/**
|
50780
|
+
* Converts this Expression to JSON.
|
50781
|
+
* @returns JSON object
|
50782
|
+
*/
|
50783
|
+
public toJSON(): { [k: string]: any };
|
50784
|
+
|
50785
|
+
/**
|
50786
|
+
* Gets the default type url for Expression
|
50787
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
50788
|
+
* @returns The default type url
|
50789
|
+
*/
|
50790
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
50791
|
+
}
|
48006
50792
|
}
|
48007
50793
|
}
|
48008
50794
|
|
48009
|
-
/** Properties of a
|
48010
|
-
interface
|
50795
|
+
/** Properties of a SessionInfo. */
|
50796
|
+
interface ISessionInfo {
|
48011
50797
|
|
48012
|
-
/**
|
48013
|
-
|
50798
|
+
/** SessionInfo name */
|
50799
|
+
name?: (string|null);
|
48014
50800
|
|
48015
|
-
/**
|
48016
|
-
|
50801
|
+
/** SessionInfo queryId */
|
50802
|
+
queryId?: (string|null);
|
48017
50803
|
}
|
48018
50804
|
|
48019
|
-
/** Represents a
|
48020
|
-
class
|
50805
|
+
/** Represents a SessionInfo. */
|
50806
|
+
class SessionInfo implements ISessionInfo {
|
48021
50807
|
|
48022
50808
|
/**
|
48023
|
-
* Constructs a new
|
50809
|
+
* Constructs a new SessionInfo.
|
48024
50810
|
* @param [properties] Properties to set
|
48025
50811
|
*/
|
48026
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50812
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.ISessionInfo);
|
48027
50813
|
|
48028
|
-
/**
|
48029
|
-
public
|
50814
|
+
/** SessionInfo name. */
|
50815
|
+
public name: string;
|
48030
50816
|
|
48031
|
-
/**
|
48032
|
-
public
|
50817
|
+
/** SessionInfo queryId. */
|
50818
|
+
public queryId: string;
|
48033
50819
|
|
48034
50820
|
/**
|
48035
|
-
* Creates a new
|
50821
|
+
* Creates a new SessionInfo instance using the specified properties.
|
48036
50822
|
* @param [properties] Properties to set
|
48037
|
-
* @returns
|
50823
|
+
* @returns SessionInfo instance
|
48038
50824
|
*/
|
48039
|
-
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50825
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.ISessionInfo): google.cloud.discoveryengine.v1alpha.SearchResponse.SessionInfo;
|
48040
50826
|
|
48041
50827
|
/**
|
48042
|
-
* Encodes the specified
|
48043
|
-
* @param message
|
50828
|
+
* Encodes the specified SessionInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.SessionInfo.verify|verify} messages.
|
50829
|
+
* @param message SessionInfo message or plain object to encode
|
48044
50830
|
* @param [writer] Writer to encode to
|
48045
50831
|
* @returns Writer
|
48046
50832
|
*/
|
48047
|
-
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50833
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.ISessionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
48048
50834
|
|
48049
50835
|
/**
|
48050
|
-
* Encodes the specified
|
48051
|
-
* @param message
|
50836
|
+
* Encodes the specified SessionInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.SessionInfo.verify|verify} messages.
|
50837
|
+
* @param message SessionInfo message or plain object to encode
|
48052
50838
|
* @param [writer] Writer to encode to
|
48053
50839
|
* @returns Writer
|
48054
50840
|
*/
|
48055
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50841
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.ISessionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
48056
50842
|
|
48057
50843
|
/**
|
48058
|
-
* Decodes a
|
50844
|
+
* Decodes a SessionInfo message from the specified reader or buffer.
|
48059
50845
|
* @param reader Reader or buffer to decode from
|
48060
50846
|
* @param [length] Message length if known beforehand
|
48061
|
-
* @returns
|
50847
|
+
* @returns SessionInfo
|
48062
50848
|
* @throws {Error} If the payload is not a reader or valid buffer
|
48063
50849
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
48064
50850
|
*/
|
48065
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50851
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.SessionInfo;
|
48066
50852
|
|
48067
50853
|
/**
|
48068
|
-
* Decodes a
|
50854
|
+
* Decodes a SessionInfo message from the specified reader or buffer, length delimited.
|
48069
50855
|
* @param reader Reader or buffer to decode from
|
48070
|
-
* @returns
|
50856
|
+
* @returns SessionInfo
|
48071
50857
|
* @throws {Error} If the payload is not a reader or valid buffer
|
48072
50858
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
48073
50859
|
*/
|
48074
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50860
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.SessionInfo;
|
48075
50861
|
|
48076
50862
|
/**
|
48077
|
-
* Verifies a
|
50863
|
+
* Verifies a SessionInfo message.
|
48078
50864
|
* @param message Plain object to verify
|
48079
50865
|
* @returns `null` if valid, otherwise the reason why it is not
|
48080
50866
|
*/
|
48081
50867
|
public static verify(message: { [k: string]: any }): (string|null);
|
48082
50868
|
|
48083
50869
|
/**
|
48084
|
-
* Creates a
|
50870
|
+
* Creates a SessionInfo message from a plain object. Also converts values to their respective internal types.
|
48085
50871
|
* @param object Plain object
|
48086
|
-
* @returns
|
50872
|
+
* @returns SessionInfo
|
48087
50873
|
*/
|
48088
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50874
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.SessionInfo;
|
48089
50875
|
|
48090
50876
|
/**
|
48091
|
-
* Creates a plain object from a
|
48092
|
-
* @param message
|
50877
|
+
* Creates a plain object from a SessionInfo message. Also converts values to other types if specified.
|
50878
|
+
* @param message SessionInfo
|
48093
50879
|
* @param [options] Conversion options
|
48094
50880
|
* @returns Plain object
|
48095
50881
|
*/
|
48096
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50882
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.SessionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
48097
50883
|
|
48098
50884
|
/**
|
48099
|
-
* Converts this
|
50885
|
+
* Converts this SessionInfo to JSON.
|
48100
50886
|
* @returns JSON object
|
48101
50887
|
*/
|
48102
50888
|
public toJSON(): { [k: string]: any };
|
48103
50889
|
|
48104
50890
|
/**
|
48105
|
-
* Gets the default type url for
|
50891
|
+
* Gets the default type url for SessionInfo
|
48106
50892
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
48107
50893
|
* @returns The default type url
|
48108
50894
|
*/
|
48109
50895
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
48110
50896
|
}
|
48111
50897
|
|
48112
|
-
/** Properties of
|
48113
|
-
interface
|
50898
|
+
/** Properties of an OneBoxResult. */
|
50899
|
+
interface IOneBoxResult {
|
48114
50900
|
|
48115
|
-
/**
|
48116
|
-
|
50901
|
+
/** OneBoxResult oneBoxType */
|
50902
|
+
oneBoxType?: (google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult.OneBoxType|keyof typeof google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult.OneBoxType|null);
|
48117
50903
|
|
48118
|
-
/**
|
48119
|
-
|
50904
|
+
/** OneBoxResult searchResults */
|
50905
|
+
searchResults?: (google.cloud.discoveryengine.v1alpha.SearchResponse.ISearchResult[]|null);
|
48120
50906
|
}
|
48121
50907
|
|
48122
|
-
/** Represents
|
48123
|
-
class
|
50908
|
+
/** Represents an OneBoxResult. */
|
50909
|
+
class OneBoxResult implements IOneBoxResult {
|
48124
50910
|
|
48125
50911
|
/**
|
48126
|
-
* Constructs a new
|
50912
|
+
* Constructs a new OneBoxResult.
|
48127
50913
|
* @param [properties] Properties to set
|
48128
50914
|
*/
|
48129
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50915
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.IOneBoxResult);
|
48130
50916
|
|
48131
|
-
/**
|
48132
|
-
public
|
50917
|
+
/** OneBoxResult oneBoxType. */
|
50918
|
+
public oneBoxType: (google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult.OneBoxType|keyof typeof google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult.OneBoxType);
|
48133
50919
|
|
48134
|
-
/**
|
48135
|
-
public
|
50920
|
+
/** OneBoxResult searchResults. */
|
50921
|
+
public searchResults: google.cloud.discoveryengine.v1alpha.SearchResponse.ISearchResult[];
|
48136
50922
|
|
48137
50923
|
/**
|
48138
|
-
* Creates a new
|
50924
|
+
* Creates a new OneBoxResult instance using the specified properties.
|
48139
50925
|
* @param [properties] Properties to set
|
48140
|
-
* @returns
|
50926
|
+
* @returns OneBoxResult instance
|
48141
50927
|
*/
|
48142
|
-
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50928
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.IOneBoxResult): google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult;
|
48143
50929
|
|
48144
50930
|
/**
|
48145
|
-
* Encodes the specified
|
48146
|
-
* @param message
|
50931
|
+
* Encodes the specified OneBoxResult message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult.verify|verify} messages.
|
50932
|
+
* @param message OneBoxResult message or plain object to encode
|
48147
50933
|
* @param [writer] Writer to encode to
|
48148
50934
|
* @returns Writer
|
48149
50935
|
*/
|
48150
|
-
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50936
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.IOneBoxResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
48151
50937
|
|
48152
50938
|
/**
|
48153
|
-
* Encodes the specified
|
48154
|
-
* @param message
|
50939
|
+
* Encodes the specified OneBoxResult message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult.verify|verify} messages.
|
50940
|
+
* @param message OneBoxResult message or plain object to encode
|
48155
50941
|
* @param [writer] Writer to encode to
|
48156
50942
|
* @returns Writer
|
48157
50943
|
*/
|
48158
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50944
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.IOneBoxResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
48159
50945
|
|
48160
50946
|
/**
|
48161
|
-
* Decodes
|
50947
|
+
* Decodes an OneBoxResult message from the specified reader or buffer.
|
48162
50948
|
* @param reader Reader or buffer to decode from
|
48163
50949
|
* @param [length] Message length if known beforehand
|
48164
|
-
* @returns
|
50950
|
+
* @returns OneBoxResult
|
48165
50951
|
* @throws {Error} If the payload is not a reader or valid buffer
|
48166
50952
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
48167
50953
|
*/
|
48168
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50954
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult;
|
48169
50955
|
|
48170
50956
|
/**
|
48171
|
-
* Decodes
|
50957
|
+
* Decodes an OneBoxResult message from the specified reader or buffer, length delimited.
|
48172
50958
|
* @param reader Reader or buffer to decode from
|
48173
|
-
* @returns
|
50959
|
+
* @returns OneBoxResult
|
48174
50960
|
* @throws {Error} If the payload is not a reader or valid buffer
|
48175
50961
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
48176
50962
|
*/
|
48177
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50963
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult;
|
48178
50964
|
|
48179
50965
|
/**
|
48180
|
-
* Verifies
|
50966
|
+
* Verifies an OneBoxResult message.
|
48181
50967
|
* @param message Plain object to verify
|
48182
50968
|
* @returns `null` if valid, otherwise the reason why it is not
|
48183
50969
|
*/
|
48184
50970
|
public static verify(message: { [k: string]: any }): (string|null);
|
48185
50971
|
|
48186
50972
|
/**
|
48187
|
-
* Creates
|
50973
|
+
* Creates an OneBoxResult message from a plain object. Also converts values to their respective internal types.
|
48188
50974
|
* @param object Plain object
|
48189
|
-
* @returns
|
50975
|
+
* @returns OneBoxResult
|
48190
50976
|
*/
|
48191
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50977
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult;
|
48192
50978
|
|
48193
50979
|
/**
|
48194
|
-
* Creates a plain object from
|
48195
|
-
* @param message
|
50980
|
+
* Creates a plain object from an OneBoxResult message. Also converts values to other types if specified.
|
50981
|
+
* @param message OneBoxResult
|
48196
50982
|
* @param [options] Conversion options
|
48197
50983
|
* @returns Plain object
|
48198
50984
|
*/
|
48199
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.
|
50985
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.OneBoxResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
48200
50986
|
|
48201
50987
|
/**
|
48202
|
-
* Converts this
|
50988
|
+
* Converts this OneBoxResult to JSON.
|
48203
50989
|
* @returns JSON object
|
48204
50990
|
*/
|
48205
50991
|
public toJSON(): { [k: string]: any };
|
48206
50992
|
|
48207
50993
|
/**
|
48208
|
-
* Gets the default type url for
|
50994
|
+
* Gets the default type url for OneBoxResult
|
48209
50995
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
48210
50996
|
* @returns The default type url
|
48211
50997
|
*/
|
48212
50998
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
48213
50999
|
}
|
51000
|
+
|
51001
|
+
namespace OneBoxResult {
|
51002
|
+
|
51003
|
+
/** OneBoxType enum. */
|
51004
|
+
enum OneBoxType {
|
51005
|
+
ONE_BOX_TYPE_UNSPECIFIED = 0,
|
51006
|
+
PEOPLE = 1,
|
51007
|
+
ORGANIZATION = 2,
|
51008
|
+
SLACK = 3
|
51009
|
+
}
|
51010
|
+
}
|
48214
51011
|
}
|
48215
51012
|
|
48216
51013
|
/** Represents a ConversationalSearchService */
|
@@ -49426,6 +52223,9 @@ export namespace google {
|
|
49426
52223
|
|
49427
52224
|
/** AnswerQueryRequest userPseudoId */
|
49428
52225
|
userPseudoId?: (string|null);
|
52226
|
+
|
52227
|
+
/** AnswerQueryRequest userLabels */
|
52228
|
+
userLabels?: ({ [k: string]: string }|null);
|
49429
52229
|
}
|
49430
52230
|
|
49431
52231
|
/** Represents an AnswerQueryRequest. */
|
@@ -49467,6 +52267,9 @@ export namespace google {
|
|
49467
52267
|
/** AnswerQueryRequest userPseudoId. */
|
49468
52268
|
public userPseudoId: string;
|
49469
52269
|
|
52270
|
+
/** AnswerQueryRequest userLabels. */
|
52271
|
+
public userLabels: { [k: string]: string };
|
52272
|
+
|
49470
52273
|
/**
|
49471
52274
|
* Creates a new AnswerQueryRequest instance using the specified properties.
|
49472
52275
|
* @param [properties] Properties to set
|
@@ -51275,7 +54078,8 @@ export namespace google {
|
|
51275
54078
|
enum Type {
|
51276
54079
|
TYPE_UNSPECIFIED = 0,
|
51277
54080
|
ADVERSARIAL_QUERY = 1,
|
51278
|
-
NON_ANSWER_SEEKING_QUERY = 2
|
54081
|
+
NON_ANSWER_SEEKING_QUERY = 2,
|
54082
|
+
JAIL_BREAKING_QUERY = 3
|
51279
54083
|
}
|
51280
54084
|
}
|
51281
54085
|
|
@@ -52579,6 +55383,9 @@ export namespace google {
|
|
52579
55383
|
|
52580
55384
|
/** CustomTuningModel trainingStartTime */
|
52581
55385
|
trainingStartTime?: (google.protobuf.ITimestamp|null);
|
55386
|
+
|
55387
|
+
/** CustomTuningModel metrics */
|
55388
|
+
metrics?: ({ [k: string]: number }|null);
|
52582
55389
|
}
|
52583
55390
|
|
52584
55391
|
/** Represents a CustomTuningModel. */
|
@@ -52608,6 +55415,9 @@ export namespace google {
|
|
52608
55415
|
/** CustomTuningModel trainingStartTime. */
|
52609
55416
|
public trainingStartTime?: (google.protobuf.ITimestamp|null);
|
52610
55417
|
|
55418
|
+
/** CustomTuningModel metrics. */
|
55419
|
+
public metrics: { [k: string]: number };
|
55420
|
+
|
52611
55421
|
/**
|
52612
55422
|
* Creates a new CustomTuningModel instance using the specified properties.
|
52613
55423
|
* @param [properties] Properties to set
|
@@ -52695,7 +55505,8 @@ export namespace google {
|
|
52695
55505
|
TRAINING = 2,
|
52696
55506
|
TRAINING_COMPLETE = 3,
|
52697
55507
|
READY_FOR_SERVING = 4,
|
52698
|
-
TRAINING_FAILED = 5
|
55508
|
+
TRAINING_FAILED = 5,
|
55509
|
+
NO_IMPROVEMENT = 6
|
52699
55510
|
}
|
52700
55511
|
}
|
52701
55512
|
|
@@ -52723,6 +55534,9 @@ export namespace google {
|
|
52723
55534
|
/** DataStore createTime */
|
52724
55535
|
createTime?: (google.protobuf.ITimestamp|null);
|
52725
55536
|
|
55537
|
+
/** DataStore languageInfo */
|
55538
|
+
languageInfo?: (google.cloud.discoveryengine.v1alpha.ILanguageInfo|null);
|
55539
|
+
|
52726
55540
|
/** DataStore idpConfig */
|
52727
55541
|
idpConfig?: (google.cloud.discoveryengine.v1alpha.IIdpConfig|null);
|
52728
55542
|
|
@@ -52766,6 +55580,9 @@ export namespace google {
|
|
52766
55580
|
/** DataStore createTime. */
|
52767
55581
|
public createTime?: (google.protobuf.ITimestamp|null);
|
52768
55582
|
|
55583
|
+
/** DataStore languageInfo. */
|
55584
|
+
public languageInfo?: (google.cloud.discoveryengine.v1alpha.ILanguageInfo|null);
|
55585
|
+
|
52769
55586
|
/** DataStore idpConfig. */
|
52770
55587
|
public idpConfig?: (google.cloud.discoveryengine.v1alpha.IIdpConfig|null);
|
52771
55588
|
|
@@ -52867,6 +55684,121 @@ export namespace google {
|
|
52867
55684
|
}
|
52868
55685
|
}
|
52869
55686
|
|
55687
|
+
/** Properties of a LanguageInfo. */
|
55688
|
+
interface ILanguageInfo {
|
55689
|
+
|
55690
|
+
/** LanguageInfo languageCode */
|
55691
|
+
languageCode?: (string|null);
|
55692
|
+
|
55693
|
+
/** LanguageInfo normalizedLanguageCode */
|
55694
|
+
normalizedLanguageCode?: (string|null);
|
55695
|
+
|
55696
|
+
/** LanguageInfo language */
|
55697
|
+
language?: (string|null);
|
55698
|
+
|
55699
|
+
/** LanguageInfo region */
|
55700
|
+
region?: (string|null);
|
55701
|
+
}
|
55702
|
+
|
55703
|
+
/** Represents a LanguageInfo. */
|
55704
|
+
class LanguageInfo implements ILanguageInfo {
|
55705
|
+
|
55706
|
+
/**
|
55707
|
+
* Constructs a new LanguageInfo.
|
55708
|
+
* @param [properties] Properties to set
|
55709
|
+
*/
|
55710
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ILanguageInfo);
|
55711
|
+
|
55712
|
+
/** LanguageInfo languageCode. */
|
55713
|
+
public languageCode: string;
|
55714
|
+
|
55715
|
+
/** LanguageInfo normalizedLanguageCode. */
|
55716
|
+
public normalizedLanguageCode: string;
|
55717
|
+
|
55718
|
+
/** LanguageInfo language. */
|
55719
|
+
public language: string;
|
55720
|
+
|
55721
|
+
/** LanguageInfo region. */
|
55722
|
+
public region: string;
|
55723
|
+
|
55724
|
+
/**
|
55725
|
+
* Creates a new LanguageInfo instance using the specified properties.
|
55726
|
+
* @param [properties] Properties to set
|
55727
|
+
* @returns LanguageInfo instance
|
55728
|
+
*/
|
55729
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.ILanguageInfo): google.cloud.discoveryengine.v1alpha.LanguageInfo;
|
55730
|
+
|
55731
|
+
/**
|
55732
|
+
* Encodes the specified LanguageInfo message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.LanguageInfo.verify|verify} messages.
|
55733
|
+
* @param message LanguageInfo message or plain object to encode
|
55734
|
+
* @param [writer] Writer to encode to
|
55735
|
+
* @returns Writer
|
55736
|
+
*/
|
55737
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.ILanguageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
55738
|
+
|
55739
|
+
/**
|
55740
|
+
* Encodes the specified LanguageInfo message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.LanguageInfo.verify|verify} messages.
|
55741
|
+
* @param message LanguageInfo message or plain object to encode
|
55742
|
+
* @param [writer] Writer to encode to
|
55743
|
+
* @returns Writer
|
55744
|
+
*/
|
55745
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.ILanguageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
55746
|
+
|
55747
|
+
/**
|
55748
|
+
* Decodes a LanguageInfo message from the specified reader or buffer.
|
55749
|
+
* @param reader Reader or buffer to decode from
|
55750
|
+
* @param [length] Message length if known beforehand
|
55751
|
+
* @returns LanguageInfo
|
55752
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
55753
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
55754
|
+
*/
|
55755
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.LanguageInfo;
|
55756
|
+
|
55757
|
+
/**
|
55758
|
+
* Decodes a LanguageInfo message from the specified reader or buffer, length delimited.
|
55759
|
+
* @param reader Reader or buffer to decode from
|
55760
|
+
* @returns LanguageInfo
|
55761
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
55762
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
55763
|
+
*/
|
55764
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.LanguageInfo;
|
55765
|
+
|
55766
|
+
/**
|
55767
|
+
* Verifies a LanguageInfo message.
|
55768
|
+
* @param message Plain object to verify
|
55769
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
55770
|
+
*/
|
55771
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
55772
|
+
|
55773
|
+
/**
|
55774
|
+
* Creates a LanguageInfo message from a plain object. Also converts values to their respective internal types.
|
55775
|
+
* @param object Plain object
|
55776
|
+
* @returns LanguageInfo
|
55777
|
+
*/
|
55778
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.LanguageInfo;
|
55779
|
+
|
55780
|
+
/**
|
55781
|
+
* Creates a plain object from a LanguageInfo message. Also converts values to other types if specified.
|
55782
|
+
* @param message LanguageInfo
|
55783
|
+
* @param [options] Conversion options
|
55784
|
+
* @returns Plain object
|
55785
|
+
*/
|
55786
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.LanguageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
55787
|
+
|
55788
|
+
/**
|
55789
|
+
* Converts this LanguageInfo to JSON.
|
55790
|
+
* @returns JSON object
|
55791
|
+
*/
|
55792
|
+
public toJSON(): { [k: string]: any };
|
55793
|
+
|
55794
|
+
/**
|
55795
|
+
* Gets the default type url for LanguageInfo
|
55796
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
55797
|
+
* @returns The default type url
|
55798
|
+
*/
|
55799
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
55800
|
+
}
|
55801
|
+
|
52870
55802
|
/** Properties of a DocumentProcessingConfig. */
|
52871
55803
|
interface IDocumentProcessingConfig {
|
52872
55804
|
|
@@ -53927,6 +56859,7 @@ export namespace google {
|
|
53927
56859
|
ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED = 0,
|
53928
56860
|
METATAGS = 1,
|
53929
56861
|
PAGEMAP = 2,
|
56862
|
+
URI_PATTERN_MAPPING = 3,
|
53930
56863
|
SCHEMA_ORG = 4
|
53931
56864
|
}
|
53932
56865
|
}
|
@@ -54116,6 +57049,9 @@ export namespace google {
|
|
54116
57049
|
|
54117
57050
|
/** CreateDataStoreRequest createAdvancedSiteSearch */
|
54118
57051
|
createAdvancedSiteSearch?: (boolean|null);
|
57052
|
+
|
57053
|
+
/** CreateDataStoreRequest skipDefaultSchemaCreation */
|
57054
|
+
skipDefaultSchemaCreation?: (boolean|null);
|
54119
57055
|
}
|
54120
57056
|
|
54121
57057
|
/** Represents a CreateDataStoreRequest. */
|
@@ -54139,6 +57075,9 @@ export namespace google {
|
|
54139
57075
|
/** CreateDataStoreRequest createAdvancedSiteSearch. */
|
54140
57076
|
public createAdvancedSiteSearch: boolean;
|
54141
57077
|
|
57078
|
+
/** CreateDataStoreRequest skipDefaultSchemaCreation. */
|
57079
|
+
public skipDefaultSchemaCreation: boolean;
|
57080
|
+
|
54142
57081
|
/**
|
54143
57082
|
* Creates a new CreateDataStoreRequest instance using the specified properties.
|
54144
57083
|
* @param [properties] Properties to set
|
@@ -68334,6 +71273,34 @@ export namespace google {
|
|
68334
71273
|
* @returns Promise
|
68335
71274
|
*/
|
68336
71275
|
public fetchDomainVerificationStatus(request: google.cloud.discoveryengine.v1alpha.IFetchDomainVerificationStatusRequest): Promise<google.cloud.discoveryengine.v1alpha.FetchDomainVerificationStatusResponse>;
|
71276
|
+
|
71277
|
+
/**
|
71278
|
+
* Calls SetUriPatternDocumentData.
|
71279
|
+
* @param request SetUriPatternDocumentDataRequest message or plain object
|
71280
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
71281
|
+
*/
|
71282
|
+
public setUriPatternDocumentData(request: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentDataCallback): void;
|
71283
|
+
|
71284
|
+
/**
|
71285
|
+
* Calls SetUriPatternDocumentData.
|
71286
|
+
* @param request SetUriPatternDocumentDataRequest message or plain object
|
71287
|
+
* @returns Promise
|
71288
|
+
*/
|
71289
|
+
public setUriPatternDocumentData(request: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataRequest): Promise<google.longrunning.Operation>;
|
71290
|
+
|
71291
|
+
/**
|
71292
|
+
* Calls GetUriPatternDocumentData.
|
71293
|
+
* @param request GetUriPatternDocumentDataRequest message or plain object
|
71294
|
+
* @param callback Node-style callback called with the error, if any, and GetUriPatternDocumentDataResponse
|
71295
|
+
*/
|
71296
|
+
public getUriPatternDocumentData(request: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataRequest, callback: google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetUriPatternDocumentDataCallback): void;
|
71297
|
+
|
71298
|
+
/**
|
71299
|
+
* Calls GetUriPatternDocumentData.
|
71300
|
+
* @param request GetUriPatternDocumentDataRequest message or plain object
|
71301
|
+
* @returns Promise
|
71302
|
+
*/
|
71303
|
+
public getUriPatternDocumentData(request: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataRequest): Promise<google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse>;
|
68337
71304
|
}
|
68338
71305
|
|
68339
71306
|
namespace SiteSearchEngineService {
|
@@ -68421,6 +71388,20 @@ export namespace google {
|
|
68421
71388
|
* @param [response] FetchDomainVerificationStatusResponse
|
68422
71389
|
*/
|
68423
71390
|
type FetchDomainVerificationStatusCallback = (error: (Error|null), response?: google.cloud.discoveryengine.v1alpha.FetchDomainVerificationStatusResponse) => void;
|
71391
|
+
|
71392
|
+
/**
|
71393
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1alpha.SiteSearchEngineService|setUriPatternDocumentData}.
|
71394
|
+
* @param error Error, if any
|
71395
|
+
* @param [response] Operation
|
71396
|
+
*/
|
71397
|
+
type SetUriPatternDocumentDataCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
71398
|
+
|
71399
|
+
/**
|
71400
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1alpha.SiteSearchEngineService|getUriPatternDocumentData}.
|
71401
|
+
* @param error Error, if any
|
71402
|
+
* @param [response] GetUriPatternDocumentDataResponse
|
71403
|
+
*/
|
71404
|
+
type GetUriPatternDocumentDataCallback = (error: (Error|null), response?: google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse) => void;
|
68424
71405
|
}
|
68425
71406
|
|
68426
71407
|
/** Properties of a GetSiteSearchEngineRequest. */
|
@@ -71396,6 +74377,509 @@ export namespace google {
|
|
71396
74377
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
71397
74378
|
}
|
71398
74379
|
|
74380
|
+
/** Properties of a SetUriPatternDocumentDataRequest. */
|
74381
|
+
interface ISetUriPatternDocumentDataRequest {
|
74382
|
+
|
74383
|
+
/** SetUriPatternDocumentDataRequest siteSearchEngine */
|
74384
|
+
siteSearchEngine?: (string|null);
|
74385
|
+
|
74386
|
+
/** SetUriPatternDocumentDataRequest documentDataMap */
|
74387
|
+
documentDataMap?: ({ [k: string]: google.protobuf.IStruct }|null);
|
74388
|
+
|
74389
|
+
/** SetUriPatternDocumentDataRequest emptyDocumentDataMap */
|
74390
|
+
emptyDocumentDataMap?: (boolean|null);
|
74391
|
+
|
74392
|
+
/** SetUriPatternDocumentDataRequest schema */
|
74393
|
+
schema?: (google.protobuf.IStruct|null);
|
74394
|
+
}
|
74395
|
+
|
74396
|
+
/** Represents a SetUriPatternDocumentDataRequest. */
|
74397
|
+
class SetUriPatternDocumentDataRequest implements ISetUriPatternDocumentDataRequest {
|
74398
|
+
|
74399
|
+
/**
|
74400
|
+
* Constructs a new SetUriPatternDocumentDataRequest.
|
74401
|
+
* @param [properties] Properties to set
|
74402
|
+
*/
|
74403
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataRequest);
|
74404
|
+
|
74405
|
+
/** SetUriPatternDocumentDataRequest siteSearchEngine. */
|
74406
|
+
public siteSearchEngine: string;
|
74407
|
+
|
74408
|
+
/** SetUriPatternDocumentDataRequest documentDataMap. */
|
74409
|
+
public documentDataMap: { [k: string]: google.protobuf.IStruct };
|
74410
|
+
|
74411
|
+
/** SetUriPatternDocumentDataRequest emptyDocumentDataMap. */
|
74412
|
+
public emptyDocumentDataMap: boolean;
|
74413
|
+
|
74414
|
+
/** SetUriPatternDocumentDataRequest schema. */
|
74415
|
+
public schema?: (google.protobuf.IStruct|null);
|
74416
|
+
|
74417
|
+
/**
|
74418
|
+
* Creates a new SetUriPatternDocumentDataRequest instance using the specified properties.
|
74419
|
+
* @param [properties] Properties to set
|
74420
|
+
* @returns SetUriPatternDocumentDataRequest instance
|
74421
|
+
*/
|
74422
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataRequest): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest;
|
74423
|
+
|
74424
|
+
/**
|
74425
|
+
* Encodes the specified SetUriPatternDocumentDataRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest.verify|verify} messages.
|
74426
|
+
* @param message SetUriPatternDocumentDataRequest message or plain object to encode
|
74427
|
+
* @param [writer] Writer to encode to
|
74428
|
+
* @returns Writer
|
74429
|
+
*/
|
74430
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
74431
|
+
|
74432
|
+
/**
|
74433
|
+
* Encodes the specified SetUriPatternDocumentDataRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest.verify|verify} messages.
|
74434
|
+
* @param message SetUriPatternDocumentDataRequest message or plain object to encode
|
74435
|
+
* @param [writer] Writer to encode to
|
74436
|
+
* @returns Writer
|
74437
|
+
*/
|
74438
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
74439
|
+
|
74440
|
+
/**
|
74441
|
+
* Decodes a SetUriPatternDocumentDataRequest message from the specified reader or buffer.
|
74442
|
+
* @param reader Reader or buffer to decode from
|
74443
|
+
* @param [length] Message length if known beforehand
|
74444
|
+
* @returns SetUriPatternDocumentDataRequest
|
74445
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74446
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74447
|
+
*/
|
74448
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest;
|
74449
|
+
|
74450
|
+
/**
|
74451
|
+
* Decodes a SetUriPatternDocumentDataRequest message from the specified reader or buffer, length delimited.
|
74452
|
+
* @param reader Reader or buffer to decode from
|
74453
|
+
* @returns SetUriPatternDocumentDataRequest
|
74454
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74455
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74456
|
+
*/
|
74457
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest;
|
74458
|
+
|
74459
|
+
/**
|
74460
|
+
* Verifies a SetUriPatternDocumentDataRequest message.
|
74461
|
+
* @param message Plain object to verify
|
74462
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
74463
|
+
*/
|
74464
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
74465
|
+
|
74466
|
+
/**
|
74467
|
+
* Creates a SetUriPatternDocumentDataRequest message from a plain object. Also converts values to their respective internal types.
|
74468
|
+
* @param object Plain object
|
74469
|
+
* @returns SetUriPatternDocumentDataRequest
|
74470
|
+
*/
|
74471
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest;
|
74472
|
+
|
74473
|
+
/**
|
74474
|
+
* Creates a plain object from a SetUriPatternDocumentDataRequest message. Also converts values to other types if specified.
|
74475
|
+
* @param message SetUriPatternDocumentDataRequest
|
74476
|
+
* @param [options] Conversion options
|
74477
|
+
* @returns Plain object
|
74478
|
+
*/
|
74479
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
74480
|
+
|
74481
|
+
/**
|
74482
|
+
* Converts this SetUriPatternDocumentDataRequest to JSON.
|
74483
|
+
* @returns JSON object
|
74484
|
+
*/
|
74485
|
+
public toJSON(): { [k: string]: any };
|
74486
|
+
|
74487
|
+
/**
|
74488
|
+
* Gets the default type url for SetUriPatternDocumentDataRequest
|
74489
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
74490
|
+
* @returns The default type url
|
74491
|
+
*/
|
74492
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
74493
|
+
}
|
74494
|
+
|
74495
|
+
/** Properties of a SetUriPatternDocumentDataResponse. */
|
74496
|
+
interface ISetUriPatternDocumentDataResponse {
|
74497
|
+
}
|
74498
|
+
|
74499
|
+
/** Represents a SetUriPatternDocumentDataResponse. */
|
74500
|
+
class SetUriPatternDocumentDataResponse implements ISetUriPatternDocumentDataResponse {
|
74501
|
+
|
74502
|
+
/**
|
74503
|
+
* Constructs a new SetUriPatternDocumentDataResponse.
|
74504
|
+
* @param [properties] Properties to set
|
74505
|
+
*/
|
74506
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataResponse);
|
74507
|
+
|
74508
|
+
/**
|
74509
|
+
* Creates a new SetUriPatternDocumentDataResponse instance using the specified properties.
|
74510
|
+
* @param [properties] Properties to set
|
74511
|
+
* @returns SetUriPatternDocumentDataResponse instance
|
74512
|
+
*/
|
74513
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataResponse): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse;
|
74514
|
+
|
74515
|
+
/**
|
74516
|
+
* Encodes the specified SetUriPatternDocumentDataResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse.verify|verify} messages.
|
74517
|
+
* @param message SetUriPatternDocumentDataResponse message or plain object to encode
|
74518
|
+
* @param [writer] Writer to encode to
|
74519
|
+
* @returns Writer
|
74520
|
+
*/
|
74521
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
74522
|
+
|
74523
|
+
/**
|
74524
|
+
* Encodes the specified SetUriPatternDocumentDataResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse.verify|verify} messages.
|
74525
|
+
* @param message SetUriPatternDocumentDataResponse message or plain object to encode
|
74526
|
+
* @param [writer] Writer to encode to
|
74527
|
+
* @returns Writer
|
74528
|
+
*/
|
74529
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
74530
|
+
|
74531
|
+
/**
|
74532
|
+
* Decodes a SetUriPatternDocumentDataResponse message from the specified reader or buffer.
|
74533
|
+
* @param reader Reader or buffer to decode from
|
74534
|
+
* @param [length] Message length if known beforehand
|
74535
|
+
* @returns SetUriPatternDocumentDataResponse
|
74536
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74537
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74538
|
+
*/
|
74539
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse;
|
74540
|
+
|
74541
|
+
/**
|
74542
|
+
* Decodes a SetUriPatternDocumentDataResponse message from the specified reader or buffer, length delimited.
|
74543
|
+
* @param reader Reader or buffer to decode from
|
74544
|
+
* @returns SetUriPatternDocumentDataResponse
|
74545
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74546
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74547
|
+
*/
|
74548
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse;
|
74549
|
+
|
74550
|
+
/**
|
74551
|
+
* Verifies a SetUriPatternDocumentDataResponse message.
|
74552
|
+
* @param message Plain object to verify
|
74553
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
74554
|
+
*/
|
74555
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
74556
|
+
|
74557
|
+
/**
|
74558
|
+
* Creates a SetUriPatternDocumentDataResponse message from a plain object. Also converts values to their respective internal types.
|
74559
|
+
* @param object Plain object
|
74560
|
+
* @returns SetUriPatternDocumentDataResponse
|
74561
|
+
*/
|
74562
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse;
|
74563
|
+
|
74564
|
+
/**
|
74565
|
+
* Creates a plain object from a SetUriPatternDocumentDataResponse message. Also converts values to other types if specified.
|
74566
|
+
* @param message SetUriPatternDocumentDataResponse
|
74567
|
+
* @param [options] Conversion options
|
74568
|
+
* @returns Plain object
|
74569
|
+
*/
|
74570
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
74571
|
+
|
74572
|
+
/**
|
74573
|
+
* Converts this SetUriPatternDocumentDataResponse to JSON.
|
74574
|
+
* @returns JSON object
|
74575
|
+
*/
|
74576
|
+
public toJSON(): { [k: string]: any };
|
74577
|
+
|
74578
|
+
/**
|
74579
|
+
* Gets the default type url for SetUriPatternDocumentDataResponse
|
74580
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
74581
|
+
* @returns The default type url
|
74582
|
+
*/
|
74583
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
74584
|
+
}
|
74585
|
+
|
74586
|
+
/** Properties of a SetUriPatternDocumentDataMetadata. */
|
74587
|
+
interface ISetUriPatternDocumentDataMetadata {
|
74588
|
+
|
74589
|
+
/** SetUriPatternDocumentDataMetadata createTime */
|
74590
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
74591
|
+
|
74592
|
+
/** SetUriPatternDocumentDataMetadata updateTime */
|
74593
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
74594
|
+
}
|
74595
|
+
|
74596
|
+
/** Represents a SetUriPatternDocumentDataMetadata. */
|
74597
|
+
class SetUriPatternDocumentDataMetadata implements ISetUriPatternDocumentDataMetadata {
|
74598
|
+
|
74599
|
+
/**
|
74600
|
+
* Constructs a new SetUriPatternDocumentDataMetadata.
|
74601
|
+
* @param [properties] Properties to set
|
74602
|
+
*/
|
74603
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataMetadata);
|
74604
|
+
|
74605
|
+
/** SetUriPatternDocumentDataMetadata createTime. */
|
74606
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
74607
|
+
|
74608
|
+
/** SetUriPatternDocumentDataMetadata updateTime. */
|
74609
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
74610
|
+
|
74611
|
+
/**
|
74612
|
+
* Creates a new SetUriPatternDocumentDataMetadata instance using the specified properties.
|
74613
|
+
* @param [properties] Properties to set
|
74614
|
+
* @returns SetUriPatternDocumentDataMetadata instance
|
74615
|
+
*/
|
74616
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataMetadata): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata;
|
74617
|
+
|
74618
|
+
/**
|
74619
|
+
* Encodes the specified SetUriPatternDocumentDataMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata.verify|verify} messages.
|
74620
|
+
* @param message SetUriPatternDocumentDataMetadata message or plain object to encode
|
74621
|
+
* @param [writer] Writer to encode to
|
74622
|
+
* @returns Writer
|
74623
|
+
*/
|
74624
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
74625
|
+
|
74626
|
+
/**
|
74627
|
+
* Encodes the specified SetUriPatternDocumentDataMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata.verify|verify} messages.
|
74628
|
+
* @param message SetUriPatternDocumentDataMetadata message or plain object to encode
|
74629
|
+
* @param [writer] Writer to encode to
|
74630
|
+
* @returns Writer
|
74631
|
+
*/
|
74632
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.ISetUriPatternDocumentDataMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
74633
|
+
|
74634
|
+
/**
|
74635
|
+
* Decodes a SetUriPatternDocumentDataMetadata message from the specified reader or buffer.
|
74636
|
+
* @param reader Reader or buffer to decode from
|
74637
|
+
* @param [length] Message length if known beforehand
|
74638
|
+
* @returns SetUriPatternDocumentDataMetadata
|
74639
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74640
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74641
|
+
*/
|
74642
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata;
|
74643
|
+
|
74644
|
+
/**
|
74645
|
+
* Decodes a SetUriPatternDocumentDataMetadata message from the specified reader or buffer, length delimited.
|
74646
|
+
* @param reader Reader or buffer to decode from
|
74647
|
+
* @returns SetUriPatternDocumentDataMetadata
|
74648
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74649
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74650
|
+
*/
|
74651
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata;
|
74652
|
+
|
74653
|
+
/**
|
74654
|
+
* Verifies a SetUriPatternDocumentDataMetadata message.
|
74655
|
+
* @param message Plain object to verify
|
74656
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
74657
|
+
*/
|
74658
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
74659
|
+
|
74660
|
+
/**
|
74661
|
+
* Creates a SetUriPatternDocumentDataMetadata message from a plain object. Also converts values to their respective internal types.
|
74662
|
+
* @param object Plain object
|
74663
|
+
* @returns SetUriPatternDocumentDataMetadata
|
74664
|
+
*/
|
74665
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata;
|
74666
|
+
|
74667
|
+
/**
|
74668
|
+
* Creates a plain object from a SetUriPatternDocumentDataMetadata message. Also converts values to other types if specified.
|
74669
|
+
* @param message SetUriPatternDocumentDataMetadata
|
74670
|
+
* @param [options] Conversion options
|
74671
|
+
* @returns Plain object
|
74672
|
+
*/
|
74673
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
74674
|
+
|
74675
|
+
/**
|
74676
|
+
* Converts this SetUriPatternDocumentDataMetadata to JSON.
|
74677
|
+
* @returns JSON object
|
74678
|
+
*/
|
74679
|
+
public toJSON(): { [k: string]: any };
|
74680
|
+
|
74681
|
+
/**
|
74682
|
+
* Gets the default type url for SetUriPatternDocumentDataMetadata
|
74683
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
74684
|
+
* @returns The default type url
|
74685
|
+
*/
|
74686
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
74687
|
+
}
|
74688
|
+
|
74689
|
+
/** Properties of a GetUriPatternDocumentDataRequest. */
|
74690
|
+
interface IGetUriPatternDocumentDataRequest {
|
74691
|
+
|
74692
|
+
/** GetUriPatternDocumentDataRequest siteSearchEngine */
|
74693
|
+
siteSearchEngine?: (string|null);
|
74694
|
+
}
|
74695
|
+
|
74696
|
+
/** Represents a GetUriPatternDocumentDataRequest. */
|
74697
|
+
class GetUriPatternDocumentDataRequest implements IGetUriPatternDocumentDataRequest {
|
74698
|
+
|
74699
|
+
/**
|
74700
|
+
* Constructs a new GetUriPatternDocumentDataRequest.
|
74701
|
+
* @param [properties] Properties to set
|
74702
|
+
*/
|
74703
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataRequest);
|
74704
|
+
|
74705
|
+
/** GetUriPatternDocumentDataRequest siteSearchEngine. */
|
74706
|
+
public siteSearchEngine: string;
|
74707
|
+
|
74708
|
+
/**
|
74709
|
+
* Creates a new GetUriPatternDocumentDataRequest instance using the specified properties.
|
74710
|
+
* @param [properties] Properties to set
|
74711
|
+
* @returns GetUriPatternDocumentDataRequest instance
|
74712
|
+
*/
|
74713
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataRequest): google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataRequest;
|
74714
|
+
|
74715
|
+
/**
|
74716
|
+
* Encodes the specified GetUriPatternDocumentDataRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataRequest.verify|verify} messages.
|
74717
|
+
* @param message GetUriPatternDocumentDataRequest message or plain object to encode
|
74718
|
+
* @param [writer] Writer to encode to
|
74719
|
+
* @returns Writer
|
74720
|
+
*/
|
74721
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
74722
|
+
|
74723
|
+
/**
|
74724
|
+
* Encodes the specified GetUriPatternDocumentDataRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataRequest.verify|verify} messages.
|
74725
|
+
* @param message GetUriPatternDocumentDataRequest message or plain object to encode
|
74726
|
+
* @param [writer] Writer to encode to
|
74727
|
+
* @returns Writer
|
74728
|
+
*/
|
74729
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
74730
|
+
|
74731
|
+
/**
|
74732
|
+
* Decodes a GetUriPatternDocumentDataRequest message from the specified reader or buffer.
|
74733
|
+
* @param reader Reader or buffer to decode from
|
74734
|
+
* @param [length] Message length if known beforehand
|
74735
|
+
* @returns GetUriPatternDocumentDataRequest
|
74736
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74737
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74738
|
+
*/
|
74739
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataRequest;
|
74740
|
+
|
74741
|
+
/**
|
74742
|
+
* Decodes a GetUriPatternDocumentDataRequest message from the specified reader or buffer, length delimited.
|
74743
|
+
* @param reader Reader or buffer to decode from
|
74744
|
+
* @returns GetUriPatternDocumentDataRequest
|
74745
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74746
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74747
|
+
*/
|
74748
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataRequest;
|
74749
|
+
|
74750
|
+
/**
|
74751
|
+
* Verifies a GetUriPatternDocumentDataRequest message.
|
74752
|
+
* @param message Plain object to verify
|
74753
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
74754
|
+
*/
|
74755
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
74756
|
+
|
74757
|
+
/**
|
74758
|
+
* Creates a GetUriPatternDocumentDataRequest message from a plain object. Also converts values to their respective internal types.
|
74759
|
+
* @param object Plain object
|
74760
|
+
* @returns GetUriPatternDocumentDataRequest
|
74761
|
+
*/
|
74762
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataRequest;
|
74763
|
+
|
74764
|
+
/**
|
74765
|
+
* Creates a plain object from a GetUriPatternDocumentDataRequest message. Also converts values to other types if specified.
|
74766
|
+
* @param message GetUriPatternDocumentDataRequest
|
74767
|
+
* @param [options] Conversion options
|
74768
|
+
* @returns Plain object
|
74769
|
+
*/
|
74770
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
74771
|
+
|
74772
|
+
/**
|
74773
|
+
* Converts this GetUriPatternDocumentDataRequest to JSON.
|
74774
|
+
* @returns JSON object
|
74775
|
+
*/
|
74776
|
+
public toJSON(): { [k: string]: any };
|
74777
|
+
|
74778
|
+
/**
|
74779
|
+
* Gets the default type url for GetUriPatternDocumentDataRequest
|
74780
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
74781
|
+
* @returns The default type url
|
74782
|
+
*/
|
74783
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
74784
|
+
}
|
74785
|
+
|
74786
|
+
/** Properties of a GetUriPatternDocumentDataResponse. */
|
74787
|
+
interface IGetUriPatternDocumentDataResponse {
|
74788
|
+
|
74789
|
+
/** GetUriPatternDocumentDataResponse documentDataMap */
|
74790
|
+
documentDataMap?: ({ [k: string]: google.protobuf.IStruct }|null);
|
74791
|
+
}
|
74792
|
+
|
74793
|
+
/** Represents a GetUriPatternDocumentDataResponse. */
|
74794
|
+
class GetUriPatternDocumentDataResponse implements IGetUriPatternDocumentDataResponse {
|
74795
|
+
|
74796
|
+
/**
|
74797
|
+
* Constructs a new GetUriPatternDocumentDataResponse.
|
74798
|
+
* @param [properties] Properties to set
|
74799
|
+
*/
|
74800
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataResponse);
|
74801
|
+
|
74802
|
+
/** GetUriPatternDocumentDataResponse documentDataMap. */
|
74803
|
+
public documentDataMap: { [k: string]: google.protobuf.IStruct };
|
74804
|
+
|
74805
|
+
/**
|
74806
|
+
* Creates a new GetUriPatternDocumentDataResponse instance using the specified properties.
|
74807
|
+
* @param [properties] Properties to set
|
74808
|
+
* @returns GetUriPatternDocumentDataResponse instance
|
74809
|
+
*/
|
74810
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataResponse): google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse;
|
74811
|
+
|
74812
|
+
/**
|
74813
|
+
* Encodes the specified GetUriPatternDocumentDataResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse.verify|verify} messages.
|
74814
|
+
* @param message GetUriPatternDocumentDataResponse message or plain object to encode
|
74815
|
+
* @param [writer] Writer to encode to
|
74816
|
+
* @returns Writer
|
74817
|
+
*/
|
74818
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
74819
|
+
|
74820
|
+
/**
|
74821
|
+
* Encodes the specified GetUriPatternDocumentDataResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse.verify|verify} messages.
|
74822
|
+
* @param message GetUriPatternDocumentDataResponse message or plain object to encode
|
74823
|
+
* @param [writer] Writer to encode to
|
74824
|
+
* @returns Writer
|
74825
|
+
*/
|
74826
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IGetUriPatternDocumentDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
74827
|
+
|
74828
|
+
/**
|
74829
|
+
* Decodes a GetUriPatternDocumentDataResponse message from the specified reader or buffer.
|
74830
|
+
* @param reader Reader or buffer to decode from
|
74831
|
+
* @param [length] Message length if known beforehand
|
74832
|
+
* @returns GetUriPatternDocumentDataResponse
|
74833
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74834
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74835
|
+
*/
|
74836
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse;
|
74837
|
+
|
74838
|
+
/**
|
74839
|
+
* Decodes a GetUriPatternDocumentDataResponse message from the specified reader or buffer, length delimited.
|
74840
|
+
* @param reader Reader or buffer to decode from
|
74841
|
+
* @returns GetUriPatternDocumentDataResponse
|
74842
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
74843
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
74844
|
+
*/
|
74845
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse;
|
74846
|
+
|
74847
|
+
/**
|
74848
|
+
* Verifies a GetUriPatternDocumentDataResponse message.
|
74849
|
+
* @param message Plain object to verify
|
74850
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
74851
|
+
*/
|
74852
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
74853
|
+
|
74854
|
+
/**
|
74855
|
+
* Creates a GetUriPatternDocumentDataResponse message from a plain object. Also converts values to their respective internal types.
|
74856
|
+
* @param object Plain object
|
74857
|
+
* @returns GetUriPatternDocumentDataResponse
|
74858
|
+
*/
|
74859
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse;
|
74860
|
+
|
74861
|
+
/**
|
74862
|
+
* Creates a plain object from a GetUriPatternDocumentDataResponse message. Also converts values to other types if specified.
|
74863
|
+
* @param message GetUriPatternDocumentDataResponse
|
74864
|
+
* @param [options] Conversion options
|
74865
|
+
* @returns Plain object
|
74866
|
+
*/
|
74867
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
74868
|
+
|
74869
|
+
/**
|
74870
|
+
* Converts this GetUriPatternDocumentDataResponse to JSON.
|
74871
|
+
* @returns JSON object
|
74872
|
+
*/
|
74873
|
+
public toJSON(): { [k: string]: any };
|
74874
|
+
|
74875
|
+
/**
|
74876
|
+
* Gets the default type url for GetUriPatternDocumentDataResponse
|
74877
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
74878
|
+
* @returns The default type url
|
74879
|
+
*/
|
74880
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
74881
|
+
}
|
74882
|
+
|
71399
74883
|
/** Represents a UserEventService */
|
71400
74884
|
class UserEventService extends $protobuf.rpc.Service {
|
71401
74885
|
|