@ondewo/csi-client-angular
Version:
ONDEWO Conversation System Integration (CSI) Client library for Angular
72 lines (71 loc) • 3.04 kB
TypeScript
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
/**
* Message implementation for ondewo.nlu.GetUserProjectCountRequest
*/
export declare class GetUserProjectCountRequest implements GrpcMessage {
static id: string;
/**
* Deserialize binary data to message
* @param instance message instance
*/
static deserializeBinary(bytes: ByteSource): GetUserProjectCountRequest;
/**
* Check all the properties and set default protobuf values if necessary
* @param _instance message instance
*/
static refineValues(_instance: GetUserProjectCountRequest): void;
/**
* Deserializes / reads binary message into message instance using provided binary reader
* @param _instance message instance
* @param _reader binary reader instance
*/
static deserializeBinaryFromReader(_instance: GetUserProjectCountRequest, _reader: BinaryReader): void;
/**
* Serializes a message to binary format using provided binary reader
* @param _instance message instance
* @param _writer binary writer instance
*/
static serializeBinaryToWriter(_instance: GetUserProjectCountRequest, _writer: BinaryWriter): void;
private _userId;
/**
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
* @param _value initial values object or instance of GetUserProjectCountRequest to deeply clone from
*/
constructor(_value?: RecursivePartial<GetUserProjectCountRequest.AsObject>);
get userId(): string;
set userId(value: string);
/**
* Serialize message to binary data
* @param instance message instance
*/
serializeBinary(): any;
/**
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
*/
toObject(): GetUserProjectCountRequest.AsObject;
/**
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
*/
toJSON(): GetUserProjectCountRequest.AsObject;
/**
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
*/
toProtobufJSON(options?: ToProtobufJSONOptions): GetUserProjectCountRequest.AsProtobufJSON;
}
export declare namespace GetUserProjectCountRequest {
/**
* Standard JavaScript object representation for GetUserProjectCountRequest
*/
interface AsObject {
userId: string;
}
/**
* Protobuf JSON representation for GetUserProjectCountRequest
*/
interface AsProtobufJSON {
userId: string;
}
}