You've already forked npm-core-sdk
88 lines
2.6 KiB
TypeScript
88 lines
2.6 KiB
TypeScript
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
// @generated from file clickhouseMetrics.proto (package api, syntax proto3)
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
|
|
/**
|
|
* @generated from message api.Metrics
|
|
*/
|
|
export class Metrics extends Message<Metrics> {
|
|
/**
|
|
* @generated from field: int64 CurrentTime = 1;
|
|
*/
|
|
CurrentTime = protoInt64.zero;
|
|
|
|
/**
|
|
* @generated from field: string OrganisationID = 2;
|
|
*/
|
|
OrganisationID = "";
|
|
|
|
/**
|
|
* @generated from field: string ProjectID = 3;
|
|
*/
|
|
ProjectID = "";
|
|
|
|
/**
|
|
* @generated from field: string EntityService = 4;
|
|
*/
|
|
EntityService = "";
|
|
|
|
/**
|
|
* @generated from field: string Method = 5;
|
|
*/
|
|
Method = "";
|
|
|
|
/**
|
|
* @generated from field: string UserID = 6;
|
|
*/
|
|
UserID = "";
|
|
|
|
/**
|
|
* @generated from field: string UserMail = 7;
|
|
*/
|
|
UserMail = "";
|
|
|
|
/**
|
|
* @generated from field: string RefID = 8;
|
|
*/
|
|
RefID = "";
|
|
|
|
constructor(data?: PartialMessage<Metrics>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "api.Metrics";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "CurrentTime", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
{ no: 2, name: "OrganisationID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 3, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 4, name: "EntityService", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 5, name: "Method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 6, name: "UserID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 7, name: "UserMail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 8, name: "RefID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Metrics {
|
|
return new Metrics().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Metrics {
|
|
return new Metrics().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Metrics {
|
|
return new Metrics().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: Metrics | PlainMessage<Metrics> | undefined, b: Metrics | PlainMessage<Metrics> | undefined): boolean {
|
|
return proto3.util.equals(Metrics, a, b);
|
|
}
|
|
}
|
|
|