Skip to content

Commit

Permalink
Merge branch 'main' into app-6858
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhorowitz authored Nov 19, 2024
2 parents c78a3ed + 35afbec commit ea45cff
Show file tree
Hide file tree
Showing 12 changed files with 1,362 additions and 400 deletions.
950 changes: 555 additions & 395 deletions app/data/v1/data.pb.go

Large diffs are not rendered by default.

77 changes: 77 additions & 0 deletions app/data/v1/data.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions app/data/v1/data_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 61 additions & 0 deletions gen/js/app/data/v1/data_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,67 @@ proto.viam.app.data.v1.DataServicePromiseClient.prototype.tabularDataByMQL =
};


/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.viam.app.data.v1.GetLatestTabularDataRequest,
* !proto.viam.app.data.v1.GetLatestTabularDataResponse>}
*/
const methodDescriptor_DataService_GetLatestTabularData = new grpc.web.MethodDescriptor(
'/viam.app.data.v1.DataService/GetLatestTabularData',
grpc.web.MethodType.UNARY,
proto.viam.app.data.v1.GetLatestTabularDataRequest,
proto.viam.app.data.v1.GetLatestTabularDataResponse,
/**
* @param {!proto.viam.app.data.v1.GetLatestTabularDataRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.viam.app.data.v1.GetLatestTabularDataResponse.deserializeBinary
);


/**
* @param {!proto.viam.app.data.v1.GetLatestTabularDataRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.viam.app.data.v1.GetLatestTabularDataResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.viam.app.data.v1.GetLatestTabularDataResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.viam.app.data.v1.DataServiceClient.prototype.getLatestTabularData =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/viam.app.data.v1.DataService/GetLatestTabularData',
request,
metadata || {},
methodDescriptor_DataService_GetLatestTabularData,
callback);
};


/**
* @param {!proto.viam.app.data.v1.GetLatestTabularDataRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.viam.app.data.v1.GetLatestTabularDataResponse>}
* Promise that resolves to the response
*/
proto.viam.app.data.v1.DataServicePromiseClient.prototype.getLatestTabularData =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/viam.app.data.v1.DataService/GetLatestTabularData',
request,
metadata || {},
methodDescriptor_DataService_GetLatestTabularData);
};


/**
* @const
* @type {!grpc.web.MethodDescriptor<
Expand Down
62 changes: 62 additions & 0 deletions gen/js/app/data/v1/data_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,68 @@ export namespace TabularDataByMQLResponse {
}
}

export class GetLatestTabularDataRequest extends jspb.Message {
getPartId(): string;
setPartId(value: string): void;

getResourceName(): string;
setResourceName(value: string): void;

getMethodName(): string;
setMethodName(value: string): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetLatestTabularDataRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetLatestTabularDataRequest): GetLatestTabularDataRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetLatestTabularDataRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetLatestTabularDataRequest;
static deserializeBinaryFromReader(message: GetLatestTabularDataRequest, reader: jspb.BinaryReader): GetLatestTabularDataRequest;
}

export namespace GetLatestTabularDataRequest {
export type AsObject = {
partId: string,
resourceName: string,
methodName: string,
}
}

export class GetLatestTabularDataResponse extends jspb.Message {
hasTimeCaptured(): boolean;
clearTimeCaptured(): void;
getTimeCaptured(): google_protobuf_timestamp_pb.Timestamp | undefined;
setTimeCaptured(value?: google_protobuf_timestamp_pb.Timestamp): void;

hasTimeSynced(): boolean;
clearTimeSynced(): void;
getTimeSynced(): google_protobuf_timestamp_pb.Timestamp | undefined;
setTimeSynced(value?: google_protobuf_timestamp_pb.Timestamp): void;

hasPayload(): boolean;
clearPayload(): void;
getPayload(): google_protobuf_struct_pb.Struct | undefined;
setPayload(value?: google_protobuf_struct_pb.Struct): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetLatestTabularDataResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetLatestTabularDataResponse): GetLatestTabularDataResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetLatestTabularDataResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetLatestTabularDataResponse;
static deserializeBinaryFromReader(message: GetLatestTabularDataResponse, reader: jspb.BinaryReader): GetLatestTabularDataResponse;
}

export namespace GetLatestTabularDataResponse {
export type AsObject = {
timeCaptured?: google_protobuf_timestamp_pb.Timestamp.AsObject,
timeSynced?: google_protobuf_timestamp_pb.Timestamp.AsObject,
payload?: google_protobuf_struct_pb.Struct.AsObject,
}
}

export class BinaryData extends jspb.Message {
getBinary(): Uint8Array | string;
getBinary_asU8(): Uint8Array;
Expand Down
Loading

0 comments on commit ea45cff

Please sign in to comment.