@ondewo/nlu-client-typescript 4.9.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/ondewo/nlu/session_pb.d.ts +29 -29
- package/api/ondewo/nlu/session_pb.js +85 -85
- package/package.json +1 -1
|
@@ -126,10 +126,10 @@ export class QueryParameters extends jspb.Message {
|
|
|
126
126
|
getIdentifiedUserId(): string;
|
|
127
127
|
setIdentifiedUserId(value: string): QueryParameters;
|
|
128
128
|
|
|
129
|
-
getTranscriptionsList(): Array<
|
|
130
|
-
setTranscriptionsList(value: Array<
|
|
129
|
+
getTranscriptionsList(): Array<S2tTranscription>;
|
|
130
|
+
setTranscriptionsList(value: Array<S2tTranscription>): QueryParameters;
|
|
131
131
|
clearTranscriptionsList(): QueryParameters;
|
|
132
|
-
addTranscriptions(value?:
|
|
132
|
+
addTranscriptions(value?: S2tTranscription, index?: number): S2tTranscription;
|
|
133
133
|
|
|
134
134
|
serializeBinary(): Uint8Array;
|
|
135
135
|
toObject(includeInstance?: boolean): QueryParameters.AsObject;
|
|
@@ -153,60 +153,60 @@ export namespace QueryParameters {
|
|
|
153
153
|
datastreamId: string,
|
|
154
154
|
originId: string,
|
|
155
155
|
identifiedUserId: string,
|
|
156
|
-
transcriptionsList: Array<
|
|
156
|
+
transcriptionsList: Array<S2tTranscription.AsObject>,
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
export class
|
|
160
|
+
export class S2tTranscription extends jspb.Message {
|
|
161
161
|
getName(): string;
|
|
162
|
-
setName(value: string):
|
|
162
|
+
setName(value: string): S2tTranscription;
|
|
163
163
|
|
|
164
164
|
getText(): string;
|
|
165
|
-
setText(value: string):
|
|
165
|
+
setText(value: string): S2tTranscription;
|
|
166
166
|
|
|
167
167
|
getScore(): number;
|
|
168
|
-
setScore(value: number):
|
|
168
|
+
setScore(value: number): S2tTranscription;
|
|
169
169
|
|
|
170
170
|
getLanguageCode(): string;
|
|
171
|
-
setLanguageCode(value: string):
|
|
171
|
+
setLanguageCode(value: string): S2tTranscription;
|
|
172
172
|
|
|
173
173
|
getAudioResourceName(): string;
|
|
174
|
-
setAudioResourceName(value: string):
|
|
174
|
+
setAudioResourceName(value: string): S2tTranscription;
|
|
175
175
|
|
|
176
176
|
getPipelineId(): string;
|
|
177
|
-
setPipelineId(value: string):
|
|
177
|
+
setPipelineId(value: string): S2tTranscription;
|
|
178
178
|
|
|
179
179
|
getDurationInS(): number;
|
|
180
|
-
setDurationInS(value: number):
|
|
180
|
+
setDurationInS(value: number): S2tTranscription;
|
|
181
181
|
|
|
182
182
|
getTranscriptionType(): TranscriptionType;
|
|
183
|
-
setTranscriptionType(value: TranscriptionType):
|
|
183
|
+
setTranscriptionType(value: TranscriptionType): S2tTranscription;
|
|
184
184
|
|
|
185
185
|
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
186
|
-
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp):
|
|
186
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): S2tTranscription;
|
|
187
187
|
hasCreatedAt(): boolean;
|
|
188
|
-
clearCreatedAt():
|
|
188
|
+
clearCreatedAt(): S2tTranscription;
|
|
189
189
|
|
|
190
190
|
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
191
|
-
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp):
|
|
191
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): S2tTranscription;
|
|
192
192
|
hasModifiedAt(): boolean;
|
|
193
|
-
clearModifiedAt():
|
|
193
|
+
clearModifiedAt(): S2tTranscription;
|
|
194
194
|
|
|
195
195
|
getCreatedBy(): string;
|
|
196
|
-
setCreatedBy(value: string):
|
|
196
|
+
setCreatedBy(value: string): S2tTranscription;
|
|
197
197
|
|
|
198
198
|
getModifiedBy(): string;
|
|
199
|
-
setModifiedBy(value: string):
|
|
199
|
+
setModifiedBy(value: string): S2tTranscription;
|
|
200
200
|
|
|
201
201
|
serializeBinary(): Uint8Array;
|
|
202
|
-
toObject(includeInstance?: boolean):
|
|
203
|
-
static toObject(includeInstance: boolean, msg:
|
|
204
|
-
static serializeBinaryToWriter(message:
|
|
205
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
206
|
-
static deserializeBinaryFromReader(message:
|
|
202
|
+
toObject(includeInstance?: boolean): S2tTranscription.AsObject;
|
|
203
|
+
static toObject(includeInstance: boolean, msg: S2tTranscription): S2tTranscription.AsObject;
|
|
204
|
+
static serializeBinaryToWriter(message: S2tTranscription, writer: jspb.BinaryWriter): void;
|
|
205
|
+
static deserializeBinary(bytes: Uint8Array): S2tTranscription;
|
|
206
|
+
static deserializeBinaryFromReader(message: S2tTranscription, reader: jspb.BinaryReader): S2tTranscription;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
export namespace
|
|
209
|
+
export namespace S2tTranscription {
|
|
210
210
|
export type AsObject = {
|
|
211
211
|
name: string,
|
|
212
212
|
text: string,
|
|
@@ -2428,10 +2428,10 @@ export class AudioFileResource extends jspb.Message {
|
|
|
2428
2428
|
getAudioFileResourceType(): AudioFileResourceType;
|
|
2429
2429
|
setAudioFileResourceType(value: AudioFileResourceType): AudioFileResource;
|
|
2430
2430
|
|
|
2431
|
-
getTranscriptionsList(): Array<
|
|
2432
|
-
setTranscriptionsList(value: Array<
|
|
2431
|
+
getTranscriptionsList(): Array<S2tTranscription>;
|
|
2432
|
+
setTranscriptionsList(value: Array<S2tTranscription>): AudioFileResource;
|
|
2433
2433
|
clearTranscriptionsList(): AudioFileResource;
|
|
2434
|
-
addTranscriptions(value?:
|
|
2434
|
+
addTranscriptions(value?: S2tTranscription, index?: number): S2tTranscription;
|
|
2435
2435
|
|
|
2436
2436
|
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
2437
2437
|
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): AudioFileResource;
|
|
@@ -2465,7 +2465,7 @@ export namespace AudioFileResource {
|
|
|
2465
2465
|
durationInS: number,
|
|
2466
2466
|
sampleRate: number,
|
|
2467
2467
|
audioFileResourceType: AudioFileResourceType,
|
|
2468
|
-
transcriptionsList: Array<
|
|
2468
|
+
transcriptionsList: Array<S2tTranscription.AsObject>,
|
|
2469
2469
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
2470
2470
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
2471
2471
|
createdBy: string,
|
|
@@ -106,6 +106,7 @@ goog.exportSymbol('proto.ondewo.nlu.QueryInput.InputCase', null, global);
|
|
|
106
106
|
goog.exportSymbol('proto.ondewo.nlu.QueryParameters', null, global);
|
|
107
107
|
goog.exportSymbol('proto.ondewo.nlu.QueryResult', null, global);
|
|
108
108
|
goog.exportSymbol('proto.ondewo.nlu.ResourceView', null, global);
|
|
109
|
+
goog.exportSymbol('proto.ondewo.nlu.S2tTranscription', null, global);
|
|
109
110
|
goog.exportSymbol('proto.ondewo.nlu.Session', null, global);
|
|
110
111
|
goog.exportSymbol('proto.ondewo.nlu.Session.View', null, global);
|
|
111
112
|
goog.exportSymbol('proto.ondewo.nlu.SessionFilter', null, global);
|
|
@@ -121,7 +122,6 @@ goog.exportSymbol('proto.ondewo.nlu.StreamingRecognitionResult', null, global);
|
|
|
121
122
|
goog.exportSymbol('proto.ondewo.nlu.StreamingRecognitionResult.MessageType', null, global);
|
|
122
123
|
goog.exportSymbol('proto.ondewo.nlu.TextInput', null, global);
|
|
123
124
|
goog.exportSymbol('proto.ondewo.nlu.TrackSessionStepRequest', null, global);
|
|
124
|
-
goog.exportSymbol('proto.ondewo.nlu.Transcription', null, global);
|
|
125
125
|
goog.exportSymbol('proto.ondewo.nlu.TranscriptionType', null, global);
|
|
126
126
|
goog.exportSymbol('proto.ondewo.nlu.UpdateSessionCommentsRequest', null, global);
|
|
127
127
|
/**
|
|
@@ -197,16 +197,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
197
197
|
* @extends {jspb.Message}
|
|
198
198
|
* @constructor
|
|
199
199
|
*/
|
|
200
|
-
proto.ondewo.nlu.
|
|
200
|
+
proto.ondewo.nlu.S2tTranscription = function(opt_data) {
|
|
201
201
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
202
202
|
};
|
|
203
|
-
goog.inherits(proto.ondewo.nlu.
|
|
203
|
+
goog.inherits(proto.ondewo.nlu.S2tTranscription, jspb.Message);
|
|
204
204
|
if (goog.DEBUG && !COMPILED) {
|
|
205
205
|
/**
|
|
206
206
|
* @public
|
|
207
207
|
* @override
|
|
208
208
|
*/
|
|
209
|
-
proto.ondewo.nlu.
|
|
209
|
+
proto.ondewo.nlu.S2tTranscription.displayName = 'proto.ondewo.nlu.S2tTranscription';
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
212
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2333,7 +2333,7 @@ proto.ondewo.nlu.QueryParameters.toObject = function(includeInstance, msg) {
|
|
|
2333
2333
|
originId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2334
2334
|
identifiedUserId: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2335
2335
|
transcriptionsList: jspb.Message.toObjectList(msg.getTranscriptionsList(),
|
|
2336
|
-
proto.ondewo.nlu.
|
|
2336
|
+
proto.ondewo.nlu.S2tTranscription.toObject, includeInstance)
|
|
2337
2337
|
};
|
|
2338
2338
|
|
|
2339
2339
|
if (includeInstance) {
|
|
@@ -2424,8 +2424,8 @@ proto.ondewo.nlu.QueryParameters.deserializeBinaryFromReader = function(msg, rea
|
|
|
2424
2424
|
msg.setIdentifiedUserId(value);
|
|
2425
2425
|
break;
|
|
2426
2426
|
case 14:
|
|
2427
|
-
var value = new proto.ondewo.nlu.
|
|
2428
|
-
reader.readMessage(value,proto.ondewo.nlu.
|
|
2427
|
+
var value = new proto.ondewo.nlu.S2tTranscription;
|
|
2428
|
+
reader.readMessage(value,proto.ondewo.nlu.S2tTranscription.deserializeBinaryFromReader);
|
|
2429
2429
|
msg.addTranscriptions(value);
|
|
2430
2430
|
break;
|
|
2431
2431
|
default:
|
|
@@ -2549,7 +2549,7 @@ proto.ondewo.nlu.QueryParameters.serializeBinaryToWriter = function(message, wri
|
|
|
2549
2549
|
writer.writeRepeatedMessage(
|
|
2550
2550
|
14,
|
|
2551
2551
|
f,
|
|
2552
|
-
proto.ondewo.nlu.
|
|
2552
|
+
proto.ondewo.nlu.S2tTranscription.serializeBinaryToWriter
|
|
2553
2553
|
);
|
|
2554
2554
|
}
|
|
2555
2555
|
};
|
|
@@ -2868,17 +2868,17 @@ proto.ondewo.nlu.QueryParameters.prototype.setIdentifiedUserId = function(value)
|
|
|
2868
2868
|
|
|
2869
2869
|
|
|
2870
2870
|
/**
|
|
2871
|
-
* repeated
|
|
2872
|
-
* @return {!Array<!proto.ondewo.nlu.
|
|
2871
|
+
* repeated S2tTranscription transcriptions = 14;
|
|
2872
|
+
* @return {!Array<!proto.ondewo.nlu.S2tTranscription>}
|
|
2873
2873
|
*/
|
|
2874
2874
|
proto.ondewo.nlu.QueryParameters.prototype.getTranscriptionsList = function() {
|
|
2875
|
-
return /** @type{!Array<!proto.ondewo.nlu.
|
|
2876
|
-
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.
|
|
2875
|
+
return /** @type{!Array<!proto.ondewo.nlu.S2tTranscription>} */ (
|
|
2876
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.S2tTranscription, 14));
|
|
2877
2877
|
};
|
|
2878
2878
|
|
|
2879
2879
|
|
|
2880
2880
|
/**
|
|
2881
|
-
* @param {!Array<!proto.ondewo.nlu.
|
|
2881
|
+
* @param {!Array<!proto.ondewo.nlu.S2tTranscription>} value
|
|
2882
2882
|
* @return {!proto.ondewo.nlu.QueryParameters} returns this
|
|
2883
2883
|
*/
|
|
2884
2884
|
proto.ondewo.nlu.QueryParameters.prototype.setTranscriptionsList = function(value) {
|
|
@@ -2887,12 +2887,12 @@ proto.ondewo.nlu.QueryParameters.prototype.setTranscriptionsList = function(valu
|
|
|
2887
2887
|
|
|
2888
2888
|
|
|
2889
2889
|
/**
|
|
2890
|
-
* @param {!proto.ondewo.nlu.
|
|
2890
|
+
* @param {!proto.ondewo.nlu.S2tTranscription=} opt_value
|
|
2891
2891
|
* @param {number=} opt_index
|
|
2892
|
-
* @return {!proto.ondewo.nlu.
|
|
2892
|
+
* @return {!proto.ondewo.nlu.S2tTranscription}
|
|
2893
2893
|
*/
|
|
2894
2894
|
proto.ondewo.nlu.QueryParameters.prototype.addTranscriptions = function(opt_value, opt_index) {
|
|
2895
|
-
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.ondewo.nlu.
|
|
2895
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.ondewo.nlu.S2tTranscription, opt_index);
|
|
2896
2896
|
};
|
|
2897
2897
|
|
|
2898
2898
|
|
|
@@ -2921,8 +2921,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2921
2921
|
* http://goto/soy-param-migration
|
|
2922
2922
|
* @return {!Object}
|
|
2923
2923
|
*/
|
|
2924
|
-
proto.ondewo.nlu.
|
|
2925
|
-
return proto.ondewo.nlu.
|
|
2924
|
+
proto.ondewo.nlu.S2tTranscription.prototype.toObject = function(opt_includeInstance) {
|
|
2925
|
+
return proto.ondewo.nlu.S2tTranscription.toObject(opt_includeInstance, this);
|
|
2926
2926
|
};
|
|
2927
2927
|
|
|
2928
2928
|
|
|
@@ -2931,11 +2931,11 @@ proto.ondewo.nlu.Transcription.prototype.toObject = function(opt_includeInstance
|
|
|
2931
2931
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2932
2932
|
* the JSPB instance for transitional soy proto support:
|
|
2933
2933
|
* http://goto/soy-param-migration
|
|
2934
|
-
* @param {!proto.ondewo.nlu.
|
|
2934
|
+
* @param {!proto.ondewo.nlu.S2tTranscription} msg The msg instance to transform.
|
|
2935
2935
|
* @return {!Object}
|
|
2936
2936
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2937
2937
|
*/
|
|
2938
|
-
proto.ondewo.nlu.
|
|
2938
|
+
proto.ondewo.nlu.S2tTranscription.toObject = function(includeInstance, msg) {
|
|
2939
2939
|
var f, obj = {
|
|
2940
2940
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2941
2941
|
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -2962,23 +2962,23 @@ proto.ondewo.nlu.Transcription.toObject = function(includeInstance, msg) {
|
|
|
2962
2962
|
/**
|
|
2963
2963
|
* Deserializes binary data (in protobuf wire format).
|
|
2964
2964
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2965
|
-
* @return {!proto.ondewo.nlu.
|
|
2965
|
+
* @return {!proto.ondewo.nlu.S2tTranscription}
|
|
2966
2966
|
*/
|
|
2967
|
-
proto.ondewo.nlu.
|
|
2967
|
+
proto.ondewo.nlu.S2tTranscription.deserializeBinary = function(bytes) {
|
|
2968
2968
|
var reader = new jspb.BinaryReader(bytes);
|
|
2969
|
-
var msg = new proto.ondewo.nlu.
|
|
2970
|
-
return proto.ondewo.nlu.
|
|
2969
|
+
var msg = new proto.ondewo.nlu.S2tTranscription;
|
|
2970
|
+
return proto.ondewo.nlu.S2tTranscription.deserializeBinaryFromReader(msg, reader);
|
|
2971
2971
|
};
|
|
2972
2972
|
|
|
2973
2973
|
|
|
2974
2974
|
/**
|
|
2975
2975
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2976
2976
|
* given reader into the given message object.
|
|
2977
|
-
* @param {!proto.ondewo.nlu.
|
|
2977
|
+
* @param {!proto.ondewo.nlu.S2tTranscription} msg The message object to deserialize into.
|
|
2978
2978
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2979
|
-
* @return {!proto.ondewo.nlu.
|
|
2979
|
+
* @return {!proto.ondewo.nlu.S2tTranscription}
|
|
2980
2980
|
*/
|
|
2981
|
-
proto.ondewo.nlu.
|
|
2981
|
+
proto.ondewo.nlu.S2tTranscription.deserializeBinaryFromReader = function(msg, reader) {
|
|
2982
2982
|
while (reader.nextField()) {
|
|
2983
2983
|
if (reader.isEndGroup()) {
|
|
2984
2984
|
break;
|
|
@@ -3048,9 +3048,9 @@ proto.ondewo.nlu.Transcription.deserializeBinaryFromReader = function(msg, reade
|
|
|
3048
3048
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3049
3049
|
* @return {!Uint8Array}
|
|
3050
3050
|
*/
|
|
3051
|
-
proto.ondewo.nlu.
|
|
3051
|
+
proto.ondewo.nlu.S2tTranscription.prototype.serializeBinary = function() {
|
|
3052
3052
|
var writer = new jspb.BinaryWriter();
|
|
3053
|
-
proto.ondewo.nlu.
|
|
3053
|
+
proto.ondewo.nlu.S2tTranscription.serializeBinaryToWriter(this, writer);
|
|
3054
3054
|
return writer.getResultBuffer();
|
|
3055
3055
|
};
|
|
3056
3056
|
|
|
@@ -3058,11 +3058,11 @@ proto.ondewo.nlu.Transcription.prototype.serializeBinary = function() {
|
|
|
3058
3058
|
/**
|
|
3059
3059
|
* Serializes the given message to binary data (in protobuf wire
|
|
3060
3060
|
* format), writing to the given BinaryWriter.
|
|
3061
|
-
* @param {!proto.ondewo.nlu.
|
|
3061
|
+
* @param {!proto.ondewo.nlu.S2tTranscription} message
|
|
3062
3062
|
* @param {!jspb.BinaryWriter} writer
|
|
3063
3063
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3064
3064
|
*/
|
|
3065
|
-
proto.ondewo.nlu.
|
|
3065
|
+
proto.ondewo.nlu.S2tTranscription.serializeBinaryToWriter = function(message, writer) {
|
|
3066
3066
|
var f = undefined;
|
|
3067
3067
|
f = message.getName();
|
|
3068
3068
|
if (f.length > 0) {
|
|
@@ -3157,16 +3157,16 @@ proto.ondewo.nlu.Transcription.serializeBinaryToWriter = function(message, write
|
|
|
3157
3157
|
* optional string name = 1;
|
|
3158
3158
|
* @return {string}
|
|
3159
3159
|
*/
|
|
3160
|
-
proto.ondewo.nlu.
|
|
3160
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getName = function() {
|
|
3161
3161
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3162
3162
|
};
|
|
3163
3163
|
|
|
3164
3164
|
|
|
3165
3165
|
/**
|
|
3166
3166
|
* @param {string} value
|
|
3167
|
-
* @return {!proto.ondewo.nlu.
|
|
3167
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3168
3168
|
*/
|
|
3169
|
-
proto.ondewo.nlu.
|
|
3169
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setName = function(value) {
|
|
3170
3170
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3171
3171
|
};
|
|
3172
3172
|
|
|
@@ -3175,16 +3175,16 @@ proto.ondewo.nlu.Transcription.prototype.setName = function(value) {
|
|
|
3175
3175
|
* optional string text = 2;
|
|
3176
3176
|
* @return {string}
|
|
3177
3177
|
*/
|
|
3178
|
-
proto.ondewo.nlu.
|
|
3178
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getText = function() {
|
|
3179
3179
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3180
3180
|
};
|
|
3181
3181
|
|
|
3182
3182
|
|
|
3183
3183
|
/**
|
|
3184
3184
|
* @param {string} value
|
|
3185
|
-
* @return {!proto.ondewo.nlu.
|
|
3185
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3186
3186
|
*/
|
|
3187
|
-
proto.ondewo.nlu.
|
|
3187
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setText = function(value) {
|
|
3188
3188
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3189
3189
|
};
|
|
3190
3190
|
|
|
@@ -3193,16 +3193,16 @@ proto.ondewo.nlu.Transcription.prototype.setText = function(value) {
|
|
|
3193
3193
|
* optional float score = 3;
|
|
3194
3194
|
* @return {number}
|
|
3195
3195
|
*/
|
|
3196
|
-
proto.ondewo.nlu.
|
|
3196
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getScore = function() {
|
|
3197
3197
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
3198
3198
|
};
|
|
3199
3199
|
|
|
3200
3200
|
|
|
3201
3201
|
/**
|
|
3202
3202
|
* @param {number} value
|
|
3203
|
-
* @return {!proto.ondewo.nlu.
|
|
3203
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3204
3204
|
*/
|
|
3205
|
-
proto.ondewo.nlu.
|
|
3205
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setScore = function(value) {
|
|
3206
3206
|
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
3207
3207
|
};
|
|
3208
3208
|
|
|
@@ -3211,16 +3211,16 @@ proto.ondewo.nlu.Transcription.prototype.setScore = function(value) {
|
|
|
3211
3211
|
* optional string language_code = 4;
|
|
3212
3212
|
* @return {string}
|
|
3213
3213
|
*/
|
|
3214
|
-
proto.ondewo.nlu.
|
|
3214
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getLanguageCode = function() {
|
|
3215
3215
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3216
3216
|
};
|
|
3217
3217
|
|
|
3218
3218
|
|
|
3219
3219
|
/**
|
|
3220
3220
|
* @param {string} value
|
|
3221
|
-
* @return {!proto.ondewo.nlu.
|
|
3221
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3222
3222
|
*/
|
|
3223
|
-
proto.ondewo.nlu.
|
|
3223
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setLanguageCode = function(value) {
|
|
3224
3224
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3225
3225
|
};
|
|
3226
3226
|
|
|
@@ -3229,16 +3229,16 @@ proto.ondewo.nlu.Transcription.prototype.setLanguageCode = function(value) {
|
|
|
3229
3229
|
* optional string audio_resource_name = 5;
|
|
3230
3230
|
* @return {string}
|
|
3231
3231
|
*/
|
|
3232
|
-
proto.ondewo.nlu.
|
|
3232
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getAudioResourceName = function() {
|
|
3233
3233
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3234
3234
|
};
|
|
3235
3235
|
|
|
3236
3236
|
|
|
3237
3237
|
/**
|
|
3238
3238
|
* @param {string} value
|
|
3239
|
-
* @return {!proto.ondewo.nlu.
|
|
3239
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3240
3240
|
*/
|
|
3241
|
-
proto.ondewo.nlu.
|
|
3241
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setAudioResourceName = function(value) {
|
|
3242
3242
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3243
3243
|
};
|
|
3244
3244
|
|
|
@@ -3247,16 +3247,16 @@ proto.ondewo.nlu.Transcription.prototype.setAudioResourceName = function(value)
|
|
|
3247
3247
|
* optional string pipeline_id = 6;
|
|
3248
3248
|
* @return {string}
|
|
3249
3249
|
*/
|
|
3250
|
-
proto.ondewo.nlu.
|
|
3250
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getPipelineId = function() {
|
|
3251
3251
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3252
3252
|
};
|
|
3253
3253
|
|
|
3254
3254
|
|
|
3255
3255
|
/**
|
|
3256
3256
|
* @param {string} value
|
|
3257
|
-
* @return {!proto.ondewo.nlu.
|
|
3257
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3258
3258
|
*/
|
|
3259
|
-
proto.ondewo.nlu.
|
|
3259
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setPipelineId = function(value) {
|
|
3260
3260
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3261
3261
|
};
|
|
3262
3262
|
|
|
@@ -3265,16 +3265,16 @@ proto.ondewo.nlu.Transcription.prototype.setPipelineId = function(value) {
|
|
|
3265
3265
|
* optional float duration_in_s = 7;
|
|
3266
3266
|
* @return {number}
|
|
3267
3267
|
*/
|
|
3268
|
-
proto.ondewo.nlu.
|
|
3268
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getDurationInS = function() {
|
|
3269
3269
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
3270
3270
|
};
|
|
3271
3271
|
|
|
3272
3272
|
|
|
3273
3273
|
/**
|
|
3274
3274
|
* @param {number} value
|
|
3275
|
-
* @return {!proto.ondewo.nlu.
|
|
3275
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3276
3276
|
*/
|
|
3277
|
-
proto.ondewo.nlu.
|
|
3277
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setDurationInS = function(value) {
|
|
3278
3278
|
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
3279
3279
|
};
|
|
3280
3280
|
|
|
@@ -3283,16 +3283,16 @@ proto.ondewo.nlu.Transcription.prototype.setDurationInS = function(value) {
|
|
|
3283
3283
|
* optional TranscriptionType transcription_type = 8;
|
|
3284
3284
|
* @return {!proto.ondewo.nlu.TranscriptionType}
|
|
3285
3285
|
*/
|
|
3286
|
-
proto.ondewo.nlu.
|
|
3286
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getTranscriptionType = function() {
|
|
3287
3287
|
return /** @type {!proto.ondewo.nlu.TranscriptionType} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
3288
3288
|
};
|
|
3289
3289
|
|
|
3290
3290
|
|
|
3291
3291
|
/**
|
|
3292
3292
|
* @param {!proto.ondewo.nlu.TranscriptionType} value
|
|
3293
|
-
* @return {!proto.ondewo.nlu.
|
|
3293
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3294
3294
|
*/
|
|
3295
|
-
proto.ondewo.nlu.
|
|
3295
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setTranscriptionType = function(value) {
|
|
3296
3296
|
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
3297
3297
|
};
|
|
3298
3298
|
|
|
@@ -3301,7 +3301,7 @@ proto.ondewo.nlu.Transcription.prototype.setTranscriptionType = function(value)
|
|
|
3301
3301
|
* optional google.protobuf.Timestamp created_at = 9;
|
|
3302
3302
|
* @return {?proto.google.protobuf.Timestamp}
|
|
3303
3303
|
*/
|
|
3304
|
-
proto.ondewo.nlu.
|
|
3304
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getCreatedAt = function() {
|
|
3305
3305
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3306
3306
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
|
|
3307
3307
|
};
|
|
@@ -3309,18 +3309,18 @@ proto.ondewo.nlu.Transcription.prototype.getCreatedAt = function() {
|
|
|
3309
3309
|
|
|
3310
3310
|
/**
|
|
3311
3311
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
3312
|
-
* @return {!proto.ondewo.nlu.
|
|
3312
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3313
3313
|
*/
|
|
3314
|
-
proto.ondewo.nlu.
|
|
3314
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setCreatedAt = function(value) {
|
|
3315
3315
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
3316
3316
|
};
|
|
3317
3317
|
|
|
3318
3318
|
|
|
3319
3319
|
/**
|
|
3320
3320
|
* Clears the message field making it undefined.
|
|
3321
|
-
* @return {!proto.ondewo.nlu.
|
|
3321
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3322
3322
|
*/
|
|
3323
|
-
proto.ondewo.nlu.
|
|
3323
|
+
proto.ondewo.nlu.S2tTranscription.prototype.clearCreatedAt = function() {
|
|
3324
3324
|
return this.setCreatedAt(undefined);
|
|
3325
3325
|
};
|
|
3326
3326
|
|
|
@@ -3329,7 +3329,7 @@ proto.ondewo.nlu.Transcription.prototype.clearCreatedAt = function() {
|
|
|
3329
3329
|
* Returns whether this field is set.
|
|
3330
3330
|
* @return {boolean}
|
|
3331
3331
|
*/
|
|
3332
|
-
proto.ondewo.nlu.
|
|
3332
|
+
proto.ondewo.nlu.S2tTranscription.prototype.hasCreatedAt = function() {
|
|
3333
3333
|
return jspb.Message.getField(this, 9) != null;
|
|
3334
3334
|
};
|
|
3335
3335
|
|
|
@@ -3338,7 +3338,7 @@ proto.ondewo.nlu.Transcription.prototype.hasCreatedAt = function() {
|
|
|
3338
3338
|
* optional google.protobuf.Timestamp modified_at = 10;
|
|
3339
3339
|
* @return {?proto.google.protobuf.Timestamp}
|
|
3340
3340
|
*/
|
|
3341
|
-
proto.ondewo.nlu.
|
|
3341
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getModifiedAt = function() {
|
|
3342
3342
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3343
3343
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
|
|
3344
3344
|
};
|
|
@@ -3346,18 +3346,18 @@ proto.ondewo.nlu.Transcription.prototype.getModifiedAt = function() {
|
|
|
3346
3346
|
|
|
3347
3347
|
/**
|
|
3348
3348
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
3349
|
-
* @return {!proto.ondewo.nlu.
|
|
3349
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3350
3350
|
*/
|
|
3351
|
-
proto.ondewo.nlu.
|
|
3351
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setModifiedAt = function(value) {
|
|
3352
3352
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
3353
3353
|
};
|
|
3354
3354
|
|
|
3355
3355
|
|
|
3356
3356
|
/**
|
|
3357
3357
|
* Clears the message field making it undefined.
|
|
3358
|
-
* @return {!proto.ondewo.nlu.
|
|
3358
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3359
3359
|
*/
|
|
3360
|
-
proto.ondewo.nlu.
|
|
3360
|
+
proto.ondewo.nlu.S2tTranscription.prototype.clearModifiedAt = function() {
|
|
3361
3361
|
return this.setModifiedAt(undefined);
|
|
3362
3362
|
};
|
|
3363
3363
|
|
|
@@ -3366,7 +3366,7 @@ proto.ondewo.nlu.Transcription.prototype.clearModifiedAt = function() {
|
|
|
3366
3366
|
* Returns whether this field is set.
|
|
3367
3367
|
* @return {boolean}
|
|
3368
3368
|
*/
|
|
3369
|
-
proto.ondewo.nlu.
|
|
3369
|
+
proto.ondewo.nlu.S2tTranscription.prototype.hasModifiedAt = function() {
|
|
3370
3370
|
return jspb.Message.getField(this, 10) != null;
|
|
3371
3371
|
};
|
|
3372
3372
|
|
|
@@ -3375,16 +3375,16 @@ proto.ondewo.nlu.Transcription.prototype.hasModifiedAt = function() {
|
|
|
3375
3375
|
* optional string created_by = 11;
|
|
3376
3376
|
* @return {string}
|
|
3377
3377
|
*/
|
|
3378
|
-
proto.ondewo.nlu.
|
|
3378
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getCreatedBy = function() {
|
|
3379
3379
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
3380
3380
|
};
|
|
3381
3381
|
|
|
3382
3382
|
|
|
3383
3383
|
/**
|
|
3384
3384
|
* @param {string} value
|
|
3385
|
-
* @return {!proto.ondewo.nlu.
|
|
3385
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3386
3386
|
*/
|
|
3387
|
-
proto.ondewo.nlu.
|
|
3387
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setCreatedBy = function(value) {
|
|
3388
3388
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
3389
3389
|
};
|
|
3390
3390
|
|
|
@@ -3393,16 +3393,16 @@ proto.ondewo.nlu.Transcription.prototype.setCreatedBy = function(value) {
|
|
|
3393
3393
|
* optional string modified_by = 12;
|
|
3394
3394
|
* @return {string}
|
|
3395
3395
|
*/
|
|
3396
|
-
proto.ondewo.nlu.
|
|
3396
|
+
proto.ondewo.nlu.S2tTranscription.prototype.getModifiedBy = function() {
|
|
3397
3397
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3398
3398
|
};
|
|
3399
3399
|
|
|
3400
3400
|
|
|
3401
3401
|
/**
|
|
3402
3402
|
* @param {string} value
|
|
3403
|
-
* @return {!proto.ondewo.nlu.
|
|
3403
|
+
* @return {!proto.ondewo.nlu.S2tTranscription} returns this
|
|
3404
3404
|
*/
|
|
3405
|
-
proto.ondewo.nlu.
|
|
3405
|
+
proto.ondewo.nlu.S2tTranscription.prototype.setModifiedBy = function(value) {
|
|
3406
3406
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
3407
3407
|
};
|
|
3408
3408
|
|
|
@@ -20247,7 +20247,7 @@ proto.ondewo.nlu.AudioFileResource.toObject = function(includeInstance, msg) {
|
|
|
20247
20247
|
sampleRate: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
20248
20248
|
audioFileResourceType: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
20249
20249
|
transcriptionsList: jspb.Message.toObjectList(msg.getTranscriptionsList(),
|
|
20250
|
-
proto.ondewo.nlu.
|
|
20250
|
+
proto.ondewo.nlu.S2tTranscription.toObject, includeInstance),
|
|
20251
20251
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
20252
20252
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
20253
20253
|
createdBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
@@ -20313,8 +20313,8 @@ proto.ondewo.nlu.AudioFileResource.deserializeBinaryFromReader = function(msg, r
|
|
|
20313
20313
|
msg.setAudioFileResourceType(value);
|
|
20314
20314
|
break;
|
|
20315
20315
|
case 7:
|
|
20316
|
-
var value = new proto.ondewo.nlu.
|
|
20317
|
-
reader.readMessage(value,proto.ondewo.nlu.
|
|
20316
|
+
var value = new proto.ondewo.nlu.S2tTranscription;
|
|
20317
|
+
reader.readMessage(value,proto.ondewo.nlu.S2tTranscription.deserializeBinaryFromReader);
|
|
20318
20318
|
msg.addTranscriptions(value);
|
|
20319
20319
|
break;
|
|
20320
20320
|
case 8:
|
|
@@ -20411,7 +20411,7 @@ proto.ondewo.nlu.AudioFileResource.serializeBinaryToWriter = function(message, w
|
|
|
20411
20411
|
writer.writeRepeatedMessage(
|
|
20412
20412
|
7,
|
|
20413
20413
|
f,
|
|
20414
|
-
proto.ondewo.nlu.
|
|
20414
|
+
proto.ondewo.nlu.S2tTranscription.serializeBinaryToWriter
|
|
20415
20415
|
);
|
|
20416
20416
|
}
|
|
20417
20417
|
f = message.getCreatedAt();
|
|
@@ -20580,17 +20580,17 @@ proto.ondewo.nlu.AudioFileResource.prototype.setAudioFileResourceType = function
|
|
|
20580
20580
|
|
|
20581
20581
|
|
|
20582
20582
|
/**
|
|
20583
|
-
* repeated
|
|
20584
|
-
* @return {!Array<!proto.ondewo.nlu.
|
|
20583
|
+
* repeated S2tTranscription transcriptions = 7;
|
|
20584
|
+
* @return {!Array<!proto.ondewo.nlu.S2tTranscription>}
|
|
20585
20585
|
*/
|
|
20586
20586
|
proto.ondewo.nlu.AudioFileResource.prototype.getTranscriptionsList = function() {
|
|
20587
|
-
return /** @type{!Array<!proto.ondewo.nlu.
|
|
20588
|
-
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.
|
|
20587
|
+
return /** @type{!Array<!proto.ondewo.nlu.S2tTranscription>} */ (
|
|
20588
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.S2tTranscription, 7));
|
|
20589
20589
|
};
|
|
20590
20590
|
|
|
20591
20591
|
|
|
20592
20592
|
/**
|
|
20593
|
-
* @param {!Array<!proto.ondewo.nlu.
|
|
20593
|
+
* @param {!Array<!proto.ondewo.nlu.S2tTranscription>} value
|
|
20594
20594
|
* @return {!proto.ondewo.nlu.AudioFileResource} returns this
|
|
20595
20595
|
*/
|
|
20596
20596
|
proto.ondewo.nlu.AudioFileResource.prototype.setTranscriptionsList = function(value) {
|
|
@@ -20599,12 +20599,12 @@ proto.ondewo.nlu.AudioFileResource.prototype.setTranscriptionsList = function(va
|
|
|
20599
20599
|
|
|
20600
20600
|
|
|
20601
20601
|
/**
|
|
20602
|
-
* @param {!proto.ondewo.nlu.
|
|
20602
|
+
* @param {!proto.ondewo.nlu.S2tTranscription=} opt_value
|
|
20603
20603
|
* @param {number=} opt_index
|
|
20604
|
-
* @return {!proto.ondewo.nlu.
|
|
20604
|
+
* @return {!proto.ondewo.nlu.S2tTranscription}
|
|
20605
20605
|
*/
|
|
20606
20606
|
proto.ondewo.nlu.AudioFileResource.prototype.addTranscriptions = function(opt_value, opt_index) {
|
|
20607
|
-
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.ondewo.nlu.
|
|
20607
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.ondewo.nlu.S2tTranscription, opt_index);
|
|
20608
20608
|
};
|
|
20609
20609
|
|
|
20610
20610
|
|
package/package.json
CHANGED