智慧水务管理系统 - 精河县供水工程综合管理平台

descriptor.generated.d.ts 9.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. // DO NOT EDIT! This is a generated file. Edit the source file instead and regenerate.
  2. import * as $protobuf from "..";
  3. /** Reflected file descriptor set. */
  4. export const FileDescriptorSet: $protobuf.Type;
  5. /** Reflected file descriptor proto. */
  6. export const FileDescriptorProto: $protobuf.Type;
  7. /** Reflected descriptor proto. */
  8. export const DescriptorProto: $protobuf.Type & {
  9. ExtensionRange: $protobuf.Type,
  10. ReservedRange: $protobuf.Type
  11. };
  12. /** Reflected field descriptor proto. */
  13. export const FieldDescriptorProto: $protobuf.Type & {
  14. Label: $protobuf.Enum,
  15. Type: $protobuf.Enum
  16. };
  17. /** Reflected oneof descriptor proto. */
  18. export const OneofDescriptorProto: $protobuf.Type;
  19. /** Reflected enum descriptor proto. */
  20. export const EnumDescriptorProto: $protobuf.Type;
  21. /** Reflected service descriptor proto. */
  22. export const ServiceDescriptorProto: $protobuf.Type;
  23. /** Reflected enum value descriptor proto. */
  24. export const EnumValueDescriptorProto: $protobuf.Type;
  25. /** Reflected method descriptor proto. */
  26. export const MethodDescriptorProto: $protobuf.Type;
  27. /** Reflected file options. */
  28. export const FileOptions: $protobuf.Type & {
  29. OptimizeMode: $protobuf.Enum
  30. };
  31. /** Reflected message options. */
  32. export const MessageOptions: $protobuf.Type;
  33. /** Reflected field options. */
  34. export const FieldOptions: $protobuf.Type & {
  35. CType: $protobuf.Enum,
  36. JSType: $protobuf.Enum
  37. };
  38. /** Reflected oneof options. */
  39. export const OneofOptions: $protobuf.Type;
  40. /** Reflected enum options. */
  41. export const EnumOptions: $protobuf.Type;
  42. /** Reflected enum value options. */
  43. export const EnumValueOptions: $protobuf.Type;
  44. /** Reflected service options. */
  45. export const ServiceOptions: $protobuf.Type;
  46. /** Reflected method options. */
  47. export const MethodOptions: $protobuf.Type;
  48. /** Reflected feature set. */
  49. export const FeatureSet: $protobuf.Type & {
  50. FieldPresence: $protobuf.Enum,
  51. EnumType: $protobuf.Enum,
  52. RepeatedFieldEncoding: $protobuf.Enum,
  53. Utf8Validation: $protobuf.Enum,
  54. MessageEncoding: $protobuf.Enum,
  55. JsonFormat: $protobuf.Enum,
  56. EnforceNamingStyle: $protobuf.Enum,
  57. VisibilityFeature: $protobuf.Type
  58. };
  59. /** Reflected feature set defaults. */
  60. export const FeatureSetDefaults: $protobuf.Type & {
  61. FeatureSetEditionDefault: $protobuf.Type
  62. };
  63. /** Reflected uninterpretet option. */
  64. export const UninterpretedOption: $protobuf.Type & {
  65. NamePart: $protobuf.Type
  66. };
  67. /** Reflected source code info. */
  68. export const SourceCodeInfo: $protobuf.Type & {
  69. Location: $protobuf.Type
  70. };
  71. /** Reflected generated code info. */
  72. export const GeneratedCodeInfo: $protobuf.Type & {
  73. Annotation: $protobuf.Type
  74. };
  75. /** Properties of a FileDescriptorSet message. */
  76. export interface IFileDescriptorSet {
  77. /** Files */
  78. file: IFileDescriptorProto[];
  79. }
  80. /** Properties of a FileDescriptorProto message. */
  81. export interface IFileDescriptorProto {
  82. /** File name */
  83. name?: string;
  84. /** Package */
  85. package?: string;
  86. /** Not supported */
  87. dependency?: any;
  88. /** Not supported */
  89. publicDependency?: any;
  90. /** Not supported */
  91. weakDependency?: any;
  92. /** Nested message types */
  93. messageType?: IDescriptorProto[];
  94. /** Nested enums */
  95. enumType?: IEnumDescriptorProto[];
  96. /** Nested services */
  97. service?: IServiceDescriptorProto[];
  98. /** Nested extension fields */
  99. extension?: IFieldDescriptorProto[];
  100. /** Options */
  101. options?: IFileOptions;
  102. /** Not supported */
  103. sourceCodeInfo?: any;
  104. /** Syntax */
  105. syntax?: string;
  106. /** Edition */
  107. edition?: IEdition;
  108. }
  109. /** Values of the Edition enum. */
  110. export type IEdition = number;
  111. /** Properties of a FileOptions message. */
  112. export interface IFileOptions {
  113. javaPackage?: string;
  114. javaOuterClassname?: string;
  115. javaMultipleFiles?: boolean;
  116. javaGenerateEqualsAndHash?: boolean;
  117. javaStringCheckUtf8?: boolean;
  118. optimizeFor?: IFileOptionsOptimizeMode;
  119. goPackage?: string;
  120. ccGenericServices?: boolean;
  121. javaGenericServices?: boolean;
  122. pyGenericServices?: boolean;
  123. deprecated?: boolean;
  124. ccEnableArenas?: boolean;
  125. objcClassPrefix?: string;
  126. csharpNamespace?: string;
  127. }
  128. /** Values of he FileOptions.OptimizeMode enum. */
  129. export type IFileOptionsOptimizeMode = number;
  130. /** Descriptor context. */
  131. export interface IDescriptorContext {
  132. /** Syntax or edition to use for direct object descriptor imports */
  133. edition?: string;
  134. /** File-level features to apply for direct object descriptor imports */
  135. features?: IFeatureSet;
  136. /** Uses proto field names as reflected field names */
  137. keepCase?: boolean;
  138. }
  139. /** Properties of a DescriptorProto message. */
  140. export interface IDescriptorProto {
  141. /** Message type name */
  142. name?: string;
  143. /** Fields */
  144. field?: IFieldDescriptorProto[];
  145. /** Extension fields */
  146. extension?: IFieldDescriptorProto[];
  147. /** Nested message types */
  148. nestedType?: IDescriptorProto[];
  149. /** Nested enums */
  150. enumType?: IEnumDescriptorProto[];
  151. /** Extension ranges */
  152. extensionRange?: IDescriptorProtoExtensionRange[];
  153. /** Oneofs */
  154. oneofDecl?: IOneofDescriptorProto[];
  155. /** Not supported */
  156. options?: IMessageOptions;
  157. /** Reserved ranges */
  158. reservedRange?: IDescriptorProtoReservedRange[];
  159. /** Reserved names */
  160. reservedName?: string[];
  161. }
  162. /** Properties of a MessageOptions message. */
  163. export interface IMessageOptions {
  164. /** Whether this message is a map entry */
  165. mapEntry?: boolean;
  166. }
  167. /** Properties of an ExtensionRange message. */
  168. export interface IDescriptorProtoExtensionRange {
  169. /** Start field id */
  170. start?: number;
  171. /** End field id */
  172. end?: number;
  173. }
  174. /** Properties of a ReservedRange message. */
  175. export interface IDescriptorProtoReservedRange {
  176. /** Start field id */
  177. start?: number;
  178. /** End field id */
  179. end?: number;
  180. }
  181. /** Properties of a FieldDescriptorProto message. */
  182. export interface IFieldDescriptorProto {
  183. /** Field name */
  184. name?: string;
  185. /** Field id */
  186. number?: number;
  187. /** Field rule */
  188. label?: IFieldDescriptorProtoLabel;
  189. /** Field basic type */
  190. type?: IFieldDescriptorProtoType;
  191. /** Field type name */
  192. typeName?: string;
  193. /** Extended type name */
  194. extendee?: string;
  195. /** Literal default value */
  196. defaultValue?: string;
  197. /** Oneof index if part of a oneof */
  198. oneofIndex?: number;
  199. /** JSON name (lowerCamelCase) */
  200. jsonName?: string;
  201. /** Field options */
  202. options?: IFieldOptions;
  203. /** Whether this is a proto3 optional field */
  204. proto3Optional?: boolean;
  205. }
  206. /** Values of the FieldDescriptorProto.Label enum. */
  207. export type IFieldDescriptorProtoLabel = number;
  208. /** Values of the FieldDescriptorProto.Type enum. */
  209. export type IFieldDescriptorProtoType = number;
  210. /** Properties of a FieldOptions message. */
  211. export interface IFieldOptions {
  212. /** Whether packed or not (defaults to `false` for proto2 and `true` for proto3) */
  213. packed?: boolean;
  214. /** JavaScript value type (not used by protobuf.js) */
  215. jstype?: IFieldOptionsJSType;
  216. }
  217. /** Values of the FieldOptions.JSType enum. */
  218. export type IFieldOptionsJSType = number;
  219. /** Properties of an EnumDescriptorProto message. */
  220. export interface IEnumDescriptorProto {
  221. /** Enum name */
  222. name?: string;
  223. /** Enum values */
  224. value?: IEnumValueDescriptorProto[];
  225. /** Enum options */
  226. options?: IEnumOptions;
  227. }
  228. /** Properties of an EnumValueDescriptorProto message. */
  229. export interface IEnumValueDescriptorProto {
  230. /** Name */
  231. name?: string;
  232. /** Value */
  233. number?: number;
  234. /** Enum value options */
  235. options?: IEnumValueOptions;
  236. }
  237. /** Properties of an EnumValueOptions message. */
  238. export interface IEnumValueOptions {
  239. deprecated?: boolean;
  240. features?: IFeatureSet;
  241. debugRedact?: boolean;
  242. featureSupport?: any;
  243. uninterpretedOption?: any[];
  244. }
  245. /** Properties of an EnumOptions message. */
  246. export interface IEnumOptions {
  247. /** Whether aliases are allowed */
  248. allowAlias?: boolean;
  249. deprecated?: boolean;
  250. }
  251. /** Properties of a FeatureSet message. */
  252. export interface IFeatureSet {
  253. fieldPresence?: number;
  254. enumType?: number;
  255. repeatedFieldEncoding?: number;
  256. utf8Validation?: number;
  257. messageEncoding?: number;
  258. jsonFormat?: number;
  259. enforceNamingStyle?: number;
  260. defaultSymbolVisibility?: number;
  261. }
  262. /** Properties of a OneofDescriptorProto message. */
  263. export interface IOneofDescriptorProto {
  264. /** Oneof name */
  265. name?: string;
  266. /** Oneof options */
  267. options?: IOneofOptions;
  268. }
  269. /** Properties of a OneofOptions message. */
  270. export interface IOneofOptions {
  271. features?: IFeatureSet;
  272. uninterpretedOption?: any[];
  273. }
  274. /** Properties of a ServiceDescriptorProto message. */
  275. export interface IServiceDescriptorProto {
  276. /** Service name */
  277. name?: string;
  278. /** Methods */
  279. method?: IMethodDescriptorProto[];
  280. /** Options */
  281. options?: IServiceOptions;
  282. }
  283. /** Properties of a ServiceOptions message. */
  284. export interface IServiceOptions {
  285. deprecated?: boolean;
  286. }
  287. /** Properties of a MethodDescriptorProto message. */
  288. export interface IMethodDescriptorProto {
  289. /** Method name */
  290. name?: string;
  291. /** Request type name */
  292. inputType?: string;
  293. /** Response type name */
  294. outputType?: string;
  295. /** Not supported */
  296. options?: IMethodOptions;
  297. /** Whether requests are streamed */
  298. clientStreaming?: boolean;
  299. /** Whether responses are streamed */
  300. serverStreaming?: boolean;
  301. }
  302. /** Properties of a MethodOptions message. */
  303. export interface IMethodOptions {
  304. deprecated?: boolean;
  305. }