3
3
/* eslint-disable */
4
4
// @ts -nocheck
5
5
6
- import type { BinaryReadOptions , FieldList , JsonReadOptions , JsonValue , PartialMessage , PlainMessage } from "@bufbuild/protobuf" ;
7
- import { Any , Message , proto3 , Struct } from "@bufbuild/protobuf" ;
8
- import { Entity } from "../authorization/authorization_pb.js" ;
6
+ import type {
7
+ BinaryReadOptions ,
8
+ FieldList ,
9
+ JsonReadOptions ,
10
+ JsonValue ,
11
+ PartialMessage ,
12
+ PlainMessage ,
13
+ } from '@bufbuild/protobuf' ;
14
+ import { Any , Message , proto3 , Struct } from '@bufbuild/protobuf' ;
15
+ import { Entity } from '../authorization/authorization_pb.js' ;
9
16
10
17
/**
11
18
*
@@ -38,24 +45,36 @@ export class ResolveEntitiesRequest extends Message<ResolveEntitiesRequest> {
38
45
}
39
46
40
47
static readonly runtime : typeof proto3 = proto3 ;
41
- static readonly typeName = " entityresolution.ResolveEntitiesRequest" ;
48
+ static readonly typeName = ' entityresolution.ResolveEntitiesRequest' ;
42
49
static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
43
- { no : 1 , name : " entities" , kind : " message" , T : Entity , repeated : true } ,
50
+ { no : 1 , name : ' entities' , kind : ' message' , T : Entity , repeated : true } ,
44
51
] ) ;
45
52
46
- static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : ResolveEntitiesRequest {
53
+ static fromBinary (
54
+ bytes : Uint8Array ,
55
+ options ?: Partial < BinaryReadOptions >
56
+ ) : ResolveEntitiesRequest {
47
57
return new ResolveEntitiesRequest ( ) . fromBinary ( bytes , options ) ;
48
58
}
49
59
50
- static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : ResolveEntitiesRequest {
60
+ static fromJson (
61
+ jsonValue : JsonValue ,
62
+ options ?: Partial < JsonReadOptions >
63
+ ) : ResolveEntitiesRequest {
51
64
return new ResolveEntitiesRequest ( ) . fromJson ( jsonValue , options ) ;
52
65
}
53
66
54
- static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : ResolveEntitiesRequest {
67
+ static fromJsonString (
68
+ jsonString : string ,
69
+ options ?: Partial < JsonReadOptions >
70
+ ) : ResolveEntitiesRequest {
55
71
return new ResolveEntitiesRequest ( ) . fromJsonString ( jsonString , options ) ;
56
72
}
57
73
58
- static equals ( a : ResolveEntitiesRequest | PlainMessage < ResolveEntitiesRequest > | undefined , b : ResolveEntitiesRequest | PlainMessage < ResolveEntitiesRequest > | undefined ) : boolean {
74
+ static equals (
75
+ a : ResolveEntitiesRequest | PlainMessage < ResolveEntitiesRequest > | undefined ,
76
+ b : ResolveEntitiesRequest | PlainMessage < ResolveEntitiesRequest > | undefined
77
+ ) : boolean {
59
78
return proto3 . util . equals ( ResolveEntitiesRequest , a , b ) ;
60
79
}
61
80
}
@@ -74,18 +93,18 @@ export class EntityRepresentation extends Message<EntityRepresentation> {
74
93
*
75
94
* @generated from field: string original_id = 2;
76
95
*/
77
- originalId = "" ;
96
+ originalId = '' ;
78
97
79
98
constructor ( data ?: PartialMessage < EntityRepresentation > ) {
80
99
super ( ) ;
81
100
proto3 . util . initPartial ( data , this ) ;
82
101
}
83
102
84
103
static readonly runtime : typeof proto3 = proto3 ;
85
- static readonly typeName = " entityresolution.EntityRepresentation" ;
104
+ static readonly typeName = ' entityresolution.EntityRepresentation' ;
86
105
static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
87
- { no : 1 , name : " additional_props" , kind : " message" , T : Struct , repeated : true } ,
88
- { no : 2 , name : " original_id" , kind : " scalar" , T : 9 /* ScalarType.STRING */ } ,
106
+ { no : 1 , name : ' additional_props' , kind : ' message' , T : Struct , repeated : true } ,
107
+ { no : 2 , name : ' original_id' , kind : ' scalar' , T : 9 /* ScalarType.STRING */ } ,
89
108
] ) ;
90
109
91
110
static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : EntityRepresentation {
@@ -96,11 +115,17 @@ export class EntityRepresentation extends Message<EntityRepresentation> {
96
115
return new EntityRepresentation ( ) . fromJson ( jsonValue , options ) ;
97
116
}
98
117
99
- static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : EntityRepresentation {
118
+ static fromJsonString (
119
+ jsonString : string ,
120
+ options ?: Partial < JsonReadOptions >
121
+ ) : EntityRepresentation {
100
122
return new EntityRepresentation ( ) . fromJsonString ( jsonString , options ) ;
101
123
}
102
124
103
- static equals ( a : EntityRepresentation | PlainMessage < EntityRepresentation > | undefined , b : EntityRepresentation | PlainMessage < EntityRepresentation > | undefined ) : boolean {
125
+ static equals (
126
+ a : EntityRepresentation | PlainMessage < EntityRepresentation > | undefined ,
127
+ b : EntityRepresentation | PlainMessage < EntityRepresentation > | undefined
128
+ ) : boolean {
104
129
return proto3 . util . equals ( EntityRepresentation , a , b ) ;
105
130
}
106
131
}
@@ -136,24 +161,42 @@ export class ResolveEntitiesResponse extends Message<ResolveEntitiesResponse> {
136
161
}
137
162
138
163
static readonly runtime : typeof proto3 = proto3 ;
139
- static readonly typeName = " entityresolution.ResolveEntitiesResponse" ;
164
+ static readonly typeName = ' entityresolution.ResolveEntitiesResponse' ;
140
165
static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
141
- { no : 1 , name : "entity_representations" , kind : "message" , T : EntityRepresentation , repeated : true } ,
166
+ {
167
+ no : 1 ,
168
+ name : 'entity_representations' ,
169
+ kind : 'message' ,
170
+ T : EntityRepresentation ,
171
+ repeated : true ,
172
+ } ,
142
173
] ) ;
143
174
144
- static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : ResolveEntitiesResponse {
175
+ static fromBinary (
176
+ bytes : Uint8Array ,
177
+ options ?: Partial < BinaryReadOptions >
178
+ ) : ResolveEntitiesResponse {
145
179
return new ResolveEntitiesResponse ( ) . fromBinary ( bytes , options ) ;
146
180
}
147
181
148
- static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : ResolveEntitiesResponse {
182
+ static fromJson (
183
+ jsonValue : JsonValue ,
184
+ options ?: Partial < JsonReadOptions >
185
+ ) : ResolveEntitiesResponse {
149
186
return new ResolveEntitiesResponse ( ) . fromJson ( jsonValue , options ) ;
150
187
}
151
188
152
- static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : ResolveEntitiesResponse {
189
+ static fromJsonString (
190
+ jsonString : string ,
191
+ options ?: Partial < JsonReadOptions >
192
+ ) : ResolveEntitiesResponse {
153
193
return new ResolveEntitiesResponse ( ) . fromJsonString ( jsonString , options ) ;
154
194
}
155
195
156
- static equals ( a : ResolveEntitiesResponse | PlainMessage < ResolveEntitiesResponse > | undefined , b : ResolveEntitiesResponse | PlainMessage < ResolveEntitiesResponse > | undefined ) : boolean {
196
+ static equals (
197
+ a : ResolveEntitiesResponse | PlainMessage < ResolveEntitiesResponse > | undefined ,
198
+ b : ResolveEntitiesResponse | PlainMessage < ResolveEntitiesResponse > | undefined
199
+ ) : boolean {
157
200
return proto3 . util . equals ( ResolveEntitiesResponse , a , b ) ;
158
201
}
159
202
}
@@ -170,7 +213,7 @@ export class EntityNotFoundError extends Message<EntityNotFoundError> {
170
213
/**
171
214
* @generated from field: string message = 2;
172
215
*/
173
- message = "" ;
216
+ message = '' ;
174
217
175
218
/**
176
219
* @generated from field: repeated google.protobuf.Any details = 3;
@@ -180,20 +223,20 @@ export class EntityNotFoundError extends Message<EntityNotFoundError> {
180
223
/**
181
224
* @generated from field: string entity = 4;
182
225
*/
183
- entity = "" ;
226
+ entity = '' ;
184
227
185
228
constructor ( data ?: PartialMessage < EntityNotFoundError > ) {
186
229
super ( ) ;
187
230
proto3 . util . initPartial ( data , this ) ;
188
231
}
189
232
190
233
static readonly runtime : typeof proto3 = proto3 ;
191
- static readonly typeName = " entityresolution.EntityNotFoundError" ;
234
+ static readonly typeName = ' entityresolution.EntityNotFoundError' ;
192
235
static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
193
- { no : 1 , name : " code" , kind : " scalar" , T : 5 /* ScalarType.INT32 */ } ,
194
- { no : 2 , name : " message" , kind : " scalar" , T : 9 /* ScalarType.STRING */ } ,
195
- { no : 3 , name : " details" , kind : " message" , T : Any , repeated : true } ,
196
- { no : 4 , name : " entity" , kind : " scalar" , T : 9 /* ScalarType.STRING */ } ,
236
+ { no : 1 , name : ' code' , kind : ' scalar' , T : 5 /* ScalarType.INT32 */ } ,
237
+ { no : 2 , name : ' message' , kind : ' scalar' , T : 9 /* ScalarType.STRING */ } ,
238
+ { no : 3 , name : ' details' , kind : ' message' , T : Any , repeated : true } ,
239
+ { no : 4 , name : ' entity' , kind : ' scalar' , T : 9 /* ScalarType.STRING */ } ,
197
240
] ) ;
198
241
199
242
static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : EntityNotFoundError {
@@ -204,12 +247,17 @@ export class EntityNotFoundError extends Message<EntityNotFoundError> {
204
247
return new EntityNotFoundError ( ) . fromJson ( jsonValue , options ) ;
205
248
}
206
249
207
- static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : EntityNotFoundError {
250
+ static fromJsonString (
251
+ jsonString : string ,
252
+ options ?: Partial < JsonReadOptions >
253
+ ) : EntityNotFoundError {
208
254
return new EntityNotFoundError ( ) . fromJsonString ( jsonString , options ) ;
209
255
}
210
256
211
- static equals ( a : EntityNotFoundError | PlainMessage < EntityNotFoundError > | undefined , b : EntityNotFoundError | PlainMessage < EntityNotFoundError > | undefined ) : boolean {
257
+ static equals (
258
+ a : EntityNotFoundError | PlainMessage < EntityNotFoundError > | undefined ,
259
+ b : EntityNotFoundError | PlainMessage < EntityNotFoundError > | undefined
260
+ ) : boolean {
212
261
return proto3 . util . equals ( EntityNotFoundError , a , b ) ;
213
262
}
214
263
}
215
-
0 commit comments