@ondewo/csi-client-typescript
Version:
ONDEWO Conversation System Integration (CSI) Client library for Typescript
34 lines (25 loc) • 1.14 kB
TypeScript
import * as jspb from 'google-protobuf'
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb'; // proto import: "google/protobuf/any.proto"
export class Status extends jspb.Message {
getCode(): number;
setCode(value: number): Status;
getMessage(): string;
setMessage(value: string): Status;
getDetailsList(): Array<google_protobuf_any_pb.Any>;
setDetailsList(value: Array<google_protobuf_any_pb.Any>): Status;
clearDetailsList(): Status;
addDetails(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Status.AsObject;
static toObject(includeInstance: boolean, msg: Status): Status.AsObject;
static serializeBinaryToWriter(message: Status, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Status;
static deserializeBinaryFromReader(message: Status, reader: jspb.BinaryReader): Status;
}
export namespace Status {
export type AsObject = {
code: number,
message: string,
detailsList: Array<google_protobuf_any_pb.Any.AsObject>,
}
}