@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-jan-auth-refactor.1

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 (225) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -704
  3. package/auth.account_pb.js +0 -5239
  4. package/auth.account_pb_service.d.ts +0 -511
  5. package/auth.account_pb_service.js +0 -997
  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 -94
  23. package/auth.authn_pb.js +0 -636
  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 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  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 -277
  35. package/auth.email_pb.js +0 -1960
  36. package/auth.email_pb_service.d.ts +0 -121
  37. package/auth.email_pb_service.js +0 -182
  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 -187
  43. package/auth.push_notification_pb.js +0 -1289
  44. package/auth.push_notification_pb_service.d.ts +0 -121
  45. package/auth.push_notification_pb_service.js +0 -182
  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 -168
  179. package/meta.client_pb.js +0 -1268
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_config_pb.d.ts +0 -251
  183. package/meta.spic_config_pb.js +0 -1820
  184. package/meta.spic_config_pb_service.d.ts +0 -141
  185. package/meta.spic_config_pb_service.js +0 -223
  186. package/platform.activity_log_pb.d.ts +0 -177
  187. package/platform.activity_log_pb.js +0 -1294
  188. package/platform.activity_log_pb_service.d.ts +0 -82
  189. package/platform.activity_log_pb_service.js +0 -101
  190. package/platform.client_pb.d.ts +0 -350
  191. package/platform.client_pb.js +0 -2663
  192. package/platform.client_pb_service.d.ts +0 -158
  193. package/platform.client_pb_service.js +0 -261
  194. package/platform.group_pb.d.ts +0 -195
  195. package/platform.group_pb.js +0 -1476
  196. package/platform.group_pb_service.d.ts +0 -139
  197. package/platform.group_pb_service.js +0 -221
  198. package/platform.local_account_pb.d.ts +0 -434
  199. package/platform.local_account_pb.js +0 -3318
  200. package/platform.local_account_pb_service.d.ts +0 -388
  201. package/platform.local_account_pb_service.js +0 -743
  202. package/platform.local_distribution_pb.d.ts +0 -69
  203. package/platform.local_distribution_pb.js +0 -506
  204. package/platform.local_distribution_pb_service.d.ts +0 -63
  205. package/platform.local_distribution_pb_service.js +0 -61
  206. package/platform.location_pb.d.ts +0 -271
  207. package/platform.location_pb.js +0 -2046
  208. package/platform.location_pb_service.d.ts +0 -139
  209. package/platform.location_pb_service.js +0 -221
  210. package/platform.pagination_pb.d.ts +0 -45
  211. package/platform.pagination_pb.js +0 -276
  212. package/platform.pagination_pb_service.d.ts +0 -3
  213. package/platform.pagination_pb_service.js +0 -3
  214. package/spic.cabinet_pb.d.ts +0 -1320
  215. package/spic.cabinet_pb.js +0 -9833
  216. package/spic.cabinet_pb_service.d.ts +0 -359
  217. package/spic.cabinet_pb_service.js +0 -677
  218. package/spic.config_pb.d.ts +0 -249
  219. package/spic.config_pb.js +0 -1891
  220. package/spic.config_pb_service.d.ts +0 -120
  221. package/spic.config_pb_service.js +0 -181
  222. package/spic.contractor_pb.d.ts +0 -195
  223. package/spic.contractor_pb.js +0 -1476
  224. package/spic.contractor_pb_service.d.ts +0 -139
  225. package/spic.contractor_pb_service.js +0 -221
@@ -1,1820 +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 spic_cabinet_pb = require('./spic.cabinet_pb.js');
29
- goog.object.extend(proto, spic_cabinet_pb);
30
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
31
- goog.object.extend(proto, google_api_annotations_pb);
32
- goog.exportSymbol('proto.Meta.CabinetLocationMeta', null, global);
33
- goog.exportSymbol('proto.Meta.SpicType', null, global);
34
- goog.exportSymbol('proto.Meta.SpicTypeProto', null, global);
35
- goog.exportSymbol('proto.Meta.SpicTypeProto.SetRequest', null, global);
36
- goog.exportSymbol('proto.Meta.SpicTypeProto.SetRequest.TargetCase', null, global);
37
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto', null, global);
38
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest', null, global);
39
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SearchTemplateReply', null, global);
40
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest', null, global);
41
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest', null, global);
42
- goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase', null, global);
43
- /**
44
- * Generated by JsPbCodeGenerator.
45
- * @param {Array=} opt_data Optional initial data array, typically from a
46
- * server response, or constructed directly in Javascript. The array is used
47
- * in place and becomes part of the constructed object. It is not cloned.
48
- * If no data is provided, the constructed object will be empty, but still
49
- * valid.
50
- * @extends {jspb.Message}
51
- * @constructor
52
- */
53
- proto.Meta.SpicTypeProto = function(opt_data) {
54
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
55
- };
56
- goog.inherits(proto.Meta.SpicTypeProto, jspb.Message);
57
- if (goog.DEBUG && !COMPILED) {
58
- /**
59
- * @public
60
- * @override
61
- */
62
- proto.Meta.SpicTypeProto.displayName = 'proto.Meta.SpicTypeProto';
63
- }
64
- /**
65
- * Generated by JsPbCodeGenerator.
66
- * @param {Array=} opt_data Optional initial data array, typically from a
67
- * server response, or constructed directly in Javascript. The array is used
68
- * in place and becomes part of the constructed object. It is not cloned.
69
- * If no data is provided, the constructed object will be empty, but still
70
- * valid.
71
- * @extends {jspb.Message}
72
- * @constructor
73
- */
74
- proto.Meta.SpicTypeProto.SetRequest = function(opt_data) {
75
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_);
76
- };
77
- goog.inherits(proto.Meta.SpicTypeProto.SetRequest, jspb.Message);
78
- if (goog.DEBUG && !COMPILED) {
79
- /**
80
- * @public
81
- * @override
82
- */
83
- proto.Meta.SpicTypeProto.SetRequest.displayName = 'proto.Meta.SpicTypeProto.SetRequest';
84
- }
85
- /**
86
- * Generated by JsPbCodeGenerator.
87
- * @param {Array=} opt_data Optional initial data array, typically from a
88
- * server response, or constructed directly in Javascript. The array is used
89
- * in place and becomes part of the constructed object. It is not cloned.
90
- * If no data is provided, the constructed object will be empty, but still
91
- * valid.
92
- * @extends {jspb.Message}
93
- * @constructor
94
- */
95
- proto.Meta.TemperatureConfigurationProto = function(opt_data) {
96
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
97
- };
98
- goog.inherits(proto.Meta.TemperatureConfigurationProto, jspb.Message);
99
- if (goog.DEBUG && !COMPILED) {
100
- /**
101
- * @public
102
- * @override
103
- */
104
- proto.Meta.TemperatureConfigurationProto.displayName = 'proto.Meta.TemperatureConfigurationProto';
105
- }
106
- /**
107
- * Generated by JsPbCodeGenerator.
108
- * @param {Array=} opt_data Optional initial data array, typically from a
109
- * server response, or constructed directly in Javascript. The array is used
110
- * in place and becomes part of the constructed object. It is not cloned.
111
- * If no data is provided, the constructed object will be empty, but still
112
- * valid.
113
- * @extends {jspb.Message}
114
- * @constructor
115
- */
116
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest = function(opt_data) {
117
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_);
118
- };
119
- goog.inherits(proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest, jspb.Message);
120
- if (goog.DEBUG && !COMPILED) {
121
- /**
122
- * @public
123
- * @override
124
- */
125
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.displayName = 'proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest';
126
- }
127
- /**
128
- * Generated by JsPbCodeGenerator.
129
- * @param {Array=} opt_data Optional initial data array, typically from a
130
- * server response, or constructed directly in Javascript. The array is used
131
- * in place and becomes part of the constructed object. It is not cloned.
132
- * If no data is provided, the constructed object will be empty, but still
133
- * valid.
134
- * @extends {jspb.Message}
135
- * @constructor
136
- */
137
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest = function(opt_data) {
138
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
139
- };
140
- goog.inherits(proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest, jspb.Message);
141
- if (goog.DEBUG && !COMPILED) {
142
- /**
143
- * @public
144
- * @override
145
- */
146
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.displayName = 'proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest';
147
- }
148
- /**
149
- * Generated by JsPbCodeGenerator.
150
- * @param {Array=} opt_data Optional initial data array, typically from a
151
- * server response, or constructed directly in Javascript. The array is used
152
- * in place and becomes part of the constructed object. It is not cloned.
153
- * If no data is provided, the constructed object will be empty, but still
154
- * valid.
155
- * @extends {jspb.Message}
156
- * @constructor
157
- */
158
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest = function(opt_data) {
159
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
160
- };
161
- goog.inherits(proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest, jspb.Message);
162
- if (goog.DEBUG && !COMPILED) {
163
- /**
164
- * @public
165
- * @override
166
- */
167
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.displayName = 'proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest';
168
- }
169
- /**
170
- * Generated by JsPbCodeGenerator.
171
- * @param {Array=} opt_data Optional initial data array, typically from a
172
- * server response, or constructed directly in Javascript. The array is used
173
- * in place and becomes part of the constructed object. It is not cloned.
174
- * If no data is provided, the constructed object will be empty, but still
175
- * valid.
176
- * @extends {jspb.Message}
177
- * @constructor
178
- */
179
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply = function(opt_data) {
180
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.repeatedFields_, null);
181
- };
182
- goog.inherits(proto.Meta.TemperatureConfigurationProto.SearchTemplateReply, jspb.Message);
183
- if (goog.DEBUG && !COMPILED) {
184
- /**
185
- * @public
186
- * @override
187
- */
188
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.displayName = 'proto.Meta.TemperatureConfigurationProto.SearchTemplateReply';
189
- }
190
- /**
191
- * Generated by JsPbCodeGenerator.
192
- * @param {Array=} opt_data Optional initial data array, typically from a
193
- * server response, or constructed directly in Javascript. The array is used
194
- * in place and becomes part of the constructed object. It is not cloned.
195
- * If no data is provided, the constructed object will be empty, but still
196
- * valid.
197
- * @extends {jspb.Message}
198
- * @constructor
199
- */
200
- proto.Meta.CabinetLocationMeta = function(opt_data) {
201
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
202
- };
203
- goog.inherits(proto.Meta.CabinetLocationMeta, jspb.Message);
204
- if (goog.DEBUG && !COMPILED) {
205
- /**
206
- * @public
207
- * @override
208
- */
209
- proto.Meta.CabinetLocationMeta.displayName = 'proto.Meta.CabinetLocationMeta';
210
- }
211
-
212
-
213
-
214
- if (jspb.Message.GENERATE_TO_OBJECT) {
215
- /**
216
- * Creates an object representation of this proto.
217
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
218
- * Optional fields that are not set will be set to undefined.
219
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
220
- * For the list of reserved names please see:
221
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
222
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
223
- * JSPB instance for transitional soy proto support:
224
- * http://goto/soy-param-migration
225
- * @return {!Object}
226
- */
227
- proto.Meta.SpicTypeProto.prototype.toObject = function(opt_includeInstance) {
228
- return proto.Meta.SpicTypeProto.toObject(opt_includeInstance, this);
229
- };
230
-
231
-
232
- /**
233
- * Static version of the {@see toObject} method.
234
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
235
- * the JSPB instance for transitional soy proto support:
236
- * http://goto/soy-param-migration
237
- * @param {!proto.Meta.SpicTypeProto} msg The msg instance to transform.
238
- * @return {!Object}
239
- * @suppress {unusedLocalVariables} f is only used for nested messages
240
- */
241
- proto.Meta.SpicTypeProto.toObject = function(includeInstance, msg) {
242
- var f, obj = {
243
-
244
- };
245
-
246
- if (includeInstance) {
247
- obj.$jspbMessageInstance = msg;
248
- }
249
- return obj;
250
- };
251
- }
252
-
253
-
254
- /**
255
- * Deserializes binary data (in protobuf wire format).
256
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
257
- * @return {!proto.Meta.SpicTypeProto}
258
- */
259
- proto.Meta.SpicTypeProto.deserializeBinary = function(bytes) {
260
- var reader = new jspb.BinaryReader(bytes);
261
- var msg = new proto.Meta.SpicTypeProto;
262
- return proto.Meta.SpicTypeProto.deserializeBinaryFromReader(msg, reader);
263
- };
264
-
265
-
266
- /**
267
- * Deserializes binary data (in protobuf wire format) from the
268
- * given reader into the given message object.
269
- * @param {!proto.Meta.SpicTypeProto} msg The message object to deserialize into.
270
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
271
- * @return {!proto.Meta.SpicTypeProto}
272
- */
273
- proto.Meta.SpicTypeProto.deserializeBinaryFromReader = function(msg, reader) {
274
- while (reader.nextField()) {
275
- if (reader.isEndGroup()) {
276
- break;
277
- }
278
- var field = reader.getFieldNumber();
279
- switch (field) {
280
- default:
281
- reader.skipField();
282
- break;
283
- }
284
- }
285
- return msg;
286
- };
287
-
288
-
289
- /**
290
- * Serializes the message to binary data (in protobuf wire format).
291
- * @return {!Uint8Array}
292
- */
293
- proto.Meta.SpicTypeProto.prototype.serializeBinary = function() {
294
- var writer = new jspb.BinaryWriter();
295
- proto.Meta.SpicTypeProto.serializeBinaryToWriter(this, writer);
296
- return writer.getResultBuffer();
297
- };
298
-
299
-
300
- /**
301
- * Serializes the given message to binary data (in protobuf wire
302
- * format), writing to the given BinaryWriter.
303
- * @param {!proto.Meta.SpicTypeProto} message
304
- * @param {!jspb.BinaryWriter} writer
305
- * @suppress {unusedLocalVariables} f is only used for nested messages
306
- */
307
- proto.Meta.SpicTypeProto.serializeBinaryToWriter = function(message, writer) {
308
- var f = undefined;
309
- };
310
-
311
-
312
-
313
- /**
314
- * Oneof group definitions for this message. Each group defines the field
315
- * numbers belonging to that group. When of these fields' value is set, all
316
- * other fields in the group are cleared. During deserialization, if multiple
317
- * fields are encountered for a group, only the last value seen will be kept.
318
- * @private {!Array<!Array<number>>}
319
- * @const
320
- */
321
- proto.Meta.SpicTypeProto.SetRequest.oneofGroups_ = [[2,3]];
322
-
323
- /**
324
- * @enum {number}
325
- */
326
- proto.Meta.SpicTypeProto.SetRequest.TargetCase = {
327
- TARGET_NOT_SET: 0,
328
- SPIC_UID: 2,
329
- GROUP_ID: 3
330
- };
331
-
332
- /**
333
- * @return {proto.Meta.SpicTypeProto.SetRequest.TargetCase}
334
- */
335
- proto.Meta.SpicTypeProto.SetRequest.prototype.getTargetCase = function() {
336
- return /** @type {proto.Meta.SpicTypeProto.SetRequest.TargetCase} */(jspb.Message.computeOneofCase(this, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0]));
337
- };
338
-
339
-
340
-
341
- if (jspb.Message.GENERATE_TO_OBJECT) {
342
- /**
343
- * Creates an object representation of this proto.
344
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
345
- * Optional fields that are not set will be set to undefined.
346
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
347
- * For the list of reserved names please see:
348
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
349
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
350
- * JSPB instance for transitional soy proto support:
351
- * http://goto/soy-param-migration
352
- * @return {!Object}
353
- */
354
- proto.Meta.SpicTypeProto.SetRequest.prototype.toObject = function(opt_includeInstance) {
355
- return proto.Meta.SpicTypeProto.SetRequest.toObject(opt_includeInstance, this);
356
- };
357
-
358
-
359
- /**
360
- * Static version of the {@see toObject} method.
361
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
362
- * the JSPB instance for transitional soy proto support:
363
- * http://goto/soy-param-migration
364
- * @param {!proto.Meta.SpicTypeProto.SetRequest} msg The msg instance to transform.
365
- * @return {!Object}
366
- * @suppress {unusedLocalVariables} f is only used for nested messages
367
- */
368
- proto.Meta.SpicTypeProto.SetRequest.toObject = function(includeInstance, msg) {
369
- var f, obj = {
370
- spicType: jspb.Message.getFieldWithDefault(msg, 1, 0),
371
- spicUid: jspb.Message.getFieldWithDefault(msg, 2, ""),
372
- groupId: jspb.Message.getFieldWithDefault(msg, 3, "")
373
- };
374
-
375
- if (includeInstance) {
376
- obj.$jspbMessageInstance = msg;
377
- }
378
- return obj;
379
- };
380
- }
381
-
382
-
383
- /**
384
- * Deserializes binary data (in protobuf wire format).
385
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
386
- * @return {!proto.Meta.SpicTypeProto.SetRequest}
387
- */
388
- proto.Meta.SpicTypeProto.SetRequest.deserializeBinary = function(bytes) {
389
- var reader = new jspb.BinaryReader(bytes);
390
- var msg = new proto.Meta.SpicTypeProto.SetRequest;
391
- return proto.Meta.SpicTypeProto.SetRequest.deserializeBinaryFromReader(msg, reader);
392
- };
393
-
394
-
395
- /**
396
- * Deserializes binary data (in protobuf wire format) from the
397
- * given reader into the given message object.
398
- * @param {!proto.Meta.SpicTypeProto.SetRequest} msg The message object to deserialize into.
399
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
400
- * @return {!proto.Meta.SpicTypeProto.SetRequest}
401
- */
402
- proto.Meta.SpicTypeProto.SetRequest.deserializeBinaryFromReader = function(msg, reader) {
403
- while (reader.nextField()) {
404
- if (reader.isEndGroup()) {
405
- break;
406
- }
407
- var field = reader.getFieldNumber();
408
- switch (field) {
409
- case 1:
410
- var value = /** @type {!proto.Meta.SpicType} */ (reader.readEnum());
411
- msg.setSpicType(value);
412
- break;
413
- case 2:
414
- var value = /** @type {string} */ (reader.readString());
415
- msg.setSpicUid(value);
416
- break;
417
- case 3:
418
- var value = /** @type {string} */ (reader.readString());
419
- msg.setGroupId(value);
420
- break;
421
- default:
422
- reader.skipField();
423
- break;
424
- }
425
- }
426
- return msg;
427
- };
428
-
429
-
430
- /**
431
- * Serializes the message to binary data (in protobuf wire format).
432
- * @return {!Uint8Array}
433
- */
434
- proto.Meta.SpicTypeProto.SetRequest.prototype.serializeBinary = function() {
435
- var writer = new jspb.BinaryWriter();
436
- proto.Meta.SpicTypeProto.SetRequest.serializeBinaryToWriter(this, writer);
437
- return writer.getResultBuffer();
438
- };
439
-
440
-
441
- /**
442
- * Serializes the given message to binary data (in protobuf wire
443
- * format), writing to the given BinaryWriter.
444
- * @param {!proto.Meta.SpicTypeProto.SetRequest} message
445
- * @param {!jspb.BinaryWriter} writer
446
- * @suppress {unusedLocalVariables} f is only used for nested messages
447
- */
448
- proto.Meta.SpicTypeProto.SetRequest.serializeBinaryToWriter = function(message, writer) {
449
- var f = undefined;
450
- f = message.getSpicType();
451
- if (f !== 0.0) {
452
- writer.writeEnum(
453
- 1,
454
- f
455
- );
456
- }
457
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
458
- if (f != null) {
459
- writer.writeString(
460
- 2,
461
- f
462
- );
463
- }
464
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
465
- if (f != null) {
466
- writer.writeString(
467
- 3,
468
- f
469
- );
470
- }
471
- };
472
-
473
-
474
- /**
475
- * optional SpicType spic_type = 1;
476
- * @return {!proto.Meta.SpicType}
477
- */
478
- proto.Meta.SpicTypeProto.SetRequest.prototype.getSpicType = function() {
479
- return /** @type {!proto.Meta.SpicType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
480
- };
481
-
482
-
483
- /**
484
- * @param {!proto.Meta.SpicType} value
485
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
486
- */
487
- proto.Meta.SpicTypeProto.SetRequest.prototype.setSpicType = function(value) {
488
- return jspb.Message.setProto3EnumField(this, 1, value);
489
- };
490
-
491
-
492
- /**
493
- * optional string spic_uid = 2;
494
- * @return {string}
495
- */
496
- proto.Meta.SpicTypeProto.SetRequest.prototype.getSpicUid = function() {
497
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
498
- };
499
-
500
-
501
- /**
502
- * @param {string} value
503
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
504
- */
505
- proto.Meta.SpicTypeProto.SetRequest.prototype.setSpicUid = function(value) {
506
- return jspb.Message.setOneofField(this, 2, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0], value);
507
- };
508
-
509
-
510
- /**
511
- * Clears the field making it undefined.
512
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
513
- */
514
- proto.Meta.SpicTypeProto.SetRequest.prototype.clearSpicUid = function() {
515
- return jspb.Message.setOneofField(this, 2, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0], undefined);
516
- };
517
-
518
-
519
- /**
520
- * Returns whether this field is set.
521
- * @return {boolean}
522
- */
523
- proto.Meta.SpicTypeProto.SetRequest.prototype.hasSpicUid = function() {
524
- return jspb.Message.getField(this, 2) != null;
525
- };
526
-
527
-
528
- /**
529
- * optional string group_id = 3;
530
- * @return {string}
531
- */
532
- proto.Meta.SpicTypeProto.SetRequest.prototype.getGroupId = function() {
533
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
534
- };
535
-
536
-
537
- /**
538
- * @param {string} value
539
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
540
- */
541
- proto.Meta.SpicTypeProto.SetRequest.prototype.setGroupId = function(value) {
542
- return jspb.Message.setOneofField(this, 3, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0], value);
543
- };
544
-
545
-
546
- /**
547
- * Clears the field making it undefined.
548
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
549
- */
550
- proto.Meta.SpicTypeProto.SetRequest.prototype.clearGroupId = function() {
551
- return jspb.Message.setOneofField(this, 3, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0], undefined);
552
- };
553
-
554
-
555
- /**
556
- * Returns whether this field is set.
557
- * @return {boolean}
558
- */
559
- proto.Meta.SpicTypeProto.SetRequest.prototype.hasGroupId = function() {
560
- return jspb.Message.getField(this, 3) != null;
561
- };
562
-
563
-
564
-
565
-
566
-
567
- if (jspb.Message.GENERATE_TO_OBJECT) {
568
- /**
569
- * Creates an object representation of this proto.
570
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
571
- * Optional fields that are not set will be set to undefined.
572
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
573
- * For the list of reserved names please see:
574
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
575
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
576
- * JSPB instance for transitional soy proto support:
577
- * http://goto/soy-param-migration
578
- * @return {!Object}
579
- */
580
- proto.Meta.TemperatureConfigurationProto.prototype.toObject = function(opt_includeInstance) {
581
- return proto.Meta.TemperatureConfigurationProto.toObject(opt_includeInstance, this);
582
- };
583
-
584
-
585
- /**
586
- * Static version of the {@see toObject} method.
587
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
588
- * the JSPB instance for transitional soy proto support:
589
- * http://goto/soy-param-migration
590
- * @param {!proto.Meta.TemperatureConfigurationProto} msg The msg instance to transform.
591
- * @return {!Object}
592
- * @suppress {unusedLocalVariables} f is only used for nested messages
593
- */
594
- proto.Meta.TemperatureConfigurationProto.toObject = function(includeInstance, msg) {
595
- var f, obj = {
596
- highTrigger: jspb.Message.getFieldWithDefault(msg, 1, 0),
597
- highClear: jspb.Message.getFieldWithDefault(msg, 2, 0),
598
- criticalTrigger: jspb.Message.getFieldWithDefault(msg, 3, 0),
599
- criticalClear: jspb.Message.getFieldWithDefault(msg, 4, 0)
600
- };
601
-
602
- if (includeInstance) {
603
- obj.$jspbMessageInstance = msg;
604
- }
605
- return obj;
606
- };
607
- }
608
-
609
-
610
- /**
611
- * Deserializes binary data (in protobuf wire format).
612
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
613
- * @return {!proto.Meta.TemperatureConfigurationProto}
614
- */
615
- proto.Meta.TemperatureConfigurationProto.deserializeBinary = function(bytes) {
616
- var reader = new jspb.BinaryReader(bytes);
617
- var msg = new proto.Meta.TemperatureConfigurationProto;
618
- return proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader(msg, reader);
619
- };
620
-
621
-
622
- /**
623
- * Deserializes binary data (in protobuf wire format) from the
624
- * given reader into the given message object.
625
- * @param {!proto.Meta.TemperatureConfigurationProto} msg The message object to deserialize into.
626
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
627
- * @return {!proto.Meta.TemperatureConfigurationProto}
628
- */
629
- proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader = function(msg, reader) {
630
- while (reader.nextField()) {
631
- if (reader.isEndGroup()) {
632
- break;
633
- }
634
- var field = reader.getFieldNumber();
635
- switch (field) {
636
- case 1:
637
- var value = /** @type {number} */ (reader.readInt32());
638
- msg.setHighTrigger(value);
639
- break;
640
- case 2:
641
- var value = /** @type {number} */ (reader.readInt32());
642
- msg.setHighClear(value);
643
- break;
644
- case 3:
645
- var value = /** @type {number} */ (reader.readInt32());
646
- msg.setCriticalTrigger(value);
647
- break;
648
- case 4:
649
- var value = /** @type {number} */ (reader.readInt32());
650
- msg.setCriticalClear(value);
651
- break;
652
- default:
653
- reader.skipField();
654
- break;
655
- }
656
- }
657
- return msg;
658
- };
659
-
660
-
661
- /**
662
- * Serializes the message to binary data (in protobuf wire format).
663
- * @return {!Uint8Array}
664
- */
665
- proto.Meta.TemperatureConfigurationProto.prototype.serializeBinary = function() {
666
- var writer = new jspb.BinaryWriter();
667
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter(this, writer);
668
- return writer.getResultBuffer();
669
- };
670
-
671
-
672
- /**
673
- * Serializes the given message to binary data (in protobuf wire
674
- * format), writing to the given BinaryWriter.
675
- * @param {!proto.Meta.TemperatureConfigurationProto} message
676
- * @param {!jspb.BinaryWriter} writer
677
- * @suppress {unusedLocalVariables} f is only used for nested messages
678
- */
679
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter = function(message, writer) {
680
- var f = undefined;
681
- f = message.getHighTrigger();
682
- if (f !== 0) {
683
- writer.writeInt32(
684
- 1,
685
- f
686
- );
687
- }
688
- f = message.getHighClear();
689
- if (f !== 0) {
690
- writer.writeInt32(
691
- 2,
692
- f
693
- );
694
- }
695
- f = message.getCriticalTrigger();
696
- if (f !== 0) {
697
- writer.writeInt32(
698
- 3,
699
- f
700
- );
701
- }
702
- f = message.getCriticalClear();
703
- if (f !== 0) {
704
- writer.writeInt32(
705
- 4,
706
- f
707
- );
708
- }
709
- };
710
-
711
-
712
-
713
- /**
714
- * Oneof group definitions for this message. Each group defines the field
715
- * numbers belonging to that group. When of these fields' value is set, all
716
- * other fields in the group are cleared. During deserialization, if multiple
717
- * fields are encountered for a group, only the last value seen will be kept.
718
- * @private {!Array<!Array<number>>}
719
- * @const
720
- */
721
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_ = [[2,3]];
722
-
723
- /**
724
- * @enum {number}
725
- */
726
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase = {
727
- TARGET_NOT_SET: 0,
728
- SPIC_UID: 2,
729
- GROUP_ID: 3
730
- };
731
-
732
- /**
733
- * @return {proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase}
734
- */
735
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.getTargetCase = function() {
736
- return /** @type {proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase} */(jspb.Message.computeOneofCase(this, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0]));
737
- };
738
-
739
-
740
-
741
- if (jspb.Message.GENERATE_TO_OBJECT) {
742
- /**
743
- * Creates an object representation of this proto.
744
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
745
- * Optional fields that are not set will be set to undefined.
746
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
747
- * For the list of reserved names please see:
748
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
749
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
750
- * JSPB instance for transitional soy proto support:
751
- * http://goto/soy-param-migration
752
- * @return {!Object}
753
- */
754
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.toObject = function(opt_includeInstance) {
755
- return proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.toObject(opt_includeInstance, this);
756
- };
757
-
758
-
759
- /**
760
- * Static version of the {@see toObject} method.
761
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
762
- * the JSPB instance for transitional soy proto support:
763
- * http://goto/soy-param-migration
764
- * @param {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} msg The msg instance to transform.
765
- * @return {!Object}
766
- * @suppress {unusedLocalVariables} f is only used for nested messages
767
- */
768
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.toObject = function(includeInstance, msg) {
769
- var f, obj = {
770
- temperatureConfiguration: (f = msg.getTemperatureConfiguration()) && proto.Meta.TemperatureConfigurationProto.toObject(includeInstance, f),
771
- spicUid: jspb.Message.getFieldWithDefault(msg, 2, ""),
772
- groupId: jspb.Message.getFieldWithDefault(msg, 3, "")
773
- };
774
-
775
- if (includeInstance) {
776
- obj.$jspbMessageInstance = msg;
777
- }
778
- return obj;
779
- };
780
- }
781
-
782
-
783
- /**
784
- * Deserializes binary data (in protobuf wire format).
785
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
786
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest}
787
- */
788
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.deserializeBinary = function(bytes) {
789
- var reader = new jspb.BinaryReader(bytes);
790
- var msg = new proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest;
791
- return proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.deserializeBinaryFromReader(msg, reader);
792
- };
793
-
794
-
795
- /**
796
- * Deserializes binary data (in protobuf wire format) from the
797
- * given reader into the given message object.
798
- * @param {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} msg The message object to deserialize into.
799
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
800
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest}
801
- */
802
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.deserializeBinaryFromReader = function(msg, reader) {
803
- while (reader.nextField()) {
804
- if (reader.isEndGroup()) {
805
- break;
806
- }
807
- var field = reader.getFieldNumber();
808
- switch (field) {
809
- case 1:
810
- var value = new proto.Meta.TemperatureConfigurationProto;
811
- reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
812
- msg.setTemperatureConfiguration(value);
813
- break;
814
- case 2:
815
- var value = /** @type {string} */ (reader.readString());
816
- msg.setSpicUid(value);
817
- break;
818
- case 3:
819
- var value = /** @type {string} */ (reader.readString());
820
- msg.setGroupId(value);
821
- break;
822
- default:
823
- reader.skipField();
824
- break;
825
- }
826
- }
827
- return msg;
828
- };
829
-
830
-
831
- /**
832
- * Serializes the message to binary data (in protobuf wire format).
833
- * @return {!Uint8Array}
834
- */
835
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.serializeBinary = function() {
836
- var writer = new jspb.BinaryWriter();
837
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.serializeBinaryToWriter(this, writer);
838
- return writer.getResultBuffer();
839
- };
840
-
841
-
842
- /**
843
- * Serializes the given message to binary data (in protobuf wire
844
- * format), writing to the given BinaryWriter.
845
- * @param {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} message
846
- * @param {!jspb.BinaryWriter} writer
847
- * @suppress {unusedLocalVariables} f is only used for nested messages
848
- */
849
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.serializeBinaryToWriter = function(message, writer) {
850
- var f = undefined;
851
- f = message.getTemperatureConfiguration();
852
- if (f != null) {
853
- writer.writeMessage(
854
- 1,
855
- f,
856
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
857
- );
858
- }
859
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
860
- if (f != null) {
861
- writer.writeString(
862
- 2,
863
- f
864
- );
865
- }
866
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
867
- if (f != null) {
868
- writer.writeString(
869
- 3,
870
- f
871
- );
872
- }
873
- };
874
-
875
-
876
- /**
877
- * optional TemperatureConfigurationProto temperature_configuration = 1;
878
- * @return {?proto.Meta.TemperatureConfigurationProto}
879
- */
880
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.getTemperatureConfiguration = function() {
881
- return /** @type{?proto.Meta.TemperatureConfigurationProto} */ (
882
- jspb.Message.getWrapperField(this, proto.Meta.TemperatureConfigurationProto, 1));
883
- };
884
-
885
-
886
- /**
887
- * @param {?proto.Meta.TemperatureConfigurationProto|undefined} value
888
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
889
- */
890
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.setTemperatureConfiguration = function(value) {
891
- return jspb.Message.setWrapperField(this, 1, value);
892
- };
893
-
894
-
895
- /**
896
- * Clears the message field making it undefined.
897
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
898
- */
899
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.clearTemperatureConfiguration = function() {
900
- return this.setTemperatureConfiguration(undefined);
901
- };
902
-
903
-
904
- /**
905
- * Returns whether this field is set.
906
- * @return {boolean}
907
- */
908
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.hasTemperatureConfiguration = function() {
909
- return jspb.Message.getField(this, 1) != null;
910
- };
911
-
912
-
913
- /**
914
- * optional string spic_uid = 2;
915
- * @return {string}
916
- */
917
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.getSpicUid = function() {
918
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
919
- };
920
-
921
-
922
- /**
923
- * @param {string} value
924
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
925
- */
926
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.setSpicUid = function(value) {
927
- return jspb.Message.setOneofField(this, 2, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0], value);
928
- };
929
-
930
-
931
- /**
932
- * Clears the field making it undefined.
933
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
934
- */
935
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.clearSpicUid = function() {
936
- return jspb.Message.setOneofField(this, 2, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0], undefined);
937
- };
938
-
939
-
940
- /**
941
- * Returns whether this field is set.
942
- * @return {boolean}
943
- */
944
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.hasSpicUid = function() {
945
- return jspb.Message.getField(this, 2) != null;
946
- };
947
-
948
-
949
- /**
950
- * optional string group_id = 3;
951
- * @return {string}
952
- */
953
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.getGroupId = function() {
954
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
955
- };
956
-
957
-
958
- /**
959
- * @param {string} value
960
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
961
- */
962
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.setGroupId = function(value) {
963
- return jspb.Message.setOneofField(this, 3, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0], value);
964
- };
965
-
966
-
967
- /**
968
- * Clears the field making it undefined.
969
- * @return {!proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest} returns this
970
- */
971
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.clearGroupId = function() {
972
- return jspb.Message.setOneofField(this, 3, proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.oneofGroups_[0], undefined);
973
- };
974
-
975
-
976
- /**
977
- * Returns whether this field is set.
978
- * @return {boolean}
979
- */
980
- proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.prototype.hasGroupId = function() {
981
- return jspb.Message.getField(this, 3) != null;
982
- };
983
-
984
-
985
-
986
-
987
-
988
- if (jspb.Message.GENERATE_TO_OBJECT) {
989
- /**
990
- * Creates an object representation of this proto.
991
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
992
- * Optional fields that are not set will be set to undefined.
993
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
994
- * For the list of reserved names please see:
995
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
996
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
997
- * JSPB instance for transitional soy proto support:
998
- * http://goto/soy-param-migration
999
- * @return {!Object}
1000
- */
1001
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.toObject = function(opt_includeInstance) {
1002
- return proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.toObject(opt_includeInstance, this);
1003
- };
1004
-
1005
-
1006
- /**
1007
- * Static version of the {@see toObject} method.
1008
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1009
- * the JSPB instance for transitional soy proto support:
1010
- * http://goto/soy-param-migration
1011
- * @param {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} msg The msg instance to transform.
1012
- * @return {!Object}
1013
- * @suppress {unusedLocalVariables} f is only used for nested messages
1014
- */
1015
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.toObject = function(includeInstance, msg) {
1016
- var f, obj = {
1017
- temperatureConfiguration: (f = msg.getTemperatureConfiguration()) && proto.Meta.TemperatureConfigurationProto.toObject(includeInstance, f)
1018
- };
1019
-
1020
- if (includeInstance) {
1021
- obj.$jspbMessageInstance = msg;
1022
- }
1023
- return obj;
1024
- };
1025
- }
1026
-
1027
-
1028
- /**
1029
- * Deserializes binary data (in protobuf wire format).
1030
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1031
- * @return {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest}
1032
- */
1033
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.deserializeBinary = function(bytes) {
1034
- var reader = new jspb.BinaryReader(bytes);
1035
- var msg = new proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest;
1036
- return proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.deserializeBinaryFromReader(msg, reader);
1037
- };
1038
-
1039
-
1040
- /**
1041
- * Deserializes binary data (in protobuf wire format) from the
1042
- * given reader into the given message object.
1043
- * @param {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} msg The message object to deserialize into.
1044
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1045
- * @return {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest}
1046
- */
1047
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.deserializeBinaryFromReader = function(msg, reader) {
1048
- while (reader.nextField()) {
1049
- if (reader.isEndGroup()) {
1050
- break;
1051
- }
1052
- var field = reader.getFieldNumber();
1053
- switch (field) {
1054
- case 1:
1055
- var value = new proto.Meta.TemperatureConfigurationProto;
1056
- reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
1057
- msg.setTemperatureConfiguration(value);
1058
- break;
1059
- default:
1060
- reader.skipField();
1061
- break;
1062
- }
1063
- }
1064
- return msg;
1065
- };
1066
-
1067
-
1068
- /**
1069
- * Serializes the message to binary data (in protobuf wire format).
1070
- * @return {!Uint8Array}
1071
- */
1072
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.serializeBinary = function() {
1073
- var writer = new jspb.BinaryWriter();
1074
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.serializeBinaryToWriter(this, writer);
1075
- return writer.getResultBuffer();
1076
- };
1077
-
1078
-
1079
- /**
1080
- * Serializes the given message to binary data (in protobuf wire
1081
- * format), writing to the given BinaryWriter.
1082
- * @param {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} message
1083
- * @param {!jspb.BinaryWriter} writer
1084
- * @suppress {unusedLocalVariables} f is only used for nested messages
1085
- */
1086
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.serializeBinaryToWriter = function(message, writer) {
1087
- var f = undefined;
1088
- f = message.getTemperatureConfiguration();
1089
- if (f != null) {
1090
- writer.writeMessage(
1091
- 1,
1092
- f,
1093
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
1094
- );
1095
- }
1096
- };
1097
-
1098
-
1099
- /**
1100
- * optional TemperatureConfigurationProto temperature_configuration = 1;
1101
- * @return {?proto.Meta.TemperatureConfigurationProto}
1102
- */
1103
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.getTemperatureConfiguration = function() {
1104
- return /** @type{?proto.Meta.TemperatureConfigurationProto} */ (
1105
- jspb.Message.getWrapperField(this, proto.Meta.TemperatureConfigurationProto, 1));
1106
- };
1107
-
1108
-
1109
- /**
1110
- * @param {?proto.Meta.TemperatureConfigurationProto|undefined} value
1111
- * @return {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} returns this
1112
- */
1113
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.setTemperatureConfiguration = function(value) {
1114
- return jspb.Message.setWrapperField(this, 1, value);
1115
- };
1116
-
1117
-
1118
- /**
1119
- * Clears the message field making it undefined.
1120
- * @return {!proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest} returns this
1121
- */
1122
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.clearTemperatureConfiguration = function() {
1123
- return this.setTemperatureConfiguration(undefined);
1124
- };
1125
-
1126
-
1127
- /**
1128
- * Returns whether this field is set.
1129
- * @return {boolean}
1130
- */
1131
- proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest.prototype.hasTemperatureConfiguration = function() {
1132
- return jspb.Message.getField(this, 1) != null;
1133
- };
1134
-
1135
-
1136
-
1137
-
1138
-
1139
- if (jspb.Message.GENERATE_TO_OBJECT) {
1140
- /**
1141
- * Creates an object representation of this proto.
1142
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1143
- * Optional fields that are not set will be set to undefined.
1144
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1145
- * For the list of reserved names please see:
1146
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1147
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1148
- * JSPB instance for transitional soy proto support:
1149
- * http://goto/soy-param-migration
1150
- * @return {!Object}
1151
- */
1152
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.toObject = function(opt_includeInstance) {
1153
- return proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.toObject(opt_includeInstance, this);
1154
- };
1155
-
1156
-
1157
- /**
1158
- * Static version of the {@see toObject} method.
1159
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1160
- * the JSPB instance for transitional soy proto support:
1161
- * http://goto/soy-param-migration
1162
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} msg The msg instance to transform.
1163
- * @return {!Object}
1164
- * @suppress {unusedLocalVariables} f is only used for nested messages
1165
- */
1166
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.toObject = function(includeInstance, msg) {
1167
- var f, obj = {
1168
- page: jspb.Message.getFieldWithDefault(msg, 1, 0),
1169
- count: jspb.Message.getFieldWithDefault(msg, 2, 0)
1170
- };
1171
-
1172
- if (includeInstance) {
1173
- obj.$jspbMessageInstance = msg;
1174
- }
1175
- return obj;
1176
- };
1177
- }
1178
-
1179
-
1180
- /**
1181
- * Deserializes binary data (in protobuf wire format).
1182
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1183
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest}
1184
- */
1185
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.deserializeBinary = function(bytes) {
1186
- var reader = new jspb.BinaryReader(bytes);
1187
- var msg = new proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest;
1188
- return proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.deserializeBinaryFromReader(msg, reader);
1189
- };
1190
-
1191
-
1192
- /**
1193
- * Deserializes binary data (in protobuf wire format) from the
1194
- * given reader into the given message object.
1195
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} msg The message object to deserialize into.
1196
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1197
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest}
1198
- */
1199
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.deserializeBinaryFromReader = function(msg, reader) {
1200
- while (reader.nextField()) {
1201
- if (reader.isEndGroup()) {
1202
- break;
1203
- }
1204
- var field = reader.getFieldNumber();
1205
- switch (field) {
1206
- case 1:
1207
- var value = /** @type {number} */ (reader.readInt32());
1208
- msg.setPage(value);
1209
- break;
1210
- case 2:
1211
- var value = /** @type {number} */ (reader.readInt32());
1212
- msg.setCount(value);
1213
- break;
1214
- default:
1215
- reader.skipField();
1216
- break;
1217
- }
1218
- }
1219
- return msg;
1220
- };
1221
-
1222
-
1223
- /**
1224
- * Serializes the message to binary data (in protobuf wire format).
1225
- * @return {!Uint8Array}
1226
- */
1227
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.serializeBinary = function() {
1228
- var writer = new jspb.BinaryWriter();
1229
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.serializeBinaryToWriter(this, writer);
1230
- return writer.getResultBuffer();
1231
- };
1232
-
1233
-
1234
- /**
1235
- * Serializes the given message to binary data (in protobuf wire
1236
- * format), writing to the given BinaryWriter.
1237
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} message
1238
- * @param {!jspb.BinaryWriter} writer
1239
- * @suppress {unusedLocalVariables} f is only used for nested messages
1240
- */
1241
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.serializeBinaryToWriter = function(message, writer) {
1242
- var f = undefined;
1243
- f = message.getPage();
1244
- if (f !== 0) {
1245
- writer.writeInt32(
1246
- 1,
1247
- f
1248
- );
1249
- }
1250
- f = message.getCount();
1251
- if (f !== 0) {
1252
- writer.writeInt32(
1253
- 2,
1254
- f
1255
- );
1256
- }
1257
- };
1258
-
1259
-
1260
- /**
1261
- * optional int32 page = 1;
1262
- * @return {number}
1263
- */
1264
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.getPage = function() {
1265
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1266
- };
1267
-
1268
-
1269
- /**
1270
- * @param {number} value
1271
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} returns this
1272
- */
1273
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.setPage = function(value) {
1274
- return jspb.Message.setProto3IntField(this, 1, value);
1275
- };
1276
-
1277
-
1278
- /**
1279
- * optional int32 count = 2;
1280
- * @return {number}
1281
- */
1282
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.getCount = function() {
1283
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1284
- };
1285
-
1286
-
1287
- /**
1288
- * @param {number} value
1289
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest} returns this
1290
- */
1291
- proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest.prototype.setCount = function(value) {
1292
- return jspb.Message.setProto3IntField(this, 2, value);
1293
- };
1294
-
1295
-
1296
-
1297
- /**
1298
- * List of repeated fields within this message type.
1299
- * @private {!Array<number>}
1300
- * @const
1301
- */
1302
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.repeatedFields_ = [1];
1303
-
1304
-
1305
-
1306
- if (jspb.Message.GENERATE_TO_OBJECT) {
1307
- /**
1308
- * Creates an object representation of this proto.
1309
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1310
- * Optional fields that are not set will be set to undefined.
1311
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1312
- * For the list of reserved names please see:
1313
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1314
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1315
- * JSPB instance for transitional soy proto support:
1316
- * http://goto/soy-param-migration
1317
- * @return {!Object}
1318
- */
1319
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.toObject = function(opt_includeInstance) {
1320
- return proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.toObject(opt_includeInstance, this);
1321
- };
1322
-
1323
-
1324
- /**
1325
- * Static version of the {@see toObject} method.
1326
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1327
- * the JSPB instance for transitional soy proto support:
1328
- * http://goto/soy-param-migration
1329
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} msg The msg instance to transform.
1330
- * @return {!Object}
1331
- * @suppress {unusedLocalVariables} f is only used for nested messages
1332
- */
1333
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.toObject = function(includeInstance, msg) {
1334
- var f, obj = {
1335
- templatesList: jspb.Message.toObjectList(msg.getTemplatesList(),
1336
- proto.Meta.TemperatureConfigurationProto.toObject, includeInstance),
1337
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1338
- };
1339
-
1340
- if (includeInstance) {
1341
- obj.$jspbMessageInstance = msg;
1342
- }
1343
- return obj;
1344
- };
1345
- }
1346
-
1347
-
1348
- /**
1349
- * Deserializes binary data (in protobuf wire format).
1350
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1351
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply}
1352
- */
1353
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.deserializeBinary = function(bytes) {
1354
- var reader = new jspb.BinaryReader(bytes);
1355
- var msg = new proto.Meta.TemperatureConfigurationProto.SearchTemplateReply;
1356
- return proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.deserializeBinaryFromReader(msg, reader);
1357
- };
1358
-
1359
-
1360
- /**
1361
- * Deserializes binary data (in protobuf wire format) from the
1362
- * given reader into the given message object.
1363
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} msg The message object to deserialize into.
1364
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1365
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply}
1366
- */
1367
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.deserializeBinaryFromReader = function(msg, reader) {
1368
- while (reader.nextField()) {
1369
- if (reader.isEndGroup()) {
1370
- break;
1371
- }
1372
- var field = reader.getFieldNumber();
1373
- switch (field) {
1374
- case 1:
1375
- var value = new proto.Meta.TemperatureConfigurationProto;
1376
- reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
1377
- msg.addTemplates(value);
1378
- break;
1379
- case 2:
1380
- var value = new platform_pagination_pb.PaginationProto;
1381
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1382
- msg.setPagination(value);
1383
- break;
1384
- default:
1385
- reader.skipField();
1386
- break;
1387
- }
1388
- }
1389
- return msg;
1390
- };
1391
-
1392
-
1393
- /**
1394
- * Serializes the message to binary data (in protobuf wire format).
1395
- * @return {!Uint8Array}
1396
- */
1397
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.serializeBinary = function() {
1398
- var writer = new jspb.BinaryWriter();
1399
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.serializeBinaryToWriter(this, writer);
1400
- return writer.getResultBuffer();
1401
- };
1402
-
1403
-
1404
- /**
1405
- * Serializes the given message to binary data (in protobuf wire
1406
- * format), writing to the given BinaryWriter.
1407
- * @param {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} message
1408
- * @param {!jspb.BinaryWriter} writer
1409
- * @suppress {unusedLocalVariables} f is only used for nested messages
1410
- */
1411
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.serializeBinaryToWriter = function(message, writer) {
1412
- var f = undefined;
1413
- f = message.getTemplatesList();
1414
- if (f.length > 0) {
1415
- writer.writeRepeatedMessage(
1416
- 1,
1417
- f,
1418
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
1419
- );
1420
- }
1421
- f = message.getPagination();
1422
- if (f != null) {
1423
- writer.writeMessage(
1424
- 2,
1425
- f,
1426
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1427
- );
1428
- }
1429
- };
1430
-
1431
-
1432
- /**
1433
- * repeated TemperatureConfigurationProto templates = 1;
1434
- * @return {!Array<!proto.Meta.TemperatureConfigurationProto>}
1435
- */
1436
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.getTemplatesList = function() {
1437
- return /** @type{!Array<!proto.Meta.TemperatureConfigurationProto>} */ (
1438
- jspb.Message.getRepeatedWrapperField(this, proto.Meta.TemperatureConfigurationProto, 1));
1439
- };
1440
-
1441
-
1442
- /**
1443
- * @param {!Array<!proto.Meta.TemperatureConfigurationProto>} value
1444
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
1445
- */
1446
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.setTemplatesList = function(value) {
1447
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1448
- };
1449
-
1450
-
1451
- /**
1452
- * @param {!proto.Meta.TemperatureConfigurationProto=} opt_value
1453
- * @param {number=} opt_index
1454
- * @return {!proto.Meta.TemperatureConfigurationProto}
1455
- */
1456
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.addTemplates = function(opt_value, opt_index) {
1457
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Meta.TemperatureConfigurationProto, opt_index);
1458
- };
1459
-
1460
-
1461
- /**
1462
- * Clears the list making it empty but non-null.
1463
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
1464
- */
1465
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.clearTemplatesList = function() {
1466
- return this.setTemplatesList([]);
1467
- };
1468
-
1469
-
1470
- /**
1471
- * optional Platform.PaginationProto pagination = 2;
1472
- * @return {?proto.Platform.PaginationProto}
1473
- */
1474
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.getPagination = function() {
1475
- return /** @type{?proto.Platform.PaginationProto} */ (
1476
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1477
- };
1478
-
1479
-
1480
- /**
1481
- * @param {?proto.Platform.PaginationProto|undefined} value
1482
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
1483
- */
1484
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.setPagination = function(value) {
1485
- return jspb.Message.setWrapperField(this, 2, value);
1486
- };
1487
-
1488
-
1489
- /**
1490
- * Clears the message field making it undefined.
1491
- * @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
1492
- */
1493
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.clearPagination = function() {
1494
- return this.setPagination(undefined);
1495
- };
1496
-
1497
-
1498
- /**
1499
- * Returns whether this field is set.
1500
- * @return {boolean}
1501
- */
1502
- proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.hasPagination = function() {
1503
- return jspb.Message.getField(this, 2) != null;
1504
- };
1505
-
1506
-
1507
- /**
1508
- * optional int32 high_trigger = 1;
1509
- * @return {number}
1510
- */
1511
- proto.Meta.TemperatureConfigurationProto.prototype.getHighTrigger = function() {
1512
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1513
- };
1514
-
1515
-
1516
- /**
1517
- * @param {number} value
1518
- * @return {!proto.Meta.TemperatureConfigurationProto} returns this
1519
- */
1520
- proto.Meta.TemperatureConfigurationProto.prototype.setHighTrigger = function(value) {
1521
- return jspb.Message.setProto3IntField(this, 1, value);
1522
- };
1523
-
1524
-
1525
- /**
1526
- * optional int32 high_clear = 2;
1527
- * @return {number}
1528
- */
1529
- proto.Meta.TemperatureConfigurationProto.prototype.getHighClear = function() {
1530
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1531
- };
1532
-
1533
-
1534
- /**
1535
- * @param {number} value
1536
- * @return {!proto.Meta.TemperatureConfigurationProto} returns this
1537
- */
1538
- proto.Meta.TemperatureConfigurationProto.prototype.setHighClear = function(value) {
1539
- return jspb.Message.setProto3IntField(this, 2, value);
1540
- };
1541
-
1542
-
1543
- /**
1544
- * optional int32 critical_trigger = 3;
1545
- * @return {number}
1546
- */
1547
- proto.Meta.TemperatureConfigurationProto.prototype.getCriticalTrigger = function() {
1548
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1549
- };
1550
-
1551
-
1552
- /**
1553
- * @param {number} value
1554
- * @return {!proto.Meta.TemperatureConfigurationProto} returns this
1555
- */
1556
- proto.Meta.TemperatureConfigurationProto.prototype.setCriticalTrigger = function(value) {
1557
- return jspb.Message.setProto3IntField(this, 3, value);
1558
- };
1559
-
1560
-
1561
- /**
1562
- * optional int32 critical_clear = 4;
1563
- * @return {number}
1564
- */
1565
- proto.Meta.TemperatureConfigurationProto.prototype.getCriticalClear = function() {
1566
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1567
- };
1568
-
1569
-
1570
- /**
1571
- * @param {number} value
1572
- * @return {!proto.Meta.TemperatureConfigurationProto} returns this
1573
- */
1574
- proto.Meta.TemperatureConfigurationProto.prototype.setCriticalClear = function(value) {
1575
- return jspb.Message.setProto3IntField(this, 4, value);
1576
- };
1577
-
1578
-
1579
-
1580
-
1581
-
1582
- if (jspb.Message.GENERATE_TO_OBJECT) {
1583
- /**
1584
- * Creates an object representation of this proto.
1585
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1586
- * Optional fields that are not set will be set to undefined.
1587
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1588
- * For the list of reserved names please see:
1589
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1590
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1591
- * JSPB instance for transitional soy proto support:
1592
- * http://goto/soy-param-migration
1593
- * @return {!Object}
1594
- */
1595
- proto.Meta.CabinetLocationMeta.prototype.toObject = function(opt_includeInstance) {
1596
- return proto.Meta.CabinetLocationMeta.toObject(opt_includeInstance, this);
1597
- };
1598
-
1599
-
1600
- /**
1601
- * Static version of the {@see toObject} method.
1602
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1603
- * the JSPB instance for transitional soy proto support:
1604
- * http://goto/soy-param-migration
1605
- * @param {!proto.Meta.CabinetLocationMeta} msg The msg instance to transform.
1606
- * @return {!Object}
1607
- * @suppress {unusedLocalVariables} f is only used for nested messages
1608
- */
1609
- proto.Meta.CabinetLocationMeta.toObject = function(includeInstance, msg) {
1610
- var f, obj = {
1611
- cabinetLocation: (f = msg.getCabinetLocation()) && spic_cabinet_pb.CabinetWithLocation.toObject(includeInstance, f),
1612
- temperatureConfiguration: (f = msg.getTemperatureConfiguration()) && proto.Meta.TemperatureConfigurationProto.toObject(includeInstance, f),
1613
- spicType: jspb.Message.getFieldWithDefault(msg, 3, 0)
1614
- };
1615
-
1616
- if (includeInstance) {
1617
- obj.$jspbMessageInstance = msg;
1618
- }
1619
- return obj;
1620
- };
1621
- }
1622
-
1623
-
1624
- /**
1625
- * Deserializes binary data (in protobuf wire format).
1626
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1627
- * @return {!proto.Meta.CabinetLocationMeta}
1628
- */
1629
- proto.Meta.CabinetLocationMeta.deserializeBinary = function(bytes) {
1630
- var reader = new jspb.BinaryReader(bytes);
1631
- var msg = new proto.Meta.CabinetLocationMeta;
1632
- return proto.Meta.CabinetLocationMeta.deserializeBinaryFromReader(msg, reader);
1633
- };
1634
-
1635
-
1636
- /**
1637
- * Deserializes binary data (in protobuf wire format) from the
1638
- * given reader into the given message object.
1639
- * @param {!proto.Meta.CabinetLocationMeta} msg The message object to deserialize into.
1640
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1641
- * @return {!proto.Meta.CabinetLocationMeta}
1642
- */
1643
- proto.Meta.CabinetLocationMeta.deserializeBinaryFromReader = function(msg, reader) {
1644
- while (reader.nextField()) {
1645
- if (reader.isEndGroup()) {
1646
- break;
1647
- }
1648
- var field = reader.getFieldNumber();
1649
- switch (field) {
1650
- case 1:
1651
- var value = new spic_cabinet_pb.CabinetWithLocation;
1652
- reader.readMessage(value,spic_cabinet_pb.CabinetWithLocation.deserializeBinaryFromReader);
1653
- msg.setCabinetLocation(value);
1654
- break;
1655
- case 2:
1656
- var value = new proto.Meta.TemperatureConfigurationProto;
1657
- reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
1658
- msg.setTemperatureConfiguration(value);
1659
- break;
1660
- case 3:
1661
- var value = /** @type {!proto.Meta.SpicType} */ (reader.readEnum());
1662
- msg.setSpicType(value);
1663
- break;
1664
- default:
1665
- reader.skipField();
1666
- break;
1667
- }
1668
- }
1669
- return msg;
1670
- };
1671
-
1672
-
1673
- /**
1674
- * Serializes the message to binary data (in protobuf wire format).
1675
- * @return {!Uint8Array}
1676
- */
1677
- proto.Meta.CabinetLocationMeta.prototype.serializeBinary = function() {
1678
- var writer = new jspb.BinaryWriter();
1679
- proto.Meta.CabinetLocationMeta.serializeBinaryToWriter(this, writer);
1680
- return writer.getResultBuffer();
1681
- };
1682
-
1683
-
1684
- /**
1685
- * Serializes the given message to binary data (in protobuf wire
1686
- * format), writing to the given BinaryWriter.
1687
- * @param {!proto.Meta.CabinetLocationMeta} message
1688
- * @param {!jspb.BinaryWriter} writer
1689
- * @suppress {unusedLocalVariables} f is only used for nested messages
1690
- */
1691
- proto.Meta.CabinetLocationMeta.serializeBinaryToWriter = function(message, writer) {
1692
- var f = undefined;
1693
- f = message.getCabinetLocation();
1694
- if (f != null) {
1695
- writer.writeMessage(
1696
- 1,
1697
- f,
1698
- spic_cabinet_pb.CabinetWithLocation.serializeBinaryToWriter
1699
- );
1700
- }
1701
- f = message.getTemperatureConfiguration();
1702
- if (f != null) {
1703
- writer.writeMessage(
1704
- 2,
1705
- f,
1706
- proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
1707
- );
1708
- }
1709
- f = message.getSpicType();
1710
- if (f !== 0.0) {
1711
- writer.writeEnum(
1712
- 3,
1713
- f
1714
- );
1715
- }
1716
- };
1717
-
1718
-
1719
- /**
1720
- * optional Spic.CabinetWithLocation cabinet_location = 1;
1721
- * @return {?proto.Spic.CabinetWithLocation}
1722
- */
1723
- proto.Meta.CabinetLocationMeta.prototype.getCabinetLocation = function() {
1724
- return /** @type{?proto.Spic.CabinetWithLocation} */ (
1725
- jspb.Message.getWrapperField(this, spic_cabinet_pb.CabinetWithLocation, 1));
1726
- };
1727
-
1728
-
1729
- /**
1730
- * @param {?proto.Spic.CabinetWithLocation|undefined} value
1731
- * @return {!proto.Meta.CabinetLocationMeta} returns this
1732
- */
1733
- proto.Meta.CabinetLocationMeta.prototype.setCabinetLocation = function(value) {
1734
- return jspb.Message.setWrapperField(this, 1, value);
1735
- };
1736
-
1737
-
1738
- /**
1739
- * Clears the message field making it undefined.
1740
- * @return {!proto.Meta.CabinetLocationMeta} returns this
1741
- */
1742
- proto.Meta.CabinetLocationMeta.prototype.clearCabinetLocation = function() {
1743
- return this.setCabinetLocation(undefined);
1744
- };
1745
-
1746
-
1747
- /**
1748
- * Returns whether this field is set.
1749
- * @return {boolean}
1750
- */
1751
- proto.Meta.CabinetLocationMeta.prototype.hasCabinetLocation = function() {
1752
- return jspb.Message.getField(this, 1) != null;
1753
- };
1754
-
1755
-
1756
- /**
1757
- * optional TemperatureConfigurationProto temperature_configuration = 2;
1758
- * @return {?proto.Meta.TemperatureConfigurationProto}
1759
- */
1760
- proto.Meta.CabinetLocationMeta.prototype.getTemperatureConfiguration = function() {
1761
- return /** @type{?proto.Meta.TemperatureConfigurationProto} */ (
1762
- jspb.Message.getWrapperField(this, proto.Meta.TemperatureConfigurationProto, 2));
1763
- };
1764
-
1765
-
1766
- /**
1767
- * @param {?proto.Meta.TemperatureConfigurationProto|undefined} value
1768
- * @return {!proto.Meta.CabinetLocationMeta} returns this
1769
- */
1770
- proto.Meta.CabinetLocationMeta.prototype.setTemperatureConfiguration = function(value) {
1771
- return jspb.Message.setWrapperField(this, 2, value);
1772
- };
1773
-
1774
-
1775
- /**
1776
- * Clears the message field making it undefined.
1777
- * @return {!proto.Meta.CabinetLocationMeta} returns this
1778
- */
1779
- proto.Meta.CabinetLocationMeta.prototype.clearTemperatureConfiguration = function() {
1780
- return this.setTemperatureConfiguration(undefined);
1781
- };
1782
-
1783
-
1784
- /**
1785
- * Returns whether this field is set.
1786
- * @return {boolean}
1787
- */
1788
- proto.Meta.CabinetLocationMeta.prototype.hasTemperatureConfiguration = function() {
1789
- return jspb.Message.getField(this, 2) != null;
1790
- };
1791
-
1792
-
1793
- /**
1794
- * optional SpicType spic_type = 3;
1795
- * @return {!proto.Meta.SpicType}
1796
- */
1797
- proto.Meta.CabinetLocationMeta.prototype.getSpicType = function() {
1798
- return /** @type {!proto.Meta.SpicType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1799
- };
1800
-
1801
-
1802
- /**
1803
- * @param {!proto.Meta.SpicType} value
1804
- * @return {!proto.Meta.CabinetLocationMeta} returns this
1805
- */
1806
- proto.Meta.CabinetLocationMeta.prototype.setSpicType = function(value) {
1807
- return jspb.Message.setProto3EnumField(this, 3, value);
1808
- };
1809
-
1810
-
1811
- /**
1812
- * @enum {number}
1813
- */
1814
- proto.Meta.SpicType = {
1815
- CABINET: 0,
1816
- MANHOLE: 1,
1817
- CLOSURE: 2
1818
- };
1819
-
1820
- goog.object.extend(exports, proto.Meta);