@viamrobotics/sdk 0.0.40-alpha.2 → 0.0.41
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/Arm.d.ts +3 -4
- package/dist/components/arm/Client.d.ts +11 -4
- 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 +19 -2
- package/dist/main.es.js +424 -514
- package/dist/main.umd.js +9 -9
- package/package.json +4 -3
- package/dist/services/motion/Client.d.ts +0 -16
- package/dist/services/motion/Motion.d.ts +0 -51
- package/dist/services/motion.d.ts +0 -2
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// package: viam.component.base.v1
|
|
2
|
+
// file: component/base/v1/base.proto
|
|
3
|
+
|
|
4
|
+
import * as component_base_v1_base_pb from "../../../component/base/v1/base_pb";
|
|
5
|
+
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
7
|
+
|
|
8
|
+
type BaseServiceMoveStraight = {
|
|
9
|
+
readonly methodName: string;
|
|
10
|
+
readonly service: typeof BaseService;
|
|
11
|
+
readonly requestStream: false;
|
|
12
|
+
readonly responseStream: false;
|
|
13
|
+
readonly requestType: typeof component_base_v1_base_pb.MoveStraightRequest;
|
|
14
|
+
readonly responseType: typeof component_base_v1_base_pb.MoveStraightResponse;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type BaseServiceSpin = {
|
|
18
|
+
readonly methodName: string;
|
|
19
|
+
readonly service: typeof BaseService;
|
|
20
|
+
readonly requestStream: false;
|
|
21
|
+
readonly responseStream: false;
|
|
22
|
+
readonly requestType: typeof component_base_v1_base_pb.SpinRequest;
|
|
23
|
+
readonly responseType: typeof component_base_v1_base_pb.SpinResponse;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
type BaseServiceSetPower = {
|
|
27
|
+
readonly methodName: string;
|
|
28
|
+
readonly service: typeof BaseService;
|
|
29
|
+
readonly requestStream: false;
|
|
30
|
+
readonly responseStream: false;
|
|
31
|
+
readonly requestType: typeof component_base_v1_base_pb.SetPowerRequest;
|
|
32
|
+
readonly responseType: typeof component_base_v1_base_pb.SetPowerResponse;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
type BaseServiceSetVelocity = {
|
|
36
|
+
readonly methodName: string;
|
|
37
|
+
readonly service: typeof BaseService;
|
|
38
|
+
readonly requestStream: false;
|
|
39
|
+
readonly responseStream: false;
|
|
40
|
+
readonly requestType: typeof component_base_v1_base_pb.SetVelocityRequest;
|
|
41
|
+
readonly responseType: typeof component_base_v1_base_pb.SetVelocityResponse;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
type BaseServiceStop = {
|
|
45
|
+
readonly methodName: string;
|
|
46
|
+
readonly service: typeof BaseService;
|
|
47
|
+
readonly requestStream: false;
|
|
48
|
+
readonly responseStream: false;
|
|
49
|
+
readonly requestType: typeof component_base_v1_base_pb.StopRequest;
|
|
50
|
+
readonly responseType: typeof component_base_v1_base_pb.StopResponse;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
type BaseServiceIsMoving = {
|
|
54
|
+
readonly methodName: string;
|
|
55
|
+
readonly service: typeof BaseService;
|
|
56
|
+
readonly requestStream: false;
|
|
57
|
+
readonly responseStream: false;
|
|
58
|
+
readonly requestType: typeof component_base_v1_base_pb.IsMovingRequest;
|
|
59
|
+
readonly responseType: typeof component_base_v1_base_pb.IsMovingResponse;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
type BaseServiceDoCommand = {
|
|
63
|
+
readonly methodName: string;
|
|
64
|
+
readonly service: typeof BaseService;
|
|
65
|
+
readonly requestStream: false;
|
|
66
|
+
readonly responseStream: false;
|
|
67
|
+
readonly requestType: typeof common_v1_common_pb.DoCommandRequest;
|
|
68
|
+
readonly responseType: typeof common_v1_common_pb.DoCommandResponse;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export class BaseService {
|
|
72
|
+
static readonly serviceName: string;
|
|
73
|
+
static readonly MoveStraight: BaseServiceMoveStraight;
|
|
74
|
+
static readonly Spin: BaseServiceSpin;
|
|
75
|
+
static readonly SetPower: BaseServiceSetPower;
|
|
76
|
+
static readonly SetVelocity: BaseServiceSetVelocity;
|
|
77
|
+
static readonly Stop: BaseServiceStop;
|
|
78
|
+
static readonly IsMoving: BaseServiceIsMoving;
|
|
79
|
+
static readonly DoCommand: BaseServiceDoCommand;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
83
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
84
|
+
|
|
85
|
+
interface UnaryResponse {
|
|
86
|
+
cancel(): void;
|
|
87
|
+
}
|
|
88
|
+
interface ResponseStream<T> {
|
|
89
|
+
cancel(): void;
|
|
90
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
91
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
92
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
93
|
+
}
|
|
94
|
+
interface RequestStream<T> {
|
|
95
|
+
write(message: T): RequestStream<T>;
|
|
96
|
+
end(): void;
|
|
97
|
+
cancel(): void;
|
|
98
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
99
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
100
|
+
}
|
|
101
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
102
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
103
|
+
end(): void;
|
|
104
|
+
cancel(): void;
|
|
105
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
106
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
107
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export class BaseServiceClient {
|
|
111
|
+
readonly serviceHost: string;
|
|
112
|
+
|
|
113
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
114
|
+
moveStraight(
|
|
115
|
+
requestMessage: component_base_v1_base_pb.MoveStraightRequest,
|
|
116
|
+
metadata: grpc.Metadata,
|
|
117
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.MoveStraightResponse|null) => void
|
|
118
|
+
): UnaryResponse;
|
|
119
|
+
moveStraight(
|
|
120
|
+
requestMessage: component_base_v1_base_pb.MoveStraightRequest,
|
|
121
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.MoveStraightResponse|null) => void
|
|
122
|
+
): UnaryResponse;
|
|
123
|
+
spin(
|
|
124
|
+
requestMessage: component_base_v1_base_pb.SpinRequest,
|
|
125
|
+
metadata: grpc.Metadata,
|
|
126
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.SpinResponse|null) => void
|
|
127
|
+
): UnaryResponse;
|
|
128
|
+
spin(
|
|
129
|
+
requestMessage: component_base_v1_base_pb.SpinRequest,
|
|
130
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.SpinResponse|null) => void
|
|
131
|
+
): UnaryResponse;
|
|
132
|
+
setPower(
|
|
133
|
+
requestMessage: component_base_v1_base_pb.SetPowerRequest,
|
|
134
|
+
metadata: grpc.Metadata,
|
|
135
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.SetPowerResponse|null) => void
|
|
136
|
+
): UnaryResponse;
|
|
137
|
+
setPower(
|
|
138
|
+
requestMessage: component_base_v1_base_pb.SetPowerRequest,
|
|
139
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.SetPowerResponse|null) => void
|
|
140
|
+
): UnaryResponse;
|
|
141
|
+
setVelocity(
|
|
142
|
+
requestMessage: component_base_v1_base_pb.SetVelocityRequest,
|
|
143
|
+
metadata: grpc.Metadata,
|
|
144
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.SetVelocityResponse|null) => void
|
|
145
|
+
): UnaryResponse;
|
|
146
|
+
setVelocity(
|
|
147
|
+
requestMessage: component_base_v1_base_pb.SetVelocityRequest,
|
|
148
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.SetVelocityResponse|null) => void
|
|
149
|
+
): UnaryResponse;
|
|
150
|
+
stop(
|
|
151
|
+
requestMessage: component_base_v1_base_pb.StopRequest,
|
|
152
|
+
metadata: grpc.Metadata,
|
|
153
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.StopResponse|null) => void
|
|
154
|
+
): UnaryResponse;
|
|
155
|
+
stop(
|
|
156
|
+
requestMessage: component_base_v1_base_pb.StopRequest,
|
|
157
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.StopResponse|null) => void
|
|
158
|
+
): UnaryResponse;
|
|
159
|
+
isMoving(
|
|
160
|
+
requestMessage: component_base_v1_base_pb.IsMovingRequest,
|
|
161
|
+
metadata: grpc.Metadata,
|
|
162
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.IsMovingResponse|null) => void
|
|
163
|
+
): UnaryResponse;
|
|
164
|
+
isMoving(
|
|
165
|
+
requestMessage: component_base_v1_base_pb.IsMovingRequest,
|
|
166
|
+
callback: (error: ServiceError|null, responseMessage: component_base_v1_base_pb.IsMovingResponse|null) => void
|
|
167
|
+
): UnaryResponse;
|
|
168
|
+
doCommand(
|
|
169
|
+
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
170
|
+
metadata: grpc.Metadata,
|
|
171
|
+
callback: (error: ServiceError|null, responseMessage: common_v1_common_pb.DoCommandResponse|null) => void
|
|
172
|
+
): UnaryResponse;
|
|
173
|
+
doCommand(
|
|
174
|
+
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
175
|
+
callback: (error: ServiceError|null, responseMessage: common_v1_common_pb.DoCommandResponse|null) => void
|
|
176
|
+
): UnaryResponse;
|
|
177
|
+
}
|
|
178
|
+
|
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
// package: viam.component.board.v1
|
|
2
|
+
// file: component/board/v1/board.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_duration_pb from "google-protobuf/google/protobuf/duration_pb";
|
|
8
|
+
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
9
|
+
|
|
10
|
+
export class StatusRequest extends jspb.Message {
|
|
11
|
+
getName(): string;
|
|
12
|
+
setName(value: string): void;
|
|
13
|
+
|
|
14
|
+
hasExtra(): boolean;
|
|
15
|
+
clearExtra(): void;
|
|
16
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
17
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
18
|
+
|
|
19
|
+
serializeBinary(): Uint8Array;
|
|
20
|
+
toObject(includeInstance?: boolean): StatusRequest.AsObject;
|
|
21
|
+
static toObject(includeInstance: boolean, msg: StatusRequest): StatusRequest.AsObject;
|
|
22
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
23
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
24
|
+
static serializeBinaryToWriter(message: StatusRequest, writer: jspb.BinaryWriter): void;
|
|
25
|
+
static deserializeBinary(bytes: Uint8Array): StatusRequest;
|
|
26
|
+
static deserializeBinaryFromReader(message: StatusRequest, reader: jspb.BinaryReader): StatusRequest;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export namespace StatusRequest {
|
|
30
|
+
export type AsObject = {
|
|
31
|
+
name: string,
|
|
32
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class StatusResponse extends jspb.Message {
|
|
37
|
+
hasStatus(): boolean;
|
|
38
|
+
clearStatus(): void;
|
|
39
|
+
getStatus(): common_v1_common_pb.BoardStatus | undefined;
|
|
40
|
+
setStatus(value?: common_v1_common_pb.BoardStatus): void;
|
|
41
|
+
|
|
42
|
+
serializeBinary(): Uint8Array;
|
|
43
|
+
toObject(includeInstance?: boolean): StatusResponse.AsObject;
|
|
44
|
+
static toObject(includeInstance: boolean, msg: StatusResponse): StatusResponse.AsObject;
|
|
45
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
46
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
47
|
+
static serializeBinaryToWriter(message: StatusResponse, writer: jspb.BinaryWriter): void;
|
|
48
|
+
static deserializeBinary(bytes: Uint8Array): StatusResponse;
|
|
49
|
+
static deserializeBinaryFromReader(message: StatusResponse, reader: jspb.BinaryReader): StatusResponse;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export namespace StatusResponse {
|
|
53
|
+
export type AsObject = {
|
|
54
|
+
status?: common_v1_common_pb.BoardStatus.AsObject,
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class SetGPIORequest extends jspb.Message {
|
|
59
|
+
getName(): string;
|
|
60
|
+
setName(value: string): void;
|
|
61
|
+
|
|
62
|
+
getPin(): string;
|
|
63
|
+
setPin(value: string): void;
|
|
64
|
+
|
|
65
|
+
getHigh(): boolean;
|
|
66
|
+
setHigh(value: boolean): void;
|
|
67
|
+
|
|
68
|
+
hasExtra(): boolean;
|
|
69
|
+
clearExtra(): void;
|
|
70
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
71
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
72
|
+
|
|
73
|
+
serializeBinary(): Uint8Array;
|
|
74
|
+
toObject(includeInstance?: boolean): SetGPIORequest.AsObject;
|
|
75
|
+
static toObject(includeInstance: boolean, msg: SetGPIORequest): SetGPIORequest.AsObject;
|
|
76
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
77
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
78
|
+
static serializeBinaryToWriter(message: SetGPIORequest, writer: jspb.BinaryWriter): void;
|
|
79
|
+
static deserializeBinary(bytes: Uint8Array): SetGPIORequest;
|
|
80
|
+
static deserializeBinaryFromReader(message: SetGPIORequest, reader: jspb.BinaryReader): SetGPIORequest;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export namespace SetGPIORequest {
|
|
84
|
+
export type AsObject = {
|
|
85
|
+
name: string,
|
|
86
|
+
pin: string,
|
|
87
|
+
high: boolean,
|
|
88
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export class SetGPIOResponse extends jspb.Message {
|
|
93
|
+
serializeBinary(): Uint8Array;
|
|
94
|
+
toObject(includeInstance?: boolean): SetGPIOResponse.AsObject;
|
|
95
|
+
static toObject(includeInstance: boolean, msg: SetGPIOResponse): SetGPIOResponse.AsObject;
|
|
96
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
97
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
98
|
+
static serializeBinaryToWriter(message: SetGPIOResponse, writer: jspb.BinaryWriter): void;
|
|
99
|
+
static deserializeBinary(bytes: Uint8Array): SetGPIOResponse;
|
|
100
|
+
static deserializeBinaryFromReader(message: SetGPIOResponse, reader: jspb.BinaryReader): SetGPIOResponse;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export namespace SetGPIOResponse {
|
|
104
|
+
export type AsObject = {
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export class GetGPIORequest extends jspb.Message {
|
|
109
|
+
getName(): string;
|
|
110
|
+
setName(value: string): void;
|
|
111
|
+
|
|
112
|
+
getPin(): string;
|
|
113
|
+
setPin(value: string): void;
|
|
114
|
+
|
|
115
|
+
hasExtra(): boolean;
|
|
116
|
+
clearExtra(): void;
|
|
117
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
118
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
119
|
+
|
|
120
|
+
serializeBinary(): Uint8Array;
|
|
121
|
+
toObject(includeInstance?: boolean): GetGPIORequest.AsObject;
|
|
122
|
+
static toObject(includeInstance: boolean, msg: GetGPIORequest): GetGPIORequest.AsObject;
|
|
123
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
124
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
125
|
+
static serializeBinaryToWriter(message: GetGPIORequest, writer: jspb.BinaryWriter): void;
|
|
126
|
+
static deserializeBinary(bytes: Uint8Array): GetGPIORequest;
|
|
127
|
+
static deserializeBinaryFromReader(message: GetGPIORequest, reader: jspb.BinaryReader): GetGPIORequest;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export namespace GetGPIORequest {
|
|
131
|
+
export type AsObject = {
|
|
132
|
+
name: string,
|
|
133
|
+
pin: string,
|
|
134
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export class GetGPIOResponse extends jspb.Message {
|
|
139
|
+
getHigh(): boolean;
|
|
140
|
+
setHigh(value: boolean): void;
|
|
141
|
+
|
|
142
|
+
serializeBinary(): Uint8Array;
|
|
143
|
+
toObject(includeInstance?: boolean): GetGPIOResponse.AsObject;
|
|
144
|
+
static toObject(includeInstance: boolean, msg: GetGPIOResponse): GetGPIOResponse.AsObject;
|
|
145
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
146
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
147
|
+
static serializeBinaryToWriter(message: GetGPIOResponse, writer: jspb.BinaryWriter): void;
|
|
148
|
+
static deserializeBinary(bytes: Uint8Array): GetGPIOResponse;
|
|
149
|
+
static deserializeBinaryFromReader(message: GetGPIOResponse, reader: jspb.BinaryReader): GetGPIOResponse;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export namespace GetGPIOResponse {
|
|
153
|
+
export type AsObject = {
|
|
154
|
+
high: boolean,
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export class PWMRequest extends jspb.Message {
|
|
159
|
+
getName(): string;
|
|
160
|
+
setName(value: string): void;
|
|
161
|
+
|
|
162
|
+
getPin(): string;
|
|
163
|
+
setPin(value: string): void;
|
|
164
|
+
|
|
165
|
+
hasExtra(): boolean;
|
|
166
|
+
clearExtra(): void;
|
|
167
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
168
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
169
|
+
|
|
170
|
+
serializeBinary(): Uint8Array;
|
|
171
|
+
toObject(includeInstance?: boolean): PWMRequest.AsObject;
|
|
172
|
+
static toObject(includeInstance: boolean, msg: PWMRequest): PWMRequest.AsObject;
|
|
173
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
174
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
175
|
+
static serializeBinaryToWriter(message: PWMRequest, writer: jspb.BinaryWriter): void;
|
|
176
|
+
static deserializeBinary(bytes: Uint8Array): PWMRequest;
|
|
177
|
+
static deserializeBinaryFromReader(message: PWMRequest, reader: jspb.BinaryReader): PWMRequest;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export namespace PWMRequest {
|
|
181
|
+
export type AsObject = {
|
|
182
|
+
name: string,
|
|
183
|
+
pin: string,
|
|
184
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export class PWMResponse extends jspb.Message {
|
|
189
|
+
getDutyCyclePct(): number;
|
|
190
|
+
setDutyCyclePct(value: number): void;
|
|
191
|
+
|
|
192
|
+
serializeBinary(): Uint8Array;
|
|
193
|
+
toObject(includeInstance?: boolean): PWMResponse.AsObject;
|
|
194
|
+
static toObject(includeInstance: boolean, msg: PWMResponse): PWMResponse.AsObject;
|
|
195
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
196
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
197
|
+
static serializeBinaryToWriter(message: PWMResponse, writer: jspb.BinaryWriter): void;
|
|
198
|
+
static deserializeBinary(bytes: Uint8Array): PWMResponse;
|
|
199
|
+
static deserializeBinaryFromReader(message: PWMResponse, reader: jspb.BinaryReader): PWMResponse;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export namespace PWMResponse {
|
|
203
|
+
export type AsObject = {
|
|
204
|
+
dutyCyclePct: number,
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export class SetPWMRequest extends jspb.Message {
|
|
209
|
+
getName(): string;
|
|
210
|
+
setName(value: string): void;
|
|
211
|
+
|
|
212
|
+
getPin(): string;
|
|
213
|
+
setPin(value: string): void;
|
|
214
|
+
|
|
215
|
+
getDutyCyclePct(): number;
|
|
216
|
+
setDutyCyclePct(value: number): void;
|
|
217
|
+
|
|
218
|
+
hasExtra(): boolean;
|
|
219
|
+
clearExtra(): void;
|
|
220
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
221
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
222
|
+
|
|
223
|
+
serializeBinary(): Uint8Array;
|
|
224
|
+
toObject(includeInstance?: boolean): SetPWMRequest.AsObject;
|
|
225
|
+
static toObject(includeInstance: boolean, msg: SetPWMRequest): SetPWMRequest.AsObject;
|
|
226
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
227
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
228
|
+
static serializeBinaryToWriter(message: SetPWMRequest, writer: jspb.BinaryWriter): void;
|
|
229
|
+
static deserializeBinary(bytes: Uint8Array): SetPWMRequest;
|
|
230
|
+
static deserializeBinaryFromReader(message: SetPWMRequest, reader: jspb.BinaryReader): SetPWMRequest;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export namespace SetPWMRequest {
|
|
234
|
+
export type AsObject = {
|
|
235
|
+
name: string,
|
|
236
|
+
pin: string,
|
|
237
|
+
dutyCyclePct: number,
|
|
238
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export class SetPWMResponse extends jspb.Message {
|
|
243
|
+
serializeBinary(): Uint8Array;
|
|
244
|
+
toObject(includeInstance?: boolean): SetPWMResponse.AsObject;
|
|
245
|
+
static toObject(includeInstance: boolean, msg: SetPWMResponse): SetPWMResponse.AsObject;
|
|
246
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
247
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
248
|
+
static serializeBinaryToWriter(message: SetPWMResponse, writer: jspb.BinaryWriter): void;
|
|
249
|
+
static deserializeBinary(bytes: Uint8Array): SetPWMResponse;
|
|
250
|
+
static deserializeBinaryFromReader(message: SetPWMResponse, reader: jspb.BinaryReader): SetPWMResponse;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export namespace SetPWMResponse {
|
|
254
|
+
export type AsObject = {
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export class PWMFrequencyRequest extends jspb.Message {
|
|
259
|
+
getName(): string;
|
|
260
|
+
setName(value: string): void;
|
|
261
|
+
|
|
262
|
+
getPin(): string;
|
|
263
|
+
setPin(value: string): void;
|
|
264
|
+
|
|
265
|
+
hasExtra(): boolean;
|
|
266
|
+
clearExtra(): void;
|
|
267
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
268
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
269
|
+
|
|
270
|
+
serializeBinary(): Uint8Array;
|
|
271
|
+
toObject(includeInstance?: boolean): PWMFrequencyRequest.AsObject;
|
|
272
|
+
static toObject(includeInstance: boolean, msg: PWMFrequencyRequest): PWMFrequencyRequest.AsObject;
|
|
273
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
274
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
275
|
+
static serializeBinaryToWriter(message: PWMFrequencyRequest, writer: jspb.BinaryWriter): void;
|
|
276
|
+
static deserializeBinary(bytes: Uint8Array): PWMFrequencyRequest;
|
|
277
|
+
static deserializeBinaryFromReader(message: PWMFrequencyRequest, reader: jspb.BinaryReader): PWMFrequencyRequest;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export namespace PWMFrequencyRequest {
|
|
281
|
+
export type AsObject = {
|
|
282
|
+
name: string,
|
|
283
|
+
pin: string,
|
|
284
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export class PWMFrequencyResponse extends jspb.Message {
|
|
289
|
+
getFrequencyHz(): number;
|
|
290
|
+
setFrequencyHz(value: number): void;
|
|
291
|
+
|
|
292
|
+
serializeBinary(): Uint8Array;
|
|
293
|
+
toObject(includeInstance?: boolean): PWMFrequencyResponse.AsObject;
|
|
294
|
+
static toObject(includeInstance: boolean, msg: PWMFrequencyResponse): PWMFrequencyResponse.AsObject;
|
|
295
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
296
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
297
|
+
static serializeBinaryToWriter(message: PWMFrequencyResponse, writer: jspb.BinaryWriter): void;
|
|
298
|
+
static deserializeBinary(bytes: Uint8Array): PWMFrequencyResponse;
|
|
299
|
+
static deserializeBinaryFromReader(message: PWMFrequencyResponse, reader: jspb.BinaryReader): PWMFrequencyResponse;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export namespace PWMFrequencyResponse {
|
|
303
|
+
export type AsObject = {
|
|
304
|
+
frequencyHz: number,
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export class SetPWMFrequencyRequest extends jspb.Message {
|
|
309
|
+
getName(): string;
|
|
310
|
+
setName(value: string): void;
|
|
311
|
+
|
|
312
|
+
getPin(): string;
|
|
313
|
+
setPin(value: string): void;
|
|
314
|
+
|
|
315
|
+
getFrequencyHz(): number;
|
|
316
|
+
setFrequencyHz(value: number): void;
|
|
317
|
+
|
|
318
|
+
hasExtra(): boolean;
|
|
319
|
+
clearExtra(): void;
|
|
320
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
321
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
322
|
+
|
|
323
|
+
serializeBinary(): Uint8Array;
|
|
324
|
+
toObject(includeInstance?: boolean): SetPWMFrequencyRequest.AsObject;
|
|
325
|
+
static toObject(includeInstance: boolean, msg: SetPWMFrequencyRequest): SetPWMFrequencyRequest.AsObject;
|
|
326
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
327
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
328
|
+
static serializeBinaryToWriter(message: SetPWMFrequencyRequest, writer: jspb.BinaryWriter): void;
|
|
329
|
+
static deserializeBinary(bytes: Uint8Array): SetPWMFrequencyRequest;
|
|
330
|
+
static deserializeBinaryFromReader(message: SetPWMFrequencyRequest, reader: jspb.BinaryReader): SetPWMFrequencyRequest;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export namespace SetPWMFrequencyRequest {
|
|
334
|
+
export type AsObject = {
|
|
335
|
+
name: string,
|
|
336
|
+
pin: string,
|
|
337
|
+
frequencyHz: number,
|
|
338
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export class SetPWMFrequencyResponse extends jspb.Message {
|
|
343
|
+
serializeBinary(): Uint8Array;
|
|
344
|
+
toObject(includeInstance?: boolean): SetPWMFrequencyResponse.AsObject;
|
|
345
|
+
static toObject(includeInstance: boolean, msg: SetPWMFrequencyResponse): SetPWMFrequencyResponse.AsObject;
|
|
346
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
347
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
348
|
+
static serializeBinaryToWriter(message: SetPWMFrequencyResponse, writer: jspb.BinaryWriter): void;
|
|
349
|
+
static deserializeBinary(bytes: Uint8Array): SetPWMFrequencyResponse;
|
|
350
|
+
static deserializeBinaryFromReader(message: SetPWMFrequencyResponse, reader: jspb.BinaryReader): SetPWMFrequencyResponse;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export namespace SetPWMFrequencyResponse {
|
|
354
|
+
export type AsObject = {
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export class ReadAnalogReaderRequest extends jspb.Message {
|
|
359
|
+
getBoardName(): string;
|
|
360
|
+
setBoardName(value: string): void;
|
|
361
|
+
|
|
362
|
+
getAnalogReaderName(): string;
|
|
363
|
+
setAnalogReaderName(value: string): void;
|
|
364
|
+
|
|
365
|
+
hasExtra(): boolean;
|
|
366
|
+
clearExtra(): void;
|
|
367
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
368
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
369
|
+
|
|
370
|
+
serializeBinary(): Uint8Array;
|
|
371
|
+
toObject(includeInstance?: boolean): ReadAnalogReaderRequest.AsObject;
|
|
372
|
+
static toObject(includeInstance: boolean, msg: ReadAnalogReaderRequest): ReadAnalogReaderRequest.AsObject;
|
|
373
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
374
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
375
|
+
static serializeBinaryToWriter(message: ReadAnalogReaderRequest, writer: jspb.BinaryWriter): void;
|
|
376
|
+
static deserializeBinary(bytes: Uint8Array): ReadAnalogReaderRequest;
|
|
377
|
+
static deserializeBinaryFromReader(message: ReadAnalogReaderRequest, reader: jspb.BinaryReader): ReadAnalogReaderRequest;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export namespace ReadAnalogReaderRequest {
|
|
381
|
+
export type AsObject = {
|
|
382
|
+
boardName: string,
|
|
383
|
+
analogReaderName: string,
|
|
384
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export class ReadAnalogReaderResponse extends jspb.Message {
|
|
389
|
+
getValue(): number;
|
|
390
|
+
setValue(value: number): void;
|
|
391
|
+
|
|
392
|
+
serializeBinary(): Uint8Array;
|
|
393
|
+
toObject(includeInstance?: boolean): ReadAnalogReaderResponse.AsObject;
|
|
394
|
+
static toObject(includeInstance: boolean, msg: ReadAnalogReaderResponse): ReadAnalogReaderResponse.AsObject;
|
|
395
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
396
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
397
|
+
static serializeBinaryToWriter(message: ReadAnalogReaderResponse, writer: jspb.BinaryWriter): void;
|
|
398
|
+
static deserializeBinary(bytes: Uint8Array): ReadAnalogReaderResponse;
|
|
399
|
+
static deserializeBinaryFromReader(message: ReadAnalogReaderResponse, reader: jspb.BinaryReader): ReadAnalogReaderResponse;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export namespace ReadAnalogReaderResponse {
|
|
403
|
+
export type AsObject = {
|
|
404
|
+
value: number,
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export class GetDigitalInterruptValueRequest extends jspb.Message {
|
|
409
|
+
getBoardName(): string;
|
|
410
|
+
setBoardName(value: string): void;
|
|
411
|
+
|
|
412
|
+
getDigitalInterruptName(): string;
|
|
413
|
+
setDigitalInterruptName(value: string): void;
|
|
414
|
+
|
|
415
|
+
hasExtra(): boolean;
|
|
416
|
+
clearExtra(): void;
|
|
417
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
418
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
419
|
+
|
|
420
|
+
serializeBinary(): Uint8Array;
|
|
421
|
+
toObject(includeInstance?: boolean): GetDigitalInterruptValueRequest.AsObject;
|
|
422
|
+
static toObject(includeInstance: boolean, msg: GetDigitalInterruptValueRequest): GetDigitalInterruptValueRequest.AsObject;
|
|
423
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
424
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
425
|
+
static serializeBinaryToWriter(message: GetDigitalInterruptValueRequest, writer: jspb.BinaryWriter): void;
|
|
426
|
+
static deserializeBinary(bytes: Uint8Array): GetDigitalInterruptValueRequest;
|
|
427
|
+
static deserializeBinaryFromReader(message: GetDigitalInterruptValueRequest, reader: jspb.BinaryReader): GetDigitalInterruptValueRequest;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export namespace GetDigitalInterruptValueRequest {
|
|
431
|
+
export type AsObject = {
|
|
432
|
+
boardName: string,
|
|
433
|
+
digitalInterruptName: string,
|
|
434
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export class GetDigitalInterruptValueResponse extends jspb.Message {
|
|
439
|
+
getValue(): number;
|
|
440
|
+
setValue(value: number): void;
|
|
441
|
+
|
|
442
|
+
serializeBinary(): Uint8Array;
|
|
443
|
+
toObject(includeInstance?: boolean): GetDigitalInterruptValueResponse.AsObject;
|
|
444
|
+
static toObject(includeInstance: boolean, msg: GetDigitalInterruptValueResponse): GetDigitalInterruptValueResponse.AsObject;
|
|
445
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
446
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
447
|
+
static serializeBinaryToWriter(message: GetDigitalInterruptValueResponse, writer: jspb.BinaryWriter): void;
|
|
448
|
+
static deserializeBinary(bytes: Uint8Array): GetDigitalInterruptValueResponse;
|
|
449
|
+
static deserializeBinaryFromReader(message: GetDigitalInterruptValueResponse, reader: jspb.BinaryReader): GetDigitalInterruptValueResponse;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export namespace GetDigitalInterruptValueResponse {
|
|
453
|
+
export type AsObject = {
|
|
454
|
+
value: number,
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export class SetPowerModeRequest extends jspb.Message {
|
|
459
|
+
getName(): string;
|
|
460
|
+
setName(value: string): void;
|
|
461
|
+
|
|
462
|
+
getPowerMode(): PowerModeMap[keyof PowerModeMap];
|
|
463
|
+
setPowerMode(value: PowerModeMap[keyof PowerModeMap]): void;
|
|
464
|
+
|
|
465
|
+
hasDuration(): boolean;
|
|
466
|
+
clearDuration(): void;
|
|
467
|
+
getDuration(): google_protobuf_duration_pb.Duration | undefined;
|
|
468
|
+
setDuration(value?: google_protobuf_duration_pb.Duration): void;
|
|
469
|
+
|
|
470
|
+
hasExtra(): boolean;
|
|
471
|
+
clearExtra(): void;
|
|
472
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
473
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
474
|
+
|
|
475
|
+
serializeBinary(): Uint8Array;
|
|
476
|
+
toObject(includeInstance?: boolean): SetPowerModeRequest.AsObject;
|
|
477
|
+
static toObject(includeInstance: boolean, msg: SetPowerModeRequest): SetPowerModeRequest.AsObject;
|
|
478
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
479
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
480
|
+
static serializeBinaryToWriter(message: SetPowerModeRequest, writer: jspb.BinaryWriter): void;
|
|
481
|
+
static deserializeBinary(bytes: Uint8Array): SetPowerModeRequest;
|
|
482
|
+
static deserializeBinaryFromReader(message: SetPowerModeRequest, reader: jspb.BinaryReader): SetPowerModeRequest;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export namespace SetPowerModeRequest {
|
|
486
|
+
export type AsObject = {
|
|
487
|
+
name: string,
|
|
488
|
+
powerMode: PowerModeMap[keyof PowerModeMap],
|
|
489
|
+
duration?: google_protobuf_duration_pb.Duration.AsObject,
|
|
490
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export class SetPowerModeResponse extends jspb.Message {
|
|
495
|
+
serializeBinary(): Uint8Array;
|
|
496
|
+
toObject(includeInstance?: boolean): SetPowerModeResponse.AsObject;
|
|
497
|
+
static toObject(includeInstance: boolean, msg: SetPowerModeResponse): SetPowerModeResponse.AsObject;
|
|
498
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
499
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
500
|
+
static serializeBinaryToWriter(message: SetPowerModeResponse, writer: jspb.BinaryWriter): void;
|
|
501
|
+
static deserializeBinary(bytes: Uint8Array): SetPowerModeResponse;
|
|
502
|
+
static deserializeBinaryFromReader(message: SetPowerModeResponse, reader: jspb.BinaryReader): SetPowerModeResponse;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export namespace SetPowerModeResponse {
|
|
506
|
+
export type AsObject = {
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export interface PowerModeMap {
|
|
511
|
+
POWER_MODE_UNSPECIFIED: 0;
|
|
512
|
+
POWER_MODE_NORMAL: 1;
|
|
513
|
+
POWER_MODE_OFFLINE_DEEP: 2;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export const PowerMode: PowerModeMap;
|
|
517
|
+
|