// package: bosdyn.api // file: bosdyn/api/lease_service.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as bosdyn_api_lease_service_pb from "../../bosdyn/api/lease_service_pb"; import * as bosdyn_api_lease_pb from "../../bosdyn/api/lease_pb"; interface ILeaseServiceService extends grpc.ServiceDefinition { acquireLease: ILeaseServiceService_IAcquireLease; takeLease: ILeaseServiceService_ITakeLease; returnLease: ILeaseServiceService_IReturnLease; listLeases: ILeaseServiceService_IListLeases; retainLease: ILeaseServiceService_IRetainLease; } interface ILeaseServiceService_IAcquireLease extends grpc.MethodDefinition { path: "/bosdyn.api.LeaseService/AcquireLease"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface ILeaseServiceService_ITakeLease extends grpc.MethodDefinition { path: "/bosdyn.api.LeaseService/TakeLease"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface ILeaseServiceService_IReturnLease extends grpc.MethodDefinition { path: "/bosdyn.api.LeaseService/ReturnLease"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface ILeaseServiceService_IListLeases extends grpc.MethodDefinition { path: "/bosdyn.api.LeaseService/ListLeases"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface ILeaseServiceService_IRetainLease extends grpc.MethodDefinition { path: "/bosdyn.api.LeaseService/RetainLease"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const LeaseServiceService: ILeaseServiceService; export interface ILeaseServiceServer extends grpc.UntypedServiceImplementation { acquireLease: grpc.handleUnaryCall; takeLease: grpc.handleUnaryCall; returnLease: grpc.handleUnaryCall; listLeases: grpc.handleUnaryCall; retainLease: grpc.handleUnaryCall; } export interface ILeaseServiceClient { acquireLease(request: bosdyn_api_lease_pb.AcquireLeaseRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.AcquireLeaseResponse) => void): grpc.ClientUnaryCall; acquireLease(request: bosdyn_api_lease_pb.AcquireLeaseRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.AcquireLeaseResponse) => void): grpc.ClientUnaryCall; acquireLease(request: bosdyn_api_lease_pb.AcquireLeaseRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.AcquireLeaseResponse) => void): grpc.ClientUnaryCall; takeLease(request: bosdyn_api_lease_pb.TakeLeaseRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.TakeLeaseResponse) => void): grpc.ClientUnaryCall; takeLease(request: bosdyn_api_lease_pb.TakeLeaseRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.TakeLeaseResponse) => void): grpc.ClientUnaryCall; takeLease(request: bosdyn_api_lease_pb.TakeLeaseRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.TakeLeaseResponse) => void): grpc.ClientUnaryCall; returnLease(request: bosdyn_api_lease_pb.ReturnLeaseRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ReturnLeaseResponse) => void): grpc.ClientUnaryCall; returnLease(request: bosdyn_api_lease_pb.ReturnLeaseRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ReturnLeaseResponse) => void): grpc.ClientUnaryCall; returnLease(request: bosdyn_api_lease_pb.ReturnLeaseRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ReturnLeaseResponse) => void): grpc.ClientUnaryCall; listLeases(request: bosdyn_api_lease_pb.ListLeasesRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ListLeasesResponse) => void): grpc.ClientUnaryCall; listLeases(request: bosdyn_api_lease_pb.ListLeasesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ListLeasesResponse) => void): grpc.ClientUnaryCall; listLeases(request: bosdyn_api_lease_pb.ListLeasesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ListLeasesResponse) => void): grpc.ClientUnaryCall; retainLease(request: bosdyn_api_lease_pb.RetainLeaseRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.RetainLeaseResponse) => void): grpc.ClientUnaryCall; retainLease(request: bosdyn_api_lease_pb.RetainLeaseRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.RetainLeaseResponse) => void): grpc.ClientUnaryCall; retainLease(request: bosdyn_api_lease_pb.RetainLeaseRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.RetainLeaseResponse) => void): grpc.ClientUnaryCall; } export class LeaseServiceClient extends grpc.Client implements ILeaseServiceClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public acquireLease(request: bosdyn_api_lease_pb.AcquireLeaseRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.AcquireLeaseResponse) => void): grpc.ClientUnaryCall; public acquireLease(request: bosdyn_api_lease_pb.AcquireLeaseRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.AcquireLeaseResponse) => void): grpc.ClientUnaryCall; public acquireLease(request: bosdyn_api_lease_pb.AcquireLeaseRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.AcquireLeaseResponse) => void): grpc.ClientUnaryCall; public takeLease(request: bosdyn_api_lease_pb.TakeLeaseRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.TakeLeaseResponse) => void): grpc.ClientUnaryCall; public takeLease(request: bosdyn_api_lease_pb.TakeLeaseRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.TakeLeaseResponse) => void): grpc.ClientUnaryCall; public takeLease(request: bosdyn_api_lease_pb.TakeLeaseRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.TakeLeaseResponse) => void): grpc.ClientUnaryCall; public returnLease(request: bosdyn_api_lease_pb.ReturnLeaseRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ReturnLeaseResponse) => void): grpc.ClientUnaryCall; public returnLease(request: bosdyn_api_lease_pb.ReturnLeaseRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ReturnLeaseResponse) => void): grpc.ClientUnaryCall; public returnLease(request: bosdyn_api_lease_pb.ReturnLeaseRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ReturnLeaseResponse) => void): grpc.ClientUnaryCall; public listLeases(request: bosdyn_api_lease_pb.ListLeasesRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ListLeasesResponse) => void): grpc.ClientUnaryCall; public listLeases(request: bosdyn_api_lease_pb.ListLeasesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ListLeasesResponse) => void): grpc.ClientUnaryCall; public listLeases(request: bosdyn_api_lease_pb.ListLeasesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.ListLeasesResponse) => void): grpc.ClientUnaryCall; public retainLease(request: bosdyn_api_lease_pb.RetainLeaseRequest, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.RetainLeaseResponse) => void): grpc.ClientUnaryCall; public retainLease(request: bosdyn_api_lease_pb.RetainLeaseRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.RetainLeaseResponse) => void): grpc.ClientUnaryCall; public retainLease(request: bosdyn_api_lease_pb.RetainLeaseRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: bosdyn_api_lease_pb.RetainLeaseResponse) => void): grpc.ClientUnaryCall; }