grpc-node/packages/proto-loader/golden-generated/google/protobuf/FieldOptions.ts

43 lines
1.5 KiB
TypeScript

// Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
import type { FieldBehavior as _google_api_FieldBehavior } from '../../google/api/FieldBehavior';
// Original file: null
export enum _google_protobuf_FieldOptions_CType {
STRING = 0,
CORD = 1,
STRING_PIECE = 2,
}
// Original file: null
export enum _google_protobuf_FieldOptions_JSType {
JS_NORMAL = 0,
JS_STRING = 1,
JS_NUMBER = 2,
}
export interface FieldOptions {
'ctype'?: (_google_protobuf_FieldOptions_CType | keyof typeof _google_protobuf_FieldOptions_CType);
'packed'?: (boolean);
'deprecated'?: (boolean);
'lazy'?: (boolean);
'jstype'?: (_google_protobuf_FieldOptions_JSType | keyof typeof _google_protobuf_FieldOptions_JSType);
'weak'?: (boolean);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
'.google.api.field_behavior'?: (_google_api_FieldBehavior | keyof typeof _google_api_FieldBehavior)[];
}
export interface FieldOptions__Output {
'ctype': (keyof typeof _google_protobuf_FieldOptions_CType);
'packed': (boolean);
'deprecated': (boolean);
'lazy': (boolean);
'jstype': (keyof typeof _google_protobuf_FieldOptions_JSType);
'weak': (boolean);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
'.google.api.field_behavior': (keyof typeof _google_api_FieldBehavior)[];
}