@grpc/grpc-js
Version:
gRPC Library for Node - pure JS implementation
37 lines (29 loc) • 1.48 kB
text/typescript
// Original file: null
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';
// Original file: null
export const _google_protobuf_MethodOptions_IdempotencyLevel = {
IDEMPOTENCY_UNKNOWN: 'IDEMPOTENCY_UNKNOWN',
NO_SIDE_EFFECTS: 'NO_SIDE_EFFECTS',
IDEMPOTENT: 'IDEMPOTENT',
} as const;
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)[];
}