UNPKG

@ondewo/csi-client-angular

Version:

ONDEWO Conversation System Integration (CSI) Client library for Angular

1,266 lines 249 kB
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common'; import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf'; import * as googleProtobuf002 from '@ngx-grpc/well-known-types'; import * as googleProtobuf003 from '@ngx-grpc/well-known-types'; import * as ondewoNlu006 from '../../ondewo/nlu/common.pb'; import * as googleProtobuf009 from '@ngx-grpc/well-known-types'; import * as ondewoNlu010 from '../../ondewo/nlu/project-role.pb'; import * as ondewoNlu015 from '../../ondewo/nlu/intent.pb'; import * as ondewoNlu017 from '../../ondewo/nlu/user.pb'; import * as ondewoNlu018 from '../../ondewo/nlu/session.pb'; export declare enum AgentView { AGENT_VIEW_UNSPECIFIED = 0, AGENT_VIEW_FULL = 1, AGENT_VIEW_SHALLOW = 2, AGENT_VIEW_MINIMUM = 3 } export declare enum InitiationProtocol { AS_SOON_AS_POSSIBLE = 0, WHEN_TRAINED = 1, NEVER = 2 } export declare enum ReportType { ALL = 0, INTENT_PER_LANGUAGE = 1, ENTITY_PER_LANGUAGE = 2, ENTITY_COLLISION = 3, INTENT_GENERAL = 4 } export declare enum SessionsReportType { SESSIONS = 0, SESSION_STEPS = 1, SESSION_TOP_X_INTENTS = 2, SESSION_TOP_X_ENTITY_TYPES = 3, SESSION_TOP_X_ENTITY_VALUES = 4, SESSION_TOP_X_USERS = 5, SESSION_TOP_X_LABELS = 6, SESSION_TOP_X_TAGS = 7, SESSION_TOP_X_PHONE_NUMBERS = 8, SESSION_HUMAN_HANDOVERS = 9, SESSION_SQL_QUERY = 10, SESSION_LEAST_X_INTENTS = 11, SESSION_LEAST_X_ENTITY_TYPES = 12, SESSION_LEAST_X_ENTITY_VALUES = 13, SESSION_LEAST_X_USERS = 14, SESSION_LEAST_X_LABELS = 15, SESSION_LEAST_X_TAGS = 16, TOTAL_STATISTICS = 17 } export declare enum ReportFormat { CSV = 0, HTML = 1, JSON = 2 } export declare enum AgentStatus { ACTIVE = 0, INACTIVE = 1 } /** * Message implementation for ondewo.nlu.Agent */ export declare class Agent implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Agent; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Agent): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Agent, _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: Agent, _writer: BinaryWriter): void; private _parent; private _displayName; private _defaultLanguageCode; private _supportedLanguageCodes; private _timeZone; private _nluPlatform; private _configs?; private _ownerId; private _status; private _description; private _createdAt?; private _modifiedAt?; private _createdBy; private _modifiedBy; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Agent to deeply clone from */ constructor(_value?: RecursivePartial<Agent.AsObject>); get parent(): string; set parent(value: string); get displayName(): string; set displayName(value: string); get defaultLanguageCode(): string; set defaultLanguageCode(value: string); get supportedLanguageCodes(): string[]; set supportedLanguageCodes(value: string[]); get timeZone(): string; set timeZone(value: string); get nluPlatform(): string; set nluPlatform(value: string); get configs(): googleProtobuf009.Struct | undefined; set configs(value: googleProtobuf009.Struct | undefined); get ownerId(): string; set ownerId(value: string); get status(): AgentStatus; set status(value: AgentStatus); get description(): string; set description(value: string); get createdAt(): googleProtobuf003.Timestamp | undefined; set createdAt(value: googleProtobuf003.Timestamp | undefined); get modifiedAt(): googleProtobuf003.Timestamp | undefined; set modifiedAt(value: googleProtobuf003.Timestamp | undefined); get createdBy(): string; set createdBy(value: string); get modifiedBy(): string; set modifiedBy(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(): Agent.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Agent.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): Agent.AsProtobufJSON; } export declare namespace Agent { /** * Standard JavaScript object representation for Agent */ interface AsObject { parent: string; displayName: string; defaultLanguageCode: string; supportedLanguageCodes: string[]; timeZone: string; nluPlatform: string; configs?: googleProtobuf009.Struct.AsObject; ownerId: string; status: AgentStatus; description: string; createdAt?: googleProtobuf003.Timestamp.AsObject; modifiedAt?: googleProtobuf003.Timestamp.AsObject; createdBy: string; modifiedBy: string; } /** * Protobuf JSON representation for Agent */ interface AsProtobufJSON { parent: string; displayName: string; defaultLanguageCode: string; supportedLanguageCodes: string[]; timeZone: string; nluPlatform: string; configs: googleProtobuf009.Struct.AsProtobufJSON | null; ownerId: string; status: string; description: string; createdAt: googleProtobuf003.Timestamp.AsProtobufJSON | null; modifiedAt: googleProtobuf003.Timestamp.AsProtobufJSON | null; createdBy: string; modifiedBy: string; } } /** * Message implementation for ondewo.nlu.AgentWithOwner */ export declare class AgentWithOwner implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): AgentWithOwner; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: AgentWithOwner): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: AgentWithOwner, _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: AgentWithOwner, _writer: BinaryWriter): void; private _agent?; private _owner?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of AgentWithOwner to deeply clone from */ constructor(_value?: RecursivePartial<AgentWithOwner.AsObject>); get agent(): Agent | undefined; set agent(value: Agent | undefined); get owner(): ondewoNlu017.User | undefined; set owner(value: ondewoNlu017.User | undefined); /** * 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(): AgentWithOwner.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): AgentWithOwner.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): AgentWithOwner.AsProtobufJSON; } export declare namespace AgentWithOwner { /** * Standard JavaScript object representation for AgentWithOwner */ interface AsObject { agent?: Agent.AsObject; owner?: ondewoNlu017.User.AsObject; } /** * Protobuf JSON representation for AgentWithOwner */ interface AsProtobufJSON { agent: Agent.AsProtobufJSON | null; owner: ondewoNlu017.User.AsProtobufJSON | null; } } /** * Message implementation for ondewo.nlu.AgentOfUserWithOwner */ export declare class AgentOfUserWithOwner implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): AgentOfUserWithOwner; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: AgentOfUserWithOwner): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: AgentOfUserWithOwner, _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: AgentOfUserWithOwner, _writer: BinaryWriter): void; private _agentWithOwner?; private _projectRole?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of AgentOfUserWithOwner to deeply clone from */ constructor(_value?: RecursivePartial<AgentOfUserWithOwner.AsObject>); get agentWithOwner(): AgentWithOwner | undefined; set agentWithOwner(value: AgentWithOwner | undefined); get projectRole(): ondewoNlu010.ProjectRole | undefined; set projectRole(value: ondewoNlu010.ProjectRole | undefined); /** * 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(): AgentOfUserWithOwner.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): AgentOfUserWithOwner.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): AgentOfUserWithOwner.AsProtobufJSON; } export declare namespace AgentOfUserWithOwner { /** * Standard JavaScript object representation for AgentOfUserWithOwner */ interface AsObject { agentWithOwner?: AgentWithOwner.AsObject; projectRole?: ondewoNlu010.ProjectRole.AsObject; } /** * Protobuf JSON representation for AgentOfUserWithOwner */ interface AsProtobufJSON { agentWithOwner: AgentWithOwner.AsProtobufJSON | null; projectRole: ondewoNlu010.ProjectRole.AsProtobufJSON | null; } } /** * Message implementation for ondewo.nlu.CreateAgentRequest */ export declare class CreateAgentRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CreateAgentRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CreateAgentRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CreateAgentRequest, _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: CreateAgentRequest, _writer: BinaryWriter): void; private _agent?; private _agentView; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CreateAgentRequest to deeply clone from */ constructor(_value?: RecursivePartial<CreateAgentRequest.AsObject>); get agent(): Agent | undefined; set agent(value: Agent | undefined); get agentView(): AgentView; set agentView(value: AgentView); /** * 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(): CreateAgentRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): CreateAgentRequest.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): CreateAgentRequest.AsProtobufJSON; } export declare namespace CreateAgentRequest { /** * Standard JavaScript object representation for CreateAgentRequest */ interface AsObject { agent?: Agent.AsObject; agentView: AgentView; } /** * Protobuf JSON representation for CreateAgentRequest */ interface AsProtobufJSON { agent: Agent.AsProtobufJSON | null; agentView: string; } } /** * Message implementation for ondewo.nlu.UpdateAgentRequest */ export declare class UpdateAgentRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): UpdateAgentRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: UpdateAgentRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: UpdateAgentRequest, _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: UpdateAgentRequest, _writer: BinaryWriter): void; private _agent?; private _agentView; private _updateMask?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of UpdateAgentRequest to deeply clone from */ constructor(_value?: RecursivePartial<UpdateAgentRequest.AsObject>); get agent(): Agent | undefined; set agent(value: Agent | undefined); get agentView(): AgentView; set agentView(value: AgentView); get updateMask(): googleProtobuf002.FieldMask | undefined; set updateMask(value: googleProtobuf002.FieldMask | undefined); /** * 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(): UpdateAgentRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): UpdateAgentRequest.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): UpdateAgentRequest.AsProtobufJSON; } export declare namespace UpdateAgentRequest { /** * Standard JavaScript object representation for UpdateAgentRequest */ interface AsObject { agent?: Agent.AsObject; agentView: AgentView; updateMask?: googleProtobuf002.FieldMask.AsObject; } /** * Protobuf JSON representation for UpdateAgentRequest */ interface AsProtobufJSON { agent: Agent.AsProtobufJSON | null; agentView: string; updateMask: googleProtobuf002.FieldMask.AsProtobufJSON | null; } } /** * Message implementation for ondewo.nlu.DeleteAgentRequest */ export declare class DeleteAgentRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): DeleteAgentRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: DeleteAgentRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: DeleteAgentRequest, _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: DeleteAgentRequest, _writer: BinaryWriter): void; private _parent; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of DeleteAgentRequest to deeply clone from */ constructor(_value?: RecursivePartial<DeleteAgentRequest.AsObject>); get parent(): string; set parent(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(): DeleteAgentRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): DeleteAgentRequest.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): DeleteAgentRequest.AsProtobufJSON; } export declare namespace DeleteAgentRequest { /** * Standard JavaScript object representation for DeleteAgentRequest */ interface AsObject { parent: string; } /** * Protobuf JSON representation for DeleteAgentRequest */ interface AsProtobufJSON { parent: string; } } /** * Message implementation for ondewo.nlu.GetAgentRequest */ export declare class GetAgentRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): GetAgentRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: GetAgentRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: GetAgentRequest, _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: GetAgentRequest, _writer: BinaryWriter): void; private _parent; private _agentView; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of GetAgentRequest to deeply clone from */ constructor(_value?: RecursivePartial<GetAgentRequest.AsObject>); get parent(): string; set parent(value: string); get agentView(): AgentView; set agentView(value: AgentView); /** * 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(): GetAgentRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): GetAgentRequest.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): GetAgentRequest.AsProtobufJSON; } export declare namespace GetAgentRequest { /** * Standard JavaScript object representation for GetAgentRequest */ interface AsObject { parent: string; agentView: AgentView; } /** * Protobuf JSON representation for GetAgentRequest */ interface AsProtobufJSON { parent: string; agentView: string; } } /** * Message implementation for ondewo.nlu.ListAgentsRequest */ export declare class ListAgentsRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ListAgentsRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ListAgentsRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ListAgentsRequest, _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: ListAgentsRequest, _writer: BinaryWriter): void; private _agentView; private _pageToken; private _sortByField?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ListAgentsRequest to deeply clone from */ constructor(_value?: RecursivePartial<ListAgentsRequest.AsObject>); get agentView(): AgentView; set agentView(value: AgentView); get pageToken(): string; set pageToken(value: string); get sortByField(): AgentSorting | undefined; set sortByField(value: AgentSorting | undefined); /** * 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(): ListAgentsRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ListAgentsRequest.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): ListAgentsRequest.AsProtobufJSON; } export declare namespace ListAgentsRequest { /** * Standard JavaScript object representation for ListAgentsRequest */ interface AsObject { agentView: AgentView; pageToken: string; sortByField?: AgentSorting.AsObject; } /** * Protobuf JSON representation for ListAgentsRequest */ interface AsProtobufJSON { agentView: string; pageToken: string; sortByField: AgentSorting.AsProtobufJSON | null; } } /** * Message implementation for ondewo.nlu.ListAgentsResponse */ export declare class ListAgentsResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ListAgentsResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ListAgentsResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ListAgentsResponse, _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: ListAgentsResponse, _writer: BinaryWriter): void; private _agentsWithOwners?; private _nextPageToken; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ListAgentsResponse to deeply clone from */ constructor(_value?: RecursivePartial<ListAgentsResponse.AsObject>); get agentsWithOwners(): AgentWithOwner[] | undefined; set agentsWithOwners(value: AgentWithOwner[] | undefined); get nextPageToken(): string; set nextPageToken(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(): ListAgentsResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ListAgentsResponse.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): ListAgentsResponse.AsProtobufJSON; } export declare namespace ListAgentsResponse { /** * Standard JavaScript object representation for ListAgentsResponse */ interface AsObject { agentsWithOwners?: AgentWithOwner.AsObject[]; nextPageToken: string; } /** * Protobuf JSON representation for ListAgentsResponse */ interface AsProtobufJSON { agentsWithOwners: AgentWithOwner.AsProtobufJSON[] | null; nextPageToken: string; } } /** * Message implementation for ondewo.nlu.ListAgentsOfUserResponse */ export declare class ListAgentsOfUserResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ListAgentsOfUserResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ListAgentsOfUserResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ListAgentsOfUserResponse, _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: ListAgentsOfUserResponse, _writer: BinaryWriter): void; private _agentsOfUserWithOwners?; private _nextPageToken; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ListAgentsOfUserResponse to deeply clone from */ constructor(_value?: RecursivePartial<ListAgentsOfUserResponse.AsObject>); get agentsOfUserWithOwners(): AgentOfUserWithOwner[] | undefined; set agentsOfUserWithOwners(value: AgentOfUserWithOwner[] | undefined); get nextPageToken(): string; set nextPageToken(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(): ListAgentsOfUserResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ListAgentsOfUserResponse.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): ListAgentsOfUserResponse.AsProtobufJSON; } export declare namespace ListAgentsOfUserResponse { /** * Standard JavaScript object representation for ListAgentsOfUserResponse */ interface AsObject { agentsOfUserWithOwners?: AgentOfUserWithOwner.AsObject[]; nextPageToken: string; } /** * Protobuf JSON representation for ListAgentsOfUserResponse */ interface AsProtobufJSON { agentsOfUserWithOwners: AgentOfUserWithOwner.AsProtobufJSON[] | null; nextPageToken: string; } } /** * Message implementation for ondewo.nlu.TrainAgentRequest */ export declare class TrainAgentRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): TrainAgentRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: TrainAgentRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: TrainAgentRequest, _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: TrainAgentRequest, _writer: BinaryWriter): void; private _parent; private _branch; private _initiationProtocol; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of TrainAgentRequest to deeply clone from */ constructor(_value?: RecursivePartial<TrainAgentRequest.AsObject>); get parent(): string; set parent(value: string); get branch(): string; set branch(value: string); get initiationProtocol(): InitiationProtocol; set initiationProtocol(value: InitiationProtocol); /** * 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(): TrainAgentRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): TrainAgentRequest.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): TrainAgentRequest.AsProtobufJSON; } export declare namespace TrainAgentRequest { /** * Standard JavaScript object representation for TrainAgentRequest */ interface AsObject { parent: string; branch: string; initiationProtocol: InitiationProtocol; } /** * Protobuf JSON representation for TrainAgentRequest */ interface AsProtobufJSON { parent: string; branch: string; initiationProtocol: string; } } /** * Message implementation for ondewo.nlu.BuildCacheRequest */ export declare class BuildCacheRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): BuildCacheRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: BuildCacheRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: BuildCacheRequest, _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: BuildCacheRequest, _writer: BinaryWriter): void; private _parent; private _branch; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of BuildCacheRequest to deeply clone from */ constructor(_value?: RecursivePartial<BuildCacheRequest.AsObject>); get parent(): string; set parent(value: string); get branch(): string; set branch(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(): BuildCacheRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): BuildCacheRequest.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): BuildCacheRequest.AsProtobufJSON; } export declare namespace BuildCacheRequest { /** * Standard JavaScript object representation for BuildCacheRequest */ interface AsObject { parent: string; branch: string; } /** * Protobuf JSON representation for BuildCacheRequest */ interface AsProtobufJSON { parent: string; branch: string; } } /** * Message implementation for ondewo.nlu.ExportAgentRequest */ export declare class ExportAgentRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ExportAgentRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ExportAgentRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ExportAgentRequest, _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: ExportAgentRequest, _writer: BinaryWriter): void; private _parent; private _agentUri; private _compressionLevel; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ExportAgentRequest to deeply clone from */ constructor(_value?: RecursivePartial<ExportAgentRequest.AsObject>); get parent(): string; set parent(value: string); get agentUri(): string; set agentUri(value: string); get compressionLevel(): number; set compressionLevel(value: number); /** * 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(): ExportAgentRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ExportAgentRequest.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): ExportAgentRequest.AsProtobufJSON; } export declare namespace ExportAgentRequest { /** * Standard JavaScript object representation for ExportAgentRequest */ interface AsObject { parent: string; agentUri: string; compressionLevel: number; } /** * Protobuf JSON representation for ExportAgentRequest */ interface AsProtobufJSON { parent: string; agentUri: string; compressionLevel: number; } } /** * Message implementation for ondewo.nlu.ExportAgentResponse */ export declare class ExportAgentResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ExportAgentResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ExportAgentResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ExportAgentResponse, _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: ExportAgentResponse, _writer: BinaryWriter): void; private _agentUri; private _agentContent; private _agent; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ExportAgentResponse to deeply clone from */ constructor(_value?: RecursivePartial<ExportAgentResponse.AsObject>); get agentUri(): string; set agentUri(value: string); get agentContent(): Uint8Array; set agentContent(value: Uint8Array); get agent(): ExportAgentResponse.AgentCase; /** * 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(): ExportAgentResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ExportAgentResponse.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): ExportAgentResponse.AsProtobufJSON; } export declare namespace ExportAgentResponse { /** * Standard JavaScript object representation for ExportAgentResponse */ interface AsObject { agentUri: string; agentContent: Uint8Array; } /** * Protobuf JSON representation for ExportAgentResponse */ interface AsProtobufJSON { agentUri: string | null; agentContent: string; } enum AgentCase { none = 0, agentUri = 1, agentContent = 2 } } /** * Message implementation for ondewo.nlu.ExportBenchmarkAgentRequest */ export declare class ExportBenchmarkAgentRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ExportBenchmarkAgentRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ExportBenchmarkAgentRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ExportBenchmarkAgentRequest, _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: ExportBenchmarkAgentRequest, _writer: BinaryWriter): void; private _parent; private _compressionLevel; private _testSize; private _trainSize; private _randomState; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ExportBenchmarkAgentRequest to deeply clone from */ constructor(_value?: RecursivePartial<ExportBenchmarkAgentRequest.AsObject>); get parent(): string; set parent(value: string); get compressionLevel(): number; set compressionLevel(value: number); get testSize(): number; set testSize(value: number); get trainSize(): number; set trainSize(value: number); get randomState(): number; set randomState(value: number); /** * 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(): ExportBenchmarkAgentRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ExportBenchmarkAgentRequest.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): ExportBenchmarkAgentRequest.AsProtobufJSON; } export declare namespace ExportBenchmarkAgentRequest { /** * Standard JavaScript object representation for ExportBenchmarkAgentRequest */ interface AsObject { parent: string; compressionLevel: number; testSize: number; trainSize: number; randomState: number; } /** * Protobuf JSON representation for ExportBenchmarkAgentRequest */ interface AsProtobufJSON { parent: string; compressionLevel: number; testSize: number; trainSize: number; randomState: number; } } /** * Message implementatio