@aceplus/smartace-api 3.4.0-alpha.1 → 3.4.0-alpha.4

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 (237) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -582
  3. package/auth.account_pb.js +0 -4287
  4. package/auth.account_pb_service.d.ts +0 -340
  5. package/auth.account_pb_service.js +0 -637
  6. package/auth.account_two_factor_pb.d.ts +0 -159
  7. package/auth.account_two_factor_pb.js +0 -1184
  8. package/auth.account_two_factor_pb_service.d.ts +0 -121
  9. package/auth.account_two_factor_pb_service.js +0 -182
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -95
  23. package/auth.authn_pb.js +0 -637
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -142
  27. package/auth.cluster_pb.js +0 -1050
  28. package/auth.cluster_pb_service.d.ts +0 -82
  29. package/auth.cluster_pb_service.js +0 -101
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -217
  35. package/auth.email_pb.js +0 -1508
  36. package/auth.email_pb_service.d.ts +0 -102
  37. package/auth.email_pb_service.js +0 -142
  38. package/auth.firmware_pb.d.ts +0 -256
  39. package/auth.firmware_pb.js +0 -1997
  40. package/auth.firmware_pb_service.d.ts +0 -120
  41. package/auth.firmware_pb_service.js +0 -181
  42. package/auth.push_notification_pb.d.ts +0 -69
  43. package/auth.push_notification_pb.js +0 -411
  44. package/auth.push_notification_pb_service.d.ts +0 -64
  45. package/auth.push_notification_pb_service.js +0 -62
  46. package/auth.sms_pb.d.ts +0 -79
  47. package/auth.sms_pb.js +0 -575
  48. package/auth.sms_pb_service.d.ts +0 -83
  49. package/auth.sms_pb_service.js +0 -102
  50. package/google/api/annotations_pb.d.ts +0 -9
  51. package/google/api/annotations_pb.js +0 -54
  52. package/google/api/annotations_pb_service.d.ts +0 -3
  53. package/google/api/annotations_pb_service.js +0 -3
  54. package/google/api/auth_pb.d.ts +0 -150
  55. package/google/api/auth_pb.js +0 -1160
  56. package/google/api/auth_pb_service.d.ts +0 -3
  57. package/google/api/auth_pb_service.js +0 -3
  58. package/google/api/backend_pb.d.ts +0 -59
  59. package/google/api/backend_pb.js +0 -448
  60. package/google/api/backend_pb_service.d.ts +0 -3
  61. package/google/api/backend_pb_service.js +0 -3
  62. package/google/api/billing_pb.d.ts +0 -54
  63. package/google/api/billing_pb.js +0 -416
  64. package/google/api/billing_pb_service.d.ts +0 -3
  65. package/google/api/billing_pb_service.js +0 -3
  66. package/google/api/client_pb.d.ts +0 -12
  67. package/google/api/client_pb.js +0 -104
  68. package/google/api/client_pb_service.d.ts +0 -3
  69. package/google/api/client_pb_service.js +0 -3
  70. package/google/api/config_change_pb.d.ts +0 -72
  71. package/google/api/config_change_pb.js +0 -489
  72. package/google/api/config_change_pb_service.d.ts +0 -3
  73. package/google/api/config_change_pb_service.js +0 -3
  74. package/google/api/consumer_pb.d.ts +0 -65
  75. package/google/api/consumer_pb.js +0 -430
  76. package/google/api/consumer_pb_service.d.ts +0 -3
  77. package/google/api/consumer_pb_service.js +0 -3
  78. package/google/api/context_pb.d.ts +0 -59
  79. package/google/api/context_pb.js +0 -463
  80. package/google/api/context_pb_service.d.ts +0 -3
  81. package/google/api/context_pb_service.js +0 -3
  82. package/google/api/control_pb.d.ts +0 -25
  83. package/google/api/control_pb.js +0 -176
  84. package/google/api/control_pb_service.d.ts +0 -3
  85. package/google/api/control_pb_service.js +0 -3
  86. package/google/api/distribution_pb.d.ts +0 -235
  87. package/google/api/distribution_pb.js +0 -1805
  88. package/google/api/distribution_pb_service.d.ts +0 -3
  89. package/google/api/distribution_pb_service.js +0 -3
  90. package/google/api/documentation_pb.d.ts +0 -103
  91. package/google/api/documentation_pb.js +0 -803
  92. package/google/api/documentation_pb_service.d.ts +0 -3
  93. package/google/api/documentation_pb_service.js +0 -3
  94. package/google/api/endpoint_pb.d.ts +0 -46
  95. package/google/api/endpoint_pb.js +0 -343
  96. package/google/api/endpoint_pb_service.d.ts +0 -3
  97. package/google/api/endpoint_pb_service.js +0 -3
  98. package/google/api/error_reason_pb.d.ts +0 -40
  99. package/google/api/error_reason_pb.js +0 -61
  100. package/google/api/error_reason_pb_service.d.ts +0 -3
  101. package/google/api/error_reason_pb_service.js +0 -3
  102. package/google/api/field_behavior_pb.d.ts +0 -20
  103. package/google/api/field_behavior_pb.js +0 -66
  104. package/google/api/field_behavior_pb_service.d.ts +0 -3
  105. package/google/api/field_behavior_pb_service.js +0 -3
  106. package/google/api/http_pb.d.ts +0 -136
  107. package/google/api/http_pb.js +0 -1012
  108. package/google/api/http_pb_service.d.ts +0 -3
  109. package/google/api/http_pb_service.js +0 -3
  110. package/google/api/httpbody_pb.d.ts +0 -38
  111. package/google/api/httpbody_pb.js +0 -292
  112. package/google/api/httpbody_pb_service.d.ts +0 -3
  113. package/google/api/httpbody_pb_service.js +0 -3
  114. package/google/api/label_pb.d.ts +0 -41
  115. package/google/api/label_pb.js +0 -246
  116. package/google/api/label_pb_service.d.ts +0 -3
  117. package/google/api/label_pb_service.js +0 -3
  118. package/google/api/launch_stage_pb.d.ts +0 -16
  119. package/google/api/launch_stage_pb.js +0 -37
  120. package/google/api/launch_stage_pb_service.d.ts +0 -3
  121. package/google/api/launch_stage_pb_service.js +0 -3
  122. package/google/api/log_pb.d.ts +0 -40
  123. package/google/api/log_pb.js +0 -298
  124. package/google/api/log_pb_service.d.ts +0 -3
  125. package/google/api/log_pb_service.js +0 -3
  126. package/google/api/logging_pb.d.ts +0 -60
  127. package/google/api/logging_pb.js +0 -469
  128. package/google/api/logging_pb_service.d.ts +0 -3
  129. package/google/api/logging_pb_service.js +0 -3
  130. package/google/api/metric_pb.d.ts +0 -100
  131. package/google/api/metric_pb.js +0 -629
  132. package/google/api/metric_pb_service.d.ts +0 -3
  133. package/google/api/metric_pb_service.js +0 -3
  134. package/google/api/monitored_resource_pb.d.ts +0 -93
  135. package/google/api/monitored_resource_pb.js +0 -723
  136. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  137. package/google/api/monitored_resource_pb_service.js +0 -3
  138. package/google/api/monitoring_pb.d.ts +0 -60
  139. package/google/api/monitoring_pb.js +0 -469
  140. package/google/api/monitoring_pb_service.d.ts +0 -3
  141. package/google/api/monitoring_pb_service.js +0 -3
  142. package/google/api/policy_pb.d.ts +0 -64
  143. package/google/api/policy_pb.js +0 -502
  144. package/google/api/policy_pb_service.d.ts +0 -3
  145. package/google/api/policy_pb_service.js +0 -3
  146. package/google/api/quota_pb.d.ts +0 -112
  147. package/google/api/quota_pb.js +0 -873
  148. package/google/api/quota_pb_service.d.ts +0 -3
  149. package/google/api/quota_pb_service.js +0 -3
  150. package/google/api/resource_pb.d.ts +0 -99
  151. package/google/api/resource_pb.js +0 -684
  152. package/google/api/resource_pb_service.d.ts +0 -3
  153. package/google/api/resource_pb_service.js +0 -3
  154. package/google/api/routing_pb.d.ts +0 -54
  155. package/google/api/routing_pb.js +0 -416
  156. package/google/api/routing_pb_service.d.ts +0 -3
  157. package/google/api/routing_pb_service.js +0 -3
  158. package/google/api/service_pb.d.ts +0 -184
  159. package/google/api/service_pb.js +0 -1400
  160. package/google/api/service_pb_service.d.ts +0 -3
  161. package/google/api/service_pb_service.js +0 -3
  162. package/google/api/source_info_pb.d.ts +0 -28
  163. package/google/api/source_info_pb.js +0 -208
  164. package/google/api/source_info_pb_service.d.ts +0 -3
  165. package/google/api/source_info_pb_service.js +0 -3
  166. package/google/api/system_parameter_pb.d.ts +0 -81
  167. package/google/api/system_parameter_pb.js +0 -630
  168. package/google/api/system_parameter_pb_service.d.ts +0 -3
  169. package/google/api/system_parameter_pb_service.js +0 -3
  170. package/google/api/usage_pb.d.ts +0 -66
  171. package/google/api/usage_pb.js +0 -499
  172. package/google/api/usage_pb_service.d.ts +0 -3
  173. package/google/api/usage_pb_service.js +0 -3
  174. package/google/api/visibility_pb.d.ts +0 -64
  175. package/google/api/visibility_pb.js +0 -546
  176. package/google/api/visibility_pb_service.d.ts +0 -3
  177. package/google/api/visibility_pb_service.js +0 -3
  178. package/meta.client_pb.d.ts +0 -167
  179. package/meta.client_pb.js +0 -1266
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_alert_pb.d.ts +0 -230
  183. package/meta.spic_alert_pb.js +0 -1615
  184. package/meta.spic_alert_pb_service.d.ts +0 -121
  185. package/meta.spic_alert_pb_service.js +0 -182
  186. package/meta.spic_config_pb.d.ts +0 -155
  187. package/meta.spic_config_pb.js +0 -1156
  188. package/meta.spic_config_pb_service.d.ts +0 -102
  189. package/meta.spic_config_pb_service.js +0 -142
  190. package/meta.spic_pb.d.ts +0 -36
  191. package/meta.spic_pb.js +0 -254
  192. package/meta.spic_pb_service.d.ts +0 -64
  193. package/meta.spic_pb_service.js +0 -62
  194. package/platform.activity_log_pb.d.ts +0 -177
  195. package/platform.activity_log_pb.js +0 -1294
  196. package/platform.activity_log_pb_service.d.ts +0 -82
  197. package/platform.activity_log_pb_service.js +0 -101
  198. package/platform.client_pb.d.ts +0 -350
  199. package/platform.client_pb.js +0 -2663
  200. package/platform.client_pb_service.d.ts +0 -158
  201. package/platform.client_pb_service.js +0 -261
  202. package/platform.group_pb.d.ts +0 -195
  203. package/platform.group_pb.js +0 -1476
  204. package/platform.group_pb_service.d.ts +0 -139
  205. package/platform.group_pb_service.js +0 -221
  206. package/platform.local_account_internal_pb.d.ts +0 -125
  207. package/platform.local_account_internal_pb.js +0 -933
  208. package/platform.local_account_internal_pb_service.d.ts +0 -121
  209. package/platform.local_account_internal_pb_service.js +0 -182
  210. package/platform.local_account_pb.d.ts +0 -446
  211. package/platform.local_account_pb.js +0 -3337
  212. package/platform.local_account_pb_service.d.ts +0 -331
  213. package/platform.local_account_pb_service.js +0 -623
  214. package/platform.local_distribution_pb.d.ts +0 -69
  215. package/platform.local_distribution_pb.js +0 -506
  216. package/platform.local_distribution_pb_service.d.ts +0 -63
  217. package/platform.local_distribution_pb_service.js +0 -61
  218. package/platform.location_pb.d.ts +0 -271
  219. package/platform.location_pb.js +0 -2046
  220. package/platform.location_pb_service.d.ts +0 -139
  221. package/platform.location_pb_service.js +0 -221
  222. package/platform.pagination_pb.d.ts +0 -45
  223. package/platform.pagination_pb.js +0 -276
  224. package/platform.pagination_pb_service.d.ts +0 -3
  225. package/platform.pagination_pb_service.js +0 -3
  226. package/spic.cabinet_pb.d.ts +0 -1407
  227. package/spic.cabinet_pb.js +0 -10370
  228. package/spic.cabinet_pb_service.d.ts +0 -378
  229. package/spic.cabinet_pb_service.js +0 -717
  230. package/spic.config_pb.d.ts +0 -249
  231. package/spic.config_pb.js +0 -1891
  232. package/spic.config_pb_service.d.ts +0 -120
  233. package/spic.config_pb_service.js +0 -181
  234. package/spic.contractor_pb.d.ts +0 -195
  235. package/spic.contractor_pb.js +0 -1476
  236. package/spic.contractor_pb_service.d.ts +0 -139
  237. package/spic.contractor_pb_service.js +0 -221
@@ -1,1156 +0,0 @@
1
- // source: meta.spic_config.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
- goog.object.extend(proto, google_protobuf_empty_pb);
26
- var platform_pagination_pb = require('./platform.pagination_pb.js');
27
- goog.object.extend(proto, platform_pagination_pb);
28
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
29
- goog.object.extend(proto, google_api_annotations_pb);
30
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto', null, global);
31
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest', null, global);
32
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SearchTemplateReply', null, global);
33
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest', null, global);
34
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest', null, global);
35
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase', null, global);
36
- /**
37
- * Generated by JsPbCodeGenerator.
38
- * @param {Array=} opt_data Optional initial data array, typically from a
39
- * server response, or constructed directly in Javascript. The array is used
40
- * in place and becomes part of the constructed object. It is not cloned.
41
- * If no data is provided, the constructed object will be empty, but still
42
- * valid.
43
- * @extends {jspb.Message}
44
- * @constructor
45
- */
46
- proto.Meta.TemperatureConfigurationProto = function(opt_data) {
47
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
48
- };
49
- goog.inherits(proto.Meta.TemperatureConfigurationProto, jspb.Message);
50
- if (goog.DEBUG && !COMPILED) {
51
- /**
52
- * @public
53
- * @override
54
- */
55
- proto.Meta.TemperatureConfigurationProto.displayName = 'proto.Meta.TemperatureConfigurationProto';
56
- }
57
- /**
58
- * Generated by JsPbCodeGenerator.
59
- * @param {Array=} opt_data Optional initial data array, typically from a
60
- * server response, or constructed directly in Javascript. The array is used
61
- * in place and becomes part of the constructed object. It is not cloned.
62
- * If no data is provided, the constructed object will be empty, but still
63
- * valid.
64
- * @extends {jspb.Message}
65
- * @constructor
66
- */
67
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest = function(opt_data) {
68
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_);
69
- };
70
- goog.inherits(proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest, jspb.Message);
71
- if (goog.DEBUG && !COMPILED) {
72
- /**
73
- * @public
74
- * @override
75
- */
76
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.displayName = 'proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest';
77
- }
78
- /**
79
- * Generated by JsPbCodeGenerator.
80
- * @param {Array=} opt_data Optional initial data array, typically from a
81
- * server response, or constructed directly in Javascript. The array is used
82
- * in place and becomes part of the constructed object. It is not cloned.
83
- * If no data is provided, the constructed object will be empty, but still
84
- * valid.
85
- * @extends {jspb.Message}
86
- * @constructor
87
- */
88
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest = function(opt_data) {
89
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
90
- };
91
- goog.inherits(proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest, jspb.Message);
92
- if (goog.DEBUG && !COMPILED) {
93
- /**
94
- * @public
95
- * @override
96
- */
97
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.displayName = 'proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest';
98
- }
99
- /**
100
- * Generated by JsPbCodeGenerator.
101
- * @param {Array=} opt_data Optional initial data array, typically from a
102
- * server response, or constructed directly in Javascript. The array is used
103
- * in place and becomes part of the constructed object. It is not cloned.
104
- * If no data is provided, the constructed object will be empty, but still
105
- * valid.
106
- * @extends {jspb.Message}
107
- * @constructor
108
- */
109
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest = function(opt_data) {
110
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
111
- };
112
- goog.inherits(proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest, jspb.Message);
113
- if (goog.DEBUG && !COMPILED) {
114
- /**
115
- * @public
116
- * @override
117
- */
118
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.displayName = 'proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest';
119
- }
120
- /**
121
- * Generated by JsPbCodeGenerator.
122
- * @param {Array=} opt_data Optional initial data array, typically from a
123
- * server response, or constructed directly in Javascript. The array is used
124
- * in place and becomes part of the constructed object. It is not cloned.
125
- * If no data is provided, the constructed object will be empty, but still
126
- * valid.
127
- * @extends {jspb.Message}
128
- * @constructor
129
- */
130
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply = function(opt_data) {
131
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.repeatedFields_, null);
132
- };
133
- goog.inherits(proto.Meta.TemperatureConfigurationProto.SearchTemplateReply, jspb.Message);
134
- if (goog.DEBUG && !COMPILED) {
135
- /**
136
- * @public
137
- * @override
138
- */
139
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.displayName = 'proto.Meta.TemperatureConfigurationProto.SearchTemplateReply';
140
- }
141
-
142
-
143
-
144
- if (jspb.Message.GENERATE_TO_OBJECT) {
145
- /**
146
- * Creates an object representation of this proto.
147
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
148
- * Optional fields that are not set will be set to undefined.
149
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
150
- * For the list of reserved names please see:
151
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
152
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
153
- * JSPB instance for transitional soy proto support:
154
- * http://goto/soy-param-migration
155
- * @return {!Object}
156
- */
157
- proto.Meta.TemperatureConfigurationProto.prototype.toObject = function(opt_includeInstance) {
158
- return proto.Meta.TemperatureConfigurationProto.toObject(opt_includeInstance, this);
159
- };
160
-
161
-
162
- /**
163
- * Static version of the {@see toObject} method.
164
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
165
- * the JSPB instance for transitional soy proto support:
166
- * http://goto/soy-param-migration
167
- * @param {!proto.Meta.TemperatureConfigurationProto} msg The msg instance to transform.
168
- * @return {!Object}
169
- * @suppress {unusedLocalVariables} f is only used for nested messages
170
- */
171
- proto.Meta.TemperatureConfigurationProto.toObject = function(includeInstance, msg) {
172
- var f, obj = {
173
- highTrigger: jspb.Message.getFieldWithDefault(msg, 1, 0),
174
- highClear: jspb.Message.getFieldWithDefault(msg, 2, 0),
175
- criticalTrigger: jspb.Message.getFieldWithDefault(msg, 3, 0),
176
- criticalClear: jspb.Message.getFieldWithDefault(msg, 4, 0)
177
- };
178
-
179
- if (includeInstance) {
180
- obj.$jspbMessageInstance = msg;
181
- }
182
- return obj;
183
- };
184
- }
185
-
186
-
187
- /**
188
- * Deserializes binary data (in protobuf wire format).
189
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
190
- * @return {!proto.Meta.TemperatureConfigurationProto}
191
- */
192
- proto.Meta.TemperatureConfigurationProto.deserializeBinary = function(bytes) {
193
- var reader = new jspb.BinaryReader(bytes);
194
- var msg = new proto.Meta.TemperatureConfigurationProto;
195
- return proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader(msg, reader);
196
- };
197
-
198
-
199
- /**
200
- * Deserializes binary data (in protobuf wire format) from the
201
- * given reader into the given message object.
202
- * @param {!proto.Meta.TemperatureConfigurationProto} msg The message object to deserialize into.
203
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
204
- * @return {!proto.Meta.TemperatureConfigurationProto}
205
- */
206
- proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader = function(msg, reader) {
207
- while (reader.nextField()) {
208
- if (reader.isEndGroup()) {
209
- break;
210
- }
211
- var field = reader.getFieldNumber();
212
- switch (field) {
213
- case 1:
214
- var value = /** @type {number} */ (reader.readInt32());
215
- msg.setHighTrigger(value);
216
- break;
217
- case 2:
218
- var value = /** @type {number} */ (reader.readInt32());
219
- msg.setHighClear(value);
220
- break;
221
- case 3:
222
- var value = /** @type {number} */ (reader.readInt32());
223
- msg.setCriticalTrigger(value);
224
- break;
225
- case 4:
226
- var value = /** @type {number} */ (reader.readInt32());
227
- msg.setCriticalClear(value);
228
- break;
229
- default:
230
- reader.skipField();
231
- break;
232
- }
233
- }
234
- return msg;
235
- };
236
-
237
-
238
- /**
239
- * Serializes the message to binary data (in protobuf wire format).
240
- * @return {!Uint8Array}
241
- */
242
- proto.Meta.TemperatureConfigurationProto.prototype.serializeBinary = function() {
243
- var writer = new jspb.BinaryWriter();
244
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter(this, writer);
245
- return writer.getResultBuffer();
246
- };
247
-
248
-
249
- /**
250
- * Serializes the given message to binary data (in protobuf wire
251
- * format), writing to the given BinaryWriter.
252
- * @param {!proto.Meta.TemperatureConfigurationProto} message
253
- * @param {!jspb.BinaryWriter} writer
254
- * @suppress {unusedLocalVariables} f is only used for nested messages
255
- */
256
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter = function(message, writer) {
257
- var f = undefined;
258
- f = message.getHighTrigger();
259
- if (f !== 0) {
260
- writer.writeInt32(
261
- 1,
262
- f
263
- );
264
- }
265
- f = message.getHighClear();
266
- if (f !== 0) {
267
- writer.writeInt32(
268
- 2,
269
- f
270
- );
271
- }
272
- f = message.getCriticalTrigger();
273
- if (f !== 0) {
274
- writer.writeInt32(
275
- 3,
276
- f
277
- );
278
- }
279
- f = message.getCriticalClear();
280
- if (f !== 0) {
281
- writer.writeInt32(
282
- 4,
283
- f
284
- );
285
- }
286
- };
287
-
288
-
289
-
290
- /**
291
- * Oneof group definitions for this message. Each group defines the field
292
- * numbers belonging to that group. When of these fields' value is set, all
293
- * other fields in the group are cleared. During deserialization, if multiple
294
- * fields are encountered for a group, only the last value seen will be kept.
295
- * @private {!Array<!Array<number>>}
296
- * @const
297
- */
298
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_ = [[2,3]];
299
-
300
- /**
301
- * @enum {number}
302
- */
303
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase = {
304
- TARGET_NOT_SET: 0,
305
- SPIC_UID: 2,
306
- GROUP_ID: 3
307
- };
308
-
309
- /**
310
- * @return {proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase}
311
- */
312
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.getTargetCase = function() {
313
- return /** @type {proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase} */(jspb.Message.computeOneofCase(this, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0]));
314
- };
315
-
316
-
317
-
318
- if (jspb.Message.GENERATE_TO_OBJECT) {
319
- /**
320
- * Creates an object representation of this proto.
321
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
322
- * Optional fields that are not set will be set to undefined.
323
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
324
- * For the list of reserved names please see:
325
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
326
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
327
- * JSPB instance for transitional soy proto support:
328
- * http://goto/soy-param-migration
329
- * @return {!Object}
330
- */
331
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.toObject = function(opt_includeInstance) {
332
- return proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.toObject(opt_includeInstance, this);
333
- };
334
-
335
-
336
- /**
337
- * Static version of the {@see toObject} method.
338
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
339
- * the JSPB instance for transitional soy proto support:
340
- * http://goto/soy-param-migration
341
- * @param {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} msg The msg instance to transform.
342
- * @return {!Object}
343
- * @suppress {unusedLocalVariables} f is only used for nested messages
344
- */
345
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.toObject = function(includeInstance, msg) {
346
- var f, obj = {
347
- temperatureConfiguration: (f = msg.getTemperatureConfiguration()) && proto.Meta.TemperatureConfigurationProto.toObject(includeInstance, f),
348
- spicUid: jspb.Message.getFieldWithDefault(msg, 2, ""),
349
- groupId: jspb.Message.getFieldWithDefault(msg, 3, "")
350
- };
351
-
352
- if (includeInstance) {
353
- obj.$jspbMessageInstance = msg;
354
- }
355
- return obj;
356
- };
357
- }
358
-
359
-
360
- /**
361
- * Deserializes binary data (in protobuf wire format).
362
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
363
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest}
364
- */
365
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.deserializeBinary = function(bytes) {
366
- var reader = new jspb.BinaryReader(bytes);
367
- var msg = new proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest;
368
- return proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.deserializeBinaryFromReader(msg, reader);
369
- };
370
-
371
-
372
- /**
373
- * Deserializes binary data (in protobuf wire format) from the
374
- * given reader into the given message object.
375
- * @param {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} msg The message object to deserialize into.
376
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
377
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest}
378
- */
379
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.deserializeBinaryFromReader = function(msg, reader) {
380
- while (reader.nextField()) {
381
- if (reader.isEndGroup()) {
382
- break;
383
- }
384
- var field = reader.getFieldNumber();
385
- switch (field) {
386
- case 1:
387
- var value = new proto.Meta.TemperatureConfigurationProto;
388
- reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
389
- msg.setTemperatureConfiguration(value);
390
- break;
391
- case 2:
392
- var value = /** @type {string} */ (reader.readString());
393
- msg.setSpicUid(value);
394
- break;
395
- case 3:
396
- var value = /** @type {string} */ (reader.readString());
397
- msg.setGroupId(value);
398
- break;
399
- default:
400
- reader.skipField();
401
- break;
402
- }
403
- }
404
- return msg;
405
- };
406
-
407
-
408
- /**
409
- * Serializes the message to binary data (in protobuf wire format).
410
- * @return {!Uint8Array}
411
- */
412
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.serializeBinary = function() {
413
- var writer = new jspb.BinaryWriter();
414
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.serializeBinaryToWriter(this, writer);
415
- return writer.getResultBuffer();
416
- };
417
-
418
-
419
- /**
420
- * Serializes the given message to binary data (in protobuf wire
421
- * format), writing to the given BinaryWriter.
422
- * @param {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} message
423
- * @param {!jspb.BinaryWriter} writer
424
- * @suppress {unusedLocalVariables} f is only used for nested messages
425
- */
426
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.serializeBinaryToWriter = function(message, writer) {
427
- var f = undefined;
428
- f = message.getTemperatureConfiguration();
429
- if (f != null) {
430
- writer.writeMessage(
431
- 1,
432
- f,
433
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
434
- );
435
- }
436
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
437
- if (f != null) {
438
- writer.writeString(
439
- 2,
440
- f
441
- );
442
- }
443
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
444
- if (f != null) {
445
- writer.writeString(
446
- 3,
447
- f
448
- );
449
- }
450
- };
451
-
452
-
453
- /**
454
- * optional TemperatureConfigurationProto temperature_configuration = 1;
455
- * @return {?proto.Meta.TemperatureConfigurationProto}
456
- */
457
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.getTemperatureConfiguration = function() {
458
- return /** @type{?proto.Meta.TemperatureConfigurationProto} */ (
459
- jspb.Message.getWrapperField(this, proto.Meta.TemperatureConfigurationProto, 1));
460
- };
461
-
462
-
463
- /**
464
- * @param {?proto.Meta.TemperatureConfigurationProto|undefined} value
465
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
466
- */
467
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.setTemperatureConfiguration = function(value) {
468
- return jspb.Message.setWrapperField(this, 1, value);
469
- };
470
-
471
-
472
- /**
473
- * Clears the message field making it undefined.
474
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
475
- */
476
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.clearTemperatureConfiguration = function() {
477
- return this.setTemperatureConfiguration(undefined);
478
- };
479
-
480
-
481
- /**
482
- * Returns whether this field is set.
483
- * @return {boolean}
484
- */
485
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.hasTemperatureConfiguration = function() {
486
- return jspb.Message.getField(this, 1) != null;
487
- };
488
-
489
-
490
- /**
491
- * optional string spic_uid = 2;
492
- * @return {string}
493
- */
494
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.getSpicUid = function() {
495
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
496
- };
497
-
498
-
499
- /**
500
- * @param {string} value
501
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
502
- */
503
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.setSpicUid = function(value) {
504
- return jspb.Message.setOneofField(this, 2, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0], value);
505
- };
506
-
507
-
508
- /**
509
- * Clears the field making it undefined.
510
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
511
- */
512
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.clearSpicUid = function() {
513
- return jspb.Message.setOneofField(this, 2, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0], undefined);
514
- };
515
-
516
-
517
- /**
518
- * Returns whether this field is set.
519
- * @return {boolean}
520
- */
521
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.hasSpicUid = function() {
522
- return jspb.Message.getField(this, 2) != null;
523
- };
524
-
525
-
526
- /**
527
- * optional string group_id = 3;
528
- * @return {string}
529
- */
530
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.getGroupId = function() {
531
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
532
- };
533
-
534
-
535
- /**
536
- * @param {string} value
537
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
538
- */
539
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.setGroupId = function(value) {
540
- return jspb.Message.setOneofField(this, 3, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0], value);
541
- };
542
-
543
-
544
- /**
545
- * Clears the field making it undefined.
546
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
547
- */
548
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.clearGroupId = function() {
549
- return jspb.Message.setOneofField(this, 3, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0], undefined);
550
- };
551
-
552
-
553
- /**
554
- * Returns whether this field is set.
555
- * @return {boolean}
556
- */
557
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.hasGroupId = function() {
558
- return jspb.Message.getField(this, 3) != null;
559
- };
560
-
561
-
562
-
563
-
564
-
565
- if (jspb.Message.GENERATE_TO_OBJECT) {
566
- /**
567
- * Creates an object representation of this proto.
568
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
569
- * Optional fields that are not set will be set to undefined.
570
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
571
- * For the list of reserved names please see:
572
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
573
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
574
- * JSPB instance for transitional soy proto support:
575
- * http://goto/soy-param-migration
576
- * @return {!Object}
577
- */
578
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.toObject = function(opt_includeInstance) {
579
- return proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.toObject(opt_includeInstance, this);
580
- };
581
-
582
-
583
- /**
584
- * Static version of the {@see toObject} method.
585
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
586
- * the JSPB instance for transitional soy proto support:
587
- * http://goto/soy-param-migration
588
- * @param {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} msg The msg instance to transform.
589
- * @return {!Object}
590
- * @suppress {unusedLocalVariables} f is only used for nested messages
591
- */
592
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.toObject = function(includeInstance, msg) {
593
- var f, obj = {
594
- temperatureConfiguration: (f = msg.getTemperatureConfiguration()) && proto.Meta.TemperatureConfigurationProto.toObject(includeInstance, f)
595
- };
596
-
597
- if (includeInstance) {
598
- obj.$jspbMessageInstance = msg;
599
- }
600
- return obj;
601
- };
602
- }
603
-
604
-
605
- /**
606
- * Deserializes binary data (in protobuf wire format).
607
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
608
- * @return {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest}
609
- */
610
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.deserializeBinary = function(bytes) {
611
- var reader = new jspb.BinaryReader(bytes);
612
- var msg = new proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest;
613
- return proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.deserializeBinaryFromReader(msg, reader);
614
- };
615
-
616
-
617
- /**
618
- * Deserializes binary data (in protobuf wire format) from the
619
- * given reader into the given message object.
620
- * @param {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} msg The message object to deserialize into.
621
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
622
- * @return {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest}
623
- */
624
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.deserializeBinaryFromReader = function(msg, reader) {
625
- while (reader.nextField()) {
626
- if (reader.isEndGroup()) {
627
- break;
628
- }
629
- var field = reader.getFieldNumber();
630
- switch (field) {
631
- case 1:
632
- var value = new proto.Meta.TemperatureConfigurationProto;
633
- reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
634
- msg.setTemperatureConfiguration(value);
635
- break;
636
- default:
637
- reader.skipField();
638
- break;
639
- }
640
- }
641
- return msg;
642
- };
643
-
644
-
645
- /**
646
- * Serializes the message to binary data (in protobuf wire format).
647
- * @return {!Uint8Array}
648
- */
649
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.serializeBinary = function() {
650
- var writer = new jspb.BinaryWriter();
651
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.serializeBinaryToWriter(this, writer);
652
- return writer.getResultBuffer();
653
- };
654
-
655
-
656
- /**
657
- * Serializes the given message to binary data (in protobuf wire
658
- * format), writing to the given BinaryWriter.
659
- * @param {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} message
660
- * @param {!jspb.BinaryWriter} writer
661
- * @suppress {unusedLocalVariables} f is only used for nested messages
662
- */
663
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.serializeBinaryToWriter = function(message, writer) {
664
- var f = undefined;
665
- f = message.getTemperatureConfiguration();
666
- if (f != null) {
667
- writer.writeMessage(
668
- 1,
669
- f,
670
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
671
- );
672
- }
673
- };
674
-
675
-
676
- /**
677
- * optional TemperatureConfigurationProto temperature_configuration = 1;
678
- * @return {?proto.Meta.TemperatureConfigurationProto}
679
- */
680
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.getTemperatureConfiguration = function() {
681
- return /** @type{?proto.Meta.TemperatureConfigurationProto} */ (
682
- jspb.Message.getWrapperField(this, proto.Meta.TemperatureConfigurationProto, 1));
683
- };
684
-
685
-
686
- /**
687
- * @param {?proto.Meta.TemperatureConfigurationProto|undefined} value
688
- * @return {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} returns this
689
- */
690
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.setTemperatureConfiguration = function(value) {
691
- return jspb.Message.setWrapperField(this, 1, value);
692
- };
693
-
694
-
695
- /**
696
- * Clears the message field making it undefined.
697
- * @return {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} returns this
698
- */
699
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.clearTemperatureConfiguration = function() {
700
- return this.setTemperatureConfiguration(undefined);
701
- };
702
-
703
-
704
- /**
705
- * Returns whether this field is set.
706
- * @return {boolean}
707
- */
708
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.hasTemperatureConfiguration = function() {
709
- return jspb.Message.getField(this, 1) != null;
710
- };
711
-
712
-
713
-
714
-
715
-
716
- if (jspb.Message.GENERATE_TO_OBJECT) {
717
- /**
718
- * Creates an object representation of this proto.
719
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
720
- * Optional fields that are not set will be set to undefined.
721
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
722
- * For the list of reserved names please see:
723
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
724
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
725
- * JSPB instance for transitional soy proto support:
726
- * http://goto/soy-param-migration
727
- * @return {!Object}
728
- */
729
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.toObject = function(opt_includeInstance) {
730
- return proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.toObject(opt_includeInstance, this);
731
- };
732
-
733
-
734
- /**
735
- * Static version of the {@see toObject} method.
736
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
737
- * the JSPB instance for transitional soy proto support:
738
- * http://goto/soy-param-migration
739
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} msg The msg instance to transform.
740
- * @return {!Object}
741
- * @suppress {unusedLocalVariables} f is only used for nested messages
742
- */
743
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.toObject = function(includeInstance, msg) {
744
- var f, obj = {
745
- page: jspb.Message.getFieldWithDefault(msg, 1, 0),
746
- count: jspb.Message.getFieldWithDefault(msg, 2, 0)
747
- };
748
-
749
- if (includeInstance) {
750
- obj.$jspbMessageInstance = msg;
751
- }
752
- return obj;
753
- };
754
- }
755
-
756
-
757
- /**
758
- * Deserializes binary data (in protobuf wire format).
759
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
760
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest}
761
- */
762
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.deserializeBinary = function(bytes) {
763
- var reader = new jspb.BinaryReader(bytes);
764
- var msg = new proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest;
765
- return proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.deserializeBinaryFromReader(msg, reader);
766
- };
767
-
768
-
769
- /**
770
- * Deserializes binary data (in protobuf wire format) from the
771
- * given reader into the given message object.
772
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} msg The message object to deserialize into.
773
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
774
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest}
775
- */
776
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.deserializeBinaryFromReader = function(msg, reader) {
777
- while (reader.nextField()) {
778
- if (reader.isEndGroup()) {
779
- break;
780
- }
781
- var field = reader.getFieldNumber();
782
- switch (field) {
783
- case 1:
784
- var value = /** @type {number} */ (reader.readInt32());
785
- msg.setPage(value);
786
- break;
787
- case 2:
788
- var value = /** @type {number} */ (reader.readInt32());
789
- msg.setCount(value);
790
- break;
791
- default:
792
- reader.skipField();
793
- break;
794
- }
795
- }
796
- return msg;
797
- };
798
-
799
-
800
- /**
801
- * Serializes the message to binary data (in protobuf wire format).
802
- * @return {!Uint8Array}
803
- */
804
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.serializeBinary = function() {
805
- var writer = new jspb.BinaryWriter();
806
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.serializeBinaryToWriter(this, writer);
807
- return writer.getResultBuffer();
808
- };
809
-
810
-
811
- /**
812
- * Serializes the given message to binary data (in protobuf wire
813
- * format), writing to the given BinaryWriter.
814
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} message
815
- * @param {!jspb.BinaryWriter} writer
816
- * @suppress {unusedLocalVariables} f is only used for nested messages
817
- */
818
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.serializeBinaryToWriter = function(message, writer) {
819
- var f = undefined;
820
- f = message.getPage();
821
- if (f !== 0) {
822
- writer.writeInt32(
823
- 1,
824
- f
825
- );
826
- }
827
- f = message.getCount();
828
- if (f !== 0) {
829
- writer.writeInt32(
830
- 2,
831
- f
832
- );
833
- }
834
- };
835
-
836
-
837
- /**
838
- * optional int32 page = 1;
839
- * @return {number}
840
- */
841
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.getPage = function() {
842
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
843
- };
844
-
845
-
846
- /**
847
- * @param {number} value
848
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} returns this
849
- */
850
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.setPage = function(value) {
851
- return jspb.Message.setProto3IntField(this, 1, value);
852
- };
853
-
854
-
855
- /**
856
- * optional int32 count = 2;
857
- * @return {number}
858
- */
859
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.getCount = function() {
860
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
861
- };
862
-
863
-
864
- /**
865
- * @param {number} value
866
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} returns this
867
- */
868
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.setCount = function(value) {
869
- return jspb.Message.setProto3IntField(this, 2, value);
870
- };
871
-
872
-
873
-
874
- /**
875
- * List of repeated fields within this message type.
876
- * @private {!Array<number>}
877
- * @const
878
- */
879
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.repeatedFields_ = [1];
880
-
881
-
882
-
883
- if (jspb.Message.GENERATE_TO_OBJECT) {
884
- /**
885
- * Creates an object representation of this proto.
886
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
887
- * Optional fields that are not set will be set to undefined.
888
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
889
- * For the list of reserved names please see:
890
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
891
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
892
- * JSPB instance for transitional soy proto support:
893
- * http://goto/soy-param-migration
894
- * @return {!Object}
895
- */
896
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.toObject = function(opt_includeInstance) {
897
- return proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.toObject(opt_includeInstance, this);
898
- };
899
-
900
-
901
- /**
902
- * Static version of the {@see toObject} method.
903
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
904
- * the JSPB instance for transitional soy proto support:
905
- * http://goto/soy-param-migration
906
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} msg The msg instance to transform.
907
- * @return {!Object}
908
- * @suppress {unusedLocalVariables} f is only used for nested messages
909
- */
910
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.toObject = function(includeInstance, msg) {
911
- var f, obj = {
912
- templatesList: jspb.Message.toObjectList(msg.getTemplatesList(),
913
- proto.Meta.TemperatureConfigurationProto.toObject, includeInstance),
914
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
915
- };
916
-
917
- if (includeInstance) {
918
- obj.$jspbMessageInstance = msg;
919
- }
920
- return obj;
921
- };
922
- }
923
-
924
-
925
- /**
926
- * Deserializes binary data (in protobuf wire format).
927
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
928
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply}
929
- */
930
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.deserializeBinary = function(bytes) {
931
- var reader = new jspb.BinaryReader(bytes);
932
- var msg = new proto.Meta.TemperatureConfigurationProto.SearchTemplateReply;
933
- return proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.deserializeBinaryFromReader(msg, reader);
934
- };
935
-
936
-
937
- /**
938
- * Deserializes binary data (in protobuf wire format) from the
939
- * given reader into the given message object.
940
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} msg The message object to deserialize into.
941
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
942
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply}
943
- */
944
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.deserializeBinaryFromReader = function(msg, reader) {
945
- while (reader.nextField()) {
946
- if (reader.isEndGroup()) {
947
- break;
948
- }
949
- var field = reader.getFieldNumber();
950
- switch (field) {
951
- case 1:
952
- var value = new proto.Meta.TemperatureConfigurationProto;
953
- reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
954
- msg.addTemplates(value);
955
- break;
956
- case 2:
957
- var value = new platform_pagination_pb.PaginationProto;
958
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
959
- msg.setPagination(value);
960
- break;
961
- default:
962
- reader.skipField();
963
- break;
964
- }
965
- }
966
- return msg;
967
- };
968
-
969
-
970
- /**
971
- * Serializes the message to binary data (in protobuf wire format).
972
- * @return {!Uint8Array}
973
- */
974
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.serializeBinary = function() {
975
- var writer = new jspb.BinaryWriter();
976
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.serializeBinaryToWriter(this, writer);
977
- return writer.getResultBuffer();
978
- };
979
-
980
-
981
- /**
982
- * Serializes the given message to binary data (in protobuf wire
983
- * format), writing to the given BinaryWriter.
984
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} message
985
- * @param {!jspb.BinaryWriter} writer
986
- * @suppress {unusedLocalVariables} f is only used for nested messages
987
- */
988
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.serializeBinaryToWriter = function(message, writer) {
989
- var f = undefined;
990
- f = message.getTemplatesList();
991
- if (f.length > 0) {
992
- writer.writeRepeatedMessage(
993
- 1,
994
- f,
995
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
996
- );
997
- }
998
- f = message.getPagination();
999
- if (f != null) {
1000
- writer.writeMessage(
1001
- 2,
1002
- f,
1003
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1004
- );
1005
- }
1006
- };
1007
-
1008
-
1009
- /**
1010
- * repeated TemperatureConfigurationProto templates = 1;
1011
- * @return {!Array<!proto.Meta.TemperatureConfigurationProto>}
1012
- */
1013
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.getTemplatesList = function() {
1014
- return /** @type{!Array<!proto.Meta.TemperatureConfigurationProto>} */ (
1015
- jspb.Message.getRepeatedWrapperField(this, proto.Meta.TemperatureConfigurationProto, 1));
1016
- };
1017
-
1018
-
1019
- /**
1020
- * @param {!Array<!proto.Meta.TemperatureConfigurationProto>} value
1021
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
1022
- */
1023
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.setTemplatesList = function(value) {
1024
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1025
- };
1026
-
1027
-
1028
- /**
1029
- * @param {!proto.Meta.TemperatureConfigurationProto=} opt_value
1030
- * @param {number=} opt_index
1031
- * @return {!proto.Meta.TemperatureConfigurationProto}
1032
- */
1033
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.addTemplates = function(opt_value, opt_index) {
1034
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Meta.TemperatureConfigurationProto, opt_index);
1035
- };
1036
-
1037
-
1038
- /**
1039
- * Clears the list making it empty but non-null.
1040
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
1041
- */
1042
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.clearTemplatesList = function() {
1043
- return this.setTemplatesList([]);
1044
- };
1045
-
1046
-
1047
- /**
1048
- * optional Platform.PaginationProto pagination = 2;
1049
- * @return {?proto.Platform.PaginationProto}
1050
- */
1051
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.getPagination = function() {
1052
- return /** @type{?proto.Platform.PaginationProto} */ (
1053
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1054
- };
1055
-
1056
-
1057
- /**
1058
- * @param {?proto.Platform.PaginationProto|undefined} value
1059
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
1060
- */
1061
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.setPagination = function(value) {
1062
- return jspb.Message.setWrapperField(this, 2, value);
1063
- };
1064
-
1065
-
1066
- /**
1067
- * Clears the message field making it undefined.
1068
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
1069
- */
1070
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.clearPagination = function() {
1071
- return this.setPagination(undefined);
1072
- };
1073
-
1074
-
1075
- /**
1076
- * Returns whether this field is set.
1077
- * @return {boolean}
1078
- */
1079
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.hasPagination = function() {
1080
- return jspb.Message.getField(this, 2) != null;
1081
- };
1082
-
1083
-
1084
- /**
1085
- * optional int32 high_trigger = 1;
1086
- * @return {number}
1087
- */
1088
- proto.Meta.TemperatureConfigurationProto.prototype.getHighTrigger = function() {
1089
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1090
- };
1091
-
1092
-
1093
- /**
1094
- * @param {number} value
1095
- * @return {!proto.Meta.TemperatureConfigurationProto} returns this
1096
- */
1097
- proto.Meta.TemperatureConfigurationProto.prototype.setHighTrigger = function(value) {
1098
- return jspb.Message.setProto3IntField(this, 1, value);
1099
- };
1100
-
1101
-
1102
- /**
1103
- * optional int32 high_clear = 2;
1104
- * @return {number}
1105
- */
1106
- proto.Meta.TemperatureConfigurationProto.prototype.getHighClear = function() {
1107
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1108
- };
1109
-
1110
-
1111
- /**
1112
- * @param {number} value
1113
- * @return {!proto.Meta.TemperatureConfigurationProto} returns this
1114
- */
1115
- proto.Meta.TemperatureConfigurationProto.prototype.setHighClear = function(value) {
1116
- return jspb.Message.setProto3IntField(this, 2, value);
1117
- };
1118
-
1119
-
1120
- /**
1121
- * optional int32 critical_trigger = 3;
1122
- * @return {number}
1123
- */
1124
- proto.Meta.TemperatureConfigurationProto.prototype.getCriticalTrigger = function() {
1125
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1126
- };
1127
-
1128
-
1129
- /**
1130
- * @param {number} value
1131
- * @return {!proto.Meta.TemperatureConfigurationProto} returns this
1132
- */
1133
- proto.Meta.TemperatureConfigurationProto.prototype.setCriticalTrigger = function(value) {
1134
- return jspb.Message.setProto3IntField(this, 3, value);
1135
- };
1136
-
1137
-
1138
- /**
1139
- * optional int32 critical_clear = 4;
1140
- * @return {number}
1141
- */
1142
- proto.Meta.TemperatureConfigurationProto.prototype.getCriticalClear = function() {
1143
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1144
- };
1145
-
1146
-
1147
- /**
1148
- * @param {number} value
1149
- * @return {!proto.Meta.TemperatureConfigurationProto} returns this
1150
- */
1151
- proto.Meta.TemperatureConfigurationProto.prototype.setCriticalClear = function(value) {
1152
- return jspb.Message.setProto3IntField(this, 4, value);
1153
- };
1154
-
1155
-
1156
- goog.object.extend(exports, proto.Meta);