UNPKG

@grpc/grpc-js

Version:

gRPC Library for Node - pure JS implementation

34 lines (33 loc) 1.32 kB
import type { Long } from '@grpc/proto-loader'; export interface GetServersRequest { /** * start_server_id indicates that only servers at or above this id should be * included in the results. * To request the first page, this must be set to 0. To request * subsequent pages, the client generates this value by adding 1 to * the highest seen result ID. */ 'start_server_id'?: (number | string | Long); /** * If non-zero, the server will return a page of results containing * at most this many items. If zero, the server will choose a * reasonable page size. Must never be negative. */ 'max_results'?: (number | string | Long); } export interface GetServersRequest__Output { /** * start_server_id indicates that only servers at or above this id should be * included in the results. * To request the first page, this must be set to 0. To request * subsequent pages, the client generates this value by adding 1 to * the highest seen result ID. */ 'start_server_id': (string); /** * If non-zero, the server will return a page of results containing * at most this many items. If zero, the server will choose a * reasonable page size. Must never be negative. */ 'max_results': (string); }