@grpc/grpc-js
Version:
gRPC Library for Node - pure JS implementation
62 lines (61 loc) • 2.59 kB
TypeScript
import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
export declare const _google_protobuf_FileOptions_OptimizeMode: {
readonly SPEED: "SPEED";
readonly CODE_SIZE: "CODE_SIZE";
readonly LITE_RUNTIME: "LITE_RUNTIME";
};
export type _google_protobuf_FileOptions_OptimizeMode = 'SPEED' | 1 | 'CODE_SIZE' | 2 | 'LITE_RUNTIME' | 3;
export type _google_protobuf_FileOptions_OptimizeMode__Output = typeof _google_protobuf_FileOptions_OptimizeMode[keyof typeof _google_protobuf_FileOptions_OptimizeMode];
export interface FileOptions {
'javaPackage'?: (string);
'javaOuterClassname'?: (string);
'optimizeFor'?: (_google_protobuf_FileOptions_OptimizeMode);
'javaMultipleFiles'?: (boolean);
'goPackage'?: (string);
'ccGenericServices'?: (boolean);
'javaGenericServices'?: (boolean);
'pyGenericServices'?: (boolean);
/**
* @deprecated
*/
'javaGenerateEqualsAndHash'?: (boolean);
'deprecated'?: (boolean);
'javaStringCheckUtf8'?: (boolean);
'ccEnableArenas'?: (boolean);
'objcClassPrefix'?: (string);
'csharpNamespace'?: (string);
'swiftPrefix'?: (string);
'phpClassPrefix'?: (string);
'phpNamespace'?: (string);
'phpMetadataNamespace'?: (string);
'rubyPackage'?: (string);
'features'?: (_google_protobuf_FeatureSet | null);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
}
export interface FileOptions__Output {
'javaPackage': (string);
'javaOuterClassname': (string);
'optimizeFor': (_google_protobuf_FileOptions_OptimizeMode__Output);
'javaMultipleFiles': (boolean);
'goPackage': (string);
'ccGenericServices': (boolean);
'javaGenericServices': (boolean);
'pyGenericServices': (boolean);
/**
* @deprecated
*/
'javaGenerateEqualsAndHash': (boolean);
'deprecated': (boolean);
'javaStringCheckUtf8': (boolean);
'ccEnableArenas': (boolean);
'objcClassPrefix': (string);
'csharpNamespace': (string);
'swiftPrefix': (string);
'phpClassPrefix': (string);
'phpNamespace': (string);
'phpMetadataNamespace': (string);
'rubyPackage': (string);
'features': (_google_protobuf_FeatureSet__Output | null);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
}