mirror of https://github.com/grpc/grpc-node.git
64 lines
1.9 KiB
TypeScript
64 lines
1.9 KiB
TypeScript
// Original file: null
|
|
|
|
import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
|
|
|
|
// Original file: null
|
|
|
|
export const _google_protobuf_FileOptions_OptimizeMode = {
|
|
SPEED: 'SPEED',
|
|
CODE_SIZE: 'CODE_SIZE',
|
|
LITE_RUNTIME: 'LITE_RUNTIME',
|
|
} as const;
|
|
|
|
export type I_google_protobuf_FileOptions_OptimizeMode =
|
|
| 'SPEED'
|
|
| 1
|
|
| 'CODE_SIZE'
|
|
| 2
|
|
| 'LITE_RUNTIME'
|
|
| 3
|
|
|
|
export type O_google_protobuf_FileOptions_OptimizeMode = typeof _google_protobuf_FileOptions_OptimizeMode[keyof typeof _google_protobuf_FileOptions_OptimizeMode]
|
|
|
|
export interface IFileOptions {
|
|
'javaPackage'?: (string);
|
|
'javaOuterClassname'?: (string);
|
|
'optimizeFor'?: (I_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);
|
|
'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
|
|
}
|
|
|
|
export interface OFileOptions {
|
|
'javaPackage': (string);
|
|
'javaOuterClassname': (string);
|
|
'optimizeFor': (O_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);
|
|
'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
|
|
}
|