@ondewo/csi-client-angular 2.3.1 → 3.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/agent.pb.d.ts +2016 -0
- package/api/ondewo/nlu/agent.pbsc.d.ts +176 -0
- package/api/ondewo/nlu/operations.pb.d.ts +4 -4
- package/esm2020/api/ondewo/csi/conversation.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/agent.pb.mjs +3873 -1
- package/esm2020/api/ondewo/nlu/agent.pbsc.mjs +334 -4
- package/esm2020/api/ondewo/nlu/aiservices.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/context.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/entity-type.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/intent.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/operations.pb.mjs +5 -5
- package/esm2020/api/ondewo/nlu/operations.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/project-role.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/project-statistics.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/server-statistics.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/session.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/user.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/utility.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/nlu/webhook.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/s2t/speech-to-text.pbsc.mjs +3 -3
- package/esm2020/api/ondewo/t2s/text-to-speech.pbsc.mjs +6 -6
- package/fesm2015/ondewo-csi-client-angular.mjs +4258 -56
- package/fesm2015/ondewo-csi-client-angular.mjs.map +1 -1
- package/fesm2020/ondewo-csi-client-angular.mjs +4258 -56
- package/fesm2020/ondewo-csi-client-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -7702,9 +7702,9 @@ class Speech2TextClient {
|
|
|
7702
7702
|
.pipe(throwStatusErrors(), takeMessages());
|
|
7703
7703
|
}
|
|
7704
7704
|
}
|
|
7705
|
-
Speech2TextClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
7706
|
-
Speech2TextClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
7707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
7705
|
+
Speech2TextClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: Speech2TextClient, deps: [{ token: GRPC_SPEECH2_TEXT_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7706
|
+
Speech2TextClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: Speech2TextClient, providedIn: 'any' });
|
|
7707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: Speech2TextClient, decorators: [{
|
|
7708
7708
|
type: Injectable,
|
|
7709
7709
|
args: [{ providedIn: 'any' }]
|
|
7710
7710
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -13848,9 +13848,9 @@ class Text2SpeechClient {
|
|
|
13848
13848
|
.pipe(throwStatusErrors(), takeMessages());
|
|
13849
13849
|
}
|
|
13850
13850
|
}
|
|
13851
|
-
Text2SpeechClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
13852
|
-
Text2SpeechClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
13853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
13851
|
+
Text2SpeechClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: Text2SpeechClient, deps: [{ token: GRPC_TEXT2_SPEECH_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13852
|
+
Text2SpeechClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: Text2SpeechClient, providedIn: 'any' });
|
|
13853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: Text2SpeechClient, decorators: [{
|
|
13854
13854
|
type: Injectable,
|
|
13855
13855
|
args: [{ providedIn: 'any' }]
|
|
13856
13856
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -14028,9 +14028,9 @@ class CustomPhonemizersClient {
|
|
|
14028
14028
|
.pipe(throwStatusErrors(), takeMessages());
|
|
14029
14029
|
}
|
|
14030
14030
|
}
|
|
14031
|
-
CustomPhonemizersClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
14032
|
-
CustomPhonemizersClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
14033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
14031
|
+
CustomPhonemizersClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CustomPhonemizersClient, deps: [{ token: GRPC_CUSTOM_PHONEMIZERS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14032
|
+
CustomPhonemizersClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CustomPhonemizersClient, providedIn: 'any' });
|
|
14033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CustomPhonemizersClient, decorators: [{
|
|
14034
14034
|
type: Injectable,
|
|
14035
14035
|
args: [{ providedIn: 'any' }]
|
|
14036
14036
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -37495,9 +37495,9 @@ class ConversationsClient {
|
|
|
37495
37495
|
.pipe(throwStatusErrors(), takeMessages());
|
|
37496
37496
|
}
|
|
37497
37497
|
}
|
|
37498
|
-
ConversationsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
37499
|
-
ConversationsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
37500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
37498
|
+
ConversationsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ConversationsClient, deps: [{ token: GRPC_CONVERSATIONS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
37499
|
+
ConversationsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ConversationsClient, providedIn: 'any' });
|
|
37500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ConversationsClient, decorators: [{
|
|
37501
37501
|
type: Injectable,
|
|
37502
37502
|
args: [{ providedIn: 'any' }]
|
|
37503
37503
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -41081,9 +41081,9 @@ class UtilitiesClient {
|
|
|
41081
41081
|
.pipe(throwStatusErrors(), takeMessages());
|
|
41082
41082
|
}
|
|
41083
41083
|
}
|
|
41084
|
-
UtilitiesClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
41085
|
-
UtilitiesClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
41086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
41084
|
+
UtilitiesClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: UtilitiesClient, deps: [{ token: GRPC_UTILITIES_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
41085
|
+
UtilitiesClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: UtilitiesClient, providedIn: 'any' });
|
|
41086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: UtilitiesClient, decorators: [{
|
|
41087
41087
|
type: Injectable,
|
|
41088
41088
|
args: [{ providedIn: 'any' }]
|
|
41089
41089
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -45008,7 +45008,7 @@ class Operation {
|
|
|
45008
45008
|
_value = _value || {};
|
|
45009
45009
|
this.name = _value.name;
|
|
45010
45010
|
this.metadata = _value.metadata
|
|
45011
|
-
? new
|
|
45011
|
+
? new OperationMetadata(_value.metadata)
|
|
45012
45012
|
: undefined;
|
|
45013
45013
|
this.done = _value.done;
|
|
45014
45014
|
this.error = _value.error
|
|
@@ -45051,8 +45051,8 @@ class Operation {
|
|
|
45051
45051
|
_instance.name = _reader.readString();
|
|
45052
45052
|
break;
|
|
45053
45053
|
case 2:
|
|
45054
|
-
_instance.metadata = new
|
|
45055
|
-
_reader.readMessage(_instance.metadata,
|
|
45054
|
+
_instance.metadata = new OperationMetadata();
|
|
45055
|
+
_reader.readMessage(_instance.metadata, OperationMetadata.deserializeBinaryFromReader);
|
|
45056
45056
|
break;
|
|
45057
45057
|
case 3:
|
|
45058
45058
|
_instance.done = _reader.readBool();
|
|
@@ -45081,7 +45081,7 @@ class Operation {
|
|
|
45081
45081
|
_writer.writeString(1, _instance.name);
|
|
45082
45082
|
}
|
|
45083
45083
|
if (_instance.metadata) {
|
|
45084
|
-
_writer.writeMessage(2, _instance.metadata,
|
|
45084
|
+
_writer.writeMessage(2, _instance.metadata, OperationMetadata.serializeBinaryToWriter);
|
|
45085
45085
|
}
|
|
45086
45086
|
if (_instance.done) {
|
|
45087
45087
|
_writer.writeBool(3, _instance.done);
|
|
@@ -46532,9 +46532,9 @@ class SessionsClient {
|
|
|
46532
46532
|
.pipe(throwStatusErrors(), takeMessages());
|
|
46533
46533
|
}
|
|
46534
46534
|
}
|
|
46535
|
-
SessionsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
46536
|
-
SessionsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
46537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
46535
|
+
SessionsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SessionsClient, deps: [{ token: GRPC_SESSIONS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
46536
|
+
SessionsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SessionsClient, providedIn: 'any' });
|
|
46537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SessionsClient, decorators: [{
|
|
46538
46538
|
type: Injectable,
|
|
46539
46539
|
args: [{ providedIn: 'any' }]
|
|
46540
46540
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -51186,9 +51186,9 @@ class AiServicesClient {
|
|
|
51186
51186
|
.pipe(throwStatusErrors(), takeMessages());
|
|
51187
51187
|
}
|
|
51188
51188
|
}
|
|
51189
|
-
AiServicesClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
51190
|
-
AiServicesClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
51191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
51189
|
+
AiServicesClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AiServicesClient, deps: [{ token: GRPC_AI_SERVICES_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
51190
|
+
AiServicesClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AiServicesClient, providedIn: 'any' });
|
|
51191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AiServicesClient, decorators: [{
|
|
51192
51192
|
type: Injectable,
|
|
51193
51193
|
args: [{ providedIn: 'any' }]
|
|
51194
51194
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -51668,9 +51668,9 @@ class UsersClient {
|
|
|
51668
51668
|
.pipe(throwStatusErrors(), takeMessages());
|
|
51669
51669
|
}
|
|
51670
51670
|
}
|
|
51671
|
-
UsersClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
51672
|
-
UsersClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
51673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
51671
|
+
UsersClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: UsersClient, deps: [{ token: GRPC_USERS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
51672
|
+
UsersClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: UsersClient, providedIn: 'any' });
|
|
51673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: UsersClient, decorators: [{
|
|
51674
51674
|
type: Injectable,
|
|
51675
51675
|
args: [{ providedIn: 'any' }]
|
|
51676
51676
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -51864,9 +51864,9 @@ class ProjectRolesClient {
|
|
|
51864
51864
|
.pipe(throwStatusErrors(), takeMessages());
|
|
51865
51865
|
}
|
|
51866
51866
|
}
|
|
51867
|
-
ProjectRolesClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
51868
|
-
ProjectRolesClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
51869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
51867
|
+
ProjectRolesClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ProjectRolesClient, deps: [{ token: GRPC_PROJECT_ROLES_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
51868
|
+
ProjectRolesClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ProjectRolesClient, providedIn: 'any' });
|
|
51869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ProjectRolesClient, decorators: [{
|
|
51870
51870
|
type: Injectable,
|
|
51871
51871
|
args: [{ providedIn: 'any' }]
|
|
51872
51872
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -52600,9 +52600,9 @@ class ProjectStatisticsClient {
|
|
|
52600
52600
|
.pipe(throwStatusErrors(), takeMessages());
|
|
52601
52601
|
}
|
|
52602
52602
|
}
|
|
52603
|
-
ProjectStatisticsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
52604
|
-
ProjectStatisticsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
52605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
52603
|
+
ProjectStatisticsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ProjectStatisticsClient, deps: [{ token: GRPC_PROJECT_STATISTICS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
52604
|
+
ProjectStatisticsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ProjectStatisticsClient, providedIn: 'any' });
|
|
52605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ProjectStatisticsClient, decorators: [{
|
|
52606
52606
|
type: Injectable,
|
|
52607
52607
|
args: [{ providedIn: 'any' }]
|
|
52608
52608
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -58684,6 +58684,3878 @@ class PlatformMapping {
|
|
|
58684
58684
|
}
|
|
58685
58685
|
}
|
|
58686
58686
|
PlatformMapping.id = 'ondewo.nlu.PlatformMapping';
|
|
58687
|
+
/**
|
|
58688
|
+
* Message implementation for ondewo.nlu.FullTextSearchRequest
|
|
58689
|
+
*/
|
|
58690
|
+
class FullTextSearchRequest {
|
|
58691
|
+
/**
|
|
58692
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
58693
|
+
* @param _value initial values object or instance of FullTextSearchRequest to deeply clone from
|
|
58694
|
+
*/
|
|
58695
|
+
constructor(_value) {
|
|
58696
|
+
_value = _value || {};
|
|
58697
|
+
this.parent = _value.parent;
|
|
58698
|
+
this.languageCode = _value.languageCode;
|
|
58699
|
+
this.term = _value.term;
|
|
58700
|
+
this.pageToken = _value.pageToken;
|
|
58701
|
+
FullTextSearchRequest.refineValues(this);
|
|
58702
|
+
}
|
|
58703
|
+
/**
|
|
58704
|
+
* Deserialize binary data to message
|
|
58705
|
+
* @param instance message instance
|
|
58706
|
+
*/
|
|
58707
|
+
static deserializeBinary(bytes) {
|
|
58708
|
+
const instance = new FullTextSearchRequest();
|
|
58709
|
+
FullTextSearchRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
58710
|
+
return instance;
|
|
58711
|
+
}
|
|
58712
|
+
/**
|
|
58713
|
+
* Check all the properties and set default protobuf values if necessary
|
|
58714
|
+
* @param _instance message instance
|
|
58715
|
+
*/
|
|
58716
|
+
static refineValues(_instance) {
|
|
58717
|
+
_instance.parent = _instance.parent || '';
|
|
58718
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
58719
|
+
_instance.term = _instance.term || '';
|
|
58720
|
+
_instance.pageToken = _instance.pageToken || '';
|
|
58721
|
+
}
|
|
58722
|
+
/**
|
|
58723
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
58724
|
+
* @param _instance message instance
|
|
58725
|
+
* @param _reader binary reader instance
|
|
58726
|
+
*/
|
|
58727
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
58728
|
+
while (_reader.nextField()) {
|
|
58729
|
+
if (_reader.isEndGroup())
|
|
58730
|
+
break;
|
|
58731
|
+
switch (_reader.getFieldNumber()) {
|
|
58732
|
+
case 1:
|
|
58733
|
+
_instance.parent = _reader.readString();
|
|
58734
|
+
break;
|
|
58735
|
+
case 2:
|
|
58736
|
+
_instance.languageCode = _reader.readString();
|
|
58737
|
+
break;
|
|
58738
|
+
case 3:
|
|
58739
|
+
_instance.term = _reader.readString();
|
|
58740
|
+
break;
|
|
58741
|
+
case 4:
|
|
58742
|
+
_instance.pageToken = _reader.readString();
|
|
58743
|
+
break;
|
|
58744
|
+
default:
|
|
58745
|
+
_reader.skipField();
|
|
58746
|
+
}
|
|
58747
|
+
}
|
|
58748
|
+
FullTextSearchRequest.refineValues(_instance);
|
|
58749
|
+
}
|
|
58750
|
+
/**
|
|
58751
|
+
* Serializes a message to binary format using provided binary reader
|
|
58752
|
+
* @param _instance message instance
|
|
58753
|
+
* @param _writer binary writer instance
|
|
58754
|
+
*/
|
|
58755
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
58756
|
+
if (_instance.parent) {
|
|
58757
|
+
_writer.writeString(1, _instance.parent);
|
|
58758
|
+
}
|
|
58759
|
+
if (_instance.languageCode) {
|
|
58760
|
+
_writer.writeString(2, _instance.languageCode);
|
|
58761
|
+
}
|
|
58762
|
+
if (_instance.term) {
|
|
58763
|
+
_writer.writeString(3, _instance.term);
|
|
58764
|
+
}
|
|
58765
|
+
if (_instance.pageToken) {
|
|
58766
|
+
_writer.writeString(4, _instance.pageToken);
|
|
58767
|
+
}
|
|
58768
|
+
}
|
|
58769
|
+
get parent() {
|
|
58770
|
+
return this._parent;
|
|
58771
|
+
}
|
|
58772
|
+
set parent(value) {
|
|
58773
|
+
this._parent = value;
|
|
58774
|
+
}
|
|
58775
|
+
get languageCode() {
|
|
58776
|
+
return this._languageCode;
|
|
58777
|
+
}
|
|
58778
|
+
set languageCode(value) {
|
|
58779
|
+
this._languageCode = value;
|
|
58780
|
+
}
|
|
58781
|
+
get term() {
|
|
58782
|
+
return this._term;
|
|
58783
|
+
}
|
|
58784
|
+
set term(value) {
|
|
58785
|
+
this._term = value;
|
|
58786
|
+
}
|
|
58787
|
+
get pageToken() {
|
|
58788
|
+
return this._pageToken;
|
|
58789
|
+
}
|
|
58790
|
+
set pageToken(value) {
|
|
58791
|
+
this._pageToken = value;
|
|
58792
|
+
}
|
|
58793
|
+
/**
|
|
58794
|
+
* Serialize message to binary data
|
|
58795
|
+
* @param instance message instance
|
|
58796
|
+
*/
|
|
58797
|
+
serializeBinary() {
|
|
58798
|
+
const writer = new BinaryWriter();
|
|
58799
|
+
FullTextSearchRequest.serializeBinaryToWriter(this, writer);
|
|
58800
|
+
return writer.getResultBuffer();
|
|
58801
|
+
}
|
|
58802
|
+
/**
|
|
58803
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
58804
|
+
*/
|
|
58805
|
+
toObject() {
|
|
58806
|
+
return {
|
|
58807
|
+
parent: this.parent,
|
|
58808
|
+
languageCode: this.languageCode,
|
|
58809
|
+
term: this.term,
|
|
58810
|
+
pageToken: this.pageToken
|
|
58811
|
+
};
|
|
58812
|
+
}
|
|
58813
|
+
/**
|
|
58814
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
58815
|
+
*/
|
|
58816
|
+
toJSON() {
|
|
58817
|
+
return this.toObject();
|
|
58818
|
+
}
|
|
58819
|
+
/**
|
|
58820
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
58821
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
58822
|
+
* 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
|
|
58823
|
+
*/
|
|
58824
|
+
toProtobufJSON(
|
|
58825
|
+
// @ts-ignore
|
|
58826
|
+
options) {
|
|
58827
|
+
return {
|
|
58828
|
+
parent: this.parent,
|
|
58829
|
+
languageCode: this.languageCode,
|
|
58830
|
+
term: this.term,
|
|
58831
|
+
pageToken: this.pageToken
|
|
58832
|
+
};
|
|
58833
|
+
}
|
|
58834
|
+
}
|
|
58835
|
+
FullTextSearchRequest.id = 'ondewo.nlu.FullTextSearchRequest';
|
|
58836
|
+
(function (FullTextSearchRequest) {
|
|
58837
|
+
let QueryType;
|
|
58838
|
+
(function (QueryType) {
|
|
58839
|
+
QueryType[QueryType["ALL"] = 0] = "ALL";
|
|
58840
|
+
QueryType[QueryType["OndewoEntityQuery"] = 1] = "OndewoEntityQuery";
|
|
58841
|
+
QueryType[QueryType["OndewoEntityTypeQuery"] = 2] = "OndewoEntityTypeQuery";
|
|
58842
|
+
QueryType[QueryType["OndewoEntitySynonymQuery"] = 3] = "OndewoEntitySynonymQuery";
|
|
58843
|
+
QueryType[QueryType["OndewoIntentQuery"] = 4] = "OndewoIntentQuery";
|
|
58844
|
+
QueryType[QueryType["OndewoIntentContextInQuery"] = 5] = "OndewoIntentContextInQuery";
|
|
58845
|
+
QueryType[QueryType["OndewoIntentContextOutQuery"] = 6] = "OndewoIntentContextOutQuery";
|
|
58846
|
+
QueryType[QueryType["OndewoIntentUsersaysQuery"] = 7] = "OndewoIntentUsersaysQuery";
|
|
58847
|
+
QueryType[QueryType["OndewoIntentTagsQuery"] = 8] = "OndewoIntentTagsQuery";
|
|
58848
|
+
QueryType[QueryType["OndewoIntentParametersQuery"] = 9] = "OndewoIntentParametersQuery";
|
|
58849
|
+
QueryType[QueryType["OndewoIntentResponseQuery"] = 10] = "OndewoIntentResponseQuery";
|
|
58850
|
+
})(QueryType = FullTextSearchRequest.QueryType || (FullTextSearchRequest.QueryType = {}));
|
|
58851
|
+
})(FullTextSearchRequest || (FullTextSearchRequest = {}));
|
|
58852
|
+
/**
|
|
58853
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseEntityType
|
|
58854
|
+
*/
|
|
58855
|
+
class FullTextSearchResponseEntityType {
|
|
58856
|
+
/**
|
|
58857
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
58858
|
+
* @param _value initial values object or instance of FullTextSearchResponseEntityType to deeply clone from
|
|
58859
|
+
*/
|
|
58860
|
+
constructor(_value) {
|
|
58861
|
+
_value = _value || {};
|
|
58862
|
+
this.parent = _value.parent;
|
|
58863
|
+
this.languageCode = _value.languageCode;
|
|
58864
|
+
this.entityTypeResults = (_value.entityTypeResults || []).map(m => new FullTextSearchResponseEntityType.EntityTypeSearchResult(m));
|
|
58865
|
+
this.term = _value.term;
|
|
58866
|
+
this.elasticQuery = _value.elasticQuery;
|
|
58867
|
+
this.time = _value.time;
|
|
58868
|
+
this.nextPageToken = _value.nextPageToken;
|
|
58869
|
+
FullTextSearchResponseEntityType.refineValues(this);
|
|
58870
|
+
}
|
|
58871
|
+
/**
|
|
58872
|
+
* Deserialize binary data to message
|
|
58873
|
+
* @param instance message instance
|
|
58874
|
+
*/
|
|
58875
|
+
static deserializeBinary(bytes) {
|
|
58876
|
+
const instance = new FullTextSearchResponseEntityType();
|
|
58877
|
+
FullTextSearchResponseEntityType.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
58878
|
+
return instance;
|
|
58879
|
+
}
|
|
58880
|
+
/**
|
|
58881
|
+
* Check all the properties and set default protobuf values if necessary
|
|
58882
|
+
* @param _instance message instance
|
|
58883
|
+
*/
|
|
58884
|
+
static refineValues(_instance) {
|
|
58885
|
+
_instance.parent = _instance.parent || '';
|
|
58886
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
58887
|
+
_instance.entityTypeResults = _instance.entityTypeResults || [];
|
|
58888
|
+
_instance.term = _instance.term || '';
|
|
58889
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
58890
|
+
_instance.time = _instance.time || 0;
|
|
58891
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
58892
|
+
}
|
|
58893
|
+
/**
|
|
58894
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
58895
|
+
* @param _instance message instance
|
|
58896
|
+
* @param _reader binary reader instance
|
|
58897
|
+
*/
|
|
58898
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
58899
|
+
while (_reader.nextField()) {
|
|
58900
|
+
if (_reader.isEndGroup())
|
|
58901
|
+
break;
|
|
58902
|
+
switch (_reader.getFieldNumber()) {
|
|
58903
|
+
case 1:
|
|
58904
|
+
_instance.parent = _reader.readString();
|
|
58905
|
+
break;
|
|
58906
|
+
case 2:
|
|
58907
|
+
_instance.languageCode = _reader.readString();
|
|
58908
|
+
break;
|
|
58909
|
+
case 3:
|
|
58910
|
+
const messageInitializer3 = new FullTextSearchResponseEntityType.EntityTypeSearchResult();
|
|
58911
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseEntityType.EntityTypeSearchResult
|
|
58912
|
+
.deserializeBinaryFromReader);
|
|
58913
|
+
(_instance.entityTypeResults =
|
|
58914
|
+
_instance.entityTypeResults || []).push(messageInitializer3);
|
|
58915
|
+
break;
|
|
58916
|
+
case 4:
|
|
58917
|
+
_instance.term = _reader.readString();
|
|
58918
|
+
break;
|
|
58919
|
+
case 5:
|
|
58920
|
+
_instance.elasticQuery = _reader.readString();
|
|
58921
|
+
break;
|
|
58922
|
+
case 6:
|
|
58923
|
+
_instance.time = _reader.readFloat();
|
|
58924
|
+
break;
|
|
58925
|
+
case 7:
|
|
58926
|
+
_instance.nextPageToken = _reader.readString();
|
|
58927
|
+
break;
|
|
58928
|
+
default:
|
|
58929
|
+
_reader.skipField();
|
|
58930
|
+
}
|
|
58931
|
+
}
|
|
58932
|
+
FullTextSearchResponseEntityType.refineValues(_instance);
|
|
58933
|
+
}
|
|
58934
|
+
/**
|
|
58935
|
+
* Serializes a message to binary format using provided binary reader
|
|
58936
|
+
* @param _instance message instance
|
|
58937
|
+
* @param _writer binary writer instance
|
|
58938
|
+
*/
|
|
58939
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
58940
|
+
if (_instance.parent) {
|
|
58941
|
+
_writer.writeString(1, _instance.parent);
|
|
58942
|
+
}
|
|
58943
|
+
if (_instance.languageCode) {
|
|
58944
|
+
_writer.writeString(2, _instance.languageCode);
|
|
58945
|
+
}
|
|
58946
|
+
if (_instance.entityTypeResults && _instance.entityTypeResults.length) {
|
|
58947
|
+
_writer.writeRepeatedMessage(3, _instance.entityTypeResults, FullTextSearchResponseEntityType.EntityTypeSearchResult
|
|
58948
|
+
.serializeBinaryToWriter);
|
|
58949
|
+
}
|
|
58950
|
+
if (_instance.term) {
|
|
58951
|
+
_writer.writeString(4, _instance.term);
|
|
58952
|
+
}
|
|
58953
|
+
if (_instance.elasticQuery) {
|
|
58954
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
58955
|
+
}
|
|
58956
|
+
if (_instance.time) {
|
|
58957
|
+
_writer.writeFloat(6, _instance.time);
|
|
58958
|
+
}
|
|
58959
|
+
if (_instance.nextPageToken) {
|
|
58960
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
58961
|
+
}
|
|
58962
|
+
}
|
|
58963
|
+
get parent() {
|
|
58964
|
+
return this._parent;
|
|
58965
|
+
}
|
|
58966
|
+
set parent(value) {
|
|
58967
|
+
this._parent = value;
|
|
58968
|
+
}
|
|
58969
|
+
get languageCode() {
|
|
58970
|
+
return this._languageCode;
|
|
58971
|
+
}
|
|
58972
|
+
set languageCode(value) {
|
|
58973
|
+
this._languageCode = value;
|
|
58974
|
+
}
|
|
58975
|
+
get entityTypeResults() {
|
|
58976
|
+
return this._entityTypeResults;
|
|
58977
|
+
}
|
|
58978
|
+
set entityTypeResults(value) {
|
|
58979
|
+
this._entityTypeResults = value;
|
|
58980
|
+
}
|
|
58981
|
+
get term() {
|
|
58982
|
+
return this._term;
|
|
58983
|
+
}
|
|
58984
|
+
set term(value) {
|
|
58985
|
+
this._term = value;
|
|
58986
|
+
}
|
|
58987
|
+
get elasticQuery() {
|
|
58988
|
+
return this._elasticQuery;
|
|
58989
|
+
}
|
|
58990
|
+
set elasticQuery(value) {
|
|
58991
|
+
this._elasticQuery = value;
|
|
58992
|
+
}
|
|
58993
|
+
get time() {
|
|
58994
|
+
return this._time;
|
|
58995
|
+
}
|
|
58996
|
+
set time(value) {
|
|
58997
|
+
this._time = value;
|
|
58998
|
+
}
|
|
58999
|
+
get nextPageToken() {
|
|
59000
|
+
return this._nextPageToken;
|
|
59001
|
+
}
|
|
59002
|
+
set nextPageToken(value) {
|
|
59003
|
+
this._nextPageToken = value;
|
|
59004
|
+
}
|
|
59005
|
+
/**
|
|
59006
|
+
* Serialize message to binary data
|
|
59007
|
+
* @param instance message instance
|
|
59008
|
+
*/
|
|
59009
|
+
serializeBinary() {
|
|
59010
|
+
const writer = new BinaryWriter();
|
|
59011
|
+
FullTextSearchResponseEntityType.serializeBinaryToWriter(this, writer);
|
|
59012
|
+
return writer.getResultBuffer();
|
|
59013
|
+
}
|
|
59014
|
+
/**
|
|
59015
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
59016
|
+
*/
|
|
59017
|
+
toObject() {
|
|
59018
|
+
return {
|
|
59019
|
+
parent: this.parent,
|
|
59020
|
+
languageCode: this.languageCode,
|
|
59021
|
+
entityTypeResults: (this.entityTypeResults || []).map(m => m.toObject()),
|
|
59022
|
+
term: this.term,
|
|
59023
|
+
elasticQuery: this.elasticQuery,
|
|
59024
|
+
time: this.time,
|
|
59025
|
+
nextPageToken: this.nextPageToken
|
|
59026
|
+
};
|
|
59027
|
+
}
|
|
59028
|
+
/**
|
|
59029
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
59030
|
+
*/
|
|
59031
|
+
toJSON() {
|
|
59032
|
+
return this.toObject();
|
|
59033
|
+
}
|
|
59034
|
+
/**
|
|
59035
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
59036
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
59037
|
+
* 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
|
|
59038
|
+
*/
|
|
59039
|
+
toProtobufJSON(
|
|
59040
|
+
// @ts-ignore
|
|
59041
|
+
options) {
|
|
59042
|
+
return {
|
|
59043
|
+
parent: this.parent,
|
|
59044
|
+
languageCode: this.languageCode,
|
|
59045
|
+
entityTypeResults: (this.entityTypeResults || []).map(m => m.toProtobufJSON(options)),
|
|
59046
|
+
term: this.term,
|
|
59047
|
+
elasticQuery: this.elasticQuery,
|
|
59048
|
+
time: this.time,
|
|
59049
|
+
nextPageToken: this.nextPageToken
|
|
59050
|
+
};
|
|
59051
|
+
}
|
|
59052
|
+
}
|
|
59053
|
+
FullTextSearchResponseEntityType.id = 'ondewo.nlu.FullTextSearchResponseEntityType';
|
|
59054
|
+
(function (FullTextSearchResponseEntityType) {
|
|
59055
|
+
/**
|
|
59056
|
+
* Message implementation for ondewo.nlu.EntityTypeSearchResult
|
|
59057
|
+
*/
|
|
59058
|
+
class EntityTypeSearchResult {
|
|
59059
|
+
/**
|
|
59060
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
59061
|
+
* @param _value initial values object or instance of EntityTypeSearchResult to deeply clone from
|
|
59062
|
+
*/
|
|
59063
|
+
constructor(_value) {
|
|
59064
|
+
_value = _value || {};
|
|
59065
|
+
this.name = _value.name;
|
|
59066
|
+
this.displayName = _value.displayName;
|
|
59067
|
+
this.language = _value.language;
|
|
59068
|
+
EntityTypeSearchResult.refineValues(this);
|
|
59069
|
+
}
|
|
59070
|
+
/**
|
|
59071
|
+
* Deserialize binary data to message
|
|
59072
|
+
* @param instance message instance
|
|
59073
|
+
*/
|
|
59074
|
+
static deserializeBinary(bytes) {
|
|
59075
|
+
const instance = new EntityTypeSearchResult();
|
|
59076
|
+
EntityTypeSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
59077
|
+
return instance;
|
|
59078
|
+
}
|
|
59079
|
+
/**
|
|
59080
|
+
* Check all the properties and set default protobuf values if necessary
|
|
59081
|
+
* @param _instance message instance
|
|
59082
|
+
*/
|
|
59083
|
+
static refineValues(_instance) {
|
|
59084
|
+
_instance.name = _instance.name || '';
|
|
59085
|
+
_instance.displayName = _instance.displayName || '';
|
|
59086
|
+
_instance.language = _instance.language || '';
|
|
59087
|
+
}
|
|
59088
|
+
/**
|
|
59089
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
59090
|
+
* @param _instance message instance
|
|
59091
|
+
* @param _reader binary reader instance
|
|
59092
|
+
*/
|
|
59093
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
59094
|
+
while (_reader.nextField()) {
|
|
59095
|
+
if (_reader.isEndGroup())
|
|
59096
|
+
break;
|
|
59097
|
+
switch (_reader.getFieldNumber()) {
|
|
59098
|
+
case 1:
|
|
59099
|
+
_instance.name = _reader.readString();
|
|
59100
|
+
break;
|
|
59101
|
+
case 2:
|
|
59102
|
+
_instance.displayName = _reader.readString();
|
|
59103
|
+
break;
|
|
59104
|
+
case 3:
|
|
59105
|
+
_instance.language = _reader.readString();
|
|
59106
|
+
break;
|
|
59107
|
+
default:
|
|
59108
|
+
_reader.skipField();
|
|
59109
|
+
}
|
|
59110
|
+
}
|
|
59111
|
+
EntityTypeSearchResult.refineValues(_instance);
|
|
59112
|
+
}
|
|
59113
|
+
/**
|
|
59114
|
+
* Serializes a message to binary format using provided binary reader
|
|
59115
|
+
* @param _instance message instance
|
|
59116
|
+
* @param _writer binary writer instance
|
|
59117
|
+
*/
|
|
59118
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
59119
|
+
if (_instance.name) {
|
|
59120
|
+
_writer.writeString(1, _instance.name);
|
|
59121
|
+
}
|
|
59122
|
+
if (_instance.displayName) {
|
|
59123
|
+
_writer.writeString(2, _instance.displayName);
|
|
59124
|
+
}
|
|
59125
|
+
if (_instance.language) {
|
|
59126
|
+
_writer.writeString(3, _instance.language);
|
|
59127
|
+
}
|
|
59128
|
+
}
|
|
59129
|
+
get name() {
|
|
59130
|
+
return this._name;
|
|
59131
|
+
}
|
|
59132
|
+
set name(value) {
|
|
59133
|
+
this._name = value;
|
|
59134
|
+
}
|
|
59135
|
+
get displayName() {
|
|
59136
|
+
return this._displayName;
|
|
59137
|
+
}
|
|
59138
|
+
set displayName(value) {
|
|
59139
|
+
this._displayName = value;
|
|
59140
|
+
}
|
|
59141
|
+
get language() {
|
|
59142
|
+
return this._language;
|
|
59143
|
+
}
|
|
59144
|
+
set language(value) {
|
|
59145
|
+
this._language = value;
|
|
59146
|
+
}
|
|
59147
|
+
/**
|
|
59148
|
+
* Serialize message to binary data
|
|
59149
|
+
* @param instance message instance
|
|
59150
|
+
*/
|
|
59151
|
+
serializeBinary() {
|
|
59152
|
+
const writer = new BinaryWriter();
|
|
59153
|
+
EntityTypeSearchResult.serializeBinaryToWriter(this, writer);
|
|
59154
|
+
return writer.getResultBuffer();
|
|
59155
|
+
}
|
|
59156
|
+
/**
|
|
59157
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
59158
|
+
*/
|
|
59159
|
+
toObject() {
|
|
59160
|
+
return {
|
|
59161
|
+
name: this.name,
|
|
59162
|
+
displayName: this.displayName,
|
|
59163
|
+
language: this.language
|
|
59164
|
+
};
|
|
59165
|
+
}
|
|
59166
|
+
/**
|
|
59167
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
59168
|
+
*/
|
|
59169
|
+
toJSON() {
|
|
59170
|
+
return this.toObject();
|
|
59171
|
+
}
|
|
59172
|
+
/**
|
|
59173
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
59174
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
59175
|
+
* 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
|
|
59176
|
+
*/
|
|
59177
|
+
toProtobufJSON(
|
|
59178
|
+
// @ts-ignore
|
|
59179
|
+
options) {
|
|
59180
|
+
return {
|
|
59181
|
+
name: this.name,
|
|
59182
|
+
displayName: this.displayName,
|
|
59183
|
+
language: this.language
|
|
59184
|
+
};
|
|
59185
|
+
}
|
|
59186
|
+
}
|
|
59187
|
+
EntityTypeSearchResult.id = 'ondewo.nlu.EntityTypeSearchResult';
|
|
59188
|
+
FullTextSearchResponseEntityType.EntityTypeSearchResult = EntityTypeSearchResult;
|
|
59189
|
+
})(FullTextSearchResponseEntityType || (FullTextSearchResponseEntityType = {}));
|
|
59190
|
+
/**
|
|
59191
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseEntity
|
|
59192
|
+
*/
|
|
59193
|
+
class FullTextSearchResponseEntity {
|
|
59194
|
+
/**
|
|
59195
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
59196
|
+
* @param _value initial values object or instance of FullTextSearchResponseEntity to deeply clone from
|
|
59197
|
+
*/
|
|
59198
|
+
constructor(_value) {
|
|
59199
|
+
_value = _value || {};
|
|
59200
|
+
this.parent = _value.parent;
|
|
59201
|
+
this.languageCode = _value.languageCode;
|
|
59202
|
+
this.entityResults = (_value.entityResults || []).map(m => new FullTextSearchResponseEntity.EntitySearchResult(m));
|
|
59203
|
+
this.term = _value.term;
|
|
59204
|
+
this.elasticQuery = _value.elasticQuery;
|
|
59205
|
+
this.time = _value.time;
|
|
59206
|
+
this.nextPageToken = _value.nextPageToken;
|
|
59207
|
+
FullTextSearchResponseEntity.refineValues(this);
|
|
59208
|
+
}
|
|
59209
|
+
/**
|
|
59210
|
+
* Deserialize binary data to message
|
|
59211
|
+
* @param instance message instance
|
|
59212
|
+
*/
|
|
59213
|
+
static deserializeBinary(bytes) {
|
|
59214
|
+
const instance = new FullTextSearchResponseEntity();
|
|
59215
|
+
FullTextSearchResponseEntity.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
59216
|
+
return instance;
|
|
59217
|
+
}
|
|
59218
|
+
/**
|
|
59219
|
+
* Check all the properties and set default protobuf values if necessary
|
|
59220
|
+
* @param _instance message instance
|
|
59221
|
+
*/
|
|
59222
|
+
static refineValues(_instance) {
|
|
59223
|
+
_instance.parent = _instance.parent || '';
|
|
59224
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
59225
|
+
_instance.entityResults = _instance.entityResults || [];
|
|
59226
|
+
_instance.term = _instance.term || '';
|
|
59227
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
59228
|
+
_instance.time = _instance.time || 0;
|
|
59229
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
59230
|
+
}
|
|
59231
|
+
/**
|
|
59232
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
59233
|
+
* @param _instance message instance
|
|
59234
|
+
* @param _reader binary reader instance
|
|
59235
|
+
*/
|
|
59236
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
59237
|
+
while (_reader.nextField()) {
|
|
59238
|
+
if (_reader.isEndGroup())
|
|
59239
|
+
break;
|
|
59240
|
+
switch (_reader.getFieldNumber()) {
|
|
59241
|
+
case 1:
|
|
59242
|
+
_instance.parent = _reader.readString();
|
|
59243
|
+
break;
|
|
59244
|
+
case 2:
|
|
59245
|
+
_instance.languageCode = _reader.readString();
|
|
59246
|
+
break;
|
|
59247
|
+
case 3:
|
|
59248
|
+
const messageInitializer3 = new FullTextSearchResponseEntity.EntitySearchResult();
|
|
59249
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseEntity.EntitySearchResult
|
|
59250
|
+
.deserializeBinaryFromReader);
|
|
59251
|
+
(_instance.entityResults = _instance.entityResults || []).push(messageInitializer3);
|
|
59252
|
+
break;
|
|
59253
|
+
case 4:
|
|
59254
|
+
_instance.term = _reader.readString();
|
|
59255
|
+
break;
|
|
59256
|
+
case 5:
|
|
59257
|
+
_instance.elasticQuery = _reader.readString();
|
|
59258
|
+
break;
|
|
59259
|
+
case 6:
|
|
59260
|
+
_instance.time = _reader.readFloat();
|
|
59261
|
+
break;
|
|
59262
|
+
case 7:
|
|
59263
|
+
_instance.nextPageToken = _reader.readString();
|
|
59264
|
+
break;
|
|
59265
|
+
default:
|
|
59266
|
+
_reader.skipField();
|
|
59267
|
+
}
|
|
59268
|
+
}
|
|
59269
|
+
FullTextSearchResponseEntity.refineValues(_instance);
|
|
59270
|
+
}
|
|
59271
|
+
/**
|
|
59272
|
+
* Serializes a message to binary format using provided binary reader
|
|
59273
|
+
* @param _instance message instance
|
|
59274
|
+
* @param _writer binary writer instance
|
|
59275
|
+
*/
|
|
59276
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
59277
|
+
if (_instance.parent) {
|
|
59278
|
+
_writer.writeString(1, _instance.parent);
|
|
59279
|
+
}
|
|
59280
|
+
if (_instance.languageCode) {
|
|
59281
|
+
_writer.writeString(2, _instance.languageCode);
|
|
59282
|
+
}
|
|
59283
|
+
if (_instance.entityResults && _instance.entityResults.length) {
|
|
59284
|
+
_writer.writeRepeatedMessage(3, _instance.entityResults, FullTextSearchResponseEntity.EntitySearchResult.serializeBinaryToWriter);
|
|
59285
|
+
}
|
|
59286
|
+
if (_instance.term) {
|
|
59287
|
+
_writer.writeString(4, _instance.term);
|
|
59288
|
+
}
|
|
59289
|
+
if (_instance.elasticQuery) {
|
|
59290
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
59291
|
+
}
|
|
59292
|
+
if (_instance.time) {
|
|
59293
|
+
_writer.writeFloat(6, _instance.time);
|
|
59294
|
+
}
|
|
59295
|
+
if (_instance.nextPageToken) {
|
|
59296
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
59297
|
+
}
|
|
59298
|
+
}
|
|
59299
|
+
get parent() {
|
|
59300
|
+
return this._parent;
|
|
59301
|
+
}
|
|
59302
|
+
set parent(value) {
|
|
59303
|
+
this._parent = value;
|
|
59304
|
+
}
|
|
59305
|
+
get languageCode() {
|
|
59306
|
+
return this._languageCode;
|
|
59307
|
+
}
|
|
59308
|
+
set languageCode(value) {
|
|
59309
|
+
this._languageCode = value;
|
|
59310
|
+
}
|
|
59311
|
+
get entityResults() {
|
|
59312
|
+
return this._entityResults;
|
|
59313
|
+
}
|
|
59314
|
+
set entityResults(value) {
|
|
59315
|
+
this._entityResults = value;
|
|
59316
|
+
}
|
|
59317
|
+
get term() {
|
|
59318
|
+
return this._term;
|
|
59319
|
+
}
|
|
59320
|
+
set term(value) {
|
|
59321
|
+
this._term = value;
|
|
59322
|
+
}
|
|
59323
|
+
get elasticQuery() {
|
|
59324
|
+
return this._elasticQuery;
|
|
59325
|
+
}
|
|
59326
|
+
set elasticQuery(value) {
|
|
59327
|
+
this._elasticQuery = value;
|
|
59328
|
+
}
|
|
59329
|
+
get time() {
|
|
59330
|
+
return this._time;
|
|
59331
|
+
}
|
|
59332
|
+
set time(value) {
|
|
59333
|
+
this._time = value;
|
|
59334
|
+
}
|
|
59335
|
+
get nextPageToken() {
|
|
59336
|
+
return this._nextPageToken;
|
|
59337
|
+
}
|
|
59338
|
+
set nextPageToken(value) {
|
|
59339
|
+
this._nextPageToken = value;
|
|
59340
|
+
}
|
|
59341
|
+
/**
|
|
59342
|
+
* Serialize message to binary data
|
|
59343
|
+
* @param instance message instance
|
|
59344
|
+
*/
|
|
59345
|
+
serializeBinary() {
|
|
59346
|
+
const writer = new BinaryWriter();
|
|
59347
|
+
FullTextSearchResponseEntity.serializeBinaryToWriter(this, writer);
|
|
59348
|
+
return writer.getResultBuffer();
|
|
59349
|
+
}
|
|
59350
|
+
/**
|
|
59351
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
59352
|
+
*/
|
|
59353
|
+
toObject() {
|
|
59354
|
+
return {
|
|
59355
|
+
parent: this.parent,
|
|
59356
|
+
languageCode: this.languageCode,
|
|
59357
|
+
entityResults: (this.entityResults || []).map(m => m.toObject()),
|
|
59358
|
+
term: this.term,
|
|
59359
|
+
elasticQuery: this.elasticQuery,
|
|
59360
|
+
time: this.time,
|
|
59361
|
+
nextPageToken: this.nextPageToken
|
|
59362
|
+
};
|
|
59363
|
+
}
|
|
59364
|
+
/**
|
|
59365
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
59366
|
+
*/
|
|
59367
|
+
toJSON() {
|
|
59368
|
+
return this.toObject();
|
|
59369
|
+
}
|
|
59370
|
+
/**
|
|
59371
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
59372
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
59373
|
+
* 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
|
|
59374
|
+
*/
|
|
59375
|
+
toProtobufJSON(
|
|
59376
|
+
// @ts-ignore
|
|
59377
|
+
options) {
|
|
59378
|
+
return {
|
|
59379
|
+
parent: this.parent,
|
|
59380
|
+
languageCode: this.languageCode,
|
|
59381
|
+
entityResults: (this.entityResults || []).map(m => m.toProtobufJSON(options)),
|
|
59382
|
+
term: this.term,
|
|
59383
|
+
elasticQuery: this.elasticQuery,
|
|
59384
|
+
time: this.time,
|
|
59385
|
+
nextPageToken: this.nextPageToken
|
|
59386
|
+
};
|
|
59387
|
+
}
|
|
59388
|
+
}
|
|
59389
|
+
FullTextSearchResponseEntity.id = 'ondewo.nlu.FullTextSearchResponseEntity';
|
|
59390
|
+
(function (FullTextSearchResponseEntity) {
|
|
59391
|
+
/**
|
|
59392
|
+
* Message implementation for ondewo.nlu.EntitySearchResult
|
|
59393
|
+
*/
|
|
59394
|
+
class EntitySearchResult {
|
|
59395
|
+
/**
|
|
59396
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
59397
|
+
* @param _value initial values object or instance of EntitySearchResult to deeply clone from
|
|
59398
|
+
*/
|
|
59399
|
+
constructor(_value) {
|
|
59400
|
+
_value = _value || {};
|
|
59401
|
+
this.name = _value.name;
|
|
59402
|
+
this.displayName = _value.displayName;
|
|
59403
|
+
this.entityTypeName = _value.entityTypeName;
|
|
59404
|
+
this.language = _value.language;
|
|
59405
|
+
EntitySearchResult.refineValues(this);
|
|
59406
|
+
}
|
|
59407
|
+
/**
|
|
59408
|
+
* Deserialize binary data to message
|
|
59409
|
+
* @param instance message instance
|
|
59410
|
+
*/
|
|
59411
|
+
static deserializeBinary(bytes) {
|
|
59412
|
+
const instance = new EntitySearchResult();
|
|
59413
|
+
EntitySearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
59414
|
+
return instance;
|
|
59415
|
+
}
|
|
59416
|
+
/**
|
|
59417
|
+
* Check all the properties and set default protobuf values if necessary
|
|
59418
|
+
* @param _instance message instance
|
|
59419
|
+
*/
|
|
59420
|
+
static refineValues(_instance) {
|
|
59421
|
+
_instance.name = _instance.name || '';
|
|
59422
|
+
_instance.displayName = _instance.displayName || '';
|
|
59423
|
+
_instance.entityTypeName = _instance.entityTypeName || '';
|
|
59424
|
+
_instance.language = _instance.language || '';
|
|
59425
|
+
}
|
|
59426
|
+
/**
|
|
59427
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
59428
|
+
* @param _instance message instance
|
|
59429
|
+
* @param _reader binary reader instance
|
|
59430
|
+
*/
|
|
59431
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
59432
|
+
while (_reader.nextField()) {
|
|
59433
|
+
if (_reader.isEndGroup())
|
|
59434
|
+
break;
|
|
59435
|
+
switch (_reader.getFieldNumber()) {
|
|
59436
|
+
case 1:
|
|
59437
|
+
_instance.name = _reader.readString();
|
|
59438
|
+
break;
|
|
59439
|
+
case 2:
|
|
59440
|
+
_instance.displayName = _reader.readString();
|
|
59441
|
+
break;
|
|
59442
|
+
case 3:
|
|
59443
|
+
_instance.entityTypeName = _reader.readString();
|
|
59444
|
+
break;
|
|
59445
|
+
case 4:
|
|
59446
|
+
_instance.language = _reader.readString();
|
|
59447
|
+
break;
|
|
59448
|
+
default:
|
|
59449
|
+
_reader.skipField();
|
|
59450
|
+
}
|
|
59451
|
+
}
|
|
59452
|
+
EntitySearchResult.refineValues(_instance);
|
|
59453
|
+
}
|
|
59454
|
+
/**
|
|
59455
|
+
* Serializes a message to binary format using provided binary reader
|
|
59456
|
+
* @param _instance message instance
|
|
59457
|
+
* @param _writer binary writer instance
|
|
59458
|
+
*/
|
|
59459
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
59460
|
+
if (_instance.name) {
|
|
59461
|
+
_writer.writeString(1, _instance.name);
|
|
59462
|
+
}
|
|
59463
|
+
if (_instance.displayName) {
|
|
59464
|
+
_writer.writeString(2, _instance.displayName);
|
|
59465
|
+
}
|
|
59466
|
+
if (_instance.entityTypeName) {
|
|
59467
|
+
_writer.writeString(3, _instance.entityTypeName);
|
|
59468
|
+
}
|
|
59469
|
+
if (_instance.language) {
|
|
59470
|
+
_writer.writeString(4, _instance.language);
|
|
59471
|
+
}
|
|
59472
|
+
}
|
|
59473
|
+
get name() {
|
|
59474
|
+
return this._name;
|
|
59475
|
+
}
|
|
59476
|
+
set name(value) {
|
|
59477
|
+
this._name = value;
|
|
59478
|
+
}
|
|
59479
|
+
get displayName() {
|
|
59480
|
+
return this._displayName;
|
|
59481
|
+
}
|
|
59482
|
+
set displayName(value) {
|
|
59483
|
+
this._displayName = value;
|
|
59484
|
+
}
|
|
59485
|
+
get entityTypeName() {
|
|
59486
|
+
return this._entityTypeName;
|
|
59487
|
+
}
|
|
59488
|
+
set entityTypeName(value) {
|
|
59489
|
+
this._entityTypeName = value;
|
|
59490
|
+
}
|
|
59491
|
+
get language() {
|
|
59492
|
+
return this._language;
|
|
59493
|
+
}
|
|
59494
|
+
set language(value) {
|
|
59495
|
+
this._language = value;
|
|
59496
|
+
}
|
|
59497
|
+
/**
|
|
59498
|
+
* Serialize message to binary data
|
|
59499
|
+
* @param instance message instance
|
|
59500
|
+
*/
|
|
59501
|
+
serializeBinary() {
|
|
59502
|
+
const writer = new BinaryWriter();
|
|
59503
|
+
EntitySearchResult.serializeBinaryToWriter(this, writer);
|
|
59504
|
+
return writer.getResultBuffer();
|
|
59505
|
+
}
|
|
59506
|
+
/**
|
|
59507
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
59508
|
+
*/
|
|
59509
|
+
toObject() {
|
|
59510
|
+
return {
|
|
59511
|
+
name: this.name,
|
|
59512
|
+
displayName: this.displayName,
|
|
59513
|
+
entityTypeName: this.entityTypeName,
|
|
59514
|
+
language: this.language
|
|
59515
|
+
};
|
|
59516
|
+
}
|
|
59517
|
+
/**
|
|
59518
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
59519
|
+
*/
|
|
59520
|
+
toJSON() {
|
|
59521
|
+
return this.toObject();
|
|
59522
|
+
}
|
|
59523
|
+
/**
|
|
59524
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
59525
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
59526
|
+
* 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
|
|
59527
|
+
*/
|
|
59528
|
+
toProtobufJSON(
|
|
59529
|
+
// @ts-ignore
|
|
59530
|
+
options) {
|
|
59531
|
+
return {
|
|
59532
|
+
name: this.name,
|
|
59533
|
+
displayName: this.displayName,
|
|
59534
|
+
entityTypeName: this.entityTypeName,
|
|
59535
|
+
language: this.language
|
|
59536
|
+
};
|
|
59537
|
+
}
|
|
59538
|
+
}
|
|
59539
|
+
EntitySearchResult.id = 'ondewo.nlu.EntitySearchResult';
|
|
59540
|
+
FullTextSearchResponseEntity.EntitySearchResult = EntitySearchResult;
|
|
59541
|
+
})(FullTextSearchResponseEntity || (FullTextSearchResponseEntity = {}));
|
|
59542
|
+
/**
|
|
59543
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseEntitySynonym
|
|
59544
|
+
*/
|
|
59545
|
+
class FullTextSearchResponseEntitySynonym {
|
|
59546
|
+
/**
|
|
59547
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
59548
|
+
* @param _value initial values object or instance of FullTextSearchResponseEntitySynonym to deeply clone from
|
|
59549
|
+
*/
|
|
59550
|
+
constructor(_value) {
|
|
59551
|
+
_value = _value || {};
|
|
59552
|
+
this.parent = _value.parent;
|
|
59553
|
+
this.languageCode = _value.languageCode;
|
|
59554
|
+
this.entitySynonymResults = (_value.entitySynonymResults || []).map(m => new FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult(m));
|
|
59555
|
+
this.term = _value.term;
|
|
59556
|
+
this.elasticQuery = _value.elasticQuery;
|
|
59557
|
+
this.time = _value.time;
|
|
59558
|
+
this.nextPageToken = _value.nextPageToken;
|
|
59559
|
+
FullTextSearchResponseEntitySynonym.refineValues(this);
|
|
59560
|
+
}
|
|
59561
|
+
/**
|
|
59562
|
+
* Deserialize binary data to message
|
|
59563
|
+
* @param instance message instance
|
|
59564
|
+
*/
|
|
59565
|
+
static deserializeBinary(bytes) {
|
|
59566
|
+
const instance = new FullTextSearchResponseEntitySynonym();
|
|
59567
|
+
FullTextSearchResponseEntitySynonym.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
59568
|
+
return instance;
|
|
59569
|
+
}
|
|
59570
|
+
/**
|
|
59571
|
+
* Check all the properties and set default protobuf values if necessary
|
|
59572
|
+
* @param _instance message instance
|
|
59573
|
+
*/
|
|
59574
|
+
static refineValues(_instance) {
|
|
59575
|
+
_instance.parent = _instance.parent || '';
|
|
59576
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
59577
|
+
_instance.entitySynonymResults = _instance.entitySynonymResults || [];
|
|
59578
|
+
_instance.term = _instance.term || '';
|
|
59579
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
59580
|
+
_instance.time = _instance.time || 0;
|
|
59581
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
59582
|
+
}
|
|
59583
|
+
/**
|
|
59584
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
59585
|
+
* @param _instance message instance
|
|
59586
|
+
* @param _reader binary reader instance
|
|
59587
|
+
*/
|
|
59588
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
59589
|
+
while (_reader.nextField()) {
|
|
59590
|
+
if (_reader.isEndGroup())
|
|
59591
|
+
break;
|
|
59592
|
+
switch (_reader.getFieldNumber()) {
|
|
59593
|
+
case 1:
|
|
59594
|
+
_instance.parent = _reader.readString();
|
|
59595
|
+
break;
|
|
59596
|
+
case 2:
|
|
59597
|
+
_instance.languageCode = _reader.readString();
|
|
59598
|
+
break;
|
|
59599
|
+
case 3:
|
|
59600
|
+
const messageInitializer3 = new FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult();
|
|
59601
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult
|
|
59602
|
+
.deserializeBinaryFromReader);
|
|
59603
|
+
(_instance.entitySynonymResults =
|
|
59604
|
+
_instance.entitySynonymResults || []).push(messageInitializer3);
|
|
59605
|
+
break;
|
|
59606
|
+
case 4:
|
|
59607
|
+
_instance.term = _reader.readString();
|
|
59608
|
+
break;
|
|
59609
|
+
case 5:
|
|
59610
|
+
_instance.elasticQuery = _reader.readString();
|
|
59611
|
+
break;
|
|
59612
|
+
case 6:
|
|
59613
|
+
_instance.time = _reader.readFloat();
|
|
59614
|
+
break;
|
|
59615
|
+
case 7:
|
|
59616
|
+
_instance.nextPageToken = _reader.readString();
|
|
59617
|
+
break;
|
|
59618
|
+
default:
|
|
59619
|
+
_reader.skipField();
|
|
59620
|
+
}
|
|
59621
|
+
}
|
|
59622
|
+
FullTextSearchResponseEntitySynonym.refineValues(_instance);
|
|
59623
|
+
}
|
|
59624
|
+
/**
|
|
59625
|
+
* Serializes a message to binary format using provided binary reader
|
|
59626
|
+
* @param _instance message instance
|
|
59627
|
+
* @param _writer binary writer instance
|
|
59628
|
+
*/
|
|
59629
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
59630
|
+
if (_instance.parent) {
|
|
59631
|
+
_writer.writeString(1, _instance.parent);
|
|
59632
|
+
}
|
|
59633
|
+
if (_instance.languageCode) {
|
|
59634
|
+
_writer.writeString(2, _instance.languageCode);
|
|
59635
|
+
}
|
|
59636
|
+
if (_instance.entitySynonymResults &&
|
|
59637
|
+
_instance.entitySynonymResults.length) {
|
|
59638
|
+
_writer.writeRepeatedMessage(3, _instance.entitySynonymResults, FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult
|
|
59639
|
+
.serializeBinaryToWriter);
|
|
59640
|
+
}
|
|
59641
|
+
if (_instance.term) {
|
|
59642
|
+
_writer.writeString(4, _instance.term);
|
|
59643
|
+
}
|
|
59644
|
+
if (_instance.elasticQuery) {
|
|
59645
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
59646
|
+
}
|
|
59647
|
+
if (_instance.time) {
|
|
59648
|
+
_writer.writeFloat(6, _instance.time);
|
|
59649
|
+
}
|
|
59650
|
+
if (_instance.nextPageToken) {
|
|
59651
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
59652
|
+
}
|
|
59653
|
+
}
|
|
59654
|
+
get parent() {
|
|
59655
|
+
return this._parent;
|
|
59656
|
+
}
|
|
59657
|
+
set parent(value) {
|
|
59658
|
+
this._parent = value;
|
|
59659
|
+
}
|
|
59660
|
+
get languageCode() {
|
|
59661
|
+
return this._languageCode;
|
|
59662
|
+
}
|
|
59663
|
+
set languageCode(value) {
|
|
59664
|
+
this._languageCode = value;
|
|
59665
|
+
}
|
|
59666
|
+
get entitySynonymResults() {
|
|
59667
|
+
return this._entitySynonymResults;
|
|
59668
|
+
}
|
|
59669
|
+
set entitySynonymResults(value) {
|
|
59670
|
+
this._entitySynonymResults = value;
|
|
59671
|
+
}
|
|
59672
|
+
get term() {
|
|
59673
|
+
return this._term;
|
|
59674
|
+
}
|
|
59675
|
+
set term(value) {
|
|
59676
|
+
this._term = value;
|
|
59677
|
+
}
|
|
59678
|
+
get elasticQuery() {
|
|
59679
|
+
return this._elasticQuery;
|
|
59680
|
+
}
|
|
59681
|
+
set elasticQuery(value) {
|
|
59682
|
+
this._elasticQuery = value;
|
|
59683
|
+
}
|
|
59684
|
+
get time() {
|
|
59685
|
+
return this._time;
|
|
59686
|
+
}
|
|
59687
|
+
set time(value) {
|
|
59688
|
+
this._time = value;
|
|
59689
|
+
}
|
|
59690
|
+
get nextPageToken() {
|
|
59691
|
+
return this._nextPageToken;
|
|
59692
|
+
}
|
|
59693
|
+
set nextPageToken(value) {
|
|
59694
|
+
this._nextPageToken = value;
|
|
59695
|
+
}
|
|
59696
|
+
/**
|
|
59697
|
+
* Serialize message to binary data
|
|
59698
|
+
* @param instance message instance
|
|
59699
|
+
*/
|
|
59700
|
+
serializeBinary() {
|
|
59701
|
+
const writer = new BinaryWriter();
|
|
59702
|
+
FullTextSearchResponseEntitySynonym.serializeBinaryToWriter(this, writer);
|
|
59703
|
+
return writer.getResultBuffer();
|
|
59704
|
+
}
|
|
59705
|
+
/**
|
|
59706
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
59707
|
+
*/
|
|
59708
|
+
toObject() {
|
|
59709
|
+
return {
|
|
59710
|
+
parent: this.parent,
|
|
59711
|
+
languageCode: this.languageCode,
|
|
59712
|
+
entitySynonymResults: (this.entitySynonymResults || []).map(m => m.toObject()),
|
|
59713
|
+
term: this.term,
|
|
59714
|
+
elasticQuery: this.elasticQuery,
|
|
59715
|
+
time: this.time,
|
|
59716
|
+
nextPageToken: this.nextPageToken
|
|
59717
|
+
};
|
|
59718
|
+
}
|
|
59719
|
+
/**
|
|
59720
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
59721
|
+
*/
|
|
59722
|
+
toJSON() {
|
|
59723
|
+
return this.toObject();
|
|
59724
|
+
}
|
|
59725
|
+
/**
|
|
59726
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
59727
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
59728
|
+
* 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
|
|
59729
|
+
*/
|
|
59730
|
+
toProtobufJSON(
|
|
59731
|
+
// @ts-ignore
|
|
59732
|
+
options) {
|
|
59733
|
+
return {
|
|
59734
|
+
parent: this.parent,
|
|
59735
|
+
languageCode: this.languageCode,
|
|
59736
|
+
entitySynonymResults: (this.entitySynonymResults || []).map(m => m.toProtobufJSON(options)),
|
|
59737
|
+
term: this.term,
|
|
59738
|
+
elasticQuery: this.elasticQuery,
|
|
59739
|
+
time: this.time,
|
|
59740
|
+
nextPageToken: this.nextPageToken
|
|
59741
|
+
};
|
|
59742
|
+
}
|
|
59743
|
+
}
|
|
59744
|
+
FullTextSearchResponseEntitySynonym.id = 'ondewo.nlu.FullTextSearchResponseEntitySynonym';
|
|
59745
|
+
(function (FullTextSearchResponseEntitySynonym) {
|
|
59746
|
+
/**
|
|
59747
|
+
* Message implementation for ondewo.nlu.EntitySynonymSearchResult
|
|
59748
|
+
*/
|
|
59749
|
+
class EntitySynonymSearchResult {
|
|
59750
|
+
/**
|
|
59751
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
59752
|
+
* @param _value initial values object or instance of EntitySynonymSearchResult to deeply clone from
|
|
59753
|
+
*/
|
|
59754
|
+
constructor(_value) {
|
|
59755
|
+
_value = _value || {};
|
|
59756
|
+
this.name = _value.name;
|
|
59757
|
+
this.displayName = _value.displayName;
|
|
59758
|
+
this.entityTypeName = _value.entityTypeName;
|
|
59759
|
+
this.entityName = _value.entityName;
|
|
59760
|
+
this.language = _value.language;
|
|
59761
|
+
EntitySynonymSearchResult.refineValues(this);
|
|
59762
|
+
}
|
|
59763
|
+
/**
|
|
59764
|
+
* Deserialize binary data to message
|
|
59765
|
+
* @param instance message instance
|
|
59766
|
+
*/
|
|
59767
|
+
static deserializeBinary(bytes) {
|
|
59768
|
+
const instance = new EntitySynonymSearchResult();
|
|
59769
|
+
EntitySynonymSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
59770
|
+
return instance;
|
|
59771
|
+
}
|
|
59772
|
+
/**
|
|
59773
|
+
* Check all the properties and set default protobuf values if necessary
|
|
59774
|
+
* @param _instance message instance
|
|
59775
|
+
*/
|
|
59776
|
+
static refineValues(_instance) {
|
|
59777
|
+
_instance.name = _instance.name || '';
|
|
59778
|
+
_instance.displayName = _instance.displayName || '';
|
|
59779
|
+
_instance.entityTypeName = _instance.entityTypeName || '';
|
|
59780
|
+
_instance.entityName = _instance.entityName || '';
|
|
59781
|
+
_instance.language = _instance.language || '';
|
|
59782
|
+
}
|
|
59783
|
+
/**
|
|
59784
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
59785
|
+
* @param _instance message instance
|
|
59786
|
+
* @param _reader binary reader instance
|
|
59787
|
+
*/
|
|
59788
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
59789
|
+
while (_reader.nextField()) {
|
|
59790
|
+
if (_reader.isEndGroup())
|
|
59791
|
+
break;
|
|
59792
|
+
switch (_reader.getFieldNumber()) {
|
|
59793
|
+
case 1:
|
|
59794
|
+
_instance.name = _reader.readString();
|
|
59795
|
+
break;
|
|
59796
|
+
case 2:
|
|
59797
|
+
_instance.displayName = _reader.readString();
|
|
59798
|
+
break;
|
|
59799
|
+
case 3:
|
|
59800
|
+
_instance.entityTypeName = _reader.readString();
|
|
59801
|
+
break;
|
|
59802
|
+
case 4:
|
|
59803
|
+
_instance.entityName = _reader.readString();
|
|
59804
|
+
break;
|
|
59805
|
+
case 5:
|
|
59806
|
+
_instance.language = _reader.readString();
|
|
59807
|
+
break;
|
|
59808
|
+
default:
|
|
59809
|
+
_reader.skipField();
|
|
59810
|
+
}
|
|
59811
|
+
}
|
|
59812
|
+
EntitySynonymSearchResult.refineValues(_instance);
|
|
59813
|
+
}
|
|
59814
|
+
/**
|
|
59815
|
+
* Serializes a message to binary format using provided binary reader
|
|
59816
|
+
* @param _instance message instance
|
|
59817
|
+
* @param _writer binary writer instance
|
|
59818
|
+
*/
|
|
59819
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
59820
|
+
if (_instance.name) {
|
|
59821
|
+
_writer.writeString(1, _instance.name);
|
|
59822
|
+
}
|
|
59823
|
+
if (_instance.displayName) {
|
|
59824
|
+
_writer.writeString(2, _instance.displayName);
|
|
59825
|
+
}
|
|
59826
|
+
if (_instance.entityTypeName) {
|
|
59827
|
+
_writer.writeString(3, _instance.entityTypeName);
|
|
59828
|
+
}
|
|
59829
|
+
if (_instance.entityName) {
|
|
59830
|
+
_writer.writeString(4, _instance.entityName);
|
|
59831
|
+
}
|
|
59832
|
+
if (_instance.language) {
|
|
59833
|
+
_writer.writeString(5, _instance.language);
|
|
59834
|
+
}
|
|
59835
|
+
}
|
|
59836
|
+
get name() {
|
|
59837
|
+
return this._name;
|
|
59838
|
+
}
|
|
59839
|
+
set name(value) {
|
|
59840
|
+
this._name = value;
|
|
59841
|
+
}
|
|
59842
|
+
get displayName() {
|
|
59843
|
+
return this._displayName;
|
|
59844
|
+
}
|
|
59845
|
+
set displayName(value) {
|
|
59846
|
+
this._displayName = value;
|
|
59847
|
+
}
|
|
59848
|
+
get entityTypeName() {
|
|
59849
|
+
return this._entityTypeName;
|
|
59850
|
+
}
|
|
59851
|
+
set entityTypeName(value) {
|
|
59852
|
+
this._entityTypeName = value;
|
|
59853
|
+
}
|
|
59854
|
+
get entityName() {
|
|
59855
|
+
return this._entityName;
|
|
59856
|
+
}
|
|
59857
|
+
set entityName(value) {
|
|
59858
|
+
this._entityName = value;
|
|
59859
|
+
}
|
|
59860
|
+
get language() {
|
|
59861
|
+
return this._language;
|
|
59862
|
+
}
|
|
59863
|
+
set language(value) {
|
|
59864
|
+
this._language = value;
|
|
59865
|
+
}
|
|
59866
|
+
/**
|
|
59867
|
+
* Serialize message to binary data
|
|
59868
|
+
* @param instance message instance
|
|
59869
|
+
*/
|
|
59870
|
+
serializeBinary() {
|
|
59871
|
+
const writer = new BinaryWriter();
|
|
59872
|
+
EntitySynonymSearchResult.serializeBinaryToWriter(this, writer);
|
|
59873
|
+
return writer.getResultBuffer();
|
|
59874
|
+
}
|
|
59875
|
+
/**
|
|
59876
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
59877
|
+
*/
|
|
59878
|
+
toObject() {
|
|
59879
|
+
return {
|
|
59880
|
+
name: this.name,
|
|
59881
|
+
displayName: this.displayName,
|
|
59882
|
+
entityTypeName: this.entityTypeName,
|
|
59883
|
+
entityName: this.entityName,
|
|
59884
|
+
language: this.language
|
|
59885
|
+
};
|
|
59886
|
+
}
|
|
59887
|
+
/**
|
|
59888
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
59889
|
+
*/
|
|
59890
|
+
toJSON() {
|
|
59891
|
+
return this.toObject();
|
|
59892
|
+
}
|
|
59893
|
+
/**
|
|
59894
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
59895
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
59896
|
+
* 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
|
|
59897
|
+
*/
|
|
59898
|
+
toProtobufJSON(
|
|
59899
|
+
// @ts-ignore
|
|
59900
|
+
options) {
|
|
59901
|
+
return {
|
|
59902
|
+
name: this.name,
|
|
59903
|
+
displayName: this.displayName,
|
|
59904
|
+
entityTypeName: this.entityTypeName,
|
|
59905
|
+
entityName: this.entityName,
|
|
59906
|
+
language: this.language
|
|
59907
|
+
};
|
|
59908
|
+
}
|
|
59909
|
+
}
|
|
59910
|
+
EntitySynonymSearchResult.id = 'ondewo.nlu.EntitySynonymSearchResult';
|
|
59911
|
+
FullTextSearchResponseEntitySynonym.EntitySynonymSearchResult = EntitySynonymSearchResult;
|
|
59912
|
+
})(FullTextSearchResponseEntitySynonym || (FullTextSearchResponseEntitySynonym = {}));
|
|
59913
|
+
/**
|
|
59914
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseIntent
|
|
59915
|
+
*/
|
|
59916
|
+
class FullTextSearchResponseIntent {
|
|
59917
|
+
/**
|
|
59918
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
59919
|
+
* @param _value initial values object or instance of FullTextSearchResponseIntent to deeply clone from
|
|
59920
|
+
*/
|
|
59921
|
+
constructor(_value) {
|
|
59922
|
+
_value = _value || {};
|
|
59923
|
+
this.parent = _value.parent;
|
|
59924
|
+
this.languageCode = _value.languageCode;
|
|
59925
|
+
this.intentResults = (_value.intentResults || []).map(m => new FullTextSearchResponseIntent.IntentSearchResult(m));
|
|
59926
|
+
this.term = _value.term;
|
|
59927
|
+
this.elasticQuery = _value.elasticQuery;
|
|
59928
|
+
this.time = _value.time;
|
|
59929
|
+
this.nextPageToken = _value.nextPageToken;
|
|
59930
|
+
FullTextSearchResponseIntent.refineValues(this);
|
|
59931
|
+
}
|
|
59932
|
+
/**
|
|
59933
|
+
* Deserialize binary data to message
|
|
59934
|
+
* @param instance message instance
|
|
59935
|
+
*/
|
|
59936
|
+
static deserializeBinary(bytes) {
|
|
59937
|
+
const instance = new FullTextSearchResponseIntent();
|
|
59938
|
+
FullTextSearchResponseIntent.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
59939
|
+
return instance;
|
|
59940
|
+
}
|
|
59941
|
+
/**
|
|
59942
|
+
* Check all the properties and set default protobuf values if necessary
|
|
59943
|
+
* @param _instance message instance
|
|
59944
|
+
*/
|
|
59945
|
+
static refineValues(_instance) {
|
|
59946
|
+
_instance.parent = _instance.parent || '';
|
|
59947
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
59948
|
+
_instance.intentResults = _instance.intentResults || [];
|
|
59949
|
+
_instance.term = _instance.term || '';
|
|
59950
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
59951
|
+
_instance.time = _instance.time || 0;
|
|
59952
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
59953
|
+
}
|
|
59954
|
+
/**
|
|
59955
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
59956
|
+
* @param _instance message instance
|
|
59957
|
+
* @param _reader binary reader instance
|
|
59958
|
+
*/
|
|
59959
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
59960
|
+
while (_reader.nextField()) {
|
|
59961
|
+
if (_reader.isEndGroup())
|
|
59962
|
+
break;
|
|
59963
|
+
switch (_reader.getFieldNumber()) {
|
|
59964
|
+
case 1:
|
|
59965
|
+
_instance.parent = _reader.readString();
|
|
59966
|
+
break;
|
|
59967
|
+
case 2:
|
|
59968
|
+
_instance.languageCode = _reader.readString();
|
|
59969
|
+
break;
|
|
59970
|
+
case 3:
|
|
59971
|
+
const messageInitializer3 = new FullTextSearchResponseIntent.IntentSearchResult();
|
|
59972
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseIntent.IntentSearchResult
|
|
59973
|
+
.deserializeBinaryFromReader);
|
|
59974
|
+
(_instance.intentResults = _instance.intentResults || []).push(messageInitializer3);
|
|
59975
|
+
break;
|
|
59976
|
+
case 4:
|
|
59977
|
+
_instance.term = _reader.readString();
|
|
59978
|
+
break;
|
|
59979
|
+
case 5:
|
|
59980
|
+
_instance.elasticQuery = _reader.readString();
|
|
59981
|
+
break;
|
|
59982
|
+
case 6:
|
|
59983
|
+
_instance.time = _reader.readFloat();
|
|
59984
|
+
break;
|
|
59985
|
+
case 7:
|
|
59986
|
+
_instance.nextPageToken = _reader.readString();
|
|
59987
|
+
break;
|
|
59988
|
+
default:
|
|
59989
|
+
_reader.skipField();
|
|
59990
|
+
}
|
|
59991
|
+
}
|
|
59992
|
+
FullTextSearchResponseIntent.refineValues(_instance);
|
|
59993
|
+
}
|
|
59994
|
+
/**
|
|
59995
|
+
* Serializes a message to binary format using provided binary reader
|
|
59996
|
+
* @param _instance message instance
|
|
59997
|
+
* @param _writer binary writer instance
|
|
59998
|
+
*/
|
|
59999
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
60000
|
+
if (_instance.parent) {
|
|
60001
|
+
_writer.writeString(1, _instance.parent);
|
|
60002
|
+
}
|
|
60003
|
+
if (_instance.languageCode) {
|
|
60004
|
+
_writer.writeString(2, _instance.languageCode);
|
|
60005
|
+
}
|
|
60006
|
+
if (_instance.intentResults && _instance.intentResults.length) {
|
|
60007
|
+
_writer.writeRepeatedMessage(3, _instance.intentResults, FullTextSearchResponseIntent.IntentSearchResult.serializeBinaryToWriter);
|
|
60008
|
+
}
|
|
60009
|
+
if (_instance.term) {
|
|
60010
|
+
_writer.writeString(4, _instance.term);
|
|
60011
|
+
}
|
|
60012
|
+
if (_instance.elasticQuery) {
|
|
60013
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
60014
|
+
}
|
|
60015
|
+
if (_instance.time) {
|
|
60016
|
+
_writer.writeFloat(6, _instance.time);
|
|
60017
|
+
}
|
|
60018
|
+
if (_instance.nextPageToken) {
|
|
60019
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
60020
|
+
}
|
|
60021
|
+
}
|
|
60022
|
+
get parent() {
|
|
60023
|
+
return this._parent;
|
|
60024
|
+
}
|
|
60025
|
+
set parent(value) {
|
|
60026
|
+
this._parent = value;
|
|
60027
|
+
}
|
|
60028
|
+
get languageCode() {
|
|
60029
|
+
return this._languageCode;
|
|
60030
|
+
}
|
|
60031
|
+
set languageCode(value) {
|
|
60032
|
+
this._languageCode = value;
|
|
60033
|
+
}
|
|
60034
|
+
get intentResults() {
|
|
60035
|
+
return this._intentResults;
|
|
60036
|
+
}
|
|
60037
|
+
set intentResults(value) {
|
|
60038
|
+
this._intentResults = value;
|
|
60039
|
+
}
|
|
60040
|
+
get term() {
|
|
60041
|
+
return this._term;
|
|
60042
|
+
}
|
|
60043
|
+
set term(value) {
|
|
60044
|
+
this._term = value;
|
|
60045
|
+
}
|
|
60046
|
+
get elasticQuery() {
|
|
60047
|
+
return this._elasticQuery;
|
|
60048
|
+
}
|
|
60049
|
+
set elasticQuery(value) {
|
|
60050
|
+
this._elasticQuery = value;
|
|
60051
|
+
}
|
|
60052
|
+
get time() {
|
|
60053
|
+
return this._time;
|
|
60054
|
+
}
|
|
60055
|
+
set time(value) {
|
|
60056
|
+
this._time = value;
|
|
60057
|
+
}
|
|
60058
|
+
get nextPageToken() {
|
|
60059
|
+
return this._nextPageToken;
|
|
60060
|
+
}
|
|
60061
|
+
set nextPageToken(value) {
|
|
60062
|
+
this._nextPageToken = value;
|
|
60063
|
+
}
|
|
60064
|
+
/**
|
|
60065
|
+
* Serialize message to binary data
|
|
60066
|
+
* @param instance message instance
|
|
60067
|
+
*/
|
|
60068
|
+
serializeBinary() {
|
|
60069
|
+
const writer = new BinaryWriter();
|
|
60070
|
+
FullTextSearchResponseIntent.serializeBinaryToWriter(this, writer);
|
|
60071
|
+
return writer.getResultBuffer();
|
|
60072
|
+
}
|
|
60073
|
+
/**
|
|
60074
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
60075
|
+
*/
|
|
60076
|
+
toObject() {
|
|
60077
|
+
return {
|
|
60078
|
+
parent: this.parent,
|
|
60079
|
+
languageCode: this.languageCode,
|
|
60080
|
+
intentResults: (this.intentResults || []).map(m => m.toObject()),
|
|
60081
|
+
term: this.term,
|
|
60082
|
+
elasticQuery: this.elasticQuery,
|
|
60083
|
+
time: this.time,
|
|
60084
|
+
nextPageToken: this.nextPageToken
|
|
60085
|
+
};
|
|
60086
|
+
}
|
|
60087
|
+
/**
|
|
60088
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
60089
|
+
*/
|
|
60090
|
+
toJSON() {
|
|
60091
|
+
return this.toObject();
|
|
60092
|
+
}
|
|
60093
|
+
/**
|
|
60094
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
60095
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
60096
|
+
* 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
|
|
60097
|
+
*/
|
|
60098
|
+
toProtobufJSON(
|
|
60099
|
+
// @ts-ignore
|
|
60100
|
+
options) {
|
|
60101
|
+
return {
|
|
60102
|
+
parent: this.parent,
|
|
60103
|
+
languageCode: this.languageCode,
|
|
60104
|
+
intentResults: (this.intentResults || []).map(m => m.toProtobufJSON(options)),
|
|
60105
|
+
term: this.term,
|
|
60106
|
+
elasticQuery: this.elasticQuery,
|
|
60107
|
+
time: this.time,
|
|
60108
|
+
nextPageToken: this.nextPageToken
|
|
60109
|
+
};
|
|
60110
|
+
}
|
|
60111
|
+
}
|
|
60112
|
+
FullTextSearchResponseIntent.id = 'ondewo.nlu.FullTextSearchResponseIntent';
|
|
60113
|
+
(function (FullTextSearchResponseIntent) {
|
|
60114
|
+
/**
|
|
60115
|
+
* Message implementation for ondewo.nlu.IntentSearchResult
|
|
60116
|
+
*/
|
|
60117
|
+
class IntentSearchResult {
|
|
60118
|
+
/**
|
|
60119
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
60120
|
+
* @param _value initial values object or instance of IntentSearchResult to deeply clone from
|
|
60121
|
+
*/
|
|
60122
|
+
constructor(_value) {
|
|
60123
|
+
_value = _value || {};
|
|
60124
|
+
this.name = _value.name;
|
|
60125
|
+
this.displayName = _value.displayName;
|
|
60126
|
+
this.domainName = _value.domainName;
|
|
60127
|
+
this.language = _value.language;
|
|
60128
|
+
IntentSearchResult.refineValues(this);
|
|
60129
|
+
}
|
|
60130
|
+
/**
|
|
60131
|
+
* Deserialize binary data to message
|
|
60132
|
+
* @param instance message instance
|
|
60133
|
+
*/
|
|
60134
|
+
static deserializeBinary(bytes) {
|
|
60135
|
+
const instance = new IntentSearchResult();
|
|
60136
|
+
IntentSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
60137
|
+
return instance;
|
|
60138
|
+
}
|
|
60139
|
+
/**
|
|
60140
|
+
* Check all the properties and set default protobuf values if necessary
|
|
60141
|
+
* @param _instance message instance
|
|
60142
|
+
*/
|
|
60143
|
+
static refineValues(_instance) {
|
|
60144
|
+
_instance.name = _instance.name || '';
|
|
60145
|
+
_instance.displayName = _instance.displayName || '';
|
|
60146
|
+
_instance.domainName = _instance.domainName || '';
|
|
60147
|
+
_instance.language = _instance.language || '';
|
|
60148
|
+
}
|
|
60149
|
+
/**
|
|
60150
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
60151
|
+
* @param _instance message instance
|
|
60152
|
+
* @param _reader binary reader instance
|
|
60153
|
+
*/
|
|
60154
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
60155
|
+
while (_reader.nextField()) {
|
|
60156
|
+
if (_reader.isEndGroup())
|
|
60157
|
+
break;
|
|
60158
|
+
switch (_reader.getFieldNumber()) {
|
|
60159
|
+
case 1:
|
|
60160
|
+
_instance.name = _reader.readString();
|
|
60161
|
+
break;
|
|
60162
|
+
case 2:
|
|
60163
|
+
_instance.displayName = _reader.readString();
|
|
60164
|
+
break;
|
|
60165
|
+
case 3:
|
|
60166
|
+
_instance.domainName = _reader.readString();
|
|
60167
|
+
break;
|
|
60168
|
+
case 4:
|
|
60169
|
+
_instance.language = _reader.readString();
|
|
60170
|
+
break;
|
|
60171
|
+
default:
|
|
60172
|
+
_reader.skipField();
|
|
60173
|
+
}
|
|
60174
|
+
}
|
|
60175
|
+
IntentSearchResult.refineValues(_instance);
|
|
60176
|
+
}
|
|
60177
|
+
/**
|
|
60178
|
+
* Serializes a message to binary format using provided binary reader
|
|
60179
|
+
* @param _instance message instance
|
|
60180
|
+
* @param _writer binary writer instance
|
|
60181
|
+
*/
|
|
60182
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
60183
|
+
if (_instance.name) {
|
|
60184
|
+
_writer.writeString(1, _instance.name);
|
|
60185
|
+
}
|
|
60186
|
+
if (_instance.displayName) {
|
|
60187
|
+
_writer.writeString(2, _instance.displayName);
|
|
60188
|
+
}
|
|
60189
|
+
if (_instance.domainName) {
|
|
60190
|
+
_writer.writeString(3, _instance.domainName);
|
|
60191
|
+
}
|
|
60192
|
+
if (_instance.language) {
|
|
60193
|
+
_writer.writeString(4, _instance.language);
|
|
60194
|
+
}
|
|
60195
|
+
}
|
|
60196
|
+
get name() {
|
|
60197
|
+
return this._name;
|
|
60198
|
+
}
|
|
60199
|
+
set name(value) {
|
|
60200
|
+
this._name = value;
|
|
60201
|
+
}
|
|
60202
|
+
get displayName() {
|
|
60203
|
+
return this._displayName;
|
|
60204
|
+
}
|
|
60205
|
+
set displayName(value) {
|
|
60206
|
+
this._displayName = value;
|
|
60207
|
+
}
|
|
60208
|
+
get domainName() {
|
|
60209
|
+
return this._domainName;
|
|
60210
|
+
}
|
|
60211
|
+
set domainName(value) {
|
|
60212
|
+
this._domainName = value;
|
|
60213
|
+
}
|
|
60214
|
+
get language() {
|
|
60215
|
+
return this._language;
|
|
60216
|
+
}
|
|
60217
|
+
set language(value) {
|
|
60218
|
+
this._language = value;
|
|
60219
|
+
}
|
|
60220
|
+
/**
|
|
60221
|
+
* Serialize message to binary data
|
|
60222
|
+
* @param instance message instance
|
|
60223
|
+
*/
|
|
60224
|
+
serializeBinary() {
|
|
60225
|
+
const writer = new BinaryWriter();
|
|
60226
|
+
IntentSearchResult.serializeBinaryToWriter(this, writer);
|
|
60227
|
+
return writer.getResultBuffer();
|
|
60228
|
+
}
|
|
60229
|
+
/**
|
|
60230
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
60231
|
+
*/
|
|
60232
|
+
toObject() {
|
|
60233
|
+
return {
|
|
60234
|
+
name: this.name,
|
|
60235
|
+
displayName: this.displayName,
|
|
60236
|
+
domainName: this.domainName,
|
|
60237
|
+
language: this.language
|
|
60238
|
+
};
|
|
60239
|
+
}
|
|
60240
|
+
/**
|
|
60241
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
60242
|
+
*/
|
|
60243
|
+
toJSON() {
|
|
60244
|
+
return this.toObject();
|
|
60245
|
+
}
|
|
60246
|
+
/**
|
|
60247
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
60248
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
60249
|
+
* 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
|
|
60250
|
+
*/
|
|
60251
|
+
toProtobufJSON(
|
|
60252
|
+
// @ts-ignore
|
|
60253
|
+
options) {
|
|
60254
|
+
return {
|
|
60255
|
+
name: this.name,
|
|
60256
|
+
displayName: this.displayName,
|
|
60257
|
+
domainName: this.domainName,
|
|
60258
|
+
language: this.language
|
|
60259
|
+
};
|
|
60260
|
+
}
|
|
60261
|
+
}
|
|
60262
|
+
IntentSearchResult.id = 'ondewo.nlu.IntentSearchResult';
|
|
60263
|
+
FullTextSearchResponseIntent.IntentSearchResult = IntentSearchResult;
|
|
60264
|
+
})(FullTextSearchResponseIntent || (FullTextSearchResponseIntent = {}));
|
|
60265
|
+
/**
|
|
60266
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseIntentContextIn
|
|
60267
|
+
*/
|
|
60268
|
+
class FullTextSearchResponseIntentContextIn {
|
|
60269
|
+
/**
|
|
60270
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
60271
|
+
* @param _value initial values object or instance of FullTextSearchResponseIntentContextIn to deeply clone from
|
|
60272
|
+
*/
|
|
60273
|
+
constructor(_value) {
|
|
60274
|
+
_value = _value || {};
|
|
60275
|
+
this.parent = _value.parent;
|
|
60276
|
+
this.languageCode = _value.languageCode;
|
|
60277
|
+
this.intentContextInResults = (_value.intentContextInResults || []).map(m => new FullTextSearchResponseIntentContextIn.IntentContextInSearchResult(m));
|
|
60278
|
+
this.term = _value.term;
|
|
60279
|
+
this.elasticQuery = _value.elasticQuery;
|
|
60280
|
+
this.time = _value.time;
|
|
60281
|
+
this.nextPageToken = _value.nextPageToken;
|
|
60282
|
+
FullTextSearchResponseIntentContextIn.refineValues(this);
|
|
60283
|
+
}
|
|
60284
|
+
/**
|
|
60285
|
+
* Deserialize binary data to message
|
|
60286
|
+
* @param instance message instance
|
|
60287
|
+
*/
|
|
60288
|
+
static deserializeBinary(bytes) {
|
|
60289
|
+
const instance = new FullTextSearchResponseIntentContextIn();
|
|
60290
|
+
FullTextSearchResponseIntentContextIn.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
60291
|
+
return instance;
|
|
60292
|
+
}
|
|
60293
|
+
/**
|
|
60294
|
+
* Check all the properties and set default protobuf values if necessary
|
|
60295
|
+
* @param _instance message instance
|
|
60296
|
+
*/
|
|
60297
|
+
static refineValues(_instance) {
|
|
60298
|
+
_instance.parent = _instance.parent || '';
|
|
60299
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
60300
|
+
_instance.intentContextInResults = _instance.intentContextInResults || [];
|
|
60301
|
+
_instance.term = _instance.term || '';
|
|
60302
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
60303
|
+
_instance.time = _instance.time || 0;
|
|
60304
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
60305
|
+
}
|
|
60306
|
+
/**
|
|
60307
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
60308
|
+
* @param _instance message instance
|
|
60309
|
+
* @param _reader binary reader instance
|
|
60310
|
+
*/
|
|
60311
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
60312
|
+
while (_reader.nextField()) {
|
|
60313
|
+
if (_reader.isEndGroup())
|
|
60314
|
+
break;
|
|
60315
|
+
switch (_reader.getFieldNumber()) {
|
|
60316
|
+
case 1:
|
|
60317
|
+
_instance.parent = _reader.readString();
|
|
60318
|
+
break;
|
|
60319
|
+
case 2:
|
|
60320
|
+
_instance.languageCode = _reader.readString();
|
|
60321
|
+
break;
|
|
60322
|
+
case 3:
|
|
60323
|
+
const messageInitializer3 = new FullTextSearchResponseIntentContextIn.IntentContextInSearchResult();
|
|
60324
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseIntentContextIn.IntentContextInSearchResult
|
|
60325
|
+
.deserializeBinaryFromReader);
|
|
60326
|
+
(_instance.intentContextInResults =
|
|
60327
|
+
_instance.intentContextInResults || []).push(messageInitializer3);
|
|
60328
|
+
break;
|
|
60329
|
+
case 4:
|
|
60330
|
+
_instance.term = _reader.readString();
|
|
60331
|
+
break;
|
|
60332
|
+
case 5:
|
|
60333
|
+
_instance.elasticQuery = _reader.readString();
|
|
60334
|
+
break;
|
|
60335
|
+
case 6:
|
|
60336
|
+
_instance.time = _reader.readFloat();
|
|
60337
|
+
break;
|
|
60338
|
+
case 7:
|
|
60339
|
+
_instance.nextPageToken = _reader.readString();
|
|
60340
|
+
break;
|
|
60341
|
+
default:
|
|
60342
|
+
_reader.skipField();
|
|
60343
|
+
}
|
|
60344
|
+
}
|
|
60345
|
+
FullTextSearchResponseIntentContextIn.refineValues(_instance);
|
|
60346
|
+
}
|
|
60347
|
+
/**
|
|
60348
|
+
* Serializes a message to binary format using provided binary reader
|
|
60349
|
+
* @param _instance message instance
|
|
60350
|
+
* @param _writer binary writer instance
|
|
60351
|
+
*/
|
|
60352
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
60353
|
+
if (_instance.parent) {
|
|
60354
|
+
_writer.writeString(1, _instance.parent);
|
|
60355
|
+
}
|
|
60356
|
+
if (_instance.languageCode) {
|
|
60357
|
+
_writer.writeString(2, _instance.languageCode);
|
|
60358
|
+
}
|
|
60359
|
+
if (_instance.intentContextInResults &&
|
|
60360
|
+
_instance.intentContextInResults.length) {
|
|
60361
|
+
_writer.writeRepeatedMessage(3, _instance.intentContextInResults, FullTextSearchResponseIntentContextIn.IntentContextInSearchResult
|
|
60362
|
+
.serializeBinaryToWriter);
|
|
60363
|
+
}
|
|
60364
|
+
if (_instance.term) {
|
|
60365
|
+
_writer.writeString(4, _instance.term);
|
|
60366
|
+
}
|
|
60367
|
+
if (_instance.elasticQuery) {
|
|
60368
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
60369
|
+
}
|
|
60370
|
+
if (_instance.time) {
|
|
60371
|
+
_writer.writeFloat(6, _instance.time);
|
|
60372
|
+
}
|
|
60373
|
+
if (_instance.nextPageToken) {
|
|
60374
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
60375
|
+
}
|
|
60376
|
+
}
|
|
60377
|
+
get parent() {
|
|
60378
|
+
return this._parent;
|
|
60379
|
+
}
|
|
60380
|
+
set parent(value) {
|
|
60381
|
+
this._parent = value;
|
|
60382
|
+
}
|
|
60383
|
+
get languageCode() {
|
|
60384
|
+
return this._languageCode;
|
|
60385
|
+
}
|
|
60386
|
+
set languageCode(value) {
|
|
60387
|
+
this._languageCode = value;
|
|
60388
|
+
}
|
|
60389
|
+
get intentContextInResults() {
|
|
60390
|
+
return this._intentContextInResults;
|
|
60391
|
+
}
|
|
60392
|
+
set intentContextInResults(value) {
|
|
60393
|
+
this._intentContextInResults = value;
|
|
60394
|
+
}
|
|
60395
|
+
get term() {
|
|
60396
|
+
return this._term;
|
|
60397
|
+
}
|
|
60398
|
+
set term(value) {
|
|
60399
|
+
this._term = value;
|
|
60400
|
+
}
|
|
60401
|
+
get elasticQuery() {
|
|
60402
|
+
return this._elasticQuery;
|
|
60403
|
+
}
|
|
60404
|
+
set elasticQuery(value) {
|
|
60405
|
+
this._elasticQuery = value;
|
|
60406
|
+
}
|
|
60407
|
+
get time() {
|
|
60408
|
+
return this._time;
|
|
60409
|
+
}
|
|
60410
|
+
set time(value) {
|
|
60411
|
+
this._time = value;
|
|
60412
|
+
}
|
|
60413
|
+
get nextPageToken() {
|
|
60414
|
+
return this._nextPageToken;
|
|
60415
|
+
}
|
|
60416
|
+
set nextPageToken(value) {
|
|
60417
|
+
this._nextPageToken = value;
|
|
60418
|
+
}
|
|
60419
|
+
/**
|
|
60420
|
+
* Serialize message to binary data
|
|
60421
|
+
* @param instance message instance
|
|
60422
|
+
*/
|
|
60423
|
+
serializeBinary() {
|
|
60424
|
+
const writer = new BinaryWriter();
|
|
60425
|
+
FullTextSearchResponseIntentContextIn.serializeBinaryToWriter(this, writer);
|
|
60426
|
+
return writer.getResultBuffer();
|
|
60427
|
+
}
|
|
60428
|
+
/**
|
|
60429
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
60430
|
+
*/
|
|
60431
|
+
toObject() {
|
|
60432
|
+
return {
|
|
60433
|
+
parent: this.parent,
|
|
60434
|
+
languageCode: this.languageCode,
|
|
60435
|
+
intentContextInResults: (this.intentContextInResults || []).map(m => m.toObject()),
|
|
60436
|
+
term: this.term,
|
|
60437
|
+
elasticQuery: this.elasticQuery,
|
|
60438
|
+
time: this.time,
|
|
60439
|
+
nextPageToken: this.nextPageToken
|
|
60440
|
+
};
|
|
60441
|
+
}
|
|
60442
|
+
/**
|
|
60443
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
60444
|
+
*/
|
|
60445
|
+
toJSON() {
|
|
60446
|
+
return this.toObject();
|
|
60447
|
+
}
|
|
60448
|
+
/**
|
|
60449
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
60450
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
60451
|
+
* 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
|
|
60452
|
+
*/
|
|
60453
|
+
toProtobufJSON(
|
|
60454
|
+
// @ts-ignore
|
|
60455
|
+
options) {
|
|
60456
|
+
return {
|
|
60457
|
+
parent: this.parent,
|
|
60458
|
+
languageCode: this.languageCode,
|
|
60459
|
+
intentContextInResults: (this.intentContextInResults || []).map(m => m.toProtobufJSON(options)),
|
|
60460
|
+
term: this.term,
|
|
60461
|
+
elasticQuery: this.elasticQuery,
|
|
60462
|
+
time: this.time,
|
|
60463
|
+
nextPageToken: this.nextPageToken
|
|
60464
|
+
};
|
|
60465
|
+
}
|
|
60466
|
+
}
|
|
60467
|
+
FullTextSearchResponseIntentContextIn.id = 'ondewo.nlu.FullTextSearchResponseIntentContextIn';
|
|
60468
|
+
(function (FullTextSearchResponseIntentContextIn) {
|
|
60469
|
+
/**
|
|
60470
|
+
* Message implementation for ondewo.nlu.IntentContextInSearchResult
|
|
60471
|
+
*/
|
|
60472
|
+
class IntentContextInSearchResult {
|
|
60473
|
+
/**
|
|
60474
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
60475
|
+
* @param _value initial values object or instance of IntentContextInSearchResult to deeply clone from
|
|
60476
|
+
*/
|
|
60477
|
+
constructor(_value) {
|
|
60478
|
+
_value = _value || {};
|
|
60479
|
+
this.name = _value.name;
|
|
60480
|
+
this.intentName = _value.intentName;
|
|
60481
|
+
this.language = _value.language;
|
|
60482
|
+
IntentContextInSearchResult.refineValues(this);
|
|
60483
|
+
}
|
|
60484
|
+
/**
|
|
60485
|
+
* Deserialize binary data to message
|
|
60486
|
+
* @param instance message instance
|
|
60487
|
+
*/
|
|
60488
|
+
static deserializeBinary(bytes) {
|
|
60489
|
+
const instance = new IntentContextInSearchResult();
|
|
60490
|
+
IntentContextInSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
60491
|
+
return instance;
|
|
60492
|
+
}
|
|
60493
|
+
/**
|
|
60494
|
+
* Check all the properties and set default protobuf values if necessary
|
|
60495
|
+
* @param _instance message instance
|
|
60496
|
+
*/
|
|
60497
|
+
static refineValues(_instance) {
|
|
60498
|
+
_instance.name = _instance.name || '';
|
|
60499
|
+
_instance.intentName = _instance.intentName || '';
|
|
60500
|
+
_instance.language = _instance.language || '';
|
|
60501
|
+
}
|
|
60502
|
+
/**
|
|
60503
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
60504
|
+
* @param _instance message instance
|
|
60505
|
+
* @param _reader binary reader instance
|
|
60506
|
+
*/
|
|
60507
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
60508
|
+
while (_reader.nextField()) {
|
|
60509
|
+
if (_reader.isEndGroup())
|
|
60510
|
+
break;
|
|
60511
|
+
switch (_reader.getFieldNumber()) {
|
|
60512
|
+
case 1:
|
|
60513
|
+
_instance.name = _reader.readString();
|
|
60514
|
+
break;
|
|
60515
|
+
case 2:
|
|
60516
|
+
_instance.intentName = _reader.readString();
|
|
60517
|
+
break;
|
|
60518
|
+
case 3:
|
|
60519
|
+
_instance.language = _reader.readString();
|
|
60520
|
+
break;
|
|
60521
|
+
default:
|
|
60522
|
+
_reader.skipField();
|
|
60523
|
+
}
|
|
60524
|
+
}
|
|
60525
|
+
IntentContextInSearchResult.refineValues(_instance);
|
|
60526
|
+
}
|
|
60527
|
+
/**
|
|
60528
|
+
* Serializes a message to binary format using provided binary reader
|
|
60529
|
+
* @param _instance message instance
|
|
60530
|
+
* @param _writer binary writer instance
|
|
60531
|
+
*/
|
|
60532
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
60533
|
+
if (_instance.name) {
|
|
60534
|
+
_writer.writeString(1, _instance.name);
|
|
60535
|
+
}
|
|
60536
|
+
if (_instance.intentName) {
|
|
60537
|
+
_writer.writeString(2, _instance.intentName);
|
|
60538
|
+
}
|
|
60539
|
+
if (_instance.language) {
|
|
60540
|
+
_writer.writeString(3, _instance.language);
|
|
60541
|
+
}
|
|
60542
|
+
}
|
|
60543
|
+
get name() {
|
|
60544
|
+
return this._name;
|
|
60545
|
+
}
|
|
60546
|
+
set name(value) {
|
|
60547
|
+
this._name = value;
|
|
60548
|
+
}
|
|
60549
|
+
get intentName() {
|
|
60550
|
+
return this._intentName;
|
|
60551
|
+
}
|
|
60552
|
+
set intentName(value) {
|
|
60553
|
+
this._intentName = value;
|
|
60554
|
+
}
|
|
60555
|
+
get language() {
|
|
60556
|
+
return this._language;
|
|
60557
|
+
}
|
|
60558
|
+
set language(value) {
|
|
60559
|
+
this._language = value;
|
|
60560
|
+
}
|
|
60561
|
+
/**
|
|
60562
|
+
* Serialize message to binary data
|
|
60563
|
+
* @param instance message instance
|
|
60564
|
+
*/
|
|
60565
|
+
serializeBinary() {
|
|
60566
|
+
const writer = new BinaryWriter();
|
|
60567
|
+
IntentContextInSearchResult.serializeBinaryToWriter(this, writer);
|
|
60568
|
+
return writer.getResultBuffer();
|
|
60569
|
+
}
|
|
60570
|
+
/**
|
|
60571
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
60572
|
+
*/
|
|
60573
|
+
toObject() {
|
|
60574
|
+
return {
|
|
60575
|
+
name: this.name,
|
|
60576
|
+
intentName: this.intentName,
|
|
60577
|
+
language: this.language
|
|
60578
|
+
};
|
|
60579
|
+
}
|
|
60580
|
+
/**
|
|
60581
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
60582
|
+
*/
|
|
60583
|
+
toJSON() {
|
|
60584
|
+
return this.toObject();
|
|
60585
|
+
}
|
|
60586
|
+
/**
|
|
60587
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
60588
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
60589
|
+
* 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
|
|
60590
|
+
*/
|
|
60591
|
+
toProtobufJSON(
|
|
60592
|
+
// @ts-ignore
|
|
60593
|
+
options) {
|
|
60594
|
+
return {
|
|
60595
|
+
name: this.name,
|
|
60596
|
+
intentName: this.intentName,
|
|
60597
|
+
language: this.language
|
|
60598
|
+
};
|
|
60599
|
+
}
|
|
60600
|
+
}
|
|
60601
|
+
IntentContextInSearchResult.id = 'ondewo.nlu.IntentContextInSearchResult';
|
|
60602
|
+
FullTextSearchResponseIntentContextIn.IntentContextInSearchResult = IntentContextInSearchResult;
|
|
60603
|
+
})(FullTextSearchResponseIntentContextIn || (FullTextSearchResponseIntentContextIn = {}));
|
|
60604
|
+
/**
|
|
60605
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseIntentContextOut
|
|
60606
|
+
*/
|
|
60607
|
+
class FullTextSearchResponseIntentContextOut {
|
|
60608
|
+
/**
|
|
60609
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
60610
|
+
* @param _value initial values object or instance of FullTextSearchResponseIntentContextOut to deeply clone from
|
|
60611
|
+
*/
|
|
60612
|
+
constructor(_value) {
|
|
60613
|
+
_value = _value || {};
|
|
60614
|
+
this.parent = _value.parent;
|
|
60615
|
+
this.languageCode = _value.languageCode;
|
|
60616
|
+
this.intentContextOutResults = (_value.intentContextOutResults || []).map(m => new FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult(m));
|
|
60617
|
+
this.term = _value.term;
|
|
60618
|
+
this.elasticQuery = _value.elasticQuery;
|
|
60619
|
+
this.time = _value.time;
|
|
60620
|
+
this.nextPageToken = _value.nextPageToken;
|
|
60621
|
+
FullTextSearchResponseIntentContextOut.refineValues(this);
|
|
60622
|
+
}
|
|
60623
|
+
/**
|
|
60624
|
+
* Deserialize binary data to message
|
|
60625
|
+
* @param instance message instance
|
|
60626
|
+
*/
|
|
60627
|
+
static deserializeBinary(bytes) {
|
|
60628
|
+
const instance = new FullTextSearchResponseIntentContextOut();
|
|
60629
|
+
FullTextSearchResponseIntentContextOut.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
60630
|
+
return instance;
|
|
60631
|
+
}
|
|
60632
|
+
/**
|
|
60633
|
+
* Check all the properties and set default protobuf values if necessary
|
|
60634
|
+
* @param _instance message instance
|
|
60635
|
+
*/
|
|
60636
|
+
static refineValues(_instance) {
|
|
60637
|
+
_instance.parent = _instance.parent || '';
|
|
60638
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
60639
|
+
_instance.intentContextOutResults = _instance.intentContextOutResults || [];
|
|
60640
|
+
_instance.term = _instance.term || '';
|
|
60641
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
60642
|
+
_instance.time = _instance.time || 0;
|
|
60643
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
60644
|
+
}
|
|
60645
|
+
/**
|
|
60646
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
60647
|
+
* @param _instance message instance
|
|
60648
|
+
* @param _reader binary reader instance
|
|
60649
|
+
*/
|
|
60650
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
60651
|
+
while (_reader.nextField()) {
|
|
60652
|
+
if (_reader.isEndGroup())
|
|
60653
|
+
break;
|
|
60654
|
+
switch (_reader.getFieldNumber()) {
|
|
60655
|
+
case 1:
|
|
60656
|
+
_instance.parent = _reader.readString();
|
|
60657
|
+
break;
|
|
60658
|
+
case 2:
|
|
60659
|
+
_instance.languageCode = _reader.readString();
|
|
60660
|
+
break;
|
|
60661
|
+
case 3:
|
|
60662
|
+
const messageInitializer3 = new FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult();
|
|
60663
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult
|
|
60664
|
+
.deserializeBinaryFromReader);
|
|
60665
|
+
(_instance.intentContextOutResults =
|
|
60666
|
+
_instance.intentContextOutResults || []).push(messageInitializer3);
|
|
60667
|
+
break;
|
|
60668
|
+
case 4:
|
|
60669
|
+
_instance.term = _reader.readString();
|
|
60670
|
+
break;
|
|
60671
|
+
case 5:
|
|
60672
|
+
_instance.elasticQuery = _reader.readString();
|
|
60673
|
+
break;
|
|
60674
|
+
case 6:
|
|
60675
|
+
_instance.time = _reader.readFloat();
|
|
60676
|
+
break;
|
|
60677
|
+
case 7:
|
|
60678
|
+
_instance.nextPageToken = _reader.readString();
|
|
60679
|
+
break;
|
|
60680
|
+
default:
|
|
60681
|
+
_reader.skipField();
|
|
60682
|
+
}
|
|
60683
|
+
}
|
|
60684
|
+
FullTextSearchResponseIntentContextOut.refineValues(_instance);
|
|
60685
|
+
}
|
|
60686
|
+
/**
|
|
60687
|
+
* Serializes a message to binary format using provided binary reader
|
|
60688
|
+
* @param _instance message instance
|
|
60689
|
+
* @param _writer binary writer instance
|
|
60690
|
+
*/
|
|
60691
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
60692
|
+
if (_instance.parent) {
|
|
60693
|
+
_writer.writeString(1, _instance.parent);
|
|
60694
|
+
}
|
|
60695
|
+
if (_instance.languageCode) {
|
|
60696
|
+
_writer.writeString(2, _instance.languageCode);
|
|
60697
|
+
}
|
|
60698
|
+
if (_instance.intentContextOutResults &&
|
|
60699
|
+
_instance.intentContextOutResults.length) {
|
|
60700
|
+
_writer.writeRepeatedMessage(3, _instance.intentContextOutResults, FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult
|
|
60701
|
+
.serializeBinaryToWriter);
|
|
60702
|
+
}
|
|
60703
|
+
if (_instance.term) {
|
|
60704
|
+
_writer.writeString(4, _instance.term);
|
|
60705
|
+
}
|
|
60706
|
+
if (_instance.elasticQuery) {
|
|
60707
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
60708
|
+
}
|
|
60709
|
+
if (_instance.time) {
|
|
60710
|
+
_writer.writeFloat(6, _instance.time);
|
|
60711
|
+
}
|
|
60712
|
+
if (_instance.nextPageToken) {
|
|
60713
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
60714
|
+
}
|
|
60715
|
+
}
|
|
60716
|
+
get parent() {
|
|
60717
|
+
return this._parent;
|
|
60718
|
+
}
|
|
60719
|
+
set parent(value) {
|
|
60720
|
+
this._parent = value;
|
|
60721
|
+
}
|
|
60722
|
+
get languageCode() {
|
|
60723
|
+
return this._languageCode;
|
|
60724
|
+
}
|
|
60725
|
+
set languageCode(value) {
|
|
60726
|
+
this._languageCode = value;
|
|
60727
|
+
}
|
|
60728
|
+
get intentContextOutResults() {
|
|
60729
|
+
return this._intentContextOutResults;
|
|
60730
|
+
}
|
|
60731
|
+
set intentContextOutResults(value) {
|
|
60732
|
+
this._intentContextOutResults = value;
|
|
60733
|
+
}
|
|
60734
|
+
get term() {
|
|
60735
|
+
return this._term;
|
|
60736
|
+
}
|
|
60737
|
+
set term(value) {
|
|
60738
|
+
this._term = value;
|
|
60739
|
+
}
|
|
60740
|
+
get elasticQuery() {
|
|
60741
|
+
return this._elasticQuery;
|
|
60742
|
+
}
|
|
60743
|
+
set elasticQuery(value) {
|
|
60744
|
+
this._elasticQuery = value;
|
|
60745
|
+
}
|
|
60746
|
+
get time() {
|
|
60747
|
+
return this._time;
|
|
60748
|
+
}
|
|
60749
|
+
set time(value) {
|
|
60750
|
+
this._time = value;
|
|
60751
|
+
}
|
|
60752
|
+
get nextPageToken() {
|
|
60753
|
+
return this._nextPageToken;
|
|
60754
|
+
}
|
|
60755
|
+
set nextPageToken(value) {
|
|
60756
|
+
this._nextPageToken = value;
|
|
60757
|
+
}
|
|
60758
|
+
/**
|
|
60759
|
+
* Serialize message to binary data
|
|
60760
|
+
* @param instance message instance
|
|
60761
|
+
*/
|
|
60762
|
+
serializeBinary() {
|
|
60763
|
+
const writer = new BinaryWriter();
|
|
60764
|
+
FullTextSearchResponseIntentContextOut.serializeBinaryToWriter(this, writer);
|
|
60765
|
+
return writer.getResultBuffer();
|
|
60766
|
+
}
|
|
60767
|
+
/**
|
|
60768
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
60769
|
+
*/
|
|
60770
|
+
toObject() {
|
|
60771
|
+
return {
|
|
60772
|
+
parent: this.parent,
|
|
60773
|
+
languageCode: this.languageCode,
|
|
60774
|
+
intentContextOutResults: (this.intentContextOutResults || []).map(m => m.toObject()),
|
|
60775
|
+
term: this.term,
|
|
60776
|
+
elasticQuery: this.elasticQuery,
|
|
60777
|
+
time: this.time,
|
|
60778
|
+
nextPageToken: this.nextPageToken
|
|
60779
|
+
};
|
|
60780
|
+
}
|
|
60781
|
+
/**
|
|
60782
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
60783
|
+
*/
|
|
60784
|
+
toJSON() {
|
|
60785
|
+
return this.toObject();
|
|
60786
|
+
}
|
|
60787
|
+
/**
|
|
60788
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
60789
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
60790
|
+
* 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
|
|
60791
|
+
*/
|
|
60792
|
+
toProtobufJSON(
|
|
60793
|
+
// @ts-ignore
|
|
60794
|
+
options) {
|
|
60795
|
+
return {
|
|
60796
|
+
parent: this.parent,
|
|
60797
|
+
languageCode: this.languageCode,
|
|
60798
|
+
intentContextOutResults: (this.intentContextOutResults || []).map(m => m.toProtobufJSON(options)),
|
|
60799
|
+
term: this.term,
|
|
60800
|
+
elasticQuery: this.elasticQuery,
|
|
60801
|
+
time: this.time,
|
|
60802
|
+
nextPageToken: this.nextPageToken
|
|
60803
|
+
};
|
|
60804
|
+
}
|
|
60805
|
+
}
|
|
60806
|
+
FullTextSearchResponseIntentContextOut.id = 'ondewo.nlu.FullTextSearchResponseIntentContextOut';
|
|
60807
|
+
(function (FullTextSearchResponseIntentContextOut) {
|
|
60808
|
+
/**
|
|
60809
|
+
* Message implementation for ondewo.nlu.IntentContextOutSearchResult
|
|
60810
|
+
*/
|
|
60811
|
+
class IntentContextOutSearchResult {
|
|
60812
|
+
/**
|
|
60813
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
60814
|
+
* @param _value initial values object or instance of IntentContextOutSearchResult to deeply clone from
|
|
60815
|
+
*/
|
|
60816
|
+
constructor(_value) {
|
|
60817
|
+
_value = _value || {};
|
|
60818
|
+
this.name = _value.name;
|
|
60819
|
+
this.intentName = _value.intentName;
|
|
60820
|
+
this.language = _value.language;
|
|
60821
|
+
IntentContextOutSearchResult.refineValues(this);
|
|
60822
|
+
}
|
|
60823
|
+
/**
|
|
60824
|
+
* Deserialize binary data to message
|
|
60825
|
+
* @param instance message instance
|
|
60826
|
+
*/
|
|
60827
|
+
static deserializeBinary(bytes) {
|
|
60828
|
+
const instance = new IntentContextOutSearchResult();
|
|
60829
|
+
IntentContextOutSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
60830
|
+
return instance;
|
|
60831
|
+
}
|
|
60832
|
+
/**
|
|
60833
|
+
* Check all the properties and set default protobuf values if necessary
|
|
60834
|
+
* @param _instance message instance
|
|
60835
|
+
*/
|
|
60836
|
+
static refineValues(_instance) {
|
|
60837
|
+
_instance.name = _instance.name || '';
|
|
60838
|
+
_instance.intentName = _instance.intentName || '';
|
|
60839
|
+
_instance.language = _instance.language || '';
|
|
60840
|
+
}
|
|
60841
|
+
/**
|
|
60842
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
60843
|
+
* @param _instance message instance
|
|
60844
|
+
* @param _reader binary reader instance
|
|
60845
|
+
*/
|
|
60846
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
60847
|
+
while (_reader.nextField()) {
|
|
60848
|
+
if (_reader.isEndGroup())
|
|
60849
|
+
break;
|
|
60850
|
+
switch (_reader.getFieldNumber()) {
|
|
60851
|
+
case 1:
|
|
60852
|
+
_instance.name = _reader.readString();
|
|
60853
|
+
break;
|
|
60854
|
+
case 2:
|
|
60855
|
+
_instance.intentName = _reader.readString();
|
|
60856
|
+
break;
|
|
60857
|
+
case 3:
|
|
60858
|
+
_instance.language = _reader.readString();
|
|
60859
|
+
break;
|
|
60860
|
+
default:
|
|
60861
|
+
_reader.skipField();
|
|
60862
|
+
}
|
|
60863
|
+
}
|
|
60864
|
+
IntentContextOutSearchResult.refineValues(_instance);
|
|
60865
|
+
}
|
|
60866
|
+
/**
|
|
60867
|
+
* Serializes a message to binary format using provided binary reader
|
|
60868
|
+
* @param _instance message instance
|
|
60869
|
+
* @param _writer binary writer instance
|
|
60870
|
+
*/
|
|
60871
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
60872
|
+
if (_instance.name) {
|
|
60873
|
+
_writer.writeString(1, _instance.name);
|
|
60874
|
+
}
|
|
60875
|
+
if (_instance.intentName) {
|
|
60876
|
+
_writer.writeString(2, _instance.intentName);
|
|
60877
|
+
}
|
|
60878
|
+
if (_instance.language) {
|
|
60879
|
+
_writer.writeString(3, _instance.language);
|
|
60880
|
+
}
|
|
60881
|
+
}
|
|
60882
|
+
get name() {
|
|
60883
|
+
return this._name;
|
|
60884
|
+
}
|
|
60885
|
+
set name(value) {
|
|
60886
|
+
this._name = value;
|
|
60887
|
+
}
|
|
60888
|
+
get intentName() {
|
|
60889
|
+
return this._intentName;
|
|
60890
|
+
}
|
|
60891
|
+
set intentName(value) {
|
|
60892
|
+
this._intentName = value;
|
|
60893
|
+
}
|
|
60894
|
+
get language() {
|
|
60895
|
+
return this._language;
|
|
60896
|
+
}
|
|
60897
|
+
set language(value) {
|
|
60898
|
+
this._language = value;
|
|
60899
|
+
}
|
|
60900
|
+
/**
|
|
60901
|
+
* Serialize message to binary data
|
|
60902
|
+
* @param instance message instance
|
|
60903
|
+
*/
|
|
60904
|
+
serializeBinary() {
|
|
60905
|
+
const writer = new BinaryWriter();
|
|
60906
|
+
IntentContextOutSearchResult.serializeBinaryToWriter(this, writer);
|
|
60907
|
+
return writer.getResultBuffer();
|
|
60908
|
+
}
|
|
60909
|
+
/**
|
|
60910
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
60911
|
+
*/
|
|
60912
|
+
toObject() {
|
|
60913
|
+
return {
|
|
60914
|
+
name: this.name,
|
|
60915
|
+
intentName: this.intentName,
|
|
60916
|
+
language: this.language
|
|
60917
|
+
};
|
|
60918
|
+
}
|
|
60919
|
+
/**
|
|
60920
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
60921
|
+
*/
|
|
60922
|
+
toJSON() {
|
|
60923
|
+
return this.toObject();
|
|
60924
|
+
}
|
|
60925
|
+
/**
|
|
60926
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
60927
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
60928
|
+
* 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
|
|
60929
|
+
*/
|
|
60930
|
+
toProtobufJSON(
|
|
60931
|
+
// @ts-ignore
|
|
60932
|
+
options) {
|
|
60933
|
+
return {
|
|
60934
|
+
name: this.name,
|
|
60935
|
+
intentName: this.intentName,
|
|
60936
|
+
language: this.language
|
|
60937
|
+
};
|
|
60938
|
+
}
|
|
60939
|
+
}
|
|
60940
|
+
IntentContextOutSearchResult.id = 'ondewo.nlu.IntentContextOutSearchResult';
|
|
60941
|
+
FullTextSearchResponseIntentContextOut.IntentContextOutSearchResult = IntentContextOutSearchResult;
|
|
60942
|
+
})(FullTextSearchResponseIntentContextOut || (FullTextSearchResponseIntentContextOut = {}));
|
|
60943
|
+
/**
|
|
60944
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseIntentUsersays
|
|
60945
|
+
*/
|
|
60946
|
+
class FullTextSearchResponseIntentUsersays {
|
|
60947
|
+
/**
|
|
60948
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
60949
|
+
* @param _value initial values object or instance of FullTextSearchResponseIntentUsersays to deeply clone from
|
|
60950
|
+
*/
|
|
60951
|
+
constructor(_value) {
|
|
60952
|
+
_value = _value || {};
|
|
60953
|
+
this.parent = _value.parent;
|
|
60954
|
+
this.languageCode = _value.languageCode;
|
|
60955
|
+
this.intentUsersaysResults = (_value.intentUsersaysResults || []).map(m => new FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult(m));
|
|
60956
|
+
this.term = _value.term;
|
|
60957
|
+
this.elasticQuery = _value.elasticQuery;
|
|
60958
|
+
this.time = _value.time;
|
|
60959
|
+
this.nextPageToken = _value.nextPageToken;
|
|
60960
|
+
FullTextSearchResponseIntentUsersays.refineValues(this);
|
|
60961
|
+
}
|
|
60962
|
+
/**
|
|
60963
|
+
* Deserialize binary data to message
|
|
60964
|
+
* @param instance message instance
|
|
60965
|
+
*/
|
|
60966
|
+
static deserializeBinary(bytes) {
|
|
60967
|
+
const instance = new FullTextSearchResponseIntentUsersays();
|
|
60968
|
+
FullTextSearchResponseIntentUsersays.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
60969
|
+
return instance;
|
|
60970
|
+
}
|
|
60971
|
+
/**
|
|
60972
|
+
* Check all the properties and set default protobuf values if necessary
|
|
60973
|
+
* @param _instance message instance
|
|
60974
|
+
*/
|
|
60975
|
+
static refineValues(_instance) {
|
|
60976
|
+
_instance.parent = _instance.parent || '';
|
|
60977
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
60978
|
+
_instance.intentUsersaysResults = _instance.intentUsersaysResults || [];
|
|
60979
|
+
_instance.term = _instance.term || '';
|
|
60980
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
60981
|
+
_instance.time = _instance.time || 0;
|
|
60982
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
60983
|
+
}
|
|
60984
|
+
/**
|
|
60985
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
60986
|
+
* @param _instance message instance
|
|
60987
|
+
* @param _reader binary reader instance
|
|
60988
|
+
*/
|
|
60989
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
60990
|
+
while (_reader.nextField()) {
|
|
60991
|
+
if (_reader.isEndGroup())
|
|
60992
|
+
break;
|
|
60993
|
+
switch (_reader.getFieldNumber()) {
|
|
60994
|
+
case 1:
|
|
60995
|
+
_instance.parent = _reader.readString();
|
|
60996
|
+
break;
|
|
60997
|
+
case 2:
|
|
60998
|
+
_instance.languageCode = _reader.readString();
|
|
60999
|
+
break;
|
|
61000
|
+
case 3:
|
|
61001
|
+
const messageInitializer3 = new FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult();
|
|
61002
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult
|
|
61003
|
+
.deserializeBinaryFromReader);
|
|
61004
|
+
(_instance.intentUsersaysResults =
|
|
61005
|
+
_instance.intentUsersaysResults || []).push(messageInitializer3);
|
|
61006
|
+
break;
|
|
61007
|
+
case 4:
|
|
61008
|
+
_instance.term = _reader.readString();
|
|
61009
|
+
break;
|
|
61010
|
+
case 5:
|
|
61011
|
+
_instance.elasticQuery = _reader.readString();
|
|
61012
|
+
break;
|
|
61013
|
+
case 6:
|
|
61014
|
+
_instance.time = _reader.readFloat();
|
|
61015
|
+
break;
|
|
61016
|
+
case 7:
|
|
61017
|
+
_instance.nextPageToken = _reader.readString();
|
|
61018
|
+
break;
|
|
61019
|
+
default:
|
|
61020
|
+
_reader.skipField();
|
|
61021
|
+
}
|
|
61022
|
+
}
|
|
61023
|
+
FullTextSearchResponseIntentUsersays.refineValues(_instance);
|
|
61024
|
+
}
|
|
61025
|
+
/**
|
|
61026
|
+
* Serializes a message to binary format using provided binary reader
|
|
61027
|
+
* @param _instance message instance
|
|
61028
|
+
* @param _writer binary writer instance
|
|
61029
|
+
*/
|
|
61030
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
61031
|
+
if (_instance.parent) {
|
|
61032
|
+
_writer.writeString(1, _instance.parent);
|
|
61033
|
+
}
|
|
61034
|
+
if (_instance.languageCode) {
|
|
61035
|
+
_writer.writeString(2, _instance.languageCode);
|
|
61036
|
+
}
|
|
61037
|
+
if (_instance.intentUsersaysResults &&
|
|
61038
|
+
_instance.intentUsersaysResults.length) {
|
|
61039
|
+
_writer.writeRepeatedMessage(3, _instance.intentUsersaysResults, FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult
|
|
61040
|
+
.serializeBinaryToWriter);
|
|
61041
|
+
}
|
|
61042
|
+
if (_instance.term) {
|
|
61043
|
+
_writer.writeString(4, _instance.term);
|
|
61044
|
+
}
|
|
61045
|
+
if (_instance.elasticQuery) {
|
|
61046
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
61047
|
+
}
|
|
61048
|
+
if (_instance.time) {
|
|
61049
|
+
_writer.writeFloat(6, _instance.time);
|
|
61050
|
+
}
|
|
61051
|
+
if (_instance.nextPageToken) {
|
|
61052
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
61053
|
+
}
|
|
61054
|
+
}
|
|
61055
|
+
get parent() {
|
|
61056
|
+
return this._parent;
|
|
61057
|
+
}
|
|
61058
|
+
set parent(value) {
|
|
61059
|
+
this._parent = value;
|
|
61060
|
+
}
|
|
61061
|
+
get languageCode() {
|
|
61062
|
+
return this._languageCode;
|
|
61063
|
+
}
|
|
61064
|
+
set languageCode(value) {
|
|
61065
|
+
this._languageCode = value;
|
|
61066
|
+
}
|
|
61067
|
+
get intentUsersaysResults() {
|
|
61068
|
+
return this._intentUsersaysResults;
|
|
61069
|
+
}
|
|
61070
|
+
set intentUsersaysResults(value) {
|
|
61071
|
+
this._intentUsersaysResults = value;
|
|
61072
|
+
}
|
|
61073
|
+
get term() {
|
|
61074
|
+
return this._term;
|
|
61075
|
+
}
|
|
61076
|
+
set term(value) {
|
|
61077
|
+
this._term = value;
|
|
61078
|
+
}
|
|
61079
|
+
get elasticQuery() {
|
|
61080
|
+
return this._elasticQuery;
|
|
61081
|
+
}
|
|
61082
|
+
set elasticQuery(value) {
|
|
61083
|
+
this._elasticQuery = value;
|
|
61084
|
+
}
|
|
61085
|
+
get time() {
|
|
61086
|
+
return this._time;
|
|
61087
|
+
}
|
|
61088
|
+
set time(value) {
|
|
61089
|
+
this._time = value;
|
|
61090
|
+
}
|
|
61091
|
+
get nextPageToken() {
|
|
61092
|
+
return this._nextPageToken;
|
|
61093
|
+
}
|
|
61094
|
+
set nextPageToken(value) {
|
|
61095
|
+
this._nextPageToken = value;
|
|
61096
|
+
}
|
|
61097
|
+
/**
|
|
61098
|
+
* Serialize message to binary data
|
|
61099
|
+
* @param instance message instance
|
|
61100
|
+
*/
|
|
61101
|
+
serializeBinary() {
|
|
61102
|
+
const writer = new BinaryWriter();
|
|
61103
|
+
FullTextSearchResponseIntentUsersays.serializeBinaryToWriter(this, writer);
|
|
61104
|
+
return writer.getResultBuffer();
|
|
61105
|
+
}
|
|
61106
|
+
/**
|
|
61107
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
61108
|
+
*/
|
|
61109
|
+
toObject() {
|
|
61110
|
+
return {
|
|
61111
|
+
parent: this.parent,
|
|
61112
|
+
languageCode: this.languageCode,
|
|
61113
|
+
intentUsersaysResults: (this.intentUsersaysResults || []).map(m => m.toObject()),
|
|
61114
|
+
term: this.term,
|
|
61115
|
+
elasticQuery: this.elasticQuery,
|
|
61116
|
+
time: this.time,
|
|
61117
|
+
nextPageToken: this.nextPageToken
|
|
61118
|
+
};
|
|
61119
|
+
}
|
|
61120
|
+
/**
|
|
61121
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
61122
|
+
*/
|
|
61123
|
+
toJSON() {
|
|
61124
|
+
return this.toObject();
|
|
61125
|
+
}
|
|
61126
|
+
/**
|
|
61127
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
61128
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
61129
|
+
* 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
|
|
61130
|
+
*/
|
|
61131
|
+
toProtobufJSON(
|
|
61132
|
+
// @ts-ignore
|
|
61133
|
+
options) {
|
|
61134
|
+
return {
|
|
61135
|
+
parent: this.parent,
|
|
61136
|
+
languageCode: this.languageCode,
|
|
61137
|
+
intentUsersaysResults: (this.intentUsersaysResults || []).map(m => m.toProtobufJSON(options)),
|
|
61138
|
+
term: this.term,
|
|
61139
|
+
elasticQuery: this.elasticQuery,
|
|
61140
|
+
time: this.time,
|
|
61141
|
+
nextPageToken: this.nextPageToken
|
|
61142
|
+
};
|
|
61143
|
+
}
|
|
61144
|
+
}
|
|
61145
|
+
FullTextSearchResponseIntentUsersays.id = 'ondewo.nlu.FullTextSearchResponseIntentUsersays';
|
|
61146
|
+
(function (FullTextSearchResponseIntentUsersays) {
|
|
61147
|
+
/**
|
|
61148
|
+
* Message implementation for ondewo.nlu.IntentUsersaysSearchResult
|
|
61149
|
+
*/
|
|
61150
|
+
class IntentUsersaysSearchResult {
|
|
61151
|
+
/**
|
|
61152
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
61153
|
+
* @param _value initial values object or instance of IntentUsersaysSearchResult to deeply clone from
|
|
61154
|
+
*/
|
|
61155
|
+
constructor(_value) {
|
|
61156
|
+
_value = _value || {};
|
|
61157
|
+
this.name = _value.name;
|
|
61158
|
+
this.text = _value.text;
|
|
61159
|
+
this.textAsEntityTypes = _value.textAsEntityTypes;
|
|
61160
|
+
this.textAsEntityValues = _value.textAsEntityValues;
|
|
61161
|
+
this.type = _value.type;
|
|
61162
|
+
this.intentName = _value.intentName;
|
|
61163
|
+
this.language = _value.language;
|
|
61164
|
+
IntentUsersaysSearchResult.refineValues(this);
|
|
61165
|
+
}
|
|
61166
|
+
/**
|
|
61167
|
+
* Deserialize binary data to message
|
|
61168
|
+
* @param instance message instance
|
|
61169
|
+
*/
|
|
61170
|
+
static deserializeBinary(bytes) {
|
|
61171
|
+
const instance = new IntentUsersaysSearchResult();
|
|
61172
|
+
IntentUsersaysSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
61173
|
+
return instance;
|
|
61174
|
+
}
|
|
61175
|
+
/**
|
|
61176
|
+
* Check all the properties and set default protobuf values if necessary
|
|
61177
|
+
* @param _instance message instance
|
|
61178
|
+
*/
|
|
61179
|
+
static refineValues(_instance) {
|
|
61180
|
+
_instance.name = _instance.name || '';
|
|
61181
|
+
_instance.text = _instance.text || '';
|
|
61182
|
+
_instance.textAsEntityTypes = _instance.textAsEntityTypes || '';
|
|
61183
|
+
_instance.textAsEntityValues = _instance.textAsEntityValues || '';
|
|
61184
|
+
_instance.type = _instance.type || '';
|
|
61185
|
+
_instance.intentName = _instance.intentName || '';
|
|
61186
|
+
_instance.language = _instance.language || '';
|
|
61187
|
+
}
|
|
61188
|
+
/**
|
|
61189
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
61190
|
+
* @param _instance message instance
|
|
61191
|
+
* @param _reader binary reader instance
|
|
61192
|
+
*/
|
|
61193
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
61194
|
+
while (_reader.nextField()) {
|
|
61195
|
+
if (_reader.isEndGroup())
|
|
61196
|
+
break;
|
|
61197
|
+
switch (_reader.getFieldNumber()) {
|
|
61198
|
+
case 1:
|
|
61199
|
+
_instance.name = _reader.readString();
|
|
61200
|
+
break;
|
|
61201
|
+
case 2:
|
|
61202
|
+
_instance.text = _reader.readString();
|
|
61203
|
+
break;
|
|
61204
|
+
case 3:
|
|
61205
|
+
_instance.textAsEntityTypes = _reader.readString();
|
|
61206
|
+
break;
|
|
61207
|
+
case 4:
|
|
61208
|
+
_instance.textAsEntityValues = _reader.readString();
|
|
61209
|
+
break;
|
|
61210
|
+
case 5:
|
|
61211
|
+
_instance.type = _reader.readString();
|
|
61212
|
+
break;
|
|
61213
|
+
case 6:
|
|
61214
|
+
_instance.intentName = _reader.readString();
|
|
61215
|
+
break;
|
|
61216
|
+
case 7:
|
|
61217
|
+
_instance.language = _reader.readString();
|
|
61218
|
+
break;
|
|
61219
|
+
default:
|
|
61220
|
+
_reader.skipField();
|
|
61221
|
+
}
|
|
61222
|
+
}
|
|
61223
|
+
IntentUsersaysSearchResult.refineValues(_instance);
|
|
61224
|
+
}
|
|
61225
|
+
/**
|
|
61226
|
+
* Serializes a message to binary format using provided binary reader
|
|
61227
|
+
* @param _instance message instance
|
|
61228
|
+
* @param _writer binary writer instance
|
|
61229
|
+
*/
|
|
61230
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
61231
|
+
if (_instance.name) {
|
|
61232
|
+
_writer.writeString(1, _instance.name);
|
|
61233
|
+
}
|
|
61234
|
+
if (_instance.text) {
|
|
61235
|
+
_writer.writeString(2, _instance.text);
|
|
61236
|
+
}
|
|
61237
|
+
if (_instance.textAsEntityTypes) {
|
|
61238
|
+
_writer.writeString(3, _instance.textAsEntityTypes);
|
|
61239
|
+
}
|
|
61240
|
+
if (_instance.textAsEntityValues) {
|
|
61241
|
+
_writer.writeString(4, _instance.textAsEntityValues);
|
|
61242
|
+
}
|
|
61243
|
+
if (_instance.type) {
|
|
61244
|
+
_writer.writeString(5, _instance.type);
|
|
61245
|
+
}
|
|
61246
|
+
if (_instance.intentName) {
|
|
61247
|
+
_writer.writeString(6, _instance.intentName);
|
|
61248
|
+
}
|
|
61249
|
+
if (_instance.language) {
|
|
61250
|
+
_writer.writeString(7, _instance.language);
|
|
61251
|
+
}
|
|
61252
|
+
}
|
|
61253
|
+
get name() {
|
|
61254
|
+
return this._name;
|
|
61255
|
+
}
|
|
61256
|
+
set name(value) {
|
|
61257
|
+
this._name = value;
|
|
61258
|
+
}
|
|
61259
|
+
get text() {
|
|
61260
|
+
return this._text;
|
|
61261
|
+
}
|
|
61262
|
+
set text(value) {
|
|
61263
|
+
this._text = value;
|
|
61264
|
+
}
|
|
61265
|
+
get textAsEntityTypes() {
|
|
61266
|
+
return this._textAsEntityTypes;
|
|
61267
|
+
}
|
|
61268
|
+
set textAsEntityTypes(value) {
|
|
61269
|
+
this._textAsEntityTypes = value;
|
|
61270
|
+
}
|
|
61271
|
+
get textAsEntityValues() {
|
|
61272
|
+
return this._textAsEntityValues;
|
|
61273
|
+
}
|
|
61274
|
+
set textAsEntityValues(value) {
|
|
61275
|
+
this._textAsEntityValues = value;
|
|
61276
|
+
}
|
|
61277
|
+
get type() {
|
|
61278
|
+
return this._type;
|
|
61279
|
+
}
|
|
61280
|
+
set type(value) {
|
|
61281
|
+
this._type = value;
|
|
61282
|
+
}
|
|
61283
|
+
get intentName() {
|
|
61284
|
+
return this._intentName;
|
|
61285
|
+
}
|
|
61286
|
+
set intentName(value) {
|
|
61287
|
+
this._intentName = value;
|
|
61288
|
+
}
|
|
61289
|
+
get language() {
|
|
61290
|
+
return this._language;
|
|
61291
|
+
}
|
|
61292
|
+
set language(value) {
|
|
61293
|
+
this._language = value;
|
|
61294
|
+
}
|
|
61295
|
+
/**
|
|
61296
|
+
* Serialize message to binary data
|
|
61297
|
+
* @param instance message instance
|
|
61298
|
+
*/
|
|
61299
|
+
serializeBinary() {
|
|
61300
|
+
const writer = new BinaryWriter();
|
|
61301
|
+
IntentUsersaysSearchResult.serializeBinaryToWriter(this, writer);
|
|
61302
|
+
return writer.getResultBuffer();
|
|
61303
|
+
}
|
|
61304
|
+
/**
|
|
61305
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
61306
|
+
*/
|
|
61307
|
+
toObject() {
|
|
61308
|
+
return {
|
|
61309
|
+
name: this.name,
|
|
61310
|
+
text: this.text,
|
|
61311
|
+
textAsEntityTypes: this.textAsEntityTypes,
|
|
61312
|
+
textAsEntityValues: this.textAsEntityValues,
|
|
61313
|
+
type: this.type,
|
|
61314
|
+
intentName: this.intentName,
|
|
61315
|
+
language: this.language
|
|
61316
|
+
};
|
|
61317
|
+
}
|
|
61318
|
+
/**
|
|
61319
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
61320
|
+
*/
|
|
61321
|
+
toJSON() {
|
|
61322
|
+
return this.toObject();
|
|
61323
|
+
}
|
|
61324
|
+
/**
|
|
61325
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
61326
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
61327
|
+
* 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
|
|
61328
|
+
*/
|
|
61329
|
+
toProtobufJSON(
|
|
61330
|
+
// @ts-ignore
|
|
61331
|
+
options) {
|
|
61332
|
+
return {
|
|
61333
|
+
name: this.name,
|
|
61334
|
+
text: this.text,
|
|
61335
|
+
textAsEntityTypes: this.textAsEntityTypes,
|
|
61336
|
+
textAsEntityValues: this.textAsEntityValues,
|
|
61337
|
+
type: this.type,
|
|
61338
|
+
intentName: this.intentName,
|
|
61339
|
+
language: this.language
|
|
61340
|
+
};
|
|
61341
|
+
}
|
|
61342
|
+
}
|
|
61343
|
+
IntentUsersaysSearchResult.id = 'ondewo.nlu.IntentUsersaysSearchResult';
|
|
61344
|
+
FullTextSearchResponseIntentUsersays.IntentUsersaysSearchResult = IntentUsersaysSearchResult;
|
|
61345
|
+
})(FullTextSearchResponseIntentUsersays || (FullTextSearchResponseIntentUsersays = {}));
|
|
61346
|
+
/**
|
|
61347
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseIntentTags
|
|
61348
|
+
*/
|
|
61349
|
+
class FullTextSearchResponseIntentTags {
|
|
61350
|
+
/**
|
|
61351
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
61352
|
+
* @param _value initial values object or instance of FullTextSearchResponseIntentTags to deeply clone from
|
|
61353
|
+
*/
|
|
61354
|
+
constructor(_value) {
|
|
61355
|
+
_value = _value || {};
|
|
61356
|
+
this.parent = _value.parent;
|
|
61357
|
+
this.languageCode = _value.languageCode;
|
|
61358
|
+
this.intentTagsResults = (_value.intentTagsResults || []).map(m => new FullTextSearchResponseIntentTags.IntentTagsSearchResult(m));
|
|
61359
|
+
this.term = _value.term;
|
|
61360
|
+
this.elasticQuery = _value.elasticQuery;
|
|
61361
|
+
this.time = _value.time;
|
|
61362
|
+
this.nextPageToken = _value.nextPageToken;
|
|
61363
|
+
FullTextSearchResponseIntentTags.refineValues(this);
|
|
61364
|
+
}
|
|
61365
|
+
/**
|
|
61366
|
+
* Deserialize binary data to message
|
|
61367
|
+
* @param instance message instance
|
|
61368
|
+
*/
|
|
61369
|
+
static deserializeBinary(bytes) {
|
|
61370
|
+
const instance = new FullTextSearchResponseIntentTags();
|
|
61371
|
+
FullTextSearchResponseIntentTags.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
61372
|
+
return instance;
|
|
61373
|
+
}
|
|
61374
|
+
/**
|
|
61375
|
+
* Check all the properties and set default protobuf values if necessary
|
|
61376
|
+
* @param _instance message instance
|
|
61377
|
+
*/
|
|
61378
|
+
static refineValues(_instance) {
|
|
61379
|
+
_instance.parent = _instance.parent || '';
|
|
61380
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
61381
|
+
_instance.intentTagsResults = _instance.intentTagsResults || [];
|
|
61382
|
+
_instance.term = _instance.term || '';
|
|
61383
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
61384
|
+
_instance.time = _instance.time || 0;
|
|
61385
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
61386
|
+
}
|
|
61387
|
+
/**
|
|
61388
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
61389
|
+
* @param _instance message instance
|
|
61390
|
+
* @param _reader binary reader instance
|
|
61391
|
+
*/
|
|
61392
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
61393
|
+
while (_reader.nextField()) {
|
|
61394
|
+
if (_reader.isEndGroup())
|
|
61395
|
+
break;
|
|
61396
|
+
switch (_reader.getFieldNumber()) {
|
|
61397
|
+
case 1:
|
|
61398
|
+
_instance.parent = _reader.readString();
|
|
61399
|
+
break;
|
|
61400
|
+
case 2:
|
|
61401
|
+
_instance.languageCode = _reader.readString();
|
|
61402
|
+
break;
|
|
61403
|
+
case 3:
|
|
61404
|
+
const messageInitializer3 = new FullTextSearchResponseIntentTags.IntentTagsSearchResult();
|
|
61405
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseIntentTags.IntentTagsSearchResult
|
|
61406
|
+
.deserializeBinaryFromReader);
|
|
61407
|
+
(_instance.intentTagsResults =
|
|
61408
|
+
_instance.intentTagsResults || []).push(messageInitializer3);
|
|
61409
|
+
break;
|
|
61410
|
+
case 4:
|
|
61411
|
+
_instance.term = _reader.readString();
|
|
61412
|
+
break;
|
|
61413
|
+
case 5:
|
|
61414
|
+
_instance.elasticQuery = _reader.readString();
|
|
61415
|
+
break;
|
|
61416
|
+
case 6:
|
|
61417
|
+
_instance.time = _reader.readFloat();
|
|
61418
|
+
break;
|
|
61419
|
+
case 7:
|
|
61420
|
+
_instance.nextPageToken = _reader.readString();
|
|
61421
|
+
break;
|
|
61422
|
+
default:
|
|
61423
|
+
_reader.skipField();
|
|
61424
|
+
}
|
|
61425
|
+
}
|
|
61426
|
+
FullTextSearchResponseIntentTags.refineValues(_instance);
|
|
61427
|
+
}
|
|
61428
|
+
/**
|
|
61429
|
+
* Serializes a message to binary format using provided binary reader
|
|
61430
|
+
* @param _instance message instance
|
|
61431
|
+
* @param _writer binary writer instance
|
|
61432
|
+
*/
|
|
61433
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
61434
|
+
if (_instance.parent) {
|
|
61435
|
+
_writer.writeString(1, _instance.parent);
|
|
61436
|
+
}
|
|
61437
|
+
if (_instance.languageCode) {
|
|
61438
|
+
_writer.writeString(2, _instance.languageCode);
|
|
61439
|
+
}
|
|
61440
|
+
if (_instance.intentTagsResults && _instance.intentTagsResults.length) {
|
|
61441
|
+
_writer.writeRepeatedMessage(3, _instance.intentTagsResults, FullTextSearchResponseIntentTags.IntentTagsSearchResult
|
|
61442
|
+
.serializeBinaryToWriter);
|
|
61443
|
+
}
|
|
61444
|
+
if (_instance.term) {
|
|
61445
|
+
_writer.writeString(4, _instance.term);
|
|
61446
|
+
}
|
|
61447
|
+
if (_instance.elasticQuery) {
|
|
61448
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
61449
|
+
}
|
|
61450
|
+
if (_instance.time) {
|
|
61451
|
+
_writer.writeFloat(6, _instance.time);
|
|
61452
|
+
}
|
|
61453
|
+
if (_instance.nextPageToken) {
|
|
61454
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
61455
|
+
}
|
|
61456
|
+
}
|
|
61457
|
+
get parent() {
|
|
61458
|
+
return this._parent;
|
|
61459
|
+
}
|
|
61460
|
+
set parent(value) {
|
|
61461
|
+
this._parent = value;
|
|
61462
|
+
}
|
|
61463
|
+
get languageCode() {
|
|
61464
|
+
return this._languageCode;
|
|
61465
|
+
}
|
|
61466
|
+
set languageCode(value) {
|
|
61467
|
+
this._languageCode = value;
|
|
61468
|
+
}
|
|
61469
|
+
get intentTagsResults() {
|
|
61470
|
+
return this._intentTagsResults;
|
|
61471
|
+
}
|
|
61472
|
+
set intentTagsResults(value) {
|
|
61473
|
+
this._intentTagsResults = value;
|
|
61474
|
+
}
|
|
61475
|
+
get term() {
|
|
61476
|
+
return this._term;
|
|
61477
|
+
}
|
|
61478
|
+
set term(value) {
|
|
61479
|
+
this._term = value;
|
|
61480
|
+
}
|
|
61481
|
+
get elasticQuery() {
|
|
61482
|
+
return this._elasticQuery;
|
|
61483
|
+
}
|
|
61484
|
+
set elasticQuery(value) {
|
|
61485
|
+
this._elasticQuery = value;
|
|
61486
|
+
}
|
|
61487
|
+
get time() {
|
|
61488
|
+
return this._time;
|
|
61489
|
+
}
|
|
61490
|
+
set time(value) {
|
|
61491
|
+
this._time = value;
|
|
61492
|
+
}
|
|
61493
|
+
get nextPageToken() {
|
|
61494
|
+
return this._nextPageToken;
|
|
61495
|
+
}
|
|
61496
|
+
set nextPageToken(value) {
|
|
61497
|
+
this._nextPageToken = value;
|
|
61498
|
+
}
|
|
61499
|
+
/**
|
|
61500
|
+
* Serialize message to binary data
|
|
61501
|
+
* @param instance message instance
|
|
61502
|
+
*/
|
|
61503
|
+
serializeBinary() {
|
|
61504
|
+
const writer = new BinaryWriter();
|
|
61505
|
+
FullTextSearchResponseIntentTags.serializeBinaryToWriter(this, writer);
|
|
61506
|
+
return writer.getResultBuffer();
|
|
61507
|
+
}
|
|
61508
|
+
/**
|
|
61509
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
61510
|
+
*/
|
|
61511
|
+
toObject() {
|
|
61512
|
+
return {
|
|
61513
|
+
parent: this.parent,
|
|
61514
|
+
languageCode: this.languageCode,
|
|
61515
|
+
intentTagsResults: (this.intentTagsResults || []).map(m => m.toObject()),
|
|
61516
|
+
term: this.term,
|
|
61517
|
+
elasticQuery: this.elasticQuery,
|
|
61518
|
+
time: this.time,
|
|
61519
|
+
nextPageToken: this.nextPageToken
|
|
61520
|
+
};
|
|
61521
|
+
}
|
|
61522
|
+
/**
|
|
61523
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
61524
|
+
*/
|
|
61525
|
+
toJSON() {
|
|
61526
|
+
return this.toObject();
|
|
61527
|
+
}
|
|
61528
|
+
/**
|
|
61529
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
61530
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
61531
|
+
* 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
|
|
61532
|
+
*/
|
|
61533
|
+
toProtobufJSON(
|
|
61534
|
+
// @ts-ignore
|
|
61535
|
+
options) {
|
|
61536
|
+
return {
|
|
61537
|
+
parent: this.parent,
|
|
61538
|
+
languageCode: this.languageCode,
|
|
61539
|
+
intentTagsResults: (this.intentTagsResults || []).map(m => m.toProtobufJSON(options)),
|
|
61540
|
+
term: this.term,
|
|
61541
|
+
elasticQuery: this.elasticQuery,
|
|
61542
|
+
time: this.time,
|
|
61543
|
+
nextPageToken: this.nextPageToken
|
|
61544
|
+
};
|
|
61545
|
+
}
|
|
61546
|
+
}
|
|
61547
|
+
FullTextSearchResponseIntentTags.id = 'ondewo.nlu.FullTextSearchResponseIntentTags';
|
|
61548
|
+
(function (FullTextSearchResponseIntentTags) {
|
|
61549
|
+
/**
|
|
61550
|
+
* Message implementation for ondewo.nlu.IntentTagsSearchResult
|
|
61551
|
+
*/
|
|
61552
|
+
class IntentTagsSearchResult {
|
|
61553
|
+
/**
|
|
61554
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
61555
|
+
* @param _value initial values object or instance of IntentTagsSearchResult to deeply clone from
|
|
61556
|
+
*/
|
|
61557
|
+
constructor(_value) {
|
|
61558
|
+
_value = _value || {};
|
|
61559
|
+
this.name = _value.name;
|
|
61560
|
+
this.text = _value.text;
|
|
61561
|
+
this.intentName = _value.intentName;
|
|
61562
|
+
this.language = _value.language;
|
|
61563
|
+
IntentTagsSearchResult.refineValues(this);
|
|
61564
|
+
}
|
|
61565
|
+
/**
|
|
61566
|
+
* Deserialize binary data to message
|
|
61567
|
+
* @param instance message instance
|
|
61568
|
+
*/
|
|
61569
|
+
static deserializeBinary(bytes) {
|
|
61570
|
+
const instance = new IntentTagsSearchResult();
|
|
61571
|
+
IntentTagsSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
61572
|
+
return instance;
|
|
61573
|
+
}
|
|
61574
|
+
/**
|
|
61575
|
+
* Check all the properties and set default protobuf values if necessary
|
|
61576
|
+
* @param _instance message instance
|
|
61577
|
+
*/
|
|
61578
|
+
static refineValues(_instance) {
|
|
61579
|
+
_instance.name = _instance.name || '';
|
|
61580
|
+
_instance.text = _instance.text || '';
|
|
61581
|
+
_instance.intentName = _instance.intentName || '';
|
|
61582
|
+
_instance.language = _instance.language || '';
|
|
61583
|
+
}
|
|
61584
|
+
/**
|
|
61585
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
61586
|
+
* @param _instance message instance
|
|
61587
|
+
* @param _reader binary reader instance
|
|
61588
|
+
*/
|
|
61589
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
61590
|
+
while (_reader.nextField()) {
|
|
61591
|
+
if (_reader.isEndGroup())
|
|
61592
|
+
break;
|
|
61593
|
+
switch (_reader.getFieldNumber()) {
|
|
61594
|
+
case 1:
|
|
61595
|
+
_instance.name = _reader.readString();
|
|
61596
|
+
break;
|
|
61597
|
+
case 2:
|
|
61598
|
+
_instance.text = _reader.readString();
|
|
61599
|
+
break;
|
|
61600
|
+
case 3:
|
|
61601
|
+
_instance.intentName = _reader.readString();
|
|
61602
|
+
break;
|
|
61603
|
+
case 4:
|
|
61604
|
+
_instance.language = _reader.readString();
|
|
61605
|
+
break;
|
|
61606
|
+
default:
|
|
61607
|
+
_reader.skipField();
|
|
61608
|
+
}
|
|
61609
|
+
}
|
|
61610
|
+
IntentTagsSearchResult.refineValues(_instance);
|
|
61611
|
+
}
|
|
61612
|
+
/**
|
|
61613
|
+
* Serializes a message to binary format using provided binary reader
|
|
61614
|
+
* @param _instance message instance
|
|
61615
|
+
* @param _writer binary writer instance
|
|
61616
|
+
*/
|
|
61617
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
61618
|
+
if (_instance.name) {
|
|
61619
|
+
_writer.writeString(1, _instance.name);
|
|
61620
|
+
}
|
|
61621
|
+
if (_instance.text) {
|
|
61622
|
+
_writer.writeString(2, _instance.text);
|
|
61623
|
+
}
|
|
61624
|
+
if (_instance.intentName) {
|
|
61625
|
+
_writer.writeString(3, _instance.intentName);
|
|
61626
|
+
}
|
|
61627
|
+
if (_instance.language) {
|
|
61628
|
+
_writer.writeString(4, _instance.language);
|
|
61629
|
+
}
|
|
61630
|
+
}
|
|
61631
|
+
get name() {
|
|
61632
|
+
return this._name;
|
|
61633
|
+
}
|
|
61634
|
+
set name(value) {
|
|
61635
|
+
this._name = value;
|
|
61636
|
+
}
|
|
61637
|
+
get text() {
|
|
61638
|
+
return this._text;
|
|
61639
|
+
}
|
|
61640
|
+
set text(value) {
|
|
61641
|
+
this._text = value;
|
|
61642
|
+
}
|
|
61643
|
+
get intentName() {
|
|
61644
|
+
return this._intentName;
|
|
61645
|
+
}
|
|
61646
|
+
set intentName(value) {
|
|
61647
|
+
this._intentName = value;
|
|
61648
|
+
}
|
|
61649
|
+
get language() {
|
|
61650
|
+
return this._language;
|
|
61651
|
+
}
|
|
61652
|
+
set language(value) {
|
|
61653
|
+
this._language = value;
|
|
61654
|
+
}
|
|
61655
|
+
/**
|
|
61656
|
+
* Serialize message to binary data
|
|
61657
|
+
* @param instance message instance
|
|
61658
|
+
*/
|
|
61659
|
+
serializeBinary() {
|
|
61660
|
+
const writer = new BinaryWriter();
|
|
61661
|
+
IntentTagsSearchResult.serializeBinaryToWriter(this, writer);
|
|
61662
|
+
return writer.getResultBuffer();
|
|
61663
|
+
}
|
|
61664
|
+
/**
|
|
61665
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
61666
|
+
*/
|
|
61667
|
+
toObject() {
|
|
61668
|
+
return {
|
|
61669
|
+
name: this.name,
|
|
61670
|
+
text: this.text,
|
|
61671
|
+
intentName: this.intentName,
|
|
61672
|
+
language: this.language
|
|
61673
|
+
};
|
|
61674
|
+
}
|
|
61675
|
+
/**
|
|
61676
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
61677
|
+
*/
|
|
61678
|
+
toJSON() {
|
|
61679
|
+
return this.toObject();
|
|
61680
|
+
}
|
|
61681
|
+
/**
|
|
61682
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
61683
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
61684
|
+
* 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
|
|
61685
|
+
*/
|
|
61686
|
+
toProtobufJSON(
|
|
61687
|
+
// @ts-ignore
|
|
61688
|
+
options) {
|
|
61689
|
+
return {
|
|
61690
|
+
name: this.name,
|
|
61691
|
+
text: this.text,
|
|
61692
|
+
intentName: this.intentName,
|
|
61693
|
+
language: this.language
|
|
61694
|
+
};
|
|
61695
|
+
}
|
|
61696
|
+
}
|
|
61697
|
+
IntentTagsSearchResult.id = 'ondewo.nlu.IntentTagsSearchResult';
|
|
61698
|
+
FullTextSearchResponseIntentTags.IntentTagsSearchResult = IntentTagsSearchResult;
|
|
61699
|
+
})(FullTextSearchResponseIntentTags || (FullTextSearchResponseIntentTags = {}));
|
|
61700
|
+
/**
|
|
61701
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseIntentResponse
|
|
61702
|
+
*/
|
|
61703
|
+
class FullTextSearchResponseIntentResponse {
|
|
61704
|
+
/**
|
|
61705
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
61706
|
+
* @param _value initial values object or instance of FullTextSearchResponseIntentResponse to deeply clone from
|
|
61707
|
+
*/
|
|
61708
|
+
constructor(_value) {
|
|
61709
|
+
_value = _value || {};
|
|
61710
|
+
this.parent = _value.parent;
|
|
61711
|
+
this.languageCode = _value.languageCode;
|
|
61712
|
+
this.intentResponseResults = (_value.intentResponseResults || []).map(m => new FullTextSearchResponseIntentResponse.IntentResponseSearchResult(m));
|
|
61713
|
+
this.term = _value.term;
|
|
61714
|
+
this.elasticQuery = _value.elasticQuery;
|
|
61715
|
+
this.time = _value.time;
|
|
61716
|
+
this.nextPageToken = _value.nextPageToken;
|
|
61717
|
+
FullTextSearchResponseIntentResponse.refineValues(this);
|
|
61718
|
+
}
|
|
61719
|
+
/**
|
|
61720
|
+
* Deserialize binary data to message
|
|
61721
|
+
* @param instance message instance
|
|
61722
|
+
*/
|
|
61723
|
+
static deserializeBinary(bytes) {
|
|
61724
|
+
const instance = new FullTextSearchResponseIntentResponse();
|
|
61725
|
+
FullTextSearchResponseIntentResponse.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
61726
|
+
return instance;
|
|
61727
|
+
}
|
|
61728
|
+
/**
|
|
61729
|
+
* Check all the properties and set default protobuf values if necessary
|
|
61730
|
+
* @param _instance message instance
|
|
61731
|
+
*/
|
|
61732
|
+
static refineValues(_instance) {
|
|
61733
|
+
_instance.parent = _instance.parent || '';
|
|
61734
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
61735
|
+
_instance.intentResponseResults = _instance.intentResponseResults || [];
|
|
61736
|
+
_instance.term = _instance.term || '';
|
|
61737
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
61738
|
+
_instance.time = _instance.time || 0;
|
|
61739
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
61740
|
+
}
|
|
61741
|
+
/**
|
|
61742
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
61743
|
+
* @param _instance message instance
|
|
61744
|
+
* @param _reader binary reader instance
|
|
61745
|
+
*/
|
|
61746
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
61747
|
+
while (_reader.nextField()) {
|
|
61748
|
+
if (_reader.isEndGroup())
|
|
61749
|
+
break;
|
|
61750
|
+
switch (_reader.getFieldNumber()) {
|
|
61751
|
+
case 1:
|
|
61752
|
+
_instance.parent = _reader.readString();
|
|
61753
|
+
break;
|
|
61754
|
+
case 2:
|
|
61755
|
+
_instance.languageCode = _reader.readString();
|
|
61756
|
+
break;
|
|
61757
|
+
case 3:
|
|
61758
|
+
const messageInitializer3 = new FullTextSearchResponseIntentResponse.IntentResponseSearchResult();
|
|
61759
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseIntentResponse.IntentResponseSearchResult
|
|
61760
|
+
.deserializeBinaryFromReader);
|
|
61761
|
+
(_instance.intentResponseResults =
|
|
61762
|
+
_instance.intentResponseResults || []).push(messageInitializer3);
|
|
61763
|
+
break;
|
|
61764
|
+
case 4:
|
|
61765
|
+
_instance.term = _reader.readString();
|
|
61766
|
+
break;
|
|
61767
|
+
case 5:
|
|
61768
|
+
_instance.elasticQuery = _reader.readString();
|
|
61769
|
+
break;
|
|
61770
|
+
case 6:
|
|
61771
|
+
_instance.time = _reader.readFloat();
|
|
61772
|
+
break;
|
|
61773
|
+
case 7:
|
|
61774
|
+
_instance.nextPageToken = _reader.readString();
|
|
61775
|
+
break;
|
|
61776
|
+
default:
|
|
61777
|
+
_reader.skipField();
|
|
61778
|
+
}
|
|
61779
|
+
}
|
|
61780
|
+
FullTextSearchResponseIntentResponse.refineValues(_instance);
|
|
61781
|
+
}
|
|
61782
|
+
/**
|
|
61783
|
+
* Serializes a message to binary format using provided binary reader
|
|
61784
|
+
* @param _instance message instance
|
|
61785
|
+
* @param _writer binary writer instance
|
|
61786
|
+
*/
|
|
61787
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
61788
|
+
if (_instance.parent) {
|
|
61789
|
+
_writer.writeString(1, _instance.parent);
|
|
61790
|
+
}
|
|
61791
|
+
if (_instance.languageCode) {
|
|
61792
|
+
_writer.writeString(2, _instance.languageCode);
|
|
61793
|
+
}
|
|
61794
|
+
if (_instance.intentResponseResults &&
|
|
61795
|
+
_instance.intentResponseResults.length) {
|
|
61796
|
+
_writer.writeRepeatedMessage(3, _instance.intentResponseResults, FullTextSearchResponseIntentResponse.IntentResponseSearchResult
|
|
61797
|
+
.serializeBinaryToWriter);
|
|
61798
|
+
}
|
|
61799
|
+
if (_instance.term) {
|
|
61800
|
+
_writer.writeString(4, _instance.term);
|
|
61801
|
+
}
|
|
61802
|
+
if (_instance.elasticQuery) {
|
|
61803
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
61804
|
+
}
|
|
61805
|
+
if (_instance.time) {
|
|
61806
|
+
_writer.writeFloat(6, _instance.time);
|
|
61807
|
+
}
|
|
61808
|
+
if (_instance.nextPageToken) {
|
|
61809
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
61810
|
+
}
|
|
61811
|
+
}
|
|
61812
|
+
get parent() {
|
|
61813
|
+
return this._parent;
|
|
61814
|
+
}
|
|
61815
|
+
set parent(value) {
|
|
61816
|
+
this._parent = value;
|
|
61817
|
+
}
|
|
61818
|
+
get languageCode() {
|
|
61819
|
+
return this._languageCode;
|
|
61820
|
+
}
|
|
61821
|
+
set languageCode(value) {
|
|
61822
|
+
this._languageCode = value;
|
|
61823
|
+
}
|
|
61824
|
+
get intentResponseResults() {
|
|
61825
|
+
return this._intentResponseResults;
|
|
61826
|
+
}
|
|
61827
|
+
set intentResponseResults(value) {
|
|
61828
|
+
this._intentResponseResults = value;
|
|
61829
|
+
}
|
|
61830
|
+
get term() {
|
|
61831
|
+
return this._term;
|
|
61832
|
+
}
|
|
61833
|
+
set term(value) {
|
|
61834
|
+
this._term = value;
|
|
61835
|
+
}
|
|
61836
|
+
get elasticQuery() {
|
|
61837
|
+
return this._elasticQuery;
|
|
61838
|
+
}
|
|
61839
|
+
set elasticQuery(value) {
|
|
61840
|
+
this._elasticQuery = value;
|
|
61841
|
+
}
|
|
61842
|
+
get time() {
|
|
61843
|
+
return this._time;
|
|
61844
|
+
}
|
|
61845
|
+
set time(value) {
|
|
61846
|
+
this._time = value;
|
|
61847
|
+
}
|
|
61848
|
+
get nextPageToken() {
|
|
61849
|
+
return this._nextPageToken;
|
|
61850
|
+
}
|
|
61851
|
+
set nextPageToken(value) {
|
|
61852
|
+
this._nextPageToken = value;
|
|
61853
|
+
}
|
|
61854
|
+
/**
|
|
61855
|
+
* Serialize message to binary data
|
|
61856
|
+
* @param instance message instance
|
|
61857
|
+
*/
|
|
61858
|
+
serializeBinary() {
|
|
61859
|
+
const writer = new BinaryWriter();
|
|
61860
|
+
FullTextSearchResponseIntentResponse.serializeBinaryToWriter(this, writer);
|
|
61861
|
+
return writer.getResultBuffer();
|
|
61862
|
+
}
|
|
61863
|
+
/**
|
|
61864
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
61865
|
+
*/
|
|
61866
|
+
toObject() {
|
|
61867
|
+
return {
|
|
61868
|
+
parent: this.parent,
|
|
61869
|
+
languageCode: this.languageCode,
|
|
61870
|
+
intentResponseResults: (this.intentResponseResults || []).map(m => m.toObject()),
|
|
61871
|
+
term: this.term,
|
|
61872
|
+
elasticQuery: this.elasticQuery,
|
|
61873
|
+
time: this.time,
|
|
61874
|
+
nextPageToken: this.nextPageToken
|
|
61875
|
+
};
|
|
61876
|
+
}
|
|
61877
|
+
/**
|
|
61878
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
61879
|
+
*/
|
|
61880
|
+
toJSON() {
|
|
61881
|
+
return this.toObject();
|
|
61882
|
+
}
|
|
61883
|
+
/**
|
|
61884
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
61885
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
61886
|
+
* 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
|
|
61887
|
+
*/
|
|
61888
|
+
toProtobufJSON(
|
|
61889
|
+
// @ts-ignore
|
|
61890
|
+
options) {
|
|
61891
|
+
return {
|
|
61892
|
+
parent: this.parent,
|
|
61893
|
+
languageCode: this.languageCode,
|
|
61894
|
+
intentResponseResults: (this.intentResponseResults || []).map(m => m.toProtobufJSON(options)),
|
|
61895
|
+
term: this.term,
|
|
61896
|
+
elasticQuery: this.elasticQuery,
|
|
61897
|
+
time: this.time,
|
|
61898
|
+
nextPageToken: this.nextPageToken
|
|
61899
|
+
};
|
|
61900
|
+
}
|
|
61901
|
+
}
|
|
61902
|
+
FullTextSearchResponseIntentResponse.id = 'ondewo.nlu.FullTextSearchResponseIntentResponse';
|
|
61903
|
+
(function (FullTextSearchResponseIntentResponse) {
|
|
61904
|
+
/**
|
|
61905
|
+
* Message implementation for ondewo.nlu.IntentResponseSearchResult
|
|
61906
|
+
*/
|
|
61907
|
+
class IntentResponseSearchResult {
|
|
61908
|
+
/**
|
|
61909
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
61910
|
+
* @param _value initial values object or instance of IntentResponseSearchResult to deeply clone from
|
|
61911
|
+
*/
|
|
61912
|
+
constructor(_value) {
|
|
61913
|
+
_value = _value || {};
|
|
61914
|
+
this.text = _value.text;
|
|
61915
|
+
this.platform = _value.platform;
|
|
61916
|
+
this.responseType = _value.responseType;
|
|
61917
|
+
this.intentName = _value.intentName;
|
|
61918
|
+
this.language = _value.language;
|
|
61919
|
+
IntentResponseSearchResult.refineValues(this);
|
|
61920
|
+
}
|
|
61921
|
+
/**
|
|
61922
|
+
* Deserialize binary data to message
|
|
61923
|
+
* @param instance message instance
|
|
61924
|
+
*/
|
|
61925
|
+
static deserializeBinary(bytes) {
|
|
61926
|
+
const instance = new IntentResponseSearchResult();
|
|
61927
|
+
IntentResponseSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
61928
|
+
return instance;
|
|
61929
|
+
}
|
|
61930
|
+
/**
|
|
61931
|
+
* Check all the properties and set default protobuf values if necessary
|
|
61932
|
+
* @param _instance message instance
|
|
61933
|
+
*/
|
|
61934
|
+
static refineValues(_instance) {
|
|
61935
|
+
_instance.text = _instance.text || '';
|
|
61936
|
+
_instance.platform = _instance.platform || '';
|
|
61937
|
+
_instance.responseType = _instance.responseType || '';
|
|
61938
|
+
_instance.intentName = _instance.intentName || '';
|
|
61939
|
+
_instance.language = _instance.language || '';
|
|
61940
|
+
}
|
|
61941
|
+
/**
|
|
61942
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
61943
|
+
* @param _instance message instance
|
|
61944
|
+
* @param _reader binary reader instance
|
|
61945
|
+
*/
|
|
61946
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
61947
|
+
while (_reader.nextField()) {
|
|
61948
|
+
if (_reader.isEndGroup())
|
|
61949
|
+
break;
|
|
61950
|
+
switch (_reader.getFieldNumber()) {
|
|
61951
|
+
case 1:
|
|
61952
|
+
_instance.text = _reader.readString();
|
|
61953
|
+
break;
|
|
61954
|
+
case 2:
|
|
61955
|
+
_instance.platform = _reader.readString();
|
|
61956
|
+
break;
|
|
61957
|
+
case 3:
|
|
61958
|
+
_instance.responseType = _reader.readString();
|
|
61959
|
+
break;
|
|
61960
|
+
case 4:
|
|
61961
|
+
_instance.intentName = _reader.readString();
|
|
61962
|
+
break;
|
|
61963
|
+
case 5:
|
|
61964
|
+
_instance.language = _reader.readString();
|
|
61965
|
+
break;
|
|
61966
|
+
default:
|
|
61967
|
+
_reader.skipField();
|
|
61968
|
+
}
|
|
61969
|
+
}
|
|
61970
|
+
IntentResponseSearchResult.refineValues(_instance);
|
|
61971
|
+
}
|
|
61972
|
+
/**
|
|
61973
|
+
* Serializes a message to binary format using provided binary reader
|
|
61974
|
+
* @param _instance message instance
|
|
61975
|
+
* @param _writer binary writer instance
|
|
61976
|
+
*/
|
|
61977
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
61978
|
+
if (_instance.text) {
|
|
61979
|
+
_writer.writeString(1, _instance.text);
|
|
61980
|
+
}
|
|
61981
|
+
if (_instance.platform) {
|
|
61982
|
+
_writer.writeString(2, _instance.platform);
|
|
61983
|
+
}
|
|
61984
|
+
if (_instance.responseType) {
|
|
61985
|
+
_writer.writeString(3, _instance.responseType);
|
|
61986
|
+
}
|
|
61987
|
+
if (_instance.intentName) {
|
|
61988
|
+
_writer.writeString(4, _instance.intentName);
|
|
61989
|
+
}
|
|
61990
|
+
if (_instance.language) {
|
|
61991
|
+
_writer.writeString(5, _instance.language);
|
|
61992
|
+
}
|
|
61993
|
+
}
|
|
61994
|
+
get text() {
|
|
61995
|
+
return this._text;
|
|
61996
|
+
}
|
|
61997
|
+
set text(value) {
|
|
61998
|
+
this._text = value;
|
|
61999
|
+
}
|
|
62000
|
+
get platform() {
|
|
62001
|
+
return this._platform;
|
|
62002
|
+
}
|
|
62003
|
+
set platform(value) {
|
|
62004
|
+
this._platform = value;
|
|
62005
|
+
}
|
|
62006
|
+
get responseType() {
|
|
62007
|
+
return this._responseType;
|
|
62008
|
+
}
|
|
62009
|
+
set responseType(value) {
|
|
62010
|
+
this._responseType = value;
|
|
62011
|
+
}
|
|
62012
|
+
get intentName() {
|
|
62013
|
+
return this._intentName;
|
|
62014
|
+
}
|
|
62015
|
+
set intentName(value) {
|
|
62016
|
+
this._intentName = value;
|
|
62017
|
+
}
|
|
62018
|
+
get language() {
|
|
62019
|
+
return this._language;
|
|
62020
|
+
}
|
|
62021
|
+
set language(value) {
|
|
62022
|
+
this._language = value;
|
|
62023
|
+
}
|
|
62024
|
+
/**
|
|
62025
|
+
* Serialize message to binary data
|
|
62026
|
+
* @param instance message instance
|
|
62027
|
+
*/
|
|
62028
|
+
serializeBinary() {
|
|
62029
|
+
const writer = new BinaryWriter();
|
|
62030
|
+
IntentResponseSearchResult.serializeBinaryToWriter(this, writer);
|
|
62031
|
+
return writer.getResultBuffer();
|
|
62032
|
+
}
|
|
62033
|
+
/**
|
|
62034
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
62035
|
+
*/
|
|
62036
|
+
toObject() {
|
|
62037
|
+
return {
|
|
62038
|
+
text: this.text,
|
|
62039
|
+
platform: this.platform,
|
|
62040
|
+
responseType: this.responseType,
|
|
62041
|
+
intentName: this.intentName,
|
|
62042
|
+
language: this.language
|
|
62043
|
+
};
|
|
62044
|
+
}
|
|
62045
|
+
/**
|
|
62046
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
62047
|
+
*/
|
|
62048
|
+
toJSON() {
|
|
62049
|
+
return this.toObject();
|
|
62050
|
+
}
|
|
62051
|
+
/**
|
|
62052
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
62053
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
62054
|
+
* 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
|
|
62055
|
+
*/
|
|
62056
|
+
toProtobufJSON(
|
|
62057
|
+
// @ts-ignore
|
|
62058
|
+
options) {
|
|
62059
|
+
return {
|
|
62060
|
+
text: this.text,
|
|
62061
|
+
platform: this.platform,
|
|
62062
|
+
responseType: this.responseType,
|
|
62063
|
+
intentName: this.intentName,
|
|
62064
|
+
language: this.language
|
|
62065
|
+
};
|
|
62066
|
+
}
|
|
62067
|
+
}
|
|
62068
|
+
IntentResponseSearchResult.id = 'ondewo.nlu.IntentResponseSearchResult';
|
|
62069
|
+
FullTextSearchResponseIntentResponse.IntentResponseSearchResult = IntentResponseSearchResult;
|
|
62070
|
+
})(FullTextSearchResponseIntentResponse || (FullTextSearchResponseIntentResponse = {}));
|
|
62071
|
+
/**
|
|
62072
|
+
* Message implementation for ondewo.nlu.FullTextSearchResponseIntentParameters
|
|
62073
|
+
*/
|
|
62074
|
+
class FullTextSearchResponseIntentParameters {
|
|
62075
|
+
/**
|
|
62076
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
62077
|
+
* @param _value initial values object or instance of FullTextSearchResponseIntentParameters to deeply clone from
|
|
62078
|
+
*/
|
|
62079
|
+
constructor(_value) {
|
|
62080
|
+
_value = _value || {};
|
|
62081
|
+
this.parent = _value.parent;
|
|
62082
|
+
this.languageCode = _value.languageCode;
|
|
62083
|
+
this.intentParametersResults = (_value.intentParametersResults || []).map(m => new FullTextSearchResponseIntentParameters.IntentParametersSearchResult(m));
|
|
62084
|
+
this.term = _value.term;
|
|
62085
|
+
this.elasticQuery = _value.elasticQuery;
|
|
62086
|
+
this.time = _value.time;
|
|
62087
|
+
this.nextPageToken = _value.nextPageToken;
|
|
62088
|
+
FullTextSearchResponseIntentParameters.refineValues(this);
|
|
62089
|
+
}
|
|
62090
|
+
/**
|
|
62091
|
+
* Deserialize binary data to message
|
|
62092
|
+
* @param instance message instance
|
|
62093
|
+
*/
|
|
62094
|
+
static deserializeBinary(bytes) {
|
|
62095
|
+
const instance = new FullTextSearchResponseIntentParameters();
|
|
62096
|
+
FullTextSearchResponseIntentParameters.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
62097
|
+
return instance;
|
|
62098
|
+
}
|
|
62099
|
+
/**
|
|
62100
|
+
* Check all the properties and set default protobuf values if necessary
|
|
62101
|
+
* @param _instance message instance
|
|
62102
|
+
*/
|
|
62103
|
+
static refineValues(_instance) {
|
|
62104
|
+
_instance.parent = _instance.parent || '';
|
|
62105
|
+
_instance.languageCode = _instance.languageCode || '';
|
|
62106
|
+
_instance.intentParametersResults = _instance.intentParametersResults || [];
|
|
62107
|
+
_instance.term = _instance.term || '';
|
|
62108
|
+
_instance.elasticQuery = _instance.elasticQuery || '';
|
|
62109
|
+
_instance.time = _instance.time || 0;
|
|
62110
|
+
_instance.nextPageToken = _instance.nextPageToken || '';
|
|
62111
|
+
}
|
|
62112
|
+
/**
|
|
62113
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
62114
|
+
* @param _instance message instance
|
|
62115
|
+
* @param _reader binary reader instance
|
|
62116
|
+
*/
|
|
62117
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
62118
|
+
while (_reader.nextField()) {
|
|
62119
|
+
if (_reader.isEndGroup())
|
|
62120
|
+
break;
|
|
62121
|
+
switch (_reader.getFieldNumber()) {
|
|
62122
|
+
case 1:
|
|
62123
|
+
_instance.parent = _reader.readString();
|
|
62124
|
+
break;
|
|
62125
|
+
case 2:
|
|
62126
|
+
_instance.languageCode = _reader.readString();
|
|
62127
|
+
break;
|
|
62128
|
+
case 3:
|
|
62129
|
+
const messageInitializer3 = new FullTextSearchResponseIntentParameters.IntentParametersSearchResult();
|
|
62130
|
+
_reader.readMessage(messageInitializer3, FullTextSearchResponseIntentParameters.IntentParametersSearchResult
|
|
62131
|
+
.deserializeBinaryFromReader);
|
|
62132
|
+
(_instance.intentParametersResults =
|
|
62133
|
+
_instance.intentParametersResults || []).push(messageInitializer3);
|
|
62134
|
+
break;
|
|
62135
|
+
case 4:
|
|
62136
|
+
_instance.term = _reader.readString();
|
|
62137
|
+
break;
|
|
62138
|
+
case 5:
|
|
62139
|
+
_instance.elasticQuery = _reader.readString();
|
|
62140
|
+
break;
|
|
62141
|
+
case 6:
|
|
62142
|
+
_instance.time = _reader.readFloat();
|
|
62143
|
+
break;
|
|
62144
|
+
case 7:
|
|
62145
|
+
_instance.nextPageToken = _reader.readString();
|
|
62146
|
+
break;
|
|
62147
|
+
default:
|
|
62148
|
+
_reader.skipField();
|
|
62149
|
+
}
|
|
62150
|
+
}
|
|
62151
|
+
FullTextSearchResponseIntentParameters.refineValues(_instance);
|
|
62152
|
+
}
|
|
62153
|
+
/**
|
|
62154
|
+
* Serializes a message to binary format using provided binary reader
|
|
62155
|
+
* @param _instance message instance
|
|
62156
|
+
* @param _writer binary writer instance
|
|
62157
|
+
*/
|
|
62158
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
62159
|
+
if (_instance.parent) {
|
|
62160
|
+
_writer.writeString(1, _instance.parent);
|
|
62161
|
+
}
|
|
62162
|
+
if (_instance.languageCode) {
|
|
62163
|
+
_writer.writeString(2, _instance.languageCode);
|
|
62164
|
+
}
|
|
62165
|
+
if (_instance.intentParametersResults &&
|
|
62166
|
+
_instance.intentParametersResults.length) {
|
|
62167
|
+
_writer.writeRepeatedMessage(3, _instance.intentParametersResults, FullTextSearchResponseIntentParameters.IntentParametersSearchResult
|
|
62168
|
+
.serializeBinaryToWriter);
|
|
62169
|
+
}
|
|
62170
|
+
if (_instance.term) {
|
|
62171
|
+
_writer.writeString(4, _instance.term);
|
|
62172
|
+
}
|
|
62173
|
+
if (_instance.elasticQuery) {
|
|
62174
|
+
_writer.writeString(5, _instance.elasticQuery);
|
|
62175
|
+
}
|
|
62176
|
+
if (_instance.time) {
|
|
62177
|
+
_writer.writeFloat(6, _instance.time);
|
|
62178
|
+
}
|
|
62179
|
+
if (_instance.nextPageToken) {
|
|
62180
|
+
_writer.writeString(7, _instance.nextPageToken);
|
|
62181
|
+
}
|
|
62182
|
+
}
|
|
62183
|
+
get parent() {
|
|
62184
|
+
return this._parent;
|
|
62185
|
+
}
|
|
62186
|
+
set parent(value) {
|
|
62187
|
+
this._parent = value;
|
|
62188
|
+
}
|
|
62189
|
+
get languageCode() {
|
|
62190
|
+
return this._languageCode;
|
|
62191
|
+
}
|
|
62192
|
+
set languageCode(value) {
|
|
62193
|
+
this._languageCode = value;
|
|
62194
|
+
}
|
|
62195
|
+
get intentParametersResults() {
|
|
62196
|
+
return this._intentParametersResults;
|
|
62197
|
+
}
|
|
62198
|
+
set intentParametersResults(value) {
|
|
62199
|
+
this._intentParametersResults = value;
|
|
62200
|
+
}
|
|
62201
|
+
get term() {
|
|
62202
|
+
return this._term;
|
|
62203
|
+
}
|
|
62204
|
+
set term(value) {
|
|
62205
|
+
this._term = value;
|
|
62206
|
+
}
|
|
62207
|
+
get elasticQuery() {
|
|
62208
|
+
return this._elasticQuery;
|
|
62209
|
+
}
|
|
62210
|
+
set elasticQuery(value) {
|
|
62211
|
+
this._elasticQuery = value;
|
|
62212
|
+
}
|
|
62213
|
+
get time() {
|
|
62214
|
+
return this._time;
|
|
62215
|
+
}
|
|
62216
|
+
set time(value) {
|
|
62217
|
+
this._time = value;
|
|
62218
|
+
}
|
|
62219
|
+
get nextPageToken() {
|
|
62220
|
+
return this._nextPageToken;
|
|
62221
|
+
}
|
|
62222
|
+
set nextPageToken(value) {
|
|
62223
|
+
this._nextPageToken = value;
|
|
62224
|
+
}
|
|
62225
|
+
/**
|
|
62226
|
+
* Serialize message to binary data
|
|
62227
|
+
* @param instance message instance
|
|
62228
|
+
*/
|
|
62229
|
+
serializeBinary() {
|
|
62230
|
+
const writer = new BinaryWriter();
|
|
62231
|
+
FullTextSearchResponseIntentParameters.serializeBinaryToWriter(this, writer);
|
|
62232
|
+
return writer.getResultBuffer();
|
|
62233
|
+
}
|
|
62234
|
+
/**
|
|
62235
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
62236
|
+
*/
|
|
62237
|
+
toObject() {
|
|
62238
|
+
return {
|
|
62239
|
+
parent: this.parent,
|
|
62240
|
+
languageCode: this.languageCode,
|
|
62241
|
+
intentParametersResults: (this.intentParametersResults || []).map(m => m.toObject()),
|
|
62242
|
+
term: this.term,
|
|
62243
|
+
elasticQuery: this.elasticQuery,
|
|
62244
|
+
time: this.time,
|
|
62245
|
+
nextPageToken: this.nextPageToken
|
|
62246
|
+
};
|
|
62247
|
+
}
|
|
62248
|
+
/**
|
|
62249
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
62250
|
+
*/
|
|
62251
|
+
toJSON() {
|
|
62252
|
+
return this.toObject();
|
|
62253
|
+
}
|
|
62254
|
+
/**
|
|
62255
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
62256
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
62257
|
+
* 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
|
|
62258
|
+
*/
|
|
62259
|
+
toProtobufJSON(
|
|
62260
|
+
// @ts-ignore
|
|
62261
|
+
options) {
|
|
62262
|
+
return {
|
|
62263
|
+
parent: this.parent,
|
|
62264
|
+
languageCode: this.languageCode,
|
|
62265
|
+
intentParametersResults: (this.intentParametersResults || []).map(m => m.toProtobufJSON(options)),
|
|
62266
|
+
term: this.term,
|
|
62267
|
+
elasticQuery: this.elasticQuery,
|
|
62268
|
+
time: this.time,
|
|
62269
|
+
nextPageToken: this.nextPageToken
|
|
62270
|
+
};
|
|
62271
|
+
}
|
|
62272
|
+
}
|
|
62273
|
+
FullTextSearchResponseIntentParameters.id = 'ondewo.nlu.FullTextSearchResponseIntentParameters';
|
|
62274
|
+
(function (FullTextSearchResponseIntentParameters) {
|
|
62275
|
+
/**
|
|
62276
|
+
* Message implementation for ondewo.nlu.IntentParametersSearchResult
|
|
62277
|
+
*/
|
|
62278
|
+
class IntentParametersSearchResult {
|
|
62279
|
+
/**
|
|
62280
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
62281
|
+
* @param _value initial values object or instance of IntentParametersSearchResult to deeply clone from
|
|
62282
|
+
*/
|
|
62283
|
+
constructor(_value) {
|
|
62284
|
+
_value = _value || {};
|
|
62285
|
+
this.parameterName = _value.parameterName;
|
|
62286
|
+
this.parameterDisplayName = _value.parameterDisplayName;
|
|
62287
|
+
this.intentName = _value.intentName;
|
|
62288
|
+
this.language = _value.language;
|
|
62289
|
+
IntentParametersSearchResult.refineValues(this);
|
|
62290
|
+
}
|
|
62291
|
+
/**
|
|
62292
|
+
* Deserialize binary data to message
|
|
62293
|
+
* @param instance message instance
|
|
62294
|
+
*/
|
|
62295
|
+
static deserializeBinary(bytes) {
|
|
62296
|
+
const instance = new IntentParametersSearchResult();
|
|
62297
|
+
IntentParametersSearchResult.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
62298
|
+
return instance;
|
|
62299
|
+
}
|
|
62300
|
+
/**
|
|
62301
|
+
* Check all the properties and set default protobuf values if necessary
|
|
62302
|
+
* @param _instance message instance
|
|
62303
|
+
*/
|
|
62304
|
+
static refineValues(_instance) {
|
|
62305
|
+
_instance.parameterName = _instance.parameterName || '';
|
|
62306
|
+
_instance.parameterDisplayName = _instance.parameterDisplayName || '';
|
|
62307
|
+
_instance.intentName = _instance.intentName || '';
|
|
62308
|
+
_instance.language = _instance.language || '';
|
|
62309
|
+
}
|
|
62310
|
+
/**
|
|
62311
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
62312
|
+
* @param _instance message instance
|
|
62313
|
+
* @param _reader binary reader instance
|
|
62314
|
+
*/
|
|
62315
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
62316
|
+
while (_reader.nextField()) {
|
|
62317
|
+
if (_reader.isEndGroup())
|
|
62318
|
+
break;
|
|
62319
|
+
switch (_reader.getFieldNumber()) {
|
|
62320
|
+
case 1:
|
|
62321
|
+
_instance.parameterName = _reader.readString();
|
|
62322
|
+
break;
|
|
62323
|
+
case 2:
|
|
62324
|
+
_instance.parameterDisplayName = _reader.readString();
|
|
62325
|
+
break;
|
|
62326
|
+
case 3:
|
|
62327
|
+
_instance.intentName = _reader.readString();
|
|
62328
|
+
break;
|
|
62329
|
+
case 4:
|
|
62330
|
+
_instance.language = _reader.readString();
|
|
62331
|
+
break;
|
|
62332
|
+
default:
|
|
62333
|
+
_reader.skipField();
|
|
62334
|
+
}
|
|
62335
|
+
}
|
|
62336
|
+
IntentParametersSearchResult.refineValues(_instance);
|
|
62337
|
+
}
|
|
62338
|
+
/**
|
|
62339
|
+
* Serializes a message to binary format using provided binary reader
|
|
62340
|
+
* @param _instance message instance
|
|
62341
|
+
* @param _writer binary writer instance
|
|
62342
|
+
*/
|
|
62343
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
62344
|
+
if (_instance.parameterName) {
|
|
62345
|
+
_writer.writeString(1, _instance.parameterName);
|
|
62346
|
+
}
|
|
62347
|
+
if (_instance.parameterDisplayName) {
|
|
62348
|
+
_writer.writeString(2, _instance.parameterDisplayName);
|
|
62349
|
+
}
|
|
62350
|
+
if (_instance.intentName) {
|
|
62351
|
+
_writer.writeString(3, _instance.intentName);
|
|
62352
|
+
}
|
|
62353
|
+
if (_instance.language) {
|
|
62354
|
+
_writer.writeString(4, _instance.language);
|
|
62355
|
+
}
|
|
62356
|
+
}
|
|
62357
|
+
get parameterName() {
|
|
62358
|
+
return this._parameterName;
|
|
62359
|
+
}
|
|
62360
|
+
set parameterName(value) {
|
|
62361
|
+
this._parameterName = value;
|
|
62362
|
+
}
|
|
62363
|
+
get parameterDisplayName() {
|
|
62364
|
+
return this._parameterDisplayName;
|
|
62365
|
+
}
|
|
62366
|
+
set parameterDisplayName(value) {
|
|
62367
|
+
this._parameterDisplayName = value;
|
|
62368
|
+
}
|
|
62369
|
+
get intentName() {
|
|
62370
|
+
return this._intentName;
|
|
62371
|
+
}
|
|
62372
|
+
set intentName(value) {
|
|
62373
|
+
this._intentName = value;
|
|
62374
|
+
}
|
|
62375
|
+
get language() {
|
|
62376
|
+
return this._language;
|
|
62377
|
+
}
|
|
62378
|
+
set language(value) {
|
|
62379
|
+
this._language = value;
|
|
62380
|
+
}
|
|
62381
|
+
/**
|
|
62382
|
+
* Serialize message to binary data
|
|
62383
|
+
* @param instance message instance
|
|
62384
|
+
*/
|
|
62385
|
+
serializeBinary() {
|
|
62386
|
+
const writer = new BinaryWriter();
|
|
62387
|
+
IntentParametersSearchResult.serializeBinaryToWriter(this, writer);
|
|
62388
|
+
return writer.getResultBuffer();
|
|
62389
|
+
}
|
|
62390
|
+
/**
|
|
62391
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
62392
|
+
*/
|
|
62393
|
+
toObject() {
|
|
62394
|
+
return {
|
|
62395
|
+
parameterName: this.parameterName,
|
|
62396
|
+
parameterDisplayName: this.parameterDisplayName,
|
|
62397
|
+
intentName: this.intentName,
|
|
62398
|
+
language: this.language
|
|
62399
|
+
};
|
|
62400
|
+
}
|
|
62401
|
+
/**
|
|
62402
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
62403
|
+
*/
|
|
62404
|
+
toJSON() {
|
|
62405
|
+
return this.toObject();
|
|
62406
|
+
}
|
|
62407
|
+
/**
|
|
62408
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
62409
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
62410
|
+
* 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
|
|
62411
|
+
*/
|
|
62412
|
+
toProtobufJSON(
|
|
62413
|
+
// @ts-ignore
|
|
62414
|
+
options) {
|
|
62415
|
+
return {
|
|
62416
|
+
parameterName: this.parameterName,
|
|
62417
|
+
parameterDisplayName: this.parameterDisplayName,
|
|
62418
|
+
intentName: this.intentName,
|
|
62419
|
+
language: this.language
|
|
62420
|
+
};
|
|
62421
|
+
}
|
|
62422
|
+
}
|
|
62423
|
+
IntentParametersSearchResult.id = 'ondewo.nlu.IntentParametersSearchResult';
|
|
62424
|
+
FullTextSearchResponseIntentParameters.IntentParametersSearchResult = IntentParametersSearchResult;
|
|
62425
|
+
})(FullTextSearchResponseIntentParameters || (FullTextSearchResponseIntentParameters = {}));
|
|
62426
|
+
/**
|
|
62427
|
+
* Message implementation for ondewo.nlu.ReindexAgentRequest
|
|
62428
|
+
*/
|
|
62429
|
+
class ReindexAgentRequest {
|
|
62430
|
+
/**
|
|
62431
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
62432
|
+
* @param _value initial values object or instance of ReindexAgentRequest to deeply clone from
|
|
62433
|
+
*/
|
|
62434
|
+
constructor(_value) {
|
|
62435
|
+
_value = _value || {};
|
|
62436
|
+
this.parent = _value.parent;
|
|
62437
|
+
this.branchName = _value.branchName;
|
|
62438
|
+
this.indexTypes = (_value.indexTypes || []).slice();
|
|
62439
|
+
ReindexAgentRequest.refineValues(this);
|
|
62440
|
+
}
|
|
62441
|
+
/**
|
|
62442
|
+
* Deserialize binary data to message
|
|
62443
|
+
* @param instance message instance
|
|
62444
|
+
*/
|
|
62445
|
+
static deserializeBinary(bytes) {
|
|
62446
|
+
const instance = new ReindexAgentRequest();
|
|
62447
|
+
ReindexAgentRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
62448
|
+
return instance;
|
|
62449
|
+
}
|
|
62450
|
+
/**
|
|
62451
|
+
* Check all the properties and set default protobuf values if necessary
|
|
62452
|
+
* @param _instance message instance
|
|
62453
|
+
*/
|
|
62454
|
+
static refineValues(_instance) {
|
|
62455
|
+
_instance.parent = _instance.parent || '';
|
|
62456
|
+
_instance.branchName = _instance.branchName || '';
|
|
62457
|
+
_instance.indexTypes = _instance.indexTypes || [];
|
|
62458
|
+
}
|
|
62459
|
+
/**
|
|
62460
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
62461
|
+
* @param _instance message instance
|
|
62462
|
+
* @param _reader binary reader instance
|
|
62463
|
+
*/
|
|
62464
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
62465
|
+
while (_reader.nextField()) {
|
|
62466
|
+
if (_reader.isEndGroup())
|
|
62467
|
+
break;
|
|
62468
|
+
switch (_reader.getFieldNumber()) {
|
|
62469
|
+
case 1:
|
|
62470
|
+
_instance.parent = _reader.readString();
|
|
62471
|
+
break;
|
|
62472
|
+
case 2:
|
|
62473
|
+
_instance.branchName = _reader.readString();
|
|
62474
|
+
break;
|
|
62475
|
+
case 3:
|
|
62476
|
+
(_instance.indexTypes = _instance.indexTypes || []).push(...(_reader.readPackedEnum() || []));
|
|
62477
|
+
break;
|
|
62478
|
+
default:
|
|
62479
|
+
_reader.skipField();
|
|
62480
|
+
}
|
|
62481
|
+
}
|
|
62482
|
+
ReindexAgentRequest.refineValues(_instance);
|
|
62483
|
+
}
|
|
62484
|
+
/**
|
|
62485
|
+
* Serializes a message to binary format using provided binary reader
|
|
62486
|
+
* @param _instance message instance
|
|
62487
|
+
* @param _writer binary writer instance
|
|
62488
|
+
*/
|
|
62489
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
62490
|
+
if (_instance.parent) {
|
|
62491
|
+
_writer.writeString(1, _instance.parent);
|
|
62492
|
+
}
|
|
62493
|
+
if (_instance.branchName) {
|
|
62494
|
+
_writer.writeString(2, _instance.branchName);
|
|
62495
|
+
}
|
|
62496
|
+
if (_instance.indexTypes && _instance.indexTypes.length) {
|
|
62497
|
+
_writer.writePackedEnum(3, _instance.indexTypes);
|
|
62498
|
+
}
|
|
62499
|
+
}
|
|
62500
|
+
get parent() {
|
|
62501
|
+
return this._parent;
|
|
62502
|
+
}
|
|
62503
|
+
set parent(value) {
|
|
62504
|
+
this._parent = value;
|
|
62505
|
+
}
|
|
62506
|
+
get branchName() {
|
|
62507
|
+
return this._branchName;
|
|
62508
|
+
}
|
|
62509
|
+
set branchName(value) {
|
|
62510
|
+
this._branchName = value;
|
|
62511
|
+
}
|
|
62512
|
+
get indexTypes() {
|
|
62513
|
+
return this._indexTypes;
|
|
62514
|
+
}
|
|
62515
|
+
set indexTypes(value) {
|
|
62516
|
+
this._indexTypes = value;
|
|
62517
|
+
}
|
|
62518
|
+
/**
|
|
62519
|
+
* Serialize message to binary data
|
|
62520
|
+
* @param instance message instance
|
|
62521
|
+
*/
|
|
62522
|
+
serializeBinary() {
|
|
62523
|
+
const writer = new BinaryWriter();
|
|
62524
|
+
ReindexAgentRequest.serializeBinaryToWriter(this, writer);
|
|
62525
|
+
return writer.getResultBuffer();
|
|
62526
|
+
}
|
|
62527
|
+
/**
|
|
62528
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
62529
|
+
*/
|
|
62530
|
+
toObject() {
|
|
62531
|
+
return {
|
|
62532
|
+
parent: this.parent,
|
|
62533
|
+
branchName: this.branchName,
|
|
62534
|
+
indexTypes: (this.indexTypes || []).slice()
|
|
62535
|
+
};
|
|
62536
|
+
}
|
|
62537
|
+
/**
|
|
62538
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
62539
|
+
*/
|
|
62540
|
+
toJSON() {
|
|
62541
|
+
return this.toObject();
|
|
62542
|
+
}
|
|
62543
|
+
/**
|
|
62544
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
62545
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
62546
|
+
* 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
|
|
62547
|
+
*/
|
|
62548
|
+
toProtobufJSON(
|
|
62549
|
+
// @ts-ignore
|
|
62550
|
+
options) {
|
|
62551
|
+
return {
|
|
62552
|
+
parent: this.parent,
|
|
62553
|
+
branchName: this.branchName,
|
|
62554
|
+
indexTypes: (this.indexTypes || []).map(v => FullTextSearchRequest.QueryType[v])
|
|
62555
|
+
};
|
|
62556
|
+
}
|
|
62557
|
+
}
|
|
62558
|
+
ReindexAgentRequest.id = 'ondewo.nlu.ReindexAgentRequest';
|
|
58687
62559
|
|
|
58688
62560
|
/* tslint:disable */
|
|
58689
62561
|
/**
|
|
@@ -59201,6 +63073,204 @@ class AgentsClient {
|
|
|
59201
63073
|
requestClass: PlatformMapping,
|
|
59202
63074
|
responseClass: PlatformMapping
|
|
59203
63075
|
});
|
|
63076
|
+
},
|
|
63077
|
+
/**
|
|
63078
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchEntityType
|
|
63079
|
+
*
|
|
63080
|
+
* @param requestMessage Request message
|
|
63081
|
+
* @param requestMetadata Request metadata
|
|
63082
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseEntityType>>
|
|
63083
|
+
*/
|
|
63084
|
+
getFullTextSearchEntityType: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63085
|
+
return this.handler.handle({
|
|
63086
|
+
type: GrpcCallType.unary,
|
|
63087
|
+
client: this.client,
|
|
63088
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchEntityType',
|
|
63089
|
+
requestData,
|
|
63090
|
+
requestMetadata,
|
|
63091
|
+
requestClass: FullTextSearchRequest,
|
|
63092
|
+
responseClass: FullTextSearchResponseEntityType
|
|
63093
|
+
});
|
|
63094
|
+
},
|
|
63095
|
+
/**
|
|
63096
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchEntity
|
|
63097
|
+
*
|
|
63098
|
+
* @param requestMessage Request message
|
|
63099
|
+
* @param requestMetadata Request metadata
|
|
63100
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseEntity>>
|
|
63101
|
+
*/
|
|
63102
|
+
getFullTextSearchEntity: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63103
|
+
return this.handler.handle({
|
|
63104
|
+
type: GrpcCallType.unary,
|
|
63105
|
+
client: this.client,
|
|
63106
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchEntity',
|
|
63107
|
+
requestData,
|
|
63108
|
+
requestMetadata,
|
|
63109
|
+
requestClass: FullTextSearchRequest,
|
|
63110
|
+
responseClass: FullTextSearchResponseEntity
|
|
63111
|
+
});
|
|
63112
|
+
},
|
|
63113
|
+
/**
|
|
63114
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchEntitySynonym
|
|
63115
|
+
*
|
|
63116
|
+
* @param requestMessage Request message
|
|
63117
|
+
* @param requestMetadata Request metadata
|
|
63118
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseEntitySynonym>>
|
|
63119
|
+
*/
|
|
63120
|
+
getFullTextSearchEntitySynonym: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63121
|
+
return this.handler.handle({
|
|
63122
|
+
type: GrpcCallType.unary,
|
|
63123
|
+
client: this.client,
|
|
63124
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchEntitySynonym',
|
|
63125
|
+
requestData,
|
|
63126
|
+
requestMetadata,
|
|
63127
|
+
requestClass: FullTextSearchRequest,
|
|
63128
|
+
responseClass: FullTextSearchResponseEntitySynonym
|
|
63129
|
+
});
|
|
63130
|
+
},
|
|
63131
|
+
/**
|
|
63132
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchIntent
|
|
63133
|
+
*
|
|
63134
|
+
* @param requestMessage Request message
|
|
63135
|
+
* @param requestMetadata Request metadata
|
|
63136
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseIntent>>
|
|
63137
|
+
*/
|
|
63138
|
+
getFullTextSearchIntent: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63139
|
+
return this.handler.handle({
|
|
63140
|
+
type: GrpcCallType.unary,
|
|
63141
|
+
client: this.client,
|
|
63142
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchIntent',
|
|
63143
|
+
requestData,
|
|
63144
|
+
requestMetadata,
|
|
63145
|
+
requestClass: FullTextSearchRequest,
|
|
63146
|
+
responseClass: FullTextSearchResponseIntent
|
|
63147
|
+
});
|
|
63148
|
+
},
|
|
63149
|
+
/**
|
|
63150
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchIntentContextIn
|
|
63151
|
+
*
|
|
63152
|
+
* @param requestMessage Request message
|
|
63153
|
+
* @param requestMetadata Request metadata
|
|
63154
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseIntentContextIn>>
|
|
63155
|
+
*/
|
|
63156
|
+
getFullTextSearchIntentContextIn: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63157
|
+
return this.handler.handle({
|
|
63158
|
+
type: GrpcCallType.unary,
|
|
63159
|
+
client: this.client,
|
|
63160
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchIntentContextIn',
|
|
63161
|
+
requestData,
|
|
63162
|
+
requestMetadata,
|
|
63163
|
+
requestClass: FullTextSearchRequest,
|
|
63164
|
+
responseClass: FullTextSearchResponseIntentContextIn
|
|
63165
|
+
});
|
|
63166
|
+
},
|
|
63167
|
+
/**
|
|
63168
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchIntentContextOut
|
|
63169
|
+
*
|
|
63170
|
+
* @param requestMessage Request message
|
|
63171
|
+
* @param requestMetadata Request metadata
|
|
63172
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseIntentContextOut>>
|
|
63173
|
+
*/
|
|
63174
|
+
getFullTextSearchIntentContextOut: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63175
|
+
return this.handler.handle({
|
|
63176
|
+
type: GrpcCallType.unary,
|
|
63177
|
+
client: this.client,
|
|
63178
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchIntentContextOut',
|
|
63179
|
+
requestData,
|
|
63180
|
+
requestMetadata,
|
|
63181
|
+
requestClass: FullTextSearchRequest,
|
|
63182
|
+
responseClass: FullTextSearchResponseIntentContextOut
|
|
63183
|
+
});
|
|
63184
|
+
},
|
|
63185
|
+
/**
|
|
63186
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchIntentUsersays
|
|
63187
|
+
*
|
|
63188
|
+
* @param requestMessage Request message
|
|
63189
|
+
* @param requestMetadata Request metadata
|
|
63190
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseIntentUsersays>>
|
|
63191
|
+
*/
|
|
63192
|
+
getFullTextSearchIntentUsersays: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63193
|
+
return this.handler.handle({
|
|
63194
|
+
type: GrpcCallType.unary,
|
|
63195
|
+
client: this.client,
|
|
63196
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchIntentUsersays',
|
|
63197
|
+
requestData,
|
|
63198
|
+
requestMetadata,
|
|
63199
|
+
requestClass: FullTextSearchRequest,
|
|
63200
|
+
responseClass: FullTextSearchResponseIntentUsersays
|
|
63201
|
+
});
|
|
63202
|
+
},
|
|
63203
|
+
/**
|
|
63204
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchIntentTags
|
|
63205
|
+
*
|
|
63206
|
+
* @param requestMessage Request message
|
|
63207
|
+
* @param requestMetadata Request metadata
|
|
63208
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseIntentTags>>
|
|
63209
|
+
*/
|
|
63210
|
+
getFullTextSearchIntentTags: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63211
|
+
return this.handler.handle({
|
|
63212
|
+
type: GrpcCallType.unary,
|
|
63213
|
+
client: this.client,
|
|
63214
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchIntentTags',
|
|
63215
|
+
requestData,
|
|
63216
|
+
requestMetadata,
|
|
63217
|
+
requestClass: FullTextSearchRequest,
|
|
63218
|
+
responseClass: FullTextSearchResponseIntentTags
|
|
63219
|
+
});
|
|
63220
|
+
},
|
|
63221
|
+
/**
|
|
63222
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchIntentResponse
|
|
63223
|
+
*
|
|
63224
|
+
* @param requestMessage Request message
|
|
63225
|
+
* @param requestMetadata Request metadata
|
|
63226
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseIntentResponse>>
|
|
63227
|
+
*/
|
|
63228
|
+
getFullTextSearchIntentResponse: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63229
|
+
return this.handler.handle({
|
|
63230
|
+
type: GrpcCallType.unary,
|
|
63231
|
+
client: this.client,
|
|
63232
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchIntentResponse',
|
|
63233
|
+
requestData,
|
|
63234
|
+
requestMetadata,
|
|
63235
|
+
requestClass: FullTextSearchRequest,
|
|
63236
|
+
responseClass: FullTextSearchResponseIntentResponse
|
|
63237
|
+
});
|
|
63238
|
+
},
|
|
63239
|
+
/**
|
|
63240
|
+
* Unary call: /ondewo.nlu.Agents/GetFullTextSearchIntentParameters
|
|
63241
|
+
*
|
|
63242
|
+
* @param requestMessage Request message
|
|
63243
|
+
* @param requestMetadata Request metadata
|
|
63244
|
+
* @returns Observable<GrpcEvent<thisProto.FullTextSearchResponseIntentParameters>>
|
|
63245
|
+
*/
|
|
63246
|
+
getFullTextSearchIntentParameters: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63247
|
+
return this.handler.handle({
|
|
63248
|
+
type: GrpcCallType.unary,
|
|
63249
|
+
client: this.client,
|
|
63250
|
+
path: '/ondewo.nlu.Agents/GetFullTextSearchIntentParameters',
|
|
63251
|
+
requestData,
|
|
63252
|
+
requestMetadata,
|
|
63253
|
+
requestClass: FullTextSearchRequest,
|
|
63254
|
+
responseClass: FullTextSearchResponseIntentParameters
|
|
63255
|
+
});
|
|
63256
|
+
},
|
|
63257
|
+
/**
|
|
63258
|
+
* Unary call: /ondewo.nlu.Agents/ReindexAgent
|
|
63259
|
+
*
|
|
63260
|
+
* @param requestMessage Request message
|
|
63261
|
+
* @param requestMetadata Request metadata
|
|
63262
|
+
* @returns Observable<GrpcEvent<ondewoNlu005.Operation>>
|
|
63263
|
+
*/
|
|
63264
|
+
reindexAgent: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
63265
|
+
return this.handler.handle({
|
|
63266
|
+
type: GrpcCallType.unary,
|
|
63267
|
+
client: this.client,
|
|
63268
|
+
path: '/ondewo.nlu.Agents/ReindexAgent',
|
|
63269
|
+
requestData,
|
|
63270
|
+
requestMetadata,
|
|
63271
|
+
requestClass: ReindexAgentRequest,
|
|
63272
|
+
responseClass: Operation
|
|
63273
|
+
});
|
|
59204
63274
|
}
|
|
59205
63275
|
};
|
|
59206
63276
|
this.client = clientFactory.createClient('ondewo.nlu.Agents', settings);
|
|
@@ -59541,10 +63611,142 @@ class AgentsClient {
|
|
|
59541
63611
|
.setPlatformMapping(requestData, requestMetadata)
|
|
59542
63612
|
.pipe(throwStatusErrors(), takeMessages());
|
|
59543
63613
|
}
|
|
63614
|
+
/**
|
|
63615
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchEntityType
|
|
63616
|
+
*
|
|
63617
|
+
* @param requestMessage Request message
|
|
63618
|
+
* @param requestMetadata Request metadata
|
|
63619
|
+
* @returns Observable<thisProto.FullTextSearchResponseEntityType>
|
|
63620
|
+
*/
|
|
63621
|
+
getFullTextSearchEntityType(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63622
|
+
return this.$raw
|
|
63623
|
+
.getFullTextSearchEntityType(requestData, requestMetadata)
|
|
63624
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63625
|
+
}
|
|
63626
|
+
/**
|
|
63627
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchEntity
|
|
63628
|
+
*
|
|
63629
|
+
* @param requestMessage Request message
|
|
63630
|
+
* @param requestMetadata Request metadata
|
|
63631
|
+
* @returns Observable<thisProto.FullTextSearchResponseEntity>
|
|
63632
|
+
*/
|
|
63633
|
+
getFullTextSearchEntity(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63634
|
+
return this.$raw
|
|
63635
|
+
.getFullTextSearchEntity(requestData, requestMetadata)
|
|
63636
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63637
|
+
}
|
|
63638
|
+
/**
|
|
63639
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchEntitySynonym
|
|
63640
|
+
*
|
|
63641
|
+
* @param requestMessage Request message
|
|
63642
|
+
* @param requestMetadata Request metadata
|
|
63643
|
+
* @returns Observable<thisProto.FullTextSearchResponseEntitySynonym>
|
|
63644
|
+
*/
|
|
63645
|
+
getFullTextSearchEntitySynonym(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63646
|
+
return this.$raw
|
|
63647
|
+
.getFullTextSearchEntitySynonym(requestData, requestMetadata)
|
|
63648
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63649
|
+
}
|
|
63650
|
+
/**
|
|
63651
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchIntent
|
|
63652
|
+
*
|
|
63653
|
+
* @param requestMessage Request message
|
|
63654
|
+
* @param requestMetadata Request metadata
|
|
63655
|
+
* @returns Observable<thisProto.FullTextSearchResponseIntent>
|
|
63656
|
+
*/
|
|
63657
|
+
getFullTextSearchIntent(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63658
|
+
return this.$raw
|
|
63659
|
+
.getFullTextSearchIntent(requestData, requestMetadata)
|
|
63660
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63661
|
+
}
|
|
63662
|
+
/**
|
|
63663
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchIntentContextIn
|
|
63664
|
+
*
|
|
63665
|
+
* @param requestMessage Request message
|
|
63666
|
+
* @param requestMetadata Request metadata
|
|
63667
|
+
* @returns Observable<thisProto.FullTextSearchResponseIntentContextIn>
|
|
63668
|
+
*/
|
|
63669
|
+
getFullTextSearchIntentContextIn(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63670
|
+
return this.$raw
|
|
63671
|
+
.getFullTextSearchIntentContextIn(requestData, requestMetadata)
|
|
63672
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63673
|
+
}
|
|
63674
|
+
/**
|
|
63675
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchIntentContextOut
|
|
63676
|
+
*
|
|
63677
|
+
* @param requestMessage Request message
|
|
63678
|
+
* @param requestMetadata Request metadata
|
|
63679
|
+
* @returns Observable<thisProto.FullTextSearchResponseIntentContextOut>
|
|
63680
|
+
*/
|
|
63681
|
+
getFullTextSearchIntentContextOut(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63682
|
+
return this.$raw
|
|
63683
|
+
.getFullTextSearchIntentContextOut(requestData, requestMetadata)
|
|
63684
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63685
|
+
}
|
|
63686
|
+
/**
|
|
63687
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchIntentUsersays
|
|
63688
|
+
*
|
|
63689
|
+
* @param requestMessage Request message
|
|
63690
|
+
* @param requestMetadata Request metadata
|
|
63691
|
+
* @returns Observable<thisProto.FullTextSearchResponseIntentUsersays>
|
|
63692
|
+
*/
|
|
63693
|
+
getFullTextSearchIntentUsersays(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63694
|
+
return this.$raw
|
|
63695
|
+
.getFullTextSearchIntentUsersays(requestData, requestMetadata)
|
|
63696
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63697
|
+
}
|
|
63698
|
+
/**
|
|
63699
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchIntentTags
|
|
63700
|
+
*
|
|
63701
|
+
* @param requestMessage Request message
|
|
63702
|
+
* @param requestMetadata Request metadata
|
|
63703
|
+
* @returns Observable<thisProto.FullTextSearchResponseIntentTags>
|
|
63704
|
+
*/
|
|
63705
|
+
getFullTextSearchIntentTags(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63706
|
+
return this.$raw
|
|
63707
|
+
.getFullTextSearchIntentTags(requestData, requestMetadata)
|
|
63708
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63709
|
+
}
|
|
63710
|
+
/**
|
|
63711
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchIntentResponse
|
|
63712
|
+
*
|
|
63713
|
+
* @param requestMessage Request message
|
|
63714
|
+
* @param requestMetadata Request metadata
|
|
63715
|
+
* @returns Observable<thisProto.FullTextSearchResponseIntentResponse>
|
|
63716
|
+
*/
|
|
63717
|
+
getFullTextSearchIntentResponse(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63718
|
+
return this.$raw
|
|
63719
|
+
.getFullTextSearchIntentResponse(requestData, requestMetadata)
|
|
63720
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63721
|
+
}
|
|
63722
|
+
/**
|
|
63723
|
+
* Unary call @/ondewo.nlu.Agents/GetFullTextSearchIntentParameters
|
|
63724
|
+
*
|
|
63725
|
+
* @param requestMessage Request message
|
|
63726
|
+
* @param requestMetadata Request metadata
|
|
63727
|
+
* @returns Observable<thisProto.FullTextSearchResponseIntentParameters>
|
|
63728
|
+
*/
|
|
63729
|
+
getFullTextSearchIntentParameters(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63730
|
+
return this.$raw
|
|
63731
|
+
.getFullTextSearchIntentParameters(requestData, requestMetadata)
|
|
63732
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63733
|
+
}
|
|
63734
|
+
/**
|
|
63735
|
+
* Unary call @/ondewo.nlu.Agents/ReindexAgent
|
|
63736
|
+
*
|
|
63737
|
+
* @param requestMessage Request message
|
|
63738
|
+
* @param requestMetadata Request metadata
|
|
63739
|
+
* @returns Observable<ondewoNlu005.Operation>
|
|
63740
|
+
*/
|
|
63741
|
+
reindexAgent(requestData, requestMetadata = new GrpcMetadata()) {
|
|
63742
|
+
return this.$raw
|
|
63743
|
+
.reindexAgent(requestData, requestMetadata)
|
|
63744
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
63745
|
+
}
|
|
59544
63746
|
}
|
|
59545
|
-
AgentsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
59546
|
-
AgentsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
59547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
63747
|
+
AgentsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AgentsClient, deps: [{ token: GRPC_AGENTS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
63748
|
+
AgentsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AgentsClient, providedIn: 'any' });
|
|
63749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AgentsClient, decorators: [{
|
|
59548
63750
|
type: Injectable,
|
|
59549
63751
|
args: [{ providedIn: 'any' }]
|
|
59550
63752
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -60398,9 +64600,9 @@ class IntentsClient {
|
|
|
60398
64600
|
.pipe(throwStatusErrors(), takeMessages());
|
|
60399
64601
|
}
|
|
60400
64602
|
}
|
|
60401
|
-
IntentsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
60402
|
-
IntentsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
60403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
64603
|
+
IntentsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: IntentsClient, deps: [{ token: GRPC_INTENTS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
64604
|
+
IntentsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: IntentsClient, providedIn: 'any' });
|
|
64605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: IntentsClient, decorators: [{
|
|
60404
64606
|
type: Injectable,
|
|
60405
64607
|
args: [{ providedIn: 'any' }]
|
|
60406
64608
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -61220,9 +65422,9 @@ class WebhookClient {
|
|
|
61220
65422
|
.pipe(throwStatusErrors(), takeMessages());
|
|
61221
65423
|
}
|
|
61222
65424
|
}
|
|
61223
|
-
WebhookClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
61224
|
-
WebhookClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
61225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
65425
|
+
WebhookClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: WebhookClient, deps: [{ token: GRPC_WEBHOOK_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
65426
|
+
WebhookClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: WebhookClient, providedIn: 'any' });
|
|
65427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: WebhookClient, decorators: [{
|
|
61226
65428
|
type: Injectable,
|
|
61227
65429
|
args: [{ providedIn: 'any' }]
|
|
61228
65430
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -61379,9 +65581,9 @@ class OperationsClient {
|
|
|
61379
65581
|
.pipe(throwStatusErrors(), takeMessages());
|
|
61380
65582
|
}
|
|
61381
65583
|
}
|
|
61382
|
-
OperationsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
61383
|
-
OperationsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
61384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
65584
|
+
OperationsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: OperationsClient, deps: [{ token: GRPC_OPERATIONS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
65585
|
+
OperationsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: OperationsClient, providedIn: 'any' });
|
|
65586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: OperationsClient, decorators: [{
|
|
61385
65587
|
type: Injectable,
|
|
61386
65588
|
args: [{ providedIn: 'any' }]
|
|
61387
65589
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -61598,9 +65800,9 @@ class ContextsClient {
|
|
|
61598
65800
|
.pipe(throwStatusErrors(), takeMessages());
|
|
61599
65801
|
}
|
|
61600
65802
|
}
|
|
61601
|
-
ContextsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
61602
|
-
ContextsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
61603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
65803
|
+
ContextsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ContextsClient, deps: [{ token: GRPC_CONTEXTS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
65804
|
+
ContextsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ContextsClient, providedIn: 'any' });
|
|
65805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ContextsClient, decorators: [{
|
|
61604
65806
|
type: Injectable,
|
|
61605
65807
|
args: [{ providedIn: 'any' }]
|
|
61606
65808
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -61720,9 +65922,9 @@ class ServerStatisticsClient {
|
|
|
61720
65922
|
.pipe(throwStatusErrors(), takeMessages());
|
|
61721
65923
|
}
|
|
61722
65924
|
}
|
|
61723
|
-
ServerStatisticsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
61724
|
-
ServerStatisticsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
61725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
65925
|
+
ServerStatisticsClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ServerStatisticsClient, deps: [{ token: GRPC_SERVER_STATISTICS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
65926
|
+
ServerStatisticsClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ServerStatisticsClient, providedIn: 'any' });
|
|
65927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ServerStatisticsClient, decorators: [{
|
|
61726
65928
|
type: Injectable,
|
|
61727
65929
|
args: [{ providedIn: 'any' }]
|
|
61728
65930
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -62112,9 +66314,9 @@ class EntityTypesClient {
|
|
|
62112
66314
|
.pipe(throwStatusErrors(), takeMessages());
|
|
62113
66315
|
}
|
|
62114
66316
|
}
|
|
62115
|
-
EntityTypesClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
62116
|
-
EntityTypesClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
62117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
66317
|
+
EntityTypesClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: EntityTypesClient, deps: [{ token: GRPC_ENTITY_TYPES_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
66318
|
+
EntityTypesClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: EntityTypesClient, providedIn: 'any' });
|
|
66319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: EntityTypesClient, decorators: [{
|
|
62118
66320
|
type: Injectable,
|
|
62119
66321
|
args: [{ providedIn: 'any' }]
|
|
62120
66322
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -62131,5 +66333,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
62131
66333
|
* Generated bundle index. Do not edit.
|
|
62132
66334
|
*/
|
|
62133
66335
|
|
|
62134
|
-
export { AddDataToUserLanguageModelRequest, AddSessionLabelsRequest, AddTrainingPhrasesFromCSVRequest, AddTrainingPhrasesRequest, AddTrainingPhrasesResponse, AddUserToProjectRequest, Agent, AgentOfUserWithOwner, AgentSorting, AgentStatus, AgentView, AgentWithOwner, AgentsClient, AiServicesClient, AltSentence, AltTrainingPhrase, Apodization, AudioEncoding, AudioFormat, BatchCreateEntitiesRequest, BatchCreateParametersRequest, BatchCreateResponseMessagesRequest, BatchCreateTrainingPhrasesRequest, BatchDeleteEntitiesRequest, BatchDeleteEntitiesResponse, BatchDeleteEntityTypesRequest, BatchDeleteIntentsRequest, BatchDeleteParametersRequest, BatchDeleteParametersResponse, BatchDeleteResponseMessagesRequest, BatchDeleteResponseMessagesResponse, BatchDeleteTrainingPhrasesRequest, BatchDeleteTrainingPhrasesResponse, BatchEntitiesResponse, BatchGetEntitiesRequest, BatchGetParametersRequest, BatchGetResponseMessagesRequest, BatchGetTrainingPhrasesRequest, BatchParametersStatusResponse, BatchResponseMessagesStatusResponse, BatchSynthesizeRequest, BatchSynthesizeResponse, BatchTrainingPhrasesStatusResponse, BatchUpdateEntitiesRequest, BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, BatchUpdateIntentsRequest, BatchUpdateIntentsResponse, BatchUpdateParametersRequest, BatchUpdateResponseMessagesRequest, BatchUpdateTrainingPhrasesRequest, BertAugEnrichmentConfig, BuildCacheRequest, CTCDecoding, Caching, CancelOperationRequest, CheckUpstreamHealthResponse, CkptFile, ClassifyIntentsRequest, ClassifyIntentsResponse, CleanAllEntityTypesRequest, CleanAllEntityTypesResponse, CleanAllIntentsRequest, CleanAllIntentsResponse, CleanEntityTypeRequest, CleanEntityTypeResponse, CleanIntentRequest, CleanIntentResponse, CompositeInference, Condition, ConditionType, CondtionValueUnion, Context, ContextsClient, ControlMessage, ControlMessageServiceMethod, ControlMessageServiceName, ControlMessageServiceParameters, ControlStatus, ControlStreamRequest, ControlStreamResponse, ConversationsClient, CreateAgentRequest, CreateContextRequest, CreateCustomPhonemizerRequest, CreateEntityTypeRequest, CreateIntentRequest, CreateProjectRoleRequest, CreateServerRoleRequest, CreateSessionRequest, CreateSessionReviewRequest, CreateUserLanguageModelRequest, CreateUserRequest, CtcAcousticModels, CustomHttpPattern, CustomPhonemizerProto, CustomPhonemizersClient, CustomPlatformInfo, DataEnrichmentConfig, DefaultProjectRole, DefaultServerRole, DeleteAgentRequest, DeleteAllContextsRequest, DeleteContextRequest, DeleteEntityTypeRequest, DeleteIntentRequest, DeleteOperationRequest, DeleteProjectRoleRequest, DeleteResourcesRequest, DeleteServerRoleRequest, DeleteSessionRequest, DeleteUserLanguageModelRequest, DeleteUserRequest, DetectIntentRequest, DetectIntentResponse, DetectedIntent, EntityDetected, EntityEnrichmentConfig, EntityType, EntityTypeBatch, EntityTypeCategory, EntityTypeFuzzyNerConfig, EntityTypeSorting, EntityTypeUpdate, EntityTypeView, EntityTypesClient, EntityValueSorting, EventInput, ExportAgentRequest, ExportAgentResponse, ExportBenchmarkAgentRequest, ExportBenchmarkAgentResponse, ExportResourcesRequest, ExportResourcesResponse, ExtractEntitiesFuzzyRequest, ExtractEntitiesRequest, ExtractEntitiesResponse, GPT2EnrichmentConfig, GRPC_AGENTS_CLIENT_SETTINGS, GRPC_AI_SERVICES_CLIENT_SETTINGS, GRPC_CONTEXTS_CLIENT_SETTINGS, GRPC_CONVERSATIONS_CLIENT_SETTINGS, GRPC_CUSTOM_PHONEMIZERS_CLIENT_SETTINGS, GRPC_ENTITY_TYPES_CLIENT_SETTINGS, GRPC_INTENTS_CLIENT_SETTINGS, GRPC_OPERATIONS_CLIENT_SETTINGS, GRPC_PROJECT_ROLES_CLIENT_SETTINGS, GRPC_PROJECT_STATISTICS_CLIENT_SETTINGS, GRPC_SERVER_STATISTICS_CLIENT_SETTINGS, GRPC_SESSIONS_CLIENT_SETTINGS, GRPC_SPEECH2_TEXT_CLIENT_SETTINGS, GRPC_TEXT2_SPEECH_CLIENT_SETTINGS, GRPC_USERS_CLIENT_SETTINGS, GRPC_UTILITIES_CLIENT_SETTINGS, GRPC_WEBHOOK_CLIENT_SETTINGS, GenerateResponsesRequest, GenerateResponsesResponse, GenerateUserSaysRequest, GenerateUserSaysResponse, GetAgentRequest, GetAgentStatisticsRequest, GetAgentStatisticsResponse, GetAllIntentTagsRequest, GetAlternativeSentencesRequest, GetAlternativeSentencesResponse, GetAlternativeTrainingPhrasesRequest, GetAlternativeTrainingPhrasesResponse, GetContextRequest, GetEntityTypeCountRequest, GetEntityTypeRequest, GetIntentCountRequest, GetIntentRequest, GetIntentTagsRequest, GetIntentTagsResponse, GetLatestSessionReviewRequest, GetModelStatusesRequest, GetModelStatusesResponse, GetOperationRequest, GetPlatformInfoResponse, GetPlatformMappingRequest, GetProjectElementStatRequest, GetProjectRoleRequest, GetProjectStatRequest, GetServerRoleRequest, GetSessionRequest, GetSessionReviewRequest, GetSynonymsRequest, GetSynonymsResponse, GetUserProjectCountRequest, GetUserRequest, GloVeEnrichmentConfig, GlowTTS, GlowTTSTriton, HiFiGan, HiFiGanTriton, Http, HttpRule, ImportAgentRequest, InitiationProtocol, InputAudioConfig, Intent, IntentAlgorithms, IntentBatch, IntentCategory, IntentClassified, IntentSorting, IntentTagRequest, IntentUpdate, IntentView, IntentsClient, LanguageModelPipelineId, LanguageModels, LatLng, ListAgentsOfUserResponse, ListAgentsRequest, ListAgentsResponse, ListContextsRequest, ListContextsResponse, ListCustomPhonemizerRequest, ListCustomPhonemizerResponse, ListEntitiesRequest, ListEntitiesResponse, ListEntityTypesRequest, ListEntityTypesResponse, ListIntentsRequest, ListIntentsResponse, ListOperationsRequest, ListOperationsResponse, ListParametersRequest, ListParametersResponse, ListProjectPermissionsRequest, ListProjectPermissionsResponse, ListProjectRolesRequest, ListProjectRolesResponse, ListResponseMessagesRequest, ListResponseMessagesResponse, ListS2sPipelinesRequest, ListS2sPipelinesResponse, ListS2tDomainsRequest, ListS2tDomainsResponse, ListS2tLanguageModelsRequest, ListS2tLanguageModelsResponse, ListS2tLanguagesRequest, ListS2tLanguagesResponse, ListS2tPipelinesRequest, ListS2tPipelinesResponse, ListServerPermissionsRequest, ListServerPermissionsResponse, ListServerRolesRequest, ListServerRolesResponse, ListSessionLabelsRequest, ListSessionLabelsResponse, ListSessionReviewsRequest, ListSessionReviewsResponse, ListSessionsRequest, ListSessionsResponse, ListT2sDomainsRequest, ListT2sDomainsResponse, ListT2sLanguagesRequest, ListT2sLanguagesResponse, ListT2sPipelinesRequest, ListT2sPipelinesResponse, ListTrainingPhrasesRequest, ListTrainingPhrasesResponse, ListTrainingPhrasesofIntentsWithEnrichmentRequest, ListTrainingPhrasesofIntentsWithEnrichmentResponse, ListUserInfosResponse, ListUsersInProjectRequest, ListUsersInProjectResponse, ListUsersRequest, ListUsersResponse, Logging, LoginRequest, LoginResponse, Logmnse, Map, Matchbox, MbMelganTriton, Mel2Audio, Mode, ModelStatus, NormalizeTextRequest, NormalizeTextResponse, Operation, OperationFilter, OperationMetadata, OperationsClient, OptimizeRankingMatchRequest, OptimizeRankingMatchResponse, OriginalDetectIntentRequest, Pcm, PhonemizerId, PingRequest, PingResponse, PlatformMapping, PostProcessing, PostProcessingOptions, PostProcessors, Postprocessing, ProjectRole, ProjectRoleView, ProjectRolesClient, ProjectStatisticsClient, PtFiles, Pyannote, Quartznet, QuartznetTriton, QueryInput, QueryParameters, QueryResult, RankingMatchOptimizationConfig, ReannotateEntitiesOptions, RemoveSessionLabelsRequest, RemoveUserFromProjectRequest, ReportFormat, ReportType, RequestConfig, RestoreAgentRequest, S2TDescription, S2TGetServiceInfoResponse, S2TInference, S2TNormalization, S2sPipeline, S2sPipelineId, S2sStreamRequest, S2sStreamResponse, S2tPipelineId, ServerRole, ServerStatisticsClient, Session, SessionFilter, SessionInfo, SessionReview, SessionReviewStep, SessionStep, SessionsClient, SetAgentStatusRequest, SetControlStatusRequest, SetControlStatusResponse, SetResourcesRequest, SipTrigger, SortingMode, Speech2TextClient, Speech2TextConfig, StatResponse, Status, StreamingDetectIntentRequest, StreamingDetectIntentResponse, StreamingRecognitionResult, StreamingServer, StreamingSpeechRecognition, StringUpdate, SymSpell, Synonym, SynthesizeRequest, SynthesizeResponse, T2SCustomLengthScales, T2SDescription, T2SGetServiceInfoResponse, T2SInference, T2SNormalization, T2sPipelineId, Text2Mel, Text2SpeechClient, Text2SpeechConfig, TextInput, ThesaurusEnrichmentConfig, TrackSessionStepRequest, TrainAgentRequest, TrainUserLanguageModelRequest, TrainingPhraseCleanerOptions, TrainingPhraseStatus, TranscribeFileRequest, TranscribeFileResponse, TranscribeRequestConfig, TranscribeStreamRequest, TranscribeStreamResponse, Transcription, TranscriptionReturnOptions, UpdateAgentRequest, UpdateContextRequest, UpdateCustomPhonemizerRequest, UpdateEntityTypeRequest, UpdateIntentRequest, UpdateProjectRoleRequest, UpdateServerRoleRequest, UpdateUserRequest, User, UserInProject, UserInfo, UsersClient, UtilitiesClient, UtteranceDetectionOptions, ValidateEmbeddedRegexRequest, ValidateEmbeddedRegexResponse, ValidateRegexRequest, ValidateRegexResponse, VoiceActivityDetection, Wav2Vec, Wav2VecTriton, WebhookClient, WebhookRequest, WebhookResponse, Wiener, Word2VecEnrichmentConfig, WordNetAugEnrichmentConfig, WordTiming, XLNetAugEnrichmentConfig };
|
|
66336
|
+
export { AddDataToUserLanguageModelRequest, AddSessionLabelsRequest, AddTrainingPhrasesFromCSVRequest, AddTrainingPhrasesRequest, AddTrainingPhrasesResponse, AddUserToProjectRequest, Agent, AgentOfUserWithOwner, AgentSorting, AgentStatus, AgentView, AgentWithOwner, AgentsClient, AiServicesClient, AltSentence, AltTrainingPhrase, Apodization, AudioEncoding, AudioFormat, BatchCreateEntitiesRequest, BatchCreateParametersRequest, BatchCreateResponseMessagesRequest, BatchCreateTrainingPhrasesRequest, BatchDeleteEntitiesRequest, BatchDeleteEntitiesResponse, BatchDeleteEntityTypesRequest, BatchDeleteIntentsRequest, BatchDeleteParametersRequest, BatchDeleteParametersResponse, BatchDeleteResponseMessagesRequest, BatchDeleteResponseMessagesResponse, BatchDeleteTrainingPhrasesRequest, BatchDeleteTrainingPhrasesResponse, BatchEntitiesResponse, BatchGetEntitiesRequest, BatchGetParametersRequest, BatchGetResponseMessagesRequest, BatchGetTrainingPhrasesRequest, BatchParametersStatusResponse, BatchResponseMessagesStatusResponse, BatchSynthesizeRequest, BatchSynthesizeResponse, BatchTrainingPhrasesStatusResponse, BatchUpdateEntitiesRequest, BatchUpdateEntityTypesRequest, BatchUpdateEntityTypesResponse, BatchUpdateIntentsRequest, BatchUpdateIntentsResponse, BatchUpdateParametersRequest, BatchUpdateResponseMessagesRequest, BatchUpdateTrainingPhrasesRequest, BertAugEnrichmentConfig, BuildCacheRequest, CTCDecoding, Caching, CancelOperationRequest, CheckUpstreamHealthResponse, CkptFile, ClassifyIntentsRequest, ClassifyIntentsResponse, CleanAllEntityTypesRequest, CleanAllEntityTypesResponse, CleanAllIntentsRequest, CleanAllIntentsResponse, CleanEntityTypeRequest, CleanEntityTypeResponse, CleanIntentRequest, CleanIntentResponse, CompositeInference, Condition, ConditionType, CondtionValueUnion, Context, ContextsClient, ControlMessage, ControlMessageServiceMethod, ControlMessageServiceName, ControlMessageServiceParameters, ControlStatus, ControlStreamRequest, ControlStreamResponse, ConversationsClient, CreateAgentRequest, CreateContextRequest, CreateCustomPhonemizerRequest, CreateEntityTypeRequest, CreateIntentRequest, CreateProjectRoleRequest, CreateServerRoleRequest, CreateSessionRequest, CreateSessionReviewRequest, CreateUserLanguageModelRequest, CreateUserRequest, CtcAcousticModels, CustomHttpPattern, CustomPhonemizerProto, CustomPhonemizersClient, CustomPlatformInfo, DataEnrichmentConfig, DefaultProjectRole, DefaultServerRole, DeleteAgentRequest, DeleteAllContextsRequest, DeleteContextRequest, DeleteEntityTypeRequest, DeleteIntentRequest, DeleteOperationRequest, DeleteProjectRoleRequest, DeleteResourcesRequest, DeleteServerRoleRequest, DeleteSessionRequest, DeleteUserLanguageModelRequest, DeleteUserRequest, DetectIntentRequest, DetectIntentResponse, DetectedIntent, EntityDetected, EntityEnrichmentConfig, EntityType, EntityTypeBatch, EntityTypeCategory, EntityTypeFuzzyNerConfig, EntityTypeSorting, EntityTypeUpdate, EntityTypeView, EntityTypesClient, EntityValueSorting, EventInput, ExportAgentRequest, ExportAgentResponse, ExportBenchmarkAgentRequest, ExportBenchmarkAgentResponse, ExportResourcesRequest, ExportResourcesResponse, ExtractEntitiesFuzzyRequest, ExtractEntitiesRequest, ExtractEntitiesResponse, FullTextSearchRequest, FullTextSearchResponseEntity, FullTextSearchResponseEntitySynonym, FullTextSearchResponseEntityType, FullTextSearchResponseIntent, FullTextSearchResponseIntentContextIn, FullTextSearchResponseIntentContextOut, FullTextSearchResponseIntentParameters, FullTextSearchResponseIntentResponse, FullTextSearchResponseIntentTags, FullTextSearchResponseIntentUsersays, GPT2EnrichmentConfig, GRPC_AGENTS_CLIENT_SETTINGS, GRPC_AI_SERVICES_CLIENT_SETTINGS, GRPC_CONTEXTS_CLIENT_SETTINGS, GRPC_CONVERSATIONS_CLIENT_SETTINGS, GRPC_CUSTOM_PHONEMIZERS_CLIENT_SETTINGS, GRPC_ENTITY_TYPES_CLIENT_SETTINGS, GRPC_INTENTS_CLIENT_SETTINGS, GRPC_OPERATIONS_CLIENT_SETTINGS, GRPC_PROJECT_ROLES_CLIENT_SETTINGS, GRPC_PROJECT_STATISTICS_CLIENT_SETTINGS, GRPC_SERVER_STATISTICS_CLIENT_SETTINGS, GRPC_SESSIONS_CLIENT_SETTINGS, GRPC_SPEECH2_TEXT_CLIENT_SETTINGS, GRPC_TEXT2_SPEECH_CLIENT_SETTINGS, GRPC_USERS_CLIENT_SETTINGS, GRPC_UTILITIES_CLIENT_SETTINGS, GRPC_WEBHOOK_CLIENT_SETTINGS, GenerateResponsesRequest, GenerateResponsesResponse, GenerateUserSaysRequest, GenerateUserSaysResponse, GetAgentRequest, GetAgentStatisticsRequest, GetAgentStatisticsResponse, GetAllIntentTagsRequest, GetAlternativeSentencesRequest, GetAlternativeSentencesResponse, GetAlternativeTrainingPhrasesRequest, GetAlternativeTrainingPhrasesResponse, GetContextRequest, GetEntityTypeCountRequest, GetEntityTypeRequest, GetIntentCountRequest, GetIntentRequest, GetIntentTagsRequest, GetIntentTagsResponse, GetLatestSessionReviewRequest, GetModelStatusesRequest, GetModelStatusesResponse, GetOperationRequest, GetPlatformInfoResponse, GetPlatformMappingRequest, GetProjectElementStatRequest, GetProjectRoleRequest, GetProjectStatRequest, GetServerRoleRequest, GetSessionRequest, GetSessionReviewRequest, GetSynonymsRequest, GetSynonymsResponse, GetUserProjectCountRequest, GetUserRequest, GloVeEnrichmentConfig, GlowTTS, GlowTTSTriton, HiFiGan, HiFiGanTriton, Http, HttpRule, ImportAgentRequest, InitiationProtocol, InputAudioConfig, Intent, IntentAlgorithms, IntentBatch, IntentCategory, IntentClassified, IntentSorting, IntentTagRequest, IntentUpdate, IntentView, IntentsClient, LanguageModelPipelineId, LanguageModels, LatLng, ListAgentsOfUserResponse, ListAgentsRequest, ListAgentsResponse, ListContextsRequest, ListContextsResponse, ListCustomPhonemizerRequest, ListCustomPhonemizerResponse, ListEntitiesRequest, ListEntitiesResponse, ListEntityTypesRequest, ListEntityTypesResponse, ListIntentsRequest, ListIntentsResponse, ListOperationsRequest, ListOperationsResponse, ListParametersRequest, ListParametersResponse, ListProjectPermissionsRequest, ListProjectPermissionsResponse, ListProjectRolesRequest, ListProjectRolesResponse, ListResponseMessagesRequest, ListResponseMessagesResponse, ListS2sPipelinesRequest, ListS2sPipelinesResponse, ListS2tDomainsRequest, ListS2tDomainsResponse, ListS2tLanguageModelsRequest, ListS2tLanguageModelsResponse, ListS2tLanguagesRequest, ListS2tLanguagesResponse, ListS2tPipelinesRequest, ListS2tPipelinesResponse, ListServerPermissionsRequest, ListServerPermissionsResponse, ListServerRolesRequest, ListServerRolesResponse, ListSessionLabelsRequest, ListSessionLabelsResponse, ListSessionReviewsRequest, ListSessionReviewsResponse, ListSessionsRequest, ListSessionsResponse, ListT2sDomainsRequest, ListT2sDomainsResponse, ListT2sLanguagesRequest, ListT2sLanguagesResponse, ListT2sPipelinesRequest, ListT2sPipelinesResponse, ListTrainingPhrasesRequest, ListTrainingPhrasesResponse, ListTrainingPhrasesofIntentsWithEnrichmentRequest, ListTrainingPhrasesofIntentsWithEnrichmentResponse, ListUserInfosResponse, ListUsersInProjectRequest, ListUsersInProjectResponse, ListUsersRequest, ListUsersResponse, Logging, LoginRequest, LoginResponse, Logmnse, Map, Matchbox, MbMelganTriton, Mel2Audio, Mode, ModelStatus, NormalizeTextRequest, NormalizeTextResponse, Operation, OperationFilter, OperationMetadata, OperationsClient, OptimizeRankingMatchRequest, OptimizeRankingMatchResponse, OriginalDetectIntentRequest, Pcm, PhonemizerId, PingRequest, PingResponse, PlatformMapping, PostProcessing, PostProcessingOptions, PostProcessors, Postprocessing, ProjectRole, ProjectRoleView, ProjectRolesClient, ProjectStatisticsClient, PtFiles, Pyannote, Quartznet, QuartznetTriton, QueryInput, QueryParameters, QueryResult, RankingMatchOptimizationConfig, ReannotateEntitiesOptions, ReindexAgentRequest, RemoveSessionLabelsRequest, RemoveUserFromProjectRequest, ReportFormat, ReportType, RequestConfig, RestoreAgentRequest, S2TDescription, S2TGetServiceInfoResponse, S2TInference, S2TNormalization, S2sPipeline, S2sPipelineId, S2sStreamRequest, S2sStreamResponse, S2tPipelineId, ServerRole, ServerStatisticsClient, Session, SessionFilter, SessionInfo, SessionReview, SessionReviewStep, SessionStep, SessionsClient, SetAgentStatusRequest, SetControlStatusRequest, SetControlStatusResponse, SetResourcesRequest, SipTrigger, SortingMode, Speech2TextClient, Speech2TextConfig, StatResponse, Status, StreamingDetectIntentRequest, StreamingDetectIntentResponse, StreamingRecognitionResult, StreamingServer, StreamingSpeechRecognition, StringUpdate, SymSpell, Synonym, SynthesizeRequest, SynthesizeResponse, T2SCustomLengthScales, T2SDescription, T2SGetServiceInfoResponse, T2SInference, T2SNormalization, T2sPipelineId, Text2Mel, Text2SpeechClient, Text2SpeechConfig, TextInput, ThesaurusEnrichmentConfig, TrackSessionStepRequest, TrainAgentRequest, TrainUserLanguageModelRequest, TrainingPhraseCleanerOptions, TrainingPhraseStatus, TranscribeFileRequest, TranscribeFileResponse, TranscribeRequestConfig, TranscribeStreamRequest, TranscribeStreamResponse, Transcription, TranscriptionReturnOptions, UpdateAgentRequest, UpdateContextRequest, UpdateCustomPhonemizerRequest, UpdateEntityTypeRequest, UpdateIntentRequest, UpdateProjectRoleRequest, UpdateServerRoleRequest, UpdateUserRequest, User, UserInProject, UserInfo, UsersClient, UtilitiesClient, UtteranceDetectionOptions, ValidateEmbeddedRegexRequest, ValidateEmbeddedRegexResponse, ValidateRegexRequest, ValidateRegexResponse, VoiceActivityDetection, Wav2Vec, Wav2VecTriton, WebhookClient, WebhookRequest, WebhookResponse, Wiener, Word2VecEnrichmentConfig, WordNetAugEnrichmentConfig, WordTiming, XLNetAugEnrichmentConfig };
|
|
62135
66337
|
//# sourceMappingURL=ondewo-csi-client-angular.mjs.map
|