@fonoster/sdk 0.27.0 → 0.30.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/README.md +6 -5
- package/dist/node/Applications.d.ts +21 -85
- package/dist/node/Applications.js +55 -73
- package/dist/node/CallRecords.d.ts +92 -0
- package/dist/node/CallRecords.js +124 -0
- package/dist/node/Domains.js +4 -2
- package/dist/node/Providers.d.ts +49 -0
- package/dist/node/Providers.js +107 -0
- package/dist/node/Regions.d.ts +91 -0
- package/dist/node/Regions.js +124 -0
- package/dist/node/Users.d.ts +4 -2
- package/dist/node/Users.js +4 -2
- package/dist/node/Webhooks.d.ts +56 -0
- package/dist/node/Webhooks.js +139 -0
- package/dist/node/Workspaces.d.ts +22 -3
- package/dist/node/Workspaces.js +29 -2
- package/dist/node/client/AbstractClient.d.ts +83 -3
- package/dist/node/client/AbstractClient.js +97 -1
- package/dist/node/client/Client.d.ts +7 -0
- package/dist/node/client/Client.js +21 -0
- package/dist/node/client/jsonToObject.js +17 -0
- package/dist/node/client/objectToJson.js +35 -0
- package/dist/node/client/types/ApplicationsClient.d.ts +2 -1
- package/dist/node/client/types/CapabilitiesClient.d.ts +24 -0
- package/dist/node/client/types/CapabilitiesClient.js +2 -0
- package/dist/node/client/types/FonosterClient.d.ts +8 -0
- package/dist/node/client/types/IdentityClient.d.ts +3 -1
- package/dist/node/client/types/ProvidersClient.d.ts +28 -0
- package/dist/node/client/types/ProvidersClient.js +2 -0
- package/dist/node/client/types/WebhooksClient.d.ts +31 -0
- package/dist/node/client/types/WebhooksClient.js +2 -0
- package/dist/node/client/types/index.d.ts +3 -0
- package/dist/node/client/types/index.js +3 -0
- package/dist/node/generated/node/applications_grpc_pb.js +34 -0
- package/dist/node/generated/node/applications_pb.js +2657 -206
- package/dist/node/generated/node/capabilities_grpc_pb.js +66 -0
- package/dist/node/generated/node/capabilities_pb.js +2085 -0
- package/dist/node/generated/node/identity_grpc_pb.js +34 -0
- package/dist/node/generated/node/identity_pb.js +609 -5
- package/dist/node/generated/node/providers_grpc_pb.js +200 -0
- package/dist/node/generated/node/providers_pb.js +3034 -0
- package/dist/node/generated/node/webhooks_grpc_pb.js +302 -0
- package/dist/node/generated/node/webhooks_pb.js +3314 -0
- package/dist/node/generated/web/ApplicationsServiceClientPb.ts +43 -0
- package/dist/node/generated/web/CapabilitiesServiceClientPb.ts +87 -0
- package/dist/node/generated/web/IdentityServiceClientPb.ts +43 -0
- package/dist/node/generated/web/ProvidersServiceClientPb.ts +258 -0
- package/dist/node/generated/web/WebhooksServiceClientPb.ts +387 -0
- package/dist/node/generated/web/applications_pb.d.ts +301 -1
- package/dist/node/generated/web/applications_pb.js +2657 -206
- package/dist/node/generated/web/capabilities_pb.d.ts +249 -0
- package/dist/node/generated/web/capabilities_pb.js +2085 -0
- package/dist/node/generated/web/identity_pb.d.ts +76 -0
- package/dist/node/generated/web/identity_pb.js +609 -5
- package/dist/node/generated/web/providers_pb.d.ts +364 -0
- package/dist/node/generated/web/providers_pb.js +3034 -0
- package/dist/node/generated/web/webhooks_pb.d.ts +398 -0
- package/dist/node/generated/web/webhooks_pb.js +3314 -0
- package/dist/node/node.d.ts +5 -0
- package/dist/node/node.js +4 -0
- package/dist/node/tsconfig.tsbuildinfo +1 -1
- package/dist/node/utils.d.ts +1 -13
- package/dist/node/utils.js +1 -38
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +5 -5
|
@@ -25,8 +25,10 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
|
|
|
25
25
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
26
26
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
27
27
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
28
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.AmdSettings', null, global);
|
|
28
29
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.Application', null, global);
|
|
29
30
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ApplicationType', null, global);
|
|
31
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.AudioFormat', null, global);
|
|
30
32
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.CreateApplicationRequest', null, global);
|
|
31
33
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.CreateApplicationResponse', null, global);
|
|
32
34
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.DeleteApplicationRequest', null, global);
|
|
@@ -39,15 +41,145 @@ goog.exportSymbol('proto.fonoster.applications.v1beta2.ExpectedTextType', null,
|
|
|
39
41
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.GetApplicationRequest', null, global);
|
|
40
42
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ListApplicationsRequest', null, global);
|
|
41
43
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ListApplicationsResponse', null, global);
|
|
44
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.Listener', null, global);
|
|
42
45
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ProductContainer', null, global);
|
|
46
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.RotateSigningSecretRequest', null, global);
|
|
47
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.RotateSigningSecretResponse', null, global);
|
|
43
48
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ScenarioEvaluationReport', null, global);
|
|
44
49
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ScenarioSummary', null, global);
|
|
50
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.SpeechDefaults', null, global);
|
|
45
51
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.StepEvaluationReport', null, global);
|
|
46
52
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.StepEvaluationResult', null, global);
|
|
47
53
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.TestTokenResponse', null, global);
|
|
48
54
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ToolEvaluationReport', null, global);
|
|
49
55
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.UpdateApplicationRequest', null, global);
|
|
50
56
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.UpdateApplicationResponse', null, global);
|
|
57
|
+
/**
|
|
58
|
+
* Generated by JsPbCodeGenerator.
|
|
59
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
60
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
61
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
62
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
63
|
+
* valid.
|
|
64
|
+
* @extends {jspb.Message}
|
|
65
|
+
* @constructor
|
|
66
|
+
*/
|
|
67
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults = function(opt_data) {
|
|
68
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
69
|
+
};
|
|
70
|
+
goog.inherits(proto.fonoster.applications.v1beta2.SpeechDefaults, jspb.Message);
|
|
71
|
+
if (goog.DEBUG && !COMPILED) {
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* @override
|
|
75
|
+
*/
|
|
76
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.displayName = 'proto.fonoster.applications.v1beta2.SpeechDefaults';
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Generated by JsPbCodeGenerator.
|
|
80
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
81
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
82
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
83
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
84
|
+
* valid.
|
|
85
|
+
* @extends {jspb.Message}
|
|
86
|
+
* @constructor
|
|
87
|
+
*/
|
|
88
|
+
proto.fonoster.applications.v1beta2.AudioFormat = function(opt_data) {
|
|
89
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
90
|
+
};
|
|
91
|
+
goog.inherits(proto.fonoster.applications.v1beta2.AudioFormat, jspb.Message);
|
|
92
|
+
if (goog.DEBUG && !COMPILED) {
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* @override
|
|
96
|
+
*/
|
|
97
|
+
proto.fonoster.applications.v1beta2.AudioFormat.displayName = 'proto.fonoster.applications.v1beta2.AudioFormat';
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Generated by JsPbCodeGenerator.
|
|
101
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
102
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
103
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
104
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
105
|
+
* valid.
|
|
106
|
+
* @extends {jspb.Message}
|
|
107
|
+
* @constructor
|
|
108
|
+
*/
|
|
109
|
+
proto.fonoster.applications.v1beta2.AmdSettings = function(opt_data) {
|
|
110
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
111
|
+
};
|
|
112
|
+
goog.inherits(proto.fonoster.applications.v1beta2.AmdSettings, jspb.Message);
|
|
113
|
+
if (goog.DEBUG && !COMPILED) {
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @override
|
|
117
|
+
*/
|
|
118
|
+
proto.fonoster.applications.v1beta2.AmdSettings.displayName = 'proto.fonoster.applications.v1beta2.AmdSettings';
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Generated by JsPbCodeGenerator.
|
|
122
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
123
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
124
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
125
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
126
|
+
* valid.
|
|
127
|
+
* @extends {jspb.Message}
|
|
128
|
+
* @constructor
|
|
129
|
+
*/
|
|
130
|
+
proto.fonoster.applications.v1beta2.Listener = function(opt_data) {
|
|
131
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
132
|
+
};
|
|
133
|
+
goog.inherits(proto.fonoster.applications.v1beta2.Listener, jspb.Message);
|
|
134
|
+
if (goog.DEBUG && !COMPILED) {
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
* @override
|
|
138
|
+
*/
|
|
139
|
+
proto.fonoster.applications.v1beta2.Listener.displayName = 'proto.fonoster.applications.v1beta2.Listener';
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Generated by JsPbCodeGenerator.
|
|
143
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
144
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
145
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
146
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
147
|
+
* valid.
|
|
148
|
+
* @extends {jspb.Message}
|
|
149
|
+
* @constructor
|
|
150
|
+
*/
|
|
151
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest = function(opt_data) {
|
|
152
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
153
|
+
};
|
|
154
|
+
goog.inherits(proto.fonoster.applications.v1beta2.RotateSigningSecretRequest, jspb.Message);
|
|
155
|
+
if (goog.DEBUG && !COMPILED) {
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* @override
|
|
159
|
+
*/
|
|
160
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.displayName = 'proto.fonoster.applications.v1beta2.RotateSigningSecretRequest';
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Generated by JsPbCodeGenerator.
|
|
164
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
165
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
166
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
167
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
168
|
+
* valid.
|
|
169
|
+
* @extends {jspb.Message}
|
|
170
|
+
* @constructor
|
|
171
|
+
*/
|
|
172
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse = function(opt_data) {
|
|
173
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
174
|
+
};
|
|
175
|
+
goog.inherits(proto.fonoster.applications.v1beta2.RotateSigningSecretResponse, jspb.Message);
|
|
176
|
+
if (goog.DEBUG && !COMPILED) {
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
* @override
|
|
180
|
+
*/
|
|
181
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.displayName = 'proto.fonoster.applications.v1beta2.RotateSigningSecretResponse';
|
|
182
|
+
}
|
|
51
183
|
/**
|
|
52
184
|
* Generated by JsPbCodeGenerator.
|
|
53
185
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -80,7 +212,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
80
212
|
* @constructor
|
|
81
213
|
*/
|
|
82
214
|
proto.fonoster.applications.v1beta2.Application = function(opt_data) {
|
|
83
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
215
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.Application.repeatedFields_, null);
|
|
84
216
|
};
|
|
85
217
|
goog.inherits(proto.fonoster.applications.v1beta2.Application, jspb.Message);
|
|
86
218
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -101,7 +233,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
101
233
|
* @constructor
|
|
102
234
|
*/
|
|
103
235
|
proto.fonoster.applications.v1beta2.CreateApplicationRequest = function(opt_data) {
|
|
104
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
236
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.CreateApplicationRequest.repeatedFields_, null);
|
|
105
237
|
};
|
|
106
238
|
goog.inherits(proto.fonoster.applications.v1beta2.CreateApplicationRequest, jspb.Message);
|
|
107
239
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -206,7 +338,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
206
338
|
* @constructor
|
|
207
339
|
*/
|
|
208
340
|
proto.fonoster.applications.v1beta2.UpdateApplicationRequest = function(opt_data) {
|
|
209
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
341
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.UpdateApplicationRequest.repeatedFields_, null);
|
|
210
342
|
};
|
|
211
343
|
goog.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationRequest, jspb.Message);
|
|
212
344
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -484,8 +616,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
484
616
|
* http://goto/soy-param-migration
|
|
485
617
|
* @return {!Object}
|
|
486
618
|
*/
|
|
487
|
-
proto.fonoster.applications.v1beta2.
|
|
488
|
-
return proto.fonoster.applications.v1beta2.
|
|
619
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.toObject = function(opt_includeInstance) {
|
|
620
|
+
return proto.fonoster.applications.v1beta2.SpeechDefaults.toObject(opt_includeInstance, this);
|
|
489
621
|
};
|
|
490
622
|
|
|
491
623
|
|
|
@@ -494,15 +626,18 @@ proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject = functi
|
|
|
494
626
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
495
627
|
* the JSPB instance for transitional soy proto support:
|
|
496
628
|
* http://goto/soy-param-migration
|
|
497
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
629
|
+
* @param {!proto.fonoster.applications.v1beta2.SpeechDefaults} msg The msg instance to transform.
|
|
498
630
|
* @return {!Object}
|
|
499
631
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
500
632
|
*/
|
|
501
|
-
proto.fonoster.applications.v1beta2.
|
|
633
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.toObject = function(includeInstance, msg) {
|
|
502
634
|
var f, obj = {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
635
|
+
voice: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
636
|
+
language: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
637
|
+
sttModel: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
638
|
+
ttsModel: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
639
|
+
silenceTimeoutMs: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
640
|
+
patience: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
506
641
|
};
|
|
507
642
|
|
|
508
643
|
if (includeInstance) {
|
|
@@ -516,23 +651,23 @@ credentials: (f = msg.getCredentials()) && google_protobuf_struct_pb.Struct.toOb
|
|
|
516
651
|
/**
|
|
517
652
|
* Deserializes binary data (in protobuf wire format).
|
|
518
653
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
519
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
654
|
+
* @return {!proto.fonoster.applications.v1beta2.SpeechDefaults}
|
|
520
655
|
*/
|
|
521
|
-
proto.fonoster.applications.v1beta2.
|
|
656
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinary = function(bytes) {
|
|
522
657
|
var reader = new jspb.BinaryReader(bytes);
|
|
523
|
-
var msg = new proto.fonoster.applications.v1beta2.
|
|
524
|
-
return proto.fonoster.applications.v1beta2.
|
|
658
|
+
var msg = new proto.fonoster.applications.v1beta2.SpeechDefaults;
|
|
659
|
+
return proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader(msg, reader);
|
|
525
660
|
};
|
|
526
661
|
|
|
527
662
|
|
|
528
663
|
/**
|
|
529
664
|
* Deserializes binary data (in protobuf wire format) from the
|
|
530
665
|
* given reader into the given message object.
|
|
531
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
666
|
+
* @param {!proto.fonoster.applications.v1beta2.SpeechDefaults} msg The message object to deserialize into.
|
|
532
667
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
533
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
668
|
+
* @return {!proto.fonoster.applications.v1beta2.SpeechDefaults}
|
|
534
669
|
*/
|
|
535
|
-
proto.fonoster.applications.v1beta2.
|
|
670
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader = function(msg, reader) {
|
|
536
671
|
while (reader.nextField()) {
|
|
537
672
|
if (reader.isEndGroup()) {
|
|
538
673
|
break;
|
|
@@ -541,17 +676,27 @@ proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader
|
|
|
541
676
|
switch (field) {
|
|
542
677
|
case 1:
|
|
543
678
|
var value = /** @type {string} */ (reader.readString());
|
|
544
|
-
msg.
|
|
679
|
+
msg.setVoice(value);
|
|
545
680
|
break;
|
|
546
681
|
case 2:
|
|
547
|
-
var value =
|
|
548
|
-
|
|
549
|
-
msg.setConfig(value);
|
|
682
|
+
var value = /** @type {string} */ (reader.readString());
|
|
683
|
+
msg.setLanguage(value);
|
|
550
684
|
break;
|
|
551
685
|
case 3:
|
|
552
|
-
var value =
|
|
553
|
-
|
|
554
|
-
|
|
686
|
+
var value = /** @type {string} */ (reader.readString());
|
|
687
|
+
msg.setSttModel(value);
|
|
688
|
+
break;
|
|
689
|
+
case 4:
|
|
690
|
+
var value = /** @type {string} */ (reader.readString());
|
|
691
|
+
msg.setTtsModel(value);
|
|
692
|
+
break;
|
|
693
|
+
case 5:
|
|
694
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
695
|
+
msg.setSilenceTimeoutMs(value);
|
|
696
|
+
break;
|
|
697
|
+
case 6:
|
|
698
|
+
var value = /** @type {string} */ (reader.readString());
|
|
699
|
+
msg.setPatience(value);
|
|
555
700
|
break;
|
|
556
701
|
default:
|
|
557
702
|
reader.skipField();
|
|
@@ -566,9 +711,9 @@ proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader
|
|
|
566
711
|
* Serializes the message to binary data (in protobuf wire format).
|
|
567
712
|
* @return {!Uint8Array}
|
|
568
713
|
*/
|
|
569
|
-
proto.fonoster.applications.v1beta2.
|
|
714
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.serializeBinary = function() {
|
|
570
715
|
var writer = new jspb.BinaryWriter();
|
|
571
|
-
proto.fonoster.applications.v1beta2.
|
|
716
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter(this, writer);
|
|
572
717
|
return writer.getResultBuffer();
|
|
573
718
|
};
|
|
574
719
|
|
|
@@ -576,127 +721,162 @@ proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary =
|
|
|
576
721
|
/**
|
|
577
722
|
* Serializes the given message to binary data (in protobuf wire
|
|
578
723
|
* format), writing to the given BinaryWriter.
|
|
579
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
724
|
+
* @param {!proto.fonoster.applications.v1beta2.SpeechDefaults} message
|
|
580
725
|
* @param {!jspb.BinaryWriter} writer
|
|
581
726
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
582
727
|
*/
|
|
583
|
-
proto.fonoster.applications.v1beta2.
|
|
728
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter = function(message, writer) {
|
|
584
729
|
var f = undefined;
|
|
585
|
-
f = message.
|
|
730
|
+
f = message.getVoice();
|
|
586
731
|
if (f.length > 0) {
|
|
587
732
|
writer.writeString(
|
|
588
733
|
1,
|
|
589
734
|
f
|
|
590
735
|
);
|
|
591
736
|
}
|
|
592
|
-
f = message.
|
|
593
|
-
if (f
|
|
594
|
-
writer.
|
|
737
|
+
f = message.getLanguage();
|
|
738
|
+
if (f.length > 0) {
|
|
739
|
+
writer.writeString(
|
|
595
740
|
2,
|
|
596
|
-
f
|
|
597
|
-
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
741
|
+
f
|
|
598
742
|
);
|
|
599
743
|
}
|
|
600
|
-
f = message.
|
|
601
|
-
if (f
|
|
602
|
-
writer.
|
|
744
|
+
f = message.getSttModel();
|
|
745
|
+
if (f.length > 0) {
|
|
746
|
+
writer.writeString(
|
|
603
747
|
3,
|
|
604
|
-
f
|
|
605
|
-
|
|
748
|
+
f
|
|
749
|
+
);
|
|
750
|
+
}
|
|
751
|
+
f = message.getTtsModel();
|
|
752
|
+
if (f.length > 0) {
|
|
753
|
+
writer.writeString(
|
|
754
|
+
4,
|
|
755
|
+
f
|
|
756
|
+
);
|
|
757
|
+
}
|
|
758
|
+
f = message.getSilenceTimeoutMs();
|
|
759
|
+
if (f !== 0) {
|
|
760
|
+
writer.writeInt32(
|
|
761
|
+
5,
|
|
762
|
+
f
|
|
763
|
+
);
|
|
764
|
+
}
|
|
765
|
+
f = message.getPatience();
|
|
766
|
+
if (f.length > 0) {
|
|
767
|
+
writer.writeString(
|
|
768
|
+
6,
|
|
769
|
+
f
|
|
606
770
|
);
|
|
607
771
|
}
|
|
608
772
|
};
|
|
609
773
|
|
|
610
774
|
|
|
611
775
|
/**
|
|
612
|
-
* optional string
|
|
776
|
+
* optional string voice = 1;
|
|
613
777
|
* @return {string}
|
|
614
778
|
*/
|
|
615
|
-
proto.fonoster.applications.v1beta2.
|
|
779
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getVoice = function() {
|
|
616
780
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
617
781
|
};
|
|
618
782
|
|
|
619
783
|
|
|
620
784
|
/**
|
|
621
785
|
* @param {string} value
|
|
622
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
786
|
+
* @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
|
|
623
787
|
*/
|
|
624
|
-
proto.fonoster.applications.v1beta2.
|
|
788
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setVoice = function(value) {
|
|
625
789
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
626
790
|
};
|
|
627
791
|
|
|
628
792
|
|
|
629
793
|
/**
|
|
630
|
-
* optional
|
|
631
|
-
* @return {
|
|
794
|
+
* optional string language = 2;
|
|
795
|
+
* @return {string}
|
|
632
796
|
*/
|
|
633
|
-
proto.fonoster.applications.v1beta2.
|
|
634
|
-
return /** @type{
|
|
635
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 2));
|
|
797
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getLanguage = function() {
|
|
798
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
636
799
|
};
|
|
637
800
|
|
|
638
801
|
|
|
639
802
|
/**
|
|
640
|
-
* @param {
|
|
641
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
642
|
-
*/
|
|
643
|
-
proto.fonoster.applications.v1beta2.
|
|
644
|
-
return jspb.Message.
|
|
803
|
+
* @param {string} value
|
|
804
|
+
* @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
|
|
805
|
+
*/
|
|
806
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setLanguage = function(value) {
|
|
807
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
645
808
|
};
|
|
646
809
|
|
|
647
810
|
|
|
648
811
|
/**
|
|
649
|
-
*
|
|
650
|
-
* @return {
|
|
812
|
+
* optional string stt_model = 3;
|
|
813
|
+
* @return {string}
|
|
651
814
|
*/
|
|
652
|
-
proto.fonoster.applications.v1beta2.
|
|
653
|
-
return
|
|
815
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getSttModel = function() {
|
|
816
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
654
817
|
};
|
|
655
818
|
|
|
656
819
|
|
|
657
820
|
/**
|
|
658
|
-
*
|
|
659
|
-
* @return {
|
|
821
|
+
* @param {string} value
|
|
822
|
+
* @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
|
|
660
823
|
*/
|
|
661
|
-
proto.fonoster.applications.v1beta2.
|
|
662
|
-
return jspb.Message.
|
|
824
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setSttModel = function(value) {
|
|
825
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
663
826
|
};
|
|
664
827
|
|
|
665
828
|
|
|
666
829
|
/**
|
|
667
|
-
* optional
|
|
668
|
-
* @return {
|
|
830
|
+
* optional string tts_model = 4;
|
|
831
|
+
* @return {string}
|
|
669
832
|
*/
|
|
670
|
-
proto.fonoster.applications.v1beta2.
|
|
671
|
-
return /** @type{
|
|
672
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 3));
|
|
833
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getTtsModel = function() {
|
|
834
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
673
835
|
};
|
|
674
836
|
|
|
675
837
|
|
|
676
838
|
/**
|
|
677
|
-
* @param {
|
|
678
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
679
|
-
*/
|
|
680
|
-
proto.fonoster.applications.v1beta2.
|
|
681
|
-
return jspb.Message.
|
|
839
|
+
* @param {string} value
|
|
840
|
+
* @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
|
|
841
|
+
*/
|
|
842
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setTtsModel = function(value) {
|
|
843
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
682
844
|
};
|
|
683
845
|
|
|
684
846
|
|
|
685
847
|
/**
|
|
686
|
-
*
|
|
687
|
-
* @return {
|
|
848
|
+
* optional int32 silence_timeout_ms = 5;
|
|
849
|
+
* @return {number}
|
|
688
850
|
*/
|
|
689
|
-
proto.fonoster.applications.v1beta2.
|
|
690
|
-
return
|
|
851
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getSilenceTimeoutMs = function() {
|
|
852
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
691
853
|
};
|
|
692
854
|
|
|
693
855
|
|
|
694
856
|
/**
|
|
695
|
-
*
|
|
696
|
-
* @return {
|
|
857
|
+
* @param {number} value
|
|
858
|
+
* @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
|
|
697
859
|
*/
|
|
698
|
-
proto.fonoster.applications.v1beta2.
|
|
699
|
-
return jspb.Message.
|
|
860
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setSilenceTimeoutMs = function(value) {
|
|
861
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* optional string patience = 6;
|
|
867
|
+
* @return {string}
|
|
868
|
+
*/
|
|
869
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getPatience = function() {
|
|
870
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* @param {string} value
|
|
876
|
+
* @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
|
|
877
|
+
*/
|
|
878
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setPatience = function(value) {
|
|
879
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
700
880
|
};
|
|
701
881
|
|
|
702
882
|
|
|
@@ -716,8 +896,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
716
896
|
* http://goto/soy-param-migration
|
|
717
897
|
* @return {!Object}
|
|
718
898
|
*/
|
|
719
|
-
proto.fonoster.applications.v1beta2.
|
|
720
|
-
return proto.fonoster.applications.v1beta2.
|
|
899
|
+
proto.fonoster.applications.v1beta2.AudioFormat.prototype.toObject = function(opt_includeInstance) {
|
|
900
|
+
return proto.fonoster.applications.v1beta2.AudioFormat.toObject(opt_includeInstance, this);
|
|
721
901
|
};
|
|
722
902
|
|
|
723
903
|
|
|
@@ -726,11 +906,1050 @@ proto.fonoster.applications.v1beta2.Application.prototype.toObject = function(op
|
|
|
726
906
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
727
907
|
* the JSPB instance for transitional soy proto support:
|
|
728
908
|
* http://goto/soy-param-migration
|
|
729
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
909
|
+
* @param {!proto.fonoster.applications.v1beta2.AudioFormat} msg The msg instance to transform.
|
|
730
910
|
* @return {!Object}
|
|
731
911
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
732
912
|
*/
|
|
733
|
-
proto.fonoster.applications.v1beta2.
|
|
913
|
+
proto.fonoster.applications.v1beta2.AudioFormat.toObject = function(includeInstance, msg) {
|
|
914
|
+
var f, obj = {
|
|
915
|
+
codec: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
916
|
+
rate: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
if (includeInstance) {
|
|
920
|
+
obj.$jspbMessageInstance = msg;
|
|
921
|
+
}
|
|
922
|
+
return obj;
|
|
923
|
+
};
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* Deserializes binary data (in protobuf wire format).
|
|
929
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
930
|
+
* @return {!proto.fonoster.applications.v1beta2.AudioFormat}
|
|
931
|
+
*/
|
|
932
|
+
proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinary = function(bytes) {
|
|
933
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
934
|
+
var msg = new proto.fonoster.applications.v1beta2.AudioFormat;
|
|
935
|
+
return proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader(msg, reader);
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
941
|
+
* given reader into the given message object.
|
|
942
|
+
* @param {!proto.fonoster.applications.v1beta2.AudioFormat} msg The message object to deserialize into.
|
|
943
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
944
|
+
* @return {!proto.fonoster.applications.v1beta2.AudioFormat}
|
|
945
|
+
*/
|
|
946
|
+
proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader = function(msg, reader) {
|
|
947
|
+
while (reader.nextField()) {
|
|
948
|
+
if (reader.isEndGroup()) {
|
|
949
|
+
break;
|
|
950
|
+
}
|
|
951
|
+
var field = reader.getFieldNumber();
|
|
952
|
+
switch (field) {
|
|
953
|
+
case 1:
|
|
954
|
+
var value = /** @type {string} */ (reader.readString());
|
|
955
|
+
msg.setCodec(value);
|
|
956
|
+
break;
|
|
957
|
+
case 2:
|
|
958
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
959
|
+
msg.setRate(value);
|
|
960
|
+
break;
|
|
961
|
+
default:
|
|
962
|
+
reader.skipField();
|
|
963
|
+
break;
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
return msg;
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
972
|
+
* @return {!Uint8Array}
|
|
973
|
+
*/
|
|
974
|
+
proto.fonoster.applications.v1beta2.AudioFormat.prototype.serializeBinary = function() {
|
|
975
|
+
var writer = new jspb.BinaryWriter();
|
|
976
|
+
proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter(this, writer);
|
|
977
|
+
return writer.getResultBuffer();
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
983
|
+
* format), writing to the given BinaryWriter.
|
|
984
|
+
* @param {!proto.fonoster.applications.v1beta2.AudioFormat} message
|
|
985
|
+
* @param {!jspb.BinaryWriter} writer
|
|
986
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
987
|
+
*/
|
|
988
|
+
proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter = function(message, writer) {
|
|
989
|
+
var f = undefined;
|
|
990
|
+
f = message.getCodec();
|
|
991
|
+
if (f.length > 0) {
|
|
992
|
+
writer.writeString(
|
|
993
|
+
1,
|
|
994
|
+
f
|
|
995
|
+
);
|
|
996
|
+
}
|
|
997
|
+
f = message.getRate();
|
|
998
|
+
if (f !== 0) {
|
|
999
|
+
writer.writeInt32(
|
|
1000
|
+
2,
|
|
1001
|
+
f
|
|
1002
|
+
);
|
|
1003
|
+
}
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* optional string codec = 1;
|
|
1009
|
+
* @return {string}
|
|
1010
|
+
*/
|
|
1011
|
+
proto.fonoster.applications.v1beta2.AudioFormat.prototype.getCodec = function() {
|
|
1012
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* @param {string} value
|
|
1018
|
+
* @return {!proto.fonoster.applications.v1beta2.AudioFormat} returns this
|
|
1019
|
+
*/
|
|
1020
|
+
proto.fonoster.applications.v1beta2.AudioFormat.prototype.setCodec = function(value) {
|
|
1021
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* optional int32 rate = 2;
|
|
1027
|
+
* @return {number}
|
|
1028
|
+
*/
|
|
1029
|
+
proto.fonoster.applications.v1beta2.AudioFormat.prototype.getRate = function() {
|
|
1030
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* @param {number} value
|
|
1036
|
+
* @return {!proto.fonoster.applications.v1beta2.AudioFormat} returns this
|
|
1037
|
+
*/
|
|
1038
|
+
proto.fonoster.applications.v1beta2.AudioFormat.prototype.setRate = function(value) {
|
|
1039
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1047
|
+
/**
|
|
1048
|
+
* Creates an object representation of this proto.
|
|
1049
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1050
|
+
* Optional fields that are not set will be set to undefined.
|
|
1051
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1052
|
+
* For the list of reserved names please see:
|
|
1053
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1054
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1055
|
+
* JSPB instance for transitional soy proto support:
|
|
1056
|
+
* http://goto/soy-param-migration
|
|
1057
|
+
* @return {!Object}
|
|
1058
|
+
*/
|
|
1059
|
+
proto.fonoster.applications.v1beta2.AmdSettings.prototype.toObject = function(opt_includeInstance) {
|
|
1060
|
+
return proto.fonoster.applications.v1beta2.AmdSettings.toObject(opt_includeInstance, this);
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Static version of the {@see toObject} method.
|
|
1066
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1067
|
+
* the JSPB instance for transitional soy proto support:
|
|
1068
|
+
* http://goto/soy-param-migration
|
|
1069
|
+
* @param {!proto.fonoster.applications.v1beta2.AmdSettings} msg The msg instance to transform.
|
|
1070
|
+
* @return {!Object}
|
|
1071
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1072
|
+
*/
|
|
1073
|
+
proto.fonoster.applications.v1beta2.AmdSettings.toObject = function(includeInstance, msg) {
|
|
1074
|
+
var f, obj = {
|
|
1075
|
+
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
1076
|
+
windowMs: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
if (includeInstance) {
|
|
1080
|
+
obj.$jspbMessageInstance = msg;
|
|
1081
|
+
}
|
|
1082
|
+
return obj;
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1089
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1090
|
+
* @return {!proto.fonoster.applications.v1beta2.AmdSettings}
|
|
1091
|
+
*/
|
|
1092
|
+
proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinary = function(bytes) {
|
|
1093
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1094
|
+
var msg = new proto.fonoster.applications.v1beta2.AmdSettings;
|
|
1095
|
+
return proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader(msg, reader);
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1101
|
+
* given reader into the given message object.
|
|
1102
|
+
* @param {!proto.fonoster.applications.v1beta2.AmdSettings} msg The message object to deserialize into.
|
|
1103
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1104
|
+
* @return {!proto.fonoster.applications.v1beta2.AmdSettings}
|
|
1105
|
+
*/
|
|
1106
|
+
proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader = function(msg, reader) {
|
|
1107
|
+
while (reader.nextField()) {
|
|
1108
|
+
if (reader.isEndGroup()) {
|
|
1109
|
+
break;
|
|
1110
|
+
}
|
|
1111
|
+
var field = reader.getFieldNumber();
|
|
1112
|
+
switch (field) {
|
|
1113
|
+
case 1:
|
|
1114
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1115
|
+
msg.setEnabled(value);
|
|
1116
|
+
break;
|
|
1117
|
+
case 2:
|
|
1118
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1119
|
+
msg.setWindowMs(value);
|
|
1120
|
+
break;
|
|
1121
|
+
default:
|
|
1122
|
+
reader.skipField();
|
|
1123
|
+
break;
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
return msg;
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1132
|
+
* @return {!Uint8Array}
|
|
1133
|
+
*/
|
|
1134
|
+
proto.fonoster.applications.v1beta2.AmdSettings.prototype.serializeBinary = function() {
|
|
1135
|
+
var writer = new jspb.BinaryWriter();
|
|
1136
|
+
proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter(this, writer);
|
|
1137
|
+
return writer.getResultBuffer();
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1143
|
+
* format), writing to the given BinaryWriter.
|
|
1144
|
+
* @param {!proto.fonoster.applications.v1beta2.AmdSettings} message
|
|
1145
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1146
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1147
|
+
*/
|
|
1148
|
+
proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter = function(message, writer) {
|
|
1149
|
+
var f = undefined;
|
|
1150
|
+
f = message.getEnabled();
|
|
1151
|
+
if (f) {
|
|
1152
|
+
writer.writeBool(
|
|
1153
|
+
1,
|
|
1154
|
+
f
|
|
1155
|
+
);
|
|
1156
|
+
}
|
|
1157
|
+
f = message.getWindowMs();
|
|
1158
|
+
if (f !== 0) {
|
|
1159
|
+
writer.writeInt32(
|
|
1160
|
+
2,
|
|
1161
|
+
f
|
|
1162
|
+
);
|
|
1163
|
+
}
|
|
1164
|
+
};
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* optional bool enabled = 1;
|
|
1169
|
+
* @return {boolean}
|
|
1170
|
+
*/
|
|
1171
|
+
proto.fonoster.applications.v1beta2.AmdSettings.prototype.getEnabled = function() {
|
|
1172
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* @param {boolean} value
|
|
1178
|
+
* @return {!proto.fonoster.applications.v1beta2.AmdSettings} returns this
|
|
1179
|
+
*/
|
|
1180
|
+
proto.fonoster.applications.v1beta2.AmdSettings.prototype.setEnabled = function(value) {
|
|
1181
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* optional int32 window_ms = 2;
|
|
1187
|
+
* @return {number}
|
|
1188
|
+
*/
|
|
1189
|
+
proto.fonoster.applications.v1beta2.AmdSettings.prototype.getWindowMs = function() {
|
|
1190
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* @param {number} value
|
|
1196
|
+
* @return {!proto.fonoster.applications.v1beta2.AmdSettings} returns this
|
|
1197
|
+
*/
|
|
1198
|
+
proto.fonoster.applications.v1beta2.AmdSettings.prototype.setWindowMs = function(value) {
|
|
1199
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1207
|
+
/**
|
|
1208
|
+
* Creates an object representation of this proto.
|
|
1209
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1210
|
+
* Optional fields that are not set will be set to undefined.
|
|
1211
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1212
|
+
* For the list of reserved names please see:
|
|
1213
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1214
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1215
|
+
* JSPB instance for transitional soy proto support:
|
|
1216
|
+
* http://goto/soy-param-migration
|
|
1217
|
+
* @return {!Object}
|
|
1218
|
+
*/
|
|
1219
|
+
proto.fonoster.applications.v1beta2.Listener.prototype.toObject = function(opt_includeInstance) {
|
|
1220
|
+
return proto.fonoster.applications.v1beta2.Listener.toObject(opt_includeInstance, this);
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* Static version of the {@see toObject} method.
|
|
1226
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1227
|
+
* the JSPB instance for transitional soy proto support:
|
|
1228
|
+
* http://goto/soy-param-migration
|
|
1229
|
+
* @param {!proto.fonoster.applications.v1beta2.Listener} msg The msg instance to transform.
|
|
1230
|
+
* @return {!Object}
|
|
1231
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1232
|
+
*/
|
|
1233
|
+
proto.fonoster.applications.v1beta2.Listener.toObject = function(includeInstance, msg) {
|
|
1234
|
+
var f, obj = {
|
|
1235
|
+
url: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1236
|
+
tracks: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1239
|
+
if (includeInstance) {
|
|
1240
|
+
obj.$jspbMessageInstance = msg;
|
|
1241
|
+
}
|
|
1242
|
+
return obj;
|
|
1243
|
+
};
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1249
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1250
|
+
* @return {!proto.fonoster.applications.v1beta2.Listener}
|
|
1251
|
+
*/
|
|
1252
|
+
proto.fonoster.applications.v1beta2.Listener.deserializeBinary = function(bytes) {
|
|
1253
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1254
|
+
var msg = new proto.fonoster.applications.v1beta2.Listener;
|
|
1255
|
+
return proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader(msg, reader);
|
|
1256
|
+
};
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1261
|
+
* given reader into the given message object.
|
|
1262
|
+
* @param {!proto.fonoster.applications.v1beta2.Listener} msg The message object to deserialize into.
|
|
1263
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1264
|
+
* @return {!proto.fonoster.applications.v1beta2.Listener}
|
|
1265
|
+
*/
|
|
1266
|
+
proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader = function(msg, reader) {
|
|
1267
|
+
while (reader.nextField()) {
|
|
1268
|
+
if (reader.isEndGroup()) {
|
|
1269
|
+
break;
|
|
1270
|
+
}
|
|
1271
|
+
var field = reader.getFieldNumber();
|
|
1272
|
+
switch (field) {
|
|
1273
|
+
case 1:
|
|
1274
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1275
|
+
msg.setUrl(value);
|
|
1276
|
+
break;
|
|
1277
|
+
case 2:
|
|
1278
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1279
|
+
msg.setTracks(value);
|
|
1280
|
+
break;
|
|
1281
|
+
default:
|
|
1282
|
+
reader.skipField();
|
|
1283
|
+
break;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
return msg;
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1292
|
+
* @return {!Uint8Array}
|
|
1293
|
+
*/
|
|
1294
|
+
proto.fonoster.applications.v1beta2.Listener.prototype.serializeBinary = function() {
|
|
1295
|
+
var writer = new jspb.BinaryWriter();
|
|
1296
|
+
proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter(this, writer);
|
|
1297
|
+
return writer.getResultBuffer();
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1303
|
+
* format), writing to the given BinaryWriter.
|
|
1304
|
+
* @param {!proto.fonoster.applications.v1beta2.Listener} message
|
|
1305
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1306
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1307
|
+
*/
|
|
1308
|
+
proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter = function(message, writer) {
|
|
1309
|
+
var f = undefined;
|
|
1310
|
+
f = message.getUrl();
|
|
1311
|
+
if (f.length > 0) {
|
|
1312
|
+
writer.writeString(
|
|
1313
|
+
1,
|
|
1314
|
+
f
|
|
1315
|
+
);
|
|
1316
|
+
}
|
|
1317
|
+
f = message.getTracks();
|
|
1318
|
+
if (f.length > 0) {
|
|
1319
|
+
writer.writeString(
|
|
1320
|
+
2,
|
|
1321
|
+
f
|
|
1322
|
+
);
|
|
1323
|
+
}
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* optional string url = 1;
|
|
1329
|
+
* @return {string}
|
|
1330
|
+
*/
|
|
1331
|
+
proto.fonoster.applications.v1beta2.Listener.prototype.getUrl = function() {
|
|
1332
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* @param {string} value
|
|
1338
|
+
* @return {!proto.fonoster.applications.v1beta2.Listener} returns this
|
|
1339
|
+
*/
|
|
1340
|
+
proto.fonoster.applications.v1beta2.Listener.prototype.setUrl = function(value) {
|
|
1341
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1342
|
+
};
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* optional string tracks = 2;
|
|
1347
|
+
* @return {string}
|
|
1348
|
+
*/
|
|
1349
|
+
proto.fonoster.applications.v1beta2.Listener.prototype.getTracks = function() {
|
|
1350
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* @param {string} value
|
|
1356
|
+
* @return {!proto.fonoster.applications.v1beta2.Listener} returns this
|
|
1357
|
+
*/
|
|
1358
|
+
proto.fonoster.applications.v1beta2.Listener.prototype.setTracks = function(value) {
|
|
1359
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1367
|
+
/**
|
|
1368
|
+
* Creates an object representation of this proto.
|
|
1369
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1370
|
+
* Optional fields that are not set will be set to undefined.
|
|
1371
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1372
|
+
* For the list of reserved names please see:
|
|
1373
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1374
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1375
|
+
* JSPB instance for transitional soy proto support:
|
|
1376
|
+
* http://goto/soy-param-migration
|
|
1377
|
+
* @return {!Object}
|
|
1378
|
+
*/
|
|
1379
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1380
|
+
return proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.toObject(opt_includeInstance, this);
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Static version of the {@see toObject} method.
|
|
1386
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1387
|
+
* the JSPB instance for transitional soy proto support:
|
|
1388
|
+
* http://goto/soy-param-migration
|
|
1389
|
+
* @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest} msg The msg instance to transform.
|
|
1390
|
+
* @return {!Object}
|
|
1391
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1392
|
+
*/
|
|
1393
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.toObject = function(includeInstance, msg) {
|
|
1394
|
+
var f, obj = {
|
|
1395
|
+
ref: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
if (includeInstance) {
|
|
1399
|
+
obj.$jspbMessageInstance = msg;
|
|
1400
|
+
}
|
|
1401
|
+
return obj;
|
|
1402
|
+
};
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1408
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1409
|
+
* @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest}
|
|
1410
|
+
*/
|
|
1411
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.deserializeBinary = function(bytes) {
|
|
1412
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1413
|
+
var msg = new proto.fonoster.applications.v1beta2.RotateSigningSecretRequest;
|
|
1414
|
+
return proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.deserializeBinaryFromReader(msg, reader);
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1420
|
+
* given reader into the given message object.
|
|
1421
|
+
* @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest} msg The message object to deserialize into.
|
|
1422
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1423
|
+
* @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest}
|
|
1424
|
+
*/
|
|
1425
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1426
|
+
while (reader.nextField()) {
|
|
1427
|
+
if (reader.isEndGroup()) {
|
|
1428
|
+
break;
|
|
1429
|
+
}
|
|
1430
|
+
var field = reader.getFieldNumber();
|
|
1431
|
+
switch (field) {
|
|
1432
|
+
case 1:
|
|
1433
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1434
|
+
msg.setRef(value);
|
|
1435
|
+
break;
|
|
1436
|
+
default:
|
|
1437
|
+
reader.skipField();
|
|
1438
|
+
break;
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
return msg;
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1447
|
+
* @return {!Uint8Array}
|
|
1448
|
+
*/
|
|
1449
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.prototype.serializeBinary = function() {
|
|
1450
|
+
var writer = new jspb.BinaryWriter();
|
|
1451
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.serializeBinaryToWriter(this, writer);
|
|
1452
|
+
return writer.getResultBuffer();
|
|
1453
|
+
};
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1458
|
+
* format), writing to the given BinaryWriter.
|
|
1459
|
+
* @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest} message
|
|
1460
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1462
|
+
*/
|
|
1463
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1464
|
+
var f = undefined;
|
|
1465
|
+
f = message.getRef();
|
|
1466
|
+
if (f.length > 0) {
|
|
1467
|
+
writer.writeString(
|
|
1468
|
+
1,
|
|
1469
|
+
f
|
|
1470
|
+
);
|
|
1471
|
+
}
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* optional string ref = 1;
|
|
1477
|
+
* @return {string}
|
|
1478
|
+
*/
|
|
1479
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.prototype.getRef = function() {
|
|
1480
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* @param {string} value
|
|
1486
|
+
* @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest} returns this
|
|
1487
|
+
*/
|
|
1488
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.prototype.setRef = function(value) {
|
|
1489
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1497
|
+
/**
|
|
1498
|
+
* Creates an object representation of this proto.
|
|
1499
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1500
|
+
* Optional fields that are not set will be set to undefined.
|
|
1501
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1502
|
+
* For the list of reserved names please see:
|
|
1503
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1504
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1505
|
+
* JSPB instance for transitional soy proto support:
|
|
1506
|
+
* http://goto/soy-param-migration
|
|
1507
|
+
* @return {!Object}
|
|
1508
|
+
*/
|
|
1509
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1510
|
+
return proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.toObject(opt_includeInstance, this);
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Static version of the {@see toObject} method.
|
|
1516
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1517
|
+
* the JSPB instance for transitional soy proto support:
|
|
1518
|
+
* http://goto/soy-param-migration
|
|
1519
|
+
* @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} msg The msg instance to transform.
|
|
1520
|
+
* @return {!Object}
|
|
1521
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1522
|
+
*/
|
|
1523
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.toObject = function(includeInstance, msg) {
|
|
1524
|
+
var f, obj = {
|
|
1525
|
+
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1526
|
+
signingSecret: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1527
|
+
signingSecretHint: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
if (includeInstance) {
|
|
1531
|
+
obj.$jspbMessageInstance = msg;
|
|
1532
|
+
}
|
|
1533
|
+
return obj;
|
|
1534
|
+
};
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1540
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1541
|
+
* @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse}
|
|
1542
|
+
*/
|
|
1543
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.deserializeBinary = function(bytes) {
|
|
1544
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1545
|
+
var msg = new proto.fonoster.applications.v1beta2.RotateSigningSecretResponse;
|
|
1546
|
+
return proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.deserializeBinaryFromReader(msg, reader);
|
|
1547
|
+
};
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1552
|
+
* given reader into the given message object.
|
|
1553
|
+
* @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} msg The message object to deserialize into.
|
|
1554
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1555
|
+
* @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse}
|
|
1556
|
+
*/
|
|
1557
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1558
|
+
while (reader.nextField()) {
|
|
1559
|
+
if (reader.isEndGroup()) {
|
|
1560
|
+
break;
|
|
1561
|
+
}
|
|
1562
|
+
var field = reader.getFieldNumber();
|
|
1563
|
+
switch (field) {
|
|
1564
|
+
case 1:
|
|
1565
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1566
|
+
msg.setRef(value);
|
|
1567
|
+
break;
|
|
1568
|
+
case 2:
|
|
1569
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1570
|
+
msg.setSigningSecret(value);
|
|
1571
|
+
break;
|
|
1572
|
+
case 3:
|
|
1573
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1574
|
+
msg.setSigningSecretHint(value);
|
|
1575
|
+
break;
|
|
1576
|
+
default:
|
|
1577
|
+
reader.skipField();
|
|
1578
|
+
break;
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
return msg;
|
|
1582
|
+
};
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1587
|
+
* @return {!Uint8Array}
|
|
1588
|
+
*/
|
|
1589
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.serializeBinary = function() {
|
|
1590
|
+
var writer = new jspb.BinaryWriter();
|
|
1591
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.serializeBinaryToWriter(this, writer);
|
|
1592
|
+
return writer.getResultBuffer();
|
|
1593
|
+
};
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1598
|
+
* format), writing to the given BinaryWriter.
|
|
1599
|
+
* @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} message
|
|
1600
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1601
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1602
|
+
*/
|
|
1603
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1604
|
+
var f = undefined;
|
|
1605
|
+
f = message.getRef();
|
|
1606
|
+
if (f.length > 0) {
|
|
1607
|
+
writer.writeString(
|
|
1608
|
+
1,
|
|
1609
|
+
f
|
|
1610
|
+
);
|
|
1611
|
+
}
|
|
1612
|
+
f = message.getSigningSecret();
|
|
1613
|
+
if (f.length > 0) {
|
|
1614
|
+
writer.writeString(
|
|
1615
|
+
2,
|
|
1616
|
+
f
|
|
1617
|
+
);
|
|
1618
|
+
}
|
|
1619
|
+
f = message.getSigningSecretHint();
|
|
1620
|
+
if (f.length > 0) {
|
|
1621
|
+
writer.writeString(
|
|
1622
|
+
3,
|
|
1623
|
+
f
|
|
1624
|
+
);
|
|
1625
|
+
}
|
|
1626
|
+
};
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* optional string ref = 1;
|
|
1631
|
+
* @return {string}
|
|
1632
|
+
*/
|
|
1633
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.getRef = function() {
|
|
1634
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* @param {string} value
|
|
1640
|
+
* @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} returns this
|
|
1641
|
+
*/
|
|
1642
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.setRef = function(value) {
|
|
1643
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* optional string signing_secret = 2;
|
|
1649
|
+
* @return {string}
|
|
1650
|
+
*/
|
|
1651
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.getSigningSecret = function() {
|
|
1652
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* @param {string} value
|
|
1658
|
+
* @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} returns this
|
|
1659
|
+
*/
|
|
1660
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.setSigningSecret = function(value) {
|
|
1661
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1662
|
+
};
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* optional string signing_secret_hint = 3;
|
|
1667
|
+
* @return {string}
|
|
1668
|
+
*/
|
|
1669
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.getSigningSecretHint = function() {
|
|
1670
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1671
|
+
};
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* @param {string} value
|
|
1676
|
+
* @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} returns this
|
|
1677
|
+
*/
|
|
1678
|
+
proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.setSigningSecretHint = function(value) {
|
|
1679
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1687
|
+
/**
|
|
1688
|
+
* Creates an object representation of this proto.
|
|
1689
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1690
|
+
* Optional fields that are not set will be set to undefined.
|
|
1691
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1692
|
+
* For the list of reserved names please see:
|
|
1693
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1694
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1695
|
+
* JSPB instance for transitional soy proto support:
|
|
1696
|
+
* http://goto/soy-param-migration
|
|
1697
|
+
* @return {!Object}
|
|
1698
|
+
*/
|
|
1699
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject = function(opt_includeInstance) {
|
|
1700
|
+
return proto.fonoster.applications.v1beta2.ProductContainer.toObject(opt_includeInstance, this);
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* Static version of the {@see toObject} method.
|
|
1706
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1707
|
+
* the JSPB instance for transitional soy proto support:
|
|
1708
|
+
* http://goto/soy-param-migration
|
|
1709
|
+
* @param {!proto.fonoster.applications.v1beta2.ProductContainer} msg The msg instance to transform.
|
|
1710
|
+
* @return {!Object}
|
|
1711
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1712
|
+
*/
|
|
1713
|
+
proto.fonoster.applications.v1beta2.ProductContainer.toObject = function(includeInstance, msg) {
|
|
1714
|
+
var f, obj = {
|
|
1715
|
+
productRef: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1716
|
+
config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
1717
|
+
credentials: (f = msg.getCredentials()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
1718
|
+
};
|
|
1719
|
+
|
|
1720
|
+
if (includeInstance) {
|
|
1721
|
+
obj.$jspbMessageInstance = msg;
|
|
1722
|
+
}
|
|
1723
|
+
return obj;
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1730
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1731
|
+
* @return {!proto.fonoster.applications.v1beta2.ProductContainer}
|
|
1732
|
+
*/
|
|
1733
|
+
proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinary = function(bytes) {
|
|
1734
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1735
|
+
var msg = new proto.fonoster.applications.v1beta2.ProductContainer;
|
|
1736
|
+
return proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader(msg, reader);
|
|
1737
|
+
};
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1742
|
+
* given reader into the given message object.
|
|
1743
|
+
* @param {!proto.fonoster.applications.v1beta2.ProductContainer} msg The message object to deserialize into.
|
|
1744
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1745
|
+
* @return {!proto.fonoster.applications.v1beta2.ProductContainer}
|
|
1746
|
+
*/
|
|
1747
|
+
proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader = function(msg, reader) {
|
|
1748
|
+
while (reader.nextField()) {
|
|
1749
|
+
if (reader.isEndGroup()) {
|
|
1750
|
+
break;
|
|
1751
|
+
}
|
|
1752
|
+
var field = reader.getFieldNumber();
|
|
1753
|
+
switch (field) {
|
|
1754
|
+
case 1:
|
|
1755
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1756
|
+
msg.setProductRef(value);
|
|
1757
|
+
break;
|
|
1758
|
+
case 2:
|
|
1759
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
1760
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
1761
|
+
msg.setConfig(value);
|
|
1762
|
+
break;
|
|
1763
|
+
case 3:
|
|
1764
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
1765
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
1766
|
+
msg.setCredentials(value);
|
|
1767
|
+
break;
|
|
1768
|
+
default:
|
|
1769
|
+
reader.skipField();
|
|
1770
|
+
break;
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
return msg;
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1779
|
+
* @return {!Uint8Array}
|
|
1780
|
+
*/
|
|
1781
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary = function() {
|
|
1782
|
+
var writer = new jspb.BinaryWriter();
|
|
1783
|
+
proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter(this, writer);
|
|
1784
|
+
return writer.getResultBuffer();
|
|
1785
|
+
};
|
|
1786
|
+
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1790
|
+
* format), writing to the given BinaryWriter.
|
|
1791
|
+
* @param {!proto.fonoster.applications.v1beta2.ProductContainer} message
|
|
1792
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1793
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1794
|
+
*/
|
|
1795
|
+
proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter = function(message, writer) {
|
|
1796
|
+
var f = undefined;
|
|
1797
|
+
f = message.getProductRef();
|
|
1798
|
+
if (f.length > 0) {
|
|
1799
|
+
writer.writeString(
|
|
1800
|
+
1,
|
|
1801
|
+
f
|
|
1802
|
+
);
|
|
1803
|
+
}
|
|
1804
|
+
f = message.getConfig();
|
|
1805
|
+
if (f != null) {
|
|
1806
|
+
writer.writeMessage(
|
|
1807
|
+
2,
|
|
1808
|
+
f,
|
|
1809
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
1810
|
+
);
|
|
1811
|
+
}
|
|
1812
|
+
f = message.getCredentials();
|
|
1813
|
+
if (f != null) {
|
|
1814
|
+
writer.writeMessage(
|
|
1815
|
+
3,
|
|
1816
|
+
f,
|
|
1817
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
1818
|
+
);
|
|
1819
|
+
}
|
|
1820
|
+
};
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* optional string product_ref = 1;
|
|
1825
|
+
* @return {string}
|
|
1826
|
+
*/
|
|
1827
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.getProductRef = function() {
|
|
1828
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* @param {string} value
|
|
1834
|
+
* @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
|
|
1835
|
+
*/
|
|
1836
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.setProductRef = function(value) {
|
|
1837
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* optional google.protobuf.Struct config = 2;
|
|
1843
|
+
* @return {?proto.google.protobuf.Struct}
|
|
1844
|
+
*/
|
|
1845
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.getConfig = function() {
|
|
1846
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
1847
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 2));
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
1853
|
+
* @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
|
|
1854
|
+
*/
|
|
1855
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.setConfig = function(value) {
|
|
1856
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* Clears the message field making it undefined.
|
|
1862
|
+
* @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
|
|
1863
|
+
*/
|
|
1864
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearConfig = function() {
|
|
1865
|
+
return this.setConfig(undefined);
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* Returns whether this field is set.
|
|
1871
|
+
* @return {boolean}
|
|
1872
|
+
*/
|
|
1873
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasConfig = function() {
|
|
1874
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1875
|
+
};
|
|
1876
|
+
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* optional google.protobuf.Struct credentials = 3;
|
|
1880
|
+
* @return {?proto.google.protobuf.Struct}
|
|
1881
|
+
*/
|
|
1882
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.getCredentials = function() {
|
|
1883
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
1884
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 3));
|
|
1885
|
+
};
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
1890
|
+
* @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
|
|
1891
|
+
*/
|
|
1892
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.setCredentials = function(value) {
|
|
1893
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* Clears the message field making it undefined.
|
|
1899
|
+
* @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
|
|
1900
|
+
*/
|
|
1901
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearCredentials = function() {
|
|
1902
|
+
return this.setCredentials(undefined);
|
|
1903
|
+
};
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* Returns whether this field is set.
|
|
1908
|
+
* @return {boolean}
|
|
1909
|
+
*/
|
|
1910
|
+
proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasCredentials = function() {
|
|
1911
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1912
|
+
};
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* List of repeated fields within this message type.
|
|
1918
|
+
* @private {!Array<number>}
|
|
1919
|
+
* @const
|
|
1920
|
+
*/
|
|
1921
|
+
proto.fonoster.applications.v1beta2.Application.repeatedFields_ = [17];
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1926
|
+
/**
|
|
1927
|
+
* Creates an object representation of this proto.
|
|
1928
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1929
|
+
* Optional fields that are not set will be set to undefined.
|
|
1930
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1931
|
+
* For the list of reserved names please see:
|
|
1932
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1933
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1934
|
+
* JSPB instance for transitional soy proto support:
|
|
1935
|
+
* http://goto/soy-param-migration
|
|
1936
|
+
* @return {!Object}
|
|
1937
|
+
*/
|
|
1938
|
+
proto.fonoster.applications.v1beta2.Application.prototype.toObject = function(opt_includeInstance) {
|
|
1939
|
+
return proto.fonoster.applications.v1beta2.Application.toObject(opt_includeInstance, this);
|
|
1940
|
+
};
|
|
1941
|
+
|
|
1942
|
+
|
|
1943
|
+
/**
|
|
1944
|
+
* Static version of the {@see toObject} method.
|
|
1945
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1946
|
+
* the JSPB instance for transitional soy proto support:
|
|
1947
|
+
* http://goto/soy-param-migration
|
|
1948
|
+
* @param {!proto.fonoster.applications.v1beta2.Application} msg The msg instance to transform.
|
|
1949
|
+
* @return {!Object}
|
|
1950
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1951
|
+
*/
|
|
1952
|
+
proto.fonoster.applications.v1beta2.Application.toObject = function(includeInstance, msg) {
|
|
734
1953
|
var f, obj = {
|
|
735
1954
|
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
736
1955
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -740,7 +1959,18 @@ textToSpeech: (f = msg.getTextToSpeech()) && proto.fonoster.applications.v1beta2
|
|
|
740
1959
|
speechToText: (f = msg.getSpeechToText()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
|
|
741
1960
|
intelligence: (f = msg.getIntelligence()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
|
|
742
1961
|
createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
743
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
1962
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
1963
|
+
url: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1964
|
+
protocol: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1965
|
+
signingSecretHint: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1966
|
+
speech: (f = msg.getSpeech()) && proto.fonoster.applications.v1beta2.SpeechDefaults.toObject(includeInstance, f),
|
|
1967
|
+
audio: (f = msg.getAudio()) && proto.fonoster.applications.v1beta2.AudioFormat.toObject(includeInstance, f),
|
|
1968
|
+
fallbackAppRef: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1969
|
+
fallbackMessage: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
1970
|
+
listenersList: jspb.Message.toObjectList(msg.getListenersList(),
|
|
1971
|
+
proto.fonoster.applications.v1beta2.Listener.toObject, includeInstance),
|
|
1972
|
+
recording: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1973
|
+
amd: (f = msg.getAmd()) && proto.fonoster.applications.v1beta2.AmdSettings.toObject(includeInstance, f)
|
|
744
1974
|
};
|
|
745
1975
|
|
|
746
1976
|
if (includeInstance) {
|
|
@@ -803,18 +2033,62 @@ proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader = fu
|
|
|
803
2033
|
reader.readMessage(value,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader);
|
|
804
2034
|
msg.setSpeechToText(value);
|
|
805
2035
|
break;
|
|
806
|
-
case 7:
|
|
807
|
-
var value = new proto.fonoster.applications.v1beta2.ProductContainer;
|
|
808
|
-
reader.readMessage(value,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader);
|
|
809
|
-
msg.setIntelligence(value);
|
|
2036
|
+
case 7:
|
|
2037
|
+
var value = new proto.fonoster.applications.v1beta2.ProductContainer;
|
|
2038
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader);
|
|
2039
|
+
msg.setIntelligence(value);
|
|
2040
|
+
break;
|
|
2041
|
+
case 8:
|
|
2042
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2043
|
+
msg.setCreatedAt(value);
|
|
2044
|
+
break;
|
|
2045
|
+
case 9:
|
|
2046
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2047
|
+
msg.setUpdatedAt(value);
|
|
2048
|
+
break;
|
|
2049
|
+
case 10:
|
|
2050
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2051
|
+
msg.setUrl(value);
|
|
2052
|
+
break;
|
|
2053
|
+
case 11:
|
|
2054
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2055
|
+
msg.setProtocol(value);
|
|
2056
|
+
break;
|
|
2057
|
+
case 12:
|
|
2058
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2059
|
+
msg.setSigningSecretHint(value);
|
|
2060
|
+
break;
|
|
2061
|
+
case 13:
|
|
2062
|
+
var value = new proto.fonoster.applications.v1beta2.SpeechDefaults;
|
|
2063
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader);
|
|
2064
|
+
msg.setSpeech(value);
|
|
2065
|
+
break;
|
|
2066
|
+
case 14:
|
|
2067
|
+
var value = new proto.fonoster.applications.v1beta2.AudioFormat;
|
|
2068
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader);
|
|
2069
|
+
msg.setAudio(value);
|
|
2070
|
+
break;
|
|
2071
|
+
case 15:
|
|
2072
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2073
|
+
msg.setFallbackAppRef(value);
|
|
2074
|
+
break;
|
|
2075
|
+
case 16:
|
|
2076
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2077
|
+
msg.setFallbackMessage(value);
|
|
2078
|
+
break;
|
|
2079
|
+
case 17:
|
|
2080
|
+
var value = new proto.fonoster.applications.v1beta2.Listener;
|
|
2081
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader);
|
|
2082
|
+
msg.addListeners(value);
|
|
810
2083
|
break;
|
|
811
|
-
case
|
|
812
|
-
var value = /** @type {
|
|
813
|
-
msg.
|
|
2084
|
+
case 18:
|
|
2085
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2086
|
+
msg.setRecording(value);
|
|
814
2087
|
break;
|
|
815
|
-
case
|
|
816
|
-
var value =
|
|
817
|
-
|
|
2088
|
+
case 19:
|
|
2089
|
+
var value = new proto.fonoster.applications.v1beta2.AmdSettings;
|
|
2090
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader);
|
|
2091
|
+
msg.setAmd(value);
|
|
818
2092
|
break;
|
|
819
2093
|
default:
|
|
820
2094
|
reader.skipField();
|
|
@@ -911,6 +2185,80 @@ proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter = functi
|
|
|
911
2185
|
f
|
|
912
2186
|
);
|
|
913
2187
|
}
|
|
2188
|
+
f = message.getUrl();
|
|
2189
|
+
if (f.length > 0) {
|
|
2190
|
+
writer.writeString(
|
|
2191
|
+
10,
|
|
2192
|
+
f
|
|
2193
|
+
);
|
|
2194
|
+
}
|
|
2195
|
+
f = message.getProtocol();
|
|
2196
|
+
if (f.length > 0) {
|
|
2197
|
+
writer.writeString(
|
|
2198
|
+
11,
|
|
2199
|
+
f
|
|
2200
|
+
);
|
|
2201
|
+
}
|
|
2202
|
+
f = message.getSigningSecretHint();
|
|
2203
|
+
if (f.length > 0) {
|
|
2204
|
+
writer.writeString(
|
|
2205
|
+
12,
|
|
2206
|
+
f
|
|
2207
|
+
);
|
|
2208
|
+
}
|
|
2209
|
+
f = message.getSpeech();
|
|
2210
|
+
if (f != null) {
|
|
2211
|
+
writer.writeMessage(
|
|
2212
|
+
13,
|
|
2213
|
+
f,
|
|
2214
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter
|
|
2215
|
+
);
|
|
2216
|
+
}
|
|
2217
|
+
f = message.getAudio();
|
|
2218
|
+
if (f != null) {
|
|
2219
|
+
writer.writeMessage(
|
|
2220
|
+
14,
|
|
2221
|
+
f,
|
|
2222
|
+
proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter
|
|
2223
|
+
);
|
|
2224
|
+
}
|
|
2225
|
+
f = message.getFallbackAppRef();
|
|
2226
|
+
if (f.length > 0) {
|
|
2227
|
+
writer.writeString(
|
|
2228
|
+
15,
|
|
2229
|
+
f
|
|
2230
|
+
);
|
|
2231
|
+
}
|
|
2232
|
+
f = message.getFallbackMessage();
|
|
2233
|
+
if (f.length > 0) {
|
|
2234
|
+
writer.writeString(
|
|
2235
|
+
16,
|
|
2236
|
+
f
|
|
2237
|
+
);
|
|
2238
|
+
}
|
|
2239
|
+
f = message.getListenersList();
|
|
2240
|
+
if (f.length > 0) {
|
|
2241
|
+
writer.writeRepeatedMessage(
|
|
2242
|
+
17,
|
|
2243
|
+
f,
|
|
2244
|
+
proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter
|
|
2245
|
+
);
|
|
2246
|
+
}
|
|
2247
|
+
f = message.getRecording();
|
|
2248
|
+
if (f.length > 0) {
|
|
2249
|
+
writer.writeString(
|
|
2250
|
+
18,
|
|
2251
|
+
f
|
|
2252
|
+
);
|
|
2253
|
+
}
|
|
2254
|
+
f = message.getAmd();
|
|
2255
|
+
if (f != null) {
|
|
2256
|
+
writer.writeMessage(
|
|
2257
|
+
19,
|
|
2258
|
+
f,
|
|
2259
|
+
proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter
|
|
2260
|
+
);
|
|
2261
|
+
}
|
|
914
2262
|
};
|
|
915
2263
|
|
|
916
2264
|
|
|
@@ -1071,69 +2419,333 @@ proto.fonoster.applications.v1beta2.Application.prototype.getIntelligence = func
|
|
|
1071
2419
|
|
|
1072
2420
|
|
|
1073
2421
|
/**
|
|
1074
|
-
* @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
|
|
2422
|
+
* @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
|
|
2423
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2424
|
+
*/
|
|
2425
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setIntelligence = function(value) {
|
|
2426
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
2427
|
+
};
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* Clears the message field making it undefined.
|
|
2432
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2433
|
+
*/
|
|
2434
|
+
proto.fonoster.applications.v1beta2.Application.prototype.clearIntelligence = function() {
|
|
2435
|
+
return this.setIntelligence(undefined);
|
|
2436
|
+
};
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* Returns whether this field is set.
|
|
2441
|
+
* @return {boolean}
|
|
2442
|
+
*/
|
|
2443
|
+
proto.fonoster.applications.v1beta2.Application.prototype.hasIntelligence = function() {
|
|
2444
|
+
return jspb.Message.getField(this, 7) != null;
|
|
2445
|
+
};
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
* optional int32 created_at = 8;
|
|
2450
|
+
* @return {number}
|
|
2451
|
+
*/
|
|
2452
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getCreatedAt = function() {
|
|
2453
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
2454
|
+
};
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* @param {number} value
|
|
2459
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2460
|
+
*/
|
|
2461
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setCreatedAt = function(value) {
|
|
2462
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
2463
|
+
};
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* optional int32 updated_at = 9;
|
|
2468
|
+
* @return {number}
|
|
2469
|
+
*/
|
|
2470
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getUpdatedAt = function() {
|
|
2471
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
2472
|
+
};
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* @param {number} value
|
|
2477
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2478
|
+
*/
|
|
2479
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setUpdatedAt = function(value) {
|
|
2480
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
2481
|
+
};
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* optional string url = 10;
|
|
2486
|
+
* @return {string}
|
|
2487
|
+
*/
|
|
2488
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getUrl = function() {
|
|
2489
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2490
|
+
};
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* @param {string} value
|
|
2495
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2496
|
+
*/
|
|
2497
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setUrl = function(value) {
|
|
2498
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
2499
|
+
};
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* optional string protocol = 11;
|
|
2504
|
+
* @return {string}
|
|
2505
|
+
*/
|
|
2506
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getProtocol = function() {
|
|
2507
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
2508
|
+
};
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* @param {string} value
|
|
2513
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2514
|
+
*/
|
|
2515
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setProtocol = function(value) {
|
|
2516
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
2517
|
+
};
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* optional string signing_secret_hint = 12;
|
|
2522
|
+
* @return {string}
|
|
2523
|
+
*/
|
|
2524
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getSigningSecretHint = function() {
|
|
2525
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
2526
|
+
};
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* @param {string} value
|
|
2531
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2532
|
+
*/
|
|
2533
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setSigningSecretHint = function(value) {
|
|
2534
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
2535
|
+
};
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* optional SpeechDefaults speech = 13;
|
|
2540
|
+
* @return {?proto.fonoster.applications.v1beta2.SpeechDefaults}
|
|
2541
|
+
*/
|
|
2542
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getSpeech = function() {
|
|
2543
|
+
return /** @type{?proto.fonoster.applications.v1beta2.SpeechDefaults} */ (
|
|
2544
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.SpeechDefaults, 13));
|
|
2545
|
+
};
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* @param {?proto.fonoster.applications.v1beta2.SpeechDefaults|undefined} value
|
|
2550
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2551
|
+
*/
|
|
2552
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setSpeech = function(value) {
|
|
2553
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
2554
|
+
};
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* Clears the message field making it undefined.
|
|
2559
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2560
|
+
*/
|
|
2561
|
+
proto.fonoster.applications.v1beta2.Application.prototype.clearSpeech = function() {
|
|
2562
|
+
return this.setSpeech(undefined);
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* Returns whether this field is set.
|
|
2568
|
+
* @return {boolean}
|
|
2569
|
+
*/
|
|
2570
|
+
proto.fonoster.applications.v1beta2.Application.prototype.hasSpeech = function() {
|
|
2571
|
+
return jspb.Message.getField(this, 13) != null;
|
|
2572
|
+
};
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* optional AudioFormat audio = 14;
|
|
2577
|
+
* @return {?proto.fonoster.applications.v1beta2.AudioFormat}
|
|
2578
|
+
*/
|
|
2579
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getAudio = function() {
|
|
2580
|
+
return /** @type{?proto.fonoster.applications.v1beta2.AudioFormat} */ (
|
|
2581
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AudioFormat, 14));
|
|
2582
|
+
};
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
/**
|
|
2586
|
+
* @param {?proto.fonoster.applications.v1beta2.AudioFormat|undefined} value
|
|
2587
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2588
|
+
*/
|
|
2589
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setAudio = function(value) {
|
|
2590
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
2591
|
+
};
|
|
2592
|
+
|
|
2593
|
+
|
|
2594
|
+
/**
|
|
2595
|
+
* Clears the message field making it undefined.
|
|
2596
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2597
|
+
*/
|
|
2598
|
+
proto.fonoster.applications.v1beta2.Application.prototype.clearAudio = function() {
|
|
2599
|
+
return this.setAudio(undefined);
|
|
2600
|
+
};
|
|
2601
|
+
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* Returns whether this field is set.
|
|
2605
|
+
* @return {boolean}
|
|
2606
|
+
*/
|
|
2607
|
+
proto.fonoster.applications.v1beta2.Application.prototype.hasAudio = function() {
|
|
2608
|
+
return jspb.Message.getField(this, 14) != null;
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* optional string fallback_app_ref = 15;
|
|
2614
|
+
* @return {string}
|
|
2615
|
+
*/
|
|
2616
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getFallbackAppRef = function() {
|
|
2617
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* @param {string} value
|
|
2623
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2624
|
+
*/
|
|
2625
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setFallbackAppRef = function(value) {
|
|
2626
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* optional string fallback_message = 16;
|
|
2632
|
+
* @return {string}
|
|
2633
|
+
*/
|
|
2634
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getFallbackMessage = function() {
|
|
2635
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* @param {string} value
|
|
2641
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2642
|
+
*/
|
|
2643
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setFallbackMessage = function(value) {
|
|
2644
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* repeated Listener listeners = 17;
|
|
2650
|
+
* @return {!Array<!proto.fonoster.applications.v1beta2.Listener>}
|
|
2651
|
+
*/
|
|
2652
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getListenersList = function() {
|
|
2653
|
+
return /** @type{!Array<!proto.fonoster.applications.v1beta2.Listener>} */ (
|
|
2654
|
+
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.Listener, 17));
|
|
2655
|
+
};
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* @param {!Array<!proto.fonoster.applications.v1beta2.Listener>} value
|
|
2660
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
2661
|
+
*/
|
|
2662
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setListenersList = function(value) {
|
|
2663
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
2664
|
+
};
|
|
2665
|
+
|
|
2666
|
+
|
|
2667
|
+
/**
|
|
2668
|
+
* @param {!proto.fonoster.applications.v1beta2.Listener=} opt_value
|
|
2669
|
+
* @param {number=} opt_index
|
|
2670
|
+
* @return {!proto.fonoster.applications.v1beta2.Listener}
|
|
2671
|
+
*/
|
|
2672
|
+
proto.fonoster.applications.v1beta2.Application.prototype.addListeners = function(opt_value, opt_index) {
|
|
2673
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.fonoster.applications.v1beta2.Listener, opt_index);
|
|
2674
|
+
};
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
/**
|
|
2678
|
+
* Clears the list making it empty but non-null.
|
|
1075
2679
|
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
1076
|
-
*/
|
|
1077
|
-
proto.fonoster.applications.v1beta2.Application.prototype.
|
|
1078
|
-
return
|
|
2680
|
+
*/
|
|
2681
|
+
proto.fonoster.applications.v1beta2.Application.prototype.clearListenersList = function() {
|
|
2682
|
+
return this.setListenersList([]);
|
|
1079
2683
|
};
|
|
1080
2684
|
|
|
1081
2685
|
|
|
1082
2686
|
/**
|
|
1083
|
-
*
|
|
1084
|
-
* @return {
|
|
2687
|
+
* optional string recording = 18;
|
|
2688
|
+
* @return {string}
|
|
1085
2689
|
*/
|
|
1086
|
-
proto.fonoster.applications.v1beta2.Application.prototype.
|
|
1087
|
-
return
|
|
2690
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getRecording = function() {
|
|
2691
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
1088
2692
|
};
|
|
1089
2693
|
|
|
1090
2694
|
|
|
1091
2695
|
/**
|
|
1092
|
-
*
|
|
1093
|
-
* @return {
|
|
2696
|
+
* @param {string} value
|
|
2697
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
1094
2698
|
*/
|
|
1095
|
-
proto.fonoster.applications.v1beta2.Application.prototype.
|
|
1096
|
-
return jspb.Message.
|
|
2699
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setRecording = function(value) {
|
|
2700
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
1097
2701
|
};
|
|
1098
2702
|
|
|
1099
2703
|
|
|
1100
2704
|
/**
|
|
1101
|
-
* optional
|
|
1102
|
-
* @return {
|
|
2705
|
+
* optional AmdSettings amd = 19;
|
|
2706
|
+
* @return {?proto.fonoster.applications.v1beta2.AmdSettings}
|
|
1103
2707
|
*/
|
|
1104
|
-
proto.fonoster.applications.v1beta2.Application.prototype.
|
|
1105
|
-
return /** @type
|
|
2708
|
+
proto.fonoster.applications.v1beta2.Application.prototype.getAmd = function() {
|
|
2709
|
+
return /** @type{?proto.fonoster.applications.v1beta2.AmdSettings} */ (
|
|
2710
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AmdSettings, 19));
|
|
1106
2711
|
};
|
|
1107
2712
|
|
|
1108
2713
|
|
|
1109
2714
|
/**
|
|
1110
|
-
* @param {
|
|
2715
|
+
* @param {?proto.fonoster.applications.v1beta2.AmdSettings|undefined} value
|
|
1111
2716
|
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
1112
|
-
|
|
1113
|
-
proto.fonoster.applications.v1beta2.Application.prototype.
|
|
1114
|
-
return jspb.Message.
|
|
2717
|
+
*/
|
|
2718
|
+
proto.fonoster.applications.v1beta2.Application.prototype.setAmd = function(value) {
|
|
2719
|
+
return jspb.Message.setWrapperField(this, 19, value);
|
|
1115
2720
|
};
|
|
1116
2721
|
|
|
1117
2722
|
|
|
1118
2723
|
/**
|
|
1119
|
-
*
|
|
1120
|
-
* @return {
|
|
2724
|
+
* Clears the message field making it undefined.
|
|
2725
|
+
* @return {!proto.fonoster.applications.v1beta2.Application} returns this
|
|
1121
2726
|
*/
|
|
1122
|
-
proto.fonoster.applications.v1beta2.Application.prototype.
|
|
1123
|
-
return
|
|
2727
|
+
proto.fonoster.applications.v1beta2.Application.prototype.clearAmd = function() {
|
|
2728
|
+
return this.setAmd(undefined);
|
|
1124
2729
|
};
|
|
1125
2730
|
|
|
1126
2731
|
|
|
1127
2732
|
/**
|
|
1128
|
-
*
|
|
1129
|
-
* @return {
|
|
2733
|
+
* Returns whether this field is set.
|
|
2734
|
+
* @return {boolean}
|
|
1130
2735
|
*/
|
|
1131
|
-
proto.fonoster.applications.v1beta2.Application.prototype.
|
|
1132
|
-
return jspb.Message.
|
|
2736
|
+
proto.fonoster.applications.v1beta2.Application.prototype.hasAmd = function() {
|
|
2737
|
+
return jspb.Message.getField(this, 19) != null;
|
|
1133
2738
|
};
|
|
1134
2739
|
|
|
1135
2740
|
|
|
1136
2741
|
|
|
2742
|
+
/**
|
|
2743
|
+
* List of repeated fields within this message type.
|
|
2744
|
+
* @private {!Array<number>}
|
|
2745
|
+
* @const
|
|
2746
|
+
*/
|
|
2747
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.repeatedFields_ = [13];
|
|
2748
|
+
|
|
1137
2749
|
|
|
1138
2750
|
|
|
1139
2751
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1170,7 +2782,17 @@ type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
|
1170
2782
|
endpoint: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1171
2783
|
textToSpeech: (f = msg.getTextToSpeech()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
|
|
1172
2784
|
speechToText: (f = msg.getSpeechToText()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
|
|
1173
|
-
intelligence: (f = msg.getIntelligence()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f)
|
|
2785
|
+
intelligence: (f = msg.getIntelligence()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
|
|
2786
|
+
url: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2787
|
+
protocol: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2788
|
+
speech: (f = msg.getSpeech()) && proto.fonoster.applications.v1beta2.SpeechDefaults.toObject(includeInstance, f),
|
|
2789
|
+
audio: (f = msg.getAudio()) && proto.fonoster.applications.v1beta2.AudioFormat.toObject(includeInstance, f),
|
|
2790
|
+
fallbackAppRef: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2791
|
+
fallbackMessage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2792
|
+
listenersList: jspb.Message.toObjectList(msg.getListenersList(),
|
|
2793
|
+
proto.fonoster.applications.v1beta2.Listener.toObject, includeInstance),
|
|
2794
|
+
recording: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
2795
|
+
amd: (f = msg.getAmd()) && proto.fonoster.applications.v1beta2.AmdSettings.toObject(includeInstance, f)
|
|
1174
2796
|
};
|
|
1175
2797
|
|
|
1176
2798
|
if (includeInstance) {
|
|
@@ -1234,6 +2856,46 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinaryFr
|
|
|
1234
2856
|
reader.readMessage(value,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader);
|
|
1235
2857
|
msg.setIntelligence(value);
|
|
1236
2858
|
break;
|
|
2859
|
+
case 7:
|
|
2860
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2861
|
+
msg.setUrl(value);
|
|
2862
|
+
break;
|
|
2863
|
+
case 8:
|
|
2864
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2865
|
+
msg.setProtocol(value);
|
|
2866
|
+
break;
|
|
2867
|
+
case 9:
|
|
2868
|
+
var value = new proto.fonoster.applications.v1beta2.SpeechDefaults;
|
|
2869
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader);
|
|
2870
|
+
msg.setSpeech(value);
|
|
2871
|
+
break;
|
|
2872
|
+
case 10:
|
|
2873
|
+
var value = new proto.fonoster.applications.v1beta2.AudioFormat;
|
|
2874
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader);
|
|
2875
|
+
msg.setAudio(value);
|
|
2876
|
+
break;
|
|
2877
|
+
case 11:
|
|
2878
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2879
|
+
msg.setFallbackAppRef(value);
|
|
2880
|
+
break;
|
|
2881
|
+
case 12:
|
|
2882
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2883
|
+
msg.setFallbackMessage(value);
|
|
2884
|
+
break;
|
|
2885
|
+
case 13:
|
|
2886
|
+
var value = new proto.fonoster.applications.v1beta2.Listener;
|
|
2887
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader);
|
|
2888
|
+
msg.addListeners(value);
|
|
2889
|
+
break;
|
|
2890
|
+
case 14:
|
|
2891
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2892
|
+
msg.setRecording(value);
|
|
2893
|
+
break;
|
|
2894
|
+
case 15:
|
|
2895
|
+
var value = new proto.fonoster.applications.v1beta2.AmdSettings;
|
|
2896
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader);
|
|
2897
|
+
msg.setAmd(value);
|
|
2898
|
+
break;
|
|
1237
2899
|
default:
|
|
1238
2900
|
reader.skipField();
|
|
1239
2901
|
break;
|
|
@@ -1308,51 +2970,265 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWr
|
|
|
1308
2970
|
proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
|
|
1309
2971
|
);
|
|
1310
2972
|
}
|
|
2973
|
+
f = message.getUrl();
|
|
2974
|
+
if (f.length > 0) {
|
|
2975
|
+
writer.writeString(
|
|
2976
|
+
7,
|
|
2977
|
+
f
|
|
2978
|
+
);
|
|
2979
|
+
}
|
|
2980
|
+
f = message.getProtocol();
|
|
2981
|
+
if (f.length > 0) {
|
|
2982
|
+
writer.writeString(
|
|
2983
|
+
8,
|
|
2984
|
+
f
|
|
2985
|
+
);
|
|
2986
|
+
}
|
|
2987
|
+
f = message.getSpeech();
|
|
2988
|
+
if (f != null) {
|
|
2989
|
+
writer.writeMessage(
|
|
2990
|
+
9,
|
|
2991
|
+
f,
|
|
2992
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter
|
|
2993
|
+
);
|
|
2994
|
+
}
|
|
2995
|
+
f = message.getAudio();
|
|
2996
|
+
if (f != null) {
|
|
2997
|
+
writer.writeMessage(
|
|
2998
|
+
10,
|
|
2999
|
+
f,
|
|
3000
|
+
proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter
|
|
3001
|
+
);
|
|
3002
|
+
}
|
|
3003
|
+
f = message.getFallbackAppRef();
|
|
3004
|
+
if (f.length > 0) {
|
|
3005
|
+
writer.writeString(
|
|
3006
|
+
11,
|
|
3007
|
+
f
|
|
3008
|
+
);
|
|
3009
|
+
}
|
|
3010
|
+
f = message.getFallbackMessage();
|
|
3011
|
+
if (f.length > 0) {
|
|
3012
|
+
writer.writeString(
|
|
3013
|
+
12,
|
|
3014
|
+
f
|
|
3015
|
+
);
|
|
3016
|
+
}
|
|
3017
|
+
f = message.getListenersList();
|
|
3018
|
+
if (f.length > 0) {
|
|
3019
|
+
writer.writeRepeatedMessage(
|
|
3020
|
+
13,
|
|
3021
|
+
f,
|
|
3022
|
+
proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter
|
|
3023
|
+
);
|
|
3024
|
+
}
|
|
3025
|
+
f = message.getRecording();
|
|
3026
|
+
if (f.length > 0) {
|
|
3027
|
+
writer.writeString(
|
|
3028
|
+
14,
|
|
3029
|
+
f
|
|
3030
|
+
);
|
|
3031
|
+
}
|
|
3032
|
+
f = message.getAmd();
|
|
3033
|
+
if (f != null) {
|
|
3034
|
+
writer.writeMessage(
|
|
3035
|
+
15,
|
|
3036
|
+
f,
|
|
3037
|
+
proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter
|
|
3038
|
+
);
|
|
3039
|
+
}
|
|
3040
|
+
};
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* optional string name = 1;
|
|
3045
|
+
* @return {string}
|
|
3046
|
+
*/
|
|
3047
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getName = function() {
|
|
3048
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3049
|
+
};
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* @param {string} value
|
|
3054
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3055
|
+
*/
|
|
3056
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setName = function(value) {
|
|
3057
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3058
|
+
};
|
|
3059
|
+
|
|
3060
|
+
|
|
3061
|
+
/**
|
|
3062
|
+
* optional ApplicationType type = 2;
|
|
3063
|
+
* @return {!proto.fonoster.applications.v1beta2.ApplicationType}
|
|
3064
|
+
*/
|
|
3065
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getType = function() {
|
|
3066
|
+
return /** @type {!proto.fonoster.applications.v1beta2.ApplicationType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3067
|
+
};
|
|
3068
|
+
|
|
3069
|
+
|
|
3070
|
+
/**
|
|
3071
|
+
* @param {!proto.fonoster.applications.v1beta2.ApplicationType} value
|
|
3072
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3073
|
+
*/
|
|
3074
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setType = function(value) {
|
|
3075
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
3076
|
+
};
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
/**
|
|
3080
|
+
* optional string endpoint = 3;
|
|
3081
|
+
* @return {string}
|
|
3082
|
+
*/
|
|
3083
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getEndpoint = function() {
|
|
3084
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3085
|
+
};
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* @param {string} value
|
|
3090
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3091
|
+
*/
|
|
3092
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setEndpoint = function(value) {
|
|
3093
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3094
|
+
};
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
/**
|
|
3098
|
+
* optional ProductContainer text_to_speech = 4;
|
|
3099
|
+
* @return {?proto.fonoster.applications.v1beta2.ProductContainer}
|
|
3100
|
+
*/
|
|
3101
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getTextToSpeech = function() {
|
|
3102
|
+
return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
|
|
3103
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 4));
|
|
3104
|
+
};
|
|
3105
|
+
|
|
3106
|
+
|
|
3107
|
+
/**
|
|
3108
|
+
* @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
|
|
3109
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3110
|
+
*/
|
|
3111
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setTextToSpeech = function(value) {
|
|
3112
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* Clears the message field making it undefined.
|
|
3118
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3119
|
+
*/
|
|
3120
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearTextToSpeech = function() {
|
|
3121
|
+
return this.setTextToSpeech(undefined);
|
|
3122
|
+
};
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* Returns whether this field is set.
|
|
3127
|
+
* @return {boolean}
|
|
3128
|
+
*/
|
|
3129
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasTextToSpeech = function() {
|
|
3130
|
+
return jspb.Message.getField(this, 4) != null;
|
|
3131
|
+
};
|
|
3132
|
+
|
|
3133
|
+
|
|
3134
|
+
/**
|
|
3135
|
+
* optional ProductContainer speech_to_text = 5;
|
|
3136
|
+
* @return {?proto.fonoster.applications.v1beta2.ProductContainer}
|
|
3137
|
+
*/
|
|
3138
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeechToText = function() {
|
|
3139
|
+
return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
|
|
3140
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 5));
|
|
3141
|
+
};
|
|
3142
|
+
|
|
3143
|
+
|
|
3144
|
+
/**
|
|
3145
|
+
* @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
|
|
3146
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3147
|
+
*/
|
|
3148
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeechToText = function(value) {
|
|
3149
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
3150
|
+
};
|
|
3151
|
+
|
|
3152
|
+
|
|
3153
|
+
/**
|
|
3154
|
+
* Clears the message field making it undefined.
|
|
3155
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3156
|
+
*/
|
|
3157
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeechToText = function() {
|
|
3158
|
+
return this.setSpeechToText(undefined);
|
|
3159
|
+
};
|
|
3160
|
+
|
|
3161
|
+
|
|
3162
|
+
/**
|
|
3163
|
+
* Returns whether this field is set.
|
|
3164
|
+
* @return {boolean}
|
|
3165
|
+
*/
|
|
3166
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeechToText = function() {
|
|
3167
|
+
return jspb.Message.getField(this, 5) != null;
|
|
3168
|
+
};
|
|
3169
|
+
|
|
3170
|
+
|
|
3171
|
+
/**
|
|
3172
|
+
* optional ProductContainer intelligence = 6;
|
|
3173
|
+
* @return {?proto.fonoster.applications.v1beta2.ProductContainer}
|
|
3174
|
+
*/
|
|
3175
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getIntelligence = function() {
|
|
3176
|
+
return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
|
|
3177
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 6));
|
|
3178
|
+
};
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
/**
|
|
3182
|
+
* @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
|
|
3183
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3184
|
+
*/
|
|
3185
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setIntelligence = function(value) {
|
|
3186
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1311
3187
|
};
|
|
1312
3188
|
|
|
1313
3189
|
|
|
1314
3190
|
/**
|
|
1315
|
-
*
|
|
1316
|
-
* @return {
|
|
3191
|
+
* Clears the message field making it undefined.
|
|
3192
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1317
3193
|
*/
|
|
1318
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1319
|
-
return
|
|
3194
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearIntelligence = function() {
|
|
3195
|
+
return this.setIntelligence(undefined);
|
|
1320
3196
|
};
|
|
1321
3197
|
|
|
1322
3198
|
|
|
1323
3199
|
/**
|
|
1324
|
-
*
|
|
1325
|
-
* @return {
|
|
3200
|
+
* Returns whether this field is set.
|
|
3201
|
+
* @return {boolean}
|
|
1326
3202
|
*/
|
|
1327
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1328
|
-
return jspb.Message.
|
|
3203
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasIntelligence = function() {
|
|
3204
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1329
3205
|
};
|
|
1330
3206
|
|
|
1331
3207
|
|
|
1332
3208
|
/**
|
|
1333
|
-
* optional
|
|
1334
|
-
* @return {
|
|
3209
|
+
* optional string url = 7;
|
|
3210
|
+
* @return {string}
|
|
1335
3211
|
*/
|
|
1336
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1337
|
-
return /** @type {
|
|
3212
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getUrl = function() {
|
|
3213
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1338
3214
|
};
|
|
1339
3215
|
|
|
1340
3216
|
|
|
1341
3217
|
/**
|
|
1342
|
-
* @param {
|
|
3218
|
+
* @param {string} value
|
|
1343
3219
|
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1344
3220
|
*/
|
|
1345
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1346
|
-
return jspb.Message.
|
|
3221
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setUrl = function(value) {
|
|
3222
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1347
3223
|
};
|
|
1348
3224
|
|
|
1349
3225
|
|
|
1350
3226
|
/**
|
|
1351
|
-
* optional string
|
|
3227
|
+
* optional string protocol = 8;
|
|
1352
3228
|
* @return {string}
|
|
1353
3229
|
*/
|
|
1354
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1355
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
3230
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getProtocol = function() {
|
|
3231
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1356
3232
|
};
|
|
1357
3233
|
|
|
1358
3234
|
|
|
@@ -1360,27 +3236,27 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getEndpoi
|
|
|
1360
3236
|
* @param {string} value
|
|
1361
3237
|
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1362
3238
|
*/
|
|
1363
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1364
|
-
return jspb.Message.setProto3StringField(this,
|
|
3239
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setProtocol = function(value) {
|
|
3240
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1365
3241
|
};
|
|
1366
3242
|
|
|
1367
3243
|
|
|
1368
3244
|
/**
|
|
1369
|
-
* optional
|
|
1370
|
-
* @return {?proto.fonoster.applications.v1beta2.
|
|
3245
|
+
* optional SpeechDefaults speech = 9;
|
|
3246
|
+
* @return {?proto.fonoster.applications.v1beta2.SpeechDefaults}
|
|
1371
3247
|
*/
|
|
1372
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1373
|
-
return /** @type{?proto.fonoster.applications.v1beta2.
|
|
1374
|
-
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.
|
|
3248
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeech = function() {
|
|
3249
|
+
return /** @type{?proto.fonoster.applications.v1beta2.SpeechDefaults} */ (
|
|
3250
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.SpeechDefaults, 9));
|
|
1375
3251
|
};
|
|
1376
3252
|
|
|
1377
3253
|
|
|
1378
3254
|
/**
|
|
1379
|
-
* @param {?proto.fonoster.applications.v1beta2.
|
|
3255
|
+
* @param {?proto.fonoster.applications.v1beta2.SpeechDefaults|undefined} value
|
|
1380
3256
|
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1381
3257
|
*/
|
|
1382
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1383
|
-
return jspb.Message.setWrapperField(this,
|
|
3258
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeech = function(value) {
|
|
3259
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
1384
3260
|
};
|
|
1385
3261
|
|
|
1386
3262
|
|
|
@@ -1388,8 +3264,8 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setTextTo
|
|
|
1388
3264
|
* Clears the message field making it undefined.
|
|
1389
3265
|
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1390
3266
|
*/
|
|
1391
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1392
|
-
return this.
|
|
3267
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeech = function() {
|
|
3268
|
+
return this.setSpeech(undefined);
|
|
1393
3269
|
};
|
|
1394
3270
|
|
|
1395
3271
|
|
|
@@ -1397,27 +3273,27 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearText
|
|
|
1397
3273
|
* Returns whether this field is set.
|
|
1398
3274
|
* @return {boolean}
|
|
1399
3275
|
*/
|
|
1400
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1401
|
-
return jspb.Message.getField(this,
|
|
3276
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeech = function() {
|
|
3277
|
+
return jspb.Message.getField(this, 9) != null;
|
|
1402
3278
|
};
|
|
1403
3279
|
|
|
1404
3280
|
|
|
1405
3281
|
/**
|
|
1406
|
-
* optional
|
|
1407
|
-
* @return {?proto.fonoster.applications.v1beta2.
|
|
3282
|
+
* optional AudioFormat audio = 10;
|
|
3283
|
+
* @return {?proto.fonoster.applications.v1beta2.AudioFormat}
|
|
1408
3284
|
*/
|
|
1409
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1410
|
-
return /** @type{?proto.fonoster.applications.v1beta2.
|
|
1411
|
-
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.
|
|
3285
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getAudio = function() {
|
|
3286
|
+
return /** @type{?proto.fonoster.applications.v1beta2.AudioFormat} */ (
|
|
3287
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AudioFormat, 10));
|
|
1412
3288
|
};
|
|
1413
3289
|
|
|
1414
3290
|
|
|
1415
3291
|
/**
|
|
1416
|
-
* @param {?proto.fonoster.applications.v1beta2.
|
|
3292
|
+
* @param {?proto.fonoster.applications.v1beta2.AudioFormat|undefined} value
|
|
1417
3293
|
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1418
3294
|
*/
|
|
1419
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1420
|
-
return jspb.Message.setWrapperField(this,
|
|
3295
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setAudio = function(value) {
|
|
3296
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
1421
3297
|
};
|
|
1422
3298
|
|
|
1423
3299
|
|
|
@@ -1425,8 +3301,8 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeech
|
|
|
1425
3301
|
* Clears the message field making it undefined.
|
|
1426
3302
|
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1427
3303
|
*/
|
|
1428
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1429
|
-
return this.
|
|
3304
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearAudio = function() {
|
|
3305
|
+
return this.setAudio(undefined);
|
|
1430
3306
|
};
|
|
1431
3307
|
|
|
1432
3308
|
|
|
@@ -1434,27 +3310,119 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpee
|
|
|
1434
3310
|
* Returns whether this field is set.
|
|
1435
3311
|
* @return {boolean}
|
|
1436
3312
|
*/
|
|
1437
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1438
|
-
return jspb.Message.getField(this,
|
|
3313
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasAudio = function() {
|
|
3314
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1439
3315
|
};
|
|
1440
3316
|
|
|
1441
3317
|
|
|
1442
3318
|
/**
|
|
1443
|
-
* optional
|
|
1444
|
-
* @return {
|
|
3319
|
+
* optional string fallback_app_ref = 11;
|
|
3320
|
+
* @return {string}
|
|
1445
3321
|
*/
|
|
1446
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1447
|
-
return /** @type{
|
|
1448
|
-
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 6));
|
|
3322
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getFallbackAppRef = function() {
|
|
3323
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1449
3324
|
};
|
|
1450
3325
|
|
|
1451
3326
|
|
|
1452
3327
|
/**
|
|
1453
|
-
* @param {
|
|
3328
|
+
* @param {string} value
|
|
3329
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3330
|
+
*/
|
|
3331
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setFallbackAppRef = function(value) {
|
|
3332
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
3333
|
+
};
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
/**
|
|
3337
|
+
* optional string fallback_message = 12;
|
|
3338
|
+
* @return {string}
|
|
3339
|
+
*/
|
|
3340
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getFallbackMessage = function() {
|
|
3341
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3342
|
+
};
|
|
3343
|
+
|
|
3344
|
+
|
|
3345
|
+
/**
|
|
3346
|
+
* @param {string} value
|
|
3347
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3348
|
+
*/
|
|
3349
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setFallbackMessage = function(value) {
|
|
3350
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
3351
|
+
};
|
|
3352
|
+
|
|
3353
|
+
|
|
3354
|
+
/**
|
|
3355
|
+
* repeated Listener listeners = 13;
|
|
3356
|
+
* @return {!Array<!proto.fonoster.applications.v1beta2.Listener>}
|
|
3357
|
+
*/
|
|
3358
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getListenersList = function() {
|
|
3359
|
+
return /** @type{!Array<!proto.fonoster.applications.v1beta2.Listener>} */ (
|
|
3360
|
+
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.Listener, 13));
|
|
3361
|
+
};
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
/**
|
|
3365
|
+
* @param {!Array<!proto.fonoster.applications.v1beta2.Listener>} value
|
|
1454
3366
|
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1455
3367
|
*/
|
|
1456
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1457
|
-
return jspb.Message.
|
|
3368
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setListenersList = function(value) {
|
|
3369
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
3370
|
+
};
|
|
3371
|
+
|
|
3372
|
+
|
|
3373
|
+
/**
|
|
3374
|
+
* @param {!proto.fonoster.applications.v1beta2.Listener=} opt_value
|
|
3375
|
+
* @param {number=} opt_index
|
|
3376
|
+
* @return {!proto.fonoster.applications.v1beta2.Listener}
|
|
3377
|
+
*/
|
|
3378
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.addListeners = function(opt_value, opt_index) {
|
|
3379
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.fonoster.applications.v1beta2.Listener, opt_index);
|
|
3380
|
+
};
|
|
3381
|
+
|
|
3382
|
+
|
|
3383
|
+
/**
|
|
3384
|
+
* Clears the list making it empty but non-null.
|
|
3385
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3386
|
+
*/
|
|
3387
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearListenersList = function() {
|
|
3388
|
+
return this.setListenersList([]);
|
|
3389
|
+
};
|
|
3390
|
+
|
|
3391
|
+
|
|
3392
|
+
/**
|
|
3393
|
+
* optional string recording = 14;
|
|
3394
|
+
* @return {string}
|
|
3395
|
+
*/
|
|
3396
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getRecording = function() {
|
|
3397
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
3398
|
+
};
|
|
3399
|
+
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* @param {string} value
|
|
3403
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3404
|
+
*/
|
|
3405
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setRecording = function(value) {
|
|
3406
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
3407
|
+
};
|
|
3408
|
+
|
|
3409
|
+
|
|
3410
|
+
/**
|
|
3411
|
+
* optional AmdSettings amd = 15;
|
|
3412
|
+
* @return {?proto.fonoster.applications.v1beta2.AmdSettings}
|
|
3413
|
+
*/
|
|
3414
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getAmd = function() {
|
|
3415
|
+
return /** @type{?proto.fonoster.applications.v1beta2.AmdSettings} */ (
|
|
3416
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AmdSettings, 15));
|
|
3417
|
+
};
|
|
3418
|
+
|
|
3419
|
+
|
|
3420
|
+
/**
|
|
3421
|
+
* @param {?proto.fonoster.applications.v1beta2.AmdSettings|undefined} value
|
|
3422
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
3423
|
+
*/
|
|
3424
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setAmd = function(value) {
|
|
3425
|
+
return jspb.Message.setWrapperField(this, 15, value);
|
|
1458
3426
|
};
|
|
1459
3427
|
|
|
1460
3428
|
|
|
@@ -1462,8 +3430,8 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setIntell
|
|
|
1462
3430
|
* Clears the message field making it undefined.
|
|
1463
3431
|
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
|
|
1464
3432
|
*/
|
|
1465
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1466
|
-
return this.
|
|
3433
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearAmd = function() {
|
|
3434
|
+
return this.setAmd(undefined);
|
|
1467
3435
|
};
|
|
1468
3436
|
|
|
1469
3437
|
|
|
@@ -1471,8 +3439,8 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearInte
|
|
|
1471
3439
|
* Returns whether this field is set.
|
|
1472
3440
|
* @return {boolean}
|
|
1473
3441
|
*/
|
|
1474
|
-
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.
|
|
1475
|
-
return jspb.Message.getField(this,
|
|
3442
|
+
proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasAmd = function() {
|
|
3443
|
+
return jspb.Message.getField(this, 15) != null;
|
|
1476
3444
|
};
|
|
1477
3445
|
|
|
1478
3446
|
|
|
@@ -1508,7 +3476,9 @@ proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.toObject
|
|
|
1508
3476
|
*/
|
|
1509
3477
|
proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject = function(includeInstance, msg) {
|
|
1510
3478
|
var f, obj = {
|
|
1511
|
-
ref: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3479
|
+
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3480
|
+
signingSecret: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3481
|
+
signingSecretHint: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1512
3482
|
};
|
|
1513
3483
|
|
|
1514
3484
|
if (includeInstance) {
|
|
@@ -1549,6 +3519,14 @@ proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryF
|
|
|
1549
3519
|
var value = /** @type {string} */ (reader.readString());
|
|
1550
3520
|
msg.setRef(value);
|
|
1551
3521
|
break;
|
|
3522
|
+
case 2:
|
|
3523
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3524
|
+
msg.setSigningSecret(value);
|
|
3525
|
+
break;
|
|
3526
|
+
case 3:
|
|
3527
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3528
|
+
msg.setSigningSecretHint(value);
|
|
3529
|
+
break;
|
|
1552
3530
|
default:
|
|
1553
3531
|
reader.skipField();
|
|
1554
3532
|
break;
|
|
@@ -1585,6 +3563,20 @@ proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToW
|
|
|
1585
3563
|
f
|
|
1586
3564
|
);
|
|
1587
3565
|
}
|
|
3566
|
+
f = message.getSigningSecret();
|
|
3567
|
+
if (f.length > 0) {
|
|
3568
|
+
writer.writeString(
|
|
3569
|
+
2,
|
|
3570
|
+
f
|
|
3571
|
+
);
|
|
3572
|
+
}
|
|
3573
|
+
f = message.getSigningSecretHint();
|
|
3574
|
+
if (f.length > 0) {
|
|
3575
|
+
writer.writeString(
|
|
3576
|
+
3,
|
|
3577
|
+
f
|
|
3578
|
+
);
|
|
3579
|
+
}
|
|
1588
3580
|
};
|
|
1589
3581
|
|
|
1590
3582
|
|
|
@@ -1606,6 +3598,42 @@ proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setRef =
|
|
|
1606
3598
|
};
|
|
1607
3599
|
|
|
1608
3600
|
|
|
3601
|
+
/**
|
|
3602
|
+
* optional string signing_secret = 2;
|
|
3603
|
+
* @return {string}
|
|
3604
|
+
*/
|
|
3605
|
+
proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.getSigningSecret = function() {
|
|
3606
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3607
|
+
};
|
|
3608
|
+
|
|
3609
|
+
|
|
3610
|
+
/**
|
|
3611
|
+
* @param {string} value
|
|
3612
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationResponse} returns this
|
|
3613
|
+
*/
|
|
3614
|
+
proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setSigningSecret = function(value) {
|
|
3615
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3616
|
+
};
|
|
3617
|
+
|
|
3618
|
+
|
|
3619
|
+
/**
|
|
3620
|
+
* optional string signing_secret_hint = 3;
|
|
3621
|
+
* @return {string}
|
|
3622
|
+
*/
|
|
3623
|
+
proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.getSigningSecretHint = function() {
|
|
3624
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3625
|
+
};
|
|
3626
|
+
|
|
3627
|
+
|
|
3628
|
+
/**
|
|
3629
|
+
* @param {string} value
|
|
3630
|
+
* @return {!proto.fonoster.applications.v1beta2.CreateApplicationResponse} returns this
|
|
3631
|
+
*/
|
|
3632
|
+
proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setSigningSecretHint = function(value) {
|
|
3633
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3634
|
+
};
|
|
3635
|
+
|
|
3636
|
+
|
|
1609
3637
|
|
|
1610
3638
|
|
|
1611
3639
|
|
|
@@ -2087,6 +4115,13 @@ proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setNextPa
|
|
|
2087
4115
|
|
|
2088
4116
|
|
|
2089
4117
|
|
|
4118
|
+
/**
|
|
4119
|
+
* List of repeated fields within this message type.
|
|
4120
|
+
* @private {!Array<number>}
|
|
4121
|
+
* @const
|
|
4122
|
+
*/
|
|
4123
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.repeatedFields_ = [14];
|
|
4124
|
+
|
|
2090
4125
|
|
|
2091
4126
|
|
|
2092
4127
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2124,7 +4159,17 @@ type: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
|
2124
4159
|
endpoint: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2125
4160
|
textToSpeech: (f = msg.getTextToSpeech()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
|
|
2126
4161
|
speechToText: (f = msg.getSpeechToText()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
|
|
2127
|
-
intelligence: (f = msg.getIntelligence()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f)
|
|
4162
|
+
intelligence: (f = msg.getIntelligence()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
|
|
4163
|
+
url: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4164
|
+
protocol: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4165
|
+
speech: (f = msg.getSpeech()) && proto.fonoster.applications.v1beta2.SpeechDefaults.toObject(includeInstance, f),
|
|
4166
|
+
audio: (f = msg.getAudio()) && proto.fonoster.applications.v1beta2.AudioFormat.toObject(includeInstance, f),
|
|
4167
|
+
fallbackAppRef: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
4168
|
+
fallbackMessage: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
4169
|
+
listenersList: jspb.Message.toObjectList(msg.getListenersList(),
|
|
4170
|
+
proto.fonoster.applications.v1beta2.Listener.toObject, includeInstance),
|
|
4171
|
+
recording: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
4172
|
+
amd: (f = msg.getAmd()) && proto.fonoster.applications.v1beta2.AmdSettings.toObject(includeInstance, f)
|
|
2128
4173
|
};
|
|
2129
4174
|
|
|
2130
4175
|
if (includeInstance) {
|
|
@@ -2192,6 +4237,46 @@ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFr
|
|
|
2192
4237
|
reader.readMessage(value,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader);
|
|
2193
4238
|
msg.setIntelligence(value);
|
|
2194
4239
|
break;
|
|
4240
|
+
case 8:
|
|
4241
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4242
|
+
msg.setUrl(value);
|
|
4243
|
+
break;
|
|
4244
|
+
case 9:
|
|
4245
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4246
|
+
msg.setProtocol(value);
|
|
4247
|
+
break;
|
|
4248
|
+
case 10:
|
|
4249
|
+
var value = new proto.fonoster.applications.v1beta2.SpeechDefaults;
|
|
4250
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader);
|
|
4251
|
+
msg.setSpeech(value);
|
|
4252
|
+
break;
|
|
4253
|
+
case 11:
|
|
4254
|
+
var value = new proto.fonoster.applications.v1beta2.AudioFormat;
|
|
4255
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader);
|
|
4256
|
+
msg.setAudio(value);
|
|
4257
|
+
break;
|
|
4258
|
+
case 12:
|
|
4259
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4260
|
+
msg.setFallbackAppRef(value);
|
|
4261
|
+
break;
|
|
4262
|
+
case 13:
|
|
4263
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4264
|
+
msg.setFallbackMessage(value);
|
|
4265
|
+
break;
|
|
4266
|
+
case 14:
|
|
4267
|
+
var value = new proto.fonoster.applications.v1beta2.Listener;
|
|
4268
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader);
|
|
4269
|
+
msg.addListeners(value);
|
|
4270
|
+
break;
|
|
4271
|
+
case 15:
|
|
4272
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4273
|
+
msg.setRecording(value);
|
|
4274
|
+
break;
|
|
4275
|
+
case 16:
|
|
4276
|
+
var value = new proto.fonoster.applications.v1beta2.AmdSettings;
|
|
4277
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader);
|
|
4278
|
+
msg.setAmd(value);
|
|
4279
|
+
break;
|
|
2195
4280
|
default:
|
|
2196
4281
|
reader.skipField();
|
|
2197
4282
|
break;
|
|
@@ -2224,53 +4309,120 @@ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWr
|
|
|
2224
4309
|
f = message.getRef();
|
|
2225
4310
|
if (f.length > 0) {
|
|
2226
4311
|
writer.writeString(
|
|
2227
|
-
1,
|
|
4312
|
+
1,
|
|
4313
|
+
f
|
|
4314
|
+
);
|
|
4315
|
+
}
|
|
4316
|
+
f = message.getName();
|
|
4317
|
+
if (f.length > 0) {
|
|
4318
|
+
writer.writeString(
|
|
4319
|
+
2,
|
|
4320
|
+
f
|
|
4321
|
+
);
|
|
4322
|
+
}
|
|
4323
|
+
f = message.getType();
|
|
4324
|
+
if (f !== 0.0) {
|
|
4325
|
+
writer.writeEnum(
|
|
4326
|
+
3,
|
|
4327
|
+
f
|
|
4328
|
+
);
|
|
4329
|
+
}
|
|
4330
|
+
f = message.getEndpoint();
|
|
4331
|
+
if (f.length > 0) {
|
|
4332
|
+
writer.writeString(
|
|
4333
|
+
4,
|
|
4334
|
+
f
|
|
4335
|
+
);
|
|
4336
|
+
}
|
|
4337
|
+
f = message.getTextToSpeech();
|
|
4338
|
+
if (f != null) {
|
|
4339
|
+
writer.writeMessage(
|
|
4340
|
+
5,
|
|
4341
|
+
f,
|
|
4342
|
+
proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
|
|
4343
|
+
);
|
|
4344
|
+
}
|
|
4345
|
+
f = message.getSpeechToText();
|
|
4346
|
+
if (f != null) {
|
|
4347
|
+
writer.writeMessage(
|
|
4348
|
+
6,
|
|
4349
|
+
f,
|
|
4350
|
+
proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
|
|
4351
|
+
);
|
|
4352
|
+
}
|
|
4353
|
+
f = message.getIntelligence();
|
|
4354
|
+
if (f != null) {
|
|
4355
|
+
writer.writeMessage(
|
|
4356
|
+
7,
|
|
4357
|
+
f,
|
|
4358
|
+
proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
|
|
4359
|
+
);
|
|
4360
|
+
}
|
|
4361
|
+
f = message.getUrl();
|
|
4362
|
+
if (f.length > 0) {
|
|
4363
|
+
writer.writeString(
|
|
4364
|
+
8,
|
|
2228
4365
|
f
|
|
2229
4366
|
);
|
|
2230
4367
|
}
|
|
2231
|
-
f = message.
|
|
4368
|
+
f = message.getProtocol();
|
|
2232
4369
|
if (f.length > 0) {
|
|
2233
4370
|
writer.writeString(
|
|
2234
|
-
|
|
4371
|
+
9,
|
|
2235
4372
|
f
|
|
2236
4373
|
);
|
|
2237
4374
|
}
|
|
2238
|
-
f = message.
|
|
2239
|
-
if (f
|
|
2240
|
-
writer.
|
|
2241
|
-
|
|
4375
|
+
f = message.getSpeech();
|
|
4376
|
+
if (f != null) {
|
|
4377
|
+
writer.writeMessage(
|
|
4378
|
+
10,
|
|
4379
|
+
f,
|
|
4380
|
+
proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter
|
|
4381
|
+
);
|
|
4382
|
+
}
|
|
4383
|
+
f = message.getAudio();
|
|
4384
|
+
if (f != null) {
|
|
4385
|
+
writer.writeMessage(
|
|
4386
|
+
11,
|
|
4387
|
+
f,
|
|
4388
|
+
proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter
|
|
4389
|
+
);
|
|
4390
|
+
}
|
|
4391
|
+
f = message.getFallbackAppRef();
|
|
4392
|
+
if (f.length > 0) {
|
|
4393
|
+
writer.writeString(
|
|
4394
|
+
12,
|
|
2242
4395
|
f
|
|
2243
4396
|
);
|
|
2244
4397
|
}
|
|
2245
|
-
f = message.
|
|
4398
|
+
f = message.getFallbackMessage();
|
|
2246
4399
|
if (f.length > 0) {
|
|
2247
4400
|
writer.writeString(
|
|
2248
|
-
|
|
4401
|
+
13,
|
|
2249
4402
|
f
|
|
2250
4403
|
);
|
|
2251
4404
|
}
|
|
2252
|
-
f = message.
|
|
2253
|
-
if (f
|
|
2254
|
-
writer.
|
|
2255
|
-
|
|
4405
|
+
f = message.getListenersList();
|
|
4406
|
+
if (f.length > 0) {
|
|
4407
|
+
writer.writeRepeatedMessage(
|
|
4408
|
+
14,
|
|
2256
4409
|
f,
|
|
2257
|
-
proto.fonoster.applications.v1beta2.
|
|
4410
|
+
proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter
|
|
2258
4411
|
);
|
|
2259
4412
|
}
|
|
2260
|
-
f = message.
|
|
2261
|
-
if (f
|
|
2262
|
-
writer.
|
|
2263
|
-
|
|
2264
|
-
f
|
|
2265
|
-
proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
|
|
4413
|
+
f = message.getRecording();
|
|
4414
|
+
if (f.length > 0) {
|
|
4415
|
+
writer.writeString(
|
|
4416
|
+
15,
|
|
4417
|
+
f
|
|
2266
4418
|
);
|
|
2267
4419
|
}
|
|
2268
|
-
f = message.
|
|
4420
|
+
f = message.getAmd();
|
|
2269
4421
|
if (f != null) {
|
|
2270
4422
|
writer.writeMessage(
|
|
2271
|
-
|
|
4423
|
+
16,
|
|
2272
4424
|
f,
|
|
2273
|
-
proto.fonoster.applications.v1beta2.
|
|
4425
|
+
proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter
|
|
2274
4426
|
);
|
|
2275
4427
|
}
|
|
2276
4428
|
};
|
|
@@ -2459,6 +4611,245 @@ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasIntell
|
|
|
2459
4611
|
};
|
|
2460
4612
|
|
|
2461
4613
|
|
|
4614
|
+
/**
|
|
4615
|
+
* optional string url = 8;
|
|
4616
|
+
* @return {string}
|
|
4617
|
+
*/
|
|
4618
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getUrl = function() {
|
|
4619
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4620
|
+
};
|
|
4621
|
+
|
|
4622
|
+
|
|
4623
|
+
/**
|
|
4624
|
+
* @param {string} value
|
|
4625
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4626
|
+
*/
|
|
4627
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setUrl = function(value) {
|
|
4628
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4629
|
+
};
|
|
4630
|
+
|
|
4631
|
+
|
|
4632
|
+
/**
|
|
4633
|
+
* optional string protocol = 9;
|
|
4634
|
+
* @return {string}
|
|
4635
|
+
*/
|
|
4636
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getProtocol = function() {
|
|
4637
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4638
|
+
};
|
|
4639
|
+
|
|
4640
|
+
|
|
4641
|
+
/**
|
|
4642
|
+
* @param {string} value
|
|
4643
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4644
|
+
*/
|
|
4645
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setProtocol = function(value) {
|
|
4646
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
4647
|
+
};
|
|
4648
|
+
|
|
4649
|
+
|
|
4650
|
+
/**
|
|
4651
|
+
* optional SpeechDefaults speech = 10;
|
|
4652
|
+
* @return {?proto.fonoster.applications.v1beta2.SpeechDefaults}
|
|
4653
|
+
*/
|
|
4654
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getSpeech = function() {
|
|
4655
|
+
return /** @type{?proto.fonoster.applications.v1beta2.SpeechDefaults} */ (
|
|
4656
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.SpeechDefaults, 10));
|
|
4657
|
+
};
|
|
4658
|
+
|
|
4659
|
+
|
|
4660
|
+
/**
|
|
4661
|
+
* @param {?proto.fonoster.applications.v1beta2.SpeechDefaults|undefined} value
|
|
4662
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4663
|
+
*/
|
|
4664
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setSpeech = function(value) {
|
|
4665
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
4666
|
+
};
|
|
4667
|
+
|
|
4668
|
+
|
|
4669
|
+
/**
|
|
4670
|
+
* Clears the message field making it undefined.
|
|
4671
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4672
|
+
*/
|
|
4673
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearSpeech = function() {
|
|
4674
|
+
return this.setSpeech(undefined);
|
|
4675
|
+
};
|
|
4676
|
+
|
|
4677
|
+
|
|
4678
|
+
/**
|
|
4679
|
+
* Returns whether this field is set.
|
|
4680
|
+
* @return {boolean}
|
|
4681
|
+
*/
|
|
4682
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasSpeech = function() {
|
|
4683
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4684
|
+
};
|
|
4685
|
+
|
|
4686
|
+
|
|
4687
|
+
/**
|
|
4688
|
+
* optional AudioFormat audio = 11;
|
|
4689
|
+
* @return {?proto.fonoster.applications.v1beta2.AudioFormat}
|
|
4690
|
+
*/
|
|
4691
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getAudio = function() {
|
|
4692
|
+
return /** @type{?proto.fonoster.applications.v1beta2.AudioFormat} */ (
|
|
4693
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AudioFormat, 11));
|
|
4694
|
+
};
|
|
4695
|
+
|
|
4696
|
+
|
|
4697
|
+
/**
|
|
4698
|
+
* @param {?proto.fonoster.applications.v1beta2.AudioFormat|undefined} value
|
|
4699
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4700
|
+
*/
|
|
4701
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setAudio = function(value) {
|
|
4702
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
4703
|
+
};
|
|
4704
|
+
|
|
4705
|
+
|
|
4706
|
+
/**
|
|
4707
|
+
* Clears the message field making it undefined.
|
|
4708
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4709
|
+
*/
|
|
4710
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearAudio = function() {
|
|
4711
|
+
return this.setAudio(undefined);
|
|
4712
|
+
};
|
|
4713
|
+
|
|
4714
|
+
|
|
4715
|
+
/**
|
|
4716
|
+
* Returns whether this field is set.
|
|
4717
|
+
* @return {boolean}
|
|
4718
|
+
*/
|
|
4719
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasAudio = function() {
|
|
4720
|
+
return jspb.Message.getField(this, 11) != null;
|
|
4721
|
+
};
|
|
4722
|
+
|
|
4723
|
+
|
|
4724
|
+
/**
|
|
4725
|
+
* optional string fallback_app_ref = 12;
|
|
4726
|
+
* @return {string}
|
|
4727
|
+
*/
|
|
4728
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getFallbackAppRef = function() {
|
|
4729
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
4730
|
+
};
|
|
4731
|
+
|
|
4732
|
+
|
|
4733
|
+
/**
|
|
4734
|
+
* @param {string} value
|
|
4735
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4736
|
+
*/
|
|
4737
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setFallbackAppRef = function(value) {
|
|
4738
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
4739
|
+
};
|
|
4740
|
+
|
|
4741
|
+
|
|
4742
|
+
/**
|
|
4743
|
+
* optional string fallback_message = 13;
|
|
4744
|
+
* @return {string}
|
|
4745
|
+
*/
|
|
4746
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getFallbackMessage = function() {
|
|
4747
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
4748
|
+
};
|
|
4749
|
+
|
|
4750
|
+
|
|
4751
|
+
/**
|
|
4752
|
+
* @param {string} value
|
|
4753
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4754
|
+
*/
|
|
4755
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setFallbackMessage = function(value) {
|
|
4756
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
4757
|
+
};
|
|
4758
|
+
|
|
4759
|
+
|
|
4760
|
+
/**
|
|
4761
|
+
* repeated Listener listeners = 14;
|
|
4762
|
+
* @return {!Array<!proto.fonoster.applications.v1beta2.Listener>}
|
|
4763
|
+
*/
|
|
4764
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getListenersList = function() {
|
|
4765
|
+
return /** @type{!Array<!proto.fonoster.applications.v1beta2.Listener>} */ (
|
|
4766
|
+
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.Listener, 14));
|
|
4767
|
+
};
|
|
4768
|
+
|
|
4769
|
+
|
|
4770
|
+
/**
|
|
4771
|
+
* @param {!Array<!proto.fonoster.applications.v1beta2.Listener>} value
|
|
4772
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4773
|
+
*/
|
|
4774
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setListenersList = function(value) {
|
|
4775
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
4776
|
+
};
|
|
4777
|
+
|
|
4778
|
+
|
|
4779
|
+
/**
|
|
4780
|
+
* @param {!proto.fonoster.applications.v1beta2.Listener=} opt_value
|
|
4781
|
+
* @param {number=} opt_index
|
|
4782
|
+
* @return {!proto.fonoster.applications.v1beta2.Listener}
|
|
4783
|
+
*/
|
|
4784
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.addListeners = function(opt_value, opt_index) {
|
|
4785
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.fonoster.applications.v1beta2.Listener, opt_index);
|
|
4786
|
+
};
|
|
4787
|
+
|
|
4788
|
+
|
|
4789
|
+
/**
|
|
4790
|
+
* Clears the list making it empty but non-null.
|
|
4791
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4792
|
+
*/
|
|
4793
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearListenersList = function() {
|
|
4794
|
+
return this.setListenersList([]);
|
|
4795
|
+
};
|
|
4796
|
+
|
|
4797
|
+
|
|
4798
|
+
/**
|
|
4799
|
+
* optional string recording = 15;
|
|
4800
|
+
* @return {string}
|
|
4801
|
+
*/
|
|
4802
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getRecording = function() {
|
|
4803
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
4804
|
+
};
|
|
4805
|
+
|
|
4806
|
+
|
|
4807
|
+
/**
|
|
4808
|
+
* @param {string} value
|
|
4809
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4810
|
+
*/
|
|
4811
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setRecording = function(value) {
|
|
4812
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
4813
|
+
};
|
|
4814
|
+
|
|
4815
|
+
|
|
4816
|
+
/**
|
|
4817
|
+
* optional AmdSettings amd = 16;
|
|
4818
|
+
* @return {?proto.fonoster.applications.v1beta2.AmdSettings}
|
|
4819
|
+
*/
|
|
4820
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getAmd = function() {
|
|
4821
|
+
return /** @type{?proto.fonoster.applications.v1beta2.AmdSettings} */ (
|
|
4822
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AmdSettings, 16));
|
|
4823
|
+
};
|
|
4824
|
+
|
|
4825
|
+
|
|
4826
|
+
/**
|
|
4827
|
+
* @param {?proto.fonoster.applications.v1beta2.AmdSettings|undefined} value
|
|
4828
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4829
|
+
*/
|
|
4830
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setAmd = function(value) {
|
|
4831
|
+
return jspb.Message.setWrapperField(this, 16, value);
|
|
4832
|
+
};
|
|
4833
|
+
|
|
4834
|
+
|
|
4835
|
+
/**
|
|
4836
|
+
* Clears the message field making it undefined.
|
|
4837
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
|
|
4838
|
+
*/
|
|
4839
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearAmd = function() {
|
|
4840
|
+
return this.setAmd(undefined);
|
|
4841
|
+
};
|
|
4842
|
+
|
|
4843
|
+
|
|
4844
|
+
/**
|
|
4845
|
+
* Returns whether this field is set.
|
|
4846
|
+
* @return {boolean}
|
|
4847
|
+
*/
|
|
4848
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasAmd = function() {
|
|
4849
|
+
return jspb.Message.getField(this, 16) != null;
|
|
4850
|
+
};
|
|
4851
|
+
|
|
4852
|
+
|
|
2462
4853
|
|
|
2463
4854
|
|
|
2464
4855
|
|
|
@@ -2491,7 +4882,9 @@ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.toObject
|
|
|
2491
4882
|
*/
|
|
2492
4883
|
proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject = function(includeInstance, msg) {
|
|
2493
4884
|
var f, obj = {
|
|
2494
|
-
ref: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4885
|
+
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4886
|
+
signingSecret: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4887
|
+
signingSecretHint: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2495
4888
|
};
|
|
2496
4889
|
|
|
2497
4890
|
if (includeInstance) {
|
|
@@ -2532,6 +4925,14 @@ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryF
|
|
|
2532
4925
|
var value = /** @type {string} */ (reader.readString());
|
|
2533
4926
|
msg.setRef(value);
|
|
2534
4927
|
break;
|
|
4928
|
+
case 2:
|
|
4929
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4930
|
+
msg.setSigningSecret(value);
|
|
4931
|
+
break;
|
|
4932
|
+
case 3:
|
|
4933
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4934
|
+
msg.setSigningSecretHint(value);
|
|
4935
|
+
break;
|
|
2535
4936
|
default:
|
|
2536
4937
|
reader.skipField();
|
|
2537
4938
|
break;
|
|
@@ -2568,6 +4969,20 @@ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToW
|
|
|
2568
4969
|
f
|
|
2569
4970
|
);
|
|
2570
4971
|
}
|
|
4972
|
+
f = message.getSigningSecret();
|
|
4973
|
+
if (f.length > 0) {
|
|
4974
|
+
writer.writeString(
|
|
4975
|
+
2,
|
|
4976
|
+
f
|
|
4977
|
+
);
|
|
4978
|
+
}
|
|
4979
|
+
f = message.getSigningSecretHint();
|
|
4980
|
+
if (f.length > 0) {
|
|
4981
|
+
writer.writeString(
|
|
4982
|
+
3,
|
|
4983
|
+
f
|
|
4984
|
+
);
|
|
4985
|
+
}
|
|
2571
4986
|
};
|
|
2572
4987
|
|
|
2573
4988
|
|
|
@@ -2589,6 +5004,42 @@ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setRef =
|
|
|
2589
5004
|
};
|
|
2590
5005
|
|
|
2591
5006
|
|
|
5007
|
+
/**
|
|
5008
|
+
* optional string signing_secret = 2;
|
|
5009
|
+
* @return {string}
|
|
5010
|
+
*/
|
|
5011
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.getSigningSecret = function() {
|
|
5012
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5013
|
+
};
|
|
5014
|
+
|
|
5015
|
+
|
|
5016
|
+
/**
|
|
5017
|
+
* @param {string} value
|
|
5018
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationResponse} returns this
|
|
5019
|
+
*/
|
|
5020
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setSigningSecret = function(value) {
|
|
5021
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5022
|
+
};
|
|
5023
|
+
|
|
5024
|
+
|
|
5025
|
+
/**
|
|
5026
|
+
* optional string signing_secret_hint = 3;
|
|
5027
|
+
* @return {string}
|
|
5028
|
+
*/
|
|
5029
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.getSigningSecretHint = function() {
|
|
5030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5031
|
+
};
|
|
5032
|
+
|
|
5033
|
+
|
|
5034
|
+
/**
|
|
5035
|
+
* @param {string} value
|
|
5036
|
+
* @return {!proto.fonoster.applications.v1beta2.UpdateApplicationResponse} returns this
|
|
5037
|
+
*/
|
|
5038
|
+
proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setSigningSecretHint = function(value) {
|
|
5039
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5040
|
+
};
|
|
5041
|
+
|
|
5042
|
+
|
|
2592
5043
|
|
|
2593
5044
|
|
|
2594
5045
|
|
|
@@ -4917,7 +7368,7 @@ proto.fonoster.applications.v1beta2.TestTokenResponse.prototype.setUsername = fu
|
|
|
4917
7368
|
* @enum {number}
|
|
4918
7369
|
*/
|
|
4919
7370
|
proto.fonoster.applications.v1beta2.ApplicationType = {
|
|
4920
|
-
|
|
7371
|
+
STREAM: 0,
|
|
4921
7372
|
AUTOPILOT: 1
|
|
4922
7373
|
};
|
|
4923
7374
|
|