@ondewo/nlu-client-typescript 6.0.0 → 6.2.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/google/protobuf/any_pb.js +2 -2
- package/api/google/protobuf/field_mask_pb.js +1 -1
- package/api/google/protobuf/struct_pb.js +8 -8
- package/api/google/protobuf/timestamp_pb.js +2 -2
- package/api/google/rpc/status_pb.js +3 -3
- package/api/google/type/latlng_pb.js +2 -2
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +61 -0
- package/api/ondewo/nlu/agent_pb.d.ts +59 -0
- package/api/ondewo/nlu/agent_pb.js +702 -322
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +111 -0
- package/api/ondewo/nlu/aiservices_pb.js +637 -125
- package/api/ondewo/nlu/ccai_project_pb.d.ts +56 -0
- package/api/ondewo/nlu/ccai_project_pb.js +292 -71
- package/api/ondewo/nlu/common_pb.js +53 -53
- package/api/ondewo/nlu/context_pb.js +27 -27
- package/api/ondewo/nlu/entity_type_pb.js +81 -81
- package/api/ondewo/nlu/intent_pb.js +244 -244
- package/api/ondewo/nlu/operation_metadata_pb.js +22 -22
- package/api/ondewo/nlu/operations_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/operations_pb.d.ts +23 -0
- package/api/ondewo/nlu/operations_pb.js +125 -21
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -0
- package/api/ondewo/nlu/project_role_pb.js +127 -25
- package/api/ondewo/nlu/project_statistics_pb.js +7 -7
- package/api/ondewo/nlu/server_statistics_pb.js +1 -1
- package/api/ondewo/nlu/session_pb.d.ts +198 -0
- package/api/ondewo/nlu/session_pb.js +1312 -394
- package/api/ondewo/nlu/user_pb.d.ts +83 -0
- package/api/ondewo/nlu/user_pb.js +479 -71
- package/api/ondewo/nlu/utility_pb.js +79 -79
- package/api/ondewo/nlu/webhook_pb.js +31 -31
- package/api/ondewo/qa/qa_pb.js +24 -24
- package/package.json +3 -3
|
@@ -86,28 +86,28 @@ proto.ondewo.nlu.OperationMetadata.prototype.toObject = function(opt_includeInst
|
|
|
86
86
|
*/
|
|
87
87
|
proto.ondewo.nlu.OperationMetadata.toObject = function(includeInstance, msg) {
|
|
88
88
|
var f, obj = {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
89
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
90
|
+
parentOperationName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
91
|
+
subOperationNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
92
|
+
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
93
|
+
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
94
|
+
endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
95
|
+
isCancellationRequested: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
96
|
+
cancelCommand: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
97
|
+
userIdCreated: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
98
|
+
userIdCancelled: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
99
|
+
projectParent: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
100
|
+
operationType: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
101
|
+
hostName: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
102
|
+
numReruns: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
103
|
+
maxNumReruns: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
104
|
+
description: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
105
|
+
logList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
|
|
106
|
+
logLimit: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
107
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
108
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
109
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
110
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
if (includeInstance) {
|
|
@@ -26,6 +26,8 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'
|
|
|
26
26
|
|
|
27
27
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
28
28
|
|
|
29
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
30
|
+
|
|
29
31
|
var google_rpc_status_pb = require('../../google/rpc/status_pb.js')
|
|
30
32
|
|
|
31
33
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
@@ -3,6 +3,7 @@ import * as jspb from 'google-protobuf'
|
|
|
3
3
|
import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
4
|
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb'; // proto import: "google/protobuf/any.proto"
|
|
5
5
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
6
|
+
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
|
|
6
7
|
import * as google_rpc_status_pb from '../../google/rpc/status_pb'; // proto import: "google/rpc/status.proto"
|
|
7
8
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
8
9
|
import * as ondewo_nlu_operation_metadata_pb from '../../ondewo/nlu/operation_metadata_pb'; // proto import: "ondewo/nlu/operation_metadata.proto"
|
|
@@ -60,6 +61,11 @@ export class GetOperationRequest extends jspb.Message {
|
|
|
60
61
|
getName(): string;
|
|
61
62
|
setName(value: string): GetOperationRequest;
|
|
62
63
|
|
|
64
|
+
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
65
|
+
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): GetOperationRequest;
|
|
66
|
+
hasFieldMask(): boolean;
|
|
67
|
+
clearFieldMask(): GetOperationRequest;
|
|
68
|
+
|
|
63
69
|
serializeBinary(): Uint8Array;
|
|
64
70
|
toObject(includeInstance?: boolean): GetOperationRequest.AsObject;
|
|
65
71
|
static toObject(includeInstance: boolean, msg: GetOperationRequest): GetOperationRequest.AsObject;
|
|
@@ -71,6 +77,12 @@ export class GetOperationRequest extends jspb.Message {
|
|
|
71
77
|
export namespace GetOperationRequest {
|
|
72
78
|
export type AsObject = {
|
|
73
79
|
name: string,
|
|
80
|
+
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export enum FieldMaskCase {
|
|
84
|
+
_FIELD_MASK_NOT_SET = 0,
|
|
85
|
+
FIELD_MASK = 2,
|
|
74
86
|
}
|
|
75
87
|
}
|
|
76
88
|
|
|
@@ -92,6 +104,11 @@ export class ListOperationsRequest extends jspb.Message {
|
|
|
92
104
|
hasOperationFilter(): boolean;
|
|
93
105
|
clearOperationFilter(): ListOperationsRequest;
|
|
94
106
|
|
|
107
|
+
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
108
|
+
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): ListOperationsRequest;
|
|
109
|
+
hasFieldMask(): boolean;
|
|
110
|
+
clearFieldMask(): ListOperationsRequest;
|
|
111
|
+
|
|
95
112
|
serializeBinary(): Uint8Array;
|
|
96
113
|
toObject(includeInstance?: boolean): ListOperationsRequest.AsObject;
|
|
97
114
|
static toObject(includeInstance: boolean, msg: ListOperationsRequest): ListOperationsRequest.AsObject;
|
|
@@ -107,6 +124,12 @@ export namespace ListOperationsRequest {
|
|
|
107
124
|
pageSize: number,
|
|
108
125
|
pageToken: string,
|
|
109
126
|
operationFilter?: OperationFilter.AsObject,
|
|
127
|
+
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export enum FieldMaskCase {
|
|
131
|
+
_FIELD_MASK_NOT_SET = 0,
|
|
132
|
+
FIELD_MASK = 6,
|
|
110
133
|
}
|
|
111
134
|
}
|
|
112
135
|
|
|
@@ -27,6 +27,8 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'
|
|
|
27
27
|
goog.object.extend(proto, google_protobuf_any_pb);
|
|
28
28
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
29
29
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
30
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
31
|
+
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
30
32
|
var google_rpc_status_pb = require('../../google/rpc/status_pb.js');
|
|
31
33
|
goog.object.extend(proto, google_rpc_status_pb);
|
|
32
34
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
@@ -248,11 +250,11 @@ proto.ondewo.nlu.Operation.prototype.toObject = function(opt_includeInstance) {
|
|
|
248
250
|
*/
|
|
249
251
|
proto.ondewo.nlu.Operation.toObject = function(includeInstance, msg) {
|
|
250
252
|
var f, obj = {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
253
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
254
|
+
metadata: (f = msg.getMetadata()) && ondewo_nlu_operation_metadata_pb.OperationMetadata.toObject(includeInstance, f),
|
|
255
|
+
done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
256
|
+
error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
|
|
257
|
+
response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
256
258
|
};
|
|
257
259
|
|
|
258
260
|
if (includeInstance) {
|
|
@@ -561,7 +563,8 @@ proto.ondewo.nlu.GetOperationRequest.prototype.toObject = function(opt_includeIn
|
|
|
561
563
|
*/
|
|
562
564
|
proto.ondewo.nlu.GetOperationRequest.toObject = function(includeInstance, msg) {
|
|
563
565
|
var f, obj = {
|
|
564
|
-
|
|
566
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
567
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
565
568
|
};
|
|
566
569
|
|
|
567
570
|
if (includeInstance) {
|
|
@@ -602,6 +605,11 @@ proto.ondewo.nlu.GetOperationRequest.deserializeBinaryFromReader = function(msg,
|
|
|
602
605
|
var value = /** @type {string} */ (reader.readString());
|
|
603
606
|
msg.setName(value);
|
|
604
607
|
break;
|
|
608
|
+
case 2:
|
|
609
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
610
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
611
|
+
msg.setFieldMask(value);
|
|
612
|
+
break;
|
|
605
613
|
default:
|
|
606
614
|
reader.skipField();
|
|
607
615
|
break;
|
|
@@ -638,6 +646,14 @@ proto.ondewo.nlu.GetOperationRequest.serializeBinaryToWriter = function(message,
|
|
|
638
646
|
f
|
|
639
647
|
);
|
|
640
648
|
}
|
|
649
|
+
f = message.getFieldMask();
|
|
650
|
+
if (f != null) {
|
|
651
|
+
writer.writeMessage(
|
|
652
|
+
2,
|
|
653
|
+
f,
|
|
654
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
655
|
+
);
|
|
656
|
+
}
|
|
641
657
|
};
|
|
642
658
|
|
|
643
659
|
|
|
@@ -659,6 +675,43 @@ proto.ondewo.nlu.GetOperationRequest.prototype.setName = function(value) {
|
|
|
659
675
|
};
|
|
660
676
|
|
|
661
677
|
|
|
678
|
+
/**
|
|
679
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
680
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
681
|
+
*/
|
|
682
|
+
proto.ondewo.nlu.GetOperationRequest.prototype.getFieldMask = function() {
|
|
683
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
684
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
690
|
+
* @return {!proto.ondewo.nlu.GetOperationRequest} returns this
|
|
691
|
+
*/
|
|
692
|
+
proto.ondewo.nlu.GetOperationRequest.prototype.setFieldMask = function(value) {
|
|
693
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Clears the message field making it undefined.
|
|
699
|
+
* @return {!proto.ondewo.nlu.GetOperationRequest} returns this
|
|
700
|
+
*/
|
|
701
|
+
proto.ondewo.nlu.GetOperationRequest.prototype.clearFieldMask = function() {
|
|
702
|
+
return this.setFieldMask(undefined);
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* Returns whether this field is set.
|
|
708
|
+
* @return {boolean}
|
|
709
|
+
*/
|
|
710
|
+
proto.ondewo.nlu.GetOperationRequest.prototype.hasFieldMask = function() {
|
|
711
|
+
return jspb.Message.getField(this, 2) != null;
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
|
|
662
715
|
|
|
663
716
|
|
|
664
717
|
|
|
@@ -691,11 +744,12 @@ proto.ondewo.nlu.ListOperationsRequest.prototype.toObject = function(opt_include
|
|
|
691
744
|
*/
|
|
692
745
|
proto.ondewo.nlu.ListOperationsRequest.toObject = function(includeInstance, msg) {
|
|
693
746
|
var f, obj = {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
747
|
+
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
748
|
+
filter: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
749
|
+
pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
750
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
751
|
+
operationFilter: (f = msg.getOperationFilter()) && proto.ondewo.nlu.OperationFilter.toObject(includeInstance, f),
|
|
752
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
699
753
|
};
|
|
700
754
|
|
|
701
755
|
if (includeInstance) {
|
|
@@ -753,6 +807,11 @@ proto.ondewo.nlu.ListOperationsRequest.deserializeBinaryFromReader = function(ms
|
|
|
753
807
|
reader.readMessage(value,proto.ondewo.nlu.OperationFilter.deserializeBinaryFromReader);
|
|
754
808
|
msg.setOperationFilter(value);
|
|
755
809
|
break;
|
|
810
|
+
case 6:
|
|
811
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
812
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
813
|
+
msg.setFieldMask(value);
|
|
814
|
+
break;
|
|
756
815
|
default:
|
|
757
816
|
reader.skipField();
|
|
758
817
|
break;
|
|
@@ -818,6 +877,14 @@ proto.ondewo.nlu.ListOperationsRequest.serializeBinaryToWriter = function(messag
|
|
|
818
877
|
proto.ondewo.nlu.OperationFilter.serializeBinaryToWriter
|
|
819
878
|
);
|
|
820
879
|
}
|
|
880
|
+
f = message.getFieldMask();
|
|
881
|
+
if (f != null) {
|
|
882
|
+
writer.writeMessage(
|
|
883
|
+
6,
|
|
884
|
+
f,
|
|
885
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
886
|
+
);
|
|
887
|
+
}
|
|
821
888
|
};
|
|
822
889
|
|
|
823
890
|
|
|
@@ -930,6 +997,43 @@ proto.ondewo.nlu.ListOperationsRequest.prototype.hasOperationFilter = function()
|
|
|
930
997
|
};
|
|
931
998
|
|
|
932
999
|
|
|
1000
|
+
/**
|
|
1001
|
+
* optional google.protobuf.FieldMask field_mask = 6;
|
|
1002
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
1003
|
+
*/
|
|
1004
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.getFieldMask = function() {
|
|
1005
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1006
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 6));
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1012
|
+
* @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
|
|
1013
|
+
*/
|
|
1014
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.setFieldMask = function(value) {
|
|
1015
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Clears the message field making it undefined.
|
|
1021
|
+
* @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
|
|
1022
|
+
*/
|
|
1023
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.clearFieldMask = function() {
|
|
1024
|
+
return this.setFieldMask(undefined);
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* Returns whether this field is set.
|
|
1030
|
+
* @return {boolean}
|
|
1031
|
+
*/
|
|
1032
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.hasFieldMask = function() {
|
|
1033
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
|
|
933
1037
|
|
|
934
1038
|
/**
|
|
935
1039
|
* List of repeated fields within this message type.
|
|
@@ -1009,12 +1113,12 @@ proto.ondewo.nlu.OperationFilter.prototype.toObject = function(opt_includeInstan
|
|
|
1009
1113
|
*/
|
|
1010
1114
|
proto.ondewo.nlu.OperationFilter.toObject = function(includeInstance, msg) {
|
|
1011
1115
|
var f, obj = {
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1116
|
+
projectParentsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1117
|
+
statusesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
1118
|
+
typesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1119
|
+
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1120
|
+
endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1121
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
1018
1122
|
};
|
|
1019
1123
|
|
|
1020
1124
|
if (includeInstance) {
|
|
@@ -1418,9 +1522,9 @@ proto.ondewo.nlu.ListOperationsResponse.prototype.toObject = function(opt_includ
|
|
|
1418
1522
|
*/
|
|
1419
1523
|
proto.ondewo.nlu.ListOperationsResponse.toObject = function(includeInstance, msg) {
|
|
1420
1524
|
var f, obj = {
|
|
1421
|
-
|
|
1525
|
+
operationsList: jspb.Message.toObjectList(msg.getOperationsList(),
|
|
1422
1526
|
proto.ondewo.nlu.Operation.toObject, includeInstance),
|
|
1423
|
-
|
|
1527
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1424
1528
|
};
|
|
1425
1529
|
|
|
1426
1530
|
if (includeInstance) {
|
|
@@ -1601,7 +1705,7 @@ proto.ondewo.nlu.CancelOperationRequest.prototype.toObject = function(opt_includ
|
|
|
1601
1705
|
*/
|
|
1602
1706
|
proto.ondewo.nlu.CancelOperationRequest.toObject = function(includeInstance, msg) {
|
|
1603
1707
|
var f, obj = {
|
|
1604
|
-
|
|
1708
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1605
1709
|
};
|
|
1606
1710
|
|
|
1607
1711
|
if (includeInstance) {
|
|
@@ -1731,7 +1835,7 @@ proto.ondewo.nlu.DeleteOperationRequest.prototype.toObject = function(opt_includ
|
|
|
1731
1835
|
*/
|
|
1732
1836
|
proto.ondewo.nlu.DeleteOperationRequest.toObject = function(includeInstance, msg) {
|
|
1733
1837
|
var f, obj = {
|
|
1734
|
-
|
|
1838
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1735
1839
|
};
|
|
1736
1840
|
|
|
1737
1841
|
if (includeInstance) {
|
|
@@ -129,6 +129,11 @@ export class GetProjectRoleRequest extends jspb.Message {
|
|
|
129
129
|
getProjectRoleView(): ProjectRoleView;
|
|
130
130
|
setProjectRoleView(value: ProjectRoleView): GetProjectRoleRequest;
|
|
131
131
|
|
|
132
|
+
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
133
|
+
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): GetProjectRoleRequest;
|
|
134
|
+
hasFieldMask(): boolean;
|
|
135
|
+
clearFieldMask(): GetProjectRoleRequest;
|
|
136
|
+
|
|
132
137
|
getProjectRoleIdentifierCase(): GetProjectRoleRequest.ProjectRoleIdentifierCase;
|
|
133
138
|
|
|
134
139
|
serializeBinary(): Uint8Array;
|
|
@@ -145,6 +150,7 @@ export namespace GetProjectRoleRequest {
|
|
|
145
150
|
roleId: number,
|
|
146
151
|
roleName: string,
|
|
147
152
|
projectRoleView: ProjectRoleView,
|
|
153
|
+
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
148
154
|
}
|
|
149
155
|
|
|
150
156
|
export enum ProjectRoleIdentifierCase {
|
|
@@ -152,6 +158,11 @@ export namespace GetProjectRoleRequest {
|
|
|
152
158
|
ROLE_ID = 2,
|
|
153
159
|
ROLE_NAME = 3,
|
|
154
160
|
}
|
|
161
|
+
|
|
162
|
+
export enum FieldMaskCase {
|
|
163
|
+
_FIELD_MASK_NOT_SET = 0,
|
|
164
|
+
FIELD_MASK = 5,
|
|
165
|
+
}
|
|
155
166
|
}
|
|
156
167
|
|
|
157
168
|
export class DeleteProjectRoleRequest extends jspb.Message {
|
|
@@ -186,6 +197,11 @@ export class ListProjectRolesRequest extends jspb.Message {
|
|
|
186
197
|
getProjectRoleView(): ProjectRoleView;
|
|
187
198
|
setProjectRoleView(value: ProjectRoleView): ListProjectRolesRequest;
|
|
188
199
|
|
|
200
|
+
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
201
|
+
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): ListProjectRolesRequest;
|
|
202
|
+
hasFieldMask(): boolean;
|
|
203
|
+
clearFieldMask(): ListProjectRolesRequest;
|
|
204
|
+
|
|
189
205
|
serializeBinary(): Uint8Array;
|
|
190
206
|
toObject(includeInstance?: boolean): ListProjectRolesRequest.AsObject;
|
|
191
207
|
static toObject(includeInstance: boolean, msg: ListProjectRolesRequest): ListProjectRolesRequest.AsObject;
|
|
@@ -199,6 +215,12 @@ export namespace ListProjectRolesRequest {
|
|
|
199
215
|
parent: string,
|
|
200
216
|
pageToken: string,
|
|
201
217
|
projectRoleView: ProjectRoleView,
|
|
218
|
+
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export enum FieldMaskCase {
|
|
222
|
+
_FIELD_MASK_NOT_SET = 0,
|
|
223
|
+
FIELD_MASK = 4,
|
|
202
224
|
}
|
|
203
225
|
}
|
|
204
226
|
|
|
@@ -225,13 +225,13 @@ proto.ondewo.nlu.ProjectRole.prototype.toObject = function(opt_includeInstance)
|
|
|
225
225
|
*/
|
|
226
226
|
proto.ondewo.nlu.ProjectRole.toObject = function(includeInstance, msg) {
|
|
227
227
|
var f, obj = {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
228
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
229
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
230
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
231
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
232
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
233
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
234
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
235
235
|
};
|
|
236
236
|
|
|
237
237
|
if (includeInstance) {
|
|
@@ -596,9 +596,9 @@ proto.ondewo.nlu.CreateProjectRoleRequest.prototype.toObject = function(opt_incl
|
|
|
596
596
|
*/
|
|
597
597
|
proto.ondewo.nlu.CreateProjectRoleRequest.toObject = function(includeInstance, msg) {
|
|
598
598
|
var f, obj = {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
599
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
600
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ProjectRole.toObject(includeInstance, f),
|
|
601
|
+
projectRoleView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
602
602
|
};
|
|
603
603
|
|
|
604
604
|
if (includeInstance) {
|
|
@@ -807,10 +807,10 @@ proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.toObject = function(opt_incl
|
|
|
807
807
|
*/
|
|
808
808
|
proto.ondewo.nlu.UpdateProjectRoleRequest.toObject = function(includeInstance, msg) {
|
|
809
809
|
var f, obj = {
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
810
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
811
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ProjectRole.toObject(includeInstance, f),
|
|
812
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
813
|
+
projectRoleView: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
814
814
|
};
|
|
815
815
|
|
|
816
816
|
if (includeInstance) {
|
|
@@ -1095,10 +1095,11 @@ proto.ondewo.nlu.GetProjectRoleRequest.prototype.toObject = function(opt_include
|
|
|
1095
1095
|
*/
|
|
1096
1096
|
proto.ondewo.nlu.GetProjectRoleRequest.toObject = function(includeInstance, msg) {
|
|
1097
1097
|
var f, obj = {
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1098
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1099
|
+
roleId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
1100
|
+
roleName: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
1101
|
+
projectRoleView: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1102
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1102
1103
|
};
|
|
1103
1104
|
|
|
1104
1105
|
if (includeInstance) {
|
|
@@ -1151,6 +1152,11 @@ proto.ondewo.nlu.GetProjectRoleRequest.deserializeBinaryFromReader = function(ms
|
|
|
1151
1152
|
var value = /** @type {!proto.ondewo.nlu.ProjectRoleView} */ (reader.readEnum());
|
|
1152
1153
|
msg.setProjectRoleView(value);
|
|
1153
1154
|
break;
|
|
1155
|
+
case 5:
|
|
1156
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
1157
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
1158
|
+
msg.setFieldMask(value);
|
|
1159
|
+
break;
|
|
1154
1160
|
default:
|
|
1155
1161
|
reader.skipField();
|
|
1156
1162
|
break;
|
|
@@ -1208,6 +1214,14 @@ proto.ondewo.nlu.GetProjectRoleRequest.serializeBinaryToWriter = function(messag
|
|
|
1208
1214
|
f
|
|
1209
1215
|
);
|
|
1210
1216
|
}
|
|
1217
|
+
f = message.getFieldMask();
|
|
1218
|
+
if (f != null) {
|
|
1219
|
+
writer.writeMessage(
|
|
1220
|
+
5,
|
|
1221
|
+
f,
|
|
1222
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
1223
|
+
);
|
|
1224
|
+
}
|
|
1211
1225
|
};
|
|
1212
1226
|
|
|
1213
1227
|
|
|
@@ -1319,6 +1333,43 @@ proto.ondewo.nlu.GetProjectRoleRequest.prototype.setProjectRoleView = function(v
|
|
|
1319
1333
|
};
|
|
1320
1334
|
|
|
1321
1335
|
|
|
1336
|
+
/**
|
|
1337
|
+
* optional google.protobuf.FieldMask field_mask = 5;
|
|
1338
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
1339
|
+
*/
|
|
1340
|
+
proto.ondewo.nlu.GetProjectRoleRequest.prototype.getFieldMask = function() {
|
|
1341
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1342
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 5));
|
|
1343
|
+
};
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1348
|
+
* @return {!proto.ondewo.nlu.GetProjectRoleRequest} returns this
|
|
1349
|
+
*/
|
|
1350
|
+
proto.ondewo.nlu.GetProjectRoleRequest.prototype.setFieldMask = function(value) {
|
|
1351
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* Clears the message field making it undefined.
|
|
1357
|
+
* @return {!proto.ondewo.nlu.GetProjectRoleRequest} returns this
|
|
1358
|
+
*/
|
|
1359
|
+
proto.ondewo.nlu.GetProjectRoleRequest.prototype.clearFieldMask = function() {
|
|
1360
|
+
return this.setFieldMask(undefined);
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* Returns whether this field is set.
|
|
1366
|
+
* @return {boolean}
|
|
1367
|
+
*/
|
|
1368
|
+
proto.ondewo.nlu.GetProjectRoleRequest.prototype.hasFieldMask = function() {
|
|
1369
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1370
|
+
};
|
|
1371
|
+
|
|
1372
|
+
|
|
1322
1373
|
|
|
1323
1374
|
|
|
1324
1375
|
|
|
@@ -1351,8 +1402,8 @@ proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.toObject = function(opt_incl
|
|
|
1351
1402
|
*/
|
|
1352
1403
|
proto.ondewo.nlu.DeleteProjectRoleRequest.toObject = function(includeInstance, msg) {
|
|
1353
1404
|
var f, obj = {
|
|
1354
|
-
|
|
1355
|
-
|
|
1405
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1406
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
1356
1407
|
};
|
|
1357
1408
|
|
|
1358
1409
|
if (includeInstance) {
|
|
@@ -1511,9 +1562,10 @@ proto.ondewo.nlu.ListProjectRolesRequest.prototype.toObject = function(opt_inclu
|
|
|
1511
1562
|
*/
|
|
1512
1563
|
proto.ondewo.nlu.ListProjectRolesRequest.toObject = function(includeInstance, msg) {
|
|
1513
1564
|
var f, obj = {
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1565
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1566
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1567
|
+
projectRoleView: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1568
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1517
1569
|
};
|
|
1518
1570
|
|
|
1519
1571
|
if (includeInstance) {
|
|
@@ -1562,6 +1614,11 @@ proto.ondewo.nlu.ListProjectRolesRequest.deserializeBinaryFromReader = function(
|
|
|
1562
1614
|
var value = /** @type {!proto.ondewo.nlu.ProjectRoleView} */ (reader.readEnum());
|
|
1563
1615
|
msg.setProjectRoleView(value);
|
|
1564
1616
|
break;
|
|
1617
|
+
case 4:
|
|
1618
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
1619
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
1620
|
+
msg.setFieldMask(value);
|
|
1621
|
+
break;
|
|
1565
1622
|
default:
|
|
1566
1623
|
reader.skipField();
|
|
1567
1624
|
break;
|
|
@@ -1612,6 +1669,14 @@ proto.ondewo.nlu.ListProjectRolesRequest.serializeBinaryToWriter = function(mess
|
|
|
1612
1669
|
f
|
|
1613
1670
|
);
|
|
1614
1671
|
}
|
|
1672
|
+
f = message.getFieldMask();
|
|
1673
|
+
if (f != null) {
|
|
1674
|
+
writer.writeMessage(
|
|
1675
|
+
4,
|
|
1676
|
+
f,
|
|
1677
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
1678
|
+
);
|
|
1679
|
+
}
|
|
1615
1680
|
};
|
|
1616
1681
|
|
|
1617
1682
|
|
|
@@ -1669,6 +1734,43 @@ proto.ondewo.nlu.ListProjectRolesRequest.prototype.setProjectRoleView = function
|
|
|
1669
1734
|
};
|
|
1670
1735
|
|
|
1671
1736
|
|
|
1737
|
+
/**
|
|
1738
|
+
* optional google.protobuf.FieldMask field_mask = 4;
|
|
1739
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
1740
|
+
*/
|
|
1741
|
+
proto.ondewo.nlu.ListProjectRolesRequest.prototype.getFieldMask = function() {
|
|
1742
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1743
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
|
|
1744
|
+
};
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1749
|
+
* @return {!proto.ondewo.nlu.ListProjectRolesRequest} returns this
|
|
1750
|
+
*/
|
|
1751
|
+
proto.ondewo.nlu.ListProjectRolesRequest.prototype.setFieldMask = function(value) {
|
|
1752
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1753
|
+
};
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* Clears the message field making it undefined.
|
|
1758
|
+
* @return {!proto.ondewo.nlu.ListProjectRolesRequest} returns this
|
|
1759
|
+
*/
|
|
1760
|
+
proto.ondewo.nlu.ListProjectRolesRequest.prototype.clearFieldMask = function() {
|
|
1761
|
+
return this.setFieldMask(undefined);
|
|
1762
|
+
};
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* Returns whether this field is set.
|
|
1767
|
+
* @return {boolean}
|
|
1768
|
+
*/
|
|
1769
|
+
proto.ondewo.nlu.ListProjectRolesRequest.prototype.hasFieldMask = function() {
|
|
1770
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1771
|
+
};
|
|
1772
|
+
|
|
1773
|
+
|
|
1672
1774
|
|
|
1673
1775
|
/**
|
|
1674
1776
|
* List of repeated fields within this message type.
|
|
@@ -1708,9 +1810,9 @@ proto.ondewo.nlu.ListProjectRolesResponse.prototype.toObject = function(opt_incl
|
|
|
1708
1810
|
*/
|
|
1709
1811
|
proto.ondewo.nlu.ListProjectRolesResponse.toObject = function(includeInstance, msg) {
|
|
1710
1812
|
var f, obj = {
|
|
1711
|
-
|
|
1813
|
+
projectRolesList: jspb.Message.toObjectList(msg.getProjectRolesList(),
|
|
1712
1814
|
proto.ondewo.nlu.ProjectRole.toObject, includeInstance),
|
|
1713
|
-
|
|
1815
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1714
1816
|
};
|
|
1715
1817
|
|
|
1716
1818
|
if (includeInstance) {
|