@google-cloud/discoveryengine 2.4.0 → 2.5.1
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/README.md +334 -416
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +152 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +128 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +128 -4
- package/build/protos/protos.d.ts +829 -518
- package/build/protos/protos.js +2459 -1694
- package/build/protos/protos.json +539 -194
- package/build/src/v1/identity_mapping_store_service_client.js +5 -5
- package/build/src/v1/search_service_client.d.ts +558 -0
- package/build/src/v1/search_service_client.js +372 -0
- package/build/src/v1alpha/search_service_client.d.ts +210 -12
- package/build/src/v1alpha/search_service_client.js +140 -8
- package/build/src/v1beta/search_service_client.d.ts +420 -24
- package/build/src/v1beta/search_service_client.js +280 -16
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
@@ -5089,6 +5089,12 @@ export namespace google {
|
|
5089
5089
|
|
5090
5090
|
/** SearchRequest relevanceScoreSpec */
|
5091
5091
|
relevanceScoreSpec?: (google.cloud.discoveryengine.v1.SearchRequest.IRelevanceScoreSpec|null);
|
5092
|
+
|
5093
|
+
/** SearchRequest rankingExpression */
|
5094
|
+
rankingExpression?: (string|null);
|
5095
|
+
|
5096
|
+
/** SearchRequest rankingExpressionBackend */
|
5097
|
+
rankingExpressionBackend?: (google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|null);
|
5092
5098
|
}
|
5093
5099
|
|
5094
5100
|
/** Represents a SearchRequest. */
|
@@ -5187,6 +5193,12 @@ export namespace google {
|
|
5187
5193
|
/** SearchRequest relevanceScoreSpec. */
|
5188
5194
|
public relevanceScoreSpec?: (google.cloud.discoveryengine.v1.SearchRequest.IRelevanceScoreSpec|null);
|
5189
5195
|
|
5196
|
+
/** SearchRequest rankingExpression. */
|
5197
|
+
public rankingExpression: string;
|
5198
|
+
|
5199
|
+
/** SearchRequest rankingExpressionBackend. */
|
5200
|
+
public rankingExpressionBackend: (google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend);
|
5201
|
+
|
5190
5202
|
/**
|
5191
5203
|
* Creates a new SearchRequest instance using the specified properties.
|
5192
5204
|
* @param [properties] Properties to set
|
@@ -7634,6 +7646,13 @@ export namespace google {
|
|
7634
7646
|
MEDIUM = 3,
|
7635
7647
|
HIGH = 4
|
7636
7648
|
}
|
7649
|
+
|
7650
|
+
/** RankingExpressionBackend enum. */
|
7651
|
+
enum RankingExpressionBackend {
|
7652
|
+
RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0,
|
7653
|
+
RANK_BY_EMBEDDING = 3,
|
7654
|
+
RANK_BY_FORMULA = 4
|
7655
|
+
}
|
7637
7656
|
}
|
7638
7657
|
|
7639
7658
|
/** Properties of a SearchResponse. */
|
@@ -7809,6 +7828,9 @@ export namespace google {
|
|
7809
7828
|
|
7810
7829
|
/** SearchResult modelScores */
|
7811
7830
|
modelScores?: ({ [k: string]: google.cloud.discoveryengine.v1.IDoubleList }|null);
|
7831
|
+
|
7832
|
+
/** SearchResult rankSignals */
|
7833
|
+
rankSignals?: (google.cloud.discoveryengine.v1.SearchResponse.SearchResult.IRankSignals|null);
|
7812
7834
|
}
|
7813
7835
|
|
7814
7836
|
/** Represents a SearchResult. */
|
@@ -7832,6 +7854,9 @@ export namespace google {
|
|
7832
7854
|
/** SearchResult modelScores. */
|
7833
7855
|
public modelScores: { [k: string]: google.cloud.discoveryengine.v1.IDoubleList };
|
7834
7856
|
|
7857
|
+
/** SearchResult rankSignals. */
|
7858
|
+
public rankSignals?: (google.cloud.discoveryengine.v1.SearchResponse.SearchResult.IRankSignals|null);
|
7859
|
+
|
7835
7860
|
/**
|
7836
7861
|
* Creates a new SearchResult instance using the specified properties.
|
7837
7862
|
* @param [properties] Properties to set
|
@@ -7910,6 +7935,260 @@ export namespace google {
|
|
7910
7935
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
7911
7936
|
}
|
7912
7937
|
|
7938
|
+
namespace SearchResult {
|
7939
|
+
|
7940
|
+
/** Properties of a RankSignals. */
|
7941
|
+
interface IRankSignals {
|
7942
|
+
|
7943
|
+
/** RankSignals keywordSimilarityScore */
|
7944
|
+
keywordSimilarityScore?: (number|null);
|
7945
|
+
|
7946
|
+
/** RankSignals relevanceScore */
|
7947
|
+
relevanceScore?: (number|null);
|
7948
|
+
|
7949
|
+
/** RankSignals semanticSimilarityScore */
|
7950
|
+
semanticSimilarityScore?: (number|null);
|
7951
|
+
|
7952
|
+
/** RankSignals pctrRank */
|
7953
|
+
pctrRank?: (number|null);
|
7954
|
+
|
7955
|
+
/** RankSignals topicalityRank */
|
7956
|
+
topicalityRank?: (number|null);
|
7957
|
+
|
7958
|
+
/** RankSignals documentAge */
|
7959
|
+
documentAge?: (number|null);
|
7960
|
+
|
7961
|
+
/** RankSignals boostingFactor */
|
7962
|
+
boostingFactor?: (number|null);
|
7963
|
+
|
7964
|
+
/** RankSignals defaultRank */
|
7965
|
+
defaultRank?: (number|null);
|
7966
|
+
|
7967
|
+
/** RankSignals customSignals */
|
7968
|
+
customSignals?: (google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.ICustomSignal[]|null);
|
7969
|
+
}
|
7970
|
+
|
7971
|
+
/** Represents a RankSignals. */
|
7972
|
+
class RankSignals implements IRankSignals {
|
7973
|
+
|
7974
|
+
/**
|
7975
|
+
* Constructs a new RankSignals.
|
7976
|
+
* @param [properties] Properties to set
|
7977
|
+
*/
|
7978
|
+
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.IRankSignals);
|
7979
|
+
|
7980
|
+
/** RankSignals keywordSimilarityScore. */
|
7981
|
+
public keywordSimilarityScore?: (number|null);
|
7982
|
+
|
7983
|
+
/** RankSignals relevanceScore. */
|
7984
|
+
public relevanceScore?: (number|null);
|
7985
|
+
|
7986
|
+
/** RankSignals semanticSimilarityScore. */
|
7987
|
+
public semanticSimilarityScore?: (number|null);
|
7988
|
+
|
7989
|
+
/** RankSignals pctrRank. */
|
7990
|
+
public pctrRank?: (number|null);
|
7991
|
+
|
7992
|
+
/** RankSignals topicalityRank. */
|
7993
|
+
public topicalityRank?: (number|null);
|
7994
|
+
|
7995
|
+
/** RankSignals documentAge. */
|
7996
|
+
public documentAge?: (number|null);
|
7997
|
+
|
7998
|
+
/** RankSignals boostingFactor. */
|
7999
|
+
public boostingFactor?: (number|null);
|
8000
|
+
|
8001
|
+
/** RankSignals defaultRank. */
|
8002
|
+
public defaultRank: number;
|
8003
|
+
|
8004
|
+
/** RankSignals customSignals. */
|
8005
|
+
public customSignals: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.ICustomSignal[];
|
8006
|
+
|
8007
|
+
/**
|
8008
|
+
* Creates a new RankSignals instance using the specified properties.
|
8009
|
+
* @param [properties] Properties to set
|
8010
|
+
* @returns RankSignals instance
|
8011
|
+
*/
|
8012
|
+
public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.IRankSignals): google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals;
|
8013
|
+
|
8014
|
+
/**
|
8015
|
+
* Encodes the specified RankSignals message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.verify|verify} messages.
|
8016
|
+
* @param message RankSignals message or plain object to encode
|
8017
|
+
* @param [writer] Writer to encode to
|
8018
|
+
* @returns Writer
|
8019
|
+
*/
|
8020
|
+
public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.IRankSignals, writer?: $protobuf.Writer): $protobuf.Writer;
|
8021
|
+
|
8022
|
+
/**
|
8023
|
+
* Encodes the specified RankSignals message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.verify|verify} messages.
|
8024
|
+
* @param message RankSignals message or plain object to encode
|
8025
|
+
* @param [writer] Writer to encode to
|
8026
|
+
* @returns Writer
|
8027
|
+
*/
|
8028
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.IRankSignals, writer?: $protobuf.Writer): $protobuf.Writer;
|
8029
|
+
|
8030
|
+
/**
|
8031
|
+
* Decodes a RankSignals message from the specified reader or buffer.
|
8032
|
+
* @param reader Reader or buffer to decode from
|
8033
|
+
* @param [length] Message length if known beforehand
|
8034
|
+
* @returns RankSignals
|
8035
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
8036
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8037
|
+
*/
|
8038
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals;
|
8039
|
+
|
8040
|
+
/**
|
8041
|
+
* Decodes a RankSignals message from the specified reader or buffer, length delimited.
|
8042
|
+
* @param reader Reader or buffer to decode from
|
8043
|
+
* @returns RankSignals
|
8044
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
8045
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8046
|
+
*/
|
8047
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals;
|
8048
|
+
|
8049
|
+
/**
|
8050
|
+
* Verifies a RankSignals message.
|
8051
|
+
* @param message Plain object to verify
|
8052
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
8053
|
+
*/
|
8054
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
8055
|
+
|
8056
|
+
/**
|
8057
|
+
* Creates a RankSignals message from a plain object. Also converts values to their respective internal types.
|
8058
|
+
* @param object Plain object
|
8059
|
+
* @returns RankSignals
|
8060
|
+
*/
|
8061
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals;
|
8062
|
+
|
8063
|
+
/**
|
8064
|
+
* Creates a plain object from a RankSignals message. Also converts values to other types if specified.
|
8065
|
+
* @param message RankSignals
|
8066
|
+
* @param [options] Conversion options
|
8067
|
+
* @returns Plain object
|
8068
|
+
*/
|
8069
|
+
public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8070
|
+
|
8071
|
+
/**
|
8072
|
+
* Converts this RankSignals to JSON.
|
8073
|
+
* @returns JSON object
|
8074
|
+
*/
|
8075
|
+
public toJSON(): { [k: string]: any };
|
8076
|
+
|
8077
|
+
/**
|
8078
|
+
* Gets the default type url for RankSignals
|
8079
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8080
|
+
* @returns The default type url
|
8081
|
+
*/
|
8082
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
8083
|
+
}
|
8084
|
+
|
8085
|
+
namespace RankSignals {
|
8086
|
+
|
8087
|
+
/** Properties of a CustomSignal. */
|
8088
|
+
interface ICustomSignal {
|
8089
|
+
|
8090
|
+
/** CustomSignal name */
|
8091
|
+
name?: (string|null);
|
8092
|
+
|
8093
|
+
/** CustomSignal value */
|
8094
|
+
value?: (number|null);
|
8095
|
+
}
|
8096
|
+
|
8097
|
+
/** Represents a CustomSignal. */
|
8098
|
+
class CustomSignal implements ICustomSignal {
|
8099
|
+
|
8100
|
+
/**
|
8101
|
+
* Constructs a new CustomSignal.
|
8102
|
+
* @param [properties] Properties to set
|
8103
|
+
*/
|
8104
|
+
constructor(properties?: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.ICustomSignal);
|
8105
|
+
|
8106
|
+
/** CustomSignal name. */
|
8107
|
+
public name: string;
|
8108
|
+
|
8109
|
+
/** CustomSignal value. */
|
8110
|
+
public value: number;
|
8111
|
+
|
8112
|
+
/**
|
8113
|
+
* Creates a new CustomSignal instance using the specified properties.
|
8114
|
+
* @param [properties] Properties to set
|
8115
|
+
* @returns CustomSignal instance
|
8116
|
+
*/
|
8117
|
+
public static create(properties?: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.ICustomSignal): google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
8118
|
+
|
8119
|
+
/**
|
8120
|
+
* Encodes the specified CustomSignal message. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal.verify|verify} messages.
|
8121
|
+
* @param message CustomSignal message or plain object to encode
|
8122
|
+
* @param [writer] Writer to encode to
|
8123
|
+
* @returns Writer
|
8124
|
+
*/
|
8125
|
+
public static encode(message: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.ICustomSignal, writer?: $protobuf.Writer): $protobuf.Writer;
|
8126
|
+
|
8127
|
+
/**
|
8128
|
+
* Encodes the specified CustomSignal message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal.verify|verify} messages.
|
8129
|
+
* @param message CustomSignal message or plain object to encode
|
8130
|
+
* @param [writer] Writer to encode to
|
8131
|
+
* @returns Writer
|
8132
|
+
*/
|
8133
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.ICustomSignal, writer?: $protobuf.Writer): $protobuf.Writer;
|
8134
|
+
|
8135
|
+
/**
|
8136
|
+
* Decodes a CustomSignal message from the specified reader or buffer.
|
8137
|
+
* @param reader Reader or buffer to decode from
|
8138
|
+
* @param [length] Message length if known beforehand
|
8139
|
+
* @returns CustomSignal
|
8140
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
8141
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8142
|
+
*/
|
8143
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
8144
|
+
|
8145
|
+
/**
|
8146
|
+
* Decodes a CustomSignal message from the specified reader or buffer, length delimited.
|
8147
|
+
* @param reader Reader or buffer to decode from
|
8148
|
+
* @returns CustomSignal
|
8149
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
8150
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8151
|
+
*/
|
8152
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
8153
|
+
|
8154
|
+
/**
|
8155
|
+
* Verifies a CustomSignal message.
|
8156
|
+
* @param message Plain object to verify
|
8157
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
8158
|
+
*/
|
8159
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
8160
|
+
|
8161
|
+
/**
|
8162
|
+
* Creates a CustomSignal message from a plain object. Also converts values to their respective internal types.
|
8163
|
+
* @param object Plain object
|
8164
|
+
* @returns CustomSignal
|
8165
|
+
*/
|
8166
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
8167
|
+
|
8168
|
+
/**
|
8169
|
+
* Creates a plain object from a CustomSignal message. Also converts values to other types if specified.
|
8170
|
+
* @param message CustomSignal
|
8171
|
+
* @param [options] Conversion options
|
8172
|
+
* @returns Plain object
|
8173
|
+
*/
|
8174
|
+
public static toObject(message: google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8175
|
+
|
8176
|
+
/**
|
8177
|
+
* Converts this CustomSignal to JSON.
|
8178
|
+
* @returns JSON object
|
8179
|
+
*/
|
8180
|
+
public toJSON(): { [k: string]: any };
|
8181
|
+
|
8182
|
+
/**
|
8183
|
+
* Gets the default type url for CustomSignal
|
8184
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8185
|
+
* @returns The default type url
|
8186
|
+
*/
|
8187
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
8188
|
+
}
|
8189
|
+
}
|
8190
|
+
}
|
8191
|
+
|
7913
8192
|
/** Properties of a Facet. */
|
7914
8193
|
interface IFacet {
|
7915
8194
|
|
@@ -62886,6 +63165,9 @@ export namespace google {
|
|
62886
63165
|
/** SearchRequest rankingExpression */
|
62887
63166
|
rankingExpression?: (string|null);
|
62888
63167
|
|
63168
|
+
/** SearchRequest rankingExpressionBackend */
|
63169
|
+
rankingExpressionBackend?: (google.cloud.discoveryengine.v1alpha.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.RankingExpressionBackend|null);
|
63170
|
+
|
62889
63171
|
/** SearchRequest safeSearch */
|
62890
63172
|
safeSearch?: (boolean|null);
|
62891
63173
|
|
@@ -62989,6 +63271,9 @@ export namespace google {
|
|
62989
63271
|
/** SearchRequest rankingExpression. */
|
62990
63272
|
public rankingExpression: string;
|
62991
63273
|
|
63274
|
+
/** SearchRequest rankingExpressionBackend. */
|
63275
|
+
public rankingExpressionBackend: (google.cloud.discoveryengine.v1alpha.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1alpha.SearchRequest.RankingExpressionBackend);
|
63276
|
+
|
62992
63277
|
/** SearchRequest safeSearch. */
|
62993
63278
|
public safeSearch: boolean;
|
62994
63279
|
|
@@ -65547,6 +65832,13 @@ export namespace google {
|
|
65547
65832
|
MEDIUM = 3,
|
65548
65833
|
HIGH = 4
|
65549
65834
|
}
|
65835
|
+
|
65836
|
+
/** RankingExpressionBackend enum. */
|
65837
|
+
enum RankingExpressionBackend {
|
65838
|
+
RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0,
|
65839
|
+
RANK_BY_EMBEDDING = 3,
|
65840
|
+
RANK_BY_FORMULA = 4
|
65841
|
+
}
|
65550
65842
|
}
|
65551
65843
|
|
65552
65844
|
/** Properties of a SearchResponse. */
|
@@ -65746,6 +66038,9 @@ export namespace google {
|
|
65746
66038
|
|
65747
66039
|
/** SearchResult modelScores */
|
65748
66040
|
modelScores?: ({ [k: string]: google.cloud.discoveryengine.v1alpha.IDoubleList }|null);
|
66041
|
+
|
66042
|
+
/** SearchResult rankSignals */
|
66043
|
+
rankSignals?: (google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.IRankSignals|null);
|
65749
66044
|
}
|
65750
66045
|
|
65751
66046
|
/** Represents a SearchResult. */
|
@@ -65769,6 +66064,9 @@ export namespace google {
|
|
65769
66064
|
/** SearchResult modelScores. */
|
65770
66065
|
public modelScores: { [k: string]: google.cloud.discoveryengine.v1alpha.IDoubleList };
|
65771
66066
|
|
66067
|
+
/** SearchResult rankSignals. */
|
66068
|
+
public rankSignals?: (google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.IRankSignals|null);
|
66069
|
+
|
65772
66070
|
/**
|
65773
66071
|
* Creates a new SearchResult instance using the specified properties.
|
65774
66072
|
* @param [properties] Properties to set
|
@@ -65847,6 +66145,260 @@ export namespace google {
|
|
65847
66145
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
65848
66146
|
}
|
65849
66147
|
|
66148
|
+
namespace SearchResult {
|
66149
|
+
|
66150
|
+
/** Properties of a RankSignals. */
|
66151
|
+
interface IRankSignals {
|
66152
|
+
|
66153
|
+
/** RankSignals keywordSimilarityScore */
|
66154
|
+
keywordSimilarityScore?: (number|null);
|
66155
|
+
|
66156
|
+
/** RankSignals relevanceScore */
|
66157
|
+
relevanceScore?: (number|null);
|
66158
|
+
|
66159
|
+
/** RankSignals semanticSimilarityScore */
|
66160
|
+
semanticSimilarityScore?: (number|null);
|
66161
|
+
|
66162
|
+
/** RankSignals pctrRank */
|
66163
|
+
pctrRank?: (number|null);
|
66164
|
+
|
66165
|
+
/** RankSignals topicalityRank */
|
66166
|
+
topicalityRank?: (number|null);
|
66167
|
+
|
66168
|
+
/** RankSignals documentAge */
|
66169
|
+
documentAge?: (number|null);
|
66170
|
+
|
66171
|
+
/** RankSignals boostingFactor */
|
66172
|
+
boostingFactor?: (number|null);
|
66173
|
+
|
66174
|
+
/** RankSignals defaultRank */
|
66175
|
+
defaultRank?: (number|null);
|
66176
|
+
|
66177
|
+
/** RankSignals customSignals */
|
66178
|
+
customSignals?: (google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.ICustomSignal[]|null);
|
66179
|
+
}
|
66180
|
+
|
66181
|
+
/** Represents a RankSignals. */
|
66182
|
+
class RankSignals implements IRankSignals {
|
66183
|
+
|
66184
|
+
/**
|
66185
|
+
* Constructs a new RankSignals.
|
66186
|
+
* @param [properties] Properties to set
|
66187
|
+
*/
|
66188
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.IRankSignals);
|
66189
|
+
|
66190
|
+
/** RankSignals keywordSimilarityScore. */
|
66191
|
+
public keywordSimilarityScore?: (number|null);
|
66192
|
+
|
66193
|
+
/** RankSignals relevanceScore. */
|
66194
|
+
public relevanceScore?: (number|null);
|
66195
|
+
|
66196
|
+
/** RankSignals semanticSimilarityScore. */
|
66197
|
+
public semanticSimilarityScore?: (number|null);
|
66198
|
+
|
66199
|
+
/** RankSignals pctrRank. */
|
66200
|
+
public pctrRank?: (number|null);
|
66201
|
+
|
66202
|
+
/** RankSignals topicalityRank. */
|
66203
|
+
public topicalityRank?: (number|null);
|
66204
|
+
|
66205
|
+
/** RankSignals documentAge. */
|
66206
|
+
public documentAge?: (number|null);
|
66207
|
+
|
66208
|
+
/** RankSignals boostingFactor. */
|
66209
|
+
public boostingFactor?: (number|null);
|
66210
|
+
|
66211
|
+
/** RankSignals defaultRank. */
|
66212
|
+
public defaultRank: number;
|
66213
|
+
|
66214
|
+
/** RankSignals customSignals. */
|
66215
|
+
public customSignals: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.ICustomSignal[];
|
66216
|
+
|
66217
|
+
/**
|
66218
|
+
* Creates a new RankSignals instance using the specified properties.
|
66219
|
+
* @param [properties] Properties to set
|
66220
|
+
* @returns RankSignals instance
|
66221
|
+
*/
|
66222
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.IRankSignals): google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals;
|
66223
|
+
|
66224
|
+
/**
|
66225
|
+
* Encodes the specified RankSignals message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.verify|verify} messages.
|
66226
|
+
* @param message RankSignals message or plain object to encode
|
66227
|
+
* @param [writer] Writer to encode to
|
66228
|
+
* @returns Writer
|
66229
|
+
*/
|
66230
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.IRankSignals, writer?: $protobuf.Writer): $protobuf.Writer;
|
66231
|
+
|
66232
|
+
/**
|
66233
|
+
* Encodes the specified RankSignals message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.verify|verify} messages.
|
66234
|
+
* @param message RankSignals message or plain object to encode
|
66235
|
+
* @param [writer] Writer to encode to
|
66236
|
+
* @returns Writer
|
66237
|
+
*/
|
66238
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.IRankSignals, writer?: $protobuf.Writer): $protobuf.Writer;
|
66239
|
+
|
66240
|
+
/**
|
66241
|
+
* Decodes a RankSignals message from the specified reader or buffer.
|
66242
|
+
* @param reader Reader or buffer to decode from
|
66243
|
+
* @param [length] Message length if known beforehand
|
66244
|
+
* @returns RankSignals
|
66245
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
66246
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
66247
|
+
*/
|
66248
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals;
|
66249
|
+
|
66250
|
+
/**
|
66251
|
+
* Decodes a RankSignals message from the specified reader or buffer, length delimited.
|
66252
|
+
* @param reader Reader or buffer to decode from
|
66253
|
+
* @returns RankSignals
|
66254
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
66255
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
66256
|
+
*/
|
66257
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals;
|
66258
|
+
|
66259
|
+
/**
|
66260
|
+
* Verifies a RankSignals message.
|
66261
|
+
* @param message Plain object to verify
|
66262
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
66263
|
+
*/
|
66264
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
66265
|
+
|
66266
|
+
/**
|
66267
|
+
* Creates a RankSignals message from a plain object. Also converts values to their respective internal types.
|
66268
|
+
* @param object Plain object
|
66269
|
+
* @returns RankSignals
|
66270
|
+
*/
|
66271
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals;
|
66272
|
+
|
66273
|
+
/**
|
66274
|
+
* Creates a plain object from a RankSignals message. Also converts values to other types if specified.
|
66275
|
+
* @param message RankSignals
|
66276
|
+
* @param [options] Conversion options
|
66277
|
+
* @returns Plain object
|
66278
|
+
*/
|
66279
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
66280
|
+
|
66281
|
+
/**
|
66282
|
+
* Converts this RankSignals to JSON.
|
66283
|
+
* @returns JSON object
|
66284
|
+
*/
|
66285
|
+
public toJSON(): { [k: string]: any };
|
66286
|
+
|
66287
|
+
/**
|
66288
|
+
* Gets the default type url for RankSignals
|
66289
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
66290
|
+
* @returns The default type url
|
66291
|
+
*/
|
66292
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
66293
|
+
}
|
66294
|
+
|
66295
|
+
namespace RankSignals {
|
66296
|
+
|
66297
|
+
/** Properties of a CustomSignal. */
|
66298
|
+
interface ICustomSignal {
|
66299
|
+
|
66300
|
+
/** CustomSignal name */
|
66301
|
+
name?: (string|null);
|
66302
|
+
|
66303
|
+
/** CustomSignal value */
|
66304
|
+
value?: (number|null);
|
66305
|
+
}
|
66306
|
+
|
66307
|
+
/** Represents a CustomSignal. */
|
66308
|
+
class CustomSignal implements ICustomSignal {
|
66309
|
+
|
66310
|
+
/**
|
66311
|
+
* Constructs a new CustomSignal.
|
66312
|
+
* @param [properties] Properties to set
|
66313
|
+
*/
|
66314
|
+
constructor(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.ICustomSignal);
|
66315
|
+
|
66316
|
+
/** CustomSignal name. */
|
66317
|
+
public name: string;
|
66318
|
+
|
66319
|
+
/** CustomSignal value. */
|
66320
|
+
public value: number;
|
66321
|
+
|
66322
|
+
/**
|
66323
|
+
* Creates a new CustomSignal instance using the specified properties.
|
66324
|
+
* @param [properties] Properties to set
|
66325
|
+
* @returns CustomSignal instance
|
66326
|
+
*/
|
66327
|
+
public static create(properties?: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.ICustomSignal): google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
66328
|
+
|
66329
|
+
/**
|
66330
|
+
* Encodes the specified CustomSignal message. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.CustomSignal.verify|verify} messages.
|
66331
|
+
* @param message CustomSignal message or plain object to encode
|
66332
|
+
* @param [writer] Writer to encode to
|
66333
|
+
* @returns Writer
|
66334
|
+
*/
|
66335
|
+
public static encode(message: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.ICustomSignal, writer?: $protobuf.Writer): $protobuf.Writer;
|
66336
|
+
|
66337
|
+
/**
|
66338
|
+
* Encodes the specified CustomSignal message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.CustomSignal.verify|verify} messages.
|
66339
|
+
* @param message CustomSignal message or plain object to encode
|
66340
|
+
* @param [writer] Writer to encode to
|
66341
|
+
* @returns Writer
|
66342
|
+
*/
|
66343
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.ICustomSignal, writer?: $protobuf.Writer): $protobuf.Writer;
|
66344
|
+
|
66345
|
+
/**
|
66346
|
+
* Decodes a CustomSignal message from the specified reader or buffer.
|
66347
|
+
* @param reader Reader or buffer to decode from
|
66348
|
+
* @param [length] Message length if known beforehand
|
66349
|
+
* @returns CustomSignal
|
66350
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
66351
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
66352
|
+
*/
|
66353
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
66354
|
+
|
66355
|
+
/**
|
66356
|
+
* Decodes a CustomSignal message from the specified reader or buffer, length delimited.
|
66357
|
+
* @param reader Reader or buffer to decode from
|
66358
|
+
* @returns CustomSignal
|
66359
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
66360
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
66361
|
+
*/
|
66362
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
66363
|
+
|
66364
|
+
/**
|
66365
|
+
* Verifies a CustomSignal message.
|
66366
|
+
* @param message Plain object to verify
|
66367
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
66368
|
+
*/
|
66369
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
66370
|
+
|
66371
|
+
/**
|
66372
|
+
* Creates a CustomSignal message from a plain object. Also converts values to their respective internal types.
|
66373
|
+
* @param object Plain object
|
66374
|
+
* @returns CustomSignal
|
66375
|
+
*/
|
66376
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
66377
|
+
|
66378
|
+
/**
|
66379
|
+
* Creates a plain object from a CustomSignal message. Also converts values to other types if specified.
|
66380
|
+
* @param message CustomSignal
|
66381
|
+
* @param [options] Conversion options
|
66382
|
+
* @returns Plain object
|
66383
|
+
*/
|
66384
|
+
public static toObject(message: google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult.RankSignals.CustomSignal, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
66385
|
+
|
66386
|
+
/**
|
66387
|
+
* Converts this CustomSignal to JSON.
|
66388
|
+
* @returns JSON object
|
66389
|
+
*/
|
66390
|
+
public toJSON(): { [k: string]: any };
|
66391
|
+
|
66392
|
+
/**
|
66393
|
+
* Gets the default type url for CustomSignal
|
66394
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
66395
|
+
* @returns The default type url
|
66396
|
+
*/
|
66397
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
66398
|
+
}
|
66399
|
+
}
|
66400
|
+
}
|
66401
|
+
|
65850
66402
|
/** Properties of a Facet. */
|
65851
66403
|
interface IFacet {
|
65852
66404
|
|
@@ -108597,6 +109149,9 @@ export namespace google {
|
|
108597
109149
|
/** SearchRequest rankingExpression */
|
108598
109150
|
rankingExpression?: (string|null);
|
108599
109151
|
|
109152
|
+
/** SearchRequest rankingExpressionBackend */
|
109153
|
+
rankingExpressionBackend?: (google.cloud.discoveryengine.v1beta.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1beta.SearchRequest.RankingExpressionBackend|null);
|
109154
|
+
|
108600
109155
|
/** SearchRequest safeSearch */
|
108601
109156
|
safeSearch?: (boolean|null);
|
108602
109157
|
|
@@ -108703,6 +109258,9 @@ export namespace google {
|
|
108703
109258
|
/** SearchRequest rankingExpression. */
|
108704
109259
|
public rankingExpression: string;
|
108705
109260
|
|
109261
|
+
/** SearchRequest rankingExpressionBackend. */
|
109262
|
+
public rankingExpressionBackend: (google.cloud.discoveryengine.v1beta.SearchRequest.RankingExpressionBackend|keyof typeof google.cloud.discoveryengine.v1beta.SearchRequest.RankingExpressionBackend);
|
109263
|
+
|
108706
109264
|
/** SearchRequest safeSearch. */
|
108707
109265
|
public safeSearch: boolean;
|
108708
109266
|
|
@@ -111380,6 +111938,13 @@ export namespace google {
|
|
111380
111938
|
MEDIUM = 3,
|
111381
111939
|
HIGH = 4
|
111382
111940
|
}
|
111941
|
+
|
111942
|
+
/** RankingExpressionBackend enum. */
|
111943
|
+
enum RankingExpressionBackend {
|
111944
|
+
RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0,
|
111945
|
+
RANK_BY_EMBEDDING = 3,
|
111946
|
+
RANK_BY_FORMULA = 4
|
111947
|
+
}
|
111383
111948
|
}
|
111384
111949
|
|
111385
111950
|
/** Properties of a SearchResponse. */
|
@@ -111579,6 +112144,9 @@ export namespace google {
|
|
111579
112144
|
|
111580
112145
|
/** SearchResult modelScores */
|
111581
112146
|
modelScores?: ({ [k: string]: google.cloud.discoveryengine.v1beta.IDoubleList }|null);
|
112147
|
+
|
112148
|
+
/** SearchResult rankSignals */
|
112149
|
+
rankSignals?: (google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.IRankSignals|null);
|
111582
112150
|
}
|
111583
112151
|
|
111584
112152
|
/** Represents a SearchResult. */
|
@@ -111602,6 +112170,9 @@ export namespace google {
|
|
111602
112170
|
/** SearchResult modelScores. */
|
111603
112171
|
public modelScores: { [k: string]: google.cloud.discoveryengine.v1beta.IDoubleList };
|
111604
112172
|
|
112173
|
+
/** SearchResult rankSignals. */
|
112174
|
+
public rankSignals?: (google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.IRankSignals|null);
|
112175
|
+
|
111605
112176
|
/**
|
111606
112177
|
* Creates a new SearchResult instance using the specified properties.
|
111607
112178
|
* @param [properties] Properties to set
|
@@ -111680,6 +112251,260 @@ export namespace google {
|
|
111680
112251
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
111681
112252
|
}
|
111682
112253
|
|
112254
|
+
namespace SearchResult {
|
112255
|
+
|
112256
|
+
/** Properties of a RankSignals. */
|
112257
|
+
interface IRankSignals {
|
112258
|
+
|
112259
|
+
/** RankSignals keywordSimilarityScore */
|
112260
|
+
keywordSimilarityScore?: (number|null);
|
112261
|
+
|
112262
|
+
/** RankSignals relevanceScore */
|
112263
|
+
relevanceScore?: (number|null);
|
112264
|
+
|
112265
|
+
/** RankSignals semanticSimilarityScore */
|
112266
|
+
semanticSimilarityScore?: (number|null);
|
112267
|
+
|
112268
|
+
/** RankSignals pctrRank */
|
112269
|
+
pctrRank?: (number|null);
|
112270
|
+
|
112271
|
+
/** RankSignals topicalityRank */
|
112272
|
+
topicalityRank?: (number|null);
|
112273
|
+
|
112274
|
+
/** RankSignals documentAge */
|
112275
|
+
documentAge?: (number|null);
|
112276
|
+
|
112277
|
+
/** RankSignals boostingFactor */
|
112278
|
+
boostingFactor?: (number|null);
|
112279
|
+
|
112280
|
+
/** RankSignals defaultRank */
|
112281
|
+
defaultRank?: (number|null);
|
112282
|
+
|
112283
|
+
/** RankSignals customSignals */
|
112284
|
+
customSignals?: (google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.ICustomSignal[]|null);
|
112285
|
+
}
|
112286
|
+
|
112287
|
+
/** Represents a RankSignals. */
|
112288
|
+
class RankSignals implements IRankSignals {
|
112289
|
+
|
112290
|
+
/**
|
112291
|
+
* Constructs a new RankSignals.
|
112292
|
+
* @param [properties] Properties to set
|
112293
|
+
*/
|
112294
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.IRankSignals);
|
112295
|
+
|
112296
|
+
/** RankSignals keywordSimilarityScore. */
|
112297
|
+
public keywordSimilarityScore?: (number|null);
|
112298
|
+
|
112299
|
+
/** RankSignals relevanceScore. */
|
112300
|
+
public relevanceScore?: (number|null);
|
112301
|
+
|
112302
|
+
/** RankSignals semanticSimilarityScore. */
|
112303
|
+
public semanticSimilarityScore?: (number|null);
|
112304
|
+
|
112305
|
+
/** RankSignals pctrRank. */
|
112306
|
+
public pctrRank?: (number|null);
|
112307
|
+
|
112308
|
+
/** RankSignals topicalityRank. */
|
112309
|
+
public topicalityRank?: (number|null);
|
112310
|
+
|
112311
|
+
/** RankSignals documentAge. */
|
112312
|
+
public documentAge?: (number|null);
|
112313
|
+
|
112314
|
+
/** RankSignals boostingFactor. */
|
112315
|
+
public boostingFactor?: (number|null);
|
112316
|
+
|
112317
|
+
/** RankSignals defaultRank. */
|
112318
|
+
public defaultRank: number;
|
112319
|
+
|
112320
|
+
/** RankSignals customSignals. */
|
112321
|
+
public customSignals: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.ICustomSignal[];
|
112322
|
+
|
112323
|
+
/**
|
112324
|
+
* Creates a new RankSignals instance using the specified properties.
|
112325
|
+
* @param [properties] Properties to set
|
112326
|
+
* @returns RankSignals instance
|
112327
|
+
*/
|
112328
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.IRankSignals): google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals;
|
112329
|
+
|
112330
|
+
/**
|
112331
|
+
* Encodes the specified RankSignals message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.verify|verify} messages.
|
112332
|
+
* @param message RankSignals message or plain object to encode
|
112333
|
+
* @param [writer] Writer to encode to
|
112334
|
+
* @returns Writer
|
112335
|
+
*/
|
112336
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.IRankSignals, writer?: $protobuf.Writer): $protobuf.Writer;
|
112337
|
+
|
112338
|
+
/**
|
112339
|
+
* Encodes the specified RankSignals message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.verify|verify} messages.
|
112340
|
+
* @param message RankSignals message or plain object to encode
|
112341
|
+
* @param [writer] Writer to encode to
|
112342
|
+
* @returns Writer
|
112343
|
+
*/
|
112344
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.IRankSignals, writer?: $protobuf.Writer): $protobuf.Writer;
|
112345
|
+
|
112346
|
+
/**
|
112347
|
+
* Decodes a RankSignals message from the specified reader or buffer.
|
112348
|
+
* @param reader Reader or buffer to decode from
|
112349
|
+
* @param [length] Message length if known beforehand
|
112350
|
+
* @returns RankSignals
|
112351
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
112352
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
112353
|
+
*/
|
112354
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals;
|
112355
|
+
|
112356
|
+
/**
|
112357
|
+
* Decodes a RankSignals message from the specified reader or buffer, length delimited.
|
112358
|
+
* @param reader Reader or buffer to decode from
|
112359
|
+
* @returns RankSignals
|
112360
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
112361
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
112362
|
+
*/
|
112363
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals;
|
112364
|
+
|
112365
|
+
/**
|
112366
|
+
* Verifies a RankSignals message.
|
112367
|
+
* @param message Plain object to verify
|
112368
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
112369
|
+
*/
|
112370
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
112371
|
+
|
112372
|
+
/**
|
112373
|
+
* Creates a RankSignals message from a plain object. Also converts values to their respective internal types.
|
112374
|
+
* @param object Plain object
|
112375
|
+
* @returns RankSignals
|
112376
|
+
*/
|
112377
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals;
|
112378
|
+
|
112379
|
+
/**
|
112380
|
+
* Creates a plain object from a RankSignals message. Also converts values to other types if specified.
|
112381
|
+
* @param message RankSignals
|
112382
|
+
* @param [options] Conversion options
|
112383
|
+
* @returns Plain object
|
112384
|
+
*/
|
112385
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
112386
|
+
|
112387
|
+
/**
|
112388
|
+
* Converts this RankSignals to JSON.
|
112389
|
+
* @returns JSON object
|
112390
|
+
*/
|
112391
|
+
public toJSON(): { [k: string]: any };
|
112392
|
+
|
112393
|
+
/**
|
112394
|
+
* Gets the default type url for RankSignals
|
112395
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
112396
|
+
* @returns The default type url
|
112397
|
+
*/
|
112398
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
112399
|
+
}
|
112400
|
+
|
112401
|
+
namespace RankSignals {
|
112402
|
+
|
112403
|
+
/** Properties of a CustomSignal. */
|
112404
|
+
interface ICustomSignal {
|
112405
|
+
|
112406
|
+
/** CustomSignal name */
|
112407
|
+
name?: (string|null);
|
112408
|
+
|
112409
|
+
/** CustomSignal value */
|
112410
|
+
value?: (number|null);
|
112411
|
+
}
|
112412
|
+
|
112413
|
+
/** Represents a CustomSignal. */
|
112414
|
+
class CustomSignal implements ICustomSignal {
|
112415
|
+
|
112416
|
+
/**
|
112417
|
+
* Constructs a new CustomSignal.
|
112418
|
+
* @param [properties] Properties to set
|
112419
|
+
*/
|
112420
|
+
constructor(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.ICustomSignal);
|
112421
|
+
|
112422
|
+
/** CustomSignal name. */
|
112423
|
+
public name: string;
|
112424
|
+
|
112425
|
+
/** CustomSignal value. */
|
112426
|
+
public value: number;
|
112427
|
+
|
112428
|
+
/**
|
112429
|
+
* Creates a new CustomSignal instance using the specified properties.
|
112430
|
+
* @param [properties] Properties to set
|
112431
|
+
* @returns CustomSignal instance
|
112432
|
+
*/
|
112433
|
+
public static create(properties?: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.ICustomSignal): google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
112434
|
+
|
112435
|
+
/**
|
112436
|
+
* Encodes the specified CustomSignal message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.CustomSignal.verify|verify} messages.
|
112437
|
+
* @param message CustomSignal message or plain object to encode
|
112438
|
+
* @param [writer] Writer to encode to
|
112439
|
+
* @returns Writer
|
112440
|
+
*/
|
112441
|
+
public static encode(message: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.ICustomSignal, writer?: $protobuf.Writer): $protobuf.Writer;
|
112442
|
+
|
112443
|
+
/**
|
112444
|
+
* Encodes the specified CustomSignal message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.CustomSignal.verify|verify} messages.
|
112445
|
+
* @param message CustomSignal message or plain object to encode
|
112446
|
+
* @param [writer] Writer to encode to
|
112447
|
+
* @returns Writer
|
112448
|
+
*/
|
112449
|
+
public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.ICustomSignal, writer?: $protobuf.Writer): $protobuf.Writer;
|
112450
|
+
|
112451
|
+
/**
|
112452
|
+
* Decodes a CustomSignal message from the specified reader or buffer.
|
112453
|
+
* @param reader Reader or buffer to decode from
|
112454
|
+
* @param [length] Message length if known beforehand
|
112455
|
+
* @returns CustomSignal
|
112456
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
112457
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
112458
|
+
*/
|
112459
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
112460
|
+
|
112461
|
+
/**
|
112462
|
+
* Decodes a CustomSignal message from the specified reader or buffer, length delimited.
|
112463
|
+
* @param reader Reader or buffer to decode from
|
112464
|
+
* @returns CustomSignal
|
112465
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
112466
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
112467
|
+
*/
|
112468
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
112469
|
+
|
112470
|
+
/**
|
112471
|
+
* Verifies a CustomSignal message.
|
112472
|
+
* @param message Plain object to verify
|
112473
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
112474
|
+
*/
|
112475
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
112476
|
+
|
112477
|
+
/**
|
112478
|
+
* Creates a CustomSignal message from a plain object. Also converts values to their respective internal types.
|
112479
|
+
* @param object Plain object
|
112480
|
+
* @returns CustomSignal
|
112481
|
+
*/
|
112482
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.CustomSignal;
|
112483
|
+
|
112484
|
+
/**
|
112485
|
+
* Creates a plain object from a CustomSignal message. Also converts values to other types if specified.
|
112486
|
+
* @param message CustomSignal
|
112487
|
+
* @param [options] Conversion options
|
112488
|
+
* @returns Plain object
|
112489
|
+
*/
|
112490
|
+
public static toObject(message: google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult.RankSignals.CustomSignal, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
112491
|
+
|
112492
|
+
/**
|
112493
|
+
* Converts this CustomSignal to JSON.
|
112494
|
+
* @returns JSON object
|
112495
|
+
*/
|
112496
|
+
public toJSON(): { [k: string]: any };
|
112497
|
+
|
112498
|
+
/**
|
112499
|
+
* Gets the default type url for CustomSignal
|
112500
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
112501
|
+
* @returns The default type url
|
112502
|
+
*/
|
112503
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
112504
|
+
}
|
112505
|
+
}
|
112506
|
+
}
|
112507
|
+
|
111683
112508
|
/** Properties of a Facet. */
|
111684
112509
|
interface IFacet {
|
111685
112510
|
|
@@ -141628,9 +142453,6 @@ export namespace google {
|
|
141628
142453
|
|
141629
142454
|
/** CommonLanguageSettings destinations */
|
141630
142455
|
destinations?: (google.api.ClientLibraryDestination[]|null);
|
141631
|
-
|
141632
|
-
/** CommonLanguageSettings selectiveGapicGeneration */
|
141633
|
-
selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
|
141634
142456
|
}
|
141635
142457
|
|
141636
142458
|
/** Represents a CommonLanguageSettings. */
|
@@ -141648,9 +142470,6 @@ export namespace google {
|
|
141648
142470
|
/** CommonLanguageSettings destinations. */
|
141649
142471
|
public destinations: google.api.ClientLibraryDestination[];
|
141650
142472
|
|
141651
|
-
/** CommonLanguageSettings selectiveGapicGeneration. */
|
141652
|
-
public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
|
141653
|
-
|
141654
142473
|
/**
|
141655
142474
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
141656
142475
|
* @param [properties] Properties to set
|
@@ -142351,9 +143170,6 @@ export namespace google {
|
|
142351
143170
|
|
142352
143171
|
/** PythonSettings common */
|
142353
143172
|
common?: (google.api.ICommonLanguageSettings|null);
|
142354
|
-
|
142355
|
-
/** PythonSettings experimentalFeatures */
|
142356
|
-
experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
|
142357
143173
|
}
|
142358
143174
|
|
142359
143175
|
/** Represents a PythonSettings. */
|
@@ -142368,9 +143184,6 @@ export namespace google {
|
|
142368
143184
|
/** PythonSettings common. */
|
142369
143185
|
public common?: (google.api.ICommonLanguageSettings|null);
|
142370
143186
|
|
142371
|
-
/** PythonSettings experimentalFeatures. */
|
142372
|
-
public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
|
142373
|
-
|
142374
143187
|
/**
|
142375
143188
|
* Creates a new PythonSettings instance using the specified properties.
|
142376
143189
|
* @param [properties] Properties to set
|
@@ -142449,118 +143262,6 @@ export namespace google {
|
|
142449
143262
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
142450
143263
|
}
|
142451
143264
|
|
142452
|
-
namespace PythonSettings {
|
142453
|
-
|
142454
|
-
/** Properties of an ExperimentalFeatures. */
|
142455
|
-
interface IExperimentalFeatures {
|
142456
|
-
|
142457
|
-
/** ExperimentalFeatures restAsyncIoEnabled */
|
142458
|
-
restAsyncIoEnabled?: (boolean|null);
|
142459
|
-
|
142460
|
-
/** ExperimentalFeatures protobufPythonicTypesEnabled */
|
142461
|
-
protobufPythonicTypesEnabled?: (boolean|null);
|
142462
|
-
|
142463
|
-
/** ExperimentalFeatures unversionedPackageDisabled */
|
142464
|
-
unversionedPackageDisabled?: (boolean|null);
|
142465
|
-
}
|
142466
|
-
|
142467
|
-
/** Represents an ExperimentalFeatures. */
|
142468
|
-
class ExperimentalFeatures implements IExperimentalFeatures {
|
142469
|
-
|
142470
|
-
/**
|
142471
|
-
* Constructs a new ExperimentalFeatures.
|
142472
|
-
* @param [properties] Properties to set
|
142473
|
-
*/
|
142474
|
-
constructor(properties?: google.api.PythonSettings.IExperimentalFeatures);
|
142475
|
-
|
142476
|
-
/** ExperimentalFeatures restAsyncIoEnabled. */
|
142477
|
-
public restAsyncIoEnabled: boolean;
|
142478
|
-
|
142479
|
-
/** ExperimentalFeatures protobufPythonicTypesEnabled. */
|
142480
|
-
public protobufPythonicTypesEnabled: boolean;
|
142481
|
-
|
142482
|
-
/** ExperimentalFeatures unversionedPackageDisabled. */
|
142483
|
-
public unversionedPackageDisabled: boolean;
|
142484
|
-
|
142485
|
-
/**
|
142486
|
-
* Creates a new ExperimentalFeatures instance using the specified properties.
|
142487
|
-
* @param [properties] Properties to set
|
142488
|
-
* @returns ExperimentalFeatures instance
|
142489
|
-
*/
|
142490
|
-
public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures;
|
142491
|
-
|
142492
|
-
/**
|
142493
|
-
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
142494
|
-
* @param message ExperimentalFeatures message or plain object to encode
|
142495
|
-
* @param [writer] Writer to encode to
|
142496
|
-
* @returns Writer
|
142497
|
-
*/
|
142498
|
-
public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
|
142499
|
-
|
142500
|
-
/**
|
142501
|
-
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
142502
|
-
* @param message ExperimentalFeatures message or plain object to encode
|
142503
|
-
* @param [writer] Writer to encode to
|
142504
|
-
* @returns Writer
|
142505
|
-
*/
|
142506
|
-
public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
|
142507
|
-
|
142508
|
-
/**
|
142509
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
142510
|
-
* @param reader Reader or buffer to decode from
|
142511
|
-
* @param [length] Message length if known beforehand
|
142512
|
-
* @returns ExperimentalFeatures
|
142513
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
142514
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
142515
|
-
*/
|
142516
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures;
|
142517
|
-
|
142518
|
-
/**
|
142519
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
142520
|
-
* @param reader Reader or buffer to decode from
|
142521
|
-
* @returns ExperimentalFeatures
|
142522
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
142523
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
142524
|
-
*/
|
142525
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures;
|
142526
|
-
|
142527
|
-
/**
|
142528
|
-
* Verifies an ExperimentalFeatures message.
|
142529
|
-
* @param message Plain object to verify
|
142530
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
142531
|
-
*/
|
142532
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
142533
|
-
|
142534
|
-
/**
|
142535
|
-
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
142536
|
-
* @param object Plain object
|
142537
|
-
* @returns ExperimentalFeatures
|
142538
|
-
*/
|
142539
|
-
public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures;
|
142540
|
-
|
142541
|
-
/**
|
142542
|
-
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
142543
|
-
* @param message ExperimentalFeatures
|
142544
|
-
* @param [options] Conversion options
|
142545
|
-
* @returns Plain object
|
142546
|
-
*/
|
142547
|
-
public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
142548
|
-
|
142549
|
-
/**
|
142550
|
-
* Converts this ExperimentalFeatures to JSON.
|
142551
|
-
* @returns JSON object
|
142552
|
-
*/
|
142553
|
-
public toJSON(): { [k: string]: any };
|
142554
|
-
|
142555
|
-
/**
|
142556
|
-
* Gets the default type url for ExperimentalFeatures
|
142557
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
142558
|
-
* @returns The default type url
|
142559
|
-
*/
|
142560
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
142561
|
-
}
|
142562
|
-
}
|
142563
|
-
|
142564
143265
|
/** Properties of a NodeSettings. */
|
142565
143266
|
interface INodeSettings {
|
142566
143267
|
|
@@ -142887,9 +143588,6 @@ export namespace google {
|
|
142887
143588
|
|
142888
143589
|
/** GoSettings common */
|
142889
143590
|
common?: (google.api.ICommonLanguageSettings|null);
|
142890
|
-
|
142891
|
-
/** GoSettings renamedServices */
|
142892
|
-
renamedServices?: ({ [k: string]: string }|null);
|
142893
143591
|
}
|
142894
143592
|
|
142895
143593
|
/** Represents a GoSettings. */
|
@@ -142904,9 +143602,6 @@ export namespace google {
|
|
142904
143602
|
/** GoSettings common. */
|
142905
143603
|
public common?: (google.api.ICommonLanguageSettings|null);
|
142906
143604
|
|
142907
|
-
/** GoSettings renamedServices. */
|
142908
|
-
public renamedServices: { [k: string]: string };
|
142909
|
-
|
142910
143605
|
/**
|
142911
143606
|
* Creates a new GoSettings instance using the specified properties.
|
142912
143607
|
* @param [properties] Properties to set
|
@@ -143231,109 +143926,6 @@ export namespace google {
|
|
143231
143926
|
PACKAGE_MANAGER = 20
|
143232
143927
|
}
|
143233
143928
|
|
143234
|
-
/** Properties of a SelectiveGapicGeneration. */
|
143235
|
-
interface ISelectiveGapicGeneration {
|
143236
|
-
|
143237
|
-
/** SelectiveGapicGeneration methods */
|
143238
|
-
methods?: (string[]|null);
|
143239
|
-
|
143240
|
-
/** SelectiveGapicGeneration generateOmittedAsInternal */
|
143241
|
-
generateOmittedAsInternal?: (boolean|null);
|
143242
|
-
}
|
143243
|
-
|
143244
|
-
/** Represents a SelectiveGapicGeneration. */
|
143245
|
-
class SelectiveGapicGeneration implements ISelectiveGapicGeneration {
|
143246
|
-
|
143247
|
-
/**
|
143248
|
-
* Constructs a new SelectiveGapicGeneration.
|
143249
|
-
* @param [properties] Properties to set
|
143250
|
-
*/
|
143251
|
-
constructor(properties?: google.api.ISelectiveGapicGeneration);
|
143252
|
-
|
143253
|
-
/** SelectiveGapicGeneration methods. */
|
143254
|
-
public methods: string[];
|
143255
|
-
|
143256
|
-
/** SelectiveGapicGeneration generateOmittedAsInternal. */
|
143257
|
-
public generateOmittedAsInternal: boolean;
|
143258
|
-
|
143259
|
-
/**
|
143260
|
-
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
143261
|
-
* @param [properties] Properties to set
|
143262
|
-
* @returns SelectiveGapicGeneration instance
|
143263
|
-
*/
|
143264
|
-
public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration;
|
143265
|
-
|
143266
|
-
/**
|
143267
|
-
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
143268
|
-
* @param message SelectiveGapicGeneration message or plain object to encode
|
143269
|
-
* @param [writer] Writer to encode to
|
143270
|
-
* @returns Writer
|
143271
|
-
*/
|
143272
|
-
public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
|
143273
|
-
|
143274
|
-
/**
|
143275
|
-
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
143276
|
-
* @param message SelectiveGapicGeneration message or plain object to encode
|
143277
|
-
* @param [writer] Writer to encode to
|
143278
|
-
* @returns Writer
|
143279
|
-
*/
|
143280
|
-
public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
|
143281
|
-
|
143282
|
-
/**
|
143283
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
143284
|
-
* @param reader Reader or buffer to decode from
|
143285
|
-
* @param [length] Message length if known beforehand
|
143286
|
-
* @returns SelectiveGapicGeneration
|
143287
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
143288
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
143289
|
-
*/
|
143290
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration;
|
143291
|
-
|
143292
|
-
/**
|
143293
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
143294
|
-
* @param reader Reader or buffer to decode from
|
143295
|
-
* @returns SelectiveGapicGeneration
|
143296
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
143297
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
143298
|
-
*/
|
143299
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration;
|
143300
|
-
|
143301
|
-
/**
|
143302
|
-
* Verifies a SelectiveGapicGeneration message.
|
143303
|
-
* @param message Plain object to verify
|
143304
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
143305
|
-
*/
|
143306
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
143307
|
-
|
143308
|
-
/**
|
143309
|
-
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
143310
|
-
* @param object Plain object
|
143311
|
-
* @returns SelectiveGapicGeneration
|
143312
|
-
*/
|
143313
|
-
public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration;
|
143314
|
-
|
143315
|
-
/**
|
143316
|
-
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
143317
|
-
* @param message SelectiveGapicGeneration
|
143318
|
-
* @param [options] Conversion options
|
143319
|
-
* @returns Plain object
|
143320
|
-
*/
|
143321
|
-
public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
143322
|
-
|
143323
|
-
/**
|
143324
|
-
* Converts this SelectiveGapicGeneration to JSON.
|
143325
|
-
* @returns JSON object
|
143326
|
-
*/
|
143327
|
-
public toJSON(): { [k: string]: any };
|
143328
|
-
|
143329
|
-
/**
|
143330
|
-
* Gets the default type url for SelectiveGapicGeneration
|
143331
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
143332
|
-
* @returns The default type url
|
143333
|
-
*/
|
143334
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
143335
|
-
}
|
143336
|
-
|
143337
143929
|
/** LaunchStage enum. */
|
143338
143930
|
enum LaunchStage {
|
143339
143931
|
LAUNCH_STAGE_UNSPECIFIED = 0,
|
@@ -143559,7 +144151,6 @@ export namespace google {
|
|
143559
144151
|
/** Edition enum. */
|
143560
144152
|
enum Edition {
|
143561
144153
|
EDITION_UNKNOWN = 0,
|
143562
|
-
EDITION_LEGACY = 900,
|
143563
144154
|
EDITION_PROTO2 = 998,
|
143564
144155
|
EDITION_PROTO3 = 999,
|
143565
144156
|
EDITION_2023 = 1000,
|
@@ -143590,9 +144181,6 @@ export namespace google {
|
|
143590
144181
|
/** FileDescriptorProto weakDependency */
|
143591
144182
|
weakDependency?: (number[]|null);
|
143592
144183
|
|
143593
|
-
/** FileDescriptorProto optionDependency */
|
143594
|
-
optionDependency?: (string[]|null);
|
143595
|
-
|
143596
144184
|
/** FileDescriptorProto messageType */
|
143597
144185
|
messageType?: (google.protobuf.IDescriptorProto[]|null);
|
143598
144186
|
|
@@ -143642,9 +144230,6 @@ export namespace google {
|
|
143642
144230
|
/** FileDescriptorProto weakDependency. */
|
143643
144231
|
public weakDependency: number[];
|
143644
144232
|
|
143645
|
-
/** FileDescriptorProto optionDependency. */
|
143646
|
-
public optionDependency: string[];
|
143647
|
-
|
143648
144233
|
/** FileDescriptorProto messageType. */
|
143649
144234
|
public messageType: google.protobuf.IDescriptorProto[];
|
143650
144235
|
|
@@ -143779,9 +144364,6 @@ export namespace google {
|
|
143779
144364
|
|
143780
144365
|
/** DescriptorProto reservedName */
|
143781
144366
|
reservedName?: (string[]|null);
|
143782
|
-
|
143783
|
-
/** DescriptorProto visibility */
|
143784
|
-
visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
|
143785
144367
|
}
|
143786
144368
|
|
143787
144369
|
/** Represents a DescriptorProto. */
|
@@ -143823,9 +144405,6 @@ export namespace google {
|
|
143823
144405
|
/** DescriptorProto reservedName. */
|
143824
144406
|
public reservedName: string[];
|
143825
144407
|
|
143826
|
-
/** DescriptorProto visibility. */
|
143827
|
-
public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
|
143828
|
-
|
143829
144408
|
/**
|
143830
144409
|
* Creates a new DescriptorProto instance using the specified properties.
|
143831
144410
|
* @param [properties] Properties to set
|
@@ -144673,9 +145252,6 @@ export namespace google {
|
|
144673
145252
|
|
144674
145253
|
/** EnumDescriptorProto reservedName */
|
144675
145254
|
reservedName?: (string[]|null);
|
144676
|
-
|
144677
|
-
/** EnumDescriptorProto visibility */
|
144678
|
-
visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
|
144679
145255
|
}
|
144680
145256
|
|
144681
145257
|
/** Represents an EnumDescriptorProto. */
|
@@ -144702,9 +145278,6 @@ export namespace google {
|
|
144702
145278
|
/** EnumDescriptorProto reservedName. */
|
144703
145279
|
public reservedName: string[];
|
144704
145280
|
|
144705
|
-
/** EnumDescriptorProto visibility. */
|
144706
|
-
public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
|
144707
|
-
|
144708
145281
|
/**
|
144709
145282
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
144710
145283
|
* @param [properties] Properties to set
|
@@ -145639,9 +146212,6 @@ export namespace google {
|
|
145639
146212
|
/** FieldOptions features */
|
145640
146213
|
features?: (google.protobuf.IFeatureSet|null);
|
145641
146214
|
|
145642
|
-
/** FieldOptions featureSupport */
|
145643
|
-
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
145644
|
-
|
145645
146215
|
/** FieldOptions uninterpretedOption */
|
145646
146216
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
145647
146217
|
|
@@ -145697,9 +146267,6 @@ export namespace google {
|
|
145697
146267
|
/** FieldOptions features. */
|
145698
146268
|
public features?: (google.protobuf.IFeatureSet|null);
|
145699
146269
|
|
145700
|
-
/** FieldOptions featureSupport. */
|
145701
|
-
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
145702
|
-
|
145703
146270
|
/** FieldOptions uninterpretedOption. */
|
145704
146271
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
145705
146272
|
|
@@ -145920,121 +146487,6 @@ export namespace google {
|
|
145920
146487
|
*/
|
145921
146488
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
145922
146489
|
}
|
145923
|
-
|
145924
|
-
/** Properties of a FeatureSupport. */
|
145925
|
-
interface IFeatureSupport {
|
145926
|
-
|
145927
|
-
/** FeatureSupport editionIntroduced */
|
145928
|
-
editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
145929
|
-
|
145930
|
-
/** FeatureSupport editionDeprecated */
|
145931
|
-
editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
145932
|
-
|
145933
|
-
/** FeatureSupport deprecationWarning */
|
145934
|
-
deprecationWarning?: (string|null);
|
145935
|
-
|
145936
|
-
/** FeatureSupport editionRemoved */
|
145937
|
-
editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
145938
|
-
}
|
145939
|
-
|
145940
|
-
/** Represents a FeatureSupport. */
|
145941
|
-
class FeatureSupport implements IFeatureSupport {
|
145942
|
-
|
145943
|
-
/**
|
145944
|
-
* Constructs a new FeatureSupport.
|
145945
|
-
* @param [properties] Properties to set
|
145946
|
-
*/
|
145947
|
-
constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport);
|
145948
|
-
|
145949
|
-
/** FeatureSupport editionIntroduced. */
|
145950
|
-
public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
145951
|
-
|
145952
|
-
/** FeatureSupport editionDeprecated. */
|
145953
|
-
public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
145954
|
-
|
145955
|
-
/** FeatureSupport deprecationWarning. */
|
145956
|
-
public deprecationWarning: string;
|
145957
|
-
|
145958
|
-
/** FeatureSupport editionRemoved. */
|
145959
|
-
public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
145960
|
-
|
145961
|
-
/**
|
145962
|
-
* Creates a new FeatureSupport instance using the specified properties.
|
145963
|
-
* @param [properties] Properties to set
|
145964
|
-
* @returns FeatureSupport instance
|
145965
|
-
*/
|
145966
|
-
public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport;
|
145967
|
-
|
145968
|
-
/**
|
145969
|
-
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
145970
|
-
* @param message FeatureSupport message or plain object to encode
|
145971
|
-
* @param [writer] Writer to encode to
|
145972
|
-
* @returns Writer
|
145973
|
-
*/
|
145974
|
-
public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
145975
|
-
|
145976
|
-
/**
|
145977
|
-
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
145978
|
-
* @param message FeatureSupport message or plain object to encode
|
145979
|
-
* @param [writer] Writer to encode to
|
145980
|
-
* @returns Writer
|
145981
|
-
*/
|
145982
|
-
public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
145983
|
-
|
145984
|
-
/**
|
145985
|
-
* Decodes a FeatureSupport message from the specified reader or buffer.
|
145986
|
-
* @param reader Reader or buffer to decode from
|
145987
|
-
* @param [length] Message length if known beforehand
|
145988
|
-
* @returns FeatureSupport
|
145989
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
145990
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
145991
|
-
*/
|
145992
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport;
|
145993
|
-
|
145994
|
-
/**
|
145995
|
-
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
145996
|
-
* @param reader Reader or buffer to decode from
|
145997
|
-
* @returns FeatureSupport
|
145998
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
145999
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
146000
|
-
*/
|
146001
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport;
|
146002
|
-
|
146003
|
-
/**
|
146004
|
-
* Verifies a FeatureSupport message.
|
146005
|
-
* @param message Plain object to verify
|
146006
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
146007
|
-
*/
|
146008
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
146009
|
-
|
146010
|
-
/**
|
146011
|
-
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
146012
|
-
* @param object Plain object
|
146013
|
-
* @returns FeatureSupport
|
146014
|
-
*/
|
146015
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport;
|
146016
|
-
|
146017
|
-
/**
|
146018
|
-
* Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
|
146019
|
-
* @param message FeatureSupport
|
146020
|
-
* @param [options] Conversion options
|
146021
|
-
* @returns Plain object
|
146022
|
-
*/
|
146023
|
-
public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
146024
|
-
|
146025
|
-
/**
|
146026
|
-
* Converts this FeatureSupport to JSON.
|
146027
|
-
* @returns JSON object
|
146028
|
-
*/
|
146029
|
-
public toJSON(): { [k: string]: any };
|
146030
|
-
|
146031
|
-
/**
|
146032
|
-
* Gets the default type url for FeatureSupport
|
146033
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
146034
|
-
* @returns The default type url
|
146035
|
-
*/
|
146036
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
146037
|
-
}
|
146038
146490
|
}
|
146039
146491
|
|
146040
146492
|
/** Properties of an OneofOptions. */
|
@@ -146273,9 +146725,6 @@ export namespace google {
|
|
146273
146725
|
/** EnumValueOptions debugRedact */
|
146274
146726
|
debugRedact?: (boolean|null);
|
146275
146727
|
|
146276
|
-
/** EnumValueOptions featureSupport */
|
146277
|
-
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
146278
|
-
|
146279
146728
|
/** EnumValueOptions uninterpretedOption */
|
146280
146729
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
146281
146730
|
}
|
@@ -146298,9 +146747,6 @@ export namespace google {
|
|
146298
146747
|
/** EnumValueOptions debugRedact. */
|
146299
146748
|
public debugRedact: boolean;
|
146300
146749
|
|
146301
|
-
/** EnumValueOptions featureSupport. */
|
146302
|
-
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
146303
|
-
|
146304
146750
|
/** EnumValueOptions uninterpretedOption. */
|
146305
146751
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
146306
146752
|
|
@@ -146893,12 +147339,6 @@ export namespace google {
|
|
146893
147339
|
|
146894
147340
|
/** FeatureSet jsonFormat */
|
146895
147341
|
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
146896
|
-
|
146897
|
-
/** FeatureSet enforceNamingStyle */
|
146898
|
-
enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null);
|
146899
|
-
|
146900
|
-
/** FeatureSet defaultSymbolVisibility */
|
146901
|
-
defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
|
146902
147342
|
}
|
146903
147343
|
|
146904
147344
|
/** Represents a FeatureSet. */
|
@@ -146928,12 +147368,6 @@ export namespace google {
|
|
146928
147368
|
/** FeatureSet jsonFormat. */
|
146929
147369
|
public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
146930
147370
|
|
146931
|
-
/** FeatureSet enforceNamingStyle. */
|
146932
|
-
public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle);
|
146933
|
-
|
146934
|
-
/** FeatureSet defaultSymbolVisibility. */
|
146935
|
-
public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility);
|
146936
|
-
|
146937
147371
|
/**
|
146938
147372
|
* Creates a new FeatureSet instance using the specified properties.
|
146939
147373
|
* @param [properties] Properties to set
|
@@ -147056,116 +147490,6 @@ export namespace google {
|
|
147056
147490
|
ALLOW = 1,
|
147057
147491
|
LEGACY_BEST_EFFORT = 2
|
147058
147492
|
}
|
147059
|
-
|
147060
|
-
/** EnforceNamingStyle enum. */
|
147061
|
-
enum EnforceNamingStyle {
|
147062
|
-
ENFORCE_NAMING_STYLE_UNKNOWN = 0,
|
147063
|
-
STYLE2024 = 1,
|
147064
|
-
STYLE_LEGACY = 2
|
147065
|
-
}
|
147066
|
-
|
147067
|
-
/** Properties of a VisibilityFeature. */
|
147068
|
-
interface IVisibilityFeature {
|
147069
|
-
}
|
147070
|
-
|
147071
|
-
/** Represents a VisibilityFeature. */
|
147072
|
-
class VisibilityFeature implements IVisibilityFeature {
|
147073
|
-
|
147074
|
-
/**
|
147075
|
-
* Constructs a new VisibilityFeature.
|
147076
|
-
* @param [properties] Properties to set
|
147077
|
-
*/
|
147078
|
-
constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature);
|
147079
|
-
|
147080
|
-
/**
|
147081
|
-
* Creates a new VisibilityFeature instance using the specified properties.
|
147082
|
-
* @param [properties] Properties to set
|
147083
|
-
* @returns VisibilityFeature instance
|
147084
|
-
*/
|
147085
|
-
public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature;
|
147086
|
-
|
147087
|
-
/**
|
147088
|
-
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
147089
|
-
* @param message VisibilityFeature message or plain object to encode
|
147090
|
-
* @param [writer] Writer to encode to
|
147091
|
-
* @returns Writer
|
147092
|
-
*/
|
147093
|
-
public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
147094
|
-
|
147095
|
-
/**
|
147096
|
-
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
147097
|
-
* @param message VisibilityFeature message or plain object to encode
|
147098
|
-
* @param [writer] Writer to encode to
|
147099
|
-
* @returns Writer
|
147100
|
-
*/
|
147101
|
-
public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
147102
|
-
|
147103
|
-
/**
|
147104
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
147105
|
-
* @param reader Reader or buffer to decode from
|
147106
|
-
* @param [length] Message length if known beforehand
|
147107
|
-
* @returns VisibilityFeature
|
147108
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
147109
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
147110
|
-
*/
|
147111
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature;
|
147112
|
-
|
147113
|
-
/**
|
147114
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
147115
|
-
* @param reader Reader or buffer to decode from
|
147116
|
-
* @returns VisibilityFeature
|
147117
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
147118
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
147119
|
-
*/
|
147120
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature;
|
147121
|
-
|
147122
|
-
/**
|
147123
|
-
* Verifies a VisibilityFeature message.
|
147124
|
-
* @param message Plain object to verify
|
147125
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
147126
|
-
*/
|
147127
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
147128
|
-
|
147129
|
-
/**
|
147130
|
-
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
147131
|
-
* @param object Plain object
|
147132
|
-
* @returns VisibilityFeature
|
147133
|
-
*/
|
147134
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature;
|
147135
|
-
|
147136
|
-
/**
|
147137
|
-
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
147138
|
-
* @param message VisibilityFeature
|
147139
|
-
* @param [options] Conversion options
|
147140
|
-
* @returns Plain object
|
147141
|
-
*/
|
147142
|
-
public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
147143
|
-
|
147144
|
-
/**
|
147145
|
-
* Converts this VisibilityFeature to JSON.
|
147146
|
-
* @returns JSON object
|
147147
|
-
*/
|
147148
|
-
public toJSON(): { [k: string]: any };
|
147149
|
-
|
147150
|
-
/**
|
147151
|
-
* Gets the default type url for VisibilityFeature
|
147152
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
147153
|
-
* @returns The default type url
|
147154
|
-
*/
|
147155
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
147156
|
-
}
|
147157
|
-
|
147158
|
-
namespace VisibilityFeature {
|
147159
|
-
|
147160
|
-
/** DefaultSymbolVisibility enum. */
|
147161
|
-
enum DefaultSymbolVisibility {
|
147162
|
-
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
|
147163
|
-
EXPORT_ALL = 1,
|
147164
|
-
EXPORT_TOP_LEVEL = 2,
|
147165
|
-
LOCAL_ALL = 3,
|
147166
|
-
STRICT = 4
|
147167
|
-
}
|
147168
|
-
}
|
147169
147493
|
}
|
147170
147494
|
|
147171
147495
|
/** Properties of a FeatureSetDefaults. */
|
@@ -147285,11 +147609,8 @@ export namespace google {
|
|
147285
147609
|
/** FeatureSetEditionDefault edition */
|
147286
147610
|
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
147287
147611
|
|
147288
|
-
/** FeatureSetEditionDefault
|
147289
|
-
|
147290
|
-
|
147291
|
-
/** FeatureSetEditionDefault fixedFeatures */
|
147292
|
-
fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
147612
|
+
/** FeatureSetEditionDefault features */
|
147613
|
+
features?: (google.protobuf.IFeatureSet|null);
|
147293
147614
|
}
|
147294
147615
|
|
147295
147616
|
/** Represents a FeatureSetEditionDefault. */
|
@@ -147304,11 +147625,8 @@ export namespace google {
|
|
147304
147625
|
/** FeatureSetEditionDefault edition. */
|
147305
147626
|
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
147306
147627
|
|
147307
|
-
/** FeatureSetEditionDefault
|
147308
|
-
public
|
147309
|
-
|
147310
|
-
/** FeatureSetEditionDefault fixedFeatures. */
|
147311
|
-
public fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
147628
|
+
/** FeatureSetEditionDefault features. */
|
147629
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
147312
147630
|
|
147313
147631
|
/**
|
147314
147632
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
@@ -147841,13 +148159,6 @@ export namespace google {
|
|
147841
148159
|
}
|
147842
148160
|
}
|
147843
148161
|
|
147844
|
-
/** SymbolVisibility enum. */
|
147845
|
-
enum SymbolVisibility {
|
147846
|
-
VISIBILITY_UNSET = 0,
|
147847
|
-
VISIBILITY_LOCAL = 1,
|
147848
|
-
VISIBILITY_EXPORT = 2
|
147849
|
-
}
|
147850
|
-
|
147851
148162
|
/** Properties of a Struct. */
|
147852
148163
|
interface IStruct {
|
147853
148164
|
|