// @generated by protoc-gen-es v1.10.0 // @generated from file app/cloudslam/v1/cloud_slam.proto (package viam.app.cloudslam.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { Pose } from "../../../common/v1/common_pb.js"; /** * @generated from enum viam.app.cloudslam.v1.EndStatus */ export declare enum EndStatus { /** * @generated from enum value: END_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: END_STATUS_SUCCESS = 1; */ SUCCESS = 1, /** * @generated from enum value: END_STATUS_TIMEOUT = 2; */ TIMEOUT = 2, /** * @generated from enum value: END_STATUS_FAIL = 3; */ FAIL = 3, } /** * @generated from message viam.app.cloudslam.v1.StartMappingSessionRequest */ export declare class StartMappingSessionRequest extends Message { /** * Version to use for slam, defaults stable * * @generated from field: string slam_version = 1; */ slamVersion: string; /** * Version to use for viam, defaults stable * * @generated from field: string viam_server_version = 2; */ viamServerVersion: string; /** * @generated from field: string map_name = 3; */ mapName: string; /** * @generated from field: string organization_id = 4; */ organizationId: string; /** * @generated from field: string location_id = 5; */ locationId: string; /** * @generated from field: string robot_id = 6; */ robotId: string; /** * @generated from field: viam.app.cloudslam.v1.CaptureInterval capture_interval = 7; */ captureInterval?: CaptureInterval; /** * @generated from field: repeated viam.app.cloudslam.v1.SensorInfo sensors = 8; */ sensors: SensorInfo[]; /** * @generated from field: google.protobuf.Struct slam_config = 10; */ slamConfig?: Struct; /** * @generated from field: string existing_map_version = 11; */ existingMapVersion: string; /** * @generated from field: viam.app.cloudslam.v1.Module module = 12; */ module?: Module; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.StartMappingSessionRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StartMappingSessionRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StartMappingSessionRequest; static fromJsonString(jsonString: string, options?: Partial): StartMappingSessionRequest; static equals(a: StartMappingSessionRequest | PlainMessage | undefined, b: StartMappingSessionRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.Module */ export declare class Module extends Message { /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: string module_id = 3; */ moduleId: string; /** * @generated from field: string version = 4; */ version: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.Module"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Module; static fromJson(jsonValue: JsonValue, options?: Partial): Module; static fromJsonString(jsonString: string, options?: Partial): Module; static equals(a: Module | PlainMessage | undefined, b: Module | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.SensorInfo */ export declare class SensorInfo extends Message { /** * @generated from field: string source_component_name = 1; */ sourceComponentName: string; /** * type is the RDK component type * * @generated from field: string type = 2; */ type: string; /** * @generated from field: string data_frequency_hz = 3; */ dataFrequencyHz: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.SensorInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SensorInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SensorInfo; static fromJsonString(jsonString: string, options?: Partial): SensorInfo; static equals(a: SensorInfo | PlainMessage | undefined, b: SensorInfo | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.CaptureInterval */ export declare class CaptureInterval extends Message { /** * @generated from field: google.protobuf.Timestamp start_time = 1; */ startTime?: Timestamp; /** * if no end_time specified cloud slam will be run using live sensors * * @generated from field: google.protobuf.Timestamp end_time = 2; */ endTime?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.CaptureInterval"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CaptureInterval; static fromJson(jsonValue: JsonValue, options?: Partial): CaptureInterval; static fromJsonString(jsonString: string, options?: Partial): CaptureInterval; static equals(a: CaptureInterval | PlainMessage | undefined, b: CaptureInterval | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.StartMappingSessionResponse */ export declare class StartMappingSessionResponse extends Message { /** * @generated from field: string session_id = 1; */ sessionId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.StartMappingSessionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StartMappingSessionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): StartMappingSessionResponse; static fromJsonString(jsonString: string, options?: Partial): StartMappingSessionResponse; static equals(a: StartMappingSessionResponse | PlainMessage | undefined, b: StartMappingSessionResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotRequest */ export declare class GetActiveMappingSessionsForRobotRequest extends Message { /** * assumes only one active mapping session on a robot * * @generated from field: string robot_id = 1; */ robotId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetActiveMappingSessionsForRobotRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetActiveMappingSessionsForRobotRequest; static fromJsonString(jsonString: string, options?: Partial): GetActiveMappingSessionsForRobotRequest; static equals(a: GetActiveMappingSessionsForRobotRequest | PlainMessage | undefined, b: GetActiveMappingSessionsForRobotRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotResponse */ export declare class GetActiveMappingSessionsForRobotResponse extends Message { /** * @generated from field: string session_id = 1; */ sessionId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetActiveMappingSessionsForRobotResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetActiveMappingSessionsForRobotResponse; static fromJsonString(jsonString: string, options?: Partial): GetActiveMappingSessionsForRobotResponse; static equals(a: GetActiveMappingSessionsForRobotResponse | PlainMessage | undefined, b: GetActiveMappingSessionsForRobotResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.GetMappingSessionPointCloudRequest */ export declare class GetMappingSessionPointCloudRequest extends Message { /** * @generated from field: string session_id = 1; */ sessionId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.GetMappingSessionPointCloudRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetMappingSessionPointCloudRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetMappingSessionPointCloudRequest; static fromJsonString(jsonString: string, options?: Partial): GetMappingSessionPointCloudRequest; static equals(a: GetMappingSessionPointCloudRequest | PlainMessage | undefined, b: GetMappingSessionPointCloudRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.GetMappingSessionPointCloudResponse */ export declare class GetMappingSessionPointCloudResponse extends Message { /** * url to the pointcloud map * * @generated from field: string map_url = 1; */ mapUrl: string; /** * Current position within the SLAM Map * * @generated from field: viam.common.v1.Pose pose = 2; */ pose?: Pose; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.GetMappingSessionPointCloudResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetMappingSessionPointCloudResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetMappingSessionPointCloudResponse; static fromJsonString(jsonString: string, options?: Partial): GetMappingSessionPointCloudResponse; static equals(a: GetMappingSessionPointCloudResponse | PlainMessage | undefined, b: GetMappingSessionPointCloudResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.ListMappingSessionsRequest */ export declare class ListMappingSessionsRequest extends Message { /** * @generated from field: string organization_id = 1; */ organizationId: string; /** * @generated from field: string location_id = 2; */ locationId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.ListMappingSessionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListMappingSessionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListMappingSessionsRequest; static fromJsonString(jsonString: string, options?: Partial): ListMappingSessionsRequest; static equals(a: ListMappingSessionsRequest | PlainMessage | undefined, b: ListMappingSessionsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.ListMappingSessionsResponse */ export declare class ListMappingSessionsResponse extends Message { /** * @generated from field: repeated viam.app.cloudslam.v1.MappingMetadata session = 1; */ session: MappingMetadata[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.ListMappingSessionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListMappingSessionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListMappingSessionsResponse; static fromJsonString(jsonString: string, options?: Partial): ListMappingSessionsResponse; static equals(a: ListMappingSessionsResponse | PlainMessage | undefined, b: ListMappingSessionsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.StopMappingSessionRequest */ export declare class StopMappingSessionRequest extends Message { /** * @generated from field: string session_id = 1; */ sessionId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.StopMappingSessionRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StopMappingSessionRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StopMappingSessionRequest; static fromJsonString(jsonString: string, options?: Partial): StopMappingSessionRequest; static equals(a: StopMappingSessionRequest | PlainMessage | undefined, b: StopMappingSessionRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.StopMappingSessionResponse */ export declare class StopMappingSessionResponse extends Message { /** * @generated from field: string package_id = 1; */ packageId: string; /** * @generated from field: string version = 2; */ version: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.StopMappingSessionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StopMappingSessionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): StopMappingSessionResponse; static fromJsonString(jsonString: string, options?: Partial): StopMappingSessionResponse; static equals(a: StopMappingSessionResponse | PlainMessage | undefined, b: StopMappingSessionResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.GetMappingSessionMetadataByIDRequest */ export declare class GetMappingSessionMetadataByIDRequest extends Message { /** * @generated from field: string session_id = 1; */ sessionId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.GetMappingSessionMetadataByIDRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetMappingSessionMetadataByIDRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetMappingSessionMetadataByIDRequest; static fromJsonString(jsonString: string, options?: Partial): GetMappingSessionMetadataByIDRequest; static equals(a: GetMappingSessionMetadataByIDRequest | PlainMessage | undefined, b: GetMappingSessionMetadataByIDRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.GetMappingSessionMetadataByIDResponse */ export declare class GetMappingSessionMetadataByIDResponse extends Message { /** * @generated from field: viam.app.cloudslam.v1.MappingMetadata session_metadata = 1; */ sessionMetadata?: MappingMetadata; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.GetMappingSessionMetadataByIDResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetMappingSessionMetadataByIDResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetMappingSessionMetadataByIDResponse; static fromJsonString(jsonString: string, options?: Partial): GetMappingSessionMetadataByIDResponse; static equals(a: GetMappingSessionMetadataByIDResponse | PlainMessage | undefined, b: GetMappingSessionMetadataByIDResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.app.cloudslam.v1.MappingMetadata */ export declare class MappingMetadata extends Message { /** * org associated with the slam session * * @generated from field: string org_id = 1; */ orgId: string; /** * location associated with the slam session * * @generated from field: string location_id = 2; */ locationId: string; /** * robot associated with slam session * * @generated from field: string robot_id = 3; */ robotId: string; /** * time this document was created * * @generated from field: google.protobuf.Timestamp time_start_submitted = 4; */ timeStartSubmitted?: Timestamp; /** * time the cloud run job started * * @generated from field: google.protobuf.Timestamp time_cloud_run_job_started = 5; */ timeCloudRunJobStarted?: Timestamp; /** * time StopSlamSession was called * * @generated from field: google.protobuf.Timestamp time_end_submitted = 6; */ timeEndSubmitted?: Timestamp; /** * time the cloud run job ended * * @generated from field: google.protobuf.Timestamp time_cloud_run_job_ended = 7; */ timeCloudRunJobEnded?: Timestamp; /** * enums that represent “success”, “failed”, etc * * @generated from field: viam.app.cloudslam.v1.EndStatus end_status = 8; */ endStatus: EndStatus; /** * initially unset * * @generated from field: string cloud_run_job_id = 9; */ cloudRunJobId: string; /** * version tag from request, defaults to stable * * @generated from field: string viam_server_version = 10; */ viamServerVersion: string; /** * name of the map package * * @generated from field: string map_name = 11; */ mapName: string; /** * version tag from request, defaults to stable * * @generated from field: string slam_version = 12; */ slamVersion: string; /** * a robot config for a slam session * * @generated from field: string config = 13; */ config: string; /** * additional details on the end status if needed, such as errors * * @generated from field: string error_msg = 14; */ errorMsg: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.app.cloudslam.v1.MappingMetadata"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MappingMetadata; static fromJson(jsonValue: JsonValue, options?: Partial): MappingMetadata; static fromJsonString(jsonString: string, options?: Partial): MappingMetadata; static equals(a: MappingMetadata | PlainMessage | undefined, b: MappingMetadata | PlainMessage | undefined): boolean; }