Added Android code
[wl-app.git] / iOS / Pods / FirebaseMessaging / Firebase / Messaging / Protos / GtalkCore.pbobjc.h
1 /*
2  * Copyright 2017 Google
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 // Generated by the protocol buffer compiler.  DO NOT EDIT!
18 // source: buzz/mobile/proto/gtalk_core.proto
19
20 // This CPP symbol can be defined to use imports that match up to the framework
21 // imports needed when using CocoaPods.
22 #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
23  #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
24 #endif
25
26 #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
27  #import <Protobuf/GPBProtocolBuffers.h>
28 #else
29  #import "GPBProtocolBuffers.h"
30 #endif
31
32 #if GOOGLE_PROTOBUF_OBJC_VERSION < 30002
33 #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
34 #endif
35 #if 30002 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
36 #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
37 #endif
38
39 // @@protoc_insertion_point(imports)
40
41 #pragma clang diagnostic push
42 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
43
44 CF_EXTERN_C_BEGIN
45
46 @class GtalkAppData;
47 @class GtalkCellTower;
48 @class GtalkClientEvent;
49 @class GtalkErrorInfo;
50 @class GtalkExtension;
51 @class GtalkHeartbeatConfig;
52 @class GtalkHeartbeatStat;
53 @class GtalkPresenceStanza;
54 @class GtalkSetting;
55
56 NS_ASSUME_NONNULL_BEGIN
57
58 #pragma mark - Enum GtalkLoginRequest_AuthService
59
60 typedef GPB_ENUM(GtalkLoginRequest_AuthService) {
61   GtalkLoginRequest_AuthService_Mail = 0,
62   GtalkLoginRequest_AuthService_AndroidCloudToDeviceMessage = 1,
63   GtalkLoginRequest_AuthService_AndroidId = 2,
64 };
65
66 GPBEnumDescriptor *GtalkLoginRequest_AuthService_EnumDescriptor(void);
67
68 /**
69  * Checks to see if the given value is defined by the enum or was not known at
70  * the time this source was generated.
71  **/
72 BOOL GtalkLoginRequest_AuthService_IsValidValue(int32_t value);
73
74 #pragma mark - Enum GtalkMessageStanza_MessageType
75
76 typedef GPB_ENUM(GtalkMessageStanza_MessageType) {
77   GtalkMessageStanza_MessageType_Normal = 0,
78   GtalkMessageStanza_MessageType_Chat = 1,
79   GtalkMessageStanza_MessageType_Groupchat = 2,
80   GtalkMessageStanza_MessageType_Headline = 3,
81   GtalkMessageStanza_MessageType_Error = 4,
82 };
83
84 GPBEnumDescriptor *GtalkMessageStanza_MessageType_EnumDescriptor(void);
85
86 /**
87  * Checks to see if the given value is defined by the enum or was not known at
88  * the time this source was generated.
89  **/
90 BOOL GtalkMessageStanza_MessageType_IsValidValue(int32_t value);
91
92 #pragma mark - Enum GtalkPresenceStanza_PresenceType
93
94 typedef GPB_ENUM(GtalkPresenceStanza_PresenceType) {
95   GtalkPresenceStanza_PresenceType_Unavailable = 0,
96   GtalkPresenceStanza_PresenceType_Subscribe = 1,
97   GtalkPresenceStanza_PresenceType_Subscribed = 2,
98   GtalkPresenceStanza_PresenceType_Unsubscribe = 3,
99   GtalkPresenceStanza_PresenceType_Unsubscribed = 4,
100   GtalkPresenceStanza_PresenceType_Probe = 5,
101   GtalkPresenceStanza_PresenceType_Error = 6,
102 };
103
104 GPBEnumDescriptor *GtalkPresenceStanza_PresenceType_EnumDescriptor(void);
105
106 /**
107  * Checks to see if the given value is defined by the enum or was not known at
108  * the time this source was generated.
109  **/
110 BOOL GtalkPresenceStanza_PresenceType_IsValidValue(int32_t value);
111
112 #pragma mark - Enum GtalkPresenceStanza_ShowType
113
114 typedef GPB_ENUM(GtalkPresenceStanza_ShowType) {
115   GtalkPresenceStanza_ShowType_Away = 0,
116   GtalkPresenceStanza_ShowType_Chat = 1,
117   GtalkPresenceStanza_ShowType_Dnd = 2,
118   GtalkPresenceStanza_ShowType_Xa = 3,
119 };
120
121 GPBEnumDescriptor *GtalkPresenceStanza_ShowType_EnumDescriptor(void);
122
123 /**
124  * Checks to see if the given value is defined by the enum or was not known at
125  * the time this source was generated.
126  **/
127 BOOL GtalkPresenceStanza_ShowType_IsValidValue(int32_t value);
128
129 #pragma mark - Enum GtalkPresenceStanza_ClientType
130
131 typedef GPB_ENUM(GtalkPresenceStanza_ClientType) {
132   GtalkPresenceStanza_ClientType_Mobile = 0,
133   GtalkPresenceStanza_ClientType_Android = 1,
134 };
135
136 GPBEnumDescriptor *GtalkPresenceStanza_ClientType_EnumDescriptor(void);
137
138 /**
139  * Checks to see if the given value is defined by the enum or was not known at
140  * the time this source was generated.
141  **/
142 BOOL GtalkPresenceStanza_ClientType_IsValidValue(int32_t value);
143
144 #pragma mark - Enum GtalkPresenceStanza_CapabilitiesFlags
145
146 typedef GPB_ENUM(GtalkPresenceStanza_CapabilitiesFlags) {
147   GtalkPresenceStanza_CapabilitiesFlags_HasVoiceV1 = 1,
148   GtalkPresenceStanza_CapabilitiesFlags_HasVideoV1 = 2,
149   GtalkPresenceStanza_CapabilitiesFlags_HasCameraV1 = 4,
150   GtalkPresenceStanza_CapabilitiesFlags_HasPmucV1 = 8,
151 };
152
153 GPBEnumDescriptor *GtalkPresenceStanza_CapabilitiesFlags_EnumDescriptor(void);
154
155 /**
156  * Checks to see if the given value is defined by the enum or was not known at
157  * the time this source was generated.
158  **/
159 BOOL GtalkPresenceStanza_CapabilitiesFlags_IsValidValue(int32_t value);
160
161 #pragma mark - Enum GtalkBatchPresenceStanza_Type
162
163 typedef GPB_ENUM(GtalkBatchPresenceStanza_Type) {
164   GtalkBatchPresenceStanza_Type_Get = 0,
165   GtalkBatchPresenceStanza_Type_Set = 1,
166 };
167
168 GPBEnumDescriptor *GtalkBatchPresenceStanza_Type_EnumDescriptor(void);
169
170 /**
171  * Checks to see if the given value is defined by the enum or was not known at
172  * the time this source was generated.
173  **/
174 BOOL GtalkBatchPresenceStanza_Type_IsValidValue(int32_t value);
175
176 #pragma mark - Enum GtalkIqStanza_IqType
177
178 typedef GPB_ENUM(GtalkIqStanza_IqType) {
179   GtalkIqStanza_IqType_Get = 0,
180   GtalkIqStanza_IqType_Set = 1,
181   GtalkIqStanza_IqType_Result = 2,
182   GtalkIqStanza_IqType_Error = 3,
183 };
184
185 GPBEnumDescriptor *GtalkIqStanza_IqType_EnumDescriptor(void);
186
187 /**
188  * Checks to see if the given value is defined by the enum or was not known at
189  * the time this source was generated.
190  **/
191 BOOL GtalkIqStanza_IqType_IsValidValue(int32_t value);
192
193 #pragma mark - Enum GtalkClientEvent_Type
194
195 typedef GPB_ENUM(GtalkClientEvent_Type) {
196   GtalkClientEvent_Type_Unknown = 0,
197   GtalkClientEvent_Type_DiscardedEvents = 1,
198   GtalkClientEvent_Type_FailedConnection = 2,
199   GtalkClientEvent_Type_SuccessfulConnection = 3,
200   GtalkClientEvent_Type_McsReconnectRequest = 4,
201   GtalkClientEvent_Type_FailedSocketCreationMcsReconnect = 5,
202   GtalkClientEvent_Type_McsReconnectLimited = 6,
203 };
204
205 GPBEnumDescriptor *GtalkClientEvent_Type_EnumDescriptor(void);
206
207 /**
208  * Checks to see if the given value is defined by the enum or was not known at
209  * the time this source was generated.
210  **/
211 BOOL GtalkClientEvent_Type_IsValidValue(int32_t value);
212
213 #pragma mark - Enum GtalkClientEvent_McsReconnectAction
214
215 typedef GPB_ENUM(GtalkClientEvent_McsReconnectAction) {
216   GtalkClientEvent_McsReconnectAction_None = 0,
217   GtalkClientEvent_McsReconnectAction_NotConnected = 1,
218   GtalkClientEvent_McsReconnectAction_TooSoon = 2,
219 };
220
221 GPBEnumDescriptor *GtalkClientEvent_McsReconnectAction_EnumDescriptor(void);
222
223 /**
224  * Checks to see if the given value is defined by the enum or was not known at
225  * the time this source was generated.
226  **/
227 BOOL GtalkClientEvent_McsReconnectAction_IsValidValue(int32_t value);
228
229 #pragma mark - GtalkGtalkCoreRoot
230
231 /**
232  * Exposes the extension registry for this file.
233  *
234  * The base class provides:
235  * @code
236  *   + (GPBExtensionRegistry *)extensionRegistry;
237  * @endcode
238  * which is a @c GPBExtensionRegistry that includes all the extensions defined by
239  * this file and all files that it depends on.
240  **/
241 @interface GtalkGtalkCoreRoot : GPBRootObject
242 @end
243
244 #pragma mark - GtalkHeartbeatPing
245
246 typedef GPB_ENUM(GtalkHeartbeatPing_FieldNumber) {
247   GtalkHeartbeatPing_FieldNumber_StreamId = 1,
248   GtalkHeartbeatPing_FieldNumber_LastStreamIdReceived = 2,
249   GtalkHeartbeatPing_FieldNumber_Status = 3,
250   GtalkHeartbeatPing_FieldNumber_CellTower = 4,
251   GtalkHeartbeatPing_FieldNumber_IntervalMs = 5,
252 };
253
254 @interface GtalkHeartbeatPing : GPBMessage
255
256
257 @property(nonatomic, readwrite) int32_t streamId;
258
259 @property(nonatomic, readwrite) BOOL hasStreamId;
260
261 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
262
263 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
264
265 @property(nonatomic, readwrite) int64_t status;
266
267 @property(nonatomic, readwrite) BOOL hasStatus;
268
269 @property(nonatomic, readwrite, strong, null_resettable) GtalkCellTower *cellTower DEPRECATED_ATTRIBUTE;
270 /** Test to see if @c cellTower has been set. */
271 @property(nonatomic, readwrite) BOOL hasCellTower DEPRECATED_ATTRIBUTE;
272
273
274 @property(nonatomic, readwrite) int32_t intervalMs;
275
276 @property(nonatomic, readwrite) BOOL hasIntervalMs;
277 @end
278
279 #pragma mark - GtalkHeartbeatAck
280
281 typedef GPB_ENUM(GtalkHeartbeatAck_FieldNumber) {
282   GtalkHeartbeatAck_FieldNumber_StreamId = 1,
283   GtalkHeartbeatAck_FieldNumber_LastStreamIdReceived = 2,
284   GtalkHeartbeatAck_FieldNumber_Status = 3,
285   GtalkHeartbeatAck_FieldNumber_CellTower = 4,
286   GtalkHeartbeatAck_FieldNumber_IntervalMs = 5,
287 };
288
289 @interface GtalkHeartbeatAck : GPBMessage
290
291
292 @property(nonatomic, readwrite) int32_t streamId;
293
294 @property(nonatomic, readwrite) BOOL hasStreamId;
295
296 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
297
298 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
299
300 @property(nonatomic, readwrite) int64_t status;
301
302 @property(nonatomic, readwrite) BOOL hasStatus;
303
304 @property(nonatomic, readwrite, strong, null_resettable) GtalkCellTower *cellTower DEPRECATED_ATTRIBUTE;
305 /** Test to see if @c cellTower has been set. */
306 @property(nonatomic, readwrite) BOOL hasCellTower DEPRECATED_ATTRIBUTE;
307
308
309 @property(nonatomic, readwrite) int32_t intervalMs;
310
311 @property(nonatomic, readwrite) BOOL hasIntervalMs;
312 @end
313
314 #pragma mark - GtalkErrorInfo
315
316 typedef GPB_ENUM(GtalkErrorInfo_FieldNumber) {
317   GtalkErrorInfo_FieldNumber_Code = 1,
318   GtalkErrorInfo_FieldNumber_Message = 2,
319   GtalkErrorInfo_FieldNumber_Type = 3,
320   GtalkErrorInfo_FieldNumber_Extension = 4,
321 };
322
323 @interface GtalkErrorInfo : GPBMessage
324
325
326 @property(nonatomic, readwrite) int32_t code;
327
328 @property(nonatomic, readwrite) BOOL hasCode;
329
330 @property(nonatomic, readwrite, copy, null_resettable) NSString *message;
331 /** Test to see if @c message has been set. */
332 @property(nonatomic, readwrite) BOOL hasMessage;
333
334
335 @property(nonatomic, readwrite, copy, null_resettable) NSString *type;
336 /** Test to see if @c type has been set. */
337 @property(nonatomic, readwrite) BOOL hasType;
338
339
340 @property(nonatomic, readwrite, strong, null_resettable) GtalkExtension *extension;
341 /** Test to see if @c extension has been set. */
342 @property(nonatomic, readwrite) BOOL hasExtension;
343
344 @end
345
346 #pragma mark - GtalkSetting
347
348 typedef GPB_ENUM(GtalkSetting_FieldNumber) {
349   GtalkSetting_FieldNumber_Name = 1,
350   GtalkSetting_FieldNumber_Value = 2,
351 };
352
353 @interface GtalkSetting : GPBMessage
354
355
356 @property(nonatomic, readwrite, copy, null_resettable) NSString *name;
357 /** Test to see if @c name has been set. */
358 @property(nonatomic, readwrite) BOOL hasName;
359
360
361 @property(nonatomic, readwrite, copy, null_resettable) NSString *value;
362 /** Test to see if @c value has been set. */
363 @property(nonatomic, readwrite) BOOL hasValue;
364
365 @end
366
367 #pragma mark - GtalkHeartbeatStat
368
369 typedef GPB_ENUM(GtalkHeartbeatStat_FieldNumber) {
370   GtalkHeartbeatStat_FieldNumber_Ip = 1,
371   GtalkHeartbeatStat_FieldNumber_Timeout = 2,
372   GtalkHeartbeatStat_FieldNumber_IntervalMs = 3,
373 };
374
375 @interface GtalkHeartbeatStat : GPBMessage
376
377
378 @property(nonatomic, readwrite, copy, null_resettable) NSString *ip;
379 /** Test to see if @c ip has been set. */
380 @property(nonatomic, readwrite) BOOL hasIp;
381
382
383 @property(nonatomic, readwrite) BOOL timeout;
384
385 @property(nonatomic, readwrite) BOOL hasTimeout;
386
387 @property(nonatomic, readwrite) int32_t intervalMs;
388
389 @property(nonatomic, readwrite) BOOL hasIntervalMs;
390 @end
391
392 #pragma mark - GtalkHeartbeatConfig
393
394 typedef GPB_ENUM(GtalkHeartbeatConfig_FieldNumber) {
395   GtalkHeartbeatConfig_FieldNumber_UploadStat = 1,
396   GtalkHeartbeatConfig_FieldNumber_Ip = 2,
397   GtalkHeartbeatConfig_FieldNumber_IntervalMs = 3,
398 };
399
400 @interface GtalkHeartbeatConfig : GPBMessage
401
402
403 @property(nonatomic, readwrite) BOOL uploadStat;
404
405 @property(nonatomic, readwrite) BOOL hasUploadStat;
406
407 @property(nonatomic, readwrite, copy, null_resettable) NSString *ip;
408 /** Test to see if @c ip has been set. */
409 @property(nonatomic, readwrite) BOOL hasIp;
410
411
412 @property(nonatomic, readwrite) int32_t intervalMs;
413
414 @property(nonatomic, readwrite) BOOL hasIntervalMs;
415 @end
416
417 #pragma mark - GtalkLoginRequest
418
419 typedef GPB_ENUM(GtalkLoginRequest_FieldNumber) {
420   GtalkLoginRequest_FieldNumber_Id_p = 1,
421   GtalkLoginRequest_FieldNumber_Domain = 2,
422   GtalkLoginRequest_FieldNumber_User = 3,
423   GtalkLoginRequest_FieldNumber_Resource = 4,
424   GtalkLoginRequest_FieldNumber_AuthToken = 5,
425   GtalkLoginRequest_FieldNumber_DeviceId = 6,
426   GtalkLoginRequest_FieldNumber_LastRmqId = 7,
427   GtalkLoginRequest_FieldNumber_SettingArray = 8,
428   GtalkLoginRequest_FieldNumber_ReceivedPersistentIdArray = 10,
429   GtalkLoginRequest_FieldNumber_IncludeStreamIds = 11,
430   GtalkLoginRequest_FieldNumber_HeartbeatStat = 13,
431   GtalkLoginRequest_FieldNumber_UseRmq2 = 14,
432   GtalkLoginRequest_FieldNumber_AccountId = 15,
433   GtalkLoginRequest_FieldNumber_AuthService = 16,
434   GtalkLoginRequest_FieldNumber_NetworkType = 17,
435   GtalkLoginRequest_FieldNumber_Status = 18,
436   GtalkLoginRequest_FieldNumber_TokenVersionInfo = 19,
437   GtalkLoginRequest_FieldNumber_CellTower = 20,
438   GtalkLoginRequest_FieldNumber_GcmStartTimeMs = 21,
439   GtalkLoginRequest_FieldNumber_ClientEventArray = 22,
440   GtalkLoginRequest_FieldNumber_OnFallback = 23,
441   GtalkLoginRequest_FieldNumber_NoPendingUpstream = 24,
442   GtalkLoginRequest_FieldNumber_ReconnectRequestId = 25,
443 };
444
445 @interface GtalkLoginRequest : GPBMessage
446
447
448 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
449 /** Test to see if @c id_p has been set. */
450 @property(nonatomic, readwrite) BOOL hasId_p;
451
452
453 @property(nonatomic, readwrite, copy, null_resettable) NSString *domain;
454 /** Test to see if @c domain has been set. */
455 @property(nonatomic, readwrite) BOOL hasDomain;
456
457
458 @property(nonatomic, readwrite, copy, null_resettable) NSString *user;
459 /** Test to see if @c user has been set. */
460 @property(nonatomic, readwrite) BOOL hasUser;
461
462
463 @property(nonatomic, readwrite, copy, null_resettable) NSString *resource;
464 /** Test to see if @c resource has been set. */
465 @property(nonatomic, readwrite) BOOL hasResource;
466
467
468 @property(nonatomic, readwrite, copy, null_resettable) NSString *authToken;
469 /** Test to see if @c authToken has been set. */
470 @property(nonatomic, readwrite) BOOL hasAuthToken;
471
472
473 @property(nonatomic, readwrite, copy, null_resettable) NSString *deviceId;
474 /** Test to see if @c deviceId has been set. */
475 @property(nonatomic, readwrite) BOOL hasDeviceId;
476
477
478 @property(nonatomic, readwrite) int64_t lastRmqId;
479
480 @property(nonatomic, readwrite) BOOL hasLastRmqId;
481
482 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkSetting*> *settingArray;
483 /** The number of items in @c settingArray without causing the array to be created. */
484 @property(nonatomic, readonly) NSUInteger settingArray_Count;
485
486
487 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<NSString*> *receivedPersistentIdArray;
488 /** The number of items in @c receivedPersistentIdArray without causing the array to be created. */
489 @property(nonatomic, readonly) NSUInteger receivedPersistentIdArray_Count;
490
491
492 @property(nonatomic, readwrite) BOOL includeStreamIds;
493
494 @property(nonatomic, readwrite) BOOL hasIncludeStreamIds;
495
496 @property(nonatomic, readwrite, strong, null_resettable) GtalkHeartbeatStat *heartbeatStat;
497 /** Test to see if @c heartbeatStat has been set. */
498 @property(nonatomic, readwrite) BOOL hasHeartbeatStat;
499
500
501 @property(nonatomic, readwrite) BOOL useRmq2;
502
503 @property(nonatomic, readwrite) BOOL hasUseRmq2;
504
505 @property(nonatomic, readwrite) int64_t accountId;
506
507 @property(nonatomic, readwrite) BOOL hasAccountId;
508
509 @property(nonatomic, readwrite) GtalkLoginRequest_AuthService authService;
510
511 @property(nonatomic, readwrite) BOOL hasAuthService;
512
513 @property(nonatomic, readwrite) int32_t networkType;
514
515 @property(nonatomic, readwrite) BOOL hasNetworkType;
516
517 @property(nonatomic, readwrite) int64_t status;
518
519 @property(nonatomic, readwrite) BOOL hasStatus;
520
521 @property(nonatomic, readwrite, copy, null_resettable) NSString *tokenVersionInfo;
522 /** Test to see if @c tokenVersionInfo has been set. */
523 @property(nonatomic, readwrite) BOOL hasTokenVersionInfo;
524
525
526 @property(nonatomic, readwrite, strong, null_resettable) GtalkCellTower *cellTower DEPRECATED_ATTRIBUTE;
527 /** Test to see if @c cellTower has been set. */
528 @property(nonatomic, readwrite) BOOL hasCellTower DEPRECATED_ATTRIBUTE;
529
530
531 @property(nonatomic, readwrite) uint64_t gcmStartTimeMs;
532
533 @property(nonatomic, readwrite) BOOL hasGcmStartTimeMs;
534
535 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkClientEvent*> *clientEventArray;
536 /** The number of items in @c clientEventArray without causing the array to be created. */
537 @property(nonatomic, readonly) NSUInteger clientEventArray_Count;
538
539
540 @property(nonatomic, readwrite) BOOL onFallback;
541
542 @property(nonatomic, readwrite) BOOL hasOnFallback;
543
544 @property(nonatomic, readwrite) BOOL noPendingUpstream;
545
546 @property(nonatomic, readwrite) BOOL hasNoPendingUpstream;
547
548 @property(nonatomic, readwrite) int32_t reconnectRequestId;
549
550 @property(nonatomic, readwrite) BOOL hasReconnectRequestId;
551 @end
552
553 #pragma mark - GtalkLoginResponse
554
555 typedef GPB_ENUM(GtalkLoginResponse_FieldNumber) {
556   GtalkLoginResponse_FieldNumber_Id_p = 1,
557   GtalkLoginResponse_FieldNumber_Jid = 2,
558   GtalkLoginResponse_FieldNumber_Error = 3,
559   GtalkLoginResponse_FieldNumber_SettingArray = 4,
560   GtalkLoginResponse_FieldNumber_StreamId = 5,
561   GtalkLoginResponse_FieldNumber_LastStreamIdReceived = 6,
562   GtalkLoginResponse_FieldNumber_HeartbeatConfig = 7,
563   GtalkLoginResponse_FieldNumber_ServerTimestamp = 8,
564 };
565
566 @interface GtalkLoginResponse : GPBMessage
567
568
569 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
570 /** Test to see if @c id_p has been set. */
571 @property(nonatomic, readwrite) BOOL hasId_p;
572
573
574 @property(nonatomic, readwrite, copy, null_resettable) NSString *jid;
575 /** Test to see if @c jid has been set. */
576 @property(nonatomic, readwrite) BOOL hasJid;
577
578
579 @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
580 /** Test to see if @c error has been set. */
581 @property(nonatomic, readwrite) BOOL hasError;
582
583
584 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkSetting*> *settingArray;
585 /** The number of items in @c settingArray without causing the array to be created. */
586 @property(nonatomic, readonly) NSUInteger settingArray_Count;
587
588
589 @property(nonatomic, readwrite) int32_t streamId;
590
591 @property(nonatomic, readwrite) BOOL hasStreamId;
592
593 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
594
595 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
596
597 @property(nonatomic, readwrite, strong, null_resettable) GtalkHeartbeatConfig *heartbeatConfig;
598 /** Test to see if @c heartbeatConfig has been set. */
599 @property(nonatomic, readwrite) BOOL hasHeartbeatConfig;
600
601
602 @property(nonatomic, readwrite) int64_t serverTimestamp;
603
604 @property(nonatomic, readwrite) BOOL hasServerTimestamp;
605 @end
606
607 #pragma mark - GtalkBindAccountRequest
608
609 typedef GPB_ENUM(GtalkBindAccountRequest_FieldNumber) {
610   GtalkBindAccountRequest_FieldNumber_Id_p = 1,
611   GtalkBindAccountRequest_FieldNumber_Domain = 2,
612   GtalkBindAccountRequest_FieldNumber_User = 3,
613   GtalkBindAccountRequest_FieldNumber_Resource = 4,
614   GtalkBindAccountRequest_FieldNumber_AuthToken = 5,
615   GtalkBindAccountRequest_FieldNumber_PersistentId = 6,
616   GtalkBindAccountRequest_FieldNumber_StreamId = 7,
617   GtalkBindAccountRequest_FieldNumber_LastStreamIdReceived = 8,
618   GtalkBindAccountRequest_FieldNumber_AccountId = 9,
619 };
620
621 @interface GtalkBindAccountRequest : GPBMessage
622
623
624 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
625 /** Test to see if @c id_p has been set. */
626 @property(nonatomic, readwrite) BOOL hasId_p;
627
628
629 @property(nonatomic, readwrite, copy, null_resettable) NSString *domain;
630 /** Test to see if @c domain has been set. */
631 @property(nonatomic, readwrite) BOOL hasDomain;
632
633
634 @property(nonatomic, readwrite, copy, null_resettable) NSString *user;
635 /** Test to see if @c user has been set. */
636 @property(nonatomic, readwrite) BOOL hasUser;
637
638
639 @property(nonatomic, readwrite, copy, null_resettable) NSString *resource;
640 /** Test to see if @c resource has been set. */
641 @property(nonatomic, readwrite) BOOL hasResource;
642
643
644 @property(nonatomic, readwrite, copy, null_resettable) NSString *authToken;
645 /** Test to see if @c authToken has been set. */
646 @property(nonatomic, readwrite) BOOL hasAuthToken;
647
648
649 @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
650 /** Test to see if @c persistentId has been set. */
651 @property(nonatomic, readwrite) BOOL hasPersistentId;
652
653
654 @property(nonatomic, readwrite) int32_t streamId;
655
656 @property(nonatomic, readwrite) BOOL hasStreamId;
657
658 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
659
660 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
661
662 @property(nonatomic, readwrite) int64_t accountId;
663
664 @property(nonatomic, readwrite) BOOL hasAccountId;
665 @end
666
667 #pragma mark - GtalkBindAccountResponse
668
669 typedef GPB_ENUM(GtalkBindAccountResponse_FieldNumber) {
670   GtalkBindAccountResponse_FieldNumber_Id_p = 1,
671   GtalkBindAccountResponse_FieldNumber_Jid = 2,
672   GtalkBindAccountResponse_FieldNumber_Error = 3,
673   GtalkBindAccountResponse_FieldNumber_StreamId = 4,
674   GtalkBindAccountResponse_FieldNumber_LastStreamIdReceived = 5,
675 };
676
677 @interface GtalkBindAccountResponse : GPBMessage
678
679
680 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
681 /** Test to see if @c id_p has been set. */
682 @property(nonatomic, readwrite) BOOL hasId_p;
683
684
685 @property(nonatomic, readwrite, copy, null_resettable) NSString *jid;
686 /** Test to see if @c jid has been set. */
687 @property(nonatomic, readwrite) BOOL hasJid;
688
689
690 @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
691 /** Test to see if @c error has been set. */
692 @property(nonatomic, readwrite) BOOL hasError;
693
694
695 @property(nonatomic, readwrite) int32_t streamId;
696
697 @property(nonatomic, readwrite) BOOL hasStreamId;
698
699 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
700
701 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
702 @end
703
704 #pragma mark - GtalkStreamErrorStanza
705
706 typedef GPB_ENUM(GtalkStreamErrorStanza_FieldNumber) {
707   GtalkStreamErrorStanza_FieldNumber_Type = 1,
708   GtalkStreamErrorStanza_FieldNumber_Text = 2,
709 };
710
711 @interface GtalkStreamErrorStanza : GPBMessage
712
713
714 @property(nonatomic, readwrite, copy, null_resettable) NSString *type;
715 /** Test to see if @c type has been set. */
716 @property(nonatomic, readwrite) BOOL hasType;
717
718
719 @property(nonatomic, readwrite, copy, null_resettable) NSString *text;
720 /** Test to see if @c text has been set. */
721 @property(nonatomic, readwrite) BOOL hasText;
722
723 @end
724
725 #pragma mark - GtalkClose
726
727 @interface GtalkClose : GPBMessage
728
729 @end
730
731 #pragma mark - GtalkExtension
732
733 typedef GPB_ENUM(GtalkExtension_FieldNumber) {
734   GtalkExtension_FieldNumber_Id_p = 1,
735   GtalkExtension_FieldNumber_Data_p = 2,
736 };
737
738 @interface GtalkExtension : GPBMessage
739
740
741 @property(nonatomic, readwrite) int32_t id_p;
742
743 @property(nonatomic, readwrite) BOOL hasId_p;
744
745 @property(nonatomic, readwrite, copy, null_resettable) NSString *data_p;
746 /** Test to see if @c data_p has been set. */
747 @property(nonatomic, readwrite) BOOL hasData_p;
748
749 @end
750
751 #pragma mark - GtalkMessageStanza
752
753 typedef GPB_ENUM(GtalkMessageStanza_FieldNumber) {
754   GtalkMessageStanza_FieldNumber_RmqId = 1,
755   GtalkMessageStanza_FieldNumber_Type = 2,
756   GtalkMessageStanza_FieldNumber_Id_p = 3,
757   GtalkMessageStanza_FieldNumber_From = 4,
758   GtalkMessageStanza_FieldNumber_To = 5,
759   GtalkMessageStanza_FieldNumber_Subject = 6,
760   GtalkMessageStanza_FieldNumber_Body = 7,
761   GtalkMessageStanza_FieldNumber_Thread = 8,
762   GtalkMessageStanza_FieldNumber_Error = 9,
763   GtalkMessageStanza_FieldNumber_ExtensionArray = 10,
764   GtalkMessageStanza_FieldNumber_Nosave = 11,
765   GtalkMessageStanza_FieldNumber_Timestamp = 12,
766   GtalkMessageStanza_FieldNumber_PersistentId = 13,
767   GtalkMessageStanza_FieldNumber_StreamId = 14,
768   GtalkMessageStanza_FieldNumber_LastStreamIdReceived = 15,
769   GtalkMessageStanza_FieldNumber_Read = 16,
770   GtalkMessageStanza_FieldNumber_AccountId = 17,
771 };
772
773 @interface GtalkMessageStanza : GPBMessage
774
775
776 @property(nonatomic, readwrite) int64_t rmqId;
777
778 @property(nonatomic, readwrite) BOOL hasRmqId;
779
780 @property(nonatomic, readwrite) GtalkMessageStanza_MessageType type;
781
782 @property(nonatomic, readwrite) BOOL hasType;
783
784 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
785 /** Test to see if @c id_p has been set. */
786 @property(nonatomic, readwrite) BOOL hasId_p;
787
788
789 @property(nonatomic, readwrite, copy, null_resettable) NSString *from;
790 /** Test to see if @c from has been set. */
791 @property(nonatomic, readwrite) BOOL hasFrom;
792
793
794 @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
795 /** Test to see if @c to has been set. */
796 @property(nonatomic, readwrite) BOOL hasTo;
797
798
799 @property(nonatomic, readwrite, copy, null_resettable) NSString *subject;
800 /** Test to see if @c subject has been set. */
801 @property(nonatomic, readwrite) BOOL hasSubject;
802
803
804 @property(nonatomic, readwrite, copy, null_resettable) NSString *body;
805 /** Test to see if @c body has been set. */
806 @property(nonatomic, readwrite) BOOL hasBody;
807
808
809 @property(nonatomic, readwrite, copy, null_resettable) NSString *thread;
810 /** Test to see if @c thread has been set. */
811 @property(nonatomic, readwrite) BOOL hasThread;
812
813
814 @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
815 /** Test to see if @c error has been set. */
816 @property(nonatomic, readwrite) BOOL hasError;
817
818
819 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkExtension*> *extensionArray;
820 /** The number of items in @c extensionArray without causing the array to be created. */
821 @property(nonatomic, readonly) NSUInteger extensionArray_Count;
822
823
824 @property(nonatomic, readwrite) BOOL nosave;
825
826 @property(nonatomic, readwrite) BOOL hasNosave;
827
828 @property(nonatomic, readwrite) int64_t timestamp;
829
830 @property(nonatomic, readwrite) BOOL hasTimestamp;
831
832 @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
833 /** Test to see if @c persistentId has been set. */
834 @property(nonatomic, readwrite) BOOL hasPersistentId;
835
836
837 @property(nonatomic, readwrite) int32_t streamId;
838
839 @property(nonatomic, readwrite) BOOL hasStreamId;
840
841 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
842
843 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
844
845 @property(nonatomic, readwrite) BOOL read;
846
847 @property(nonatomic, readwrite) BOOL hasRead;
848
849 @property(nonatomic, readwrite) int64_t accountId;
850
851 @property(nonatomic, readwrite) BOOL hasAccountId;
852 @end
853
854 #pragma mark - GtalkPresenceStanza
855
856 typedef GPB_ENUM(GtalkPresenceStanza_FieldNumber) {
857   GtalkPresenceStanza_FieldNumber_RmqId = 1,
858   GtalkPresenceStanza_FieldNumber_Type = 2,
859   GtalkPresenceStanza_FieldNumber_Id_p = 3,
860   GtalkPresenceStanza_FieldNumber_From = 4,
861   GtalkPresenceStanza_FieldNumber_To = 5,
862   GtalkPresenceStanza_FieldNumber_Show = 6,
863   GtalkPresenceStanza_FieldNumber_Status = 7,
864   GtalkPresenceStanza_FieldNumber_Priority = 8,
865   GtalkPresenceStanza_FieldNumber_Error = 9,
866   GtalkPresenceStanza_FieldNumber_ExtensionArray = 10,
867   GtalkPresenceStanza_FieldNumber_Client = 11,
868   GtalkPresenceStanza_FieldNumber_AvatarHash = 12,
869   GtalkPresenceStanza_FieldNumber_PersistentId = 13,
870   GtalkPresenceStanza_FieldNumber_StreamId = 14,
871   GtalkPresenceStanza_FieldNumber_LastStreamIdReceived = 15,
872   GtalkPresenceStanza_FieldNumber_CapabilitiesFlags = 16,
873   GtalkPresenceStanza_FieldNumber_AccountId = 17,
874 };
875
876 @interface GtalkPresenceStanza : GPBMessage
877
878
879 @property(nonatomic, readwrite) int64_t rmqId;
880
881 @property(nonatomic, readwrite) BOOL hasRmqId;
882
883 @property(nonatomic, readwrite) GtalkPresenceStanza_PresenceType type;
884
885 @property(nonatomic, readwrite) BOOL hasType;
886
887 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
888 /** Test to see if @c id_p has been set. */
889 @property(nonatomic, readwrite) BOOL hasId_p;
890
891
892 @property(nonatomic, readwrite, copy, null_resettable) NSString *from;
893 /** Test to see if @c from has been set. */
894 @property(nonatomic, readwrite) BOOL hasFrom;
895
896
897 @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
898 /** Test to see if @c to has been set. */
899 @property(nonatomic, readwrite) BOOL hasTo;
900
901
902 @property(nonatomic, readwrite) GtalkPresenceStanza_ShowType show;
903
904 @property(nonatomic, readwrite) BOOL hasShow;
905
906 @property(nonatomic, readwrite, copy, null_resettable) NSString *status;
907 /** Test to see if @c status has been set. */
908 @property(nonatomic, readwrite) BOOL hasStatus;
909
910
911 @property(nonatomic, readwrite) int32_t priority;
912
913 @property(nonatomic, readwrite) BOOL hasPriority;
914
915 @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
916 /** Test to see if @c error has been set. */
917 @property(nonatomic, readwrite) BOOL hasError;
918
919
920 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkExtension*> *extensionArray;
921 /** The number of items in @c extensionArray without causing the array to be created. */
922 @property(nonatomic, readonly) NSUInteger extensionArray_Count;
923
924
925 @property(nonatomic, readwrite) GtalkPresenceStanza_ClientType client;
926
927 @property(nonatomic, readwrite) BOOL hasClient;
928
929 @property(nonatomic, readwrite, copy, null_resettable) NSString *avatarHash;
930 /** Test to see if @c avatarHash has been set. */
931 @property(nonatomic, readwrite) BOOL hasAvatarHash;
932
933
934 @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
935 /** Test to see if @c persistentId has been set. */
936 @property(nonatomic, readwrite) BOOL hasPersistentId;
937
938
939 @property(nonatomic, readwrite) int32_t streamId;
940
941 @property(nonatomic, readwrite) BOOL hasStreamId;
942
943 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
944
945 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
946
947 @property(nonatomic, readwrite) int32_t capabilitiesFlags;
948
949 @property(nonatomic, readwrite) BOOL hasCapabilitiesFlags;
950
951 @property(nonatomic, readwrite) int64_t accountId;
952
953 @property(nonatomic, readwrite) BOOL hasAccountId;
954 @end
955
956 #pragma mark - GtalkBatchPresenceStanza
957
958 typedef GPB_ENUM(GtalkBatchPresenceStanza_FieldNumber) {
959   GtalkBatchPresenceStanza_FieldNumber_Id_p = 1,
960   GtalkBatchPresenceStanza_FieldNumber_To = 2,
961   GtalkBatchPresenceStanza_FieldNumber_PresenceArray = 3,
962   GtalkBatchPresenceStanza_FieldNumber_PersistentId = 4,
963   GtalkBatchPresenceStanza_FieldNumber_StreamId = 5,
964   GtalkBatchPresenceStanza_FieldNumber_LastStreamIdReceived = 6,
965   GtalkBatchPresenceStanza_FieldNumber_AccountId = 7,
966   GtalkBatchPresenceStanza_FieldNumber_Type = 8,
967   GtalkBatchPresenceStanza_FieldNumber_Error = 9,
968 };
969
970 @interface GtalkBatchPresenceStanza : GPBMessage
971
972
973 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
974 /** Test to see if @c id_p has been set. */
975 @property(nonatomic, readwrite) BOOL hasId_p;
976
977
978 @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
979 /** Test to see if @c to has been set. */
980 @property(nonatomic, readwrite) BOOL hasTo;
981
982
983 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkPresenceStanza*> *presenceArray;
984 /** The number of items in @c presenceArray without causing the array to be created. */
985 @property(nonatomic, readonly) NSUInteger presenceArray_Count;
986
987
988 @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
989 /** Test to see if @c persistentId has been set. */
990 @property(nonatomic, readwrite) BOOL hasPersistentId;
991
992
993 @property(nonatomic, readwrite) int32_t streamId;
994
995 @property(nonatomic, readwrite) BOOL hasStreamId;
996
997 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
998
999 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
1000
1001 @property(nonatomic, readwrite) int64_t accountId;
1002
1003 @property(nonatomic, readwrite) BOOL hasAccountId;
1004
1005 @property(nonatomic, readwrite) GtalkBatchPresenceStanza_Type type;
1006
1007 @property(nonatomic, readwrite) BOOL hasType;
1008
1009 @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
1010 /** Test to see if @c error has been set. */
1011 @property(nonatomic, readwrite) BOOL hasError;
1012
1013 @end
1014
1015 #pragma mark - GtalkIqStanza
1016
1017 typedef GPB_ENUM(GtalkIqStanza_FieldNumber) {
1018   GtalkIqStanza_FieldNumber_RmqId = 1,
1019   GtalkIqStanza_FieldNumber_Type = 2,
1020   GtalkIqStanza_FieldNumber_Id_p = 3,
1021   GtalkIqStanza_FieldNumber_From = 4,
1022   GtalkIqStanza_FieldNumber_To = 5,
1023   GtalkIqStanza_FieldNumber_Error = 6,
1024   GtalkIqStanza_FieldNumber_Extension = 7,
1025   GtalkIqStanza_FieldNumber_PersistentId = 8,
1026   GtalkIqStanza_FieldNumber_StreamId = 9,
1027   GtalkIqStanza_FieldNumber_LastStreamIdReceived = 10,
1028   GtalkIqStanza_FieldNumber_AccountId = 11,
1029   GtalkIqStanza_FieldNumber_Status = 12,
1030 };
1031
1032 @interface GtalkIqStanza : GPBMessage
1033
1034
1035 @property(nonatomic, readwrite) int64_t rmqId;
1036
1037 @property(nonatomic, readwrite) BOOL hasRmqId;
1038
1039 @property(nonatomic, readwrite) GtalkIqStanza_IqType type;
1040
1041 @property(nonatomic, readwrite) BOOL hasType;
1042
1043 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
1044 /** Test to see if @c id_p has been set. */
1045 @property(nonatomic, readwrite) BOOL hasId_p;
1046
1047
1048 @property(nonatomic, readwrite, copy, null_resettable) NSString *from;
1049 /** Test to see if @c from has been set. */
1050 @property(nonatomic, readwrite) BOOL hasFrom;
1051
1052
1053 @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
1054 /** Test to see if @c to has been set. */
1055 @property(nonatomic, readwrite) BOOL hasTo;
1056
1057
1058 @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
1059 /** Test to see if @c error has been set. */
1060 @property(nonatomic, readwrite) BOOL hasError;
1061
1062
1063 @property(nonatomic, readwrite, strong, null_resettable) GtalkExtension *extension;
1064 /** Test to see if @c extension has been set. */
1065 @property(nonatomic, readwrite) BOOL hasExtension;
1066
1067
1068 @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
1069 /** Test to see if @c persistentId has been set. */
1070 @property(nonatomic, readwrite) BOOL hasPersistentId;
1071
1072
1073 @property(nonatomic, readwrite) int32_t streamId;
1074
1075 @property(nonatomic, readwrite) BOOL hasStreamId;
1076
1077 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
1078
1079 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
1080
1081 @property(nonatomic, readwrite) int64_t accountId;
1082
1083 @property(nonatomic, readwrite) BOOL hasAccountId;
1084
1085 @property(nonatomic, readwrite) int64_t status;
1086
1087 @property(nonatomic, readwrite) BOOL hasStatus;
1088 @end
1089
1090 #pragma mark - GtalkAppData
1091
1092 typedef GPB_ENUM(GtalkAppData_FieldNumber) {
1093   GtalkAppData_FieldNumber_Key = 1,
1094   GtalkAppData_FieldNumber_Value = 2,
1095 };
1096
1097 @interface GtalkAppData : GPBMessage
1098
1099
1100 @property(nonatomic, readwrite, copy, null_resettable) NSString *key;
1101 /** Test to see if @c key has been set. */
1102 @property(nonatomic, readwrite) BOOL hasKey;
1103
1104
1105 @property(nonatomic, readwrite, copy, null_resettable) NSString *value;
1106 /** Test to see if @c value has been set. */
1107 @property(nonatomic, readwrite) BOOL hasValue;
1108
1109 @end
1110
1111 #pragma mark - GtalkDataMessageStanza
1112
1113 typedef GPB_ENUM(GtalkDataMessageStanza_FieldNumber) {
1114   GtalkDataMessageStanza_FieldNumber_RmqId = 1,
1115   GtalkDataMessageStanza_FieldNumber_Id_p = 2,
1116   GtalkDataMessageStanza_FieldNumber_From = 3,
1117   GtalkDataMessageStanza_FieldNumber_To = 4,
1118   GtalkDataMessageStanza_FieldNumber_Category = 5,
1119   GtalkDataMessageStanza_FieldNumber_Token = 6,
1120   GtalkDataMessageStanza_FieldNumber_AppDataArray = 7,
1121   GtalkDataMessageStanza_FieldNumber_FromTrustedServer = 8,
1122   GtalkDataMessageStanza_FieldNumber_PersistentId = 9,
1123   GtalkDataMessageStanza_FieldNumber_StreamId = 10,
1124   GtalkDataMessageStanza_FieldNumber_LastStreamIdReceived = 11,
1125   GtalkDataMessageStanza_FieldNumber_Permission = 12,
1126   GtalkDataMessageStanza_FieldNumber_RegId = 13,
1127   GtalkDataMessageStanza_FieldNumber_PkgSignature = 14,
1128   GtalkDataMessageStanza_FieldNumber_ClientId = 15,
1129   GtalkDataMessageStanza_FieldNumber_DeviceUserId = 16,
1130   GtalkDataMessageStanza_FieldNumber_Ttl = 17,
1131   GtalkDataMessageStanza_FieldNumber_Sent = 18,
1132   GtalkDataMessageStanza_FieldNumber_Queued = 19,
1133   GtalkDataMessageStanza_FieldNumber_Status = 20,
1134   GtalkDataMessageStanza_FieldNumber_RawData = 21,
1135   GtalkDataMessageStanza_FieldNumber_MaxDelay = 22,
1136   GtalkDataMessageStanza_FieldNumber_ActualDelay = 23,
1137   GtalkDataMessageStanza_FieldNumber_ImmediateAck = 24,
1138   GtalkDataMessageStanza_FieldNumber_DeliveryReceiptRequested = 25,
1139   GtalkDataMessageStanza_FieldNumber_ExternalMessageId = 26,
1140   GtalkDataMessageStanza_FieldNumber_Flags = 27,
1141   GtalkDataMessageStanza_FieldNumber_CellTower = 28,
1142   GtalkDataMessageStanza_FieldNumber_Priority = 29,
1143 };
1144
1145 @interface GtalkDataMessageStanza : GPBMessage
1146
1147
1148 @property(nonatomic, readwrite) int64_t rmqId;
1149
1150 @property(nonatomic, readwrite) BOOL hasRmqId;
1151
1152 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
1153 /** Test to see if @c id_p has been set. */
1154 @property(nonatomic, readwrite) BOOL hasId_p;
1155
1156
1157 @property(nonatomic, readwrite, copy, null_resettable) NSString *from;
1158 /** Test to see if @c from has been set. */
1159 @property(nonatomic, readwrite) BOOL hasFrom;
1160
1161
1162 @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
1163 /** Test to see if @c to has been set. */
1164 @property(nonatomic, readwrite) BOOL hasTo;
1165
1166
1167 @property(nonatomic, readwrite, copy, null_resettable) NSString *category;
1168 /** Test to see if @c category has been set. */
1169 @property(nonatomic, readwrite) BOOL hasCategory;
1170
1171
1172 @property(nonatomic, readwrite, copy, null_resettable) NSString *token;
1173 /** Test to see if @c token has been set. */
1174 @property(nonatomic, readwrite) BOOL hasToken;
1175
1176
1177 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkAppData*> *appDataArray;
1178 /** The number of items in @c appDataArray without causing the array to be created. */
1179 @property(nonatomic, readonly) NSUInteger appDataArray_Count;
1180
1181
1182 @property(nonatomic, readwrite) BOOL fromTrustedServer;
1183
1184 @property(nonatomic, readwrite) BOOL hasFromTrustedServer;
1185
1186 @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
1187 /** Test to see if @c persistentId has been set. */
1188 @property(nonatomic, readwrite) BOOL hasPersistentId;
1189
1190
1191 @property(nonatomic, readwrite) int32_t streamId;
1192
1193 @property(nonatomic, readwrite) BOOL hasStreamId;
1194
1195 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
1196
1197 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
1198
1199 @property(nonatomic, readwrite, copy, null_resettable) NSString *permission;
1200 /** Test to see if @c permission has been set. */
1201 @property(nonatomic, readwrite) BOOL hasPermission;
1202
1203
1204 @property(nonatomic, readwrite, copy, null_resettable) NSString *regId;
1205 /** Test to see if @c regId has been set. */
1206 @property(nonatomic, readwrite) BOOL hasRegId;
1207
1208
1209 @property(nonatomic, readwrite, copy, null_resettable) NSString *pkgSignature;
1210 /** Test to see if @c pkgSignature has been set. */
1211 @property(nonatomic, readwrite) BOOL hasPkgSignature;
1212
1213
1214 @property(nonatomic, readwrite, copy, null_resettable) NSString *clientId;
1215 /** Test to see if @c clientId has been set. */
1216 @property(nonatomic, readwrite) BOOL hasClientId;
1217
1218
1219 @property(nonatomic, readwrite) int64_t deviceUserId;
1220
1221 @property(nonatomic, readwrite) BOOL hasDeviceUserId;
1222
1223 @property(nonatomic, readwrite) int32_t ttl;
1224
1225 @property(nonatomic, readwrite) BOOL hasTtl;
1226
1227 @property(nonatomic, readwrite) int64_t sent;
1228
1229 @property(nonatomic, readwrite) BOOL hasSent;
1230
1231 @property(nonatomic, readwrite) int32_t queued;
1232
1233 @property(nonatomic, readwrite) BOOL hasQueued;
1234
1235 @property(nonatomic, readwrite) int64_t status;
1236
1237 @property(nonatomic, readwrite) BOOL hasStatus;
1238
1239 @property(nonatomic, readwrite, copy, null_resettable) NSData *rawData;
1240 /** Test to see if @c rawData has been set. */
1241 @property(nonatomic, readwrite) BOOL hasRawData;
1242
1243
1244 @property(nonatomic, readwrite) int32_t maxDelay;
1245
1246 @property(nonatomic, readwrite) BOOL hasMaxDelay;
1247
1248 @property(nonatomic, readwrite) int32_t actualDelay;
1249
1250 @property(nonatomic, readwrite) BOOL hasActualDelay;
1251
1252 @property(nonatomic, readwrite) BOOL immediateAck;
1253
1254 @property(nonatomic, readwrite) BOOL hasImmediateAck;
1255
1256 @property(nonatomic, readwrite) BOOL deliveryReceiptRequested;
1257
1258 @property(nonatomic, readwrite) BOOL hasDeliveryReceiptRequested;
1259
1260 @property(nonatomic, readwrite, copy, null_resettable) NSString *externalMessageId;
1261 /** Test to see if @c externalMessageId has been set. */
1262 @property(nonatomic, readwrite) BOOL hasExternalMessageId;
1263
1264
1265 @property(nonatomic, readwrite) int64_t flags;
1266
1267 @property(nonatomic, readwrite) BOOL hasFlags;
1268
1269 @property(nonatomic, readwrite, strong, null_resettable) GtalkCellTower *cellTower DEPRECATED_ATTRIBUTE;
1270 /** Test to see if @c cellTower has been set. */
1271 @property(nonatomic, readwrite) BOOL hasCellTower DEPRECATED_ATTRIBUTE;
1272
1273
1274 @property(nonatomic, readwrite) int32_t priority;
1275
1276 @property(nonatomic, readwrite) BOOL hasPriority;
1277 @end
1278
1279 #pragma mark - GtalkTalkMetadata
1280
1281 typedef GPB_ENUM(GtalkTalkMetadata_FieldNumber) {
1282   GtalkTalkMetadata_FieldNumber_Foreground = 1,
1283 };
1284
1285 @interface GtalkTalkMetadata : GPBMessage
1286
1287
1288 @property(nonatomic, readwrite) BOOL foreground;
1289
1290 @property(nonatomic, readwrite) BOOL hasForeground;
1291 @end
1292
1293 #pragma mark - GtalkCellTower
1294
1295 typedef GPB_ENUM(GtalkCellTower_FieldNumber) {
1296   GtalkCellTower_FieldNumber_Id_p = 1,
1297   GtalkCellTower_FieldNumber_KnownCongestionStatus = 2,
1298 };
1299
1300 DEPRECATED_ATTRIBUTE
1301 @interface GtalkCellTower : GPBMessage
1302
1303
1304 @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
1305 /** Test to see if @c id_p has been set. */
1306 @property(nonatomic, readwrite) BOOL hasId_p;
1307
1308
1309 @property(nonatomic, readwrite) int32_t knownCongestionStatus;
1310
1311 @property(nonatomic, readwrite) BOOL hasKnownCongestionStatus;
1312 @end
1313
1314 #pragma mark - GtalkClientEvent
1315
1316 typedef GPB_ENUM(GtalkClientEvent_FieldNumber) {
1317   GtalkClientEvent_FieldNumber_Type = 1,
1318   GtalkClientEvent_FieldNumber_NumberDiscardedEvents = 100,
1319   GtalkClientEvent_FieldNumber_NetworkType = 200,
1320   GtalkClientEvent_FieldNumber_NetworkPort = 201,
1321   GtalkClientEvent_FieldNumber_TimeConnectionStartedMs = 202,
1322   GtalkClientEvent_FieldNumber_TimeConnectionEndedMs = 203,
1323   GtalkClientEvent_FieldNumber_ErrorCode = 204,
1324   GtalkClientEvent_FieldNumber_TimeConnectionEstablishedMs = 300,
1325   GtalkClientEvent_FieldNumber_McsReconnectAction = 400,
1326 };
1327
1328 @interface GtalkClientEvent : GPBMessage
1329
1330
1331 @property(nonatomic, readwrite) GtalkClientEvent_Type type;
1332
1333 @property(nonatomic, readwrite) BOOL hasType;
1334
1335 @property(nonatomic, readwrite) uint32_t numberDiscardedEvents;
1336
1337 @property(nonatomic, readwrite) BOOL hasNumberDiscardedEvents;
1338
1339 @property(nonatomic, readwrite) int32_t networkType;
1340
1341 @property(nonatomic, readwrite) BOOL hasNetworkType;
1342
1343 @property(nonatomic, readwrite) int32_t networkPort;
1344
1345 @property(nonatomic, readwrite) BOOL hasNetworkPort;
1346
1347 @property(nonatomic, readwrite) uint64_t timeConnectionStartedMs;
1348
1349 @property(nonatomic, readwrite) BOOL hasTimeConnectionStartedMs;
1350
1351 @property(nonatomic, readwrite) uint64_t timeConnectionEndedMs;
1352
1353 @property(nonatomic, readwrite) BOOL hasTimeConnectionEndedMs;
1354
1355 @property(nonatomic, readwrite) int32_t errorCode;
1356
1357 @property(nonatomic, readwrite) BOOL hasErrorCode;
1358
1359 @property(nonatomic, readwrite) uint64_t timeConnectionEstablishedMs;
1360
1361 @property(nonatomic, readwrite) BOOL hasTimeConnectionEstablishedMs;
1362
1363 @property(nonatomic, readwrite) GtalkClientEvent_McsReconnectAction mcsReconnectAction;
1364
1365 @property(nonatomic, readwrite) BOOL hasMcsReconnectAction;
1366 @end
1367
1368 NS_ASSUME_NONNULL_END
1369
1370 CF_EXTERN_C_END
1371
1372 #pragma clang diagnostic pop
1373
1374 // @@protoc_insertion_point(global_scope)