2 * Copyright 2017 Google
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 // Generated by the protocol buffer compiler. DO NOT EDIT!
18 // source: buzz/mobile/proto/gtalk_core.proto
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
26 #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
27 #import <Protobuf/GPBProtocolBuffers.h>
29 #import "GPBProtocolBuffers.h"
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.
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.
39 // @@protoc_insertion_point(imports)
41 #pragma clang diagnostic push
42 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
47 @class GtalkCellTower;
48 @class GtalkClientEvent;
49 @class GtalkErrorInfo;
50 @class GtalkExtension;
51 @class GtalkHeartbeatConfig;
52 @class GtalkHeartbeatStat;
53 @class GtalkPresenceStanza;
56 NS_ASSUME_NONNULL_BEGIN
58 #pragma mark - Enum GtalkLoginRequest_AuthService
60 typedef GPB_ENUM(GtalkLoginRequest_AuthService) {
61 GtalkLoginRequest_AuthService_Mail = 0,
62 GtalkLoginRequest_AuthService_AndroidCloudToDeviceMessage = 1,
63 GtalkLoginRequest_AuthService_AndroidId = 2,
66 GPBEnumDescriptor *GtalkLoginRequest_AuthService_EnumDescriptor(void);
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.
72 BOOL GtalkLoginRequest_AuthService_IsValidValue(int32_t value);
74 #pragma mark - Enum GtalkMessageStanza_MessageType
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,
84 GPBEnumDescriptor *GtalkMessageStanza_MessageType_EnumDescriptor(void);
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.
90 BOOL GtalkMessageStanza_MessageType_IsValidValue(int32_t value);
92 #pragma mark - Enum GtalkPresenceStanza_PresenceType
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,
104 GPBEnumDescriptor *GtalkPresenceStanza_PresenceType_EnumDescriptor(void);
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.
110 BOOL GtalkPresenceStanza_PresenceType_IsValidValue(int32_t value);
112 #pragma mark - Enum GtalkPresenceStanza_ShowType
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,
121 GPBEnumDescriptor *GtalkPresenceStanza_ShowType_EnumDescriptor(void);
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.
127 BOOL GtalkPresenceStanza_ShowType_IsValidValue(int32_t value);
129 #pragma mark - Enum GtalkPresenceStanza_ClientType
131 typedef GPB_ENUM(GtalkPresenceStanza_ClientType) {
132 GtalkPresenceStanza_ClientType_Mobile = 0,
133 GtalkPresenceStanza_ClientType_Android = 1,
136 GPBEnumDescriptor *GtalkPresenceStanza_ClientType_EnumDescriptor(void);
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.
142 BOOL GtalkPresenceStanza_ClientType_IsValidValue(int32_t value);
144 #pragma mark - Enum GtalkPresenceStanza_CapabilitiesFlags
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,
153 GPBEnumDescriptor *GtalkPresenceStanza_CapabilitiesFlags_EnumDescriptor(void);
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.
159 BOOL GtalkPresenceStanza_CapabilitiesFlags_IsValidValue(int32_t value);
161 #pragma mark - Enum GtalkBatchPresenceStanza_Type
163 typedef GPB_ENUM(GtalkBatchPresenceStanza_Type) {
164 GtalkBatchPresenceStanza_Type_Get = 0,
165 GtalkBatchPresenceStanza_Type_Set = 1,
168 GPBEnumDescriptor *GtalkBatchPresenceStanza_Type_EnumDescriptor(void);
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.
174 BOOL GtalkBatchPresenceStanza_Type_IsValidValue(int32_t value);
176 #pragma mark - Enum GtalkIqStanza_IqType
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,
185 GPBEnumDescriptor *GtalkIqStanza_IqType_EnumDescriptor(void);
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.
191 BOOL GtalkIqStanza_IqType_IsValidValue(int32_t value);
193 #pragma mark - Enum GtalkClientEvent_Type
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,
205 GPBEnumDescriptor *GtalkClientEvent_Type_EnumDescriptor(void);
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.
211 BOOL GtalkClientEvent_Type_IsValidValue(int32_t value);
213 #pragma mark - Enum GtalkClientEvent_McsReconnectAction
215 typedef GPB_ENUM(GtalkClientEvent_McsReconnectAction) {
216 GtalkClientEvent_McsReconnectAction_None = 0,
217 GtalkClientEvent_McsReconnectAction_NotConnected = 1,
218 GtalkClientEvent_McsReconnectAction_TooSoon = 2,
221 GPBEnumDescriptor *GtalkClientEvent_McsReconnectAction_EnumDescriptor(void);
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.
227 BOOL GtalkClientEvent_McsReconnectAction_IsValidValue(int32_t value);
229 #pragma mark - GtalkGtalkCoreRoot
232 * Exposes the extension registry for this file.
234 * The base class provides:
236 * + (GPBExtensionRegistry *)extensionRegistry;
238 * which is a @c GPBExtensionRegistry that includes all the extensions defined by
239 * this file and all files that it depends on.
241 @interface GtalkGtalkCoreRoot : GPBRootObject
244 #pragma mark - GtalkHeartbeatPing
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,
254 @interface GtalkHeartbeatPing : GPBMessage
257 @property(nonatomic, readwrite) int32_t streamId;
259 @property(nonatomic, readwrite) BOOL hasStreamId;
261 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
263 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
265 @property(nonatomic, readwrite) int64_t status;
267 @property(nonatomic, readwrite) BOOL hasStatus;
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;
274 @property(nonatomic, readwrite) int32_t intervalMs;
276 @property(nonatomic, readwrite) BOOL hasIntervalMs;
279 #pragma mark - GtalkHeartbeatAck
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,
289 @interface GtalkHeartbeatAck : GPBMessage
292 @property(nonatomic, readwrite) int32_t streamId;
294 @property(nonatomic, readwrite) BOOL hasStreamId;
296 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
298 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
300 @property(nonatomic, readwrite) int64_t status;
302 @property(nonatomic, readwrite) BOOL hasStatus;
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;
309 @property(nonatomic, readwrite) int32_t intervalMs;
311 @property(nonatomic, readwrite) BOOL hasIntervalMs;
314 #pragma mark - GtalkErrorInfo
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,
323 @interface GtalkErrorInfo : GPBMessage
326 @property(nonatomic, readwrite) int32_t code;
328 @property(nonatomic, readwrite) BOOL hasCode;
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;
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;
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;
346 #pragma mark - GtalkSetting
348 typedef GPB_ENUM(GtalkSetting_FieldNumber) {
349 GtalkSetting_FieldNumber_Name = 1,
350 GtalkSetting_FieldNumber_Value = 2,
353 @interface GtalkSetting : GPBMessage
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;
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;
367 #pragma mark - GtalkHeartbeatStat
369 typedef GPB_ENUM(GtalkHeartbeatStat_FieldNumber) {
370 GtalkHeartbeatStat_FieldNumber_Ip = 1,
371 GtalkHeartbeatStat_FieldNumber_Timeout = 2,
372 GtalkHeartbeatStat_FieldNumber_IntervalMs = 3,
375 @interface GtalkHeartbeatStat : GPBMessage
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;
383 @property(nonatomic, readwrite) BOOL timeout;
385 @property(nonatomic, readwrite) BOOL hasTimeout;
387 @property(nonatomic, readwrite) int32_t intervalMs;
389 @property(nonatomic, readwrite) BOOL hasIntervalMs;
392 #pragma mark - GtalkHeartbeatConfig
394 typedef GPB_ENUM(GtalkHeartbeatConfig_FieldNumber) {
395 GtalkHeartbeatConfig_FieldNumber_UploadStat = 1,
396 GtalkHeartbeatConfig_FieldNumber_Ip = 2,
397 GtalkHeartbeatConfig_FieldNumber_IntervalMs = 3,
400 @interface GtalkHeartbeatConfig : GPBMessage
403 @property(nonatomic, readwrite) BOOL uploadStat;
405 @property(nonatomic, readwrite) BOOL hasUploadStat;
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;
412 @property(nonatomic, readwrite) int32_t intervalMs;
414 @property(nonatomic, readwrite) BOOL hasIntervalMs;
417 #pragma mark - GtalkLoginRequest
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,
445 @interface GtalkLoginRequest : GPBMessage
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;
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;
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;
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;
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;
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;
478 @property(nonatomic, readwrite) int64_t lastRmqId;
480 @property(nonatomic, readwrite) BOOL hasLastRmqId;
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;
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;
492 @property(nonatomic, readwrite) BOOL includeStreamIds;
494 @property(nonatomic, readwrite) BOOL hasIncludeStreamIds;
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;
501 @property(nonatomic, readwrite) BOOL useRmq2;
503 @property(nonatomic, readwrite) BOOL hasUseRmq2;
505 @property(nonatomic, readwrite) int64_t accountId;
507 @property(nonatomic, readwrite) BOOL hasAccountId;
509 @property(nonatomic, readwrite) GtalkLoginRequest_AuthService authService;
511 @property(nonatomic, readwrite) BOOL hasAuthService;
513 @property(nonatomic, readwrite) int32_t networkType;
515 @property(nonatomic, readwrite) BOOL hasNetworkType;
517 @property(nonatomic, readwrite) int64_t status;
519 @property(nonatomic, readwrite) BOOL hasStatus;
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;
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;
531 @property(nonatomic, readwrite) uint64_t gcmStartTimeMs;
533 @property(nonatomic, readwrite) BOOL hasGcmStartTimeMs;
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;
540 @property(nonatomic, readwrite) BOOL onFallback;
542 @property(nonatomic, readwrite) BOOL hasOnFallback;
544 @property(nonatomic, readwrite) BOOL noPendingUpstream;
546 @property(nonatomic, readwrite) BOOL hasNoPendingUpstream;
548 @property(nonatomic, readwrite) int32_t reconnectRequestId;
550 @property(nonatomic, readwrite) BOOL hasReconnectRequestId;
553 #pragma mark - GtalkLoginResponse
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,
566 @interface GtalkLoginResponse : GPBMessage
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;
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;
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;
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;
589 @property(nonatomic, readwrite) int32_t streamId;
591 @property(nonatomic, readwrite) BOOL hasStreamId;
593 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
595 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
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;
602 @property(nonatomic, readwrite) int64_t serverTimestamp;
604 @property(nonatomic, readwrite) BOOL hasServerTimestamp;
607 #pragma mark - GtalkBindAccountRequest
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,
621 @interface GtalkBindAccountRequest : GPBMessage
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;
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;
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;
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;
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;
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;
654 @property(nonatomic, readwrite) int32_t streamId;
656 @property(nonatomic, readwrite) BOOL hasStreamId;
658 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
660 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
662 @property(nonatomic, readwrite) int64_t accountId;
664 @property(nonatomic, readwrite) BOOL hasAccountId;
667 #pragma mark - GtalkBindAccountResponse
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,
677 @interface GtalkBindAccountResponse : GPBMessage
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;
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;
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;
695 @property(nonatomic, readwrite) int32_t streamId;
697 @property(nonatomic, readwrite) BOOL hasStreamId;
699 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
701 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
704 #pragma mark - GtalkStreamErrorStanza
706 typedef GPB_ENUM(GtalkStreamErrorStanza_FieldNumber) {
707 GtalkStreamErrorStanza_FieldNumber_Type = 1,
708 GtalkStreamErrorStanza_FieldNumber_Text = 2,
711 @interface GtalkStreamErrorStanza : GPBMessage
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;
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;
725 #pragma mark - GtalkClose
727 @interface GtalkClose : GPBMessage
731 #pragma mark - GtalkExtension
733 typedef GPB_ENUM(GtalkExtension_FieldNumber) {
734 GtalkExtension_FieldNumber_Id_p = 1,
735 GtalkExtension_FieldNumber_Data_p = 2,
738 @interface GtalkExtension : GPBMessage
741 @property(nonatomic, readwrite) int32_t id_p;
743 @property(nonatomic, readwrite) BOOL hasId_p;
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;
751 #pragma mark - GtalkMessageStanza
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,
773 @interface GtalkMessageStanza : GPBMessage
776 @property(nonatomic, readwrite) int64_t rmqId;
778 @property(nonatomic, readwrite) BOOL hasRmqId;
780 @property(nonatomic, readwrite) GtalkMessageStanza_MessageType type;
782 @property(nonatomic, readwrite) BOOL hasType;
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;
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;
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;
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;
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;
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;
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;
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;
824 @property(nonatomic, readwrite) BOOL nosave;
826 @property(nonatomic, readwrite) BOOL hasNosave;
828 @property(nonatomic, readwrite) int64_t timestamp;
830 @property(nonatomic, readwrite) BOOL hasTimestamp;
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;
837 @property(nonatomic, readwrite) int32_t streamId;
839 @property(nonatomic, readwrite) BOOL hasStreamId;
841 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
843 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
845 @property(nonatomic, readwrite) BOOL read;
847 @property(nonatomic, readwrite) BOOL hasRead;
849 @property(nonatomic, readwrite) int64_t accountId;
851 @property(nonatomic, readwrite) BOOL hasAccountId;
854 #pragma mark - GtalkPresenceStanza
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,
876 @interface GtalkPresenceStanza : GPBMessage
879 @property(nonatomic, readwrite) int64_t rmqId;
881 @property(nonatomic, readwrite) BOOL hasRmqId;
883 @property(nonatomic, readwrite) GtalkPresenceStanza_PresenceType type;
885 @property(nonatomic, readwrite) BOOL hasType;
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;
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;
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;
902 @property(nonatomic, readwrite) GtalkPresenceStanza_ShowType show;
904 @property(nonatomic, readwrite) BOOL hasShow;
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;
911 @property(nonatomic, readwrite) int32_t priority;
913 @property(nonatomic, readwrite) BOOL hasPriority;
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;
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;
925 @property(nonatomic, readwrite) GtalkPresenceStanza_ClientType client;
927 @property(nonatomic, readwrite) BOOL hasClient;
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;
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;
939 @property(nonatomic, readwrite) int32_t streamId;
941 @property(nonatomic, readwrite) BOOL hasStreamId;
943 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
945 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
947 @property(nonatomic, readwrite) int32_t capabilitiesFlags;
949 @property(nonatomic, readwrite) BOOL hasCapabilitiesFlags;
951 @property(nonatomic, readwrite) int64_t accountId;
953 @property(nonatomic, readwrite) BOOL hasAccountId;
956 #pragma mark - GtalkBatchPresenceStanza
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,
970 @interface GtalkBatchPresenceStanza : GPBMessage
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;
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;
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;
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;
993 @property(nonatomic, readwrite) int32_t streamId;
995 @property(nonatomic, readwrite) BOOL hasStreamId;
997 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
999 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
1001 @property(nonatomic, readwrite) int64_t accountId;
1003 @property(nonatomic, readwrite) BOOL hasAccountId;
1005 @property(nonatomic, readwrite) GtalkBatchPresenceStanza_Type type;
1007 @property(nonatomic, readwrite) BOOL hasType;
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;
1015 #pragma mark - GtalkIqStanza
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,
1032 @interface GtalkIqStanza : GPBMessage
1035 @property(nonatomic, readwrite) int64_t rmqId;
1037 @property(nonatomic, readwrite) BOOL hasRmqId;
1039 @property(nonatomic, readwrite) GtalkIqStanza_IqType type;
1041 @property(nonatomic, readwrite) BOOL hasType;
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;
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;
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;
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;
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;
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;
1073 @property(nonatomic, readwrite) int32_t streamId;
1075 @property(nonatomic, readwrite) BOOL hasStreamId;
1077 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
1079 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
1081 @property(nonatomic, readwrite) int64_t accountId;
1083 @property(nonatomic, readwrite) BOOL hasAccountId;
1085 @property(nonatomic, readwrite) int64_t status;
1087 @property(nonatomic, readwrite) BOOL hasStatus;
1090 #pragma mark - GtalkAppData
1092 typedef GPB_ENUM(GtalkAppData_FieldNumber) {
1093 GtalkAppData_FieldNumber_Key = 1,
1094 GtalkAppData_FieldNumber_Value = 2,
1097 @interface GtalkAppData : GPBMessage
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;
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;
1111 #pragma mark - GtalkDataMessageStanza
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,
1145 @interface GtalkDataMessageStanza : GPBMessage
1148 @property(nonatomic, readwrite) int64_t rmqId;
1150 @property(nonatomic, readwrite) BOOL hasRmqId;
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;
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;
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;
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;
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;
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;
1182 @property(nonatomic, readwrite) BOOL fromTrustedServer;
1184 @property(nonatomic, readwrite) BOOL hasFromTrustedServer;
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;
1191 @property(nonatomic, readwrite) int32_t streamId;
1193 @property(nonatomic, readwrite) BOOL hasStreamId;
1195 @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
1197 @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
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;
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;
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;
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;
1219 @property(nonatomic, readwrite) int64_t deviceUserId;
1221 @property(nonatomic, readwrite) BOOL hasDeviceUserId;
1223 @property(nonatomic, readwrite) int32_t ttl;
1225 @property(nonatomic, readwrite) BOOL hasTtl;
1227 @property(nonatomic, readwrite) int64_t sent;
1229 @property(nonatomic, readwrite) BOOL hasSent;
1231 @property(nonatomic, readwrite) int32_t queued;
1233 @property(nonatomic, readwrite) BOOL hasQueued;
1235 @property(nonatomic, readwrite) int64_t status;
1237 @property(nonatomic, readwrite) BOOL hasStatus;
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;
1244 @property(nonatomic, readwrite) int32_t maxDelay;
1246 @property(nonatomic, readwrite) BOOL hasMaxDelay;
1248 @property(nonatomic, readwrite) int32_t actualDelay;
1250 @property(nonatomic, readwrite) BOOL hasActualDelay;
1252 @property(nonatomic, readwrite) BOOL immediateAck;
1254 @property(nonatomic, readwrite) BOOL hasImmediateAck;
1256 @property(nonatomic, readwrite) BOOL deliveryReceiptRequested;
1258 @property(nonatomic, readwrite) BOOL hasDeliveryReceiptRequested;
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;
1265 @property(nonatomic, readwrite) int64_t flags;
1267 @property(nonatomic, readwrite) BOOL hasFlags;
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;
1274 @property(nonatomic, readwrite) int32_t priority;
1276 @property(nonatomic, readwrite) BOOL hasPriority;
1279 #pragma mark - GtalkTalkMetadata
1281 typedef GPB_ENUM(GtalkTalkMetadata_FieldNumber) {
1282 GtalkTalkMetadata_FieldNumber_Foreground = 1,
1285 @interface GtalkTalkMetadata : GPBMessage
1288 @property(nonatomic, readwrite) BOOL foreground;
1290 @property(nonatomic, readwrite) BOOL hasForeground;
1293 #pragma mark - GtalkCellTower
1295 typedef GPB_ENUM(GtalkCellTower_FieldNumber) {
1296 GtalkCellTower_FieldNumber_Id_p = 1,
1297 GtalkCellTower_FieldNumber_KnownCongestionStatus = 2,
1300 DEPRECATED_ATTRIBUTE
1301 @interface GtalkCellTower : GPBMessage
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;
1309 @property(nonatomic, readwrite) int32_t knownCongestionStatus;
1311 @property(nonatomic, readwrite) BOOL hasKnownCongestionStatus;
1314 #pragma mark - GtalkClientEvent
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,
1328 @interface GtalkClientEvent : GPBMessage
1331 @property(nonatomic, readwrite) GtalkClientEvent_Type type;
1333 @property(nonatomic, readwrite) BOOL hasType;
1335 @property(nonatomic, readwrite) uint32_t numberDiscardedEvents;
1337 @property(nonatomic, readwrite) BOOL hasNumberDiscardedEvents;
1339 @property(nonatomic, readwrite) int32_t networkType;
1341 @property(nonatomic, readwrite) BOOL hasNetworkType;
1343 @property(nonatomic, readwrite) int32_t networkPort;
1345 @property(nonatomic, readwrite) BOOL hasNetworkPort;
1347 @property(nonatomic, readwrite) uint64_t timeConnectionStartedMs;
1349 @property(nonatomic, readwrite) BOOL hasTimeConnectionStartedMs;
1351 @property(nonatomic, readwrite) uint64_t timeConnectionEndedMs;
1353 @property(nonatomic, readwrite) BOOL hasTimeConnectionEndedMs;
1355 @property(nonatomic, readwrite) int32_t errorCode;
1357 @property(nonatomic, readwrite) BOOL hasErrorCode;
1359 @property(nonatomic, readwrite) uint64_t timeConnectionEstablishedMs;
1361 @property(nonatomic, readwrite) BOOL hasTimeConnectionEstablishedMs;
1363 @property(nonatomic, readwrite) GtalkClientEvent_McsReconnectAction mcsReconnectAction;
1365 @property(nonatomic, readwrite) BOOL hasMcsReconnectAction;
1368 NS_ASSUME_NONNULL_END
1372 #pragma clang diagnostic pop
1374 // @@protoc_insertion_point(global_scope)