// @generated by protoc-gen-es v1.10.0 // @generated from file component/powersensor/v1/powersensor.proto (package viam.component.powersensor.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from message viam.component.powersensor.v1.GetVoltageRequest */ export declare class GetVoltageRequest extends Message { /** * Name of a power sensor * * @generated from field: string name = 1; */ name: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.powersensor.v1.GetVoltageRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetVoltageRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetVoltageRequest; static fromJsonString(jsonString: string, options?: Partial): GetVoltageRequest; static equals(a: GetVoltageRequest | PlainMessage | undefined, b: GetVoltageRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.powersensor.v1.GetVoltageResponse */ export declare class GetVoltageResponse extends Message { /** * Voltage in volts * * @generated from field: double volts = 1; */ volts: number; /** * Bool describing whether the voltage is DC or AC * * @generated from field: bool is_ac = 2; */ isAc: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.powersensor.v1.GetVoltageResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetVoltageResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetVoltageResponse; static fromJsonString(jsonString: string, options?: Partial): GetVoltageResponse; static equals(a: GetVoltageResponse | PlainMessage | undefined, b: GetVoltageResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.powersensor.v1.GetCurrentRequest */ export declare class GetCurrentRequest extends Message { /** * Name of a power sensor * * @generated from field: string name = 1; */ name: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.powersensor.v1.GetCurrentRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetCurrentRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetCurrentRequest; static fromJsonString(jsonString: string, options?: Partial): GetCurrentRequest; static equals(a: GetCurrentRequest | PlainMessage | undefined, b: GetCurrentRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.powersensor.v1.GetCurrentResponse */ export declare class GetCurrentResponse extends Message { /** * Current in amperes * * @generated from field: double amperes = 1; */ amperes: number; /** * Bool descibing whether the current is DC or AC * * @generated from field: bool is_ac = 2; */ isAc: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.powersensor.v1.GetCurrentResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetCurrentResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetCurrentResponse; static fromJsonString(jsonString: string, options?: Partial): GetCurrentResponse; static equals(a: GetCurrentResponse | PlainMessage | undefined, b: GetCurrentResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.powersensor.v1.GetPowerRequest */ export declare class GetPowerRequest extends Message { /** * Name of a power sensor * * @generated from field: string name = 1; */ name: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.powersensor.v1.GetPowerRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPowerRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetPowerRequest; static fromJsonString(jsonString: string, options?: Partial): GetPowerRequest; static equals(a: GetPowerRequest | PlainMessage | undefined, b: GetPowerRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.powersensor.v1.GetPowerResponse */ export declare class GetPowerResponse extends Message { /** * Power in watts * * @generated from field: double watts = 1; */ watts: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.powersensor.v1.GetPowerResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPowerResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetPowerResponse; static fromJsonString(jsonString: string, options?: Partial): GetPowerResponse; static equals(a: GetPowerResponse | PlainMessage | undefined, b: GetPowerResponse | PlainMessage | undefined): boolean; }