@google-cloud/discoveryengine 1.4.1 → 1.5.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 +2 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +35 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +20 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +312 -21
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +153 -23
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +5 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
- package/build/protos/protos.d.ts +2743 -221
- package/build/protos/protos.js +10286 -3762
- package/build/protos/protos.json +595 -5
- package/build/src/v1/completion_service_client.js +10 -7
- package/build/src/v1/conversational_search_service_client.js +10 -7
- package/build/src/v1/data_store_service_client.js +10 -7
- package/build/src/v1/document_service_client.js +10 -7
- package/build/src/v1/engine_service_client.js +10 -7
- package/build/src/v1/schema_service_client.js +10 -7
- package/build/src/v1/search_service_client.js +10 -7
- package/build/src/v1/site_search_engine_service_client.js +10 -7
- package/build/src/v1/user_event_service_client.js +10 -7
- package/build/src/v1alpha/acl_config_service_client.js +10 -7
- package/build/src/v1alpha/chunk_service_client.js +10 -7
- package/build/src/v1alpha/completion_service_client.js +13 -7
- package/build/src/v1alpha/conversational_search_service_client.js +10 -7
- package/build/src/v1alpha/data_store_service_client.js +13 -7
- package/build/src/v1alpha/document_service_client.d.ts +80 -21
- package/build/src/v1alpha/document_service_client.js +35 -7
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.js +13 -7
- package/build/src/v1alpha/estimate_billing_service_client.js +13 -7
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/rank_service_client.d.ts +1254 -0
- package/build/src/v1alpha/rank_service_client.js +1796 -0
- package/build/src/v1alpha/rank_service_client_config.json +30 -0
- package/build/src/v1alpha/recommendation_service_client.js +10 -7
- package/build/src/v1alpha/schema_service_client.js +13 -7
- package/build/src/v1alpha/search_service_client.d.ts +30 -15
- package/build/src/v1alpha/search_service_client.js +30 -17
- package/build/src/v1alpha/search_tuning_service_client.js +13 -7
- package/build/src/v1alpha/serving_config_service_client.d.ts +2 -1
- package/build/src/v1alpha/serving_config_service_client.js +12 -8
- package/build/src/v1alpha/site_search_engine_service_client.js +13 -7
- package/build/src/v1alpha/user_event_service_client.js +13 -7
- package/build/src/v1beta/completion_service_client.js +10 -7
- package/build/src/v1beta/conversational_search_service_client.js +10 -7
- package/build/src/v1beta/data_store_service_client.js +10 -7
- package/build/src/v1beta/document_service_client.js +10 -7
- package/build/src/v1beta/engine_service_client.js +10 -7
- package/build/src/v1beta/recommendation_service_client.js +10 -7
- package/build/src/v1beta/schema_service_client.js +10 -7
- package/build/src/v1beta/search_service_client.js +10 -7
- package/build/src/v1beta/search_tuning_service_client.js +10 -7
- package/build/src/v1beta/serving_config_service_client.js +10 -7
- package/build/src/v1beta/site_search_engine_service_client.js +10 -7
- package/build/src/v1beta/user_event_service_client.js +10 -7
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
@@ -17938,7 +17938,8 @@ export namespace google {
|
|
17938
17938
|
enum IndustryVertical {
|
17939
17939
|
INDUSTRY_VERTICAL_UNSPECIFIED = 0,
|
17940
17940
|
GENERIC = 1,
|
17941
|
-
MEDIA = 2
|
17941
|
+
MEDIA = 2,
|
17942
|
+
HEALTHCARE_FHIR = 7
|
17942
17943
|
}
|
17943
17944
|
|
17944
17945
|
/** SolutionType enum. */
|
@@ -17946,7 +17947,8 @@ export namespace google {
|
|
17946
17947
|
SOLUTION_TYPE_UNSPECIFIED = 0,
|
17947
17948
|
SOLUTION_TYPE_RECOMMENDATION = 1,
|
17948
17949
|
SOLUTION_TYPE_SEARCH = 2,
|
17949
|
-
SOLUTION_TYPE_CHAT = 3
|
17950
|
+
SOLUTION_TYPE_CHAT = 3,
|
17951
|
+
SOLUTION_TYPE_GENERATIVE_CHAT = 4
|
17950
17952
|
}
|
17951
17953
|
|
17952
17954
|
/** SearchTier enum. */
|
@@ -19282,6 +19284,12 @@ export namespace google {
|
|
19282
19284
|
|
19283
19285
|
/** Chunk derivedStructData */
|
19284
19286
|
derivedStructData?: (google.protobuf.IStruct|null);
|
19287
|
+
|
19288
|
+
/** Chunk pageSpan */
|
19289
|
+
pageSpan?: (google.cloud.discoveryengine.v1alpha.Chunk.IPageSpan|null);
|
19290
|
+
|
19291
|
+
/** Chunk chunkMetadata */
|
19292
|
+
chunkMetadata?: (google.cloud.discoveryengine.v1alpha.Chunk.IChunkMetadata|null);
|
19285
19293
|
}
|
19286
19294
|
|
19287
19295
|
/** Represents a Chunk. */
|
@@ -19308,6 +19316,12 @@ export namespace google {
|
|
19308
19316
|
/** Chunk derivedStructData. */
|
19309
19317
|
public derivedStructData?: (google.protobuf.IStruct|null);
|
19310
19318
|
|
19319
|
+
/** Chunk pageSpan. */
|
19320
|
+
public pageSpan?: (google.cloud.discoveryengine.v1alpha.Chunk.IPageSpan|null);
|
19321
|
+
|
19322
|
+
/** Chunk chunkMetadata. */
|
19323
|
+
public chunkMetadata?: (google.cloud.discoveryengine.v1alpha.Chunk.IChunkMetadata|null);
|
19324
|
+
|
19311
19325
|
/**
|
19312
19326
|
* Creates a new Chunk instance using the specified properties.
|
19313
19327
|
* @param [properties] Properties to set
|
@@ -19490,6 +19504,212 @@ export namespace google {
|
|
19490
19504
|
*/
|
19491
19505
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
19492
19506
|
}
|
19507
|
+
|
19508
|
+
/** Properties of a PageSpan. */
|
19509
|
+
interface IPageSpan {
|
19510
|
+
|
19511
|
+
/** PageSpan pageStart */
|
19512
|
+
pageStart?: (number|null);
|
19513
|
+
|
19514
|
+
/** PageSpan pageEnd */
|
19515
|
+
pageEnd?: (number|null);
|
19516
|
+
}
|
19517
|
+
|
19518
|
+
/** Represents a PageSpan. */
|
19519
|
+
class PageSpan implements IPageSpan {
|
19520
|
+
|
19521
|
+
/**
|
19522
|
+
* Constructs a new PageSpan.
|
19523
|
+
* @param [properties] Properties to set
|
19524
|
+
*/
|
19525
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.Chunk.IPageSpan);
|
19526
|
+
|
19527
|
+
/** PageSpan pageStart. */
|
19528
|
+
public pageStart: number;
|
19529
|
+
|
19530
|
+
/** PageSpan pageEnd. */
|
19531
|
+
public pageEnd: number;
|
19532
|
+
|
19533
|
+
/**
|
19534
|
+
* Creates a new PageSpan instance using the specified properties.
|
19535
|
+
* @param [properties] Properties to set
|
19536
|
+
* @returns PageSpan instance
|
19537
|
+
*/
|
19538
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.Chunk.IPageSpan): google.cloud.discoveryengine.v1alpha.Chunk.PageSpan;
|
19539
|
+
|
19540
|
+
/**
|
19541
|
+
* Encodes the specified PageSpan message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.Chunk.PageSpan.verify|verify} messages.
|
19542
|
+
* @param message PageSpan message or plain object to encode
|
19543
|
+
* @param [writer] Writer to encode to
|
19544
|
+
* @returns Writer
|
19545
|
+
*/
|
19546
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.Chunk.IPageSpan, writer?: $protobuf.Writer): $protobuf.Writer;
|
19547
|
+
|
19548
|
+
/**
|
19549
|
+
* Encodes the specified PageSpan message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.Chunk.PageSpan.verify|verify} messages.
|
19550
|
+
* @param message PageSpan message or plain object to encode
|
19551
|
+
* @param [writer] Writer to encode to
|
19552
|
+
* @returns Writer
|
19553
|
+
*/
|
19554
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.Chunk.IPageSpan, writer?: $protobuf.Writer): $protobuf.Writer;
|
19555
|
+
|
19556
|
+
/**
|
19557
|
+
* Decodes a PageSpan message from the specified reader or buffer.
|
19558
|
+
* @param reader Reader or buffer to decode from
|
19559
|
+
* @param [length] Message length if known beforehand
|
19560
|
+
* @returns PageSpan
|
19561
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
19562
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
19563
|
+
*/
|
19564
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.Chunk.PageSpan;
|
19565
|
+
|
19566
|
+
/**
|
19567
|
+
* Decodes a PageSpan message from the specified reader or buffer, length delimited.
|
19568
|
+
* @param reader Reader or buffer to decode from
|
19569
|
+
* @returns PageSpan
|
19570
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
19571
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
19572
|
+
*/
|
19573
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.Chunk.PageSpan;
|
19574
|
+
|
19575
|
+
/**
|
19576
|
+
* Verifies a PageSpan message.
|
19577
|
+
* @param message Plain object to verify
|
19578
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
19579
|
+
*/
|
19580
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
19581
|
+
|
19582
|
+
/**
|
19583
|
+
* Creates a PageSpan message from a plain object. Also converts values to their respective internal types.
|
19584
|
+
* @param object Plain object
|
19585
|
+
* @returns PageSpan
|
19586
|
+
*/
|
19587
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.Chunk.PageSpan;
|
19588
|
+
|
19589
|
+
/**
|
19590
|
+
* Creates a plain object from a PageSpan message. Also converts values to other types if specified.
|
19591
|
+
* @param message PageSpan
|
19592
|
+
* @param [options] Conversion options
|
19593
|
+
* @returns Plain object
|
19594
|
+
*/
|
19595
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.Chunk.PageSpan, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
19596
|
+
|
19597
|
+
/**
|
19598
|
+
* Converts this PageSpan to JSON.
|
19599
|
+
* @returns JSON object
|
19600
|
+
*/
|
19601
|
+
public toJSON(): { [k: string]: any };
|
19602
|
+
|
19603
|
+
/**
|
19604
|
+
* Gets the default type url for PageSpan
|
19605
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
19606
|
+
* @returns The default type url
|
19607
|
+
*/
|
19608
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
19609
|
+
}
|
19610
|
+
|
19611
|
+
/** Properties of a ChunkMetadata. */
|
19612
|
+
interface IChunkMetadata {
|
19613
|
+
|
19614
|
+
/** ChunkMetadata previousChunks */
|
19615
|
+
previousChunks?: (google.cloud.discoveryengine.v1alpha.IChunk[]|null);
|
19616
|
+
|
19617
|
+
/** ChunkMetadata nextChunks */
|
19618
|
+
nextChunks?: (google.cloud.discoveryengine.v1alpha.IChunk[]|null);
|
19619
|
+
}
|
19620
|
+
|
19621
|
+
/** Represents a ChunkMetadata. */
|
19622
|
+
class ChunkMetadata implements IChunkMetadata {
|
19623
|
+
|
19624
|
+
/**
|
19625
|
+
* Constructs a new ChunkMetadata.
|
19626
|
+
* @param [properties] Properties to set
|
19627
|
+
*/
|
19628
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.Chunk.IChunkMetadata);
|
19629
|
+
|
19630
|
+
/** ChunkMetadata previousChunks. */
|
19631
|
+
public previousChunks: google.cloud.discoveryengine.v1alpha.IChunk[];
|
19632
|
+
|
19633
|
+
/** ChunkMetadata nextChunks. */
|
19634
|
+
public nextChunks: google.cloud.discoveryengine.v1alpha.IChunk[];
|
19635
|
+
|
19636
|
+
/**
|
19637
|
+
* Creates a new ChunkMetadata instance using the specified properties.
|
19638
|
+
* @param [properties] Properties to set
|
19639
|
+
* @returns ChunkMetadata instance
|
19640
|
+
*/
|
19641
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.Chunk.IChunkMetadata): google.cloud.discoveryengine.v1alpha.Chunk.ChunkMetadata;
|
19642
|
+
|
19643
|
+
/**
|
19644
|
+
* Encodes the specified ChunkMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.Chunk.ChunkMetadata.verify|verify} messages.
|
19645
|
+
* @param message ChunkMetadata message or plain object to encode
|
19646
|
+
* @param [writer] Writer to encode to
|
19647
|
+
* @returns Writer
|
19648
|
+
*/
|
19649
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.Chunk.IChunkMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
19650
|
+
|
19651
|
+
/**
|
19652
|
+
* Encodes the specified ChunkMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.Chunk.ChunkMetadata.verify|verify} messages.
|
19653
|
+
* @param message ChunkMetadata message or plain object to encode
|
19654
|
+
* @param [writer] Writer to encode to
|
19655
|
+
* @returns Writer
|
19656
|
+
*/
|
19657
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.Chunk.IChunkMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
19658
|
+
|
19659
|
+
/**
|
19660
|
+
* Decodes a ChunkMetadata message from the specified reader or buffer.
|
19661
|
+
* @param reader Reader or buffer to decode from
|
19662
|
+
* @param [length] Message length if known beforehand
|
19663
|
+
* @returns ChunkMetadata
|
19664
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
19665
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
19666
|
+
*/
|
19667
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.Chunk.ChunkMetadata;
|
19668
|
+
|
19669
|
+
/**
|
19670
|
+
* Decodes a ChunkMetadata message from the specified reader or buffer, length delimited.
|
19671
|
+
* @param reader Reader or buffer to decode from
|
19672
|
+
* @returns ChunkMetadata
|
19673
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
19674
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
19675
|
+
*/
|
19676
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.Chunk.ChunkMetadata;
|
19677
|
+
|
19678
|
+
/**
|
19679
|
+
* Verifies a ChunkMetadata message.
|
19680
|
+
* @param message Plain object to verify
|
19681
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
19682
|
+
*/
|
19683
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
19684
|
+
|
19685
|
+
/**
|
19686
|
+
* Creates a ChunkMetadata message from a plain object. Also converts values to their respective internal types.
|
19687
|
+
* @param object Plain object
|
19688
|
+
* @returns ChunkMetadata
|
19689
|
+
*/
|
19690
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.Chunk.ChunkMetadata;
|
19691
|
+
|
19692
|
+
/**
|
19693
|
+
* Creates a plain object from a ChunkMetadata message. Also converts values to other types if specified.
|
19694
|
+
* @param message ChunkMetadata
|
19695
|
+
* @param [options] Conversion options
|
19696
|
+
* @returns Plain object
|
19697
|
+
*/
|
19698
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.Chunk.ChunkMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
19699
|
+
|
19700
|
+
/**
|
19701
|
+
* Converts this ChunkMetadata to JSON.
|
19702
|
+
* @returns JSON object
|
19703
|
+
*/
|
19704
|
+
public toJSON(): { [k: string]: any };
|
19705
|
+
|
19706
|
+
/**
|
19707
|
+
* Gets the default type url for ChunkMetadata
|
19708
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
19709
|
+
* @returns The default type url
|
19710
|
+
*/
|
19711
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
19712
|
+
}
|
19493
19713
|
}
|
19494
19714
|
|
19495
19715
|
/** Represents a ChunkService */
|
@@ -20630,250 +20850,1186 @@ export namespace google {
|
|
20630
20850
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
20631
20851
|
}
|
20632
20852
|
|
20633
|
-
/** Properties of
|
20634
|
-
interface
|
20853
|
+
/** Properties of a SpannerSource. */
|
20854
|
+
interface ISpannerSource {
|
20635
20855
|
|
20636
|
-
/**
|
20637
|
-
|
20856
|
+
/** SpannerSource projectId */
|
20857
|
+
projectId?: (string|null);
|
20858
|
+
|
20859
|
+
/** SpannerSource instanceId */
|
20860
|
+
instanceId?: (string|null);
|
20861
|
+
|
20862
|
+
/** SpannerSource databaseId */
|
20863
|
+
databaseId?: (string|null);
|
20864
|
+
|
20865
|
+
/** SpannerSource tableId */
|
20866
|
+
tableId?: (string|null);
|
20867
|
+
|
20868
|
+
/** SpannerSource enableDataBoost */
|
20869
|
+
enableDataBoost?: (boolean|null);
|
20638
20870
|
}
|
20639
20871
|
|
20640
|
-
/** Represents
|
20641
|
-
class
|
20872
|
+
/** Represents a SpannerSource. */
|
20873
|
+
class SpannerSource implements ISpannerSource {
|
20642
20874
|
|
20643
20875
|
/**
|
20644
|
-
* Constructs a new
|
20876
|
+
* Constructs a new SpannerSource.
|
20645
20877
|
* @param [properties] Properties to set
|
20646
20878
|
*/
|
20647
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.
|
20879
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ISpannerSource);
|
20648
20880
|
|
20649
|
-
/**
|
20650
|
-
public
|
20881
|
+
/** SpannerSource projectId. */
|
20882
|
+
public projectId: string;
|
20651
20883
|
|
20652
|
-
/**
|
20653
|
-
public
|
20884
|
+
/** SpannerSource instanceId. */
|
20885
|
+
public instanceId: string;
|
20886
|
+
|
20887
|
+
/** SpannerSource databaseId. */
|
20888
|
+
public databaseId: string;
|
20889
|
+
|
20890
|
+
/** SpannerSource tableId. */
|
20891
|
+
public tableId: string;
|
20892
|
+
|
20893
|
+
/** SpannerSource enableDataBoost. */
|
20894
|
+
public enableDataBoost: boolean;
|
20654
20895
|
|
20655
20896
|
/**
|
20656
|
-
* Creates a new
|
20897
|
+
* Creates a new SpannerSource instance using the specified properties.
|
20657
20898
|
* @param [properties] Properties to set
|
20658
|
-
* @returns
|
20899
|
+
* @returns SpannerSource instance
|
20659
20900
|
*/
|
20660
|
-
public static create(properties?: google.cloud.discoveryengine.v1alpha.
|
20901
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.ISpannerSource): google.cloud.discoveryengine.v1alpha.SpannerSource;
|
20661
20902
|
|
20662
20903
|
/**
|
20663
|
-
* Encodes the specified
|
20664
|
-
* @param message
|
20904
|
+
* Encodes the specified SpannerSource message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SpannerSource.verify|verify} messages.
|
20905
|
+
* @param message SpannerSource message or plain object to encode
|
20665
20906
|
* @param [writer] Writer to encode to
|
20666
20907
|
* @returns Writer
|
20667
20908
|
*/
|
20668
|
-
public static encode(message: google.cloud.discoveryengine.v1alpha.
|
20909
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.ISpannerSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
20669
20910
|
|
20670
20911
|
/**
|
20671
|
-
* Encodes the specified
|
20672
|
-
* @param message
|
20912
|
+
* Encodes the specified SpannerSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SpannerSource.verify|verify} messages.
|
20913
|
+
* @param message SpannerSource message or plain object to encode
|
20673
20914
|
* @param [writer] Writer to encode to
|
20674
20915
|
* @returns Writer
|
20675
20916
|
*/
|
20676
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.
|
20917
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.ISpannerSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
20677
20918
|
|
20678
20919
|
/**
|
20679
|
-
* Decodes
|
20920
|
+
* Decodes a SpannerSource message from the specified reader or buffer.
|
20680
20921
|
* @param reader Reader or buffer to decode from
|
20681
20922
|
* @param [length] Message length if known beforehand
|
20682
|
-
* @returns
|
20923
|
+
* @returns SpannerSource
|
20683
20924
|
* @throws {Error} If the payload is not a reader or valid buffer
|
20684
20925
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
20685
20926
|
*/
|
20686
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.
|
20927
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SpannerSource;
|
20687
20928
|
|
20688
20929
|
/**
|
20689
|
-
* Decodes
|
20930
|
+
* Decodes a SpannerSource message from the specified reader or buffer, length delimited.
|
20690
20931
|
* @param reader Reader or buffer to decode from
|
20691
|
-
* @returns
|
20932
|
+
* @returns SpannerSource
|
20692
20933
|
* @throws {Error} If the payload is not a reader or valid buffer
|
20693
20934
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
20694
20935
|
*/
|
20695
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.
|
20936
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SpannerSource;
|
20696
20937
|
|
20697
20938
|
/**
|
20698
|
-
* Verifies
|
20939
|
+
* Verifies a SpannerSource message.
|
20699
20940
|
* @param message Plain object to verify
|
20700
20941
|
* @returns `null` if valid, otherwise the reason why it is not
|
20701
20942
|
*/
|
20702
20943
|
public static verify(message: { [k: string]: any }): (string|null);
|
20703
20944
|
|
20704
20945
|
/**
|
20705
|
-
* Creates
|
20946
|
+
* Creates a SpannerSource message from a plain object. Also converts values to their respective internal types.
|
20706
20947
|
* @param object Plain object
|
20707
|
-
* @returns
|
20948
|
+
* @returns SpannerSource
|
20708
20949
|
*/
|
20709
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.
|
20950
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SpannerSource;
|
20710
20951
|
|
20711
20952
|
/**
|
20712
|
-
* Creates a plain object from
|
20713
|
-
* @param message
|
20953
|
+
* Creates a plain object from a SpannerSource message. Also converts values to other types if specified.
|
20954
|
+
* @param message SpannerSource
|
20714
20955
|
* @param [options] Conversion options
|
20715
20956
|
* @returns Plain object
|
20716
20957
|
*/
|
20717
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.
|
20958
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SpannerSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
20718
20959
|
|
20719
20960
|
/**
|
20720
|
-
* Converts this
|
20961
|
+
* Converts this SpannerSource to JSON.
|
20721
20962
|
* @returns JSON object
|
20722
20963
|
*/
|
20723
20964
|
public toJSON(): { [k: string]: any };
|
20724
20965
|
|
20725
20966
|
/**
|
20726
|
-
* Gets the default type url for
|
20967
|
+
* Gets the default type url for SpannerSource
|
20727
20968
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
20728
20969
|
* @returns The default type url
|
20729
20970
|
*/
|
20730
20971
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
20731
20972
|
}
|
20732
20973
|
|
20733
|
-
/** Properties of
|
20734
|
-
interface
|
20735
|
-
|
20736
|
-
/** ImportUserEventsRequest inlineSource */
|
20737
|
-
inlineSource?: (google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.IInlineSource|null);
|
20738
|
-
|
20739
|
-
/** ImportUserEventsRequest gcsSource */
|
20740
|
-
gcsSource?: (google.cloud.discoveryengine.v1alpha.IGcsSource|null);
|
20741
|
-
|
20742
|
-
/** ImportUserEventsRequest bigquerySource */
|
20743
|
-
bigquerySource?: (google.cloud.discoveryengine.v1alpha.IBigQuerySource|null);
|
20974
|
+
/** Properties of a BigtableOptions. */
|
20975
|
+
interface IBigtableOptions {
|
20744
20976
|
|
20745
|
-
/**
|
20746
|
-
|
20977
|
+
/** BigtableOptions keyFieldName */
|
20978
|
+
keyFieldName?: (string|null);
|
20747
20979
|
|
20748
|
-
/**
|
20749
|
-
|
20980
|
+
/** BigtableOptions families */
|
20981
|
+
families?: ({ [k: string]: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumnFamily }|null);
|
20750
20982
|
}
|
20751
20983
|
|
20752
|
-
/** Represents
|
20753
|
-
class
|
20984
|
+
/** Represents a BigtableOptions. */
|
20985
|
+
class BigtableOptions implements IBigtableOptions {
|
20754
20986
|
|
20755
20987
|
/**
|
20756
|
-
* Constructs a new
|
20988
|
+
* Constructs a new BigtableOptions.
|
20757
20989
|
* @param [properties] Properties to set
|
20758
20990
|
*/
|
20759
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.
|
20760
|
-
|
20761
|
-
/** ImportUserEventsRequest inlineSource. */
|
20762
|
-
public inlineSource?: (google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.IInlineSource|null);
|
20763
|
-
|
20764
|
-
/** ImportUserEventsRequest gcsSource. */
|
20765
|
-
public gcsSource?: (google.cloud.discoveryengine.v1alpha.IGcsSource|null);
|
20991
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IBigtableOptions);
|
20766
20992
|
|
20767
|
-
/**
|
20768
|
-
public
|
20769
|
-
|
20770
|
-
/** ImportUserEventsRequest parent. */
|
20771
|
-
public parent: string;
|
20772
|
-
|
20773
|
-
/** ImportUserEventsRequest errorConfig. */
|
20774
|
-
public errorConfig?: (google.cloud.discoveryengine.v1alpha.IImportErrorConfig|null);
|
20993
|
+
/** BigtableOptions keyFieldName. */
|
20994
|
+
public keyFieldName: string;
|
20775
20995
|
|
20776
|
-
/**
|
20777
|
-
public
|
20996
|
+
/** BigtableOptions families. */
|
20997
|
+
public families: { [k: string]: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumnFamily };
|
20778
20998
|
|
20779
20999
|
/**
|
20780
|
-
* Creates a new
|
21000
|
+
* Creates a new BigtableOptions instance using the specified properties.
|
20781
21001
|
* @param [properties] Properties to set
|
20782
|
-
* @returns
|
21002
|
+
* @returns BigtableOptions instance
|
20783
21003
|
*/
|
20784
|
-
public static create(properties?: google.cloud.discoveryengine.v1alpha.
|
21004
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IBigtableOptions): google.cloud.discoveryengine.v1alpha.BigtableOptions;
|
20785
21005
|
|
20786
21006
|
/**
|
20787
|
-
* Encodes the specified
|
20788
|
-
* @param message
|
21007
|
+
* Encodes the specified BigtableOptions message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.BigtableOptions.verify|verify} messages.
|
21008
|
+
* @param message BigtableOptions message or plain object to encode
|
20789
21009
|
* @param [writer] Writer to encode to
|
20790
21010
|
* @returns Writer
|
20791
21011
|
*/
|
20792
|
-
public static encode(message: google.cloud.discoveryengine.v1alpha.
|
21012
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IBigtableOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
20793
21013
|
|
20794
21014
|
/**
|
20795
|
-
* Encodes the specified
|
20796
|
-
* @param message
|
21015
|
+
* Encodes the specified BigtableOptions message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.BigtableOptions.verify|verify} messages.
|
21016
|
+
* @param message BigtableOptions message or plain object to encode
|
20797
21017
|
* @param [writer] Writer to encode to
|
20798
21018
|
* @returns Writer
|
20799
21019
|
*/
|
20800
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.
|
21020
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IBigtableOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
20801
21021
|
|
20802
21022
|
/**
|
20803
|
-
* Decodes
|
21023
|
+
* Decodes a BigtableOptions message from the specified reader or buffer.
|
20804
21024
|
* @param reader Reader or buffer to decode from
|
20805
21025
|
* @param [length] Message length if known beforehand
|
20806
|
-
* @returns
|
21026
|
+
* @returns BigtableOptions
|
20807
21027
|
* @throws {Error} If the payload is not a reader or valid buffer
|
20808
21028
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
20809
21029
|
*/
|
20810
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.
|
21030
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.BigtableOptions;
|
20811
21031
|
|
20812
21032
|
/**
|
20813
|
-
* Decodes
|
21033
|
+
* Decodes a BigtableOptions message from the specified reader or buffer, length delimited.
|
20814
21034
|
* @param reader Reader or buffer to decode from
|
20815
|
-
* @returns
|
21035
|
+
* @returns BigtableOptions
|
20816
21036
|
* @throws {Error} If the payload is not a reader or valid buffer
|
20817
21037
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
20818
21038
|
*/
|
20819
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.
|
21039
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.BigtableOptions;
|
20820
21040
|
|
20821
21041
|
/**
|
20822
|
-
* Verifies
|
21042
|
+
* Verifies a BigtableOptions message.
|
20823
21043
|
* @param message Plain object to verify
|
20824
21044
|
* @returns `null` if valid, otherwise the reason why it is not
|
20825
21045
|
*/
|
20826
21046
|
public static verify(message: { [k: string]: any }): (string|null);
|
20827
21047
|
|
20828
21048
|
/**
|
20829
|
-
* Creates
|
21049
|
+
* Creates a BigtableOptions message from a plain object. Also converts values to their respective internal types.
|
20830
21050
|
* @param object Plain object
|
20831
|
-
* @returns
|
21051
|
+
* @returns BigtableOptions
|
20832
21052
|
*/
|
20833
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.
|
21053
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.BigtableOptions;
|
20834
21054
|
|
20835
21055
|
/**
|
20836
|
-
* Creates a plain object from
|
20837
|
-
* @param message
|
21056
|
+
* Creates a plain object from a BigtableOptions message. Also converts values to other types if specified.
|
21057
|
+
* @param message BigtableOptions
|
20838
21058
|
* @param [options] Conversion options
|
20839
21059
|
* @returns Plain object
|
20840
21060
|
*/
|
20841
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.
|
21061
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.BigtableOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
20842
21062
|
|
20843
21063
|
/**
|
20844
|
-
* Converts this
|
21064
|
+
* Converts this BigtableOptions to JSON.
|
20845
21065
|
* @returns JSON object
|
20846
21066
|
*/
|
20847
21067
|
public toJSON(): { [k: string]: any };
|
20848
21068
|
|
20849
21069
|
/**
|
20850
|
-
* Gets the default type url for
|
21070
|
+
* Gets the default type url for BigtableOptions
|
20851
21071
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
20852
21072
|
* @returns The default type url
|
20853
21073
|
*/
|
20854
21074
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
20855
21075
|
}
|
20856
21076
|
|
20857
|
-
namespace
|
21077
|
+
namespace BigtableOptions {
|
20858
21078
|
|
20859
|
-
/** Properties of
|
20860
|
-
interface
|
21079
|
+
/** Properties of a BigtableColumnFamily. */
|
21080
|
+
interface IBigtableColumnFamily {
|
20861
21081
|
|
20862
|
-
/**
|
20863
|
-
|
21082
|
+
/** BigtableColumnFamily fieldName */
|
21083
|
+
fieldName?: (string|null);
|
21084
|
+
|
21085
|
+
/** BigtableColumnFamily encoding */
|
21086
|
+
encoding?: (google.cloud.discoveryengine.v1alpha.BigtableOptions.Encoding|keyof typeof google.cloud.discoveryengine.v1alpha.BigtableOptions.Encoding|null);
|
21087
|
+
|
21088
|
+
/** BigtableColumnFamily type */
|
21089
|
+
type?: (google.cloud.discoveryengine.v1alpha.BigtableOptions.Type|keyof typeof google.cloud.discoveryengine.v1alpha.BigtableOptions.Type|null);
|
21090
|
+
|
21091
|
+
/** BigtableColumnFamily columns */
|
21092
|
+
columns?: (google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumn[]|null);
|
20864
21093
|
}
|
20865
21094
|
|
20866
|
-
/** Represents
|
20867
|
-
class
|
21095
|
+
/** Represents a BigtableColumnFamily. */
|
21096
|
+
class BigtableColumnFamily implements IBigtableColumnFamily {
|
20868
21097
|
|
20869
21098
|
/**
|
20870
|
-
* Constructs a new
|
21099
|
+
* Constructs a new BigtableColumnFamily.
|
20871
21100
|
* @param [properties] Properties to set
|
20872
21101
|
*/
|
20873
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.
|
21102
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumnFamily);
|
20874
21103
|
|
20875
|
-
/**
|
20876
|
-
public
|
21104
|
+
/** BigtableColumnFamily fieldName. */
|
21105
|
+
public fieldName: string;
|
21106
|
+
|
21107
|
+
/** BigtableColumnFamily encoding. */
|
21108
|
+
public encoding: (google.cloud.discoveryengine.v1alpha.BigtableOptions.Encoding|keyof typeof google.cloud.discoveryengine.v1alpha.BigtableOptions.Encoding);
|
21109
|
+
|
21110
|
+
/** BigtableColumnFamily type. */
|
21111
|
+
public type: (google.cloud.discoveryengine.v1alpha.BigtableOptions.Type|keyof typeof google.cloud.discoveryengine.v1alpha.BigtableOptions.Type);
|
21112
|
+
|
21113
|
+
/** BigtableColumnFamily columns. */
|
21114
|
+
public columns: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumn[];
|
21115
|
+
|
21116
|
+
/**
|
21117
|
+
* Creates a new BigtableColumnFamily instance using the specified properties.
|
21118
|
+
* @param [properties] Properties to set
|
21119
|
+
* @returns BigtableColumnFamily instance
|
21120
|
+
*/
|
21121
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumnFamily): google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily;
|
21122
|
+
|
21123
|
+
/**
|
21124
|
+
* Encodes the specified BigtableColumnFamily message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily.verify|verify} messages.
|
21125
|
+
* @param message BigtableColumnFamily message or plain object to encode
|
21126
|
+
* @param [writer] Writer to encode to
|
21127
|
+
* @returns Writer
|
21128
|
+
*/
|
21129
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumnFamily, writer?: $protobuf.Writer): $protobuf.Writer;
|
21130
|
+
|
21131
|
+
/**
|
21132
|
+
* Encodes the specified BigtableColumnFamily message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily.verify|verify} messages.
|
21133
|
+
* @param message BigtableColumnFamily message or plain object to encode
|
21134
|
+
* @param [writer] Writer to encode to
|
21135
|
+
* @returns Writer
|
21136
|
+
*/
|
21137
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumnFamily, writer?: $protobuf.Writer): $protobuf.Writer;
|
21138
|
+
|
21139
|
+
/**
|
21140
|
+
* Decodes a BigtableColumnFamily message from the specified reader or buffer.
|
21141
|
+
* @param reader Reader or buffer to decode from
|
21142
|
+
* @param [length] Message length if known beforehand
|
21143
|
+
* @returns BigtableColumnFamily
|
21144
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21145
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21146
|
+
*/
|
21147
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily;
|
21148
|
+
|
21149
|
+
/**
|
21150
|
+
* Decodes a BigtableColumnFamily message from the specified reader or buffer, length delimited.
|
21151
|
+
* @param reader Reader or buffer to decode from
|
21152
|
+
* @returns BigtableColumnFamily
|
21153
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21154
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21155
|
+
*/
|
21156
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily;
|
21157
|
+
|
21158
|
+
/**
|
21159
|
+
* Verifies a BigtableColumnFamily message.
|
21160
|
+
* @param message Plain object to verify
|
21161
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
21162
|
+
*/
|
21163
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
21164
|
+
|
21165
|
+
/**
|
21166
|
+
* Creates a BigtableColumnFamily message from a plain object. Also converts values to their respective internal types.
|
21167
|
+
* @param object Plain object
|
21168
|
+
* @returns BigtableColumnFamily
|
21169
|
+
*/
|
21170
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily;
|
21171
|
+
|
21172
|
+
/**
|
21173
|
+
* Creates a plain object from a BigtableColumnFamily message. Also converts values to other types if specified.
|
21174
|
+
* @param message BigtableColumnFamily
|
21175
|
+
* @param [options] Conversion options
|
21176
|
+
* @returns Plain object
|
21177
|
+
*/
|
21178
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21179
|
+
|
21180
|
+
/**
|
21181
|
+
* Converts this BigtableColumnFamily to JSON.
|
21182
|
+
* @returns JSON object
|
21183
|
+
*/
|
21184
|
+
public toJSON(): { [k: string]: any };
|
21185
|
+
|
21186
|
+
/**
|
21187
|
+
* Gets the default type url for BigtableColumnFamily
|
21188
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
21189
|
+
* @returns The default type url
|
21190
|
+
*/
|
21191
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21192
|
+
}
|
21193
|
+
|
21194
|
+
/** Properties of a BigtableColumn. */
|
21195
|
+
interface IBigtableColumn {
|
21196
|
+
|
21197
|
+
/** BigtableColumn qualifier */
|
21198
|
+
qualifier?: (Uint8Array|string|null);
|
21199
|
+
|
21200
|
+
/** BigtableColumn fieldName */
|
21201
|
+
fieldName?: (string|null);
|
21202
|
+
|
21203
|
+
/** BigtableColumn encoding */
|
21204
|
+
encoding?: (google.cloud.discoveryengine.v1alpha.BigtableOptions.Encoding|keyof typeof google.cloud.discoveryengine.v1alpha.BigtableOptions.Encoding|null);
|
21205
|
+
|
21206
|
+
/** BigtableColumn type */
|
21207
|
+
type?: (google.cloud.discoveryengine.v1alpha.BigtableOptions.Type|keyof typeof google.cloud.discoveryengine.v1alpha.BigtableOptions.Type|null);
|
21208
|
+
}
|
21209
|
+
|
21210
|
+
/** Represents a BigtableColumn. */
|
21211
|
+
class BigtableColumn implements IBigtableColumn {
|
21212
|
+
|
21213
|
+
/**
|
21214
|
+
* Constructs a new BigtableColumn.
|
21215
|
+
* @param [properties] Properties to set
|
21216
|
+
*/
|
21217
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumn);
|
21218
|
+
|
21219
|
+
/** BigtableColumn qualifier. */
|
21220
|
+
public qualifier: (Uint8Array|string);
|
21221
|
+
|
21222
|
+
/** BigtableColumn fieldName. */
|
21223
|
+
public fieldName: string;
|
21224
|
+
|
21225
|
+
/** BigtableColumn encoding. */
|
21226
|
+
public encoding: (google.cloud.discoveryengine.v1alpha.BigtableOptions.Encoding|keyof typeof google.cloud.discoveryengine.v1alpha.BigtableOptions.Encoding);
|
21227
|
+
|
21228
|
+
/** BigtableColumn type. */
|
21229
|
+
public type: (google.cloud.discoveryengine.v1alpha.BigtableOptions.Type|keyof typeof google.cloud.discoveryengine.v1alpha.BigtableOptions.Type);
|
21230
|
+
|
21231
|
+
/**
|
21232
|
+
* Creates a new BigtableColumn instance using the specified properties.
|
21233
|
+
* @param [properties] Properties to set
|
21234
|
+
* @returns BigtableColumn instance
|
21235
|
+
*/
|
21236
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumn): google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumn;
|
21237
|
+
|
21238
|
+
/**
|
21239
|
+
* Encodes the specified BigtableColumn message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumn.verify|verify} messages.
|
21240
|
+
* @param message BigtableColumn message or plain object to encode
|
21241
|
+
* @param [writer] Writer to encode to
|
21242
|
+
* @returns Writer
|
21243
|
+
*/
|
21244
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumn, writer?: $protobuf.Writer): $protobuf.Writer;
|
21245
|
+
|
21246
|
+
/**
|
21247
|
+
* Encodes the specified BigtableColumn message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumn.verify|verify} messages.
|
21248
|
+
* @param message BigtableColumn message or plain object to encode
|
21249
|
+
* @param [writer] Writer to encode to
|
21250
|
+
* @returns Writer
|
21251
|
+
*/
|
21252
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.BigtableOptions.IBigtableColumn, writer?: $protobuf.Writer): $protobuf.Writer;
|
21253
|
+
|
21254
|
+
/**
|
21255
|
+
* Decodes a BigtableColumn message from the specified reader or buffer.
|
21256
|
+
* @param reader Reader or buffer to decode from
|
21257
|
+
* @param [length] Message length if known beforehand
|
21258
|
+
* @returns BigtableColumn
|
21259
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21260
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21261
|
+
*/
|
21262
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumn;
|
21263
|
+
|
21264
|
+
/**
|
21265
|
+
* Decodes a BigtableColumn message from the specified reader or buffer, length delimited.
|
21266
|
+
* @param reader Reader or buffer to decode from
|
21267
|
+
* @returns BigtableColumn
|
21268
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21269
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21270
|
+
*/
|
21271
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumn;
|
21272
|
+
|
21273
|
+
/**
|
21274
|
+
* Verifies a BigtableColumn message.
|
21275
|
+
* @param message Plain object to verify
|
21276
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
21277
|
+
*/
|
21278
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
21279
|
+
|
21280
|
+
/**
|
21281
|
+
* Creates a BigtableColumn message from a plain object. Also converts values to their respective internal types.
|
21282
|
+
* @param object Plain object
|
21283
|
+
* @returns BigtableColumn
|
21284
|
+
*/
|
21285
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumn;
|
21286
|
+
|
21287
|
+
/**
|
21288
|
+
* Creates a plain object from a BigtableColumn message. Also converts values to other types if specified.
|
21289
|
+
* @param message BigtableColumn
|
21290
|
+
* @param [options] Conversion options
|
21291
|
+
* @returns Plain object
|
21292
|
+
*/
|
21293
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumn, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21294
|
+
|
21295
|
+
/**
|
21296
|
+
* Converts this BigtableColumn to JSON.
|
21297
|
+
* @returns JSON object
|
21298
|
+
*/
|
21299
|
+
public toJSON(): { [k: string]: any };
|
21300
|
+
|
21301
|
+
/**
|
21302
|
+
* Gets the default type url for BigtableColumn
|
21303
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
21304
|
+
* @returns The default type url
|
21305
|
+
*/
|
21306
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21307
|
+
}
|
21308
|
+
|
21309
|
+
/** Type enum. */
|
21310
|
+
enum Type {
|
21311
|
+
TYPE_UNSPECIFIED = 0,
|
21312
|
+
STRING = 1,
|
21313
|
+
NUMBER = 2,
|
21314
|
+
INTEGER = 3,
|
21315
|
+
VAR_INTEGER = 4,
|
21316
|
+
BIG_NUMERIC = 5,
|
21317
|
+
BOOLEAN = 6,
|
21318
|
+
JSON = 7
|
21319
|
+
}
|
21320
|
+
|
21321
|
+
/** Encoding enum. */
|
21322
|
+
enum Encoding {
|
21323
|
+
ENCODING_UNSPECIFIED = 0,
|
21324
|
+
TEXT = 1,
|
21325
|
+
BINARY = 2
|
21326
|
+
}
|
21327
|
+
}
|
21328
|
+
|
21329
|
+
/** Properties of a BigtableSource. */
|
21330
|
+
interface IBigtableSource {
|
21331
|
+
|
21332
|
+
/** BigtableSource projectId */
|
21333
|
+
projectId?: (string|null);
|
21334
|
+
|
21335
|
+
/** BigtableSource instanceId */
|
21336
|
+
instanceId?: (string|null);
|
21337
|
+
|
21338
|
+
/** BigtableSource tableId */
|
21339
|
+
tableId?: (string|null);
|
21340
|
+
|
21341
|
+
/** BigtableSource bigtableOptions */
|
21342
|
+
bigtableOptions?: (google.cloud.discoveryengine.v1alpha.IBigtableOptions|null);
|
21343
|
+
}
|
21344
|
+
|
21345
|
+
/** Represents a BigtableSource. */
|
21346
|
+
class BigtableSource implements IBigtableSource {
|
21347
|
+
|
21348
|
+
/**
|
21349
|
+
* Constructs a new BigtableSource.
|
21350
|
+
* @param [properties] Properties to set
|
21351
|
+
*/
|
21352
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IBigtableSource);
|
21353
|
+
|
21354
|
+
/** BigtableSource projectId. */
|
21355
|
+
public projectId: string;
|
21356
|
+
|
21357
|
+
/** BigtableSource instanceId. */
|
21358
|
+
public instanceId: string;
|
21359
|
+
|
21360
|
+
/** BigtableSource tableId. */
|
21361
|
+
public tableId: string;
|
21362
|
+
|
21363
|
+
/** BigtableSource bigtableOptions. */
|
21364
|
+
public bigtableOptions?: (google.cloud.discoveryengine.v1alpha.IBigtableOptions|null);
|
21365
|
+
|
21366
|
+
/**
|
21367
|
+
* Creates a new BigtableSource instance using the specified properties.
|
21368
|
+
* @param [properties] Properties to set
|
21369
|
+
* @returns BigtableSource instance
|
21370
|
+
*/
|
21371
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IBigtableSource): google.cloud.discoveryengine.v1alpha.BigtableSource;
|
21372
|
+
|
21373
|
+
/**
|
21374
|
+
* Encodes the specified BigtableSource message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.BigtableSource.verify|verify} messages.
|
21375
|
+
* @param message BigtableSource message or plain object to encode
|
21376
|
+
* @param [writer] Writer to encode to
|
21377
|
+
* @returns Writer
|
21378
|
+
*/
|
21379
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IBigtableSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
21380
|
+
|
21381
|
+
/**
|
21382
|
+
* Encodes the specified BigtableSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.BigtableSource.verify|verify} messages.
|
21383
|
+
* @param message BigtableSource message or plain object to encode
|
21384
|
+
* @param [writer] Writer to encode to
|
21385
|
+
* @returns Writer
|
21386
|
+
*/
|
21387
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IBigtableSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
21388
|
+
|
21389
|
+
/**
|
21390
|
+
* Decodes a BigtableSource message from the specified reader or buffer.
|
21391
|
+
* @param reader Reader or buffer to decode from
|
21392
|
+
* @param [length] Message length if known beforehand
|
21393
|
+
* @returns BigtableSource
|
21394
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21395
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21396
|
+
*/
|
21397
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.BigtableSource;
|
21398
|
+
|
21399
|
+
/**
|
21400
|
+
* Decodes a BigtableSource message from the specified reader or buffer, length delimited.
|
21401
|
+
* @param reader Reader or buffer to decode from
|
21402
|
+
* @returns BigtableSource
|
21403
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21404
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21405
|
+
*/
|
21406
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.BigtableSource;
|
21407
|
+
|
21408
|
+
/**
|
21409
|
+
* Verifies a BigtableSource message.
|
21410
|
+
* @param message Plain object to verify
|
21411
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
21412
|
+
*/
|
21413
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
21414
|
+
|
21415
|
+
/**
|
21416
|
+
* Creates a BigtableSource message from a plain object. Also converts values to their respective internal types.
|
21417
|
+
* @param object Plain object
|
21418
|
+
* @returns BigtableSource
|
21419
|
+
*/
|
21420
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.BigtableSource;
|
21421
|
+
|
21422
|
+
/**
|
21423
|
+
* Creates a plain object from a BigtableSource message. Also converts values to other types if specified.
|
21424
|
+
* @param message BigtableSource
|
21425
|
+
* @param [options] Conversion options
|
21426
|
+
* @returns Plain object
|
21427
|
+
*/
|
21428
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.BigtableSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21429
|
+
|
21430
|
+
/**
|
21431
|
+
* Converts this BigtableSource to JSON.
|
21432
|
+
* @returns JSON object
|
21433
|
+
*/
|
21434
|
+
public toJSON(): { [k: string]: any };
|
21435
|
+
|
21436
|
+
/**
|
21437
|
+
* Gets the default type url for BigtableSource
|
21438
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
21439
|
+
* @returns The default type url
|
21440
|
+
*/
|
21441
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21442
|
+
}
|
21443
|
+
|
21444
|
+
/** Properties of a FhirStoreSource. */
|
21445
|
+
interface IFhirStoreSource {
|
21446
|
+
|
21447
|
+
/** FhirStoreSource fhirStore */
|
21448
|
+
fhirStore?: (string|null);
|
21449
|
+
|
21450
|
+
/** FhirStoreSource gcsStagingDir */
|
21451
|
+
gcsStagingDir?: (string|null);
|
21452
|
+
}
|
21453
|
+
|
21454
|
+
/** Represents a FhirStoreSource. */
|
21455
|
+
class FhirStoreSource implements IFhirStoreSource {
|
21456
|
+
|
21457
|
+
/**
|
21458
|
+
* Constructs a new FhirStoreSource.
|
21459
|
+
* @param [properties] Properties to set
|
21460
|
+
*/
|
21461
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IFhirStoreSource);
|
21462
|
+
|
21463
|
+
/** FhirStoreSource fhirStore. */
|
21464
|
+
public fhirStore: string;
|
21465
|
+
|
21466
|
+
/** FhirStoreSource gcsStagingDir. */
|
21467
|
+
public gcsStagingDir: string;
|
21468
|
+
|
21469
|
+
/**
|
21470
|
+
* Creates a new FhirStoreSource instance using the specified properties.
|
21471
|
+
* @param [properties] Properties to set
|
21472
|
+
* @returns FhirStoreSource instance
|
21473
|
+
*/
|
21474
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IFhirStoreSource): google.cloud.discoveryengine.v1alpha.FhirStoreSource;
|
21475
|
+
|
21476
|
+
/**
|
21477
|
+
* Encodes the specified FhirStoreSource message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.FhirStoreSource.verify|verify} messages.
|
21478
|
+
* @param message FhirStoreSource message or plain object to encode
|
21479
|
+
* @param [writer] Writer to encode to
|
21480
|
+
* @returns Writer
|
21481
|
+
*/
|
21482
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IFhirStoreSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
21483
|
+
|
21484
|
+
/**
|
21485
|
+
* Encodes the specified FhirStoreSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.FhirStoreSource.verify|verify} messages.
|
21486
|
+
* @param message FhirStoreSource message or plain object to encode
|
21487
|
+
* @param [writer] Writer to encode to
|
21488
|
+
* @returns Writer
|
21489
|
+
*/
|
21490
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IFhirStoreSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
21491
|
+
|
21492
|
+
/**
|
21493
|
+
* Decodes a FhirStoreSource message from the specified reader or buffer.
|
21494
|
+
* @param reader Reader or buffer to decode from
|
21495
|
+
* @param [length] Message length if known beforehand
|
21496
|
+
* @returns FhirStoreSource
|
21497
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21498
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21499
|
+
*/
|
21500
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.FhirStoreSource;
|
21501
|
+
|
21502
|
+
/**
|
21503
|
+
* Decodes a FhirStoreSource message from the specified reader or buffer, length delimited.
|
21504
|
+
* @param reader Reader or buffer to decode from
|
21505
|
+
* @returns FhirStoreSource
|
21506
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21507
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21508
|
+
*/
|
21509
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.FhirStoreSource;
|
21510
|
+
|
21511
|
+
/**
|
21512
|
+
* Verifies a FhirStoreSource message.
|
21513
|
+
* @param message Plain object to verify
|
21514
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
21515
|
+
*/
|
21516
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
21517
|
+
|
21518
|
+
/**
|
21519
|
+
* Creates a FhirStoreSource message from a plain object. Also converts values to their respective internal types.
|
21520
|
+
* @param object Plain object
|
21521
|
+
* @returns FhirStoreSource
|
21522
|
+
*/
|
21523
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.FhirStoreSource;
|
21524
|
+
|
21525
|
+
/**
|
21526
|
+
* Creates a plain object from a FhirStoreSource message. Also converts values to other types if specified.
|
21527
|
+
* @param message FhirStoreSource
|
21528
|
+
* @param [options] Conversion options
|
21529
|
+
* @returns Plain object
|
21530
|
+
*/
|
21531
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.FhirStoreSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21532
|
+
|
21533
|
+
/**
|
21534
|
+
* Converts this FhirStoreSource to JSON.
|
21535
|
+
* @returns JSON object
|
21536
|
+
*/
|
21537
|
+
public toJSON(): { [k: string]: any };
|
21538
|
+
|
21539
|
+
/**
|
21540
|
+
* Gets the default type url for FhirStoreSource
|
21541
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
21542
|
+
* @returns The default type url
|
21543
|
+
*/
|
21544
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21545
|
+
}
|
21546
|
+
|
21547
|
+
/** Properties of a CloudSqlSource. */
|
21548
|
+
interface ICloudSqlSource {
|
21549
|
+
|
21550
|
+
/** CloudSqlSource projectId */
|
21551
|
+
projectId?: (string|null);
|
21552
|
+
|
21553
|
+
/** CloudSqlSource instanceId */
|
21554
|
+
instanceId?: (string|null);
|
21555
|
+
|
21556
|
+
/** CloudSqlSource databaseId */
|
21557
|
+
databaseId?: (string|null);
|
21558
|
+
|
21559
|
+
/** CloudSqlSource tableId */
|
21560
|
+
tableId?: (string|null);
|
21561
|
+
|
21562
|
+
/** CloudSqlSource gcsStagingDir */
|
21563
|
+
gcsStagingDir?: (string|null);
|
21564
|
+
|
21565
|
+
/** CloudSqlSource offload */
|
21566
|
+
offload?: (boolean|null);
|
21567
|
+
}
|
21568
|
+
|
21569
|
+
/** Represents a CloudSqlSource. */
|
21570
|
+
class CloudSqlSource implements ICloudSqlSource {
|
21571
|
+
|
21572
|
+
/**
|
21573
|
+
* Constructs a new CloudSqlSource.
|
21574
|
+
* @param [properties] Properties to set
|
21575
|
+
*/
|
21576
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ICloudSqlSource);
|
21577
|
+
|
21578
|
+
/** CloudSqlSource projectId. */
|
21579
|
+
public projectId: string;
|
21580
|
+
|
21581
|
+
/** CloudSqlSource instanceId. */
|
21582
|
+
public instanceId: string;
|
21583
|
+
|
21584
|
+
/** CloudSqlSource databaseId. */
|
21585
|
+
public databaseId: string;
|
21586
|
+
|
21587
|
+
/** CloudSqlSource tableId. */
|
21588
|
+
public tableId: string;
|
21589
|
+
|
21590
|
+
/** CloudSqlSource gcsStagingDir. */
|
21591
|
+
public gcsStagingDir: string;
|
21592
|
+
|
21593
|
+
/** CloudSqlSource offload. */
|
21594
|
+
public offload: boolean;
|
21595
|
+
|
21596
|
+
/**
|
21597
|
+
* Creates a new CloudSqlSource instance using the specified properties.
|
21598
|
+
* @param [properties] Properties to set
|
21599
|
+
* @returns CloudSqlSource instance
|
21600
|
+
*/
|
21601
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.ICloudSqlSource): google.cloud.discoveryengine.v1alpha.CloudSqlSource;
|
21602
|
+
|
21603
|
+
/**
|
21604
|
+
* Encodes the specified CloudSqlSource message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.CloudSqlSource.verify|verify} messages.
|
21605
|
+
* @param message CloudSqlSource message or plain object to encode
|
21606
|
+
* @param [writer] Writer to encode to
|
21607
|
+
* @returns Writer
|
21608
|
+
*/
|
21609
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.ICloudSqlSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
21610
|
+
|
21611
|
+
/**
|
21612
|
+
* Encodes the specified CloudSqlSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.CloudSqlSource.verify|verify} messages.
|
21613
|
+
* @param message CloudSqlSource message or plain object to encode
|
21614
|
+
* @param [writer] Writer to encode to
|
21615
|
+
* @returns Writer
|
21616
|
+
*/
|
21617
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.ICloudSqlSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
21618
|
+
|
21619
|
+
/**
|
21620
|
+
* Decodes a CloudSqlSource message from the specified reader or buffer.
|
21621
|
+
* @param reader Reader or buffer to decode from
|
21622
|
+
* @param [length] Message length if known beforehand
|
21623
|
+
* @returns CloudSqlSource
|
21624
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21625
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21626
|
+
*/
|
21627
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.CloudSqlSource;
|
21628
|
+
|
21629
|
+
/**
|
21630
|
+
* Decodes a CloudSqlSource message from the specified reader or buffer, length delimited.
|
21631
|
+
* @param reader Reader or buffer to decode from
|
21632
|
+
* @returns CloudSqlSource
|
21633
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21634
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21635
|
+
*/
|
21636
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.CloudSqlSource;
|
21637
|
+
|
21638
|
+
/**
|
21639
|
+
* Verifies a CloudSqlSource message.
|
21640
|
+
* @param message Plain object to verify
|
21641
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
21642
|
+
*/
|
21643
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
21644
|
+
|
21645
|
+
/**
|
21646
|
+
* Creates a CloudSqlSource message from a plain object. Also converts values to their respective internal types.
|
21647
|
+
* @param object Plain object
|
21648
|
+
* @returns CloudSqlSource
|
21649
|
+
*/
|
21650
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.CloudSqlSource;
|
21651
|
+
|
21652
|
+
/**
|
21653
|
+
* Creates a plain object from a CloudSqlSource message. Also converts values to other types if specified.
|
21654
|
+
* @param message CloudSqlSource
|
21655
|
+
* @param [options] Conversion options
|
21656
|
+
* @returns Plain object
|
21657
|
+
*/
|
21658
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.CloudSqlSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21659
|
+
|
21660
|
+
/**
|
21661
|
+
* Converts this CloudSqlSource to JSON.
|
21662
|
+
* @returns JSON object
|
21663
|
+
*/
|
21664
|
+
public toJSON(): { [k: string]: any };
|
21665
|
+
|
21666
|
+
/**
|
21667
|
+
* Gets the default type url for CloudSqlSource
|
21668
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
21669
|
+
* @returns The default type url
|
21670
|
+
*/
|
21671
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21672
|
+
}
|
21673
|
+
|
21674
|
+
/** Properties of a FirestoreSource. */
|
21675
|
+
interface IFirestoreSource {
|
21676
|
+
|
21677
|
+
/** FirestoreSource projectId */
|
21678
|
+
projectId?: (string|null);
|
21679
|
+
|
21680
|
+
/** FirestoreSource databaseId */
|
21681
|
+
databaseId?: (string|null);
|
21682
|
+
|
21683
|
+
/** FirestoreSource collectionId */
|
21684
|
+
collectionId?: (string|null);
|
21685
|
+
|
21686
|
+
/** FirestoreSource gcsStagingDir */
|
21687
|
+
gcsStagingDir?: (string|null);
|
21688
|
+
}
|
21689
|
+
|
21690
|
+
/** Represents a FirestoreSource. */
|
21691
|
+
class FirestoreSource implements IFirestoreSource {
|
21692
|
+
|
21693
|
+
/**
|
21694
|
+
* Constructs a new FirestoreSource.
|
21695
|
+
* @param [properties] Properties to set
|
21696
|
+
*/
|
21697
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IFirestoreSource);
|
21698
|
+
|
21699
|
+
/** FirestoreSource projectId. */
|
21700
|
+
public projectId: string;
|
21701
|
+
|
21702
|
+
/** FirestoreSource databaseId. */
|
21703
|
+
public databaseId: string;
|
21704
|
+
|
21705
|
+
/** FirestoreSource collectionId. */
|
21706
|
+
public collectionId: string;
|
21707
|
+
|
21708
|
+
/** FirestoreSource gcsStagingDir. */
|
21709
|
+
public gcsStagingDir: string;
|
21710
|
+
|
21711
|
+
/**
|
21712
|
+
* Creates a new FirestoreSource instance using the specified properties.
|
21713
|
+
* @param [properties] Properties to set
|
21714
|
+
* @returns FirestoreSource instance
|
21715
|
+
*/
|
21716
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IFirestoreSource): google.cloud.discoveryengine.v1alpha.FirestoreSource;
|
21717
|
+
|
21718
|
+
/**
|
21719
|
+
* Encodes the specified FirestoreSource message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.FirestoreSource.verify|verify} messages.
|
21720
|
+
* @param message FirestoreSource message or plain object to encode
|
21721
|
+
* @param [writer] Writer to encode to
|
21722
|
+
* @returns Writer
|
21723
|
+
*/
|
21724
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IFirestoreSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
21725
|
+
|
21726
|
+
/**
|
21727
|
+
* Encodes the specified FirestoreSource message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.FirestoreSource.verify|verify} messages.
|
21728
|
+
* @param message FirestoreSource message or plain object to encode
|
21729
|
+
* @param [writer] Writer to encode to
|
21730
|
+
* @returns Writer
|
21731
|
+
*/
|
21732
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IFirestoreSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
21733
|
+
|
21734
|
+
/**
|
21735
|
+
* Decodes a FirestoreSource message from the specified reader or buffer.
|
21736
|
+
* @param reader Reader or buffer to decode from
|
21737
|
+
* @param [length] Message length if known beforehand
|
21738
|
+
* @returns FirestoreSource
|
21739
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21740
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21741
|
+
*/
|
21742
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.FirestoreSource;
|
21743
|
+
|
21744
|
+
/**
|
21745
|
+
* Decodes a FirestoreSource message from the specified reader or buffer, length delimited.
|
21746
|
+
* @param reader Reader or buffer to decode from
|
21747
|
+
* @returns FirestoreSource
|
21748
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21749
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21750
|
+
*/
|
21751
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.FirestoreSource;
|
21752
|
+
|
21753
|
+
/**
|
21754
|
+
* Verifies a FirestoreSource message.
|
21755
|
+
* @param message Plain object to verify
|
21756
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
21757
|
+
*/
|
21758
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
21759
|
+
|
21760
|
+
/**
|
21761
|
+
* Creates a FirestoreSource message from a plain object. Also converts values to their respective internal types.
|
21762
|
+
* @param object Plain object
|
21763
|
+
* @returns FirestoreSource
|
21764
|
+
*/
|
21765
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.FirestoreSource;
|
21766
|
+
|
21767
|
+
/**
|
21768
|
+
* Creates a plain object from a FirestoreSource message. Also converts values to other types if specified.
|
21769
|
+
* @param message FirestoreSource
|
21770
|
+
* @param [options] Conversion options
|
21771
|
+
* @returns Plain object
|
21772
|
+
*/
|
21773
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.FirestoreSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21774
|
+
|
21775
|
+
/**
|
21776
|
+
* Converts this FirestoreSource to JSON.
|
21777
|
+
* @returns JSON object
|
21778
|
+
*/
|
21779
|
+
public toJSON(): { [k: string]: any };
|
21780
|
+
|
21781
|
+
/**
|
21782
|
+
* Gets the default type url for FirestoreSource
|
21783
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
21784
|
+
* @returns The default type url
|
21785
|
+
*/
|
21786
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21787
|
+
}
|
21788
|
+
|
21789
|
+
/** Properties of an ImportErrorConfig. */
|
21790
|
+
interface IImportErrorConfig {
|
21791
|
+
|
21792
|
+
/** ImportErrorConfig gcsPrefix */
|
21793
|
+
gcsPrefix?: (string|null);
|
21794
|
+
}
|
21795
|
+
|
21796
|
+
/** Represents an ImportErrorConfig. */
|
21797
|
+
class ImportErrorConfig implements IImportErrorConfig {
|
21798
|
+
|
21799
|
+
/**
|
21800
|
+
* Constructs a new ImportErrorConfig.
|
21801
|
+
* @param [properties] Properties to set
|
21802
|
+
*/
|
21803
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportErrorConfig);
|
21804
|
+
|
21805
|
+
/** ImportErrorConfig gcsPrefix. */
|
21806
|
+
public gcsPrefix?: (string|null);
|
21807
|
+
|
21808
|
+
/** ImportErrorConfig destination. */
|
21809
|
+
public destination?: "gcsPrefix";
|
21810
|
+
|
21811
|
+
/**
|
21812
|
+
* Creates a new ImportErrorConfig instance using the specified properties.
|
21813
|
+
* @param [properties] Properties to set
|
21814
|
+
* @returns ImportErrorConfig instance
|
21815
|
+
*/
|
21816
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportErrorConfig): google.cloud.discoveryengine.v1alpha.ImportErrorConfig;
|
21817
|
+
|
21818
|
+
/**
|
21819
|
+
* Encodes the specified ImportErrorConfig message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportErrorConfig.verify|verify} messages.
|
21820
|
+
* @param message ImportErrorConfig message or plain object to encode
|
21821
|
+
* @param [writer] Writer to encode to
|
21822
|
+
* @returns Writer
|
21823
|
+
*/
|
21824
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportErrorConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
21825
|
+
|
21826
|
+
/**
|
21827
|
+
* Encodes the specified ImportErrorConfig message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportErrorConfig.verify|verify} messages.
|
21828
|
+
* @param message ImportErrorConfig message or plain object to encode
|
21829
|
+
* @param [writer] Writer to encode to
|
21830
|
+
* @returns Writer
|
21831
|
+
*/
|
21832
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportErrorConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
21833
|
+
|
21834
|
+
/**
|
21835
|
+
* Decodes an ImportErrorConfig message from the specified reader or buffer.
|
21836
|
+
* @param reader Reader or buffer to decode from
|
21837
|
+
* @param [length] Message length if known beforehand
|
21838
|
+
* @returns ImportErrorConfig
|
21839
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21840
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21841
|
+
*/
|
21842
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportErrorConfig;
|
21843
|
+
|
21844
|
+
/**
|
21845
|
+
* Decodes an ImportErrorConfig message from the specified reader or buffer, length delimited.
|
21846
|
+
* @param reader Reader or buffer to decode from
|
21847
|
+
* @returns ImportErrorConfig
|
21848
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21849
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21850
|
+
*/
|
21851
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportErrorConfig;
|
21852
|
+
|
21853
|
+
/**
|
21854
|
+
* Verifies an ImportErrorConfig message.
|
21855
|
+
* @param message Plain object to verify
|
21856
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
21857
|
+
*/
|
21858
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
21859
|
+
|
21860
|
+
/**
|
21861
|
+
* Creates an ImportErrorConfig message from a plain object. Also converts values to their respective internal types.
|
21862
|
+
* @param object Plain object
|
21863
|
+
* @returns ImportErrorConfig
|
21864
|
+
*/
|
21865
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportErrorConfig;
|
21866
|
+
|
21867
|
+
/**
|
21868
|
+
* Creates a plain object from an ImportErrorConfig message. Also converts values to other types if specified.
|
21869
|
+
* @param message ImportErrorConfig
|
21870
|
+
* @param [options] Conversion options
|
21871
|
+
* @returns Plain object
|
21872
|
+
*/
|
21873
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportErrorConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21874
|
+
|
21875
|
+
/**
|
21876
|
+
* Converts this ImportErrorConfig to JSON.
|
21877
|
+
* @returns JSON object
|
21878
|
+
*/
|
21879
|
+
public toJSON(): { [k: string]: any };
|
21880
|
+
|
21881
|
+
/**
|
21882
|
+
* Gets the default type url for ImportErrorConfig
|
21883
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
21884
|
+
* @returns The default type url
|
21885
|
+
*/
|
21886
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21887
|
+
}
|
21888
|
+
|
21889
|
+
/** Properties of an ImportUserEventsRequest. */
|
21890
|
+
interface IImportUserEventsRequest {
|
21891
|
+
|
21892
|
+
/** ImportUserEventsRequest inlineSource */
|
21893
|
+
inlineSource?: (google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.IInlineSource|null);
|
21894
|
+
|
21895
|
+
/** ImportUserEventsRequest gcsSource */
|
21896
|
+
gcsSource?: (google.cloud.discoveryengine.v1alpha.IGcsSource|null);
|
21897
|
+
|
21898
|
+
/** ImportUserEventsRequest bigquerySource */
|
21899
|
+
bigquerySource?: (google.cloud.discoveryengine.v1alpha.IBigQuerySource|null);
|
21900
|
+
|
21901
|
+
/** ImportUserEventsRequest parent */
|
21902
|
+
parent?: (string|null);
|
21903
|
+
|
21904
|
+
/** ImportUserEventsRequest errorConfig */
|
21905
|
+
errorConfig?: (google.cloud.discoveryengine.v1alpha.IImportErrorConfig|null);
|
21906
|
+
}
|
21907
|
+
|
21908
|
+
/** Represents an ImportUserEventsRequest. */
|
21909
|
+
class ImportUserEventsRequest implements IImportUserEventsRequest {
|
21910
|
+
|
21911
|
+
/**
|
21912
|
+
* Constructs a new ImportUserEventsRequest.
|
21913
|
+
* @param [properties] Properties to set
|
21914
|
+
*/
|
21915
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportUserEventsRequest);
|
21916
|
+
|
21917
|
+
/** ImportUserEventsRequest inlineSource. */
|
21918
|
+
public inlineSource?: (google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.IInlineSource|null);
|
21919
|
+
|
21920
|
+
/** ImportUserEventsRequest gcsSource. */
|
21921
|
+
public gcsSource?: (google.cloud.discoveryengine.v1alpha.IGcsSource|null);
|
21922
|
+
|
21923
|
+
/** ImportUserEventsRequest bigquerySource. */
|
21924
|
+
public bigquerySource?: (google.cloud.discoveryengine.v1alpha.IBigQuerySource|null);
|
21925
|
+
|
21926
|
+
/** ImportUserEventsRequest parent. */
|
21927
|
+
public parent: string;
|
21928
|
+
|
21929
|
+
/** ImportUserEventsRequest errorConfig. */
|
21930
|
+
public errorConfig?: (google.cloud.discoveryengine.v1alpha.IImportErrorConfig|null);
|
21931
|
+
|
21932
|
+
/** ImportUserEventsRequest source. */
|
21933
|
+
public source?: ("inlineSource"|"gcsSource"|"bigquerySource");
|
21934
|
+
|
21935
|
+
/**
|
21936
|
+
* Creates a new ImportUserEventsRequest instance using the specified properties.
|
21937
|
+
* @param [properties] Properties to set
|
21938
|
+
* @returns ImportUserEventsRequest instance
|
21939
|
+
*/
|
21940
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportUserEventsRequest): google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest;
|
21941
|
+
|
21942
|
+
/**
|
21943
|
+
* Encodes the specified ImportUserEventsRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.verify|verify} messages.
|
21944
|
+
* @param message ImportUserEventsRequest message or plain object to encode
|
21945
|
+
* @param [writer] Writer to encode to
|
21946
|
+
* @returns Writer
|
21947
|
+
*/
|
21948
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportUserEventsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
21949
|
+
|
21950
|
+
/**
|
21951
|
+
* Encodes the specified ImportUserEventsRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.verify|verify} messages.
|
21952
|
+
* @param message ImportUserEventsRequest message or plain object to encode
|
21953
|
+
* @param [writer] Writer to encode to
|
21954
|
+
* @returns Writer
|
21955
|
+
*/
|
21956
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportUserEventsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
21957
|
+
|
21958
|
+
/**
|
21959
|
+
* Decodes an ImportUserEventsRequest message from the specified reader or buffer.
|
21960
|
+
* @param reader Reader or buffer to decode from
|
21961
|
+
* @param [length] Message length if known beforehand
|
21962
|
+
* @returns ImportUserEventsRequest
|
21963
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21964
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21965
|
+
*/
|
21966
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest;
|
21967
|
+
|
21968
|
+
/**
|
21969
|
+
* Decodes an ImportUserEventsRequest message from the specified reader or buffer, length delimited.
|
21970
|
+
* @param reader Reader or buffer to decode from
|
21971
|
+
* @returns ImportUserEventsRequest
|
21972
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
21973
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21974
|
+
*/
|
21975
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest;
|
21976
|
+
|
21977
|
+
/**
|
21978
|
+
* Verifies an ImportUserEventsRequest message.
|
21979
|
+
* @param message Plain object to verify
|
21980
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
21981
|
+
*/
|
21982
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
21983
|
+
|
21984
|
+
/**
|
21985
|
+
* Creates an ImportUserEventsRequest message from a plain object. Also converts values to their respective internal types.
|
21986
|
+
* @param object Plain object
|
21987
|
+
* @returns ImportUserEventsRequest
|
21988
|
+
*/
|
21989
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest;
|
21990
|
+
|
21991
|
+
/**
|
21992
|
+
* Creates a plain object from an ImportUserEventsRequest message. Also converts values to other types if specified.
|
21993
|
+
* @param message ImportUserEventsRequest
|
21994
|
+
* @param [options] Conversion options
|
21995
|
+
* @returns Plain object
|
21996
|
+
*/
|
21997
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21998
|
+
|
21999
|
+
/**
|
22000
|
+
* Converts this ImportUserEventsRequest to JSON.
|
22001
|
+
* @returns JSON object
|
22002
|
+
*/
|
22003
|
+
public toJSON(): { [k: string]: any };
|
22004
|
+
|
22005
|
+
/**
|
22006
|
+
* Gets the default type url for ImportUserEventsRequest
|
22007
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
22008
|
+
* @returns The default type url
|
22009
|
+
*/
|
22010
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
22011
|
+
}
|
22012
|
+
|
22013
|
+
namespace ImportUserEventsRequest {
|
22014
|
+
|
22015
|
+
/** Properties of an InlineSource. */
|
22016
|
+
interface IInlineSource {
|
22017
|
+
|
22018
|
+
/** InlineSource userEvents */
|
22019
|
+
userEvents?: (google.cloud.discoveryengine.v1alpha.IUserEvent[]|null);
|
22020
|
+
}
|
22021
|
+
|
22022
|
+
/** Represents an InlineSource. */
|
22023
|
+
class InlineSource implements IInlineSource {
|
22024
|
+
|
22025
|
+
/**
|
22026
|
+
* Constructs a new InlineSource.
|
22027
|
+
* @param [properties] Properties to set
|
22028
|
+
*/
|
22029
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.IInlineSource);
|
22030
|
+
|
22031
|
+
/** InlineSource userEvents. */
|
22032
|
+
public userEvents: google.cloud.discoveryengine.v1alpha.IUserEvent[];
|
20877
22033
|
|
20878
22034
|
/**
|
20879
22035
|
* Creates a new InlineSource instance using the specified properties.
|
@@ -21198,6 +22354,9 @@ export namespace google {
|
|
21198
22354
|
|
21199
22355
|
/** ImportDocumentsMetadata failureCount */
|
21200
22356
|
failureCount?: (number|Long|string|null);
|
22357
|
+
|
22358
|
+
/** ImportDocumentsMetadata totalCount */
|
22359
|
+
totalCount?: (number|Long|string|null);
|
21201
22360
|
}
|
21202
22361
|
|
21203
22362
|
/** Represents an ImportDocumentsMetadata. */
|
@@ -21221,6 +22380,9 @@ export namespace google {
|
|
21221
22380
|
/** ImportDocumentsMetadata failureCount. */
|
21222
22381
|
public failureCount: (number|Long|string);
|
21223
22382
|
|
22383
|
+
/** ImportDocumentsMetadata totalCount. */
|
22384
|
+
public totalCount: (number|Long|string);
|
22385
|
+
|
21224
22386
|
/**
|
21225
22387
|
* Creates a new ImportDocumentsMetadata instance using the specified properties.
|
21226
22388
|
* @param [properties] Properties to set
|
@@ -21311,6 +22473,21 @@ export namespace google {
|
|
21311
22473
|
/** ImportDocumentsRequest bigquerySource */
|
21312
22474
|
bigquerySource?: (google.cloud.discoveryengine.v1alpha.IBigQuerySource|null);
|
21313
22475
|
|
22476
|
+
/** ImportDocumentsRequest fhirStoreSource */
|
22477
|
+
fhirStoreSource?: (google.cloud.discoveryengine.v1alpha.IFhirStoreSource|null);
|
22478
|
+
|
22479
|
+
/** ImportDocumentsRequest spannerSource */
|
22480
|
+
spannerSource?: (google.cloud.discoveryengine.v1alpha.ISpannerSource|null);
|
22481
|
+
|
22482
|
+
/** ImportDocumentsRequest cloudSqlSource */
|
22483
|
+
cloudSqlSource?: (google.cloud.discoveryengine.v1alpha.ICloudSqlSource|null);
|
22484
|
+
|
22485
|
+
/** ImportDocumentsRequest firestoreSource */
|
22486
|
+
firestoreSource?: (google.cloud.discoveryengine.v1alpha.IFirestoreSource|null);
|
22487
|
+
|
22488
|
+
/** ImportDocumentsRequest bigtableSource */
|
22489
|
+
bigtableSource?: (google.cloud.discoveryengine.v1alpha.IBigtableSource|null);
|
22490
|
+
|
21314
22491
|
/** ImportDocumentsRequest parent */
|
21315
22492
|
parent?: (string|null);
|
21316
22493
|
|
@@ -21320,6 +22497,9 @@ export namespace google {
|
|
21320
22497
|
/** ImportDocumentsRequest reconciliationMode */
|
21321
22498
|
reconciliationMode?: (google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode|keyof typeof google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode|null);
|
21322
22499
|
|
22500
|
+
/** ImportDocumentsRequest updateMask */
|
22501
|
+
updateMask?: (google.protobuf.IFieldMask|null);
|
22502
|
+
|
21323
22503
|
/** ImportDocumentsRequest autoGenerateIds */
|
21324
22504
|
autoGenerateIds?: (boolean|null);
|
21325
22505
|
|
@@ -21345,6 +22525,21 @@ export namespace google {
|
|
21345
22525
|
/** ImportDocumentsRequest bigquerySource. */
|
21346
22526
|
public bigquerySource?: (google.cloud.discoveryengine.v1alpha.IBigQuerySource|null);
|
21347
22527
|
|
22528
|
+
/** ImportDocumentsRequest fhirStoreSource. */
|
22529
|
+
public fhirStoreSource?: (google.cloud.discoveryengine.v1alpha.IFhirStoreSource|null);
|
22530
|
+
|
22531
|
+
/** ImportDocumentsRequest spannerSource. */
|
22532
|
+
public spannerSource?: (google.cloud.discoveryengine.v1alpha.ISpannerSource|null);
|
22533
|
+
|
22534
|
+
/** ImportDocumentsRequest cloudSqlSource. */
|
22535
|
+
public cloudSqlSource?: (google.cloud.discoveryengine.v1alpha.ICloudSqlSource|null);
|
22536
|
+
|
22537
|
+
/** ImportDocumentsRequest firestoreSource. */
|
22538
|
+
public firestoreSource?: (google.cloud.discoveryengine.v1alpha.IFirestoreSource|null);
|
22539
|
+
|
22540
|
+
/** ImportDocumentsRequest bigtableSource. */
|
22541
|
+
public bigtableSource?: (google.cloud.discoveryengine.v1alpha.IBigtableSource|null);
|
22542
|
+
|
21348
22543
|
/** ImportDocumentsRequest parent. */
|
21349
22544
|
public parent: string;
|
21350
22545
|
|
@@ -21354,6 +22549,9 @@ export namespace google {
|
|
21354
22549
|
/** ImportDocumentsRequest reconciliationMode. */
|
21355
22550
|
public reconciliationMode: (google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode|keyof typeof google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode);
|
21356
22551
|
|
22552
|
+
/** ImportDocumentsRequest updateMask. */
|
22553
|
+
public updateMask?: (google.protobuf.IFieldMask|null);
|
22554
|
+
|
21357
22555
|
/** ImportDocumentsRequest autoGenerateIds. */
|
21358
22556
|
public autoGenerateIds: boolean;
|
21359
22557
|
|
@@ -21361,7 +22559,7 @@ export namespace google {
|
|
21361
22559
|
public idField: string;
|
21362
22560
|
|
21363
22561
|
/** ImportDocumentsRequest source. */
|
21364
|
-
public source?: ("inlineSource"|"gcsSource"|"bigquerySource");
|
22562
|
+
public source?: ("inlineSource"|"gcsSource"|"bigquerySource"|"fhirStoreSource"|"spannerSource"|"cloudSqlSource"|"firestoreSource"|"bigtableSource");
|
21365
22563
|
|
21366
22564
|
/**
|
21367
22565
|
* Creates a new ImportDocumentsRequest instance using the specified properties.
|
@@ -21848,227 +23046,439 @@ export namespace google {
|
|
21848
23046
|
*/
|
21849
23047
|
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesRequest.InlineSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21850
23048
|
|
21851
|
-
/**
|
21852
|
-
* Converts this InlineSource to JSON.
|
21853
|
-
* @returns JSON object
|
21854
|
-
*/
|
21855
|
-
public toJSON(): { [k: string]: any };
|
23049
|
+
/**
|
23050
|
+
* Converts this InlineSource to JSON.
|
23051
|
+
* @returns JSON object
|
23052
|
+
*/
|
23053
|
+
public toJSON(): { [k: string]: any };
|
23054
|
+
|
23055
|
+
/**
|
23056
|
+
* Gets the default type url for InlineSource
|
23057
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
23058
|
+
* @returns The default type url
|
23059
|
+
*/
|
23060
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
23061
|
+
}
|
23062
|
+
}
|
23063
|
+
|
23064
|
+
/** Properties of an ImportSuggestionDenyListEntriesResponse. */
|
23065
|
+
interface IImportSuggestionDenyListEntriesResponse {
|
23066
|
+
|
23067
|
+
/** ImportSuggestionDenyListEntriesResponse errorSamples */
|
23068
|
+
errorSamples?: (google.rpc.IStatus[]|null);
|
23069
|
+
|
23070
|
+
/** ImportSuggestionDenyListEntriesResponse importedEntriesCount */
|
23071
|
+
importedEntriesCount?: (number|Long|string|null);
|
23072
|
+
|
23073
|
+
/** ImportSuggestionDenyListEntriesResponse failedEntriesCount */
|
23074
|
+
failedEntriesCount?: (number|Long|string|null);
|
23075
|
+
}
|
23076
|
+
|
23077
|
+
/** Represents an ImportSuggestionDenyListEntriesResponse. */
|
23078
|
+
class ImportSuggestionDenyListEntriesResponse implements IImportSuggestionDenyListEntriesResponse {
|
23079
|
+
|
23080
|
+
/**
|
23081
|
+
* Constructs a new ImportSuggestionDenyListEntriesResponse.
|
23082
|
+
* @param [properties] Properties to set
|
23083
|
+
*/
|
23084
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesResponse);
|
23085
|
+
|
23086
|
+
/** ImportSuggestionDenyListEntriesResponse errorSamples. */
|
23087
|
+
public errorSamples: google.rpc.IStatus[];
|
23088
|
+
|
23089
|
+
/** ImportSuggestionDenyListEntriesResponse importedEntriesCount. */
|
23090
|
+
public importedEntriesCount: (number|Long|string);
|
23091
|
+
|
23092
|
+
/** ImportSuggestionDenyListEntriesResponse failedEntriesCount. */
|
23093
|
+
public failedEntriesCount: (number|Long|string);
|
23094
|
+
|
23095
|
+
/**
|
23096
|
+
* Creates a new ImportSuggestionDenyListEntriesResponse instance using the specified properties.
|
23097
|
+
* @param [properties] Properties to set
|
23098
|
+
* @returns ImportSuggestionDenyListEntriesResponse instance
|
23099
|
+
*/
|
23100
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesResponse): google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesResponse;
|
23101
|
+
|
23102
|
+
/**
|
23103
|
+
* Encodes the specified ImportSuggestionDenyListEntriesResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesResponse.verify|verify} messages.
|
23104
|
+
* @param message ImportSuggestionDenyListEntriesResponse message or plain object to encode
|
23105
|
+
* @param [writer] Writer to encode to
|
23106
|
+
* @returns Writer
|
23107
|
+
*/
|
23108
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
23109
|
+
|
23110
|
+
/**
|
23111
|
+
* Encodes the specified ImportSuggestionDenyListEntriesResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesResponse.verify|verify} messages.
|
23112
|
+
* @param message ImportSuggestionDenyListEntriesResponse message or plain object to encode
|
23113
|
+
* @param [writer] Writer to encode to
|
23114
|
+
* @returns Writer
|
23115
|
+
*/
|
23116
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
23117
|
+
|
23118
|
+
/**
|
23119
|
+
* Decodes an ImportSuggestionDenyListEntriesResponse message from the specified reader or buffer.
|
23120
|
+
* @param reader Reader or buffer to decode from
|
23121
|
+
* @param [length] Message length if known beforehand
|
23122
|
+
* @returns ImportSuggestionDenyListEntriesResponse
|
23123
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
23124
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
23125
|
+
*/
|
23126
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesResponse;
|
23127
|
+
|
23128
|
+
/**
|
23129
|
+
* Decodes an ImportSuggestionDenyListEntriesResponse message from the specified reader or buffer, length delimited.
|
23130
|
+
* @param reader Reader or buffer to decode from
|
23131
|
+
* @returns ImportSuggestionDenyListEntriesResponse
|
23132
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
23133
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
23134
|
+
*/
|
23135
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesResponse;
|
23136
|
+
|
23137
|
+
/**
|
23138
|
+
* Verifies an ImportSuggestionDenyListEntriesResponse message.
|
23139
|
+
* @param message Plain object to verify
|
23140
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
23141
|
+
*/
|
23142
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
23143
|
+
|
23144
|
+
/**
|
23145
|
+
* Creates an ImportSuggestionDenyListEntriesResponse message from a plain object. Also converts values to their respective internal types.
|
23146
|
+
* @param object Plain object
|
23147
|
+
* @returns ImportSuggestionDenyListEntriesResponse
|
23148
|
+
*/
|
23149
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesResponse;
|
23150
|
+
|
23151
|
+
/**
|
23152
|
+
* Creates a plain object from an ImportSuggestionDenyListEntriesResponse message. Also converts values to other types if specified.
|
23153
|
+
* @param message ImportSuggestionDenyListEntriesResponse
|
23154
|
+
* @param [options] Conversion options
|
23155
|
+
* @returns Plain object
|
23156
|
+
*/
|
23157
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
23158
|
+
|
23159
|
+
/**
|
23160
|
+
* Converts this ImportSuggestionDenyListEntriesResponse to JSON.
|
23161
|
+
* @returns JSON object
|
23162
|
+
*/
|
23163
|
+
public toJSON(): { [k: string]: any };
|
23164
|
+
|
23165
|
+
/**
|
23166
|
+
* Gets the default type url for ImportSuggestionDenyListEntriesResponse
|
23167
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
23168
|
+
* @returns The default type url
|
23169
|
+
*/
|
23170
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
23171
|
+
}
|
23172
|
+
|
23173
|
+
/** Properties of an ImportSuggestionDenyListEntriesMetadata. */
|
23174
|
+
interface IImportSuggestionDenyListEntriesMetadata {
|
23175
|
+
|
23176
|
+
/** ImportSuggestionDenyListEntriesMetadata createTime */
|
23177
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
23178
|
+
|
23179
|
+
/** ImportSuggestionDenyListEntriesMetadata updateTime */
|
23180
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
23181
|
+
}
|
23182
|
+
|
23183
|
+
/** Represents an ImportSuggestionDenyListEntriesMetadata. */
|
23184
|
+
class ImportSuggestionDenyListEntriesMetadata implements IImportSuggestionDenyListEntriesMetadata {
|
23185
|
+
|
23186
|
+
/**
|
23187
|
+
* Constructs a new ImportSuggestionDenyListEntriesMetadata.
|
23188
|
+
* @param [properties] Properties to set
|
23189
|
+
*/
|
23190
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesMetadata);
|
23191
|
+
|
23192
|
+
/** ImportSuggestionDenyListEntriesMetadata createTime. */
|
23193
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
23194
|
+
|
23195
|
+
/** ImportSuggestionDenyListEntriesMetadata updateTime. */
|
23196
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
23197
|
+
|
23198
|
+
/**
|
23199
|
+
* Creates a new ImportSuggestionDenyListEntriesMetadata instance using the specified properties.
|
23200
|
+
* @param [properties] Properties to set
|
23201
|
+
* @returns ImportSuggestionDenyListEntriesMetadata instance
|
23202
|
+
*/
|
23203
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesMetadata): google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesMetadata;
|
23204
|
+
|
23205
|
+
/**
|
23206
|
+
* Encodes the specified ImportSuggestionDenyListEntriesMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesMetadata.verify|verify} messages.
|
23207
|
+
* @param message ImportSuggestionDenyListEntriesMetadata message or plain object to encode
|
23208
|
+
* @param [writer] Writer to encode to
|
23209
|
+
* @returns Writer
|
23210
|
+
*/
|
23211
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
23212
|
+
|
23213
|
+
/**
|
23214
|
+
* Encodes the specified ImportSuggestionDenyListEntriesMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesMetadata.verify|verify} messages.
|
23215
|
+
* @param message ImportSuggestionDenyListEntriesMetadata message or plain object to encode
|
23216
|
+
* @param [writer] Writer to encode to
|
23217
|
+
* @returns Writer
|
23218
|
+
*/
|
23219
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
23220
|
+
|
23221
|
+
/**
|
23222
|
+
* Decodes an ImportSuggestionDenyListEntriesMetadata message from the specified reader or buffer.
|
23223
|
+
* @param reader Reader or buffer to decode from
|
23224
|
+
* @param [length] Message length if known beforehand
|
23225
|
+
* @returns ImportSuggestionDenyListEntriesMetadata
|
23226
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
23227
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
23228
|
+
*/
|
23229
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesMetadata;
|
23230
|
+
|
23231
|
+
/**
|
23232
|
+
* Decodes an ImportSuggestionDenyListEntriesMetadata message from the specified reader or buffer, length delimited.
|
23233
|
+
* @param reader Reader or buffer to decode from
|
23234
|
+
* @returns ImportSuggestionDenyListEntriesMetadata
|
23235
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
23236
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
23237
|
+
*/
|
23238
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesMetadata;
|
23239
|
+
|
23240
|
+
/**
|
23241
|
+
* Verifies an ImportSuggestionDenyListEntriesMetadata message.
|
23242
|
+
* @param message Plain object to verify
|
23243
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
23244
|
+
*/
|
23245
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
23246
|
+
|
23247
|
+
/**
|
23248
|
+
* Creates an ImportSuggestionDenyListEntriesMetadata message from a plain object. Also converts values to their respective internal types.
|
23249
|
+
* @param object Plain object
|
23250
|
+
* @returns ImportSuggestionDenyListEntriesMetadata
|
23251
|
+
*/
|
23252
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesMetadata;
|
23253
|
+
|
23254
|
+
/**
|
23255
|
+
* Creates a plain object from an ImportSuggestionDenyListEntriesMetadata message. Also converts values to other types if specified.
|
23256
|
+
* @param message ImportSuggestionDenyListEntriesMetadata
|
23257
|
+
* @param [options] Conversion options
|
23258
|
+
* @returns Plain object
|
23259
|
+
*/
|
23260
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
23261
|
+
|
23262
|
+
/**
|
23263
|
+
* Converts this ImportSuggestionDenyListEntriesMetadata to JSON.
|
23264
|
+
* @returns JSON object
|
23265
|
+
*/
|
23266
|
+
public toJSON(): { [k: string]: any };
|
21856
23267
|
|
21857
|
-
|
21858
|
-
|
21859
|
-
|
21860
|
-
|
21861
|
-
|
21862
|
-
|
21863
|
-
}
|
23268
|
+
/**
|
23269
|
+
* Gets the default type url for ImportSuggestionDenyListEntriesMetadata
|
23270
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
23271
|
+
* @returns The default type url
|
23272
|
+
*/
|
23273
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21864
23274
|
}
|
21865
23275
|
|
21866
|
-
/** Properties of an
|
21867
|
-
interface
|
23276
|
+
/** Properties of an ImportCompletionSuggestionsResponse. */
|
23277
|
+
interface IImportCompletionSuggestionsResponse {
|
21868
23278
|
|
21869
|
-
/**
|
23279
|
+
/** ImportCompletionSuggestionsResponse errorSamples */
|
21870
23280
|
errorSamples?: (google.rpc.IStatus[]|null);
|
21871
23281
|
|
21872
|
-
/**
|
21873
|
-
|
23282
|
+
/** ImportCompletionSuggestionsResponse successCount */
|
23283
|
+
successCount?: (number|Long|string|null);
|
21874
23284
|
|
21875
|
-
/**
|
21876
|
-
|
23285
|
+
/** ImportCompletionSuggestionsResponse failureCount */
|
23286
|
+
failureCount?: (number|Long|string|null);
|
21877
23287
|
}
|
21878
23288
|
|
21879
|
-
/** Represents an
|
21880
|
-
class
|
23289
|
+
/** Represents an ImportCompletionSuggestionsResponse. */
|
23290
|
+
class ImportCompletionSuggestionsResponse implements IImportCompletionSuggestionsResponse {
|
21881
23291
|
|
21882
23292
|
/**
|
21883
|
-
* Constructs a new
|
23293
|
+
* Constructs a new ImportCompletionSuggestionsResponse.
|
21884
23294
|
* @param [properties] Properties to set
|
21885
23295
|
*/
|
21886
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.
|
23296
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsResponse);
|
21887
23297
|
|
21888
|
-
/**
|
23298
|
+
/** ImportCompletionSuggestionsResponse errorSamples. */
|
21889
23299
|
public errorSamples: google.rpc.IStatus[];
|
21890
23300
|
|
21891
|
-
/**
|
21892
|
-
public
|
23301
|
+
/** ImportCompletionSuggestionsResponse successCount. */
|
23302
|
+
public successCount: (number|Long|string);
|
21893
23303
|
|
21894
|
-
/**
|
21895
|
-
public
|
23304
|
+
/** ImportCompletionSuggestionsResponse failureCount. */
|
23305
|
+
public failureCount: (number|Long|string);
|
21896
23306
|
|
21897
23307
|
/**
|
21898
|
-
* Creates a new
|
23308
|
+
* Creates a new ImportCompletionSuggestionsResponse instance using the specified properties.
|
21899
23309
|
* @param [properties] Properties to set
|
21900
|
-
* @returns
|
23310
|
+
* @returns ImportCompletionSuggestionsResponse instance
|
21901
23311
|
*/
|
21902
|
-
public static create(properties?: google.cloud.discoveryengine.v1alpha.
|
23312
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsResponse): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse;
|
21903
23313
|
|
21904
23314
|
/**
|
21905
|
-
* Encodes the specified
|
21906
|
-
* @param message
|
23315
|
+
* Encodes the specified ImportCompletionSuggestionsResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse.verify|verify} messages.
|
23316
|
+
* @param message ImportCompletionSuggestionsResponse message or plain object to encode
|
21907
23317
|
* @param [writer] Writer to encode to
|
21908
23318
|
* @returns Writer
|
21909
23319
|
*/
|
21910
|
-
public static encode(message: google.cloud.discoveryengine.v1alpha.
|
23320
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
21911
23321
|
|
21912
23322
|
/**
|
21913
|
-
* Encodes the specified
|
21914
|
-
* @param message
|
23323
|
+
* Encodes the specified ImportCompletionSuggestionsResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse.verify|verify} messages.
|
23324
|
+
* @param message ImportCompletionSuggestionsResponse message or plain object to encode
|
21915
23325
|
* @param [writer] Writer to encode to
|
21916
23326
|
* @returns Writer
|
21917
23327
|
*/
|
21918
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.
|
23328
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
21919
23329
|
|
21920
23330
|
/**
|
21921
|
-
* Decodes an
|
23331
|
+
* Decodes an ImportCompletionSuggestionsResponse message from the specified reader or buffer.
|
21922
23332
|
* @param reader Reader or buffer to decode from
|
21923
23333
|
* @param [length] Message length if known beforehand
|
21924
|
-
* @returns
|
23334
|
+
* @returns ImportCompletionSuggestionsResponse
|
21925
23335
|
* @throws {Error} If the payload is not a reader or valid buffer
|
21926
23336
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21927
23337
|
*/
|
21928
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.
|
23338
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse;
|
21929
23339
|
|
21930
23340
|
/**
|
21931
|
-
* Decodes an
|
23341
|
+
* Decodes an ImportCompletionSuggestionsResponse message from the specified reader or buffer, length delimited.
|
21932
23342
|
* @param reader Reader or buffer to decode from
|
21933
|
-
* @returns
|
23343
|
+
* @returns ImportCompletionSuggestionsResponse
|
21934
23344
|
* @throws {Error} If the payload is not a reader or valid buffer
|
21935
23345
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
21936
23346
|
*/
|
21937
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.
|
23347
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse;
|
21938
23348
|
|
21939
23349
|
/**
|
21940
|
-
* Verifies an
|
23350
|
+
* Verifies an ImportCompletionSuggestionsResponse message.
|
21941
23351
|
* @param message Plain object to verify
|
21942
23352
|
* @returns `null` if valid, otherwise the reason why it is not
|
21943
23353
|
*/
|
21944
23354
|
public static verify(message: { [k: string]: any }): (string|null);
|
21945
23355
|
|
21946
23356
|
/**
|
21947
|
-
* Creates an
|
23357
|
+
* Creates an ImportCompletionSuggestionsResponse message from a plain object. Also converts values to their respective internal types.
|
21948
23358
|
* @param object Plain object
|
21949
|
-
* @returns
|
23359
|
+
* @returns ImportCompletionSuggestionsResponse
|
21950
23360
|
*/
|
21951
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.
|
23361
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse;
|
21952
23362
|
|
21953
23363
|
/**
|
21954
|
-
* Creates a plain object from an
|
21955
|
-
* @param message
|
23364
|
+
* Creates a plain object from an ImportCompletionSuggestionsResponse message. Also converts values to other types if specified.
|
23365
|
+
* @param message ImportCompletionSuggestionsResponse
|
21956
23366
|
* @param [options] Conversion options
|
21957
23367
|
* @returns Plain object
|
21958
23368
|
*/
|
21959
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.
|
23369
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
21960
23370
|
|
21961
23371
|
/**
|
21962
|
-
* Converts this
|
23372
|
+
* Converts this ImportCompletionSuggestionsResponse to JSON.
|
21963
23373
|
* @returns JSON object
|
21964
23374
|
*/
|
21965
23375
|
public toJSON(): { [k: string]: any };
|
21966
23376
|
|
21967
23377
|
/**
|
21968
|
-
* Gets the default type url for
|
23378
|
+
* Gets the default type url for ImportCompletionSuggestionsResponse
|
21969
23379
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
21970
23380
|
* @returns The default type url
|
21971
23381
|
*/
|
21972
23382
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
21973
23383
|
}
|
21974
23384
|
|
21975
|
-
/** Properties of an
|
21976
|
-
interface
|
23385
|
+
/** Properties of an ImportCompletionSuggestionsMetadata. */
|
23386
|
+
interface IImportCompletionSuggestionsMetadata {
|
21977
23387
|
|
21978
|
-
/**
|
23388
|
+
/** ImportCompletionSuggestionsMetadata createTime */
|
21979
23389
|
createTime?: (google.protobuf.ITimestamp|null);
|
21980
23390
|
|
21981
|
-
/**
|
23391
|
+
/** ImportCompletionSuggestionsMetadata updateTime */
|
21982
23392
|
updateTime?: (google.protobuf.ITimestamp|null);
|
21983
23393
|
}
|
21984
23394
|
|
21985
|
-
/** Represents an
|
21986
|
-
class
|
23395
|
+
/** Represents an ImportCompletionSuggestionsMetadata. */
|
23396
|
+
class ImportCompletionSuggestionsMetadata implements IImportCompletionSuggestionsMetadata {
|
21987
23397
|
|
21988
23398
|
/**
|
21989
|
-
* Constructs a new
|
23399
|
+
* Constructs a new ImportCompletionSuggestionsMetadata.
|
21990
23400
|
* @param [properties] Properties to set
|
21991
23401
|
*/
|
21992
|
-
constructor(properties?: google.cloud.discoveryengine.v1alpha.
|
23402
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsMetadata);
|
21993
23403
|
|
21994
|
-
/**
|
23404
|
+
/** ImportCompletionSuggestionsMetadata createTime. */
|
21995
23405
|
public createTime?: (google.protobuf.ITimestamp|null);
|
21996
23406
|
|
21997
|
-
/**
|
23407
|
+
/** ImportCompletionSuggestionsMetadata updateTime. */
|
21998
23408
|
public updateTime?: (google.protobuf.ITimestamp|null);
|
21999
23409
|
|
22000
23410
|
/**
|
22001
|
-
* Creates a new
|
23411
|
+
* Creates a new ImportCompletionSuggestionsMetadata instance using the specified properties.
|
22002
23412
|
* @param [properties] Properties to set
|
22003
|
-
* @returns
|
23413
|
+
* @returns ImportCompletionSuggestionsMetadata instance
|
22004
23414
|
*/
|
22005
|
-
public static create(properties?: google.cloud.discoveryengine.v1alpha.
|
23415
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsMetadata): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata;
|
22006
23416
|
|
22007
23417
|
/**
|
22008
|
-
* Encodes the specified
|
22009
|
-
* @param message
|
23418
|
+
* Encodes the specified ImportCompletionSuggestionsMetadata message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata.verify|verify} messages.
|
23419
|
+
* @param message ImportCompletionSuggestionsMetadata message or plain object to encode
|
22010
23420
|
* @param [writer] Writer to encode to
|
22011
23421
|
* @returns Writer
|
22012
23422
|
*/
|
22013
|
-
public static encode(message: google.cloud.discoveryengine.v1alpha.
|
23423
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
22014
23424
|
|
22015
23425
|
/**
|
22016
|
-
* Encodes the specified
|
22017
|
-
* @param message
|
23426
|
+
* Encodes the specified ImportCompletionSuggestionsMetadata message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata.verify|verify} messages.
|
23427
|
+
* @param message ImportCompletionSuggestionsMetadata message or plain object to encode
|
22018
23428
|
* @param [writer] Writer to encode to
|
22019
23429
|
* @returns Writer
|
22020
23430
|
*/
|
22021
|
-
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.
|
23431
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IImportCompletionSuggestionsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
22022
23432
|
|
22023
23433
|
/**
|
22024
|
-
* Decodes an
|
23434
|
+
* Decodes an ImportCompletionSuggestionsMetadata message from the specified reader or buffer.
|
22025
23435
|
* @param reader Reader or buffer to decode from
|
22026
23436
|
* @param [length] Message length if known beforehand
|
22027
|
-
* @returns
|
23437
|
+
* @returns ImportCompletionSuggestionsMetadata
|
22028
23438
|
* @throws {Error} If the payload is not a reader or valid buffer
|
22029
23439
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22030
23440
|
*/
|
22031
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.
|
23441
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata;
|
22032
23442
|
|
22033
23443
|
/**
|
22034
|
-
* Decodes an
|
23444
|
+
* Decodes an ImportCompletionSuggestionsMetadata message from the specified reader or buffer, length delimited.
|
22035
23445
|
* @param reader Reader or buffer to decode from
|
22036
|
-
* @returns
|
23446
|
+
* @returns ImportCompletionSuggestionsMetadata
|
22037
23447
|
* @throws {Error} If the payload is not a reader or valid buffer
|
22038
23448
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22039
23449
|
*/
|
22040
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.
|
23450
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata;
|
22041
23451
|
|
22042
23452
|
/**
|
22043
|
-
* Verifies an
|
23453
|
+
* Verifies an ImportCompletionSuggestionsMetadata message.
|
22044
23454
|
* @param message Plain object to verify
|
22045
23455
|
* @returns `null` if valid, otherwise the reason why it is not
|
22046
23456
|
*/
|
22047
23457
|
public static verify(message: { [k: string]: any }): (string|null);
|
22048
23458
|
|
22049
23459
|
/**
|
22050
|
-
* Creates an
|
23460
|
+
* Creates an ImportCompletionSuggestionsMetadata message from a plain object. Also converts values to their respective internal types.
|
22051
23461
|
* @param object Plain object
|
22052
|
-
* @returns
|
23462
|
+
* @returns ImportCompletionSuggestionsMetadata
|
22053
23463
|
*/
|
22054
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.
|
23464
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata;
|
22055
23465
|
|
22056
23466
|
/**
|
22057
|
-
* Creates a plain object from an
|
22058
|
-
* @param message
|
23467
|
+
* Creates a plain object from an ImportCompletionSuggestionsMetadata message. Also converts values to other types if specified.
|
23468
|
+
* @param message ImportCompletionSuggestionsMetadata
|
22059
23469
|
* @param [options] Conversion options
|
22060
23470
|
* @returns Plain object
|
22061
23471
|
*/
|
22062
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.
|
23472
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
22063
23473
|
|
22064
23474
|
/**
|
22065
|
-
* Converts this
|
23475
|
+
* Converts this ImportCompletionSuggestionsMetadata to JSON.
|
22066
23476
|
* @returns JSON object
|
22067
23477
|
*/
|
22068
23478
|
public toJSON(): { [k: string]: any };
|
22069
23479
|
|
22070
23480
|
/**
|
22071
|
-
* Gets the default type url for
|
23481
|
+
* Gets the default type url for ImportCompletionSuggestionsMetadata
|
22072
23482
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
22073
23483
|
* @returns The default type url
|
22074
23484
|
*/
|
@@ -22541,6 +23951,112 @@ export namespace google {
|
|
22541
23951
|
}
|
22542
23952
|
}
|
22543
23953
|
|
23954
|
+
/** Properties of a ProcessedDocument. */
|
23955
|
+
interface IProcessedDocument {
|
23956
|
+
|
23957
|
+
/** ProcessedDocument jsonData */
|
23958
|
+
jsonData?: (string|null);
|
23959
|
+
|
23960
|
+
/** ProcessedDocument document */
|
23961
|
+
document?: (string|null);
|
23962
|
+
}
|
23963
|
+
|
23964
|
+
/** Represents a ProcessedDocument. */
|
23965
|
+
class ProcessedDocument implements IProcessedDocument {
|
23966
|
+
|
23967
|
+
/**
|
23968
|
+
* Constructs a new ProcessedDocument.
|
23969
|
+
* @param [properties] Properties to set
|
23970
|
+
*/
|
23971
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IProcessedDocument);
|
23972
|
+
|
23973
|
+
/** ProcessedDocument jsonData. */
|
23974
|
+
public jsonData?: (string|null);
|
23975
|
+
|
23976
|
+
/** ProcessedDocument document. */
|
23977
|
+
public document: string;
|
23978
|
+
|
23979
|
+
/** ProcessedDocument processedDataFormat. */
|
23980
|
+
public processedDataFormat?: "jsonData";
|
23981
|
+
|
23982
|
+
/**
|
23983
|
+
* Creates a new ProcessedDocument instance using the specified properties.
|
23984
|
+
* @param [properties] Properties to set
|
23985
|
+
* @returns ProcessedDocument instance
|
23986
|
+
*/
|
23987
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IProcessedDocument): google.cloud.discoveryengine.v1alpha.ProcessedDocument;
|
23988
|
+
|
23989
|
+
/**
|
23990
|
+
* Encodes the specified ProcessedDocument message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ProcessedDocument.verify|verify} messages.
|
23991
|
+
* @param message ProcessedDocument message or plain object to encode
|
23992
|
+
* @param [writer] Writer to encode to
|
23993
|
+
* @returns Writer
|
23994
|
+
*/
|
23995
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IProcessedDocument, writer?: $protobuf.Writer): $protobuf.Writer;
|
23996
|
+
|
23997
|
+
/**
|
23998
|
+
* Encodes the specified ProcessedDocument message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.ProcessedDocument.verify|verify} messages.
|
23999
|
+
* @param message ProcessedDocument message or plain object to encode
|
24000
|
+
* @param [writer] Writer to encode to
|
24001
|
+
* @returns Writer
|
24002
|
+
*/
|
24003
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IProcessedDocument, writer?: $protobuf.Writer): $protobuf.Writer;
|
24004
|
+
|
24005
|
+
/**
|
24006
|
+
* Decodes a ProcessedDocument message from the specified reader or buffer.
|
24007
|
+
* @param reader Reader or buffer to decode from
|
24008
|
+
* @param [length] Message length if known beforehand
|
24009
|
+
* @returns ProcessedDocument
|
24010
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
24011
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
24012
|
+
*/
|
24013
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.ProcessedDocument;
|
24014
|
+
|
24015
|
+
/**
|
24016
|
+
* Decodes a ProcessedDocument message from the specified reader or buffer, length delimited.
|
24017
|
+
* @param reader Reader or buffer to decode from
|
24018
|
+
* @returns ProcessedDocument
|
24019
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
24020
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
24021
|
+
*/
|
24022
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.ProcessedDocument;
|
24023
|
+
|
24024
|
+
/**
|
24025
|
+
* Verifies a ProcessedDocument message.
|
24026
|
+
* @param message Plain object to verify
|
24027
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
24028
|
+
*/
|
24029
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
24030
|
+
|
24031
|
+
/**
|
24032
|
+
* Creates a ProcessedDocument message from a plain object. Also converts values to their respective internal types.
|
24033
|
+
* @param object Plain object
|
24034
|
+
* @returns ProcessedDocument
|
24035
|
+
*/
|
24036
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.ProcessedDocument;
|
24037
|
+
|
24038
|
+
/**
|
24039
|
+
* Creates a plain object from a ProcessedDocument message. Also converts values to other types if specified.
|
24040
|
+
* @param message ProcessedDocument
|
24041
|
+
* @param [options] Conversion options
|
24042
|
+
* @returns Plain object
|
24043
|
+
*/
|
24044
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.ProcessedDocument, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
24045
|
+
|
24046
|
+
/**
|
24047
|
+
* Converts this ProcessedDocument to JSON.
|
24048
|
+
* @returns JSON object
|
24049
|
+
*/
|
24050
|
+
public toJSON(): { [k: string]: any };
|
24051
|
+
|
24052
|
+
/**
|
24053
|
+
* Gets the default type url for ProcessedDocument
|
24054
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
24055
|
+
* @returns The default type url
|
24056
|
+
*/
|
24057
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
24058
|
+
}
|
24059
|
+
|
22544
24060
|
/** Properties of a UserEvent. */
|
22545
24061
|
interface IUserEvent {
|
22546
24062
|
|
@@ -26154,6 +27670,9 @@ export namespace google {
|
|
26154
27670
|
|
26155
27671
|
/** ConditionBoostSpec boost */
|
26156
27672
|
boost?: (number|null);
|
27673
|
+
|
27674
|
+
/** ConditionBoostSpec boostControlSpec */
|
27675
|
+
boostControlSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.IBoostControlSpec|null);
|
26157
27676
|
}
|
26158
27677
|
|
26159
27678
|
/** Represents a ConditionBoostSpec. */
|
@@ -26171,6 +27690,9 @@ export namespace google {
|
|
26171
27690
|
/** ConditionBoostSpec boost. */
|
26172
27691
|
public boost: number;
|
26173
27692
|
|
27693
|
+
/** ConditionBoostSpec boostControlSpec. */
|
27694
|
+
public boostControlSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.IBoostControlSpec|null);
|
27695
|
+
|
26174
27696
|
/**
|
26175
27697
|
* Creates a new ConditionBoostSpec instance using the specified properties.
|
26176
27698
|
* @param [properties] Properties to set
|
@@ -26227,26 +27749,263 @@ export namespace google {
|
|
26227
27749
|
*/
|
26228
27750
|
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec;
|
26229
27751
|
|
26230
|
-
/**
|
26231
|
-
* Creates a plain object from a ConditionBoostSpec message. Also converts values to other types if specified.
|
26232
|
-
* @param message ConditionBoostSpec
|
26233
|
-
* @param [options] Conversion options
|
26234
|
-
* @returns Plain object
|
26235
|
-
*/
|
26236
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
27752
|
+
/**
|
27753
|
+
* Creates a plain object from a ConditionBoostSpec message. Also converts values to other types if specified.
|
27754
|
+
* @param message ConditionBoostSpec
|
27755
|
+
* @param [options] Conversion options
|
27756
|
+
* @returns Plain object
|
27757
|
+
*/
|
27758
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
27759
|
+
|
27760
|
+
/**
|
27761
|
+
* Converts this ConditionBoostSpec to JSON.
|
27762
|
+
* @returns JSON object
|
27763
|
+
*/
|
27764
|
+
public toJSON(): { [k: string]: any };
|
27765
|
+
|
27766
|
+
/**
|
27767
|
+
* Gets the default type url for ConditionBoostSpec
|
27768
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
27769
|
+
* @returns The default type url
|
27770
|
+
*/
|
27771
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
27772
|
+
}
|
27773
|
+
|
27774
|
+
namespace ConditionBoostSpec {
|
27775
|
+
|
27776
|
+
/** Properties of a BoostControlSpec. */
|
27777
|
+
interface IBoostControlSpec {
|
27778
|
+
|
27779
|
+
/** BoostControlSpec fieldName */
|
27780
|
+
fieldName?: (string|null);
|
27781
|
+
|
27782
|
+
/** BoostControlSpec attributeType */
|
27783
|
+
attributeType?: (google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType|null);
|
27784
|
+
|
27785
|
+
/** BoostControlSpec interpolationType */
|
27786
|
+
interpolationType?: (google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType|null);
|
27787
|
+
|
27788
|
+
/** BoostControlSpec controlPoints */
|
27789
|
+
controlPoints?: (google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.IControlPoint[]|null);
|
27790
|
+
}
|
27791
|
+
|
27792
|
+
/** Represents a BoostControlSpec. */
|
27793
|
+
class BoostControlSpec implements IBoostControlSpec {
|
27794
|
+
|
27795
|
+
/**
|
27796
|
+
* Constructs a new BoostControlSpec.
|
27797
|
+
* @param [properties] Properties to set
|
27798
|
+
*/
|
27799
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.IBoostControlSpec);
|
27800
|
+
|
27801
|
+
/** BoostControlSpec fieldName. */
|
27802
|
+
public fieldName: string;
|
27803
|
+
|
27804
|
+
/** BoostControlSpec attributeType. */
|
27805
|
+
public attributeType: (google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType);
|
27806
|
+
|
27807
|
+
/** BoostControlSpec interpolationType. */
|
27808
|
+
public interpolationType: (google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType);
|
27809
|
+
|
27810
|
+
/** BoostControlSpec controlPoints. */
|
27811
|
+
public controlPoints: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.IControlPoint[];
|
27812
|
+
|
27813
|
+
/**
|
27814
|
+
* Creates a new BoostControlSpec instance using the specified properties.
|
27815
|
+
* @param [properties] Properties to set
|
27816
|
+
* @returns BoostControlSpec instance
|
27817
|
+
*/
|
27818
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.IBoostControlSpec): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec;
|
27819
|
+
|
27820
|
+
/**
|
27821
|
+
* Encodes the specified BoostControlSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.verify|verify} messages.
|
27822
|
+
* @param message BoostControlSpec message or plain object to encode
|
27823
|
+
* @param [writer] Writer to encode to
|
27824
|
+
* @returns Writer
|
27825
|
+
*/
|
27826
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.IBoostControlSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
27827
|
+
|
27828
|
+
/**
|
27829
|
+
* Encodes the specified BoostControlSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.verify|verify} messages.
|
27830
|
+
* @param message BoostControlSpec message or plain object to encode
|
27831
|
+
* @param [writer] Writer to encode to
|
27832
|
+
* @returns Writer
|
27833
|
+
*/
|
27834
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.IBoostControlSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
27835
|
+
|
27836
|
+
/**
|
27837
|
+
* Decodes a BoostControlSpec message from the specified reader or buffer.
|
27838
|
+
* @param reader Reader or buffer to decode from
|
27839
|
+
* @param [length] Message length if known beforehand
|
27840
|
+
* @returns BoostControlSpec
|
27841
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
27842
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
27843
|
+
*/
|
27844
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec;
|
27845
|
+
|
27846
|
+
/**
|
27847
|
+
* Decodes a BoostControlSpec message from the specified reader or buffer, length delimited.
|
27848
|
+
* @param reader Reader or buffer to decode from
|
27849
|
+
* @returns BoostControlSpec
|
27850
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
27851
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
27852
|
+
*/
|
27853
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec;
|
27854
|
+
|
27855
|
+
/**
|
27856
|
+
* Verifies a BoostControlSpec message.
|
27857
|
+
* @param message Plain object to verify
|
27858
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
27859
|
+
*/
|
27860
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
27861
|
+
|
27862
|
+
/**
|
27863
|
+
* Creates a BoostControlSpec message from a plain object. Also converts values to their respective internal types.
|
27864
|
+
* @param object Plain object
|
27865
|
+
* @returns BoostControlSpec
|
27866
|
+
*/
|
27867
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec;
|
27868
|
+
|
27869
|
+
/**
|
27870
|
+
* Creates a plain object from a BoostControlSpec message. Also converts values to other types if specified.
|
27871
|
+
* @param message BoostControlSpec
|
27872
|
+
* @param [options] Conversion options
|
27873
|
+
* @returns Plain object
|
27874
|
+
*/
|
27875
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
27876
|
+
|
27877
|
+
/**
|
27878
|
+
* Converts this BoostControlSpec to JSON.
|
27879
|
+
* @returns JSON object
|
27880
|
+
*/
|
27881
|
+
public toJSON(): { [k: string]: any };
|
26237
27882
|
|
26238
|
-
|
26239
|
-
|
26240
|
-
|
26241
|
-
|
26242
|
-
|
27883
|
+
/**
|
27884
|
+
* Gets the default type url for BoostControlSpec
|
27885
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
27886
|
+
* @returns The default type url
|
27887
|
+
*/
|
27888
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
27889
|
+
}
|
26243
27890
|
|
26244
|
-
|
26245
|
-
|
26246
|
-
|
26247
|
-
|
26248
|
-
|
26249
|
-
|
27891
|
+
namespace BoostControlSpec {
|
27892
|
+
|
27893
|
+
/** Properties of a ControlPoint. */
|
27894
|
+
interface IControlPoint {
|
27895
|
+
|
27896
|
+
/** ControlPoint attributeValue */
|
27897
|
+
attributeValue?: (string|null);
|
27898
|
+
|
27899
|
+
/** ControlPoint boostAmount */
|
27900
|
+
boostAmount?: (number|null);
|
27901
|
+
}
|
27902
|
+
|
27903
|
+
/** Represents a ControlPoint. */
|
27904
|
+
class ControlPoint implements IControlPoint {
|
27905
|
+
|
27906
|
+
/**
|
27907
|
+
* Constructs a new ControlPoint.
|
27908
|
+
* @param [properties] Properties to set
|
27909
|
+
*/
|
27910
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.IControlPoint);
|
27911
|
+
|
27912
|
+
/** ControlPoint attributeValue. */
|
27913
|
+
public attributeValue: string;
|
27914
|
+
|
27915
|
+
/** ControlPoint boostAmount. */
|
27916
|
+
public boostAmount: number;
|
27917
|
+
|
27918
|
+
/**
|
27919
|
+
* Creates a new ControlPoint instance using the specified properties.
|
27920
|
+
* @param [properties] Properties to set
|
27921
|
+
* @returns ControlPoint instance
|
27922
|
+
*/
|
27923
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.IControlPoint): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint;
|
27924
|
+
|
27925
|
+
/**
|
27926
|
+
* Encodes the specified ControlPoint message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.verify|verify} messages.
|
27927
|
+
* @param message ControlPoint message or plain object to encode
|
27928
|
+
* @param [writer] Writer to encode to
|
27929
|
+
* @returns Writer
|
27930
|
+
*/
|
27931
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.IControlPoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
27932
|
+
|
27933
|
+
/**
|
27934
|
+
* Encodes the specified ControlPoint message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.verify|verify} messages.
|
27935
|
+
* @param message ControlPoint message or plain object to encode
|
27936
|
+
* @param [writer] Writer to encode to
|
27937
|
+
* @returns Writer
|
27938
|
+
*/
|
27939
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.IControlPoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
27940
|
+
|
27941
|
+
/**
|
27942
|
+
* Decodes a ControlPoint message from the specified reader or buffer.
|
27943
|
+
* @param reader Reader or buffer to decode from
|
27944
|
+
* @param [length] Message length if known beforehand
|
27945
|
+
* @returns ControlPoint
|
27946
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
27947
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
27948
|
+
*/
|
27949
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint;
|
27950
|
+
|
27951
|
+
/**
|
27952
|
+
* Decodes a ControlPoint message from the specified reader or buffer, length delimited.
|
27953
|
+
* @param reader Reader or buffer to decode from
|
27954
|
+
* @returns ControlPoint
|
27955
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
27956
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
27957
|
+
*/
|
27958
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint;
|
27959
|
+
|
27960
|
+
/**
|
27961
|
+
* Verifies a ControlPoint message.
|
27962
|
+
* @param message Plain object to verify
|
27963
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
27964
|
+
*/
|
27965
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
27966
|
+
|
27967
|
+
/**
|
27968
|
+
* Creates a ControlPoint message from a plain object. Also converts values to their respective internal types.
|
27969
|
+
* @param object Plain object
|
27970
|
+
* @returns ControlPoint
|
27971
|
+
*/
|
27972
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint;
|
27973
|
+
|
27974
|
+
/**
|
27975
|
+
* Creates a plain object from a ControlPoint message. Also converts values to other types if specified.
|
27976
|
+
* @param message ControlPoint
|
27977
|
+
* @param [options] Conversion options
|
27978
|
+
* @returns Plain object
|
27979
|
+
*/
|
27980
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
27981
|
+
|
27982
|
+
/**
|
27983
|
+
* Converts this ControlPoint to JSON.
|
27984
|
+
* @returns JSON object
|
27985
|
+
*/
|
27986
|
+
public toJSON(): { [k: string]: any };
|
27987
|
+
|
27988
|
+
/**
|
27989
|
+
* Gets the default type url for ControlPoint
|
27990
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
27991
|
+
* @returns The default type url
|
27992
|
+
*/
|
27993
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
27994
|
+
}
|
27995
|
+
|
27996
|
+
/** AttributeType enum. */
|
27997
|
+
enum AttributeType {
|
27998
|
+
ATTRIBUTE_TYPE_UNSPECIFIED = 0,
|
27999
|
+
NUMERICAL = 1,
|
28000
|
+
FRESHNESS = 2
|
28001
|
+
}
|
28002
|
+
|
28003
|
+
/** InterpolationType enum. */
|
28004
|
+
enum InterpolationType {
|
28005
|
+
INTERPOLATION_TYPE_UNSPECIFIED = 0,
|
28006
|
+
LINEAR = 1
|
28007
|
+
}
|
28008
|
+
}
|
26250
28009
|
}
|
26251
28010
|
}
|
26252
28011
|
|
@@ -26484,6 +28243,9 @@ export namespace google {
|
|
26484
28243
|
|
26485
28244
|
/** ContentSearchSpec searchResultMode */
|
26486
28245
|
searchResultMode?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode|null);
|
28246
|
+
|
28247
|
+
/** ContentSearchSpec chunkSpec */
|
28248
|
+
chunkSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.IChunkSpec|null);
|
26487
28249
|
}
|
26488
28250
|
|
26489
28251
|
/** Represents a ContentSearchSpec. */
|
@@ -26507,6 +28269,9 @@ export namespace google {
|
|
26507
28269
|
/** ContentSearchSpec searchResultMode. */
|
26508
28270
|
public searchResultMode: (google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode);
|
26509
28271
|
|
28272
|
+
/** ContentSearchSpec chunkSpec. */
|
28273
|
+
public chunkSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.IChunkSpec|null);
|
28274
|
+
|
26510
28275
|
/**
|
26511
28276
|
* Creates a new ContentSearchSpec instance using the specified properties.
|
26512
28277
|
* @param [properties] Properties to set
|
@@ -26719,6 +28484,9 @@ export namespace google {
|
|
26719
28484
|
|
26720
28485
|
/** SummarySpec modelSpec */
|
26721
28486
|
modelSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.IModelSpec|null);
|
28487
|
+
|
28488
|
+
/** SummarySpec useSemanticChunks */
|
28489
|
+
useSemanticChunks?: (boolean|null);
|
26722
28490
|
}
|
26723
28491
|
|
26724
28492
|
/** Represents a SummarySpec. */
|
@@ -26751,6 +28519,9 @@ export namespace google {
|
|
26751
28519
|
/** SummarySpec modelSpec. */
|
26752
28520
|
public modelSpec?: (google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.IModelSpec|null);
|
26753
28521
|
|
28522
|
+
/** SummarySpec useSemanticChunks. */
|
28523
|
+
public useSemanticChunks: boolean;
|
28524
|
+
|
26754
28525
|
/**
|
26755
28526
|
* Creates a new SummarySpec instance using the specified properties.
|
26756
28527
|
* @param [properties] Properties to set
|
@@ -27147,6 +28918,109 @@ export namespace google {
|
|
27147
28918
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
27148
28919
|
}
|
27149
28920
|
|
28921
|
+
/** Properties of a ChunkSpec. */
|
28922
|
+
interface IChunkSpec {
|
28923
|
+
|
28924
|
+
/** ChunkSpec numPreviousChunks */
|
28925
|
+
numPreviousChunks?: (number|null);
|
28926
|
+
|
28927
|
+
/** ChunkSpec numNextChunks */
|
28928
|
+
numNextChunks?: (number|null);
|
28929
|
+
}
|
28930
|
+
|
28931
|
+
/** Represents a ChunkSpec. */
|
28932
|
+
class ChunkSpec implements IChunkSpec {
|
28933
|
+
|
28934
|
+
/**
|
28935
|
+
* Constructs a new ChunkSpec.
|
28936
|
+
* @param [properties] Properties to set
|
28937
|
+
*/
|
28938
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.IChunkSpec);
|
28939
|
+
|
28940
|
+
/** ChunkSpec numPreviousChunks. */
|
28941
|
+
public numPreviousChunks: number;
|
28942
|
+
|
28943
|
+
/** ChunkSpec numNextChunks. */
|
28944
|
+
public numNextChunks: number;
|
28945
|
+
|
28946
|
+
/**
|
28947
|
+
* Creates a new ChunkSpec instance using the specified properties.
|
28948
|
+
* @param [properties] Properties to set
|
28949
|
+
* @returns ChunkSpec instance
|
28950
|
+
*/
|
28951
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.IChunkSpec): google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec;
|
28952
|
+
|
28953
|
+
/**
|
28954
|
+
* Encodes the specified ChunkSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec.verify|verify} messages.
|
28955
|
+
* @param message ChunkSpec message or plain object to encode
|
28956
|
+
* @param [writer] Writer to encode to
|
28957
|
+
* @returns Writer
|
28958
|
+
*/
|
28959
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.IChunkSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
28960
|
+
|
28961
|
+
/**
|
28962
|
+
* Encodes the specified ChunkSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec.verify|verify} messages.
|
28963
|
+
* @param message ChunkSpec message or plain object to encode
|
28964
|
+
* @param [writer] Writer to encode to
|
28965
|
+
* @returns Writer
|
28966
|
+
*/
|
28967
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.IChunkSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
28968
|
+
|
28969
|
+
/**
|
28970
|
+
* Decodes a ChunkSpec message from the specified reader or buffer.
|
28971
|
+
* @param reader Reader or buffer to decode from
|
28972
|
+
* @param [length] Message length if known beforehand
|
28973
|
+
* @returns ChunkSpec
|
28974
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
28975
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
28976
|
+
*/
|
28977
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec;
|
28978
|
+
|
28979
|
+
/**
|
28980
|
+
* Decodes a ChunkSpec message from the specified reader or buffer, length delimited.
|
28981
|
+
* @param reader Reader or buffer to decode from
|
28982
|
+
* @returns ChunkSpec
|
28983
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
28984
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
28985
|
+
*/
|
28986
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec;
|
28987
|
+
|
28988
|
+
/**
|
28989
|
+
* Verifies a ChunkSpec message.
|
28990
|
+
* @param message Plain object to verify
|
28991
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
28992
|
+
*/
|
28993
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
28994
|
+
|
28995
|
+
/**
|
28996
|
+
* Creates a ChunkSpec message from a plain object. Also converts values to their respective internal types.
|
28997
|
+
* @param object Plain object
|
28998
|
+
* @returns ChunkSpec
|
28999
|
+
*/
|
29000
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec;
|
29001
|
+
|
29002
|
+
/**
|
29003
|
+
* Creates a plain object from a ChunkSpec message. Also converts values to other types if specified.
|
29004
|
+
* @param message ChunkSpec
|
29005
|
+
* @param [options] Conversion options
|
29006
|
+
* @returns Plain object
|
29007
|
+
*/
|
29008
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
29009
|
+
|
29010
|
+
/**
|
29011
|
+
* Converts this ChunkSpec to JSON.
|
29012
|
+
* @returns JSON object
|
29013
|
+
*/
|
29014
|
+
public toJSON(): { [k: string]: any };
|
29015
|
+
|
29016
|
+
/**
|
29017
|
+
* Gets the default type url for ChunkSpec
|
29018
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
29019
|
+
* @returns The default type url
|
29020
|
+
*/
|
29021
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
29022
|
+
}
|
29023
|
+
|
27150
29024
|
/** SearchResultMode enum. */
|
27151
29025
|
enum SearchResultMode {
|
27152
29026
|
SEARCH_RESULT_MODE_UNSPECIFIED = 0,
|
@@ -28606,6 +30480,9 @@ export namespace google {
|
|
28606
30480
|
|
28607
30481
|
/** Reference uri */
|
28608
30482
|
uri?: (string|null);
|
30483
|
+
|
30484
|
+
/** Reference chunkContents */
|
30485
|
+
chunkContents?: (google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent[]|null);
|
28609
30486
|
}
|
28610
30487
|
|
28611
30488
|
/** Represents a Reference. */
|
@@ -28626,6 +30503,9 @@ export namespace google {
|
|
28626
30503
|
/** Reference uri. */
|
28627
30504
|
public uri: string;
|
28628
30505
|
|
30506
|
+
/** Reference chunkContents. */
|
30507
|
+
public chunkContents: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent[];
|
30508
|
+
|
28629
30509
|
/**
|
28630
30510
|
* Creates a new Reference instance using the specified properties.
|
28631
30511
|
* @param [properties] Properties to set
|
@@ -28704,6 +30584,112 @@ export namespace google {
|
|
28704
30584
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
28705
30585
|
}
|
28706
30586
|
|
30587
|
+
namespace Reference {
|
30588
|
+
|
30589
|
+
/** Properties of a ChunkContent. */
|
30590
|
+
interface IChunkContent {
|
30591
|
+
|
30592
|
+
/** ChunkContent content */
|
30593
|
+
content?: (string|null);
|
30594
|
+
|
30595
|
+
/** ChunkContent pageIdentifier */
|
30596
|
+
pageIdentifier?: (string|null);
|
30597
|
+
}
|
30598
|
+
|
30599
|
+
/** Represents a ChunkContent. */
|
30600
|
+
class ChunkContent implements IChunkContent {
|
30601
|
+
|
30602
|
+
/**
|
30603
|
+
* Constructs a new ChunkContent.
|
30604
|
+
* @param [properties] Properties to set
|
30605
|
+
*/
|
30606
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent);
|
30607
|
+
|
30608
|
+
/** ChunkContent content. */
|
30609
|
+
public content: string;
|
30610
|
+
|
30611
|
+
/** ChunkContent pageIdentifier. */
|
30612
|
+
public pageIdentifier: string;
|
30613
|
+
|
30614
|
+
/**
|
30615
|
+
* Creates a new ChunkContent instance using the specified properties.
|
30616
|
+
* @param [properties] Properties to set
|
30617
|
+
* @returns ChunkContent instance
|
30618
|
+
*/
|
30619
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent;
|
30620
|
+
|
30621
|
+
/**
|
30622
|
+
* Encodes the specified ChunkContent message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent.verify|verify} messages.
|
30623
|
+
* @param message ChunkContent message or plain object to encode
|
30624
|
+
* @param [writer] Writer to encode to
|
30625
|
+
* @returns Writer
|
30626
|
+
*/
|
30627
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent, writer?: $protobuf.Writer): $protobuf.Writer;
|
30628
|
+
|
30629
|
+
/**
|
30630
|
+
* Encodes the specified ChunkContent message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent.verify|verify} messages.
|
30631
|
+
* @param message ChunkContent message or plain object to encode
|
30632
|
+
* @param [writer] Writer to encode to
|
30633
|
+
* @returns Writer
|
30634
|
+
*/
|
30635
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.IChunkContent, writer?: $protobuf.Writer): $protobuf.Writer;
|
30636
|
+
|
30637
|
+
/**
|
30638
|
+
* Decodes a ChunkContent message from the specified reader or buffer.
|
30639
|
+
* @param reader Reader or buffer to decode from
|
30640
|
+
* @param [length] Message length if known beforehand
|
30641
|
+
* @returns ChunkContent
|
30642
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
30643
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
30644
|
+
*/
|
30645
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent;
|
30646
|
+
|
30647
|
+
/**
|
30648
|
+
* Decodes a ChunkContent message from the specified reader or buffer, length delimited.
|
30649
|
+
* @param reader Reader or buffer to decode from
|
30650
|
+
* @returns ChunkContent
|
30651
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
30652
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
30653
|
+
*/
|
30654
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent;
|
30655
|
+
|
30656
|
+
/**
|
30657
|
+
* Verifies a ChunkContent message.
|
30658
|
+
* @param message Plain object to verify
|
30659
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
30660
|
+
*/
|
30661
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
30662
|
+
|
30663
|
+
/**
|
30664
|
+
* Creates a ChunkContent message from a plain object. Also converts values to their respective internal types.
|
30665
|
+
* @param object Plain object
|
30666
|
+
* @returns ChunkContent
|
30667
|
+
*/
|
30668
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent;
|
30669
|
+
|
30670
|
+
/**
|
30671
|
+
* Creates a plain object from a ChunkContent message. Also converts values to other types if specified.
|
30672
|
+
* @param message ChunkContent
|
30673
|
+
* @param [options] Conversion options
|
30674
|
+
* @returns Plain object
|
30675
|
+
*/
|
30676
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
30677
|
+
|
30678
|
+
/**
|
30679
|
+
* Converts this ChunkContent to JSON.
|
30680
|
+
* @returns JSON object
|
30681
|
+
*/
|
30682
|
+
public toJSON(): { [k: string]: any };
|
30683
|
+
|
30684
|
+
/**
|
30685
|
+
* Gets the default type url for ChunkContent
|
30686
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
30687
|
+
* @returns The default type url
|
30688
|
+
*/
|
30689
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
30690
|
+
}
|
30691
|
+
}
|
30692
|
+
|
28707
30693
|
/** Properties of a SummaryWithMetadata. */
|
28708
30694
|
interface ISummaryWithMetadata {
|
28709
30695
|
|
@@ -32601,6 +34587,20 @@ export namespace google {
|
|
32601
34587
|
* @returns Promise
|
32602
34588
|
*/
|
32603
34589
|
public purgeDocuments(request: google.cloud.discoveryengine.v1alpha.IPurgeDocumentsRequest): Promise<google.longrunning.Operation>;
|
34590
|
+
|
34591
|
+
/**
|
34592
|
+
* Calls GetProcessedDocument.
|
34593
|
+
* @param request GetProcessedDocumentRequest message or plain object
|
34594
|
+
* @param callback Node-style callback called with the error, if any, and ProcessedDocument
|
34595
|
+
*/
|
34596
|
+
public getProcessedDocument(request: google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest, callback: google.cloud.discoveryengine.v1alpha.DocumentService.GetProcessedDocumentCallback): void;
|
34597
|
+
|
34598
|
+
/**
|
34599
|
+
* Calls GetProcessedDocument.
|
34600
|
+
* @param request GetProcessedDocumentRequest message or plain object
|
34601
|
+
* @returns Promise
|
34602
|
+
*/
|
34603
|
+
public getProcessedDocument(request: google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest): Promise<google.cloud.discoveryengine.v1alpha.ProcessedDocument>;
|
32604
34604
|
}
|
32605
34605
|
|
32606
34606
|
namespace DocumentService {
|
@@ -32653,6 +34653,13 @@ export namespace google {
|
|
32653
34653
|
* @param [response] Operation
|
32654
34654
|
*/
|
32655
34655
|
type PurgeDocumentsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
34656
|
+
|
34657
|
+
/**
|
34658
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1alpha.DocumentService|getProcessedDocument}.
|
34659
|
+
* @param error Error, if any
|
34660
|
+
* @param [response] ProcessedDocument
|
34661
|
+
*/
|
34662
|
+
type GetProcessedDocumentCallback = (error: (Error|null), response?: google.cloud.discoveryengine.v1alpha.ProcessedDocument) => void;
|
32656
34663
|
}
|
32657
34664
|
|
32658
34665
|
/** Properties of a GetDocumentRequest. */
|
@@ -33251,34 +35258,159 @@ export namespace google {
|
|
33251
35258
|
public static verify(message: { [k: string]: any }): (string|null);
|
33252
35259
|
|
33253
35260
|
/**
|
33254
|
-
* Creates a DeleteDocumentRequest message from a plain object. Also converts values to their respective internal types.
|
35261
|
+
* Creates a DeleteDocumentRequest message from a plain object. Also converts values to their respective internal types.
|
35262
|
+
* @param object Plain object
|
35263
|
+
* @returns DeleteDocumentRequest
|
35264
|
+
*/
|
35265
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.DeleteDocumentRequest;
|
35266
|
+
|
35267
|
+
/**
|
35268
|
+
* Creates a plain object from a DeleteDocumentRequest message. Also converts values to other types if specified.
|
35269
|
+
* @param message DeleteDocumentRequest
|
35270
|
+
* @param [options] Conversion options
|
35271
|
+
* @returns Plain object
|
35272
|
+
*/
|
35273
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.DeleteDocumentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35274
|
+
|
35275
|
+
/**
|
35276
|
+
* Converts this DeleteDocumentRequest to JSON.
|
35277
|
+
* @returns JSON object
|
35278
|
+
*/
|
35279
|
+
public toJSON(): { [k: string]: any };
|
35280
|
+
|
35281
|
+
/**
|
35282
|
+
* Gets the default type url for DeleteDocumentRequest
|
35283
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
35284
|
+
* @returns The default type url
|
35285
|
+
*/
|
35286
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
35287
|
+
}
|
35288
|
+
|
35289
|
+
/** Properties of a GetProcessedDocumentRequest. */
|
35290
|
+
interface IGetProcessedDocumentRequest {
|
35291
|
+
|
35292
|
+
/** GetProcessedDocumentRequest name */
|
35293
|
+
name?: (string|null);
|
35294
|
+
|
35295
|
+
/** GetProcessedDocumentRequest processedDocumentType */
|
35296
|
+
processedDocumentType?: (google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType|keyof typeof google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType|null);
|
35297
|
+
|
35298
|
+
/** GetProcessedDocumentRequest processedDocumentFormat */
|
35299
|
+
processedDocumentFormat?: (google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat|keyof typeof google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat|null);
|
35300
|
+
}
|
35301
|
+
|
35302
|
+
/** Represents a GetProcessedDocumentRequest. */
|
35303
|
+
class GetProcessedDocumentRequest implements IGetProcessedDocumentRequest {
|
35304
|
+
|
35305
|
+
/**
|
35306
|
+
* Constructs a new GetProcessedDocumentRequest.
|
35307
|
+
* @param [properties] Properties to set
|
35308
|
+
*/
|
35309
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest);
|
35310
|
+
|
35311
|
+
/** GetProcessedDocumentRequest name. */
|
35312
|
+
public name: string;
|
35313
|
+
|
35314
|
+
/** GetProcessedDocumentRequest processedDocumentType. */
|
35315
|
+
public processedDocumentType: (google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType|keyof typeof google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType);
|
35316
|
+
|
35317
|
+
/** GetProcessedDocumentRequest processedDocumentFormat. */
|
35318
|
+
public processedDocumentFormat: (google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat|keyof typeof google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat);
|
35319
|
+
|
35320
|
+
/**
|
35321
|
+
* Creates a new GetProcessedDocumentRequest instance using the specified properties.
|
35322
|
+
* @param [properties] Properties to set
|
35323
|
+
* @returns GetProcessedDocumentRequest instance
|
35324
|
+
*/
|
35325
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest): google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest;
|
35326
|
+
|
35327
|
+
/**
|
35328
|
+
* Encodes the specified GetProcessedDocumentRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.verify|verify} messages.
|
35329
|
+
* @param message GetProcessedDocumentRequest message or plain object to encode
|
35330
|
+
* @param [writer] Writer to encode to
|
35331
|
+
* @returns Writer
|
35332
|
+
*/
|
35333
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
35334
|
+
|
35335
|
+
/**
|
35336
|
+
* Encodes the specified GetProcessedDocumentRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.verify|verify} messages.
|
35337
|
+
* @param message GetProcessedDocumentRequest message or plain object to encode
|
35338
|
+
* @param [writer] Writer to encode to
|
35339
|
+
* @returns Writer
|
35340
|
+
*/
|
35341
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IGetProcessedDocumentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
35342
|
+
|
35343
|
+
/**
|
35344
|
+
* Decodes a GetProcessedDocumentRequest message from the specified reader or buffer.
|
35345
|
+
* @param reader Reader or buffer to decode from
|
35346
|
+
* @param [length] Message length if known beforehand
|
35347
|
+
* @returns GetProcessedDocumentRequest
|
35348
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35349
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35350
|
+
*/
|
35351
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest;
|
35352
|
+
|
35353
|
+
/**
|
35354
|
+
* Decodes a GetProcessedDocumentRequest message from the specified reader or buffer, length delimited.
|
35355
|
+
* @param reader Reader or buffer to decode from
|
35356
|
+
* @returns GetProcessedDocumentRequest
|
35357
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35358
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35359
|
+
*/
|
35360
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest;
|
35361
|
+
|
35362
|
+
/**
|
35363
|
+
* Verifies a GetProcessedDocumentRequest message.
|
35364
|
+
* @param message Plain object to verify
|
35365
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
35366
|
+
*/
|
35367
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35368
|
+
|
35369
|
+
/**
|
35370
|
+
* Creates a GetProcessedDocumentRequest message from a plain object. Also converts values to their respective internal types.
|
33255
35371
|
* @param object Plain object
|
33256
|
-
* @returns
|
35372
|
+
* @returns GetProcessedDocumentRequest
|
33257
35373
|
*/
|
33258
|
-
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.
|
35374
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest;
|
33259
35375
|
|
33260
35376
|
/**
|
33261
|
-
* Creates a plain object from a
|
33262
|
-
* @param message
|
35377
|
+
* Creates a plain object from a GetProcessedDocumentRequest message. Also converts values to other types if specified.
|
35378
|
+
* @param message GetProcessedDocumentRequest
|
33263
35379
|
* @param [options] Conversion options
|
33264
35380
|
* @returns Plain object
|
33265
35381
|
*/
|
33266
|
-
public static toObject(message: google.cloud.discoveryengine.v1alpha.
|
35382
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
33267
35383
|
|
33268
35384
|
/**
|
33269
|
-
* Converts this
|
35385
|
+
* Converts this GetProcessedDocumentRequest to JSON.
|
33270
35386
|
* @returns JSON object
|
33271
35387
|
*/
|
33272
35388
|
public toJSON(): { [k: string]: any };
|
33273
35389
|
|
33274
35390
|
/**
|
33275
|
-
* Gets the default type url for
|
35391
|
+
* Gets the default type url for GetProcessedDocumentRequest
|
33276
35392
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
33277
35393
|
* @returns The default type url
|
33278
35394
|
*/
|
33279
35395
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
33280
35396
|
}
|
33281
35397
|
|
35398
|
+
namespace GetProcessedDocumentRequest {
|
35399
|
+
|
35400
|
+
/** ProcessedDocumentType enum. */
|
35401
|
+
enum ProcessedDocumentType {
|
35402
|
+
PROCESSED_DOCUMENT_TYPE_UNSPECIFIED = 0,
|
35403
|
+
PARSED_DOCUMENT = 1,
|
35404
|
+
CHUNKED_DOCUMENT = 2
|
35405
|
+
}
|
35406
|
+
|
35407
|
+
/** ProcessedDocumentFormat enum. */
|
35408
|
+
enum ProcessedDocumentFormat {
|
35409
|
+
PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED = 0,
|
35410
|
+
JSON = 1
|
35411
|
+
}
|
35412
|
+
}
|
35413
|
+
|
33282
35414
|
/** Properties of an Engine. */
|
33283
35415
|
interface IEngine {
|
33284
35416
|
|
@@ -36609,6 +38741,390 @@ export namespace google {
|
|
36609
38741
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
36610
38742
|
}
|
36611
38743
|
|
38744
|
+
/** Represents a RankService */
|
38745
|
+
class RankService extends $protobuf.rpc.Service {
|
38746
|
+
|
38747
|
+
/**
|
38748
|
+
* Constructs a new RankService service.
|
38749
|
+
* @param rpcImpl RPC implementation
|
38750
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
38751
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
38752
|
+
*/
|
38753
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
38754
|
+
|
38755
|
+
/**
|
38756
|
+
* Creates new RankService service using the specified rpc implementation.
|
38757
|
+
* @param rpcImpl RPC implementation
|
38758
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
38759
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
38760
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
38761
|
+
*/
|
38762
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RankService;
|
38763
|
+
|
38764
|
+
/**
|
38765
|
+
* Calls Rank.
|
38766
|
+
* @param request RankRequest message or plain object
|
38767
|
+
* @param callback Node-style callback called with the error, if any, and RankResponse
|
38768
|
+
*/
|
38769
|
+
public rank(request: google.cloud.discoveryengine.v1alpha.IRankRequest, callback: google.cloud.discoveryengine.v1alpha.RankService.RankCallback): void;
|
38770
|
+
|
38771
|
+
/**
|
38772
|
+
* Calls Rank.
|
38773
|
+
* @param request RankRequest message or plain object
|
38774
|
+
* @returns Promise
|
38775
|
+
*/
|
38776
|
+
public rank(request: google.cloud.discoveryengine.v1alpha.IRankRequest): Promise<google.cloud.discoveryengine.v1alpha.RankResponse>;
|
38777
|
+
}
|
38778
|
+
|
38779
|
+
namespace RankService {
|
38780
|
+
|
38781
|
+
/**
|
38782
|
+
* Callback as used by {@link google.cloud.discoveryengine.v1alpha.RankService|rank}.
|
38783
|
+
* @param error Error, if any
|
38784
|
+
* @param [response] RankResponse
|
38785
|
+
*/
|
38786
|
+
type RankCallback = (error: (Error|null), response?: google.cloud.discoveryengine.v1alpha.RankResponse) => void;
|
38787
|
+
}
|
38788
|
+
|
38789
|
+
/** Properties of a RankingRecord. */
|
38790
|
+
interface IRankingRecord {
|
38791
|
+
|
38792
|
+
/** RankingRecord id */
|
38793
|
+
id?: (string|null);
|
38794
|
+
|
38795
|
+
/** RankingRecord title */
|
38796
|
+
title?: (string|null);
|
38797
|
+
|
38798
|
+
/** RankingRecord content */
|
38799
|
+
content?: (string|null);
|
38800
|
+
|
38801
|
+
/** RankingRecord score */
|
38802
|
+
score?: (number|null);
|
38803
|
+
}
|
38804
|
+
|
38805
|
+
/** Represents a RankingRecord. */
|
38806
|
+
class RankingRecord implements IRankingRecord {
|
38807
|
+
|
38808
|
+
/**
|
38809
|
+
* Constructs a new RankingRecord.
|
38810
|
+
* @param [properties] Properties to set
|
38811
|
+
*/
|
38812
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IRankingRecord);
|
38813
|
+
|
38814
|
+
/** RankingRecord id. */
|
38815
|
+
public id: string;
|
38816
|
+
|
38817
|
+
/** RankingRecord title. */
|
38818
|
+
public title: string;
|
38819
|
+
|
38820
|
+
/** RankingRecord content. */
|
38821
|
+
public content: string;
|
38822
|
+
|
38823
|
+
/** RankingRecord score. */
|
38824
|
+
public score: number;
|
38825
|
+
|
38826
|
+
/**
|
38827
|
+
* Creates a new RankingRecord instance using the specified properties.
|
38828
|
+
* @param [properties] Properties to set
|
38829
|
+
* @returns RankingRecord instance
|
38830
|
+
*/
|
38831
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IRankingRecord): google.cloud.discoveryengine.v1alpha.RankingRecord;
|
38832
|
+
|
38833
|
+
/**
|
38834
|
+
* Encodes the specified RankingRecord message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.RankingRecord.verify|verify} messages.
|
38835
|
+
* @param message RankingRecord message or plain object to encode
|
38836
|
+
* @param [writer] Writer to encode to
|
38837
|
+
* @returns Writer
|
38838
|
+
*/
|
38839
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IRankingRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
38840
|
+
|
38841
|
+
/**
|
38842
|
+
* Encodes the specified RankingRecord message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.RankingRecord.verify|verify} messages.
|
38843
|
+
* @param message RankingRecord message or plain object to encode
|
38844
|
+
* @param [writer] Writer to encode to
|
38845
|
+
* @returns Writer
|
38846
|
+
*/
|
38847
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IRankingRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
38848
|
+
|
38849
|
+
/**
|
38850
|
+
* Decodes a RankingRecord message from the specified reader or buffer.
|
38851
|
+
* @param reader Reader or buffer to decode from
|
38852
|
+
* @param [length] Message length if known beforehand
|
38853
|
+
* @returns RankingRecord
|
38854
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38855
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38856
|
+
*/
|
38857
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.RankingRecord;
|
38858
|
+
|
38859
|
+
/**
|
38860
|
+
* Decodes a RankingRecord message from the specified reader or buffer, length delimited.
|
38861
|
+
* @param reader Reader or buffer to decode from
|
38862
|
+
* @returns RankingRecord
|
38863
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38864
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38865
|
+
*/
|
38866
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.RankingRecord;
|
38867
|
+
|
38868
|
+
/**
|
38869
|
+
* Verifies a RankingRecord message.
|
38870
|
+
* @param message Plain object to verify
|
38871
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
38872
|
+
*/
|
38873
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
38874
|
+
|
38875
|
+
/**
|
38876
|
+
* Creates a RankingRecord message from a plain object. Also converts values to their respective internal types.
|
38877
|
+
* @param object Plain object
|
38878
|
+
* @returns RankingRecord
|
38879
|
+
*/
|
38880
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.RankingRecord;
|
38881
|
+
|
38882
|
+
/**
|
38883
|
+
* Creates a plain object from a RankingRecord message. Also converts values to other types if specified.
|
38884
|
+
* @param message RankingRecord
|
38885
|
+
* @param [options] Conversion options
|
38886
|
+
* @returns Plain object
|
38887
|
+
*/
|
38888
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.RankingRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
38889
|
+
|
38890
|
+
/**
|
38891
|
+
* Converts this RankingRecord to JSON.
|
38892
|
+
* @returns JSON object
|
38893
|
+
*/
|
38894
|
+
public toJSON(): { [k: string]: any };
|
38895
|
+
|
38896
|
+
/**
|
38897
|
+
* Gets the default type url for RankingRecord
|
38898
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
38899
|
+
* @returns The default type url
|
38900
|
+
*/
|
38901
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
38902
|
+
}
|
38903
|
+
|
38904
|
+
/** Properties of a RankRequest. */
|
38905
|
+
interface IRankRequest {
|
38906
|
+
|
38907
|
+
/** RankRequest rankingConfig */
|
38908
|
+
rankingConfig?: (string|null);
|
38909
|
+
|
38910
|
+
/** RankRequest model */
|
38911
|
+
model?: (string|null);
|
38912
|
+
|
38913
|
+
/** RankRequest topN */
|
38914
|
+
topN?: (number|null);
|
38915
|
+
|
38916
|
+
/** RankRequest query */
|
38917
|
+
query?: (string|null);
|
38918
|
+
|
38919
|
+
/** RankRequest records */
|
38920
|
+
records?: (google.cloud.discoveryengine.v1alpha.IRankingRecord[]|null);
|
38921
|
+
|
38922
|
+
/** RankRequest ignoreRecordDetailsInResponse */
|
38923
|
+
ignoreRecordDetailsInResponse?: (boolean|null);
|
38924
|
+
}
|
38925
|
+
|
38926
|
+
/** Represents a RankRequest. */
|
38927
|
+
class RankRequest implements IRankRequest {
|
38928
|
+
|
38929
|
+
/**
|
38930
|
+
* Constructs a new RankRequest.
|
38931
|
+
* @param [properties] Properties to set
|
38932
|
+
*/
|
38933
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IRankRequest);
|
38934
|
+
|
38935
|
+
/** RankRequest rankingConfig. */
|
38936
|
+
public rankingConfig: string;
|
38937
|
+
|
38938
|
+
/** RankRequest model. */
|
38939
|
+
public model: string;
|
38940
|
+
|
38941
|
+
/** RankRequest topN. */
|
38942
|
+
public topN: number;
|
38943
|
+
|
38944
|
+
/** RankRequest query. */
|
38945
|
+
public query: string;
|
38946
|
+
|
38947
|
+
/** RankRequest records. */
|
38948
|
+
public records: google.cloud.discoveryengine.v1alpha.IRankingRecord[];
|
38949
|
+
|
38950
|
+
/** RankRequest ignoreRecordDetailsInResponse. */
|
38951
|
+
public ignoreRecordDetailsInResponse: boolean;
|
38952
|
+
|
38953
|
+
/**
|
38954
|
+
* Creates a new RankRequest instance using the specified properties.
|
38955
|
+
* @param [properties] Properties to set
|
38956
|
+
* @returns RankRequest instance
|
38957
|
+
*/
|
38958
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IRankRequest): google.cloud.discoveryengine.v1alpha.RankRequest;
|
38959
|
+
|
38960
|
+
/**
|
38961
|
+
* Encodes the specified RankRequest message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.RankRequest.verify|verify} messages.
|
38962
|
+
* @param message RankRequest message or plain object to encode
|
38963
|
+
* @param [writer] Writer to encode to
|
38964
|
+
* @returns Writer
|
38965
|
+
*/
|
38966
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IRankRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
38967
|
+
|
38968
|
+
/**
|
38969
|
+
* Encodes the specified RankRequest message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.RankRequest.verify|verify} messages.
|
38970
|
+
* @param message RankRequest message or plain object to encode
|
38971
|
+
* @param [writer] Writer to encode to
|
38972
|
+
* @returns Writer
|
38973
|
+
*/
|
38974
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IRankRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
38975
|
+
|
38976
|
+
/**
|
38977
|
+
* Decodes a RankRequest message from the specified reader or buffer.
|
38978
|
+
* @param reader Reader or buffer to decode from
|
38979
|
+
* @param [length] Message length if known beforehand
|
38980
|
+
* @returns RankRequest
|
38981
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38982
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38983
|
+
*/
|
38984
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.RankRequest;
|
38985
|
+
|
38986
|
+
/**
|
38987
|
+
* Decodes a RankRequest message from the specified reader or buffer, length delimited.
|
38988
|
+
* @param reader Reader or buffer to decode from
|
38989
|
+
* @returns RankRequest
|
38990
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38991
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38992
|
+
*/
|
38993
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.RankRequest;
|
38994
|
+
|
38995
|
+
/**
|
38996
|
+
* Verifies a RankRequest message.
|
38997
|
+
* @param message Plain object to verify
|
38998
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
38999
|
+
*/
|
39000
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
39001
|
+
|
39002
|
+
/**
|
39003
|
+
* Creates a RankRequest message from a plain object. Also converts values to their respective internal types.
|
39004
|
+
* @param object Plain object
|
39005
|
+
* @returns RankRequest
|
39006
|
+
*/
|
39007
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.RankRequest;
|
39008
|
+
|
39009
|
+
/**
|
39010
|
+
* Creates a plain object from a RankRequest message. Also converts values to other types if specified.
|
39011
|
+
* @param message RankRequest
|
39012
|
+
* @param [options] Conversion options
|
39013
|
+
* @returns Plain object
|
39014
|
+
*/
|
39015
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.RankRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
39016
|
+
|
39017
|
+
/**
|
39018
|
+
* Converts this RankRequest to JSON.
|
39019
|
+
* @returns JSON object
|
39020
|
+
*/
|
39021
|
+
public toJSON(): { [k: string]: any };
|
39022
|
+
|
39023
|
+
/**
|
39024
|
+
* Gets the default type url for RankRequest
|
39025
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
39026
|
+
* @returns The default type url
|
39027
|
+
*/
|
39028
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
39029
|
+
}
|
39030
|
+
|
39031
|
+
/** Properties of a RankResponse. */
|
39032
|
+
interface IRankResponse {
|
39033
|
+
|
39034
|
+
/** RankResponse records */
|
39035
|
+
records?: (google.cloud.discoveryengine.v1alpha.IRankingRecord[]|null);
|
39036
|
+
}
|
39037
|
+
|
39038
|
+
/** Represents a RankResponse. */
|
39039
|
+
class RankResponse implements IRankResponse {
|
39040
|
+
|
39041
|
+
/**
|
39042
|
+
* Constructs a new RankResponse.
|
39043
|
+
* @param [properties] Properties to set
|
39044
|
+
*/
|
39045
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.IRankResponse);
|
39046
|
+
|
39047
|
+
/** RankResponse records. */
|
39048
|
+
public records: google.cloud.discoveryengine.v1alpha.IRankingRecord[];
|
39049
|
+
|
39050
|
+
/**
|
39051
|
+
* Creates a new RankResponse instance using the specified properties.
|
39052
|
+
* @param [properties] Properties to set
|
39053
|
+
* @returns RankResponse instance
|
39054
|
+
*/
|
39055
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.IRankResponse): google.cloud.discoveryengine.v1alpha.RankResponse;
|
39056
|
+
|
39057
|
+
/**
|
39058
|
+
* Encodes the specified RankResponse message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.RankResponse.verify|verify} messages.
|
39059
|
+
* @param message RankResponse message or plain object to encode
|
39060
|
+
* @param [writer] Writer to encode to
|
39061
|
+
* @returns Writer
|
39062
|
+
*/
|
39063
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.IRankResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
39064
|
+
|
39065
|
+
/**
|
39066
|
+
* Encodes the specified RankResponse message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.RankResponse.verify|verify} messages.
|
39067
|
+
* @param message RankResponse message or plain object to encode
|
39068
|
+
* @param [writer] Writer to encode to
|
39069
|
+
* @returns Writer
|
39070
|
+
*/
|
39071
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.IRankResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
39072
|
+
|
39073
|
+
/**
|
39074
|
+
* Decodes a RankResponse message from the specified reader or buffer.
|
39075
|
+
* @param reader Reader or buffer to decode from
|
39076
|
+
* @param [length] Message length if known beforehand
|
39077
|
+
* @returns RankResponse
|
39078
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
39079
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
39080
|
+
*/
|
39081
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.RankResponse;
|
39082
|
+
|
39083
|
+
/**
|
39084
|
+
* Decodes a RankResponse message from the specified reader or buffer, length delimited.
|
39085
|
+
* @param reader Reader or buffer to decode from
|
39086
|
+
* @returns RankResponse
|
39087
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
39088
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
39089
|
+
*/
|
39090
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.RankResponse;
|
39091
|
+
|
39092
|
+
/**
|
39093
|
+
* Verifies a RankResponse message.
|
39094
|
+
* @param message Plain object to verify
|
39095
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
39096
|
+
*/
|
39097
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
39098
|
+
|
39099
|
+
/**
|
39100
|
+
* Creates a RankResponse message from a plain object. Also converts values to their respective internal types.
|
39101
|
+
* @param object Plain object
|
39102
|
+
* @returns RankResponse
|
39103
|
+
*/
|
39104
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.RankResponse;
|
39105
|
+
|
39106
|
+
/**
|
39107
|
+
* Creates a plain object from a RankResponse message. Also converts values to other types if specified.
|
39108
|
+
* @param message RankResponse
|
39109
|
+
* @param [options] Conversion options
|
39110
|
+
* @returns Plain object
|
39111
|
+
*/
|
39112
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.RankResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
39113
|
+
|
39114
|
+
/**
|
39115
|
+
* Converts this RankResponse to JSON.
|
39116
|
+
* @returns JSON object
|
39117
|
+
*/
|
39118
|
+
public toJSON(): { [k: string]: any };
|
39119
|
+
|
39120
|
+
/**
|
39121
|
+
* Gets the default type url for RankResponse
|
39122
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
39123
|
+
* @returns The default type url
|
39124
|
+
*/
|
39125
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
39126
|
+
}
|
39127
|
+
|
36612
39128
|
/** Represents a RecommendationService */
|
36613
39129
|
class RecommendationService extends $protobuf.rpc.Service {
|
36614
39130
|
|
@@ -38362,6 +40878,9 @@ export namespace google {
|
|
38362
40878
|
|
38363
40879
|
/** TrainCustomModelResponse modelStatus */
|
38364
40880
|
modelStatus?: (string|null);
|
40881
|
+
|
40882
|
+
/** TrainCustomModelResponse metrics */
|
40883
|
+
metrics?: ({ [k: string]: number }|null);
|
38365
40884
|
}
|
38366
40885
|
|
38367
40886
|
/** Represents a TrainCustomModelResponse. */
|
@@ -38382,6 +40901,9 @@ export namespace google {
|
|
38382
40901
|
/** TrainCustomModelResponse modelStatus. */
|
38383
40902
|
public modelStatus: string;
|
38384
40903
|
|
40904
|
+
/** TrainCustomModelResponse metrics. */
|
40905
|
+
public metrics: { [k: string]: number };
|
40906
|
+
|
38385
40907
|
/**
|
38386
40908
|
* Creates a new TrainCustomModelResponse instance using the specified properties.
|
38387
40909
|
* @param [properties] Properties to set
|