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