Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCloudSLAMServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCloudSLAMServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CloudSLAMServiceClient) error
- func RegisterCloudSLAMServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCloudSLAMServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CloudSLAMServiceServer) error
- func RegisterCloudSLAMServiceServer(s grpc.ServiceRegistrar, srv CloudSLAMServiceServer)
- type CaptureInterval
- func (*CaptureInterval) Descriptor() ([]byte, []int)deprecated
- func (x *CaptureInterval) GetEndTime() *timestamppb.Timestamp
- func (x *CaptureInterval) GetStartTime() *timestamppb.Timestamp
- func (*CaptureInterval) ProtoMessage()
- func (x *CaptureInterval) ProtoReflect() protoreflect.Message
- func (x *CaptureInterval) Reset()
- func (x *CaptureInterval) String() string
- type CloudSLAMServiceClient
- type CloudSLAMServiceServer
- type EndStatus
- type GetActiveMappingSessionsForRobotRequest
- func (*GetActiveMappingSessionsForRobotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActiveMappingSessionsForRobotRequest) GetRobotId() string
- func (*GetActiveMappingSessionsForRobotRequest) ProtoMessage()
- func (x *GetActiveMappingSessionsForRobotRequest) ProtoReflect() protoreflect.Message
- func (x *GetActiveMappingSessionsForRobotRequest) Reset()
- func (x *GetActiveMappingSessionsForRobotRequest) String() string
- type GetActiveMappingSessionsForRobotResponse
- func (*GetActiveMappingSessionsForRobotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActiveMappingSessionsForRobotResponse) GetSessionId() string
- func (*GetActiveMappingSessionsForRobotResponse) ProtoMessage()
- func (x *GetActiveMappingSessionsForRobotResponse) ProtoReflect() protoreflect.Message
- func (x *GetActiveMappingSessionsForRobotResponse) Reset()
- func (x *GetActiveMappingSessionsForRobotResponse) String() string
- type GetMappingSessionMetadataByIDRequest
- func (*GetMappingSessionMetadataByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingSessionMetadataByIDRequest) GetSessionId() string
- func (*GetMappingSessionMetadataByIDRequest) ProtoMessage()
- func (x *GetMappingSessionMetadataByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetMappingSessionMetadataByIDRequest) Reset()
- func (x *GetMappingSessionMetadataByIDRequest) String() string
- type GetMappingSessionMetadataByIDResponse
- func (*GetMappingSessionMetadataByIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingSessionMetadataByIDResponse) GetSessionMetadata() *MappingMetadata
- func (*GetMappingSessionMetadataByIDResponse) ProtoMessage()
- func (x *GetMappingSessionMetadataByIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetMappingSessionMetadataByIDResponse) Reset()
- func (x *GetMappingSessionMetadataByIDResponse) String() string
- type GetMappingSessionPointCloudRequest
- func (*GetMappingSessionPointCloudRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingSessionPointCloudRequest) GetSessionId() string
- func (*GetMappingSessionPointCloudRequest) ProtoMessage()
- func (x *GetMappingSessionPointCloudRequest) ProtoReflect() protoreflect.Message
- func (x *GetMappingSessionPointCloudRequest) Reset()
- func (x *GetMappingSessionPointCloudRequest) String() string
- type GetMappingSessionPointCloudResponse
- func (*GetMappingSessionPointCloudResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingSessionPointCloudResponse) GetMapUrl() string
- func (x *GetMappingSessionPointCloudResponse) GetPose() *v1.Pose
- func (*GetMappingSessionPointCloudResponse) ProtoMessage()
- func (x *GetMappingSessionPointCloudResponse) ProtoReflect() protoreflect.Message
- func (x *GetMappingSessionPointCloudResponse) Reset()
- func (x *GetMappingSessionPointCloudResponse) String() string
- type ListMappingSessionsRequest
- func (*ListMappingSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMappingSessionsRequest) GetLocationId() string
- func (x *ListMappingSessionsRequest) GetOrganizationId() string
- func (*ListMappingSessionsRequest) ProtoMessage()
- func (x *ListMappingSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMappingSessionsRequest) Reset()
- func (x *ListMappingSessionsRequest) String() string
- type ListMappingSessionsResponse
- func (*ListMappingSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMappingSessionsResponse) GetSession() []*MappingMetadata
- func (*ListMappingSessionsResponse) ProtoMessage()
- func (x *ListMappingSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMappingSessionsResponse) Reset()
- func (x *ListMappingSessionsResponse) String() string
- type MappingMetadata
- func (*MappingMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MappingMetadata) GetCloudRunJobId() string
- func (x *MappingMetadata) GetConfig() string
- func (x *MappingMetadata) GetEndStatus() EndStatus
- func (x *MappingMetadata) GetErrorMsg() string
- func (x *MappingMetadata) GetLocationId() string
- func (x *MappingMetadata) GetMapName() string
- func (x *MappingMetadata) GetOrgId() string
- func (x *MappingMetadata) GetRobotId() string
- func (x *MappingMetadata) GetSlamVersion() string
- func (x *MappingMetadata) GetTimeCloudRunJobEnded() *timestamppb.Timestamp
- func (x *MappingMetadata) GetTimeCloudRunJobStarted() *timestamppb.Timestamp
- func (x *MappingMetadata) GetTimeEndSubmitted() *timestamppb.Timestamp
- func (x *MappingMetadata) GetTimeStartSubmitted() *timestamppb.Timestamp
- func (x *MappingMetadata) GetViamServerVersion() string
- func (*MappingMetadata) ProtoMessage()
- func (x *MappingMetadata) ProtoReflect() protoreflect.Message
- func (x *MappingMetadata) Reset()
- func (x *MappingMetadata) String() string
- type SensorInfo
- func (*SensorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SensorInfo) GetDataFrequencyHz() string
- func (x *SensorInfo) GetSourceComponentName() string
- func (x *SensorInfo) GetType() string
- func (*SensorInfo) ProtoMessage()
- func (x *SensorInfo) ProtoReflect() protoreflect.Message
- func (x *SensorInfo) Reset()
- func (x *SensorInfo) String() string
- type StartMappingSessionRequest
- func (*StartMappingSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartMappingSessionRequest) GetCaptureInterval() *CaptureInterval
- func (x *StartMappingSessionRequest) GetExistingMapVersion() string
- func (x *StartMappingSessionRequest) GetLocationId() string
- func (x *StartMappingSessionRequest) GetMapName() string
- func (x *StartMappingSessionRequest) GetOrganizationId() string
- func (x *StartMappingSessionRequest) GetRobotId() string
- func (x *StartMappingSessionRequest) GetSensors() []*SensorInfo
- func (x *StartMappingSessionRequest) GetSlamAlgorithmParams() *structpb.Struct
- func (x *StartMappingSessionRequest) GetSlamVersion() string
- func (x *StartMappingSessionRequest) GetViamServerVersion() string
- func (*StartMappingSessionRequest) ProtoMessage()
- func (x *StartMappingSessionRequest) ProtoReflect() protoreflect.Message
- func (x *StartMappingSessionRequest) Reset()
- func (x *StartMappingSessionRequest) String() string
- type StartMappingSessionResponse
- func (*StartMappingSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartMappingSessionResponse) GetSessionId() string
- func (*StartMappingSessionResponse) ProtoMessage()
- func (x *StartMappingSessionResponse) ProtoReflect() protoreflect.Message
- func (x *StartMappingSessionResponse) Reset()
- func (x *StartMappingSessionResponse) String() string
- type StopMappingSessionRequest
- func (*StopMappingSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopMappingSessionRequest) GetSessionId() string
- func (*StopMappingSessionRequest) ProtoMessage()
- func (x *StopMappingSessionRequest) ProtoReflect() protoreflect.Message
- func (x *StopMappingSessionRequest) Reset()
- func (x *StopMappingSessionRequest) String() string
- type StopMappingSessionResponse
- func (*StopMappingSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StopMappingSessionResponse) GetPackageId() string
- func (x *StopMappingSessionResponse) GetVersion() string
- func (*StopMappingSessionResponse) ProtoMessage()
- func (x *StopMappingSessionResponse) ProtoReflect() protoreflect.Message
- func (x *StopMappingSessionResponse) Reset()
- func (x *StopMappingSessionResponse) String() string
- type UnimplementedCloudSLAMServiceServer
- func (UnimplementedCloudSLAMServiceServer) GetActiveMappingSessionsForRobot(context.Context, *GetActiveMappingSessionsForRobotRequest) (*GetActiveMappingSessionsForRobotResponse, error)
- func (UnimplementedCloudSLAMServiceServer) GetMappingSessionMetadataByID(context.Context, *GetMappingSessionMetadataByIDRequest) (*GetMappingSessionMetadataByIDResponse, error)
- func (UnimplementedCloudSLAMServiceServer) GetMappingSessionPointCloud(context.Context, *GetMappingSessionPointCloudRequest) (*GetMappingSessionPointCloudResponse, error)
- func (UnimplementedCloudSLAMServiceServer) ListMappingSessions(context.Context, *ListMappingSessionsRequest) (*ListMappingSessionsResponse, error)
- func (UnimplementedCloudSLAMServiceServer) StartMappingSession(context.Context, *StartMappingSessionRequest) (*StartMappingSessionResponse, error)
- func (UnimplementedCloudSLAMServiceServer) StopMappingSession(context.Context, *StopMappingSessionRequest) (*StopMappingSessionResponse, error)
- type UnsafeCloudSLAMServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( EndStatus_name = map[int32]string{ 0: "END_STATUS_UNSPECIFIED", 1: "END_STATUS_SUCCESS", 2: "END_STATUS_TIMEOUT", 3: "END_STATUS_FAIL", } EndStatus_value = map[string]int32{ "END_STATUS_UNSPECIFIED": 0, "END_STATUS_SUCCESS": 1, "END_STATUS_TIMEOUT": 2, "END_STATUS_FAIL": 3, } )
Enum value maps for EndStatus.
var CloudSLAMService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "viam.app.cloudslam.v1.CloudSLAMService", HandlerType: (*CloudSLAMServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "StartMappingSession", Handler: _CloudSLAMService_StartMappingSession_Handler, }, { MethodName: "GetActiveMappingSessionsForRobot", Handler: _CloudSLAMService_GetActiveMappingSessionsForRobot_Handler, }, { MethodName: "GetMappingSessionPointCloud", Handler: _CloudSLAMService_GetMappingSessionPointCloud_Handler, }, { MethodName: "ListMappingSessions", Handler: _CloudSLAMService_ListMappingSessions_Handler, }, { MethodName: "StopMappingSession", Handler: _CloudSLAMService_StopMappingSession_Handler, }, { MethodName: "GetMappingSessionMetadataByID", Handler: _CloudSLAMService_GetMappingSessionMetadataByID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "app/cloudslam/v1/cloud_slam.proto", }
CloudSLAMService_ServiceDesc is the grpc.ServiceDesc for CloudSLAMService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_app_cloudslam_v1_cloud_slam_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCloudSLAMServiceHandler ¶
func RegisterCloudSLAMServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCloudSLAMServiceHandler registers the http handlers for service CloudSLAMService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCloudSLAMServiceHandlerClient ¶
func RegisterCloudSLAMServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CloudSLAMServiceClient) error
RegisterCloudSLAMServiceHandlerClient registers the http handlers for service CloudSLAMService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CloudSLAMServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CloudSLAMServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CloudSLAMServiceClient" to call the correct interceptors.
func RegisterCloudSLAMServiceHandlerFromEndpoint ¶
func RegisterCloudSLAMServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCloudSLAMServiceHandlerFromEndpoint is same as RegisterCloudSLAMServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCloudSLAMServiceHandlerServer ¶
func RegisterCloudSLAMServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CloudSLAMServiceServer) error
RegisterCloudSLAMServiceHandlerServer registers the http handlers for service CloudSLAMService to "mux". UnaryRPC :call CloudSLAMServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCloudSLAMServiceHandlerFromEndpoint instead.
func RegisterCloudSLAMServiceServer ¶
func RegisterCloudSLAMServiceServer(s grpc.ServiceRegistrar, srv CloudSLAMServiceServer)
Types ¶
type CaptureInterval ¶ added in v0.1.201
type CaptureInterval struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // if no end_time specified cloud slam will be run using live sensors EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*CaptureInterval) Descriptor
deprecated
added in
v0.1.201
func (*CaptureInterval) Descriptor() ([]byte, []int)
Deprecated: Use CaptureInterval.ProtoReflect.Descriptor instead.
func (*CaptureInterval) GetEndTime ¶ added in v0.1.201
func (x *CaptureInterval) GetEndTime() *timestamppb.Timestamp
func (*CaptureInterval) GetStartTime ¶ added in v0.1.201
func (x *CaptureInterval) GetStartTime() *timestamppb.Timestamp
func (*CaptureInterval) ProtoMessage ¶ added in v0.1.201
func (*CaptureInterval) ProtoMessage()
func (*CaptureInterval) ProtoReflect ¶ added in v0.1.201
func (x *CaptureInterval) ProtoReflect() protoreflect.Message
func (*CaptureInterval) Reset ¶ added in v0.1.201
func (x *CaptureInterval) Reset()
func (*CaptureInterval) String ¶ added in v0.1.201
func (x *CaptureInterval) String() string
type CloudSLAMServiceClient ¶
type CloudSLAMServiceClient interface { StartMappingSession(ctx context.Context, in *StartMappingSessionRequest, opts ...grpc.CallOption) (*StartMappingSessionResponse, error) GetActiveMappingSessionsForRobot(ctx context.Context, in *GetActiveMappingSessionsForRobotRequest, opts ...grpc.CallOption) (*GetActiveMappingSessionsForRobotResponse, error) GetMappingSessionPointCloud(ctx context.Context, in *GetMappingSessionPointCloudRequest, opts ...grpc.CallOption) (*GetMappingSessionPointCloudResponse, error) ListMappingSessions(ctx context.Context, in *ListMappingSessionsRequest, opts ...grpc.CallOption) (*ListMappingSessionsResponse, error) StopMappingSession(ctx context.Context, in *StopMappingSessionRequest, opts ...grpc.CallOption) (*StopMappingSessionResponse, error) GetMappingSessionMetadataByID(ctx context.Context, in *GetMappingSessionMetadataByIDRequest, opts ...grpc.CallOption) (*GetMappingSessionMetadataByIDResponse, error) }
CloudSLAMServiceClient is the client API for CloudSLAMService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCloudSLAMServiceClient ¶
func NewCloudSLAMServiceClient(cc grpc.ClientConnInterface) CloudSLAMServiceClient
type CloudSLAMServiceServer ¶
type CloudSLAMServiceServer interface { StartMappingSession(context.Context, *StartMappingSessionRequest) (*StartMappingSessionResponse, error) GetActiveMappingSessionsForRobot(context.Context, *GetActiveMappingSessionsForRobotRequest) (*GetActiveMappingSessionsForRobotResponse, error) GetMappingSessionPointCloud(context.Context, *GetMappingSessionPointCloudRequest) (*GetMappingSessionPointCloudResponse, error) ListMappingSessions(context.Context, *ListMappingSessionsRequest) (*ListMappingSessionsResponse, error) StopMappingSession(context.Context, *StopMappingSessionRequest) (*StopMappingSessionResponse, error) GetMappingSessionMetadataByID(context.Context, *GetMappingSessionMetadataByIDRequest) (*GetMappingSessionMetadataByIDResponse, error) // contains filtered or unexported methods }
CloudSLAMServiceServer is the server API for CloudSLAMService service. All implementations must embed UnimplementedCloudSLAMServiceServer for forward compatibility
type EndStatus ¶ added in v0.1.212
type EndStatus int32
func (EndStatus) Descriptor ¶ added in v0.1.212
func (EndStatus) Descriptor() protoreflect.EnumDescriptor
func (EndStatus) EnumDescriptor
deprecated
added in
v0.1.212
func (EndStatus) Number ¶ added in v0.1.212
func (x EndStatus) Number() protoreflect.EnumNumber
func (EndStatus) Type ¶ added in v0.1.212
func (EndStatus) Type() protoreflect.EnumType
type GetActiveMappingSessionsForRobotRequest ¶
type GetActiveMappingSessionsForRobotRequest struct { // assumes only one active mapping session on a robot RobotId string `protobuf:"bytes,1,opt,name=robot_id,json=robotId,proto3" json:"robot_id,omitempty"` // contains filtered or unexported fields }
func (*GetActiveMappingSessionsForRobotRequest) Descriptor
deprecated
func (*GetActiveMappingSessionsForRobotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveMappingSessionsForRobotRequest.ProtoReflect.Descriptor instead.
func (*GetActiveMappingSessionsForRobotRequest) GetRobotId ¶
func (x *GetActiveMappingSessionsForRobotRequest) GetRobotId() string
func (*GetActiveMappingSessionsForRobotRequest) ProtoMessage ¶
func (*GetActiveMappingSessionsForRobotRequest) ProtoMessage()
func (*GetActiveMappingSessionsForRobotRequest) ProtoReflect ¶
func (x *GetActiveMappingSessionsForRobotRequest) ProtoReflect() protoreflect.Message
func (*GetActiveMappingSessionsForRobotRequest) Reset ¶
func (x *GetActiveMappingSessionsForRobotRequest) Reset()
func (*GetActiveMappingSessionsForRobotRequest) String ¶
func (x *GetActiveMappingSessionsForRobotRequest) String() string
type GetActiveMappingSessionsForRobotResponse ¶
type GetActiveMappingSessionsForRobotResponse struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*GetActiveMappingSessionsForRobotResponse) Descriptor
deprecated
func (*GetActiveMappingSessionsForRobotResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveMappingSessionsForRobotResponse.ProtoReflect.Descriptor instead.
func (*GetActiveMappingSessionsForRobotResponse) GetSessionId ¶
func (x *GetActiveMappingSessionsForRobotResponse) GetSessionId() string
func (*GetActiveMappingSessionsForRobotResponse) ProtoMessage ¶
func (*GetActiveMappingSessionsForRobotResponse) ProtoMessage()
func (*GetActiveMappingSessionsForRobotResponse) ProtoReflect ¶
func (x *GetActiveMappingSessionsForRobotResponse) ProtoReflect() protoreflect.Message
func (*GetActiveMappingSessionsForRobotResponse) Reset ¶
func (x *GetActiveMappingSessionsForRobotResponse) Reset()
func (*GetActiveMappingSessionsForRobotResponse) String ¶
func (x *GetActiveMappingSessionsForRobotResponse) String() string
type GetMappingSessionMetadataByIDRequest ¶ added in v0.1.165
type GetMappingSessionMetadataByIDRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*GetMappingSessionMetadataByIDRequest) Descriptor
deprecated
added in
v0.1.165
func (*GetMappingSessionMetadataByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingSessionMetadataByIDRequest.ProtoReflect.Descriptor instead.
func (*GetMappingSessionMetadataByIDRequest) GetSessionId ¶ added in v0.1.165
func (x *GetMappingSessionMetadataByIDRequest) GetSessionId() string
func (*GetMappingSessionMetadataByIDRequest) ProtoMessage ¶ added in v0.1.165
func (*GetMappingSessionMetadataByIDRequest) ProtoMessage()
func (*GetMappingSessionMetadataByIDRequest) ProtoReflect ¶ added in v0.1.165
func (x *GetMappingSessionMetadataByIDRequest) ProtoReflect() protoreflect.Message
func (*GetMappingSessionMetadataByIDRequest) Reset ¶ added in v0.1.165
func (x *GetMappingSessionMetadataByIDRequest) Reset()
func (*GetMappingSessionMetadataByIDRequest) String ¶ added in v0.1.165
func (x *GetMappingSessionMetadataByIDRequest) String() string
type GetMappingSessionMetadataByIDResponse ¶ added in v0.1.165
type GetMappingSessionMetadataByIDResponse struct { SessionMetadata *MappingMetadata `protobuf:"bytes,1,opt,name=session_metadata,json=sessionMetadata,proto3" json:"session_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetMappingSessionMetadataByIDResponse) Descriptor
deprecated
added in
v0.1.165
func (*GetMappingSessionMetadataByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingSessionMetadataByIDResponse.ProtoReflect.Descriptor instead.
func (*GetMappingSessionMetadataByIDResponse) GetSessionMetadata ¶ added in v0.1.165
func (x *GetMappingSessionMetadataByIDResponse) GetSessionMetadata() *MappingMetadata
func (*GetMappingSessionMetadataByIDResponse) ProtoMessage ¶ added in v0.1.165
func (*GetMappingSessionMetadataByIDResponse) ProtoMessage()
func (*GetMappingSessionMetadataByIDResponse) ProtoReflect ¶ added in v0.1.165
func (x *GetMappingSessionMetadataByIDResponse) ProtoReflect() protoreflect.Message
func (*GetMappingSessionMetadataByIDResponse) Reset ¶ added in v0.1.165
func (x *GetMappingSessionMetadataByIDResponse) Reset()
func (*GetMappingSessionMetadataByIDResponse) String ¶ added in v0.1.165
func (x *GetMappingSessionMetadataByIDResponse) String() string
type GetMappingSessionPointCloudRequest ¶
type GetMappingSessionPointCloudRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*GetMappingSessionPointCloudRequest) Descriptor
deprecated
func (*GetMappingSessionPointCloudRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingSessionPointCloudRequest.ProtoReflect.Descriptor instead.
func (*GetMappingSessionPointCloudRequest) GetSessionId ¶
func (x *GetMappingSessionPointCloudRequest) GetSessionId() string
func (*GetMappingSessionPointCloudRequest) ProtoMessage ¶
func (*GetMappingSessionPointCloudRequest) ProtoMessage()
func (*GetMappingSessionPointCloudRequest) ProtoReflect ¶
func (x *GetMappingSessionPointCloudRequest) ProtoReflect() protoreflect.Message
func (*GetMappingSessionPointCloudRequest) Reset ¶
func (x *GetMappingSessionPointCloudRequest) Reset()
func (*GetMappingSessionPointCloudRequest) String ¶
func (x *GetMappingSessionPointCloudRequest) String() string
type GetMappingSessionPointCloudResponse ¶
type GetMappingSessionPointCloudResponse struct { // url to the pointcloud map MapUrl string `protobuf:"bytes,1,opt,name=map_url,json=mapUrl,proto3" json:"map_url,omitempty"` // Current position within the SLAM Map Pose *v1.Pose `protobuf:"bytes,2,opt,name=pose,proto3" json:"pose,omitempty"` // contains filtered or unexported fields }
func (*GetMappingSessionPointCloudResponse) Descriptor
deprecated
func (*GetMappingSessionPointCloudResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingSessionPointCloudResponse.ProtoReflect.Descriptor instead.
func (*GetMappingSessionPointCloudResponse) GetMapUrl ¶
func (x *GetMappingSessionPointCloudResponse) GetMapUrl() string
func (*GetMappingSessionPointCloudResponse) GetPose ¶
func (x *GetMappingSessionPointCloudResponse) GetPose() *v1.Pose
func (*GetMappingSessionPointCloudResponse) ProtoMessage ¶
func (*GetMappingSessionPointCloudResponse) ProtoMessage()
func (*GetMappingSessionPointCloudResponse) ProtoReflect ¶
func (x *GetMappingSessionPointCloudResponse) ProtoReflect() protoreflect.Message
func (*GetMappingSessionPointCloudResponse) Reset ¶
func (x *GetMappingSessionPointCloudResponse) Reset()
func (*GetMappingSessionPointCloudResponse) String ¶
func (x *GetMappingSessionPointCloudResponse) String() string
type ListMappingSessionsRequest ¶
type ListMappingSessionsRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` LocationId string `protobuf:"bytes,2,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // contains filtered or unexported fields }
func (*ListMappingSessionsRequest) Descriptor
deprecated
func (*ListMappingSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMappingSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListMappingSessionsRequest) GetLocationId ¶
func (x *ListMappingSessionsRequest) GetLocationId() string
func (*ListMappingSessionsRequest) GetOrganizationId ¶ added in v0.1.149
func (x *ListMappingSessionsRequest) GetOrganizationId() string
func (*ListMappingSessionsRequest) ProtoMessage ¶
func (*ListMappingSessionsRequest) ProtoMessage()
func (*ListMappingSessionsRequest) ProtoReflect ¶
func (x *ListMappingSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListMappingSessionsRequest) Reset ¶
func (x *ListMappingSessionsRequest) Reset()
func (*ListMappingSessionsRequest) String ¶
func (x *ListMappingSessionsRequest) String() string
type ListMappingSessionsResponse ¶
type ListMappingSessionsResponse struct { Session []*MappingMetadata `protobuf:"bytes,1,rep,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*ListMappingSessionsResponse) Descriptor
deprecated
func (*ListMappingSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMappingSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListMappingSessionsResponse) GetSession ¶
func (x *ListMappingSessionsResponse) GetSession() []*MappingMetadata
func (*ListMappingSessionsResponse) ProtoMessage ¶
func (*ListMappingSessionsResponse) ProtoMessage()
func (*ListMappingSessionsResponse) ProtoReflect ¶
func (x *ListMappingSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListMappingSessionsResponse) Reset ¶
func (x *ListMappingSessionsResponse) Reset()
func (*ListMappingSessionsResponse) String ¶
func (x *ListMappingSessionsResponse) String() string
type MappingMetadata ¶
type MappingMetadata struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // org associated with the slam session LocationId string `protobuf:"bytes,2,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // location associated with the slam session RobotId string `protobuf:"bytes,3,opt,name=robot_id,json=robotId,proto3" json:"robot_id,omitempty"` // robot associated with slam session TimeStartSubmitted *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_start_submitted,json=timeStartSubmitted,proto3" json:"time_start_submitted,omitempty"` // time this document was created TimeCloudRunJobStarted *timestamppb.Timestamp `` // time the cloud run job started /* 133-byte string literal not displayed */ TimeEndSubmitted *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time_end_submitted,json=timeEndSubmitted,proto3" json:"time_end_submitted,omitempty"` // time StopSlamSession was called TimeCloudRunJobEnded *timestamppb.Timestamp `` // time the cloud run job ended /* 127-byte string literal not displayed */ EndStatus EndStatus `` // enums that represent “success”, “failed”, etc /* 126-byte string literal not displayed */ CloudRunJobId string `protobuf:"bytes,9,opt,name=cloud_run_job_id,json=cloudRunJobId,proto3" json:"cloud_run_job_id,omitempty"` // initially unset ViamServerVersion string `protobuf:"bytes,10,opt,name=viam_server_version,json=viamServerVersion,proto3" json:"viam_server_version,omitempty"` // version tag from request, defaults to stable MapName string `protobuf:"bytes,11,opt,name=map_name,json=mapName,proto3" json:"map_name,omitempty"` // name of the map package SlamVersion string `protobuf:"bytes,12,opt,name=slam_version,json=slamVersion,proto3" json:"slam_version,omitempty"` // version tag from request, defaults to stable Config string `protobuf:"bytes,13,opt,name=config,proto3" json:"config,omitempty"` // a robot config for a slam session ErrorMsg string `protobuf:"bytes,14,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` // additional details on the end status if needed, such as errors // contains filtered or unexported fields }
func (*MappingMetadata) Descriptor
deprecated
func (*MappingMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MappingMetadata.ProtoReflect.Descriptor instead.
func (*MappingMetadata) GetCloudRunJobId ¶
func (x *MappingMetadata) GetCloudRunJobId() string
func (*MappingMetadata) GetConfig ¶
func (x *MappingMetadata) GetConfig() string
func (*MappingMetadata) GetEndStatus ¶
func (x *MappingMetadata) GetEndStatus() EndStatus
func (*MappingMetadata) GetErrorMsg ¶ added in v0.1.187
func (x *MappingMetadata) GetErrorMsg() string
func (*MappingMetadata) GetLocationId ¶
func (x *MappingMetadata) GetLocationId() string
func (*MappingMetadata) GetMapName ¶
func (x *MappingMetadata) GetMapName() string
func (*MappingMetadata) GetOrgId ¶
func (x *MappingMetadata) GetOrgId() string
func (*MappingMetadata) GetRobotId ¶
func (x *MappingMetadata) GetRobotId() string
func (*MappingMetadata) GetSlamVersion ¶
func (x *MappingMetadata) GetSlamVersion() string
func (*MappingMetadata) GetTimeCloudRunJobEnded ¶
func (x *MappingMetadata) GetTimeCloudRunJobEnded() *timestamppb.Timestamp
func (*MappingMetadata) GetTimeCloudRunJobStarted ¶
func (x *MappingMetadata) GetTimeCloudRunJobStarted() *timestamppb.Timestamp
func (*MappingMetadata) GetTimeEndSubmitted ¶
func (x *MappingMetadata) GetTimeEndSubmitted() *timestamppb.Timestamp
func (*MappingMetadata) GetTimeStartSubmitted ¶
func (x *MappingMetadata) GetTimeStartSubmitted() *timestamppb.Timestamp
func (*MappingMetadata) GetViamServerVersion ¶
func (x *MappingMetadata) GetViamServerVersion() string
func (*MappingMetadata) ProtoMessage ¶
func (*MappingMetadata) ProtoMessage()
func (*MappingMetadata) ProtoReflect ¶
func (x *MappingMetadata) ProtoReflect() protoreflect.Message
func (*MappingMetadata) Reset ¶
func (x *MappingMetadata) Reset()
func (*MappingMetadata) String ¶
func (x *MappingMetadata) String() string
type SensorInfo ¶ added in v0.1.201
type SensorInfo struct { SourceComponentName string `protobuf:"bytes,1,opt,name=source_component_name,json=sourceComponentName,proto3" json:"source_component_name,omitempty"` // type is the RDK component type Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` DataFrequencyHz string `protobuf:"bytes,3,opt,name=data_frequency_hz,json=dataFrequencyHz,proto3" json:"data_frequency_hz,omitempty"` // contains filtered or unexported fields }
func (*SensorInfo) Descriptor
deprecated
added in
v0.1.201
func (*SensorInfo) Descriptor() ([]byte, []int)
Deprecated: Use SensorInfo.ProtoReflect.Descriptor instead.
func (*SensorInfo) GetDataFrequencyHz ¶ added in v0.1.201
func (x *SensorInfo) GetDataFrequencyHz() string
func (*SensorInfo) GetSourceComponentName ¶ added in v0.1.201
func (x *SensorInfo) GetSourceComponentName() string
func (*SensorInfo) GetType ¶ added in v0.1.201
func (x *SensorInfo) GetType() string
func (*SensorInfo) ProtoMessage ¶ added in v0.1.201
func (*SensorInfo) ProtoMessage()
func (*SensorInfo) ProtoReflect ¶ added in v0.1.201
func (x *SensorInfo) ProtoReflect() protoreflect.Message
func (*SensorInfo) Reset ¶ added in v0.1.201
func (x *SensorInfo) Reset()
func (*SensorInfo) String ¶ added in v0.1.201
func (x *SensorInfo) String() string
type StartMappingSessionRequest ¶
type StartMappingSessionRequest struct { // Version to use for slam, defaults stable SlamVersion string `protobuf:"bytes,1,opt,name=slam_version,json=slamVersion,proto3" json:"slam_version,omitempty"` // Version to use for viam, defaults stable ViamServerVersion string `protobuf:"bytes,2,opt,name=viam_server_version,json=viamServerVersion,proto3" json:"viam_server_version,omitempty"` MapName string `protobuf:"bytes,3,opt,name=map_name,json=mapName,proto3" json:"map_name,omitempty"` OrganizationId string `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` RobotId string `protobuf:"bytes,6,opt,name=robot_id,json=robotId,proto3" json:"robot_id,omitempty"` CaptureInterval *CaptureInterval `protobuf:"bytes,7,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` Sensors []*SensorInfo `protobuf:"bytes,8,rep,name=sensors,proto3" json:"sensors,omitempty"` SlamAlgorithmParams *structpb.Struct `protobuf:"bytes,10,opt,name=slam_algorithm_params,json=slamAlgorithmParams,proto3" json:"slam_algorithm_params,omitempty"` ExistingMapVersion string `protobuf:"bytes,11,opt,name=existing_map_version,json=existingMapVersion,proto3" json:"existing_map_version,omitempty"` // contains filtered or unexported fields }
func (*StartMappingSessionRequest) Descriptor
deprecated
func (*StartMappingSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartMappingSessionRequest.ProtoReflect.Descriptor instead.
func (*StartMappingSessionRequest) GetCaptureInterval ¶ added in v0.1.201
func (x *StartMappingSessionRequest) GetCaptureInterval() *CaptureInterval
func (*StartMappingSessionRequest) GetExistingMapVersion ¶ added in v0.1.201
func (x *StartMappingSessionRequest) GetExistingMapVersion() string
func (*StartMappingSessionRequest) GetLocationId ¶ added in v0.1.144
func (x *StartMappingSessionRequest) GetLocationId() string
func (*StartMappingSessionRequest) GetMapName ¶
func (x *StartMappingSessionRequest) GetMapName() string
func (*StartMappingSessionRequest) GetOrganizationId ¶ added in v0.1.149
func (x *StartMappingSessionRequest) GetOrganizationId() string
func (*StartMappingSessionRequest) GetRobotId ¶ added in v0.1.144
func (x *StartMappingSessionRequest) GetRobotId() string
func (*StartMappingSessionRequest) GetSensors ¶ added in v0.1.201
func (x *StartMappingSessionRequest) GetSensors() []*SensorInfo
func (*StartMappingSessionRequest) GetSlamAlgorithmParams ¶ added in v0.1.201
func (x *StartMappingSessionRequest) GetSlamAlgorithmParams() *structpb.Struct
func (*StartMappingSessionRequest) GetSlamVersion ¶
func (x *StartMappingSessionRequest) GetSlamVersion() string
func (*StartMappingSessionRequest) GetViamServerVersion ¶ added in v0.1.149
func (x *StartMappingSessionRequest) GetViamServerVersion() string
func (*StartMappingSessionRequest) ProtoMessage ¶
func (*StartMappingSessionRequest) ProtoMessage()
func (*StartMappingSessionRequest) ProtoReflect ¶
func (x *StartMappingSessionRequest) ProtoReflect() protoreflect.Message
func (*StartMappingSessionRequest) Reset ¶
func (x *StartMappingSessionRequest) Reset()
func (*StartMappingSessionRequest) String ¶
func (x *StartMappingSessionRequest) String() string
type StartMappingSessionResponse ¶
type StartMappingSessionResponse struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*StartMappingSessionResponse) Descriptor
deprecated
func (*StartMappingSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartMappingSessionResponse.ProtoReflect.Descriptor instead.
func (*StartMappingSessionResponse) GetSessionId ¶
func (x *StartMappingSessionResponse) GetSessionId() string
func (*StartMappingSessionResponse) ProtoMessage ¶
func (*StartMappingSessionResponse) ProtoMessage()
func (*StartMappingSessionResponse) ProtoReflect ¶
func (x *StartMappingSessionResponse) ProtoReflect() protoreflect.Message
func (*StartMappingSessionResponse) Reset ¶
func (x *StartMappingSessionResponse) Reset()
func (*StartMappingSessionResponse) String ¶
func (x *StartMappingSessionResponse) String() string
type StopMappingSessionRequest ¶
type StopMappingSessionRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*StopMappingSessionRequest) Descriptor
deprecated
func (*StopMappingSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopMappingSessionRequest.ProtoReflect.Descriptor instead.
func (*StopMappingSessionRequest) GetSessionId ¶
func (x *StopMappingSessionRequest) GetSessionId() string
func (*StopMappingSessionRequest) ProtoMessage ¶
func (*StopMappingSessionRequest) ProtoMessage()
func (*StopMappingSessionRequest) ProtoReflect ¶
func (x *StopMappingSessionRequest) ProtoReflect() protoreflect.Message
func (*StopMappingSessionRequest) Reset ¶
func (x *StopMappingSessionRequest) Reset()
func (*StopMappingSessionRequest) String ¶
func (x *StopMappingSessionRequest) String() string
type StopMappingSessionResponse ¶
type StopMappingSessionResponse struct { PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*StopMappingSessionResponse) Descriptor
deprecated
func (*StopMappingSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopMappingSessionResponse.ProtoReflect.Descriptor instead.
func (*StopMappingSessionResponse) GetPackageId ¶
func (x *StopMappingSessionResponse) GetPackageId() string
func (*StopMappingSessionResponse) GetVersion ¶
func (x *StopMappingSessionResponse) GetVersion() string
func (*StopMappingSessionResponse) ProtoMessage ¶
func (*StopMappingSessionResponse) ProtoMessage()
func (*StopMappingSessionResponse) ProtoReflect ¶
func (x *StopMappingSessionResponse) ProtoReflect() protoreflect.Message
func (*StopMappingSessionResponse) Reset ¶
func (x *StopMappingSessionResponse) Reset()
func (*StopMappingSessionResponse) String ¶
func (x *StopMappingSessionResponse) String() string
type UnimplementedCloudSLAMServiceServer ¶
type UnimplementedCloudSLAMServiceServer struct { }
UnimplementedCloudSLAMServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCloudSLAMServiceServer) GetActiveMappingSessionsForRobot ¶
func (UnimplementedCloudSLAMServiceServer) GetActiveMappingSessionsForRobot(context.Context, *GetActiveMappingSessionsForRobotRequest) (*GetActiveMappingSessionsForRobotResponse, error)
func (UnimplementedCloudSLAMServiceServer) GetMappingSessionMetadataByID ¶ added in v0.1.165
func (UnimplementedCloudSLAMServiceServer) GetMappingSessionMetadataByID(context.Context, *GetMappingSessionMetadataByIDRequest) (*GetMappingSessionMetadataByIDResponse, error)
func (UnimplementedCloudSLAMServiceServer) GetMappingSessionPointCloud ¶
func (UnimplementedCloudSLAMServiceServer) GetMappingSessionPointCloud(context.Context, *GetMappingSessionPointCloudRequest) (*GetMappingSessionPointCloudResponse, error)
func (UnimplementedCloudSLAMServiceServer) ListMappingSessions ¶
func (UnimplementedCloudSLAMServiceServer) ListMappingSessions(context.Context, *ListMappingSessionsRequest) (*ListMappingSessionsResponse, error)
func (UnimplementedCloudSLAMServiceServer) StartMappingSession ¶
func (UnimplementedCloudSLAMServiceServer) StartMappingSession(context.Context, *StartMappingSessionRequest) (*StartMappingSessionResponse, error)
func (UnimplementedCloudSLAMServiceServer) StopMappingSession ¶
func (UnimplementedCloudSLAMServiceServer) StopMappingSession(context.Context, *StopMappingSessionRequest) (*StopMappingSessionResponse, error)
type UnsafeCloudSLAMServiceServer ¶
type UnsafeCloudSLAMServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCloudSLAMServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudSLAMServiceServer will result in compilation errors.