@hyperlane-xyz/cli 16.2.0 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/cli-bundle/index.js +39174 -1835
  2. package/examples/submit/transactions/{alfajores-transactions.json → sepolia-transactions.json} +1 -1
  3. package/package.json +5 -5
  4. package/cli-bundle/798.index.js +0 -169715
  5. package/cli-bundle/proto/channelz.proto +0 -564
  6. package/cli-bundle/protos/compute_operations.d.ts +0 -7304
  7. package/cli-bundle/protos/compute_operations.js +0 -1
  8. package/cli-bundle/protos/compute_operations.json +0 -1
  9. package/cli-bundle/protos/google/api/annotations.proto +0 -31
  10. package/cli-bundle/protos/google/api/apikeys/v2/apikeys.proto +0 -288
  11. package/cli-bundle/protos/google/api/apikeys/v2/resources.proto +0 -175
  12. package/cli-bundle/protos/google/api/auth.proto +0 -237
  13. package/cli-bundle/protos/google/api/backend.proto +0 -185
  14. package/cli-bundle/protos/google/api/billing.proto +0 -77
  15. package/cli-bundle/protos/google/api/client.proto +0 -427
  16. package/cli-bundle/protos/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  17. package/cli-bundle/protos/google/api/cloudquotas/v1/resources.proto +0 -311
  18. package/cli-bundle/protos/google/api/config_change.proto +0 -84
  19. package/cli-bundle/protos/google/api/consumer.proto +0 -82
  20. package/cli-bundle/protos/google/api/context.proto +0 -90
  21. package/cli-bundle/protos/google/api/control.proto +0 -41
  22. package/cli-bundle/protos/google/api/distribution.proto +0 -213
  23. package/cli-bundle/protos/google/api/documentation.proto +0 -168
  24. package/cli-bundle/protos/google/api/endpoint.proto +0 -73
  25. package/cli-bundle/protos/google/api/error_reason.proto +0 -589
  26. package/cli-bundle/protos/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  27. package/cli-bundle/protos/google/api/expr/v1alpha1/checked.proto +0 -343
  28. package/cli-bundle/protos/google/api/expr/v1alpha1/eval.proto +0 -118
  29. package/cli-bundle/protos/google/api/expr/v1alpha1/explain.proto +0 -53
  30. package/cli-bundle/protos/google/api/expr/v1alpha1/syntax.proto +0 -400
  31. package/cli-bundle/protos/google/api/expr/v1alpha1/value.proto +0 -115
  32. package/cli-bundle/protos/google/api/expr/v1beta1/decl.proto +0 -84
  33. package/cli-bundle/protos/google/api/expr/v1beta1/eval.proto +0 -125
  34. package/cli-bundle/protos/google/api/expr/v1beta1/expr.proto +0 -265
  35. package/cli-bundle/protos/google/api/expr/v1beta1/source.proto +0 -62
  36. package/cli-bundle/protos/google/api/expr/v1beta1/value.proto +0 -114
  37. package/cli-bundle/protos/google/api/field_behavior.proto +0 -104
  38. package/cli-bundle/protos/google/api/field_info.proto +0 -79
  39. package/cli-bundle/protos/google/api/http.proto +0 -379
  40. package/cli-bundle/protos/google/api/httpbody.proto +0 -81
  41. package/cli-bundle/protos/google/api/label.proto +0 -48
  42. package/cli-bundle/protos/google/api/launch_stage.proto +0 -72
  43. package/cli-bundle/protos/google/api/log.proto +0 -54
  44. package/cli-bundle/protos/google/api/logging.proto +0 -81
  45. package/cli-bundle/protos/google/api/metric.proto +0 -268
  46. package/cli-bundle/protos/google/api/monitored_resource.proto +0 -130
  47. package/cli-bundle/protos/google/api/monitoring.proto +0 -107
  48. package/cli-bundle/protos/google/api/policy.proto +0 -85
  49. package/cli-bundle/protos/google/api/quota.proto +0 -184
  50. package/cli-bundle/protos/google/api/resource.proto +0 -238
  51. package/cli-bundle/protos/google/api/routing.proto +0 -461
  52. package/cli-bundle/protos/google/api/service.proto +0 -191
  53. package/cli-bundle/protos/google/api/servicecontrol/v1/check_error.proto +0 -124
  54. package/cli-bundle/protos/google/api/servicecontrol/v1/distribution.proto +0 -166
  55. package/cli-bundle/protos/google/api/servicecontrol/v1/http_request.proto +0 -93
  56. package/cli-bundle/protos/google/api/servicecontrol/v1/log_entry.proto +0 -126
  57. package/cli-bundle/protos/google/api/servicecontrol/v1/metric_value.proto +0 -81
  58. package/cli-bundle/protos/google/api/servicecontrol/v1/operation.proto +0 -123
  59. package/cli-bundle/protos/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  60. package/cli-bundle/protos/google/api/servicecontrol/v1/service_controller.proto +0 -260
  61. package/cli-bundle/protos/google/api/servicecontrol/v2/service_controller.proto +0 -196
  62. package/cli-bundle/protos/google/api/servicemanagement/v1/resources.proto +0 -295
  63. package/cli-bundle/protos/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  64. package/cli-bundle/protos/google/api/serviceusage/v1/resources.proto +0 -130
  65. package/cli-bundle/protos/google/api/serviceusage/v1/serviceusage.proto +0 -305
  66. package/cli-bundle/protos/google/api/serviceusage/v1beta1/resources.proto +0 -458
  67. package/cli-bundle/protos/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  68. package/cli-bundle/protos/google/api/source_info.proto +0 -31
  69. package/cli-bundle/protos/google/api/system_parameter.proto +0 -96
  70. package/cli-bundle/protos/google/api/usage.proto +0 -96
  71. package/cli-bundle/protos/google/api/visibility.proto +0 -113
  72. package/cli-bundle/protos/google/cloud/location/locations.proto +0 -108
  73. package/cli-bundle/protos/google/iam/v1/iam_policy.proto +0 -155
  74. package/cli-bundle/protos/google/iam/v1/logging/audit_data.proto +0 -33
  75. package/cli-bundle/protos/google/iam/v1/options.proto +0 -48
  76. package/cli-bundle/protos/google/iam/v1/policy.proto +0 -410
  77. package/cli-bundle/protos/google/logging/type/http_request.proto +0 -95
  78. package/cli-bundle/protos/google/logging/type/log_severity.proto +0 -71
  79. package/cli-bundle/protos/google/longrunning/operations.proto +0 -247
  80. package/cli-bundle/protos/google/monitoring/v3/alert.proto +0 -669
  81. package/cli-bundle/protos/google/monitoring/v3/alert_service.proto +0 -256
  82. package/cli-bundle/protos/google/monitoring/v3/common.proto +0 -488
  83. package/cli-bundle/protos/google/monitoring/v3/dropped_labels.proto +0 -46
  84. package/cli-bundle/protos/google/monitoring/v3/group.proto +0 -90
  85. package/cli-bundle/protos/google/monitoring/v3/group_service.proto +0 -290
  86. package/cli-bundle/protos/google/monitoring/v3/metric.proto +0 -239
  87. package/cli-bundle/protos/google/monitoring/v3/metric_service.proto +0 -522
  88. package/cli-bundle/protos/google/monitoring/v3/mutation_record.proto +0 -36
  89. package/cli-bundle/protos/google/monitoring/v3/notification.proto +0 -195
  90. package/cli-bundle/protos/google/monitoring/v3/notification_service.proto +0 -448
  91. package/cli-bundle/protos/google/monitoring/v3/query_service.proto +0 -48
  92. package/cli-bundle/protos/google/monitoring/v3/service.proto +0 -457
  93. package/cli-bundle/protos/google/monitoring/v3/service_service.proto +0 -352
  94. package/cli-bundle/protos/google/monitoring/v3/snooze.proto +0 -78
  95. package/cli-bundle/protos/google/monitoring/v3/snooze_service.proto +0 -210
  96. package/cli-bundle/protos/google/monitoring/v3/span_context.proto +0 -45
  97. package/cli-bundle/protos/google/monitoring/v3/uptime.proto +0 -564
  98. package/cli-bundle/protos/google/monitoring/v3/uptime_service.proto +0 -259
  99. package/cli-bundle/protos/google/protobuf/any.proto +0 -162
  100. package/cli-bundle/protos/google/protobuf/api.proto +0 -207
  101. package/cli-bundle/protos/google/protobuf/bridge/message_set.proto +0 -76
  102. package/cli-bundle/protos/google/protobuf/compiler/plugin.proto +0 -180
  103. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code.proto +0 -77
  104. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto +0 -78
  105. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto +0 -12
  106. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto +0 -16
  107. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto +0 -16
  108. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto +0 -14
  109. package/cli-bundle/protos/google/protobuf/cpp_features.proto +0 -45
  110. package/cli-bundle/protos/google/protobuf/descriptor.proto +0 -1225
  111. package/cli-bundle/protos/google/protobuf/duration.proto +0 -115
  112. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_enum.proto +0 -26
  113. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_group.proto +0 -18
  114. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_import.proto +0 -16
  115. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_inline_comments.proto +0 -33
  116. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_multiline_comments.proto +0 -33
  117. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_optional.proto +0 -65
  118. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_packed.proto +0 -14
  119. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_proto3_enum.proto +0 -18
  120. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_required.proto +0 -47
  121. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_unpacked.proto +0 -19
  122. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_disabled.proto +0 -16
  123. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_lite.proto +0 -17
  124. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_verify.proto +0 -14
  125. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_enum.proto +0 -26
  126. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_implicit.proto +0 -65
  127. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_import.proto +0 -16
  128. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_optional.proto +0 -47
  129. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_packed.proto +0 -20
  130. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_unpacked.proto +0 -19
  131. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_utf8_strict.proto +0 -15
  132. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2.proto +0 -129
  133. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_lite.proto +0 -19
  134. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_utf8_disabled.proto +0 -18
  135. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3.proto +0 -32
  136. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3_utf8_disabled.proto +0 -18
  137. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2.proto +0 -14
  138. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2_import.proto +0 -16
  139. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto3.proto +0 -14
  140. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2.proto +0 -91
  141. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_lite.proto +0 -20
  142. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_utf8_disabled.proto +0 -19
  143. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3.proto +0 -25
  144. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3_utf8_disabled.proto +0 -19
  145. package/cli-bundle/protos/google/protobuf/empty.proto +0 -51
  146. package/cli-bundle/protos/google/protobuf/field_mask.proto +0 -245
  147. package/cli-bundle/protos/google/protobuf/sample_messages_edition.proto +0 -427
  148. package/cli-bundle/protos/google/protobuf/source_context.proto +0 -48
  149. package/cli-bundle/protos/google/protobuf/struct.proto +0 -95
  150. package/cli-bundle/protos/google/protobuf/timestamp.proto +0 -144
  151. package/cli-bundle/protos/google/protobuf/type.proto +0 -193
  152. package/cli-bundle/protos/google/protobuf/util/json_format.proto +0 -116
  153. package/cli-bundle/protos/google/protobuf/util/json_format_proto3.proto +0 -301
  154. package/cli-bundle/protos/google/protobuf/wrappers.proto +0 -123
  155. package/cli-bundle/protos/google/rpc/code.proto +0 -186
  156. package/cli-bundle/protos/google/rpc/context/attribute_context.proto +0 -344
  157. package/cli-bundle/protos/google/rpc/context/audit_context.proto +0 -49
  158. package/cli-bundle/protos/google/rpc/error_details.proto +0 -285
  159. package/cli-bundle/protos/google/rpc/http.proto +0 -64
  160. package/cli-bundle/protos/google/rpc/status.proto +0 -49
  161. package/cli-bundle/protos/google/type/calendar_period.proto +0 -56
  162. package/cli-bundle/protos/google/type/color.proto +0 -174
  163. package/cli-bundle/protos/google/type/date.proto +0 -52
  164. package/cli-bundle/protos/google/type/datetime.proto +0 -104
  165. package/cli-bundle/protos/google/type/dayofweek.proto +0 -50
  166. package/cli-bundle/protos/google/type/decimal.proto +0 -95
  167. package/cli-bundle/protos/google/type/expr.proto +0 -73
  168. package/cli-bundle/protos/google/type/fraction.proto +0 -33
  169. package/cli-bundle/protos/google/type/interval.proto +0 -46
  170. package/cli-bundle/protos/google/type/latlng.proto +0 -37
  171. package/cli-bundle/protos/google/type/localized_text.proto +0 -36
  172. package/cli-bundle/protos/google/type/money.proto +0 -42
  173. package/cli-bundle/protos/google/type/month.proto +0 -65
  174. package/cli-bundle/protos/google/type/phone_number.proto +0 -113
  175. package/cli-bundle/protos/google/type/postal_address.proto +0 -134
  176. package/cli-bundle/protos/google/type/quaternion.proto +0 -94
  177. package/cli-bundle/protos/google/type/timeofday.proto +0 -44
  178. package/cli-bundle/protos/http.d.ts +0 -347
  179. package/cli-bundle/protos/http.js +0 -1
  180. package/cli-bundle/protos/iam_service.d.ts +0 -5035
  181. package/cli-bundle/protos/iam_service.js +0 -1
  182. package/cli-bundle/protos/iam_service.json +0 -1
  183. package/cli-bundle/protos/locations.d.ts +0 -4060
  184. package/cli-bundle/protos/locations.js +0 -1
  185. package/cli-bundle/protos/locations.json +0 -1
  186. package/cli-bundle/protos/operations.d.ts +0 -4783
  187. package/cli-bundle/protos/operations.js +0 -1
  188. package/cli-bundle/protos/operations.json +0 -1
  189. package/cli-bundle/protos/status.json +0 -1
  190. package/cli-bundle/worker2.js +0 -174
@@ -1,4060 +0,0 @@
1
- /**
2
- * Copyright 2021 Google LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- import * as $protobuf from "protobufjs";
18
- import Long = require('long');
19
- /** Namespace google. */
20
- export namespace google {
21
-
22
- /** Namespace cloud. */
23
- namespace cloud {
24
-
25
- /** Namespace location. */
26
- namespace location {
27
-
28
- /** Represents a Locations */
29
- class Locations extends $protobuf.rpc.Service {
30
-
31
- /**
32
- * Constructs a new Locations service.
33
- * @param rpcImpl RPC implementation
34
- * @param [requestDelimited=false] Whether requests are length-delimited
35
- * @param [responseDelimited=false] Whether responses are length-delimited
36
- */
37
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
38
-
39
- /**
40
- * Creates new Locations service using the specified rpc implementation.
41
- * @param rpcImpl RPC implementation
42
- * @param [requestDelimited=false] Whether requests are length-delimited
43
- * @param [responseDelimited=false] Whether responses are length-delimited
44
- * @returns RPC service. Useful where requests and/or responses are streamed.
45
- */
46
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Locations;
47
-
48
- /**
49
- * Calls ListLocations.
50
- * @param request ListLocationsRequest message or plain object
51
- * @param callback Node-style callback called with the error, if any, and ListLocationsResponse
52
- */
53
- public listLocations(request: google.cloud.location.IListLocationsRequest, callback: google.cloud.location.Locations.ListLocationsCallback): void;
54
-
55
- /**
56
- * Calls ListLocations.
57
- * @param request ListLocationsRequest message or plain object
58
- * @returns Promise
59
- */
60
- public listLocations(request: google.cloud.location.IListLocationsRequest): Promise<google.cloud.location.ListLocationsResponse>;
61
-
62
- /**
63
- * Calls GetLocation.
64
- * @param request GetLocationRequest message or plain object
65
- * @param callback Node-style callback called with the error, if any, and Location
66
- */
67
- public getLocation(request: google.cloud.location.IGetLocationRequest, callback: google.cloud.location.Locations.GetLocationCallback): void;
68
-
69
- /**
70
- * Calls GetLocation.
71
- * @param request GetLocationRequest message or plain object
72
- * @returns Promise
73
- */
74
- public getLocation(request: google.cloud.location.IGetLocationRequest): Promise<google.cloud.location.Location>;
75
- }
76
-
77
- namespace Locations {
78
-
79
- /**
80
- * Callback as used by {@link google.cloud.location.Locations#listLocations}.
81
- * @param error Error, if any
82
- * @param [response] ListLocationsResponse
83
- */
84
- type ListLocationsCallback = (error: (Error|null), response?: google.cloud.location.ListLocationsResponse) => void;
85
-
86
- /**
87
- * Callback as used by {@link google.cloud.location.Locations#getLocation}.
88
- * @param error Error, if any
89
- * @param [response] Location
90
- */
91
- type GetLocationCallback = (error: (Error|null), response?: google.cloud.location.Location) => void;
92
- }
93
-
94
- /** Properties of a ListLocationsRequest. */
95
- interface IListLocationsRequest {
96
-
97
- /** ListLocationsRequest name */
98
- name?: (string|null);
99
-
100
- /** ListLocationsRequest filter */
101
- filter?: (string|null);
102
-
103
- /** ListLocationsRequest pageSize */
104
- pageSize?: (number|null);
105
-
106
- /** ListLocationsRequest pageToken */
107
- pageToken?: (string|null);
108
- }
109
-
110
- /** Represents a ListLocationsRequest. */
111
- class ListLocationsRequest implements IListLocationsRequest {
112
-
113
- /**
114
- * Constructs a new ListLocationsRequest.
115
- * @param [properties] Properties to set
116
- */
117
- constructor(properties?: google.cloud.location.IListLocationsRequest);
118
-
119
- /** ListLocationsRequest name. */
120
- public name: string;
121
-
122
- /** ListLocationsRequest filter. */
123
- public filter: string;
124
-
125
- /** ListLocationsRequest pageSize. */
126
- public pageSize: number;
127
-
128
- /** ListLocationsRequest pageToken. */
129
- public pageToken: string;
130
-
131
- /**
132
- * Creates a new ListLocationsRequest instance using the specified properties.
133
- * @param [properties] Properties to set
134
- * @returns ListLocationsRequest instance
135
- */
136
- public static create(properties?: google.cloud.location.IListLocationsRequest): google.cloud.location.ListLocationsRequest;
137
-
138
- /**
139
- * Encodes the specified ListLocationsRequest message. Does not implicitly {@link google.cloud.location.ListLocationsRequest.verify|verify} messages.
140
- * @param message ListLocationsRequest message or plain object to encode
141
- * @param [writer] Writer to encode to
142
- * @returns Writer
143
- */
144
- public static encode(message: google.cloud.location.IListLocationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
145
-
146
- /**
147
- * Encodes the specified ListLocationsRequest message, length delimited. Does not implicitly {@link google.cloud.location.ListLocationsRequest.verify|verify} messages.
148
- * @param message ListLocationsRequest message or plain object to encode
149
- * @param [writer] Writer to encode to
150
- * @returns Writer
151
- */
152
- public static encodeDelimited(message: google.cloud.location.IListLocationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
153
-
154
- /**
155
- * Decodes a ListLocationsRequest message from the specified reader or buffer.
156
- * @param reader Reader or buffer to decode from
157
- * @param [length] Message length if known beforehand
158
- * @returns ListLocationsRequest
159
- * @throws {Error} If the payload is not a reader or valid buffer
160
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
161
- */
162
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.location.ListLocationsRequest;
163
-
164
- /**
165
- * Decodes a ListLocationsRequest message from the specified reader or buffer, length delimited.
166
- * @param reader Reader or buffer to decode from
167
- * @returns ListLocationsRequest
168
- * @throws {Error} If the payload is not a reader or valid buffer
169
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
170
- */
171
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.location.ListLocationsRequest;
172
-
173
- /**
174
- * Verifies a ListLocationsRequest message.
175
- * @param message Plain object to verify
176
- * @returns `null` if valid, otherwise the reason why it is not
177
- */
178
- public static verify(message: { [k: string]: any }): (string|null);
179
-
180
- /**
181
- * Creates a ListLocationsRequest message from a plain object. Also converts values to their respective internal types.
182
- * @param object Plain object
183
- * @returns ListLocationsRequest
184
- */
185
- public static fromObject(object: { [k: string]: any }): google.cloud.location.ListLocationsRequest;
186
-
187
- /**
188
- * Creates a plain object from a ListLocationsRequest message. Also converts values to other types if specified.
189
- * @param message ListLocationsRequest
190
- * @param [options] Conversion options
191
- * @returns Plain object
192
- */
193
- public static toObject(message: google.cloud.location.ListLocationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
194
-
195
- /**
196
- * Converts this ListLocationsRequest to JSON.
197
- * @returns JSON object
198
- */
199
- public toJSON(): { [k: string]: any };
200
- }
201
-
202
- /** Properties of a ListLocationsResponse. */
203
- interface IListLocationsResponse {
204
-
205
- /** ListLocationsResponse locations */
206
- locations?: (google.cloud.location.ILocation[]|null);
207
-
208
- /** ListLocationsResponse nextPageToken */
209
- nextPageToken?: (string|null);
210
- }
211
-
212
- /** Represents a ListLocationsResponse. */
213
- class ListLocationsResponse implements IListLocationsResponse {
214
-
215
- /**
216
- * Constructs a new ListLocationsResponse.
217
- * @param [properties] Properties to set
218
- */
219
- constructor(properties?: google.cloud.location.IListLocationsResponse);
220
-
221
- /** ListLocationsResponse locations. */
222
- public locations: google.cloud.location.ILocation[];
223
-
224
- /** ListLocationsResponse nextPageToken. */
225
- public nextPageToken: string;
226
-
227
- /**
228
- * Creates a new ListLocationsResponse instance using the specified properties.
229
- * @param [properties] Properties to set
230
- * @returns ListLocationsResponse instance
231
- */
232
- public static create(properties?: google.cloud.location.IListLocationsResponse): google.cloud.location.ListLocationsResponse;
233
-
234
- /**
235
- * Encodes the specified ListLocationsResponse message. Does not implicitly {@link google.cloud.location.ListLocationsResponse.verify|verify} messages.
236
- * @param message ListLocationsResponse message or plain object to encode
237
- * @param [writer] Writer to encode to
238
- * @returns Writer
239
- */
240
- public static encode(message: google.cloud.location.IListLocationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
241
-
242
- /**
243
- * Encodes the specified ListLocationsResponse message, length delimited. Does not implicitly {@link google.cloud.location.ListLocationsResponse.verify|verify} messages.
244
- * @param message ListLocationsResponse message or plain object to encode
245
- * @param [writer] Writer to encode to
246
- * @returns Writer
247
- */
248
- public static encodeDelimited(message: google.cloud.location.IListLocationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
249
-
250
- /**
251
- * Decodes a ListLocationsResponse message from the specified reader or buffer.
252
- * @param reader Reader or buffer to decode from
253
- * @param [length] Message length if known beforehand
254
- * @returns ListLocationsResponse
255
- * @throws {Error} If the payload is not a reader or valid buffer
256
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
257
- */
258
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.location.ListLocationsResponse;
259
-
260
- /**
261
- * Decodes a ListLocationsResponse message from the specified reader or buffer, length delimited.
262
- * @param reader Reader or buffer to decode from
263
- * @returns ListLocationsResponse
264
- * @throws {Error} If the payload is not a reader or valid buffer
265
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
266
- */
267
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.location.ListLocationsResponse;
268
-
269
- /**
270
- * Verifies a ListLocationsResponse message.
271
- * @param message Plain object to verify
272
- * @returns `null` if valid, otherwise the reason why it is not
273
- */
274
- public static verify(message: { [k: string]: any }): (string|null);
275
-
276
- /**
277
- * Creates a ListLocationsResponse message from a plain object. Also converts values to their respective internal types.
278
- * @param object Plain object
279
- * @returns ListLocationsResponse
280
- */
281
- public static fromObject(object: { [k: string]: any }): google.cloud.location.ListLocationsResponse;
282
-
283
- /**
284
- * Creates a plain object from a ListLocationsResponse message. Also converts values to other types if specified.
285
- * @param message ListLocationsResponse
286
- * @param [options] Conversion options
287
- * @returns Plain object
288
- */
289
- public static toObject(message: google.cloud.location.ListLocationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
290
-
291
- /**
292
- * Converts this ListLocationsResponse to JSON.
293
- * @returns JSON object
294
- */
295
- public toJSON(): { [k: string]: any };
296
- }
297
-
298
- /** Properties of a GetLocationRequest. */
299
- interface IGetLocationRequest {
300
-
301
- /** GetLocationRequest name */
302
- name?: (string|null);
303
- }
304
-
305
- /** Represents a GetLocationRequest. */
306
- class GetLocationRequest implements IGetLocationRequest {
307
-
308
- /**
309
- * Constructs a new GetLocationRequest.
310
- * @param [properties] Properties to set
311
- */
312
- constructor(properties?: google.cloud.location.IGetLocationRequest);
313
-
314
- /** GetLocationRequest name. */
315
- public name: string;
316
-
317
- /**
318
- * Creates a new GetLocationRequest instance using the specified properties.
319
- * @param [properties] Properties to set
320
- * @returns GetLocationRequest instance
321
- */
322
- public static create(properties?: google.cloud.location.IGetLocationRequest): google.cloud.location.GetLocationRequest;
323
-
324
- /**
325
- * Encodes the specified GetLocationRequest message. Does not implicitly {@link google.cloud.location.GetLocationRequest.verify|verify} messages.
326
- * @param message GetLocationRequest message or plain object to encode
327
- * @param [writer] Writer to encode to
328
- * @returns Writer
329
- */
330
- public static encode(message: google.cloud.location.IGetLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
331
-
332
- /**
333
- * Encodes the specified GetLocationRequest message, length delimited. Does not implicitly {@link google.cloud.location.GetLocationRequest.verify|verify} messages.
334
- * @param message GetLocationRequest message or plain object to encode
335
- * @param [writer] Writer to encode to
336
- * @returns Writer
337
- */
338
- public static encodeDelimited(message: google.cloud.location.IGetLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
339
-
340
- /**
341
- * Decodes a GetLocationRequest message from the specified reader or buffer.
342
- * @param reader Reader or buffer to decode from
343
- * @param [length] Message length if known beforehand
344
- * @returns GetLocationRequest
345
- * @throws {Error} If the payload is not a reader or valid buffer
346
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
347
- */
348
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.location.GetLocationRequest;
349
-
350
- /**
351
- * Decodes a GetLocationRequest message from the specified reader or buffer, length delimited.
352
- * @param reader Reader or buffer to decode from
353
- * @returns GetLocationRequest
354
- * @throws {Error} If the payload is not a reader or valid buffer
355
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
356
- */
357
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.location.GetLocationRequest;
358
-
359
- /**
360
- * Verifies a GetLocationRequest message.
361
- * @param message Plain object to verify
362
- * @returns `null` if valid, otherwise the reason why it is not
363
- */
364
- public static verify(message: { [k: string]: any }): (string|null);
365
-
366
- /**
367
- * Creates a GetLocationRequest message from a plain object. Also converts values to their respective internal types.
368
- * @param object Plain object
369
- * @returns GetLocationRequest
370
- */
371
- public static fromObject(object: { [k: string]: any }): google.cloud.location.GetLocationRequest;
372
-
373
- /**
374
- * Creates a plain object from a GetLocationRequest message. Also converts values to other types if specified.
375
- * @param message GetLocationRequest
376
- * @param [options] Conversion options
377
- * @returns Plain object
378
- */
379
- public static toObject(message: google.cloud.location.GetLocationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
380
-
381
- /**
382
- * Converts this GetLocationRequest to JSON.
383
- * @returns JSON object
384
- */
385
- public toJSON(): { [k: string]: any };
386
- }
387
-
388
- /** Properties of a Location. */
389
- interface ILocation {
390
-
391
- /** Location name */
392
- name?: (string|null);
393
-
394
- /** Location locationId */
395
- locationId?: (string|null);
396
-
397
- /** Location displayName */
398
- displayName?: (string|null);
399
-
400
- /** Location labels */
401
- labels?: ({ [k: string]: string }|null);
402
-
403
- /** Location metadata */
404
- metadata?: (google.protobuf.IAny|null);
405
- }
406
-
407
- /** Represents a Location. */
408
- class Location implements ILocation {
409
-
410
- /**
411
- * Constructs a new Location.
412
- * @param [properties] Properties to set
413
- */
414
- constructor(properties?: google.cloud.location.ILocation);
415
-
416
- /** Location name. */
417
- public name: string;
418
-
419
- /** Location locationId. */
420
- public locationId: string;
421
-
422
- /** Location displayName. */
423
- public displayName: string;
424
-
425
- /** Location labels. */
426
- public labels: { [k: string]: string };
427
-
428
- /** Location metadata. */
429
- public metadata?: (google.protobuf.IAny|null);
430
-
431
- /**
432
- * Creates a new Location instance using the specified properties.
433
- * @param [properties] Properties to set
434
- * @returns Location instance
435
- */
436
- public static create(properties?: google.cloud.location.ILocation): google.cloud.location.Location;
437
-
438
- /**
439
- * Encodes the specified Location message. Does not implicitly {@link google.cloud.location.Location.verify|verify} messages.
440
- * @param message Location message or plain object to encode
441
- * @param [writer] Writer to encode to
442
- * @returns Writer
443
- */
444
- public static encode(message: google.cloud.location.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
445
-
446
- /**
447
- * Encodes the specified Location message, length delimited. Does not implicitly {@link google.cloud.location.Location.verify|verify} messages.
448
- * @param message Location message or plain object to encode
449
- * @param [writer] Writer to encode to
450
- * @returns Writer
451
- */
452
- public static encodeDelimited(message: google.cloud.location.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
453
-
454
- /**
455
- * Decodes a Location message from the specified reader or buffer.
456
- * @param reader Reader or buffer to decode from
457
- * @param [length] Message length if known beforehand
458
- * @returns Location
459
- * @throws {Error} If the payload is not a reader or valid buffer
460
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
461
- */
462
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.location.Location;
463
-
464
- /**
465
- * Decodes a Location message from the specified reader or buffer, length delimited.
466
- * @param reader Reader or buffer to decode from
467
- * @returns Location
468
- * @throws {Error} If the payload is not a reader or valid buffer
469
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
470
- */
471
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.location.Location;
472
-
473
- /**
474
- * Verifies a Location message.
475
- * @param message Plain object to verify
476
- * @returns `null` if valid, otherwise the reason why it is not
477
- */
478
- public static verify(message: { [k: string]: any }): (string|null);
479
-
480
- /**
481
- * Creates a Location message from a plain object. Also converts values to their respective internal types.
482
- * @param object Plain object
483
- * @returns Location
484
- */
485
- public static fromObject(object: { [k: string]: any }): google.cloud.location.Location;
486
-
487
- /**
488
- * Creates a plain object from a Location message. Also converts values to other types if specified.
489
- * @param message Location
490
- * @param [options] Conversion options
491
- * @returns Plain object
492
- */
493
- public static toObject(message: google.cloud.location.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
494
-
495
- /**
496
- * Converts this Location to JSON.
497
- * @returns JSON object
498
- */
499
- public toJSON(): { [k: string]: any };
500
- }
501
- }
502
- }
503
-
504
- /** Namespace api. */
505
- namespace api {
506
-
507
- /** Properties of a Http. */
508
- interface IHttp {
509
-
510
- /** Http rules */
511
- rules?: (google.api.IHttpRule[]|null);
512
-
513
- /** Http fullyDecodeReservedExpansion */
514
- fullyDecodeReservedExpansion?: (boolean|null);
515
- }
516
-
517
- /** Represents a Http. */
518
- class Http implements IHttp {
519
-
520
- /**
521
- * Constructs a new Http.
522
- * @param [properties] Properties to set
523
- */
524
- constructor(properties?: google.api.IHttp);
525
-
526
- /** Http rules. */
527
- public rules: google.api.IHttpRule[];
528
-
529
- /** Http fullyDecodeReservedExpansion. */
530
- public fullyDecodeReservedExpansion: boolean;
531
-
532
- /**
533
- * Creates a new Http instance using the specified properties.
534
- * @param [properties] Properties to set
535
- * @returns Http instance
536
- */
537
- public static create(properties?: google.api.IHttp): google.api.Http;
538
-
539
- /**
540
- * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
541
- * @param message Http message or plain object to encode
542
- * @param [writer] Writer to encode to
543
- * @returns Writer
544
- */
545
- public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
546
-
547
- /**
548
- * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
549
- * @param message Http message or plain object to encode
550
- * @param [writer] Writer to encode to
551
- * @returns Writer
552
- */
553
- public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
554
-
555
- /**
556
- * Decodes a Http message from the specified reader or buffer.
557
- * @param reader Reader or buffer to decode from
558
- * @param [length] Message length if known beforehand
559
- * @returns Http
560
- * @throws {Error} If the payload is not a reader or valid buffer
561
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
562
- */
563
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
564
-
565
- /**
566
- * Decodes a Http message from the specified reader or buffer, length delimited.
567
- * @param reader Reader or buffer to decode from
568
- * @returns Http
569
- * @throws {Error} If the payload is not a reader or valid buffer
570
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
571
- */
572
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
573
-
574
- /**
575
- * Verifies a Http message.
576
- * @param message Plain object to verify
577
- * @returns `null` if valid, otherwise the reason why it is not
578
- */
579
- public static verify(message: { [k: string]: any }): (string|null);
580
-
581
- /**
582
- * Creates a Http message from a plain object. Also converts values to their respective internal types.
583
- * @param object Plain object
584
- * @returns Http
585
- */
586
- public static fromObject(object: { [k: string]: any }): google.api.Http;
587
-
588
- /**
589
- * Creates a plain object from a Http message. Also converts values to other types if specified.
590
- * @param message Http
591
- * @param [options] Conversion options
592
- * @returns Plain object
593
- */
594
- public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
595
-
596
- /**
597
- * Converts this Http to JSON.
598
- * @returns JSON object
599
- */
600
- public toJSON(): { [k: string]: any };
601
- }
602
-
603
- /** Properties of a HttpRule. */
604
- interface IHttpRule {
605
-
606
- /** HttpRule selector */
607
- selector?: (string|null);
608
-
609
- /** HttpRule get */
610
- get?: (string|null);
611
-
612
- /** HttpRule put */
613
- put?: (string|null);
614
-
615
- /** HttpRule post */
616
- post?: (string|null);
617
-
618
- /** HttpRule delete */
619
- "delete"?: (string|null);
620
-
621
- /** HttpRule patch */
622
- patch?: (string|null);
623
-
624
- /** HttpRule custom */
625
- custom?: (google.api.ICustomHttpPattern|null);
626
-
627
- /** HttpRule body */
628
- body?: (string|null);
629
-
630
- /** HttpRule responseBody */
631
- responseBody?: (string|null);
632
-
633
- /** HttpRule additionalBindings */
634
- additionalBindings?: (google.api.IHttpRule[]|null);
635
- }
636
-
637
- /** Represents a HttpRule. */
638
- class HttpRule implements IHttpRule {
639
-
640
- /**
641
- * Constructs a new HttpRule.
642
- * @param [properties] Properties to set
643
- */
644
- constructor(properties?: google.api.IHttpRule);
645
-
646
- /** HttpRule selector. */
647
- public selector: string;
648
-
649
- /** HttpRule get. */
650
- public get?: (string|null);
651
-
652
- /** HttpRule put. */
653
- public put?: (string|null);
654
-
655
- /** HttpRule post. */
656
- public post?: (string|null);
657
-
658
- /** HttpRule delete. */
659
- public delete?: (string|null);
660
-
661
- /** HttpRule patch. */
662
- public patch?: (string|null);
663
-
664
- /** HttpRule custom. */
665
- public custom?: (google.api.ICustomHttpPattern|null);
666
-
667
- /** HttpRule body. */
668
- public body: string;
669
-
670
- /** HttpRule responseBody. */
671
- public responseBody: string;
672
-
673
- /** HttpRule additionalBindings. */
674
- public additionalBindings: google.api.IHttpRule[];
675
-
676
- /** HttpRule pattern. */
677
- public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
678
-
679
- /**
680
- * Creates a new HttpRule instance using the specified properties.
681
- * @param [properties] Properties to set
682
- * @returns HttpRule instance
683
- */
684
- public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
685
-
686
- /**
687
- * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
688
- * @param message HttpRule message or plain object to encode
689
- * @param [writer] Writer to encode to
690
- * @returns Writer
691
- */
692
- public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
693
-
694
- /**
695
- * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
696
- * @param message HttpRule message or plain object to encode
697
- * @param [writer] Writer to encode to
698
- * @returns Writer
699
- */
700
- public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
701
-
702
- /**
703
- * Decodes a HttpRule message from the specified reader or buffer.
704
- * @param reader Reader or buffer to decode from
705
- * @param [length] Message length if known beforehand
706
- * @returns HttpRule
707
- * @throws {Error} If the payload is not a reader or valid buffer
708
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
709
- */
710
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
711
-
712
- /**
713
- * Decodes a HttpRule message from the specified reader or buffer, length delimited.
714
- * @param reader Reader or buffer to decode from
715
- * @returns HttpRule
716
- * @throws {Error} If the payload is not a reader or valid buffer
717
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
718
- */
719
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
720
-
721
- /**
722
- * Verifies a HttpRule message.
723
- * @param message Plain object to verify
724
- * @returns `null` if valid, otherwise the reason why it is not
725
- */
726
- public static verify(message: { [k: string]: any }): (string|null);
727
-
728
- /**
729
- * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
730
- * @param object Plain object
731
- * @returns HttpRule
732
- */
733
- public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
734
-
735
- /**
736
- * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
737
- * @param message HttpRule
738
- * @param [options] Conversion options
739
- * @returns Plain object
740
- */
741
- public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
742
-
743
- /**
744
- * Converts this HttpRule to JSON.
745
- * @returns JSON object
746
- */
747
- public toJSON(): { [k: string]: any };
748
- }
749
-
750
- /** Properties of a CustomHttpPattern. */
751
- interface ICustomHttpPattern {
752
-
753
- /** CustomHttpPattern kind */
754
- kind?: (string|null);
755
-
756
- /** CustomHttpPattern path */
757
- path?: (string|null);
758
- }
759
-
760
- /** Represents a CustomHttpPattern. */
761
- class CustomHttpPattern implements ICustomHttpPattern {
762
-
763
- /**
764
- * Constructs a new CustomHttpPattern.
765
- * @param [properties] Properties to set
766
- */
767
- constructor(properties?: google.api.ICustomHttpPattern);
768
-
769
- /** CustomHttpPattern kind. */
770
- public kind: string;
771
-
772
- /** CustomHttpPattern path. */
773
- public path: string;
774
-
775
- /**
776
- * Creates a new CustomHttpPattern instance using the specified properties.
777
- * @param [properties] Properties to set
778
- * @returns CustomHttpPattern instance
779
- */
780
- public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
781
-
782
- /**
783
- * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
784
- * @param message CustomHttpPattern message or plain object to encode
785
- * @param [writer] Writer to encode to
786
- * @returns Writer
787
- */
788
- public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
789
-
790
- /**
791
- * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
792
- * @param message CustomHttpPattern message or plain object to encode
793
- * @param [writer] Writer to encode to
794
- * @returns Writer
795
- */
796
- public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
797
-
798
- /**
799
- * Decodes a CustomHttpPattern message from the specified reader or buffer.
800
- * @param reader Reader or buffer to decode from
801
- * @param [length] Message length if known beforehand
802
- * @returns CustomHttpPattern
803
- * @throws {Error} If the payload is not a reader or valid buffer
804
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
805
- */
806
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
807
-
808
- /**
809
- * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
810
- * @param reader Reader or buffer to decode from
811
- * @returns CustomHttpPattern
812
- * @throws {Error} If the payload is not a reader or valid buffer
813
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
814
- */
815
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
816
-
817
- /**
818
- * Verifies a CustomHttpPattern message.
819
- * @param message Plain object to verify
820
- * @returns `null` if valid, otherwise the reason why it is not
821
- */
822
- public static verify(message: { [k: string]: any }): (string|null);
823
-
824
- /**
825
- * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
826
- * @param object Plain object
827
- * @returns CustomHttpPattern
828
- */
829
- public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
830
-
831
- /**
832
- * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
833
- * @param message CustomHttpPattern
834
- * @param [options] Conversion options
835
- * @returns Plain object
836
- */
837
- public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
838
-
839
- /**
840
- * Converts this CustomHttpPattern to JSON.
841
- * @returns JSON object
842
- */
843
- public toJSON(): { [k: string]: any };
844
- }
845
- }
846
-
847
- /** Namespace protobuf. */
848
- namespace protobuf {
849
-
850
- /** Properties of a FileDescriptorSet. */
851
- interface IFileDescriptorSet {
852
-
853
- /** FileDescriptorSet file */
854
- file?: (google.protobuf.IFileDescriptorProto[]|null);
855
- }
856
-
857
- /** Represents a FileDescriptorSet. */
858
- class FileDescriptorSet implements IFileDescriptorSet {
859
-
860
- /**
861
- * Constructs a new FileDescriptorSet.
862
- * @param [properties] Properties to set
863
- */
864
- constructor(properties?: google.protobuf.IFileDescriptorSet);
865
-
866
- /** FileDescriptorSet file. */
867
- public file: google.protobuf.IFileDescriptorProto[];
868
-
869
- /**
870
- * Creates a new FileDescriptorSet instance using the specified properties.
871
- * @param [properties] Properties to set
872
- * @returns FileDescriptorSet instance
873
- */
874
- public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
875
-
876
- /**
877
- * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
878
- * @param message FileDescriptorSet message or plain object to encode
879
- * @param [writer] Writer to encode to
880
- * @returns Writer
881
- */
882
- public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
883
-
884
- /**
885
- * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
886
- * @param message FileDescriptorSet message or plain object to encode
887
- * @param [writer] Writer to encode to
888
- * @returns Writer
889
- */
890
- public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
891
-
892
- /**
893
- * Decodes a FileDescriptorSet message from the specified reader or buffer.
894
- * @param reader Reader or buffer to decode from
895
- * @param [length] Message length if known beforehand
896
- * @returns FileDescriptorSet
897
- * @throws {Error} If the payload is not a reader or valid buffer
898
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
899
- */
900
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
901
-
902
- /**
903
- * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
904
- * @param reader Reader or buffer to decode from
905
- * @returns FileDescriptorSet
906
- * @throws {Error} If the payload is not a reader or valid buffer
907
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
908
- */
909
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
910
-
911
- /**
912
- * Verifies a FileDescriptorSet message.
913
- * @param message Plain object to verify
914
- * @returns `null` if valid, otherwise the reason why it is not
915
- */
916
- public static verify(message: { [k: string]: any }): (string|null);
917
-
918
- /**
919
- * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
920
- * @param object Plain object
921
- * @returns FileDescriptorSet
922
- */
923
- public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
924
-
925
- /**
926
- * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
927
- * @param message FileDescriptorSet
928
- * @param [options] Conversion options
929
- * @returns Plain object
930
- */
931
- public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
932
-
933
- /**
934
- * Converts this FileDescriptorSet to JSON.
935
- * @returns JSON object
936
- */
937
- public toJSON(): { [k: string]: any };
938
- }
939
-
940
- /** Properties of a FileDescriptorProto. */
941
- interface IFileDescriptorProto {
942
-
943
- /** FileDescriptorProto name */
944
- name?: (string|null);
945
-
946
- /** FileDescriptorProto package */
947
- "package"?: (string|null);
948
-
949
- /** FileDescriptorProto dependency */
950
- dependency?: (string[]|null);
951
-
952
- /** FileDescriptorProto publicDependency */
953
- publicDependency?: (number[]|null);
954
-
955
- /** FileDescriptorProto weakDependency */
956
- weakDependency?: (number[]|null);
957
-
958
- /** FileDescriptorProto messageType */
959
- messageType?: (google.protobuf.IDescriptorProto[]|null);
960
-
961
- /** FileDescriptorProto enumType */
962
- enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
963
-
964
- /** FileDescriptorProto service */
965
- service?: (google.protobuf.IServiceDescriptorProto[]|null);
966
-
967
- /** FileDescriptorProto extension */
968
- extension?: (google.protobuf.IFieldDescriptorProto[]|null);
969
-
970
- /** FileDescriptorProto options */
971
- options?: (google.protobuf.IFileOptions|null);
972
-
973
- /** FileDescriptorProto sourceCodeInfo */
974
- sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
975
-
976
- /** FileDescriptorProto syntax */
977
- syntax?: (string|null);
978
- }
979
-
980
- /** Represents a FileDescriptorProto. */
981
- class FileDescriptorProto implements IFileDescriptorProto {
982
-
983
- /**
984
- * Constructs a new FileDescriptorProto.
985
- * @param [properties] Properties to set
986
- */
987
- constructor(properties?: google.protobuf.IFileDescriptorProto);
988
-
989
- /** FileDescriptorProto name. */
990
- public name: string;
991
-
992
- /** FileDescriptorProto package. */
993
- public package: string;
994
-
995
- /** FileDescriptorProto dependency. */
996
- public dependency: string[];
997
-
998
- /** FileDescriptorProto publicDependency. */
999
- public publicDependency: number[];
1000
-
1001
- /** FileDescriptorProto weakDependency. */
1002
- public weakDependency: number[];
1003
-
1004
- /** FileDescriptorProto messageType. */
1005
- public messageType: google.protobuf.IDescriptorProto[];
1006
-
1007
- /** FileDescriptorProto enumType. */
1008
- public enumType: google.protobuf.IEnumDescriptorProto[];
1009
-
1010
- /** FileDescriptorProto service. */
1011
- public service: google.protobuf.IServiceDescriptorProto[];
1012
-
1013
- /** FileDescriptorProto extension. */
1014
- public extension: google.protobuf.IFieldDescriptorProto[];
1015
-
1016
- /** FileDescriptorProto options. */
1017
- public options?: (google.protobuf.IFileOptions|null);
1018
-
1019
- /** FileDescriptorProto sourceCodeInfo. */
1020
- public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
1021
-
1022
- /** FileDescriptorProto syntax. */
1023
- public syntax: string;
1024
-
1025
- /**
1026
- * Creates a new FileDescriptorProto instance using the specified properties.
1027
- * @param [properties] Properties to set
1028
- * @returns FileDescriptorProto instance
1029
- */
1030
- public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
1031
-
1032
- /**
1033
- * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
1034
- * @param message FileDescriptorProto message or plain object to encode
1035
- * @param [writer] Writer to encode to
1036
- * @returns Writer
1037
- */
1038
- public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1039
-
1040
- /**
1041
- * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
1042
- * @param message FileDescriptorProto message or plain object to encode
1043
- * @param [writer] Writer to encode to
1044
- * @returns Writer
1045
- */
1046
- public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1047
-
1048
- /**
1049
- * Decodes a FileDescriptorProto message from the specified reader or buffer.
1050
- * @param reader Reader or buffer to decode from
1051
- * @param [length] Message length if known beforehand
1052
- * @returns FileDescriptorProto
1053
- * @throws {Error} If the payload is not a reader or valid buffer
1054
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1055
- */
1056
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
1057
-
1058
- /**
1059
- * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
1060
- * @param reader Reader or buffer to decode from
1061
- * @returns FileDescriptorProto
1062
- * @throws {Error} If the payload is not a reader or valid buffer
1063
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1064
- */
1065
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
1066
-
1067
- /**
1068
- * Verifies a FileDescriptorProto message.
1069
- * @param message Plain object to verify
1070
- * @returns `null` if valid, otherwise the reason why it is not
1071
- */
1072
- public static verify(message: { [k: string]: any }): (string|null);
1073
-
1074
- /**
1075
- * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
1076
- * @param object Plain object
1077
- * @returns FileDescriptorProto
1078
- */
1079
- public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
1080
-
1081
- /**
1082
- * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
1083
- * @param message FileDescriptorProto
1084
- * @param [options] Conversion options
1085
- * @returns Plain object
1086
- */
1087
- public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1088
-
1089
- /**
1090
- * Converts this FileDescriptorProto to JSON.
1091
- * @returns JSON object
1092
- */
1093
- public toJSON(): { [k: string]: any };
1094
- }
1095
-
1096
- /** Properties of a DescriptorProto. */
1097
- interface IDescriptorProto {
1098
-
1099
- /** DescriptorProto name */
1100
- name?: (string|null);
1101
-
1102
- /** DescriptorProto field */
1103
- field?: (google.protobuf.IFieldDescriptorProto[]|null);
1104
-
1105
- /** DescriptorProto extension */
1106
- extension?: (google.protobuf.IFieldDescriptorProto[]|null);
1107
-
1108
- /** DescriptorProto nestedType */
1109
- nestedType?: (google.protobuf.IDescriptorProto[]|null);
1110
-
1111
- /** DescriptorProto enumType */
1112
- enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
1113
-
1114
- /** DescriptorProto extensionRange */
1115
- extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
1116
-
1117
- /** DescriptorProto oneofDecl */
1118
- oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
1119
-
1120
- /** DescriptorProto options */
1121
- options?: (google.protobuf.IMessageOptions|null);
1122
-
1123
- /** DescriptorProto reservedRange */
1124
- reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
1125
-
1126
- /** DescriptorProto reservedName */
1127
- reservedName?: (string[]|null);
1128
- }
1129
-
1130
- /** Represents a DescriptorProto. */
1131
- class DescriptorProto implements IDescriptorProto {
1132
-
1133
- /**
1134
- * Constructs a new DescriptorProto.
1135
- * @param [properties] Properties to set
1136
- */
1137
- constructor(properties?: google.protobuf.IDescriptorProto);
1138
-
1139
- /** DescriptorProto name. */
1140
- public name: string;
1141
-
1142
- /** DescriptorProto field. */
1143
- public field: google.protobuf.IFieldDescriptorProto[];
1144
-
1145
- /** DescriptorProto extension. */
1146
- public extension: google.protobuf.IFieldDescriptorProto[];
1147
-
1148
- /** DescriptorProto nestedType. */
1149
- public nestedType: google.protobuf.IDescriptorProto[];
1150
-
1151
- /** DescriptorProto enumType. */
1152
- public enumType: google.protobuf.IEnumDescriptorProto[];
1153
-
1154
- /** DescriptorProto extensionRange. */
1155
- public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
1156
-
1157
- /** DescriptorProto oneofDecl. */
1158
- public oneofDecl: google.protobuf.IOneofDescriptorProto[];
1159
-
1160
- /** DescriptorProto options. */
1161
- public options?: (google.protobuf.IMessageOptions|null);
1162
-
1163
- /** DescriptorProto reservedRange. */
1164
- public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
1165
-
1166
- /** DescriptorProto reservedName. */
1167
- public reservedName: string[];
1168
-
1169
- /**
1170
- * Creates a new DescriptorProto instance using the specified properties.
1171
- * @param [properties] Properties to set
1172
- * @returns DescriptorProto instance
1173
- */
1174
- public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
1175
-
1176
- /**
1177
- * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
1178
- * @param message DescriptorProto message or plain object to encode
1179
- * @param [writer] Writer to encode to
1180
- * @returns Writer
1181
- */
1182
- public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1183
-
1184
- /**
1185
- * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
1186
- * @param message DescriptorProto message or plain object to encode
1187
- * @param [writer] Writer to encode to
1188
- * @returns Writer
1189
- */
1190
- public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1191
-
1192
- /**
1193
- * Decodes a DescriptorProto message from the specified reader or buffer.
1194
- * @param reader Reader or buffer to decode from
1195
- * @param [length] Message length if known beforehand
1196
- * @returns DescriptorProto
1197
- * @throws {Error} If the payload is not a reader or valid buffer
1198
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1199
- */
1200
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
1201
-
1202
- /**
1203
- * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
1204
- * @param reader Reader or buffer to decode from
1205
- * @returns DescriptorProto
1206
- * @throws {Error} If the payload is not a reader or valid buffer
1207
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1208
- */
1209
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
1210
-
1211
- /**
1212
- * Verifies a DescriptorProto message.
1213
- * @param message Plain object to verify
1214
- * @returns `null` if valid, otherwise the reason why it is not
1215
- */
1216
- public static verify(message: { [k: string]: any }): (string|null);
1217
-
1218
- /**
1219
- * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
1220
- * @param object Plain object
1221
- * @returns DescriptorProto
1222
- */
1223
- public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
1224
-
1225
- /**
1226
- * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
1227
- * @param message DescriptorProto
1228
- * @param [options] Conversion options
1229
- * @returns Plain object
1230
- */
1231
- public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1232
-
1233
- /**
1234
- * Converts this DescriptorProto to JSON.
1235
- * @returns JSON object
1236
- */
1237
- public toJSON(): { [k: string]: any };
1238
- }
1239
-
1240
- namespace DescriptorProto {
1241
-
1242
- /** Properties of an ExtensionRange. */
1243
- interface IExtensionRange {
1244
-
1245
- /** ExtensionRange start */
1246
- start?: (number|null);
1247
-
1248
- /** ExtensionRange end */
1249
- end?: (number|null);
1250
-
1251
- /** ExtensionRange options */
1252
- options?: (google.protobuf.IExtensionRangeOptions|null);
1253
- }
1254
-
1255
- /** Represents an ExtensionRange. */
1256
- class ExtensionRange implements IExtensionRange {
1257
-
1258
- /**
1259
- * Constructs a new ExtensionRange.
1260
- * @param [properties] Properties to set
1261
- */
1262
- constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
1263
-
1264
- /** ExtensionRange start. */
1265
- public start: number;
1266
-
1267
- /** ExtensionRange end. */
1268
- public end: number;
1269
-
1270
- /** ExtensionRange options. */
1271
- public options?: (google.protobuf.IExtensionRangeOptions|null);
1272
-
1273
- /**
1274
- * Creates a new ExtensionRange instance using the specified properties.
1275
- * @param [properties] Properties to set
1276
- * @returns ExtensionRange instance
1277
- */
1278
- public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
1279
-
1280
- /**
1281
- * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
1282
- * @param message ExtensionRange message or plain object to encode
1283
- * @param [writer] Writer to encode to
1284
- * @returns Writer
1285
- */
1286
- public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
1287
-
1288
- /**
1289
- * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
1290
- * @param message ExtensionRange message or plain object to encode
1291
- * @param [writer] Writer to encode to
1292
- * @returns Writer
1293
- */
1294
- public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
1295
-
1296
- /**
1297
- * Decodes an ExtensionRange message from the specified reader or buffer.
1298
- * @param reader Reader or buffer to decode from
1299
- * @param [length] Message length if known beforehand
1300
- * @returns ExtensionRange
1301
- * @throws {Error} If the payload is not a reader or valid buffer
1302
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1303
- */
1304
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
1305
-
1306
- /**
1307
- * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
1308
- * @param reader Reader or buffer to decode from
1309
- * @returns ExtensionRange
1310
- * @throws {Error} If the payload is not a reader or valid buffer
1311
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1312
- */
1313
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
1314
-
1315
- /**
1316
- * Verifies an ExtensionRange message.
1317
- * @param message Plain object to verify
1318
- * @returns `null` if valid, otherwise the reason why it is not
1319
- */
1320
- public static verify(message: { [k: string]: any }): (string|null);
1321
-
1322
- /**
1323
- * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
1324
- * @param object Plain object
1325
- * @returns ExtensionRange
1326
- */
1327
- public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
1328
-
1329
- /**
1330
- * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
1331
- * @param message ExtensionRange
1332
- * @param [options] Conversion options
1333
- * @returns Plain object
1334
- */
1335
- public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
1336
-
1337
- /**
1338
- * Converts this ExtensionRange to JSON.
1339
- * @returns JSON object
1340
- */
1341
- public toJSON(): { [k: string]: any };
1342
- }
1343
-
1344
- /** Properties of a ReservedRange. */
1345
- interface IReservedRange {
1346
-
1347
- /** ReservedRange start */
1348
- start?: (number|null);
1349
-
1350
- /** ReservedRange end */
1351
- end?: (number|null);
1352
- }
1353
-
1354
- /** Represents a ReservedRange. */
1355
- class ReservedRange implements IReservedRange {
1356
-
1357
- /**
1358
- * Constructs a new ReservedRange.
1359
- * @param [properties] Properties to set
1360
- */
1361
- constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
1362
-
1363
- /** ReservedRange start. */
1364
- public start: number;
1365
-
1366
- /** ReservedRange end. */
1367
- public end: number;
1368
-
1369
- /**
1370
- * Creates a new ReservedRange instance using the specified properties.
1371
- * @param [properties] Properties to set
1372
- * @returns ReservedRange instance
1373
- */
1374
- public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
1375
-
1376
- /**
1377
- * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
1378
- * @param message ReservedRange message or plain object to encode
1379
- * @param [writer] Writer to encode to
1380
- * @returns Writer
1381
- */
1382
- public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1383
-
1384
- /**
1385
- * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
1386
- * @param message ReservedRange message or plain object to encode
1387
- * @param [writer] Writer to encode to
1388
- * @returns Writer
1389
- */
1390
- public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1391
-
1392
- /**
1393
- * Decodes a ReservedRange message from the specified reader or buffer.
1394
- * @param reader Reader or buffer to decode from
1395
- * @param [length] Message length if known beforehand
1396
- * @returns ReservedRange
1397
- * @throws {Error} If the payload is not a reader or valid buffer
1398
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1399
- */
1400
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
1401
-
1402
- /**
1403
- * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
1404
- * @param reader Reader or buffer to decode from
1405
- * @returns ReservedRange
1406
- * @throws {Error} If the payload is not a reader or valid buffer
1407
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1408
- */
1409
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
1410
-
1411
- /**
1412
- * Verifies a ReservedRange message.
1413
- * @param message Plain object to verify
1414
- * @returns `null` if valid, otherwise the reason why it is not
1415
- */
1416
- public static verify(message: { [k: string]: any }): (string|null);
1417
-
1418
- /**
1419
- * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
1420
- * @param object Plain object
1421
- * @returns ReservedRange
1422
- */
1423
- public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
1424
-
1425
- /**
1426
- * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
1427
- * @param message ReservedRange
1428
- * @param [options] Conversion options
1429
- * @returns Plain object
1430
- */
1431
- public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
1432
-
1433
- /**
1434
- * Converts this ReservedRange to JSON.
1435
- * @returns JSON object
1436
- */
1437
- public toJSON(): { [k: string]: any };
1438
- }
1439
- }
1440
-
1441
- /** Properties of an ExtensionRangeOptions. */
1442
- interface IExtensionRangeOptions {
1443
-
1444
- /** ExtensionRangeOptions uninterpretedOption */
1445
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
1446
- }
1447
-
1448
- /** Represents an ExtensionRangeOptions. */
1449
- class ExtensionRangeOptions implements IExtensionRangeOptions {
1450
-
1451
- /**
1452
- * Constructs a new ExtensionRangeOptions.
1453
- * @param [properties] Properties to set
1454
- */
1455
- constructor(properties?: google.protobuf.IExtensionRangeOptions);
1456
-
1457
- /** ExtensionRangeOptions uninterpretedOption. */
1458
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
1459
-
1460
- /**
1461
- * Creates a new ExtensionRangeOptions instance using the specified properties.
1462
- * @param [properties] Properties to set
1463
- * @returns ExtensionRangeOptions instance
1464
- */
1465
- public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
1466
-
1467
- /**
1468
- * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
1469
- * @param message ExtensionRangeOptions message or plain object to encode
1470
- * @param [writer] Writer to encode to
1471
- * @returns Writer
1472
- */
1473
- public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
1474
-
1475
- /**
1476
- * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
1477
- * @param message ExtensionRangeOptions message or plain object to encode
1478
- * @param [writer] Writer to encode to
1479
- * @returns Writer
1480
- */
1481
- public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
1482
-
1483
- /**
1484
- * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
1485
- * @param reader Reader or buffer to decode from
1486
- * @param [length] Message length if known beforehand
1487
- * @returns ExtensionRangeOptions
1488
- * @throws {Error} If the payload is not a reader or valid buffer
1489
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1490
- */
1491
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
1492
-
1493
- /**
1494
- * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
1495
- * @param reader Reader or buffer to decode from
1496
- * @returns ExtensionRangeOptions
1497
- * @throws {Error} If the payload is not a reader or valid buffer
1498
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1499
- */
1500
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
1501
-
1502
- /**
1503
- * Verifies an ExtensionRangeOptions message.
1504
- * @param message Plain object to verify
1505
- * @returns `null` if valid, otherwise the reason why it is not
1506
- */
1507
- public static verify(message: { [k: string]: any }): (string|null);
1508
-
1509
- /**
1510
- * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
1511
- * @param object Plain object
1512
- * @returns ExtensionRangeOptions
1513
- */
1514
- public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
1515
-
1516
- /**
1517
- * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
1518
- * @param message ExtensionRangeOptions
1519
- * @param [options] Conversion options
1520
- * @returns Plain object
1521
- */
1522
- public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
1523
-
1524
- /**
1525
- * Converts this ExtensionRangeOptions to JSON.
1526
- * @returns JSON object
1527
- */
1528
- public toJSON(): { [k: string]: any };
1529
- }
1530
-
1531
- /** Properties of a FieldDescriptorProto. */
1532
- interface IFieldDescriptorProto {
1533
-
1534
- /** FieldDescriptorProto name */
1535
- name?: (string|null);
1536
-
1537
- /** FieldDescriptorProto number */
1538
- number?: (number|null);
1539
-
1540
- /** FieldDescriptorProto label */
1541
- label?: (google.protobuf.FieldDescriptorProto.Label|null);
1542
-
1543
- /** FieldDescriptorProto type */
1544
- type?: (google.protobuf.FieldDescriptorProto.Type|null);
1545
-
1546
- /** FieldDescriptorProto typeName */
1547
- typeName?: (string|null);
1548
-
1549
- /** FieldDescriptorProto extendee */
1550
- extendee?: (string|null);
1551
-
1552
- /** FieldDescriptorProto defaultValue */
1553
- defaultValue?: (string|null);
1554
-
1555
- /** FieldDescriptorProto oneofIndex */
1556
- oneofIndex?: (number|null);
1557
-
1558
- /** FieldDescriptorProto jsonName */
1559
- jsonName?: (string|null);
1560
-
1561
- /** FieldDescriptorProto options */
1562
- options?: (google.protobuf.IFieldOptions|null);
1563
-
1564
- /** FieldDescriptorProto proto3Optional */
1565
- proto3Optional?: (boolean|null);
1566
- }
1567
-
1568
- /** Represents a FieldDescriptorProto. */
1569
- class FieldDescriptorProto implements IFieldDescriptorProto {
1570
-
1571
- /**
1572
- * Constructs a new FieldDescriptorProto.
1573
- * @param [properties] Properties to set
1574
- */
1575
- constructor(properties?: google.protobuf.IFieldDescriptorProto);
1576
-
1577
- /** FieldDescriptorProto name. */
1578
- public name: string;
1579
-
1580
- /** FieldDescriptorProto number. */
1581
- public number: number;
1582
-
1583
- /** FieldDescriptorProto label. */
1584
- public label: google.protobuf.FieldDescriptorProto.Label;
1585
-
1586
- /** FieldDescriptorProto type. */
1587
- public type: google.protobuf.FieldDescriptorProto.Type;
1588
-
1589
- /** FieldDescriptorProto typeName. */
1590
- public typeName: string;
1591
-
1592
- /** FieldDescriptorProto extendee. */
1593
- public extendee: string;
1594
-
1595
- /** FieldDescriptorProto defaultValue. */
1596
- public defaultValue: string;
1597
-
1598
- /** FieldDescriptorProto oneofIndex. */
1599
- public oneofIndex: number;
1600
-
1601
- /** FieldDescriptorProto jsonName. */
1602
- public jsonName: string;
1603
-
1604
- /** FieldDescriptorProto options. */
1605
- public options?: (google.protobuf.IFieldOptions|null);
1606
-
1607
- /** FieldDescriptorProto proto3Optional. */
1608
- public proto3Optional: boolean;
1609
-
1610
- /**
1611
- * Creates a new FieldDescriptorProto instance using the specified properties.
1612
- * @param [properties] Properties to set
1613
- * @returns FieldDescriptorProto instance
1614
- */
1615
- public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
1616
-
1617
- /**
1618
- * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
1619
- * @param message FieldDescriptorProto message or plain object to encode
1620
- * @param [writer] Writer to encode to
1621
- * @returns Writer
1622
- */
1623
- public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1624
-
1625
- /**
1626
- * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
1627
- * @param message FieldDescriptorProto message or plain object to encode
1628
- * @param [writer] Writer to encode to
1629
- * @returns Writer
1630
- */
1631
- public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1632
-
1633
- /**
1634
- * Decodes a FieldDescriptorProto message from the specified reader or buffer.
1635
- * @param reader Reader or buffer to decode from
1636
- * @param [length] Message length if known beforehand
1637
- * @returns FieldDescriptorProto
1638
- * @throws {Error} If the payload is not a reader or valid buffer
1639
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1640
- */
1641
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
1642
-
1643
- /**
1644
- * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
1645
- * @param reader Reader or buffer to decode from
1646
- * @returns FieldDescriptorProto
1647
- * @throws {Error} If the payload is not a reader or valid buffer
1648
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1649
- */
1650
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
1651
-
1652
- /**
1653
- * Verifies a FieldDescriptorProto message.
1654
- * @param message Plain object to verify
1655
- * @returns `null` if valid, otherwise the reason why it is not
1656
- */
1657
- public static verify(message: { [k: string]: any }): (string|null);
1658
-
1659
- /**
1660
- * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
1661
- * @param object Plain object
1662
- * @returns FieldDescriptorProto
1663
- */
1664
- public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
1665
-
1666
- /**
1667
- * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
1668
- * @param message FieldDescriptorProto
1669
- * @param [options] Conversion options
1670
- * @returns Plain object
1671
- */
1672
- public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1673
-
1674
- /**
1675
- * Converts this FieldDescriptorProto to JSON.
1676
- * @returns JSON object
1677
- */
1678
- public toJSON(): { [k: string]: any };
1679
- }
1680
-
1681
- namespace FieldDescriptorProto {
1682
-
1683
- /** Type enum. */
1684
- enum Type {
1685
- TYPE_DOUBLE = 1,
1686
- TYPE_FLOAT = 2,
1687
- TYPE_INT64 = 3,
1688
- TYPE_UINT64 = 4,
1689
- TYPE_INT32 = 5,
1690
- TYPE_FIXED64 = 6,
1691
- TYPE_FIXED32 = 7,
1692
- TYPE_BOOL = 8,
1693
- TYPE_STRING = 9,
1694
- TYPE_GROUP = 10,
1695
- TYPE_MESSAGE = 11,
1696
- TYPE_BYTES = 12,
1697
- TYPE_UINT32 = 13,
1698
- TYPE_ENUM = 14,
1699
- TYPE_SFIXED32 = 15,
1700
- TYPE_SFIXED64 = 16,
1701
- TYPE_SINT32 = 17,
1702
- TYPE_SINT64 = 18
1703
- }
1704
-
1705
- /** Label enum. */
1706
- enum Label {
1707
- LABEL_OPTIONAL = 1,
1708
- LABEL_REQUIRED = 2,
1709
- LABEL_REPEATED = 3
1710
- }
1711
- }
1712
-
1713
- /** Properties of an OneofDescriptorProto. */
1714
- interface IOneofDescriptorProto {
1715
-
1716
- /** OneofDescriptorProto name */
1717
- name?: (string|null);
1718
-
1719
- /** OneofDescriptorProto options */
1720
- options?: (google.protobuf.IOneofOptions|null);
1721
- }
1722
-
1723
- /** Represents an OneofDescriptorProto. */
1724
- class OneofDescriptorProto implements IOneofDescriptorProto {
1725
-
1726
- /**
1727
- * Constructs a new OneofDescriptorProto.
1728
- * @param [properties] Properties to set
1729
- */
1730
- constructor(properties?: google.protobuf.IOneofDescriptorProto);
1731
-
1732
- /** OneofDescriptorProto name. */
1733
- public name: string;
1734
-
1735
- /** OneofDescriptorProto options. */
1736
- public options?: (google.protobuf.IOneofOptions|null);
1737
-
1738
- /**
1739
- * Creates a new OneofDescriptorProto instance using the specified properties.
1740
- * @param [properties] Properties to set
1741
- * @returns OneofDescriptorProto instance
1742
- */
1743
- public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
1744
-
1745
- /**
1746
- * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
1747
- * @param message OneofDescriptorProto message or plain object to encode
1748
- * @param [writer] Writer to encode to
1749
- * @returns Writer
1750
- */
1751
- public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1752
-
1753
- /**
1754
- * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
1755
- * @param message OneofDescriptorProto message or plain object to encode
1756
- * @param [writer] Writer to encode to
1757
- * @returns Writer
1758
- */
1759
- public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1760
-
1761
- /**
1762
- * Decodes an OneofDescriptorProto message from the specified reader or buffer.
1763
- * @param reader Reader or buffer to decode from
1764
- * @param [length] Message length if known beforehand
1765
- * @returns OneofDescriptorProto
1766
- * @throws {Error} If the payload is not a reader or valid buffer
1767
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1768
- */
1769
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
1770
-
1771
- /**
1772
- * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
1773
- * @param reader Reader or buffer to decode from
1774
- * @returns OneofDescriptorProto
1775
- * @throws {Error} If the payload is not a reader or valid buffer
1776
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1777
- */
1778
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
1779
-
1780
- /**
1781
- * Verifies an OneofDescriptorProto message.
1782
- * @param message Plain object to verify
1783
- * @returns `null` if valid, otherwise the reason why it is not
1784
- */
1785
- public static verify(message: { [k: string]: any }): (string|null);
1786
-
1787
- /**
1788
- * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
1789
- * @param object Plain object
1790
- * @returns OneofDescriptorProto
1791
- */
1792
- public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
1793
-
1794
- /**
1795
- * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
1796
- * @param message OneofDescriptorProto
1797
- * @param [options] Conversion options
1798
- * @returns Plain object
1799
- */
1800
- public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1801
-
1802
- /**
1803
- * Converts this OneofDescriptorProto to JSON.
1804
- * @returns JSON object
1805
- */
1806
- public toJSON(): { [k: string]: any };
1807
- }
1808
-
1809
- /** Properties of an EnumDescriptorProto. */
1810
- interface IEnumDescriptorProto {
1811
-
1812
- /** EnumDescriptorProto name */
1813
- name?: (string|null);
1814
-
1815
- /** EnumDescriptorProto value */
1816
- value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
1817
-
1818
- /** EnumDescriptorProto options */
1819
- options?: (google.protobuf.IEnumOptions|null);
1820
-
1821
- /** EnumDescriptorProto reservedRange */
1822
- reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
1823
-
1824
- /** EnumDescriptorProto reservedName */
1825
- reservedName?: (string[]|null);
1826
- }
1827
-
1828
- /** Represents an EnumDescriptorProto. */
1829
- class EnumDescriptorProto implements IEnumDescriptorProto {
1830
-
1831
- /**
1832
- * Constructs a new EnumDescriptorProto.
1833
- * @param [properties] Properties to set
1834
- */
1835
- constructor(properties?: google.protobuf.IEnumDescriptorProto);
1836
-
1837
- /** EnumDescriptorProto name. */
1838
- public name: string;
1839
-
1840
- /** EnumDescriptorProto value. */
1841
- public value: google.protobuf.IEnumValueDescriptorProto[];
1842
-
1843
- /** EnumDescriptorProto options. */
1844
- public options?: (google.protobuf.IEnumOptions|null);
1845
-
1846
- /** EnumDescriptorProto reservedRange. */
1847
- public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
1848
-
1849
- /** EnumDescriptorProto reservedName. */
1850
- public reservedName: string[];
1851
-
1852
- /**
1853
- * Creates a new EnumDescriptorProto instance using the specified properties.
1854
- * @param [properties] Properties to set
1855
- * @returns EnumDescriptorProto instance
1856
- */
1857
- public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
1858
-
1859
- /**
1860
- * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
1861
- * @param message EnumDescriptorProto message or plain object to encode
1862
- * @param [writer] Writer to encode to
1863
- * @returns Writer
1864
- */
1865
- public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1866
-
1867
- /**
1868
- * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
1869
- * @param message EnumDescriptorProto message or plain object to encode
1870
- * @param [writer] Writer to encode to
1871
- * @returns Writer
1872
- */
1873
- public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1874
-
1875
- /**
1876
- * Decodes an EnumDescriptorProto message from the specified reader or buffer.
1877
- * @param reader Reader or buffer to decode from
1878
- * @param [length] Message length if known beforehand
1879
- * @returns EnumDescriptorProto
1880
- * @throws {Error} If the payload is not a reader or valid buffer
1881
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1882
- */
1883
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
1884
-
1885
- /**
1886
- * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
1887
- * @param reader Reader or buffer to decode from
1888
- * @returns EnumDescriptorProto
1889
- * @throws {Error} If the payload is not a reader or valid buffer
1890
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1891
- */
1892
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
1893
-
1894
- /**
1895
- * Verifies an EnumDescriptorProto message.
1896
- * @param message Plain object to verify
1897
- * @returns `null` if valid, otherwise the reason why it is not
1898
- */
1899
- public static verify(message: { [k: string]: any }): (string|null);
1900
-
1901
- /**
1902
- * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
1903
- * @param object Plain object
1904
- * @returns EnumDescriptorProto
1905
- */
1906
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
1907
-
1908
- /**
1909
- * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
1910
- * @param message EnumDescriptorProto
1911
- * @param [options] Conversion options
1912
- * @returns Plain object
1913
- */
1914
- public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1915
-
1916
- /**
1917
- * Converts this EnumDescriptorProto to JSON.
1918
- * @returns JSON object
1919
- */
1920
- public toJSON(): { [k: string]: any };
1921
- }
1922
-
1923
- namespace EnumDescriptorProto {
1924
-
1925
- /** Properties of an EnumReservedRange. */
1926
- interface IEnumReservedRange {
1927
-
1928
- /** EnumReservedRange start */
1929
- start?: (number|null);
1930
-
1931
- /** EnumReservedRange end */
1932
- end?: (number|null);
1933
- }
1934
-
1935
- /** Represents an EnumReservedRange. */
1936
- class EnumReservedRange implements IEnumReservedRange {
1937
-
1938
- /**
1939
- * Constructs a new EnumReservedRange.
1940
- * @param [properties] Properties to set
1941
- */
1942
- constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
1943
-
1944
- /** EnumReservedRange start. */
1945
- public start: number;
1946
-
1947
- /** EnumReservedRange end. */
1948
- public end: number;
1949
-
1950
- /**
1951
- * Creates a new EnumReservedRange instance using the specified properties.
1952
- * @param [properties] Properties to set
1953
- * @returns EnumReservedRange instance
1954
- */
1955
- public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1956
-
1957
- /**
1958
- * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
1959
- * @param message EnumReservedRange message or plain object to encode
1960
- * @param [writer] Writer to encode to
1961
- * @returns Writer
1962
- */
1963
- public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1964
-
1965
- /**
1966
- * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
1967
- * @param message EnumReservedRange message or plain object to encode
1968
- * @param [writer] Writer to encode to
1969
- * @returns Writer
1970
- */
1971
- public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1972
-
1973
- /**
1974
- * Decodes an EnumReservedRange message from the specified reader or buffer.
1975
- * @param reader Reader or buffer to decode from
1976
- * @param [length] Message length if known beforehand
1977
- * @returns EnumReservedRange
1978
- * @throws {Error} If the payload is not a reader or valid buffer
1979
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1980
- */
1981
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1982
-
1983
- /**
1984
- * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
1985
- * @param reader Reader or buffer to decode from
1986
- * @returns EnumReservedRange
1987
- * @throws {Error} If the payload is not a reader or valid buffer
1988
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1989
- */
1990
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1991
-
1992
- /**
1993
- * Verifies an EnumReservedRange message.
1994
- * @param message Plain object to verify
1995
- * @returns `null` if valid, otherwise the reason why it is not
1996
- */
1997
- public static verify(message: { [k: string]: any }): (string|null);
1998
-
1999
- /**
2000
- * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
2001
- * @param object Plain object
2002
- * @returns EnumReservedRange
2003
- */
2004
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
2005
-
2006
- /**
2007
- * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
2008
- * @param message EnumReservedRange
2009
- * @param [options] Conversion options
2010
- * @returns Plain object
2011
- */
2012
- public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
2013
-
2014
- /**
2015
- * Converts this EnumReservedRange to JSON.
2016
- * @returns JSON object
2017
- */
2018
- public toJSON(): { [k: string]: any };
2019
- }
2020
- }
2021
-
2022
- /** Properties of an EnumValueDescriptorProto. */
2023
- interface IEnumValueDescriptorProto {
2024
-
2025
- /** EnumValueDescriptorProto name */
2026
- name?: (string|null);
2027
-
2028
- /** EnumValueDescriptorProto number */
2029
- number?: (number|null);
2030
-
2031
- /** EnumValueDescriptorProto options */
2032
- options?: (google.protobuf.IEnumValueOptions|null);
2033
- }
2034
-
2035
- /** Represents an EnumValueDescriptorProto. */
2036
- class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
2037
-
2038
- /**
2039
- * Constructs a new EnumValueDescriptorProto.
2040
- * @param [properties] Properties to set
2041
- */
2042
- constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
2043
-
2044
- /** EnumValueDescriptorProto name. */
2045
- public name: string;
2046
-
2047
- /** EnumValueDescriptorProto number. */
2048
- public number: number;
2049
-
2050
- /** EnumValueDescriptorProto options. */
2051
- public options?: (google.protobuf.IEnumValueOptions|null);
2052
-
2053
- /**
2054
- * Creates a new EnumValueDescriptorProto instance using the specified properties.
2055
- * @param [properties] Properties to set
2056
- * @returns EnumValueDescriptorProto instance
2057
- */
2058
- public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
2059
-
2060
- /**
2061
- * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
2062
- * @param message EnumValueDescriptorProto message or plain object to encode
2063
- * @param [writer] Writer to encode to
2064
- * @returns Writer
2065
- */
2066
- public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2067
-
2068
- /**
2069
- * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
2070
- * @param message EnumValueDescriptorProto message or plain object to encode
2071
- * @param [writer] Writer to encode to
2072
- * @returns Writer
2073
- */
2074
- public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2075
-
2076
- /**
2077
- * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
2078
- * @param reader Reader or buffer to decode from
2079
- * @param [length] Message length if known beforehand
2080
- * @returns EnumValueDescriptorProto
2081
- * @throws {Error} If the payload is not a reader or valid buffer
2082
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2083
- */
2084
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
2085
-
2086
- /**
2087
- * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
2088
- * @param reader Reader or buffer to decode from
2089
- * @returns EnumValueDescriptorProto
2090
- * @throws {Error} If the payload is not a reader or valid buffer
2091
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2092
- */
2093
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
2094
-
2095
- /**
2096
- * Verifies an EnumValueDescriptorProto message.
2097
- * @param message Plain object to verify
2098
- * @returns `null` if valid, otherwise the reason why it is not
2099
- */
2100
- public static verify(message: { [k: string]: any }): (string|null);
2101
-
2102
- /**
2103
- * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
2104
- * @param object Plain object
2105
- * @returns EnumValueDescriptorProto
2106
- */
2107
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
2108
-
2109
- /**
2110
- * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
2111
- * @param message EnumValueDescriptorProto
2112
- * @param [options] Conversion options
2113
- * @returns Plain object
2114
- */
2115
- public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
2116
-
2117
- /**
2118
- * Converts this EnumValueDescriptorProto to JSON.
2119
- * @returns JSON object
2120
- */
2121
- public toJSON(): { [k: string]: any };
2122
- }
2123
-
2124
- /** Properties of a ServiceDescriptorProto. */
2125
- interface IServiceDescriptorProto {
2126
-
2127
- /** ServiceDescriptorProto name */
2128
- name?: (string|null);
2129
-
2130
- /** ServiceDescriptorProto method */
2131
- method?: (google.protobuf.IMethodDescriptorProto[]|null);
2132
-
2133
- /** ServiceDescriptorProto options */
2134
- options?: (google.protobuf.IServiceOptions|null);
2135
- }
2136
-
2137
- /** Represents a ServiceDescriptorProto. */
2138
- class ServiceDescriptorProto implements IServiceDescriptorProto {
2139
-
2140
- /**
2141
- * Constructs a new ServiceDescriptorProto.
2142
- * @param [properties] Properties to set
2143
- */
2144
- constructor(properties?: google.protobuf.IServiceDescriptorProto);
2145
-
2146
- /** ServiceDescriptorProto name. */
2147
- public name: string;
2148
-
2149
- /** ServiceDescriptorProto method. */
2150
- public method: google.protobuf.IMethodDescriptorProto[];
2151
-
2152
- /** ServiceDescriptorProto options. */
2153
- public options?: (google.protobuf.IServiceOptions|null);
2154
-
2155
- /**
2156
- * Creates a new ServiceDescriptorProto instance using the specified properties.
2157
- * @param [properties] Properties to set
2158
- * @returns ServiceDescriptorProto instance
2159
- */
2160
- public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
2161
-
2162
- /**
2163
- * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
2164
- * @param message ServiceDescriptorProto message or plain object to encode
2165
- * @param [writer] Writer to encode to
2166
- * @returns Writer
2167
- */
2168
- public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2169
-
2170
- /**
2171
- * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
2172
- * @param message ServiceDescriptorProto message or plain object to encode
2173
- * @param [writer] Writer to encode to
2174
- * @returns Writer
2175
- */
2176
- public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2177
-
2178
- /**
2179
- * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
2180
- * @param reader Reader or buffer to decode from
2181
- * @param [length] Message length if known beforehand
2182
- * @returns ServiceDescriptorProto
2183
- * @throws {Error} If the payload is not a reader or valid buffer
2184
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2185
- */
2186
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
2187
-
2188
- /**
2189
- * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
2190
- * @param reader Reader or buffer to decode from
2191
- * @returns ServiceDescriptorProto
2192
- * @throws {Error} If the payload is not a reader or valid buffer
2193
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2194
- */
2195
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
2196
-
2197
- /**
2198
- * Verifies a ServiceDescriptorProto message.
2199
- * @param message Plain object to verify
2200
- * @returns `null` if valid, otherwise the reason why it is not
2201
- */
2202
- public static verify(message: { [k: string]: any }): (string|null);
2203
-
2204
- /**
2205
- * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
2206
- * @param object Plain object
2207
- * @returns ServiceDescriptorProto
2208
- */
2209
- public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
2210
-
2211
- /**
2212
- * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
2213
- * @param message ServiceDescriptorProto
2214
- * @param [options] Conversion options
2215
- * @returns Plain object
2216
- */
2217
- public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
2218
-
2219
- /**
2220
- * Converts this ServiceDescriptorProto to JSON.
2221
- * @returns JSON object
2222
- */
2223
- public toJSON(): { [k: string]: any };
2224
- }
2225
-
2226
- /** Properties of a MethodDescriptorProto. */
2227
- interface IMethodDescriptorProto {
2228
-
2229
- /** MethodDescriptorProto name */
2230
- name?: (string|null);
2231
-
2232
- /** MethodDescriptorProto inputType */
2233
- inputType?: (string|null);
2234
-
2235
- /** MethodDescriptorProto outputType */
2236
- outputType?: (string|null);
2237
-
2238
- /** MethodDescriptorProto options */
2239
- options?: (google.protobuf.IMethodOptions|null);
2240
-
2241
- /** MethodDescriptorProto clientStreaming */
2242
- clientStreaming?: (boolean|null);
2243
-
2244
- /** MethodDescriptorProto serverStreaming */
2245
- serverStreaming?: (boolean|null);
2246
- }
2247
-
2248
- /** Represents a MethodDescriptorProto. */
2249
- class MethodDescriptorProto implements IMethodDescriptorProto {
2250
-
2251
- /**
2252
- * Constructs a new MethodDescriptorProto.
2253
- * @param [properties] Properties to set
2254
- */
2255
- constructor(properties?: google.protobuf.IMethodDescriptorProto);
2256
-
2257
- /** MethodDescriptorProto name. */
2258
- public name: string;
2259
-
2260
- /** MethodDescriptorProto inputType. */
2261
- public inputType: string;
2262
-
2263
- /** MethodDescriptorProto outputType. */
2264
- public outputType: string;
2265
-
2266
- /** MethodDescriptorProto options. */
2267
- public options?: (google.protobuf.IMethodOptions|null);
2268
-
2269
- /** MethodDescriptorProto clientStreaming. */
2270
- public clientStreaming: boolean;
2271
-
2272
- /** MethodDescriptorProto serverStreaming. */
2273
- public serverStreaming: boolean;
2274
-
2275
- /**
2276
- * Creates a new MethodDescriptorProto instance using the specified properties.
2277
- * @param [properties] Properties to set
2278
- * @returns MethodDescriptorProto instance
2279
- */
2280
- public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
2281
-
2282
- /**
2283
- * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
2284
- * @param message MethodDescriptorProto message or plain object to encode
2285
- * @param [writer] Writer to encode to
2286
- * @returns Writer
2287
- */
2288
- public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2289
-
2290
- /**
2291
- * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
2292
- * @param message MethodDescriptorProto message or plain object to encode
2293
- * @param [writer] Writer to encode to
2294
- * @returns Writer
2295
- */
2296
- public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2297
-
2298
- /**
2299
- * Decodes a MethodDescriptorProto message from the specified reader or buffer.
2300
- * @param reader Reader or buffer to decode from
2301
- * @param [length] Message length if known beforehand
2302
- * @returns MethodDescriptorProto
2303
- * @throws {Error} If the payload is not a reader or valid buffer
2304
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2305
- */
2306
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
2307
-
2308
- /**
2309
- * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
2310
- * @param reader Reader or buffer to decode from
2311
- * @returns MethodDescriptorProto
2312
- * @throws {Error} If the payload is not a reader or valid buffer
2313
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2314
- */
2315
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
2316
-
2317
- /**
2318
- * Verifies a MethodDescriptorProto message.
2319
- * @param message Plain object to verify
2320
- * @returns `null` if valid, otherwise the reason why it is not
2321
- */
2322
- public static verify(message: { [k: string]: any }): (string|null);
2323
-
2324
- /**
2325
- * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
2326
- * @param object Plain object
2327
- * @returns MethodDescriptorProto
2328
- */
2329
- public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
2330
-
2331
- /**
2332
- * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
2333
- * @param message MethodDescriptorProto
2334
- * @param [options] Conversion options
2335
- * @returns Plain object
2336
- */
2337
- public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
2338
-
2339
- /**
2340
- * Converts this MethodDescriptorProto to JSON.
2341
- * @returns JSON object
2342
- */
2343
- public toJSON(): { [k: string]: any };
2344
- }
2345
-
2346
- /** Properties of a FileOptions. */
2347
- interface IFileOptions {
2348
-
2349
- /** FileOptions javaPackage */
2350
- javaPackage?: (string|null);
2351
-
2352
- /** FileOptions javaOuterClassname */
2353
- javaOuterClassname?: (string|null);
2354
-
2355
- /** FileOptions javaMultipleFiles */
2356
- javaMultipleFiles?: (boolean|null);
2357
-
2358
- /** FileOptions javaGenerateEqualsAndHash */
2359
- javaGenerateEqualsAndHash?: (boolean|null);
2360
-
2361
- /** FileOptions javaStringCheckUtf8 */
2362
- javaStringCheckUtf8?: (boolean|null);
2363
-
2364
- /** FileOptions optimizeFor */
2365
- optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null);
2366
-
2367
- /** FileOptions goPackage */
2368
- goPackage?: (string|null);
2369
-
2370
- /** FileOptions ccGenericServices */
2371
- ccGenericServices?: (boolean|null);
2372
-
2373
- /** FileOptions javaGenericServices */
2374
- javaGenericServices?: (boolean|null);
2375
-
2376
- /** FileOptions pyGenericServices */
2377
- pyGenericServices?: (boolean|null);
2378
-
2379
- /** FileOptions phpGenericServices */
2380
- phpGenericServices?: (boolean|null);
2381
-
2382
- /** FileOptions deprecated */
2383
- deprecated?: (boolean|null);
2384
-
2385
- /** FileOptions ccEnableArenas */
2386
- ccEnableArenas?: (boolean|null);
2387
-
2388
- /** FileOptions objcClassPrefix */
2389
- objcClassPrefix?: (string|null);
2390
-
2391
- /** FileOptions csharpNamespace */
2392
- csharpNamespace?: (string|null);
2393
-
2394
- /** FileOptions swiftPrefix */
2395
- swiftPrefix?: (string|null);
2396
-
2397
- /** FileOptions phpClassPrefix */
2398
- phpClassPrefix?: (string|null);
2399
-
2400
- /** FileOptions phpNamespace */
2401
- phpNamespace?: (string|null);
2402
-
2403
- /** FileOptions phpMetadataNamespace */
2404
- phpMetadataNamespace?: (string|null);
2405
-
2406
- /** FileOptions rubyPackage */
2407
- rubyPackage?: (string|null);
2408
-
2409
- /** FileOptions uninterpretedOption */
2410
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2411
- }
2412
-
2413
- /** Represents a FileOptions. */
2414
- class FileOptions implements IFileOptions {
2415
-
2416
- /**
2417
- * Constructs a new FileOptions.
2418
- * @param [properties] Properties to set
2419
- */
2420
- constructor(properties?: google.protobuf.IFileOptions);
2421
-
2422
- /** FileOptions javaPackage. */
2423
- public javaPackage: string;
2424
-
2425
- /** FileOptions javaOuterClassname. */
2426
- public javaOuterClassname: string;
2427
-
2428
- /** FileOptions javaMultipleFiles. */
2429
- public javaMultipleFiles: boolean;
2430
-
2431
- /** FileOptions javaGenerateEqualsAndHash. */
2432
- public javaGenerateEqualsAndHash: boolean;
2433
-
2434
- /** FileOptions javaStringCheckUtf8. */
2435
- public javaStringCheckUtf8: boolean;
2436
-
2437
- /** FileOptions optimizeFor. */
2438
- public optimizeFor: google.protobuf.FileOptions.OptimizeMode;
2439
-
2440
- /** FileOptions goPackage. */
2441
- public goPackage: string;
2442
-
2443
- /** FileOptions ccGenericServices. */
2444
- public ccGenericServices: boolean;
2445
-
2446
- /** FileOptions javaGenericServices. */
2447
- public javaGenericServices: boolean;
2448
-
2449
- /** FileOptions pyGenericServices. */
2450
- public pyGenericServices: boolean;
2451
-
2452
- /** FileOptions phpGenericServices. */
2453
- public phpGenericServices: boolean;
2454
-
2455
- /** FileOptions deprecated. */
2456
- public deprecated: boolean;
2457
-
2458
- /** FileOptions ccEnableArenas. */
2459
- public ccEnableArenas: boolean;
2460
-
2461
- /** FileOptions objcClassPrefix. */
2462
- public objcClassPrefix: string;
2463
-
2464
- /** FileOptions csharpNamespace. */
2465
- public csharpNamespace: string;
2466
-
2467
- /** FileOptions swiftPrefix. */
2468
- public swiftPrefix: string;
2469
-
2470
- /** FileOptions phpClassPrefix. */
2471
- public phpClassPrefix: string;
2472
-
2473
- /** FileOptions phpNamespace. */
2474
- public phpNamespace: string;
2475
-
2476
- /** FileOptions phpMetadataNamespace. */
2477
- public phpMetadataNamespace: string;
2478
-
2479
- /** FileOptions rubyPackage. */
2480
- public rubyPackage: string;
2481
-
2482
- /** FileOptions uninterpretedOption. */
2483
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2484
-
2485
- /**
2486
- * Creates a new FileOptions instance using the specified properties.
2487
- * @param [properties] Properties to set
2488
- * @returns FileOptions instance
2489
- */
2490
- public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
2491
-
2492
- /**
2493
- * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
2494
- * @param message FileOptions message or plain object to encode
2495
- * @param [writer] Writer to encode to
2496
- * @returns Writer
2497
- */
2498
- public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2499
-
2500
- /**
2501
- * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
2502
- * @param message FileOptions message or plain object to encode
2503
- * @param [writer] Writer to encode to
2504
- * @returns Writer
2505
- */
2506
- public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2507
-
2508
- /**
2509
- * Decodes a FileOptions message from the specified reader or buffer.
2510
- * @param reader Reader or buffer to decode from
2511
- * @param [length] Message length if known beforehand
2512
- * @returns FileOptions
2513
- * @throws {Error} If the payload is not a reader or valid buffer
2514
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2515
- */
2516
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
2517
-
2518
- /**
2519
- * Decodes a FileOptions message from the specified reader or buffer, length delimited.
2520
- * @param reader Reader or buffer to decode from
2521
- * @returns FileOptions
2522
- * @throws {Error} If the payload is not a reader or valid buffer
2523
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2524
- */
2525
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
2526
-
2527
- /**
2528
- * Verifies a FileOptions message.
2529
- * @param message Plain object to verify
2530
- * @returns `null` if valid, otherwise the reason why it is not
2531
- */
2532
- public static verify(message: { [k: string]: any }): (string|null);
2533
-
2534
- /**
2535
- * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
2536
- * @param object Plain object
2537
- * @returns FileOptions
2538
- */
2539
- public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
2540
-
2541
- /**
2542
- * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
2543
- * @param message FileOptions
2544
- * @param [options] Conversion options
2545
- * @returns Plain object
2546
- */
2547
- public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2548
-
2549
- /**
2550
- * Converts this FileOptions to JSON.
2551
- * @returns JSON object
2552
- */
2553
- public toJSON(): { [k: string]: any };
2554
- }
2555
-
2556
- namespace FileOptions {
2557
-
2558
- /** OptimizeMode enum. */
2559
- enum OptimizeMode {
2560
- SPEED = 1,
2561
- CODE_SIZE = 2,
2562
- LITE_RUNTIME = 3
2563
- }
2564
- }
2565
-
2566
- /** Properties of a MessageOptions. */
2567
- interface IMessageOptions {
2568
-
2569
- /** MessageOptions messageSetWireFormat */
2570
- messageSetWireFormat?: (boolean|null);
2571
-
2572
- /** MessageOptions noStandardDescriptorAccessor */
2573
- noStandardDescriptorAccessor?: (boolean|null);
2574
-
2575
- /** MessageOptions deprecated */
2576
- deprecated?: (boolean|null);
2577
-
2578
- /** MessageOptions mapEntry */
2579
- mapEntry?: (boolean|null);
2580
-
2581
- /** MessageOptions uninterpretedOption */
2582
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2583
- }
2584
-
2585
- /** Represents a MessageOptions. */
2586
- class MessageOptions implements IMessageOptions {
2587
-
2588
- /**
2589
- * Constructs a new MessageOptions.
2590
- * @param [properties] Properties to set
2591
- */
2592
- constructor(properties?: google.protobuf.IMessageOptions);
2593
-
2594
- /** MessageOptions messageSetWireFormat. */
2595
- public messageSetWireFormat: boolean;
2596
-
2597
- /** MessageOptions noStandardDescriptorAccessor. */
2598
- public noStandardDescriptorAccessor: boolean;
2599
-
2600
- /** MessageOptions deprecated. */
2601
- public deprecated: boolean;
2602
-
2603
- /** MessageOptions mapEntry. */
2604
- public mapEntry: boolean;
2605
-
2606
- /** MessageOptions uninterpretedOption. */
2607
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2608
-
2609
- /**
2610
- * Creates a new MessageOptions instance using the specified properties.
2611
- * @param [properties] Properties to set
2612
- * @returns MessageOptions instance
2613
- */
2614
- public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
2615
-
2616
- /**
2617
- * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
2618
- * @param message MessageOptions message or plain object to encode
2619
- * @param [writer] Writer to encode to
2620
- * @returns Writer
2621
- */
2622
- public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2623
-
2624
- /**
2625
- * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
2626
- * @param message MessageOptions message or plain object to encode
2627
- * @param [writer] Writer to encode to
2628
- * @returns Writer
2629
- */
2630
- public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2631
-
2632
- /**
2633
- * Decodes a MessageOptions message from the specified reader or buffer.
2634
- * @param reader Reader or buffer to decode from
2635
- * @param [length] Message length if known beforehand
2636
- * @returns MessageOptions
2637
- * @throws {Error} If the payload is not a reader or valid buffer
2638
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2639
- */
2640
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
2641
-
2642
- /**
2643
- * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
2644
- * @param reader Reader or buffer to decode from
2645
- * @returns MessageOptions
2646
- * @throws {Error} If the payload is not a reader or valid buffer
2647
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2648
- */
2649
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
2650
-
2651
- /**
2652
- * Verifies a MessageOptions message.
2653
- * @param message Plain object to verify
2654
- * @returns `null` if valid, otherwise the reason why it is not
2655
- */
2656
- public static verify(message: { [k: string]: any }): (string|null);
2657
-
2658
- /**
2659
- * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
2660
- * @param object Plain object
2661
- * @returns MessageOptions
2662
- */
2663
- public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
2664
-
2665
- /**
2666
- * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
2667
- * @param message MessageOptions
2668
- * @param [options] Conversion options
2669
- * @returns Plain object
2670
- */
2671
- public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2672
-
2673
- /**
2674
- * Converts this MessageOptions to JSON.
2675
- * @returns JSON object
2676
- */
2677
- public toJSON(): { [k: string]: any };
2678
- }
2679
-
2680
- /** Properties of a FieldOptions. */
2681
- interface IFieldOptions {
2682
-
2683
- /** FieldOptions ctype */
2684
- ctype?: (google.protobuf.FieldOptions.CType|null);
2685
-
2686
- /** FieldOptions packed */
2687
- packed?: (boolean|null);
2688
-
2689
- /** FieldOptions jstype */
2690
- jstype?: (google.protobuf.FieldOptions.JSType|null);
2691
-
2692
- /** FieldOptions lazy */
2693
- lazy?: (boolean|null);
2694
-
2695
- /** FieldOptions deprecated */
2696
- deprecated?: (boolean|null);
2697
-
2698
- /** FieldOptions weak */
2699
- weak?: (boolean|null);
2700
-
2701
- /** FieldOptions uninterpretedOption */
2702
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2703
- }
2704
-
2705
- /** Represents a FieldOptions. */
2706
- class FieldOptions implements IFieldOptions {
2707
-
2708
- /**
2709
- * Constructs a new FieldOptions.
2710
- * @param [properties] Properties to set
2711
- */
2712
- constructor(properties?: google.protobuf.IFieldOptions);
2713
-
2714
- /** FieldOptions ctype. */
2715
- public ctype: google.protobuf.FieldOptions.CType;
2716
-
2717
- /** FieldOptions packed. */
2718
- public packed: boolean;
2719
-
2720
- /** FieldOptions jstype. */
2721
- public jstype: google.protobuf.FieldOptions.JSType;
2722
-
2723
- /** FieldOptions lazy. */
2724
- public lazy: boolean;
2725
-
2726
- /** FieldOptions deprecated. */
2727
- public deprecated: boolean;
2728
-
2729
- /** FieldOptions weak. */
2730
- public weak: boolean;
2731
-
2732
- /** FieldOptions uninterpretedOption. */
2733
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2734
-
2735
- /**
2736
- * Creates a new FieldOptions instance using the specified properties.
2737
- * @param [properties] Properties to set
2738
- * @returns FieldOptions instance
2739
- */
2740
- public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
2741
-
2742
- /**
2743
- * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
2744
- * @param message FieldOptions message or plain object to encode
2745
- * @param [writer] Writer to encode to
2746
- * @returns Writer
2747
- */
2748
- public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2749
-
2750
- /**
2751
- * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
2752
- * @param message FieldOptions message or plain object to encode
2753
- * @param [writer] Writer to encode to
2754
- * @returns Writer
2755
- */
2756
- public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2757
-
2758
- /**
2759
- * Decodes a FieldOptions message from the specified reader or buffer.
2760
- * @param reader Reader or buffer to decode from
2761
- * @param [length] Message length if known beforehand
2762
- * @returns FieldOptions
2763
- * @throws {Error} If the payload is not a reader or valid buffer
2764
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2765
- */
2766
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
2767
-
2768
- /**
2769
- * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
2770
- * @param reader Reader or buffer to decode from
2771
- * @returns FieldOptions
2772
- * @throws {Error} If the payload is not a reader or valid buffer
2773
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2774
- */
2775
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
2776
-
2777
- /**
2778
- * Verifies a FieldOptions message.
2779
- * @param message Plain object to verify
2780
- * @returns `null` if valid, otherwise the reason why it is not
2781
- */
2782
- public static verify(message: { [k: string]: any }): (string|null);
2783
-
2784
- /**
2785
- * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
2786
- * @param object Plain object
2787
- * @returns FieldOptions
2788
- */
2789
- public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
2790
-
2791
- /**
2792
- * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
2793
- * @param message FieldOptions
2794
- * @param [options] Conversion options
2795
- * @returns Plain object
2796
- */
2797
- public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2798
-
2799
- /**
2800
- * Converts this FieldOptions to JSON.
2801
- * @returns JSON object
2802
- */
2803
- public toJSON(): { [k: string]: any };
2804
- }
2805
-
2806
- namespace FieldOptions {
2807
-
2808
- /** CType enum. */
2809
- enum CType {
2810
- STRING = 0,
2811
- CORD = 1,
2812
- STRING_PIECE = 2
2813
- }
2814
-
2815
- /** JSType enum. */
2816
- enum JSType {
2817
- JS_NORMAL = 0,
2818
- JS_STRING = 1,
2819
- JS_NUMBER = 2
2820
- }
2821
- }
2822
-
2823
- /** Properties of an OneofOptions. */
2824
- interface IOneofOptions {
2825
-
2826
- /** OneofOptions uninterpretedOption */
2827
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2828
- }
2829
-
2830
- /** Represents an OneofOptions. */
2831
- class OneofOptions implements IOneofOptions {
2832
-
2833
- /**
2834
- * Constructs a new OneofOptions.
2835
- * @param [properties] Properties to set
2836
- */
2837
- constructor(properties?: google.protobuf.IOneofOptions);
2838
-
2839
- /** OneofOptions uninterpretedOption. */
2840
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2841
-
2842
- /**
2843
- * Creates a new OneofOptions instance using the specified properties.
2844
- * @param [properties] Properties to set
2845
- * @returns OneofOptions instance
2846
- */
2847
- public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
2848
-
2849
- /**
2850
- * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
2851
- * @param message OneofOptions message or plain object to encode
2852
- * @param [writer] Writer to encode to
2853
- * @returns Writer
2854
- */
2855
- public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2856
-
2857
- /**
2858
- * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
2859
- * @param message OneofOptions message or plain object to encode
2860
- * @param [writer] Writer to encode to
2861
- * @returns Writer
2862
- */
2863
- public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2864
-
2865
- /**
2866
- * Decodes an OneofOptions message from the specified reader or buffer.
2867
- * @param reader Reader or buffer to decode from
2868
- * @param [length] Message length if known beforehand
2869
- * @returns OneofOptions
2870
- * @throws {Error} If the payload is not a reader or valid buffer
2871
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2872
- */
2873
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
2874
-
2875
- /**
2876
- * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
2877
- * @param reader Reader or buffer to decode from
2878
- * @returns OneofOptions
2879
- * @throws {Error} If the payload is not a reader or valid buffer
2880
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2881
- */
2882
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
2883
-
2884
- /**
2885
- * Verifies an OneofOptions message.
2886
- * @param message Plain object to verify
2887
- * @returns `null` if valid, otherwise the reason why it is not
2888
- */
2889
- public static verify(message: { [k: string]: any }): (string|null);
2890
-
2891
- /**
2892
- * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
2893
- * @param object Plain object
2894
- * @returns OneofOptions
2895
- */
2896
- public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
2897
-
2898
- /**
2899
- * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
2900
- * @param message OneofOptions
2901
- * @param [options] Conversion options
2902
- * @returns Plain object
2903
- */
2904
- public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2905
-
2906
- /**
2907
- * Converts this OneofOptions to JSON.
2908
- * @returns JSON object
2909
- */
2910
- public toJSON(): { [k: string]: any };
2911
- }
2912
-
2913
- /** Properties of an EnumOptions. */
2914
- interface IEnumOptions {
2915
-
2916
- /** EnumOptions allowAlias */
2917
- allowAlias?: (boolean|null);
2918
-
2919
- /** EnumOptions deprecated */
2920
- deprecated?: (boolean|null);
2921
-
2922
- /** EnumOptions uninterpretedOption */
2923
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2924
- }
2925
-
2926
- /** Represents an EnumOptions. */
2927
- class EnumOptions implements IEnumOptions {
2928
-
2929
- /**
2930
- * Constructs a new EnumOptions.
2931
- * @param [properties] Properties to set
2932
- */
2933
- constructor(properties?: google.protobuf.IEnumOptions);
2934
-
2935
- /** EnumOptions allowAlias. */
2936
- public allowAlias: boolean;
2937
-
2938
- /** EnumOptions deprecated. */
2939
- public deprecated: boolean;
2940
-
2941
- /** EnumOptions uninterpretedOption. */
2942
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2943
-
2944
- /**
2945
- * Creates a new EnumOptions instance using the specified properties.
2946
- * @param [properties] Properties to set
2947
- * @returns EnumOptions instance
2948
- */
2949
- public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
2950
-
2951
- /**
2952
- * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
2953
- * @param message EnumOptions message or plain object to encode
2954
- * @param [writer] Writer to encode to
2955
- * @returns Writer
2956
- */
2957
- public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2958
-
2959
- /**
2960
- * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
2961
- * @param message EnumOptions message or plain object to encode
2962
- * @param [writer] Writer to encode to
2963
- * @returns Writer
2964
- */
2965
- public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2966
-
2967
- /**
2968
- * Decodes an EnumOptions message from the specified reader or buffer.
2969
- * @param reader Reader or buffer to decode from
2970
- * @param [length] Message length if known beforehand
2971
- * @returns EnumOptions
2972
- * @throws {Error} If the payload is not a reader or valid buffer
2973
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2974
- */
2975
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
2976
-
2977
- /**
2978
- * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
2979
- * @param reader Reader or buffer to decode from
2980
- * @returns EnumOptions
2981
- * @throws {Error} If the payload is not a reader or valid buffer
2982
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2983
- */
2984
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
2985
-
2986
- /**
2987
- * Verifies an EnumOptions message.
2988
- * @param message Plain object to verify
2989
- * @returns `null` if valid, otherwise the reason why it is not
2990
- */
2991
- public static verify(message: { [k: string]: any }): (string|null);
2992
-
2993
- /**
2994
- * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
2995
- * @param object Plain object
2996
- * @returns EnumOptions
2997
- */
2998
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
2999
-
3000
- /**
3001
- * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
3002
- * @param message EnumOptions
3003
- * @param [options] Conversion options
3004
- * @returns Plain object
3005
- */
3006
- public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3007
-
3008
- /**
3009
- * Converts this EnumOptions to JSON.
3010
- * @returns JSON object
3011
- */
3012
- public toJSON(): { [k: string]: any };
3013
- }
3014
-
3015
- /** Properties of an EnumValueOptions. */
3016
- interface IEnumValueOptions {
3017
-
3018
- /** EnumValueOptions deprecated */
3019
- deprecated?: (boolean|null);
3020
-
3021
- /** EnumValueOptions uninterpretedOption */
3022
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3023
- }
3024
-
3025
- /** Represents an EnumValueOptions. */
3026
- class EnumValueOptions implements IEnumValueOptions {
3027
-
3028
- /**
3029
- * Constructs a new EnumValueOptions.
3030
- * @param [properties] Properties to set
3031
- */
3032
- constructor(properties?: google.protobuf.IEnumValueOptions);
3033
-
3034
- /** EnumValueOptions deprecated. */
3035
- public deprecated: boolean;
3036
-
3037
- /** EnumValueOptions uninterpretedOption. */
3038
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3039
-
3040
- /**
3041
- * Creates a new EnumValueOptions instance using the specified properties.
3042
- * @param [properties] Properties to set
3043
- * @returns EnumValueOptions instance
3044
- */
3045
- public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
3046
-
3047
- /**
3048
- * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
3049
- * @param message EnumValueOptions message or plain object to encode
3050
- * @param [writer] Writer to encode to
3051
- * @returns Writer
3052
- */
3053
- public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3054
-
3055
- /**
3056
- * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
3057
- * @param message EnumValueOptions message or plain object to encode
3058
- * @param [writer] Writer to encode to
3059
- * @returns Writer
3060
- */
3061
- public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3062
-
3063
- /**
3064
- * Decodes an EnumValueOptions message from the specified reader or buffer.
3065
- * @param reader Reader or buffer to decode from
3066
- * @param [length] Message length if known beforehand
3067
- * @returns EnumValueOptions
3068
- * @throws {Error} If the payload is not a reader or valid buffer
3069
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3070
- */
3071
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
3072
-
3073
- /**
3074
- * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
3075
- * @param reader Reader or buffer to decode from
3076
- * @returns EnumValueOptions
3077
- * @throws {Error} If the payload is not a reader or valid buffer
3078
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3079
- */
3080
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
3081
-
3082
- /**
3083
- * Verifies an EnumValueOptions message.
3084
- * @param message Plain object to verify
3085
- * @returns `null` if valid, otherwise the reason why it is not
3086
- */
3087
- public static verify(message: { [k: string]: any }): (string|null);
3088
-
3089
- /**
3090
- * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
3091
- * @param object Plain object
3092
- * @returns EnumValueOptions
3093
- */
3094
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
3095
-
3096
- /**
3097
- * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
3098
- * @param message EnumValueOptions
3099
- * @param [options] Conversion options
3100
- * @returns Plain object
3101
- */
3102
- public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3103
-
3104
- /**
3105
- * Converts this EnumValueOptions to JSON.
3106
- * @returns JSON object
3107
- */
3108
- public toJSON(): { [k: string]: any };
3109
- }
3110
-
3111
- /** Properties of a ServiceOptions. */
3112
- interface IServiceOptions {
3113
-
3114
- /** ServiceOptions deprecated */
3115
- deprecated?: (boolean|null);
3116
-
3117
- /** ServiceOptions uninterpretedOption */
3118
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3119
-
3120
- /** ServiceOptions .google.api.defaultHost */
3121
- ".google.api.defaultHost"?: (string|null);
3122
-
3123
- /** ServiceOptions .google.api.oauthScopes */
3124
- ".google.api.oauthScopes"?: (string|null);
3125
- }
3126
-
3127
- /** Represents a ServiceOptions. */
3128
- class ServiceOptions implements IServiceOptions {
3129
-
3130
- /**
3131
- * Constructs a new ServiceOptions.
3132
- * @param [properties] Properties to set
3133
- */
3134
- constructor(properties?: google.protobuf.IServiceOptions);
3135
-
3136
- /** ServiceOptions deprecated. */
3137
- public deprecated: boolean;
3138
-
3139
- /** ServiceOptions uninterpretedOption. */
3140
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3141
-
3142
- /**
3143
- * Creates a new ServiceOptions instance using the specified properties.
3144
- * @param [properties] Properties to set
3145
- * @returns ServiceOptions instance
3146
- */
3147
- public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
3148
-
3149
- /**
3150
- * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
3151
- * @param message ServiceOptions message or plain object to encode
3152
- * @param [writer] Writer to encode to
3153
- * @returns Writer
3154
- */
3155
- public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3156
-
3157
- /**
3158
- * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
3159
- * @param message ServiceOptions message or plain object to encode
3160
- * @param [writer] Writer to encode to
3161
- * @returns Writer
3162
- */
3163
- public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3164
-
3165
- /**
3166
- * Decodes a ServiceOptions message from the specified reader or buffer.
3167
- * @param reader Reader or buffer to decode from
3168
- * @param [length] Message length if known beforehand
3169
- * @returns ServiceOptions
3170
- * @throws {Error} If the payload is not a reader or valid buffer
3171
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3172
- */
3173
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
3174
-
3175
- /**
3176
- * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
3177
- * @param reader Reader or buffer to decode from
3178
- * @returns ServiceOptions
3179
- * @throws {Error} If the payload is not a reader or valid buffer
3180
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3181
- */
3182
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
3183
-
3184
- /**
3185
- * Verifies a ServiceOptions message.
3186
- * @param message Plain object to verify
3187
- * @returns `null` if valid, otherwise the reason why it is not
3188
- */
3189
- public static verify(message: { [k: string]: any }): (string|null);
3190
-
3191
- /**
3192
- * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
3193
- * @param object Plain object
3194
- * @returns ServiceOptions
3195
- */
3196
- public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
3197
-
3198
- /**
3199
- * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
3200
- * @param message ServiceOptions
3201
- * @param [options] Conversion options
3202
- * @returns Plain object
3203
- */
3204
- public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3205
-
3206
- /**
3207
- * Converts this ServiceOptions to JSON.
3208
- * @returns JSON object
3209
- */
3210
- public toJSON(): { [k: string]: any };
3211
- }
3212
-
3213
- /** Properties of a MethodOptions. */
3214
- interface IMethodOptions {
3215
-
3216
- /** MethodOptions deprecated */
3217
- deprecated?: (boolean|null);
3218
-
3219
- /** MethodOptions idempotencyLevel */
3220
- idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|null);
3221
-
3222
- /** MethodOptions uninterpretedOption */
3223
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3224
-
3225
- /** MethodOptions .google.api.http */
3226
- ".google.api.http"?: (google.api.IHttpRule|null);
3227
-
3228
- /** MethodOptions .google.api.methodSignature */
3229
- ".google.api.methodSignature"?: (string[]|null);
3230
- }
3231
-
3232
- /** Represents a MethodOptions. */
3233
- class MethodOptions implements IMethodOptions {
3234
-
3235
- /**
3236
- * Constructs a new MethodOptions.
3237
- * @param [properties] Properties to set
3238
- */
3239
- constructor(properties?: google.protobuf.IMethodOptions);
3240
-
3241
- /** MethodOptions deprecated. */
3242
- public deprecated: boolean;
3243
-
3244
- /** MethodOptions idempotencyLevel. */
3245
- public idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel;
3246
-
3247
- /** MethodOptions uninterpretedOption. */
3248
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3249
-
3250
- /**
3251
- * Creates a new MethodOptions instance using the specified properties.
3252
- * @param [properties] Properties to set
3253
- * @returns MethodOptions instance
3254
- */
3255
- public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
3256
-
3257
- /**
3258
- * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
3259
- * @param message MethodOptions message or plain object to encode
3260
- * @param [writer] Writer to encode to
3261
- * @returns Writer
3262
- */
3263
- public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3264
-
3265
- /**
3266
- * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
3267
- * @param message MethodOptions message or plain object to encode
3268
- * @param [writer] Writer to encode to
3269
- * @returns Writer
3270
- */
3271
- public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3272
-
3273
- /**
3274
- * Decodes a MethodOptions message from the specified reader or buffer.
3275
- * @param reader Reader or buffer to decode from
3276
- * @param [length] Message length if known beforehand
3277
- * @returns MethodOptions
3278
- * @throws {Error} If the payload is not a reader or valid buffer
3279
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3280
- */
3281
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
3282
-
3283
- /**
3284
- * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
3285
- * @param reader Reader or buffer to decode from
3286
- * @returns MethodOptions
3287
- * @throws {Error} If the payload is not a reader or valid buffer
3288
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3289
- */
3290
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
3291
-
3292
- /**
3293
- * Verifies a MethodOptions message.
3294
- * @param message Plain object to verify
3295
- * @returns `null` if valid, otherwise the reason why it is not
3296
- */
3297
- public static verify(message: { [k: string]: any }): (string|null);
3298
-
3299
- /**
3300
- * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
3301
- * @param object Plain object
3302
- * @returns MethodOptions
3303
- */
3304
- public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
3305
-
3306
- /**
3307
- * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
3308
- * @param message MethodOptions
3309
- * @param [options] Conversion options
3310
- * @returns Plain object
3311
- */
3312
- public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3313
-
3314
- /**
3315
- * Converts this MethodOptions to JSON.
3316
- * @returns JSON object
3317
- */
3318
- public toJSON(): { [k: string]: any };
3319
- }
3320
-
3321
- namespace MethodOptions {
3322
-
3323
- /** IdempotencyLevel enum. */
3324
- enum IdempotencyLevel {
3325
- IDEMPOTENCY_UNKNOWN = 0,
3326
- NO_SIDE_EFFECTS = 1,
3327
- IDEMPOTENT = 2
3328
- }
3329
- }
3330
-
3331
- /** Properties of an UninterpretedOption. */
3332
- interface IUninterpretedOption {
3333
-
3334
- /** UninterpretedOption name */
3335
- name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
3336
-
3337
- /** UninterpretedOption identifierValue */
3338
- identifierValue?: (string|null);
3339
-
3340
- /** UninterpretedOption positiveIntValue */
3341
- positiveIntValue?: (number|Long|null);
3342
-
3343
- /** UninterpretedOption negativeIntValue */
3344
- negativeIntValue?: (number|Long|null);
3345
-
3346
- /** UninterpretedOption doubleValue */
3347
- doubleValue?: (number|null);
3348
-
3349
- /** UninterpretedOption stringValue */
3350
- stringValue?: (Uint8Array|null);
3351
-
3352
- /** UninterpretedOption aggregateValue */
3353
- aggregateValue?: (string|null);
3354
- }
3355
-
3356
- /** Represents an UninterpretedOption. */
3357
- class UninterpretedOption implements IUninterpretedOption {
3358
-
3359
- /**
3360
- * Constructs a new UninterpretedOption.
3361
- * @param [properties] Properties to set
3362
- */
3363
- constructor(properties?: google.protobuf.IUninterpretedOption);
3364
-
3365
- /** UninterpretedOption name. */
3366
- public name: google.protobuf.UninterpretedOption.INamePart[];
3367
-
3368
- /** UninterpretedOption identifierValue. */
3369
- public identifierValue: string;
3370
-
3371
- /** UninterpretedOption positiveIntValue. */
3372
- public positiveIntValue: (number|Long);
3373
-
3374
- /** UninterpretedOption negativeIntValue. */
3375
- public negativeIntValue: (number|Long);
3376
-
3377
- /** UninterpretedOption doubleValue. */
3378
- public doubleValue: number;
3379
-
3380
- /** UninterpretedOption stringValue. */
3381
- public stringValue: Uint8Array;
3382
-
3383
- /** UninterpretedOption aggregateValue. */
3384
- public aggregateValue: string;
3385
-
3386
- /**
3387
- * Creates a new UninterpretedOption instance using the specified properties.
3388
- * @param [properties] Properties to set
3389
- * @returns UninterpretedOption instance
3390
- */
3391
- public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
3392
-
3393
- /**
3394
- * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
3395
- * @param message UninterpretedOption message or plain object to encode
3396
- * @param [writer] Writer to encode to
3397
- * @returns Writer
3398
- */
3399
- public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
3400
-
3401
- /**
3402
- * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
3403
- * @param message UninterpretedOption message or plain object to encode
3404
- * @param [writer] Writer to encode to
3405
- * @returns Writer
3406
- */
3407
- public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
3408
-
3409
- /**
3410
- * Decodes an UninterpretedOption message from the specified reader or buffer.
3411
- * @param reader Reader or buffer to decode from
3412
- * @param [length] Message length if known beforehand
3413
- * @returns UninterpretedOption
3414
- * @throws {Error} If the payload is not a reader or valid buffer
3415
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3416
- */
3417
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
3418
-
3419
- /**
3420
- * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
3421
- * @param reader Reader or buffer to decode from
3422
- * @returns UninterpretedOption
3423
- * @throws {Error} If the payload is not a reader or valid buffer
3424
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3425
- */
3426
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
3427
-
3428
- /**
3429
- * Verifies an UninterpretedOption message.
3430
- * @param message Plain object to verify
3431
- * @returns `null` if valid, otherwise the reason why it is not
3432
- */
3433
- public static verify(message: { [k: string]: any }): (string|null);
3434
-
3435
- /**
3436
- * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
3437
- * @param object Plain object
3438
- * @returns UninterpretedOption
3439
- */
3440
- public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
3441
-
3442
- /**
3443
- * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
3444
- * @param message UninterpretedOption
3445
- * @param [options] Conversion options
3446
- * @returns Plain object
3447
- */
3448
- public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
3449
-
3450
- /**
3451
- * Converts this UninterpretedOption to JSON.
3452
- * @returns JSON object
3453
- */
3454
- public toJSON(): { [k: string]: any };
3455
- }
3456
-
3457
- namespace UninterpretedOption {
3458
-
3459
- /** Properties of a NamePart. */
3460
- interface INamePart {
3461
-
3462
- /** NamePart namePart */
3463
- namePart: string;
3464
-
3465
- /** NamePart isExtension */
3466
- isExtension: boolean;
3467
- }
3468
-
3469
- /** Represents a NamePart. */
3470
- class NamePart implements INamePart {
3471
-
3472
- /**
3473
- * Constructs a new NamePart.
3474
- * @param [properties] Properties to set
3475
- */
3476
- constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
3477
-
3478
- /** NamePart namePart. */
3479
- public namePart: string;
3480
-
3481
- /** NamePart isExtension. */
3482
- public isExtension: boolean;
3483
-
3484
- /**
3485
- * Creates a new NamePart instance using the specified properties.
3486
- * @param [properties] Properties to set
3487
- * @returns NamePart instance
3488
- */
3489
- public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
3490
-
3491
- /**
3492
- * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
3493
- * @param message NamePart message or plain object to encode
3494
- * @param [writer] Writer to encode to
3495
- * @returns Writer
3496
- */
3497
- public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
3498
-
3499
- /**
3500
- * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
3501
- * @param message NamePart message or plain object to encode
3502
- * @param [writer] Writer to encode to
3503
- * @returns Writer
3504
- */
3505
- public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
3506
-
3507
- /**
3508
- * Decodes a NamePart message from the specified reader or buffer.
3509
- * @param reader Reader or buffer to decode from
3510
- * @param [length] Message length if known beforehand
3511
- * @returns NamePart
3512
- * @throws {Error} If the payload is not a reader or valid buffer
3513
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3514
- */
3515
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
3516
-
3517
- /**
3518
- * Decodes a NamePart message from the specified reader or buffer, length delimited.
3519
- * @param reader Reader or buffer to decode from
3520
- * @returns NamePart
3521
- * @throws {Error} If the payload is not a reader or valid buffer
3522
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3523
- */
3524
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
3525
-
3526
- /**
3527
- * Verifies a NamePart message.
3528
- * @param message Plain object to verify
3529
- * @returns `null` if valid, otherwise the reason why it is not
3530
- */
3531
- public static verify(message: { [k: string]: any }): (string|null);
3532
-
3533
- /**
3534
- * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
3535
- * @param object Plain object
3536
- * @returns NamePart
3537
- */
3538
- public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
3539
-
3540
- /**
3541
- * Creates a plain object from a NamePart message. Also converts values to other types if specified.
3542
- * @param message NamePart
3543
- * @param [options] Conversion options
3544
- * @returns Plain object
3545
- */
3546
- public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
3547
-
3548
- /**
3549
- * Converts this NamePart to JSON.
3550
- * @returns JSON object
3551
- */
3552
- public toJSON(): { [k: string]: any };
3553
- }
3554
- }
3555
-
3556
- /** Properties of a SourceCodeInfo. */
3557
- interface ISourceCodeInfo {
3558
-
3559
- /** SourceCodeInfo location */
3560
- location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
3561
- }
3562
-
3563
- /** Represents a SourceCodeInfo. */
3564
- class SourceCodeInfo implements ISourceCodeInfo {
3565
-
3566
- /**
3567
- * Constructs a new SourceCodeInfo.
3568
- * @param [properties] Properties to set
3569
- */
3570
- constructor(properties?: google.protobuf.ISourceCodeInfo);
3571
-
3572
- /** SourceCodeInfo location. */
3573
- public location: google.protobuf.SourceCodeInfo.ILocation[];
3574
-
3575
- /**
3576
- * Creates a new SourceCodeInfo instance using the specified properties.
3577
- * @param [properties] Properties to set
3578
- * @returns SourceCodeInfo instance
3579
- */
3580
- public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
3581
-
3582
- /**
3583
- * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
3584
- * @param message SourceCodeInfo message or plain object to encode
3585
- * @param [writer] Writer to encode to
3586
- * @returns Writer
3587
- */
3588
- public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3589
-
3590
- /**
3591
- * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
3592
- * @param message SourceCodeInfo message or plain object to encode
3593
- * @param [writer] Writer to encode to
3594
- * @returns Writer
3595
- */
3596
- public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3597
-
3598
- /**
3599
- * Decodes a SourceCodeInfo message from the specified reader or buffer.
3600
- * @param reader Reader or buffer to decode from
3601
- * @param [length] Message length if known beforehand
3602
- * @returns SourceCodeInfo
3603
- * @throws {Error} If the payload is not a reader or valid buffer
3604
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3605
- */
3606
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
3607
-
3608
- /**
3609
- * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
3610
- * @param reader Reader or buffer to decode from
3611
- * @returns SourceCodeInfo
3612
- * @throws {Error} If the payload is not a reader or valid buffer
3613
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3614
- */
3615
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
3616
-
3617
- /**
3618
- * Verifies a SourceCodeInfo message.
3619
- * @param message Plain object to verify
3620
- * @returns `null` if valid, otherwise the reason why it is not
3621
- */
3622
- public static verify(message: { [k: string]: any }): (string|null);
3623
-
3624
- /**
3625
- * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
3626
- * @param object Plain object
3627
- * @returns SourceCodeInfo
3628
- */
3629
- public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
3630
-
3631
- /**
3632
- * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
3633
- * @param message SourceCodeInfo
3634
- * @param [options] Conversion options
3635
- * @returns Plain object
3636
- */
3637
- public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
3638
-
3639
- /**
3640
- * Converts this SourceCodeInfo to JSON.
3641
- * @returns JSON object
3642
- */
3643
- public toJSON(): { [k: string]: any };
3644
- }
3645
-
3646
- namespace SourceCodeInfo {
3647
-
3648
- /** Properties of a Location. */
3649
- interface ILocation {
3650
-
3651
- /** Location path */
3652
- path?: (number[]|null);
3653
-
3654
- /** Location span */
3655
- span?: (number[]|null);
3656
-
3657
- /** Location leadingComments */
3658
- leadingComments?: (string|null);
3659
-
3660
- /** Location trailingComments */
3661
- trailingComments?: (string|null);
3662
-
3663
- /** Location leadingDetachedComments */
3664
- leadingDetachedComments?: (string[]|null);
3665
- }
3666
-
3667
- /** Represents a Location. */
3668
- class Location implements ILocation {
3669
-
3670
- /**
3671
- * Constructs a new Location.
3672
- * @param [properties] Properties to set
3673
- */
3674
- constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
3675
-
3676
- /** Location path. */
3677
- public path: number[];
3678
-
3679
- /** Location span. */
3680
- public span: number[];
3681
-
3682
- /** Location leadingComments. */
3683
- public leadingComments: string;
3684
-
3685
- /** Location trailingComments. */
3686
- public trailingComments: string;
3687
-
3688
- /** Location leadingDetachedComments. */
3689
- public leadingDetachedComments: string[];
3690
-
3691
- /**
3692
- * Creates a new Location instance using the specified properties.
3693
- * @param [properties] Properties to set
3694
- * @returns Location instance
3695
- */
3696
- public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
3697
-
3698
- /**
3699
- * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
3700
- * @param message Location message or plain object to encode
3701
- * @param [writer] Writer to encode to
3702
- * @returns Writer
3703
- */
3704
- public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
3705
-
3706
- /**
3707
- * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
3708
- * @param message Location message or plain object to encode
3709
- * @param [writer] Writer to encode to
3710
- * @returns Writer
3711
- */
3712
- public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
3713
-
3714
- /**
3715
- * Decodes a Location message from the specified reader or buffer.
3716
- * @param reader Reader or buffer to decode from
3717
- * @param [length] Message length if known beforehand
3718
- * @returns Location
3719
- * @throws {Error} If the payload is not a reader or valid buffer
3720
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3721
- */
3722
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
3723
-
3724
- /**
3725
- * Decodes a Location message from the specified reader or buffer, length delimited.
3726
- * @param reader Reader or buffer to decode from
3727
- * @returns Location
3728
- * @throws {Error} If the payload is not a reader or valid buffer
3729
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3730
- */
3731
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
3732
-
3733
- /**
3734
- * Verifies a Location message.
3735
- * @param message Plain object to verify
3736
- * @returns `null` if valid, otherwise the reason why it is not
3737
- */
3738
- public static verify(message: { [k: string]: any }): (string|null);
3739
-
3740
- /**
3741
- * Creates a Location message from a plain object. Also converts values to their respective internal types.
3742
- * @param object Plain object
3743
- * @returns Location
3744
- */
3745
- public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
3746
-
3747
- /**
3748
- * Creates a plain object from a Location message. Also converts values to other types if specified.
3749
- * @param message Location
3750
- * @param [options] Conversion options
3751
- * @returns Plain object
3752
- */
3753
- public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
3754
-
3755
- /**
3756
- * Converts this Location to JSON.
3757
- * @returns JSON object
3758
- */
3759
- public toJSON(): { [k: string]: any };
3760
- }
3761
- }
3762
-
3763
- /** Properties of a GeneratedCodeInfo. */
3764
- interface IGeneratedCodeInfo {
3765
-
3766
- /** GeneratedCodeInfo annotation */
3767
- annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
3768
- }
3769
-
3770
- /** Represents a GeneratedCodeInfo. */
3771
- class GeneratedCodeInfo implements IGeneratedCodeInfo {
3772
-
3773
- /**
3774
- * Constructs a new GeneratedCodeInfo.
3775
- * @param [properties] Properties to set
3776
- */
3777
- constructor(properties?: google.protobuf.IGeneratedCodeInfo);
3778
-
3779
- /** GeneratedCodeInfo annotation. */
3780
- public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
3781
-
3782
- /**
3783
- * Creates a new GeneratedCodeInfo instance using the specified properties.
3784
- * @param [properties] Properties to set
3785
- * @returns GeneratedCodeInfo instance
3786
- */
3787
- public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
3788
-
3789
- /**
3790
- * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
3791
- * @param message GeneratedCodeInfo message or plain object to encode
3792
- * @param [writer] Writer to encode to
3793
- * @returns Writer
3794
- */
3795
- public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3796
-
3797
- /**
3798
- * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
3799
- * @param message GeneratedCodeInfo message or plain object to encode
3800
- * @param [writer] Writer to encode to
3801
- * @returns Writer
3802
- */
3803
- public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3804
-
3805
- /**
3806
- * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
3807
- * @param reader Reader or buffer to decode from
3808
- * @param [length] Message length if known beforehand
3809
- * @returns GeneratedCodeInfo
3810
- * @throws {Error} If the payload is not a reader or valid buffer
3811
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3812
- */
3813
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
3814
-
3815
- /**
3816
- * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
3817
- * @param reader Reader or buffer to decode from
3818
- * @returns GeneratedCodeInfo
3819
- * @throws {Error} If the payload is not a reader or valid buffer
3820
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3821
- */
3822
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
3823
-
3824
- /**
3825
- * Verifies a GeneratedCodeInfo message.
3826
- * @param message Plain object to verify
3827
- * @returns `null` if valid, otherwise the reason why it is not
3828
- */
3829
- public static verify(message: { [k: string]: any }): (string|null);
3830
-
3831
- /**
3832
- * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
3833
- * @param object Plain object
3834
- * @returns GeneratedCodeInfo
3835
- */
3836
- public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
3837
-
3838
- /**
3839
- * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
3840
- * @param message GeneratedCodeInfo
3841
- * @param [options] Conversion options
3842
- * @returns Plain object
3843
- */
3844
- public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
3845
-
3846
- /**
3847
- * Converts this GeneratedCodeInfo to JSON.
3848
- * @returns JSON object
3849
- */
3850
- public toJSON(): { [k: string]: any };
3851
- }
3852
-
3853
- namespace GeneratedCodeInfo {
3854
-
3855
- /** Properties of an Annotation. */
3856
- interface IAnnotation {
3857
-
3858
- /** Annotation path */
3859
- path?: (number[]|null);
3860
-
3861
- /** Annotation sourceFile */
3862
- sourceFile?: (string|null);
3863
-
3864
- /** Annotation begin */
3865
- begin?: (number|null);
3866
-
3867
- /** Annotation end */
3868
- end?: (number|null);
3869
- }
3870
-
3871
- /** Represents an Annotation. */
3872
- class Annotation implements IAnnotation {
3873
-
3874
- /**
3875
- * Constructs a new Annotation.
3876
- * @param [properties] Properties to set
3877
- */
3878
- constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
3879
-
3880
- /** Annotation path. */
3881
- public path: number[];
3882
-
3883
- /** Annotation sourceFile. */
3884
- public sourceFile: string;
3885
-
3886
- /** Annotation begin. */
3887
- public begin: number;
3888
-
3889
- /** Annotation end. */
3890
- public end: number;
3891
-
3892
- /**
3893
- * Creates a new Annotation instance using the specified properties.
3894
- * @param [properties] Properties to set
3895
- * @returns Annotation instance
3896
- */
3897
- public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
3898
-
3899
- /**
3900
- * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
3901
- * @param message Annotation message or plain object to encode
3902
- * @param [writer] Writer to encode to
3903
- * @returns Writer
3904
- */
3905
- public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
3906
-
3907
- /**
3908
- * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
3909
- * @param message Annotation message or plain object to encode
3910
- * @param [writer] Writer to encode to
3911
- * @returns Writer
3912
- */
3913
- public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
3914
-
3915
- /**
3916
- * Decodes an Annotation message from the specified reader or buffer.
3917
- * @param reader Reader or buffer to decode from
3918
- * @param [length] Message length if known beforehand
3919
- * @returns Annotation
3920
- * @throws {Error} If the payload is not a reader or valid buffer
3921
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3922
- */
3923
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
3924
-
3925
- /**
3926
- * Decodes an Annotation message from the specified reader or buffer, length delimited.
3927
- * @param reader Reader or buffer to decode from
3928
- * @returns Annotation
3929
- * @throws {Error} If the payload is not a reader or valid buffer
3930
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3931
- */
3932
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
3933
-
3934
- /**
3935
- * Verifies an Annotation message.
3936
- * @param message Plain object to verify
3937
- * @returns `null` if valid, otherwise the reason why it is not
3938
- */
3939
- public static verify(message: { [k: string]: any }): (string|null);
3940
-
3941
- /**
3942
- * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
3943
- * @param object Plain object
3944
- * @returns Annotation
3945
- */
3946
- public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
3947
-
3948
- /**
3949
- * Creates a plain object from an Annotation message. Also converts values to other types if specified.
3950
- * @param message Annotation
3951
- * @param [options] Conversion options
3952
- * @returns Plain object
3953
- */
3954
- public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
3955
-
3956
- /**
3957
- * Converts this Annotation to JSON.
3958
- * @returns JSON object
3959
- */
3960
- public toJSON(): { [k: string]: any };
3961
- }
3962
- }
3963
-
3964
- /** Properties of an Any. */
3965
- interface IAny {
3966
-
3967
- /** Any type_url */
3968
- type_url?: (string|null);
3969
-
3970
- /** Any value */
3971
- value?: (Uint8Array|null);
3972
- }
3973
-
3974
- /** Represents an Any. */
3975
- class Any implements IAny {
3976
-
3977
- /**
3978
- * Constructs a new Any.
3979
- * @param [properties] Properties to set
3980
- */
3981
- constructor(properties?: google.protobuf.IAny);
3982
-
3983
- /** Any type_url. */
3984
- public type_url: string;
3985
-
3986
- /** Any value. */
3987
- public value: Uint8Array;
3988
-
3989
- /**
3990
- * Creates a new Any instance using the specified properties.
3991
- * @param [properties] Properties to set
3992
- * @returns Any instance
3993
- */
3994
- public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
3995
-
3996
- /**
3997
- * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
3998
- * @param message Any message or plain object to encode
3999
- * @param [writer] Writer to encode to
4000
- * @returns Writer
4001
- */
4002
- public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
4003
-
4004
- /**
4005
- * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
4006
- * @param message Any message or plain object to encode
4007
- * @param [writer] Writer to encode to
4008
- * @returns Writer
4009
- */
4010
- public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
4011
-
4012
- /**
4013
- * Decodes an Any message from the specified reader or buffer.
4014
- * @param reader Reader or buffer to decode from
4015
- * @param [length] Message length if known beforehand
4016
- * @returns Any
4017
- * @throws {Error} If the payload is not a reader or valid buffer
4018
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4019
- */
4020
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
4021
-
4022
- /**
4023
- * Decodes an Any message from the specified reader or buffer, length delimited.
4024
- * @param reader Reader or buffer to decode from
4025
- * @returns Any
4026
- * @throws {Error} If the payload is not a reader or valid buffer
4027
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4028
- */
4029
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
4030
-
4031
- /**
4032
- * Verifies an Any message.
4033
- * @param message Plain object to verify
4034
- * @returns `null` if valid, otherwise the reason why it is not
4035
- */
4036
- public static verify(message: { [k: string]: any }): (string|null);
4037
-
4038
- /**
4039
- * Creates an Any message from a plain object. Also converts values to their respective internal types.
4040
- * @param object Plain object
4041
- * @returns Any
4042
- */
4043
- public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
4044
-
4045
- /**
4046
- * Creates a plain object from an Any message. Also converts values to other types if specified.
4047
- * @param message Any
4048
- * @param [options] Conversion options
4049
- * @returns Plain object
4050
- */
4051
- public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
4052
-
4053
- /**
4054
- * Converts this Any to JSON.
4055
- * @returns JSON object
4056
- */
4057
- public toJSON(): { [k: string]: any };
4058
- }
4059
- }
4060
- }