GSI - Employe Self Service Mobile
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

191 lines
4.3 KiB

2 months ago
  1. import * as $protobuf from "../..";
  2. export const FileDescriptorSet: $protobuf.Type;
  3. export const FileDescriptorProto: $protobuf.Type;
  4. export const DescriptorProto: $protobuf.Type & {
  5. ExtensionRange: $protobuf.Type,
  6. ReservedRange: $protobuf.Type
  7. };
  8. export const FieldDescriptorProto: $protobuf.Type & {
  9. Label: $protobuf.Enum,
  10. Type: $protobuf.Enum
  11. };
  12. export const OneofDescriptorProto: $protobuf.Type;
  13. export const EnumDescriptorProto: $protobuf.Type;
  14. export const ServiceDescriptorProto: $protobuf.Type;
  15. export const EnumValueDescriptorProto: $protobuf.Type;
  16. export const MethodDescriptorProto: $protobuf.Type;
  17. export const FileOptions: $protobuf.Type & {
  18. OptimizeMode: $protobuf.Enum
  19. };
  20. export const MessageOptions: $protobuf.Type;
  21. export const FieldOptions: $protobuf.Type & {
  22. CType: $protobuf.Enum,
  23. JSType: $protobuf.Enum
  24. };
  25. export const OneofOptions: $protobuf.Type;
  26. export const EnumOptions: $protobuf.Type;
  27. export const EnumValueOptions: $protobuf.Type;
  28. export const ServiceOptions: $protobuf.Type;
  29. export const MethodOptions: $protobuf.Type;
  30. export const UninterpretedOption: $protobuf.Type & {
  31. NamePart: $protobuf.Type
  32. };
  33. export const SourceCodeInfo: $protobuf.Type & {
  34. Location: $protobuf.Type
  35. };
  36. export const GeneratedCodeInfo: $protobuf.Type & {
  37. Annotation: $protobuf.Type
  38. };
  39. export interface IFileDescriptorSet {
  40. file: IFileDescriptorProto[];
  41. }
  42. export interface IFileDescriptorProto {
  43. name?: string;
  44. package?: string;
  45. dependency?: any;
  46. publicDependency?: any;
  47. weakDependency?: any;
  48. messageType?: IDescriptorProto[];
  49. enumType?: IEnumDescriptorProto[];
  50. service?: IServiceDescriptorProto[];
  51. extension?: IFieldDescriptorProto[];
  52. options?: IFileOptions;
  53. sourceCodeInfo?: any;
  54. syntax?: string;
  55. }
  56. export interface IFileOptions {
  57. javaPackage?: string;
  58. javaOuterClassname?: string;
  59. javaMultipleFiles?: boolean;
  60. javaGenerateEqualsAndHash?: boolean;
  61. javaStringCheckUtf8?: boolean;
  62. optimizeFor?: IFileOptionsOptimizeMode;
  63. goPackage?: string;
  64. ccGenericServices?: boolean;
  65. javaGenericServices?: boolean;
  66. pyGenericServices?: boolean;
  67. deprecated?: boolean;
  68. ccEnableArenas?: boolean;
  69. objcClassPrefix?: string;
  70. csharpNamespace?: string;
  71. }
  72. type IFileOptionsOptimizeMode = number;
  73. export interface IDescriptorProto {
  74. name?: string;
  75. field?: IFieldDescriptorProto[];
  76. extension?: IFieldDescriptorProto[];
  77. nestedType?: IDescriptorProto[];
  78. enumType?: IEnumDescriptorProto[];
  79. extensionRange?: IDescriptorProtoExtensionRange[];
  80. oneofDecl?: IOneofDescriptorProto[];
  81. options?: IMessageOptions;
  82. reservedRange?: IDescriptorProtoReservedRange[];
  83. reservedName?: string[];
  84. }
  85. export interface IMessageOptions {
  86. mapEntry?: boolean;
  87. }
  88. export interface IDescriptorProtoExtensionRange {
  89. start?: number;
  90. end?: number;
  91. }
  92. export interface IDescriptorProtoReservedRange {
  93. start?: number;
  94. end?: number;
  95. }
  96. export interface IFieldDescriptorProto {
  97. name?: string;
  98. number?: number;
  99. label?: IFieldDescriptorProtoLabel;
  100. type?: IFieldDescriptorProtoType;
  101. typeName?: string;
  102. extendee?: string;
  103. defaultValue?: string;
  104. oneofIndex?: number;
  105. jsonName?: any;
  106. options?: IFieldOptions;
  107. }
  108. type IFieldDescriptorProtoLabel = number;
  109. type IFieldDescriptorProtoType = number;
  110. export interface IFieldOptions {
  111. packed?: boolean;
  112. jstype?: IFieldOptionsJSType;
  113. }
  114. type IFieldOptionsJSType = number;
  115. export interface IEnumDescriptorProto {
  116. name?: string;
  117. value?: IEnumValueDescriptorProto[];
  118. options?: IEnumOptions;
  119. }
  120. export interface IEnumValueDescriptorProto {
  121. name?: string;
  122. number?: number;
  123. options?: any;
  124. }
  125. export interface IEnumOptions {
  126. allowAlias?: boolean;
  127. deprecated?: boolean;
  128. }
  129. export interface IOneofDescriptorProto {
  130. name?: string;
  131. options?: any;
  132. }
  133. export interface IServiceDescriptorProto {
  134. name?: string;
  135. method?: IMethodDescriptorProto[];
  136. options?: IServiceOptions;
  137. }
  138. export interface IServiceOptions {
  139. deprecated?: boolean;
  140. }
  141. export interface IMethodDescriptorProto {
  142. name?: string;
  143. inputType?: string;
  144. outputType?: string;
  145. options?: IMethodOptions;
  146. clientStreaming?: boolean;
  147. serverStreaming?: boolean;
  148. }
  149. export interface IMethodOptions {
  150. deprecated?: boolean;
  151. }