@viamrobotics/sdk 0.0.40 → 0.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/arm/Client.d.ts +1 -9
- package/dist/gen/common/v1/common_pb.d.ts +557 -0
- package/dist/gen/common/v1/common_pb_service.d.ts +3 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +336 -0
- package/dist/gen/component/arm/v1/arm_pb_service.d.ts +178 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +222 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +114 -0
- package/dist/gen/component/base/v1/base_pb.d.ts +298 -0
- package/dist/gen/component/base/v1/base_pb_service.d.ts +178 -0
- package/dist/gen/component/board/v1/board_pb.d.ts +517 -0
- package/dist/gen/component/board/v1/board_pb_service.d.ts +254 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +330 -0
- package/dist/gen/component/camera/v1/camera_pb_service.d.ts +141 -0
- package/dist/gen/component/encoder/v1/encoder_pb.d.ts +164 -0
- package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +121 -0
- package/dist/gen/component/gantry/v1/gantry_pb.d.ts +266 -0
- package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +159 -0
- package/dist/gen/component/generic/v1/generic_pb.d.ts +7 -0
- package/dist/gen/component/generic/v1/generic_pb_service.d.ts +64 -0
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +184 -0
- package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +140 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +295 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +132 -0
- package/dist/gen/component/motor/v1/motor_pb.d.ts +452 -0
- package/dist/gen/component/motor/v1/motor_pb_service.d.ts +235 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +409 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +216 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +59 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +83 -0
- package/dist/gen/component/sensor/v1/sensor_pb.d.ts +53 -0
- package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +83 -0
- package/dist/gen/component/servo/v1/servo_pb.d.ts +206 -0
- package/dist/gen/component/servo/v1/servo_pb_service.d.ts +140 -0
- package/dist/gen/component/testecho/v1/testecho_pb.d.ts +174 -0
- package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +104 -0
- package/dist/gen/google/api/annotations_pb.d.ts +9 -0
- package/dist/gen/google/api/annotations_pb_service.d.ts +3 -0
- package/dist/gen/google/api/client_pb.d.ts +467 -0
- package/dist/gen/google/api/client_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +454 -0
- package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +145 -0
- package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +58 -0
- package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +503 -0
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +210 -0
- package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +143 -0
- package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +167 -0
- package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +414 -0
- package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +66 -0
- package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +3 -0
- package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +210 -0
- package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +3 -0
- package/dist/gen/google/api/field_behavior_pb.d.ts +21 -0
- package/dist/gen/google/api/field_behavior_pb_service.d.ts +3 -0
- package/dist/gen/google/api/http_pb.d.ts +136 -0
- package/dist/gen/google/api/http_pb_service.d.ts +3 -0
- package/dist/gen/google/api/httpbody_pb.d.ts +38 -0
- package/dist/gen/google/api/httpbody_pb_service.d.ts +3 -0
- package/dist/gen/google/api/launch_stage_pb.d.ts +18 -0
- package/dist/gen/google/api/launch_stage_pb_service.d.ts +3 -0
- package/dist/gen/google/api/resource_pb.d.ts +99 -0
- package/dist/gen/google/api/resource_pb_service.d.ts +3 -0
- package/dist/gen/google/api/visibility_pb.d.ts +64 -0
- package/dist/gen/google/api/visibility_pb_service.d.ts +3 -0
- package/dist/gen/google/bytestream/bytestream_pb.d.ts +155 -0
- package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +85 -0
- package/dist/gen/google/geo/type/viewport_pb.d.ts +34 -0
- package/dist/gen/google/geo/type/viewport_pb_service.d.ts +3 -0
- package/dist/gen/google/longrunning/operations_pb.d.ts +231 -0
- package/dist/gen/google/longrunning/operations_pb_service.d.ts +140 -0
- package/dist/gen/google/rpc/code_pb.d.ts +27 -0
- package/dist/gen/google/rpc/code_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +356 -0
- package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/error_details_pb.d.ts +349 -0
- package/dist/gen/google/rpc/error_details_pb_service.d.ts +3 -0
- package/dist/gen/google/rpc/status_pb.d.ts +36 -0
- package/dist/gen/google/rpc/status_pb_service.d.ts +3 -0
- package/dist/gen/google/type/calendar_period_pb.d.ts +18 -0
- package/dist/gen/google/type/calendar_period_pb_service.d.ts +3 -0
- package/dist/gen/google/type/color_pb.d.ts +40 -0
- package/dist/gen/google/type/color_pb_service.d.ts +3 -0
- package/dist/gen/google/type/date_pb.d.ts +33 -0
- package/dist/gen/google/type/date_pb_service.d.ts +3 -0
- package/dist/gen/google/type/datetime_pb.d.ts +93 -0
- package/dist/gen/google/type/datetime_pb_service.d.ts +3 -0
- package/dist/gen/google/type/dayofweek_pb.d.ts +18 -0
- package/dist/gen/google/type/dayofweek_pb_service.d.ts +3 -0
- package/dist/gen/google/type/decimal_pb.d.ts +25 -0
- package/dist/gen/google/type/decimal_pb_service.d.ts +3 -0
- package/dist/gen/google/type/expr_pb.d.ts +37 -0
- package/dist/gen/google/type/expr_pb_service.d.ts +3 -0
- package/dist/gen/google/type/fraction_pb.d.ts +29 -0
- package/dist/gen/google/type/fraction_pb_service.d.ts +3 -0
- package/dist/gen/google/type/interval_pb.d.ts +34 -0
- package/dist/gen/google/type/interval_pb_service.d.ts +3 -0
- package/dist/gen/google/type/latlng_pb.d.ts +29 -0
- package/dist/gen/google/type/latlng_pb_service.d.ts +3 -0
- package/dist/gen/google/type/localized_text_pb.d.ts +29 -0
- package/dist/gen/google/type/localized_text_pb_service.d.ts +3 -0
- package/dist/gen/google/type/money_pb.d.ts +33 -0
- package/dist/gen/google/type/money_pb_service.d.ts +3 -0
- package/dist/gen/google/type/month_pb.d.ts +23 -0
- package/dist/gen/google/type/month_pb_service.d.ts +3 -0
- package/dist/gen/google/type/phone_number_pb.d.ts +68 -0
- package/dist/gen/google/type/phone_number_pb_service.d.ts +3 -0
- package/dist/gen/google/type/postal_address_pb.d.ts +69 -0
- package/dist/gen/google/type/postal_address_pb_service.d.ts +3 -0
- package/dist/gen/google/type/quaternion_pb.d.ts +37 -0
- package/dist/gen/google/type/quaternion_pb_service.d.ts +3 -0
- package/dist/gen/google/type/timeofday_pb.d.ts +37 -0
- package/dist/gen/google/type/timeofday_pb_service.d.ts +3 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +126 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +85 -0
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +137 -0
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +85 -0
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +66 -0
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +55 -0
- package/dist/gen/proto/rpc/v1/auth_pb.d.ts +116 -0
- package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +92 -0
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +324 -0
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +3 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +585 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +104 -0
- package/dist/gen/proto/stream/v1/stream_pb.d.ts +115 -0
- package/dist/gen/proto/stream/v1/stream_pb_service.d.ts +101 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +912 -0
- package/dist/gen/robot/v1/robot_pb_service.d.ts +321 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +50 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +83 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +219 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +82 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +400 -0
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +140 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +324 -0
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +178 -0
- package/dist/gen/service/sensors/v1/sensors_pb.d.ts +135 -0
- package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +102 -0
- package/dist/gen/service/shell/v1/shell_pb.d.ts +66 -0
- package/dist/gen/service/shell/v1/shell_pb_service.d.ts +75 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +144 -0
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +105 -0
- package/dist/gen/service/vision/v1/vision_pb.d.ts +906 -0
- package/dist/gen/service/vision/v1/vision_pb_service.d.ts +349 -0
- package/dist/main.d.ts +4 -20
- package/dist/main.es.js +518 -424
- package/dist/main.umd.js +9 -9
- package/dist/services/datamanager/client.d.ts +11 -0
- package/dist/services/datamanager/datamanager.d.ts +4 -0
- package/dist/services/motion/Client.d.ts +20 -0
- package/dist/services/motion/Motion.d.ts +50 -0
- package/dist/services/motion/types.d.ts +4 -0
- package/dist/services/motion.d.ts +3 -0
- package/dist/types.d.ts +21 -0
- package/dist/utils.d.ts +22 -0
- package/package.json +23 -19
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
// package: viam.robot.v1
|
|
2
|
+
// file: robot/v1/robot.proto
|
|
3
|
+
|
|
4
|
+
import * as robot_v1_robot_pb from "../../robot/v1/robot_pb";
|
|
5
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
6
|
+
|
|
7
|
+
type RobotServiceGetOperations = {
|
|
8
|
+
readonly methodName: string;
|
|
9
|
+
readonly service: typeof RobotService;
|
|
10
|
+
readonly requestStream: false;
|
|
11
|
+
readonly responseStream: false;
|
|
12
|
+
readonly requestType: typeof robot_v1_robot_pb.GetOperationsRequest;
|
|
13
|
+
readonly responseType: typeof robot_v1_robot_pb.GetOperationsResponse;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
type RobotServiceGetSessions = {
|
|
17
|
+
readonly methodName: string;
|
|
18
|
+
readonly service: typeof RobotService;
|
|
19
|
+
readonly requestStream: false;
|
|
20
|
+
readonly responseStream: false;
|
|
21
|
+
readonly requestType: typeof robot_v1_robot_pb.GetSessionsRequest;
|
|
22
|
+
readonly responseType: typeof robot_v1_robot_pb.GetSessionsResponse;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
type RobotServiceResourceNames = {
|
|
26
|
+
readonly methodName: string;
|
|
27
|
+
readonly service: typeof RobotService;
|
|
28
|
+
readonly requestStream: false;
|
|
29
|
+
readonly responseStream: false;
|
|
30
|
+
readonly requestType: typeof robot_v1_robot_pb.ResourceNamesRequest;
|
|
31
|
+
readonly responseType: typeof robot_v1_robot_pb.ResourceNamesResponse;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
type RobotServiceResourceRPCSubtypes = {
|
|
35
|
+
readonly methodName: string;
|
|
36
|
+
readonly service: typeof RobotService;
|
|
37
|
+
readonly requestStream: false;
|
|
38
|
+
readonly responseStream: false;
|
|
39
|
+
readonly requestType: typeof robot_v1_robot_pb.ResourceRPCSubtypesRequest;
|
|
40
|
+
readonly responseType: typeof robot_v1_robot_pb.ResourceRPCSubtypesResponse;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
type RobotServiceCancelOperation = {
|
|
44
|
+
readonly methodName: string;
|
|
45
|
+
readonly service: typeof RobotService;
|
|
46
|
+
readonly requestStream: false;
|
|
47
|
+
readonly responseStream: false;
|
|
48
|
+
readonly requestType: typeof robot_v1_robot_pb.CancelOperationRequest;
|
|
49
|
+
readonly responseType: typeof robot_v1_robot_pb.CancelOperationResponse;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
type RobotServiceBlockForOperation = {
|
|
53
|
+
readonly methodName: string;
|
|
54
|
+
readonly service: typeof RobotService;
|
|
55
|
+
readonly requestStream: false;
|
|
56
|
+
readonly responseStream: false;
|
|
57
|
+
readonly requestType: typeof robot_v1_robot_pb.BlockForOperationRequest;
|
|
58
|
+
readonly responseType: typeof robot_v1_robot_pb.BlockForOperationResponse;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
type RobotServiceDiscoverComponents = {
|
|
62
|
+
readonly methodName: string;
|
|
63
|
+
readonly service: typeof RobotService;
|
|
64
|
+
readonly requestStream: false;
|
|
65
|
+
readonly responseStream: false;
|
|
66
|
+
readonly requestType: typeof robot_v1_robot_pb.DiscoverComponentsRequest;
|
|
67
|
+
readonly responseType: typeof robot_v1_robot_pb.DiscoverComponentsResponse;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
type RobotServiceFrameSystemConfig = {
|
|
71
|
+
readonly methodName: string;
|
|
72
|
+
readonly service: typeof RobotService;
|
|
73
|
+
readonly requestStream: false;
|
|
74
|
+
readonly responseStream: false;
|
|
75
|
+
readonly requestType: typeof robot_v1_robot_pb.FrameSystemConfigRequest;
|
|
76
|
+
readonly responseType: typeof robot_v1_robot_pb.FrameSystemConfigResponse;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
type RobotServiceTransformPose = {
|
|
80
|
+
readonly methodName: string;
|
|
81
|
+
readonly service: typeof RobotService;
|
|
82
|
+
readonly requestStream: false;
|
|
83
|
+
readonly responseStream: false;
|
|
84
|
+
readonly requestType: typeof robot_v1_robot_pb.TransformPoseRequest;
|
|
85
|
+
readonly responseType: typeof robot_v1_robot_pb.TransformPoseResponse;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
type RobotServiceTransformPCD = {
|
|
89
|
+
readonly methodName: string;
|
|
90
|
+
readonly service: typeof RobotService;
|
|
91
|
+
readonly requestStream: false;
|
|
92
|
+
readonly responseStream: false;
|
|
93
|
+
readonly requestType: typeof robot_v1_robot_pb.TransformPCDRequest;
|
|
94
|
+
readonly responseType: typeof robot_v1_robot_pb.TransformPCDResponse;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
type RobotServiceGetStatus = {
|
|
98
|
+
readonly methodName: string;
|
|
99
|
+
readonly service: typeof RobotService;
|
|
100
|
+
readonly requestStream: false;
|
|
101
|
+
readonly responseStream: false;
|
|
102
|
+
readonly requestType: typeof robot_v1_robot_pb.GetStatusRequest;
|
|
103
|
+
readonly responseType: typeof robot_v1_robot_pb.GetStatusResponse;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
type RobotServiceStreamStatus = {
|
|
107
|
+
readonly methodName: string;
|
|
108
|
+
readonly service: typeof RobotService;
|
|
109
|
+
readonly requestStream: false;
|
|
110
|
+
readonly responseStream: true;
|
|
111
|
+
readonly requestType: typeof robot_v1_robot_pb.StreamStatusRequest;
|
|
112
|
+
readonly responseType: typeof robot_v1_robot_pb.StreamStatusResponse;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
type RobotServiceStopAll = {
|
|
116
|
+
readonly methodName: string;
|
|
117
|
+
readonly service: typeof RobotService;
|
|
118
|
+
readonly requestStream: false;
|
|
119
|
+
readonly responseStream: false;
|
|
120
|
+
readonly requestType: typeof robot_v1_robot_pb.StopAllRequest;
|
|
121
|
+
readonly responseType: typeof robot_v1_robot_pb.StopAllResponse;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
type RobotServiceStartSession = {
|
|
125
|
+
readonly methodName: string;
|
|
126
|
+
readonly service: typeof RobotService;
|
|
127
|
+
readonly requestStream: false;
|
|
128
|
+
readonly responseStream: false;
|
|
129
|
+
readonly requestType: typeof robot_v1_robot_pb.StartSessionRequest;
|
|
130
|
+
readonly responseType: typeof robot_v1_robot_pb.StartSessionResponse;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
type RobotServiceSendSessionHeartbeat = {
|
|
134
|
+
readonly methodName: string;
|
|
135
|
+
readonly service: typeof RobotService;
|
|
136
|
+
readonly requestStream: false;
|
|
137
|
+
readonly responseStream: false;
|
|
138
|
+
readonly requestType: typeof robot_v1_robot_pb.SendSessionHeartbeatRequest;
|
|
139
|
+
readonly responseType: typeof robot_v1_robot_pb.SendSessionHeartbeatResponse;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export class RobotService {
|
|
143
|
+
static readonly serviceName: string;
|
|
144
|
+
static readonly GetOperations: RobotServiceGetOperations;
|
|
145
|
+
static readonly GetSessions: RobotServiceGetSessions;
|
|
146
|
+
static readonly ResourceNames: RobotServiceResourceNames;
|
|
147
|
+
static readonly ResourceRPCSubtypes: RobotServiceResourceRPCSubtypes;
|
|
148
|
+
static readonly CancelOperation: RobotServiceCancelOperation;
|
|
149
|
+
static readonly BlockForOperation: RobotServiceBlockForOperation;
|
|
150
|
+
static readonly DiscoverComponents: RobotServiceDiscoverComponents;
|
|
151
|
+
static readonly FrameSystemConfig: RobotServiceFrameSystemConfig;
|
|
152
|
+
static readonly TransformPose: RobotServiceTransformPose;
|
|
153
|
+
static readonly TransformPCD: RobotServiceTransformPCD;
|
|
154
|
+
static readonly GetStatus: RobotServiceGetStatus;
|
|
155
|
+
static readonly StreamStatus: RobotServiceStreamStatus;
|
|
156
|
+
static readonly StopAll: RobotServiceStopAll;
|
|
157
|
+
static readonly StartSession: RobotServiceStartSession;
|
|
158
|
+
static readonly SendSessionHeartbeat: RobotServiceSendSessionHeartbeat;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
162
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
163
|
+
|
|
164
|
+
interface UnaryResponse {
|
|
165
|
+
cancel(): void;
|
|
166
|
+
}
|
|
167
|
+
interface ResponseStream<T> {
|
|
168
|
+
cancel(): void;
|
|
169
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
170
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
171
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
172
|
+
}
|
|
173
|
+
interface RequestStream<T> {
|
|
174
|
+
write(message: T): RequestStream<T>;
|
|
175
|
+
end(): void;
|
|
176
|
+
cancel(): void;
|
|
177
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
178
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
179
|
+
}
|
|
180
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
181
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
182
|
+
end(): void;
|
|
183
|
+
cancel(): void;
|
|
184
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
185
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
186
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export class RobotServiceClient {
|
|
190
|
+
readonly serviceHost: string;
|
|
191
|
+
|
|
192
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
193
|
+
getOperations(
|
|
194
|
+
requestMessage: robot_v1_robot_pb.GetOperationsRequest,
|
|
195
|
+
metadata: grpc.Metadata,
|
|
196
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.GetOperationsResponse|null) => void
|
|
197
|
+
): UnaryResponse;
|
|
198
|
+
getOperations(
|
|
199
|
+
requestMessage: robot_v1_robot_pb.GetOperationsRequest,
|
|
200
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.GetOperationsResponse|null) => void
|
|
201
|
+
): UnaryResponse;
|
|
202
|
+
getSessions(
|
|
203
|
+
requestMessage: robot_v1_robot_pb.GetSessionsRequest,
|
|
204
|
+
metadata: grpc.Metadata,
|
|
205
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.GetSessionsResponse|null) => void
|
|
206
|
+
): UnaryResponse;
|
|
207
|
+
getSessions(
|
|
208
|
+
requestMessage: robot_v1_robot_pb.GetSessionsRequest,
|
|
209
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.GetSessionsResponse|null) => void
|
|
210
|
+
): UnaryResponse;
|
|
211
|
+
resourceNames(
|
|
212
|
+
requestMessage: robot_v1_robot_pb.ResourceNamesRequest,
|
|
213
|
+
metadata: grpc.Metadata,
|
|
214
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.ResourceNamesResponse|null) => void
|
|
215
|
+
): UnaryResponse;
|
|
216
|
+
resourceNames(
|
|
217
|
+
requestMessage: robot_v1_robot_pb.ResourceNamesRequest,
|
|
218
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.ResourceNamesResponse|null) => void
|
|
219
|
+
): UnaryResponse;
|
|
220
|
+
resourceRPCSubtypes(
|
|
221
|
+
requestMessage: robot_v1_robot_pb.ResourceRPCSubtypesRequest,
|
|
222
|
+
metadata: grpc.Metadata,
|
|
223
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.ResourceRPCSubtypesResponse|null) => void
|
|
224
|
+
): UnaryResponse;
|
|
225
|
+
resourceRPCSubtypes(
|
|
226
|
+
requestMessage: robot_v1_robot_pb.ResourceRPCSubtypesRequest,
|
|
227
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.ResourceRPCSubtypesResponse|null) => void
|
|
228
|
+
): UnaryResponse;
|
|
229
|
+
cancelOperation(
|
|
230
|
+
requestMessage: robot_v1_robot_pb.CancelOperationRequest,
|
|
231
|
+
metadata: grpc.Metadata,
|
|
232
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.CancelOperationResponse|null) => void
|
|
233
|
+
): UnaryResponse;
|
|
234
|
+
cancelOperation(
|
|
235
|
+
requestMessage: robot_v1_robot_pb.CancelOperationRequest,
|
|
236
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.CancelOperationResponse|null) => void
|
|
237
|
+
): UnaryResponse;
|
|
238
|
+
blockForOperation(
|
|
239
|
+
requestMessage: robot_v1_robot_pb.BlockForOperationRequest,
|
|
240
|
+
metadata: grpc.Metadata,
|
|
241
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.BlockForOperationResponse|null) => void
|
|
242
|
+
): UnaryResponse;
|
|
243
|
+
blockForOperation(
|
|
244
|
+
requestMessage: robot_v1_robot_pb.BlockForOperationRequest,
|
|
245
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.BlockForOperationResponse|null) => void
|
|
246
|
+
): UnaryResponse;
|
|
247
|
+
discoverComponents(
|
|
248
|
+
requestMessage: robot_v1_robot_pb.DiscoverComponentsRequest,
|
|
249
|
+
metadata: grpc.Metadata,
|
|
250
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.DiscoverComponentsResponse|null) => void
|
|
251
|
+
): UnaryResponse;
|
|
252
|
+
discoverComponents(
|
|
253
|
+
requestMessage: robot_v1_robot_pb.DiscoverComponentsRequest,
|
|
254
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.DiscoverComponentsResponse|null) => void
|
|
255
|
+
): UnaryResponse;
|
|
256
|
+
frameSystemConfig(
|
|
257
|
+
requestMessage: robot_v1_robot_pb.FrameSystemConfigRequest,
|
|
258
|
+
metadata: grpc.Metadata,
|
|
259
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.FrameSystemConfigResponse|null) => void
|
|
260
|
+
): UnaryResponse;
|
|
261
|
+
frameSystemConfig(
|
|
262
|
+
requestMessage: robot_v1_robot_pb.FrameSystemConfigRequest,
|
|
263
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.FrameSystemConfigResponse|null) => void
|
|
264
|
+
): UnaryResponse;
|
|
265
|
+
transformPose(
|
|
266
|
+
requestMessage: robot_v1_robot_pb.TransformPoseRequest,
|
|
267
|
+
metadata: grpc.Metadata,
|
|
268
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.TransformPoseResponse|null) => void
|
|
269
|
+
): UnaryResponse;
|
|
270
|
+
transformPose(
|
|
271
|
+
requestMessage: robot_v1_robot_pb.TransformPoseRequest,
|
|
272
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.TransformPoseResponse|null) => void
|
|
273
|
+
): UnaryResponse;
|
|
274
|
+
transformPCD(
|
|
275
|
+
requestMessage: robot_v1_robot_pb.TransformPCDRequest,
|
|
276
|
+
metadata: grpc.Metadata,
|
|
277
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.TransformPCDResponse|null) => void
|
|
278
|
+
): UnaryResponse;
|
|
279
|
+
transformPCD(
|
|
280
|
+
requestMessage: robot_v1_robot_pb.TransformPCDRequest,
|
|
281
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.TransformPCDResponse|null) => void
|
|
282
|
+
): UnaryResponse;
|
|
283
|
+
getStatus(
|
|
284
|
+
requestMessage: robot_v1_robot_pb.GetStatusRequest,
|
|
285
|
+
metadata: grpc.Metadata,
|
|
286
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.GetStatusResponse|null) => void
|
|
287
|
+
): UnaryResponse;
|
|
288
|
+
getStatus(
|
|
289
|
+
requestMessage: robot_v1_robot_pb.GetStatusRequest,
|
|
290
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.GetStatusResponse|null) => void
|
|
291
|
+
): UnaryResponse;
|
|
292
|
+
streamStatus(requestMessage: robot_v1_robot_pb.StreamStatusRequest, metadata?: grpc.Metadata): ResponseStream<robot_v1_robot_pb.StreamStatusResponse>;
|
|
293
|
+
stopAll(
|
|
294
|
+
requestMessage: robot_v1_robot_pb.StopAllRequest,
|
|
295
|
+
metadata: grpc.Metadata,
|
|
296
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.StopAllResponse|null) => void
|
|
297
|
+
): UnaryResponse;
|
|
298
|
+
stopAll(
|
|
299
|
+
requestMessage: robot_v1_robot_pb.StopAllRequest,
|
|
300
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.StopAllResponse|null) => void
|
|
301
|
+
): UnaryResponse;
|
|
302
|
+
startSession(
|
|
303
|
+
requestMessage: robot_v1_robot_pb.StartSessionRequest,
|
|
304
|
+
metadata: grpc.Metadata,
|
|
305
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.StartSessionResponse|null) => void
|
|
306
|
+
): UnaryResponse;
|
|
307
|
+
startSession(
|
|
308
|
+
requestMessage: robot_v1_robot_pb.StartSessionRequest,
|
|
309
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.StartSessionResponse|null) => void
|
|
310
|
+
): UnaryResponse;
|
|
311
|
+
sendSessionHeartbeat(
|
|
312
|
+
requestMessage: robot_v1_robot_pb.SendSessionHeartbeatRequest,
|
|
313
|
+
metadata: grpc.Metadata,
|
|
314
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.SendSessionHeartbeatResponse|null) => void
|
|
315
|
+
): UnaryResponse;
|
|
316
|
+
sendSessionHeartbeat(
|
|
317
|
+
requestMessage: robot_v1_robot_pb.SendSessionHeartbeatRequest,
|
|
318
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.SendSessionHeartbeatResponse|null) => void
|
|
319
|
+
): UnaryResponse;
|
|
320
|
+
}
|
|
321
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// package: viam.service.datamanager.v1
|
|
2
|
+
// file: service/datamanager/v1/data_manager.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
|
+
import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
|
|
7
|
+
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
8
|
+
|
|
9
|
+
export class SyncRequest extends jspb.Message {
|
|
10
|
+
getName(): string;
|
|
11
|
+
setName(value: string): void;
|
|
12
|
+
|
|
13
|
+
hasExtra(): boolean;
|
|
14
|
+
clearExtra(): void;
|
|
15
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
16
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
17
|
+
|
|
18
|
+
serializeBinary(): Uint8Array;
|
|
19
|
+
toObject(includeInstance?: boolean): SyncRequest.AsObject;
|
|
20
|
+
static toObject(includeInstance: boolean, msg: SyncRequest): SyncRequest.AsObject;
|
|
21
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
22
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
23
|
+
static serializeBinaryToWriter(message: SyncRequest, writer: jspb.BinaryWriter): void;
|
|
24
|
+
static deserializeBinary(bytes: Uint8Array): SyncRequest;
|
|
25
|
+
static deserializeBinaryFromReader(message: SyncRequest, reader: jspb.BinaryReader): SyncRequest;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export namespace SyncRequest {
|
|
29
|
+
export type AsObject = {
|
|
30
|
+
name: string,
|
|
31
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class SyncResponse extends jspb.Message {
|
|
36
|
+
serializeBinary(): Uint8Array;
|
|
37
|
+
toObject(includeInstance?: boolean): SyncResponse.AsObject;
|
|
38
|
+
static toObject(includeInstance: boolean, msg: SyncResponse): SyncResponse.AsObject;
|
|
39
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
40
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
41
|
+
static serializeBinaryToWriter(message: SyncResponse, writer: jspb.BinaryWriter): void;
|
|
42
|
+
static deserializeBinary(bytes: Uint8Array): SyncResponse;
|
|
43
|
+
static deserializeBinaryFromReader(message: SyncResponse, reader: jspb.BinaryReader): SyncResponse;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export namespace SyncResponse {
|
|
47
|
+
export type AsObject = {
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// package: viam.service.datamanager.v1
|
|
2
|
+
// file: service/datamanager/v1/data_manager.proto
|
|
3
|
+
|
|
4
|
+
import * as service_datamanager_v1_data_manager_pb from "../../../service/datamanager/v1/data_manager_pb";
|
|
5
|
+
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
7
|
+
|
|
8
|
+
type DataManagerServiceSync = {
|
|
9
|
+
readonly methodName: string;
|
|
10
|
+
readonly service: typeof DataManagerService;
|
|
11
|
+
readonly requestStream: false;
|
|
12
|
+
readonly responseStream: false;
|
|
13
|
+
readonly requestType: typeof service_datamanager_v1_data_manager_pb.SyncRequest;
|
|
14
|
+
readonly responseType: typeof service_datamanager_v1_data_manager_pb.SyncResponse;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type DataManagerServiceDoCommand = {
|
|
18
|
+
readonly methodName: string;
|
|
19
|
+
readonly service: typeof DataManagerService;
|
|
20
|
+
readonly requestStream: false;
|
|
21
|
+
readonly responseStream: false;
|
|
22
|
+
readonly requestType: typeof common_v1_common_pb.DoCommandRequest;
|
|
23
|
+
readonly responseType: typeof common_v1_common_pb.DoCommandResponse;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export class DataManagerService {
|
|
27
|
+
static readonly serviceName: string;
|
|
28
|
+
static readonly Sync: DataManagerServiceSync;
|
|
29
|
+
static readonly DoCommand: DataManagerServiceDoCommand;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
33
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
34
|
+
|
|
35
|
+
interface UnaryResponse {
|
|
36
|
+
cancel(): void;
|
|
37
|
+
}
|
|
38
|
+
interface ResponseStream<T> {
|
|
39
|
+
cancel(): void;
|
|
40
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
41
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
42
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
43
|
+
}
|
|
44
|
+
interface RequestStream<T> {
|
|
45
|
+
write(message: T): RequestStream<T>;
|
|
46
|
+
end(): void;
|
|
47
|
+
cancel(): void;
|
|
48
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
49
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
50
|
+
}
|
|
51
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
52
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
53
|
+
end(): void;
|
|
54
|
+
cancel(): void;
|
|
55
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
56
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
57
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class DataManagerServiceClient {
|
|
61
|
+
readonly serviceHost: string;
|
|
62
|
+
|
|
63
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
64
|
+
sync(
|
|
65
|
+
requestMessage: service_datamanager_v1_data_manager_pb.SyncRequest,
|
|
66
|
+
metadata: grpc.Metadata,
|
|
67
|
+
callback: (error: ServiceError|null, responseMessage: service_datamanager_v1_data_manager_pb.SyncResponse|null) => void
|
|
68
|
+
): UnaryResponse;
|
|
69
|
+
sync(
|
|
70
|
+
requestMessage: service_datamanager_v1_data_manager_pb.SyncRequest,
|
|
71
|
+
callback: (error: ServiceError|null, responseMessage: service_datamanager_v1_data_manager_pb.SyncResponse|null) => void
|
|
72
|
+
): UnaryResponse;
|
|
73
|
+
doCommand(
|
|
74
|
+
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
75
|
+
metadata: grpc.Metadata,
|
|
76
|
+
callback: (error: ServiceError|null, responseMessage: common_v1_common_pb.DoCommandResponse|null) => void
|
|
77
|
+
): UnaryResponse;
|
|
78
|
+
doCommand(
|
|
79
|
+
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
80
|
+
callback: (error: ServiceError|null, responseMessage: common_v1_common_pb.DoCommandResponse|null) => void
|
|
81
|
+
): UnaryResponse;
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
// package: viam.service.mlmodel.v1
|
|
2
|
+
// file: service/mlmodel/v1/mlmodel.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
|
|
6
|
+
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
7
|
+
|
|
8
|
+
export class InferRequest extends jspb.Message {
|
|
9
|
+
getName(): string;
|
|
10
|
+
setName(value: string): void;
|
|
11
|
+
|
|
12
|
+
hasInputData(): boolean;
|
|
13
|
+
clearInputData(): void;
|
|
14
|
+
getInputData(): google_protobuf_struct_pb.Struct | undefined;
|
|
15
|
+
setInputData(value?: google_protobuf_struct_pb.Struct): void;
|
|
16
|
+
|
|
17
|
+
serializeBinary(): Uint8Array;
|
|
18
|
+
toObject(includeInstance?: boolean): InferRequest.AsObject;
|
|
19
|
+
static toObject(includeInstance: boolean, msg: InferRequest): InferRequest.AsObject;
|
|
20
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
21
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
22
|
+
static serializeBinaryToWriter(message: InferRequest, writer: jspb.BinaryWriter): void;
|
|
23
|
+
static deserializeBinary(bytes: Uint8Array): InferRequest;
|
|
24
|
+
static deserializeBinaryFromReader(message: InferRequest, reader: jspb.BinaryReader): InferRequest;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export namespace InferRequest {
|
|
28
|
+
export type AsObject = {
|
|
29
|
+
name: string,
|
|
30
|
+
inputData?: google_protobuf_struct_pb.Struct.AsObject,
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export class InferResponse extends jspb.Message {
|
|
35
|
+
hasOutputData(): boolean;
|
|
36
|
+
clearOutputData(): void;
|
|
37
|
+
getOutputData(): google_protobuf_struct_pb.Struct | undefined;
|
|
38
|
+
setOutputData(value?: google_protobuf_struct_pb.Struct): void;
|
|
39
|
+
|
|
40
|
+
serializeBinary(): Uint8Array;
|
|
41
|
+
toObject(includeInstance?: boolean): InferResponse.AsObject;
|
|
42
|
+
static toObject(includeInstance: boolean, msg: InferResponse): InferResponse.AsObject;
|
|
43
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
44
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
45
|
+
static serializeBinaryToWriter(message: InferResponse, writer: jspb.BinaryWriter): void;
|
|
46
|
+
static deserializeBinary(bytes: Uint8Array): InferResponse;
|
|
47
|
+
static deserializeBinaryFromReader(message: InferResponse, reader: jspb.BinaryReader): InferResponse;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export namespace InferResponse {
|
|
51
|
+
export type AsObject = {
|
|
52
|
+
outputData?: google_protobuf_struct_pb.Struct.AsObject,
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export class MetadataRequest extends jspb.Message {
|
|
57
|
+
getName(): string;
|
|
58
|
+
setName(value: string): void;
|
|
59
|
+
|
|
60
|
+
serializeBinary(): Uint8Array;
|
|
61
|
+
toObject(includeInstance?: boolean): MetadataRequest.AsObject;
|
|
62
|
+
static toObject(includeInstance: boolean, msg: MetadataRequest): MetadataRequest.AsObject;
|
|
63
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
64
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
65
|
+
static serializeBinaryToWriter(message: MetadataRequest, writer: jspb.BinaryWriter): void;
|
|
66
|
+
static deserializeBinary(bytes: Uint8Array): MetadataRequest;
|
|
67
|
+
static deserializeBinaryFromReader(message: MetadataRequest, reader: jspb.BinaryReader): MetadataRequest;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export namespace MetadataRequest {
|
|
71
|
+
export type AsObject = {
|
|
72
|
+
name: string,
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export class MetadataResponse extends jspb.Message {
|
|
77
|
+
hasMetadata(): boolean;
|
|
78
|
+
clearMetadata(): void;
|
|
79
|
+
getMetadata(): Metadata | undefined;
|
|
80
|
+
setMetadata(value?: Metadata): void;
|
|
81
|
+
|
|
82
|
+
serializeBinary(): Uint8Array;
|
|
83
|
+
toObject(includeInstance?: boolean): MetadataResponse.AsObject;
|
|
84
|
+
static toObject(includeInstance: boolean, msg: MetadataResponse): MetadataResponse.AsObject;
|
|
85
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
86
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
87
|
+
static serializeBinaryToWriter(message: MetadataResponse, writer: jspb.BinaryWriter): void;
|
|
88
|
+
static deserializeBinary(bytes: Uint8Array): MetadataResponse;
|
|
89
|
+
static deserializeBinaryFromReader(message: MetadataResponse, reader: jspb.BinaryReader): MetadataResponse;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export namespace MetadataResponse {
|
|
93
|
+
export type AsObject = {
|
|
94
|
+
metadata?: Metadata.AsObject,
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export class Metadata extends jspb.Message {
|
|
99
|
+
getName(): string;
|
|
100
|
+
setName(value: string): void;
|
|
101
|
+
|
|
102
|
+
getType(): string;
|
|
103
|
+
setType(value: string): void;
|
|
104
|
+
|
|
105
|
+
getDescription(): string;
|
|
106
|
+
setDescription(value: string): void;
|
|
107
|
+
|
|
108
|
+
clearInputInfoList(): void;
|
|
109
|
+
getInputInfoList(): Array<TensorInfo>;
|
|
110
|
+
setInputInfoList(value: Array<TensorInfo>): void;
|
|
111
|
+
addInputInfo(value?: TensorInfo, index?: number): TensorInfo;
|
|
112
|
+
|
|
113
|
+
clearOutputInfoList(): void;
|
|
114
|
+
getOutputInfoList(): Array<TensorInfo>;
|
|
115
|
+
setOutputInfoList(value: Array<TensorInfo>): void;
|
|
116
|
+
addOutputInfo(value?: TensorInfo, index?: number): TensorInfo;
|
|
117
|
+
|
|
118
|
+
serializeBinary(): Uint8Array;
|
|
119
|
+
toObject(includeInstance?: boolean): Metadata.AsObject;
|
|
120
|
+
static toObject(includeInstance: boolean, msg: Metadata): Metadata.AsObject;
|
|
121
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
122
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
123
|
+
static serializeBinaryToWriter(message: Metadata, writer: jspb.BinaryWriter): void;
|
|
124
|
+
static deserializeBinary(bytes: Uint8Array): Metadata;
|
|
125
|
+
static deserializeBinaryFromReader(message: Metadata, reader: jspb.BinaryReader): Metadata;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export namespace Metadata {
|
|
129
|
+
export type AsObject = {
|
|
130
|
+
name: string,
|
|
131
|
+
type: string,
|
|
132
|
+
description: string,
|
|
133
|
+
inputInfoList: Array<TensorInfo.AsObject>,
|
|
134
|
+
outputInfoList: Array<TensorInfo.AsObject>,
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export class TensorInfo extends jspb.Message {
|
|
139
|
+
getName(): string;
|
|
140
|
+
setName(value: string): void;
|
|
141
|
+
|
|
142
|
+
getDescription(): string;
|
|
143
|
+
setDescription(value: string): void;
|
|
144
|
+
|
|
145
|
+
getDataType(): string;
|
|
146
|
+
setDataType(value: string): void;
|
|
147
|
+
|
|
148
|
+
clearShapeList(): void;
|
|
149
|
+
getShapeList(): Array<number>;
|
|
150
|
+
setShapeList(value: Array<number>): void;
|
|
151
|
+
addShape(value: number, index?: number): number;
|
|
152
|
+
|
|
153
|
+
clearAssociatedFilesList(): void;
|
|
154
|
+
getAssociatedFilesList(): Array<File>;
|
|
155
|
+
setAssociatedFilesList(value: Array<File>): void;
|
|
156
|
+
addAssociatedFiles(value?: File, index?: number): File;
|
|
157
|
+
|
|
158
|
+
hasExtra(): boolean;
|
|
159
|
+
clearExtra(): void;
|
|
160
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
161
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
162
|
+
|
|
163
|
+
serializeBinary(): Uint8Array;
|
|
164
|
+
toObject(includeInstance?: boolean): TensorInfo.AsObject;
|
|
165
|
+
static toObject(includeInstance: boolean, msg: TensorInfo): TensorInfo.AsObject;
|
|
166
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
167
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
168
|
+
static serializeBinaryToWriter(message: TensorInfo, writer: jspb.BinaryWriter): void;
|
|
169
|
+
static deserializeBinary(bytes: Uint8Array): TensorInfo;
|
|
170
|
+
static deserializeBinaryFromReader(message: TensorInfo, reader: jspb.BinaryReader): TensorInfo;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export namespace TensorInfo {
|
|
174
|
+
export type AsObject = {
|
|
175
|
+
name: string,
|
|
176
|
+
description: string,
|
|
177
|
+
dataType: string,
|
|
178
|
+
shapeList: Array<number>,
|
|
179
|
+
associatedFilesList: Array<File.AsObject>,
|
|
180
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export class File extends jspb.Message {
|
|
185
|
+
getName(): string;
|
|
186
|
+
setName(value: string): void;
|
|
187
|
+
|
|
188
|
+
getDescription(): string;
|
|
189
|
+
setDescription(value: string): void;
|
|
190
|
+
|
|
191
|
+
getLabelType(): LabelTypeMap[keyof LabelTypeMap];
|
|
192
|
+
setLabelType(value: LabelTypeMap[keyof LabelTypeMap]): void;
|
|
193
|
+
|
|
194
|
+
serializeBinary(): Uint8Array;
|
|
195
|
+
toObject(includeInstance?: boolean): File.AsObject;
|
|
196
|
+
static toObject(includeInstance: boolean, msg: File): File.AsObject;
|
|
197
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
198
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
199
|
+
static serializeBinaryToWriter(message: File, writer: jspb.BinaryWriter): void;
|
|
200
|
+
static deserializeBinary(bytes: Uint8Array): File;
|
|
201
|
+
static deserializeBinaryFromReader(message: File, reader: jspb.BinaryReader): File;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export namespace File {
|
|
205
|
+
export type AsObject = {
|
|
206
|
+
name: string,
|
|
207
|
+
description: string,
|
|
208
|
+
labelType: LabelTypeMap[keyof LabelTypeMap],
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export interface LabelTypeMap {
|
|
213
|
+
LABEL_TYPE_UNSPECIFIED: 0;
|
|
214
|
+
LABEL_TYPE_TENSOR_VALUE: 1;
|
|
215
|
+
LABEL_TYPE_TENSOR_AXIS: 2;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export const LabelType: LabelTypeMap;
|
|
219
|
+
|