@itwin/map-layers-formats 4.0.0-dev.8 → 4.0.0-dev.80
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/.rush/temp/operation/build/all.log +3 -0
- package/.rush/temp/operation/build/state.json +3 -0
- package/.rush/temp/operation/cover/all.log +98 -0
- package/.rush/temp/operation/cover/state.json +1 -1
- package/.rush/temp/operation/docs/all.log +30 -0
- package/.rush/temp/operation/docs/state.json +1 -1
- package/.rush/temp/{package-deps_build_ci.json → package-deps_build.json} +11 -11
- package/.rush/temp/package-deps_cover.json +10 -10
- package/.rush/temp/package-deps_docs.json +10 -10
- package/.rush/temp/shrinkwrap-deps.json +190 -44
- package/CHANGELOG.json +57 -0
- package/CHANGELOG.md +44 -1
- package/config/rush-project.json +1 -2
- package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
- package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js +14 -14
- package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
- package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.js +132 -134
- package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
- package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js +200 -202
- package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
- package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js +421 -422
- package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
- package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.js +82 -82
- package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
- package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.js +33 -33
- package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
- package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.js +142 -142
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js +42 -43
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js +189 -192
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.d.ts.map +1 -1
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js +2267 -2270
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
- package/lib/cjs/map-layers-formats.d.ts +8 -8
- package/lib/cjs/map-layers-formats.js +28 -24
- package/lib/cjs/map-layers-formats.js.map +1 -1
- package/lib/cjs/mapLayersFormats.d.ts +10 -10
- package/lib/cjs/mapLayersFormats.js +28 -28
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +34 -34
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.js +161 -161
- package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.js +167 -167
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js +679 -680
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.js +103 -103
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +214 -214
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js +94 -94
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js.map +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +59 -59
- package/lib/cjs/test/ArcGisFeature/Mocks.d.ts +6 -6
- package/lib/cjs/test/ArcGisFeature/Mocks.js +18 -18
- package/lib/cjs/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
- package/lib/cjs/test/ArcGisFeature/NewYorkDataset.d.ts.map +1 -1
- package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js +419 -419
- package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
- package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
- package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.d.ts.map +1 -1
- package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js +426 -426
- package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
- package/lib/cjs/test/coverage/.nyc_output/965fc94c-e7e4-4e85-bf72-aecce4f5ac8c.json +1 -0
- package/lib/cjs/test/coverage/.nyc_output/processinfo/4935e330-732e-4dc9-9cc7-6639c02bf614.json +1 -0
- package/lib/cjs/test/coverage/.nyc_output/processinfo/965fc94c-e7e4-4e85-bf72-aecce4f5ac8c.json +1 -0
- package/lib/cjs/test/coverage/.nyc_output/processinfo/index.json +1 -1
- package/lib/cjs/test/coverage/cobertura-coverage.xml +72 -72
- package/lib/cjs/test/coverage/lcov-report/index.html +5 -5
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureFormat.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureJSON.ts.html +10 -10
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeaturePBF.ts.html +7 -7
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureProvider.ts.html +10 -10
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureQuery.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureReader.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureRenderer.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureResponse.ts.html +4 -4
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisSymbologyRenderer.ts.html +8 -8
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/index.html +13 -13
- package/lib/cjs/test/coverage/lcov-report/src/index.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/map-layers-formats.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/mapLayersFormats.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov.info +355 -531
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
- package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js +11 -10
- package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
- package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js +128 -130
- package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
- package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js +196 -198
- package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
- package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js +418 -418
- package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
- package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.js +78 -78
- package/lib/esm/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
- package/lib/esm/ArcGisFeature/ArcGisFeatureReader.js +29 -29
- package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
- package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.js +138 -138
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js +38 -39
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js +183 -185
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.d.ts.map +1 -1
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.js +2264 -2267
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
- package/lib/esm/map-layers-formats.d.ts +8 -8
- package/lib/esm/map-layers-formats.js +12 -12
- package/lib/esm/mapLayersFormats.d.ts +10 -10
- package/lib/esm/mapLayersFormats.js +24 -24
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +32 -32
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.js +159 -159
- package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.js +165 -165
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js +677 -678
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.js +101 -101
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +212 -212
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js +92 -92
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js.map +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +57 -57
- package/lib/esm/test/ArcGisFeature/Mocks.d.ts +6 -6
- package/lib/esm/test/ArcGisFeature/Mocks.js +15 -15
- package/lib/esm/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
- package/lib/esm/test/ArcGisFeature/NewYorkDataset.d.ts.map +1 -1
- package/lib/esm/test/ArcGisFeature/NewYorkDataset.js +416 -415
- package/lib/esm/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
- package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
- package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.d.ts.map +1 -1
- package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js +423 -422
- package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/test/junit_results.xml +48 -48
- package/map-layers-formats.build.log +2 -2
- package/package.json +17 -17
- package/src/ArcGisFeature/esriPBuffer.gen.ts +1 -4
- package/src/test/ArcGisFeature/ArcGisFeatureProvider.test.ts +21 -21
- package/src/test/ArcGisFeature/NewYorkDataset.ts +187 -187
- package/src/test/ArcGisFeature/PhillyLandmarksDataset.ts +4 -4
- package/tsconfig.json +1 -2
- package/.rush/temp/operation/build_ci/state.json +0 -3
- package/lib/cjs/test/coverage/.nyc_output/bb9e12be-ea3c-4cee-99d0-c7a34bd2c47a.json +0 -1
- package/lib/cjs/test/coverage/.nyc_output/processinfo/5901bdfe-760d-4ca3-9674-876be7ed11b1.json +0 -1
- package/lib/cjs/test/coverage/.nyc_output/processinfo/bb9e12be-ea3c-4cee-99d0-c7a34bd2c47a.json +0 -1
- /package/lib/cjs/test/coverage/.nyc_output/{5901bdfe-760d-4ca3-9674-876be7ed11b1.json → 4935e330-732e-4dc9-9cc7-6639c02bf614.json} +0 -0
|
@@ -1,2268 +1,2265 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
6
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
7
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
8
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
9
|
-
};
|
|
10
|
-
/* eslint-disable
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if ("
|
|
31
|
-
this.
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
pb_1.Message.
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
pb_1.Message.
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
if (data.
|
|
56
|
-
message.
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
if (this.
|
|
66
|
-
data.
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
case
|
|
89
|
-
message.
|
|
90
|
-
break;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
return
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
return
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
GeometryType[GeometryType["
|
|
113
|
-
GeometryType[GeometryType["
|
|
114
|
-
GeometryType[GeometryType["
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
FieldType[FieldType["
|
|
122
|
-
FieldType[FieldType["
|
|
123
|
-
FieldType[FieldType["
|
|
124
|
-
FieldType[FieldType["
|
|
125
|
-
FieldType[FieldType["
|
|
126
|
-
FieldType[FieldType["
|
|
127
|
-
FieldType[FieldType["
|
|
128
|
-
FieldType[FieldType["
|
|
129
|
-
FieldType[FieldType["
|
|
130
|
-
FieldType[FieldType["
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
SQLType[SQLType["
|
|
138
|
-
SQLType[SQLType["
|
|
139
|
-
SQLType[SQLType["
|
|
140
|
-
SQLType[SQLType["
|
|
141
|
-
SQLType[SQLType["
|
|
142
|
-
SQLType[SQLType["
|
|
143
|
-
SQLType[SQLType["
|
|
144
|
-
SQLType[SQLType["
|
|
145
|
-
SQLType[SQLType["
|
|
146
|
-
SQLType[SQLType["
|
|
147
|
-
SQLType[SQLType["
|
|
148
|
-
SQLType[SQLType["
|
|
149
|
-
SQLType[SQLType["
|
|
150
|
-
SQLType[SQLType["
|
|
151
|
-
SQLType[SQLType["
|
|
152
|
-
SQLType[SQLType["
|
|
153
|
-
SQLType[SQLType["
|
|
154
|
-
SQLType[SQLType["
|
|
155
|
-
SQLType[SQLType["
|
|
156
|
-
SQLType[SQLType["
|
|
157
|
-
SQLType[SQLType["
|
|
158
|
-
SQLType[SQLType["
|
|
159
|
-
SQLType[SQLType["
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
if ("
|
|
176
|
-
this.
|
|
177
|
-
}
|
|
178
|
-
if ("
|
|
179
|
-
this.
|
|
180
|
-
}
|
|
181
|
-
if ("
|
|
182
|
-
this.
|
|
183
|
-
}
|
|
184
|
-
if ("
|
|
185
|
-
this.
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
pb_1.Message.
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
pb_1.Message.
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
pb_1.Message.
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
pb_1.Message.
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
if (data.
|
|
225
|
-
message.
|
|
226
|
-
}
|
|
227
|
-
if (data.
|
|
228
|
-
message.
|
|
229
|
-
}
|
|
230
|
-
if (data.
|
|
231
|
-
message.
|
|
232
|
-
}
|
|
233
|
-
if (data.
|
|
234
|
-
message.
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
if (this.
|
|
244
|
-
data.
|
|
245
|
-
}
|
|
246
|
-
if (this.
|
|
247
|
-
data.
|
|
248
|
-
}
|
|
249
|
-
if (this.
|
|
250
|
-
data.
|
|
251
|
-
}
|
|
252
|
-
if (this.
|
|
253
|
-
data.
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
case
|
|
282
|
-
message.
|
|
283
|
-
break;
|
|
284
|
-
case
|
|
285
|
-
message.
|
|
286
|
-
break;
|
|
287
|
-
case
|
|
288
|
-
message.
|
|
289
|
-
break;
|
|
290
|
-
case
|
|
291
|
-
message.
|
|
292
|
-
break;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
return
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
return
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
if ("
|
|
317
|
-
this.
|
|
318
|
-
}
|
|
319
|
-
if ("
|
|
320
|
-
this.
|
|
321
|
-
}
|
|
322
|
-
if ("
|
|
323
|
-
this.
|
|
324
|
-
}
|
|
325
|
-
if ("
|
|
326
|
-
this.
|
|
327
|
-
}
|
|
328
|
-
if ("
|
|
329
|
-
this.
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
pb_1.Message.
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
pb_1.Message.
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
pb_1.Message.
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
pb_1.Message.
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
pb_1.Message.
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
if (data.
|
|
375
|
-
message.
|
|
376
|
-
}
|
|
377
|
-
if (data.
|
|
378
|
-
message.
|
|
379
|
-
}
|
|
380
|
-
if (data.
|
|
381
|
-
message.
|
|
382
|
-
}
|
|
383
|
-
if (data.
|
|
384
|
-
message.
|
|
385
|
-
}
|
|
386
|
-
if (data.
|
|
387
|
-
message.
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
if (this.
|
|
397
|
-
data.
|
|
398
|
-
}
|
|
399
|
-
if (this.
|
|
400
|
-
data.
|
|
401
|
-
}
|
|
402
|
-
if (this.
|
|
403
|
-
data.
|
|
404
|
-
}
|
|
405
|
-
if (this.
|
|
406
|
-
data.
|
|
407
|
-
}
|
|
408
|
-
if (this.
|
|
409
|
-
data.
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
case
|
|
440
|
-
message.
|
|
441
|
-
break;
|
|
442
|
-
case
|
|
443
|
-
message.
|
|
444
|
-
break;
|
|
445
|
-
case
|
|
446
|
-
message.
|
|
447
|
-
break;
|
|
448
|
-
case
|
|
449
|
-
message.
|
|
450
|
-
break;
|
|
451
|
-
case
|
|
452
|
-
message.
|
|
453
|
-
break;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
return
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
return
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
if ("
|
|
478
|
-
this.
|
|
479
|
-
}
|
|
480
|
-
if ("
|
|
481
|
-
this.
|
|
482
|
-
}
|
|
483
|
-
if ("
|
|
484
|
-
this.
|
|
485
|
-
}
|
|
486
|
-
if ("
|
|
487
|
-
this.
|
|
488
|
-
}
|
|
489
|
-
if ("
|
|
490
|
-
this.
|
|
491
|
-
}
|
|
492
|
-
if ("
|
|
493
|
-
this.
|
|
494
|
-
}
|
|
495
|
-
if ("
|
|
496
|
-
this.
|
|
497
|
-
}
|
|
498
|
-
if ("
|
|
499
|
-
this.
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
pb_1.Message.
|
|
511
|
-
}
|
|
512
|
-
get
|
|
513
|
-
return pb_1.Message.
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
pb_1.Message.
|
|
520
|
-
}
|
|
521
|
-
get
|
|
522
|
-
return pb_1.Message.
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
pb_1.Message.
|
|
529
|
-
}
|
|
530
|
-
get
|
|
531
|
-
return pb_1.Message.
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
pb_1.Message.
|
|
538
|
-
}
|
|
539
|
-
get
|
|
540
|
-
return pb_1.Message.
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
pb_1.Message.
|
|
547
|
-
}
|
|
548
|
-
get
|
|
549
|
-
return pb_1.Message.
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
pb_1.Message.
|
|
556
|
-
}
|
|
557
|
-
get
|
|
558
|
-
return pb_1.Message.
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
pb_1.Message.
|
|
565
|
-
}
|
|
566
|
-
get
|
|
567
|
-
return pb_1.Message.
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
pb_1.Message.
|
|
574
|
-
}
|
|
575
|
-
get
|
|
576
|
-
return pb_1.Message.
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
pb_1.Message.
|
|
583
|
-
}
|
|
584
|
-
get
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
if (data.
|
|
605
|
-
message.
|
|
606
|
-
}
|
|
607
|
-
if (data.
|
|
608
|
-
message.
|
|
609
|
-
}
|
|
610
|
-
if (data.
|
|
611
|
-
message.
|
|
612
|
-
}
|
|
613
|
-
if (data.
|
|
614
|
-
message.
|
|
615
|
-
}
|
|
616
|
-
if (data.
|
|
617
|
-
message.
|
|
618
|
-
}
|
|
619
|
-
if (data.
|
|
620
|
-
message.
|
|
621
|
-
}
|
|
622
|
-
if (data.
|
|
623
|
-
message.
|
|
624
|
-
}
|
|
625
|
-
if (data.
|
|
626
|
-
message.
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
if (this.
|
|
636
|
-
data.
|
|
637
|
-
}
|
|
638
|
-
if (this.
|
|
639
|
-
data.
|
|
640
|
-
}
|
|
641
|
-
if (this.
|
|
642
|
-
data.
|
|
643
|
-
}
|
|
644
|
-
if (this.
|
|
645
|
-
data.
|
|
646
|
-
}
|
|
647
|
-
if (this.
|
|
648
|
-
data.
|
|
649
|
-
}
|
|
650
|
-
if (this.
|
|
651
|
-
data.
|
|
652
|
-
}
|
|
653
|
-
if (this.
|
|
654
|
-
data.
|
|
655
|
-
}
|
|
656
|
-
if (this.
|
|
657
|
-
data.
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
case
|
|
694
|
-
message.
|
|
695
|
-
break;
|
|
696
|
-
case
|
|
697
|
-
message.
|
|
698
|
-
break;
|
|
699
|
-
case
|
|
700
|
-
message.
|
|
701
|
-
break;
|
|
702
|
-
case
|
|
703
|
-
message.
|
|
704
|
-
break;
|
|
705
|
-
case
|
|
706
|
-
message.
|
|
707
|
-
break;
|
|
708
|
-
case
|
|
709
|
-
message.
|
|
710
|
-
break;
|
|
711
|
-
case
|
|
712
|
-
message.
|
|
713
|
-
break;
|
|
714
|
-
case
|
|
715
|
-
message.
|
|
716
|
-
break;
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
return
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
return
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
if ("
|
|
741
|
-
this.
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
pb_1.Message.
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
if (data.
|
|
763
|
-
message.
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
if (this.
|
|
773
|
-
data.
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
case
|
|
796
|
-
message.
|
|
797
|
-
break;
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
return
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
return
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
return
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
return
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
if ("
|
|
883
|
-
this.
|
|
884
|
-
}
|
|
885
|
-
if ("
|
|
886
|
-
this.
|
|
887
|
-
}
|
|
888
|
-
if ("
|
|
889
|
-
this.
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
pb_1.Message.
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
pb_1.Message.
|
|
907
|
-
}
|
|
908
|
-
get
|
|
909
|
-
return pb_1.Message.
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
pb_1.Message.
|
|
916
|
-
}
|
|
917
|
-
get
|
|
918
|
-
return pb_1.Message.
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
pb_1.Message.
|
|
925
|
-
}
|
|
926
|
-
get
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
if (data.
|
|
940
|
-
message.
|
|
941
|
-
}
|
|
942
|
-
if (data.
|
|
943
|
-
message.
|
|
944
|
-
}
|
|
945
|
-
if (data.
|
|
946
|
-
message.
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
if (this.
|
|
956
|
-
data.
|
|
957
|
-
}
|
|
958
|
-
if (this.
|
|
959
|
-
data.
|
|
960
|
-
}
|
|
961
|
-
if (this.
|
|
962
|
-
data.
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
case
|
|
989
|
-
reader.readMessage(message.
|
|
990
|
-
break;
|
|
991
|
-
case
|
|
992
|
-
reader.readMessage(message.
|
|
993
|
-
break;
|
|
994
|
-
case
|
|
995
|
-
reader.readMessage(message.
|
|
996
|
-
break;
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
return
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
return
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
if ("
|
|
1021
|
-
this.
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
pb_1.Message.
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
if (data.
|
|
1043
|
-
message.
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
if (this.
|
|
1053
|
-
data.
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
case
|
|
1076
|
-
message.
|
|
1077
|
-
break;
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
return
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
return
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
if ("
|
|
1102
|
-
this.
|
|
1103
|
-
}
|
|
1104
|
-
if ("
|
|
1105
|
-
this.
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
pb_1.Message.
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
pb_1.Message.
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
if (data.
|
|
1133
|
-
message.
|
|
1134
|
-
}
|
|
1135
|
-
if (data.
|
|
1136
|
-
message.
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
if (this.
|
|
1146
|
-
data.
|
|
1147
|
-
}
|
|
1148
|
-
if (this.
|
|
1149
|
-
data.
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
case
|
|
1174
|
-
message.
|
|
1175
|
-
break;
|
|
1176
|
-
case
|
|
1177
|
-
message.
|
|
1178
|
-
break;
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
return
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
return
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
if ("
|
|
1203
|
-
this.
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
pb_1.Message.
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
if (data.
|
|
1225
|
-
message.
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
if (this.
|
|
1235
|
-
data.
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
case
|
|
1258
|
-
message.
|
|
1259
|
-
break;
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
return
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
return
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
if ("
|
|
1284
|
-
this.
|
|
1285
|
-
}
|
|
1286
|
-
if ("
|
|
1287
|
-
this.
|
|
1288
|
-
}
|
|
1289
|
-
if ("
|
|
1290
|
-
this.
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
pb_1.Message.
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
pb_1.Message.
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
pb_1.Message.
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
if (data.
|
|
1324
|
-
message.
|
|
1325
|
-
}
|
|
1326
|
-
if (data.
|
|
1327
|
-
message.
|
|
1328
|
-
}
|
|
1329
|
-
if (data.
|
|
1330
|
-
message.
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
if (this.
|
|
1340
|
-
data.
|
|
1341
|
-
}
|
|
1342
|
-
if (this.
|
|
1343
|
-
data.
|
|
1344
|
-
}
|
|
1345
|
-
if (this.
|
|
1346
|
-
data.
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
case
|
|
1373
|
-
message.
|
|
1374
|
-
break;
|
|
1375
|
-
case
|
|
1376
|
-
message.
|
|
1377
|
-
break;
|
|
1378
|
-
case
|
|
1379
|
-
message.
|
|
1380
|
-
break;
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
return
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
return
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
if ("
|
|
1405
|
-
this.
|
|
1406
|
-
}
|
|
1407
|
-
if ("
|
|
1408
|
-
this.
|
|
1409
|
-
}
|
|
1410
|
-
if ("
|
|
1411
|
-
this.
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
pb_1.Message.
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
pb_1.Message.
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
pb_1.Message.
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
if (data.
|
|
1445
|
-
message.
|
|
1446
|
-
}
|
|
1447
|
-
if (data.
|
|
1448
|
-
message.
|
|
1449
|
-
}
|
|
1450
|
-
if (data.
|
|
1451
|
-
message.
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
if (this.
|
|
1461
|
-
data.
|
|
1462
|
-
}
|
|
1463
|
-
if (this.
|
|
1464
|
-
data.
|
|
1465
|
-
}
|
|
1466
|
-
if (this.
|
|
1467
|
-
data.
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
case
|
|
1494
|
-
message.
|
|
1495
|
-
break;
|
|
1496
|
-
case
|
|
1497
|
-
message.
|
|
1498
|
-
break;
|
|
1499
|
-
case
|
|
1500
|
-
message.
|
|
1501
|
-
break;
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
return
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
return
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
if ("
|
|
1526
|
-
this.
|
|
1527
|
-
}
|
|
1528
|
-
if ("
|
|
1529
|
-
this.
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
pb_1.Message.
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
pb_1.Message.
|
|
1547
|
-
}
|
|
1548
|
-
get
|
|
1549
|
-
return pb_1.Message.
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
|
-
pb_1.Message.
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
if (data.
|
|
1563
|
-
message.
|
|
1564
|
-
}
|
|
1565
|
-
if (data.
|
|
1566
|
-
message.
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
if (this.
|
|
1576
|
-
data.
|
|
1577
|
-
}
|
|
1578
|
-
if (this.
|
|
1579
|
-
data.
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
case
|
|
1604
|
-
message.
|
|
1605
|
-
break;
|
|
1606
|
-
case
|
|
1607
|
-
reader.readMessage(message.
|
|
1608
|
-
break;
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
return
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
return
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
if ("
|
|
1633
|
-
this.
|
|
1634
|
-
}
|
|
1635
|
-
if ("
|
|
1636
|
-
this.
|
|
1637
|
-
}
|
|
1638
|
-
if ("
|
|
1639
|
-
this.
|
|
1640
|
-
}
|
|
1641
|
-
if ("
|
|
1642
|
-
this.
|
|
1643
|
-
}
|
|
1644
|
-
if ("
|
|
1645
|
-
this.
|
|
1646
|
-
}
|
|
1647
|
-
if ("
|
|
1648
|
-
this.
|
|
1649
|
-
}
|
|
1650
|
-
if ("
|
|
1651
|
-
this.
|
|
1652
|
-
}
|
|
1653
|
-
if ("
|
|
1654
|
-
this.
|
|
1655
|
-
}
|
|
1656
|
-
if ("
|
|
1657
|
-
this.
|
|
1658
|
-
}
|
|
1659
|
-
if ("
|
|
1660
|
-
this.
|
|
1661
|
-
}
|
|
1662
|
-
if ("
|
|
1663
|
-
this.
|
|
1664
|
-
}
|
|
1665
|
-
if ("
|
|
1666
|
-
this.
|
|
1667
|
-
}
|
|
1668
|
-
if ("
|
|
1669
|
-
this.
|
|
1670
|
-
}
|
|
1671
|
-
if ("
|
|
1672
|
-
this.
|
|
1673
|
-
}
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
pb_1.Message.
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
}
|
|
1688
|
-
|
|
1689
|
-
pb_1.Message.
|
|
1690
|
-
}
|
|
1691
|
-
get
|
|
1692
|
-
return pb_1.Message.
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
pb_1.Message.
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
pb_1.Message.
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
pb_1.Message.
|
|
1711
|
-
}
|
|
1712
|
-
get
|
|
1713
|
-
return pb_1.Message.
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
}
|
|
1718
|
-
|
|
1719
|
-
pb_1.Message.
|
|
1720
|
-
}
|
|
1721
|
-
get
|
|
1722
|
-
return pb_1.Message.
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
pb_1.Message.
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
|
-
pb_1.Message.
|
|
1735
|
-
}
|
|
1736
|
-
get
|
|
1737
|
-
return pb_1.Message.
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
pb_1.Message.
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
}
|
|
1748
|
-
|
|
1749
|
-
pb_1.Message.
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
pb_1.Message.
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
}
|
|
1760
|
-
|
|
1761
|
-
pb_1.Message.
|
|
1762
|
-
}
|
|
1763
|
-
get
|
|
1764
|
-
return pb_1.Message.
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
pb_1.Message.
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
|
-
pb_1.Message.
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
}
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
if (data.
|
|
1787
|
-
message.
|
|
1788
|
-
}
|
|
1789
|
-
if (data.
|
|
1790
|
-
message.
|
|
1791
|
-
}
|
|
1792
|
-
if (data.
|
|
1793
|
-
message.
|
|
1794
|
-
}
|
|
1795
|
-
if (data.
|
|
1796
|
-
message.
|
|
1797
|
-
}
|
|
1798
|
-
if (data.
|
|
1799
|
-
message.
|
|
1800
|
-
}
|
|
1801
|
-
if (data.
|
|
1802
|
-
message.
|
|
1803
|
-
}
|
|
1804
|
-
if (data.
|
|
1805
|
-
message.
|
|
1806
|
-
}
|
|
1807
|
-
if (data.
|
|
1808
|
-
message.
|
|
1809
|
-
}
|
|
1810
|
-
if (data.
|
|
1811
|
-
message.
|
|
1812
|
-
}
|
|
1813
|
-
if (data.
|
|
1814
|
-
message.
|
|
1815
|
-
}
|
|
1816
|
-
if (data.
|
|
1817
|
-
message.
|
|
1818
|
-
}
|
|
1819
|
-
if (data.
|
|
1820
|
-
message.
|
|
1821
|
-
}
|
|
1822
|
-
if (data.
|
|
1823
|
-
message.
|
|
1824
|
-
}
|
|
1825
|
-
if (data.
|
|
1826
|
-
message.
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
if (this.
|
|
1836
|
-
data.
|
|
1837
|
-
}
|
|
1838
|
-
if (this.
|
|
1839
|
-
data.
|
|
1840
|
-
}
|
|
1841
|
-
if (this.
|
|
1842
|
-
data.
|
|
1843
|
-
}
|
|
1844
|
-
if (this.
|
|
1845
|
-
data.
|
|
1846
|
-
}
|
|
1847
|
-
if (this.
|
|
1848
|
-
data.
|
|
1849
|
-
}
|
|
1850
|
-
if (this.
|
|
1851
|
-
data.
|
|
1852
|
-
}
|
|
1853
|
-
if (this.
|
|
1854
|
-
data.
|
|
1855
|
-
}
|
|
1856
|
-
if (this.
|
|
1857
|
-
data.
|
|
1858
|
-
}
|
|
1859
|
-
if (this.
|
|
1860
|
-
data.
|
|
1861
|
-
}
|
|
1862
|
-
if (this.
|
|
1863
|
-
data.
|
|
1864
|
-
}
|
|
1865
|
-
if (this.
|
|
1866
|
-
data.
|
|
1867
|
-
}
|
|
1868
|
-
if (this.
|
|
1869
|
-
data.
|
|
1870
|
-
}
|
|
1871
|
-
if (this.
|
|
1872
|
-
data.
|
|
1873
|
-
}
|
|
1874
|
-
if (this.
|
|
1875
|
-
data.
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
case
|
|
1924
|
-
message.
|
|
1925
|
-
break;
|
|
1926
|
-
case
|
|
1927
|
-
|
|
1928
|
-
break;
|
|
1929
|
-
case
|
|
1930
|
-
message.
|
|
1931
|
-
break;
|
|
1932
|
-
case
|
|
1933
|
-
message.
|
|
1934
|
-
break;
|
|
1935
|
-
case
|
|
1936
|
-
reader.readMessage(message.
|
|
1937
|
-
break;
|
|
1938
|
-
case
|
|
1939
|
-
|
|
1940
|
-
break;
|
|
1941
|
-
case
|
|
1942
|
-
message.
|
|
1943
|
-
break;
|
|
1944
|
-
case
|
|
1945
|
-
|
|
1946
|
-
break;
|
|
1947
|
-
case
|
|
1948
|
-
message.
|
|
1949
|
-
break;
|
|
1950
|
-
case
|
|
1951
|
-
message.
|
|
1952
|
-
break;
|
|
1953
|
-
case
|
|
1954
|
-
message.
|
|
1955
|
-
break;
|
|
1956
|
-
case
|
|
1957
|
-
reader.readMessage(message.
|
|
1958
|
-
break;
|
|
1959
|
-
case
|
|
1960
|
-
reader.readMessage(message.
|
|
1961
|
-
break;
|
|
1962
|
-
case
|
|
1963
|
-
reader.readMessage(message.
|
|
1964
|
-
break;
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
return
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
return
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
}
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
return
|
|
2033
|
-
}
|
|
2034
|
-
|
|
2035
|
-
return
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
if ("
|
|
2050
|
-
this.
|
|
2051
|
-
}
|
|
2052
|
-
if ("
|
|
2053
|
-
this.
|
|
2054
|
-
}
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
}
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
}
|
|
2063
|
-
|
|
2064
|
-
pb_1.Message.
|
|
2065
|
-
}
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
pb_1.Message.
|
|
2071
|
-
}
|
|
2072
|
-
get
|
|
2073
|
-
return pb_1.Message.
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
}
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
if (data.
|
|
2084
|
-
message.
|
|
2085
|
-
}
|
|
2086
|
-
if (data.
|
|
2087
|
-
message.
|
|
2088
|
-
}
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
if (this.
|
|
2097
|
-
data.
|
|
2098
|
-
}
|
|
2099
|
-
if (this.
|
|
2100
|
-
data.
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
case
|
|
2125
|
-
message.
|
|
2126
|
-
break;
|
|
2127
|
-
case
|
|
2128
|
-
|
|
2129
|
-
break;
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
return
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
|
-
return
|
|
2140
|
-
}
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
if ("
|
|
2154
|
-
this.
|
|
2155
|
-
}
|
|
2156
|
-
if ("
|
|
2157
|
-
this.
|
|
2158
|
-
}
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
}
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
}
|
|
2167
|
-
|
|
2168
|
-
pb_1.Message.
|
|
2169
|
-
}
|
|
2170
|
-
get
|
|
2171
|
-
return pb_1.Message.
|
|
2172
|
-
}
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
pb_1.Message.
|
|
2178
|
-
}
|
|
2179
|
-
get
|
|
2180
|
-
return pb_1.Message.
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
}
|
|
2185
|
-
|
|
2186
|
-
pb_1.Message.
|
|
2187
|
-
}
|
|
2188
|
-
get
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
if (data.
|
|
2203
|
-
message.
|
|
2204
|
-
}
|
|
2205
|
-
if (data.
|
|
2206
|
-
message.
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
if (this.
|
|
2216
|
-
data.
|
|
2217
|
-
}
|
|
2218
|
-
if (this.
|
|
2219
|
-
data.
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
case
|
|
2244
|
-
reader.readMessage(message.
|
|
2245
|
-
break;
|
|
2246
|
-
case
|
|
2247
|
-
reader.readMessage(message.
|
|
2248
|
-
break;
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
return
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
|
-
return
|
|
2259
|
-
}
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
FeatureCollectionPBuffer.QueryResult = QueryResult;
|
|
2266
|
-
})(FeatureCollectionPBuffer = esriPBuffer.FeatureCollectionPBuffer || (esriPBuffer.FeatureCollectionPBuffer = {}));
|
|
2267
|
-
})(esriPBuffer || (esriPBuffer = {}));
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
6
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
7
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
8
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
9
|
+
};
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
/**
|
|
12
|
+
* Generated by the protoc-gen-ts. DO NOT EDIT!
|
|
13
|
+
* compiler version: 3.21.2
|
|
14
|
+
* source: https://github.com/Esri/arcgis-pbf/blob/main/proto/FeatureCollection/FeatureCollection.proto
|
|
15
|
+
* git: https://github.com/thesayyn/protoc-gen-ts */
|
|
16
|
+
import * as pb_1 from "google-protobuf";
|
|
17
|
+
/** @internal */
|
|
18
|
+
export var esriPBuffer;
|
|
19
|
+
(function (esriPBuffer) {
|
|
20
|
+
var _FeatureCollectionPBuffer_one_of_decls;
|
|
21
|
+
class FeatureCollectionPBuffer extends pb_1.Message {
|
|
22
|
+
constructor(data) {
|
|
23
|
+
super();
|
|
24
|
+
_FeatureCollectionPBuffer_one_of_decls.set(this, []);
|
|
25
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _FeatureCollectionPBuffer_one_of_decls, "f"));
|
|
26
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
27
|
+
if ("version" in data && data.version != undefined) {
|
|
28
|
+
this.version = data.version;
|
|
29
|
+
}
|
|
30
|
+
if ("queryResult" in data && data.queryResult != undefined) {
|
|
31
|
+
this.queryResult = data.queryResult;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
get version() {
|
|
36
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
37
|
+
}
|
|
38
|
+
set version(value) {
|
|
39
|
+
pb_1.Message.setField(this, 1, value);
|
|
40
|
+
}
|
|
41
|
+
get queryResult() {
|
|
42
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.QueryResult, 2);
|
|
43
|
+
}
|
|
44
|
+
set queryResult(value) {
|
|
45
|
+
pb_1.Message.setWrapperField(this, 2, value);
|
|
46
|
+
}
|
|
47
|
+
get has_queryResult() {
|
|
48
|
+
return pb_1.Message.getField(this, 2) != null;
|
|
49
|
+
}
|
|
50
|
+
static fromObject(data) {
|
|
51
|
+
const message = new FeatureCollectionPBuffer({});
|
|
52
|
+
if (data.version != null) {
|
|
53
|
+
message.version = data.version;
|
|
54
|
+
}
|
|
55
|
+
if (data.queryResult != null) {
|
|
56
|
+
message.queryResult = FeatureCollectionPBuffer.QueryResult.fromObject(data.queryResult);
|
|
57
|
+
}
|
|
58
|
+
return message;
|
|
59
|
+
}
|
|
60
|
+
toObject() {
|
|
61
|
+
const data = {};
|
|
62
|
+
if (this.version != null) {
|
|
63
|
+
data.version = this.version;
|
|
64
|
+
}
|
|
65
|
+
if (this.queryResult != null) {
|
|
66
|
+
data.queryResult = this.queryResult.toObject();
|
|
67
|
+
}
|
|
68
|
+
return data;
|
|
69
|
+
}
|
|
70
|
+
serialize(w) {
|
|
71
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
72
|
+
if (this.version.length)
|
|
73
|
+
writer.writeString(1, this.version);
|
|
74
|
+
if (this.has_queryResult)
|
|
75
|
+
writer.writeMessage(2, this.queryResult, () => this.queryResult.serialize(writer));
|
|
76
|
+
if (!w)
|
|
77
|
+
return writer.getResultBuffer();
|
|
78
|
+
}
|
|
79
|
+
static deserialize(bytes) {
|
|
80
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new FeatureCollectionPBuffer();
|
|
81
|
+
while (reader.nextField()) {
|
|
82
|
+
if (reader.isEndGroup())
|
|
83
|
+
break;
|
|
84
|
+
switch (reader.getFieldNumber()) {
|
|
85
|
+
case 1:
|
|
86
|
+
message.version = reader.readString();
|
|
87
|
+
break;
|
|
88
|
+
case 2:
|
|
89
|
+
reader.readMessage(message.queryResult, () => message.queryResult = FeatureCollectionPBuffer.QueryResult.deserialize(reader));
|
|
90
|
+
break;
|
|
91
|
+
default: reader.skipField();
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
}
|
|
96
|
+
serializeBinary() {
|
|
97
|
+
return this.serialize();
|
|
98
|
+
}
|
|
99
|
+
static deserializeBinary(bytes) {
|
|
100
|
+
return FeatureCollectionPBuffer.deserialize(bytes);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
_FeatureCollectionPBuffer_one_of_decls = new WeakMap();
|
|
104
|
+
esriPBuffer.FeatureCollectionPBuffer = FeatureCollectionPBuffer;
|
|
105
|
+
(function (FeatureCollectionPBuffer) {
|
|
106
|
+
var _SpatialReference_one_of_decls, _Field_one_of_decls, _Value_one_of_decls, _Geometry_one_of_decls, _esriShapeBuffer_one_of_decls, _Feature_one_of_decls, _UniqueIdField_one_of_decls, _GeometryProperties_one_of_decls, _ServerGens_one_of_decls, _Scale_one_of_decls, _Translate_one_of_decls, _Transform_one_of_decls, _FeatureResult_one_of_decls, _CountResult_one_of_decls, _ObjectIdsResult_one_of_decls, _QueryResult_one_of_decls;
|
|
107
|
+
let GeometryType;
|
|
108
|
+
(function (GeometryType) {
|
|
109
|
+
GeometryType[GeometryType["esriGeometryTypePoint"] = 0] = "esriGeometryTypePoint";
|
|
110
|
+
GeometryType[GeometryType["esriGeometryTypeMultipoint"] = 1] = "esriGeometryTypeMultipoint";
|
|
111
|
+
GeometryType[GeometryType["esriGeometryTypePolyline"] = 2] = "esriGeometryTypePolyline";
|
|
112
|
+
GeometryType[GeometryType["esriGeometryTypePolygon"] = 3] = "esriGeometryTypePolygon";
|
|
113
|
+
GeometryType[GeometryType["esriGeometryTypeMultipatch"] = 4] = "esriGeometryTypeMultipatch";
|
|
114
|
+
GeometryType[GeometryType["esriGeometryTypeNone"] = 127] = "esriGeometryTypeNone";
|
|
115
|
+
})(GeometryType = FeatureCollectionPBuffer.GeometryType || (FeatureCollectionPBuffer.GeometryType = {}));
|
|
116
|
+
let FieldType;
|
|
117
|
+
(function (FieldType) {
|
|
118
|
+
FieldType[FieldType["esriFieldTypeSmallInteger"] = 0] = "esriFieldTypeSmallInteger";
|
|
119
|
+
FieldType[FieldType["esriFieldTypeInteger"] = 1] = "esriFieldTypeInteger";
|
|
120
|
+
FieldType[FieldType["esriFieldTypeSingle"] = 2] = "esriFieldTypeSingle";
|
|
121
|
+
FieldType[FieldType["esriFieldTypeDouble"] = 3] = "esriFieldTypeDouble";
|
|
122
|
+
FieldType[FieldType["esriFieldTypeString"] = 4] = "esriFieldTypeString";
|
|
123
|
+
FieldType[FieldType["esriFieldTypeDate"] = 5] = "esriFieldTypeDate";
|
|
124
|
+
FieldType[FieldType["esriFieldTypeOID"] = 6] = "esriFieldTypeOID";
|
|
125
|
+
FieldType[FieldType["esriFieldTypeGeometry"] = 7] = "esriFieldTypeGeometry";
|
|
126
|
+
FieldType[FieldType["esriFieldTypeBlob"] = 8] = "esriFieldTypeBlob";
|
|
127
|
+
FieldType[FieldType["esriFieldTypeRaster"] = 9] = "esriFieldTypeRaster";
|
|
128
|
+
FieldType[FieldType["esriFieldTypeGUID"] = 10] = "esriFieldTypeGUID";
|
|
129
|
+
FieldType[FieldType["esriFieldTypeGlobalID"] = 11] = "esriFieldTypeGlobalID";
|
|
130
|
+
FieldType[FieldType["esriFieldTypeXML"] = 12] = "esriFieldTypeXML";
|
|
131
|
+
})(FieldType = FeatureCollectionPBuffer.FieldType || (FeatureCollectionPBuffer.FieldType = {}));
|
|
132
|
+
let SQLType;
|
|
133
|
+
(function (SQLType) {
|
|
134
|
+
SQLType[SQLType["sqlTypeBigInt"] = 0] = "sqlTypeBigInt";
|
|
135
|
+
SQLType[SQLType["sqlTypeBinary"] = 1] = "sqlTypeBinary";
|
|
136
|
+
SQLType[SQLType["sqlTypeBit"] = 2] = "sqlTypeBit";
|
|
137
|
+
SQLType[SQLType["sqlTypeChar"] = 3] = "sqlTypeChar";
|
|
138
|
+
SQLType[SQLType["sqlTypeDate"] = 4] = "sqlTypeDate";
|
|
139
|
+
SQLType[SQLType["sqlTypeDecimal"] = 5] = "sqlTypeDecimal";
|
|
140
|
+
SQLType[SQLType["sqlTypeDouble"] = 6] = "sqlTypeDouble";
|
|
141
|
+
SQLType[SQLType["sqlTypeFloat"] = 7] = "sqlTypeFloat";
|
|
142
|
+
SQLType[SQLType["sqlTypeGeometry"] = 8] = "sqlTypeGeometry";
|
|
143
|
+
SQLType[SQLType["sqlTypeGUID"] = 9] = "sqlTypeGUID";
|
|
144
|
+
SQLType[SQLType["sqlTypeInteger"] = 10] = "sqlTypeInteger";
|
|
145
|
+
SQLType[SQLType["sqlTypeLongNVarchar"] = 11] = "sqlTypeLongNVarchar";
|
|
146
|
+
SQLType[SQLType["sqlTypeLongVarbinary"] = 12] = "sqlTypeLongVarbinary";
|
|
147
|
+
SQLType[SQLType["sqlTypeLongVarchar"] = 13] = "sqlTypeLongVarchar";
|
|
148
|
+
SQLType[SQLType["sqlTypeNChar"] = 14] = "sqlTypeNChar";
|
|
149
|
+
SQLType[SQLType["sqlTypeNVarchar"] = 15] = "sqlTypeNVarchar";
|
|
150
|
+
SQLType[SQLType["sqlTypeOther"] = 16] = "sqlTypeOther";
|
|
151
|
+
SQLType[SQLType["sqlTypeReal"] = 17] = "sqlTypeReal";
|
|
152
|
+
SQLType[SQLType["sqlTypeSmallInt"] = 18] = "sqlTypeSmallInt";
|
|
153
|
+
SQLType[SQLType["sqlTypeSqlXml"] = 19] = "sqlTypeSqlXml";
|
|
154
|
+
SQLType[SQLType["sqlTypeTime"] = 20] = "sqlTypeTime";
|
|
155
|
+
SQLType[SQLType["sqlTypeTimestamp"] = 21] = "sqlTypeTimestamp";
|
|
156
|
+
SQLType[SQLType["sqlTypeTimestamp2"] = 22] = "sqlTypeTimestamp2";
|
|
157
|
+
SQLType[SQLType["sqlTypeTinyInt"] = 23] = "sqlTypeTinyInt";
|
|
158
|
+
SQLType[SQLType["sqlTypeVarbinary"] = 24] = "sqlTypeVarbinary";
|
|
159
|
+
SQLType[SQLType["sqlTypeVarchar"] = 25] = "sqlTypeVarchar";
|
|
160
|
+
})(SQLType = FeatureCollectionPBuffer.SQLType || (FeatureCollectionPBuffer.SQLType = {}));
|
|
161
|
+
let QuantizeOriginPostion;
|
|
162
|
+
(function (QuantizeOriginPostion) {
|
|
163
|
+
QuantizeOriginPostion[QuantizeOriginPostion["upperLeft"] = 0] = "upperLeft";
|
|
164
|
+
QuantizeOriginPostion[QuantizeOriginPostion["lowerLeft"] = 1] = "lowerLeft";
|
|
165
|
+
})(QuantizeOriginPostion = FeatureCollectionPBuffer.QuantizeOriginPostion || (FeatureCollectionPBuffer.QuantizeOriginPostion = {}));
|
|
166
|
+
class SpatialReference extends pb_1.Message {
|
|
167
|
+
constructor(data) {
|
|
168
|
+
super();
|
|
169
|
+
_SpatialReference_one_of_decls.set(this, []);
|
|
170
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _SpatialReference_one_of_decls, "f"));
|
|
171
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
172
|
+
if ("wkid" in data && data.wkid != undefined) {
|
|
173
|
+
this.wkid = data.wkid;
|
|
174
|
+
}
|
|
175
|
+
if ("lastestWkid" in data && data.lastestWkid != undefined) {
|
|
176
|
+
this.lastestWkid = data.lastestWkid;
|
|
177
|
+
}
|
|
178
|
+
if ("vcsWkid" in data && data.vcsWkid != undefined) {
|
|
179
|
+
this.vcsWkid = data.vcsWkid;
|
|
180
|
+
}
|
|
181
|
+
if ("latestVcsWkid" in data && data.latestVcsWkid != undefined) {
|
|
182
|
+
this.latestVcsWkid = data.latestVcsWkid;
|
|
183
|
+
}
|
|
184
|
+
if ("wkt" in data && data.wkt != undefined) {
|
|
185
|
+
this.wkt = data.wkt;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
get wkid() {
|
|
190
|
+
return pb_1.Message.getFieldWithDefault(this, 1, 0);
|
|
191
|
+
}
|
|
192
|
+
set wkid(value) {
|
|
193
|
+
pb_1.Message.setField(this, 1, value);
|
|
194
|
+
}
|
|
195
|
+
get lastestWkid() {
|
|
196
|
+
return pb_1.Message.getFieldWithDefault(this, 2, 0);
|
|
197
|
+
}
|
|
198
|
+
set lastestWkid(value) {
|
|
199
|
+
pb_1.Message.setField(this, 2, value);
|
|
200
|
+
}
|
|
201
|
+
get vcsWkid() {
|
|
202
|
+
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
203
|
+
}
|
|
204
|
+
set vcsWkid(value) {
|
|
205
|
+
pb_1.Message.setField(this, 3, value);
|
|
206
|
+
}
|
|
207
|
+
get latestVcsWkid() {
|
|
208
|
+
return pb_1.Message.getFieldWithDefault(this, 4, 0);
|
|
209
|
+
}
|
|
210
|
+
set latestVcsWkid(value) {
|
|
211
|
+
pb_1.Message.setField(this, 4, value);
|
|
212
|
+
}
|
|
213
|
+
get wkt() {
|
|
214
|
+
return pb_1.Message.getFieldWithDefault(this, 5, "");
|
|
215
|
+
}
|
|
216
|
+
set wkt(value) {
|
|
217
|
+
pb_1.Message.setField(this, 5, value);
|
|
218
|
+
}
|
|
219
|
+
static fromObject(data) {
|
|
220
|
+
const message = new SpatialReference({});
|
|
221
|
+
if (data.wkid != null) {
|
|
222
|
+
message.wkid = data.wkid;
|
|
223
|
+
}
|
|
224
|
+
if (data.lastestWkid != null) {
|
|
225
|
+
message.lastestWkid = data.lastestWkid;
|
|
226
|
+
}
|
|
227
|
+
if (data.vcsWkid != null) {
|
|
228
|
+
message.vcsWkid = data.vcsWkid;
|
|
229
|
+
}
|
|
230
|
+
if (data.latestVcsWkid != null) {
|
|
231
|
+
message.latestVcsWkid = data.latestVcsWkid;
|
|
232
|
+
}
|
|
233
|
+
if (data.wkt != null) {
|
|
234
|
+
message.wkt = data.wkt;
|
|
235
|
+
}
|
|
236
|
+
return message;
|
|
237
|
+
}
|
|
238
|
+
toObject() {
|
|
239
|
+
const data = {};
|
|
240
|
+
if (this.wkid != null) {
|
|
241
|
+
data.wkid = this.wkid;
|
|
242
|
+
}
|
|
243
|
+
if (this.lastestWkid != null) {
|
|
244
|
+
data.lastestWkid = this.lastestWkid;
|
|
245
|
+
}
|
|
246
|
+
if (this.vcsWkid != null) {
|
|
247
|
+
data.vcsWkid = this.vcsWkid;
|
|
248
|
+
}
|
|
249
|
+
if (this.latestVcsWkid != null) {
|
|
250
|
+
data.latestVcsWkid = this.latestVcsWkid;
|
|
251
|
+
}
|
|
252
|
+
if (this.wkt != null) {
|
|
253
|
+
data.wkt = this.wkt;
|
|
254
|
+
}
|
|
255
|
+
return data;
|
|
256
|
+
}
|
|
257
|
+
serialize(w) {
|
|
258
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
259
|
+
if (this.wkid != 0)
|
|
260
|
+
writer.writeUint32(1, this.wkid);
|
|
261
|
+
if (this.lastestWkid != 0)
|
|
262
|
+
writer.writeUint32(2, this.lastestWkid);
|
|
263
|
+
if (this.vcsWkid != 0)
|
|
264
|
+
writer.writeUint32(3, this.vcsWkid);
|
|
265
|
+
if (this.latestVcsWkid != 0)
|
|
266
|
+
writer.writeUint32(4, this.latestVcsWkid);
|
|
267
|
+
if (this.wkt.length)
|
|
268
|
+
writer.writeString(5, this.wkt);
|
|
269
|
+
if (!w)
|
|
270
|
+
return writer.getResultBuffer();
|
|
271
|
+
}
|
|
272
|
+
static deserialize(bytes) {
|
|
273
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new SpatialReference();
|
|
274
|
+
while (reader.nextField()) {
|
|
275
|
+
if (reader.isEndGroup())
|
|
276
|
+
break;
|
|
277
|
+
switch (reader.getFieldNumber()) {
|
|
278
|
+
case 1:
|
|
279
|
+
message.wkid = reader.readUint32();
|
|
280
|
+
break;
|
|
281
|
+
case 2:
|
|
282
|
+
message.lastestWkid = reader.readUint32();
|
|
283
|
+
break;
|
|
284
|
+
case 3:
|
|
285
|
+
message.vcsWkid = reader.readUint32();
|
|
286
|
+
break;
|
|
287
|
+
case 4:
|
|
288
|
+
message.latestVcsWkid = reader.readUint32();
|
|
289
|
+
break;
|
|
290
|
+
case 5:
|
|
291
|
+
message.wkt = reader.readString();
|
|
292
|
+
break;
|
|
293
|
+
default: reader.skipField();
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
return message;
|
|
297
|
+
}
|
|
298
|
+
serializeBinary() {
|
|
299
|
+
return this.serialize();
|
|
300
|
+
}
|
|
301
|
+
static deserializeBinary(bytes) {
|
|
302
|
+
return SpatialReference.deserialize(bytes);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
_SpatialReference_one_of_decls = new WeakMap();
|
|
306
|
+
FeatureCollectionPBuffer.SpatialReference = SpatialReference;
|
|
307
|
+
class Field extends pb_1.Message {
|
|
308
|
+
constructor(data) {
|
|
309
|
+
super();
|
|
310
|
+
_Field_one_of_decls.set(this, []);
|
|
311
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Field_one_of_decls, "f"));
|
|
312
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
313
|
+
if ("name" in data && data.name != undefined) {
|
|
314
|
+
this.name = data.name;
|
|
315
|
+
}
|
|
316
|
+
if ("fieldType" in data && data.fieldType != undefined) {
|
|
317
|
+
this.fieldType = data.fieldType;
|
|
318
|
+
}
|
|
319
|
+
if ("alias" in data && data.alias != undefined) {
|
|
320
|
+
this.alias = data.alias;
|
|
321
|
+
}
|
|
322
|
+
if ("sqlType" in data && data.sqlType != undefined) {
|
|
323
|
+
this.sqlType = data.sqlType;
|
|
324
|
+
}
|
|
325
|
+
if ("domain" in data && data.domain != undefined) {
|
|
326
|
+
this.domain = data.domain;
|
|
327
|
+
}
|
|
328
|
+
if ("defaultValue" in data && data.defaultValue != undefined) {
|
|
329
|
+
this.defaultValue = data.defaultValue;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
get name() {
|
|
334
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
335
|
+
}
|
|
336
|
+
set name(value) {
|
|
337
|
+
pb_1.Message.setField(this, 1, value);
|
|
338
|
+
}
|
|
339
|
+
get fieldType() {
|
|
340
|
+
return pb_1.Message.getFieldWithDefault(this, 2, FeatureCollectionPBuffer.FieldType.esriFieldTypeSmallInteger);
|
|
341
|
+
}
|
|
342
|
+
set fieldType(value) {
|
|
343
|
+
pb_1.Message.setField(this, 2, value);
|
|
344
|
+
}
|
|
345
|
+
get alias() {
|
|
346
|
+
return pb_1.Message.getFieldWithDefault(this, 3, "");
|
|
347
|
+
}
|
|
348
|
+
set alias(value) {
|
|
349
|
+
pb_1.Message.setField(this, 3, value);
|
|
350
|
+
}
|
|
351
|
+
get sqlType() {
|
|
352
|
+
return pb_1.Message.getFieldWithDefault(this, 4, FeatureCollectionPBuffer.SQLType.sqlTypeBigInt);
|
|
353
|
+
}
|
|
354
|
+
set sqlType(value) {
|
|
355
|
+
pb_1.Message.setField(this, 4, value);
|
|
356
|
+
}
|
|
357
|
+
get domain() {
|
|
358
|
+
return pb_1.Message.getFieldWithDefault(this, 5, "");
|
|
359
|
+
}
|
|
360
|
+
set domain(value) {
|
|
361
|
+
pb_1.Message.setField(this, 5, value);
|
|
362
|
+
}
|
|
363
|
+
get defaultValue() {
|
|
364
|
+
return pb_1.Message.getFieldWithDefault(this, 6, "");
|
|
365
|
+
}
|
|
366
|
+
set defaultValue(value) {
|
|
367
|
+
pb_1.Message.setField(this, 6, value);
|
|
368
|
+
}
|
|
369
|
+
static fromObject(data) {
|
|
370
|
+
const message = new Field({});
|
|
371
|
+
if (data.name != null) {
|
|
372
|
+
message.name = data.name;
|
|
373
|
+
}
|
|
374
|
+
if (data.fieldType != null) {
|
|
375
|
+
message.fieldType = data.fieldType;
|
|
376
|
+
}
|
|
377
|
+
if (data.alias != null) {
|
|
378
|
+
message.alias = data.alias;
|
|
379
|
+
}
|
|
380
|
+
if (data.sqlType != null) {
|
|
381
|
+
message.sqlType = data.sqlType;
|
|
382
|
+
}
|
|
383
|
+
if (data.domain != null) {
|
|
384
|
+
message.domain = data.domain;
|
|
385
|
+
}
|
|
386
|
+
if (data.defaultValue != null) {
|
|
387
|
+
message.defaultValue = data.defaultValue;
|
|
388
|
+
}
|
|
389
|
+
return message;
|
|
390
|
+
}
|
|
391
|
+
toObject() {
|
|
392
|
+
const data = {};
|
|
393
|
+
if (this.name != null) {
|
|
394
|
+
data.name = this.name;
|
|
395
|
+
}
|
|
396
|
+
if (this.fieldType != null) {
|
|
397
|
+
data.fieldType = this.fieldType;
|
|
398
|
+
}
|
|
399
|
+
if (this.alias != null) {
|
|
400
|
+
data.alias = this.alias;
|
|
401
|
+
}
|
|
402
|
+
if (this.sqlType != null) {
|
|
403
|
+
data.sqlType = this.sqlType;
|
|
404
|
+
}
|
|
405
|
+
if (this.domain != null) {
|
|
406
|
+
data.domain = this.domain;
|
|
407
|
+
}
|
|
408
|
+
if (this.defaultValue != null) {
|
|
409
|
+
data.defaultValue = this.defaultValue;
|
|
410
|
+
}
|
|
411
|
+
return data;
|
|
412
|
+
}
|
|
413
|
+
serialize(w) {
|
|
414
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
415
|
+
if (this.name.length)
|
|
416
|
+
writer.writeString(1, this.name);
|
|
417
|
+
if (this.fieldType != FeatureCollectionPBuffer.FieldType.esriFieldTypeSmallInteger)
|
|
418
|
+
writer.writeEnum(2, this.fieldType);
|
|
419
|
+
if (this.alias.length)
|
|
420
|
+
writer.writeString(3, this.alias);
|
|
421
|
+
if (this.sqlType != FeatureCollectionPBuffer.SQLType.sqlTypeBigInt)
|
|
422
|
+
writer.writeEnum(4, this.sqlType);
|
|
423
|
+
if (this.domain.length)
|
|
424
|
+
writer.writeString(5, this.domain);
|
|
425
|
+
if (this.defaultValue.length)
|
|
426
|
+
writer.writeString(6, this.defaultValue);
|
|
427
|
+
if (!w)
|
|
428
|
+
return writer.getResultBuffer();
|
|
429
|
+
}
|
|
430
|
+
static deserialize(bytes) {
|
|
431
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Field();
|
|
432
|
+
while (reader.nextField()) {
|
|
433
|
+
if (reader.isEndGroup())
|
|
434
|
+
break;
|
|
435
|
+
switch (reader.getFieldNumber()) {
|
|
436
|
+
case 1:
|
|
437
|
+
message.name = reader.readString();
|
|
438
|
+
break;
|
|
439
|
+
case 2:
|
|
440
|
+
message.fieldType = reader.readEnum();
|
|
441
|
+
break;
|
|
442
|
+
case 3:
|
|
443
|
+
message.alias = reader.readString();
|
|
444
|
+
break;
|
|
445
|
+
case 4:
|
|
446
|
+
message.sqlType = reader.readEnum();
|
|
447
|
+
break;
|
|
448
|
+
case 5:
|
|
449
|
+
message.domain = reader.readString();
|
|
450
|
+
break;
|
|
451
|
+
case 6:
|
|
452
|
+
message.defaultValue = reader.readString();
|
|
453
|
+
break;
|
|
454
|
+
default: reader.skipField();
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
return message;
|
|
458
|
+
}
|
|
459
|
+
serializeBinary() {
|
|
460
|
+
return this.serialize();
|
|
461
|
+
}
|
|
462
|
+
static deserializeBinary(bytes) {
|
|
463
|
+
return Field.deserialize(bytes);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
_Field_one_of_decls = new WeakMap();
|
|
467
|
+
FeatureCollectionPBuffer.Field = Field;
|
|
468
|
+
class Value extends pb_1.Message {
|
|
469
|
+
constructor(data) {
|
|
470
|
+
super();
|
|
471
|
+
_Value_one_of_decls.set(this, [[1, 2, 3, 4, 5, 6, 7, 8, 9]]);
|
|
472
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Value_one_of_decls, "f"));
|
|
473
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
474
|
+
if ("string_value" in data && data.string_value != undefined) {
|
|
475
|
+
this.string_value = data.string_value;
|
|
476
|
+
}
|
|
477
|
+
if ("float_value" in data && data.float_value != undefined) {
|
|
478
|
+
this.float_value = data.float_value;
|
|
479
|
+
}
|
|
480
|
+
if ("double_value" in data && data.double_value != undefined) {
|
|
481
|
+
this.double_value = data.double_value;
|
|
482
|
+
}
|
|
483
|
+
if ("sint_value" in data && data.sint_value != undefined) {
|
|
484
|
+
this.sint_value = data.sint_value;
|
|
485
|
+
}
|
|
486
|
+
if ("uint_value" in data && data.uint_value != undefined) {
|
|
487
|
+
this.uint_value = data.uint_value;
|
|
488
|
+
}
|
|
489
|
+
if ("int64_value" in data && data.int64_value != undefined) {
|
|
490
|
+
this.int64_value = data.int64_value;
|
|
491
|
+
}
|
|
492
|
+
if ("uint64_value" in data && data.uint64_value != undefined) {
|
|
493
|
+
this.uint64_value = data.uint64_value;
|
|
494
|
+
}
|
|
495
|
+
if ("sint64_value" in data && data.sint64_value != undefined) {
|
|
496
|
+
this.sint64_value = data.sint64_value;
|
|
497
|
+
}
|
|
498
|
+
if ("bool_value" in data && data.bool_value != undefined) {
|
|
499
|
+
this.bool_value = data.bool_value;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
get string_value() {
|
|
504
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
505
|
+
}
|
|
506
|
+
set string_value(value) {
|
|
507
|
+
pb_1.Message.setOneofField(this, 1, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
508
|
+
}
|
|
509
|
+
get has_string_value() {
|
|
510
|
+
return pb_1.Message.getField(this, 1) != null;
|
|
511
|
+
}
|
|
512
|
+
get float_value() {
|
|
513
|
+
return pb_1.Message.getFieldWithDefault(this, 2, 0);
|
|
514
|
+
}
|
|
515
|
+
set float_value(value) {
|
|
516
|
+
pb_1.Message.setOneofField(this, 2, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
517
|
+
}
|
|
518
|
+
get has_float_value() {
|
|
519
|
+
return pb_1.Message.getField(this, 2) != null;
|
|
520
|
+
}
|
|
521
|
+
get double_value() {
|
|
522
|
+
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
523
|
+
}
|
|
524
|
+
set double_value(value) {
|
|
525
|
+
pb_1.Message.setOneofField(this, 3, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
526
|
+
}
|
|
527
|
+
get has_double_value() {
|
|
528
|
+
return pb_1.Message.getField(this, 3) != null;
|
|
529
|
+
}
|
|
530
|
+
get sint_value() {
|
|
531
|
+
return pb_1.Message.getFieldWithDefault(this, 4, 0);
|
|
532
|
+
}
|
|
533
|
+
set sint_value(value) {
|
|
534
|
+
pb_1.Message.setOneofField(this, 4, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
535
|
+
}
|
|
536
|
+
get has_sint_value() {
|
|
537
|
+
return pb_1.Message.getField(this, 4) != null;
|
|
538
|
+
}
|
|
539
|
+
get uint_value() {
|
|
540
|
+
return pb_1.Message.getFieldWithDefault(this, 5, 0);
|
|
541
|
+
}
|
|
542
|
+
set uint_value(value) {
|
|
543
|
+
pb_1.Message.setOneofField(this, 5, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
544
|
+
}
|
|
545
|
+
get has_uint_value() {
|
|
546
|
+
return pb_1.Message.getField(this, 5) != null;
|
|
547
|
+
}
|
|
548
|
+
get int64_value() {
|
|
549
|
+
return pb_1.Message.getFieldWithDefault(this, 6, 0);
|
|
550
|
+
}
|
|
551
|
+
set int64_value(value) {
|
|
552
|
+
pb_1.Message.setOneofField(this, 6, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
553
|
+
}
|
|
554
|
+
get has_int64_value() {
|
|
555
|
+
return pb_1.Message.getField(this, 6) != null;
|
|
556
|
+
}
|
|
557
|
+
get uint64_value() {
|
|
558
|
+
return pb_1.Message.getFieldWithDefault(this, 7, 0);
|
|
559
|
+
}
|
|
560
|
+
set uint64_value(value) {
|
|
561
|
+
pb_1.Message.setOneofField(this, 7, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
562
|
+
}
|
|
563
|
+
get has_uint64_value() {
|
|
564
|
+
return pb_1.Message.getField(this, 7) != null;
|
|
565
|
+
}
|
|
566
|
+
get sint64_value() {
|
|
567
|
+
return pb_1.Message.getFieldWithDefault(this, 8, 0);
|
|
568
|
+
}
|
|
569
|
+
set sint64_value(value) {
|
|
570
|
+
pb_1.Message.setOneofField(this, 8, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
571
|
+
}
|
|
572
|
+
get has_sint64_value() {
|
|
573
|
+
return pb_1.Message.getField(this, 8) != null;
|
|
574
|
+
}
|
|
575
|
+
get bool_value() {
|
|
576
|
+
return pb_1.Message.getFieldWithDefault(this, 9, false);
|
|
577
|
+
}
|
|
578
|
+
set bool_value(value) {
|
|
579
|
+
pb_1.Message.setOneofField(this, 9, __classPrivateFieldGet(this, _Value_one_of_decls, "f")[0], value);
|
|
580
|
+
}
|
|
581
|
+
get has_bool_value() {
|
|
582
|
+
return pb_1.Message.getField(this, 9) != null;
|
|
583
|
+
}
|
|
584
|
+
get value_type() {
|
|
585
|
+
const cases = {
|
|
586
|
+
0: "none",
|
|
587
|
+
1: "string_value",
|
|
588
|
+
2: "float_value",
|
|
589
|
+
3: "double_value",
|
|
590
|
+
4: "sint_value",
|
|
591
|
+
5: "uint_value",
|
|
592
|
+
6: "int64_value",
|
|
593
|
+
7: "uint64_value",
|
|
594
|
+
8: "sint64_value",
|
|
595
|
+
9: "bool_value",
|
|
596
|
+
};
|
|
597
|
+
return cases[pb_1.Message.computeOneofCase(this, [1, 2, 3, 4, 5, 6, 7, 8, 9])];
|
|
598
|
+
}
|
|
599
|
+
static fromObject(data) {
|
|
600
|
+
const message = new Value({});
|
|
601
|
+
if (data.string_value != null) {
|
|
602
|
+
message.string_value = data.string_value;
|
|
603
|
+
}
|
|
604
|
+
if (data.float_value != null) {
|
|
605
|
+
message.float_value = data.float_value;
|
|
606
|
+
}
|
|
607
|
+
if (data.double_value != null) {
|
|
608
|
+
message.double_value = data.double_value;
|
|
609
|
+
}
|
|
610
|
+
if (data.sint_value != null) {
|
|
611
|
+
message.sint_value = data.sint_value;
|
|
612
|
+
}
|
|
613
|
+
if (data.uint_value != null) {
|
|
614
|
+
message.uint_value = data.uint_value;
|
|
615
|
+
}
|
|
616
|
+
if (data.int64_value != null) {
|
|
617
|
+
message.int64_value = data.int64_value;
|
|
618
|
+
}
|
|
619
|
+
if (data.uint64_value != null) {
|
|
620
|
+
message.uint64_value = data.uint64_value;
|
|
621
|
+
}
|
|
622
|
+
if (data.sint64_value != null) {
|
|
623
|
+
message.sint64_value = data.sint64_value;
|
|
624
|
+
}
|
|
625
|
+
if (data.bool_value != null) {
|
|
626
|
+
message.bool_value = data.bool_value;
|
|
627
|
+
}
|
|
628
|
+
return message;
|
|
629
|
+
}
|
|
630
|
+
toObject() {
|
|
631
|
+
const data = {};
|
|
632
|
+
if (this.string_value != null) {
|
|
633
|
+
data.string_value = this.string_value;
|
|
634
|
+
}
|
|
635
|
+
if (this.float_value != null) {
|
|
636
|
+
data.float_value = this.float_value;
|
|
637
|
+
}
|
|
638
|
+
if (this.double_value != null) {
|
|
639
|
+
data.double_value = this.double_value;
|
|
640
|
+
}
|
|
641
|
+
if (this.sint_value != null) {
|
|
642
|
+
data.sint_value = this.sint_value;
|
|
643
|
+
}
|
|
644
|
+
if (this.uint_value != null) {
|
|
645
|
+
data.uint_value = this.uint_value;
|
|
646
|
+
}
|
|
647
|
+
if (this.int64_value != null) {
|
|
648
|
+
data.int64_value = this.int64_value;
|
|
649
|
+
}
|
|
650
|
+
if (this.uint64_value != null) {
|
|
651
|
+
data.uint64_value = this.uint64_value;
|
|
652
|
+
}
|
|
653
|
+
if (this.sint64_value != null) {
|
|
654
|
+
data.sint64_value = this.sint64_value;
|
|
655
|
+
}
|
|
656
|
+
if (this.bool_value != null) {
|
|
657
|
+
data.bool_value = this.bool_value;
|
|
658
|
+
}
|
|
659
|
+
return data;
|
|
660
|
+
}
|
|
661
|
+
serialize(w) {
|
|
662
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
663
|
+
if (this.has_string_value)
|
|
664
|
+
writer.writeString(1, this.string_value);
|
|
665
|
+
if (this.has_float_value)
|
|
666
|
+
writer.writeFloat(2, this.float_value);
|
|
667
|
+
if (this.has_double_value)
|
|
668
|
+
writer.writeDouble(3, this.double_value);
|
|
669
|
+
if (this.has_sint_value)
|
|
670
|
+
writer.writeSint32(4, this.sint_value);
|
|
671
|
+
if (this.has_uint_value)
|
|
672
|
+
writer.writeUint32(5, this.uint_value);
|
|
673
|
+
if (this.has_int64_value)
|
|
674
|
+
writer.writeInt64(6, this.int64_value);
|
|
675
|
+
if (this.has_uint64_value)
|
|
676
|
+
writer.writeUint64(7, this.uint64_value);
|
|
677
|
+
if (this.has_sint64_value)
|
|
678
|
+
writer.writeSint64(8, this.sint64_value);
|
|
679
|
+
if (this.has_bool_value)
|
|
680
|
+
writer.writeBool(9, this.bool_value);
|
|
681
|
+
if (!w)
|
|
682
|
+
return writer.getResultBuffer();
|
|
683
|
+
}
|
|
684
|
+
static deserialize(bytes) {
|
|
685
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Value();
|
|
686
|
+
while (reader.nextField()) {
|
|
687
|
+
if (reader.isEndGroup())
|
|
688
|
+
break;
|
|
689
|
+
switch (reader.getFieldNumber()) {
|
|
690
|
+
case 1:
|
|
691
|
+
message.string_value = reader.readString();
|
|
692
|
+
break;
|
|
693
|
+
case 2:
|
|
694
|
+
message.float_value = reader.readFloat();
|
|
695
|
+
break;
|
|
696
|
+
case 3:
|
|
697
|
+
message.double_value = reader.readDouble();
|
|
698
|
+
break;
|
|
699
|
+
case 4:
|
|
700
|
+
message.sint_value = reader.readSint32();
|
|
701
|
+
break;
|
|
702
|
+
case 5:
|
|
703
|
+
message.uint_value = reader.readUint32();
|
|
704
|
+
break;
|
|
705
|
+
case 6:
|
|
706
|
+
message.int64_value = reader.readInt64();
|
|
707
|
+
break;
|
|
708
|
+
case 7:
|
|
709
|
+
message.uint64_value = reader.readUint64();
|
|
710
|
+
break;
|
|
711
|
+
case 8:
|
|
712
|
+
message.sint64_value = reader.readSint64();
|
|
713
|
+
break;
|
|
714
|
+
case 9:
|
|
715
|
+
message.bool_value = reader.readBool();
|
|
716
|
+
break;
|
|
717
|
+
default: reader.skipField();
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
return message;
|
|
721
|
+
}
|
|
722
|
+
serializeBinary() {
|
|
723
|
+
return this.serialize();
|
|
724
|
+
}
|
|
725
|
+
static deserializeBinary(bytes) {
|
|
726
|
+
return Value.deserialize(bytes);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
_Value_one_of_decls = new WeakMap();
|
|
730
|
+
FeatureCollectionPBuffer.Value = Value;
|
|
731
|
+
class Geometry extends pb_1.Message {
|
|
732
|
+
constructor(data) {
|
|
733
|
+
super();
|
|
734
|
+
_Geometry_one_of_decls.set(this, []);
|
|
735
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [2, 3], __classPrivateFieldGet(this, _Geometry_one_of_decls, "f"));
|
|
736
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
737
|
+
if ("lengths" in data && data.lengths != undefined) {
|
|
738
|
+
this.lengths = data.lengths;
|
|
739
|
+
}
|
|
740
|
+
if ("coords" in data && data.coords != undefined) {
|
|
741
|
+
this.coords = data.coords;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
get lengths() {
|
|
746
|
+
return pb_1.Message.getFieldWithDefault(this, 2, []);
|
|
747
|
+
}
|
|
748
|
+
set lengths(value) {
|
|
749
|
+
pb_1.Message.setField(this, 2, value);
|
|
750
|
+
}
|
|
751
|
+
get coords() {
|
|
752
|
+
return pb_1.Message.getFieldWithDefault(this, 3, []);
|
|
753
|
+
}
|
|
754
|
+
set coords(value) {
|
|
755
|
+
pb_1.Message.setField(this, 3, value);
|
|
756
|
+
}
|
|
757
|
+
static fromObject(data) {
|
|
758
|
+
const message = new Geometry({});
|
|
759
|
+
if (data.lengths != null) {
|
|
760
|
+
message.lengths = data.lengths;
|
|
761
|
+
}
|
|
762
|
+
if (data.coords != null) {
|
|
763
|
+
message.coords = data.coords;
|
|
764
|
+
}
|
|
765
|
+
return message;
|
|
766
|
+
}
|
|
767
|
+
toObject() {
|
|
768
|
+
const data = {};
|
|
769
|
+
if (this.lengths != null) {
|
|
770
|
+
data.lengths = this.lengths;
|
|
771
|
+
}
|
|
772
|
+
if (this.coords != null) {
|
|
773
|
+
data.coords = this.coords;
|
|
774
|
+
}
|
|
775
|
+
return data;
|
|
776
|
+
}
|
|
777
|
+
serialize(w) {
|
|
778
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
779
|
+
if (this.lengths.length)
|
|
780
|
+
writer.writePackedUint32(2, this.lengths);
|
|
781
|
+
if (this.coords.length)
|
|
782
|
+
writer.writePackedSint64(3, this.coords);
|
|
783
|
+
if (!w)
|
|
784
|
+
return writer.getResultBuffer();
|
|
785
|
+
}
|
|
786
|
+
static deserialize(bytes) {
|
|
787
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Geometry();
|
|
788
|
+
while (reader.nextField()) {
|
|
789
|
+
if (reader.isEndGroup())
|
|
790
|
+
break;
|
|
791
|
+
switch (reader.getFieldNumber()) {
|
|
792
|
+
case 2:
|
|
793
|
+
message.lengths = reader.readPackedUint32();
|
|
794
|
+
break;
|
|
795
|
+
case 3:
|
|
796
|
+
message.coords = reader.readPackedSint64();
|
|
797
|
+
break;
|
|
798
|
+
default: reader.skipField();
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
return message;
|
|
802
|
+
}
|
|
803
|
+
serializeBinary() {
|
|
804
|
+
return this.serialize();
|
|
805
|
+
}
|
|
806
|
+
static deserializeBinary(bytes) {
|
|
807
|
+
return Geometry.deserialize(bytes);
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
_Geometry_one_of_decls = new WeakMap();
|
|
811
|
+
FeatureCollectionPBuffer.Geometry = Geometry;
|
|
812
|
+
class esriShapeBuffer extends pb_1.Message {
|
|
813
|
+
constructor(data) {
|
|
814
|
+
super();
|
|
815
|
+
_esriShapeBuffer_one_of_decls.set(this, []);
|
|
816
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _esriShapeBuffer_one_of_decls, "f"));
|
|
817
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
818
|
+
if ("bytes" in data && data.bytes != undefined) {
|
|
819
|
+
this.bytes = data.bytes;
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
get bytes() {
|
|
824
|
+
return pb_1.Message.getFieldWithDefault(this, 1, new Uint8Array());
|
|
825
|
+
}
|
|
826
|
+
set bytes(value) {
|
|
827
|
+
pb_1.Message.setField(this, 1, value);
|
|
828
|
+
}
|
|
829
|
+
static fromObject(data) {
|
|
830
|
+
const message = new esriShapeBuffer({});
|
|
831
|
+
if (data.bytes != null) {
|
|
832
|
+
message.bytes = data.bytes;
|
|
833
|
+
}
|
|
834
|
+
return message;
|
|
835
|
+
}
|
|
836
|
+
toObject() {
|
|
837
|
+
const data = {};
|
|
838
|
+
if (this.bytes != null) {
|
|
839
|
+
data.bytes = this.bytes;
|
|
840
|
+
}
|
|
841
|
+
return data;
|
|
842
|
+
}
|
|
843
|
+
serialize(w) {
|
|
844
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
845
|
+
if (this.bytes.length)
|
|
846
|
+
writer.writeBytes(1, this.bytes);
|
|
847
|
+
if (!w)
|
|
848
|
+
return writer.getResultBuffer();
|
|
849
|
+
}
|
|
850
|
+
static deserialize(bytes) {
|
|
851
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new esriShapeBuffer();
|
|
852
|
+
while (reader.nextField()) {
|
|
853
|
+
if (reader.isEndGroup())
|
|
854
|
+
break;
|
|
855
|
+
switch (reader.getFieldNumber()) {
|
|
856
|
+
case 1:
|
|
857
|
+
message.bytes = reader.readBytes();
|
|
858
|
+
break;
|
|
859
|
+
default: reader.skipField();
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
return message;
|
|
863
|
+
}
|
|
864
|
+
serializeBinary() {
|
|
865
|
+
return this.serialize();
|
|
866
|
+
}
|
|
867
|
+
static deserializeBinary(bytes) {
|
|
868
|
+
return esriShapeBuffer.deserialize(bytes);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
_esriShapeBuffer_one_of_decls = new WeakMap();
|
|
872
|
+
FeatureCollectionPBuffer.esriShapeBuffer = esriShapeBuffer;
|
|
873
|
+
class Feature extends pb_1.Message {
|
|
874
|
+
constructor(data) {
|
|
875
|
+
super();
|
|
876
|
+
_Feature_one_of_decls.set(this, [[2, 3]]);
|
|
877
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [1], __classPrivateFieldGet(this, _Feature_one_of_decls, "f"));
|
|
878
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
879
|
+
if ("attributes" in data && data.attributes != undefined) {
|
|
880
|
+
this.attributes = data.attributes;
|
|
881
|
+
}
|
|
882
|
+
if ("geometry" in data && data.geometry != undefined) {
|
|
883
|
+
this.geometry = data.geometry;
|
|
884
|
+
}
|
|
885
|
+
if ("shapeBuffer" in data && data.shapeBuffer != undefined) {
|
|
886
|
+
this.shapeBuffer = data.shapeBuffer;
|
|
887
|
+
}
|
|
888
|
+
if ("centroid" in data && data.centroid != undefined) {
|
|
889
|
+
this.centroid = data.centroid;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
get attributes() {
|
|
894
|
+
return pb_1.Message.getRepeatedWrapperField(this, FeatureCollectionPBuffer.Value, 1);
|
|
895
|
+
}
|
|
896
|
+
set attributes(value) {
|
|
897
|
+
pb_1.Message.setRepeatedWrapperField(this, 1, value);
|
|
898
|
+
}
|
|
899
|
+
get geometry() {
|
|
900
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.Geometry, 2);
|
|
901
|
+
}
|
|
902
|
+
set geometry(value) {
|
|
903
|
+
pb_1.Message.setOneofWrapperField(this, 2, __classPrivateFieldGet(this, _Feature_one_of_decls, "f")[0], value);
|
|
904
|
+
}
|
|
905
|
+
get has_geometry() {
|
|
906
|
+
return pb_1.Message.getField(this, 2) != null;
|
|
907
|
+
}
|
|
908
|
+
get shapeBuffer() {
|
|
909
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.esriShapeBuffer, 3);
|
|
910
|
+
}
|
|
911
|
+
set shapeBuffer(value) {
|
|
912
|
+
pb_1.Message.setOneofWrapperField(this, 3, __classPrivateFieldGet(this, _Feature_one_of_decls, "f")[0], value);
|
|
913
|
+
}
|
|
914
|
+
get has_shapeBuffer() {
|
|
915
|
+
return pb_1.Message.getField(this, 3) != null;
|
|
916
|
+
}
|
|
917
|
+
get centroid() {
|
|
918
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.Geometry, 4);
|
|
919
|
+
}
|
|
920
|
+
set centroid(value) {
|
|
921
|
+
pb_1.Message.setWrapperField(this, 4, value);
|
|
922
|
+
}
|
|
923
|
+
get has_centroid() {
|
|
924
|
+
return pb_1.Message.getField(this, 4) != null;
|
|
925
|
+
}
|
|
926
|
+
get compressed_geometry() {
|
|
927
|
+
const cases = {
|
|
928
|
+
0: "none",
|
|
929
|
+
2: "geometry",
|
|
930
|
+
3: "shapeBuffer",
|
|
931
|
+
};
|
|
932
|
+
return cases[pb_1.Message.computeOneofCase(this, [2, 3])];
|
|
933
|
+
}
|
|
934
|
+
static fromObject(data) {
|
|
935
|
+
const message = new Feature({});
|
|
936
|
+
if (data.attributes != null) {
|
|
937
|
+
message.attributes = data.attributes.map((item) => FeatureCollectionPBuffer.Value.fromObject(item));
|
|
938
|
+
}
|
|
939
|
+
if (data.geometry != null) {
|
|
940
|
+
message.geometry = FeatureCollectionPBuffer.Geometry.fromObject(data.geometry);
|
|
941
|
+
}
|
|
942
|
+
if (data.shapeBuffer != null) {
|
|
943
|
+
message.shapeBuffer = FeatureCollectionPBuffer.esriShapeBuffer.fromObject(data.shapeBuffer);
|
|
944
|
+
}
|
|
945
|
+
if (data.centroid != null) {
|
|
946
|
+
message.centroid = FeatureCollectionPBuffer.Geometry.fromObject(data.centroid);
|
|
947
|
+
}
|
|
948
|
+
return message;
|
|
949
|
+
}
|
|
950
|
+
toObject() {
|
|
951
|
+
const data = {};
|
|
952
|
+
if (this.attributes != null) {
|
|
953
|
+
data.attributes = this.attributes.map((item) => item.toObject());
|
|
954
|
+
}
|
|
955
|
+
if (this.geometry != null) {
|
|
956
|
+
data.geometry = this.geometry.toObject();
|
|
957
|
+
}
|
|
958
|
+
if (this.shapeBuffer != null) {
|
|
959
|
+
data.shapeBuffer = this.shapeBuffer.toObject();
|
|
960
|
+
}
|
|
961
|
+
if (this.centroid != null) {
|
|
962
|
+
data.centroid = this.centroid.toObject();
|
|
963
|
+
}
|
|
964
|
+
return data;
|
|
965
|
+
}
|
|
966
|
+
serialize(w) {
|
|
967
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
968
|
+
if (this.attributes.length)
|
|
969
|
+
writer.writeRepeatedMessage(1, this.attributes, (item) => item.serialize(writer));
|
|
970
|
+
if (this.has_geometry)
|
|
971
|
+
writer.writeMessage(2, this.geometry, () => this.geometry.serialize(writer));
|
|
972
|
+
if (this.has_shapeBuffer)
|
|
973
|
+
writer.writeMessage(3, this.shapeBuffer, () => this.shapeBuffer.serialize(writer));
|
|
974
|
+
if (this.has_centroid)
|
|
975
|
+
writer.writeMessage(4, this.centroid, () => this.centroid.serialize(writer));
|
|
976
|
+
if (!w)
|
|
977
|
+
return writer.getResultBuffer();
|
|
978
|
+
}
|
|
979
|
+
static deserialize(bytes) {
|
|
980
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Feature();
|
|
981
|
+
while (reader.nextField()) {
|
|
982
|
+
if (reader.isEndGroup())
|
|
983
|
+
break;
|
|
984
|
+
switch (reader.getFieldNumber()) {
|
|
985
|
+
case 1:
|
|
986
|
+
reader.readMessage(message.attributes, () => pb_1.Message.addToRepeatedWrapperField(message, 1, FeatureCollectionPBuffer.Value.deserialize(reader), FeatureCollectionPBuffer.Value));
|
|
987
|
+
break;
|
|
988
|
+
case 2:
|
|
989
|
+
reader.readMessage(message.geometry, () => message.geometry = FeatureCollectionPBuffer.Geometry.deserialize(reader));
|
|
990
|
+
break;
|
|
991
|
+
case 3:
|
|
992
|
+
reader.readMessage(message.shapeBuffer, () => message.shapeBuffer = FeatureCollectionPBuffer.esriShapeBuffer.deserialize(reader));
|
|
993
|
+
break;
|
|
994
|
+
case 4:
|
|
995
|
+
reader.readMessage(message.centroid, () => message.centroid = FeatureCollectionPBuffer.Geometry.deserialize(reader));
|
|
996
|
+
break;
|
|
997
|
+
default: reader.skipField();
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
return message;
|
|
1001
|
+
}
|
|
1002
|
+
serializeBinary() {
|
|
1003
|
+
return this.serialize();
|
|
1004
|
+
}
|
|
1005
|
+
static deserializeBinary(bytes) {
|
|
1006
|
+
return Feature.deserialize(bytes);
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
_Feature_one_of_decls = new WeakMap();
|
|
1010
|
+
FeatureCollectionPBuffer.Feature = Feature;
|
|
1011
|
+
class UniqueIdField extends pb_1.Message {
|
|
1012
|
+
constructor(data) {
|
|
1013
|
+
super();
|
|
1014
|
+
_UniqueIdField_one_of_decls.set(this, []);
|
|
1015
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _UniqueIdField_one_of_decls, "f"));
|
|
1016
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
1017
|
+
if ("name" in data && data.name != undefined) {
|
|
1018
|
+
this.name = data.name;
|
|
1019
|
+
}
|
|
1020
|
+
if ("isSystemMaintained" in data && data.isSystemMaintained != undefined) {
|
|
1021
|
+
this.isSystemMaintained = data.isSystemMaintained;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
get name() {
|
|
1026
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
1027
|
+
}
|
|
1028
|
+
set name(value) {
|
|
1029
|
+
pb_1.Message.setField(this, 1, value);
|
|
1030
|
+
}
|
|
1031
|
+
get isSystemMaintained() {
|
|
1032
|
+
return pb_1.Message.getFieldWithDefault(this, 2, false);
|
|
1033
|
+
}
|
|
1034
|
+
set isSystemMaintained(value) {
|
|
1035
|
+
pb_1.Message.setField(this, 2, value);
|
|
1036
|
+
}
|
|
1037
|
+
static fromObject(data) {
|
|
1038
|
+
const message = new UniqueIdField({});
|
|
1039
|
+
if (data.name != null) {
|
|
1040
|
+
message.name = data.name;
|
|
1041
|
+
}
|
|
1042
|
+
if (data.isSystemMaintained != null) {
|
|
1043
|
+
message.isSystemMaintained = data.isSystemMaintained;
|
|
1044
|
+
}
|
|
1045
|
+
return message;
|
|
1046
|
+
}
|
|
1047
|
+
toObject() {
|
|
1048
|
+
const data = {};
|
|
1049
|
+
if (this.name != null) {
|
|
1050
|
+
data.name = this.name;
|
|
1051
|
+
}
|
|
1052
|
+
if (this.isSystemMaintained != null) {
|
|
1053
|
+
data.isSystemMaintained = this.isSystemMaintained;
|
|
1054
|
+
}
|
|
1055
|
+
return data;
|
|
1056
|
+
}
|
|
1057
|
+
serialize(w) {
|
|
1058
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
1059
|
+
if (this.name.length)
|
|
1060
|
+
writer.writeString(1, this.name);
|
|
1061
|
+
if (this.isSystemMaintained != false)
|
|
1062
|
+
writer.writeBool(2, this.isSystemMaintained);
|
|
1063
|
+
if (!w)
|
|
1064
|
+
return writer.getResultBuffer();
|
|
1065
|
+
}
|
|
1066
|
+
static deserialize(bytes) {
|
|
1067
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new UniqueIdField();
|
|
1068
|
+
while (reader.nextField()) {
|
|
1069
|
+
if (reader.isEndGroup())
|
|
1070
|
+
break;
|
|
1071
|
+
switch (reader.getFieldNumber()) {
|
|
1072
|
+
case 1:
|
|
1073
|
+
message.name = reader.readString();
|
|
1074
|
+
break;
|
|
1075
|
+
case 2:
|
|
1076
|
+
message.isSystemMaintained = reader.readBool();
|
|
1077
|
+
break;
|
|
1078
|
+
default: reader.skipField();
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
return message;
|
|
1082
|
+
}
|
|
1083
|
+
serializeBinary() {
|
|
1084
|
+
return this.serialize();
|
|
1085
|
+
}
|
|
1086
|
+
static deserializeBinary(bytes) {
|
|
1087
|
+
return UniqueIdField.deserialize(bytes);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
_UniqueIdField_one_of_decls = new WeakMap();
|
|
1091
|
+
FeatureCollectionPBuffer.UniqueIdField = UniqueIdField;
|
|
1092
|
+
class GeometryProperties extends pb_1.Message {
|
|
1093
|
+
constructor(data) {
|
|
1094
|
+
super();
|
|
1095
|
+
_GeometryProperties_one_of_decls.set(this, []);
|
|
1096
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _GeometryProperties_one_of_decls, "f"));
|
|
1097
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
1098
|
+
if ("shapeAreaFieldName" in data && data.shapeAreaFieldName != undefined) {
|
|
1099
|
+
this.shapeAreaFieldName = data.shapeAreaFieldName;
|
|
1100
|
+
}
|
|
1101
|
+
if ("shapeLengthFieldName" in data && data.shapeLengthFieldName != undefined) {
|
|
1102
|
+
this.shapeLengthFieldName = data.shapeLengthFieldName;
|
|
1103
|
+
}
|
|
1104
|
+
if ("units" in data && data.units != undefined) {
|
|
1105
|
+
this.units = data.units;
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
get shapeAreaFieldName() {
|
|
1110
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
1111
|
+
}
|
|
1112
|
+
set shapeAreaFieldName(value) {
|
|
1113
|
+
pb_1.Message.setField(this, 1, value);
|
|
1114
|
+
}
|
|
1115
|
+
get shapeLengthFieldName() {
|
|
1116
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
1117
|
+
}
|
|
1118
|
+
set shapeLengthFieldName(value) {
|
|
1119
|
+
pb_1.Message.setField(this, 2, value);
|
|
1120
|
+
}
|
|
1121
|
+
get units() {
|
|
1122
|
+
return pb_1.Message.getFieldWithDefault(this, 3, "");
|
|
1123
|
+
}
|
|
1124
|
+
set units(value) {
|
|
1125
|
+
pb_1.Message.setField(this, 3, value);
|
|
1126
|
+
}
|
|
1127
|
+
static fromObject(data) {
|
|
1128
|
+
const message = new GeometryProperties({});
|
|
1129
|
+
if (data.shapeAreaFieldName != null) {
|
|
1130
|
+
message.shapeAreaFieldName = data.shapeAreaFieldName;
|
|
1131
|
+
}
|
|
1132
|
+
if (data.shapeLengthFieldName != null) {
|
|
1133
|
+
message.shapeLengthFieldName = data.shapeLengthFieldName;
|
|
1134
|
+
}
|
|
1135
|
+
if (data.units != null) {
|
|
1136
|
+
message.units = data.units;
|
|
1137
|
+
}
|
|
1138
|
+
return message;
|
|
1139
|
+
}
|
|
1140
|
+
toObject() {
|
|
1141
|
+
const data = {};
|
|
1142
|
+
if (this.shapeAreaFieldName != null) {
|
|
1143
|
+
data.shapeAreaFieldName = this.shapeAreaFieldName;
|
|
1144
|
+
}
|
|
1145
|
+
if (this.shapeLengthFieldName != null) {
|
|
1146
|
+
data.shapeLengthFieldName = this.shapeLengthFieldName;
|
|
1147
|
+
}
|
|
1148
|
+
if (this.units != null) {
|
|
1149
|
+
data.units = this.units;
|
|
1150
|
+
}
|
|
1151
|
+
return data;
|
|
1152
|
+
}
|
|
1153
|
+
serialize(w) {
|
|
1154
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
1155
|
+
if (this.shapeAreaFieldName.length)
|
|
1156
|
+
writer.writeString(1, this.shapeAreaFieldName);
|
|
1157
|
+
if (this.shapeLengthFieldName.length)
|
|
1158
|
+
writer.writeString(2, this.shapeLengthFieldName);
|
|
1159
|
+
if (this.units.length)
|
|
1160
|
+
writer.writeString(3, this.units);
|
|
1161
|
+
if (!w)
|
|
1162
|
+
return writer.getResultBuffer();
|
|
1163
|
+
}
|
|
1164
|
+
static deserialize(bytes) {
|
|
1165
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new GeometryProperties();
|
|
1166
|
+
while (reader.nextField()) {
|
|
1167
|
+
if (reader.isEndGroup())
|
|
1168
|
+
break;
|
|
1169
|
+
switch (reader.getFieldNumber()) {
|
|
1170
|
+
case 1:
|
|
1171
|
+
message.shapeAreaFieldName = reader.readString();
|
|
1172
|
+
break;
|
|
1173
|
+
case 2:
|
|
1174
|
+
message.shapeLengthFieldName = reader.readString();
|
|
1175
|
+
break;
|
|
1176
|
+
case 3:
|
|
1177
|
+
message.units = reader.readString();
|
|
1178
|
+
break;
|
|
1179
|
+
default: reader.skipField();
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
return message;
|
|
1183
|
+
}
|
|
1184
|
+
serializeBinary() {
|
|
1185
|
+
return this.serialize();
|
|
1186
|
+
}
|
|
1187
|
+
static deserializeBinary(bytes) {
|
|
1188
|
+
return GeometryProperties.deserialize(bytes);
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
_GeometryProperties_one_of_decls = new WeakMap();
|
|
1192
|
+
FeatureCollectionPBuffer.GeometryProperties = GeometryProperties;
|
|
1193
|
+
class ServerGens extends pb_1.Message {
|
|
1194
|
+
constructor(data) {
|
|
1195
|
+
super();
|
|
1196
|
+
_ServerGens_one_of_decls.set(this, []);
|
|
1197
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _ServerGens_one_of_decls, "f"));
|
|
1198
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
1199
|
+
if ("minServerGen" in data && data.minServerGen != undefined) {
|
|
1200
|
+
this.minServerGen = data.minServerGen;
|
|
1201
|
+
}
|
|
1202
|
+
if ("serverGen" in data && data.serverGen != undefined) {
|
|
1203
|
+
this.serverGen = data.serverGen;
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
get minServerGen() {
|
|
1208
|
+
return pb_1.Message.getFieldWithDefault(this, 1, 0);
|
|
1209
|
+
}
|
|
1210
|
+
set minServerGen(value) {
|
|
1211
|
+
pb_1.Message.setField(this, 1, value);
|
|
1212
|
+
}
|
|
1213
|
+
get serverGen() {
|
|
1214
|
+
return pb_1.Message.getFieldWithDefault(this, 2, 0);
|
|
1215
|
+
}
|
|
1216
|
+
set serverGen(value) {
|
|
1217
|
+
pb_1.Message.setField(this, 2, value);
|
|
1218
|
+
}
|
|
1219
|
+
static fromObject(data) {
|
|
1220
|
+
const message = new ServerGens({});
|
|
1221
|
+
if (data.minServerGen != null) {
|
|
1222
|
+
message.minServerGen = data.minServerGen;
|
|
1223
|
+
}
|
|
1224
|
+
if (data.serverGen != null) {
|
|
1225
|
+
message.serverGen = data.serverGen;
|
|
1226
|
+
}
|
|
1227
|
+
return message;
|
|
1228
|
+
}
|
|
1229
|
+
toObject() {
|
|
1230
|
+
const data = {};
|
|
1231
|
+
if (this.minServerGen != null) {
|
|
1232
|
+
data.minServerGen = this.minServerGen;
|
|
1233
|
+
}
|
|
1234
|
+
if (this.serverGen != null) {
|
|
1235
|
+
data.serverGen = this.serverGen;
|
|
1236
|
+
}
|
|
1237
|
+
return data;
|
|
1238
|
+
}
|
|
1239
|
+
serialize(w) {
|
|
1240
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
1241
|
+
if (this.minServerGen != 0)
|
|
1242
|
+
writer.writeUint64(1, this.minServerGen);
|
|
1243
|
+
if (this.serverGen != 0)
|
|
1244
|
+
writer.writeUint64(2, this.serverGen);
|
|
1245
|
+
if (!w)
|
|
1246
|
+
return writer.getResultBuffer();
|
|
1247
|
+
}
|
|
1248
|
+
static deserialize(bytes) {
|
|
1249
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new ServerGens();
|
|
1250
|
+
while (reader.nextField()) {
|
|
1251
|
+
if (reader.isEndGroup())
|
|
1252
|
+
break;
|
|
1253
|
+
switch (reader.getFieldNumber()) {
|
|
1254
|
+
case 1:
|
|
1255
|
+
message.minServerGen = reader.readUint64();
|
|
1256
|
+
break;
|
|
1257
|
+
case 2:
|
|
1258
|
+
message.serverGen = reader.readUint64();
|
|
1259
|
+
break;
|
|
1260
|
+
default: reader.skipField();
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
return message;
|
|
1264
|
+
}
|
|
1265
|
+
serializeBinary() {
|
|
1266
|
+
return this.serialize();
|
|
1267
|
+
}
|
|
1268
|
+
static deserializeBinary(bytes) {
|
|
1269
|
+
return ServerGens.deserialize(bytes);
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
_ServerGens_one_of_decls = new WeakMap();
|
|
1273
|
+
FeatureCollectionPBuffer.ServerGens = ServerGens;
|
|
1274
|
+
class Scale extends pb_1.Message {
|
|
1275
|
+
constructor(data) {
|
|
1276
|
+
super();
|
|
1277
|
+
_Scale_one_of_decls.set(this, []);
|
|
1278
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Scale_one_of_decls, "f"));
|
|
1279
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
1280
|
+
if ("xScale" in data && data.xScale != undefined) {
|
|
1281
|
+
this.xScale = data.xScale;
|
|
1282
|
+
}
|
|
1283
|
+
if ("yScale" in data && data.yScale != undefined) {
|
|
1284
|
+
this.yScale = data.yScale;
|
|
1285
|
+
}
|
|
1286
|
+
if ("mScale" in data && data.mScale != undefined) {
|
|
1287
|
+
this.mScale = data.mScale;
|
|
1288
|
+
}
|
|
1289
|
+
if ("zScale" in data && data.zScale != undefined) {
|
|
1290
|
+
this.zScale = data.zScale;
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
get xScale() {
|
|
1295
|
+
return pb_1.Message.getFieldWithDefault(this, 1, 0);
|
|
1296
|
+
}
|
|
1297
|
+
set xScale(value) {
|
|
1298
|
+
pb_1.Message.setField(this, 1, value);
|
|
1299
|
+
}
|
|
1300
|
+
get yScale() {
|
|
1301
|
+
return pb_1.Message.getFieldWithDefault(this, 2, 0);
|
|
1302
|
+
}
|
|
1303
|
+
set yScale(value) {
|
|
1304
|
+
pb_1.Message.setField(this, 2, value);
|
|
1305
|
+
}
|
|
1306
|
+
get mScale() {
|
|
1307
|
+
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
1308
|
+
}
|
|
1309
|
+
set mScale(value) {
|
|
1310
|
+
pb_1.Message.setField(this, 3, value);
|
|
1311
|
+
}
|
|
1312
|
+
get zScale() {
|
|
1313
|
+
return pb_1.Message.getFieldWithDefault(this, 4, 0);
|
|
1314
|
+
}
|
|
1315
|
+
set zScale(value) {
|
|
1316
|
+
pb_1.Message.setField(this, 4, value);
|
|
1317
|
+
}
|
|
1318
|
+
static fromObject(data) {
|
|
1319
|
+
const message = new Scale({});
|
|
1320
|
+
if (data.xScale != null) {
|
|
1321
|
+
message.xScale = data.xScale;
|
|
1322
|
+
}
|
|
1323
|
+
if (data.yScale != null) {
|
|
1324
|
+
message.yScale = data.yScale;
|
|
1325
|
+
}
|
|
1326
|
+
if (data.mScale != null) {
|
|
1327
|
+
message.mScale = data.mScale;
|
|
1328
|
+
}
|
|
1329
|
+
if (data.zScale != null) {
|
|
1330
|
+
message.zScale = data.zScale;
|
|
1331
|
+
}
|
|
1332
|
+
return message;
|
|
1333
|
+
}
|
|
1334
|
+
toObject() {
|
|
1335
|
+
const data = {};
|
|
1336
|
+
if (this.xScale != null) {
|
|
1337
|
+
data.xScale = this.xScale;
|
|
1338
|
+
}
|
|
1339
|
+
if (this.yScale != null) {
|
|
1340
|
+
data.yScale = this.yScale;
|
|
1341
|
+
}
|
|
1342
|
+
if (this.mScale != null) {
|
|
1343
|
+
data.mScale = this.mScale;
|
|
1344
|
+
}
|
|
1345
|
+
if (this.zScale != null) {
|
|
1346
|
+
data.zScale = this.zScale;
|
|
1347
|
+
}
|
|
1348
|
+
return data;
|
|
1349
|
+
}
|
|
1350
|
+
serialize(w) {
|
|
1351
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
1352
|
+
if (this.xScale != 0)
|
|
1353
|
+
writer.writeDouble(1, this.xScale);
|
|
1354
|
+
if (this.yScale != 0)
|
|
1355
|
+
writer.writeDouble(2, this.yScale);
|
|
1356
|
+
if (this.mScale != 0)
|
|
1357
|
+
writer.writeDouble(3, this.mScale);
|
|
1358
|
+
if (this.zScale != 0)
|
|
1359
|
+
writer.writeDouble(4, this.zScale);
|
|
1360
|
+
if (!w)
|
|
1361
|
+
return writer.getResultBuffer();
|
|
1362
|
+
}
|
|
1363
|
+
static deserialize(bytes) {
|
|
1364
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Scale();
|
|
1365
|
+
while (reader.nextField()) {
|
|
1366
|
+
if (reader.isEndGroup())
|
|
1367
|
+
break;
|
|
1368
|
+
switch (reader.getFieldNumber()) {
|
|
1369
|
+
case 1:
|
|
1370
|
+
message.xScale = reader.readDouble();
|
|
1371
|
+
break;
|
|
1372
|
+
case 2:
|
|
1373
|
+
message.yScale = reader.readDouble();
|
|
1374
|
+
break;
|
|
1375
|
+
case 3:
|
|
1376
|
+
message.mScale = reader.readDouble();
|
|
1377
|
+
break;
|
|
1378
|
+
case 4:
|
|
1379
|
+
message.zScale = reader.readDouble();
|
|
1380
|
+
break;
|
|
1381
|
+
default: reader.skipField();
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
return message;
|
|
1385
|
+
}
|
|
1386
|
+
serializeBinary() {
|
|
1387
|
+
return this.serialize();
|
|
1388
|
+
}
|
|
1389
|
+
static deserializeBinary(bytes) {
|
|
1390
|
+
return Scale.deserialize(bytes);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
_Scale_one_of_decls = new WeakMap();
|
|
1394
|
+
FeatureCollectionPBuffer.Scale = Scale;
|
|
1395
|
+
class Translate extends pb_1.Message {
|
|
1396
|
+
constructor(data) {
|
|
1397
|
+
super();
|
|
1398
|
+
_Translate_one_of_decls.set(this, []);
|
|
1399
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Translate_one_of_decls, "f"));
|
|
1400
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
1401
|
+
if ("xTranslate" in data && data.xTranslate != undefined) {
|
|
1402
|
+
this.xTranslate = data.xTranslate;
|
|
1403
|
+
}
|
|
1404
|
+
if ("yTranslate" in data && data.yTranslate != undefined) {
|
|
1405
|
+
this.yTranslate = data.yTranslate;
|
|
1406
|
+
}
|
|
1407
|
+
if ("mTranslate" in data && data.mTranslate != undefined) {
|
|
1408
|
+
this.mTranslate = data.mTranslate;
|
|
1409
|
+
}
|
|
1410
|
+
if ("zTranslate" in data && data.zTranslate != undefined) {
|
|
1411
|
+
this.zTranslate = data.zTranslate;
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
get xTranslate() {
|
|
1416
|
+
return pb_1.Message.getFieldWithDefault(this, 1, 0);
|
|
1417
|
+
}
|
|
1418
|
+
set xTranslate(value) {
|
|
1419
|
+
pb_1.Message.setField(this, 1, value);
|
|
1420
|
+
}
|
|
1421
|
+
get yTranslate() {
|
|
1422
|
+
return pb_1.Message.getFieldWithDefault(this, 2, 0);
|
|
1423
|
+
}
|
|
1424
|
+
set yTranslate(value) {
|
|
1425
|
+
pb_1.Message.setField(this, 2, value);
|
|
1426
|
+
}
|
|
1427
|
+
get mTranslate() {
|
|
1428
|
+
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
1429
|
+
}
|
|
1430
|
+
set mTranslate(value) {
|
|
1431
|
+
pb_1.Message.setField(this, 3, value);
|
|
1432
|
+
}
|
|
1433
|
+
get zTranslate() {
|
|
1434
|
+
return pb_1.Message.getFieldWithDefault(this, 4, 0);
|
|
1435
|
+
}
|
|
1436
|
+
set zTranslate(value) {
|
|
1437
|
+
pb_1.Message.setField(this, 4, value);
|
|
1438
|
+
}
|
|
1439
|
+
static fromObject(data) {
|
|
1440
|
+
const message = new Translate({});
|
|
1441
|
+
if (data.xTranslate != null) {
|
|
1442
|
+
message.xTranslate = data.xTranslate;
|
|
1443
|
+
}
|
|
1444
|
+
if (data.yTranslate != null) {
|
|
1445
|
+
message.yTranslate = data.yTranslate;
|
|
1446
|
+
}
|
|
1447
|
+
if (data.mTranslate != null) {
|
|
1448
|
+
message.mTranslate = data.mTranslate;
|
|
1449
|
+
}
|
|
1450
|
+
if (data.zTranslate != null) {
|
|
1451
|
+
message.zTranslate = data.zTranslate;
|
|
1452
|
+
}
|
|
1453
|
+
return message;
|
|
1454
|
+
}
|
|
1455
|
+
toObject() {
|
|
1456
|
+
const data = {};
|
|
1457
|
+
if (this.xTranslate != null) {
|
|
1458
|
+
data.xTranslate = this.xTranslate;
|
|
1459
|
+
}
|
|
1460
|
+
if (this.yTranslate != null) {
|
|
1461
|
+
data.yTranslate = this.yTranslate;
|
|
1462
|
+
}
|
|
1463
|
+
if (this.mTranslate != null) {
|
|
1464
|
+
data.mTranslate = this.mTranslate;
|
|
1465
|
+
}
|
|
1466
|
+
if (this.zTranslate != null) {
|
|
1467
|
+
data.zTranslate = this.zTranslate;
|
|
1468
|
+
}
|
|
1469
|
+
return data;
|
|
1470
|
+
}
|
|
1471
|
+
serialize(w) {
|
|
1472
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
1473
|
+
if (this.xTranslate != 0)
|
|
1474
|
+
writer.writeDouble(1, this.xTranslate);
|
|
1475
|
+
if (this.yTranslate != 0)
|
|
1476
|
+
writer.writeDouble(2, this.yTranslate);
|
|
1477
|
+
if (this.mTranslate != 0)
|
|
1478
|
+
writer.writeDouble(3, this.mTranslate);
|
|
1479
|
+
if (this.zTranslate != 0)
|
|
1480
|
+
writer.writeDouble(4, this.zTranslate);
|
|
1481
|
+
if (!w)
|
|
1482
|
+
return writer.getResultBuffer();
|
|
1483
|
+
}
|
|
1484
|
+
static deserialize(bytes) {
|
|
1485
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Translate();
|
|
1486
|
+
while (reader.nextField()) {
|
|
1487
|
+
if (reader.isEndGroup())
|
|
1488
|
+
break;
|
|
1489
|
+
switch (reader.getFieldNumber()) {
|
|
1490
|
+
case 1:
|
|
1491
|
+
message.xTranslate = reader.readDouble();
|
|
1492
|
+
break;
|
|
1493
|
+
case 2:
|
|
1494
|
+
message.yTranslate = reader.readDouble();
|
|
1495
|
+
break;
|
|
1496
|
+
case 3:
|
|
1497
|
+
message.mTranslate = reader.readDouble();
|
|
1498
|
+
break;
|
|
1499
|
+
case 4:
|
|
1500
|
+
message.zTranslate = reader.readDouble();
|
|
1501
|
+
break;
|
|
1502
|
+
default: reader.skipField();
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
return message;
|
|
1506
|
+
}
|
|
1507
|
+
serializeBinary() {
|
|
1508
|
+
return this.serialize();
|
|
1509
|
+
}
|
|
1510
|
+
static deserializeBinary(bytes) {
|
|
1511
|
+
return Translate.deserialize(bytes);
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
_Translate_one_of_decls = new WeakMap();
|
|
1515
|
+
FeatureCollectionPBuffer.Translate = Translate;
|
|
1516
|
+
class Transform extends pb_1.Message {
|
|
1517
|
+
constructor(data) {
|
|
1518
|
+
super();
|
|
1519
|
+
_Transform_one_of_decls.set(this, []);
|
|
1520
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _Transform_one_of_decls, "f"));
|
|
1521
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
1522
|
+
if ("quantizeOriginPostion" in data && data.quantizeOriginPostion != undefined) {
|
|
1523
|
+
this.quantizeOriginPostion = data.quantizeOriginPostion;
|
|
1524
|
+
}
|
|
1525
|
+
if ("scale" in data && data.scale != undefined) {
|
|
1526
|
+
this.scale = data.scale;
|
|
1527
|
+
}
|
|
1528
|
+
if ("translate" in data && data.translate != undefined) {
|
|
1529
|
+
this.translate = data.translate;
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
get quantizeOriginPostion() {
|
|
1534
|
+
return pb_1.Message.getFieldWithDefault(this, 1, FeatureCollectionPBuffer.QuantizeOriginPostion.upperLeft);
|
|
1535
|
+
}
|
|
1536
|
+
set quantizeOriginPostion(value) {
|
|
1537
|
+
pb_1.Message.setField(this, 1, value);
|
|
1538
|
+
}
|
|
1539
|
+
get scale() {
|
|
1540
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.Scale, 2);
|
|
1541
|
+
}
|
|
1542
|
+
set scale(value) {
|
|
1543
|
+
pb_1.Message.setWrapperField(this, 2, value);
|
|
1544
|
+
}
|
|
1545
|
+
get has_scale() {
|
|
1546
|
+
return pb_1.Message.getField(this, 2) != null;
|
|
1547
|
+
}
|
|
1548
|
+
get translate() {
|
|
1549
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.Translate, 3);
|
|
1550
|
+
}
|
|
1551
|
+
set translate(value) {
|
|
1552
|
+
pb_1.Message.setWrapperField(this, 3, value);
|
|
1553
|
+
}
|
|
1554
|
+
get has_translate() {
|
|
1555
|
+
return pb_1.Message.getField(this, 3) != null;
|
|
1556
|
+
}
|
|
1557
|
+
static fromObject(data) {
|
|
1558
|
+
const message = new Transform({});
|
|
1559
|
+
if (data.quantizeOriginPostion != null) {
|
|
1560
|
+
message.quantizeOriginPostion = data.quantizeOriginPostion;
|
|
1561
|
+
}
|
|
1562
|
+
if (data.scale != null) {
|
|
1563
|
+
message.scale = FeatureCollectionPBuffer.Scale.fromObject(data.scale);
|
|
1564
|
+
}
|
|
1565
|
+
if (data.translate != null) {
|
|
1566
|
+
message.translate = FeatureCollectionPBuffer.Translate.fromObject(data.translate);
|
|
1567
|
+
}
|
|
1568
|
+
return message;
|
|
1569
|
+
}
|
|
1570
|
+
toObject() {
|
|
1571
|
+
const data = {};
|
|
1572
|
+
if (this.quantizeOriginPostion != null) {
|
|
1573
|
+
data.quantizeOriginPostion = this.quantizeOriginPostion;
|
|
1574
|
+
}
|
|
1575
|
+
if (this.scale != null) {
|
|
1576
|
+
data.scale = this.scale.toObject();
|
|
1577
|
+
}
|
|
1578
|
+
if (this.translate != null) {
|
|
1579
|
+
data.translate = this.translate.toObject();
|
|
1580
|
+
}
|
|
1581
|
+
return data;
|
|
1582
|
+
}
|
|
1583
|
+
serialize(w) {
|
|
1584
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
1585
|
+
if (this.quantizeOriginPostion != FeatureCollectionPBuffer.QuantizeOriginPostion.upperLeft)
|
|
1586
|
+
writer.writeEnum(1, this.quantizeOriginPostion);
|
|
1587
|
+
if (this.has_scale)
|
|
1588
|
+
writer.writeMessage(2, this.scale, () => this.scale.serialize(writer));
|
|
1589
|
+
if (this.has_translate)
|
|
1590
|
+
writer.writeMessage(3, this.translate, () => this.translate.serialize(writer));
|
|
1591
|
+
if (!w)
|
|
1592
|
+
return writer.getResultBuffer();
|
|
1593
|
+
}
|
|
1594
|
+
static deserialize(bytes) {
|
|
1595
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Transform();
|
|
1596
|
+
while (reader.nextField()) {
|
|
1597
|
+
if (reader.isEndGroup())
|
|
1598
|
+
break;
|
|
1599
|
+
switch (reader.getFieldNumber()) {
|
|
1600
|
+
case 1:
|
|
1601
|
+
message.quantizeOriginPostion = reader.readEnum();
|
|
1602
|
+
break;
|
|
1603
|
+
case 2:
|
|
1604
|
+
reader.readMessage(message.scale, () => message.scale = FeatureCollectionPBuffer.Scale.deserialize(reader));
|
|
1605
|
+
break;
|
|
1606
|
+
case 3:
|
|
1607
|
+
reader.readMessage(message.translate, () => message.translate = FeatureCollectionPBuffer.Translate.deserialize(reader));
|
|
1608
|
+
break;
|
|
1609
|
+
default: reader.skipField();
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
return message;
|
|
1613
|
+
}
|
|
1614
|
+
serializeBinary() {
|
|
1615
|
+
return this.serialize();
|
|
1616
|
+
}
|
|
1617
|
+
static deserializeBinary(bytes) {
|
|
1618
|
+
return Transform.deserialize(bytes);
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
_Transform_one_of_decls = new WeakMap();
|
|
1622
|
+
FeatureCollectionPBuffer.Transform = Transform;
|
|
1623
|
+
class FeatureResult extends pb_1.Message {
|
|
1624
|
+
constructor(data) {
|
|
1625
|
+
super();
|
|
1626
|
+
_FeatureResult_one_of_decls.set(this, []);
|
|
1627
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [13, 14, 15], __classPrivateFieldGet(this, _FeatureResult_one_of_decls, "f"));
|
|
1628
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
1629
|
+
if ("objectIdFieldName" in data && data.objectIdFieldName != undefined) {
|
|
1630
|
+
this.objectIdFieldName = data.objectIdFieldName;
|
|
1631
|
+
}
|
|
1632
|
+
if ("uniqueIdField" in data && data.uniqueIdField != undefined) {
|
|
1633
|
+
this.uniqueIdField = data.uniqueIdField;
|
|
1634
|
+
}
|
|
1635
|
+
if ("globalIdFieldName" in data && data.globalIdFieldName != undefined) {
|
|
1636
|
+
this.globalIdFieldName = data.globalIdFieldName;
|
|
1637
|
+
}
|
|
1638
|
+
if ("geohashFieldName" in data && data.geohashFieldName != undefined) {
|
|
1639
|
+
this.geohashFieldName = data.geohashFieldName;
|
|
1640
|
+
}
|
|
1641
|
+
if ("geometryProperties" in data && data.geometryProperties != undefined) {
|
|
1642
|
+
this.geometryProperties = data.geometryProperties;
|
|
1643
|
+
}
|
|
1644
|
+
if ("serverGens" in data && data.serverGens != undefined) {
|
|
1645
|
+
this.serverGens = data.serverGens;
|
|
1646
|
+
}
|
|
1647
|
+
if ("geometryType" in data && data.geometryType != undefined) {
|
|
1648
|
+
this.geometryType = data.geometryType;
|
|
1649
|
+
}
|
|
1650
|
+
if ("spatialReference" in data && data.spatialReference != undefined) {
|
|
1651
|
+
this.spatialReference = data.spatialReference;
|
|
1652
|
+
}
|
|
1653
|
+
if ("exceededTransferLimit" in data && data.exceededTransferLimit != undefined) {
|
|
1654
|
+
this.exceededTransferLimit = data.exceededTransferLimit;
|
|
1655
|
+
}
|
|
1656
|
+
if ("hasZ" in data && data.hasZ != undefined) {
|
|
1657
|
+
this.hasZ = data.hasZ;
|
|
1658
|
+
}
|
|
1659
|
+
if ("hasM" in data && data.hasM != undefined) {
|
|
1660
|
+
this.hasM = data.hasM;
|
|
1661
|
+
}
|
|
1662
|
+
if ("transform" in data && data.transform != undefined) {
|
|
1663
|
+
this.transform = data.transform;
|
|
1664
|
+
}
|
|
1665
|
+
if ("fields" in data && data.fields != undefined) {
|
|
1666
|
+
this.fields = data.fields;
|
|
1667
|
+
}
|
|
1668
|
+
if ("values" in data && data.values != undefined) {
|
|
1669
|
+
this.values = data.values;
|
|
1670
|
+
}
|
|
1671
|
+
if ("features" in data && data.features != undefined) {
|
|
1672
|
+
this.features = data.features;
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
get objectIdFieldName() {
|
|
1677
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
1678
|
+
}
|
|
1679
|
+
set objectIdFieldName(value) {
|
|
1680
|
+
pb_1.Message.setField(this, 1, value);
|
|
1681
|
+
}
|
|
1682
|
+
get uniqueIdField() {
|
|
1683
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.UniqueIdField, 2);
|
|
1684
|
+
}
|
|
1685
|
+
set uniqueIdField(value) {
|
|
1686
|
+
pb_1.Message.setWrapperField(this, 2, value);
|
|
1687
|
+
}
|
|
1688
|
+
get has_uniqueIdField() {
|
|
1689
|
+
return pb_1.Message.getField(this, 2) != null;
|
|
1690
|
+
}
|
|
1691
|
+
get globalIdFieldName() {
|
|
1692
|
+
return pb_1.Message.getFieldWithDefault(this, 3, "");
|
|
1693
|
+
}
|
|
1694
|
+
set globalIdFieldName(value) {
|
|
1695
|
+
pb_1.Message.setField(this, 3, value);
|
|
1696
|
+
}
|
|
1697
|
+
get geohashFieldName() {
|
|
1698
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
1699
|
+
}
|
|
1700
|
+
set geohashFieldName(value) {
|
|
1701
|
+
pb_1.Message.setField(this, 4, value);
|
|
1702
|
+
}
|
|
1703
|
+
get geometryProperties() {
|
|
1704
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.GeometryProperties, 5);
|
|
1705
|
+
}
|
|
1706
|
+
set geometryProperties(value) {
|
|
1707
|
+
pb_1.Message.setWrapperField(this, 5, value);
|
|
1708
|
+
}
|
|
1709
|
+
get has_geometryProperties() {
|
|
1710
|
+
return pb_1.Message.getField(this, 5) != null;
|
|
1711
|
+
}
|
|
1712
|
+
get serverGens() {
|
|
1713
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.ServerGens, 6);
|
|
1714
|
+
}
|
|
1715
|
+
set serverGens(value) {
|
|
1716
|
+
pb_1.Message.setWrapperField(this, 6, value);
|
|
1717
|
+
}
|
|
1718
|
+
get has_serverGens() {
|
|
1719
|
+
return pb_1.Message.getField(this, 6) != null;
|
|
1720
|
+
}
|
|
1721
|
+
get geometryType() {
|
|
1722
|
+
return pb_1.Message.getFieldWithDefault(this, 7, FeatureCollectionPBuffer.GeometryType.esriGeometryTypePoint);
|
|
1723
|
+
}
|
|
1724
|
+
set geometryType(value) {
|
|
1725
|
+
pb_1.Message.setField(this, 7, value);
|
|
1726
|
+
}
|
|
1727
|
+
get spatialReference() {
|
|
1728
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.SpatialReference, 8);
|
|
1729
|
+
}
|
|
1730
|
+
set spatialReference(value) {
|
|
1731
|
+
pb_1.Message.setWrapperField(this, 8, value);
|
|
1732
|
+
}
|
|
1733
|
+
get has_spatialReference() {
|
|
1734
|
+
return pb_1.Message.getField(this, 8) != null;
|
|
1735
|
+
}
|
|
1736
|
+
get exceededTransferLimit() {
|
|
1737
|
+
return pb_1.Message.getFieldWithDefault(this, 9, false);
|
|
1738
|
+
}
|
|
1739
|
+
set exceededTransferLimit(value) {
|
|
1740
|
+
pb_1.Message.setField(this, 9, value);
|
|
1741
|
+
}
|
|
1742
|
+
get hasZ() {
|
|
1743
|
+
return pb_1.Message.getFieldWithDefault(this, 10, false);
|
|
1744
|
+
}
|
|
1745
|
+
set hasZ(value) {
|
|
1746
|
+
pb_1.Message.setField(this, 10, value);
|
|
1747
|
+
}
|
|
1748
|
+
get hasM() {
|
|
1749
|
+
return pb_1.Message.getFieldWithDefault(this, 11, false);
|
|
1750
|
+
}
|
|
1751
|
+
set hasM(value) {
|
|
1752
|
+
pb_1.Message.setField(this, 11, value);
|
|
1753
|
+
}
|
|
1754
|
+
get transform() {
|
|
1755
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.Transform, 12);
|
|
1756
|
+
}
|
|
1757
|
+
set transform(value) {
|
|
1758
|
+
pb_1.Message.setWrapperField(this, 12, value);
|
|
1759
|
+
}
|
|
1760
|
+
get has_transform() {
|
|
1761
|
+
return pb_1.Message.getField(this, 12) != null;
|
|
1762
|
+
}
|
|
1763
|
+
get fields() {
|
|
1764
|
+
return pb_1.Message.getRepeatedWrapperField(this, FeatureCollectionPBuffer.Field, 13);
|
|
1765
|
+
}
|
|
1766
|
+
set fields(value) {
|
|
1767
|
+
pb_1.Message.setRepeatedWrapperField(this, 13, value);
|
|
1768
|
+
}
|
|
1769
|
+
get values() {
|
|
1770
|
+
return pb_1.Message.getRepeatedWrapperField(this, FeatureCollectionPBuffer.Value, 14);
|
|
1771
|
+
}
|
|
1772
|
+
set values(value) {
|
|
1773
|
+
pb_1.Message.setRepeatedWrapperField(this, 14, value);
|
|
1774
|
+
}
|
|
1775
|
+
get features() {
|
|
1776
|
+
return pb_1.Message.getRepeatedWrapperField(this, FeatureCollectionPBuffer.Feature, 15);
|
|
1777
|
+
}
|
|
1778
|
+
set features(value) {
|
|
1779
|
+
pb_1.Message.setRepeatedWrapperField(this, 15, value);
|
|
1780
|
+
}
|
|
1781
|
+
static fromObject(data) {
|
|
1782
|
+
const message = new FeatureResult({});
|
|
1783
|
+
if (data.objectIdFieldName != null) {
|
|
1784
|
+
message.objectIdFieldName = data.objectIdFieldName;
|
|
1785
|
+
}
|
|
1786
|
+
if (data.uniqueIdField != null) {
|
|
1787
|
+
message.uniqueIdField = FeatureCollectionPBuffer.UniqueIdField.fromObject(data.uniqueIdField);
|
|
1788
|
+
}
|
|
1789
|
+
if (data.globalIdFieldName != null) {
|
|
1790
|
+
message.globalIdFieldName = data.globalIdFieldName;
|
|
1791
|
+
}
|
|
1792
|
+
if (data.geohashFieldName != null) {
|
|
1793
|
+
message.geohashFieldName = data.geohashFieldName;
|
|
1794
|
+
}
|
|
1795
|
+
if (data.geometryProperties != null) {
|
|
1796
|
+
message.geometryProperties = FeatureCollectionPBuffer.GeometryProperties.fromObject(data.geometryProperties);
|
|
1797
|
+
}
|
|
1798
|
+
if (data.serverGens != null) {
|
|
1799
|
+
message.serverGens = FeatureCollectionPBuffer.ServerGens.fromObject(data.serverGens);
|
|
1800
|
+
}
|
|
1801
|
+
if (data.geometryType != null) {
|
|
1802
|
+
message.geometryType = data.geometryType;
|
|
1803
|
+
}
|
|
1804
|
+
if (data.spatialReference != null) {
|
|
1805
|
+
message.spatialReference = FeatureCollectionPBuffer.SpatialReference.fromObject(data.spatialReference);
|
|
1806
|
+
}
|
|
1807
|
+
if (data.exceededTransferLimit != null) {
|
|
1808
|
+
message.exceededTransferLimit = data.exceededTransferLimit;
|
|
1809
|
+
}
|
|
1810
|
+
if (data.hasZ != null) {
|
|
1811
|
+
message.hasZ = data.hasZ;
|
|
1812
|
+
}
|
|
1813
|
+
if (data.hasM != null) {
|
|
1814
|
+
message.hasM = data.hasM;
|
|
1815
|
+
}
|
|
1816
|
+
if (data.transform != null) {
|
|
1817
|
+
message.transform = FeatureCollectionPBuffer.Transform.fromObject(data.transform);
|
|
1818
|
+
}
|
|
1819
|
+
if (data.fields != null) {
|
|
1820
|
+
message.fields = data.fields.map((item) => FeatureCollectionPBuffer.Field.fromObject(item));
|
|
1821
|
+
}
|
|
1822
|
+
if (data.values != null) {
|
|
1823
|
+
message.values = data.values.map((item) => FeatureCollectionPBuffer.Value.fromObject(item));
|
|
1824
|
+
}
|
|
1825
|
+
if (data.features != null) {
|
|
1826
|
+
message.features = data.features.map((item) => FeatureCollectionPBuffer.Feature.fromObject(item));
|
|
1827
|
+
}
|
|
1828
|
+
return message;
|
|
1829
|
+
}
|
|
1830
|
+
toObject() {
|
|
1831
|
+
const data = {};
|
|
1832
|
+
if (this.objectIdFieldName != null) {
|
|
1833
|
+
data.objectIdFieldName = this.objectIdFieldName;
|
|
1834
|
+
}
|
|
1835
|
+
if (this.uniqueIdField != null) {
|
|
1836
|
+
data.uniqueIdField = this.uniqueIdField.toObject();
|
|
1837
|
+
}
|
|
1838
|
+
if (this.globalIdFieldName != null) {
|
|
1839
|
+
data.globalIdFieldName = this.globalIdFieldName;
|
|
1840
|
+
}
|
|
1841
|
+
if (this.geohashFieldName != null) {
|
|
1842
|
+
data.geohashFieldName = this.geohashFieldName;
|
|
1843
|
+
}
|
|
1844
|
+
if (this.geometryProperties != null) {
|
|
1845
|
+
data.geometryProperties = this.geometryProperties.toObject();
|
|
1846
|
+
}
|
|
1847
|
+
if (this.serverGens != null) {
|
|
1848
|
+
data.serverGens = this.serverGens.toObject();
|
|
1849
|
+
}
|
|
1850
|
+
if (this.geometryType != null) {
|
|
1851
|
+
data.geometryType = this.geometryType;
|
|
1852
|
+
}
|
|
1853
|
+
if (this.spatialReference != null) {
|
|
1854
|
+
data.spatialReference = this.spatialReference.toObject();
|
|
1855
|
+
}
|
|
1856
|
+
if (this.exceededTransferLimit != null) {
|
|
1857
|
+
data.exceededTransferLimit = this.exceededTransferLimit;
|
|
1858
|
+
}
|
|
1859
|
+
if (this.hasZ != null) {
|
|
1860
|
+
data.hasZ = this.hasZ;
|
|
1861
|
+
}
|
|
1862
|
+
if (this.hasM != null) {
|
|
1863
|
+
data.hasM = this.hasM;
|
|
1864
|
+
}
|
|
1865
|
+
if (this.transform != null) {
|
|
1866
|
+
data.transform = this.transform.toObject();
|
|
1867
|
+
}
|
|
1868
|
+
if (this.fields != null) {
|
|
1869
|
+
data.fields = this.fields.map((item) => item.toObject());
|
|
1870
|
+
}
|
|
1871
|
+
if (this.values != null) {
|
|
1872
|
+
data.values = this.values.map((item) => item.toObject());
|
|
1873
|
+
}
|
|
1874
|
+
if (this.features != null) {
|
|
1875
|
+
data.features = this.features.map((item) => item.toObject());
|
|
1876
|
+
}
|
|
1877
|
+
return data;
|
|
1878
|
+
}
|
|
1879
|
+
serialize(w) {
|
|
1880
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
1881
|
+
if (this.objectIdFieldName.length)
|
|
1882
|
+
writer.writeString(1, this.objectIdFieldName);
|
|
1883
|
+
if (this.has_uniqueIdField)
|
|
1884
|
+
writer.writeMessage(2, this.uniqueIdField, () => this.uniqueIdField.serialize(writer));
|
|
1885
|
+
if (this.globalIdFieldName.length)
|
|
1886
|
+
writer.writeString(3, this.globalIdFieldName);
|
|
1887
|
+
if (this.geohashFieldName.length)
|
|
1888
|
+
writer.writeString(4, this.geohashFieldName);
|
|
1889
|
+
if (this.has_geometryProperties)
|
|
1890
|
+
writer.writeMessage(5, this.geometryProperties, () => this.geometryProperties.serialize(writer));
|
|
1891
|
+
if (this.has_serverGens)
|
|
1892
|
+
writer.writeMessage(6, this.serverGens, () => this.serverGens.serialize(writer));
|
|
1893
|
+
if (this.geometryType != FeatureCollectionPBuffer.GeometryType.esriGeometryTypePoint)
|
|
1894
|
+
writer.writeEnum(7, this.geometryType);
|
|
1895
|
+
if (this.has_spatialReference)
|
|
1896
|
+
writer.writeMessage(8, this.spatialReference, () => this.spatialReference.serialize(writer));
|
|
1897
|
+
if (this.exceededTransferLimit != false)
|
|
1898
|
+
writer.writeBool(9, this.exceededTransferLimit);
|
|
1899
|
+
if (this.hasZ != false)
|
|
1900
|
+
writer.writeBool(10, this.hasZ);
|
|
1901
|
+
if (this.hasM != false)
|
|
1902
|
+
writer.writeBool(11, this.hasM);
|
|
1903
|
+
if (this.has_transform)
|
|
1904
|
+
writer.writeMessage(12, this.transform, () => this.transform.serialize(writer));
|
|
1905
|
+
if (this.fields.length)
|
|
1906
|
+
writer.writeRepeatedMessage(13, this.fields, (item) => item.serialize(writer));
|
|
1907
|
+
if (this.values.length)
|
|
1908
|
+
writer.writeRepeatedMessage(14, this.values, (item) => item.serialize(writer));
|
|
1909
|
+
if (this.features.length)
|
|
1910
|
+
writer.writeRepeatedMessage(15, this.features, (item) => item.serialize(writer));
|
|
1911
|
+
if (!w)
|
|
1912
|
+
return writer.getResultBuffer();
|
|
1913
|
+
}
|
|
1914
|
+
static deserialize(bytes) {
|
|
1915
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new FeatureResult();
|
|
1916
|
+
while (reader.nextField()) {
|
|
1917
|
+
if (reader.isEndGroup())
|
|
1918
|
+
break;
|
|
1919
|
+
switch (reader.getFieldNumber()) {
|
|
1920
|
+
case 1:
|
|
1921
|
+
message.objectIdFieldName = reader.readString();
|
|
1922
|
+
break;
|
|
1923
|
+
case 2:
|
|
1924
|
+
reader.readMessage(message.uniqueIdField, () => message.uniqueIdField = FeatureCollectionPBuffer.UniqueIdField.deserialize(reader));
|
|
1925
|
+
break;
|
|
1926
|
+
case 3:
|
|
1927
|
+
message.globalIdFieldName = reader.readString();
|
|
1928
|
+
break;
|
|
1929
|
+
case 4:
|
|
1930
|
+
message.geohashFieldName = reader.readString();
|
|
1931
|
+
break;
|
|
1932
|
+
case 5:
|
|
1933
|
+
reader.readMessage(message.geometryProperties, () => message.geometryProperties = FeatureCollectionPBuffer.GeometryProperties.deserialize(reader));
|
|
1934
|
+
break;
|
|
1935
|
+
case 6:
|
|
1936
|
+
reader.readMessage(message.serverGens, () => message.serverGens = FeatureCollectionPBuffer.ServerGens.deserialize(reader));
|
|
1937
|
+
break;
|
|
1938
|
+
case 7:
|
|
1939
|
+
message.geometryType = reader.readEnum();
|
|
1940
|
+
break;
|
|
1941
|
+
case 8:
|
|
1942
|
+
reader.readMessage(message.spatialReference, () => message.spatialReference = FeatureCollectionPBuffer.SpatialReference.deserialize(reader));
|
|
1943
|
+
break;
|
|
1944
|
+
case 9:
|
|
1945
|
+
message.exceededTransferLimit = reader.readBool();
|
|
1946
|
+
break;
|
|
1947
|
+
case 10:
|
|
1948
|
+
message.hasZ = reader.readBool();
|
|
1949
|
+
break;
|
|
1950
|
+
case 11:
|
|
1951
|
+
message.hasM = reader.readBool();
|
|
1952
|
+
break;
|
|
1953
|
+
case 12:
|
|
1954
|
+
reader.readMessage(message.transform, () => message.transform = FeatureCollectionPBuffer.Transform.deserialize(reader));
|
|
1955
|
+
break;
|
|
1956
|
+
case 13:
|
|
1957
|
+
reader.readMessage(message.fields, () => pb_1.Message.addToRepeatedWrapperField(message, 13, FeatureCollectionPBuffer.Field.deserialize(reader), FeatureCollectionPBuffer.Field));
|
|
1958
|
+
break;
|
|
1959
|
+
case 14:
|
|
1960
|
+
reader.readMessage(message.values, () => pb_1.Message.addToRepeatedWrapperField(message, 14, FeatureCollectionPBuffer.Value.deserialize(reader), FeatureCollectionPBuffer.Value));
|
|
1961
|
+
break;
|
|
1962
|
+
case 15:
|
|
1963
|
+
reader.readMessage(message.features, () => pb_1.Message.addToRepeatedWrapperField(message, 15, FeatureCollectionPBuffer.Feature.deserialize(reader), FeatureCollectionPBuffer.Feature));
|
|
1964
|
+
break;
|
|
1965
|
+
default: reader.skipField();
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
return message;
|
|
1969
|
+
}
|
|
1970
|
+
serializeBinary() {
|
|
1971
|
+
return this.serialize();
|
|
1972
|
+
}
|
|
1973
|
+
static deserializeBinary(bytes) {
|
|
1974
|
+
return FeatureResult.deserialize(bytes);
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
_FeatureResult_one_of_decls = new WeakMap();
|
|
1978
|
+
FeatureCollectionPBuffer.FeatureResult = FeatureResult;
|
|
1979
|
+
class CountResult extends pb_1.Message {
|
|
1980
|
+
constructor(data) {
|
|
1981
|
+
super();
|
|
1982
|
+
_CountResult_one_of_decls.set(this, []);
|
|
1983
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _CountResult_one_of_decls, "f"));
|
|
1984
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
1985
|
+
if ("count" in data && data.count != undefined) {
|
|
1986
|
+
this.count = data.count;
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
get count() {
|
|
1991
|
+
return pb_1.Message.getFieldWithDefault(this, 1, 0);
|
|
1992
|
+
}
|
|
1993
|
+
set count(value) {
|
|
1994
|
+
pb_1.Message.setField(this, 1, value);
|
|
1995
|
+
}
|
|
1996
|
+
static fromObject(data) {
|
|
1997
|
+
const message = new CountResult({});
|
|
1998
|
+
if (data.count != null) {
|
|
1999
|
+
message.count = data.count;
|
|
2000
|
+
}
|
|
2001
|
+
return message;
|
|
2002
|
+
}
|
|
2003
|
+
toObject() {
|
|
2004
|
+
const data = {};
|
|
2005
|
+
if (this.count != null) {
|
|
2006
|
+
data.count = this.count;
|
|
2007
|
+
}
|
|
2008
|
+
return data;
|
|
2009
|
+
}
|
|
2010
|
+
serialize(w) {
|
|
2011
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
2012
|
+
if (this.count != 0)
|
|
2013
|
+
writer.writeUint64(1, this.count);
|
|
2014
|
+
if (!w)
|
|
2015
|
+
return writer.getResultBuffer();
|
|
2016
|
+
}
|
|
2017
|
+
static deserialize(bytes) {
|
|
2018
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new CountResult();
|
|
2019
|
+
while (reader.nextField()) {
|
|
2020
|
+
if (reader.isEndGroup())
|
|
2021
|
+
break;
|
|
2022
|
+
switch (reader.getFieldNumber()) {
|
|
2023
|
+
case 1:
|
|
2024
|
+
message.count = reader.readUint64();
|
|
2025
|
+
break;
|
|
2026
|
+
default: reader.skipField();
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
return message;
|
|
2030
|
+
}
|
|
2031
|
+
serializeBinary() {
|
|
2032
|
+
return this.serialize();
|
|
2033
|
+
}
|
|
2034
|
+
static deserializeBinary(bytes) {
|
|
2035
|
+
return CountResult.deserialize(bytes);
|
|
2036
|
+
}
|
|
2037
|
+
}
|
|
2038
|
+
_CountResult_one_of_decls = new WeakMap();
|
|
2039
|
+
FeatureCollectionPBuffer.CountResult = CountResult;
|
|
2040
|
+
class ObjectIdsResult extends pb_1.Message {
|
|
2041
|
+
constructor(data) {
|
|
2042
|
+
super();
|
|
2043
|
+
_ObjectIdsResult_one_of_decls.set(this, []);
|
|
2044
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [3], __classPrivateFieldGet(this, _ObjectIdsResult_one_of_decls, "f"));
|
|
2045
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
2046
|
+
if ("objectIdFieldName" in data && data.objectIdFieldName != undefined) {
|
|
2047
|
+
this.objectIdFieldName = data.objectIdFieldName;
|
|
2048
|
+
}
|
|
2049
|
+
if ("serverGens" in data && data.serverGens != undefined) {
|
|
2050
|
+
this.serverGens = data.serverGens;
|
|
2051
|
+
}
|
|
2052
|
+
if ("objectIds" in data && data.objectIds != undefined) {
|
|
2053
|
+
this.objectIds = data.objectIds;
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
get objectIdFieldName() {
|
|
2058
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
2059
|
+
}
|
|
2060
|
+
set objectIdFieldName(value) {
|
|
2061
|
+
pb_1.Message.setField(this, 1, value);
|
|
2062
|
+
}
|
|
2063
|
+
get serverGens() {
|
|
2064
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.ServerGens, 2);
|
|
2065
|
+
}
|
|
2066
|
+
set serverGens(value) {
|
|
2067
|
+
pb_1.Message.setWrapperField(this, 2, value);
|
|
2068
|
+
}
|
|
2069
|
+
get has_serverGens() {
|
|
2070
|
+
return pb_1.Message.getField(this, 2) != null;
|
|
2071
|
+
}
|
|
2072
|
+
get objectIds() {
|
|
2073
|
+
return pb_1.Message.getFieldWithDefault(this, 3, []);
|
|
2074
|
+
}
|
|
2075
|
+
set objectIds(value) {
|
|
2076
|
+
pb_1.Message.setField(this, 3, value);
|
|
2077
|
+
}
|
|
2078
|
+
static fromObject(data) {
|
|
2079
|
+
const message = new ObjectIdsResult({});
|
|
2080
|
+
if (data.objectIdFieldName != null) {
|
|
2081
|
+
message.objectIdFieldName = data.objectIdFieldName;
|
|
2082
|
+
}
|
|
2083
|
+
if (data.serverGens != null) {
|
|
2084
|
+
message.serverGens = FeatureCollectionPBuffer.ServerGens.fromObject(data.serverGens);
|
|
2085
|
+
}
|
|
2086
|
+
if (data.objectIds != null) {
|
|
2087
|
+
message.objectIds = data.objectIds;
|
|
2088
|
+
}
|
|
2089
|
+
return message;
|
|
2090
|
+
}
|
|
2091
|
+
toObject() {
|
|
2092
|
+
const data = {};
|
|
2093
|
+
if (this.objectIdFieldName != null) {
|
|
2094
|
+
data.objectIdFieldName = this.objectIdFieldName;
|
|
2095
|
+
}
|
|
2096
|
+
if (this.serverGens != null) {
|
|
2097
|
+
data.serverGens = this.serverGens.toObject();
|
|
2098
|
+
}
|
|
2099
|
+
if (this.objectIds != null) {
|
|
2100
|
+
data.objectIds = this.objectIds;
|
|
2101
|
+
}
|
|
2102
|
+
return data;
|
|
2103
|
+
}
|
|
2104
|
+
serialize(w) {
|
|
2105
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
2106
|
+
if (this.objectIdFieldName.length)
|
|
2107
|
+
writer.writeString(1, this.objectIdFieldName);
|
|
2108
|
+
if (this.has_serverGens)
|
|
2109
|
+
writer.writeMessage(2, this.serverGens, () => this.serverGens.serialize(writer));
|
|
2110
|
+
if (this.objectIds.length)
|
|
2111
|
+
writer.writePackedUint64(3, this.objectIds);
|
|
2112
|
+
if (!w)
|
|
2113
|
+
return writer.getResultBuffer();
|
|
2114
|
+
}
|
|
2115
|
+
static deserialize(bytes) {
|
|
2116
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new ObjectIdsResult();
|
|
2117
|
+
while (reader.nextField()) {
|
|
2118
|
+
if (reader.isEndGroup())
|
|
2119
|
+
break;
|
|
2120
|
+
switch (reader.getFieldNumber()) {
|
|
2121
|
+
case 1:
|
|
2122
|
+
message.objectIdFieldName = reader.readString();
|
|
2123
|
+
break;
|
|
2124
|
+
case 2:
|
|
2125
|
+
reader.readMessage(message.serverGens, () => message.serverGens = FeatureCollectionPBuffer.ServerGens.deserialize(reader));
|
|
2126
|
+
break;
|
|
2127
|
+
case 3:
|
|
2128
|
+
message.objectIds = reader.readPackedUint64();
|
|
2129
|
+
break;
|
|
2130
|
+
default: reader.skipField();
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
return message;
|
|
2134
|
+
}
|
|
2135
|
+
serializeBinary() {
|
|
2136
|
+
return this.serialize();
|
|
2137
|
+
}
|
|
2138
|
+
static deserializeBinary(bytes) {
|
|
2139
|
+
return ObjectIdsResult.deserialize(bytes);
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
_ObjectIdsResult_one_of_decls = new WeakMap();
|
|
2143
|
+
FeatureCollectionPBuffer.ObjectIdsResult = ObjectIdsResult;
|
|
2144
|
+
class QueryResult extends pb_1.Message {
|
|
2145
|
+
constructor(data) {
|
|
2146
|
+
super();
|
|
2147
|
+
_QueryResult_one_of_decls.set(this, [[1, 2, 3]]);
|
|
2148
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __classPrivateFieldGet(this, _QueryResult_one_of_decls, "f"));
|
|
2149
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
2150
|
+
if ("featureResult" in data && data.featureResult != undefined) {
|
|
2151
|
+
this.featureResult = data.featureResult;
|
|
2152
|
+
}
|
|
2153
|
+
if ("countResult" in data && data.countResult != undefined) {
|
|
2154
|
+
this.countResult = data.countResult;
|
|
2155
|
+
}
|
|
2156
|
+
if ("idsResult" in data && data.idsResult != undefined) {
|
|
2157
|
+
this.idsResult = data.idsResult;
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
get featureResult() {
|
|
2162
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.FeatureResult, 1);
|
|
2163
|
+
}
|
|
2164
|
+
set featureResult(value) {
|
|
2165
|
+
pb_1.Message.setOneofWrapperField(this, 1, __classPrivateFieldGet(this, _QueryResult_one_of_decls, "f")[0], value);
|
|
2166
|
+
}
|
|
2167
|
+
get has_featureResult() {
|
|
2168
|
+
return pb_1.Message.getField(this, 1) != null;
|
|
2169
|
+
}
|
|
2170
|
+
get countResult() {
|
|
2171
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.CountResult, 2);
|
|
2172
|
+
}
|
|
2173
|
+
set countResult(value) {
|
|
2174
|
+
pb_1.Message.setOneofWrapperField(this, 2, __classPrivateFieldGet(this, _QueryResult_one_of_decls, "f")[0], value);
|
|
2175
|
+
}
|
|
2176
|
+
get has_countResult() {
|
|
2177
|
+
return pb_1.Message.getField(this, 2) != null;
|
|
2178
|
+
}
|
|
2179
|
+
get idsResult() {
|
|
2180
|
+
return pb_1.Message.getWrapperField(this, FeatureCollectionPBuffer.ObjectIdsResult, 3);
|
|
2181
|
+
}
|
|
2182
|
+
set idsResult(value) {
|
|
2183
|
+
pb_1.Message.setOneofWrapperField(this, 3, __classPrivateFieldGet(this, _QueryResult_one_of_decls, "f")[0], value);
|
|
2184
|
+
}
|
|
2185
|
+
get has_idsResult() {
|
|
2186
|
+
return pb_1.Message.getField(this, 3) != null;
|
|
2187
|
+
}
|
|
2188
|
+
get Results() {
|
|
2189
|
+
const cases = {
|
|
2190
|
+
0: "none",
|
|
2191
|
+
1: "featureResult",
|
|
2192
|
+
2: "countResult",
|
|
2193
|
+
3: "idsResult",
|
|
2194
|
+
};
|
|
2195
|
+
return cases[pb_1.Message.computeOneofCase(this, [1, 2, 3])];
|
|
2196
|
+
}
|
|
2197
|
+
static fromObject(data) {
|
|
2198
|
+
const message = new QueryResult({});
|
|
2199
|
+
if (data.featureResult != null) {
|
|
2200
|
+
message.featureResult = FeatureCollectionPBuffer.FeatureResult.fromObject(data.featureResult);
|
|
2201
|
+
}
|
|
2202
|
+
if (data.countResult != null) {
|
|
2203
|
+
message.countResult = FeatureCollectionPBuffer.CountResult.fromObject(data.countResult);
|
|
2204
|
+
}
|
|
2205
|
+
if (data.idsResult != null) {
|
|
2206
|
+
message.idsResult = FeatureCollectionPBuffer.ObjectIdsResult.fromObject(data.idsResult);
|
|
2207
|
+
}
|
|
2208
|
+
return message;
|
|
2209
|
+
}
|
|
2210
|
+
toObject() {
|
|
2211
|
+
const data = {};
|
|
2212
|
+
if (this.featureResult != null) {
|
|
2213
|
+
data.featureResult = this.featureResult.toObject();
|
|
2214
|
+
}
|
|
2215
|
+
if (this.countResult != null) {
|
|
2216
|
+
data.countResult = this.countResult.toObject();
|
|
2217
|
+
}
|
|
2218
|
+
if (this.idsResult != null) {
|
|
2219
|
+
data.idsResult = this.idsResult.toObject();
|
|
2220
|
+
}
|
|
2221
|
+
return data;
|
|
2222
|
+
}
|
|
2223
|
+
serialize(w) {
|
|
2224
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
2225
|
+
if (this.has_featureResult)
|
|
2226
|
+
writer.writeMessage(1, this.featureResult, () => this.featureResult.serialize(writer));
|
|
2227
|
+
if (this.has_countResult)
|
|
2228
|
+
writer.writeMessage(2, this.countResult, () => this.countResult.serialize(writer));
|
|
2229
|
+
if (this.has_idsResult)
|
|
2230
|
+
writer.writeMessage(3, this.idsResult, () => this.idsResult.serialize(writer));
|
|
2231
|
+
if (!w)
|
|
2232
|
+
return writer.getResultBuffer();
|
|
2233
|
+
}
|
|
2234
|
+
static deserialize(bytes) {
|
|
2235
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new QueryResult();
|
|
2236
|
+
while (reader.nextField()) {
|
|
2237
|
+
if (reader.isEndGroup())
|
|
2238
|
+
break;
|
|
2239
|
+
switch (reader.getFieldNumber()) {
|
|
2240
|
+
case 1:
|
|
2241
|
+
reader.readMessage(message.featureResult, () => message.featureResult = FeatureCollectionPBuffer.FeatureResult.deserialize(reader));
|
|
2242
|
+
break;
|
|
2243
|
+
case 2:
|
|
2244
|
+
reader.readMessage(message.countResult, () => message.countResult = FeatureCollectionPBuffer.CountResult.deserialize(reader));
|
|
2245
|
+
break;
|
|
2246
|
+
case 3:
|
|
2247
|
+
reader.readMessage(message.idsResult, () => message.idsResult = FeatureCollectionPBuffer.ObjectIdsResult.deserialize(reader));
|
|
2248
|
+
break;
|
|
2249
|
+
default: reader.skipField();
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
return message;
|
|
2253
|
+
}
|
|
2254
|
+
serializeBinary() {
|
|
2255
|
+
return this.serialize();
|
|
2256
|
+
}
|
|
2257
|
+
static deserializeBinary(bytes) {
|
|
2258
|
+
return QueryResult.deserialize(bytes);
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
_QueryResult_one_of_decls = new WeakMap();
|
|
2262
|
+
FeatureCollectionPBuffer.QueryResult = QueryResult;
|
|
2263
|
+
})(FeatureCollectionPBuffer = esriPBuffer.FeatureCollectionPBuffer || (esriPBuffer.FeatureCollectionPBuffer = {}));
|
|
2264
|
+
})(esriPBuffer || (esriPBuffer = {}));
|
|
2268
2265
|
//# sourceMappingURL=esriPBuffer.gen.js.map
|