// @generated by protoc-gen-es v1.10.0 // @generated from file component/servo/v1/servo.proto (package viam.component.servo.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.servo.v1.MoveRequest */ export declare class MoveRequest extends Message { /** * the name of the servo, as registered * * @generated from field: string name = 1; */ name: string; /** * the degrees by which to rotate the servo. * * @generated from field: uint32 angle_deg = 2; */ angleDeg: number; /** * 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.servo.v1.MoveRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MoveRequest; static fromJson(jsonValue: JsonValue, options?: Partial): MoveRequest; static fromJsonString(jsonString: string, options?: Partial): MoveRequest; static equals(a: MoveRequest | PlainMessage | undefined, b: MoveRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.servo.v1.MoveResponse */ export declare class MoveResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.servo.v1.MoveResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MoveResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MoveResponse; static fromJsonString(jsonString: string, options?: Partial): MoveResponse; static equals(a: MoveResponse | PlainMessage | undefined, b: MoveResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.servo.v1.GetPositionRequest */ export declare class GetPositionRequest extends Message { /** * the name of the servo, as registered * * @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.servo.v1.GetPositionRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPositionRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetPositionRequest; static fromJsonString(jsonString: string, options?: Partial): GetPositionRequest; static equals(a: GetPositionRequest | PlainMessage | undefined, b: GetPositionRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.servo.v1.GetPositionResponse */ export declare class GetPositionResponse extends Message { /** * the degrees from neutral by which the servo is currently rotated. * * @generated from field: uint32 position_deg = 1; */ positionDeg: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.servo.v1.GetPositionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPositionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetPositionResponse; static fromJsonString(jsonString: string, options?: Partial): GetPositionResponse; static equals(a: GetPositionResponse | PlainMessage | undefined, b: GetPositionResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.servo.v1.StopRequest */ export declare class StopRequest extends Message { /** * Name of a servo * * @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.servo.v1.StopRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StopRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StopRequest; static fromJsonString(jsonString: string, options?: Partial): StopRequest; static equals(a: StopRequest | PlainMessage | undefined, b: StopRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.servo.v1.StopResponse */ export declare class StopResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.servo.v1.StopResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StopResponse; static fromJson(jsonValue: JsonValue, options?: Partial): StopResponse; static fromJsonString(jsonString: string, options?: Partial): StopResponse; static equals(a: StopResponse | PlainMessage | undefined, b: StopResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.servo.v1.Status */ export declare class Status extends Message { /** * @generated from field: uint32 position_deg = 1; */ positionDeg: number; /** * @generated from field: bool is_moving = 2; */ isMoving: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.servo.v1.Status"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Status; static fromJson(jsonValue: JsonValue, options?: Partial): Status; static fromJsonString(jsonString: string, options?: Partial): Status; static equals(a: Status | PlainMessage | undefined, b: Status | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.servo.v1.IsMovingRequest */ export declare class IsMovingRequest extends Message { /** * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.servo.v1.IsMovingRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IsMovingRequest; static fromJson(jsonValue: JsonValue, options?: Partial): IsMovingRequest; static fromJsonString(jsonString: string, options?: Partial): IsMovingRequest; static equals(a: IsMovingRequest | PlainMessage | undefined, b: IsMovingRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.servo.v1.IsMovingResponse */ export declare class IsMovingResponse extends Message { /** * @generated from field: bool is_moving = 1; */ isMoving: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.servo.v1.IsMovingResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IsMovingResponse; static fromJson(jsonValue: JsonValue, options?: Partial): IsMovingResponse; static fromJsonString(jsonString: string, options?: Partial): IsMovingResponse; static equals(a: IsMovingResponse | PlainMessage | undefined, b: IsMovingResponse | PlainMessage | undefined): boolean; }