You've already forked npm-viz-sdk
87 lines
2.9 KiB
TypeScript
87 lines
2.9 KiB
TypeScript
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
// @generated from file viz-tab.proto (package vizapi, syntax proto3)
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
|
/**
|
|
* @generated from message vizapi.ListTabRequest
|
|
*/
|
|
export class ListTabRequest extends Message<ListTabRequest> {
|
|
/**
|
|
* Identifier of the Tab
|
|
*
|
|
* @generated from field: string TabID = 1;
|
|
*/
|
|
TabID = "";
|
|
|
|
constructor(data?: PartialMessage<ListTabRequest>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "vizapi.ListTabRequest";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "TabID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTabRequest {
|
|
return new ListTabRequest().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTabRequest {
|
|
return new ListTabRequest().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTabRequest {
|
|
return new ListTabRequest().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: ListTabRequest | PlainMessage<ListTabRequest> | undefined, b: ListTabRequest | PlainMessage<ListTabRequest> | undefined): boolean {
|
|
return proto3.util.equals(ListTabRequest, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message vizapi.ListTabResult
|
|
*/
|
|
export class ListTabResult extends Message<ListTabResult> {
|
|
/**
|
|
* List of tabs
|
|
*
|
|
* @generated from field: string Result = 1;
|
|
*/
|
|
Result = "";
|
|
|
|
constructor(data?: PartialMessage<ListTabResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "vizapi.ListTabResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "Result", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTabResult {
|
|
return new ListTabResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTabResult {
|
|
return new ListTabResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTabResult {
|
|
return new ListTabResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: ListTabResult | PlainMessage<ListTabResult> | undefined, b: ListTabResult | PlainMessage<ListTabResult> | undefined): boolean {
|
|
return proto3.util.equals(ListTabResult, a, b);
|
|
}
|
|
}
|
|
|