@fonoster/sdk 0.27.0 → 0.31.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.
Files changed (91) hide show
  1. package/README.md +12 -9
  2. package/dist/node/Agents.js +5 -20
  3. package/dist/node/Applications.d.ts +21 -85
  4. package/dist/node/Applications.js +64 -74
  5. package/dist/node/Billing.d.ts +50 -0
  6. package/dist/node/Billing.js +84 -0
  7. package/dist/node/CallRecords.d.ts +92 -0
  8. package/dist/node/CallRecords.js +127 -0
  9. package/dist/node/Calls.d.ts +3 -1
  10. package/dist/node/Calls.js +3 -1
  11. package/dist/node/Domains.js +4 -2
  12. package/dist/node/Numbers.js +2 -7
  13. package/dist/node/Providers.d.ts +49 -0
  14. package/dist/node/Providers.js +109 -0
  15. package/dist/node/Regions.d.ts +91 -0
  16. package/dist/node/Regions.js +127 -0
  17. package/dist/node/Usage.d.ts +44 -0
  18. package/dist/node/Usage.js +41 -0
  19. package/dist/node/Users.d.ts +4 -2
  20. package/dist/node/Users.js +4 -2
  21. package/dist/node/Webhooks.d.ts +56 -0
  22. package/dist/node/Webhooks.js +139 -0
  23. package/dist/node/Workspaces.d.ts +22 -3
  24. package/dist/node/Workspaces.js +29 -2
  25. package/dist/node/client/AbstractClient.d.ts +94 -3
  26. package/dist/node/client/AbstractClient.js +101 -1
  27. package/dist/node/client/Client.d.ts +9 -0
  28. package/dist/node/client/Client.js +34 -1
  29. package/dist/node/client/jsonToObject.js +17 -0
  30. package/dist/node/client/objectToJson.js +35 -0
  31. package/dist/node/client/types/ApplicationsClient.d.ts +2 -1
  32. package/dist/node/client/types/BillingClient.d.ts +28 -0
  33. package/dist/node/client/types/BillingClient.js +2 -0
  34. package/dist/node/client/types/CapabilitiesClient.d.ts +24 -0
  35. package/dist/node/client/types/CapabilitiesClient.js +2 -0
  36. package/dist/node/client/types/FonosterClient.d.ts +12 -0
  37. package/dist/node/client/types/IdentityClient.d.ts +3 -1
  38. package/dist/node/client/types/ProvidersClient.d.ts +28 -0
  39. package/dist/node/client/types/ProvidersClient.js +2 -0
  40. package/dist/node/client/types/UsageClient.d.ts +24 -0
  41. package/dist/node/client/types/UsageClient.js +2 -0
  42. package/dist/node/client/types/WebhooksClient.d.ts +31 -0
  43. package/dist/node/client/types/WebhooksClient.js +2 -0
  44. package/dist/node/client/types/index.d.ts +5 -0
  45. package/dist/node/client/types/index.js +5 -0
  46. package/dist/node/generated/node/applications_grpc_pb.js +34 -0
  47. package/dist/node/generated/node/applications_pb.js +2991 -178
  48. package/dist/node/generated/node/billing_grpc_pb.js +169 -0
  49. package/dist/node/generated/node/billing_pb.js +1720 -0
  50. package/dist/node/generated/node/calls_pb.js +62 -2
  51. package/dist/node/generated/node/capabilities_grpc_pb.js +66 -0
  52. package/dist/node/generated/node/capabilities_pb.js +2288 -0
  53. package/dist/node/generated/node/identity_grpc_pb.js +34 -0
  54. package/dist/node/generated/node/identity_pb.js +609 -5
  55. package/dist/node/generated/node/providers_grpc_pb.js +200 -0
  56. package/dist/node/generated/node/providers_pb.js +3094 -0
  57. package/dist/node/generated/node/usage_grpc_pb.js +64 -0
  58. package/dist/node/generated/node/usage_pb.js +866 -0
  59. package/dist/node/generated/node/webhooks_grpc_pb.js +302 -0
  60. package/dist/node/generated/node/webhooks_pb.js +3314 -0
  61. package/dist/node/generated/web/ApplicationsServiceClientPb.ts +43 -0
  62. package/dist/node/generated/web/BillingServiceClientPb.ts +258 -0
  63. package/dist/node/generated/web/CapabilitiesServiceClientPb.ts +87 -0
  64. package/dist/node/generated/web/IdentityServiceClientPb.ts +43 -0
  65. package/dist/node/generated/web/ProvidersServiceClientPb.ts +258 -0
  66. package/dist/node/generated/web/UsageServiceClientPb.ts +86 -0
  67. package/dist/node/generated/web/WebhooksServiceClientPb.ts +387 -0
  68. package/dist/node/generated/web/applications_pb.d.ts +343 -1
  69. package/dist/node/generated/web/applications_pb.js +2991 -178
  70. package/dist/node/generated/web/billing_pb.d.ts +210 -0
  71. package/dist/node/generated/web/billing_pb.js +1720 -0
  72. package/dist/node/generated/web/calls_pb.d.ts +8 -0
  73. package/dist/node/generated/web/calls_pb.js +62 -2
  74. package/dist/node/generated/web/capabilities_pb.d.ts +273 -0
  75. package/dist/node/generated/web/capabilities_pb.js +2288 -0
  76. package/dist/node/generated/web/identity_pb.d.ts +76 -0
  77. package/dist/node/generated/web/identity_pb.js +609 -5
  78. package/dist/node/generated/web/providers_pb.d.ts +372 -0
  79. package/dist/node/generated/web/providers_pb.js +3094 -0
  80. package/dist/node/generated/web/usage_pb.d.ts +106 -0
  81. package/dist/node/generated/web/usage_pb.js +866 -0
  82. package/dist/node/generated/web/webhooks_pb.d.ts +398 -0
  83. package/dist/node/generated/web/webhooks_pb.js +3314 -0
  84. package/dist/node/node.d.ts +7 -0
  85. package/dist/node/node.js +6 -0
  86. package/dist/node/tsconfig.tsbuildinfo +1 -1
  87. package/dist/node/utils.d.ts +7 -12
  88. package/dist/node/utils.js +18 -39
  89. package/dist/web/fonoster.min.js +1 -1
  90. package/dist/web/index.esm.js +1 -1
  91. package/package.json +8 -13
@@ -25,8 +25,11 @@ 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.AudioFilter', null, global);
32
+ goog.exportSymbol('proto.fonoster.applications.v1beta2.AudioFormat', null, global);
30
33
  goog.exportSymbol('proto.fonoster.applications.v1beta2.CreateApplicationRequest', null, global);
31
34
  goog.exportSymbol('proto.fonoster.applications.v1beta2.CreateApplicationResponse', null, global);
32
35
  goog.exportSymbol('proto.fonoster.applications.v1beta2.DeleteApplicationRequest', null, global);
@@ -39,15 +42,145 @@ goog.exportSymbol('proto.fonoster.applications.v1beta2.ExpectedTextType', null,
39
42
  goog.exportSymbol('proto.fonoster.applications.v1beta2.GetApplicationRequest', null, global);
40
43
  goog.exportSymbol('proto.fonoster.applications.v1beta2.ListApplicationsRequest', null, global);
41
44
  goog.exportSymbol('proto.fonoster.applications.v1beta2.ListApplicationsResponse', null, global);
45
+ goog.exportSymbol('proto.fonoster.applications.v1beta2.Listener', null, global);
42
46
  goog.exportSymbol('proto.fonoster.applications.v1beta2.ProductContainer', null, global);
47
+ goog.exportSymbol('proto.fonoster.applications.v1beta2.RotateSigningSecretRequest', null, global);
48
+ goog.exportSymbol('proto.fonoster.applications.v1beta2.RotateSigningSecretResponse', null, global);
43
49
  goog.exportSymbol('proto.fonoster.applications.v1beta2.ScenarioEvaluationReport', null, global);
44
50
  goog.exportSymbol('proto.fonoster.applications.v1beta2.ScenarioSummary', null, global);
51
+ goog.exportSymbol('proto.fonoster.applications.v1beta2.SpeechDefaults', null, global);
45
52
  goog.exportSymbol('proto.fonoster.applications.v1beta2.StepEvaluationReport', null, global);
46
53
  goog.exportSymbol('proto.fonoster.applications.v1beta2.StepEvaluationResult', null, global);
47
54
  goog.exportSymbol('proto.fonoster.applications.v1beta2.TestTokenResponse', null, global);
48
55
  goog.exportSymbol('proto.fonoster.applications.v1beta2.ToolEvaluationReport', null, global);
49
56
  goog.exportSymbol('proto.fonoster.applications.v1beta2.UpdateApplicationRequest', null, global);
50
57
  goog.exportSymbol('proto.fonoster.applications.v1beta2.UpdateApplicationResponse', null, global);
58
+ /**
59
+ * Generated by JsPbCodeGenerator.
60
+ * @param {Array=} opt_data Optional initial data array, typically from a
61
+ * server response, or constructed directly in Javascript. The array is used
62
+ * in place and becomes part of the constructed object. It is not cloned.
63
+ * If no data is provided, the constructed object will be empty, but still
64
+ * valid.
65
+ * @extends {jspb.Message}
66
+ * @constructor
67
+ */
68
+ proto.fonoster.applications.v1beta2.SpeechDefaults = function(opt_data) {
69
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
70
+ };
71
+ goog.inherits(proto.fonoster.applications.v1beta2.SpeechDefaults, jspb.Message);
72
+ if (goog.DEBUG && !COMPILED) {
73
+ /**
74
+ * @public
75
+ * @override
76
+ */
77
+ proto.fonoster.applications.v1beta2.SpeechDefaults.displayName = 'proto.fonoster.applications.v1beta2.SpeechDefaults';
78
+ }
79
+ /**
80
+ * Generated by JsPbCodeGenerator.
81
+ * @param {Array=} opt_data Optional initial data array, typically from a
82
+ * server response, or constructed directly in Javascript. The array is used
83
+ * in place and becomes part of the constructed object. It is not cloned.
84
+ * If no data is provided, the constructed object will be empty, but still
85
+ * valid.
86
+ * @extends {jspb.Message}
87
+ * @constructor
88
+ */
89
+ proto.fonoster.applications.v1beta2.AudioFormat = function(opt_data) {
90
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
91
+ };
92
+ goog.inherits(proto.fonoster.applications.v1beta2.AudioFormat, jspb.Message);
93
+ if (goog.DEBUG && !COMPILED) {
94
+ /**
95
+ * @public
96
+ * @override
97
+ */
98
+ proto.fonoster.applications.v1beta2.AudioFormat.displayName = 'proto.fonoster.applications.v1beta2.AudioFormat';
99
+ }
100
+ /**
101
+ * Generated by JsPbCodeGenerator.
102
+ * @param {Array=} opt_data Optional initial data array, typically from a
103
+ * server response, or constructed directly in Javascript. The array is used
104
+ * in place and becomes part of the constructed object. It is not cloned.
105
+ * If no data is provided, the constructed object will be empty, but still
106
+ * valid.
107
+ * @extends {jspb.Message}
108
+ * @constructor
109
+ */
110
+ proto.fonoster.applications.v1beta2.AmdSettings = function(opt_data) {
111
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
112
+ };
113
+ goog.inherits(proto.fonoster.applications.v1beta2.AmdSettings, jspb.Message);
114
+ if (goog.DEBUG && !COMPILED) {
115
+ /**
116
+ * @public
117
+ * @override
118
+ */
119
+ proto.fonoster.applications.v1beta2.AmdSettings.displayName = 'proto.fonoster.applications.v1beta2.AmdSettings';
120
+ }
121
+ /**
122
+ * Generated by JsPbCodeGenerator.
123
+ * @param {Array=} opt_data Optional initial data array, typically from a
124
+ * server response, or constructed directly in Javascript. The array is used
125
+ * in place and becomes part of the constructed object. It is not cloned.
126
+ * If no data is provided, the constructed object will be empty, but still
127
+ * valid.
128
+ * @extends {jspb.Message}
129
+ * @constructor
130
+ */
131
+ proto.fonoster.applications.v1beta2.Listener = function(opt_data) {
132
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
133
+ };
134
+ goog.inherits(proto.fonoster.applications.v1beta2.Listener, jspb.Message);
135
+ if (goog.DEBUG && !COMPILED) {
136
+ /**
137
+ * @public
138
+ * @override
139
+ */
140
+ proto.fonoster.applications.v1beta2.Listener.displayName = 'proto.fonoster.applications.v1beta2.Listener';
141
+ }
142
+ /**
143
+ * Generated by JsPbCodeGenerator.
144
+ * @param {Array=} opt_data Optional initial data array, typically from a
145
+ * server response, or constructed directly in Javascript. The array is used
146
+ * in place and becomes part of the constructed object. It is not cloned.
147
+ * If no data is provided, the constructed object will be empty, but still
148
+ * valid.
149
+ * @extends {jspb.Message}
150
+ * @constructor
151
+ */
152
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest = function(opt_data) {
153
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
154
+ };
155
+ goog.inherits(proto.fonoster.applications.v1beta2.RotateSigningSecretRequest, jspb.Message);
156
+ if (goog.DEBUG && !COMPILED) {
157
+ /**
158
+ * @public
159
+ * @override
160
+ */
161
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.displayName = 'proto.fonoster.applications.v1beta2.RotateSigningSecretRequest';
162
+ }
163
+ /**
164
+ * Generated by JsPbCodeGenerator.
165
+ * @param {Array=} opt_data Optional initial data array, typically from a
166
+ * server response, or constructed directly in Javascript. The array is used
167
+ * in place and becomes part of the constructed object. It is not cloned.
168
+ * If no data is provided, the constructed object will be empty, but still
169
+ * valid.
170
+ * @extends {jspb.Message}
171
+ * @constructor
172
+ */
173
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse = function(opt_data) {
174
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
175
+ };
176
+ goog.inherits(proto.fonoster.applications.v1beta2.RotateSigningSecretResponse, jspb.Message);
177
+ if (goog.DEBUG && !COMPILED) {
178
+ /**
179
+ * @public
180
+ * @override
181
+ */
182
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.displayName = 'proto.fonoster.applications.v1beta2.RotateSigningSecretResponse';
183
+ }
51
184
  /**
52
185
  * Generated by JsPbCodeGenerator.
53
186
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -79,9 +212,30 @@ if (goog.DEBUG && !COMPILED) {
79
212
  * @extends {jspb.Message}
80
213
  * @constructor
81
214
  */
82
- proto.fonoster.applications.v1beta2.Application = function(opt_data) {
215
+ proto.fonoster.applications.v1beta2.AudioFilter = function(opt_data) {
83
216
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
84
217
  };
218
+ goog.inherits(proto.fonoster.applications.v1beta2.AudioFilter, jspb.Message);
219
+ if (goog.DEBUG && !COMPILED) {
220
+ /**
221
+ * @public
222
+ * @override
223
+ */
224
+ proto.fonoster.applications.v1beta2.AudioFilter.displayName = 'proto.fonoster.applications.v1beta2.AudioFilter';
225
+ }
226
+ /**
227
+ * Generated by JsPbCodeGenerator.
228
+ * @param {Array=} opt_data Optional initial data array, typically from a
229
+ * server response, or constructed directly in Javascript. The array is used
230
+ * in place and becomes part of the constructed object. It is not cloned.
231
+ * If no data is provided, the constructed object will be empty, but still
232
+ * valid.
233
+ * @extends {jspb.Message}
234
+ * @constructor
235
+ */
236
+ proto.fonoster.applications.v1beta2.Application = function(opt_data) {
237
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.Application.repeatedFields_, null);
238
+ };
85
239
  goog.inherits(proto.fonoster.applications.v1beta2.Application, jspb.Message);
86
240
  if (goog.DEBUG && !COMPILED) {
87
241
  /**
@@ -101,7 +255,7 @@ if (goog.DEBUG && !COMPILED) {
101
255
  * @constructor
102
256
  */
103
257
  proto.fonoster.applications.v1beta2.CreateApplicationRequest = function(opt_data) {
104
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
258
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.CreateApplicationRequest.repeatedFields_, null);
105
259
  };
106
260
  goog.inherits(proto.fonoster.applications.v1beta2.CreateApplicationRequest, jspb.Message);
107
261
  if (goog.DEBUG && !COMPILED) {
@@ -206,7 +360,7 @@ if (goog.DEBUG && !COMPILED) {
206
360
  * @constructor
207
361
  */
208
362
  proto.fonoster.applications.v1beta2.UpdateApplicationRequest = function(opt_data) {
209
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
363
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.UpdateApplicationRequest.repeatedFields_, null);
210
364
  };
211
365
  goog.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationRequest, jspb.Message);
212
366
  if (goog.DEBUG && !COMPILED) {
@@ -484,8 +638,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
484
638
  * http://goto/soy-param-migration
485
639
  * @return {!Object}
486
640
  */
487
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject = function(opt_includeInstance) {
488
- return proto.fonoster.applications.v1beta2.ProductContainer.toObject(opt_includeInstance, this);
641
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.toObject = function(opt_includeInstance) {
642
+ return proto.fonoster.applications.v1beta2.SpeechDefaults.toObject(opt_includeInstance, this);
489
643
  };
490
644
 
491
645
 
@@ -494,15 +648,18 @@ proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject = functi
494
648
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
495
649
  * the JSPB instance for transitional soy proto support:
496
650
  * http://goto/soy-param-migration
497
- * @param {!proto.fonoster.applications.v1beta2.ProductContainer} msg The msg instance to transform.
651
+ * @param {!proto.fonoster.applications.v1beta2.SpeechDefaults} msg The msg instance to transform.
498
652
  * @return {!Object}
499
653
  * @suppress {unusedLocalVariables} f is only used for nested messages
500
654
  */
501
- proto.fonoster.applications.v1beta2.ProductContainer.toObject = function(includeInstance, msg) {
655
+ proto.fonoster.applications.v1beta2.SpeechDefaults.toObject = function(includeInstance, msg) {
502
656
  var f, obj = {
503
- productRef: jspb.Message.getFieldWithDefault(msg, 1, ""),
504
- config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
505
- credentials: (f = msg.getCredentials()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
657
+ voice: jspb.Message.getFieldWithDefault(msg, 1, ""),
658
+ language: jspb.Message.getFieldWithDefault(msg, 2, ""),
659
+ sttModel: jspb.Message.getFieldWithDefault(msg, 3, ""),
660
+ ttsModel: jspb.Message.getFieldWithDefault(msg, 4, ""),
661
+ silenceTimeoutMs: jspb.Message.getFieldWithDefault(msg, 5, 0),
662
+ patience: jspb.Message.getFieldWithDefault(msg, 6, "")
506
663
  };
507
664
 
508
665
  if (includeInstance) {
@@ -516,23 +673,23 @@ credentials: (f = msg.getCredentials()) && google_protobuf_struct_pb.Struct.toOb
516
673
  /**
517
674
  * Deserializes binary data (in protobuf wire format).
518
675
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
519
- * @return {!proto.fonoster.applications.v1beta2.ProductContainer}
676
+ * @return {!proto.fonoster.applications.v1beta2.SpeechDefaults}
520
677
  */
521
- proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinary = function(bytes) {
678
+ proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinary = function(bytes) {
522
679
  var reader = new jspb.BinaryReader(bytes);
523
- var msg = new proto.fonoster.applications.v1beta2.ProductContainer;
524
- return proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader(msg, reader);
680
+ var msg = new proto.fonoster.applications.v1beta2.SpeechDefaults;
681
+ return proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader(msg, reader);
525
682
  };
526
683
 
527
684
 
528
685
  /**
529
686
  * Deserializes binary data (in protobuf wire format) from the
530
687
  * given reader into the given message object.
531
- * @param {!proto.fonoster.applications.v1beta2.ProductContainer} msg The message object to deserialize into.
688
+ * @param {!proto.fonoster.applications.v1beta2.SpeechDefaults} msg The message object to deserialize into.
532
689
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
533
- * @return {!proto.fonoster.applications.v1beta2.ProductContainer}
690
+ * @return {!proto.fonoster.applications.v1beta2.SpeechDefaults}
534
691
  */
535
- proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader = function(msg, reader) {
692
+ proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader = function(msg, reader) {
536
693
  while (reader.nextField()) {
537
694
  if (reader.isEndGroup()) {
538
695
  break;
@@ -541,17 +698,27 @@ proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader
541
698
  switch (field) {
542
699
  case 1:
543
700
  var value = /** @type {string} */ (reader.readString());
544
- msg.setProductRef(value);
701
+ msg.setVoice(value);
545
702
  break;
546
703
  case 2:
547
- var value = new google_protobuf_struct_pb.Struct;
548
- reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
549
- msg.setConfig(value);
704
+ var value = /** @type {string} */ (reader.readString());
705
+ msg.setLanguage(value);
550
706
  break;
551
707
  case 3:
552
- var value = new google_protobuf_struct_pb.Struct;
553
- reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
554
- msg.setCredentials(value);
708
+ var value = /** @type {string} */ (reader.readString());
709
+ msg.setSttModel(value);
710
+ break;
711
+ case 4:
712
+ var value = /** @type {string} */ (reader.readString());
713
+ msg.setTtsModel(value);
714
+ break;
715
+ case 5:
716
+ var value = /** @type {number} */ (reader.readInt32());
717
+ msg.setSilenceTimeoutMs(value);
718
+ break;
719
+ case 6:
720
+ var value = /** @type {string} */ (reader.readString());
721
+ msg.setPatience(value);
555
722
  break;
556
723
  default:
557
724
  reader.skipField();
@@ -566,9 +733,9 @@ proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader
566
733
  * Serializes the message to binary data (in protobuf wire format).
567
734
  * @return {!Uint8Array}
568
735
  */
569
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary = function() {
736
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.serializeBinary = function() {
570
737
  var writer = new jspb.BinaryWriter();
571
- proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter(this, writer);
738
+ proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter(this, writer);
572
739
  return writer.getResultBuffer();
573
740
  };
574
741
 
@@ -576,130 +743,1385 @@ proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary =
576
743
  /**
577
744
  * Serializes the given message to binary data (in protobuf wire
578
745
  * format), writing to the given BinaryWriter.
579
- * @param {!proto.fonoster.applications.v1beta2.ProductContainer} message
746
+ * @param {!proto.fonoster.applications.v1beta2.SpeechDefaults} message
580
747
  * @param {!jspb.BinaryWriter} writer
581
748
  * @suppress {unusedLocalVariables} f is only used for nested messages
582
749
  */
583
- proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter = function(message, writer) {
750
+ proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter = function(message, writer) {
584
751
  var f = undefined;
585
- f = message.getProductRef();
752
+ f = message.getVoice();
586
753
  if (f.length > 0) {
587
754
  writer.writeString(
588
755
  1,
589
756
  f
590
757
  );
591
758
  }
592
- f = message.getConfig();
593
- if (f != null) {
594
- writer.writeMessage(
759
+ f = message.getLanguage();
760
+ if (f.length > 0) {
761
+ writer.writeString(
595
762
  2,
596
- f,
597
- google_protobuf_struct_pb.Struct.serializeBinaryToWriter
763
+ f
598
764
  );
599
765
  }
600
- f = message.getCredentials();
601
- if (f != null) {
602
- writer.writeMessage(
766
+ f = message.getSttModel();
767
+ if (f.length > 0) {
768
+ writer.writeString(
603
769
  3,
604
- f,
605
- google_protobuf_struct_pb.Struct.serializeBinaryToWriter
770
+ f
771
+ );
772
+ }
773
+ f = message.getTtsModel();
774
+ if (f.length > 0) {
775
+ writer.writeString(
776
+ 4,
777
+ f
778
+ );
779
+ }
780
+ f = message.getSilenceTimeoutMs();
781
+ if (f !== 0) {
782
+ writer.writeInt32(
783
+ 5,
784
+ f
785
+ );
786
+ }
787
+ f = message.getPatience();
788
+ if (f.length > 0) {
789
+ writer.writeString(
790
+ 6,
791
+ f
606
792
  );
607
793
  }
608
794
  };
609
795
 
610
796
 
611
797
  /**
612
- * optional string product_ref = 1;
798
+ * optional string voice = 1;
613
799
  * @return {string}
614
800
  */
615
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.getProductRef = function() {
801
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getVoice = function() {
616
802
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
617
803
  };
618
804
 
619
805
 
620
806
  /**
621
807
  * @param {string} value
622
- * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
808
+ * @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
623
809
  */
624
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.setProductRef = function(value) {
810
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setVoice = function(value) {
625
811
  return jspb.Message.setProto3StringField(this, 1, value);
626
812
  };
627
813
 
628
814
 
629
815
  /**
630
- * optional google.protobuf.Struct config = 2;
631
- * @return {?proto.google.protobuf.Struct}
816
+ * optional string language = 2;
817
+ * @return {string}
632
818
  */
633
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.getConfig = function() {
634
- return /** @type{?proto.google.protobuf.Struct} */ (
635
- jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 2));
819
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getLanguage = function() {
820
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
636
821
  };
637
822
 
638
823
 
639
824
  /**
640
- * @param {?proto.google.protobuf.Struct|undefined} value
641
- * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
642
- */
643
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.setConfig = function(value) {
644
- return jspb.Message.setWrapperField(this, 2, value);
825
+ * @param {string} value
826
+ * @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
827
+ */
828
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setLanguage = function(value) {
829
+ return jspb.Message.setProto3StringField(this, 2, value);
645
830
  };
646
831
 
647
832
 
648
833
  /**
649
- * Clears the message field making it undefined.
650
- * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
834
+ * optional string stt_model = 3;
835
+ * @return {string}
651
836
  */
652
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearConfig = function() {
653
- return this.setConfig(undefined);
837
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getSttModel = function() {
838
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
654
839
  };
655
840
 
656
841
 
657
842
  /**
658
- * Returns whether this field is set.
659
- * @return {boolean}
843
+ * @param {string} value
844
+ * @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
660
845
  */
661
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasConfig = function() {
662
- return jspb.Message.getField(this, 2) != null;
846
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setSttModel = function(value) {
847
+ return jspb.Message.setProto3StringField(this, 3, value);
663
848
  };
664
849
 
665
850
 
666
851
  /**
667
- * optional google.protobuf.Struct credentials = 3;
668
- * @return {?proto.google.protobuf.Struct}
852
+ * optional string tts_model = 4;
853
+ * @return {string}
669
854
  */
670
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.getCredentials = function() {
671
- return /** @type{?proto.google.protobuf.Struct} */ (
672
- jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 3));
855
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getTtsModel = function() {
856
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
673
857
  };
674
858
 
675
859
 
676
860
  /**
677
- * @param {?proto.google.protobuf.Struct|undefined} value
678
- * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
679
- */
680
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.setCredentials = function(value) {
681
- return jspb.Message.setWrapperField(this, 3, value);
861
+ * @param {string} value
862
+ * @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
863
+ */
864
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setTtsModel = function(value) {
865
+ return jspb.Message.setProto3StringField(this, 4, value);
682
866
  };
683
867
 
684
868
 
685
869
  /**
686
- * Clears the message field making it undefined.
687
- * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
870
+ * optional int32 silence_timeout_ms = 5;
871
+ * @return {number}
688
872
  */
689
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearCredentials = function() {
690
- return this.setCredentials(undefined);
873
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getSilenceTimeoutMs = function() {
874
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
691
875
  };
692
876
 
693
877
 
694
878
  /**
695
- * Returns whether this field is set.
696
- * @return {boolean}
879
+ * @param {number} value
880
+ * @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
697
881
  */
698
- proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasCredentials = function() {
699
- return jspb.Message.getField(this, 3) != null;
882
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setSilenceTimeoutMs = function(value) {
883
+ return jspb.Message.setProto3IntField(this, 5, value);
700
884
  };
701
885
 
702
886
 
887
+ /**
888
+ * optional string patience = 6;
889
+ * @return {string}
890
+ */
891
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.getPatience = function() {
892
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
893
+ };
894
+
895
+
896
+ /**
897
+ * @param {string} value
898
+ * @return {!proto.fonoster.applications.v1beta2.SpeechDefaults} returns this
899
+ */
900
+ proto.fonoster.applications.v1beta2.SpeechDefaults.prototype.setPatience = function(value) {
901
+ return jspb.Message.setProto3StringField(this, 6, value);
902
+ };
903
+
904
+
905
+
906
+
907
+
908
+ if (jspb.Message.GENERATE_TO_OBJECT) {
909
+ /**
910
+ * Creates an object representation of this proto.
911
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
912
+ * Optional fields that are not set will be set to undefined.
913
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
914
+ * For the list of reserved names please see:
915
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
916
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
917
+ * JSPB instance for transitional soy proto support:
918
+ * http://goto/soy-param-migration
919
+ * @return {!Object}
920
+ */
921
+ proto.fonoster.applications.v1beta2.AudioFormat.prototype.toObject = function(opt_includeInstance) {
922
+ return proto.fonoster.applications.v1beta2.AudioFormat.toObject(opt_includeInstance, this);
923
+ };
924
+
925
+
926
+ /**
927
+ * Static version of the {@see toObject} method.
928
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
929
+ * the JSPB instance for transitional soy proto support:
930
+ * http://goto/soy-param-migration
931
+ * @param {!proto.fonoster.applications.v1beta2.AudioFormat} msg The msg instance to transform.
932
+ * @return {!Object}
933
+ * @suppress {unusedLocalVariables} f is only used for nested messages
934
+ */
935
+ proto.fonoster.applications.v1beta2.AudioFormat.toObject = function(includeInstance, msg) {
936
+ var f, obj = {
937
+ codec: jspb.Message.getFieldWithDefault(msg, 1, ""),
938
+ rate: jspb.Message.getFieldWithDefault(msg, 2, 0)
939
+ };
940
+
941
+ if (includeInstance) {
942
+ obj.$jspbMessageInstance = msg;
943
+ }
944
+ return obj;
945
+ };
946
+ }
947
+
948
+
949
+ /**
950
+ * Deserializes binary data (in protobuf wire format).
951
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
952
+ * @return {!proto.fonoster.applications.v1beta2.AudioFormat}
953
+ */
954
+ proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinary = function(bytes) {
955
+ var reader = new jspb.BinaryReader(bytes);
956
+ var msg = new proto.fonoster.applications.v1beta2.AudioFormat;
957
+ return proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader(msg, reader);
958
+ };
959
+
960
+
961
+ /**
962
+ * Deserializes binary data (in protobuf wire format) from the
963
+ * given reader into the given message object.
964
+ * @param {!proto.fonoster.applications.v1beta2.AudioFormat} msg The message object to deserialize into.
965
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
966
+ * @return {!proto.fonoster.applications.v1beta2.AudioFormat}
967
+ */
968
+ proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader = function(msg, reader) {
969
+ while (reader.nextField()) {
970
+ if (reader.isEndGroup()) {
971
+ break;
972
+ }
973
+ var field = reader.getFieldNumber();
974
+ switch (field) {
975
+ case 1:
976
+ var value = /** @type {string} */ (reader.readString());
977
+ msg.setCodec(value);
978
+ break;
979
+ case 2:
980
+ var value = /** @type {number} */ (reader.readInt32());
981
+ msg.setRate(value);
982
+ break;
983
+ default:
984
+ reader.skipField();
985
+ break;
986
+ }
987
+ }
988
+ return msg;
989
+ };
990
+
991
+
992
+ /**
993
+ * Serializes the message to binary data (in protobuf wire format).
994
+ * @return {!Uint8Array}
995
+ */
996
+ proto.fonoster.applications.v1beta2.AudioFormat.prototype.serializeBinary = function() {
997
+ var writer = new jspb.BinaryWriter();
998
+ proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter(this, writer);
999
+ return writer.getResultBuffer();
1000
+ };
1001
+
1002
+
1003
+ /**
1004
+ * Serializes the given message to binary data (in protobuf wire
1005
+ * format), writing to the given BinaryWriter.
1006
+ * @param {!proto.fonoster.applications.v1beta2.AudioFormat} message
1007
+ * @param {!jspb.BinaryWriter} writer
1008
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1009
+ */
1010
+ proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter = function(message, writer) {
1011
+ var f = undefined;
1012
+ f = message.getCodec();
1013
+ if (f.length > 0) {
1014
+ writer.writeString(
1015
+ 1,
1016
+ f
1017
+ );
1018
+ }
1019
+ f = message.getRate();
1020
+ if (f !== 0) {
1021
+ writer.writeInt32(
1022
+ 2,
1023
+ f
1024
+ );
1025
+ }
1026
+ };
1027
+
1028
+
1029
+ /**
1030
+ * optional string codec = 1;
1031
+ * @return {string}
1032
+ */
1033
+ proto.fonoster.applications.v1beta2.AudioFormat.prototype.getCodec = function() {
1034
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1035
+ };
1036
+
1037
+
1038
+ /**
1039
+ * @param {string} value
1040
+ * @return {!proto.fonoster.applications.v1beta2.AudioFormat} returns this
1041
+ */
1042
+ proto.fonoster.applications.v1beta2.AudioFormat.prototype.setCodec = function(value) {
1043
+ return jspb.Message.setProto3StringField(this, 1, value);
1044
+ };
1045
+
1046
+
1047
+ /**
1048
+ * optional int32 rate = 2;
1049
+ * @return {number}
1050
+ */
1051
+ proto.fonoster.applications.v1beta2.AudioFormat.prototype.getRate = function() {
1052
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1053
+ };
1054
+
1055
+
1056
+ /**
1057
+ * @param {number} value
1058
+ * @return {!proto.fonoster.applications.v1beta2.AudioFormat} returns this
1059
+ */
1060
+ proto.fonoster.applications.v1beta2.AudioFormat.prototype.setRate = function(value) {
1061
+ return jspb.Message.setProto3IntField(this, 2, value);
1062
+ };
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1069
+ /**
1070
+ * Creates an object representation of this proto.
1071
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1072
+ * Optional fields that are not set will be set to undefined.
1073
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1074
+ * For the list of reserved names please see:
1075
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1076
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1077
+ * JSPB instance for transitional soy proto support:
1078
+ * http://goto/soy-param-migration
1079
+ * @return {!Object}
1080
+ */
1081
+ proto.fonoster.applications.v1beta2.AmdSettings.prototype.toObject = function(opt_includeInstance) {
1082
+ return proto.fonoster.applications.v1beta2.AmdSettings.toObject(opt_includeInstance, this);
1083
+ };
1084
+
1085
+
1086
+ /**
1087
+ * Static version of the {@see toObject} method.
1088
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1089
+ * the JSPB instance for transitional soy proto support:
1090
+ * http://goto/soy-param-migration
1091
+ * @param {!proto.fonoster.applications.v1beta2.AmdSettings} msg The msg instance to transform.
1092
+ * @return {!Object}
1093
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1094
+ */
1095
+ proto.fonoster.applications.v1beta2.AmdSettings.toObject = function(includeInstance, msg) {
1096
+ var f, obj = {
1097
+ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
1098
+ windowMs: jspb.Message.getFieldWithDefault(msg, 2, 0)
1099
+ };
1100
+
1101
+ if (includeInstance) {
1102
+ obj.$jspbMessageInstance = msg;
1103
+ }
1104
+ return obj;
1105
+ };
1106
+ }
1107
+
1108
+
1109
+ /**
1110
+ * Deserializes binary data (in protobuf wire format).
1111
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1112
+ * @return {!proto.fonoster.applications.v1beta2.AmdSettings}
1113
+ */
1114
+ proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinary = function(bytes) {
1115
+ var reader = new jspb.BinaryReader(bytes);
1116
+ var msg = new proto.fonoster.applications.v1beta2.AmdSettings;
1117
+ return proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader(msg, reader);
1118
+ };
1119
+
1120
+
1121
+ /**
1122
+ * Deserializes binary data (in protobuf wire format) from the
1123
+ * given reader into the given message object.
1124
+ * @param {!proto.fonoster.applications.v1beta2.AmdSettings} msg The message object to deserialize into.
1125
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1126
+ * @return {!proto.fonoster.applications.v1beta2.AmdSettings}
1127
+ */
1128
+ proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader = function(msg, reader) {
1129
+ while (reader.nextField()) {
1130
+ if (reader.isEndGroup()) {
1131
+ break;
1132
+ }
1133
+ var field = reader.getFieldNumber();
1134
+ switch (field) {
1135
+ case 1:
1136
+ var value = /** @type {boolean} */ (reader.readBool());
1137
+ msg.setEnabled(value);
1138
+ break;
1139
+ case 2:
1140
+ var value = /** @type {number} */ (reader.readInt32());
1141
+ msg.setWindowMs(value);
1142
+ break;
1143
+ default:
1144
+ reader.skipField();
1145
+ break;
1146
+ }
1147
+ }
1148
+ return msg;
1149
+ };
1150
+
1151
+
1152
+ /**
1153
+ * Serializes the message to binary data (in protobuf wire format).
1154
+ * @return {!Uint8Array}
1155
+ */
1156
+ proto.fonoster.applications.v1beta2.AmdSettings.prototype.serializeBinary = function() {
1157
+ var writer = new jspb.BinaryWriter();
1158
+ proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter(this, writer);
1159
+ return writer.getResultBuffer();
1160
+ };
1161
+
1162
+
1163
+ /**
1164
+ * Serializes the given message to binary data (in protobuf wire
1165
+ * format), writing to the given BinaryWriter.
1166
+ * @param {!proto.fonoster.applications.v1beta2.AmdSettings} message
1167
+ * @param {!jspb.BinaryWriter} writer
1168
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1169
+ */
1170
+ proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter = function(message, writer) {
1171
+ var f = undefined;
1172
+ f = message.getEnabled();
1173
+ if (f) {
1174
+ writer.writeBool(
1175
+ 1,
1176
+ f
1177
+ );
1178
+ }
1179
+ f = message.getWindowMs();
1180
+ if (f !== 0) {
1181
+ writer.writeInt32(
1182
+ 2,
1183
+ f
1184
+ );
1185
+ }
1186
+ };
1187
+
1188
+
1189
+ /**
1190
+ * optional bool enabled = 1;
1191
+ * @return {boolean}
1192
+ */
1193
+ proto.fonoster.applications.v1beta2.AmdSettings.prototype.getEnabled = function() {
1194
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
1195
+ };
1196
+
1197
+
1198
+ /**
1199
+ * @param {boolean} value
1200
+ * @return {!proto.fonoster.applications.v1beta2.AmdSettings} returns this
1201
+ */
1202
+ proto.fonoster.applications.v1beta2.AmdSettings.prototype.setEnabled = function(value) {
1203
+ return jspb.Message.setProto3BooleanField(this, 1, value);
1204
+ };
1205
+
1206
+
1207
+ /**
1208
+ * optional int32 window_ms = 2;
1209
+ * @return {number}
1210
+ */
1211
+ proto.fonoster.applications.v1beta2.AmdSettings.prototype.getWindowMs = function() {
1212
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1213
+ };
1214
+
1215
+
1216
+ /**
1217
+ * @param {number} value
1218
+ * @return {!proto.fonoster.applications.v1beta2.AmdSettings} returns this
1219
+ */
1220
+ proto.fonoster.applications.v1beta2.AmdSettings.prototype.setWindowMs = function(value) {
1221
+ return jspb.Message.setProto3IntField(this, 2, value);
1222
+ };
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1229
+ /**
1230
+ * Creates an object representation of this proto.
1231
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1232
+ * Optional fields that are not set will be set to undefined.
1233
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1234
+ * For the list of reserved names please see:
1235
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1236
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1237
+ * JSPB instance for transitional soy proto support:
1238
+ * http://goto/soy-param-migration
1239
+ * @return {!Object}
1240
+ */
1241
+ proto.fonoster.applications.v1beta2.Listener.prototype.toObject = function(opt_includeInstance) {
1242
+ return proto.fonoster.applications.v1beta2.Listener.toObject(opt_includeInstance, this);
1243
+ };
1244
+
1245
+
1246
+ /**
1247
+ * Static version of the {@see toObject} method.
1248
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1249
+ * the JSPB instance for transitional soy proto support:
1250
+ * http://goto/soy-param-migration
1251
+ * @param {!proto.fonoster.applications.v1beta2.Listener} msg The msg instance to transform.
1252
+ * @return {!Object}
1253
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1254
+ */
1255
+ proto.fonoster.applications.v1beta2.Listener.toObject = function(includeInstance, msg) {
1256
+ var f, obj = {
1257
+ url: jspb.Message.getFieldWithDefault(msg, 1, ""),
1258
+ tracks: jspb.Message.getFieldWithDefault(msg, 2, "")
1259
+ };
1260
+
1261
+ if (includeInstance) {
1262
+ obj.$jspbMessageInstance = msg;
1263
+ }
1264
+ return obj;
1265
+ };
1266
+ }
1267
+
1268
+
1269
+ /**
1270
+ * Deserializes binary data (in protobuf wire format).
1271
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1272
+ * @return {!proto.fonoster.applications.v1beta2.Listener}
1273
+ */
1274
+ proto.fonoster.applications.v1beta2.Listener.deserializeBinary = function(bytes) {
1275
+ var reader = new jspb.BinaryReader(bytes);
1276
+ var msg = new proto.fonoster.applications.v1beta2.Listener;
1277
+ return proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader(msg, reader);
1278
+ };
1279
+
1280
+
1281
+ /**
1282
+ * Deserializes binary data (in protobuf wire format) from the
1283
+ * given reader into the given message object.
1284
+ * @param {!proto.fonoster.applications.v1beta2.Listener} msg The message object to deserialize into.
1285
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1286
+ * @return {!proto.fonoster.applications.v1beta2.Listener}
1287
+ */
1288
+ proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader = function(msg, reader) {
1289
+ while (reader.nextField()) {
1290
+ if (reader.isEndGroup()) {
1291
+ break;
1292
+ }
1293
+ var field = reader.getFieldNumber();
1294
+ switch (field) {
1295
+ case 1:
1296
+ var value = /** @type {string} */ (reader.readString());
1297
+ msg.setUrl(value);
1298
+ break;
1299
+ case 2:
1300
+ var value = /** @type {string} */ (reader.readString());
1301
+ msg.setTracks(value);
1302
+ break;
1303
+ default:
1304
+ reader.skipField();
1305
+ break;
1306
+ }
1307
+ }
1308
+ return msg;
1309
+ };
1310
+
1311
+
1312
+ /**
1313
+ * Serializes the message to binary data (in protobuf wire format).
1314
+ * @return {!Uint8Array}
1315
+ */
1316
+ proto.fonoster.applications.v1beta2.Listener.prototype.serializeBinary = function() {
1317
+ var writer = new jspb.BinaryWriter();
1318
+ proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter(this, writer);
1319
+ return writer.getResultBuffer();
1320
+ };
1321
+
1322
+
1323
+ /**
1324
+ * Serializes the given message to binary data (in protobuf wire
1325
+ * format), writing to the given BinaryWriter.
1326
+ * @param {!proto.fonoster.applications.v1beta2.Listener} message
1327
+ * @param {!jspb.BinaryWriter} writer
1328
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1329
+ */
1330
+ proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter = function(message, writer) {
1331
+ var f = undefined;
1332
+ f = message.getUrl();
1333
+ if (f.length > 0) {
1334
+ writer.writeString(
1335
+ 1,
1336
+ f
1337
+ );
1338
+ }
1339
+ f = message.getTracks();
1340
+ if (f.length > 0) {
1341
+ writer.writeString(
1342
+ 2,
1343
+ f
1344
+ );
1345
+ }
1346
+ };
1347
+
1348
+
1349
+ /**
1350
+ * optional string url = 1;
1351
+ * @return {string}
1352
+ */
1353
+ proto.fonoster.applications.v1beta2.Listener.prototype.getUrl = function() {
1354
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1355
+ };
1356
+
1357
+
1358
+ /**
1359
+ * @param {string} value
1360
+ * @return {!proto.fonoster.applications.v1beta2.Listener} returns this
1361
+ */
1362
+ proto.fonoster.applications.v1beta2.Listener.prototype.setUrl = function(value) {
1363
+ return jspb.Message.setProto3StringField(this, 1, value);
1364
+ };
1365
+
1366
+
1367
+ /**
1368
+ * optional string tracks = 2;
1369
+ * @return {string}
1370
+ */
1371
+ proto.fonoster.applications.v1beta2.Listener.prototype.getTracks = function() {
1372
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1373
+ };
1374
+
1375
+
1376
+ /**
1377
+ * @param {string} value
1378
+ * @return {!proto.fonoster.applications.v1beta2.Listener} returns this
1379
+ */
1380
+ proto.fonoster.applications.v1beta2.Listener.prototype.setTracks = function(value) {
1381
+ return jspb.Message.setProto3StringField(this, 2, value);
1382
+ };
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1389
+ /**
1390
+ * Creates an object representation of this proto.
1391
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1392
+ * Optional fields that are not set will be set to undefined.
1393
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1394
+ * For the list of reserved names please see:
1395
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1396
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1397
+ * JSPB instance for transitional soy proto support:
1398
+ * http://goto/soy-param-migration
1399
+ * @return {!Object}
1400
+ */
1401
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.prototype.toObject = function(opt_includeInstance) {
1402
+ return proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.toObject(opt_includeInstance, this);
1403
+ };
1404
+
1405
+
1406
+ /**
1407
+ * Static version of the {@see toObject} method.
1408
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1409
+ * the JSPB instance for transitional soy proto support:
1410
+ * http://goto/soy-param-migration
1411
+ * @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest} msg The msg instance to transform.
1412
+ * @return {!Object}
1413
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1414
+ */
1415
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.toObject = function(includeInstance, msg) {
1416
+ var f, obj = {
1417
+ ref: jspb.Message.getFieldWithDefault(msg, 1, "")
1418
+ };
1419
+
1420
+ if (includeInstance) {
1421
+ obj.$jspbMessageInstance = msg;
1422
+ }
1423
+ return obj;
1424
+ };
1425
+ }
1426
+
1427
+
1428
+ /**
1429
+ * Deserializes binary data (in protobuf wire format).
1430
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1431
+ * @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest}
1432
+ */
1433
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.deserializeBinary = function(bytes) {
1434
+ var reader = new jspb.BinaryReader(bytes);
1435
+ var msg = new proto.fonoster.applications.v1beta2.RotateSigningSecretRequest;
1436
+ return proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.deserializeBinaryFromReader(msg, reader);
1437
+ };
1438
+
1439
+
1440
+ /**
1441
+ * Deserializes binary data (in protobuf wire format) from the
1442
+ * given reader into the given message object.
1443
+ * @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest} msg The message object to deserialize into.
1444
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1445
+ * @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest}
1446
+ */
1447
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.deserializeBinaryFromReader = function(msg, reader) {
1448
+ while (reader.nextField()) {
1449
+ if (reader.isEndGroup()) {
1450
+ break;
1451
+ }
1452
+ var field = reader.getFieldNumber();
1453
+ switch (field) {
1454
+ case 1:
1455
+ var value = /** @type {string} */ (reader.readString());
1456
+ msg.setRef(value);
1457
+ break;
1458
+ default:
1459
+ reader.skipField();
1460
+ break;
1461
+ }
1462
+ }
1463
+ return msg;
1464
+ };
1465
+
1466
+
1467
+ /**
1468
+ * Serializes the message to binary data (in protobuf wire format).
1469
+ * @return {!Uint8Array}
1470
+ */
1471
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.prototype.serializeBinary = function() {
1472
+ var writer = new jspb.BinaryWriter();
1473
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.serializeBinaryToWriter(this, writer);
1474
+ return writer.getResultBuffer();
1475
+ };
1476
+
1477
+
1478
+ /**
1479
+ * Serializes the given message to binary data (in protobuf wire
1480
+ * format), writing to the given BinaryWriter.
1481
+ * @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest} message
1482
+ * @param {!jspb.BinaryWriter} writer
1483
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1484
+ */
1485
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.serializeBinaryToWriter = function(message, writer) {
1486
+ var f = undefined;
1487
+ f = message.getRef();
1488
+ if (f.length > 0) {
1489
+ writer.writeString(
1490
+ 1,
1491
+ f
1492
+ );
1493
+ }
1494
+ };
1495
+
1496
+
1497
+ /**
1498
+ * optional string ref = 1;
1499
+ * @return {string}
1500
+ */
1501
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.prototype.getRef = function() {
1502
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1503
+ };
1504
+
1505
+
1506
+ /**
1507
+ * @param {string} value
1508
+ * @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretRequest} returns this
1509
+ */
1510
+ proto.fonoster.applications.v1beta2.RotateSigningSecretRequest.prototype.setRef = function(value) {
1511
+ return jspb.Message.setProto3StringField(this, 1, value);
1512
+ };
1513
+
1514
+
1515
+
1516
+
1517
+
1518
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1519
+ /**
1520
+ * Creates an object representation of this proto.
1521
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1522
+ * Optional fields that are not set will be set to undefined.
1523
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1524
+ * For the list of reserved names please see:
1525
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1526
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1527
+ * JSPB instance for transitional soy proto support:
1528
+ * http://goto/soy-param-migration
1529
+ * @return {!Object}
1530
+ */
1531
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.toObject = function(opt_includeInstance) {
1532
+ return proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.toObject(opt_includeInstance, this);
1533
+ };
1534
+
1535
+
1536
+ /**
1537
+ * Static version of the {@see toObject} method.
1538
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1539
+ * the JSPB instance for transitional soy proto support:
1540
+ * http://goto/soy-param-migration
1541
+ * @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} msg The msg instance to transform.
1542
+ * @return {!Object}
1543
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1544
+ */
1545
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.toObject = function(includeInstance, msg) {
1546
+ var f, obj = {
1547
+ ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
1548
+ signingSecret: jspb.Message.getFieldWithDefault(msg, 2, ""),
1549
+ signingSecretHint: jspb.Message.getFieldWithDefault(msg, 3, "")
1550
+ };
1551
+
1552
+ if (includeInstance) {
1553
+ obj.$jspbMessageInstance = msg;
1554
+ }
1555
+ return obj;
1556
+ };
1557
+ }
1558
+
1559
+
1560
+ /**
1561
+ * Deserializes binary data (in protobuf wire format).
1562
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1563
+ * @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse}
1564
+ */
1565
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.deserializeBinary = function(bytes) {
1566
+ var reader = new jspb.BinaryReader(bytes);
1567
+ var msg = new proto.fonoster.applications.v1beta2.RotateSigningSecretResponse;
1568
+ return proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.deserializeBinaryFromReader(msg, reader);
1569
+ };
1570
+
1571
+
1572
+ /**
1573
+ * Deserializes binary data (in protobuf wire format) from the
1574
+ * given reader into the given message object.
1575
+ * @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} msg The message object to deserialize into.
1576
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1577
+ * @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse}
1578
+ */
1579
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.deserializeBinaryFromReader = function(msg, reader) {
1580
+ while (reader.nextField()) {
1581
+ if (reader.isEndGroup()) {
1582
+ break;
1583
+ }
1584
+ var field = reader.getFieldNumber();
1585
+ switch (field) {
1586
+ case 1:
1587
+ var value = /** @type {string} */ (reader.readString());
1588
+ msg.setRef(value);
1589
+ break;
1590
+ case 2:
1591
+ var value = /** @type {string} */ (reader.readString());
1592
+ msg.setSigningSecret(value);
1593
+ break;
1594
+ case 3:
1595
+ var value = /** @type {string} */ (reader.readString());
1596
+ msg.setSigningSecretHint(value);
1597
+ break;
1598
+ default:
1599
+ reader.skipField();
1600
+ break;
1601
+ }
1602
+ }
1603
+ return msg;
1604
+ };
1605
+
1606
+
1607
+ /**
1608
+ * Serializes the message to binary data (in protobuf wire format).
1609
+ * @return {!Uint8Array}
1610
+ */
1611
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.serializeBinary = function() {
1612
+ var writer = new jspb.BinaryWriter();
1613
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.serializeBinaryToWriter(this, writer);
1614
+ return writer.getResultBuffer();
1615
+ };
1616
+
1617
+
1618
+ /**
1619
+ * Serializes the given message to binary data (in protobuf wire
1620
+ * format), writing to the given BinaryWriter.
1621
+ * @param {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} message
1622
+ * @param {!jspb.BinaryWriter} writer
1623
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1624
+ */
1625
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.serializeBinaryToWriter = function(message, writer) {
1626
+ var f = undefined;
1627
+ f = message.getRef();
1628
+ if (f.length > 0) {
1629
+ writer.writeString(
1630
+ 1,
1631
+ f
1632
+ );
1633
+ }
1634
+ f = message.getSigningSecret();
1635
+ if (f.length > 0) {
1636
+ writer.writeString(
1637
+ 2,
1638
+ f
1639
+ );
1640
+ }
1641
+ f = message.getSigningSecretHint();
1642
+ if (f.length > 0) {
1643
+ writer.writeString(
1644
+ 3,
1645
+ f
1646
+ );
1647
+ }
1648
+ };
1649
+
1650
+
1651
+ /**
1652
+ * optional string ref = 1;
1653
+ * @return {string}
1654
+ */
1655
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.getRef = function() {
1656
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1657
+ };
1658
+
1659
+
1660
+ /**
1661
+ * @param {string} value
1662
+ * @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} returns this
1663
+ */
1664
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.setRef = function(value) {
1665
+ return jspb.Message.setProto3StringField(this, 1, value);
1666
+ };
1667
+
1668
+
1669
+ /**
1670
+ * optional string signing_secret = 2;
1671
+ * @return {string}
1672
+ */
1673
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.getSigningSecret = function() {
1674
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1675
+ };
1676
+
1677
+
1678
+ /**
1679
+ * @param {string} value
1680
+ * @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} returns this
1681
+ */
1682
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.setSigningSecret = function(value) {
1683
+ return jspb.Message.setProto3StringField(this, 2, value);
1684
+ };
1685
+
1686
+
1687
+ /**
1688
+ * optional string signing_secret_hint = 3;
1689
+ * @return {string}
1690
+ */
1691
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.getSigningSecretHint = function() {
1692
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1693
+ };
1694
+
1695
+
1696
+ /**
1697
+ * @param {string} value
1698
+ * @return {!proto.fonoster.applications.v1beta2.RotateSigningSecretResponse} returns this
1699
+ */
1700
+ proto.fonoster.applications.v1beta2.RotateSigningSecretResponse.prototype.setSigningSecretHint = function(value) {
1701
+ return jspb.Message.setProto3StringField(this, 3, value);
1702
+ };
1703
+
1704
+
1705
+
1706
+
1707
+
1708
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1709
+ /**
1710
+ * Creates an object representation of this proto.
1711
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1712
+ * Optional fields that are not set will be set to undefined.
1713
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1714
+ * For the list of reserved names please see:
1715
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1716
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1717
+ * JSPB instance for transitional soy proto support:
1718
+ * http://goto/soy-param-migration
1719
+ * @return {!Object}
1720
+ */
1721
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject = function(opt_includeInstance) {
1722
+ return proto.fonoster.applications.v1beta2.ProductContainer.toObject(opt_includeInstance, this);
1723
+ };
1724
+
1725
+
1726
+ /**
1727
+ * Static version of the {@see toObject} method.
1728
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1729
+ * the JSPB instance for transitional soy proto support:
1730
+ * http://goto/soy-param-migration
1731
+ * @param {!proto.fonoster.applications.v1beta2.ProductContainer} msg The msg instance to transform.
1732
+ * @return {!Object}
1733
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1734
+ */
1735
+ proto.fonoster.applications.v1beta2.ProductContainer.toObject = function(includeInstance, msg) {
1736
+ var f, obj = {
1737
+ productRef: jspb.Message.getFieldWithDefault(msg, 1, ""),
1738
+ config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
1739
+ credentials: (f = msg.getCredentials()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
1740
+ };
1741
+
1742
+ if (includeInstance) {
1743
+ obj.$jspbMessageInstance = msg;
1744
+ }
1745
+ return obj;
1746
+ };
1747
+ }
1748
+
1749
+
1750
+ /**
1751
+ * Deserializes binary data (in protobuf wire format).
1752
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1753
+ * @return {!proto.fonoster.applications.v1beta2.ProductContainer}
1754
+ */
1755
+ proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinary = function(bytes) {
1756
+ var reader = new jspb.BinaryReader(bytes);
1757
+ var msg = new proto.fonoster.applications.v1beta2.ProductContainer;
1758
+ return proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader(msg, reader);
1759
+ };
1760
+
1761
+
1762
+ /**
1763
+ * Deserializes binary data (in protobuf wire format) from the
1764
+ * given reader into the given message object.
1765
+ * @param {!proto.fonoster.applications.v1beta2.ProductContainer} msg The message object to deserialize into.
1766
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1767
+ * @return {!proto.fonoster.applications.v1beta2.ProductContainer}
1768
+ */
1769
+ proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader = function(msg, reader) {
1770
+ while (reader.nextField()) {
1771
+ if (reader.isEndGroup()) {
1772
+ break;
1773
+ }
1774
+ var field = reader.getFieldNumber();
1775
+ switch (field) {
1776
+ case 1:
1777
+ var value = /** @type {string} */ (reader.readString());
1778
+ msg.setProductRef(value);
1779
+ break;
1780
+ case 2:
1781
+ var value = new google_protobuf_struct_pb.Struct;
1782
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
1783
+ msg.setConfig(value);
1784
+ break;
1785
+ case 3:
1786
+ var value = new google_protobuf_struct_pb.Struct;
1787
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
1788
+ msg.setCredentials(value);
1789
+ break;
1790
+ default:
1791
+ reader.skipField();
1792
+ break;
1793
+ }
1794
+ }
1795
+ return msg;
1796
+ };
1797
+
1798
+
1799
+ /**
1800
+ * Serializes the message to binary data (in protobuf wire format).
1801
+ * @return {!Uint8Array}
1802
+ */
1803
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary = function() {
1804
+ var writer = new jspb.BinaryWriter();
1805
+ proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter(this, writer);
1806
+ return writer.getResultBuffer();
1807
+ };
1808
+
1809
+
1810
+ /**
1811
+ * Serializes the given message to binary data (in protobuf wire
1812
+ * format), writing to the given BinaryWriter.
1813
+ * @param {!proto.fonoster.applications.v1beta2.ProductContainer} message
1814
+ * @param {!jspb.BinaryWriter} writer
1815
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1816
+ */
1817
+ proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter = function(message, writer) {
1818
+ var f = undefined;
1819
+ f = message.getProductRef();
1820
+ if (f.length > 0) {
1821
+ writer.writeString(
1822
+ 1,
1823
+ f
1824
+ );
1825
+ }
1826
+ f = message.getConfig();
1827
+ if (f != null) {
1828
+ writer.writeMessage(
1829
+ 2,
1830
+ f,
1831
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
1832
+ );
1833
+ }
1834
+ f = message.getCredentials();
1835
+ if (f != null) {
1836
+ writer.writeMessage(
1837
+ 3,
1838
+ f,
1839
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
1840
+ );
1841
+ }
1842
+ };
1843
+
1844
+
1845
+ /**
1846
+ * optional string product_ref = 1;
1847
+ * @return {string}
1848
+ */
1849
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.getProductRef = function() {
1850
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1851
+ };
1852
+
1853
+
1854
+ /**
1855
+ * @param {string} value
1856
+ * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
1857
+ */
1858
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.setProductRef = function(value) {
1859
+ return jspb.Message.setProto3StringField(this, 1, value);
1860
+ };
1861
+
1862
+
1863
+ /**
1864
+ * optional google.protobuf.Struct config = 2;
1865
+ * @return {?proto.google.protobuf.Struct}
1866
+ */
1867
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.getConfig = function() {
1868
+ return /** @type{?proto.google.protobuf.Struct} */ (
1869
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 2));
1870
+ };
1871
+
1872
+
1873
+ /**
1874
+ * @param {?proto.google.protobuf.Struct|undefined} value
1875
+ * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
1876
+ */
1877
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.setConfig = function(value) {
1878
+ return jspb.Message.setWrapperField(this, 2, value);
1879
+ };
1880
+
1881
+
1882
+ /**
1883
+ * Clears the message field making it undefined.
1884
+ * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
1885
+ */
1886
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearConfig = function() {
1887
+ return this.setConfig(undefined);
1888
+ };
1889
+
1890
+
1891
+ /**
1892
+ * Returns whether this field is set.
1893
+ * @return {boolean}
1894
+ */
1895
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasConfig = function() {
1896
+ return jspb.Message.getField(this, 2) != null;
1897
+ };
1898
+
1899
+
1900
+ /**
1901
+ * optional google.protobuf.Struct credentials = 3;
1902
+ * @return {?proto.google.protobuf.Struct}
1903
+ */
1904
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.getCredentials = function() {
1905
+ return /** @type{?proto.google.protobuf.Struct} */ (
1906
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 3));
1907
+ };
1908
+
1909
+
1910
+ /**
1911
+ * @param {?proto.google.protobuf.Struct|undefined} value
1912
+ * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
1913
+ */
1914
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.setCredentials = function(value) {
1915
+ return jspb.Message.setWrapperField(this, 3, value);
1916
+ };
1917
+
1918
+
1919
+ /**
1920
+ * Clears the message field making it undefined.
1921
+ * @return {!proto.fonoster.applications.v1beta2.ProductContainer} returns this
1922
+ */
1923
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearCredentials = function() {
1924
+ return this.setCredentials(undefined);
1925
+ };
1926
+
1927
+
1928
+ /**
1929
+ * Returns whether this field is set.
1930
+ * @return {boolean}
1931
+ */
1932
+ proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasCredentials = function() {
1933
+ return jspb.Message.getField(this, 3) != null;
1934
+ };
1935
+
1936
+
1937
+
1938
+
1939
+
1940
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1941
+ /**
1942
+ * Creates an object representation of this proto.
1943
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1944
+ * Optional fields that are not set will be set to undefined.
1945
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1946
+ * For the list of reserved names please see:
1947
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1948
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1949
+ * JSPB instance for transitional soy proto support:
1950
+ * http://goto/soy-param-migration
1951
+ * @return {!Object}
1952
+ */
1953
+ proto.fonoster.applications.v1beta2.AudioFilter.prototype.toObject = function(opt_includeInstance) {
1954
+ return proto.fonoster.applications.v1beta2.AudioFilter.toObject(opt_includeInstance, this);
1955
+ };
1956
+
1957
+
1958
+ /**
1959
+ * Static version of the {@see toObject} method.
1960
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1961
+ * the JSPB instance for transitional soy proto support:
1962
+ * http://goto/soy-param-migration
1963
+ * @param {!proto.fonoster.applications.v1beta2.AudioFilter} msg The msg instance to transform.
1964
+ * @return {!Object}
1965
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1966
+ */
1967
+ proto.fonoster.applications.v1beta2.AudioFilter.toObject = function(includeInstance, msg) {
1968
+ var f, obj = {
1969
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1970
+ options: (f = msg.getOptions()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
1971
+ };
1972
+
1973
+ if (includeInstance) {
1974
+ obj.$jspbMessageInstance = msg;
1975
+ }
1976
+ return obj;
1977
+ };
1978
+ }
1979
+
1980
+
1981
+ /**
1982
+ * Deserializes binary data (in protobuf wire format).
1983
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1984
+ * @return {!proto.fonoster.applications.v1beta2.AudioFilter}
1985
+ */
1986
+ proto.fonoster.applications.v1beta2.AudioFilter.deserializeBinary = function(bytes) {
1987
+ var reader = new jspb.BinaryReader(bytes);
1988
+ var msg = new proto.fonoster.applications.v1beta2.AudioFilter;
1989
+ return proto.fonoster.applications.v1beta2.AudioFilter.deserializeBinaryFromReader(msg, reader);
1990
+ };
1991
+
1992
+
1993
+ /**
1994
+ * Deserializes binary data (in protobuf wire format) from the
1995
+ * given reader into the given message object.
1996
+ * @param {!proto.fonoster.applications.v1beta2.AudioFilter} msg The message object to deserialize into.
1997
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1998
+ * @return {!proto.fonoster.applications.v1beta2.AudioFilter}
1999
+ */
2000
+ proto.fonoster.applications.v1beta2.AudioFilter.deserializeBinaryFromReader = function(msg, reader) {
2001
+ while (reader.nextField()) {
2002
+ if (reader.isEndGroup()) {
2003
+ break;
2004
+ }
2005
+ var field = reader.getFieldNumber();
2006
+ switch (field) {
2007
+ case 1:
2008
+ var value = /** @type {string} */ (reader.readString());
2009
+ msg.setName(value);
2010
+ break;
2011
+ case 2:
2012
+ var value = new google_protobuf_struct_pb.Struct;
2013
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
2014
+ msg.setOptions(value);
2015
+ break;
2016
+ default:
2017
+ reader.skipField();
2018
+ break;
2019
+ }
2020
+ }
2021
+ return msg;
2022
+ };
2023
+
2024
+
2025
+ /**
2026
+ * Serializes the message to binary data (in protobuf wire format).
2027
+ * @return {!Uint8Array}
2028
+ */
2029
+ proto.fonoster.applications.v1beta2.AudioFilter.prototype.serializeBinary = function() {
2030
+ var writer = new jspb.BinaryWriter();
2031
+ proto.fonoster.applications.v1beta2.AudioFilter.serializeBinaryToWriter(this, writer);
2032
+ return writer.getResultBuffer();
2033
+ };
2034
+
2035
+
2036
+ /**
2037
+ * Serializes the given message to binary data (in protobuf wire
2038
+ * format), writing to the given BinaryWriter.
2039
+ * @param {!proto.fonoster.applications.v1beta2.AudioFilter} message
2040
+ * @param {!jspb.BinaryWriter} writer
2041
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2042
+ */
2043
+ proto.fonoster.applications.v1beta2.AudioFilter.serializeBinaryToWriter = function(message, writer) {
2044
+ var f = undefined;
2045
+ f = message.getName();
2046
+ if (f.length > 0) {
2047
+ writer.writeString(
2048
+ 1,
2049
+ f
2050
+ );
2051
+ }
2052
+ f = message.getOptions();
2053
+ if (f != null) {
2054
+ writer.writeMessage(
2055
+ 2,
2056
+ f,
2057
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
2058
+ );
2059
+ }
2060
+ };
2061
+
2062
+
2063
+ /**
2064
+ * optional string name = 1;
2065
+ * @return {string}
2066
+ */
2067
+ proto.fonoster.applications.v1beta2.AudioFilter.prototype.getName = function() {
2068
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2069
+ };
2070
+
2071
+
2072
+ /**
2073
+ * @param {string} value
2074
+ * @return {!proto.fonoster.applications.v1beta2.AudioFilter} returns this
2075
+ */
2076
+ proto.fonoster.applications.v1beta2.AudioFilter.prototype.setName = function(value) {
2077
+ return jspb.Message.setProto3StringField(this, 1, value);
2078
+ };
2079
+
2080
+
2081
+ /**
2082
+ * optional google.protobuf.Struct options = 2;
2083
+ * @return {?proto.google.protobuf.Struct}
2084
+ */
2085
+ proto.fonoster.applications.v1beta2.AudioFilter.prototype.getOptions = function() {
2086
+ return /** @type{?proto.google.protobuf.Struct} */ (
2087
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 2));
2088
+ };
2089
+
2090
+
2091
+ /**
2092
+ * @param {?proto.google.protobuf.Struct|undefined} value
2093
+ * @return {!proto.fonoster.applications.v1beta2.AudioFilter} returns this
2094
+ */
2095
+ proto.fonoster.applications.v1beta2.AudioFilter.prototype.setOptions = function(value) {
2096
+ return jspb.Message.setWrapperField(this, 2, value);
2097
+ };
2098
+
2099
+
2100
+ /**
2101
+ * Clears the message field making it undefined.
2102
+ * @return {!proto.fonoster.applications.v1beta2.AudioFilter} returns this
2103
+ */
2104
+ proto.fonoster.applications.v1beta2.AudioFilter.prototype.clearOptions = function() {
2105
+ return this.setOptions(undefined);
2106
+ };
2107
+
2108
+
2109
+ /**
2110
+ * Returns whether this field is set.
2111
+ * @return {boolean}
2112
+ */
2113
+ proto.fonoster.applications.v1beta2.AudioFilter.prototype.hasOptions = function() {
2114
+ return jspb.Message.getField(this, 2) != null;
2115
+ };
2116
+
2117
+
2118
+
2119
+ /**
2120
+ * List of repeated fields within this message type.
2121
+ * @private {!Array<number>}
2122
+ * @const
2123
+ */
2124
+ proto.fonoster.applications.v1beta2.Application.repeatedFields_ = [17,20];
703
2125
 
704
2126
 
705
2127
 
@@ -740,7 +2162,20 @@ textToSpeech: (f = msg.getTextToSpeech()) && proto.fonoster.applications.v1beta2
740
2162
  speechToText: (f = msg.getSpeechToText()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
741
2163
  intelligence: (f = msg.getIntelligence()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
742
2164
  createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
743
- updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0)
2165
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0),
2166
+ url: jspb.Message.getFieldWithDefault(msg, 10, ""),
2167
+ protocol: jspb.Message.getFieldWithDefault(msg, 11, ""),
2168
+ signingSecretHint: jspb.Message.getFieldWithDefault(msg, 12, ""),
2169
+ speech: (f = msg.getSpeech()) && proto.fonoster.applications.v1beta2.SpeechDefaults.toObject(includeInstance, f),
2170
+ audio: (f = msg.getAudio()) && proto.fonoster.applications.v1beta2.AudioFormat.toObject(includeInstance, f),
2171
+ fallbackAppRef: jspb.Message.getFieldWithDefault(msg, 15, ""),
2172
+ fallbackMessage: jspb.Message.getFieldWithDefault(msg, 16, ""),
2173
+ listenersList: jspb.Message.toObjectList(msg.getListenersList(),
2174
+ proto.fonoster.applications.v1beta2.Listener.toObject, includeInstance),
2175
+ recording: jspb.Message.getFieldWithDefault(msg, 18, ""),
2176
+ amd: (f = msg.getAmd()) && proto.fonoster.applications.v1beta2.AmdSettings.toObject(includeInstance, f),
2177
+ filtersList: jspb.Message.toObjectList(msg.getFiltersList(),
2178
+ proto.fonoster.applications.v1beta2.AudioFilter.toObject, includeInstance)
744
2179
  };
745
2180
 
746
2181
  if (includeInstance) {
@@ -816,6 +2251,55 @@ proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader = fu
816
2251
  var value = /** @type {number} */ (reader.readInt32());
817
2252
  msg.setUpdatedAt(value);
818
2253
  break;
2254
+ case 10:
2255
+ var value = /** @type {string} */ (reader.readString());
2256
+ msg.setUrl(value);
2257
+ break;
2258
+ case 11:
2259
+ var value = /** @type {string} */ (reader.readString());
2260
+ msg.setProtocol(value);
2261
+ break;
2262
+ case 12:
2263
+ var value = /** @type {string} */ (reader.readString());
2264
+ msg.setSigningSecretHint(value);
2265
+ break;
2266
+ case 13:
2267
+ var value = new proto.fonoster.applications.v1beta2.SpeechDefaults;
2268
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader);
2269
+ msg.setSpeech(value);
2270
+ break;
2271
+ case 14:
2272
+ var value = new proto.fonoster.applications.v1beta2.AudioFormat;
2273
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader);
2274
+ msg.setAudio(value);
2275
+ break;
2276
+ case 15:
2277
+ var value = /** @type {string} */ (reader.readString());
2278
+ msg.setFallbackAppRef(value);
2279
+ break;
2280
+ case 16:
2281
+ var value = /** @type {string} */ (reader.readString());
2282
+ msg.setFallbackMessage(value);
2283
+ break;
2284
+ case 17:
2285
+ var value = new proto.fonoster.applications.v1beta2.Listener;
2286
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader);
2287
+ msg.addListeners(value);
2288
+ break;
2289
+ case 18:
2290
+ var value = /** @type {string} */ (reader.readString());
2291
+ msg.setRecording(value);
2292
+ break;
2293
+ case 19:
2294
+ var value = new proto.fonoster.applications.v1beta2.AmdSettings;
2295
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader);
2296
+ msg.setAmd(value);
2297
+ break;
2298
+ case 20:
2299
+ var value = new proto.fonoster.applications.v1beta2.AudioFilter;
2300
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFilter.deserializeBinaryFromReader);
2301
+ msg.addFilters(value);
2302
+ break;
819
2303
  default:
820
2304
  reader.skipField();
821
2305
  break;
@@ -866,51 +2350,133 @@ proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter = functi
866
2350
  f
867
2351
  );
868
2352
  }
869
- f = message.getEndpoint();
2353
+ f = message.getEndpoint();
2354
+ if (f.length > 0) {
2355
+ writer.writeString(
2356
+ 4,
2357
+ f
2358
+ );
2359
+ }
2360
+ f = message.getTextToSpeech();
2361
+ if (f != null) {
2362
+ writer.writeMessage(
2363
+ 5,
2364
+ f,
2365
+ proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
2366
+ );
2367
+ }
2368
+ f = message.getSpeechToText();
2369
+ if (f != null) {
2370
+ writer.writeMessage(
2371
+ 6,
2372
+ f,
2373
+ proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
2374
+ );
2375
+ }
2376
+ f = message.getIntelligence();
2377
+ if (f != null) {
2378
+ writer.writeMessage(
2379
+ 7,
2380
+ f,
2381
+ proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
2382
+ );
2383
+ }
2384
+ f = message.getCreatedAt();
2385
+ if (f !== 0) {
2386
+ writer.writeInt32(
2387
+ 8,
2388
+ f
2389
+ );
2390
+ }
2391
+ f = message.getUpdatedAt();
2392
+ if (f !== 0) {
2393
+ writer.writeInt32(
2394
+ 9,
2395
+ f
2396
+ );
2397
+ }
2398
+ f = message.getUrl();
2399
+ if (f.length > 0) {
2400
+ writer.writeString(
2401
+ 10,
2402
+ f
2403
+ );
2404
+ }
2405
+ f = message.getProtocol();
870
2406
  if (f.length > 0) {
871
2407
  writer.writeString(
872
- 4,
2408
+ 11,
873
2409
  f
874
2410
  );
875
2411
  }
876
- f = message.getTextToSpeech();
877
- if (f != null) {
878
- writer.writeMessage(
879
- 5,
880
- f,
881
- proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
2412
+ f = message.getSigningSecretHint();
2413
+ if (f.length > 0) {
2414
+ writer.writeString(
2415
+ 12,
2416
+ f
882
2417
  );
883
2418
  }
884
- f = message.getSpeechToText();
2419
+ f = message.getSpeech();
885
2420
  if (f != null) {
886
2421
  writer.writeMessage(
887
- 6,
2422
+ 13,
888
2423
  f,
889
- proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
2424
+ proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter
890
2425
  );
891
2426
  }
892
- f = message.getIntelligence();
2427
+ f = message.getAudio();
893
2428
  if (f != null) {
894
2429
  writer.writeMessage(
895
- 7,
2430
+ 14,
896
2431
  f,
897
- proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
2432
+ proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter
898
2433
  );
899
2434
  }
900
- f = message.getCreatedAt();
901
- if (f !== 0) {
902
- writer.writeInt32(
903
- 8,
2435
+ f = message.getFallbackAppRef();
2436
+ if (f.length > 0) {
2437
+ writer.writeString(
2438
+ 15,
904
2439
  f
905
2440
  );
906
2441
  }
907
- f = message.getUpdatedAt();
908
- if (f !== 0) {
909
- writer.writeInt32(
910
- 9,
2442
+ f = message.getFallbackMessage();
2443
+ if (f.length > 0) {
2444
+ writer.writeString(
2445
+ 16,
2446
+ f
2447
+ );
2448
+ }
2449
+ f = message.getListenersList();
2450
+ if (f.length > 0) {
2451
+ writer.writeRepeatedMessage(
2452
+ 17,
2453
+ f,
2454
+ proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter
2455
+ );
2456
+ }
2457
+ f = message.getRecording();
2458
+ if (f.length > 0) {
2459
+ writer.writeString(
2460
+ 18,
911
2461
  f
912
2462
  );
913
2463
  }
2464
+ f = message.getAmd();
2465
+ if (f != null) {
2466
+ writer.writeMessage(
2467
+ 19,
2468
+ f,
2469
+ proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter
2470
+ );
2471
+ }
2472
+ f = message.getFiltersList();
2473
+ if (f.length > 0) {
2474
+ writer.writeRepeatedMessage(
2475
+ 20,
2476
+ f,
2477
+ proto.fonoster.applications.v1beta2.AudioFilter.serializeBinaryToWriter
2478
+ );
2479
+ }
914
2480
  };
915
2481
 
916
2482
 
@@ -1133,6 +2699,308 @@ proto.fonoster.applications.v1beta2.Application.prototype.setUpdatedAt = functio
1133
2699
  };
1134
2700
 
1135
2701
 
2702
+ /**
2703
+ * optional string url = 10;
2704
+ * @return {string}
2705
+ */
2706
+ proto.fonoster.applications.v1beta2.Application.prototype.getUrl = function() {
2707
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
2708
+ };
2709
+
2710
+
2711
+ /**
2712
+ * @param {string} value
2713
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2714
+ */
2715
+ proto.fonoster.applications.v1beta2.Application.prototype.setUrl = function(value) {
2716
+ return jspb.Message.setProto3StringField(this, 10, value);
2717
+ };
2718
+
2719
+
2720
+ /**
2721
+ * optional string protocol = 11;
2722
+ * @return {string}
2723
+ */
2724
+ proto.fonoster.applications.v1beta2.Application.prototype.getProtocol = function() {
2725
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2726
+ };
2727
+
2728
+
2729
+ /**
2730
+ * @param {string} value
2731
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2732
+ */
2733
+ proto.fonoster.applications.v1beta2.Application.prototype.setProtocol = function(value) {
2734
+ return jspb.Message.setProto3StringField(this, 11, value);
2735
+ };
2736
+
2737
+
2738
+ /**
2739
+ * optional string signing_secret_hint = 12;
2740
+ * @return {string}
2741
+ */
2742
+ proto.fonoster.applications.v1beta2.Application.prototype.getSigningSecretHint = function() {
2743
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
2744
+ };
2745
+
2746
+
2747
+ /**
2748
+ * @param {string} value
2749
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2750
+ */
2751
+ proto.fonoster.applications.v1beta2.Application.prototype.setSigningSecretHint = function(value) {
2752
+ return jspb.Message.setProto3StringField(this, 12, value);
2753
+ };
2754
+
2755
+
2756
+ /**
2757
+ * optional SpeechDefaults speech = 13;
2758
+ * @return {?proto.fonoster.applications.v1beta2.SpeechDefaults}
2759
+ */
2760
+ proto.fonoster.applications.v1beta2.Application.prototype.getSpeech = function() {
2761
+ return /** @type{?proto.fonoster.applications.v1beta2.SpeechDefaults} */ (
2762
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.SpeechDefaults, 13));
2763
+ };
2764
+
2765
+
2766
+ /**
2767
+ * @param {?proto.fonoster.applications.v1beta2.SpeechDefaults|undefined} value
2768
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2769
+ */
2770
+ proto.fonoster.applications.v1beta2.Application.prototype.setSpeech = function(value) {
2771
+ return jspb.Message.setWrapperField(this, 13, value);
2772
+ };
2773
+
2774
+
2775
+ /**
2776
+ * Clears the message field making it undefined.
2777
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2778
+ */
2779
+ proto.fonoster.applications.v1beta2.Application.prototype.clearSpeech = function() {
2780
+ return this.setSpeech(undefined);
2781
+ };
2782
+
2783
+
2784
+ /**
2785
+ * Returns whether this field is set.
2786
+ * @return {boolean}
2787
+ */
2788
+ proto.fonoster.applications.v1beta2.Application.prototype.hasSpeech = function() {
2789
+ return jspb.Message.getField(this, 13) != null;
2790
+ };
2791
+
2792
+
2793
+ /**
2794
+ * optional AudioFormat audio = 14;
2795
+ * @return {?proto.fonoster.applications.v1beta2.AudioFormat}
2796
+ */
2797
+ proto.fonoster.applications.v1beta2.Application.prototype.getAudio = function() {
2798
+ return /** @type{?proto.fonoster.applications.v1beta2.AudioFormat} */ (
2799
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AudioFormat, 14));
2800
+ };
2801
+
2802
+
2803
+ /**
2804
+ * @param {?proto.fonoster.applications.v1beta2.AudioFormat|undefined} value
2805
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2806
+ */
2807
+ proto.fonoster.applications.v1beta2.Application.prototype.setAudio = function(value) {
2808
+ return jspb.Message.setWrapperField(this, 14, value);
2809
+ };
2810
+
2811
+
2812
+ /**
2813
+ * Clears the message field making it undefined.
2814
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2815
+ */
2816
+ proto.fonoster.applications.v1beta2.Application.prototype.clearAudio = function() {
2817
+ return this.setAudio(undefined);
2818
+ };
2819
+
2820
+
2821
+ /**
2822
+ * Returns whether this field is set.
2823
+ * @return {boolean}
2824
+ */
2825
+ proto.fonoster.applications.v1beta2.Application.prototype.hasAudio = function() {
2826
+ return jspb.Message.getField(this, 14) != null;
2827
+ };
2828
+
2829
+
2830
+ /**
2831
+ * optional string fallback_app_ref = 15;
2832
+ * @return {string}
2833
+ */
2834
+ proto.fonoster.applications.v1beta2.Application.prototype.getFallbackAppRef = function() {
2835
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
2836
+ };
2837
+
2838
+
2839
+ /**
2840
+ * @param {string} value
2841
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2842
+ */
2843
+ proto.fonoster.applications.v1beta2.Application.prototype.setFallbackAppRef = function(value) {
2844
+ return jspb.Message.setProto3StringField(this, 15, value);
2845
+ };
2846
+
2847
+
2848
+ /**
2849
+ * optional string fallback_message = 16;
2850
+ * @return {string}
2851
+ */
2852
+ proto.fonoster.applications.v1beta2.Application.prototype.getFallbackMessage = function() {
2853
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
2854
+ };
2855
+
2856
+
2857
+ /**
2858
+ * @param {string} value
2859
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2860
+ */
2861
+ proto.fonoster.applications.v1beta2.Application.prototype.setFallbackMessage = function(value) {
2862
+ return jspb.Message.setProto3StringField(this, 16, value);
2863
+ };
2864
+
2865
+
2866
+ /**
2867
+ * repeated Listener listeners = 17;
2868
+ * @return {!Array<!proto.fonoster.applications.v1beta2.Listener>}
2869
+ */
2870
+ proto.fonoster.applications.v1beta2.Application.prototype.getListenersList = function() {
2871
+ return /** @type{!Array<!proto.fonoster.applications.v1beta2.Listener>} */ (
2872
+ jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.Listener, 17));
2873
+ };
2874
+
2875
+
2876
+ /**
2877
+ * @param {!Array<!proto.fonoster.applications.v1beta2.Listener>} value
2878
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2879
+ */
2880
+ proto.fonoster.applications.v1beta2.Application.prototype.setListenersList = function(value) {
2881
+ return jspb.Message.setRepeatedWrapperField(this, 17, value);
2882
+ };
2883
+
2884
+
2885
+ /**
2886
+ * @param {!proto.fonoster.applications.v1beta2.Listener=} opt_value
2887
+ * @param {number=} opt_index
2888
+ * @return {!proto.fonoster.applications.v1beta2.Listener}
2889
+ */
2890
+ proto.fonoster.applications.v1beta2.Application.prototype.addListeners = function(opt_value, opt_index) {
2891
+ return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.fonoster.applications.v1beta2.Listener, opt_index);
2892
+ };
2893
+
2894
+
2895
+ /**
2896
+ * Clears the list making it empty but non-null.
2897
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2898
+ */
2899
+ proto.fonoster.applications.v1beta2.Application.prototype.clearListenersList = function() {
2900
+ return this.setListenersList([]);
2901
+ };
2902
+
2903
+
2904
+ /**
2905
+ * optional string recording = 18;
2906
+ * @return {string}
2907
+ */
2908
+ proto.fonoster.applications.v1beta2.Application.prototype.getRecording = function() {
2909
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
2910
+ };
2911
+
2912
+
2913
+ /**
2914
+ * @param {string} value
2915
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2916
+ */
2917
+ proto.fonoster.applications.v1beta2.Application.prototype.setRecording = function(value) {
2918
+ return jspb.Message.setProto3StringField(this, 18, value);
2919
+ };
2920
+
2921
+
2922
+ /**
2923
+ * optional AmdSettings amd = 19;
2924
+ * @return {?proto.fonoster.applications.v1beta2.AmdSettings}
2925
+ */
2926
+ proto.fonoster.applications.v1beta2.Application.prototype.getAmd = function() {
2927
+ return /** @type{?proto.fonoster.applications.v1beta2.AmdSettings} */ (
2928
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AmdSettings, 19));
2929
+ };
2930
+
2931
+
2932
+ /**
2933
+ * @param {?proto.fonoster.applications.v1beta2.AmdSettings|undefined} value
2934
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2935
+ */
2936
+ proto.fonoster.applications.v1beta2.Application.prototype.setAmd = function(value) {
2937
+ return jspb.Message.setWrapperField(this, 19, value);
2938
+ };
2939
+
2940
+
2941
+ /**
2942
+ * Clears the message field making it undefined.
2943
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2944
+ */
2945
+ proto.fonoster.applications.v1beta2.Application.prototype.clearAmd = function() {
2946
+ return this.setAmd(undefined);
2947
+ };
2948
+
2949
+
2950
+ /**
2951
+ * Returns whether this field is set.
2952
+ * @return {boolean}
2953
+ */
2954
+ proto.fonoster.applications.v1beta2.Application.prototype.hasAmd = function() {
2955
+ return jspb.Message.getField(this, 19) != null;
2956
+ };
2957
+
2958
+
2959
+ /**
2960
+ * repeated AudioFilter filters = 20;
2961
+ * @return {!Array<!proto.fonoster.applications.v1beta2.AudioFilter>}
2962
+ */
2963
+ proto.fonoster.applications.v1beta2.Application.prototype.getFiltersList = function() {
2964
+ return /** @type{!Array<!proto.fonoster.applications.v1beta2.AudioFilter>} */ (
2965
+ jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.AudioFilter, 20));
2966
+ };
2967
+
2968
+
2969
+ /**
2970
+ * @param {!Array<!proto.fonoster.applications.v1beta2.AudioFilter>} value
2971
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2972
+ */
2973
+ proto.fonoster.applications.v1beta2.Application.prototype.setFiltersList = function(value) {
2974
+ return jspb.Message.setRepeatedWrapperField(this, 20, value);
2975
+ };
2976
+
2977
+
2978
+ /**
2979
+ * @param {!proto.fonoster.applications.v1beta2.AudioFilter=} opt_value
2980
+ * @param {number=} opt_index
2981
+ * @return {!proto.fonoster.applications.v1beta2.AudioFilter}
2982
+ */
2983
+ proto.fonoster.applications.v1beta2.Application.prototype.addFilters = function(opt_value, opt_index) {
2984
+ return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.fonoster.applications.v1beta2.AudioFilter, opt_index);
2985
+ };
2986
+
2987
+
2988
+ /**
2989
+ * Clears the list making it empty but non-null.
2990
+ * @return {!proto.fonoster.applications.v1beta2.Application} returns this
2991
+ */
2992
+ proto.fonoster.applications.v1beta2.Application.prototype.clearFiltersList = function() {
2993
+ return this.setFiltersList([]);
2994
+ };
2995
+
2996
+
2997
+
2998
+ /**
2999
+ * List of repeated fields within this message type.
3000
+ * @private {!Array<number>}
3001
+ * @const
3002
+ */
3003
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.repeatedFields_ = [13,20];
1136
3004
 
1137
3005
 
1138
3006
 
@@ -1170,7 +3038,19 @@ type: jspb.Message.getFieldWithDefault(msg, 2, 0),
1170
3038
  endpoint: jspb.Message.getFieldWithDefault(msg, 3, ""),
1171
3039
  textToSpeech: (f = msg.getTextToSpeech()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
1172
3040
  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)
3041
+ intelligence: (f = msg.getIntelligence()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
3042
+ url: jspb.Message.getFieldWithDefault(msg, 7, ""),
3043
+ protocol: jspb.Message.getFieldWithDefault(msg, 8, ""),
3044
+ speech: (f = msg.getSpeech()) && proto.fonoster.applications.v1beta2.SpeechDefaults.toObject(includeInstance, f),
3045
+ audio: (f = msg.getAudio()) && proto.fonoster.applications.v1beta2.AudioFormat.toObject(includeInstance, f),
3046
+ fallbackAppRef: jspb.Message.getFieldWithDefault(msg, 11, ""),
3047
+ fallbackMessage: jspb.Message.getFieldWithDefault(msg, 12, ""),
3048
+ listenersList: jspb.Message.toObjectList(msg.getListenersList(),
3049
+ proto.fonoster.applications.v1beta2.Listener.toObject, includeInstance),
3050
+ recording: jspb.Message.getFieldWithDefault(msg, 14, ""),
3051
+ amd: (f = msg.getAmd()) && proto.fonoster.applications.v1beta2.AmdSettings.toObject(includeInstance, f),
3052
+ filtersList: jspb.Message.toObjectList(msg.getFiltersList(),
3053
+ proto.fonoster.applications.v1beta2.AudioFilter.toObject, includeInstance)
1174
3054
  };
1175
3055
 
1176
3056
  if (includeInstance) {
@@ -1234,6 +3114,51 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinaryFr
1234
3114
  reader.readMessage(value,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader);
1235
3115
  msg.setIntelligence(value);
1236
3116
  break;
3117
+ case 7:
3118
+ var value = /** @type {string} */ (reader.readString());
3119
+ msg.setUrl(value);
3120
+ break;
3121
+ case 8:
3122
+ var value = /** @type {string} */ (reader.readString());
3123
+ msg.setProtocol(value);
3124
+ break;
3125
+ case 9:
3126
+ var value = new proto.fonoster.applications.v1beta2.SpeechDefaults;
3127
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader);
3128
+ msg.setSpeech(value);
3129
+ break;
3130
+ case 10:
3131
+ var value = new proto.fonoster.applications.v1beta2.AudioFormat;
3132
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader);
3133
+ msg.setAudio(value);
3134
+ break;
3135
+ case 11:
3136
+ var value = /** @type {string} */ (reader.readString());
3137
+ msg.setFallbackAppRef(value);
3138
+ break;
3139
+ case 12:
3140
+ var value = /** @type {string} */ (reader.readString());
3141
+ msg.setFallbackMessage(value);
3142
+ break;
3143
+ case 13:
3144
+ var value = new proto.fonoster.applications.v1beta2.Listener;
3145
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader);
3146
+ msg.addListeners(value);
3147
+ break;
3148
+ case 14:
3149
+ var value = /** @type {string} */ (reader.readString());
3150
+ msg.setRecording(value);
3151
+ break;
3152
+ case 15:
3153
+ var value = new proto.fonoster.applications.v1beta2.AmdSettings;
3154
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader);
3155
+ msg.setAmd(value);
3156
+ break;
3157
+ case 20:
3158
+ var value = new proto.fonoster.applications.v1beta2.AudioFilter;
3159
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFilter.deserializeBinaryFromReader);
3160
+ msg.addFilters(value);
3161
+ break;
1237
3162
  default:
1238
3163
  reader.skipField();
1239
3164
  break;
@@ -1308,51 +3233,365 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWr
1308
3233
  proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
1309
3234
  );
1310
3235
  }
3236
+ f = message.getUrl();
3237
+ if (f.length > 0) {
3238
+ writer.writeString(
3239
+ 7,
3240
+ f
3241
+ );
3242
+ }
3243
+ f = message.getProtocol();
3244
+ if (f.length > 0) {
3245
+ writer.writeString(
3246
+ 8,
3247
+ f
3248
+ );
3249
+ }
3250
+ f = message.getSpeech();
3251
+ if (f != null) {
3252
+ writer.writeMessage(
3253
+ 9,
3254
+ f,
3255
+ proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter
3256
+ );
3257
+ }
3258
+ f = message.getAudio();
3259
+ if (f != null) {
3260
+ writer.writeMessage(
3261
+ 10,
3262
+ f,
3263
+ proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter
3264
+ );
3265
+ }
3266
+ f = message.getFallbackAppRef();
3267
+ if (f.length > 0) {
3268
+ writer.writeString(
3269
+ 11,
3270
+ f
3271
+ );
3272
+ }
3273
+ f = message.getFallbackMessage();
3274
+ if (f.length > 0) {
3275
+ writer.writeString(
3276
+ 12,
3277
+ f
3278
+ );
3279
+ }
3280
+ f = message.getListenersList();
3281
+ if (f.length > 0) {
3282
+ writer.writeRepeatedMessage(
3283
+ 13,
3284
+ f,
3285
+ proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter
3286
+ );
3287
+ }
3288
+ f = message.getRecording();
3289
+ if (f.length > 0) {
3290
+ writer.writeString(
3291
+ 14,
3292
+ f
3293
+ );
3294
+ }
3295
+ f = message.getAmd();
3296
+ if (f != null) {
3297
+ writer.writeMessage(
3298
+ 15,
3299
+ f,
3300
+ proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter
3301
+ );
3302
+ }
3303
+ f = message.getFiltersList();
3304
+ if (f.length > 0) {
3305
+ writer.writeRepeatedMessage(
3306
+ 20,
3307
+ f,
3308
+ proto.fonoster.applications.v1beta2.AudioFilter.serializeBinaryToWriter
3309
+ );
3310
+ }
3311
+ };
3312
+
3313
+
3314
+ /**
3315
+ * optional string name = 1;
3316
+ * @return {string}
3317
+ */
3318
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getName = function() {
3319
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3320
+ };
3321
+
3322
+
3323
+ /**
3324
+ * @param {string} value
3325
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3326
+ */
3327
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setName = function(value) {
3328
+ return jspb.Message.setProto3StringField(this, 1, value);
3329
+ };
3330
+
3331
+
3332
+ /**
3333
+ * optional ApplicationType type = 2;
3334
+ * @return {!proto.fonoster.applications.v1beta2.ApplicationType}
3335
+ */
3336
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getType = function() {
3337
+ return /** @type {!proto.fonoster.applications.v1beta2.ApplicationType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3338
+ };
3339
+
3340
+
3341
+ /**
3342
+ * @param {!proto.fonoster.applications.v1beta2.ApplicationType} value
3343
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3344
+ */
3345
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setType = function(value) {
3346
+ return jspb.Message.setProto3EnumField(this, 2, value);
3347
+ };
3348
+
3349
+
3350
+ /**
3351
+ * optional string endpoint = 3;
3352
+ * @return {string}
3353
+ */
3354
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getEndpoint = function() {
3355
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3356
+ };
3357
+
3358
+
3359
+ /**
3360
+ * @param {string} value
3361
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3362
+ */
3363
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setEndpoint = function(value) {
3364
+ return jspb.Message.setProto3StringField(this, 3, value);
3365
+ };
3366
+
3367
+
3368
+ /**
3369
+ * optional ProductContainer text_to_speech = 4;
3370
+ * @return {?proto.fonoster.applications.v1beta2.ProductContainer}
3371
+ */
3372
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getTextToSpeech = function() {
3373
+ return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
3374
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 4));
3375
+ };
3376
+
3377
+
3378
+ /**
3379
+ * @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
3380
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3381
+ */
3382
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setTextToSpeech = function(value) {
3383
+ return jspb.Message.setWrapperField(this, 4, value);
3384
+ };
3385
+
3386
+
3387
+ /**
3388
+ * Clears the message field making it undefined.
3389
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3390
+ */
3391
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearTextToSpeech = function() {
3392
+ return this.setTextToSpeech(undefined);
3393
+ };
3394
+
3395
+
3396
+ /**
3397
+ * Returns whether this field is set.
3398
+ * @return {boolean}
3399
+ */
3400
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasTextToSpeech = function() {
3401
+ return jspb.Message.getField(this, 4) != null;
3402
+ };
3403
+
3404
+
3405
+ /**
3406
+ * optional ProductContainer speech_to_text = 5;
3407
+ * @return {?proto.fonoster.applications.v1beta2.ProductContainer}
3408
+ */
3409
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeechToText = function() {
3410
+ return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
3411
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 5));
3412
+ };
3413
+
3414
+
3415
+ /**
3416
+ * @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
3417
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3418
+ */
3419
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeechToText = function(value) {
3420
+ return jspb.Message.setWrapperField(this, 5, value);
3421
+ };
3422
+
3423
+
3424
+ /**
3425
+ * Clears the message field making it undefined.
3426
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3427
+ */
3428
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeechToText = function() {
3429
+ return this.setSpeechToText(undefined);
3430
+ };
3431
+
3432
+
3433
+ /**
3434
+ * Returns whether this field is set.
3435
+ * @return {boolean}
3436
+ */
3437
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeechToText = function() {
3438
+ return jspb.Message.getField(this, 5) != null;
3439
+ };
3440
+
3441
+
3442
+ /**
3443
+ * optional ProductContainer intelligence = 6;
3444
+ * @return {?proto.fonoster.applications.v1beta2.ProductContainer}
3445
+ */
3446
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getIntelligence = function() {
3447
+ return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
3448
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 6));
3449
+ };
3450
+
3451
+
3452
+ /**
3453
+ * @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
3454
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3455
+ */
3456
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setIntelligence = function(value) {
3457
+ return jspb.Message.setWrapperField(this, 6, value);
3458
+ };
3459
+
3460
+
3461
+ /**
3462
+ * Clears the message field making it undefined.
3463
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3464
+ */
3465
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearIntelligence = function() {
3466
+ return this.setIntelligence(undefined);
3467
+ };
3468
+
3469
+
3470
+ /**
3471
+ * Returns whether this field is set.
3472
+ * @return {boolean}
3473
+ */
3474
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasIntelligence = function() {
3475
+ return jspb.Message.getField(this, 6) != null;
3476
+ };
3477
+
3478
+
3479
+ /**
3480
+ * optional string url = 7;
3481
+ * @return {string}
3482
+ */
3483
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getUrl = function() {
3484
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3485
+ };
3486
+
3487
+
3488
+ /**
3489
+ * @param {string} value
3490
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3491
+ */
3492
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setUrl = function(value) {
3493
+ return jspb.Message.setProto3StringField(this, 7, value);
3494
+ };
3495
+
3496
+
3497
+ /**
3498
+ * optional string protocol = 8;
3499
+ * @return {string}
3500
+ */
3501
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getProtocol = function() {
3502
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1311
3503
  };
1312
3504
 
1313
3505
 
1314
3506
  /**
1315
- * optional string name = 1;
1316
- * @return {string}
3507
+ * @param {string} value
3508
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1317
3509
  */
1318
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getName = function() {
1319
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3510
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setProtocol = function(value) {
3511
+ return jspb.Message.setProto3StringField(this, 8, value);
1320
3512
  };
1321
3513
 
1322
3514
 
1323
3515
  /**
1324
- * @param {string} value
3516
+ * optional SpeechDefaults speech = 9;
3517
+ * @return {?proto.fonoster.applications.v1beta2.SpeechDefaults}
3518
+ */
3519
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeech = function() {
3520
+ return /** @type{?proto.fonoster.applications.v1beta2.SpeechDefaults} */ (
3521
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.SpeechDefaults, 9));
3522
+ };
3523
+
3524
+
3525
+ /**
3526
+ * @param {?proto.fonoster.applications.v1beta2.SpeechDefaults|undefined} value
3527
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3528
+ */
3529
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeech = function(value) {
3530
+ return jspb.Message.setWrapperField(this, 9, value);
3531
+ };
3532
+
3533
+
3534
+ /**
3535
+ * Clears the message field making it undefined.
1325
3536
  * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1326
3537
  */
1327
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setName = function(value) {
1328
- return jspb.Message.setProto3StringField(this, 1, value);
3538
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeech = function() {
3539
+ return this.setSpeech(undefined);
1329
3540
  };
1330
3541
 
1331
3542
 
1332
3543
  /**
1333
- * optional ApplicationType type = 2;
1334
- * @return {!proto.fonoster.applications.v1beta2.ApplicationType}
3544
+ * Returns whether this field is set.
3545
+ * @return {boolean}
1335
3546
  */
1336
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getType = function() {
1337
- return /** @type {!proto.fonoster.applications.v1beta2.ApplicationType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3547
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeech = function() {
3548
+ return jspb.Message.getField(this, 9) != null;
1338
3549
  };
1339
3550
 
1340
3551
 
1341
3552
  /**
1342
- * @param {!proto.fonoster.applications.v1beta2.ApplicationType} value
3553
+ * optional AudioFormat audio = 10;
3554
+ * @return {?proto.fonoster.applications.v1beta2.AudioFormat}
3555
+ */
3556
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getAudio = function() {
3557
+ return /** @type{?proto.fonoster.applications.v1beta2.AudioFormat} */ (
3558
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AudioFormat, 10));
3559
+ };
3560
+
3561
+
3562
+ /**
3563
+ * @param {?proto.fonoster.applications.v1beta2.AudioFormat|undefined} value
3564
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3565
+ */
3566
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setAudio = function(value) {
3567
+ return jspb.Message.setWrapperField(this, 10, value);
3568
+ };
3569
+
3570
+
3571
+ /**
3572
+ * Clears the message field making it undefined.
1343
3573
  * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1344
3574
  */
1345
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setType = function(value) {
1346
- return jspb.Message.setProto3EnumField(this, 2, value);
3575
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearAudio = function() {
3576
+ return this.setAudio(undefined);
1347
3577
  };
1348
3578
 
1349
3579
 
1350
3580
  /**
1351
- * optional string endpoint = 3;
3581
+ * Returns whether this field is set.
3582
+ * @return {boolean}
3583
+ */
3584
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasAudio = function() {
3585
+ return jspb.Message.getField(this, 10) != null;
3586
+ };
3587
+
3588
+
3589
+ /**
3590
+ * optional string fallback_app_ref = 11;
1352
3591
  * @return {string}
1353
3592
  */
1354
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getEndpoint = function() {
1355
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3593
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getFallbackAppRef = function() {
3594
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1356
3595
  };
1357
3596
 
1358
3597
 
@@ -1360,64 +3599,101 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getEndpoi
1360
3599
  * @param {string} value
1361
3600
  * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1362
3601
  */
1363
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setEndpoint = function(value) {
1364
- return jspb.Message.setProto3StringField(this, 3, value);
3602
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setFallbackAppRef = function(value) {
3603
+ return jspb.Message.setProto3StringField(this, 11, value);
1365
3604
  };
1366
3605
 
1367
3606
 
1368
3607
  /**
1369
- * optional ProductContainer text_to_speech = 4;
1370
- * @return {?proto.fonoster.applications.v1beta2.ProductContainer}
3608
+ * optional string fallback_message = 12;
3609
+ * @return {string}
1371
3610
  */
1372
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getTextToSpeech = function() {
1373
- return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
1374
- jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 4));
3611
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getFallbackMessage = function() {
3612
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1375
3613
  };
1376
3614
 
1377
3615
 
1378
3616
  /**
1379
- * @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
3617
+ * @param {string} value
3618
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3619
+ */
3620
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setFallbackMessage = function(value) {
3621
+ return jspb.Message.setProto3StringField(this, 12, value);
3622
+ };
3623
+
3624
+
3625
+ /**
3626
+ * repeated Listener listeners = 13;
3627
+ * @return {!Array<!proto.fonoster.applications.v1beta2.Listener>}
3628
+ */
3629
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getListenersList = function() {
3630
+ return /** @type{!Array<!proto.fonoster.applications.v1beta2.Listener>} */ (
3631
+ jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.Listener, 13));
3632
+ };
3633
+
3634
+
3635
+ /**
3636
+ * @param {!Array<!proto.fonoster.applications.v1beta2.Listener>} value
1380
3637
  * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1381
3638
  */
1382
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setTextToSpeech = function(value) {
1383
- return jspb.Message.setWrapperField(this, 4, value);
3639
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setListenersList = function(value) {
3640
+ return jspb.Message.setRepeatedWrapperField(this, 13, value);
1384
3641
  };
1385
3642
 
1386
3643
 
1387
3644
  /**
1388
- * Clears the message field making it undefined.
3645
+ * @param {!proto.fonoster.applications.v1beta2.Listener=} opt_value
3646
+ * @param {number=} opt_index
3647
+ * @return {!proto.fonoster.applications.v1beta2.Listener}
3648
+ */
3649
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.addListeners = function(opt_value, opt_index) {
3650
+ return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.fonoster.applications.v1beta2.Listener, opt_index);
3651
+ };
3652
+
3653
+
3654
+ /**
3655
+ * Clears the list making it empty but non-null.
1389
3656
  * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1390
3657
  */
1391
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearTextToSpeech = function() {
1392
- return this.setTextToSpeech(undefined);
3658
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearListenersList = function() {
3659
+ return this.setListenersList([]);
1393
3660
  };
1394
3661
 
1395
3662
 
1396
3663
  /**
1397
- * Returns whether this field is set.
1398
- * @return {boolean}
3664
+ * optional string recording = 14;
3665
+ * @return {string}
1399
3666
  */
1400
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasTextToSpeech = function() {
1401
- return jspb.Message.getField(this, 4) != null;
3667
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getRecording = function() {
3668
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
1402
3669
  };
1403
3670
 
1404
3671
 
1405
3672
  /**
1406
- * optional ProductContainer speech_to_text = 5;
1407
- * @return {?proto.fonoster.applications.v1beta2.ProductContainer}
3673
+ * @param {string} value
3674
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1408
3675
  */
1409
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeechToText = function() {
1410
- return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
1411
- jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 5));
3676
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setRecording = function(value) {
3677
+ return jspb.Message.setProto3StringField(this, 14, value);
1412
3678
  };
1413
3679
 
1414
3680
 
1415
3681
  /**
1416
- * @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
3682
+ * optional AmdSettings amd = 15;
3683
+ * @return {?proto.fonoster.applications.v1beta2.AmdSettings}
3684
+ */
3685
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getAmd = function() {
3686
+ return /** @type{?proto.fonoster.applications.v1beta2.AmdSettings} */ (
3687
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AmdSettings, 15));
3688
+ };
3689
+
3690
+
3691
+ /**
3692
+ * @param {?proto.fonoster.applications.v1beta2.AmdSettings|undefined} value
1417
3693
  * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1418
3694
  */
1419
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeechToText = function(value) {
1420
- return jspb.Message.setWrapperField(this, 5, value);
3695
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setAmd = function(value) {
3696
+ return jspb.Message.setWrapperField(this, 15, value);
1421
3697
  };
1422
3698
 
1423
3699
 
@@ -1425,8 +3701,8 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeech
1425
3701
  * Clears the message field making it undefined.
1426
3702
  * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1427
3703
  */
1428
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeechToText = function() {
1429
- return this.setSpeechToText(undefined);
3704
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearAmd = function() {
3705
+ return this.setAmd(undefined);
1430
3706
  };
1431
3707
 
1432
3708
 
@@ -1434,45 +3710,46 @@ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpee
1434
3710
  * Returns whether this field is set.
1435
3711
  * @return {boolean}
1436
3712
  */
1437
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeechToText = function() {
1438
- return jspb.Message.getField(this, 5) != null;
3713
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasAmd = function() {
3714
+ return jspb.Message.getField(this, 15) != null;
1439
3715
  };
1440
3716
 
1441
3717
 
1442
3718
  /**
1443
- * optional ProductContainer intelligence = 6;
1444
- * @return {?proto.fonoster.applications.v1beta2.ProductContainer}
3719
+ * repeated AudioFilter filters = 20;
3720
+ * @return {!Array<!proto.fonoster.applications.v1beta2.AudioFilter>}
1445
3721
  */
1446
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getIntelligence = function() {
1447
- return /** @type{?proto.fonoster.applications.v1beta2.ProductContainer} */ (
1448
- jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ProductContainer, 6));
3722
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getFiltersList = function() {
3723
+ return /** @type{!Array<!proto.fonoster.applications.v1beta2.AudioFilter>} */ (
3724
+ jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.AudioFilter, 20));
1449
3725
  };
1450
3726
 
1451
3727
 
1452
3728
  /**
1453
- * @param {?proto.fonoster.applications.v1beta2.ProductContainer|undefined} value
3729
+ * @param {!Array<!proto.fonoster.applications.v1beta2.AudioFilter>} value
1454
3730
  * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1455
3731
  */
1456
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setIntelligence = function(value) {
1457
- return jspb.Message.setWrapperField(this, 6, value);
3732
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setFiltersList = function(value) {
3733
+ return jspb.Message.setRepeatedWrapperField(this, 20, value);
1458
3734
  };
1459
3735
 
1460
3736
 
1461
3737
  /**
1462
- * Clears the message field making it undefined.
1463
- * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
3738
+ * @param {!proto.fonoster.applications.v1beta2.AudioFilter=} opt_value
3739
+ * @param {number=} opt_index
3740
+ * @return {!proto.fonoster.applications.v1beta2.AudioFilter}
1464
3741
  */
1465
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearIntelligence = function() {
1466
- return this.setIntelligence(undefined);
3742
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.addFilters = function(opt_value, opt_index) {
3743
+ return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.fonoster.applications.v1beta2.AudioFilter, opt_index);
1467
3744
  };
1468
3745
 
1469
3746
 
1470
3747
  /**
1471
- * Returns whether this field is set.
1472
- * @return {boolean}
3748
+ * Clears the list making it empty but non-null.
3749
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationRequest} returns this
1473
3750
  */
1474
- proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasIntelligence = function() {
1475
- return jspb.Message.getField(this, 6) != null;
3751
+ proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearFiltersList = function() {
3752
+ return this.setFiltersList([]);
1476
3753
  };
1477
3754
 
1478
3755
 
@@ -1508,7 +3785,9 @@ proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.toObject
1508
3785
  */
1509
3786
  proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject = function(includeInstance, msg) {
1510
3787
  var f, obj = {
1511
- ref: jspb.Message.getFieldWithDefault(msg, 1, "")
3788
+ ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
3789
+ signingSecret: jspb.Message.getFieldWithDefault(msg, 2, ""),
3790
+ signingSecretHint: jspb.Message.getFieldWithDefault(msg, 3, "")
1512
3791
  };
1513
3792
 
1514
3793
  if (includeInstance) {
@@ -1549,6 +3828,14 @@ proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryF
1549
3828
  var value = /** @type {string} */ (reader.readString());
1550
3829
  msg.setRef(value);
1551
3830
  break;
3831
+ case 2:
3832
+ var value = /** @type {string} */ (reader.readString());
3833
+ msg.setSigningSecret(value);
3834
+ break;
3835
+ case 3:
3836
+ var value = /** @type {string} */ (reader.readString());
3837
+ msg.setSigningSecretHint(value);
3838
+ break;
1552
3839
  default:
1553
3840
  reader.skipField();
1554
3841
  break;
@@ -1585,6 +3872,20 @@ proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToW
1585
3872
  f
1586
3873
  );
1587
3874
  }
3875
+ f = message.getSigningSecret();
3876
+ if (f.length > 0) {
3877
+ writer.writeString(
3878
+ 2,
3879
+ f
3880
+ );
3881
+ }
3882
+ f = message.getSigningSecretHint();
3883
+ if (f.length > 0) {
3884
+ writer.writeString(
3885
+ 3,
3886
+ f
3887
+ );
3888
+ }
1588
3889
  };
1589
3890
 
1590
3891
 
@@ -1606,6 +3907,42 @@ proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setRef =
1606
3907
  };
1607
3908
 
1608
3909
 
3910
+ /**
3911
+ * optional string signing_secret = 2;
3912
+ * @return {string}
3913
+ */
3914
+ proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.getSigningSecret = function() {
3915
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3916
+ };
3917
+
3918
+
3919
+ /**
3920
+ * @param {string} value
3921
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationResponse} returns this
3922
+ */
3923
+ proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setSigningSecret = function(value) {
3924
+ return jspb.Message.setProto3StringField(this, 2, value);
3925
+ };
3926
+
3927
+
3928
+ /**
3929
+ * optional string signing_secret_hint = 3;
3930
+ * @return {string}
3931
+ */
3932
+ proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.getSigningSecretHint = function() {
3933
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3934
+ };
3935
+
3936
+
3937
+ /**
3938
+ * @param {string} value
3939
+ * @return {!proto.fonoster.applications.v1beta2.CreateApplicationResponse} returns this
3940
+ */
3941
+ proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setSigningSecretHint = function(value) {
3942
+ return jspb.Message.setProto3StringField(this, 3, value);
3943
+ };
3944
+
3945
+
1609
3946
 
1610
3947
 
1611
3948
 
@@ -2087,6 +4424,13 @@ proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setNextPa
2087
4424
 
2088
4425
 
2089
4426
 
4427
+ /**
4428
+ * List of repeated fields within this message type.
4429
+ * @private {!Array<number>}
4430
+ * @const
4431
+ */
4432
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.repeatedFields_ = [14,20];
4433
+
2090
4434
 
2091
4435
 
2092
4436
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2124,7 +4468,19 @@ type: jspb.Message.getFieldWithDefault(msg, 3, 0),
2124
4468
  endpoint: jspb.Message.getFieldWithDefault(msg, 4, ""),
2125
4469
  textToSpeech: (f = msg.getTextToSpeech()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
2126
4470
  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)
4471
+ intelligence: (f = msg.getIntelligence()) && proto.fonoster.applications.v1beta2.ProductContainer.toObject(includeInstance, f),
4472
+ url: jspb.Message.getFieldWithDefault(msg, 8, ""),
4473
+ protocol: jspb.Message.getFieldWithDefault(msg, 9, ""),
4474
+ speech: (f = msg.getSpeech()) && proto.fonoster.applications.v1beta2.SpeechDefaults.toObject(includeInstance, f),
4475
+ audio: (f = msg.getAudio()) && proto.fonoster.applications.v1beta2.AudioFormat.toObject(includeInstance, f),
4476
+ fallbackAppRef: jspb.Message.getFieldWithDefault(msg, 12, ""),
4477
+ fallbackMessage: jspb.Message.getFieldWithDefault(msg, 13, ""),
4478
+ listenersList: jspb.Message.toObjectList(msg.getListenersList(),
4479
+ proto.fonoster.applications.v1beta2.Listener.toObject, includeInstance),
4480
+ recording: jspb.Message.getFieldWithDefault(msg, 15, ""),
4481
+ amd: (f = msg.getAmd()) && proto.fonoster.applications.v1beta2.AmdSettings.toObject(includeInstance, f),
4482
+ filtersList: jspb.Message.toObjectList(msg.getFiltersList(),
4483
+ proto.fonoster.applications.v1beta2.AudioFilter.toObject, includeInstance)
2128
4484
  };
2129
4485
 
2130
4486
  if (includeInstance) {
@@ -2192,6 +4548,51 @@ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFr
2192
4548
  reader.readMessage(value,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader);
2193
4549
  msg.setIntelligence(value);
2194
4550
  break;
4551
+ case 8:
4552
+ var value = /** @type {string} */ (reader.readString());
4553
+ msg.setUrl(value);
4554
+ break;
4555
+ case 9:
4556
+ var value = /** @type {string} */ (reader.readString());
4557
+ msg.setProtocol(value);
4558
+ break;
4559
+ case 10:
4560
+ var value = new proto.fonoster.applications.v1beta2.SpeechDefaults;
4561
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.SpeechDefaults.deserializeBinaryFromReader);
4562
+ msg.setSpeech(value);
4563
+ break;
4564
+ case 11:
4565
+ var value = new proto.fonoster.applications.v1beta2.AudioFormat;
4566
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFormat.deserializeBinaryFromReader);
4567
+ msg.setAudio(value);
4568
+ break;
4569
+ case 12:
4570
+ var value = /** @type {string} */ (reader.readString());
4571
+ msg.setFallbackAppRef(value);
4572
+ break;
4573
+ case 13:
4574
+ var value = /** @type {string} */ (reader.readString());
4575
+ msg.setFallbackMessage(value);
4576
+ break;
4577
+ case 14:
4578
+ var value = new proto.fonoster.applications.v1beta2.Listener;
4579
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.Listener.deserializeBinaryFromReader);
4580
+ msg.addListeners(value);
4581
+ break;
4582
+ case 15:
4583
+ var value = /** @type {string} */ (reader.readString());
4584
+ msg.setRecording(value);
4585
+ break;
4586
+ case 16:
4587
+ var value = new proto.fonoster.applications.v1beta2.AmdSettings;
4588
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AmdSettings.deserializeBinaryFromReader);
4589
+ msg.setAmd(value);
4590
+ break;
4591
+ case 20:
4592
+ var value = new proto.fonoster.applications.v1beta2.AudioFilter;
4593
+ reader.readMessage(value,proto.fonoster.applications.v1beta2.AudioFilter.deserializeBinaryFromReader);
4594
+ msg.addFilters(value);
4595
+ break;
2195
4596
  default:
2196
4597
  reader.skipField();
2197
4598
  break;
@@ -2254,23 +4655,98 @@ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWr
2254
4655
  writer.writeMessage(
2255
4656
  5,
2256
4657
  f,
2257
- proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
4658
+ proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
4659
+ );
4660
+ }
4661
+ f = message.getSpeechToText();
4662
+ if (f != null) {
4663
+ writer.writeMessage(
4664
+ 6,
4665
+ f,
4666
+ proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
4667
+ );
4668
+ }
4669
+ f = message.getIntelligence();
4670
+ if (f != null) {
4671
+ writer.writeMessage(
4672
+ 7,
4673
+ f,
4674
+ proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
4675
+ );
4676
+ }
4677
+ f = message.getUrl();
4678
+ if (f.length > 0) {
4679
+ writer.writeString(
4680
+ 8,
4681
+ f
4682
+ );
4683
+ }
4684
+ f = message.getProtocol();
4685
+ if (f.length > 0) {
4686
+ writer.writeString(
4687
+ 9,
4688
+ f
4689
+ );
4690
+ }
4691
+ f = message.getSpeech();
4692
+ if (f != null) {
4693
+ writer.writeMessage(
4694
+ 10,
4695
+ f,
4696
+ proto.fonoster.applications.v1beta2.SpeechDefaults.serializeBinaryToWriter
4697
+ );
4698
+ }
4699
+ f = message.getAudio();
4700
+ if (f != null) {
4701
+ writer.writeMessage(
4702
+ 11,
4703
+ f,
4704
+ proto.fonoster.applications.v1beta2.AudioFormat.serializeBinaryToWriter
4705
+ );
4706
+ }
4707
+ f = message.getFallbackAppRef();
4708
+ if (f.length > 0) {
4709
+ writer.writeString(
4710
+ 12,
4711
+ f
4712
+ );
4713
+ }
4714
+ f = message.getFallbackMessage();
4715
+ if (f.length > 0) {
4716
+ writer.writeString(
4717
+ 13,
4718
+ f
4719
+ );
4720
+ }
4721
+ f = message.getListenersList();
4722
+ if (f.length > 0) {
4723
+ writer.writeRepeatedMessage(
4724
+ 14,
4725
+ f,
4726
+ proto.fonoster.applications.v1beta2.Listener.serializeBinaryToWriter
2258
4727
  );
2259
4728
  }
2260
- f = message.getSpeechToText();
4729
+ f = message.getRecording();
4730
+ if (f.length > 0) {
4731
+ writer.writeString(
4732
+ 15,
4733
+ f
4734
+ );
4735
+ }
4736
+ f = message.getAmd();
2261
4737
  if (f != null) {
2262
4738
  writer.writeMessage(
2263
- 6,
4739
+ 16,
2264
4740
  f,
2265
- proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
4741
+ proto.fonoster.applications.v1beta2.AmdSettings.serializeBinaryToWriter
2266
4742
  );
2267
4743
  }
2268
- f = message.getIntelligence();
2269
- if (f != null) {
2270
- writer.writeMessage(
2271
- 7,
4744
+ f = message.getFiltersList();
4745
+ if (f.length > 0) {
4746
+ writer.writeRepeatedMessage(
4747
+ 20,
2272
4748
  f,
2273
- proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter
4749
+ proto.fonoster.applications.v1beta2.AudioFilter.serializeBinaryToWriter
2274
4750
  );
2275
4751
  }
2276
4752
  };
@@ -2459,6 +4935,283 @@ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasIntell
2459
4935
  };
2460
4936
 
2461
4937
 
4938
+ /**
4939
+ * optional string url = 8;
4940
+ * @return {string}
4941
+ */
4942
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getUrl = function() {
4943
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4944
+ };
4945
+
4946
+
4947
+ /**
4948
+ * @param {string} value
4949
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
4950
+ */
4951
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setUrl = function(value) {
4952
+ return jspb.Message.setProto3StringField(this, 8, value);
4953
+ };
4954
+
4955
+
4956
+ /**
4957
+ * optional string protocol = 9;
4958
+ * @return {string}
4959
+ */
4960
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getProtocol = function() {
4961
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
4962
+ };
4963
+
4964
+
4965
+ /**
4966
+ * @param {string} value
4967
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
4968
+ */
4969
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setProtocol = function(value) {
4970
+ return jspb.Message.setProto3StringField(this, 9, value);
4971
+ };
4972
+
4973
+
4974
+ /**
4975
+ * optional SpeechDefaults speech = 10;
4976
+ * @return {?proto.fonoster.applications.v1beta2.SpeechDefaults}
4977
+ */
4978
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getSpeech = function() {
4979
+ return /** @type{?proto.fonoster.applications.v1beta2.SpeechDefaults} */ (
4980
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.SpeechDefaults, 10));
4981
+ };
4982
+
4983
+
4984
+ /**
4985
+ * @param {?proto.fonoster.applications.v1beta2.SpeechDefaults|undefined} value
4986
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
4987
+ */
4988
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setSpeech = function(value) {
4989
+ return jspb.Message.setWrapperField(this, 10, value);
4990
+ };
4991
+
4992
+
4993
+ /**
4994
+ * Clears the message field making it undefined.
4995
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
4996
+ */
4997
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearSpeech = function() {
4998
+ return this.setSpeech(undefined);
4999
+ };
5000
+
5001
+
5002
+ /**
5003
+ * Returns whether this field is set.
5004
+ * @return {boolean}
5005
+ */
5006
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasSpeech = function() {
5007
+ return jspb.Message.getField(this, 10) != null;
5008
+ };
5009
+
5010
+
5011
+ /**
5012
+ * optional AudioFormat audio = 11;
5013
+ * @return {?proto.fonoster.applications.v1beta2.AudioFormat}
5014
+ */
5015
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getAudio = function() {
5016
+ return /** @type{?proto.fonoster.applications.v1beta2.AudioFormat} */ (
5017
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AudioFormat, 11));
5018
+ };
5019
+
5020
+
5021
+ /**
5022
+ * @param {?proto.fonoster.applications.v1beta2.AudioFormat|undefined} value
5023
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5024
+ */
5025
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setAudio = function(value) {
5026
+ return jspb.Message.setWrapperField(this, 11, value);
5027
+ };
5028
+
5029
+
5030
+ /**
5031
+ * Clears the message field making it undefined.
5032
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5033
+ */
5034
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearAudio = function() {
5035
+ return this.setAudio(undefined);
5036
+ };
5037
+
5038
+
5039
+ /**
5040
+ * Returns whether this field is set.
5041
+ * @return {boolean}
5042
+ */
5043
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasAudio = function() {
5044
+ return jspb.Message.getField(this, 11) != null;
5045
+ };
5046
+
5047
+
5048
+ /**
5049
+ * optional string fallback_app_ref = 12;
5050
+ * @return {string}
5051
+ */
5052
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getFallbackAppRef = function() {
5053
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
5054
+ };
5055
+
5056
+
5057
+ /**
5058
+ * @param {string} value
5059
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5060
+ */
5061
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setFallbackAppRef = function(value) {
5062
+ return jspb.Message.setProto3StringField(this, 12, value);
5063
+ };
5064
+
5065
+
5066
+ /**
5067
+ * optional string fallback_message = 13;
5068
+ * @return {string}
5069
+ */
5070
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getFallbackMessage = function() {
5071
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
5072
+ };
5073
+
5074
+
5075
+ /**
5076
+ * @param {string} value
5077
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5078
+ */
5079
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setFallbackMessage = function(value) {
5080
+ return jspb.Message.setProto3StringField(this, 13, value);
5081
+ };
5082
+
5083
+
5084
+ /**
5085
+ * repeated Listener listeners = 14;
5086
+ * @return {!Array<!proto.fonoster.applications.v1beta2.Listener>}
5087
+ */
5088
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getListenersList = function() {
5089
+ return /** @type{!Array<!proto.fonoster.applications.v1beta2.Listener>} */ (
5090
+ jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.Listener, 14));
5091
+ };
5092
+
5093
+
5094
+ /**
5095
+ * @param {!Array<!proto.fonoster.applications.v1beta2.Listener>} value
5096
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5097
+ */
5098
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setListenersList = function(value) {
5099
+ return jspb.Message.setRepeatedWrapperField(this, 14, value);
5100
+ };
5101
+
5102
+
5103
+ /**
5104
+ * @param {!proto.fonoster.applications.v1beta2.Listener=} opt_value
5105
+ * @param {number=} opt_index
5106
+ * @return {!proto.fonoster.applications.v1beta2.Listener}
5107
+ */
5108
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.addListeners = function(opt_value, opt_index) {
5109
+ return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.fonoster.applications.v1beta2.Listener, opt_index);
5110
+ };
5111
+
5112
+
5113
+ /**
5114
+ * Clears the list making it empty but non-null.
5115
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5116
+ */
5117
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearListenersList = function() {
5118
+ return this.setListenersList([]);
5119
+ };
5120
+
5121
+
5122
+ /**
5123
+ * optional string recording = 15;
5124
+ * @return {string}
5125
+ */
5126
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getRecording = function() {
5127
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
5128
+ };
5129
+
5130
+
5131
+ /**
5132
+ * @param {string} value
5133
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5134
+ */
5135
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setRecording = function(value) {
5136
+ return jspb.Message.setProto3StringField(this, 15, value);
5137
+ };
5138
+
5139
+
5140
+ /**
5141
+ * optional AmdSettings amd = 16;
5142
+ * @return {?proto.fonoster.applications.v1beta2.AmdSettings}
5143
+ */
5144
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getAmd = function() {
5145
+ return /** @type{?proto.fonoster.applications.v1beta2.AmdSettings} */ (
5146
+ jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.AmdSettings, 16));
5147
+ };
5148
+
5149
+
5150
+ /**
5151
+ * @param {?proto.fonoster.applications.v1beta2.AmdSettings|undefined} value
5152
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5153
+ */
5154
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setAmd = function(value) {
5155
+ return jspb.Message.setWrapperField(this, 16, value);
5156
+ };
5157
+
5158
+
5159
+ /**
5160
+ * Clears the message field making it undefined.
5161
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5162
+ */
5163
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearAmd = function() {
5164
+ return this.setAmd(undefined);
5165
+ };
5166
+
5167
+
5168
+ /**
5169
+ * Returns whether this field is set.
5170
+ * @return {boolean}
5171
+ */
5172
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasAmd = function() {
5173
+ return jspb.Message.getField(this, 16) != null;
5174
+ };
5175
+
5176
+
5177
+ /**
5178
+ * repeated AudioFilter filters = 20;
5179
+ * @return {!Array<!proto.fonoster.applications.v1beta2.AudioFilter>}
5180
+ */
5181
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getFiltersList = function() {
5182
+ return /** @type{!Array<!proto.fonoster.applications.v1beta2.AudioFilter>} */ (
5183
+ jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.AudioFilter, 20));
5184
+ };
5185
+
5186
+
5187
+ /**
5188
+ * @param {!Array<!proto.fonoster.applications.v1beta2.AudioFilter>} value
5189
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5190
+ */
5191
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setFiltersList = function(value) {
5192
+ return jspb.Message.setRepeatedWrapperField(this, 20, value);
5193
+ };
5194
+
5195
+
5196
+ /**
5197
+ * @param {!proto.fonoster.applications.v1beta2.AudioFilter=} opt_value
5198
+ * @param {number=} opt_index
5199
+ * @return {!proto.fonoster.applications.v1beta2.AudioFilter}
5200
+ */
5201
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.addFilters = function(opt_value, opt_index) {
5202
+ return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.fonoster.applications.v1beta2.AudioFilter, opt_index);
5203
+ };
5204
+
5205
+
5206
+ /**
5207
+ * Clears the list making it empty but non-null.
5208
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationRequest} returns this
5209
+ */
5210
+ proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearFiltersList = function() {
5211
+ return this.setFiltersList([]);
5212
+ };
5213
+
5214
+
2462
5215
 
2463
5216
 
2464
5217
 
@@ -2491,7 +5244,9 @@ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.toObject
2491
5244
  */
2492
5245
  proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject = function(includeInstance, msg) {
2493
5246
  var f, obj = {
2494
- ref: jspb.Message.getFieldWithDefault(msg, 1, "")
5247
+ ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
5248
+ signingSecret: jspb.Message.getFieldWithDefault(msg, 2, ""),
5249
+ signingSecretHint: jspb.Message.getFieldWithDefault(msg, 3, "")
2495
5250
  };
2496
5251
 
2497
5252
  if (includeInstance) {
@@ -2532,6 +5287,14 @@ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryF
2532
5287
  var value = /** @type {string} */ (reader.readString());
2533
5288
  msg.setRef(value);
2534
5289
  break;
5290
+ case 2:
5291
+ var value = /** @type {string} */ (reader.readString());
5292
+ msg.setSigningSecret(value);
5293
+ break;
5294
+ case 3:
5295
+ var value = /** @type {string} */ (reader.readString());
5296
+ msg.setSigningSecretHint(value);
5297
+ break;
2535
5298
  default:
2536
5299
  reader.skipField();
2537
5300
  break;
@@ -2568,6 +5331,20 @@ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToW
2568
5331
  f
2569
5332
  );
2570
5333
  }
5334
+ f = message.getSigningSecret();
5335
+ if (f.length > 0) {
5336
+ writer.writeString(
5337
+ 2,
5338
+ f
5339
+ );
5340
+ }
5341
+ f = message.getSigningSecretHint();
5342
+ if (f.length > 0) {
5343
+ writer.writeString(
5344
+ 3,
5345
+ f
5346
+ );
5347
+ }
2571
5348
  };
2572
5349
 
2573
5350
 
@@ -2589,6 +5366,42 @@ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setRef =
2589
5366
  };
2590
5367
 
2591
5368
 
5369
+ /**
5370
+ * optional string signing_secret = 2;
5371
+ * @return {string}
5372
+ */
5373
+ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.getSigningSecret = function() {
5374
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5375
+ };
5376
+
5377
+
5378
+ /**
5379
+ * @param {string} value
5380
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationResponse} returns this
5381
+ */
5382
+ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setSigningSecret = function(value) {
5383
+ return jspb.Message.setProto3StringField(this, 2, value);
5384
+ };
5385
+
5386
+
5387
+ /**
5388
+ * optional string signing_secret_hint = 3;
5389
+ * @return {string}
5390
+ */
5391
+ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.getSigningSecretHint = function() {
5392
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5393
+ };
5394
+
5395
+
5396
+ /**
5397
+ * @param {string} value
5398
+ * @return {!proto.fonoster.applications.v1beta2.UpdateApplicationResponse} returns this
5399
+ */
5400
+ proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setSigningSecretHint = function(value) {
5401
+ return jspb.Message.setProto3StringField(this, 3, value);
5402
+ };
5403
+
5404
+
2592
5405
 
2593
5406
 
2594
5407
 
@@ -4917,7 +7730,7 @@ proto.fonoster.applications.v1beta2.TestTokenResponse.prototype.setUsername = fu
4917
7730
  * @enum {number}
4918
7731
  */
4919
7732
  proto.fonoster.applications.v1beta2.ApplicationType = {
4920
- EXTERNAL: 0,
7733
+ STREAM: 0,
4921
7734
  AUTOPILOT: 1
4922
7735
  };
4923
7736