@viamrobotics/sdk 0.8.2 → 0.9.0-rc.0
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/gen/app/build/v1/build_pb.d.ts +221 -0
- package/dist/gen/app/build/v1/build_pb_service.d.ts +93 -0
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +0 -50
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -19
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +0 -7
- package/dist/gen/app/v1/app_pb.d.ts +355 -0
- package/dist/gen/app/v1/app_pb_service.d.ts +57 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +6 -0
- package/dist/gen/google/api/client_pb.d.ts +6 -0
- package/dist/gen/google/bytestream/bytestream_pb.d.ts +0 -2
- package/dist/gen/service/motion/v1/motion_pb.d.ts +72 -84
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +16 -16
- package/dist/main.d.ts +3 -2
- package/dist/main.es.js +265 -264
- package/dist/main.umd.js +2 -2
- package/dist/services/motion/client.d.ts +5 -1
- package/dist/services/motion/motion.d.ts +47 -4
- package/dist/services/motion/types.d.ts +6 -0
- package/dist/services/motion.d.ts +1 -1
- package/dist/services/navigation/client.d.ts +1 -0
- package/dist/services/navigation/navigation.d.ts +3 -1
- package/dist/services/navigation/types.d.ts +1 -0
- package/dist/services/navigation.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
// package: viam.app.build.v1
|
|
2
|
+
// file: app/build/v1/build.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
|
+
|
|
7
|
+
export class StartBuildRequest extends jspb.Message {
|
|
8
|
+
getRepo(): string;
|
|
9
|
+
setRepo(value: string): void;
|
|
10
|
+
|
|
11
|
+
hasRef(): boolean;
|
|
12
|
+
clearRef(): void;
|
|
13
|
+
getRef(): string;
|
|
14
|
+
setRef(value: string): void;
|
|
15
|
+
|
|
16
|
+
clearPlatformsList(): void;
|
|
17
|
+
getPlatformsList(): Array<string>;
|
|
18
|
+
setPlatformsList(value: Array<string>): void;
|
|
19
|
+
addPlatforms(value: string, index?: number): string;
|
|
20
|
+
|
|
21
|
+
getModuleId(): string;
|
|
22
|
+
setModuleId(value: string): void;
|
|
23
|
+
|
|
24
|
+
getModuleVersion(): string;
|
|
25
|
+
setModuleVersion(value: string): void;
|
|
26
|
+
|
|
27
|
+
serializeBinary(): Uint8Array;
|
|
28
|
+
toObject(includeInstance?: boolean): StartBuildRequest.AsObject;
|
|
29
|
+
static toObject(includeInstance: boolean, msg: StartBuildRequest): StartBuildRequest.AsObject;
|
|
30
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
31
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
32
|
+
static serializeBinaryToWriter(message: StartBuildRequest, writer: jspb.BinaryWriter): void;
|
|
33
|
+
static deserializeBinary(bytes: Uint8Array): StartBuildRequest;
|
|
34
|
+
static deserializeBinaryFromReader(message: StartBuildRequest, reader: jspb.BinaryReader): StartBuildRequest;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export namespace StartBuildRequest {
|
|
38
|
+
export type AsObject = {
|
|
39
|
+
repo: string,
|
|
40
|
+
ref: string,
|
|
41
|
+
platformsList: Array<string>,
|
|
42
|
+
moduleId: string,
|
|
43
|
+
moduleVersion: string,
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export class StartBuildResponse extends jspb.Message {
|
|
48
|
+
getBuildId(): string;
|
|
49
|
+
setBuildId(value: string): void;
|
|
50
|
+
|
|
51
|
+
serializeBinary(): Uint8Array;
|
|
52
|
+
toObject(includeInstance?: boolean): StartBuildResponse.AsObject;
|
|
53
|
+
static toObject(includeInstance: boolean, msg: StartBuildResponse): StartBuildResponse.AsObject;
|
|
54
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
55
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
56
|
+
static serializeBinaryToWriter(message: StartBuildResponse, writer: jspb.BinaryWriter): void;
|
|
57
|
+
static deserializeBinary(bytes: Uint8Array): StartBuildResponse;
|
|
58
|
+
static deserializeBinaryFromReader(message: StartBuildResponse, reader: jspb.BinaryReader): StartBuildResponse;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export namespace StartBuildResponse {
|
|
62
|
+
export type AsObject = {
|
|
63
|
+
buildId: string,
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class GetLogsRequest extends jspb.Message {
|
|
68
|
+
getBuildId(): string;
|
|
69
|
+
setBuildId(value: string): void;
|
|
70
|
+
|
|
71
|
+
getPlatform(): string;
|
|
72
|
+
setPlatform(value: string): void;
|
|
73
|
+
|
|
74
|
+
serializeBinary(): Uint8Array;
|
|
75
|
+
toObject(includeInstance?: boolean): GetLogsRequest.AsObject;
|
|
76
|
+
static toObject(includeInstance: boolean, msg: GetLogsRequest): GetLogsRequest.AsObject;
|
|
77
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
78
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
79
|
+
static serializeBinaryToWriter(message: GetLogsRequest, writer: jspb.BinaryWriter): void;
|
|
80
|
+
static deserializeBinary(bytes: Uint8Array): GetLogsRequest;
|
|
81
|
+
static deserializeBinaryFromReader(message: GetLogsRequest, reader: jspb.BinaryReader): GetLogsRequest;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export namespace GetLogsRequest {
|
|
85
|
+
export type AsObject = {
|
|
86
|
+
buildId: string,
|
|
87
|
+
platform: string,
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export class GetLogsResponse extends jspb.Message {
|
|
92
|
+
getBuildStep(): string;
|
|
93
|
+
setBuildStep(value: string): void;
|
|
94
|
+
|
|
95
|
+
getData(): string;
|
|
96
|
+
setData(value: string): void;
|
|
97
|
+
|
|
98
|
+
serializeBinary(): Uint8Array;
|
|
99
|
+
toObject(includeInstance?: boolean): GetLogsResponse.AsObject;
|
|
100
|
+
static toObject(includeInstance: boolean, msg: GetLogsResponse): GetLogsResponse.AsObject;
|
|
101
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
102
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
103
|
+
static serializeBinaryToWriter(message: GetLogsResponse, writer: jspb.BinaryWriter): void;
|
|
104
|
+
static deserializeBinary(bytes: Uint8Array): GetLogsResponse;
|
|
105
|
+
static deserializeBinaryFromReader(message: GetLogsResponse, reader: jspb.BinaryReader): GetLogsResponse;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export namespace GetLogsResponse {
|
|
109
|
+
export type AsObject = {
|
|
110
|
+
buildStep: string,
|
|
111
|
+
data: string,
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export class JobInfo extends jspb.Message {
|
|
116
|
+
getBuildId(): string;
|
|
117
|
+
setBuildId(value: string): void;
|
|
118
|
+
|
|
119
|
+
getPlatform(): string;
|
|
120
|
+
setPlatform(value: string): void;
|
|
121
|
+
|
|
122
|
+
getVersion(): string;
|
|
123
|
+
setVersion(value: string): void;
|
|
124
|
+
|
|
125
|
+
getStatus(): JobStatusMap[keyof JobStatusMap];
|
|
126
|
+
setStatus(value: JobStatusMap[keyof JobStatusMap]): void;
|
|
127
|
+
|
|
128
|
+
hasStartTime(): boolean;
|
|
129
|
+
clearStartTime(): void;
|
|
130
|
+
getStartTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
131
|
+
setStartTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
132
|
+
|
|
133
|
+
hasEndTime(): boolean;
|
|
134
|
+
clearEndTime(): void;
|
|
135
|
+
getEndTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
136
|
+
setEndTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
137
|
+
|
|
138
|
+
serializeBinary(): Uint8Array;
|
|
139
|
+
toObject(includeInstance?: boolean): JobInfo.AsObject;
|
|
140
|
+
static toObject(includeInstance: boolean, msg: JobInfo): JobInfo.AsObject;
|
|
141
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
142
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
143
|
+
static serializeBinaryToWriter(message: JobInfo, writer: jspb.BinaryWriter): void;
|
|
144
|
+
static deserializeBinary(bytes: Uint8Array): JobInfo;
|
|
145
|
+
static deserializeBinaryFromReader(message: JobInfo, reader: jspb.BinaryReader): JobInfo;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export namespace JobInfo {
|
|
149
|
+
export type AsObject = {
|
|
150
|
+
buildId: string,
|
|
151
|
+
platform: string,
|
|
152
|
+
version: string,
|
|
153
|
+
status: JobStatusMap[keyof JobStatusMap],
|
|
154
|
+
startTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
155
|
+
endTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export class ListJobsRequest extends jspb.Message {
|
|
160
|
+
getModuleId(): string;
|
|
161
|
+
setModuleId(value: string): void;
|
|
162
|
+
|
|
163
|
+
hasMaxJobsLength(): boolean;
|
|
164
|
+
clearMaxJobsLength(): void;
|
|
165
|
+
getMaxJobsLength(): number;
|
|
166
|
+
setMaxJobsLength(value: number): void;
|
|
167
|
+
|
|
168
|
+
hasBuildId(): boolean;
|
|
169
|
+
clearBuildId(): void;
|
|
170
|
+
getBuildId(): string;
|
|
171
|
+
setBuildId(value: string): void;
|
|
172
|
+
|
|
173
|
+
serializeBinary(): Uint8Array;
|
|
174
|
+
toObject(includeInstance?: boolean): ListJobsRequest.AsObject;
|
|
175
|
+
static toObject(includeInstance: boolean, msg: ListJobsRequest): ListJobsRequest.AsObject;
|
|
176
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
177
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
178
|
+
static serializeBinaryToWriter(message: ListJobsRequest, writer: jspb.BinaryWriter): void;
|
|
179
|
+
static deserializeBinary(bytes: Uint8Array): ListJobsRequest;
|
|
180
|
+
static deserializeBinaryFromReader(message: ListJobsRequest, reader: jspb.BinaryReader): ListJobsRequest;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export namespace ListJobsRequest {
|
|
184
|
+
export type AsObject = {
|
|
185
|
+
moduleId: string,
|
|
186
|
+
maxJobsLength: number,
|
|
187
|
+
buildId: string,
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export class ListJobsResponse extends jspb.Message {
|
|
192
|
+
clearJobsList(): void;
|
|
193
|
+
getJobsList(): Array<JobInfo>;
|
|
194
|
+
setJobsList(value: Array<JobInfo>): void;
|
|
195
|
+
addJobs(value?: JobInfo, index?: number): JobInfo;
|
|
196
|
+
|
|
197
|
+
serializeBinary(): Uint8Array;
|
|
198
|
+
toObject(includeInstance?: boolean): ListJobsResponse.AsObject;
|
|
199
|
+
static toObject(includeInstance: boolean, msg: ListJobsResponse): ListJobsResponse.AsObject;
|
|
200
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
201
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
202
|
+
static serializeBinaryToWriter(message: ListJobsResponse, writer: jspb.BinaryWriter): void;
|
|
203
|
+
static deserializeBinary(bytes: Uint8Array): ListJobsResponse;
|
|
204
|
+
static deserializeBinaryFromReader(message: ListJobsResponse, reader: jspb.BinaryReader): ListJobsResponse;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export namespace ListJobsResponse {
|
|
208
|
+
export type AsObject = {
|
|
209
|
+
jobsList: Array<JobInfo.AsObject>,
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface JobStatusMap {
|
|
214
|
+
JOB_STATUS_UNSPECIFIED: 0;
|
|
215
|
+
JOB_STATUS_IN_PROGRESS: 1;
|
|
216
|
+
JOB_STATUS_FAILED: 2;
|
|
217
|
+
JOB_STATUS_DONE: 3;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export const JobStatus: JobStatusMap;
|
|
221
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// package: viam.app.build.v1
|
|
2
|
+
// file: app/build/v1/build.proto
|
|
3
|
+
|
|
4
|
+
import * as app_build_v1_build_pb from "../../../app/build/v1/build_pb";
|
|
5
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
6
|
+
|
|
7
|
+
type BuildServiceStartBuild = {
|
|
8
|
+
readonly methodName: string;
|
|
9
|
+
readonly service: typeof BuildService;
|
|
10
|
+
readonly requestStream: false;
|
|
11
|
+
readonly responseStream: false;
|
|
12
|
+
readonly requestType: typeof app_build_v1_build_pb.StartBuildRequest;
|
|
13
|
+
readonly responseType: typeof app_build_v1_build_pb.StartBuildResponse;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
type BuildServiceGetLogs = {
|
|
17
|
+
readonly methodName: string;
|
|
18
|
+
readonly service: typeof BuildService;
|
|
19
|
+
readonly requestStream: false;
|
|
20
|
+
readonly responseStream: true;
|
|
21
|
+
readonly requestType: typeof app_build_v1_build_pb.GetLogsRequest;
|
|
22
|
+
readonly responseType: typeof app_build_v1_build_pb.GetLogsResponse;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
type BuildServiceListJobs = {
|
|
26
|
+
readonly methodName: string;
|
|
27
|
+
readonly service: typeof BuildService;
|
|
28
|
+
readonly requestStream: false;
|
|
29
|
+
readonly responseStream: false;
|
|
30
|
+
readonly requestType: typeof app_build_v1_build_pb.ListJobsRequest;
|
|
31
|
+
readonly responseType: typeof app_build_v1_build_pb.ListJobsResponse;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export class BuildService {
|
|
35
|
+
static readonly serviceName: string;
|
|
36
|
+
static readonly StartBuild: BuildServiceStartBuild;
|
|
37
|
+
static readonly GetLogs: BuildServiceGetLogs;
|
|
38
|
+
static readonly ListJobs: BuildServiceListJobs;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
42
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
43
|
+
|
|
44
|
+
interface UnaryResponse {
|
|
45
|
+
cancel(): void;
|
|
46
|
+
}
|
|
47
|
+
interface ResponseStream<T> {
|
|
48
|
+
cancel(): void;
|
|
49
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
50
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
51
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
52
|
+
}
|
|
53
|
+
interface RequestStream<T> {
|
|
54
|
+
write(message: T): RequestStream<T>;
|
|
55
|
+
end(): void;
|
|
56
|
+
cancel(): void;
|
|
57
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
58
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
59
|
+
}
|
|
60
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
61
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
62
|
+
end(): void;
|
|
63
|
+
cancel(): void;
|
|
64
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
65
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
66
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export class BuildServiceClient {
|
|
70
|
+
readonly serviceHost: string;
|
|
71
|
+
|
|
72
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
73
|
+
startBuild(
|
|
74
|
+
requestMessage: app_build_v1_build_pb.StartBuildRequest,
|
|
75
|
+
metadata: grpc.Metadata,
|
|
76
|
+
callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.StartBuildResponse|null) => void
|
|
77
|
+
): UnaryResponse;
|
|
78
|
+
startBuild(
|
|
79
|
+
requestMessage: app_build_v1_build_pb.StartBuildRequest,
|
|
80
|
+
callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.StartBuildResponse|null) => void
|
|
81
|
+
): UnaryResponse;
|
|
82
|
+
getLogs(requestMessage: app_build_v1_build_pb.GetLogsRequest, metadata?: grpc.Metadata): ResponseStream<app_build_v1_build_pb.GetLogsResponse>;
|
|
83
|
+
listJobs(
|
|
84
|
+
requestMessage: app_build_v1_build_pb.ListJobsRequest,
|
|
85
|
+
metadata: grpc.Metadata,
|
|
86
|
+
callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.ListJobsResponse|null) => void
|
|
87
|
+
): UnaryResponse;
|
|
88
|
+
listJobs(
|
|
89
|
+
requestMessage: app_build_v1_build_pb.ListJobsRequest,
|
|
90
|
+
callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.ListJobsResponse|null) => void
|
|
91
|
+
): UnaryResponse;
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -362,56 +362,6 @@ export namespace GetMappingSessionMetadataByIDResponse {
|
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
export class UpdateMappingSessionMetadataByIDRequest extends jspb.Message {
|
|
366
|
-
getSessionId(): string;
|
|
367
|
-
setSessionId(value: string): void;
|
|
368
|
-
|
|
369
|
-
getEndStatus(): EndStatusMap[keyof EndStatusMap];
|
|
370
|
-
setEndStatus(value: EndStatusMap[keyof EndStatusMap]): void;
|
|
371
|
-
|
|
372
|
-
hasTimeCloudRunJobEnded(): boolean;
|
|
373
|
-
clearTimeCloudRunJobEnded(): void;
|
|
374
|
-
getTimeCloudRunJobEnded(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
375
|
-
setTimeCloudRunJobEnded(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
376
|
-
|
|
377
|
-
getErrorMsg(): string;
|
|
378
|
-
setErrorMsg(value: string): void;
|
|
379
|
-
|
|
380
|
-
serializeBinary(): Uint8Array;
|
|
381
|
-
toObject(includeInstance?: boolean): UpdateMappingSessionMetadataByIDRequest.AsObject;
|
|
382
|
-
static toObject(includeInstance: boolean, msg: UpdateMappingSessionMetadataByIDRequest): UpdateMappingSessionMetadataByIDRequest.AsObject;
|
|
383
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
384
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
385
|
-
static serializeBinaryToWriter(message: UpdateMappingSessionMetadataByIDRequest, writer: jspb.BinaryWriter): void;
|
|
386
|
-
static deserializeBinary(bytes: Uint8Array): UpdateMappingSessionMetadataByIDRequest;
|
|
387
|
-
static deserializeBinaryFromReader(message: UpdateMappingSessionMetadataByIDRequest, reader: jspb.BinaryReader): UpdateMappingSessionMetadataByIDRequest;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
export namespace UpdateMappingSessionMetadataByIDRequest {
|
|
391
|
-
export type AsObject = {
|
|
392
|
-
sessionId: string,
|
|
393
|
-
endStatus: EndStatusMap[keyof EndStatusMap],
|
|
394
|
-
timeCloudRunJobEnded?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
395
|
-
errorMsg: string,
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
export class UpdateMappingSessionMetadataByIDResponse extends jspb.Message {
|
|
400
|
-
serializeBinary(): Uint8Array;
|
|
401
|
-
toObject(includeInstance?: boolean): UpdateMappingSessionMetadataByIDResponse.AsObject;
|
|
402
|
-
static toObject(includeInstance: boolean, msg: UpdateMappingSessionMetadataByIDResponse): UpdateMappingSessionMetadataByIDResponse.AsObject;
|
|
403
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
404
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
405
|
-
static serializeBinaryToWriter(message: UpdateMappingSessionMetadataByIDResponse, writer: jspb.BinaryWriter): void;
|
|
406
|
-
static deserializeBinary(bytes: Uint8Array): UpdateMappingSessionMetadataByIDResponse;
|
|
407
|
-
static deserializeBinaryFromReader(message: UpdateMappingSessionMetadataByIDResponse, reader: jspb.BinaryReader): UpdateMappingSessionMetadataByIDResponse;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
export namespace UpdateMappingSessionMetadataByIDResponse {
|
|
411
|
-
export type AsObject = {
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
365
|
export class MappingMetadata extends jspb.Message {
|
|
416
366
|
getOrgId(): string;
|
|
417
367
|
setOrgId(value: string): void;
|
|
@@ -58,15 +58,6 @@ type CloudSLAMServiceGetMappingSessionMetadataByID = {
|
|
|
58
58
|
readonly responseType: typeof app_cloudslam_v1_cloud_slam_pb.GetMappingSessionMetadataByIDResponse;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
type CloudSLAMServiceUpdateMappingSessionMetadataByID = {
|
|
62
|
-
readonly methodName: string;
|
|
63
|
-
readonly service: typeof CloudSLAMService;
|
|
64
|
-
readonly requestStream: false;
|
|
65
|
-
readonly responseStream: false;
|
|
66
|
-
readonly requestType: typeof app_cloudslam_v1_cloud_slam_pb.UpdateMappingSessionMetadataByIDRequest;
|
|
67
|
-
readonly responseType: typeof app_cloudslam_v1_cloud_slam_pb.UpdateMappingSessionMetadataByIDResponse;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
61
|
export class CloudSLAMService {
|
|
71
62
|
static readonly serviceName: string;
|
|
72
63
|
static readonly StartMappingSession: CloudSLAMServiceStartMappingSession;
|
|
@@ -75,7 +66,6 @@ export class CloudSLAMService {
|
|
|
75
66
|
static readonly ListMappingSessions: CloudSLAMServiceListMappingSessions;
|
|
76
67
|
static readonly StopMappingSession: CloudSLAMServiceStopMappingSession;
|
|
77
68
|
static readonly GetMappingSessionMetadataByID: CloudSLAMServiceGetMappingSessionMetadataByID;
|
|
78
|
-
static readonly UpdateMappingSessionMetadataByID: CloudSLAMServiceUpdateMappingSessionMetadataByID;
|
|
79
69
|
}
|
|
80
70
|
|
|
81
71
|
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
@@ -164,14 +154,5 @@ export class CloudSLAMServiceClient {
|
|
|
164
154
|
requestMessage: app_cloudslam_v1_cloud_slam_pb.GetMappingSessionMetadataByIDRequest,
|
|
165
155
|
callback: (error: ServiceError|null, responseMessage: app_cloudslam_v1_cloud_slam_pb.GetMappingSessionMetadataByIDResponse|null) => void
|
|
166
156
|
): UnaryResponse;
|
|
167
|
-
updateMappingSessionMetadataByID(
|
|
168
|
-
requestMessage: app_cloudslam_v1_cloud_slam_pb.UpdateMappingSessionMetadataByIDRequest,
|
|
169
|
-
metadata: grpc.Metadata,
|
|
170
|
-
callback: (error: ServiceError|null, responseMessage: app_cloudslam_v1_cloud_slam_pb.UpdateMappingSessionMetadataByIDResponse|null) => void
|
|
171
|
-
): UnaryResponse;
|
|
172
|
-
updateMappingSessionMetadataByID(
|
|
173
|
-
requestMessage: app_cloudslam_v1_cloud_slam_pb.UpdateMappingSessionMetadataByIDRequest,
|
|
174
|
-
callback: (error: ServiceError|null, responseMessage: app_cloudslam_v1_cloud_slam_pb.UpdateMappingSessionMetadataByIDResponse|null) => void
|
|
175
|
-
): UnaryResponse;
|
|
176
157
|
}
|
|
177
158
|
|
|
@@ -2,17 +2,11 @@
|
|
|
2
2
|
// file: app/mltraining/v1/ml_training.proto
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
|
-
import * as app_data_v1_data_pb from "../../../app/data/v1/data_pb";
|
|
6
5
|
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
7
6
|
import * as google_rpc_status_pb from "../../../google/rpc/status_pb";
|
|
8
7
|
import * as tagger_v1_tagger_pb from "../../../tagger/v1/tagger_pb";
|
|
9
8
|
|
|
10
9
|
export class SubmitTrainingJobRequest extends jspb.Message {
|
|
11
|
-
hasFilter(): boolean;
|
|
12
|
-
clearFilter(): void;
|
|
13
|
-
getFilter(): app_data_v1_data_pb.Filter | undefined;
|
|
14
|
-
setFilter(value?: app_data_v1_data_pb.Filter): void;
|
|
15
|
-
|
|
16
10
|
getDatasetId(): string;
|
|
17
11
|
setDatasetId(value: string): void;
|
|
18
12
|
|
|
@@ -45,7 +39,6 @@ export class SubmitTrainingJobRequest extends jspb.Message {
|
|
|
45
39
|
|
|
46
40
|
export namespace SubmitTrainingJobRequest {
|
|
47
41
|
export type AsObject = {
|
|
48
|
-
filter?: app_data_v1_data_pb.Filter.AsObject,
|
|
49
42
|
datasetId: string,
|
|
50
43
|
organizationId: string,
|
|
51
44
|
modelName: string,
|