v1

package
v0.1.295 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 20 Imported by: 7

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	PeerConnectionType_name = map[int32]string{
		0: "PEER_CONNECTION_TYPE_UNSPECIFIED",
		1: "PEER_CONNECTION_TYPE_GRPC",
		2: "PEER_CONNECTION_TYPE_WEBRTC",
	}
	PeerConnectionType_value = map[string]int32{
		"PEER_CONNECTION_TYPE_UNSPECIFIED": 0,
		"PEER_CONNECTION_TYPE_GRPC":        1,
		"PEER_CONNECTION_TYPE_WEBRTC":      2,
	}
)

Enum value maps for PeerConnectionType.

View Source
var File_robot_v1_robot_proto protoreflect.FileDescriptor
View Source
var RobotService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "viam.robot.v1.RobotService",
	HandlerType: (*RobotServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOperations",
			Handler:    _RobotService_GetOperations_Handler,
		},
		{
			MethodName: "GetSessions",
			Handler:    _RobotService_GetSessions_Handler,
		},
		{
			MethodName: "ResourceNames",
			Handler:    _RobotService_ResourceNames_Handler,
		},
		{
			MethodName: "ResourceRPCSubtypes",
			Handler:    _RobotService_ResourceRPCSubtypes_Handler,
		},
		{
			MethodName: "CancelOperation",
			Handler:    _RobotService_CancelOperation_Handler,
		},
		{
			MethodName: "BlockForOperation",
			Handler:    _RobotService_BlockForOperation_Handler,
		},
		{
			MethodName: "DiscoverComponents",
			Handler:    _RobotService_DiscoverComponents_Handler,
		},
		{
			MethodName: "FrameSystemConfig",
			Handler:    _RobotService_FrameSystemConfig_Handler,
		},
		{
			MethodName: "TransformPose",
			Handler:    _RobotService_TransformPose_Handler,
		},
		{
			MethodName: "TransformPCD",
			Handler:    _RobotService_TransformPCD_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _RobotService_GetStatus_Handler,
		},
		{
			MethodName: "StopAll",
			Handler:    _RobotService_StopAll_Handler,
		},
		{
			MethodName: "StartSession",
			Handler:    _RobotService_StartSession_Handler,
		},
		{
			MethodName: "SendSessionHeartbeat",
			Handler:    _RobotService_SendSessionHeartbeat_Handler,
		},
		{
			MethodName: "Log",
			Handler:    _RobotService_Log_Handler,
		},
		{
			MethodName: "GetCloudMetadata",
			Handler:    _RobotService_GetCloudMetadata_Handler,
		},
		{
			MethodName: "RestartModule",
			Handler:    _RobotService_RestartModule_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamStatus",
			Handler:       _RobotService_StreamStatus_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "robot/v1/robot.proto",
}

RobotService_ServiceDesc is the grpc.ServiceDesc for RobotService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRobotServiceHandler

func RegisterRobotServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRobotServiceHandler registers the http handlers for service RobotService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRobotServiceHandlerClient

func RegisterRobotServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RobotServiceClient) error

RegisterRobotServiceHandlerClient registers the http handlers for service RobotService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RobotServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RobotServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RobotServiceClient" to call the correct interceptors.

func RegisterRobotServiceHandlerFromEndpoint

func RegisterRobotServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRobotServiceHandlerFromEndpoint is same as RegisterRobotServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRobotServiceHandlerServer

func RegisterRobotServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RobotServiceServer) error

RegisterRobotServiceHandlerServer registers the http handlers for service RobotService to "mux". UnaryRPC :call RobotServiceServer 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 RegisterRobotServiceHandlerFromEndpoint instead.

func RegisterRobotServiceServer

func RegisterRobotServiceServer(s grpc.ServiceRegistrar, srv RobotServiceServer)

Types

type BlockForOperationRequest

type BlockForOperationRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockForOperationRequest) Descriptor deprecated

func (*BlockForOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlockForOperationRequest.ProtoReflect.Descriptor instead.

func (*BlockForOperationRequest) GetId

func (x *BlockForOperationRequest) GetId() string

func (*BlockForOperationRequest) ProtoMessage

func (*BlockForOperationRequest) ProtoMessage()

func (*BlockForOperationRequest) ProtoReflect

func (x *BlockForOperationRequest) ProtoReflect() protoreflect.Message

func (*BlockForOperationRequest) Reset

func (x *BlockForOperationRequest) Reset()

func (*BlockForOperationRequest) String

func (x *BlockForOperationRequest) String() string

type BlockForOperationResponse

type BlockForOperationResponse struct {
	// contains filtered or unexported fields
}

func (*BlockForOperationResponse) Descriptor deprecated

func (*BlockForOperationResponse) Descriptor() ([]byte, []int)

Deprecated: Use BlockForOperationResponse.ProtoReflect.Descriptor instead.

func (*BlockForOperationResponse) ProtoMessage

func (*BlockForOperationResponse) ProtoMessage()

func (*BlockForOperationResponse) ProtoReflect

func (*BlockForOperationResponse) Reset

func (x *BlockForOperationResponse) Reset()

func (*BlockForOperationResponse) String

func (x *BlockForOperationResponse) String() string

type CancelOperationRequest

type CancelOperationRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelOperationRequest) Descriptor deprecated

func (*CancelOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.

func (*CancelOperationRequest) GetId

func (x *CancelOperationRequest) GetId() string

func (*CancelOperationRequest) ProtoMessage

func (*CancelOperationRequest) ProtoMessage()

func (*CancelOperationRequest) ProtoReflect

func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message

func (*CancelOperationRequest) Reset

func (x *CancelOperationRequest) Reset()

func (*CancelOperationRequest) String

func (x *CancelOperationRequest) String() string

type CancelOperationResponse

type CancelOperationResponse struct {
	// contains filtered or unexported fields
}

func (*CancelOperationResponse) Descriptor deprecated

func (*CancelOperationResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelOperationResponse.ProtoReflect.Descriptor instead.

func (*CancelOperationResponse) ProtoMessage

func (*CancelOperationResponse) ProtoMessage()

func (*CancelOperationResponse) ProtoReflect

func (x *CancelOperationResponse) ProtoReflect() protoreflect.Message

func (*CancelOperationResponse) Reset

func (x *CancelOperationResponse) Reset()

func (*CancelOperationResponse) String

func (x *CancelOperationResponse) String() string

type DiscoverComponentsRequest

type DiscoverComponentsRequest struct {
	Queries []*DiscoveryQuery `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoverComponentsRequest) Descriptor deprecated

func (*DiscoverComponentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverComponentsRequest.ProtoReflect.Descriptor instead.

func (*DiscoverComponentsRequest) GetQueries

func (x *DiscoverComponentsRequest) GetQueries() []*DiscoveryQuery

func (*DiscoverComponentsRequest) ProtoMessage

func (*DiscoverComponentsRequest) ProtoMessage()

func (*DiscoverComponentsRequest) ProtoReflect

func (*DiscoverComponentsRequest) Reset

func (x *DiscoverComponentsRequest) Reset()

func (*DiscoverComponentsRequest) String

func (x *DiscoverComponentsRequest) String() string

type DiscoverComponentsResponse

type DiscoverComponentsResponse struct {
	Discovery []*Discovery `protobuf:"bytes,1,rep,name=discovery,proto3" json:"discovery,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoverComponentsResponse) Descriptor deprecated

func (*DiscoverComponentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverComponentsResponse.ProtoReflect.Descriptor instead.

func (*DiscoverComponentsResponse) GetDiscovery

func (x *DiscoverComponentsResponse) GetDiscovery() []*Discovery

func (*DiscoverComponentsResponse) ProtoMessage

func (*DiscoverComponentsResponse) ProtoMessage()

func (*DiscoverComponentsResponse) ProtoReflect

func (*DiscoverComponentsResponse) Reset

func (x *DiscoverComponentsResponse) Reset()

func (*DiscoverComponentsResponse) String

func (x *DiscoverComponentsResponse) String() string

type Discovery

type Discovery struct {
	Query   *DiscoveryQuery  `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Results *structpb.Struct `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*Discovery) Descriptor deprecated

func (*Discovery) Descriptor() ([]byte, []int)

Deprecated: Use Discovery.ProtoReflect.Descriptor instead.

func (*Discovery) GetQuery

func (x *Discovery) GetQuery() *DiscoveryQuery

func (*Discovery) GetResults

func (x *Discovery) GetResults() *structpb.Struct

func (*Discovery) ProtoMessage

func (*Discovery) ProtoMessage()

func (*Discovery) ProtoReflect

func (x *Discovery) ProtoReflect() protoreflect.Message

func (*Discovery) Reset

func (x *Discovery) Reset()

func (*Discovery) String

func (x *Discovery) String() string

type DiscoveryQuery

type DiscoveryQuery struct {
	Subtype string `protobuf:"bytes,1,opt,name=subtype,proto3" json:"subtype,omitempty"`
	Model   string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoveryQuery) Descriptor deprecated

func (*DiscoveryQuery) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveryQuery.ProtoReflect.Descriptor instead.

func (*DiscoveryQuery) GetModel

func (x *DiscoveryQuery) GetModel() string

func (*DiscoveryQuery) GetSubtype

func (x *DiscoveryQuery) GetSubtype() string

func (*DiscoveryQuery) ProtoMessage

func (*DiscoveryQuery) ProtoMessage()

func (*DiscoveryQuery) ProtoReflect

func (x *DiscoveryQuery) ProtoReflect() protoreflect.Message

func (*DiscoveryQuery) Reset

func (x *DiscoveryQuery) Reset()

func (*DiscoveryQuery) String

func (x *DiscoveryQuery) String() string

type FrameSystemConfig

type FrameSystemConfig struct {
	Frame      *v1.Transform    `protobuf:"bytes,1,opt,name=frame,proto3" json:"frame,omitempty"`
	Kinematics *structpb.Struct `protobuf:"bytes,2,opt,name=kinematics,proto3" json:"kinematics,omitempty"`
	// contains filtered or unexported fields
}

func (*FrameSystemConfig) Descriptor deprecated

func (*FrameSystemConfig) Descriptor() ([]byte, []int)

Deprecated: Use FrameSystemConfig.ProtoReflect.Descriptor instead.

func (*FrameSystemConfig) GetFrame added in v0.1.20

func (x *FrameSystemConfig) GetFrame() *v1.Transform

func (*FrameSystemConfig) GetKinematics added in v0.1.20

func (x *FrameSystemConfig) GetKinematics() *structpb.Struct

func (*FrameSystemConfig) ProtoMessage

func (*FrameSystemConfig) ProtoMessage()

func (*FrameSystemConfig) ProtoReflect

func (x *FrameSystemConfig) ProtoReflect() protoreflect.Message

func (*FrameSystemConfig) Reset

func (x *FrameSystemConfig) Reset()

func (*FrameSystemConfig) String

func (x *FrameSystemConfig) String() string

type FrameSystemConfigRequest

type FrameSystemConfigRequest struct {

	// pose information on any additional reference frames that are needed
	// to supplement the robot's frame system
	SupplementalTransforms []*v1.Transform `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FrameSystemConfigRequest) Descriptor deprecated

func (*FrameSystemConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use FrameSystemConfigRequest.ProtoReflect.Descriptor instead.

func (*FrameSystemConfigRequest) GetSupplementalTransforms

func (x *FrameSystemConfigRequest) GetSupplementalTransforms() []*v1.Transform

func (*FrameSystemConfigRequest) ProtoMessage

func (*FrameSystemConfigRequest) ProtoMessage()

func (*FrameSystemConfigRequest) ProtoReflect

func (x *FrameSystemConfigRequest) ProtoReflect() protoreflect.Message

func (*FrameSystemConfigRequest) Reset

func (x *FrameSystemConfigRequest) Reset()

func (*FrameSystemConfigRequest) String

func (x *FrameSystemConfigRequest) String() string

type FrameSystemConfigResponse

type FrameSystemConfigResponse struct {
	FrameSystemConfigs []*FrameSystemConfig `protobuf:"bytes,1,rep,name=frame_system_configs,json=frameSystemConfigs,proto3" json:"frame_system_configs,omitempty"`
	// contains filtered or unexported fields
}

func (*FrameSystemConfigResponse) Descriptor deprecated

func (*FrameSystemConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use FrameSystemConfigResponse.ProtoReflect.Descriptor instead.

func (*FrameSystemConfigResponse) GetFrameSystemConfigs

func (x *FrameSystemConfigResponse) GetFrameSystemConfigs() []*FrameSystemConfig

func (*FrameSystemConfigResponse) ProtoMessage

func (*FrameSystemConfigResponse) ProtoMessage()

func (*FrameSystemConfigResponse) ProtoReflect

func (*FrameSystemConfigResponse) Reset

func (x *FrameSystemConfigResponse) Reset()

func (*FrameSystemConfigResponse) String

func (x *FrameSystemConfigResponse) String() string

type GetCloudMetadataRequest added in v0.1.270

type GetCloudMetadataRequest struct {
	// contains filtered or unexported fields
}

func (*GetCloudMetadataRequest) Descriptor deprecated added in v0.1.270

func (*GetCloudMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCloudMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetCloudMetadataRequest) ProtoMessage added in v0.1.270

func (*GetCloudMetadataRequest) ProtoMessage()

func (*GetCloudMetadataRequest) ProtoReflect added in v0.1.270

func (x *GetCloudMetadataRequest) ProtoReflect() protoreflect.Message

func (*GetCloudMetadataRequest) Reset added in v0.1.270

func (x *GetCloudMetadataRequest) Reset()

func (*GetCloudMetadataRequest) String added in v0.1.270

func (x *GetCloudMetadataRequest) String() string

type GetCloudMetadataResponse added in v0.1.270

type GetCloudMetadataResponse struct {

	// Deprecated: use machine_part_id field.
	//
	// Deprecated: Marked as deprecated in robot/v1/robot.proto.
	RobotPartId   string `protobuf:"bytes,1,opt,name=robot_part_id,json=robotPartId,proto3" json:"robot_part_id,omitempty"`
	PrimaryOrgId  string `protobuf:"bytes,2,opt,name=primary_org_id,json=primaryOrgId,proto3" json:"primary_org_id,omitempty"`
	LocationId    string `protobuf:"bytes,3,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	MachineId     string `protobuf:"bytes,4,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
	MachinePartId string `protobuf:"bytes,5,opt,name=machine_part_id,json=machinePartId,proto3" json:"machine_part_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCloudMetadataResponse) Descriptor deprecated added in v0.1.270

func (*GetCloudMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCloudMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetCloudMetadataResponse) GetLocationId added in v0.1.270

func (x *GetCloudMetadataResponse) GetLocationId() string

func (*GetCloudMetadataResponse) GetMachineId added in v0.1.279

func (x *GetCloudMetadataResponse) GetMachineId() string

func (*GetCloudMetadataResponse) GetMachinePartId added in v0.1.279

func (x *GetCloudMetadataResponse) GetMachinePartId() string

func (*GetCloudMetadataResponse) GetPrimaryOrgId added in v0.1.270

func (x *GetCloudMetadataResponse) GetPrimaryOrgId() string

func (*GetCloudMetadataResponse) GetRobotPartId deprecated added in v0.1.270

func (x *GetCloudMetadataResponse) GetRobotPartId() string

Deprecated: Marked as deprecated in robot/v1/robot.proto.

func (*GetCloudMetadataResponse) ProtoMessage added in v0.1.270

func (*GetCloudMetadataResponse) ProtoMessage()

func (*GetCloudMetadataResponse) ProtoReflect added in v0.1.270

func (x *GetCloudMetadataResponse) ProtoReflect() protoreflect.Message

func (*GetCloudMetadataResponse) Reset added in v0.1.270

func (x *GetCloudMetadataResponse) Reset()

func (*GetCloudMetadataResponse) String added in v0.1.270

func (x *GetCloudMetadataResponse) String() string

type GetOperationsRequest

type GetOperationsRequest struct {
	// contains filtered or unexported fields
}

func (*GetOperationsRequest) Descriptor deprecated

func (*GetOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOperationsRequest.ProtoReflect.Descriptor instead.

func (*GetOperationsRequest) ProtoMessage

func (*GetOperationsRequest) ProtoMessage()

func (*GetOperationsRequest) ProtoReflect

func (x *GetOperationsRequest) ProtoReflect() protoreflect.Message

func (*GetOperationsRequest) Reset

func (x *GetOperationsRequest) Reset()

func (*GetOperationsRequest) String

func (x *GetOperationsRequest) String() string

type GetOperationsResponse

type GetOperationsResponse struct {
	Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOperationsResponse) Descriptor deprecated

func (*GetOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOperationsResponse.ProtoReflect.Descriptor instead.

func (*GetOperationsResponse) GetOperations

func (x *GetOperationsResponse) GetOperations() []*Operation

func (*GetOperationsResponse) ProtoMessage

func (*GetOperationsResponse) ProtoMessage()

func (*GetOperationsResponse) ProtoReflect

func (x *GetOperationsResponse) ProtoReflect() protoreflect.Message

func (*GetOperationsResponse) Reset

func (x *GetOperationsResponse) Reset()

func (*GetOperationsResponse) String

func (x *GetOperationsResponse) String() string

type GetSessionsRequest added in v0.1.13

type GetSessionsRequest struct {
	// contains filtered or unexported fields
}

func (*GetSessionsRequest) Descriptor deprecated added in v0.1.13

func (*GetSessionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSessionsRequest.ProtoReflect.Descriptor instead.

func (*GetSessionsRequest) ProtoMessage added in v0.1.13

func (*GetSessionsRequest) ProtoMessage()

func (*GetSessionsRequest) ProtoReflect added in v0.1.13

func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message

func (*GetSessionsRequest) Reset added in v0.1.13

func (x *GetSessionsRequest) Reset()

func (*GetSessionsRequest) String added in v0.1.13

func (x *GetSessionsRequest) String() string

type GetSessionsResponse added in v0.1.13

type GetSessionsResponse struct {
	Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSessionsResponse) Descriptor deprecated added in v0.1.13

func (*GetSessionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSessionsResponse.ProtoReflect.Descriptor instead.

func (*GetSessionsResponse) GetSessions added in v0.1.13

func (x *GetSessionsResponse) GetSessions() []*Session

func (*GetSessionsResponse) ProtoMessage added in v0.1.13

func (*GetSessionsResponse) ProtoMessage()

func (*GetSessionsResponse) ProtoReflect added in v0.1.13

func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message

func (*GetSessionsResponse) Reset added in v0.1.13

func (x *GetSessionsResponse) Reset()

func (*GetSessionsResponse) String added in v0.1.13

func (x *GetSessionsResponse) String() string

type GetStatusRequest

type GetStatusRequest struct {
	ResourceNames []*v1.ResourceName `protobuf:"bytes,1,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatusRequest) Descriptor deprecated

func (*GetStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.

func (*GetStatusRequest) GetResourceNames

func (x *GetStatusRequest) GetResourceNames() []*v1.ResourceName

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) ProtoReflect

func (x *GetStatusRequest) ProtoReflect() protoreflect.Message

func (*GetStatusRequest) Reset

func (x *GetStatusRequest) Reset()

func (*GetStatusRequest) String

func (x *GetStatusRequest) String() string

type GetStatusResponse

type GetStatusResponse struct {
	Status []*Status `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatusResponse) Descriptor deprecated

func (*GetStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.

func (*GetStatusResponse) GetStatus

func (x *GetStatusResponse) GetStatus() []*Status

func (*GetStatusResponse) ProtoMessage

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) ProtoReflect

func (x *GetStatusResponse) ProtoReflect() protoreflect.Message

func (*GetStatusResponse) Reset

func (x *GetStatusResponse) Reset()

func (*GetStatusResponse) String

func (x *GetStatusResponse) String() string

type LogRequest added in v0.1.258

type LogRequest struct {
	Logs []*v1.LogEntry `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*LogRequest) Descriptor deprecated added in v0.1.258

func (*LogRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.

func (*LogRequest) GetLogs added in v0.1.258

func (x *LogRequest) GetLogs() []*v1.LogEntry

func (*LogRequest) ProtoMessage added in v0.1.258

func (*LogRequest) ProtoMessage()

func (*LogRequest) ProtoReflect added in v0.1.258

func (x *LogRequest) ProtoReflect() protoreflect.Message

func (*LogRequest) Reset added in v0.1.258

func (x *LogRequest) Reset()

func (*LogRequest) String added in v0.1.258

func (x *LogRequest) String() string

type LogResponse added in v0.1.258

type LogResponse struct {
	// contains filtered or unexported fields
}

func (*LogResponse) Descriptor deprecated added in v0.1.258

func (*LogResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogResponse.ProtoReflect.Descriptor instead.

func (*LogResponse) ProtoMessage added in v0.1.258

func (*LogResponse) ProtoMessage()

func (*LogResponse) ProtoReflect added in v0.1.258

func (x *LogResponse) ProtoReflect() protoreflect.Message

func (*LogResponse) Reset added in v0.1.258

func (x *LogResponse) Reset()

func (*LogResponse) String added in v0.1.258

func (x *LogResponse) String() string

type Operation

type Operation struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Method    string                 `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Arguments *structpb.Struct       `protobuf:"bytes,3,opt,name=arguments,proto3" json:"arguments,omitempty"`
	Started   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started,proto3" json:"started,omitempty"`
	SessionId *string                `protobuf:"bytes,5,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Operation) Descriptor deprecated

func (*Operation) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetArguments

func (x *Operation) GetArguments() *structpb.Struct

func (*Operation) GetId

func (x *Operation) GetId() string

func (*Operation) GetMethod

func (x *Operation) GetMethod() string

func (*Operation) GetSessionId added in v0.1.13

func (x *Operation) GetSessionId() string

func (*Operation) GetStarted

func (x *Operation) GetStarted() *timestamppb.Timestamp

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type PeerConnectionInfo added in v0.1.13

type PeerConnectionInfo struct {
	Type          PeerConnectionType `protobuf:"varint,1,opt,name=type,proto3,enum=viam.robot.v1.PeerConnectionType" json:"type,omitempty"`
	RemoteAddress *string            `protobuf:"bytes,2,opt,name=remote_address,json=remoteAddress,proto3,oneof" json:"remote_address,omitempty"`
	LocalAddress  *string            `protobuf:"bytes,3,opt,name=local_address,json=localAddress,proto3,oneof" json:"local_address,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerConnectionInfo) Descriptor deprecated added in v0.1.13

func (*PeerConnectionInfo) Descriptor() ([]byte, []int)

Deprecated: Use PeerConnectionInfo.ProtoReflect.Descriptor instead.

func (*PeerConnectionInfo) GetLocalAddress added in v0.1.13

func (x *PeerConnectionInfo) GetLocalAddress() string

func (*PeerConnectionInfo) GetRemoteAddress added in v0.1.13

func (x *PeerConnectionInfo) GetRemoteAddress() string

func (*PeerConnectionInfo) GetType added in v0.1.13

func (*PeerConnectionInfo) ProtoMessage added in v0.1.13

func (*PeerConnectionInfo) ProtoMessage()

func (*PeerConnectionInfo) ProtoReflect added in v0.1.13

func (x *PeerConnectionInfo) ProtoReflect() protoreflect.Message

func (*PeerConnectionInfo) Reset added in v0.1.13

func (x *PeerConnectionInfo) Reset()

func (*PeerConnectionInfo) String added in v0.1.13

func (x *PeerConnectionInfo) String() string

type PeerConnectionType added in v0.1.13

type PeerConnectionType int32
const (
	PeerConnectionType_PEER_CONNECTION_TYPE_UNSPECIFIED PeerConnectionType = 0
	PeerConnectionType_PEER_CONNECTION_TYPE_GRPC        PeerConnectionType = 1
	PeerConnectionType_PEER_CONNECTION_TYPE_WEBRTC      PeerConnectionType = 2
)

func (PeerConnectionType) Descriptor added in v0.1.13

func (PeerConnectionType) Enum added in v0.1.13

func (PeerConnectionType) EnumDescriptor deprecated added in v0.1.13

func (PeerConnectionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PeerConnectionType.Descriptor instead.

func (PeerConnectionType) Number added in v0.1.13

func (PeerConnectionType) String added in v0.1.13

func (x PeerConnectionType) String() string

func (PeerConnectionType) Type added in v0.1.13

type ResourceNamesRequest

type ResourceNamesRequest struct {
	// contains filtered or unexported fields
}

func (*ResourceNamesRequest) Descriptor deprecated

func (*ResourceNamesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResourceNamesRequest.ProtoReflect.Descriptor instead.

func (*ResourceNamesRequest) ProtoMessage

func (*ResourceNamesRequest) ProtoMessage()

func (*ResourceNamesRequest) ProtoReflect

func (x *ResourceNamesRequest) ProtoReflect() protoreflect.Message

func (*ResourceNamesRequest) Reset

func (x *ResourceNamesRequest) Reset()

func (*ResourceNamesRequest) String

func (x *ResourceNamesRequest) String() string

type ResourceNamesResponse

type ResourceNamesResponse struct {
	Resources []*v1.ResourceName `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceNamesResponse) Descriptor deprecated

func (*ResourceNamesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResourceNamesResponse.ProtoReflect.Descriptor instead.

func (*ResourceNamesResponse) GetResources

func (x *ResourceNamesResponse) GetResources() []*v1.ResourceName

func (*ResourceNamesResponse) ProtoMessage

func (*ResourceNamesResponse) ProtoMessage()

func (*ResourceNamesResponse) ProtoReflect

func (x *ResourceNamesResponse) ProtoReflect() protoreflect.Message

func (*ResourceNamesResponse) Reset

func (x *ResourceNamesResponse) Reset()

func (*ResourceNamesResponse) String

func (x *ResourceNamesResponse) String() string

type ResourceRPCSubtype

type ResourceRPCSubtype struct {
	Subtype      *v1.ResourceName `protobuf:"bytes,1,opt,name=subtype,proto3" json:"subtype,omitempty"`
	ProtoService string           `protobuf:"bytes,2,opt,name=proto_service,json=protoService,proto3" json:"proto_service,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceRPCSubtype) Descriptor deprecated

func (*ResourceRPCSubtype) Descriptor() ([]byte, []int)

Deprecated: Use ResourceRPCSubtype.ProtoReflect.Descriptor instead.

func (*ResourceRPCSubtype) GetProtoService

func (x *ResourceRPCSubtype) GetProtoService() string

func (*ResourceRPCSubtype) GetSubtype

func (x *ResourceRPCSubtype) GetSubtype() *v1.ResourceName

func (*ResourceRPCSubtype) ProtoMessage

func (*ResourceRPCSubtype) ProtoMessage()

func (*ResourceRPCSubtype) ProtoReflect

func (x *ResourceRPCSubtype) ProtoReflect() protoreflect.Message

func (*ResourceRPCSubtype) Reset

func (x *ResourceRPCSubtype) Reset()

func (*ResourceRPCSubtype) String

func (x *ResourceRPCSubtype) String() string

type ResourceRPCSubtypesRequest

type ResourceRPCSubtypesRequest struct {
	// contains filtered or unexported fields
}

func (*ResourceRPCSubtypesRequest) Descriptor deprecated

func (*ResourceRPCSubtypesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResourceRPCSubtypesRequest.ProtoReflect.Descriptor instead.

func (*ResourceRPCSubtypesRequest) ProtoMessage

func (*ResourceRPCSubtypesRequest) ProtoMessage()

func (*ResourceRPCSubtypesRequest) ProtoReflect

func (*ResourceRPCSubtypesRequest) Reset

func (x *ResourceRPCSubtypesRequest) Reset()

func (*ResourceRPCSubtypesRequest) String

func (x *ResourceRPCSubtypesRequest) String() string

type ResourceRPCSubtypesResponse

type ResourceRPCSubtypesResponse struct {
	ResourceRpcSubtypes []*ResourceRPCSubtype `protobuf:"bytes,1,rep,name=resource_rpc_subtypes,json=resourceRpcSubtypes,proto3" json:"resource_rpc_subtypes,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceRPCSubtypesResponse) Descriptor deprecated

func (*ResourceRPCSubtypesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResourceRPCSubtypesResponse.ProtoReflect.Descriptor instead.

func (*ResourceRPCSubtypesResponse) GetResourceRpcSubtypes

func (x *ResourceRPCSubtypesResponse) GetResourceRpcSubtypes() []*ResourceRPCSubtype

func (*ResourceRPCSubtypesResponse) ProtoMessage

func (*ResourceRPCSubtypesResponse) ProtoMessage()

func (*ResourceRPCSubtypesResponse) ProtoReflect

func (*ResourceRPCSubtypesResponse) Reset

func (x *ResourceRPCSubtypesResponse) Reset()

func (*ResourceRPCSubtypesResponse) String

func (x *ResourceRPCSubtypesResponse) String() string

type RestartModuleRequest added in v0.1.285

type RestartModuleRequest struct {

	// Types that are assignable to IdOrName:
	//
	//	*RestartModuleRequest_ModuleId
	//	*RestartModuleRequest_ModuleName
	IdOrName isRestartModuleRequest_IdOrName `protobuf_oneof:"id_or_name"`
	// contains filtered or unexported fields
}

func (*RestartModuleRequest) Descriptor deprecated added in v0.1.285

func (*RestartModuleRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestartModuleRequest.ProtoReflect.Descriptor instead.

func (*RestartModuleRequest) GetIdOrName added in v0.1.285

func (m *RestartModuleRequest) GetIdOrName() isRestartModuleRequest_IdOrName

func (*RestartModuleRequest) GetModuleId added in v0.1.285

func (x *RestartModuleRequest) GetModuleId() string

func (*RestartModuleRequest) GetModuleName added in v0.1.285

func (x *RestartModuleRequest) GetModuleName() string

func (*RestartModuleRequest) ProtoMessage added in v0.1.285

func (*RestartModuleRequest) ProtoMessage()

func (*RestartModuleRequest) ProtoReflect added in v0.1.285

func (x *RestartModuleRequest) ProtoReflect() protoreflect.Message

func (*RestartModuleRequest) Reset added in v0.1.285

func (x *RestartModuleRequest) Reset()

func (*RestartModuleRequest) String added in v0.1.285

func (x *RestartModuleRequest) String() string

type RestartModuleRequest_ModuleId added in v0.1.285

type RestartModuleRequest_ModuleId struct {
	// ID is for registry modules, name for local modules
	ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3,oneof"`
}

type RestartModuleRequest_ModuleName added in v0.1.285

type RestartModuleRequest_ModuleName struct {
	ModuleName string `protobuf:"bytes,2,opt,name=module_name,json=moduleName,proto3,oneof"`
}

type RestartModuleResponse added in v0.1.285

type RestartModuleResponse struct {
	// contains filtered or unexported fields
}

func (*RestartModuleResponse) Descriptor deprecated added in v0.1.285

func (*RestartModuleResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestartModuleResponse.ProtoReflect.Descriptor instead.

func (*RestartModuleResponse) ProtoMessage added in v0.1.285

func (*RestartModuleResponse) ProtoMessage()

func (*RestartModuleResponse) ProtoReflect added in v0.1.285

func (x *RestartModuleResponse) ProtoReflect() protoreflect.Message

func (*RestartModuleResponse) Reset added in v0.1.285

func (x *RestartModuleResponse) Reset()

func (*RestartModuleResponse) String added in v0.1.285

func (x *RestartModuleResponse) String() string

type RobotServiceClient

type RobotServiceClient interface {
	GetOperations(ctx context.Context, in *GetOperationsRequest, opts ...grpc.CallOption) (*GetOperationsResponse, error)
	GetSessions(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption) (*GetSessionsResponse, error)
	// ResourceNames returns the list of all resources.
	ResourceNames(ctx context.Context, in *ResourceNamesRequest, opts ...grpc.CallOption) (*ResourceNamesResponse, error)
	// ResourceRPCSubtypes returns the list of all resource types.
	ResourceRPCSubtypes(ctx context.Context, in *ResourceRPCSubtypesRequest, opts ...grpc.CallOption) (*ResourceRPCSubtypesResponse, error)
	CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*CancelOperationResponse, error)
	BlockForOperation(ctx context.Context, in *BlockForOperationRequest, opts ...grpc.CallOption) (*BlockForOperationResponse, error)
	// DiscoverComponents returns the list of discovered component configurations.
	DiscoverComponents(ctx context.Context, in *DiscoverComponentsRequest, opts ...grpc.CallOption) (*DiscoverComponentsResponse, error)
	FrameSystemConfig(ctx context.Context, in *FrameSystemConfigRequest, opts ...grpc.CallOption) (*FrameSystemConfigResponse, error)
	TransformPose(ctx context.Context, in *TransformPoseRequest, opts ...grpc.CallOption) (*TransformPoseResponse, error)
	TransformPCD(ctx context.Context, in *TransformPCDRequest, opts ...grpc.CallOption) (*TransformPCDResponse, error)
	// GetStatus returns the list of all statuses requested. An empty request signifies all resources.
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
	// StreamStatus periodically sends the status of all statuses requested. An empty request signifies all resources.
	StreamStatus(ctx context.Context, in *StreamStatusRequest, opts ...grpc.CallOption) (RobotService_StreamStatusClient, error)
	// StopAll will stop all current and outstanding operations for the robot and stops all actuators and movement
	StopAll(ctx context.Context, in *StopAllRequest, opts ...grpc.CallOption) (*StopAllResponse, error)
	// StartSession creates a new session that expects at least one heartbeat within the returned window.
	// If the window lapses, any resources that have safety heart monitored methods, where this session was
	// the last caller on the resource, will be stopped.
	StartSession(ctx context.Context, in *StartSessionRequest, opts ...grpc.CallOption) (*StartSessionResponse, error)
	// SendSessionHeartbeat sends a heartbeat to the given session. If the session has expired, a
	// SESSION_EXPIRED error will be returned.
	SendSessionHeartbeat(ctx context.Context, in *SendSessionHeartbeatRequest, opts ...grpc.CallOption) (*SendSessionHeartbeatResponse, error)
	// Log sends logs to be logged by this robot. Currently used for module logging.
	Log(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*LogResponse, error)
	// GetCloudMetadata returns app-related information about the robot.
	GetCloudMetadata(ctx context.Context, in *GetCloudMetadataRequest, opts ...grpc.CallOption) (*GetCloudMetadataResponse, error)
	RestartModule(ctx context.Context, in *RestartModuleRequest, opts ...grpc.CallOption) (*RestartModuleResponse, error)
}

RobotServiceClient is the client API for RobotService 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.

type RobotServiceServer

type RobotServiceServer interface {
	GetOperations(context.Context, *GetOperationsRequest) (*GetOperationsResponse, error)
	GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
	// ResourceNames returns the list of all resources.
	ResourceNames(context.Context, *ResourceNamesRequest) (*ResourceNamesResponse, error)
	// ResourceRPCSubtypes returns the list of all resource types.
	ResourceRPCSubtypes(context.Context, *ResourceRPCSubtypesRequest) (*ResourceRPCSubtypesResponse, error)
	CancelOperation(context.Context, *CancelOperationRequest) (*CancelOperationResponse, error)
	BlockForOperation(context.Context, *BlockForOperationRequest) (*BlockForOperationResponse, error)
	// DiscoverComponents returns the list of discovered component configurations.
	DiscoverComponents(context.Context, *DiscoverComponentsRequest) (*DiscoverComponentsResponse, error)
	FrameSystemConfig(context.Context, *FrameSystemConfigRequest) (*FrameSystemConfigResponse, error)
	TransformPose(context.Context, *TransformPoseRequest) (*TransformPoseResponse, error)
	TransformPCD(context.Context, *TransformPCDRequest) (*TransformPCDResponse, error)
	// GetStatus returns the list of all statuses requested. An empty request signifies all resources.
	GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
	// StreamStatus periodically sends the status of all statuses requested. An empty request signifies all resources.
	StreamStatus(*StreamStatusRequest, RobotService_StreamStatusServer) error
	// StopAll will stop all current and outstanding operations for the robot and stops all actuators and movement
	StopAll(context.Context, *StopAllRequest) (*StopAllResponse, error)
	// StartSession creates a new session that expects at least one heartbeat within the returned window.
	// If the window lapses, any resources that have safety heart monitored methods, where this session was
	// the last caller on the resource, will be stopped.
	StartSession(context.Context, *StartSessionRequest) (*StartSessionResponse, error)
	// SendSessionHeartbeat sends a heartbeat to the given session. If the session has expired, a
	// SESSION_EXPIRED error will be returned.
	SendSessionHeartbeat(context.Context, *SendSessionHeartbeatRequest) (*SendSessionHeartbeatResponse, error)
	// Log sends logs to be logged by this robot. Currently used for module logging.
	Log(context.Context, *LogRequest) (*LogResponse, error)
	// GetCloudMetadata returns app-related information about the robot.
	GetCloudMetadata(context.Context, *GetCloudMetadataRequest) (*GetCloudMetadataResponse, error)
	RestartModule(context.Context, *RestartModuleRequest) (*RestartModuleResponse, error)
	// contains filtered or unexported methods
}

RobotServiceServer is the server API for RobotService service. All implementations must embed UnimplementedRobotServiceServer for forward compatibility

type RobotService_StreamStatusClient

type RobotService_StreamStatusClient interface {
	Recv() (*StreamStatusResponse, error)
	grpc.ClientStream
}

type RobotService_StreamStatusServer

type RobotService_StreamStatusServer interface {
	Send(*StreamStatusResponse) error
	grpc.ServerStream
}

type SendSessionHeartbeatRequest added in v0.1.13

type SendSessionHeartbeatRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendSessionHeartbeatRequest) Descriptor deprecated added in v0.1.13

func (*SendSessionHeartbeatRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendSessionHeartbeatRequest.ProtoReflect.Descriptor instead.

func (*SendSessionHeartbeatRequest) GetId added in v0.1.13

func (*SendSessionHeartbeatRequest) ProtoMessage added in v0.1.13

func (*SendSessionHeartbeatRequest) ProtoMessage()

func (*SendSessionHeartbeatRequest) ProtoReflect added in v0.1.13

func (*SendSessionHeartbeatRequest) Reset added in v0.1.13

func (x *SendSessionHeartbeatRequest) Reset()

func (*SendSessionHeartbeatRequest) String added in v0.1.13

func (x *SendSessionHeartbeatRequest) String() string

type SendSessionHeartbeatResponse added in v0.1.13

type SendSessionHeartbeatResponse struct {
	// contains filtered or unexported fields
}

func (*SendSessionHeartbeatResponse) Descriptor deprecated added in v0.1.13

func (*SendSessionHeartbeatResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendSessionHeartbeatResponse.ProtoReflect.Descriptor instead.

func (*SendSessionHeartbeatResponse) ProtoMessage added in v0.1.13

func (*SendSessionHeartbeatResponse) ProtoMessage()

func (*SendSessionHeartbeatResponse) ProtoReflect added in v0.1.13

func (*SendSessionHeartbeatResponse) Reset added in v0.1.13

func (x *SendSessionHeartbeatResponse) Reset()

func (*SendSessionHeartbeatResponse) String added in v0.1.13

type Session added in v0.1.13

type Session struct {
	Id                 string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PeerConnectionInfo *PeerConnectionInfo `protobuf:"bytes,2,opt,name=peer_connection_info,json=peerConnectionInfo,proto3,oneof" json:"peer_connection_info,omitempty"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated added in v0.1.13

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetId added in v0.1.13

func (x *Session) GetId() string

func (*Session) GetPeerConnectionInfo added in v0.1.13

func (x *Session) GetPeerConnectionInfo() *PeerConnectionInfo

func (*Session) ProtoMessage added in v0.1.13

func (*Session) ProtoMessage()

func (*Session) ProtoReflect added in v0.1.13

func (x *Session) ProtoReflect() protoreflect.Message

func (*Session) Reset added in v0.1.13

func (x *Session) Reset()

func (*Session) String added in v0.1.13

func (x *Session) String() string

type StartSessionRequest added in v0.1.13

type StartSessionRequest struct {

	// resume can be used to attempt to continue a stream after a disconnection event. If
	// a session is not found, a new one will be created and returned.
	Resume string `protobuf:"bytes,1,opt,name=resume,proto3" json:"resume,omitempty"`
	// contains filtered or unexported fields
}

func (*StartSessionRequest) Descriptor deprecated added in v0.1.13

func (*StartSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartSessionRequest.ProtoReflect.Descriptor instead.

func (*StartSessionRequest) GetResume added in v0.1.13

func (x *StartSessionRequest) GetResume() string

func (*StartSessionRequest) ProtoMessage added in v0.1.13

func (*StartSessionRequest) ProtoMessage()

func (*StartSessionRequest) ProtoReflect added in v0.1.13

func (x *StartSessionRequest) ProtoReflect() protoreflect.Message

func (*StartSessionRequest) Reset added in v0.1.13

func (x *StartSessionRequest) Reset()

func (*StartSessionRequest) String added in v0.1.13

func (x *StartSessionRequest) String() string

type StartSessionResponse added in v0.1.13

type StartSessionResponse struct {
	Id              string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	HeartbeatWindow *durationpb.Duration `protobuf:"bytes,2,opt,name=heartbeat_window,json=heartbeatWindow,proto3" json:"heartbeat_window,omitempty"`
	// contains filtered or unexported fields
}

func (*StartSessionResponse) Descriptor deprecated added in v0.1.13

func (*StartSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartSessionResponse.ProtoReflect.Descriptor instead.

func (*StartSessionResponse) GetHeartbeatWindow added in v0.1.13

func (x *StartSessionResponse) GetHeartbeatWindow() *durationpb.Duration

func (*StartSessionResponse) GetId added in v0.1.13

func (x *StartSessionResponse) GetId() string

func (*StartSessionResponse) ProtoMessage added in v0.1.13

func (*StartSessionResponse) ProtoMessage()

func (*StartSessionResponse) ProtoReflect added in v0.1.13

func (x *StartSessionResponse) ProtoReflect() protoreflect.Message

func (*StartSessionResponse) Reset added in v0.1.13

func (x *StartSessionResponse) Reset()

func (*StartSessionResponse) String added in v0.1.13

func (x *StartSessionResponse) String() string

type Status

type Status struct {
	Name             *v1.ResourceName       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status           *structpb.Struct       `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	LastReconfigured *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_reconfigured,json=lastReconfigured,proto3" json:"last_reconfigured,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetLastReconfigured added in v0.1.216

func (x *Status) GetLastReconfigured() *timestamppb.Timestamp

func (*Status) GetName

func (x *Status) GetName() *v1.ResourceName

func (*Status) GetStatus

func (x *Status) GetStatus() *structpb.Struct

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type StopAllRequest

type StopAllRequest struct {
	Extra []*StopExtraParameters `protobuf:"bytes,99,rep,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*StopAllRequest) Descriptor deprecated

func (*StopAllRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopAllRequest.ProtoReflect.Descriptor instead.

func (*StopAllRequest) GetExtra

func (x *StopAllRequest) GetExtra() []*StopExtraParameters

func (*StopAllRequest) ProtoMessage

func (*StopAllRequest) ProtoMessage()

func (*StopAllRequest) ProtoReflect

func (x *StopAllRequest) ProtoReflect() protoreflect.Message

func (*StopAllRequest) Reset

func (x *StopAllRequest) Reset()

func (*StopAllRequest) String

func (x *StopAllRequest) String() string

type StopAllResponse

type StopAllResponse struct {
	// contains filtered or unexported fields
}

func (*StopAllResponse) Descriptor deprecated

func (*StopAllResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopAllResponse.ProtoReflect.Descriptor instead.

func (*StopAllResponse) ProtoMessage

func (*StopAllResponse) ProtoMessage()

func (*StopAllResponse) ProtoReflect

func (x *StopAllResponse) ProtoReflect() protoreflect.Message

func (*StopAllResponse) Reset

func (x *StopAllResponse) Reset()

func (*StopAllResponse) String

func (x *StopAllResponse) String() string

type StopExtraParameters

type StopExtraParameters struct {
	Name   *v1.ResourceName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Params *structpb.Struct `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*StopExtraParameters) Descriptor deprecated

func (*StopExtraParameters) Descriptor() ([]byte, []int)

Deprecated: Use StopExtraParameters.ProtoReflect.Descriptor instead.

func (*StopExtraParameters) GetName

func (x *StopExtraParameters) GetName() *v1.ResourceName

func (*StopExtraParameters) GetParams

func (x *StopExtraParameters) GetParams() *structpb.Struct

func (*StopExtraParameters) ProtoMessage

func (*StopExtraParameters) ProtoMessage()

func (*StopExtraParameters) ProtoReflect

func (x *StopExtraParameters) ProtoReflect() protoreflect.Message

func (*StopExtraParameters) Reset

func (x *StopExtraParameters) Reset()

func (*StopExtraParameters) String

func (x *StopExtraParameters) String() string

type StreamStatusRequest

type StreamStatusRequest struct {
	ResourceNames []*v1.ResourceName   `protobuf:"bytes,1,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
	Every         *durationpb.Duration `protobuf:"bytes,2,opt,name=every,proto3" json:"every,omitempty"` // how often to send a new status.
	// contains filtered or unexported fields
}

func (*StreamStatusRequest) Descriptor deprecated

func (*StreamStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamStatusRequest.ProtoReflect.Descriptor instead.

func (*StreamStatusRequest) GetEvery

func (x *StreamStatusRequest) GetEvery() *durationpb.Duration

func (*StreamStatusRequest) GetResourceNames

func (x *StreamStatusRequest) GetResourceNames() []*v1.ResourceName

func (*StreamStatusRequest) ProtoMessage

func (*StreamStatusRequest) ProtoMessage()

func (*StreamStatusRequest) ProtoReflect

func (x *StreamStatusRequest) ProtoReflect() protoreflect.Message

func (*StreamStatusRequest) Reset

func (x *StreamStatusRequest) Reset()

func (*StreamStatusRequest) String

func (x *StreamStatusRequest) String() string

type StreamStatusResponse

type StreamStatusResponse struct {
	Status []*Status `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamStatusResponse) Descriptor deprecated

func (*StreamStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamStatusResponse.ProtoReflect.Descriptor instead.

func (*StreamStatusResponse) GetStatus

func (x *StreamStatusResponse) GetStatus() []*Status

func (*StreamStatusResponse) ProtoMessage

func (*StreamStatusResponse) ProtoMessage()

func (*StreamStatusResponse) ProtoReflect

func (x *StreamStatusResponse) ProtoReflect() protoreflect.Message

func (*StreamStatusResponse) Reset

func (x *StreamStatusResponse) Reset()

func (*StreamStatusResponse) String

func (x *StreamStatusResponse) String() string

type TransformPCDRequest added in v0.1.43

type TransformPCDRequest struct {

	// the point clouds to transform. This should be in the PCD format
	// encoded into bytes: https://pointclouds.org/documentation/tutorials/pcd_file_format.html
	PointCloudPcd []byte `protobuf:"bytes,1,opt,name=point_cloud_pcd,json=pointCloudPcd,proto3" json:"point_cloud_pcd,omitempty"`
	// the reference frame of the point cloud.
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// the reference frame into which the source data should be transformed, if unset this defaults to the "world" reference frame.
	// Do not move the robot between the generation of the initial pointcloud and the receipt
	// of the transformed pointcloud because that will make the transformations inaccurate
	Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*TransformPCDRequest) Descriptor deprecated added in v0.1.43

func (*TransformPCDRequest) Descriptor() ([]byte, []int)

Deprecated: Use TransformPCDRequest.ProtoReflect.Descriptor instead.

func (*TransformPCDRequest) GetDestination added in v0.1.43

func (x *TransformPCDRequest) GetDestination() string

func (*TransformPCDRequest) GetPointCloudPcd added in v0.1.43

func (x *TransformPCDRequest) GetPointCloudPcd() []byte

func (*TransformPCDRequest) GetSource added in v0.1.43

func (x *TransformPCDRequest) GetSource() string

func (*TransformPCDRequest) ProtoMessage added in v0.1.43

func (*TransformPCDRequest) ProtoMessage()

func (*TransformPCDRequest) ProtoReflect added in v0.1.43

func (x *TransformPCDRequest) ProtoReflect() protoreflect.Message

func (*TransformPCDRequest) Reset added in v0.1.43

func (x *TransformPCDRequest) Reset()

func (*TransformPCDRequest) String added in v0.1.43

func (x *TransformPCDRequest) String() string

type TransformPCDResponse added in v0.1.43

type TransformPCDResponse struct {
	PointCloudPcd []byte `protobuf:"bytes,1,opt,name=point_cloud_pcd,json=pointCloudPcd,proto3" json:"point_cloud_pcd,omitempty"`
	// contains filtered or unexported fields
}

func (*TransformPCDResponse) Descriptor deprecated added in v0.1.43

func (*TransformPCDResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransformPCDResponse.ProtoReflect.Descriptor instead.

func (*TransformPCDResponse) GetPointCloudPcd added in v0.1.43

func (x *TransformPCDResponse) GetPointCloudPcd() []byte

func (*TransformPCDResponse) ProtoMessage added in v0.1.43

func (*TransformPCDResponse) ProtoMessage()

func (*TransformPCDResponse) ProtoReflect added in v0.1.43

func (x *TransformPCDResponse) ProtoReflect() protoreflect.Message

func (*TransformPCDResponse) Reset added in v0.1.43

func (x *TransformPCDResponse) Reset()

func (*TransformPCDResponse) String added in v0.1.43

func (x *TransformPCDResponse) String() string

type TransformPoseRequest

type TransformPoseRequest struct {

	// the original pose to transform along with the reference frame in
	// which it was observed
	Source *v1.PoseInFrame `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// the reference frame into which the source pose should be transformed,
	// if unset this defaults to the "world" reference frame
	Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	// pose information on any additional reference frames that are needed
	// to perform the transform
	SupplementalTransforms []*v1.Transform `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TransformPoseRequest) Descriptor deprecated

func (*TransformPoseRequest) Descriptor() ([]byte, []int)

Deprecated: Use TransformPoseRequest.ProtoReflect.Descriptor instead.

func (*TransformPoseRequest) GetDestination

func (x *TransformPoseRequest) GetDestination() string

func (*TransformPoseRequest) GetSource

func (x *TransformPoseRequest) GetSource() *v1.PoseInFrame

func (*TransformPoseRequest) GetSupplementalTransforms

func (x *TransformPoseRequest) GetSupplementalTransforms() []*v1.Transform

func (*TransformPoseRequest) ProtoMessage

func (*TransformPoseRequest) ProtoMessage()

func (*TransformPoseRequest) ProtoReflect

func (x *TransformPoseRequest) ProtoReflect() protoreflect.Message

func (*TransformPoseRequest) Reset

func (x *TransformPoseRequest) Reset()

func (*TransformPoseRequest) String

func (x *TransformPoseRequest) String() string

type TransformPoseResponse

type TransformPoseResponse struct {
	Pose *v1.PoseInFrame `protobuf:"bytes,1,opt,name=pose,proto3" json:"pose,omitempty"`
	// contains filtered or unexported fields
}

func (*TransformPoseResponse) Descriptor deprecated

func (*TransformPoseResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransformPoseResponse.ProtoReflect.Descriptor instead.

func (*TransformPoseResponse) GetPose

func (x *TransformPoseResponse) GetPose() *v1.PoseInFrame

func (*TransformPoseResponse) ProtoMessage

func (*TransformPoseResponse) ProtoMessage()

func (*TransformPoseResponse) ProtoReflect

func (x *TransformPoseResponse) ProtoReflect() protoreflect.Message

func (*TransformPoseResponse) Reset

func (x *TransformPoseResponse) Reset()

func (*TransformPoseResponse) String

func (x *TransformPoseResponse) String() string

type UnimplementedRobotServiceServer

type UnimplementedRobotServiceServer struct {
}

UnimplementedRobotServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRobotServiceServer) BlockForOperation

func (UnimplementedRobotServiceServer) CancelOperation

func (UnimplementedRobotServiceServer) DiscoverComponents

func (UnimplementedRobotServiceServer) FrameSystemConfig

func (UnimplementedRobotServiceServer) GetCloudMetadata added in v0.1.271

func (UnimplementedRobotServiceServer) GetOperations

func (UnimplementedRobotServiceServer) GetSessions added in v0.1.13

func (UnimplementedRobotServiceServer) GetStatus

func (UnimplementedRobotServiceServer) Log added in v0.1.258

func (UnimplementedRobotServiceServer) ResourceNames

func (UnimplementedRobotServiceServer) RestartModule added in v0.1.285

func (UnimplementedRobotServiceServer) SendSessionHeartbeat added in v0.1.13

func (UnimplementedRobotServiceServer) StartSession added in v0.1.13

func (UnimplementedRobotServiceServer) StopAll

func (UnimplementedRobotServiceServer) StreamStatus

func (UnimplementedRobotServiceServer) TransformPCD added in v0.1.43

func (UnimplementedRobotServiceServer) TransformPose

type UnsafeRobotServiceServer

type UnsafeRobotServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRobotServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RobotServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL