basant307/AI_Governance_Project
048
1import * as $protobuf from "../..";2import Long = require("long");3export const FileDescriptorSet: $protobuf.Type;4 5export const FileDescriptorProto: $protobuf.Type;6 7export const DescriptorProto: $protobuf.Type & {8 ExtensionRange: $protobuf.Type,9 ReservedRange: $protobuf.Type10};11 12export const FieldDescriptorProto: $protobuf.Type & {13 Label: $protobuf.Enum,14 Type: $protobuf.Enum15};16 17export const OneofDescriptorProto: $protobuf.Type;18 19export const EnumDescriptorProto: $protobuf.Type;20 21export const ServiceDescriptorProto: $protobuf.Type;22 23export const EnumValueDescriptorProto: $protobuf.Type;24 25export const MethodDescriptorProto: $protobuf.Type;26 27export const FileOptions: $protobuf.Type & {28 OptimizeMode: $protobuf.Enum29};30 31export const MessageOptions: $protobuf.Type;32 33export const FieldOptions: $protobuf.Type & {34 CType: $protobuf.Enum,35 JSType: $protobuf.Enum36};37 38export const OneofOptions: $protobuf.Type;39 40export const EnumOptions: $protobuf.Type;41 42export const EnumValueOptions: $protobuf.Type;43 44export const ServiceOptions: $protobuf.Type;45 46export const MethodOptions: $protobuf.Type;47 48export const UninterpretedOption: $protobuf.Type & {49 NamePart: $protobuf.Type50};51 52export const SourceCodeInfo: $protobuf.Type & {53 Location: $protobuf.Type54};55 56export const GeneratedCodeInfo: $protobuf.Type & {57 Annotation: $protobuf.Type58};59 60export interface IFileDescriptorSet {61 file: IFileDescriptorProto[];62}63 64export interface IFileDescriptorProto {65 name?: string;66 package?: string;67 dependency?: any;68 publicDependency?: any;69 weakDependency?: any;70 messageType?: IDescriptorProto[];71 enumType?: IEnumDescriptorProto[];72 service?: IServiceDescriptorProto[];73 extension?: IFieldDescriptorProto[];74 options?: IFileOptions;75 sourceCodeInfo?: any;76 syntax?: string;77 edition?: IEdition;78}79 80type IEdition = number;81 82export interface IFileOptions {83 javaPackage?: string;84 javaOuterClassname?: string;85 javaMultipleFiles?: boolean;86 javaGenerateEqualsAndHash?: boolean;87 javaStringCheckUtf8?: boolean;88 optimizeFor?: IFileOptionsOptimizeMode;89 goPackage?: string;90 ccGenericServices?: boolean;91 javaGenericServices?: boolean;92 pyGenericServices?: boolean;93 deprecated?: boolean;94 ccEnableArenas?: boolean;95 objcClassPrefix?: string;96 csharpNamespace?: string;97}98 99type IFileOptionsOptimizeMode = number;100 101export interface IDescriptorProto {102 name?: string;103 field?: IFieldDescriptorProto[];104 extension?: IFieldDescriptorProto[];105 nestedType?: IDescriptorProto[];106 enumType?: IEnumDescriptorProto[];107 extensionRange?: IDescriptorProtoExtensionRange[];108 oneofDecl?: IOneofDescriptorProto[];109 options?: IMessageOptions;110 reservedRange?: IDescriptorProtoReservedRange[];111 reservedName?: string[];112}113 114export interface IMessageOptions {115 mapEntry?: boolean;116}117 118export interface IDescriptorProtoExtensionRange {119 start?: number;120 end?: number;121}122 123export interface IDescriptorProtoReservedRange {124 start?: number;125 end?: number;126}127 128export interface IFieldDescriptorProto {129 name?: string;130 number?: number;131 label?: IFieldDescriptorProtoLabel;132 type?: IFieldDescriptorProtoType;133 typeName?: string;134 extendee?: string;135 defaultValue?: string;136 oneofIndex?: number;137 jsonName?: any;138 options?: IFieldOptions;139}140 141type IFieldDescriptorProtoLabel = number;142 143type IFieldDescriptorProtoType = number;144 145export interface IFieldOptions {146 packed?: boolean;147 jstype?: IFieldOptionsJSType;148}149 150type IFieldOptionsJSType = number;151 152export interface IEnumDescriptorProto {153 name?: string;154 value?: IEnumValueDescriptorProto[];155 options?: IEnumOptions;156}157 158export interface IEnumValueDescriptorProto {159 name?: string;160 number?: number;161 options?: any;162}163 164export interface IEnumOptions {165 allowAlias?: boolean;166 deprecated?: boolean;167}168 169export interface IOneofDescriptorProto {170 name?: string;171 options?: any;172}173 174export interface IServiceDescriptorProto {175 name?: string;176 method?: IMethodDescriptorProto[];177 options?: IServiceOptions;178}179 180export interface IServiceOptions {181 deprecated?: boolean;182}183 184export interface IMethodDescriptorProto {185 name?: string;186 inputType?: string;187 outputType?: string;188 options?: IMethodOptions;189 clientStreaming?: boolean;190 serverStreaming?: boolean;191}192 193export interface IMethodOptions {194 deprecated?: boolean;195}196 