UNPKG

@ondewo/csi-client-nodejs

Version:

ONDEWO Communication System Integration (CSI) Client library for Nodejs

1,088 lines (978 loc) 143 kB
// package: ondewo.nlu // file: ondewo/nlu/session.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; import * as google_protobuf_field_mask_pb from "google-protobuf/google/protobuf/field_mask_pb"; import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; import * as google_rpc_status_pb from "../../google/rpc/status_pb"; import * as google_type_latlng_pb from "../../google/type/latlng_pb"; import * as ondewo_nlu_common_pb from "../../ondewo/nlu/common_pb"; import * as ondewo_nlu_context_pb from "../../ondewo/nlu/context_pb"; import * as ondewo_nlu_intent_pb from "../../ondewo/nlu/intent_pb"; import * as ondewo_nlu_entity_type_pb from "../../ondewo/nlu/entity_type_pb"; export class DetectIntentRequest extends jspb.Message { getSession(): string; setSession(value: string): DetectIntentRequest; hasQueryParams(): boolean; clearQueryParams(): void; getQueryParams(): QueryParameters | undefined; setQueryParams(value?: QueryParameters): DetectIntentRequest; hasQueryInput(): boolean; clearQueryInput(): void; getQueryInput(): QueryInput | undefined; setQueryInput(value?: QueryInput): DetectIntentRequest; getInputAudio(): Uint8Array | string; getInputAudio_asU8(): Uint8Array; getInputAudio_asB64(): string; setInputAudio(value: Uint8Array | string): DetectIntentRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DetectIntentRequest.AsObject; static toObject(includeInstance: boolean, msg: DetectIntentRequest): DetectIntentRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: DetectIntentRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): DetectIntentRequest; static deserializeBinaryFromReader(message: DetectIntentRequest, reader: jspb.BinaryReader): DetectIntentRequest; } export namespace DetectIntentRequest { export type AsObject = { session: string, queryParams?: QueryParameters.AsObject, queryInput?: QueryInput.AsObject, inputAudio: Uint8Array | string, } } export class DetectIntentResponse extends jspb.Message { getResponseId(): string; setResponseId(value: string): DetectIntentResponse; hasQueryResult(): boolean; clearQueryResult(): void; getQueryResult(): QueryResult | undefined; setQueryResult(value?: QueryResult): DetectIntentResponse; hasWebhookStatus(): boolean; clearWebhookStatus(): void; getWebhookStatus(): google_rpc_status_pb.Status | undefined; setWebhookStatus(value?: google_rpc_status_pb.Status): DetectIntentResponse; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DetectIntentResponse.AsObject; static toObject(includeInstance: boolean, msg: DetectIntentResponse): DetectIntentResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: DetectIntentResponse, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): DetectIntentResponse; static deserializeBinaryFromReader(message: DetectIntentResponse, reader: jspb.BinaryReader): DetectIntentResponse; } export namespace DetectIntentResponse { export type AsObject = { responseId: string, queryResult?: QueryResult.AsObject, webhookStatus?: google_rpc_status_pb.Status.AsObject, } } export class QueryParameters extends jspb.Message { getTimeZone(): string; setTimeZone(value: string): QueryParameters; hasGeoLocation(): boolean; clearGeoLocation(): void; getGeoLocation(): google_type_latlng_pb.LatLng | undefined; setGeoLocation(value?: google_type_latlng_pb.LatLng): QueryParameters; clearContextsList(): void; getContextsList(): Array<ondewo_nlu_context_pb.Context>; setContextsList(value: Array<ondewo_nlu_context_pb.Context>): QueryParameters; addContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context; getResetContexts(): boolean; setResetContexts(value: boolean): QueryParameters; hasPayload(): boolean; clearPayload(): void; getPayload(): google_protobuf_struct_pb.Struct | undefined; setPayload(value?: google_protobuf_struct_pb.Struct): QueryParameters; clearLabelsList(): void; getLabelsList(): Array<string>; setLabelsList(value: Array<string>): QueryParameters; addLabels(value: string, index?: number): string; clearPlatformsList(): void; getPlatformsList(): Array<ondewo_nlu_intent_pb.Intent.Message.Platform>; setPlatformsList(value: Array<ondewo_nlu_intent_pb.Intent.Message.Platform>): QueryParameters; addPlatforms(value: ondewo_nlu_intent_pb.Intent.Message.Platform, index?: number): ondewo_nlu_intent_pb.Intent.Message.Platform; getAccountId(): string; setAccountId(value: string): QueryParameters; getPropertyId(): string; setPropertyId(value: string): QueryParameters; getDatastreamId(): string; setDatastreamId(value: string): QueryParameters; getOriginId(): string; setOriginId(value: string): QueryParameters; getIdentifiedUserId(): string; setIdentifiedUserId(value: string): QueryParameters; clearTranscriptionsList(): void; getTranscriptionsList(): Array<S2tTranscription>; setTranscriptionsList(value: Array<S2tTranscription>): QueryParameters; addTranscriptions(value?: S2tTranscription, index?: number): S2tTranscription; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): QueryParameters.AsObject; static toObject(includeInstance: boolean, msg: QueryParameters): QueryParameters.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: QueryParameters, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): QueryParameters; static deserializeBinaryFromReader(message: QueryParameters, reader: jspb.BinaryReader): QueryParameters; } export namespace QueryParameters { export type AsObject = { timeZone: string, geoLocation?: google_type_latlng_pb.LatLng.AsObject, contextsList: Array<ondewo_nlu_context_pb.Context.AsObject>, resetContexts: boolean, payload?: google_protobuf_struct_pb.Struct.AsObject, labelsList: Array<string>, platformsList: Array<ondewo_nlu_intent_pb.Intent.Message.Platform>, accountId: string, propertyId: string, datastreamId: string, originId: string, identifiedUserId: string, transcriptionsList: Array<S2tTranscription.AsObject>, } } export class S2tTranscription extends jspb.Message { getName(): string; setName(value: string): S2tTranscription; getText(): string; setText(value: string): S2tTranscription; getScore(): number; setScore(value: number): S2tTranscription; getLanguageCode(): string; setLanguageCode(value: string): S2tTranscription; getAudioResourceName(): string; setAudioResourceName(value: string): S2tTranscription; getPipelineId(): string; setPipelineId(value: string): S2tTranscription; getDurationInS(): number; setDurationInS(value: number): S2tTranscription; getTranscriptionType(): TranscriptionType; setTranscriptionType(value: TranscriptionType): S2tTranscription; hasCreatedAt(): boolean; clearCreatedAt(): void; getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): S2tTranscription; hasModifiedAt(): boolean; clearModifiedAt(): void; getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): S2tTranscription; getCreatedBy(): string; setCreatedBy(value: string): S2tTranscription; getModifiedBy(): string; setModifiedBy(value: string): S2tTranscription; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): S2tTranscription.AsObject; static toObject(includeInstance: boolean, msg: S2tTranscription): S2tTranscription.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: S2tTranscription, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): S2tTranscription; static deserializeBinaryFromReader(message: S2tTranscription, reader: jspb.BinaryReader): S2tTranscription; } export namespace S2tTranscription { export type AsObject = { name: string, text: string, score: number, languageCode: string, audioResourceName: string, pipelineId: string, durationInS: number, transcriptionType: TranscriptionType, createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, createdBy: string, modifiedBy: string, } } export class QueryInput extends jspb.Message { hasAudioConfig(): boolean; clearAudioConfig(): void; getAudioConfig(): InputAudioConfig | undefined; setAudioConfig(value?: InputAudioConfig): QueryInput; hasText(): boolean; clearText(): void; getText(): TextInput | undefined; setText(value?: TextInput): QueryInput; hasEvent(): boolean; clearEvent(): void; getEvent(): EventInput | undefined; setEvent(value?: EventInput): QueryInput; clearFileResourcesList(): void; getFileResourcesList(): Array<FileResource>; setFileResourcesList(value: Array<FileResource>): QueryInput; addFileResources(value?: FileResource, index?: number): FileResource; getInputCase(): QueryInput.InputCase; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): QueryInput.AsObject; static toObject(includeInstance: boolean, msg: QueryInput): QueryInput.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: QueryInput, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): QueryInput; static deserializeBinaryFromReader(message: QueryInput, reader: jspb.BinaryReader): QueryInput; } export namespace QueryInput { export type AsObject = { audioConfig?: InputAudioConfig.AsObject, text?: TextInput.AsObject, event?: EventInput.AsObject, fileResourcesList: Array<FileResource.AsObject>, } export enum InputCase { INPUT_NOT_SET = 0, AUDIO_CONFIG = 1, TEXT = 2, EVENT = 3, } } export class QueryResult extends jspb.Message { getQueryText(): string; setQueryText(value: string): QueryResult; getSpeechRecognitionConfidence(): number; setSpeechRecognitionConfidence(value: number): QueryResult; getAction(): string; setAction(value: string): QueryResult; hasParameters(): boolean; clearParameters(): void; getParameters(): google_protobuf_struct_pb.Struct | undefined; setParameters(value?: google_protobuf_struct_pb.Struct): QueryResult; getAllRequiredParamsPresent(): boolean; setAllRequiredParamsPresent(value: boolean): QueryResult; getFulfillmentText(): string; setFulfillmentText(value: string): QueryResult; clearFulfillmentMessagesList(): void; getFulfillmentMessagesList(): Array<ondewo_nlu_intent_pb.Intent.Message>; setFulfillmentMessagesList(value: Array<ondewo_nlu_intent_pb.Intent.Message>): QueryResult; addFulfillmentMessages(value?: ondewo_nlu_intent_pb.Intent.Message, index?: number): ondewo_nlu_intent_pb.Intent.Message; getWebhookSource(): string; setWebhookSource(value: string): QueryResult; hasWebhookPayload(): boolean; clearWebhookPayload(): void; getWebhookPayload(): google_protobuf_struct_pb.Struct | undefined; setWebhookPayload(value?: google_protobuf_struct_pb.Struct): QueryResult; clearOutputContextsList(): void; getOutputContextsList(): Array<ondewo_nlu_context_pb.Context>; setOutputContextsList(value: Array<ondewo_nlu_context_pb.Context>): QueryResult; addOutputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context; hasIntent(): boolean; clearIntent(): void; getIntent(): ondewo_nlu_intent_pb.Intent | undefined; setIntent(value?: ondewo_nlu_intent_pb.Intent): QueryResult; getIntentDetectionConfidence(): number; setIntentDetectionConfidence(value: number): QueryResult; getQueryTextOriginal(): string; setQueryTextOriginal(value: string): QueryResult; hasDiagnosticInfo(): boolean; clearDiagnosticInfo(): void; getDiagnosticInfo(): google_protobuf_struct_pb.Struct | undefined; setDiagnosticInfo(value?: google_protobuf_struct_pb.Struct): QueryResult; getLanguageCode(): string; setLanguageCode(value: string): QueryResult; clearFileResourcesList(): void; getFileResourcesList(): Array<FileResource>; setFileResourcesList(value: Array<FileResource>): QueryResult; addFileResources(value?: FileResource, index?: number): FileResource; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): QueryResult.AsObject; static toObject(includeInstance: boolean, msg: QueryResult): QueryResult.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: QueryResult, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): QueryResult; static deserializeBinaryFromReader(message: QueryResult, reader: jspb.BinaryReader): QueryResult; } export namespace QueryResult { export type AsObject = { queryText: string, speechRecognitionConfidence: number, action: string, parameters?: google_protobuf_struct_pb.Struct.AsObject, allRequiredParamsPresent: boolean, fulfillmentText: string, fulfillmentMessagesList: Array<ondewo_nlu_intent_pb.Intent.Message.AsObject>, webhookSource: string, webhookPayload?: google_protobuf_struct_pb.Struct.AsObject, outputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>, intent?: ondewo_nlu_intent_pb.Intent.AsObject, intentDetectionConfidence: number, queryTextOriginal: string, diagnosticInfo?: google_protobuf_struct_pb.Struct.AsObject, languageCode: string, fileResourcesList: Array<FileResource.AsObject>, } } export class StreamingDetectIntentRequest extends jspb.Message { getSession(): string; setSession(value: string): StreamingDetectIntentRequest; hasQueryParams(): boolean; clearQueryParams(): void; getQueryParams(): QueryParameters | undefined; setQueryParams(value?: QueryParameters): StreamingDetectIntentRequest; hasQueryInput(): boolean; clearQueryInput(): void; getQueryInput(): QueryInput | undefined; setQueryInput(value?: QueryInput): StreamingDetectIntentRequest; getSingleUtterance(): boolean; setSingleUtterance(value: boolean): StreamingDetectIntentRequest; getInputAudio(): Uint8Array | string; getInputAudio_asU8(): Uint8Array; getInputAudio_asB64(): string; setInputAudio(value: Uint8Array | string): StreamingDetectIntentRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): StreamingDetectIntentRequest.AsObject; static toObject(includeInstance: boolean, msg: StreamingDetectIntentRequest): StreamingDetectIntentRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: StreamingDetectIntentRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): StreamingDetectIntentRequest; static deserializeBinaryFromReader(message: StreamingDetectIntentRequest, reader: jspb.BinaryReader): StreamingDetectIntentRequest; } export namespace StreamingDetectIntentRequest { export type AsObject = { session: string, queryParams?: QueryParameters.AsObject, queryInput?: QueryInput.AsObject, singleUtterance: boolean, inputAudio: Uint8Array | string, } } export class StreamingDetectIntentResponse extends jspb.Message { getResponseId(): string; setResponseId(value: string): StreamingDetectIntentResponse; hasRecognitionResult(): boolean; clearRecognitionResult(): void; getRecognitionResult(): StreamingRecognitionResult | undefined; setRecognitionResult(value?: StreamingRecognitionResult): StreamingDetectIntentResponse; hasQueryResult(): boolean; clearQueryResult(): void; getQueryResult(): QueryResult | undefined; setQueryResult(value?: QueryResult): StreamingDetectIntentResponse; hasWebhookStatus(): boolean; clearWebhookStatus(): void; getWebhookStatus(): google_rpc_status_pb.Status | undefined; setWebhookStatus(value?: google_rpc_status_pb.Status): StreamingDetectIntentResponse; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): StreamingDetectIntentResponse.AsObject; static toObject(includeInstance: boolean, msg: StreamingDetectIntentResponse): StreamingDetectIntentResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: StreamingDetectIntentResponse, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): StreamingDetectIntentResponse; static deserializeBinaryFromReader(message: StreamingDetectIntentResponse, reader: jspb.BinaryReader): StreamingDetectIntentResponse; } export namespace StreamingDetectIntentResponse { export type AsObject = { responseId: string, recognitionResult?: StreamingRecognitionResult.AsObject, queryResult?: QueryResult.AsObject, webhookStatus?: google_rpc_status_pb.Status.AsObject, } } export class StreamingRecognitionResult extends jspb.Message { getMessageType(): StreamingRecognitionResult.MessageType; setMessageType(value: StreamingRecognitionResult.MessageType): StreamingRecognitionResult; getTranscript(): string; setTranscript(value: string): StreamingRecognitionResult; getIsFinal(): boolean; setIsFinal(value: boolean): StreamingRecognitionResult; getConfidence(): number; setConfidence(value: number): StreamingRecognitionResult; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): StreamingRecognitionResult.AsObject; static toObject(includeInstance: boolean, msg: StreamingRecognitionResult): StreamingRecognitionResult.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: StreamingRecognitionResult, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): StreamingRecognitionResult; static deserializeBinaryFromReader(message: StreamingRecognitionResult, reader: jspb.BinaryReader): StreamingRecognitionResult; } export namespace StreamingRecognitionResult { export type AsObject = { messageType: StreamingRecognitionResult.MessageType, transcript: string, isFinal: boolean, confidence: number, } export enum MessageType { MESSAGE_TYPE_UNSPECIFIED = 0, TRANSCRIPT = 1, END_OF_SINGLE_UTTERANCE = 2, } } export class InputAudioConfig extends jspb.Message { getAudioEncoding(): AudioEncoding; setAudioEncoding(value: AudioEncoding): InputAudioConfig; getSampleRateHertz(): number; setSampleRateHertz(value: number): InputAudioConfig; getLanguageCode(): string; setLanguageCode(value: string): InputAudioConfig; clearPhraseHintsList(): void; getPhraseHintsList(): Array<string>; setPhraseHintsList(value: Array<string>): InputAudioConfig; addPhraseHints(value: string, index?: number): string; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): InputAudioConfig.AsObject; static toObject(includeInstance: boolean, msg: InputAudioConfig): InputAudioConfig.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: InputAudioConfig, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): InputAudioConfig; static deserializeBinaryFromReader(message: InputAudioConfig, reader: jspb.BinaryReader): InputAudioConfig; } export namespace InputAudioConfig { export type AsObject = { audioEncoding: AudioEncoding, sampleRateHertz: number, languageCode: string, phraseHintsList: Array<string>, } } export class TextInput extends jspb.Message { getText(): string; setText(value: string): TextInput; getLanguageCode(): string; setLanguageCode(value: string): TextInput; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): TextInput.AsObject; static toObject(includeInstance: boolean, msg: TextInput): TextInput.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: TextInput, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): TextInput; static deserializeBinaryFromReader(message: TextInput, reader: jspb.BinaryReader): TextInput; } export namespace TextInput { export type AsObject = { text: string, languageCode: string, } } export class EventInput extends jspb.Message { getName(): string; setName(value: string): EventInput; hasParameters(): boolean; clearParameters(): void; getParameters(): google_protobuf_struct_pb.Struct | undefined; setParameters(value?: google_protobuf_struct_pb.Struct): EventInput; getLanguageCode(): string; setLanguageCode(value: string): EventInput; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): EventInput.AsObject; static toObject(includeInstance: boolean, msg: EventInput): EventInput.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: EventInput, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): EventInput; static deserializeBinaryFromReader(message: EventInput, reader: jspb.BinaryReader): EventInput; } export namespace EventInput { export type AsObject = { name: string, parameters?: google_protobuf_struct_pb.Struct.AsObject, languageCode: string, } } export class Session extends jspb.Message { getName(): string; setName(value: string): Session; clearSessionStepsList(): void; getSessionStepsList(): Array<SessionStep>; setSessionStepsList(value: Array<SessionStep>): Session; addSessionSteps(value?: SessionStep, index?: number): SessionStep; hasSessionInfo(): boolean; clearSessionInfo(): void; getSessionInfo(): SessionInfo | undefined; setSessionInfo(value?: SessionInfo): Session; hasCreatedAt(): boolean; clearCreatedAt(): void; getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Session; hasModifiedAt(): boolean; clearModifiedAt(): void; getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Session; getCreatedBy(): string; setCreatedBy(value: string): Session; getModifiedBy(): string; setModifiedBy(value: string): Session; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Session.AsObject; static toObject(includeInstance: boolean, msg: Session): Session.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: Session, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Session; static deserializeBinaryFromReader(message: Session, reader: jspb.BinaryReader): Session; } export namespace Session { export type AsObject = { name: string, sessionStepsList: Array<SessionStep.AsObject>, sessionInfo?: SessionInfo.AsObject, createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, createdBy: string, modifiedBy: string, } export enum View { VIEW_UNSPECIFIED = 0, VIEW_FULL = 1, VIEW_SPARSE = 2, } } export class SessionStep extends jspb.Message { getName(): string; setName(value: string): SessionStep; hasDetectIntentRequest(): boolean; clearDetectIntentRequest(): void; getDetectIntentRequest(): DetectIntentRequest | undefined; setDetectIntentRequest(value?: DetectIntentRequest): SessionStep; hasDetectIntentResponse(): boolean; clearDetectIntentResponse(): void; getDetectIntentResponse(): DetectIntentResponse | undefined; setDetectIntentResponse(value?: DetectIntentResponse): SessionStep; clearContextsList(): void; getContextsList(): Array<ondewo_nlu_context_pb.Context>; setContextsList(value: Array<ondewo_nlu_context_pb.Context>): SessionStep; addContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context; hasTimestamp(): boolean; clearTimestamp(): void; getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): SessionStep; hasCreatedAt(): boolean; clearCreatedAt(): void; getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): SessionStep; hasModifiedAt(): boolean; clearModifiedAt(): void; getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): SessionStep; getCreatedBy(): string; setCreatedBy(value: string): SessionStep; getModifiedBy(): string; setModifiedBy(value: string): SessionStep; clearAudioFileResourcesList(): void; getAudioFileResourcesList(): Array<AudioFileResource>; setAudioFileResourcesList(value: Array<AudioFileResource>): SessionStep; addAudioFileResources(value?: AudioFileResource, index?: number): AudioFileResource; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SessionStep.AsObject; static toObject(includeInstance: boolean, msg: SessionStep): SessionStep.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: SessionStep, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): SessionStep; static deserializeBinaryFromReader(message: SessionStep, reader: jspb.BinaryReader): SessionStep; } export namespace SessionStep { export type AsObject = { name: string, detectIntentRequest?: DetectIntentRequest.AsObject, detectIntentResponse?: DetectIntentResponse.AsObject, contextsList: Array<ondewo_nlu_context_pb.Context.AsObject>, timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, createdBy: string, modifiedBy: string, audioFileResourcesList: Array<AudioFileResource.AsObject>, } } export class GetSessionStepRequest extends jspb.Message { getName(): string; setName(value: string): GetSessionStepRequest; hasFieldMask(): boolean; clearFieldMask(): void; getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined; setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): GetSessionStepRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetSessionStepRequest.AsObject; static toObject(includeInstance: boolean, msg: GetSessionStepRequest): GetSessionStepRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: GetSessionStepRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): GetSessionStepRequest; static deserializeBinaryFromReader(message: GetSessionStepRequest, reader: jspb.BinaryReader): GetSessionStepRequest; } export namespace GetSessionStepRequest { export type AsObject = { name: string, fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, } } export class UpdateSessionStepRequest extends jspb.Message { hasSessionStep(): boolean; clearSessionStep(): void; getSessionStep(): SessionStep | undefined; setSessionStep(value?: SessionStep): UpdateSessionStepRequest; hasUpdateMask(): boolean; clearUpdateMask(): void; getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined; setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): UpdateSessionStepRequest; hasFieldMask(): boolean; clearFieldMask(): void; getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined; setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): UpdateSessionStepRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateSessionStepRequest.AsObject; static toObject(includeInstance: boolean, msg: UpdateSessionStepRequest): UpdateSessionStepRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: UpdateSessionStepRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): UpdateSessionStepRequest; static deserializeBinaryFromReader(message: UpdateSessionStepRequest, reader: jspb.BinaryReader): UpdateSessionStepRequest; } export namespace UpdateSessionStepRequest { export type AsObject = { sessionStep?: SessionStep.AsObject, updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, } } export class DeleteSessionStepRequest extends jspb.Message { getName(): string; setName(value: string): DeleteSessionStepRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteSessionStepRequest.AsObject; static toObject(includeInstance: boolean, msg: DeleteSessionStepRequest): DeleteSessionStepRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: DeleteSessionStepRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): DeleteSessionStepRequest; static deserializeBinaryFromReader(message: DeleteSessionStepRequest, reader: jspb.BinaryReader): DeleteSessionStepRequest; } export namespace DeleteSessionStepRequest { export type AsObject = { name: string, } } export class CreateSessionStepRequest extends jspb.Message { getSessionId(): string; setSessionId(value: string): CreateSessionStepRequest; hasSessionStep(): boolean; clearSessionStep(): void; getSessionStep(): SessionStep | undefined; setSessionStep(value?: SessionStep): CreateSessionStepRequest; hasFieldMask(): boolean; clearFieldMask(): void; getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined; setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): CreateSessionStepRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateSessionStepRequest.AsObject; static toObject(includeInstance: boolean, msg: CreateSessionStepRequest): CreateSessionStepRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: CreateSessionStepRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): CreateSessionStepRequest; static deserializeBinaryFromReader(message: CreateSessionStepRequest, reader: jspb.BinaryReader): CreateSessionStepRequest; } export namespace CreateSessionStepRequest { export type AsObject = { sessionId: string, sessionStep?: SessionStep.AsObject, fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, } } export class ListSessionsRequest extends jspb.Message { getParent(): string; setParent(value: string): ListSessionsRequest; getSessionView(): Session.View; setSessionView(value: Session.View): ListSessionsRequest; getPageToken(): string; setPageToken(value: string): ListSessionsRequest; hasSessionFilter(): boolean; clearSessionFilter(): void; getSessionFilter(): SessionFilter | undefined; setSessionFilter(value?: SessionFilter): ListSessionsRequest; hasFieldMask(): boolean; clearFieldMask(): void; getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined; setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): ListSessionsRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListSessionsRequest.AsObject; static toObject(includeInstance: boolean, msg: ListSessionsRequest): ListSessionsRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: ListSessionsRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): ListSessionsRequest; static deserializeBinaryFromReader(message: ListSessionsRequest, reader: jspb.BinaryReader): ListSessionsRequest; } export namespace ListSessionsRequest { export type AsObject = { parent: string, sessionView: Session.View, pageToken: string, sessionFilter?: SessionFilter.AsObject, fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, } } export class ContextFilter extends jspb.Message { getContextName(): string; setContextName(value: string): ContextFilter; getKey(): string; setKey(value: string): ContextFilter; getValue(): string; setValue(value: string): ContextFilter; getOperator(): ComparisonOperator; setOperator(value: ComparisonOperator): ContextFilter; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ContextFilter.AsObject; static toObject(includeInstance: boolean, msg: ContextFilter): ContextFilter.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: ContextFilter, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): ContextFilter; static deserializeBinaryFromReader(message: ContextFilter, reader: jspb.BinaryReader): ContextFilter; } export namespace ContextFilter { export type AsObject = { contextName: string, key: string, value: string, operator: ComparisonOperator, } } export class SessionFilter extends jspb.Message { clearLanguageCodesList(): void; getLanguageCodesList(): Array<string>; setLanguageCodesList(value: Array<string>): SessionFilter; addLanguageCodes(value: string, index?: number): string; clearMatchedIntentsList(): void; getMatchedIntentsList(): Array<ondewo_nlu_intent_pb.Intent>; setMatchedIntentsList(value: Array<ondewo_nlu_intent_pb.Intent>): SessionFilter; addMatchedIntents(value?: ondewo_nlu_intent_pb.Intent, index?: number): ondewo_nlu_intent_pb.Intent; clearMatchedEntityTypesList(): void; getMatchedEntityTypesList(): Array<ondewo_nlu_entity_type_pb.EntityType>; setMatchedEntityTypesList(value: Array<ondewo_nlu_entity_type_pb.EntityType>): SessionFilter; addMatchedEntityTypes(value?: ondewo_nlu_entity_type_pb.EntityType, index?: number): ondewo_nlu_entity_type_pb.EntityType; getMinIntentsConfidenceMin(): number; setMinIntentsConfidenceMin(value: number): SessionFilter; getMinIntentsConfidenceMax(): number; setMinIntentsConfidenceMax(value: number): SessionFilter; getMinEntityTypesConfidenceMin(): number; setMinEntityTypesConfidenceMin(value: number): SessionFilter; getMinEntityTypesConfidenceMax(): number; setMinEntityTypesConfidenceMax(value: number): SessionFilter; getEarliest(): number; setEarliest(value: number): SessionFilter; getLatest(): number; setLatest(value: number): SessionFilter; getMinNumberTurns(): number; setMinNumberTurns(value: number): SessionFilter; getMaxNumberTurns(): number; setMaxNumberTurns(value: number): SessionFilter; clearLabelsList(): void; getLabelsList(): Array<string>; setLabelsList(value: Array<string>): SessionFilter; addLabels(value: string, index?: number): string; clearUserIdsList(): void; getUserIdsList(): Array<string>; setUserIdsList(value: Array<string>): SessionFilter; addUserIds(value: string, index?: number): string; clearIntentTagsList(): void; getIntentTagsList(): Array<string>; setIntentTagsList(value: Array<string>): SessionFilter; addIntentTags(value: string, index?: number): string; clearSessionIdsList(): void; getSessionIdsList(): Array<string>; setSessionIdsList(value: Array<string>): SessionFilter; addSessionIds(value: string, index?: number): string; clearInputContextsList(): void; getInputContextsList(): Array<ondewo_nlu_context_pb.Context>; setInputContextsList(value: Array<ondewo_nlu_context_pb.Context>): SessionFilter; addInputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context; clearOutputContextsList(): void; getOutputContextsList(): Array<ondewo_nlu_context_pb.Context>; setOutputContextsList(value: Array<ondewo_nlu_context_pb.Context>): SessionFilter; addOutputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context; getDurationInSMin(): number; setDurationInSMin(value: number): SessionFilter; getDurationInSMax(): number; setDurationInSMax(value: number): SessionFilter; getDurationInMMin(): number; setDurationInMMin(value: number): SessionFilter; getDurationInMMax(): number; setDurationInMMax(value: number): SessionFilter; getDurationInMRoundedMin(): number; setDurationInMRoundedMin(value: number): SessionFilter; getDurationInMRoundedMax(): number; setDurationInMRoundedMax(value: number): SessionFilter; getDurationInterval15sRoundedMin(): number; setDurationInterval15sRoundedMin(value: number): SessionFilter; getDurationInterval15sRoundedMax(): number; setDurationInterval15sRoundedMax(value: number): SessionFilter; getDurationInterval30sRoundedMin(): number; setDurationInterval30sRoundedMin(value: number): SessionFilter; getDurationInterval30sRoundedMax(): number; setDurationInterval30sRoundedMax(value: number): SessionFilter; getDurationInterval45sRoundedMin(): number; setDurationInterval45sRoundedMin(value: number): SessionFilter; getDurationInterval45sRoundedMax(): number; setDurationInterval45sRoundedMax(value: number): SessionFilter; getStartedTimeSlotPerHourMin(): string; setStartedTimeSlotPerHourMin(value: string): SessionFilter; getStartedTimeSlotPerHourMax(): string; setStartedTimeSlotPerHourMax(value: string): SessionFilter; getStartedTimeSlotPerQuarterHourMin(): string; setStartedTimeSlotPerQuarterHourMin(value: string): SessionFilter; getStartedTimeSlotPerQuarterHourMax(): string; setStartedTimeSlotPerQuarterHourMax(value: string): SessionFilter; getStartedTimeSlotPerHalfHourMin(): string; setStartedTimeSlotPerHalfHourMin(value: string): SessionFilter; getStartedTimeSlotPerHalfHourMax(): string; setStartedTimeSlotPerHalfHourMax(value: string): SessionFilter; getStartedTimeSlotPerDayPhaseMin(): string; setStartedTimeSlotPerDayPhaseMin(value: string): SessionFilter; getStartedTimeSlotPerDayPhaseMax(): string; setStartedTimeSlotPerDayPhaseMax(value: string): SessionFilter; getStartedTimeSlotPerMinuteMin(): string; setStartedTimeSlotPerMinuteMin(value: string): SessionFilter; getStartedTimeSlotPerMinuteMax(): string; setStartedTimeSlotPerMinuteMax(value: string): SessionFilter; getDurationInSRoundedMin(): number; setDurationInSRoundedMin(value: number): SessionFilter; getDurationInSRoundedMax(): number; setDurationInSRoundedMax(value: number): SessionFilter; clearPlatformsList(): void; getPlatformsList(): Array<ondewo_nlu_intent_pb.Intent.Message.Platform>; setPlatformsList(value: Array<ondewo_nlu_intent_pb.Intent.Message.Platform>): SessionFilter; addPlatforms(value: ondewo_nlu_intent_pb.Intent.Message.Platform, index?: number): ondewo_nlu_intent_pb.Intent.Message.Platform; clearAccountIdsList(): void; getAccountIdsList(): Array<string>; setAccountIdsList(value: Array<string>): SessionFilter; addAccountIds(value: string, index?: number): string; clearPropertyIdsList(): void; getPropertyIdsList(): Array<string>; setPropertyIdsList(value: Array<string>): SessionFilter; addPropertyIds(value: string, index?: number): string; clearDatastreamIdsList(): void; getDatastreamIdsList(): Array<string>; setDatastreamIdsList(value: Array<string>): SessionFilter; addDatastreamIds(value: string, index?: number): string; clearOriginIdsList(): void; getOriginIdsList(): Array<string>; setOriginIdsList(value: Array<string>): SessionFilter; addOriginIds(value: string, index?: number): string; clearIdentifiedUserIdsList(): void; getIdentifiedUserIdsList(): Array<string>; setIdentifiedUserIdsList(value: Array<string>): SessionFilter; addIdentifiedUserIds(value: string, index?: number): string; getDurationInterval60sRoundedMin(): number; setDurationInterval60sRoundedMin(value: number): SessionFilter; getDurationInterval60sRoundedMax(): number; setDurationInterval60sRoundedMax(value: number): SessionFilter; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SessionFilter.AsObject; static toObject(includeInstance: boolean, msg: SessionFilter): SessionFilter.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: SessionFilter, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): SessionFilter; static deserializeBinaryFromReader(message: SessionFilter, reader: jspb.BinaryReader): SessionFilter; } export namespace SessionFilter { export type AsObject = { languageCodesList: Array<string>, matchedIntentsList: Array<ondewo_nlu_intent_pb.Intent.AsObject>, matchedEntityTypesList: Array<ondewo_nlu_entity_type_pb.EntityType.AsObject>, minIntentsConfidenceMin: number, minIntentsConfidenceMax: number, minEntityTypesConfidenceMin: number, minEntityTypesConfidenceMax: number, earliest: number, latest: number, minNumberTurns: number, maxNumberTurns: number, labelsList: Array<string>, userIdsList: Array<string>, intentTagsList: Array<string>, sessionIdsList: Array<string>, inputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>, outputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>, durationInSMin: number, durationInSMax: number, durationInMMin: number, durationInMMax: number, durationInMRoundedMin: number, durationInMRoundedMax: number, durationInterval15sRoundedMin: number, durationInterval15sRoundedMax: number, durationInterval30sRoundedMin: number, durationInterval30sRoundedMax: number, durationInterval45sRoundedMin: number, durationInterval45sRoundedMax: number, startedTimeSlotPerHourMin: string, startedTimeSlotPerHourMax: string, startedTimeSlotPerQuarterHourMin: string, startedTimeSlotPerQuarterHourMax: string, startedTimeSlotPerHalfHourMin: string, startedTimeSlotPerHalfHourMax: string, startedTimeSlotPerDayPhaseMin: string, startedTimeSlotPerDayPhaseMax: string, startedTimeSlotPerMinuteMin: string, startedTimeSlotPerMinuteMax: string, durationInSRoundedMin: number, durationInSRoundedMax: number, platformsList: Array<ondewo_nlu_intent_pb.Intent.Message.Platform>, accountIdsList: Array<string>, propertyIdsList: Array<string>, datastreamIdsList: Array<string>, originIdsList: Array<string>, identifiedUserIdsList: Array<string>, durationInterval60sRoundedMin: number, durationInterval60sRoundedMax: number, } } export class SessionInfo extends jspb.Message { clearLanguageCodesList(): void; getLanguageCodesList(): Array<string>; setLanguageCodesList(value: Array<string>): SessionInfo; addLanguageCodes(value: string, index?: number): string; clearMatchedIntentsList(): void; getMatchedIntentsList(): Array<ondewo_nlu_intent_pb.Intent>; setMatchedIntentsList(value: Array<ondewo_nlu_intent_pb.Intent>): SessionInfo; addMatchedIntents(value?: ondewo_nlu_intent_pb.Intent, index?: number): ondewo_nlu_intent_pb.Intent; clearMatchedEntityTypesList(): void; getMatchedEntityTypesList(): Array<ondewo_nlu_entity_type_pb.EntityType>; setMatchedEntityTypesList(value: Array<ondewo_nlu_entity_type_pb.EntityType>): SessionInfo; addMatchedEntityTypes(value?: ondewo_nlu_entity_type_pb.EntityType, index?: number): ondewo_nlu_entity_type_pb.EntityType; getMinIntentsConfidence(): number; setMinIntentsConfidence(value: number): SessionInfo; getMinEntityTypesConfidence(): number; setMinEntityTypesConfidence(value: number): SessionInfo; getEarliest(): number; setEarliest(value: number): SessionInfo; getLatest(): number; setLatest(value: number): SessionInfo; getNumberTurns(): number; setNumberTurns(value: number): SessionInfo; clearLabelsList(): void; getLabelsList(): Array<string>; setLabelsList(value: Array<string>): SessionInfo; addLabels(value: string, index?: number): string; clearUserIdsList(): void; getUserIdsList(): Array<string>; setUserIdsList(value: Array<string>): SessionInfo; addUserIds(value: string, index?: number): string; clearIntentTagsList(): void; getIntentTagsList(): Array<string>; setIntentTagsList(value: Array<string>): SessionInfo; addIntentTags(value: string, index?: number): string; clearInputContextStepsList(): void; getInputContextStepsList(): Array<SessionInfo.ContextSteps>; setInputContextStepsList(value: Array<SessionInfo.ContextSteps>): SessionInfo; addInputContextSteps(value?: SessionInfo.ContextSteps, index?: number): SessionInfo.ContextSteps; clearOutputContextStepsList(): void; getOutputContextStepsList(): Array<SessionInfo.ContextSteps>; setOutputContextStepsList(value: Array<SessionInfo.ContextSteps>): SessionInfo; addOutputContextSteps(value?: SessionInfo.ContextSteps, index?: number): SessionInfo.ContextSteps; getDurationInS(): number; setDurationInS(value: number): SessionInfo; getDurationInM(): number