UNPKG

@grpc/grpc-js

Version:

gRPC Library for Node - pure JS implementation

22 lines (21 loc) 1.46 kB
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_MethodOptions_IdempotencyLevel: { readonly IDEMPOTENCY_UNKNOWN: "IDEMPOTENCY_UNKNOWN"; readonly NO_SIDE_EFFECTS: "NO_SIDE_EFFECTS"; readonly IDEMPOTENT: "IDEMPOTENT"; }; export type _google_protobuf_MethodOptions_IdempotencyLevel = 'IDEMPOTENCY_UNKNOWN' | 0 | 'NO_SIDE_EFFECTS' | 1 | 'IDEMPOTENT' | 2; export type _google_protobuf_MethodOptions_IdempotencyLevel__Output = typeof _google_protobuf_MethodOptions_IdempotencyLevel[keyof typeof _google_protobuf_MethodOptions_IdempotencyLevel]; export interface MethodOptions { 'deprecated'?: (boolean); 'idempotencyLevel'?: (_google_protobuf_MethodOptions_IdempotencyLevel); 'features'?: (_google_protobuf_FeatureSet | null); 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; } export interface MethodOptions__Output { 'deprecated': (boolean); 'idempotencyLevel': (_google_protobuf_MethodOptions_IdempotencyLevel__Output); 'features': (_google_protobuf_FeatureSet__Output | null); 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; }