// @generated by protoc-gen-connect-es v1.5.0 // @generated from file component/powersensor/v1/powersensor.proto (package viam.component.powersensor.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import { GetCurrentRequest, GetCurrentResponse, GetPowerRequest, GetPowerResponse, GetVoltageRequest, GetVoltageResponse } from "./powersensor_pb.js"; import { MethodKind } from "@bufbuild/protobuf"; import { DoCommandRequest, DoCommandResponse, GetReadingsRequest, GetReadingsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js"; /** * PowerSensorService services all power sensors associated with a robot * * @generated from service viam.component.powersensor.v1.PowerSensorService */ export declare const PowerSensorService: { readonly typeName: "viam.component.powersensor.v1.PowerSensorService", readonly methods: { /** * GetVoltage returns the voltage reading of a power sensor in volts * * @generated from rpc viam.component.powersensor.v1.PowerSensorService.GetVoltage */ readonly getVoltage: { readonly name: "GetVoltage", readonly I: typeof GetVoltageRequest, readonly O: typeof GetVoltageResponse, readonly kind: MethodKind.Unary, }, /** * GetCurrent returns the current reading of a power sensor in amperes * * @generated from rpc viam.component.powersensor.v1.PowerSensorService.GetCurrent */ readonly getCurrent: { readonly name: "GetCurrent", readonly I: typeof GetCurrentRequest, readonly O: typeof GetCurrentResponse, readonly kind: MethodKind.Unary, }, /** * GetPower returns the power reading of a power sensor in watts * * @generated from rpc viam.component.powersensor.v1.PowerSensorService.GetPower */ readonly getPower: { readonly name: "GetPower", readonly I: typeof GetPowerRequest, readonly O: typeof GetPowerResponse, readonly kind: MethodKind.Unary, }, /** * GetReadings returns the readings of a sensor of the underlying robot. * * @generated from rpc viam.component.powersensor.v1.PowerSensorService.GetReadings */ readonly getReadings: { readonly name: "GetReadings", readonly I: typeof GetReadingsRequest, readonly O: typeof GetReadingsResponse, readonly kind: MethodKind.Unary, }, /** * DoCommand sends/receives arbitrary commands * * @generated from rpc viam.component.powersensor.v1.PowerSensorService.DoCommand */ readonly doCommand: { readonly name: "DoCommand", readonly I: typeof DoCommandRequest, readonly O: typeof DoCommandResponse, readonly kind: MethodKind.Unary, }, /** * GetStatus returns the status of the resource * * @generated from rpc viam.component.powersensor.v1.PowerSensorService.GetStatus */ readonly getStatus: { readonly name: "GetStatus", readonly I: typeof GetStatusRequest, readonly O: typeof GetStatusResponse, readonly kind: MethodKind.Unary, }, } };