@google-cloud/vectorsearch 0.3.0 → 0.4.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.
@@ -806,9 +806,6 @@ export namespace google {
806
806
  /** Properties of an IndexHint. */
807
807
  interface IIndexHint {
808
808
 
809
- /** IndexHint denseScannParams */
810
- denseScannParams?: (google.cloud.vectorsearch.v1.SearchHint.IndexHint.IDenseScannParams|null);
811
-
812
809
  /** IndexHint name */
813
810
  name?: (string|null);
814
811
  }
@@ -822,15 +819,9 @@ export namespace google {
822
819
  */
823
820
  constructor(properties?: google.cloud.vectorsearch.v1.SearchHint.IIndexHint);
824
821
 
825
- /** IndexHint denseScannParams. */
826
- public denseScannParams?: (google.cloud.vectorsearch.v1.SearchHint.IndexHint.IDenseScannParams|null);
827
-
828
822
  /** IndexHint name. */
829
823
  public name: string;
830
824
 
831
- /** IndexHint params. */
832
- public params?: "denseScannParams";
833
-
834
825
  /**
835
826
  * Creates a new IndexHint instance using the specified properties.
836
827
  * @param [properties] Properties to set
@@ -909,112 +900,6 @@ export namespace google {
909
900
  public static getTypeUrl(typeUrlPrefix?: string): string;
910
901
  }
911
902
 
912
- namespace IndexHint {
913
-
914
- /** Properties of a DenseScannParams. */
915
- interface IDenseScannParams {
916
-
917
- /** DenseScannParams searchLeavesPct */
918
- searchLeavesPct?: (number|null);
919
-
920
- /** DenseScannParams initialCandidateCount */
921
- initialCandidateCount?: (number|null);
922
- }
923
-
924
- /** Represents a DenseScannParams. */
925
- class DenseScannParams implements IDenseScannParams {
926
-
927
- /**
928
- * Constructs a new DenseScannParams.
929
- * @param [properties] Properties to set
930
- */
931
- constructor(properties?: google.cloud.vectorsearch.v1.SearchHint.IndexHint.IDenseScannParams);
932
-
933
- /** DenseScannParams searchLeavesPct. */
934
- public searchLeavesPct: number;
935
-
936
- /** DenseScannParams initialCandidateCount. */
937
- public initialCandidateCount: number;
938
-
939
- /**
940
- * Creates a new DenseScannParams instance using the specified properties.
941
- * @param [properties] Properties to set
942
- * @returns DenseScannParams instance
943
- */
944
- public static create(properties?: google.cloud.vectorsearch.v1.SearchHint.IndexHint.IDenseScannParams): google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams;
945
-
946
- /**
947
- * Encodes the specified DenseScannParams message. Does not implicitly {@link google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams.verify|verify} messages.
948
- * @param message DenseScannParams message or plain object to encode
949
- * @param [writer] Writer to encode to
950
- * @returns Writer
951
- */
952
- public static encode(message: google.cloud.vectorsearch.v1.SearchHint.IndexHint.IDenseScannParams, writer?: $protobuf.Writer): $protobuf.Writer;
953
-
954
- /**
955
- * Encodes the specified DenseScannParams message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams.verify|verify} messages.
956
- * @param message DenseScannParams message or plain object to encode
957
- * @param [writer] Writer to encode to
958
- * @returns Writer
959
- */
960
- public static encodeDelimited(message: google.cloud.vectorsearch.v1.SearchHint.IndexHint.IDenseScannParams, writer?: $protobuf.Writer): $protobuf.Writer;
961
-
962
- /**
963
- * Decodes a DenseScannParams message from the specified reader or buffer.
964
- * @param reader Reader or buffer to decode from
965
- * @param [length] Message length if known beforehand
966
- * @returns DenseScannParams
967
- * @throws {Error} If the payload is not a reader or valid buffer
968
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
969
- */
970
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams;
971
-
972
- /**
973
- * Decodes a DenseScannParams message from the specified reader or buffer, length delimited.
974
- * @param reader Reader or buffer to decode from
975
- * @returns DenseScannParams
976
- * @throws {Error} If the payload is not a reader or valid buffer
977
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
978
- */
979
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams;
980
-
981
- /**
982
- * Verifies a DenseScannParams message.
983
- * @param message Plain object to verify
984
- * @returns `null` if valid, otherwise the reason why it is not
985
- */
986
- public static verify(message: { [k: string]: any }): (string|null);
987
-
988
- /**
989
- * Creates a DenseScannParams message from a plain object. Also converts values to their respective internal types.
990
- * @param object Plain object
991
- * @returns DenseScannParams
992
- */
993
- public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams;
994
-
995
- /**
996
- * Creates a plain object from a DenseScannParams message. Also converts values to other types if specified.
997
- * @param message DenseScannParams
998
- * @param [options] Conversion options
999
- * @returns Plain object
1000
- */
1001
- public static toObject(message: google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams, options?: $protobuf.IConversionOptions): { [k: string]: any };
1002
-
1003
- /**
1004
- * Converts this DenseScannParams to JSON.
1005
- * @returns JSON object
1006
- */
1007
- public toJSON(): { [k: string]: any };
1008
-
1009
- /**
1010
- * Gets the default type url for DenseScannParams
1011
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1012
- * @returns The default type url
1013
- */
1014
- public static getTypeUrl(typeUrlPrefix?: string): string;
1015
- }
1016
- }
1017
-
1018
903
  /** Properties of a KnnHint. */
1019
904
  interface IKnnHint {
1020
905
  }
@@ -2607,9 +2492,6 @@ export namespace google {
2607
2492
 
2608
2493
  /** Ranker rrf */
2609
2494
  rrf?: (google.cloud.vectorsearch.v1.IReciprocalRankFusion|null);
2610
-
2611
- /** Ranker vertex */
2612
- vertex?: (google.cloud.vectorsearch.v1.IVertexRanker|null);
2613
2495
  }
2614
2496
 
2615
2497
  /** Represents a Ranker. */
@@ -2624,11 +2506,8 @@ export namespace google {
2624
2506
  /** Ranker rrf. */
2625
2507
  public rrf?: (google.cloud.vectorsearch.v1.IReciprocalRankFusion|null);
2626
2508
 
2627
- /** Ranker vertex. */
2628
- public vertex?: (google.cloud.vectorsearch.v1.IVertexRanker|null);
2629
-
2630
2509
  /** Ranker ranker. */
2631
- public ranker?: ("rrf"|"vertex");
2510
+ public ranker?: "rrf";
2632
2511
 
2633
2512
  /**
2634
2513
  * Creates a new Ranker instance using the specified properties.
@@ -2805,121 +2684,6 @@ export namespace google {
2805
2684
  public static getTypeUrl(typeUrlPrefix?: string): string;
2806
2685
  }
2807
2686
 
2808
- /** Properties of a VertexRanker. */
2809
- interface IVertexRanker {
2810
-
2811
- /** VertexRanker query */
2812
- query?: (string|null);
2813
-
2814
- /** VertexRanker titleTemplate */
2815
- titleTemplate?: (string|null);
2816
-
2817
- /** VertexRanker contentTemplate */
2818
- contentTemplate?: (string|null);
2819
-
2820
- /** VertexRanker model */
2821
- model?: (string|null);
2822
- }
2823
-
2824
- /** Represents a VertexRanker. */
2825
- class VertexRanker implements IVertexRanker {
2826
-
2827
- /**
2828
- * Constructs a new VertexRanker.
2829
- * @param [properties] Properties to set
2830
- */
2831
- constructor(properties?: google.cloud.vectorsearch.v1.IVertexRanker);
2832
-
2833
- /** VertexRanker query. */
2834
- public query: string;
2835
-
2836
- /** VertexRanker titleTemplate. */
2837
- public titleTemplate: string;
2838
-
2839
- /** VertexRanker contentTemplate. */
2840
- public contentTemplate: string;
2841
-
2842
- /** VertexRanker model. */
2843
- public model: string;
2844
-
2845
- /**
2846
- * Creates a new VertexRanker instance using the specified properties.
2847
- * @param [properties] Properties to set
2848
- * @returns VertexRanker instance
2849
- */
2850
- public static create(properties?: google.cloud.vectorsearch.v1.IVertexRanker): google.cloud.vectorsearch.v1.VertexRanker;
2851
-
2852
- /**
2853
- * Encodes the specified VertexRanker message. Does not implicitly {@link google.cloud.vectorsearch.v1.VertexRanker.verify|verify} messages.
2854
- * @param message VertexRanker message or plain object to encode
2855
- * @param [writer] Writer to encode to
2856
- * @returns Writer
2857
- */
2858
- public static encode(message: google.cloud.vectorsearch.v1.IVertexRanker, writer?: $protobuf.Writer): $protobuf.Writer;
2859
-
2860
- /**
2861
- * Encodes the specified VertexRanker message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1.VertexRanker.verify|verify} messages.
2862
- * @param message VertexRanker message or plain object to encode
2863
- * @param [writer] Writer to encode to
2864
- * @returns Writer
2865
- */
2866
- public static encodeDelimited(message: google.cloud.vectorsearch.v1.IVertexRanker, writer?: $protobuf.Writer): $protobuf.Writer;
2867
-
2868
- /**
2869
- * Decodes a VertexRanker message from the specified reader or buffer.
2870
- * @param reader Reader or buffer to decode from
2871
- * @param [length] Message length if known beforehand
2872
- * @returns VertexRanker
2873
- * @throws {Error} If the payload is not a reader or valid buffer
2874
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2875
- */
2876
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1.VertexRanker;
2877
-
2878
- /**
2879
- * Decodes a VertexRanker message from the specified reader or buffer, length delimited.
2880
- * @param reader Reader or buffer to decode from
2881
- * @returns VertexRanker
2882
- * @throws {Error} If the payload is not a reader or valid buffer
2883
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2884
- */
2885
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1.VertexRanker;
2886
-
2887
- /**
2888
- * Verifies a VertexRanker message.
2889
- * @param message Plain object to verify
2890
- * @returns `null` if valid, otherwise the reason why it is not
2891
- */
2892
- public static verify(message: { [k: string]: any }): (string|null);
2893
-
2894
- /**
2895
- * Creates a VertexRanker message from a plain object. Also converts values to their respective internal types.
2896
- * @param object Plain object
2897
- * @returns VertexRanker
2898
- */
2899
- public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1.VertexRanker;
2900
-
2901
- /**
2902
- * Creates a plain object from a VertexRanker message. Also converts values to other types if specified.
2903
- * @param message VertexRanker
2904
- * @param [options] Conversion options
2905
- * @returns Plain object
2906
- */
2907
- public static toObject(message: google.cloud.vectorsearch.v1.VertexRanker, options?: $protobuf.IConversionOptions): { [k: string]: any };
2908
-
2909
- /**
2910
- * Converts this VertexRanker to JSON.
2911
- * @returns JSON object
2912
- */
2913
- public toJSON(): { [k: string]: any };
2914
-
2915
- /**
2916
- * Gets the default type url for VertexRanker
2917
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2918
- * @returns The default type url
2919
- */
2920
- public static getTypeUrl(typeUrlPrefix?: string): string;
2921
- }
2922
-
2923
2687
  /** Properties of a BatchSearchDataObjectsResponse. */
2924
2688
  interface IBatchSearchDataObjectsResponse {
2925
2689
 
@@ -7171,6 +6935,9 @@ export namespace google {
7171
6935
 
7172
6936
  /** DataObject vectors */
7173
6937
  vectors?: ({ [k: string]: google.cloud.vectorsearch.v1beta.IVector }|null);
6938
+
6939
+ /** DataObject etag */
6940
+ etag?: (string|null);
7174
6941
  }
7175
6942
 
7176
6943
  /** Represents a DataObject. */
@@ -7200,6 +6967,9 @@ export namespace google {
7200
6967
  /** DataObject vectors. */
7201
6968
  public vectors: { [k: string]: google.cloud.vectorsearch.v1beta.IVector };
7202
6969
 
6970
+ /** DataObject etag. */
6971
+ public etag: string;
6972
+
7203
6973
  /**
7204
6974
  * Creates a new DataObject instance using the specified properties.
7205
6975
  * @param [properties] Properties to set
@@ -7821,6 +7591,12 @@ export namespace google {
7821
7591
 
7822
7592
  /** SearchHint useKnn */
7823
7593
  useKnn?: (boolean|null);
7594
+
7595
+ /** SearchHint knnHint */
7596
+ knnHint?: (google.cloud.vectorsearch.v1beta.SearchHint.IKnnHint|null);
7597
+
7598
+ /** SearchHint indexHint */
7599
+ indexHint?: (google.cloud.vectorsearch.v1beta.SearchHint.IIndexHint|null);
7824
7600
  }
7825
7601
 
7826
7602
  /** Represents a SearchHint. */
@@ -7838,8 +7614,14 @@ export namespace google {
7838
7614
  /** SearchHint useKnn. */
7839
7615
  public useKnn?: (boolean|null);
7840
7616
 
7617
+ /** SearchHint knnHint. */
7618
+ public knnHint?: (google.cloud.vectorsearch.v1beta.SearchHint.IKnnHint|null);
7619
+
7620
+ /** SearchHint indexHint. */
7621
+ public indexHint?: (google.cloud.vectorsearch.v1beta.SearchHint.IIndexHint|null);
7622
+
7841
7623
  /** SearchHint indexType. */
7842
- public indexType?: ("useIndex"|"useKnn");
7624
+ public indexType?: ("useIndex"|"useKnn"|"knnHint"|"indexHint");
7843
7625
 
7844
7626
  /**
7845
7627
  * Creates a new SearchHint instance using the specified properties.
@@ -7924,6 +7706,9 @@ export namespace google {
7924
7706
  /** Properties of an IndexHint. */
7925
7707
  interface IIndexHint {
7926
7708
 
7709
+ /** IndexHint denseScannParams */
7710
+ denseScannParams?: (google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.IDenseScannParams|null);
7711
+
7927
7712
  /** IndexHint name */
7928
7713
  name?: (string|null);
7929
7714
  }
@@ -7937,9 +7722,15 @@ export namespace google {
7937
7722
  */
7938
7723
  constructor(properties?: google.cloud.vectorsearch.v1beta.SearchHint.IIndexHint);
7939
7724
 
7725
+ /** IndexHint denseScannParams. */
7726
+ public denseScannParams?: (google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.IDenseScannParams|null);
7727
+
7940
7728
  /** IndexHint name. */
7941
7729
  public name: string;
7942
7730
 
7731
+ /** IndexHint params. */
7732
+ public params?: "denseScannParams";
7733
+
7943
7734
  /**
7944
7735
  * Creates a new IndexHint instance using the specified properties.
7945
7736
  * @param [properties] Properties to set
@@ -8017,50 +7808,247 @@ export namespace google {
8017
7808
  */
8018
7809
  public static getTypeUrl(typeUrlPrefix?: string): string;
8019
7810
  }
8020
- }
8021
7811
 
8022
- /** Properties of a Search. */
8023
- interface ISearch {
8024
-
8025
- /** Search vectorSearch */
8026
- vectorSearch?: (google.cloud.vectorsearch.v1beta.IVectorSearch|null);
7812
+ namespace IndexHint {
8027
7813
 
8028
- /** Search semanticSearch */
8029
- semanticSearch?: (google.cloud.vectorsearch.v1beta.ISemanticSearch|null);
7814
+ /** Properties of a DenseScannParams. */
7815
+ interface IDenseScannParams {
8030
7816
 
8031
- /** Search textSearch */
8032
- textSearch?: (google.cloud.vectorsearch.v1beta.ITextSearch|null);
8033
- }
7817
+ /** DenseScannParams searchLeavesPct */
7818
+ searchLeavesPct?: (number|null);
8034
7819
 
8035
- /** Represents a Search. */
8036
- class Search implements ISearch {
7820
+ /** DenseScannParams initialCandidateCount */
7821
+ initialCandidateCount?: (number|null);
7822
+ }
8037
7823
 
8038
- /**
8039
- * Constructs a new Search.
8040
- * @param [properties] Properties to set
8041
- */
8042
- constructor(properties?: google.cloud.vectorsearch.v1beta.ISearch);
7824
+ /** Represents a DenseScannParams. */
7825
+ class DenseScannParams implements IDenseScannParams {
8043
7826
 
8044
- /** Search vectorSearch. */
8045
- public vectorSearch?: (google.cloud.vectorsearch.v1beta.IVectorSearch|null);
7827
+ /**
7828
+ * Constructs a new DenseScannParams.
7829
+ * @param [properties] Properties to set
7830
+ */
7831
+ constructor(properties?: google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.IDenseScannParams);
8046
7832
 
8047
- /** Search semanticSearch. */
8048
- public semanticSearch?: (google.cloud.vectorsearch.v1beta.ISemanticSearch|null);
7833
+ /** DenseScannParams searchLeavesPct. */
7834
+ public searchLeavesPct: number;
8049
7835
 
8050
- /** Search textSearch. */
8051
- public textSearch?: (google.cloud.vectorsearch.v1beta.ITextSearch|null);
7836
+ /** DenseScannParams initialCandidateCount. */
7837
+ public initialCandidateCount: number;
8052
7838
 
8053
- /** Search searchType. */
8054
- public searchType?: ("vectorSearch"|"semanticSearch"|"textSearch");
7839
+ /**
7840
+ * Creates a new DenseScannParams instance using the specified properties.
7841
+ * @param [properties] Properties to set
7842
+ * @returns DenseScannParams instance
7843
+ */
7844
+ public static create(properties?: google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.IDenseScannParams): google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams;
8055
7845
 
8056
- /**
8057
- * Creates a new Search instance using the specified properties.
8058
- * @param [properties] Properties to set
8059
- * @returns Search instance
8060
- */
8061
- public static create(properties?: google.cloud.vectorsearch.v1beta.ISearch): google.cloud.vectorsearch.v1beta.Search;
7846
+ /**
7847
+ * Encodes the specified DenseScannParams message. Does not implicitly {@link google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams.verify|verify} messages.
7848
+ * @param message DenseScannParams message or plain object to encode
7849
+ * @param [writer] Writer to encode to
7850
+ * @returns Writer
7851
+ */
7852
+ public static encode(message: google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.IDenseScannParams, writer?: $protobuf.Writer): $protobuf.Writer;
8062
7853
 
8063
- /**
7854
+ /**
7855
+ * Encodes the specified DenseScannParams message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams.verify|verify} messages.
7856
+ * @param message DenseScannParams message or plain object to encode
7857
+ * @param [writer] Writer to encode to
7858
+ * @returns Writer
7859
+ */
7860
+ public static encodeDelimited(message: google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.IDenseScannParams, writer?: $protobuf.Writer): $protobuf.Writer;
7861
+
7862
+ /**
7863
+ * Decodes a DenseScannParams message from the specified reader or buffer.
7864
+ * @param reader Reader or buffer to decode from
7865
+ * @param [length] Message length if known beforehand
7866
+ * @returns DenseScannParams
7867
+ * @throws {Error} If the payload is not a reader or valid buffer
7868
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7869
+ */
7870
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams;
7871
+
7872
+ /**
7873
+ * Decodes a DenseScannParams message from the specified reader or buffer, length delimited.
7874
+ * @param reader Reader or buffer to decode from
7875
+ * @returns DenseScannParams
7876
+ * @throws {Error} If the payload is not a reader or valid buffer
7877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7878
+ */
7879
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams;
7880
+
7881
+ /**
7882
+ * Verifies a DenseScannParams message.
7883
+ * @param message Plain object to verify
7884
+ * @returns `null` if valid, otherwise the reason why it is not
7885
+ */
7886
+ public static verify(message: { [k: string]: any }): (string|null);
7887
+
7888
+ /**
7889
+ * Creates a DenseScannParams message from a plain object. Also converts values to their respective internal types.
7890
+ * @param object Plain object
7891
+ * @returns DenseScannParams
7892
+ */
7893
+ public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams;
7894
+
7895
+ /**
7896
+ * Creates a plain object from a DenseScannParams message. Also converts values to other types if specified.
7897
+ * @param message DenseScannParams
7898
+ * @param [options] Conversion options
7899
+ * @returns Plain object
7900
+ */
7901
+ public static toObject(message: google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams, options?: $protobuf.IConversionOptions): { [k: string]: any };
7902
+
7903
+ /**
7904
+ * Converts this DenseScannParams to JSON.
7905
+ * @returns JSON object
7906
+ */
7907
+ public toJSON(): { [k: string]: any };
7908
+
7909
+ /**
7910
+ * Gets the default type url for DenseScannParams
7911
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7912
+ * @returns The default type url
7913
+ */
7914
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7915
+ }
7916
+ }
7917
+
7918
+ /** Properties of a KnnHint. */
7919
+ interface IKnnHint {
7920
+ }
7921
+
7922
+ /** Represents a KnnHint. */
7923
+ class KnnHint implements IKnnHint {
7924
+
7925
+ /**
7926
+ * Constructs a new KnnHint.
7927
+ * @param [properties] Properties to set
7928
+ */
7929
+ constructor(properties?: google.cloud.vectorsearch.v1beta.SearchHint.IKnnHint);
7930
+
7931
+ /**
7932
+ * Creates a new KnnHint instance using the specified properties.
7933
+ * @param [properties] Properties to set
7934
+ * @returns KnnHint instance
7935
+ */
7936
+ public static create(properties?: google.cloud.vectorsearch.v1beta.SearchHint.IKnnHint): google.cloud.vectorsearch.v1beta.SearchHint.KnnHint;
7937
+
7938
+ /**
7939
+ * Encodes the specified KnnHint message. Does not implicitly {@link google.cloud.vectorsearch.v1beta.SearchHint.KnnHint.verify|verify} messages.
7940
+ * @param message KnnHint message or plain object to encode
7941
+ * @param [writer] Writer to encode to
7942
+ * @returns Writer
7943
+ */
7944
+ public static encode(message: google.cloud.vectorsearch.v1beta.SearchHint.IKnnHint, writer?: $protobuf.Writer): $protobuf.Writer;
7945
+
7946
+ /**
7947
+ * Encodes the specified KnnHint message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1beta.SearchHint.KnnHint.verify|verify} messages.
7948
+ * @param message KnnHint message or plain object to encode
7949
+ * @param [writer] Writer to encode to
7950
+ * @returns Writer
7951
+ */
7952
+ public static encodeDelimited(message: google.cloud.vectorsearch.v1beta.SearchHint.IKnnHint, writer?: $protobuf.Writer): $protobuf.Writer;
7953
+
7954
+ /**
7955
+ * Decodes a KnnHint message from the specified reader or buffer.
7956
+ * @param reader Reader or buffer to decode from
7957
+ * @param [length] Message length if known beforehand
7958
+ * @returns KnnHint
7959
+ * @throws {Error} If the payload is not a reader or valid buffer
7960
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7961
+ */
7962
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1beta.SearchHint.KnnHint;
7963
+
7964
+ /**
7965
+ * Decodes a KnnHint message from the specified reader or buffer, length delimited.
7966
+ * @param reader Reader or buffer to decode from
7967
+ * @returns KnnHint
7968
+ * @throws {Error} If the payload is not a reader or valid buffer
7969
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7970
+ */
7971
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1beta.SearchHint.KnnHint;
7972
+
7973
+ /**
7974
+ * Verifies a KnnHint message.
7975
+ * @param message Plain object to verify
7976
+ * @returns `null` if valid, otherwise the reason why it is not
7977
+ */
7978
+ public static verify(message: { [k: string]: any }): (string|null);
7979
+
7980
+ /**
7981
+ * Creates a KnnHint message from a plain object. Also converts values to their respective internal types.
7982
+ * @param object Plain object
7983
+ * @returns KnnHint
7984
+ */
7985
+ public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1beta.SearchHint.KnnHint;
7986
+
7987
+ /**
7988
+ * Creates a plain object from a KnnHint message. Also converts values to other types if specified.
7989
+ * @param message KnnHint
7990
+ * @param [options] Conversion options
7991
+ * @returns Plain object
7992
+ */
7993
+ public static toObject(message: google.cloud.vectorsearch.v1beta.SearchHint.KnnHint, options?: $protobuf.IConversionOptions): { [k: string]: any };
7994
+
7995
+ /**
7996
+ * Converts this KnnHint to JSON.
7997
+ * @returns JSON object
7998
+ */
7999
+ public toJSON(): { [k: string]: any };
8000
+
8001
+ /**
8002
+ * Gets the default type url for KnnHint
8003
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8004
+ * @returns The default type url
8005
+ */
8006
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8007
+ }
8008
+ }
8009
+
8010
+ /** Properties of a Search. */
8011
+ interface ISearch {
8012
+
8013
+ /** Search vectorSearch */
8014
+ vectorSearch?: (google.cloud.vectorsearch.v1beta.IVectorSearch|null);
8015
+
8016
+ /** Search semanticSearch */
8017
+ semanticSearch?: (google.cloud.vectorsearch.v1beta.ISemanticSearch|null);
8018
+
8019
+ /** Search textSearch */
8020
+ textSearch?: (google.cloud.vectorsearch.v1beta.ITextSearch|null);
8021
+ }
8022
+
8023
+ /** Represents a Search. */
8024
+ class Search implements ISearch {
8025
+
8026
+ /**
8027
+ * Constructs a new Search.
8028
+ * @param [properties] Properties to set
8029
+ */
8030
+ constructor(properties?: google.cloud.vectorsearch.v1beta.ISearch);
8031
+
8032
+ /** Search vectorSearch. */
8033
+ public vectorSearch?: (google.cloud.vectorsearch.v1beta.IVectorSearch|null);
8034
+
8035
+ /** Search semanticSearch. */
8036
+ public semanticSearch?: (google.cloud.vectorsearch.v1beta.ISemanticSearch|null);
8037
+
8038
+ /** Search textSearch. */
8039
+ public textSearch?: (google.cloud.vectorsearch.v1beta.ITextSearch|null);
8040
+
8041
+ /** Search searchType. */
8042
+ public searchType?: ("vectorSearch"|"semanticSearch"|"textSearch");
8043
+
8044
+ /**
8045
+ * Creates a new Search instance using the specified properties.
8046
+ * @param [properties] Properties to set
8047
+ * @returns Search instance
8048
+ */
8049
+ public static create(properties?: google.cloud.vectorsearch.v1beta.ISearch): google.cloud.vectorsearch.v1beta.Search;
8050
+
8051
+ /**
8064
8052
  * Encodes the specified Search message. Does not implicitly {@link google.cloud.vectorsearch.v1beta.Search.verify|verify} messages.
8065
8053
  * @param message Search message or plain object to encode
8066
8054
  * @param [writer] Writer to encode to
@@ -9731,9 +9719,6 @@ export namespace google {
9731
9719
 
9732
9720
  /** Ranker rrf */
9733
9721
  rrf?: (google.cloud.vectorsearch.v1beta.IReciprocalRankFusion|null);
9734
-
9735
- /** Ranker vertex */
9736
- vertex?: (google.cloud.vectorsearch.v1beta.IVertexRanker|null);
9737
9722
  }
9738
9723
 
9739
9724
  /** Represents a Ranker. */
@@ -9748,11 +9733,8 @@ export namespace google {
9748
9733
  /** Ranker rrf. */
9749
9734
  public rrf?: (google.cloud.vectorsearch.v1beta.IReciprocalRankFusion|null);
9750
9735
 
9751
- /** Ranker vertex. */
9752
- public vertex?: (google.cloud.vectorsearch.v1beta.IVertexRanker|null);
9753
-
9754
9736
  /** Ranker ranker. */
9755
- public ranker?: ("rrf"|"vertex");
9737
+ public ranker?: "rrf";
9756
9738
 
9757
9739
  /**
9758
9740
  * Creates a new Ranker instance using the specified properties.
@@ -9929,121 +9911,6 @@ export namespace google {
9929
9911
  public static getTypeUrl(typeUrlPrefix?: string): string;
9930
9912
  }
9931
9913
 
9932
- /** Properties of a VertexRanker. */
9933
- interface IVertexRanker {
9934
-
9935
- /** VertexRanker query */
9936
- query?: (string|null);
9937
-
9938
- /** VertexRanker titleTemplate */
9939
- titleTemplate?: (string|null);
9940
-
9941
- /** VertexRanker contentTemplate */
9942
- contentTemplate?: (string|null);
9943
-
9944
- /** VertexRanker model */
9945
- model?: (string|null);
9946
- }
9947
-
9948
- /** Represents a VertexRanker. */
9949
- class VertexRanker implements IVertexRanker {
9950
-
9951
- /**
9952
- * Constructs a new VertexRanker.
9953
- * @param [properties] Properties to set
9954
- */
9955
- constructor(properties?: google.cloud.vectorsearch.v1beta.IVertexRanker);
9956
-
9957
- /** VertexRanker query. */
9958
- public query: string;
9959
-
9960
- /** VertexRanker titleTemplate. */
9961
- public titleTemplate: string;
9962
-
9963
- /** VertexRanker contentTemplate. */
9964
- public contentTemplate: string;
9965
-
9966
- /** VertexRanker model. */
9967
- public model: string;
9968
-
9969
- /**
9970
- * Creates a new VertexRanker instance using the specified properties.
9971
- * @param [properties] Properties to set
9972
- * @returns VertexRanker instance
9973
- */
9974
- public static create(properties?: google.cloud.vectorsearch.v1beta.IVertexRanker): google.cloud.vectorsearch.v1beta.VertexRanker;
9975
-
9976
- /**
9977
- * Encodes the specified VertexRanker message. Does not implicitly {@link google.cloud.vectorsearch.v1beta.VertexRanker.verify|verify} messages.
9978
- * @param message VertexRanker message or plain object to encode
9979
- * @param [writer] Writer to encode to
9980
- * @returns Writer
9981
- */
9982
- public static encode(message: google.cloud.vectorsearch.v1beta.IVertexRanker, writer?: $protobuf.Writer): $protobuf.Writer;
9983
-
9984
- /**
9985
- * Encodes the specified VertexRanker message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1beta.VertexRanker.verify|verify} messages.
9986
- * @param message VertexRanker message or plain object to encode
9987
- * @param [writer] Writer to encode to
9988
- * @returns Writer
9989
- */
9990
- public static encodeDelimited(message: google.cloud.vectorsearch.v1beta.IVertexRanker, writer?: $protobuf.Writer): $protobuf.Writer;
9991
-
9992
- /**
9993
- * Decodes a VertexRanker message from the specified reader or buffer.
9994
- * @param reader Reader or buffer to decode from
9995
- * @param [length] Message length if known beforehand
9996
- * @returns VertexRanker
9997
- * @throws {Error} If the payload is not a reader or valid buffer
9998
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9999
- */
10000
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1beta.VertexRanker;
10001
-
10002
- /**
10003
- * Decodes a VertexRanker message from the specified reader or buffer, length delimited.
10004
- * @param reader Reader or buffer to decode from
10005
- * @returns VertexRanker
10006
- * @throws {Error} If the payload is not a reader or valid buffer
10007
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
10008
- */
10009
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1beta.VertexRanker;
10010
-
10011
- /**
10012
- * Verifies a VertexRanker message.
10013
- * @param message Plain object to verify
10014
- * @returns `null` if valid, otherwise the reason why it is not
10015
- */
10016
- public static verify(message: { [k: string]: any }): (string|null);
10017
-
10018
- /**
10019
- * Creates a VertexRanker message from a plain object. Also converts values to their respective internal types.
10020
- * @param object Plain object
10021
- * @returns VertexRanker
10022
- */
10023
- public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1beta.VertexRanker;
10024
-
10025
- /**
10026
- * Creates a plain object from a VertexRanker message. Also converts values to other types if specified.
10027
- * @param message VertexRanker
10028
- * @param [options] Conversion options
10029
- * @returns Plain object
10030
- */
10031
- public static toObject(message: google.cloud.vectorsearch.v1beta.VertexRanker, options?: $protobuf.IConversionOptions): { [k: string]: any };
10032
-
10033
- /**
10034
- * Converts this VertexRanker to JSON.
10035
- * @returns JSON object
10036
- */
10037
- public toJSON(): { [k: string]: any };
10038
-
10039
- /**
10040
- * Gets the default type url for VertexRanker
10041
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10042
- * @returns The default type url
10043
- */
10044
- public static getTypeUrl(typeUrlPrefix?: string): string;
10045
- }
10046
-
10047
9914
  /** Properties of a BatchSearchDataObjectsResponse. */
10048
9915
  interface IBatchSearchDataObjectsResponse {
10049
9916
 
@@ -11142,6 +11009,9 @@ export namespace google {
11142
11009
 
11143
11010
  /** DeleteDataObjectRequest name */
11144
11011
  name?: (string|null);
11012
+
11013
+ /** DeleteDataObjectRequest etag */
11014
+ etag?: (string|null);
11145
11015
  }
11146
11016
 
11147
11017
  /** Represents a DeleteDataObjectRequest. */
@@ -11156,6 +11026,9 @@ export namespace google {
11156
11026
  /** DeleteDataObjectRequest name. */
11157
11027
  public name: string;
11158
11028
 
11029
+ /** DeleteDataObjectRequest etag. */
11030
+ public etag: string;
11031
+
11159
11032
  /**
11160
11033
  * Creates a new DeleteDataObjectRequest instance using the specified properties.
11161
11034
  * @param [properties] Properties to set
@@ -12694,6 +12567,12 @@ export namespace google {
12694
12567
  /** Properties of an Index. */
12695
12568
  interface IIndex {
12696
12569
 
12570
+ /** Index dedicatedInfrastructure */
12571
+ dedicatedInfrastructure?: (google.cloud.vectorsearch.v1beta.IDedicatedInfrastructure|null);
12572
+
12573
+ /** Index denseScann */
12574
+ denseScann?: (google.cloud.vectorsearch.v1beta.IDenseScannIndex|null);
12575
+
12697
12576
  /** Index name */
12698
12577
  name?: (string|null);
12699
12578
 
@@ -12734,6 +12613,12 @@ export namespace google {
12734
12613
  */
12735
12614
  constructor(properties?: google.cloud.vectorsearch.v1beta.IIndex);
12736
12615
 
12616
+ /** Index dedicatedInfrastructure. */
12617
+ public dedicatedInfrastructure?: (google.cloud.vectorsearch.v1beta.IDedicatedInfrastructure|null);
12618
+
12619
+ /** Index denseScann. */
12620
+ public denseScann?: (google.cloud.vectorsearch.v1beta.IDenseScannIndex|null);
12621
+
12737
12622
  /** Index name. */
12738
12623
  public name: string;
12739
12624
 
@@ -12764,6 +12649,12 @@ export namespace google {
12764
12649
  /** Index storeFields. */
12765
12650
  public storeFields: string[];
12766
12651
 
12652
+ /** Index infraType. */
12653
+ public infraType?: "dedicatedInfrastructure";
12654
+
12655
+ /** Index indexType. */
12656
+ public indexType?: "denseScann";
12657
+
12767
12658
  /**
12768
12659
  * Creates a new Index instance using the specified properties.
12769
12660
  * @param [properties] Properties to set
@@ -14358,6 +14249,329 @@ export namespace google {
14358
14249
  */
14359
14250
  public static getTypeUrl(typeUrlPrefix?: string): string;
14360
14251
  }
14252
+
14253
+ /** Properties of a DedicatedInfrastructure. */
14254
+ interface IDedicatedInfrastructure {
14255
+
14256
+ /** DedicatedInfrastructure mode */
14257
+ mode?: (google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.Mode|keyof typeof google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.Mode|null);
14258
+
14259
+ /** DedicatedInfrastructure autoscalingSpec */
14260
+ autoscalingSpec?: (google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.IAutoscalingSpec|null);
14261
+ }
14262
+
14263
+ /** Represents a DedicatedInfrastructure. */
14264
+ class DedicatedInfrastructure implements IDedicatedInfrastructure {
14265
+
14266
+ /**
14267
+ * Constructs a new DedicatedInfrastructure.
14268
+ * @param [properties] Properties to set
14269
+ */
14270
+ constructor(properties?: google.cloud.vectorsearch.v1beta.IDedicatedInfrastructure);
14271
+
14272
+ /** DedicatedInfrastructure mode. */
14273
+ public mode?: (google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.Mode|keyof typeof google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.Mode|null);
14274
+
14275
+ /** DedicatedInfrastructure autoscalingSpec. */
14276
+ public autoscalingSpec?: (google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.IAutoscalingSpec|null);
14277
+
14278
+ /**
14279
+ * Creates a new DedicatedInfrastructure instance using the specified properties.
14280
+ * @param [properties] Properties to set
14281
+ * @returns DedicatedInfrastructure instance
14282
+ */
14283
+ public static create(properties?: google.cloud.vectorsearch.v1beta.IDedicatedInfrastructure): google.cloud.vectorsearch.v1beta.DedicatedInfrastructure;
14284
+
14285
+ /**
14286
+ * Encodes the specified DedicatedInfrastructure message. Does not implicitly {@link google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.verify|verify} messages.
14287
+ * @param message DedicatedInfrastructure message or plain object to encode
14288
+ * @param [writer] Writer to encode to
14289
+ * @returns Writer
14290
+ */
14291
+ public static encode(message: google.cloud.vectorsearch.v1beta.IDedicatedInfrastructure, writer?: $protobuf.Writer): $protobuf.Writer;
14292
+
14293
+ /**
14294
+ * Encodes the specified DedicatedInfrastructure message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.verify|verify} messages.
14295
+ * @param message DedicatedInfrastructure message or plain object to encode
14296
+ * @param [writer] Writer to encode to
14297
+ * @returns Writer
14298
+ */
14299
+ public static encodeDelimited(message: google.cloud.vectorsearch.v1beta.IDedicatedInfrastructure, writer?: $protobuf.Writer): $protobuf.Writer;
14300
+
14301
+ /**
14302
+ * Decodes a DedicatedInfrastructure message from the specified reader or buffer.
14303
+ * @param reader Reader or buffer to decode from
14304
+ * @param [length] Message length if known beforehand
14305
+ * @returns DedicatedInfrastructure
14306
+ * @throws {Error} If the payload is not a reader or valid buffer
14307
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14308
+ */
14309
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1beta.DedicatedInfrastructure;
14310
+
14311
+ /**
14312
+ * Decodes a DedicatedInfrastructure message from the specified reader or buffer, length delimited.
14313
+ * @param reader Reader or buffer to decode from
14314
+ * @returns DedicatedInfrastructure
14315
+ * @throws {Error} If the payload is not a reader or valid buffer
14316
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14317
+ */
14318
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1beta.DedicatedInfrastructure;
14319
+
14320
+ /**
14321
+ * Verifies a DedicatedInfrastructure message.
14322
+ * @param message Plain object to verify
14323
+ * @returns `null` if valid, otherwise the reason why it is not
14324
+ */
14325
+ public static verify(message: { [k: string]: any }): (string|null);
14326
+
14327
+ /**
14328
+ * Creates a DedicatedInfrastructure message from a plain object. Also converts values to their respective internal types.
14329
+ * @param object Plain object
14330
+ * @returns DedicatedInfrastructure
14331
+ */
14332
+ public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1beta.DedicatedInfrastructure;
14333
+
14334
+ /**
14335
+ * Creates a plain object from a DedicatedInfrastructure message. Also converts values to other types if specified.
14336
+ * @param message DedicatedInfrastructure
14337
+ * @param [options] Conversion options
14338
+ * @returns Plain object
14339
+ */
14340
+ public static toObject(message: google.cloud.vectorsearch.v1beta.DedicatedInfrastructure, options?: $protobuf.IConversionOptions): { [k: string]: any };
14341
+
14342
+ /**
14343
+ * Converts this DedicatedInfrastructure to JSON.
14344
+ * @returns JSON object
14345
+ */
14346
+ public toJSON(): { [k: string]: any };
14347
+
14348
+ /**
14349
+ * Gets the default type url for DedicatedInfrastructure
14350
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14351
+ * @returns The default type url
14352
+ */
14353
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14354
+ }
14355
+
14356
+ namespace DedicatedInfrastructure {
14357
+
14358
+ /** Properties of an AutoscalingSpec. */
14359
+ interface IAutoscalingSpec {
14360
+
14361
+ /** AutoscalingSpec minReplicaCount */
14362
+ minReplicaCount?: (number|null);
14363
+
14364
+ /** AutoscalingSpec maxReplicaCount */
14365
+ maxReplicaCount?: (number|null);
14366
+ }
14367
+
14368
+ /** Represents an AutoscalingSpec. */
14369
+ class AutoscalingSpec implements IAutoscalingSpec {
14370
+
14371
+ /**
14372
+ * Constructs a new AutoscalingSpec.
14373
+ * @param [properties] Properties to set
14374
+ */
14375
+ constructor(properties?: google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.IAutoscalingSpec);
14376
+
14377
+ /** AutoscalingSpec minReplicaCount. */
14378
+ public minReplicaCount: number;
14379
+
14380
+ /** AutoscalingSpec maxReplicaCount. */
14381
+ public maxReplicaCount: number;
14382
+
14383
+ /**
14384
+ * Creates a new AutoscalingSpec instance using the specified properties.
14385
+ * @param [properties] Properties to set
14386
+ * @returns AutoscalingSpec instance
14387
+ */
14388
+ public static create(properties?: google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.IAutoscalingSpec): google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.AutoscalingSpec;
14389
+
14390
+ /**
14391
+ * Encodes the specified AutoscalingSpec message. Does not implicitly {@link google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.AutoscalingSpec.verify|verify} messages.
14392
+ * @param message AutoscalingSpec message or plain object to encode
14393
+ * @param [writer] Writer to encode to
14394
+ * @returns Writer
14395
+ */
14396
+ public static encode(message: google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.IAutoscalingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
14397
+
14398
+ /**
14399
+ * Encodes the specified AutoscalingSpec message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.AutoscalingSpec.verify|verify} messages.
14400
+ * @param message AutoscalingSpec message or plain object to encode
14401
+ * @param [writer] Writer to encode to
14402
+ * @returns Writer
14403
+ */
14404
+ public static encodeDelimited(message: google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.IAutoscalingSpec, writer?: $protobuf.Writer): $protobuf.Writer;
14405
+
14406
+ /**
14407
+ * Decodes an AutoscalingSpec message from the specified reader or buffer.
14408
+ * @param reader Reader or buffer to decode from
14409
+ * @param [length] Message length if known beforehand
14410
+ * @returns AutoscalingSpec
14411
+ * @throws {Error} If the payload is not a reader or valid buffer
14412
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14413
+ */
14414
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.AutoscalingSpec;
14415
+
14416
+ /**
14417
+ * Decodes an AutoscalingSpec message from the specified reader or buffer, length delimited.
14418
+ * @param reader Reader or buffer to decode from
14419
+ * @returns AutoscalingSpec
14420
+ * @throws {Error} If the payload is not a reader or valid buffer
14421
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14422
+ */
14423
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.AutoscalingSpec;
14424
+
14425
+ /**
14426
+ * Verifies an AutoscalingSpec message.
14427
+ * @param message Plain object to verify
14428
+ * @returns `null` if valid, otherwise the reason why it is not
14429
+ */
14430
+ public static verify(message: { [k: string]: any }): (string|null);
14431
+
14432
+ /**
14433
+ * Creates an AutoscalingSpec message from a plain object. Also converts values to their respective internal types.
14434
+ * @param object Plain object
14435
+ * @returns AutoscalingSpec
14436
+ */
14437
+ public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.AutoscalingSpec;
14438
+
14439
+ /**
14440
+ * Creates a plain object from an AutoscalingSpec message. Also converts values to other types if specified.
14441
+ * @param message AutoscalingSpec
14442
+ * @param [options] Conversion options
14443
+ * @returns Plain object
14444
+ */
14445
+ public static toObject(message: google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.AutoscalingSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
14446
+
14447
+ /**
14448
+ * Converts this AutoscalingSpec to JSON.
14449
+ * @returns JSON object
14450
+ */
14451
+ public toJSON(): { [k: string]: any };
14452
+
14453
+ /**
14454
+ * Gets the default type url for AutoscalingSpec
14455
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14456
+ * @returns The default type url
14457
+ */
14458
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14459
+ }
14460
+
14461
+ /** Mode enum. */
14462
+ enum Mode {
14463
+ MODE_UNSPECIFIED = 0,
14464
+ STORAGE_OPTIMIZED = 1,
14465
+ PERFORMANCE_OPTIMIZED = 2
14466
+ }
14467
+ }
14468
+
14469
+ /** Properties of a DenseScannIndex. */
14470
+ interface IDenseScannIndex {
14471
+
14472
+ /** DenseScannIndex featureNormType */
14473
+ featureNormType?: (google.cloud.vectorsearch.v1beta.DenseScannIndex.FeatureNormType|keyof typeof google.cloud.vectorsearch.v1beta.DenseScannIndex.FeatureNormType|null);
14474
+ }
14475
+
14476
+ /** Represents a DenseScannIndex. */
14477
+ class DenseScannIndex implements IDenseScannIndex {
14478
+
14479
+ /**
14480
+ * Constructs a new DenseScannIndex.
14481
+ * @param [properties] Properties to set
14482
+ */
14483
+ constructor(properties?: google.cloud.vectorsearch.v1beta.IDenseScannIndex);
14484
+
14485
+ /** DenseScannIndex featureNormType. */
14486
+ public featureNormType: (google.cloud.vectorsearch.v1beta.DenseScannIndex.FeatureNormType|keyof typeof google.cloud.vectorsearch.v1beta.DenseScannIndex.FeatureNormType);
14487
+
14488
+ /**
14489
+ * Creates a new DenseScannIndex instance using the specified properties.
14490
+ * @param [properties] Properties to set
14491
+ * @returns DenseScannIndex instance
14492
+ */
14493
+ public static create(properties?: google.cloud.vectorsearch.v1beta.IDenseScannIndex): google.cloud.vectorsearch.v1beta.DenseScannIndex;
14494
+
14495
+ /**
14496
+ * Encodes the specified DenseScannIndex message. Does not implicitly {@link google.cloud.vectorsearch.v1beta.DenseScannIndex.verify|verify} messages.
14497
+ * @param message DenseScannIndex message or plain object to encode
14498
+ * @param [writer] Writer to encode to
14499
+ * @returns Writer
14500
+ */
14501
+ public static encode(message: google.cloud.vectorsearch.v1beta.IDenseScannIndex, writer?: $protobuf.Writer): $protobuf.Writer;
14502
+
14503
+ /**
14504
+ * Encodes the specified DenseScannIndex message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1beta.DenseScannIndex.verify|verify} messages.
14505
+ * @param message DenseScannIndex message or plain object to encode
14506
+ * @param [writer] Writer to encode to
14507
+ * @returns Writer
14508
+ */
14509
+ public static encodeDelimited(message: google.cloud.vectorsearch.v1beta.IDenseScannIndex, writer?: $protobuf.Writer): $protobuf.Writer;
14510
+
14511
+ /**
14512
+ * Decodes a DenseScannIndex message from the specified reader or buffer.
14513
+ * @param reader Reader or buffer to decode from
14514
+ * @param [length] Message length if known beforehand
14515
+ * @returns DenseScannIndex
14516
+ * @throws {Error} If the payload is not a reader or valid buffer
14517
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14518
+ */
14519
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1beta.DenseScannIndex;
14520
+
14521
+ /**
14522
+ * Decodes a DenseScannIndex message from the specified reader or buffer, length delimited.
14523
+ * @param reader Reader or buffer to decode from
14524
+ * @returns DenseScannIndex
14525
+ * @throws {Error} If the payload is not a reader or valid buffer
14526
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14527
+ */
14528
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1beta.DenseScannIndex;
14529
+
14530
+ /**
14531
+ * Verifies a DenseScannIndex message.
14532
+ * @param message Plain object to verify
14533
+ * @returns `null` if valid, otherwise the reason why it is not
14534
+ */
14535
+ public static verify(message: { [k: string]: any }): (string|null);
14536
+
14537
+ /**
14538
+ * Creates a DenseScannIndex message from a plain object. Also converts values to their respective internal types.
14539
+ * @param object Plain object
14540
+ * @returns DenseScannIndex
14541
+ */
14542
+ public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1beta.DenseScannIndex;
14543
+
14544
+ /**
14545
+ * Creates a plain object from a DenseScannIndex message. Also converts values to other types if specified.
14546
+ * @param message DenseScannIndex
14547
+ * @param [options] Conversion options
14548
+ * @returns Plain object
14549
+ */
14550
+ public static toObject(message: google.cloud.vectorsearch.v1beta.DenseScannIndex, options?: $protobuf.IConversionOptions): { [k: string]: any };
14551
+
14552
+ /**
14553
+ * Converts this DenseScannIndex to JSON.
14554
+ * @returns JSON object
14555
+ */
14556
+ public toJSON(): { [k: string]: any };
14557
+
14558
+ /**
14559
+ * Gets the default type url for DenseScannIndex
14560
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14561
+ * @returns The default type url
14562
+ */
14563
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14564
+ }
14565
+
14566
+ namespace DenseScannIndex {
14567
+
14568
+ /** FeatureNormType enum. */
14569
+ enum FeatureNormType {
14570
+ FEATURE_NORM_TYPE_UNSPECIFIED = 0,
14571
+ NONE = 1,
14572
+ UNIT_L2_NORM = 2
14573
+ }
14574
+ }
14361
14575
  }
14362
14576
  }
14363
14577
  }