// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "user-attributes.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { UserAttributesService } from "./user-attributes"; import type { DeleteForProjectUserAttributesResult } from "./user-attributes"; import type { DeleteForProjectUserAttributesRequest } from "./user-attributes"; import type { ListUserAttributesResult } from "./user-attributes"; import type { ListUserAttributesRequest } from "./user-attributes"; import type { DeleteUserAttributesResult } from "./user-attributes"; import type { DeleteUserAttributesRequest } from "./user-attributes"; import type { PutUserAttributesResult } from "./user-attributes"; import type { PutUserAttributesRequest } from "./user-attributes"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetUserAttributesResult } from "./user-attributes"; import type { GetUserAttributesRequest } from "./user-attributes"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.UserAttributesService */ export interface IUserAttributesServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetUserAttributesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Put */ put(input: PutUserAttributesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteUserAttributesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListUserAttributesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteForProject */ deleteForProject(input: DeleteForProjectUserAttributesRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.UserAttributesService */ export class UserAttributesServiceClient implements IUserAttributesServiceClient, ServiceInfo { typeName = UserAttributesService.typeName; methods = UserAttributesService.methods; options = UserAttributesService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetUserAttributesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Put */ put(input: PutUserAttributesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Delete */ delete(input: DeleteUserAttributesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: List */ list(input: ListUserAttributesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteForProject */ deleteForProject(input: DeleteForProjectUserAttributesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }