// @generated by protoc-gen-es v1.10.0 // @generated from file component/encoder/v1/encoder.proto (package viam.component.encoder.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 enum viam.component.encoder.v1.PositionType */ export declare enum PositionType { /** * @generated from enum value: POSITION_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Return type for relative encoders that report * how far they've gone from a start position * * @generated from enum value: POSITION_TYPE_TICKS_COUNT = 1; */ TICKS_COUNT = 1, /** * Return type for absolute encoders that report * their position in degrees along the radial axis * * @generated from enum value: POSITION_TYPE_ANGLE_DEGREES = 2; */ ANGLE_DEGREES = 2, } /** * @generated from message viam.component.encoder.v1.GetPositionRequest */ export declare class GetPositionRequest extends Message { /** * Name of encoder * * @generated from field: string name = 1; */ name: string; /** * If supplied, the response will return the specified * position type. If the driver does not implement * the requested type, this call will return an error. * If position type is not specified, the response * will return a default according to the driver. * * @generated from field: optional viam.component.encoder.v1.PositionType position_type = 2; */ positionType?: PositionType; /** * 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.encoder.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.encoder.v1.GetPositionResponse */ export declare class GetPositionResponse extends Message { /** * @generated from field: float value = 1; */ value: number; /** * @generated from field: viam.component.encoder.v1.PositionType position_type = 2; */ positionType: PositionType; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.encoder.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.encoder.v1.ResetPositionRequest */ export declare class ResetPositionRequest extends Message { /** * Name of an encoder * * @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.encoder.v1.ResetPositionRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ResetPositionRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ResetPositionRequest; static fromJsonString(jsonString: string, options?: Partial): ResetPositionRequest; static equals(a: ResetPositionRequest | PlainMessage | undefined, b: ResetPositionRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.encoder.v1.ResetPositionResponse */ export declare class ResetPositionResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.encoder.v1.ResetPositionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ResetPositionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ResetPositionResponse; static fromJsonString(jsonString: string, options?: Partial): ResetPositionResponse; static equals(a: ResetPositionResponse | PlainMessage | undefined, b: ResetPositionResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.encoder.v1.GetPropertiesRequest */ export declare class GetPropertiesRequest extends Message { /** * Name of the encoder * * @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.encoder.v1.GetPropertiesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPropertiesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetPropertiesRequest; static fromJsonString(jsonString: string, options?: Partial): GetPropertiesRequest; static equals(a: GetPropertiesRequest | PlainMessage | undefined, b: GetPropertiesRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.encoder.v1.GetPropertiesResponse */ export declare class GetPropertiesResponse extends Message { /** * @generated from field: bool ticks_count_supported = 1; */ ticksCountSupported: boolean; /** * @generated from field: bool angle_degrees_supported = 2; */ angleDegreesSupported: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.encoder.v1.GetPropertiesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPropertiesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetPropertiesResponse; static fromJsonString(jsonString: string, options?: Partial): GetPropertiesResponse; static equals(a: GetPropertiesResponse | PlainMessage | undefined, b: GetPropertiesResponse | PlainMessage | undefined): boolean; }