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

textformat.generated.d.ts 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. // DO NOT EDIT! This is a generated file. Edit the source file instead and regenerate.
  2. import * as $protobuf from "..";
  3. /** Maximum recursion depth for formatting length-delimited unknown fields. */
  4. export let unknownRecursionLimit: number;
  5. /** Text format options. */
  6. export interface ITextFormatOptions {
  7. /** Also includes and formats unknown fields. */
  8. unknowns?: boolean;
  9. }
  10. /**
  11. * Parses a message from protobuf text format using the specified reflected type.
  12. * @param type Reflected message type
  13. * @param text Text format input
  14. * @returns Message instance
  15. */
  16. export function fromText(type: $protobuf.Type, text: string): $protobuf.Message<{}>;
  17. /**
  18. * Formats a message as protobuf text format using the specified reflected type.
  19. * @param type Reflected message type
  20. * @param message Message instance or plain object
  21. * @param [options] Text format options
  22. * @returns Text format output
  23. */
  24. export function toText(type: $protobuf.Type, message: ($protobuf.Message<{}>|{ [k: string]: any }), options?: ITextFormatOptions): string;
  25. /** Installs reflected {@link Type} convenience methods. */
  26. export function install(): void;