Update golden tests - use input/output templates

This commit is contained in:
install 2022-09-07 09:59:22 -04:00
parent bc66ebf62f
commit d81ec8e532
49 changed files with 393 additions and 393 deletions

View File

@ -4,7 +4,7 @@
/** /**
* A custom pattern is used for defining custom HTTP verb. * A custom pattern is used for defining custom HTTP verb.
*/ */
export interface CustomHttpPattern { export interface ICustomHttpPattern {
/** /**
* The name of this custom HTTP verb. * The name of this custom HTTP verb.
*/ */
@ -18,7 +18,7 @@ export interface CustomHttpPattern {
/** /**
* A custom pattern is used for defining custom HTTP verb. * A custom pattern is used for defining custom HTTP verb.
*/ */
export interface CustomHttpPattern__Output { export interface OCustomHttpPattern {
/** /**
* The name of this custom HTTP verb. * The name of this custom HTTP verb.
*/ */

View File

@ -1,19 +1,19 @@
// Original file: deps/googleapis/google/api/http.proto // Original file: deps/googleapis/google/api/http.proto
import type { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule';
/** /**
* Defines the HTTP configuration for an API service. It contains a list of * Defines the HTTP configuration for an API service. It contains a list of
* [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
* to one or more HTTP REST API methods. * to one or more HTTP REST API methods.
*/ */
export interface Http { export interface IHttp {
/** /**
* A list of HTTP configuration rules that apply to individual API methods. * A list of HTTP configuration rules that apply to individual API methods.
* *
* **NOTE:** All service configuration rules follow "last one wins" order. * **NOTE:** All service configuration rules follow "last one wins" order.
*/ */
'rules'?: (_google_api_HttpRule)[]; 'rules'?: (I_google_api_HttpRule)[];
/** /**
* When set to true, URL path parameters will be fully URI-decoded except in * When set to true, URL path parameters will be fully URI-decoded except in
* cases of single segment matches in reserved expansion, where "%2F" will be * cases of single segment matches in reserved expansion, where "%2F" will be
@ -30,13 +30,13 @@ export interface Http {
* [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
* to one or more HTTP REST API methods. * to one or more HTTP REST API methods.
*/ */
export interface Http__Output { export interface OHttp {
/** /**
* A list of HTTP configuration rules that apply to individual API methods. * A list of HTTP configuration rules that apply to individual API methods.
* *
* **NOTE:** All service configuration rules follow "last one wins" order. * **NOTE:** All service configuration rules follow "last one wins" order.
*/ */
'rules': (_google_api_HttpRule__Output)[]; 'rules': (O_google_api_HttpRule)[];
/** /**
* When set to true, URL path parameters will be fully URI-decoded except in * When set to true, URL path parameters will be fully URI-decoded except in
* cases of single segment matches in reserved expansion, where "%2F" will be * cases of single segment matches in reserved expansion, where "%2F" will be

View File

@ -1,7 +1,7 @@
// Original file: deps/googleapis/google/api/http.proto // Original file: deps/googleapis/google/api/http.proto
import type { CustomHttpPattern as _google_api_CustomHttpPattern, CustomHttpPattern__Output as _google_api_CustomHttpPattern__Output } from '../../google/api/CustomHttpPattern'; import type { ICustomHttpPattern as I_google_api_CustomHttpPattern, OCustomHttpPattern as O_google_api_CustomHttpPattern } from '../../google/api/CustomHttpPattern';
import type { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule';
/** /**
* # gRPC Transcoding * # gRPC Transcoding
@ -274,7 +274,7 @@ import type { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_
* the request or response body to a repeated field. However, some gRPC * the request or response body to a repeated field. However, some gRPC
* Transcoding implementations may not support this feature. * Transcoding implementations may not support this feature.
*/ */
export interface HttpRule { export interface IHttpRule {
/** /**
* Selects a method to which this rule applies. * Selects a method to which this rule applies.
* *
@ -317,13 +317,13 @@ export interface HttpRule {
* HTTP method unspecified for this rule. The wild-card rule is useful * HTTP method unspecified for this rule. The wild-card rule is useful
* for services that provide content to Web (HTML) clients. * for services that provide content to Web (HTML) clients.
*/ */
'custom'?: (_google_api_CustomHttpPattern | null); 'custom'?: (I_google_api_CustomHttpPattern | null);
/** /**
* Additional HTTP bindings for the selector. Nested bindings must * Additional HTTP bindings for the selector. Nested bindings must
* not contain an `additional_bindings` field themselves (that is, * not contain an `additional_bindings` field themselves (that is,
* the nesting may only be one level deep). * the nesting may only be one level deep).
*/ */
'additional_bindings'?: (_google_api_HttpRule)[]; 'additional_bindings'?: (I_google_api_HttpRule)[];
/** /**
* Optional. The name of the response field whose value is mapped to the HTTP * Optional. The name of the response field whose value is mapped to the HTTP
* response body. When omitted, the entire response message will be used * response body. When omitted, the entire response message will be used
@ -612,7 +612,7 @@ export interface HttpRule {
* the request or response body to a repeated field. However, some gRPC * the request or response body to a repeated field. However, some gRPC
* Transcoding implementations may not support this feature. * Transcoding implementations may not support this feature.
*/ */
export interface HttpRule__Output { export interface OHttpRule {
/** /**
* Selects a method to which this rule applies. * Selects a method to which this rule applies.
* *
@ -655,13 +655,13 @@ export interface HttpRule__Output {
* HTTP method unspecified for this rule. The wild-card rule is useful * HTTP method unspecified for this rule. The wild-card rule is useful
* for services that provide content to Web (HTML) clients. * for services that provide content to Web (HTML) clients.
*/ */
'custom'?: (_google_api_CustomHttpPattern__Output | null); 'custom'?: (O_google_api_CustomHttpPattern | null);
/** /**
* Additional HTTP bindings for the selector. Nested bindings must * Additional HTTP bindings for the selector. Nested bindings must
* not contain an `additional_bindings` field themselves (that is, * not contain an `additional_bindings` field themselves (that is,
* the nesting may only be one level deep). * the nesting may only be one level deep).
*/ */
'additional_bindings': (_google_api_HttpRule__Output)[]; 'additional_bindings': (O_google_api_HttpRule)[];
/** /**
* Optional. The name of the response field whose value is mapped to the HTTP * Optional. The name of the response field whose value is mapped to the HTTP
* response body. When omitted, the entire response message will be used * response body. When omitted, the entire response message will be used

View File

@ -4,7 +4,7 @@
/** /**
* The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. * The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
*/ */
export interface CancelOperationRequest { export interface ICancelOperationRequest {
/** /**
* The name of the operation resource to be cancelled. * The name of the operation resource to be cancelled.
*/ */
@ -14,7 +14,7 @@ export interface CancelOperationRequest {
/** /**
* The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. * The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
*/ */
export interface CancelOperationRequest__Output { export interface OCancelOperationRequest {
/** /**
* The name of the operation resource to be cancelled. * The name of the operation resource to be cancelled.
*/ */

View File

@ -4,7 +4,7 @@
/** /**
* The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. * The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
*/ */
export interface DeleteOperationRequest { export interface IDeleteOperationRequest {
/** /**
* The name of the operation resource to be deleted. * The name of the operation resource to be deleted.
*/ */
@ -14,7 +14,7 @@ export interface DeleteOperationRequest {
/** /**
* The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. * The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
*/ */
export interface DeleteOperationRequest__Output { export interface ODeleteOperationRequest {
/** /**
* The name of the operation resource to be deleted. * The name of the operation resource to be deleted.
*/ */

View File

@ -4,7 +4,7 @@
/** /**
* The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation]. * The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation].
*/ */
export interface GetOperationRequest { export interface IGetOperationRequest {
/** /**
* The name of the operation resource. * The name of the operation resource.
*/ */
@ -14,7 +14,7 @@ export interface GetOperationRequest {
/** /**
* The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation]. * The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation].
*/ */
export interface GetOperationRequest__Output { export interface OGetOperationRequest {
/** /**
* The name of the operation resource. * The name of the operation resource.
*/ */

View File

@ -4,7 +4,7 @@
/** /**
* The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. * The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
*/ */
export interface ListOperationsRequest { export interface IListOperationsRequest {
/** /**
* The standard list filter. * The standard list filter.
*/ */
@ -26,7 +26,7 @@ export interface ListOperationsRequest {
/** /**
* The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. * The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
*/ */
export interface ListOperationsRequest__Output { export interface OListOperationsRequest {
/** /**
* The standard list filter. * The standard list filter.
*/ */

View File

@ -1,15 +1,15 @@
// Original file: deps/googleapis/google/longrunning/operations.proto // Original file: deps/googleapis/google/longrunning/operations.proto
import type { Operation as _google_longrunning_Operation, Operation__Output as _google_longrunning_Operation__Output } from '../../google/longrunning/Operation'; import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../google/longrunning/Operation';
/** /**
* The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. * The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
*/ */
export interface ListOperationsResponse { export interface IListOperationsResponse {
/** /**
* A list of operations that matches the specified filter in the request. * A list of operations that matches the specified filter in the request.
*/ */
'operations'?: (_google_longrunning_Operation)[]; 'operations'?: (I_google_longrunning_Operation)[];
/** /**
* The standard List next-page token. * The standard List next-page token.
*/ */
@ -19,11 +19,11 @@ export interface ListOperationsResponse {
/** /**
* The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. * The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
*/ */
export interface ListOperationsResponse__Output { export interface OListOperationsResponse {
/** /**
* A list of operations that matches the specified filter in the request. * A list of operations that matches the specified filter in the request.
*/ */
'operations': (_google_longrunning_Operation__Output)[]; 'operations': (O_google_longrunning_Operation)[];
/** /**
* The standard List next-page token. * The standard List next-page token.
*/ */

View File

@ -1,13 +1,13 @@
// Original file: deps/googleapis/google/longrunning/operations.proto // Original file: deps/googleapis/google/longrunning/operations.proto
import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../google/protobuf/Any'; import type { IAny as I_google_protobuf_Any, OAny as O_google_protobuf_Any } from '../../google/protobuf/Any';
import type { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../google/rpc/Status'; import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../google/rpc/Status';
/** /**
* This resource represents a long-running operation that is the result of a * This resource represents a long-running operation that is the result of a
* network API call. * network API call.
*/ */
export interface Operation { export interface IOperation {
/** /**
* The server-assigned name, which is only unique within the same service that * The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the * originally returns it. If you use the default HTTP mapping, the
@ -20,7 +20,7 @@ export interface Operation {
* Some services might not provide such metadata. Any method that returns a * Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any. * long-running operation should document the metadata type, if any.
*/ */
'metadata'?: (_google_protobuf_Any | null); 'metadata'?: (I_google_protobuf_Any | null);
/** /**
* If the value is `false`, it means the operation is still in progress. * If the value is `false`, it means the operation is still in progress.
* If `true`, the operation is completed, and either `error` or `response` is * If `true`, the operation is completed, and either `error` or `response` is
@ -30,7 +30,7 @@ export interface Operation {
/** /**
* The error result of the operation in case of failure or cancellation. * The error result of the operation in case of failure or cancellation.
*/ */
'error'?: (_google_rpc_Status | null); 'error'?: (I_google_rpc_Status | null);
/** /**
* The normal response of the operation in case of success. If the original * The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is * method returns no data on success, such as `Delete`, the response is
@ -41,7 +41,7 @@ export interface Operation {
* is `TakeSnapshot()`, the inferred response type is * is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`. * `TakeSnapshotResponse`.
*/ */
'response'?: (_google_protobuf_Any | null); 'response'?: (I_google_protobuf_Any | null);
/** /**
* The operation result, which can be either an `error` or a valid `response`. * The operation result, which can be either an `error` or a valid `response`.
* If `done` == `false`, neither `error` nor `response` is set. * If `done` == `false`, neither `error` nor `response` is set.
@ -54,7 +54,7 @@ export interface Operation {
* This resource represents a long-running operation that is the result of a * This resource represents a long-running operation that is the result of a
* network API call. * network API call.
*/ */
export interface Operation__Output { export interface OOperation {
/** /**
* The server-assigned name, which is only unique within the same service that * The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the * originally returns it. If you use the default HTTP mapping, the
@ -67,7 +67,7 @@ export interface Operation__Output {
* Some services might not provide such metadata. Any method that returns a * Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any. * long-running operation should document the metadata type, if any.
*/ */
'metadata': (_google_protobuf_Any__Output | null); 'metadata': (O_google_protobuf_Any | null);
/** /**
* If the value is `false`, it means the operation is still in progress. * If the value is `false`, it means the operation is still in progress.
* If `true`, the operation is completed, and either `error` or `response` is * If `true`, the operation is completed, and either `error` or `response` is
@ -77,7 +77,7 @@ export interface Operation__Output {
/** /**
* The error result of the operation in case of failure or cancellation. * The error result of the operation in case of failure or cancellation.
*/ */
'error'?: (_google_rpc_Status__Output | null); 'error'?: (O_google_rpc_Status | null);
/** /**
* The normal response of the operation in case of success. If the original * The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is * method returns no data on success, such as `Delete`, the response is
@ -88,7 +88,7 @@ export interface Operation__Output {
* is `TakeSnapshot()`, the inferred response type is * is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`. * `TakeSnapshotResponse`.
*/ */
'response'?: (_google_protobuf_Any__Output | null); 'response'?: (O_google_protobuf_Any | null);
/** /**
* The operation result, which can be either an `error` or a valid `response`. * The operation result, which can be either an `error` or a valid `response`.
* If `done` == `false`, neither `error` nor `response` is set. * If `done` == `false`, neither `error` nor `response` is set.

View File

@ -14,7 +14,7 @@
* }; * };
* } * }
*/ */
export interface OperationInfo { export interface IOperationInfo {
/** /**
* Required. The message name of the primary return type for this * Required. The message name of the primary return type for this
* long-running operation. * long-running operation.
@ -51,7 +51,7 @@ export interface OperationInfo {
* }; * };
* } * }
*/ */
export interface OperationInfo__Output { export interface OOperationInfo {
/** /**
* Required. The message name of the primary return type for this * Required. The message name of the primary return type for this
* long-running operation. * long-running operation.

View File

@ -2,14 +2,14 @@
import type * as grpc from '@grpc/grpc-js' import type * as grpc from '@grpc/grpc-js'
import type { MethodDefinition } from '@grpc/proto-loader' import type { MethodDefinition } from '@grpc/proto-loader'
import type { CancelOperationRequest as _google_longrunning_CancelOperationRequest, CancelOperationRequest__Output as _google_longrunning_CancelOperationRequest__Output } from '../../google/longrunning/CancelOperationRequest'; import type { ICancelOperationRequest as I_google_longrunning_CancelOperationRequest, OCancelOperationRequest as O_google_longrunning_CancelOperationRequest } from '../../google/longrunning/CancelOperationRequest';
import type { DeleteOperationRequest as _google_longrunning_DeleteOperationRequest, DeleteOperationRequest__Output as _google_longrunning_DeleteOperationRequest__Output } from '../../google/longrunning/DeleteOperationRequest'; import type { IDeleteOperationRequest as I_google_longrunning_DeleteOperationRequest, ODeleteOperationRequest as O_google_longrunning_DeleteOperationRequest } from '../../google/longrunning/DeleteOperationRequest';
import type { Empty as _google_protobuf_Empty, Empty__Output as _google_protobuf_Empty__Output } from '../../google/protobuf/Empty'; import type { IEmpty as I_google_protobuf_Empty, OEmpty as O_google_protobuf_Empty } from '../../google/protobuf/Empty';
import type { GetOperationRequest as _google_longrunning_GetOperationRequest, GetOperationRequest__Output as _google_longrunning_GetOperationRequest__Output } from '../../google/longrunning/GetOperationRequest'; import type { IGetOperationRequest as I_google_longrunning_GetOperationRequest, OGetOperationRequest as O_google_longrunning_GetOperationRequest } from '../../google/longrunning/GetOperationRequest';
import type { ListOperationsRequest as _google_longrunning_ListOperationsRequest, ListOperationsRequest__Output as _google_longrunning_ListOperationsRequest__Output } from '../../google/longrunning/ListOperationsRequest'; import type { IListOperationsRequest as I_google_longrunning_ListOperationsRequest, OListOperationsRequest as O_google_longrunning_ListOperationsRequest } from '../../google/longrunning/ListOperationsRequest';
import type { ListOperationsResponse as _google_longrunning_ListOperationsResponse, ListOperationsResponse__Output as _google_longrunning_ListOperationsResponse__Output } from '../../google/longrunning/ListOperationsResponse'; import type { IListOperationsResponse as I_google_longrunning_ListOperationsResponse, OListOperationsResponse as O_google_longrunning_ListOperationsResponse } from '../../google/longrunning/ListOperationsResponse';
import type { Operation as _google_longrunning_Operation, Operation__Output as _google_longrunning_Operation__Output } from '../../google/longrunning/Operation'; import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../google/longrunning/Operation';
import type { WaitOperationRequest as _google_longrunning_WaitOperationRequest, WaitOperationRequest__Output as _google_longrunning_WaitOperationRequest__Output } from '../../google/longrunning/WaitOperationRequest'; import type { IWaitOperationRequest as I_google_longrunning_WaitOperationRequest, OWaitOperationRequest as O_google_longrunning_WaitOperationRequest } from '../../google/longrunning/WaitOperationRequest';
/** /**
* Manages long-running operations with an API service. * Manages long-running operations with an API service.
@ -35,10 +35,10 @@ export interface OperationsClient extends grpc.Client {
* an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, * an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
* corresponding to `Code.CANCELLED`. * corresponding to `Code.CANCELLED`.
*/ */
CancelOperation(argument: _google_longrunning_CancelOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; CancelOperation(argument: I_google_longrunning_CancelOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
CancelOperation(argument: _google_longrunning_CancelOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; CancelOperation(argument: I_google_longrunning_CancelOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
CancelOperation(argument: _google_longrunning_CancelOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; CancelOperation(argument: I_google_longrunning_CancelOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
CancelOperation(argument: _google_longrunning_CancelOperationRequest, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; CancelOperation(argument: I_google_longrunning_CancelOperationRequest, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
/** /**
* Starts asynchronous cancellation on a long-running operation. The server * Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not * makes a best effort to cancel the operation, but success is not
@ -51,10 +51,10 @@ export interface OperationsClient extends grpc.Client {
* an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, * an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
* corresponding to `Code.CANCELLED`. * corresponding to `Code.CANCELLED`.
*/ */
cancelOperation(argument: _google_longrunning_CancelOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; cancelOperation(argument: I_google_longrunning_CancelOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
cancelOperation(argument: _google_longrunning_CancelOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; cancelOperation(argument: I_google_longrunning_CancelOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
cancelOperation(argument: _google_longrunning_CancelOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; cancelOperation(argument: I_google_longrunning_CancelOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
cancelOperation(argument: _google_longrunning_CancelOperationRequest, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; cancelOperation(argument: I_google_longrunning_CancelOperationRequest, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
/** /**
* Deletes a long-running operation. This method indicates that the client is * Deletes a long-running operation. This method indicates that the client is
@ -62,39 +62,39 @@ export interface OperationsClient extends grpc.Client {
* operation. If the server doesn't support this method, it returns * operation. If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. * `google.rpc.Code.UNIMPLEMENTED`.
*/ */
DeleteOperation(argument: _google_longrunning_DeleteOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; DeleteOperation(argument: I_google_longrunning_DeleteOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
DeleteOperation(argument: _google_longrunning_DeleteOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; DeleteOperation(argument: I_google_longrunning_DeleteOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
DeleteOperation(argument: _google_longrunning_DeleteOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; DeleteOperation(argument: I_google_longrunning_DeleteOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
DeleteOperation(argument: _google_longrunning_DeleteOperationRequest, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; DeleteOperation(argument: I_google_longrunning_DeleteOperationRequest, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
/** /**
* Deletes a long-running operation. This method indicates that the client is * Deletes a long-running operation. This method indicates that the client is
* no longer interested in the operation result. It does not cancel the * no longer interested in the operation result. It does not cancel the
* operation. If the server doesn't support this method, it returns * operation. If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. * `google.rpc.Code.UNIMPLEMENTED`.
*/ */
deleteOperation(argument: _google_longrunning_DeleteOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; deleteOperation(argument: I_google_longrunning_DeleteOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
deleteOperation(argument: _google_longrunning_DeleteOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; deleteOperation(argument: I_google_longrunning_DeleteOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
deleteOperation(argument: _google_longrunning_DeleteOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; deleteOperation(argument: I_google_longrunning_DeleteOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
deleteOperation(argument: _google_longrunning_DeleteOperationRequest, callback: grpc.requestCallback<_google_protobuf_Empty__Output>): grpc.ClientUnaryCall; deleteOperation(argument: I_google_longrunning_DeleteOperationRequest, callback: grpc.requestCallback<O_google_protobuf_Empty>): grpc.ClientUnaryCall;
/** /**
* Gets the latest state of a long-running operation. Clients can use this * Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API * method to poll the operation result at intervals as recommended by the API
* service. * service.
*/ */
GetOperation(argument: _google_longrunning_GetOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; GetOperation(argument: I_google_longrunning_GetOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
GetOperation(argument: _google_longrunning_GetOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; GetOperation(argument: I_google_longrunning_GetOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
GetOperation(argument: _google_longrunning_GetOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; GetOperation(argument: I_google_longrunning_GetOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
GetOperation(argument: _google_longrunning_GetOperationRequest, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; GetOperation(argument: I_google_longrunning_GetOperationRequest, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
/** /**
* Gets the latest state of a long-running operation. Clients can use this * Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API * method to poll the operation result at intervals as recommended by the API
* service. * service.
*/ */
getOperation(argument: _google_longrunning_GetOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; getOperation(argument: I_google_longrunning_GetOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
getOperation(argument: _google_longrunning_GetOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; getOperation(argument: I_google_longrunning_GetOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
getOperation(argument: _google_longrunning_GetOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; getOperation(argument: I_google_longrunning_GetOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
getOperation(argument: _google_longrunning_GetOperationRequest, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; getOperation(argument: I_google_longrunning_GetOperationRequest, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
/** /**
* Lists operations that match the specified filter in the request. If the * Lists operations that match the specified filter in the request. If the
@ -108,10 +108,10 @@ export interface OperationsClient extends grpc.Client {
* collection id, however overriding users must ensure the name binding * collection id, however overriding users must ensure the name binding
* is the parent resource, without the operations collection id. * is the parent resource, without the operations collection id.
*/ */
ListOperations(argument: _google_longrunning_ListOperationsRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_ListOperationsResponse__Output>): grpc.ClientUnaryCall; ListOperations(argument: I_google_longrunning_ListOperationsRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_ListOperationsResponse>): grpc.ClientUnaryCall;
ListOperations(argument: _google_longrunning_ListOperationsRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_longrunning_ListOperationsResponse__Output>): grpc.ClientUnaryCall; ListOperations(argument: I_google_longrunning_ListOperationsRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_longrunning_ListOperationsResponse>): grpc.ClientUnaryCall;
ListOperations(argument: _google_longrunning_ListOperationsRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_ListOperationsResponse__Output>): grpc.ClientUnaryCall; ListOperations(argument: I_google_longrunning_ListOperationsRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_ListOperationsResponse>): grpc.ClientUnaryCall;
ListOperations(argument: _google_longrunning_ListOperationsRequest, callback: grpc.requestCallback<_google_longrunning_ListOperationsResponse__Output>): grpc.ClientUnaryCall; ListOperations(argument: I_google_longrunning_ListOperationsRequest, callback: grpc.requestCallback<O_google_longrunning_ListOperationsResponse>): grpc.ClientUnaryCall;
/** /**
* Lists operations that match the specified filter in the request. If the * Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`. * server doesn't support this method, it returns `UNIMPLEMENTED`.
@ -124,10 +124,10 @@ export interface OperationsClient extends grpc.Client {
* collection id, however overriding users must ensure the name binding * collection id, however overriding users must ensure the name binding
* is the parent resource, without the operations collection id. * is the parent resource, without the operations collection id.
*/ */
listOperations(argument: _google_longrunning_ListOperationsRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_ListOperationsResponse__Output>): grpc.ClientUnaryCall; listOperations(argument: I_google_longrunning_ListOperationsRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_ListOperationsResponse>): grpc.ClientUnaryCall;
listOperations(argument: _google_longrunning_ListOperationsRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_longrunning_ListOperationsResponse__Output>): grpc.ClientUnaryCall; listOperations(argument: I_google_longrunning_ListOperationsRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_longrunning_ListOperationsResponse>): grpc.ClientUnaryCall;
listOperations(argument: _google_longrunning_ListOperationsRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_ListOperationsResponse__Output>): grpc.ClientUnaryCall; listOperations(argument: I_google_longrunning_ListOperationsRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_ListOperationsResponse>): grpc.ClientUnaryCall;
listOperations(argument: _google_longrunning_ListOperationsRequest, callback: grpc.requestCallback<_google_longrunning_ListOperationsResponse__Output>): grpc.ClientUnaryCall; listOperations(argument: I_google_longrunning_ListOperationsRequest, callback: grpc.requestCallback<O_google_longrunning_ListOperationsResponse>): grpc.ClientUnaryCall;
/** /**
* Waits for the specified long-running operation until it is done or reaches * Waits for the specified long-running operation until it is done or reaches
@ -140,10 +140,10 @@ export interface OperationsClient extends grpc.Client {
* state before the specified timeout (including immediately), meaning even an * state before the specified timeout (including immediately), meaning even an
* immediate response is no guarantee that the operation is done. * immediate response is no guarantee that the operation is done.
*/ */
WaitOperation(argument: _google_longrunning_WaitOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; WaitOperation(argument: I_google_longrunning_WaitOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
WaitOperation(argument: _google_longrunning_WaitOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; WaitOperation(argument: I_google_longrunning_WaitOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
WaitOperation(argument: _google_longrunning_WaitOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; WaitOperation(argument: I_google_longrunning_WaitOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
WaitOperation(argument: _google_longrunning_WaitOperationRequest, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; WaitOperation(argument: I_google_longrunning_WaitOperationRequest, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
/** /**
* Waits for the specified long-running operation until it is done or reaches * Waits for the specified long-running operation until it is done or reaches
* at most a specified timeout, returning the latest state. If the operation * at most a specified timeout, returning the latest state. If the operation
@ -155,10 +155,10 @@ export interface OperationsClient extends grpc.Client {
* state before the specified timeout (including immediately), meaning even an * state before the specified timeout (including immediately), meaning even an
* immediate response is no guarantee that the operation is done. * immediate response is no guarantee that the operation is done.
*/ */
waitOperation(argument: _google_longrunning_WaitOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; waitOperation(argument: I_google_longrunning_WaitOperationRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
waitOperation(argument: _google_longrunning_WaitOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; waitOperation(argument: I_google_longrunning_WaitOperationRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
waitOperation(argument: _google_longrunning_WaitOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; waitOperation(argument: I_google_longrunning_WaitOperationRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
waitOperation(argument: _google_longrunning_WaitOperationRequest, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; waitOperation(argument: I_google_longrunning_WaitOperationRequest, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
} }
@ -186,7 +186,7 @@ export interface OperationsHandlers extends grpc.UntypedServiceImplementation {
* an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, * an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
* corresponding to `Code.CANCELLED`. * corresponding to `Code.CANCELLED`.
*/ */
CancelOperation: grpc.handleUnaryCall<_google_longrunning_CancelOperationRequest__Output, _google_protobuf_Empty>; CancelOperation: grpc.handleUnaryCall<O_google_longrunning_CancelOperationRequest, I_google_protobuf_Empty>;
/** /**
* Deletes a long-running operation. This method indicates that the client is * Deletes a long-running operation. This method indicates that the client is
@ -194,14 +194,14 @@ export interface OperationsHandlers extends grpc.UntypedServiceImplementation {
* operation. If the server doesn't support this method, it returns * operation. If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. * `google.rpc.Code.UNIMPLEMENTED`.
*/ */
DeleteOperation: grpc.handleUnaryCall<_google_longrunning_DeleteOperationRequest__Output, _google_protobuf_Empty>; DeleteOperation: grpc.handleUnaryCall<O_google_longrunning_DeleteOperationRequest, I_google_protobuf_Empty>;
/** /**
* Gets the latest state of a long-running operation. Clients can use this * Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API * method to poll the operation result at intervals as recommended by the API
* service. * service.
*/ */
GetOperation: grpc.handleUnaryCall<_google_longrunning_GetOperationRequest__Output, _google_longrunning_Operation>; GetOperation: grpc.handleUnaryCall<O_google_longrunning_GetOperationRequest, I_google_longrunning_Operation>;
/** /**
* Lists operations that match the specified filter in the request. If the * Lists operations that match the specified filter in the request. If the
@ -215,7 +215,7 @@ export interface OperationsHandlers extends grpc.UntypedServiceImplementation {
* collection id, however overriding users must ensure the name binding * collection id, however overriding users must ensure the name binding
* is the parent resource, without the operations collection id. * is the parent resource, without the operations collection id.
*/ */
ListOperations: grpc.handleUnaryCall<_google_longrunning_ListOperationsRequest__Output, _google_longrunning_ListOperationsResponse>; ListOperations: grpc.handleUnaryCall<O_google_longrunning_ListOperationsRequest, I_google_longrunning_ListOperationsResponse>;
/** /**
* Waits for the specified long-running operation until it is done or reaches * Waits for the specified long-running operation until it is done or reaches
@ -228,14 +228,14 @@ export interface OperationsHandlers extends grpc.UntypedServiceImplementation {
* state before the specified timeout (including immediately), meaning even an * state before the specified timeout (including immediately), meaning even an
* immediate response is no guarantee that the operation is done. * immediate response is no guarantee that the operation is done.
*/ */
WaitOperation: grpc.handleUnaryCall<_google_longrunning_WaitOperationRequest__Output, _google_longrunning_Operation>; WaitOperation: grpc.handleUnaryCall<O_google_longrunning_WaitOperationRequest, I_google_longrunning_Operation>;
} }
export interface OperationsDefinition extends grpc.ServiceDefinition { export interface OperationsDefinition extends grpc.ServiceDefinition {
CancelOperation: MethodDefinition<_google_longrunning_CancelOperationRequest, _google_protobuf_Empty, _google_longrunning_CancelOperationRequest__Output, _google_protobuf_Empty__Output> CancelOperation: MethodDefinition<I_google_longrunning_CancelOperationRequest, I_google_protobuf_Empty, O_google_longrunning_CancelOperationRequest, O_google_protobuf_Empty>
DeleteOperation: MethodDefinition<_google_longrunning_DeleteOperationRequest, _google_protobuf_Empty, _google_longrunning_DeleteOperationRequest__Output, _google_protobuf_Empty__Output> DeleteOperation: MethodDefinition<I_google_longrunning_DeleteOperationRequest, I_google_protobuf_Empty, O_google_longrunning_DeleteOperationRequest, O_google_protobuf_Empty>
GetOperation: MethodDefinition<_google_longrunning_GetOperationRequest, _google_longrunning_Operation, _google_longrunning_GetOperationRequest__Output, _google_longrunning_Operation__Output> GetOperation: MethodDefinition<I_google_longrunning_GetOperationRequest, I_google_longrunning_Operation, O_google_longrunning_GetOperationRequest, O_google_longrunning_Operation>
ListOperations: MethodDefinition<_google_longrunning_ListOperationsRequest, _google_longrunning_ListOperationsResponse, _google_longrunning_ListOperationsRequest__Output, _google_longrunning_ListOperationsResponse__Output> ListOperations: MethodDefinition<I_google_longrunning_ListOperationsRequest, I_google_longrunning_ListOperationsResponse, O_google_longrunning_ListOperationsRequest, O_google_longrunning_ListOperationsResponse>
WaitOperation: MethodDefinition<_google_longrunning_WaitOperationRequest, _google_longrunning_Operation, _google_longrunning_WaitOperationRequest__Output, _google_longrunning_Operation__Output> WaitOperation: MethodDefinition<I_google_longrunning_WaitOperationRequest, I_google_longrunning_Operation, O_google_longrunning_WaitOperationRequest, O_google_longrunning_Operation>
} }

View File

@ -1,11 +1,11 @@
// Original file: deps/googleapis/google/longrunning/operations.proto // Original file: deps/googleapis/google/longrunning/operations.proto
import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../google/protobuf/Duration'; import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../google/protobuf/Duration';
/** /**
* The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. * The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
*/ */
export interface WaitOperationRequest { export interface IWaitOperationRequest {
/** /**
* The name of the operation resource to wait on. * The name of the operation resource to wait on.
*/ */
@ -15,13 +15,13 @@ export interface WaitOperationRequest {
* will be at most the time permitted by the underlying HTTP/RPC protocol. * will be at most the time permitted by the underlying HTTP/RPC protocol.
* If RPC context deadline is also specified, the shorter one will be used. * If RPC context deadline is also specified, the shorter one will be used.
*/ */
'timeout'?: (_google_protobuf_Duration | null); 'timeout'?: (I_google_protobuf_Duration | null);
} }
/** /**
* The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. * The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
*/ */
export interface WaitOperationRequest__Output { export interface OWaitOperationRequest {
/** /**
* The name of the operation resource to wait on. * The name of the operation resource to wait on.
*/ */
@ -31,5 +31,5 @@ export interface WaitOperationRequest__Output {
* will be at most the time permitted by the underlying HTTP/RPC protocol. * will be at most the time permitted by the underlying HTTP/RPC protocol.
* If RPC context deadline is also specified, the shorter one will be used. * If RPC context deadline is also specified, the shorter one will be used.
*/ */
'timeout': (_google_protobuf_Duration__Output | null); 'timeout': (O_google_protobuf_Duration | null);
} }

View File

@ -2,12 +2,12 @@
import type { AnyExtension } from '@grpc/proto-loader'; import type { AnyExtension } from '@grpc/proto-loader';
export type Any = AnyExtension | { export type IAny = AnyExtension | {
type_url: string; type_url: string;
value: Buffer | Uint8Array | string; value: Buffer | Uint8Array | string;
} }
export type Any__Output = AnyExtension | { export type OAny = AnyExtension | {
type_url: string; type_url: string;
value: Buffer; value: Buffer;
} }

View File

@ -1,53 +1,53 @@
// Original file: null // Original file: null
import type { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from '../../google/protobuf/FieldDescriptorProto'; import type { IFieldDescriptorProto as I_google_protobuf_FieldDescriptorProto, OFieldDescriptorProto as O_google_protobuf_FieldDescriptorProto } from '../../google/protobuf/FieldDescriptorProto';
import type { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from '../../google/protobuf/DescriptorProto'; import type { IDescriptorProto as I_google_protobuf_DescriptorProto, ODescriptorProto as O_google_protobuf_DescriptorProto } from '../../google/protobuf/DescriptorProto';
import type { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from '../../google/protobuf/EnumDescriptorProto'; import type { IEnumDescriptorProto as I_google_protobuf_EnumDescriptorProto, OEnumDescriptorProto as O_google_protobuf_EnumDescriptorProto } from '../../google/protobuf/EnumDescriptorProto';
import type { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from '../../google/protobuf/MessageOptions'; import type { IMessageOptions as I_google_protobuf_MessageOptions, OMessageOptions as O_google_protobuf_MessageOptions } from '../../google/protobuf/MessageOptions';
import type { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from '../../google/protobuf/OneofDescriptorProto'; import type { IOneofDescriptorProto as I_google_protobuf_OneofDescriptorProto, OOneofDescriptorProto as O_google_protobuf_OneofDescriptorProto } from '../../google/protobuf/OneofDescriptorProto';
export interface _google_protobuf_DescriptorProto_ExtensionRange { export interface I_google_protobuf_DescriptorProto_ExtensionRange {
'start'?: (number); 'start'?: (number);
'end'?: (number); 'end'?: (number);
} }
export interface _google_protobuf_DescriptorProto_ExtensionRange__Output { export interface O_google_protobuf_DescriptorProto_ExtensionRange {
'start': (number); 'start': (number);
'end': (number); 'end': (number);
} }
export interface _google_protobuf_DescriptorProto_ReservedRange { export interface I_google_protobuf_DescriptorProto_ReservedRange {
'start'?: (number); 'start'?: (number);
'end'?: (number); 'end'?: (number);
} }
export interface _google_protobuf_DescriptorProto_ReservedRange__Output { export interface O_google_protobuf_DescriptorProto_ReservedRange {
'start': (number); 'start': (number);
'end': (number); 'end': (number);
} }
export interface DescriptorProto { export interface IDescriptorProto {
'name'?: (string); 'name'?: (string);
'field'?: (_google_protobuf_FieldDescriptorProto)[]; 'field'?: (I_google_protobuf_FieldDescriptorProto)[];
'nestedType'?: (_google_protobuf_DescriptorProto)[]; 'nestedType'?: (I_google_protobuf_DescriptorProto)[];
'enumType'?: (_google_protobuf_EnumDescriptorProto)[]; 'enumType'?: (I_google_protobuf_EnumDescriptorProto)[];
'extensionRange'?: (_google_protobuf_DescriptorProto_ExtensionRange)[]; 'extensionRange'?: (I_google_protobuf_DescriptorProto_ExtensionRange)[];
'extension'?: (_google_protobuf_FieldDescriptorProto)[]; 'extension'?: (I_google_protobuf_FieldDescriptorProto)[];
'options'?: (_google_protobuf_MessageOptions | null); 'options'?: (I_google_protobuf_MessageOptions | null);
'oneofDecl'?: (_google_protobuf_OneofDescriptorProto)[]; 'oneofDecl'?: (I_google_protobuf_OneofDescriptorProto)[];
'reservedRange'?: (_google_protobuf_DescriptorProto_ReservedRange)[]; 'reservedRange'?: (I_google_protobuf_DescriptorProto_ReservedRange)[];
'reservedName'?: (string)[]; 'reservedName'?: (string)[];
} }
export interface DescriptorProto__Output { export interface ODescriptorProto {
'name': (string); 'name': (string);
'field': (_google_protobuf_FieldDescriptorProto__Output)[]; 'field': (O_google_protobuf_FieldDescriptorProto)[];
'nestedType': (_google_protobuf_DescriptorProto__Output)[]; 'nestedType': (O_google_protobuf_DescriptorProto)[];
'enumType': (_google_protobuf_EnumDescriptorProto__Output)[]; 'enumType': (O_google_protobuf_EnumDescriptorProto)[];
'extensionRange': (_google_protobuf_DescriptorProto_ExtensionRange__Output)[]; 'extensionRange': (O_google_protobuf_DescriptorProto_ExtensionRange)[];
'extension': (_google_protobuf_FieldDescriptorProto__Output)[]; 'extension': (O_google_protobuf_FieldDescriptorProto)[];
'options': (_google_protobuf_MessageOptions__Output | null); 'options': (O_google_protobuf_MessageOptions | null);
'oneofDecl': (_google_protobuf_OneofDescriptorProto__Output)[]; 'oneofDecl': (O_google_protobuf_OneofDescriptorProto)[];
'reservedRange': (_google_protobuf_DescriptorProto_ReservedRange__Output)[]; 'reservedRange': (O_google_protobuf_DescriptorProto_ReservedRange)[];
'reservedName': (string)[]; 'reservedName': (string)[];
} }

View File

@ -2,12 +2,12 @@
import type { Long } from '@grpc/proto-loader'; import type { Long } from '@grpc/proto-loader';
export interface Duration { export interface IDuration {
'seconds'?: (number | string | Long); 'seconds'?: (number | string | Long);
'nanos'?: (number); 'nanos'?: (number);
} }
export interface Duration__Output { export interface ODuration {
'seconds': (string); 'seconds': (string);
'nanos': (number); 'nanos': (number);
} }

View File

@ -1,8 +1,8 @@
// Original file: null // Original file: null
export interface Empty { export interface IEmpty {
} }
export interface Empty__Output { export interface OEmpty {
} }

View File

@ -1,16 +1,16 @@
// Original file: null // Original file: null
import type { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from '../../google/protobuf/EnumValueDescriptorProto'; import type { IEnumValueDescriptorProto as I_google_protobuf_EnumValueDescriptorProto, OEnumValueDescriptorProto as O_google_protobuf_EnumValueDescriptorProto } from '../../google/protobuf/EnumValueDescriptorProto';
import type { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from '../../google/protobuf/EnumOptions'; import type { IEnumOptions as I_google_protobuf_EnumOptions, OEnumOptions as O_google_protobuf_EnumOptions } from '../../google/protobuf/EnumOptions';
export interface EnumDescriptorProto { export interface IEnumDescriptorProto {
'name'?: (string); 'name'?: (string);
'value'?: (_google_protobuf_EnumValueDescriptorProto)[]; 'value'?: (I_google_protobuf_EnumValueDescriptorProto)[];
'options'?: (_google_protobuf_EnumOptions | null); 'options'?: (I_google_protobuf_EnumOptions | null);
} }
export interface EnumDescriptorProto__Output { export interface OEnumDescriptorProto {
'name': (string); 'name': (string);
'value': (_google_protobuf_EnumValueDescriptorProto__Output)[]; 'value': (O_google_protobuf_EnumValueDescriptorProto)[];
'options': (_google_protobuf_EnumOptions__Output | null); 'options': (O_google_protobuf_EnumOptions | null);
} }

View File

@ -1,15 +1,15 @@
// Original file: null // Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
export interface EnumOptions { export interface IEnumOptions {
'allowAlias'?: (boolean); 'allowAlias'?: (boolean);
'deprecated'?: (boolean); 'deprecated'?: (boolean);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; 'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
} }
export interface EnumOptions__Output { export interface OEnumOptions {
'allowAlias': (boolean); 'allowAlias': (boolean);
'deprecated': (boolean); 'deprecated': (boolean);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; 'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
} }

View File

@ -1,15 +1,15 @@
// Original file: null // Original file: null
import type { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from '../../google/protobuf/EnumValueOptions'; import type { IEnumValueOptions as I_google_protobuf_EnumValueOptions, OEnumValueOptions as O_google_protobuf_EnumValueOptions } from '../../google/protobuf/EnumValueOptions';
export interface EnumValueDescriptorProto { export interface IEnumValueDescriptorProto {
'name'?: (string); 'name'?: (string);
'number'?: (number); 'number'?: (number);
'options'?: (_google_protobuf_EnumValueOptions | null); 'options'?: (I_google_protobuf_EnumValueOptions | null);
} }
export interface EnumValueDescriptorProto__Output { export interface OEnumValueDescriptorProto {
'name': (string); 'name': (string);
'number': (number); 'number': (number);
'options': (_google_protobuf_EnumValueOptions__Output | null); 'options': (O_google_protobuf_EnumValueOptions | null);
} }

View File

@ -1,13 +1,13 @@
// Original file: null // Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
export interface EnumValueOptions { export interface IEnumValueOptions {
'deprecated'?: (boolean); 'deprecated'?: (boolean);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; 'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
} }
export interface EnumValueOptions__Output { export interface OEnumValueOptions {
'deprecated': (boolean); 'deprecated': (boolean);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; 'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
} }

View File

@ -1,6 +1,6 @@
// Original file: null // Original file: null
import type { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from '../../google/protobuf/FieldOptions'; import type { IFieldOptions as I_google_protobuf_FieldOptions, OFieldOptions as O_google_protobuf_FieldOptions } from '../../google/protobuf/FieldOptions';
// Original file: null // Original file: null
@ -33,7 +33,7 @@ export enum _google_protobuf_FieldDescriptorProto_Type {
TYPE_SINT64 = 18, TYPE_SINT64 = 18,
} }
export interface FieldDescriptorProto { export interface IFieldDescriptorProto {
'name'?: (string); 'name'?: (string);
'extendee'?: (string); 'extendee'?: (string);
'number'?: (number); 'number'?: (number);
@ -41,12 +41,12 @@ export interface FieldDescriptorProto {
'type'?: (_google_protobuf_FieldDescriptorProto_Type | keyof typeof _google_protobuf_FieldDescriptorProto_Type); 'type'?: (_google_protobuf_FieldDescriptorProto_Type | keyof typeof _google_protobuf_FieldDescriptorProto_Type);
'typeName'?: (string); 'typeName'?: (string);
'defaultValue'?: (string); 'defaultValue'?: (string);
'options'?: (_google_protobuf_FieldOptions | null); 'options'?: (I_google_protobuf_FieldOptions | null);
'oneofIndex'?: (number); 'oneofIndex'?: (number);
'jsonName'?: (string); 'jsonName'?: (string);
} }
export interface FieldDescriptorProto__Output { export interface OFieldDescriptorProto {
'name': (string); 'name': (string);
'extendee': (string); 'extendee': (string);
'number': (number); 'number': (number);
@ -54,7 +54,7 @@ export interface FieldDescriptorProto__Output {
'type': (keyof typeof _google_protobuf_FieldDescriptorProto_Type); 'type': (keyof typeof _google_protobuf_FieldDescriptorProto_Type);
'typeName': (string); 'typeName': (string);
'defaultValue': (string); 'defaultValue': (string);
'options': (_google_protobuf_FieldOptions__Output | null); 'options': (O_google_protobuf_FieldOptions | null);
'oneofIndex': (number); 'oneofIndex': (number);
'jsonName': (string); 'jsonName': (string);
} }

View File

@ -1,6 +1,6 @@
// Original file: null // Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
import type { FieldBehavior as _google_api_FieldBehavior } from '../../google/api/FieldBehavior'; import type { FieldBehavior as _google_api_FieldBehavior } from '../../google/api/FieldBehavior';
// Original file: null // Original file: null
@ -19,24 +19,24 @@ export enum _google_protobuf_FieldOptions_JSType {
JS_NUMBER = 2, JS_NUMBER = 2,
} }
export interface FieldOptions { export interface IFieldOptions {
'ctype'?: (_google_protobuf_FieldOptions_CType | keyof typeof _google_protobuf_FieldOptions_CType); 'ctype'?: (_google_protobuf_FieldOptions_CType | keyof typeof _google_protobuf_FieldOptions_CType);
'packed'?: (boolean); 'packed'?: (boolean);
'deprecated'?: (boolean); 'deprecated'?: (boolean);
'lazy'?: (boolean); 'lazy'?: (boolean);
'jstype'?: (_google_protobuf_FieldOptions_JSType | keyof typeof _google_protobuf_FieldOptions_JSType); 'jstype'?: (_google_protobuf_FieldOptions_JSType | keyof typeof _google_protobuf_FieldOptions_JSType);
'weak'?: (boolean); 'weak'?: (boolean);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; 'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
'.google.api.field_behavior'?: (_google_api_FieldBehavior | keyof typeof _google_api_FieldBehavior)[]; '.google.api.field_behavior'?: (_google_api_FieldBehavior | keyof typeof _google_api_FieldBehavior)[];
} }
export interface FieldOptions__Output { export interface OFieldOptions {
'ctype': (keyof typeof _google_protobuf_FieldOptions_CType); 'ctype': (keyof typeof _google_protobuf_FieldOptions_CType);
'packed': (boolean); 'packed': (boolean);
'deprecated': (boolean); 'deprecated': (boolean);
'lazy': (boolean); 'lazy': (boolean);
'jstype': (keyof typeof _google_protobuf_FieldOptions_JSType); 'jstype': (keyof typeof _google_protobuf_FieldOptions_JSType);
'weak': (boolean); 'weak': (boolean);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; 'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
'.google.api.field_behavior': (keyof typeof _google_api_FieldBehavior)[]; '.google.api.field_behavior': (keyof typeof _google_api_FieldBehavior)[];
} }

View File

@ -1,37 +1,37 @@
// Original file: null // Original file: null
import type { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from '../../google/protobuf/DescriptorProto'; import type { IDescriptorProto as I_google_protobuf_DescriptorProto, ODescriptorProto as O_google_protobuf_DescriptorProto } from '../../google/protobuf/DescriptorProto';
import type { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from '../../google/protobuf/EnumDescriptorProto'; import type { IEnumDescriptorProto as I_google_protobuf_EnumDescriptorProto, OEnumDescriptorProto as O_google_protobuf_EnumDescriptorProto } from '../../google/protobuf/EnumDescriptorProto';
import type { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from '../../google/protobuf/ServiceDescriptorProto'; import type { IServiceDescriptorProto as I_google_protobuf_ServiceDescriptorProto, OServiceDescriptorProto as O_google_protobuf_ServiceDescriptorProto } from '../../google/protobuf/ServiceDescriptorProto';
import type { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from '../../google/protobuf/FieldDescriptorProto'; import type { IFieldDescriptorProto as I_google_protobuf_FieldDescriptorProto, OFieldDescriptorProto as O_google_protobuf_FieldDescriptorProto } from '../../google/protobuf/FieldDescriptorProto';
import type { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from '../../google/protobuf/FileOptions'; import type { IFileOptions as I_google_protobuf_FileOptions, OFileOptions as O_google_protobuf_FileOptions } from '../../google/protobuf/FileOptions';
import type { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from '../../google/protobuf/SourceCodeInfo'; import type { ISourceCodeInfo as I_google_protobuf_SourceCodeInfo, OSourceCodeInfo as O_google_protobuf_SourceCodeInfo } from '../../google/protobuf/SourceCodeInfo';
export interface FileDescriptorProto { export interface IFileDescriptorProto {
'name'?: (string); 'name'?: (string);
'package'?: (string); 'package'?: (string);
'dependency'?: (string)[]; 'dependency'?: (string)[];
'messageType'?: (_google_protobuf_DescriptorProto)[]; 'messageType'?: (I_google_protobuf_DescriptorProto)[];
'enumType'?: (_google_protobuf_EnumDescriptorProto)[]; 'enumType'?: (I_google_protobuf_EnumDescriptorProto)[];
'service'?: (_google_protobuf_ServiceDescriptorProto)[]; 'service'?: (I_google_protobuf_ServiceDescriptorProto)[];
'extension'?: (_google_protobuf_FieldDescriptorProto)[]; 'extension'?: (I_google_protobuf_FieldDescriptorProto)[];
'options'?: (_google_protobuf_FileOptions | null); 'options'?: (I_google_protobuf_FileOptions | null);
'sourceCodeInfo'?: (_google_protobuf_SourceCodeInfo | null); 'sourceCodeInfo'?: (I_google_protobuf_SourceCodeInfo | null);
'publicDependency'?: (number)[]; 'publicDependency'?: (number)[];
'weakDependency'?: (number)[]; 'weakDependency'?: (number)[];
'syntax'?: (string); 'syntax'?: (string);
} }
export interface FileDescriptorProto__Output { export interface OFileDescriptorProto {
'name': (string); 'name': (string);
'package': (string); 'package': (string);
'dependency': (string)[]; 'dependency': (string)[];
'messageType': (_google_protobuf_DescriptorProto__Output)[]; 'messageType': (O_google_protobuf_DescriptorProto)[];
'enumType': (_google_protobuf_EnumDescriptorProto__Output)[]; 'enumType': (O_google_protobuf_EnumDescriptorProto)[];
'service': (_google_protobuf_ServiceDescriptorProto__Output)[]; 'service': (O_google_protobuf_ServiceDescriptorProto)[];
'extension': (_google_protobuf_FieldDescriptorProto__Output)[]; 'extension': (O_google_protobuf_FieldDescriptorProto)[];
'options': (_google_protobuf_FileOptions__Output | null); 'options': (O_google_protobuf_FileOptions | null);
'sourceCodeInfo': (_google_protobuf_SourceCodeInfo__Output | null); 'sourceCodeInfo': (O_google_protobuf_SourceCodeInfo | null);
'publicDependency': (number)[]; 'publicDependency': (number)[];
'weakDependency': (number)[]; 'weakDependency': (number)[];
'syntax': (string); 'syntax': (string);

View File

@ -1,11 +1,11 @@
// Original file: null // Original file: null
import type { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from '../../google/protobuf/FileDescriptorProto'; import type { IFileDescriptorProto as I_google_protobuf_FileDescriptorProto, OFileDescriptorProto as O_google_protobuf_FileDescriptorProto } from '../../google/protobuf/FileDescriptorProto';
export interface FileDescriptorSet { export interface IFileDescriptorSet {
'file'?: (_google_protobuf_FileDescriptorProto)[]; 'file'?: (I_google_protobuf_FileDescriptorProto)[];
} }
export interface FileDescriptorSet__Output { export interface OFileDescriptorSet {
'file': (_google_protobuf_FileDescriptorProto__Output)[]; 'file': (O_google_protobuf_FileDescriptorProto)[];
} }

View File

@ -1,6 +1,6 @@
// Original file: null // Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
// Original file: null // Original file: null
@ -10,7 +10,7 @@ export enum _google_protobuf_FileOptions_OptimizeMode {
LITE_RUNTIME = 3, LITE_RUNTIME = 3,
} }
export interface FileOptions { export interface IFileOptions {
'javaPackage'?: (string); 'javaPackage'?: (string);
'javaOuterClassname'?: (string); 'javaOuterClassname'?: (string);
'optimizeFor'?: (_google_protobuf_FileOptions_OptimizeMode | keyof typeof _google_protobuf_FileOptions_OptimizeMode); 'optimizeFor'?: (_google_protobuf_FileOptions_OptimizeMode | keyof typeof _google_protobuf_FileOptions_OptimizeMode);
@ -25,10 +25,10 @@ export interface FileOptions {
'ccEnableArenas'?: (boolean); 'ccEnableArenas'?: (boolean);
'objcClassPrefix'?: (string); 'objcClassPrefix'?: (string);
'csharpNamespace'?: (string); 'csharpNamespace'?: (string);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; 'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
} }
export interface FileOptions__Output { export interface OFileOptions {
'javaPackage': (string); 'javaPackage': (string);
'javaOuterClassname': (string); 'javaOuterClassname': (string);
'optimizeFor': (keyof typeof _google_protobuf_FileOptions_OptimizeMode); 'optimizeFor': (keyof typeof _google_protobuf_FileOptions_OptimizeMode);
@ -43,5 +43,5 @@ export interface FileOptions__Output {
'ccEnableArenas': (boolean); 'ccEnableArenas': (boolean);
'objcClassPrefix': (string); 'objcClassPrefix': (string);
'csharpNamespace': (string); 'csharpNamespace': (string);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; 'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
} }

View File

@ -1,24 +1,24 @@
// Original file: null // Original file: null
export interface _google_protobuf_GeneratedCodeInfo_Annotation { export interface I_google_protobuf_GeneratedCodeInfo_Annotation {
'path'?: (number)[]; 'path'?: (number)[];
'sourceFile'?: (string); 'sourceFile'?: (string);
'begin'?: (number); 'begin'?: (number);
'end'?: (number); 'end'?: (number);
} }
export interface _google_protobuf_GeneratedCodeInfo_Annotation__Output { export interface O_google_protobuf_GeneratedCodeInfo_Annotation {
'path': (number)[]; 'path': (number)[];
'sourceFile': (string); 'sourceFile': (string);
'begin': (number); 'begin': (number);
'end': (number); 'end': (number);
} }
export interface GeneratedCodeInfo { export interface IGeneratedCodeInfo {
'annotation'?: (_google_protobuf_GeneratedCodeInfo_Annotation)[]; 'annotation'?: (I_google_protobuf_GeneratedCodeInfo_Annotation)[];
} }
export interface GeneratedCodeInfo__Output { export interface OGeneratedCodeInfo {
'annotation': (_google_protobuf_GeneratedCodeInfo_Annotation__Output)[]; 'annotation': (O_google_protobuf_GeneratedCodeInfo_Annotation)[];
} }

View File

@ -1,19 +1,19 @@
// Original file: null // Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
export interface MessageOptions { export interface IMessageOptions {
'messageSetWireFormat'?: (boolean); 'messageSetWireFormat'?: (boolean);
'noStandardDescriptorAccessor'?: (boolean); 'noStandardDescriptorAccessor'?: (boolean);
'deprecated'?: (boolean); 'deprecated'?: (boolean);
'mapEntry'?: (boolean); 'mapEntry'?: (boolean);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; 'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
} }
export interface MessageOptions__Output { export interface OMessageOptions {
'messageSetWireFormat': (boolean); 'messageSetWireFormat': (boolean);
'noStandardDescriptorAccessor': (boolean); 'noStandardDescriptorAccessor': (boolean);
'deprecated': (boolean); 'deprecated': (boolean);
'mapEntry': (boolean); 'mapEntry': (boolean);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; 'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
} }

View File

@ -1,21 +1,21 @@
// Original file: null // Original file: null
import type { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from '../../google/protobuf/MethodOptions'; import type { IMethodOptions as I_google_protobuf_MethodOptions, OMethodOptions as O_google_protobuf_MethodOptions } from '../../google/protobuf/MethodOptions';
export interface MethodDescriptorProto { export interface IMethodDescriptorProto {
'name'?: (string); 'name'?: (string);
'inputType'?: (string); 'inputType'?: (string);
'outputType'?: (string); 'outputType'?: (string);
'options'?: (_google_protobuf_MethodOptions | null); 'options'?: (I_google_protobuf_MethodOptions | null);
'clientStreaming'?: (boolean); 'clientStreaming'?: (boolean);
'serverStreaming'?: (boolean); 'serverStreaming'?: (boolean);
} }
export interface MethodDescriptorProto__Output { export interface OMethodDescriptorProto {
'name': (string); 'name': (string);
'inputType': (string); 'inputType': (string);
'outputType': (string); 'outputType': (string);
'options': (_google_protobuf_MethodOptions__Output | null); 'options': (O_google_protobuf_MethodOptions | null);
'clientStreaming': (boolean); 'clientStreaming': (boolean);
'serverStreaming': (boolean); 'serverStreaming': (boolean);
} }

View File

@ -1,21 +1,21 @@
// Original file: null // Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
import type { OperationInfo as _google_longrunning_OperationInfo, OperationInfo__Output as _google_longrunning_OperationInfo__Output } from '../../google/longrunning/OperationInfo'; import type { IOperationInfo as I_google_longrunning_OperationInfo, OOperationInfo as O_google_longrunning_OperationInfo } from '../../google/longrunning/OperationInfo';
import type { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule';
export interface MethodOptions { export interface IMethodOptions {
'deprecated'?: (boolean); 'deprecated'?: (boolean);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; 'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
'.google.longrunning.operation_info'?: (_google_longrunning_OperationInfo | null); '.google.longrunning.operation_info'?: (I_google_longrunning_OperationInfo | null);
'.google.api.method_signature'?: (string)[]; '.google.api.method_signature'?: (string)[];
'.google.api.http'?: (_google_api_HttpRule | null); '.google.api.http'?: (I_google_api_HttpRule | null);
} }
export interface MethodOptions__Output { export interface OMethodOptions {
'deprecated': (boolean); 'deprecated': (boolean);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; 'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
'.google.longrunning.operation_info': (_google_longrunning_OperationInfo__Output | null); '.google.longrunning.operation_info': (O_google_longrunning_OperationInfo | null);
'.google.api.method_signature': (string)[]; '.google.api.method_signature': (string)[];
'.google.api.http': (_google_api_HttpRule__Output | null); '.google.api.http': (O_google_api_HttpRule | null);
} }

View File

@ -1,13 +1,13 @@
// Original file: null // Original file: null
import type { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from '../../google/protobuf/OneofOptions'; import type { IOneofOptions as I_google_protobuf_OneofOptions, OOneofOptions as O_google_protobuf_OneofOptions } from '../../google/protobuf/OneofOptions';
export interface OneofDescriptorProto { export interface IOneofDescriptorProto {
'name'?: (string); 'name'?: (string);
'options'?: (_google_protobuf_OneofOptions | null); 'options'?: (I_google_protobuf_OneofOptions | null);
} }
export interface OneofDescriptorProto__Output { export interface OOneofDescriptorProto {
'name': (string); 'name': (string);
'options': (_google_protobuf_OneofOptions__Output | null); 'options': (O_google_protobuf_OneofOptions | null);
} }

View File

@ -1,11 +1,11 @@
// Original file: null // Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
export interface OneofOptions { export interface IOneofOptions {
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; 'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
} }
export interface OneofOptions__Output { export interface OOneofOptions {
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; 'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
} }

View File

@ -1,16 +1,16 @@
// Original file: null // Original file: null
import type { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from '../../google/protobuf/MethodDescriptorProto'; import type { IMethodDescriptorProto as I_google_protobuf_MethodDescriptorProto, OMethodDescriptorProto as O_google_protobuf_MethodDescriptorProto } from '../../google/protobuf/MethodDescriptorProto';
import type { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from '../../google/protobuf/ServiceOptions'; import type { IServiceOptions as I_google_protobuf_ServiceOptions, OServiceOptions as O_google_protobuf_ServiceOptions } from '../../google/protobuf/ServiceOptions';
export interface ServiceDescriptorProto { export interface IServiceDescriptorProto {
'name'?: (string); 'name'?: (string);
'method'?: (_google_protobuf_MethodDescriptorProto)[]; 'method'?: (I_google_protobuf_MethodDescriptorProto)[];
'options'?: (_google_protobuf_ServiceOptions | null); 'options'?: (I_google_protobuf_ServiceOptions | null);
} }
export interface ServiceDescriptorProto__Output { export interface OServiceDescriptorProto {
'name': (string); 'name': (string);
'method': (_google_protobuf_MethodDescriptorProto__Output)[]; 'method': (O_google_protobuf_MethodDescriptorProto)[];
'options': (_google_protobuf_ServiceOptions__Output | null); 'options': (O_google_protobuf_ServiceOptions | null);
} }

View File

@ -1,17 +1,17 @@
// Original file: null // Original file: null
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption';
export interface ServiceOptions { export interface IServiceOptions {
'deprecated'?: (boolean); 'deprecated'?: (boolean);
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; 'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[];
'.google.api.default_host'?: (string); '.google.api.default_host'?: (string);
'.google.api.oauth_scopes'?: (string); '.google.api.oauth_scopes'?: (string);
} }
export interface ServiceOptions__Output { export interface OServiceOptions {
'deprecated': (boolean); 'deprecated': (boolean);
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; 'uninterpretedOption': (O_google_protobuf_UninterpretedOption)[];
'.google.api.default_host': (string); '.google.api.default_host': (string);
'.google.api.oauth_scopes': (string); '.google.api.oauth_scopes': (string);
} }

View File

@ -1,7 +1,7 @@
// Original file: null // Original file: null
export interface _google_protobuf_SourceCodeInfo_Location { export interface I_google_protobuf_SourceCodeInfo_Location {
'path'?: (number)[]; 'path'?: (number)[];
'span'?: (number)[]; 'span'?: (number)[];
'leadingComments'?: (string); 'leadingComments'?: (string);
@ -9,7 +9,7 @@ export interface _google_protobuf_SourceCodeInfo_Location {
'leadingDetachedComments'?: (string)[]; 'leadingDetachedComments'?: (string)[];
} }
export interface _google_protobuf_SourceCodeInfo_Location__Output { export interface O_google_protobuf_SourceCodeInfo_Location {
'path': (number)[]; 'path': (number)[];
'span': (number)[]; 'span': (number)[];
'leadingComments': (string); 'leadingComments': (string);
@ -17,10 +17,10 @@ export interface _google_protobuf_SourceCodeInfo_Location__Output {
'leadingDetachedComments': (string)[]; 'leadingDetachedComments': (string)[];
} }
export interface SourceCodeInfo { export interface ISourceCodeInfo {
'location'?: (_google_protobuf_SourceCodeInfo_Location)[]; 'location'?: (I_google_protobuf_SourceCodeInfo_Location)[];
} }
export interface SourceCodeInfo__Output { export interface OSourceCodeInfo {
'location': (_google_protobuf_SourceCodeInfo_Location__Output)[]; 'location': (O_google_protobuf_SourceCodeInfo_Location)[];
} }

View File

@ -2,12 +2,12 @@
import type { Long } from '@grpc/proto-loader'; import type { Long } from '@grpc/proto-loader';
export interface Timestamp { export interface ITimestamp {
'seconds'?: (number | string | Long); 'seconds'?: (number | string | Long);
'nanos'?: (number); 'nanos'?: (number);
} }
export interface Timestamp__Output { export interface OTimestamp {
'seconds': (string); 'seconds': (string);
'nanos': (number); 'nanos': (number);
} }

View File

@ -2,18 +2,18 @@
import type { Long } from '@grpc/proto-loader'; import type { Long } from '@grpc/proto-loader';
export interface _google_protobuf_UninterpretedOption_NamePart { export interface I_google_protobuf_UninterpretedOption_NamePart {
'namePart'?: (string); 'namePart'?: (string);
'isExtension'?: (boolean); 'isExtension'?: (boolean);
} }
export interface _google_protobuf_UninterpretedOption_NamePart__Output { export interface O_google_protobuf_UninterpretedOption_NamePart {
'namePart': (string); 'namePart': (string);
'isExtension': (boolean); 'isExtension': (boolean);
} }
export interface UninterpretedOption { export interface IUninterpretedOption {
'name'?: (_google_protobuf_UninterpretedOption_NamePart)[]; 'name'?: (I_google_protobuf_UninterpretedOption_NamePart)[];
'identifierValue'?: (string); 'identifierValue'?: (string);
'positiveIntValue'?: (number | string | Long); 'positiveIntValue'?: (number | string | Long);
'negativeIntValue'?: (number | string | Long); 'negativeIntValue'?: (number | string | Long);
@ -22,8 +22,8 @@ export interface UninterpretedOption {
'aggregateValue'?: (string); 'aggregateValue'?: (string);
} }
export interface UninterpretedOption__Output { export interface OUninterpretedOption {
'name': (_google_protobuf_UninterpretedOption_NamePart__Output)[]; 'name': (O_google_protobuf_UninterpretedOption_NamePart)[];
'identifierValue': (string); 'identifierValue': (string);
'positiveIntValue': (string); 'positiveIntValue': (string);
'negativeIntValue': (string); 'negativeIntValue': (string);

View File

@ -1,6 +1,6 @@
// Original file: deps/googleapis/google/rpc/status.proto // Original file: deps/googleapis/google/rpc/status.proto
import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../google/protobuf/Any'; import type { IAny as I_google_protobuf_Any, OAny as O_google_protobuf_Any } from '../../google/protobuf/Any';
/** /**
* The `Status` type defines a logical error model that is suitable for * The `Status` type defines a logical error model that is suitable for
@ -11,7 +11,7 @@ import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__
* You can find out more about this error model and how to work with it in the * You can find out more about this error model and how to work with it in the
* [API Design Guide](https://cloud.google.com/apis/design/errors). * [API Design Guide](https://cloud.google.com/apis/design/errors).
*/ */
export interface Status { export interface IStatus {
/** /**
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
*/ */
@ -26,7 +26,7 @@ export interface Status {
* A list of messages that carry the error details. There is a common set of * A list of messages that carry the error details. There is a common set of
* message types for APIs to use. * message types for APIs to use.
*/ */
'details'?: (_google_protobuf_Any)[]; 'details'?: (I_google_protobuf_Any)[];
} }
/** /**
@ -38,7 +38,7 @@ export interface Status {
* You can find out more about this error model and how to work with it in the * You can find out more about this error model and how to work with it in the
* [API Design Guide](https://cloud.google.com/apis/design/errors). * [API Design Guide](https://cloud.google.com/apis/design/errors).
*/ */
export interface Status__Output { export interface OStatus {
/** /**
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
*/ */
@ -53,5 +53,5 @@ export interface Status__Output {
* A list of messages that carry the error details. There is a common set of * A list of messages that carry the error details. There is a common set of
* message types for APIs to use. * message types for APIs to use.
*/ */
'details': (_google_protobuf_Any__Output)[]; 'details': (O_google_protobuf_Any)[];
} }

View File

@ -1,45 +1,45 @@
// Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../../google/protobuf/Duration';
import type { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../../google/rpc/Status'; import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status';
import type { BlockResponse as _google_showcase_v1beta1_BlockResponse, BlockResponse__Output as _google_showcase_v1beta1_BlockResponse__Output } from '../../../google/showcase/v1beta1/BlockResponse'; import type { IBlockResponse as I_google_showcase_v1beta1_BlockResponse, OBlockResponse as O_google_showcase_v1beta1_BlockResponse } from '../../../google/showcase/v1beta1/BlockResponse';
/** /**
* The request for Block method. * The request for Block method.
*/ */
export interface BlockRequest { export interface IBlockRequest {
/** /**
* The amount of time to block before returning a response. * The amount of time to block before returning a response.
*/ */
'response_delay'?: (_google_protobuf_Duration | null); 'response_delay'?: (I_google_protobuf_Duration | null);
/** /**
* The error that will be returned by the server. If this code is specified * The error that will be returned by the server. If this code is specified
* to be the OK rpc code, an empty response will be returned. * to be the OK rpc code, an empty response will be returned.
*/ */
'error'?: (_google_rpc_Status | null); 'error'?: (I_google_rpc_Status | null);
/** /**
* The response to be returned that will signify successful method call. * The response to be returned that will signify successful method call.
*/ */
'success'?: (_google_showcase_v1beta1_BlockResponse | null); 'success'?: (I_google_showcase_v1beta1_BlockResponse | null);
'response'?: "error"|"success"; 'response'?: "error"|"success";
} }
/** /**
* The request for Block method. * The request for Block method.
*/ */
export interface BlockRequest__Output { export interface OBlockRequest {
/** /**
* The amount of time to block before returning a response. * The amount of time to block before returning a response.
*/ */
'response_delay': (_google_protobuf_Duration__Output | null); 'response_delay': (O_google_protobuf_Duration | null);
/** /**
* The error that will be returned by the server. If this code is specified * The error that will be returned by the server. If this code is specified
* to be the OK rpc code, an empty response will be returned. * to be the OK rpc code, an empty response will be returned.
*/ */
'error'?: (_google_rpc_Status__Output | null); 'error'?: (O_google_rpc_Status | null);
/** /**
* The response to be returned that will signify successful method call. * The response to be returned that will signify successful method call.
*/ */
'success'?: (_google_showcase_v1beta1_BlockResponse__Output | null); 'success'?: (O_google_showcase_v1beta1_BlockResponse | null);
'response': "error"|"success"; 'response': "error"|"success";
} }

View File

@ -4,7 +4,7 @@
/** /**
* The response for Block method. * The response for Block method.
*/ */
export interface BlockResponse { export interface IBlockResponse {
/** /**
* This content can contain anything, the server will not depend on a value * This content can contain anything, the server will not depend on a value
* here. * here.
@ -15,7 +15,7 @@ export interface BlockResponse {
/** /**
* The response for Block method. * The response for Block method.
*/ */
export interface BlockResponse__Output { export interface OBlockResponse {
/** /**
* This content can contain anything, the server will not depend on a value * This content can contain anything, the server will not depend on a value
* here. * here.

View File

@ -2,15 +2,15 @@
import type * as grpc from '@grpc/grpc-js' import type * as grpc from '@grpc/grpc-js'
import type { MethodDefinition } from '@grpc/proto-loader' import type { MethodDefinition } from '@grpc/proto-loader'
import type { BlockRequest as _google_showcase_v1beta1_BlockRequest, BlockRequest__Output as _google_showcase_v1beta1_BlockRequest__Output } from '../../../google/showcase/v1beta1/BlockRequest'; import type { IBlockRequest as I_google_showcase_v1beta1_BlockRequest, OBlockRequest as O_google_showcase_v1beta1_BlockRequest } from '../../../google/showcase/v1beta1/BlockRequest';
import type { BlockResponse as _google_showcase_v1beta1_BlockResponse, BlockResponse__Output as _google_showcase_v1beta1_BlockResponse__Output } from '../../../google/showcase/v1beta1/BlockResponse'; import type { IBlockResponse as I_google_showcase_v1beta1_BlockResponse, OBlockResponse as O_google_showcase_v1beta1_BlockResponse } from '../../../google/showcase/v1beta1/BlockResponse';
import type { EchoRequest as _google_showcase_v1beta1_EchoRequest, EchoRequest__Output as _google_showcase_v1beta1_EchoRequest__Output } from '../../../google/showcase/v1beta1/EchoRequest'; import type { IEchoRequest as I_google_showcase_v1beta1_EchoRequest, OEchoRequest as O_google_showcase_v1beta1_EchoRequest } from '../../../google/showcase/v1beta1/EchoRequest';
import type { EchoResponse as _google_showcase_v1beta1_EchoResponse, EchoResponse__Output as _google_showcase_v1beta1_EchoResponse__Output } from '../../../google/showcase/v1beta1/EchoResponse'; import type { IEchoResponse as I_google_showcase_v1beta1_EchoResponse, OEchoResponse as O_google_showcase_v1beta1_EchoResponse } from '../../../google/showcase/v1beta1/EchoResponse';
import type { ExpandRequest as _google_showcase_v1beta1_ExpandRequest, ExpandRequest__Output as _google_showcase_v1beta1_ExpandRequest__Output } from '../../../google/showcase/v1beta1/ExpandRequest'; import type { IExpandRequest as I_google_showcase_v1beta1_ExpandRequest, OExpandRequest as O_google_showcase_v1beta1_ExpandRequest } from '../../../google/showcase/v1beta1/ExpandRequest';
import type { Operation as _google_longrunning_Operation, Operation__Output as _google_longrunning_Operation__Output } from '../../../google/longrunning/Operation'; import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../../google/longrunning/Operation';
import type { PagedExpandRequest as _google_showcase_v1beta1_PagedExpandRequest, PagedExpandRequest__Output as _google_showcase_v1beta1_PagedExpandRequest__Output } from '../../../google/showcase/v1beta1/PagedExpandRequest'; import type { IPagedExpandRequest as I_google_showcase_v1beta1_PagedExpandRequest, OPagedExpandRequest as O_google_showcase_v1beta1_PagedExpandRequest } from '../../../google/showcase/v1beta1/PagedExpandRequest';
import type { PagedExpandResponse as _google_showcase_v1beta1_PagedExpandResponse, PagedExpandResponse__Output as _google_showcase_v1beta1_PagedExpandResponse__Output } from '../../../google/showcase/v1beta1/PagedExpandResponse'; import type { IPagedExpandResponse as I_google_showcase_v1beta1_PagedExpandResponse, OPagedExpandResponse as O_google_showcase_v1beta1_PagedExpandResponse } from '../../../google/showcase/v1beta1/PagedExpandResponse';
import type { WaitRequest as _google_showcase_v1beta1_WaitRequest, WaitRequest__Output as _google_showcase_v1beta1_WaitRequest__Output } from '../../../google/showcase/v1beta1/WaitRequest'; import type { IWaitRequest as I_google_showcase_v1beta1_WaitRequest, OWaitRequest as O_google_showcase_v1beta1_WaitRequest } from '../../../google/showcase/v1beta1/WaitRequest';
/** /**
* This service is used showcase the four main types of rpcs - unary, server * This service is used showcase the four main types of rpcs - unary, server
@ -25,115 +25,115 @@ export interface EchoClient extends grpc.Client {
* and then return the response or error. * and then return the response or error.
* This method showcases how a client handles delays or retries. * This method showcases how a client handles delays or retries.
*/ */
Block(argument: _google_showcase_v1beta1_BlockRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_BlockResponse__Output>): grpc.ClientUnaryCall; Block(argument: I_google_showcase_v1beta1_BlockRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_BlockResponse>): grpc.ClientUnaryCall;
Block(argument: _google_showcase_v1beta1_BlockRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_showcase_v1beta1_BlockResponse__Output>): grpc.ClientUnaryCall; Block(argument: I_google_showcase_v1beta1_BlockRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_showcase_v1beta1_BlockResponse>): grpc.ClientUnaryCall;
Block(argument: _google_showcase_v1beta1_BlockRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_BlockResponse__Output>): grpc.ClientUnaryCall; Block(argument: I_google_showcase_v1beta1_BlockRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_BlockResponse>): grpc.ClientUnaryCall;
Block(argument: _google_showcase_v1beta1_BlockRequest, callback: grpc.requestCallback<_google_showcase_v1beta1_BlockResponse__Output>): grpc.ClientUnaryCall; Block(argument: I_google_showcase_v1beta1_BlockRequest, callback: grpc.requestCallback<O_google_showcase_v1beta1_BlockResponse>): grpc.ClientUnaryCall;
/** /**
* This method will block (wait) for the requested amount of time * This method will block (wait) for the requested amount of time
* and then return the response or error. * and then return the response or error.
* This method showcases how a client handles delays or retries. * This method showcases how a client handles delays or retries.
*/ */
block(argument: _google_showcase_v1beta1_BlockRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_BlockResponse__Output>): grpc.ClientUnaryCall; block(argument: I_google_showcase_v1beta1_BlockRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_BlockResponse>): grpc.ClientUnaryCall;
block(argument: _google_showcase_v1beta1_BlockRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_showcase_v1beta1_BlockResponse__Output>): grpc.ClientUnaryCall; block(argument: I_google_showcase_v1beta1_BlockRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_showcase_v1beta1_BlockResponse>): grpc.ClientUnaryCall;
block(argument: _google_showcase_v1beta1_BlockRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_BlockResponse__Output>): grpc.ClientUnaryCall; block(argument: I_google_showcase_v1beta1_BlockRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_BlockResponse>): grpc.ClientUnaryCall;
block(argument: _google_showcase_v1beta1_BlockRequest, callback: grpc.requestCallback<_google_showcase_v1beta1_BlockResponse__Output>): grpc.ClientUnaryCall; block(argument: I_google_showcase_v1beta1_BlockRequest, callback: grpc.requestCallback<O_google_showcase_v1beta1_BlockResponse>): grpc.ClientUnaryCall;
/** /**
* This method, upon receiving a request on the stream, the same content will * This method, upon receiving a request on the stream, the same content will
* be passed back on the stream. This method showcases bidirectional * be passed back on the stream. This method showcases bidirectional
* streaming rpcs. * streaming rpcs.
*/ */
Chat(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_google_showcase_v1beta1_EchoRequest, _google_showcase_v1beta1_EchoResponse__Output>; Chat(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<I_google_showcase_v1beta1_EchoRequest, O_google_showcase_v1beta1_EchoResponse>;
Chat(options?: grpc.CallOptions): grpc.ClientDuplexStream<_google_showcase_v1beta1_EchoRequest, _google_showcase_v1beta1_EchoResponse__Output>; Chat(options?: grpc.CallOptions): grpc.ClientDuplexStream<I_google_showcase_v1beta1_EchoRequest, O_google_showcase_v1beta1_EchoResponse>;
/** /**
* This method, upon receiving a request on the stream, the same content will * This method, upon receiving a request on the stream, the same content will
* be passed back on the stream. This method showcases bidirectional * be passed back on the stream. This method showcases bidirectional
* streaming rpcs. * streaming rpcs.
*/ */
chat(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_google_showcase_v1beta1_EchoRequest, _google_showcase_v1beta1_EchoResponse__Output>; chat(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<I_google_showcase_v1beta1_EchoRequest, O_google_showcase_v1beta1_EchoResponse>;
chat(options?: grpc.CallOptions): grpc.ClientDuplexStream<_google_showcase_v1beta1_EchoRequest, _google_showcase_v1beta1_EchoResponse__Output>; chat(options?: grpc.CallOptions): grpc.ClientDuplexStream<I_google_showcase_v1beta1_EchoRequest, O_google_showcase_v1beta1_EchoResponse>;
/** /**
* This method will collect the words given to it. When the stream is closed * This method will collect the words given to it. When the stream is closed
* by the client, this method will return the a concatenation of the strings * by the client, this method will return the a concatenation of the strings
* passed to it. This method showcases client-side streaming rpcs. * passed to it. This method showcases client-side streaming rpcs.
*/ */
Collect(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientWritableStream<_google_showcase_v1beta1_EchoRequest>; Collect(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientWritableStream<I_google_showcase_v1beta1_EchoRequest>;
Collect(metadata: grpc.Metadata, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientWritableStream<_google_showcase_v1beta1_EchoRequest>; Collect(metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientWritableStream<I_google_showcase_v1beta1_EchoRequest>;
Collect(options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientWritableStream<_google_showcase_v1beta1_EchoRequest>; Collect(options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientWritableStream<I_google_showcase_v1beta1_EchoRequest>;
Collect(callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientWritableStream<_google_showcase_v1beta1_EchoRequest>; Collect(callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientWritableStream<I_google_showcase_v1beta1_EchoRequest>;
/** /**
* This method will collect the words given to it. When the stream is closed * This method will collect the words given to it. When the stream is closed
* by the client, this method will return the a concatenation of the strings * by the client, this method will return the a concatenation of the strings
* passed to it. This method showcases client-side streaming rpcs. * passed to it. This method showcases client-side streaming rpcs.
*/ */
collect(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientWritableStream<_google_showcase_v1beta1_EchoRequest>; collect(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientWritableStream<I_google_showcase_v1beta1_EchoRequest>;
collect(metadata: grpc.Metadata, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientWritableStream<_google_showcase_v1beta1_EchoRequest>; collect(metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientWritableStream<I_google_showcase_v1beta1_EchoRequest>;
collect(options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientWritableStream<_google_showcase_v1beta1_EchoRequest>; collect(options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientWritableStream<I_google_showcase_v1beta1_EchoRequest>;
collect(callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientWritableStream<_google_showcase_v1beta1_EchoRequest>; collect(callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientWritableStream<I_google_showcase_v1beta1_EchoRequest>;
/** /**
* This method simply echos the request. This method is showcases unary rpcs. * This method simply echos the request. This method is showcases unary rpcs.
*/ */
Echo(argument: _google_showcase_v1beta1_EchoRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientUnaryCall; Echo(argument: I_google_showcase_v1beta1_EchoRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientUnaryCall;
Echo(argument: _google_showcase_v1beta1_EchoRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientUnaryCall; Echo(argument: I_google_showcase_v1beta1_EchoRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientUnaryCall;
Echo(argument: _google_showcase_v1beta1_EchoRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientUnaryCall; Echo(argument: I_google_showcase_v1beta1_EchoRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientUnaryCall;
Echo(argument: _google_showcase_v1beta1_EchoRequest, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientUnaryCall; Echo(argument: I_google_showcase_v1beta1_EchoRequest, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientUnaryCall;
/** /**
* This method simply echos the request. This method is showcases unary rpcs. * This method simply echos the request. This method is showcases unary rpcs.
*/ */
echo(argument: _google_showcase_v1beta1_EchoRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientUnaryCall; echo(argument: I_google_showcase_v1beta1_EchoRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientUnaryCall;
echo(argument: _google_showcase_v1beta1_EchoRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientUnaryCall; echo(argument: I_google_showcase_v1beta1_EchoRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientUnaryCall;
echo(argument: _google_showcase_v1beta1_EchoRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientUnaryCall; echo(argument: I_google_showcase_v1beta1_EchoRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientUnaryCall;
echo(argument: _google_showcase_v1beta1_EchoRequest, callback: grpc.requestCallback<_google_showcase_v1beta1_EchoResponse__Output>): grpc.ClientUnaryCall; echo(argument: I_google_showcase_v1beta1_EchoRequest, callback: grpc.requestCallback<O_google_showcase_v1beta1_EchoResponse>): grpc.ClientUnaryCall;
/** /**
* This method split the given content into words and will pass each word back * This method split the given content into words and will pass each word back
* through the stream. This method showcases server-side streaming rpcs. * through the stream. This method showcases server-side streaming rpcs.
*/ */
Expand(argument: _google_showcase_v1beta1_ExpandRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_google_showcase_v1beta1_EchoResponse__Output>; Expand(argument: I_google_showcase_v1beta1_ExpandRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<O_google_showcase_v1beta1_EchoResponse>;
Expand(argument: _google_showcase_v1beta1_ExpandRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_google_showcase_v1beta1_EchoResponse__Output>; Expand(argument: I_google_showcase_v1beta1_ExpandRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<O_google_showcase_v1beta1_EchoResponse>;
/** /**
* This method split the given content into words and will pass each word back * This method split the given content into words and will pass each word back
* through the stream. This method showcases server-side streaming rpcs. * through the stream. This method showcases server-side streaming rpcs.
*/ */
expand(argument: _google_showcase_v1beta1_ExpandRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_google_showcase_v1beta1_EchoResponse__Output>; expand(argument: I_google_showcase_v1beta1_ExpandRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<O_google_showcase_v1beta1_EchoResponse>;
expand(argument: _google_showcase_v1beta1_ExpandRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_google_showcase_v1beta1_EchoResponse__Output>; expand(argument: I_google_showcase_v1beta1_ExpandRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<O_google_showcase_v1beta1_EchoResponse>;
/** /**
* This is similar to the Expand method but instead of returning a stream of * This is similar to the Expand method but instead of returning a stream of
* expanded words, this method returns a paged list of expanded words. * expanded words, this method returns a paged list of expanded words.
*/ */
PagedExpand(argument: _google_showcase_v1beta1_PagedExpandRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_PagedExpandResponse__Output>): grpc.ClientUnaryCall; PagedExpand(argument: I_google_showcase_v1beta1_PagedExpandRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_PagedExpandResponse>): grpc.ClientUnaryCall;
PagedExpand(argument: _google_showcase_v1beta1_PagedExpandRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_showcase_v1beta1_PagedExpandResponse__Output>): grpc.ClientUnaryCall; PagedExpand(argument: I_google_showcase_v1beta1_PagedExpandRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_showcase_v1beta1_PagedExpandResponse>): grpc.ClientUnaryCall;
PagedExpand(argument: _google_showcase_v1beta1_PagedExpandRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_PagedExpandResponse__Output>): grpc.ClientUnaryCall; PagedExpand(argument: I_google_showcase_v1beta1_PagedExpandRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_PagedExpandResponse>): grpc.ClientUnaryCall;
PagedExpand(argument: _google_showcase_v1beta1_PagedExpandRequest, callback: grpc.requestCallback<_google_showcase_v1beta1_PagedExpandResponse__Output>): grpc.ClientUnaryCall; PagedExpand(argument: I_google_showcase_v1beta1_PagedExpandRequest, callback: grpc.requestCallback<O_google_showcase_v1beta1_PagedExpandResponse>): grpc.ClientUnaryCall;
/** /**
* This is similar to the Expand method but instead of returning a stream of * This is similar to the Expand method but instead of returning a stream of
* expanded words, this method returns a paged list of expanded words. * expanded words, this method returns a paged list of expanded words.
*/ */
pagedExpand(argument: _google_showcase_v1beta1_PagedExpandRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_PagedExpandResponse__Output>): grpc.ClientUnaryCall; pagedExpand(argument: I_google_showcase_v1beta1_PagedExpandRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_PagedExpandResponse>): grpc.ClientUnaryCall;
pagedExpand(argument: _google_showcase_v1beta1_PagedExpandRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_showcase_v1beta1_PagedExpandResponse__Output>): grpc.ClientUnaryCall; pagedExpand(argument: I_google_showcase_v1beta1_PagedExpandRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_showcase_v1beta1_PagedExpandResponse>): grpc.ClientUnaryCall;
pagedExpand(argument: _google_showcase_v1beta1_PagedExpandRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_showcase_v1beta1_PagedExpandResponse__Output>): grpc.ClientUnaryCall; pagedExpand(argument: I_google_showcase_v1beta1_PagedExpandRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_showcase_v1beta1_PagedExpandResponse>): grpc.ClientUnaryCall;
pagedExpand(argument: _google_showcase_v1beta1_PagedExpandRequest, callback: grpc.requestCallback<_google_showcase_v1beta1_PagedExpandResponse__Output>): grpc.ClientUnaryCall; pagedExpand(argument: I_google_showcase_v1beta1_PagedExpandRequest, callback: grpc.requestCallback<O_google_showcase_v1beta1_PagedExpandResponse>): grpc.ClientUnaryCall;
/** /**
* This method will wait the requested amount of and then return. * This method will wait the requested amount of and then return.
* This method showcases how a client handles a request timing out. * This method showcases how a client handles a request timing out.
*/ */
Wait(argument: _google_showcase_v1beta1_WaitRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; Wait(argument: I_google_showcase_v1beta1_WaitRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
Wait(argument: _google_showcase_v1beta1_WaitRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; Wait(argument: I_google_showcase_v1beta1_WaitRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
Wait(argument: _google_showcase_v1beta1_WaitRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; Wait(argument: I_google_showcase_v1beta1_WaitRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
Wait(argument: _google_showcase_v1beta1_WaitRequest, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; Wait(argument: I_google_showcase_v1beta1_WaitRequest, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
/** /**
* This method will wait the requested amount of and then return. * This method will wait the requested amount of and then return.
* This method showcases how a client handles a request timing out. * This method showcases how a client handles a request timing out.
*/ */
wait(argument: _google_showcase_v1beta1_WaitRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; wait(argument: I_google_showcase_v1beta1_WaitRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
wait(argument: _google_showcase_v1beta1_WaitRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; wait(argument: I_google_showcase_v1beta1_WaitRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
wait(argument: _google_showcase_v1beta1_WaitRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; wait(argument: I_google_showcase_v1beta1_WaitRequest, options: grpc.CallOptions, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
wait(argument: _google_showcase_v1beta1_WaitRequest, callback: grpc.requestCallback<_google_longrunning_Operation__Output>): grpc.ClientUnaryCall; wait(argument: I_google_showcase_v1beta1_WaitRequest, callback: grpc.requestCallback<O_google_longrunning_Operation>): grpc.ClientUnaryCall;
} }
@ -150,53 +150,53 @@ export interface EchoHandlers extends grpc.UntypedServiceImplementation {
* and then return the response or error. * and then return the response or error.
* This method showcases how a client handles delays or retries. * This method showcases how a client handles delays or retries.
*/ */
Block: grpc.handleUnaryCall<_google_showcase_v1beta1_BlockRequest__Output, _google_showcase_v1beta1_BlockResponse>; Block: grpc.handleUnaryCall<O_google_showcase_v1beta1_BlockRequest, I_google_showcase_v1beta1_BlockResponse>;
/** /**
* This method, upon receiving a request on the stream, the same content will * This method, upon receiving a request on the stream, the same content will
* be passed back on the stream. This method showcases bidirectional * be passed back on the stream. This method showcases bidirectional
* streaming rpcs. * streaming rpcs.
*/ */
Chat: grpc.handleBidiStreamingCall<_google_showcase_v1beta1_EchoRequest__Output, _google_showcase_v1beta1_EchoResponse>; Chat: grpc.handleBidiStreamingCall<O_google_showcase_v1beta1_EchoRequest, I_google_showcase_v1beta1_EchoResponse>;
/** /**
* This method will collect the words given to it. When the stream is closed * This method will collect the words given to it. When the stream is closed
* by the client, this method will return the a concatenation of the strings * by the client, this method will return the a concatenation of the strings
* passed to it. This method showcases client-side streaming rpcs. * passed to it. This method showcases client-side streaming rpcs.
*/ */
Collect: grpc.handleClientStreamingCall<_google_showcase_v1beta1_EchoRequest__Output, _google_showcase_v1beta1_EchoResponse>; Collect: grpc.handleClientStreamingCall<O_google_showcase_v1beta1_EchoRequest, I_google_showcase_v1beta1_EchoResponse>;
/** /**
* This method simply echos the request. This method is showcases unary rpcs. * This method simply echos the request. This method is showcases unary rpcs.
*/ */
Echo: grpc.handleUnaryCall<_google_showcase_v1beta1_EchoRequest__Output, _google_showcase_v1beta1_EchoResponse>; Echo: grpc.handleUnaryCall<O_google_showcase_v1beta1_EchoRequest, I_google_showcase_v1beta1_EchoResponse>;
/** /**
* This method split the given content into words and will pass each word back * This method split the given content into words and will pass each word back
* through the stream. This method showcases server-side streaming rpcs. * through the stream. This method showcases server-side streaming rpcs.
*/ */
Expand: grpc.handleServerStreamingCall<_google_showcase_v1beta1_ExpandRequest__Output, _google_showcase_v1beta1_EchoResponse>; Expand: grpc.handleServerStreamingCall<O_google_showcase_v1beta1_ExpandRequest, I_google_showcase_v1beta1_EchoResponse>;
/** /**
* This is similar to the Expand method but instead of returning a stream of * This is similar to the Expand method but instead of returning a stream of
* expanded words, this method returns a paged list of expanded words. * expanded words, this method returns a paged list of expanded words.
*/ */
PagedExpand: grpc.handleUnaryCall<_google_showcase_v1beta1_PagedExpandRequest__Output, _google_showcase_v1beta1_PagedExpandResponse>; PagedExpand: grpc.handleUnaryCall<O_google_showcase_v1beta1_PagedExpandRequest, I_google_showcase_v1beta1_PagedExpandResponse>;
/** /**
* This method will wait the requested amount of and then return. * This method will wait the requested amount of and then return.
* This method showcases how a client handles a request timing out. * This method showcases how a client handles a request timing out.
*/ */
Wait: grpc.handleUnaryCall<_google_showcase_v1beta1_WaitRequest__Output, _google_longrunning_Operation>; Wait: grpc.handleUnaryCall<O_google_showcase_v1beta1_WaitRequest, I_google_longrunning_Operation>;
} }
export interface EchoDefinition extends grpc.ServiceDefinition { export interface EchoDefinition extends grpc.ServiceDefinition {
Block: MethodDefinition<_google_showcase_v1beta1_BlockRequest, _google_showcase_v1beta1_BlockResponse, _google_showcase_v1beta1_BlockRequest__Output, _google_showcase_v1beta1_BlockResponse__Output> Block: MethodDefinition<I_google_showcase_v1beta1_BlockRequest, I_google_showcase_v1beta1_BlockResponse, O_google_showcase_v1beta1_BlockRequest, O_google_showcase_v1beta1_BlockResponse>
Chat: MethodDefinition<_google_showcase_v1beta1_EchoRequest, _google_showcase_v1beta1_EchoResponse, _google_showcase_v1beta1_EchoRequest__Output, _google_showcase_v1beta1_EchoResponse__Output> Chat: MethodDefinition<I_google_showcase_v1beta1_EchoRequest, I_google_showcase_v1beta1_EchoResponse, O_google_showcase_v1beta1_EchoRequest, O_google_showcase_v1beta1_EchoResponse>
Collect: MethodDefinition<_google_showcase_v1beta1_EchoRequest, _google_showcase_v1beta1_EchoResponse, _google_showcase_v1beta1_EchoRequest__Output, _google_showcase_v1beta1_EchoResponse__Output> Collect: MethodDefinition<I_google_showcase_v1beta1_EchoRequest, I_google_showcase_v1beta1_EchoResponse, O_google_showcase_v1beta1_EchoRequest, O_google_showcase_v1beta1_EchoResponse>
Echo: MethodDefinition<_google_showcase_v1beta1_EchoRequest, _google_showcase_v1beta1_EchoResponse, _google_showcase_v1beta1_EchoRequest__Output, _google_showcase_v1beta1_EchoResponse__Output> Echo: MethodDefinition<I_google_showcase_v1beta1_EchoRequest, I_google_showcase_v1beta1_EchoResponse, O_google_showcase_v1beta1_EchoRequest, O_google_showcase_v1beta1_EchoResponse>
Expand: MethodDefinition<_google_showcase_v1beta1_ExpandRequest, _google_showcase_v1beta1_EchoResponse, _google_showcase_v1beta1_ExpandRequest__Output, _google_showcase_v1beta1_EchoResponse__Output> Expand: MethodDefinition<I_google_showcase_v1beta1_ExpandRequest, I_google_showcase_v1beta1_EchoResponse, O_google_showcase_v1beta1_ExpandRequest, O_google_showcase_v1beta1_EchoResponse>
PagedExpand: MethodDefinition<_google_showcase_v1beta1_PagedExpandRequest, _google_showcase_v1beta1_PagedExpandResponse, _google_showcase_v1beta1_PagedExpandRequest__Output, _google_showcase_v1beta1_PagedExpandResponse__Output> PagedExpand: MethodDefinition<I_google_showcase_v1beta1_PagedExpandRequest, I_google_showcase_v1beta1_PagedExpandResponse, O_google_showcase_v1beta1_PagedExpandRequest, O_google_showcase_v1beta1_PagedExpandResponse>
Wait: MethodDefinition<_google_showcase_v1beta1_WaitRequest, _google_longrunning_Operation, _google_showcase_v1beta1_WaitRequest__Output, _google_longrunning_Operation__Output> Wait: MethodDefinition<I_google_showcase_v1beta1_WaitRequest, I_google_longrunning_Operation, O_google_showcase_v1beta1_WaitRequest, O_google_longrunning_Operation>
} }

View File

@ -1,6 +1,6 @@
// Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
import type { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../../google/rpc/Status'; import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status';
import type { Severity as _google_showcase_v1beta1_Severity } from '../../../google/showcase/v1beta1/Severity'; import type { Severity as _google_showcase_v1beta1_Severity } from '../../../google/showcase/v1beta1/Severity';
/** /**
@ -9,7 +9,7 @@ import type { Severity as _google_showcase_v1beta1_Severity } from '../../../goo
* If status is set in this message * If status is set in this message
* then the status will be returned as an error. * then the status will be returned as an error.
*/ */
export interface EchoRequest { export interface IEchoRequest {
/** /**
* The content to be echoed by the server. * The content to be echoed by the server.
*/ */
@ -17,7 +17,7 @@ export interface EchoRequest {
/** /**
* The error to be thrown by the server. * The error to be thrown by the server.
*/ */
'error'?: (_google_rpc_Status | null); 'error'?: (I_google_rpc_Status | null);
/** /**
* The severity to be echoed by the server. * The severity to be echoed by the server.
*/ */
@ -31,7 +31,7 @@ export interface EchoRequest {
* If status is set in this message * If status is set in this message
* then the status will be returned as an error. * then the status will be returned as an error.
*/ */
export interface EchoRequest__Output { export interface OEchoRequest {
/** /**
* The content to be echoed by the server. * The content to be echoed by the server.
*/ */
@ -39,7 +39,7 @@ export interface EchoRequest__Output {
/** /**
* The error to be thrown by the server. * The error to be thrown by the server.
*/ */
'error'?: (_google_rpc_Status__Output | null); 'error'?: (O_google_rpc_Status | null);
/** /**
* The severity to be echoed by the server. * The severity to be echoed by the server.
*/ */

View File

@ -5,7 +5,7 @@ import type { Severity as _google_showcase_v1beta1_Severity } from '../../../goo
/** /**
* The response message for the Echo methods. * The response message for the Echo methods.
*/ */
export interface EchoResponse { export interface IEchoResponse {
/** /**
* The content specified in the request. * The content specified in the request.
*/ */
@ -19,7 +19,7 @@ export interface EchoResponse {
/** /**
* The response message for the Echo methods. * The response message for the Echo methods.
*/ */
export interface EchoResponse__Output { export interface OEchoResponse {
/** /**
* The content specified in the request. * The content specified in the request.
*/ */

View File

@ -1,11 +1,11 @@
// Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
import type { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../../google/rpc/Status'; import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status';
/** /**
* The request message for the Expand method. * The request message for the Expand method.
*/ */
export interface ExpandRequest { export interface IExpandRequest {
/** /**
* The content that will be split into words and returned on the stream. * The content that will be split into words and returned on the stream.
*/ */
@ -13,13 +13,13 @@ export interface ExpandRequest {
/** /**
* The error that is thrown after all words are sent on the stream. * The error that is thrown after all words are sent on the stream.
*/ */
'error'?: (_google_rpc_Status | null); 'error'?: (I_google_rpc_Status | null);
} }
/** /**
* The request message for the Expand method. * The request message for the Expand method.
*/ */
export interface ExpandRequest__Output { export interface OExpandRequest {
/** /**
* The content that will be split into words and returned on the stream. * The content that will be split into words and returned on the stream.
*/ */
@ -27,5 +27,5 @@ export interface ExpandRequest__Output {
/** /**
* The error that is thrown after all words are sent on the stream. * The error that is thrown after all words are sent on the stream.
*/ */
'error': (_google_rpc_Status__Output | null); 'error': (O_google_rpc_Status | null);
} }

View File

@ -4,7 +4,7 @@
/** /**
* The request for the PagedExpand method. * The request for the PagedExpand method.
*/ */
export interface PagedExpandRequest { export interface IPagedExpandRequest {
/** /**
* The string to expand. * The string to expand.
*/ */
@ -22,7 +22,7 @@ export interface PagedExpandRequest {
/** /**
* The request for the PagedExpand method. * The request for the PagedExpand method.
*/ */
export interface PagedExpandRequest__Output { export interface OPagedExpandRequest {
/** /**
* The string to expand. * The string to expand.
*/ */

View File

@ -1,15 +1,15 @@
// Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
import type { EchoResponse as _google_showcase_v1beta1_EchoResponse, EchoResponse__Output as _google_showcase_v1beta1_EchoResponse__Output } from '../../../google/showcase/v1beta1/EchoResponse'; import type { IEchoResponse as I_google_showcase_v1beta1_EchoResponse, OEchoResponse as O_google_showcase_v1beta1_EchoResponse } from '../../../google/showcase/v1beta1/EchoResponse';
/** /**
* The response for the PagedExpand method. * The response for the PagedExpand method.
*/ */
export interface PagedExpandResponse { export interface IPagedExpandResponse {
/** /**
* The words that were expanded. * The words that were expanded.
*/ */
'responses'?: (_google_showcase_v1beta1_EchoResponse)[]; 'responses'?: (I_google_showcase_v1beta1_EchoResponse)[];
/** /**
* The next page token. * The next page token.
*/ */
@ -19,11 +19,11 @@ export interface PagedExpandResponse {
/** /**
* The response for the PagedExpand method. * The response for the PagedExpand method.
*/ */
export interface PagedExpandResponse__Output { export interface OPagedExpandResponse {
/** /**
* The words that were expanded. * The words that were expanded.
*/ */
'responses': (_google_showcase_v1beta1_EchoResponse__Output)[]; 'responses': (O_google_showcase_v1beta1_EchoResponse)[];
/** /**
* The next page token. * The next page token.
*/ */

View File

@ -1,23 +1,23 @@
// Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp'; import type { ITimestamp as I_google_protobuf_Timestamp, OTimestamp as O_google_protobuf_Timestamp } from '../../../google/protobuf/Timestamp';
/** /**
* The metadata for Wait operation. * The metadata for Wait operation.
*/ */
export interface WaitMetadata { export interface IWaitMetadata {
/** /**
* The time that this operation will complete. * The time that this operation will complete.
*/ */
'end_time'?: (_google_protobuf_Timestamp | null); 'end_time'?: (I_google_protobuf_Timestamp | null);
} }
/** /**
* The metadata for Wait operation. * The metadata for Wait operation.
*/ */
export interface WaitMetadata__Output { export interface OWaitMetadata {
/** /**
* The time that this operation will complete. * The time that this operation will complete.
*/ */
'end_time': (_google_protobuf_Timestamp__Output | null); 'end_time': (O_google_protobuf_Timestamp | null);
} }

View File

@ -1,31 +1,31 @@
// Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp'; import type { ITimestamp as I_google_protobuf_Timestamp, OTimestamp as O_google_protobuf_Timestamp } from '../../../google/protobuf/Timestamp';
import type { Status as _google_rpc_Status, Status__Output as _google_rpc_Status__Output } from '../../../google/rpc/Status'; import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status';
import type { WaitResponse as _google_showcase_v1beta1_WaitResponse, WaitResponse__Output as _google_showcase_v1beta1_WaitResponse__Output } from '../../../google/showcase/v1beta1/WaitResponse'; import type { IWaitResponse as I_google_showcase_v1beta1_WaitResponse, OWaitResponse as O_google_showcase_v1beta1_WaitResponse } from '../../../google/showcase/v1beta1/WaitResponse';
import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../../google/protobuf/Duration';
/** /**
* The request for Wait method. * The request for Wait method.
*/ */
export interface WaitRequest { export interface IWaitRequest {
/** /**
* The time that this operation will complete. * The time that this operation will complete.
*/ */
'end_time'?: (_google_protobuf_Timestamp | null); 'end_time'?: (I_google_protobuf_Timestamp | null);
/** /**
* The error that will be returned by the server. If this code is specified * The error that will be returned by the server. If this code is specified
* to be the OK rpc code, an empty response will be returned. * to be the OK rpc code, an empty response will be returned.
*/ */
'error'?: (_google_rpc_Status | null); 'error'?: (I_google_rpc_Status | null);
/** /**
* The response to be returned on operation completion. * The response to be returned on operation completion.
*/ */
'success'?: (_google_showcase_v1beta1_WaitResponse | null); 'success'?: (I_google_showcase_v1beta1_WaitResponse | null);
/** /**
* The duration of this operation. * The duration of this operation.
*/ */
'ttl'?: (_google_protobuf_Duration | null); 'ttl'?: (I_google_protobuf_Duration | null);
'end'?: "end_time"|"ttl"; 'end'?: "end_time"|"ttl";
'response'?: "error"|"success"; 'response'?: "error"|"success";
} }
@ -33,24 +33,24 @@ export interface WaitRequest {
/** /**
* The request for Wait method. * The request for Wait method.
*/ */
export interface WaitRequest__Output { export interface OWaitRequest {
/** /**
* The time that this operation will complete. * The time that this operation will complete.
*/ */
'end_time'?: (_google_protobuf_Timestamp__Output | null); 'end_time'?: (O_google_protobuf_Timestamp | null);
/** /**
* The error that will be returned by the server. If this code is specified * The error that will be returned by the server. If this code is specified
* to be the OK rpc code, an empty response will be returned. * to be the OK rpc code, an empty response will be returned.
*/ */
'error'?: (_google_rpc_Status__Output | null); 'error'?: (O_google_rpc_Status | null);
/** /**
* The response to be returned on operation completion. * The response to be returned on operation completion.
*/ */
'success'?: (_google_showcase_v1beta1_WaitResponse__Output | null); 'success'?: (O_google_showcase_v1beta1_WaitResponse | null);
/** /**
* The duration of this operation. * The duration of this operation.
*/ */
'ttl'?: (_google_protobuf_Duration__Output | null); 'ttl'?: (O_google_protobuf_Duration | null);
'end': "end_time"|"ttl"; 'end': "end_time"|"ttl";
'response': "error"|"success"; 'response': "error"|"success";
} }

View File

@ -4,7 +4,7 @@
/** /**
* The result of the Wait operation. * The result of the Wait operation.
*/ */
export interface WaitResponse { export interface IWaitResponse {
/** /**
* This content of the result. * This content of the result.
*/ */
@ -14,7 +14,7 @@ export interface WaitResponse {
/** /**
* The result of the Wait operation. * The result of the Wait operation.
*/ */
export interface WaitResponse__Output { export interface OWaitResponse {
/** /**
* This content of the result. * This content of the result.
*/ */

View File

@ -24,7 +24,7 @@
"fix": "gts fix", "fix": "gts fix",
"pretest": "npm run compile", "pretest": "npm run compile",
"posttest": "npm run check", "posttest": "npm run check",
"generate-golden": "node ./build/bin/proto-loader-gen-types.js --keepCase --longs=String --enums=String --defaults --oneofs --json --includeComments -I deps/gapic-showcase/schema/ deps/googleapis/ -O ./golden-generated --grpcLib @grpc/grpc-js google/showcase/v1beta1/echo.proto", "generate-golden": "node ./build/bin/proto-loader-gen-types.js --keepCase --longs=String --enums=String --defaults --oneofs --json --includeComments --inputTemplate=I%s --outputTemplate=O%s -I deps/gapic-showcase/schema/ deps/googleapis/ -O ./golden-generated --grpcLib @grpc/grpc-js google/showcase/v1beta1/echo.proto",
"validate-golden": "rm -rf ./golden-generated-old && mv ./golden-generated/ ./golden-generated-old && npm run generate-golden && diff -rb ./golden-generated ./golden-generated-old" "validate-golden": "rm -rf ./golden-generated-old && mv ./golden-generated/ ./golden-generated-old && npm run generate-golden && diff -rb ./golden-generated ./golden-generated-old"
}, },
"repository": { "repository": {