@ondewo/csi-client-typescript
Version:
ONDEWO Conversation System Integration (CSI) Client library for Typescript
1,276 lines (1,042 loc) • 100 kB
TypeScript
import * as jspb from 'google-protobuf'
import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb'; // proto import: "ondewo/nlu/intent.proto"
import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb'; // proto import: "ondewo/nlu/user.proto"
import * as ondewo_nlu_project_role_pb from '../../ondewo/nlu/project_role_pb'; // proto import: "ondewo/nlu/project_role.proto"
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb'; // proto import: "ondewo/nlu/operations.proto"
import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb'; // proto import: "ondewo/nlu/session.proto"
export class Agent extends jspb.Message {
getParent(): string;
setParent(value: string): Agent;
getDisplayName(): string;
setDisplayName(value: string): Agent;
getDefaultLanguageCode(): string;
setDefaultLanguageCode(value: string): Agent;
getSupportedLanguageCodesList(): Array<string>;
setSupportedLanguageCodesList(value: Array<string>): Agent;
clearSupportedLanguageCodesList(): Agent;
addSupportedLanguageCodes(value: string, index?: number): Agent;
getTimeZone(): string;
setTimeZone(value: string): Agent;
getNluPlatform(): string;
setNluPlatform(value: string): Agent;
getConfigs(): google_protobuf_struct_pb.Struct | undefined;
setConfigs(value?: google_protobuf_struct_pb.Struct): Agent;
hasConfigs(): boolean;
clearConfigs(): Agent;
getOwnerId(): string;
setOwnerId(value: string): Agent;
getStatus(): AgentStatus;
setStatus(value: AgentStatus): Agent;
getDescription(): string;
setDescription(value: string): Agent;
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Agent;
hasCreatedAt(): boolean;
clearCreatedAt(): Agent;
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Agent;
hasModifiedAt(): boolean;
clearModifiedAt(): Agent;
getCreatedBy(): string;
setCreatedBy(value: string): Agent;
getModifiedBy(): string;
setModifiedBy(value: string): Agent;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Agent.AsObject;
static toObject(includeInstance: boolean, msg: Agent): Agent.AsObject;
static serializeBinaryToWriter(message: Agent, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Agent;
static deserializeBinaryFromReader(message: Agent, reader: jspb.BinaryReader): Agent;
}
export namespace Agent {
export type AsObject = {
parent: string,
displayName: string,
defaultLanguageCode: string,
supportedLanguageCodesList: Array<string>,
timeZone: string,
nluPlatform: string,
configs?: google_protobuf_struct_pb.Struct.AsObject,
ownerId: string,
status: AgentStatus,
description: string,
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
createdBy: string,
modifiedBy: string,
}
}
export class AgentWithOwner extends jspb.Message {
getAgent(): Agent | undefined;
setAgent(value?: Agent): AgentWithOwner;
hasAgent(): boolean;
clearAgent(): AgentWithOwner;
getOwner(): ondewo_nlu_user_pb.User | undefined;
setOwner(value?: ondewo_nlu_user_pb.User): AgentWithOwner;
hasOwner(): boolean;
clearOwner(): AgentWithOwner;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AgentWithOwner.AsObject;
static toObject(includeInstance: boolean, msg: AgentWithOwner): AgentWithOwner.AsObject;
static serializeBinaryToWriter(message: AgentWithOwner, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AgentWithOwner;
static deserializeBinaryFromReader(message: AgentWithOwner, reader: jspb.BinaryReader): AgentWithOwner;
}
export namespace AgentWithOwner {
export type AsObject = {
agent?: Agent.AsObject,
owner?: ondewo_nlu_user_pb.User.AsObject,
}
}
export class AgentOfUserWithOwner extends jspb.Message {
getAgentWithOwner(): AgentWithOwner | undefined;
setAgentWithOwner(value?: AgentWithOwner): AgentOfUserWithOwner;
hasAgentWithOwner(): boolean;
clearAgentWithOwner(): AgentOfUserWithOwner;
getProjectRole(): ondewo_nlu_project_role_pb.ProjectRole | undefined;
setProjectRole(value?: ondewo_nlu_project_role_pb.ProjectRole): AgentOfUserWithOwner;
hasProjectRole(): boolean;
clearProjectRole(): AgentOfUserWithOwner;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AgentOfUserWithOwner.AsObject;
static toObject(includeInstance: boolean, msg: AgentOfUserWithOwner): AgentOfUserWithOwner.AsObject;
static serializeBinaryToWriter(message: AgentOfUserWithOwner, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AgentOfUserWithOwner;
static deserializeBinaryFromReader(message: AgentOfUserWithOwner, reader: jspb.BinaryReader): AgentOfUserWithOwner;
}
export namespace AgentOfUserWithOwner {
export type AsObject = {
agentWithOwner?: AgentWithOwner.AsObject,
projectRole?: ondewo_nlu_project_role_pb.ProjectRole.AsObject,
}
}
export class CreateAgentRequest extends jspb.Message {
getAgent(): Agent | undefined;
setAgent(value?: Agent): CreateAgentRequest;
hasAgent(): boolean;
clearAgent(): CreateAgentRequest;
getAgentView(): AgentView;
setAgentView(value: AgentView): CreateAgentRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CreateAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: CreateAgentRequest): CreateAgentRequest.AsObject;
static serializeBinaryToWriter(message: CreateAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CreateAgentRequest;
static deserializeBinaryFromReader(message: CreateAgentRequest, reader: jspb.BinaryReader): CreateAgentRequest;
}
export namespace CreateAgentRequest {
export type AsObject = {
agent?: Agent.AsObject,
agentView: AgentView,
}
}
export class UpdateAgentRequest extends jspb.Message {
getAgent(): Agent | undefined;
setAgent(value?: Agent): UpdateAgentRequest;
hasAgent(): boolean;
clearAgent(): UpdateAgentRequest;
getAgentView(): AgentView;
setAgentView(value: AgentView): UpdateAgentRequest;
getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): UpdateAgentRequest;
hasUpdateMask(): boolean;
clearUpdateMask(): UpdateAgentRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UpdateAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: UpdateAgentRequest): UpdateAgentRequest.AsObject;
static serializeBinaryToWriter(message: UpdateAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UpdateAgentRequest;
static deserializeBinaryFromReader(message: UpdateAgentRequest, reader: jspb.BinaryReader): UpdateAgentRequest;
}
export namespace UpdateAgentRequest {
export type AsObject = {
agent?: Agent.AsObject,
agentView: AgentView,
updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
}
}
export class DeleteAgentRequest extends jspb.Message {
getParent(): string;
setParent(value: string): DeleteAgentRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DeleteAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: DeleteAgentRequest): DeleteAgentRequest.AsObject;
static serializeBinaryToWriter(message: DeleteAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DeleteAgentRequest;
static deserializeBinaryFromReader(message: DeleteAgentRequest, reader: jspb.BinaryReader): DeleteAgentRequest;
}
export namespace DeleteAgentRequest {
export type AsObject = {
parent: string,
}
}
export class GetAgentRequest extends jspb.Message {
getParent(): string;
setParent(value: string): GetAgentRequest;
getAgentView(): AgentView;
setAgentView(value: AgentView): GetAgentRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetAgentRequest): GetAgentRequest.AsObject;
static serializeBinaryToWriter(message: GetAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetAgentRequest;
static deserializeBinaryFromReader(message: GetAgentRequest, reader: jspb.BinaryReader): GetAgentRequest;
}
export namespace GetAgentRequest {
export type AsObject = {
parent: string,
agentView: AgentView,
}
}
export class ListAgentsRequest extends jspb.Message {
getAgentView(): AgentView;
setAgentView(value: AgentView): ListAgentsRequest;
getPageToken(): string;
setPageToken(value: string): ListAgentsRequest;
getSortByField(): AgentSorting | undefined;
setSortByField(value?: AgentSorting): ListAgentsRequest;
hasSortByField(): boolean;
clearSortByField(): ListAgentsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListAgentsRequest.AsObject;
static toObject(includeInstance: boolean, msg: ListAgentsRequest): ListAgentsRequest.AsObject;
static serializeBinaryToWriter(message: ListAgentsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListAgentsRequest;
static deserializeBinaryFromReader(message: ListAgentsRequest, reader: jspb.BinaryReader): ListAgentsRequest;
}
export namespace ListAgentsRequest {
export type AsObject = {
agentView: AgentView,
pageToken: string,
sortByField?: AgentSorting.AsObject,
}
}
export class ListAgentsResponse extends jspb.Message {
getAgentsWithOwnersList(): Array<AgentWithOwner>;
setAgentsWithOwnersList(value: Array<AgentWithOwner>): ListAgentsResponse;
clearAgentsWithOwnersList(): ListAgentsResponse;
addAgentsWithOwners(value?: AgentWithOwner, index?: number): AgentWithOwner;
getNextPageToken(): string;
setNextPageToken(value: string): ListAgentsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListAgentsResponse.AsObject;
static toObject(includeInstance: boolean, msg: ListAgentsResponse): ListAgentsResponse.AsObject;
static serializeBinaryToWriter(message: ListAgentsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListAgentsResponse;
static deserializeBinaryFromReader(message: ListAgentsResponse, reader: jspb.BinaryReader): ListAgentsResponse;
}
export namespace ListAgentsResponse {
export type AsObject = {
agentsWithOwnersList: Array<AgentWithOwner.AsObject>,
nextPageToken: string,
}
}
export class ListAgentsOfUserResponse extends jspb.Message {
getAgentsOfUserWithOwnersList(): Array<AgentOfUserWithOwner>;
setAgentsOfUserWithOwnersList(value: Array<AgentOfUserWithOwner>): ListAgentsOfUserResponse;
clearAgentsOfUserWithOwnersList(): ListAgentsOfUserResponse;
addAgentsOfUserWithOwners(value?: AgentOfUserWithOwner, index?: number): AgentOfUserWithOwner;
getNextPageToken(): string;
setNextPageToken(value: string): ListAgentsOfUserResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListAgentsOfUserResponse.AsObject;
static toObject(includeInstance: boolean, msg: ListAgentsOfUserResponse): ListAgentsOfUserResponse.AsObject;
static serializeBinaryToWriter(message: ListAgentsOfUserResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListAgentsOfUserResponse;
static deserializeBinaryFromReader(message: ListAgentsOfUserResponse, reader: jspb.BinaryReader): ListAgentsOfUserResponse;
}
export namespace ListAgentsOfUserResponse {
export type AsObject = {
agentsOfUserWithOwnersList: Array<AgentOfUserWithOwner.AsObject>,
nextPageToken: string,
}
}
export class TrainAgentRequest extends jspb.Message {
getParent(): string;
setParent(value: string): TrainAgentRequest;
getBranch(): string;
setBranch(value: string): TrainAgentRequest;
getInitiationProtocol(): InitiationProtocol;
setInitiationProtocol(value: InitiationProtocol): TrainAgentRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TrainAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: TrainAgentRequest): TrainAgentRequest.AsObject;
static serializeBinaryToWriter(message: TrainAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TrainAgentRequest;
static deserializeBinaryFromReader(message: TrainAgentRequest, reader: jspb.BinaryReader): TrainAgentRequest;
}
export namespace TrainAgentRequest {
export type AsObject = {
parent: string,
branch: string,
initiationProtocol: InitiationProtocol,
}
}
export class BuildCacheRequest extends jspb.Message {
getParent(): string;
setParent(value: string): BuildCacheRequest;
getBranch(): string;
setBranch(value: string): BuildCacheRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BuildCacheRequest.AsObject;
static toObject(includeInstance: boolean, msg: BuildCacheRequest): BuildCacheRequest.AsObject;
static serializeBinaryToWriter(message: BuildCacheRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): BuildCacheRequest;
static deserializeBinaryFromReader(message: BuildCacheRequest, reader: jspb.BinaryReader): BuildCacheRequest;
}
export namespace BuildCacheRequest {
export type AsObject = {
parent: string,
branch: string,
}
}
export class ExportAgentRequest extends jspb.Message {
getParent(): string;
setParent(value: string): ExportAgentRequest;
getAgentUri(): string;
setAgentUri(value: string): ExportAgentRequest;
getCompressionLevel(): number;
setCompressionLevel(value: number): ExportAgentRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExportAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: ExportAgentRequest): ExportAgentRequest.AsObject;
static serializeBinaryToWriter(message: ExportAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExportAgentRequest;
static deserializeBinaryFromReader(message: ExportAgentRequest, reader: jspb.BinaryReader): ExportAgentRequest;
}
export namespace ExportAgentRequest {
export type AsObject = {
parent: string,
agentUri: string,
compressionLevel: number,
}
}
export class ExportAgentResponse extends jspb.Message {
getAgentUri(): string;
setAgentUri(value: string): ExportAgentResponse;
getAgentContent(): Uint8Array | string;
getAgentContent_asU8(): Uint8Array;
getAgentContent_asB64(): string;
setAgentContent(value: Uint8Array | string): ExportAgentResponse;
getAgentCase(): ExportAgentResponse.AgentCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExportAgentResponse.AsObject;
static toObject(includeInstance: boolean, msg: ExportAgentResponse): ExportAgentResponse.AsObject;
static serializeBinaryToWriter(message: ExportAgentResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExportAgentResponse;
static deserializeBinaryFromReader(message: ExportAgentResponse, reader: jspb.BinaryReader): ExportAgentResponse;
}
export namespace ExportAgentResponse {
export type AsObject = {
agentUri: string,
agentContent: Uint8Array | string,
}
export enum AgentCase {
AGENT_NOT_SET = 0,
AGENT_URI = 1,
AGENT_CONTENT = 2,
}
}
export class ExportBenchmarkAgentRequest extends jspb.Message {
getParent(): string;
setParent(value: string): ExportBenchmarkAgentRequest;
getCompressionLevel(): number;
setCompressionLevel(value: number): ExportBenchmarkAgentRequest;
getTestSize(): number;
setTestSize(value: number): ExportBenchmarkAgentRequest;
getTrainSize(): number;
setTrainSize(value: number): ExportBenchmarkAgentRequest;
getRandomState(): number;
setRandomState(value: number): ExportBenchmarkAgentRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExportBenchmarkAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: ExportBenchmarkAgentRequest): ExportBenchmarkAgentRequest.AsObject;
static serializeBinaryToWriter(message: ExportBenchmarkAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExportBenchmarkAgentRequest;
static deserializeBinaryFromReader(message: ExportBenchmarkAgentRequest, reader: jspb.BinaryReader): ExportBenchmarkAgentRequest;
}
export namespace ExportBenchmarkAgentRequest {
export type AsObject = {
parent: string,
compressionLevel: number,
testSize: number,
trainSize: number,
randomState: number,
}
}
export class ExportBenchmarkAgentResponse extends jspb.Message {
getAgentContent(): Uint8Array | string;
getAgentContent_asU8(): Uint8Array;
getAgentContent_asB64(): string;
setAgentContent(value: Uint8Array | string): ExportBenchmarkAgentResponse;
getTrainingPhrasesMap(): jspb.Map<string, ondewo_nlu_intent_pb.ListTrainingPhrasesResponse>;
clearTrainingPhrasesMap(): ExportBenchmarkAgentResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExportBenchmarkAgentResponse.AsObject;
static toObject(includeInstance: boolean, msg: ExportBenchmarkAgentResponse): ExportBenchmarkAgentResponse.AsObject;
static serializeBinaryToWriter(message: ExportBenchmarkAgentResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExportBenchmarkAgentResponse;
static deserializeBinaryFromReader(message: ExportBenchmarkAgentResponse, reader: jspb.BinaryReader): ExportBenchmarkAgentResponse;
}
export namespace ExportBenchmarkAgentResponse {
export type AsObject = {
agentContent: Uint8Array | string,
trainingPhrasesMap: Array<[string, ondewo_nlu_intent_pb.ListTrainingPhrasesResponse.AsObject]>,
}
}
export class OptimizeRankingMatchRequest extends jspb.Message {
getParent(): string;
setParent(value: string): OptimizeRankingMatchRequest;
getLanguageCodesList(): Array<string>;
setLanguageCodesList(value: Array<string>): OptimizeRankingMatchRequest;
clearLanguageCodesList(): OptimizeRankingMatchRequest;
addLanguageCodes(value: string, index?: number): OptimizeRankingMatchRequest;
getOptimizationConfigsList(): Array<RankingMatchOptimizationConfig>;
setOptimizationConfigsList(value: Array<RankingMatchOptimizationConfig>): OptimizeRankingMatchRequest;
clearOptimizationConfigsList(): OptimizeRankingMatchRequest;
addOptimizationConfigs(value?: RankingMatchOptimizationConfig, index?: number): RankingMatchOptimizationConfig;
getInPlace(): boolean;
setInPlace(value: boolean): OptimizeRankingMatchRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): OptimizeRankingMatchRequest.AsObject;
static toObject(includeInstance: boolean, msg: OptimizeRankingMatchRequest): OptimizeRankingMatchRequest.AsObject;
static serializeBinaryToWriter(message: OptimizeRankingMatchRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): OptimizeRankingMatchRequest;
static deserializeBinaryFromReader(message: OptimizeRankingMatchRequest, reader: jspb.BinaryReader): OptimizeRankingMatchRequest;
}
export namespace OptimizeRankingMatchRequest {
export type AsObject = {
parent: string,
languageCodesList: Array<string>,
optimizationConfigsList: Array<RankingMatchOptimizationConfig.AsObject>,
inPlace: boolean,
}
}
export class RankingMatchOptimizationConfig extends jspb.Message {
getLanguageCode(): string;
setLanguageCode(value: string): RankingMatchOptimizationConfig;
getNSplits(): number;
setNSplits(value: number): RankingMatchOptimizationConfig;
getRandomSeed(): number;
setRandomSeed(value: number): RankingMatchOptimizationConfig;
getInitialThresholds(): google_protobuf_struct_pb.Struct | undefined;
setInitialThresholds(value?: google_protobuf_struct_pb.Struct): RankingMatchOptimizationConfig;
hasInitialThresholds(): boolean;
clearInitialThresholds(): RankingMatchOptimizationConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RankingMatchOptimizationConfig.AsObject;
static toObject(includeInstance: boolean, msg: RankingMatchOptimizationConfig): RankingMatchOptimizationConfig.AsObject;
static serializeBinaryToWriter(message: RankingMatchOptimizationConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RankingMatchOptimizationConfig;
static deserializeBinaryFromReader(message: RankingMatchOptimizationConfig, reader: jspb.BinaryReader): RankingMatchOptimizationConfig;
}
export namespace RankingMatchOptimizationConfig {
export type AsObject = {
languageCode: string,
nSplits: number,
randomSeed: number,
initialThresholds?: google_protobuf_struct_pb.Struct.AsObject,
}
}
export class OptimizeRankingMatchResponse extends jspb.Message {
getOptimizationInfo(): google_protobuf_struct_pb.Struct | undefined;
setOptimizationInfo(value?: google_protobuf_struct_pb.Struct): OptimizeRankingMatchResponse;
hasOptimizationInfo(): boolean;
clearOptimizationInfo(): OptimizeRankingMatchResponse;
getOptimizedOndewoConfig(): google_protobuf_struct_pb.Struct | undefined;
setOptimizedOndewoConfig(value?: google_protobuf_struct_pb.Struct): OptimizeRankingMatchResponse;
hasOptimizedOndewoConfig(): boolean;
clearOptimizedOndewoConfig(): OptimizeRankingMatchResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): OptimizeRankingMatchResponse.AsObject;
static toObject(includeInstance: boolean, msg: OptimizeRankingMatchResponse): OptimizeRankingMatchResponse.AsObject;
static serializeBinaryToWriter(message: OptimizeRankingMatchResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): OptimizeRankingMatchResponse;
static deserializeBinaryFromReader(message: OptimizeRankingMatchResponse, reader: jspb.BinaryReader): OptimizeRankingMatchResponse;
}
export namespace OptimizeRankingMatchResponse {
export type AsObject = {
optimizationInfo?: google_protobuf_struct_pb.Struct.AsObject,
optimizedOndewoConfig?: google_protobuf_struct_pb.Struct.AsObject,
}
}
export class ImportAgentRequest extends jspb.Message {
getParent(): string;
setParent(value: string): ImportAgentRequest;
getAgentUri(): string;
setAgentUri(value: string): ImportAgentRequest;
getAgentContent(): Uint8Array | string;
getAgentContent_asU8(): Uint8Array;
getAgentContent_asB64(): string;
setAgentContent(value: Uint8Array | string): ImportAgentRequest;
getAgentCase(): ImportAgentRequest.AgentCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ImportAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: ImportAgentRequest): ImportAgentRequest.AsObject;
static serializeBinaryToWriter(message: ImportAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ImportAgentRequest;
static deserializeBinaryFromReader(message: ImportAgentRequest, reader: jspb.BinaryReader): ImportAgentRequest;
}
export namespace ImportAgentRequest {
export type AsObject = {
parent: string,
agentUri: string,
agentContent: Uint8Array | string,
}
export enum AgentCase {
AGENT_NOT_SET = 0,
AGENT_URI = 2,
AGENT_CONTENT = 3,
}
}
export class RestoreAgentRequest extends jspb.Message {
getParent(): string;
setParent(value: string): RestoreAgentRequest;
getAgentUri(): string;
setAgentUri(value: string): RestoreAgentRequest;
getAgentContent(): Uint8Array | string;
getAgentContent_asU8(): Uint8Array;
getAgentContent_asB64(): string;
setAgentContent(value: Uint8Array | string): RestoreAgentRequest;
getAgentCase(): RestoreAgentRequest.AgentCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RestoreAgentRequest.AsObject;
static toObject(includeInstance: boolean, msg: RestoreAgentRequest): RestoreAgentRequest.AsObject;
static serializeBinaryToWriter(message: RestoreAgentRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RestoreAgentRequest;
static deserializeBinaryFromReader(message: RestoreAgentRequest, reader: jspb.BinaryReader): RestoreAgentRequest;
}
export namespace RestoreAgentRequest {
export type AsObject = {
parent: string,
agentUri: string,
agentContent: Uint8Array | string,
}
export enum AgentCase {
AGENT_NOT_SET = 0,
AGENT_URI = 2,
AGENT_CONTENT = 3,
}
}
export class GetAgentStatisticsRequest extends jspb.Message {
getParent(): string;
setParent(value: string): GetAgentStatisticsRequest;
getFormat(): ReportFormat;
setFormat(value: ReportFormat): GetAgentStatisticsRequest;
getLanguageCode(): string;
setLanguageCode(value: string): GetAgentStatisticsRequest;
getType(): ReportType;
setType(value: ReportType): GetAgentStatisticsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetAgentStatisticsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetAgentStatisticsRequest): GetAgentStatisticsRequest.AsObject;
static serializeBinaryToWriter(message: GetAgentStatisticsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetAgentStatisticsRequest;
static deserializeBinaryFromReader(message: GetAgentStatisticsRequest, reader: jspb.BinaryReader): GetAgentStatisticsRequest;
}
export namespace GetAgentStatisticsRequest {
export type AsObject = {
parent: string,
format: ReportFormat,
languageCode: string,
type: ReportType,
}
}
export class GetAgentStatisticsResponse extends jspb.Message {
getReports(): Uint8Array | string;
getReports_asU8(): Uint8Array;
getReports_asB64(): string;
setReports(value: Uint8Array | string): GetAgentStatisticsResponse;
getFormat(): ReportFormat;
setFormat(value: ReportFormat): GetAgentStatisticsResponse;
getType(): ReportType;
setType(value: ReportType): GetAgentStatisticsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetAgentStatisticsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetAgentStatisticsResponse): GetAgentStatisticsResponse.AsObject;
static serializeBinaryToWriter(message: GetAgentStatisticsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetAgentStatisticsResponse;
static deserializeBinaryFromReader(message: GetAgentStatisticsResponse, reader: jspb.BinaryReader): GetAgentStatisticsResponse;
}
export namespace GetAgentStatisticsResponse {
export type AsObject = {
reports: Uint8Array | string,
format: ReportFormat,
type: ReportType,
}
}
export class GetSessionsStatisticsRequest extends jspb.Message {
getParent(): string;
setParent(value: string): GetSessionsStatisticsRequest;
getFormat(): ReportFormat;
setFormat(value: ReportFormat): GetSessionsStatisticsRequest;
getType(): SessionsReportType;
setType(value: SessionsReportType): GetSessionsStatisticsRequest;
getSessionFilter(): ondewo_nlu_session_pb.SessionFilter | undefined;
setSessionFilter(value?: ondewo_nlu_session_pb.SessionFilter): GetSessionsStatisticsRequest;
hasSessionFilter(): boolean;
clearSessionFilter(): GetSessionsStatisticsRequest;
getContextFiltersList(): Array<ondewo_nlu_session_pb.ContextFilter>;
setContextFiltersList(value: Array<ondewo_nlu_session_pb.ContextFilter>): GetSessionsStatisticsRequest;
clearContextFiltersList(): GetSessionsStatisticsRequest;
addContextFilters(value?: ondewo_nlu_session_pb.ContextFilter, index?: number): ondewo_nlu_session_pb.ContextFilter;
getLimit(): number;
setLimit(value: number): GetSessionsStatisticsRequest;
getGroupBysList(): Array<string>;
setGroupBysList(value: Array<string>): GetSessionsStatisticsRequest;
clearGroupBysList(): GetSessionsStatisticsRequest;
addGroupBys(value: string, index?: number): GetSessionsStatisticsRequest;
getOrderBysList(): Array<string>;
setOrderBysList(value: Array<string>): GetSessionsStatisticsRequest;
clearOrderBysList(): GetSessionsStatisticsRequest;
addOrderBys(value: string, index?: number): GetSessionsStatisticsRequest;
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): GetSessionsStatisticsRequest;
hasFieldMask(): boolean;
clearFieldMask(): GetSessionsStatisticsRequest;
getSqlQuery(): string;
setSqlQuery(value: string): GetSessionsStatisticsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetSessionsStatisticsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetSessionsStatisticsRequest): GetSessionsStatisticsRequest.AsObject;
static serializeBinaryToWriter(message: GetSessionsStatisticsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetSessionsStatisticsRequest;
static deserializeBinaryFromReader(message: GetSessionsStatisticsRequest, reader: jspb.BinaryReader): GetSessionsStatisticsRequest;
}
export namespace GetSessionsStatisticsRequest {
export type AsObject = {
parent: string,
format: ReportFormat,
type: SessionsReportType,
sessionFilter?: ondewo_nlu_session_pb.SessionFilter.AsObject,
contextFiltersList: Array<ondewo_nlu_session_pb.ContextFilter.AsObject>,
limit: number,
groupBysList: Array<string>,
orderBysList: Array<string>,
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
sqlQuery: string,
}
}
export class GetSessionsStatisticsResponse extends jspb.Message {
getReports(): Uint8Array | string;
getReports_asU8(): Uint8Array;
getReports_asB64(): string;
setReports(value: Uint8Array | string): GetSessionsStatisticsResponse;
getFormat(): ReportFormat;
setFormat(value: ReportFormat): GetSessionsStatisticsResponse;
getType(): SessionsReportType;
setType(value: SessionsReportType): GetSessionsStatisticsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetSessionsStatisticsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetSessionsStatisticsResponse): GetSessionsStatisticsResponse.AsObject;
static serializeBinaryToWriter(message: GetSessionsStatisticsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetSessionsStatisticsResponse;
static deserializeBinaryFromReader(message: GetSessionsStatisticsResponse, reader: jspb.BinaryReader): GetSessionsStatisticsResponse;
}
export namespace GetSessionsStatisticsResponse {
export type AsObject = {
reports: Uint8Array | string,
format: ReportFormat,
type: SessionsReportType,
}
}
export class AddUserToProjectRequest extends jspb.Message {
getParent(): string;
setParent(value: string): AddUserToProjectRequest;
getUserId(): string;
setUserId(value: string): AddUserToProjectRequest;
getProjectRoleId(): number;
setProjectRoleId(value: number): AddUserToProjectRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AddUserToProjectRequest.AsObject;
static toObject(includeInstance: boolean, msg: AddUserToProjectRequest): AddUserToProjectRequest.AsObject;
static serializeBinaryToWriter(message: AddUserToProjectRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AddUserToProjectRequest;
static deserializeBinaryFromReader(message: AddUserToProjectRequest, reader: jspb.BinaryReader): AddUserToProjectRequest;
}
export namespace AddUserToProjectRequest {
export type AsObject = {
parent: string,
userId: string,
projectRoleId: number,
}
}
export class RemoveUserFromProjectRequest extends jspb.Message {
getParent(): string;
setParent(value: string): RemoveUserFromProjectRequest;
getUserId(): string;
setUserId(value: string): RemoveUserFromProjectRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RemoveUserFromProjectRequest.AsObject;
static toObject(includeInstance: boolean, msg: RemoveUserFromProjectRequest): RemoveUserFromProjectRequest.AsObject;
static serializeBinaryToWriter(message: RemoveUserFromProjectRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RemoveUserFromProjectRequest;
static deserializeBinaryFromReader(message: RemoveUserFromProjectRequest, reader: jspb.BinaryReader): RemoveUserFromProjectRequest;
}
export namespace RemoveUserFromProjectRequest {
export type AsObject = {
parent: string,
userId: string,
}
}
export class ListUsersInProjectRequest extends jspb.Message {
getParent(): string;
setParent(value: string): ListUsersInProjectRequest;
getPageToken(): string;
setPageToken(value: string): ListUsersInProjectRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListUsersInProjectRequest.AsObject;
static toObject(includeInstance: boolean, msg: ListUsersInProjectRequest): ListUsersInProjectRequest.AsObject;
static serializeBinaryToWriter(message: ListUsersInProjectRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListUsersInProjectRequest;
static deserializeBinaryFromReader(message: ListUsersInProjectRequest, reader: jspb.BinaryReader): ListUsersInProjectRequest;
}
export namespace ListUsersInProjectRequest {
export type AsObject = {
parent: string,
pageToken: string,
}
}
export class UserInProject extends jspb.Message {
getParent(): string;
setParent(value: string): UserInProject;
getUser(): ondewo_nlu_user_pb.User | undefined;
setUser(value?: ondewo_nlu_user_pb.User): UserInProject;
hasUser(): boolean;
clearUser(): UserInProject;
getRoleId(): number;
setRoleId(value: number): UserInProject;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UserInProject.AsObject;
static toObject(includeInstance: boolean, msg: UserInProject): UserInProject.AsObject;
static serializeBinaryToWriter(message: UserInProject, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UserInProject;
static deserializeBinaryFromReader(message: UserInProject, reader: jspb.BinaryReader): UserInProject;
}
export namespace UserInProject {
export type AsObject = {
parent: string,
user?: ondewo_nlu_user_pb.User.AsObject,
roleId: number,
}
}
export class ListUsersInProjectResponse extends jspb.Message {
getUsersList(): Array<UserInProject>;
setUsersList(value: Array<UserInProject>): ListUsersInProjectResponse;
clearUsersList(): ListUsersInProjectResponse;
addUsers(value?: UserInProject, index?: number): UserInProject;
getNextPageToken(): string;
setNextPageToken(value: string): ListUsersInProjectResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListUsersInProjectResponse.AsObject;
static toObject(includeInstance: boolean, msg: ListUsersInProjectResponse): ListUsersInProjectResponse.AsObject;
static serializeBinaryToWriter(message: ListUsersInProjectResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListUsersInProjectResponse;
static deserializeBinaryFromReader(message: ListUsersInProjectResponse, reader: jspb.BinaryReader): ListUsersInProjectResponse;
}
export namespace ListUsersInProjectResponse {
export type AsObject = {
usersList: Array<UserInProject.AsObject>,
nextPageToken: string,
}
}
export class GetPlatformInfoResponse extends jspb.Message {
getVersion(): string;
setVersion(value: string): GetPlatformInfoResponse;
getCommitHash(): string;
setCommitHash(value: string): GetPlatformInfoResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetPlatformInfoResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetPlatformInfoResponse): GetPlatformInfoResponse.AsObject;
static serializeBinaryToWriter(message: GetPlatformInfoResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetPlatformInfoResponse;
static deserializeBinaryFromReader(message: GetPlatformInfoResponse, reader: jspb.BinaryReader): GetPlatformInfoResponse;
}
export namespace GetPlatformInfoResponse {
export type AsObject = {
version: string,
commitHash: string,
}
}
export class ListProjectPermissionsRequest extends jspb.Message {
getPageToken(): string;
setPageToken(value: string): ListProjectPermissionsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListProjectPermissionsRequest.AsObject;
static toObject(includeInstance: boolean, msg: ListProjectPermissionsRequest): ListProjectPermissionsRequest.AsObject;
static serializeBinaryToWriter(message: ListProjectPermissionsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListProjectPermissionsRequest;
static deserializeBinaryFromReader(message: ListProjectPermissionsRequest, reader: jspb.BinaryReader): ListProjectPermissionsRequest;
}
export namespace ListProjectPermissionsRequest {
export type AsObject = {
pageToken: string,
}
}
export class ListProjectPermissionsResponse extends jspb.Message {
getPermissionsList(): Array<string>;
setPermissionsList(value: Array<string>): ListProjectPermissionsResponse;
clearPermissionsList(): ListProjectPermissionsResponse;
addPermissions(value: string, index?: number): ListProjectPermissionsResponse;
getNextPageToken(): string;
setNextPageToken(value: string): ListProjectPermissionsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListProjectPermissionsResponse.AsObject;
static toObject(includeInstance: boolean, msg: ListProjectPermissionsResponse): ListProjectPermissionsResponse.AsObject;
static serializeBinaryToWriter(message: ListProjectPermissionsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListProjectPermissionsResponse;
static deserializeBinaryFromReader(message: ListProjectPermissionsResponse, reader: jspb.BinaryReader): ListProjectPermissionsResponse;
}
export namespace ListProjectPermissionsResponse {
export type AsObject = {
permissionsList: Array<string>,
nextPageToken: string,
}
}
export class SetAgentStatusRequest extends jspb.Message {
getParent(): string;
setParent(value: string): SetAgentStatusRequest;
getStatus(): AgentStatus;
setStatus(value: AgentStatus): SetAgentStatusRequest;
getAgentView(): AgentView;
setAgentView(value: AgentView): SetAgentStatusRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SetAgentStatusRequest.AsObject;
static toObject(includeInstance: boolean, msg: SetAgentStatusRequest): SetAgentStatusRequest.AsObject;
static serializeBinaryToWriter(message: SetAgentStatusRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SetAgentStatusRequest;
static deserializeBinaryFromReader(message: SetAgentStatusRequest, reader: jspb.BinaryReader): SetAgentStatusRequest;
}
export namespace SetAgentStatusRequest {
export type AsObject = {
parent: string,
status: AgentStatus,
agentView: AgentView,
}
}
export class AgentSorting extends jspb.Message {
getSortingField(): AgentSorting.AgentSortingField;
setSortingField(value: AgentSorting.AgentSortingField): AgentSorting;
getSortingMode(): ondewo_nlu_common_pb.SortingMode;
setSortingMode(value: ondewo_nlu_common_pb.SortingMode): AgentSorting;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AgentSorting.AsObject;
static toObject(includeInstance: boolean, msg: AgentSorting): AgentSorting.AsObject;
static serializeBinaryToWriter(message: AgentSorting, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AgentSorting;
static deserializeBinaryFromReader(message: AgentSorting, reader: jspb.BinaryReader): AgentSorting;
}
export namespace AgentSorting {
export type AsObject = {
sortingField: AgentSorting.AgentSortingField,
sortingMode: ondewo_nlu_common_pb.SortingMode,
}
export enum AgentSortingField {
NO_AGENT_SORTING = 0,
SORT_AGENT_BY_NAME = 1,
SORT_AGENT_BY_CREATION_DATE = 2,
SORT_AGENT_BY_LAST_UPDATED = 3,
SORT_AGENT_BY_OWNER_NAME = 4,
}
}
export class SetResourcesRequest extends jspb.Message {
getParent(): string;
setParent(value: string): SetResourcesRequest;
getName(): string;
setName(value: string): SetResourcesRequest;
getType(): string;
setType(value: string): SetResourcesRequest;
getResourceFile(): Uint8Array | string;
getResourceFile_asU8(): Uint8Array;
getResourceFile_asB64(): string;
setResourceFile(value: Uint8Array | string): SetResourcesRequest;
getLanguageCode(): string;
setLanguageCode(value: string): SetResourcesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SetResourcesRequest.AsObject;
static toObject(includeInstance: boolean, msg: SetResourcesRequest): SetResourcesRequest.AsObject;
static serializeBinaryToWriter(message: SetResourcesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SetResourcesRequest;
static deserializeBinaryFromReader(message: SetResourcesRequest, reader: jspb.BinaryReader): SetResourcesRequest;
}
export namespace SetResourcesRequest {
export type AsObject = {
parent: string,
name: string,
type: string,
resourceFile: Uint8Array | string,
languageCode: string,
}
}
export class DeleteResourcesRequest extends jspb.Message {
getParent(): string;
setParent(value: string): DeleteResourcesRequest;
getName(): string;
setName(value: string): DeleteResourcesRequest;
getType(): string;
setType(value: string): DeleteResourcesRequest;
getLanguageCode(): string;
setLanguageCode(value: string): DeleteResourcesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DeleteResourcesRequest.AsObject;
static toObject(includeInstance: boolean, msg: DeleteResourcesRequest): DeleteResourcesRequest.AsObject;
static serializeBinaryToWriter(message: DeleteResourcesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DeleteResourcesRequest;
static deserializeBinaryFromReader(message: DeleteResourcesRequest, reader: jspb.BinaryReader): DeleteResourcesRequest;
}
export namespace DeleteResourcesRequest {
export type AsObject = {
parent: string,
name: string,
type: string,
languageCode: string,
}
}
export class ExportResourcesRequest extends jspb.Message {
getParent(): string;
setParent(value: string): ExportResourcesRequest;
getName(): string;
setName(value: string): ExportResourcesRequest;
getType(): string;
setType(value: string): ExportResourcesRequest;
getLanguageCode(): string;
setLanguageCode(value: string): ExportResourcesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExportResourcesRequest.AsObject;
static toObject(includeInstance: boolean, msg: ExportResourcesRequest): ExportResourcesRequest.AsObject;
static serializeBinaryToWriter(message: ExportResourcesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExportResourcesRequest;
static deserializeBinaryFromReader(message: ExportResourcesRequest, reader: jspb.BinaryReader): ExportResourcesRequest;
}
export namespace ExportResourcesRequest {
export type AsObject = {
parent: string,
name: string,
type: string,
languageCode: string,
}
}
export class ExportResourcesResponse extends jspb.Message {
getParent(): string;
setParent(value: string): ExportResourcesResponse;
getName(): string;
setName(value: string): ExportResourcesResponse;
getType(): string;
setType(value: string): ExportResourcesResponse;
getLanguageCode(): string;
setLanguageCode(value: string): ExportResourcesResponse;
getResourceFile(): Uint8Array | string;
getResourceFile_asU8(): Uint8Array;
getResourceFile_asB64(): string;
setResourceFile(value: Uint8Array | string): ExportResourcesResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExportResourcesResponse.AsObject;
static toObject(includeInstance: boolean, msg: ExportResourcesResponse): ExportResourcesResponse.AsObject;
static serializeBinaryToWriter(message: ExportResourcesResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExportResourcesResponse;
static deserializeBinaryFromReader(message: ExportResourcesResponse, reader: jspb.BinaryReader): ExportResourcesResponse;
}
export namespace ExportResourcesResponse {
export type AsObject = {
parent: string,
name: string,
type: string,
languageCode: string,
resourceFile: Uint8Array | string,
}
}
export class GetModelStatusesRequest extends jspb.Message {
getParent(): string;
setParent(value: string): GetModelStatusesRequest;
getCacheVersion(): number;
setCacheVersion(value: number): GetModelStatusesRequest;
getLanguageCode(): string;
setLanguageCode(value: string): GetModelStatusesRequest;
getModelName(): string;
setModelName(value: string): GetModelStatusesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetModelStatusesRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetModelStatusesRequest): GetModelStatusesRequest.AsObject;
static serializeBinaryToWriter(message: GetModelStatusesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetModelStatusesRequest;
static deserializeBinaryFromReader(message: GetModelStatusesRequest, reader: jspb.BinaryReader): GetModelStatusesRequest;
}
export namespace GetModelStatusesRequest {
export type AsObject = {
parent: string,
cacheVersion: number,
languageCode: string,
modelName: string,
}
}
export class ModelStatus extends jspb.Message {
getCacheVersion(): number;
setCacheVersion(value: number): ModelStatus;
getLanguageCode(): string;
setLanguageCode(value: string): ModelStatus;
getModelName(): string;
setModelName(value: string): ModelStatus;
getStatusSetTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
setStatusSetTime(value?: google_protobuf_timestamp_pb.Timestamp): ModelStatus;
hasStatusSetTime(): boolean;
clearStatusSetTime(): ModelStatus;
getConfig(): string;
setConfig(value: string): ModelStatus;
getStatus(): ModelStatus.StatusName;
setStatus(value: ModelStatus.StatusName): ModelStatus;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ModelStatus.AsObject;
static toObject(includeInstance: boolean, msg: ModelStatus): ModelStatus.AsObject;
static serializeBinaryToWriter(message: ModelStatus, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ModelStatus;
static deserializeBinaryFromReader(message: ModelStatus, reader: jspb.BinaryReader): ModelStatus;
}
export namespace ModelStatus {
export type AsObject = {
cacheVersion: number,
languageCode: string,
modelName: string,
statusSetTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
config: string,
status: ModelStatus.StatusName,
}
export enum StatusName {
UNKNOWN = 0,
INITIALIZING = 1,
INITIALIZED = 2,
LOADING_DATA = 3,
TRAINING = 4,
TESTING = 5,
TRAINED = 6,
}
}
export class GetModelStatusesResponse extends jspb.Message {
getModelStatusesList(): Array<ModelStatus>;
setModelStatusesList(value: Array<ModelStatus>): GetModelStatusesResponse;
clearModelStatusesList(): GetModelStatusesResponse;
addModelStatuses(value?: ModelStatus, index?: number): ModelStatus;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetModelStatusesResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetModelStatusesResponse): GetModelStatusesResponse.AsObject;
static serializeBinaryToWriter(message: GetModelStatusesResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetModelStatusesResponse;
static deserializeBinaryFromReader(message: GetModelStatusesResponse, reader: jspb.BinaryReader): GetModelStatusesResponse;
}
export namespace GetModelStatusesResponse {
export type AsObject = {
modelStatusesList: Array<ModelStatus.AsObject>,
}
}
export class CustomPlatformInfo extends jspb.Message {
getPlatform(): ondewo_nlu_intent_pb.Intent.Message.Platform;
setPlatform(value: ondewo_nlu_intent_pb.Intent.Message.Platform): CustomPlatformInfo;
getDisplayName(): string;
setDisplayName(value: string): CustomPlatformInfo;
getPosition(): number;
setPosition(value: number): CustomPlatformInfo;