Skip to content

Commit 5798c76

Browse files
authored
Merge branch 'main' into data-4145
2 parents eae953c + 89e3c8a commit 5798c76

File tree

9 files changed

+3884
-3113
lines changed

9 files changed

+3884
-3113
lines changed

app/v1/app.pb.go

Lines changed: 3236 additions & 3113 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/v1/app.pb.gw.go

Lines changed: 77 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/v1/app_grpc.pb.go

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/js/app/v1/app_grpc_web_pb.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3260,6 +3260,67 @@ proto.viam.app.v1.AppServicePromiseClient.prototype.getRobotPart =
32603260
};
32613261

32623262

3263+
/**
3264+
* @const
3265+
* @type {!grpc.web.MethodDescriptor<
3266+
* !proto.viam.app.v1.GetRobotPartByNameAndLocationRequest,
3267+
* !proto.viam.app.v1.GetRobotPartByNameAndLocationResponse>}
3268+
*/
3269+
const methodDescriptor_AppService_GetRobotPartByNameAndLocation = new grpc.web.MethodDescriptor(
3270+
'/viam.app.v1.AppService/GetRobotPartByNameAndLocation',
3271+
grpc.web.MethodType.UNARY,
3272+
proto.viam.app.v1.GetRobotPartByNameAndLocationRequest,
3273+
proto.viam.app.v1.GetRobotPartByNameAndLocationResponse,
3274+
/**
3275+
* @param {!proto.viam.app.v1.GetRobotPartByNameAndLocationRequest} request
3276+
* @return {!Uint8Array}
3277+
*/
3278+
function(request) {
3279+
return request.serializeBinary();
3280+
},
3281+
proto.viam.app.v1.GetRobotPartByNameAndLocationResponse.deserializeBinary
3282+
);
3283+
3284+
3285+
/**
3286+
* @param {!proto.viam.app.v1.GetRobotPartByNameAndLocationRequest} request The
3287+
* request proto
3288+
* @param {?Object<string, string>} metadata User defined
3289+
* call metadata
3290+
* @param {function(?grpc.web.RpcError, ?proto.viam.app.v1.GetRobotPartByNameAndLocationResponse)}
3291+
* callback The callback function(error, response)
3292+
* @return {!grpc.web.ClientReadableStream<!proto.viam.app.v1.GetRobotPartByNameAndLocationResponse>|undefined}
3293+
* The XHR Node Readable Stream
3294+
*/
3295+
proto.viam.app.v1.AppServiceClient.prototype.getRobotPartByNameAndLocation =
3296+
function(request, metadata, callback) {
3297+
return this.client_.rpcCall(this.hostname_ +
3298+
'/viam.app.v1.AppService/GetRobotPartByNameAndLocation',
3299+
request,
3300+
metadata || {},
3301+
methodDescriptor_AppService_GetRobotPartByNameAndLocation,
3302+
callback);
3303+
};
3304+
3305+
3306+
/**
3307+
* @param {!proto.viam.app.v1.GetRobotPartByNameAndLocationRequest} request The
3308+
* request proto
3309+
* @param {?Object<string, string>=} metadata User defined
3310+
* call metadata
3311+
* @return {!Promise<!proto.viam.app.v1.GetRobotPartByNameAndLocationResponse>}
3312+
* Promise that resolves to the response
3313+
*/
3314+
proto.viam.app.v1.AppServicePromiseClient.prototype.getRobotPartByNameAndLocation =
3315+
function(request, metadata) {
3316+
return this.client_.unaryCall(this.hostname_ +
3317+
'/viam.app.v1.AppService/GetRobotPartByNameAndLocation',
3318+
request,
3319+
metadata || {},
3320+
methodDescriptor_AppService_GetRobotPartByNameAndLocation);
3321+
};
3322+
3323+
32633324
/**
32643325
* @const
32653326
* @type {!grpc.web.MethodDescriptor<

gen/js/app/v1/app_pb.d.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2283,6 +2283,52 @@ export namespace GetRobotPartResponse {
22832283
}
22842284
}
22852285

2286+
export class GetRobotPartByNameAndLocationRequest extends jspb.Message {
2287+
getName(): string;
2288+
setName(value: string): void;
2289+
2290+
getLocationId(): string;
2291+
setLocationId(value: string): void;
2292+
2293+
serializeBinary(): Uint8Array;
2294+
toObject(includeInstance?: boolean): GetRobotPartByNameAndLocationRequest.AsObject;
2295+
static toObject(includeInstance: boolean, msg: GetRobotPartByNameAndLocationRequest): GetRobotPartByNameAndLocationRequest.AsObject;
2296+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
2297+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2298+
static serializeBinaryToWriter(message: GetRobotPartByNameAndLocationRequest, writer: jspb.BinaryWriter): void;
2299+
static deserializeBinary(bytes: Uint8Array): GetRobotPartByNameAndLocationRequest;
2300+
static deserializeBinaryFromReader(message: GetRobotPartByNameAndLocationRequest, reader: jspb.BinaryReader): GetRobotPartByNameAndLocationRequest;
2301+
}
2302+
2303+
export namespace GetRobotPartByNameAndLocationRequest {
2304+
export type AsObject = {
2305+
name: string,
2306+
locationId: string,
2307+
}
2308+
}
2309+
2310+
export class GetRobotPartByNameAndLocationResponse extends jspb.Message {
2311+
hasPart(): boolean;
2312+
clearPart(): void;
2313+
getPart(): RobotPart | undefined;
2314+
setPart(value?: RobotPart): void;
2315+
2316+
serializeBinary(): Uint8Array;
2317+
toObject(includeInstance?: boolean): GetRobotPartByNameAndLocationResponse.AsObject;
2318+
static toObject(includeInstance: boolean, msg: GetRobotPartByNameAndLocationResponse): GetRobotPartByNameAndLocationResponse.AsObject;
2319+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
2320+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2321+
static serializeBinaryToWriter(message: GetRobotPartByNameAndLocationResponse, writer: jspb.BinaryWriter): void;
2322+
static deserializeBinary(bytes: Uint8Array): GetRobotPartByNameAndLocationResponse;
2323+
static deserializeBinaryFromReader(message: GetRobotPartByNameAndLocationResponse, reader: jspb.BinaryReader): GetRobotPartByNameAndLocationResponse;
2324+
}
2325+
2326+
export namespace GetRobotPartByNameAndLocationResponse {
2327+
export type AsObject = {
2328+
part?: RobotPart.AsObject,
2329+
}
2330+
}
2331+
22862332
export class GetRobotPartLogsRequest extends jspb.Message {
22872333
getId(): string;
22882334
setId(value: string): void;

0 commit comments

Comments
 (0)