You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1374 lines
43 KiB

6 years ago
  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. // Generated by the protocol buffer compiler. DO NOT EDIT!
  17. // source: buzz/mobile/proto/gtalk_core.proto
  18. // This CPP symbol can be defined to use imports that match up to the framework
  19. // imports needed when using CocoaPods.
  20. #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
  21. #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
  22. #endif
  23. #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
  24. #import <Protobuf/GPBProtocolBuffers.h>
  25. #else
  26. #import "GPBProtocolBuffers.h"
  27. #endif
  28. #if GOOGLE_PROTOBUF_OBJC_VERSION < 30002
  29. #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
  30. #endif
  31. #if 30002 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
  32. #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
  33. #endif
  34. // @@protoc_insertion_point(imports)
  35. #pragma clang diagnostic push
  36. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  37. CF_EXTERN_C_BEGIN
  38. @class GtalkAppData;
  39. @class GtalkCellTower;
  40. @class GtalkClientEvent;
  41. @class GtalkErrorInfo;
  42. @class GtalkExtension;
  43. @class GtalkHeartbeatConfig;
  44. @class GtalkHeartbeatStat;
  45. @class GtalkPresenceStanza;
  46. @class GtalkSetting;
  47. NS_ASSUME_NONNULL_BEGIN
  48. #pragma mark - Enum GtalkLoginRequest_AuthService
  49. typedef GPB_ENUM(GtalkLoginRequest_AuthService) {
  50. GtalkLoginRequest_AuthService_Mail = 0,
  51. GtalkLoginRequest_AuthService_AndroidCloudToDeviceMessage = 1,
  52. GtalkLoginRequest_AuthService_AndroidId = 2,
  53. };
  54. GPBEnumDescriptor *GtalkLoginRequest_AuthService_EnumDescriptor(void);
  55. /**
  56. * Checks to see if the given value is defined by the enum or was not known at
  57. * the time this source was generated.
  58. **/
  59. BOOL GtalkLoginRequest_AuthService_IsValidValue(int32_t value);
  60. #pragma mark - Enum GtalkMessageStanza_MessageType
  61. typedef GPB_ENUM(GtalkMessageStanza_MessageType) {
  62. GtalkMessageStanza_MessageType_Normal = 0,
  63. GtalkMessageStanza_MessageType_Chat = 1,
  64. GtalkMessageStanza_MessageType_Groupchat = 2,
  65. GtalkMessageStanza_MessageType_Headline = 3,
  66. GtalkMessageStanza_MessageType_Error = 4,
  67. };
  68. GPBEnumDescriptor *GtalkMessageStanza_MessageType_EnumDescriptor(void);
  69. /**
  70. * Checks to see if the given value is defined by the enum or was not known at
  71. * the time this source was generated.
  72. **/
  73. BOOL GtalkMessageStanza_MessageType_IsValidValue(int32_t value);
  74. #pragma mark - Enum GtalkPresenceStanza_PresenceType
  75. typedef GPB_ENUM(GtalkPresenceStanza_PresenceType) {
  76. GtalkPresenceStanza_PresenceType_Unavailable = 0,
  77. GtalkPresenceStanza_PresenceType_Subscribe = 1,
  78. GtalkPresenceStanza_PresenceType_Subscribed = 2,
  79. GtalkPresenceStanza_PresenceType_Unsubscribe = 3,
  80. GtalkPresenceStanza_PresenceType_Unsubscribed = 4,
  81. GtalkPresenceStanza_PresenceType_Probe = 5,
  82. GtalkPresenceStanza_PresenceType_Error = 6,
  83. };
  84. GPBEnumDescriptor *GtalkPresenceStanza_PresenceType_EnumDescriptor(void);
  85. /**
  86. * Checks to see if the given value is defined by the enum or was not known at
  87. * the time this source was generated.
  88. **/
  89. BOOL GtalkPresenceStanza_PresenceType_IsValidValue(int32_t value);
  90. #pragma mark - Enum GtalkPresenceStanza_ShowType
  91. typedef GPB_ENUM(GtalkPresenceStanza_ShowType) {
  92. GtalkPresenceStanza_ShowType_Away = 0,
  93. GtalkPresenceStanza_ShowType_Chat = 1,
  94. GtalkPresenceStanza_ShowType_Dnd = 2,
  95. GtalkPresenceStanza_ShowType_Xa = 3,
  96. };
  97. GPBEnumDescriptor *GtalkPresenceStanza_ShowType_EnumDescriptor(void);
  98. /**
  99. * Checks to see if the given value is defined by the enum or was not known at
  100. * the time this source was generated.
  101. **/
  102. BOOL GtalkPresenceStanza_ShowType_IsValidValue(int32_t value);
  103. #pragma mark - Enum GtalkPresenceStanza_ClientType
  104. typedef GPB_ENUM(GtalkPresenceStanza_ClientType) {
  105. GtalkPresenceStanza_ClientType_Mobile = 0,
  106. GtalkPresenceStanza_ClientType_Android = 1,
  107. };
  108. GPBEnumDescriptor *GtalkPresenceStanza_ClientType_EnumDescriptor(void);
  109. /**
  110. * Checks to see if the given value is defined by the enum or was not known at
  111. * the time this source was generated.
  112. **/
  113. BOOL GtalkPresenceStanza_ClientType_IsValidValue(int32_t value);
  114. #pragma mark - Enum GtalkPresenceStanza_CapabilitiesFlags
  115. typedef GPB_ENUM(GtalkPresenceStanza_CapabilitiesFlags) {
  116. GtalkPresenceStanza_CapabilitiesFlags_HasVoiceV1 = 1,
  117. GtalkPresenceStanza_CapabilitiesFlags_HasVideoV1 = 2,
  118. GtalkPresenceStanza_CapabilitiesFlags_HasCameraV1 = 4,
  119. GtalkPresenceStanza_CapabilitiesFlags_HasPmucV1 = 8,
  120. };
  121. GPBEnumDescriptor *GtalkPresenceStanza_CapabilitiesFlags_EnumDescriptor(void);
  122. /**
  123. * Checks to see if the given value is defined by the enum or was not known at
  124. * the time this source was generated.
  125. **/
  126. BOOL GtalkPresenceStanza_CapabilitiesFlags_IsValidValue(int32_t value);
  127. #pragma mark - Enum GtalkBatchPresenceStanza_Type
  128. typedef GPB_ENUM(GtalkBatchPresenceStanza_Type) {
  129. GtalkBatchPresenceStanza_Type_Get = 0,
  130. GtalkBatchPresenceStanza_Type_Set = 1,
  131. };
  132. GPBEnumDescriptor *GtalkBatchPresenceStanza_Type_EnumDescriptor(void);
  133. /**
  134. * Checks to see if the given value is defined by the enum or was not known at
  135. * the time this source was generated.
  136. **/
  137. BOOL GtalkBatchPresenceStanza_Type_IsValidValue(int32_t value);
  138. #pragma mark - Enum GtalkIqStanza_IqType
  139. typedef GPB_ENUM(GtalkIqStanza_IqType) {
  140. GtalkIqStanza_IqType_Get = 0,
  141. GtalkIqStanza_IqType_Set = 1,
  142. GtalkIqStanza_IqType_Result = 2,
  143. GtalkIqStanza_IqType_Error = 3,
  144. };
  145. GPBEnumDescriptor *GtalkIqStanza_IqType_EnumDescriptor(void);
  146. /**
  147. * Checks to see if the given value is defined by the enum or was not known at
  148. * the time this source was generated.
  149. **/
  150. BOOL GtalkIqStanza_IqType_IsValidValue(int32_t value);
  151. #pragma mark - Enum GtalkClientEvent_Type
  152. typedef GPB_ENUM(GtalkClientEvent_Type) {
  153. GtalkClientEvent_Type_Unknown = 0,
  154. GtalkClientEvent_Type_DiscardedEvents = 1,
  155. GtalkClientEvent_Type_FailedConnection = 2,
  156. GtalkClientEvent_Type_SuccessfulConnection = 3,
  157. GtalkClientEvent_Type_McsReconnectRequest = 4,
  158. GtalkClientEvent_Type_FailedSocketCreationMcsReconnect = 5,
  159. GtalkClientEvent_Type_McsReconnectLimited = 6,
  160. };
  161. GPBEnumDescriptor *GtalkClientEvent_Type_EnumDescriptor(void);
  162. /**
  163. * Checks to see if the given value is defined by the enum or was not known at
  164. * the time this source was generated.
  165. **/
  166. BOOL GtalkClientEvent_Type_IsValidValue(int32_t value);
  167. #pragma mark - Enum GtalkClientEvent_McsReconnectAction
  168. typedef GPB_ENUM(GtalkClientEvent_McsReconnectAction) {
  169. GtalkClientEvent_McsReconnectAction_None = 0,
  170. GtalkClientEvent_McsReconnectAction_NotConnected = 1,
  171. GtalkClientEvent_McsReconnectAction_TooSoon = 2,
  172. };
  173. GPBEnumDescriptor *GtalkClientEvent_McsReconnectAction_EnumDescriptor(void);
  174. /**
  175. * Checks to see if the given value is defined by the enum or was not known at
  176. * the time this source was generated.
  177. **/
  178. BOOL GtalkClientEvent_McsReconnectAction_IsValidValue(int32_t value);
  179. #pragma mark - GtalkGtalkCoreRoot
  180. /**
  181. * Exposes the extension registry for this file.
  182. *
  183. * The base class provides:
  184. * @code
  185. * + (GPBExtensionRegistry *)extensionRegistry;
  186. * @endcode
  187. * which is a @c GPBExtensionRegistry that includes all the extensions defined by
  188. * this file and all files that it depends on.
  189. **/
  190. @interface GtalkGtalkCoreRoot : GPBRootObject
  191. @end
  192. #pragma mark - GtalkHeartbeatPing
  193. typedef GPB_ENUM(GtalkHeartbeatPing_FieldNumber) {
  194. GtalkHeartbeatPing_FieldNumber_StreamId = 1,
  195. GtalkHeartbeatPing_FieldNumber_LastStreamIdReceived = 2,
  196. GtalkHeartbeatPing_FieldNumber_Status = 3,
  197. GtalkHeartbeatPing_FieldNumber_CellTower = 4,
  198. GtalkHeartbeatPing_FieldNumber_IntervalMs = 5,
  199. };
  200. @interface GtalkHeartbeatPing : GPBMessage
  201. @property(nonatomic, readwrite) int32_t streamId;
  202. @property(nonatomic, readwrite) BOOL hasStreamId;
  203. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  204. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  205. @property(nonatomic, readwrite) int64_t status;
  206. @property(nonatomic, readwrite) BOOL hasStatus;
  207. @property(nonatomic, readwrite, strong, null_resettable) GtalkCellTower *cellTower DEPRECATED_ATTRIBUTE;
  208. /** Test to see if @c cellTower has been set. */
  209. @property(nonatomic, readwrite) BOOL hasCellTower DEPRECATED_ATTRIBUTE;
  210. @property(nonatomic, readwrite) int32_t intervalMs;
  211. @property(nonatomic, readwrite) BOOL hasIntervalMs;
  212. @end
  213. #pragma mark - GtalkHeartbeatAck
  214. typedef GPB_ENUM(GtalkHeartbeatAck_FieldNumber) {
  215. GtalkHeartbeatAck_FieldNumber_StreamId = 1,
  216. GtalkHeartbeatAck_FieldNumber_LastStreamIdReceived = 2,
  217. GtalkHeartbeatAck_FieldNumber_Status = 3,
  218. GtalkHeartbeatAck_FieldNumber_CellTower = 4,
  219. GtalkHeartbeatAck_FieldNumber_IntervalMs = 5,
  220. };
  221. @interface GtalkHeartbeatAck : GPBMessage
  222. @property(nonatomic, readwrite) int32_t streamId;
  223. @property(nonatomic, readwrite) BOOL hasStreamId;
  224. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  225. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  226. @property(nonatomic, readwrite) int64_t status;
  227. @property(nonatomic, readwrite) BOOL hasStatus;
  228. @property(nonatomic, readwrite, strong, null_resettable) GtalkCellTower *cellTower DEPRECATED_ATTRIBUTE;
  229. /** Test to see if @c cellTower has been set. */
  230. @property(nonatomic, readwrite) BOOL hasCellTower DEPRECATED_ATTRIBUTE;
  231. @property(nonatomic, readwrite) int32_t intervalMs;
  232. @property(nonatomic, readwrite) BOOL hasIntervalMs;
  233. @end
  234. #pragma mark - GtalkErrorInfo
  235. typedef GPB_ENUM(GtalkErrorInfo_FieldNumber) {
  236. GtalkErrorInfo_FieldNumber_Code = 1,
  237. GtalkErrorInfo_FieldNumber_Message = 2,
  238. GtalkErrorInfo_FieldNumber_Type = 3,
  239. GtalkErrorInfo_FieldNumber_Extension = 4,
  240. };
  241. @interface GtalkErrorInfo : GPBMessage
  242. @property(nonatomic, readwrite) int32_t code;
  243. @property(nonatomic, readwrite) BOOL hasCode;
  244. @property(nonatomic, readwrite, copy, null_resettable) NSString *message;
  245. /** Test to see if @c message has been set. */
  246. @property(nonatomic, readwrite) BOOL hasMessage;
  247. @property(nonatomic, readwrite, copy, null_resettable) NSString *type;
  248. /** Test to see if @c type has been set. */
  249. @property(nonatomic, readwrite) BOOL hasType;
  250. @property(nonatomic, readwrite, strong, null_resettable) GtalkExtension *extension;
  251. /** Test to see if @c extension has been set. */
  252. @property(nonatomic, readwrite) BOOL hasExtension;
  253. @end
  254. #pragma mark - GtalkSetting
  255. typedef GPB_ENUM(GtalkSetting_FieldNumber) {
  256. GtalkSetting_FieldNumber_Name = 1,
  257. GtalkSetting_FieldNumber_Value = 2,
  258. };
  259. @interface GtalkSetting : GPBMessage
  260. @property(nonatomic, readwrite, copy, null_resettable) NSString *name;
  261. /** Test to see if @c name has been set. */
  262. @property(nonatomic, readwrite) BOOL hasName;
  263. @property(nonatomic, readwrite, copy, null_resettable) NSString *value;
  264. /** Test to see if @c value has been set. */
  265. @property(nonatomic, readwrite) BOOL hasValue;
  266. @end
  267. #pragma mark - GtalkHeartbeatStat
  268. typedef GPB_ENUM(GtalkHeartbeatStat_FieldNumber) {
  269. GtalkHeartbeatStat_FieldNumber_Ip = 1,
  270. GtalkHeartbeatStat_FieldNumber_Timeout = 2,
  271. GtalkHeartbeatStat_FieldNumber_IntervalMs = 3,
  272. };
  273. @interface GtalkHeartbeatStat : GPBMessage
  274. @property(nonatomic, readwrite, copy, null_resettable) NSString *ip;
  275. /** Test to see if @c ip has been set. */
  276. @property(nonatomic, readwrite) BOOL hasIp;
  277. @property(nonatomic, readwrite) BOOL timeout;
  278. @property(nonatomic, readwrite) BOOL hasTimeout;
  279. @property(nonatomic, readwrite) int32_t intervalMs;
  280. @property(nonatomic, readwrite) BOOL hasIntervalMs;
  281. @end
  282. #pragma mark - GtalkHeartbeatConfig
  283. typedef GPB_ENUM(GtalkHeartbeatConfig_FieldNumber) {
  284. GtalkHeartbeatConfig_FieldNumber_UploadStat = 1,
  285. GtalkHeartbeatConfig_FieldNumber_Ip = 2,
  286. GtalkHeartbeatConfig_FieldNumber_IntervalMs = 3,
  287. };
  288. @interface GtalkHeartbeatConfig : GPBMessage
  289. @property(nonatomic, readwrite) BOOL uploadStat;
  290. @property(nonatomic, readwrite) BOOL hasUploadStat;
  291. @property(nonatomic, readwrite, copy, null_resettable) NSString *ip;
  292. /** Test to see if @c ip has been set. */
  293. @property(nonatomic, readwrite) BOOL hasIp;
  294. @property(nonatomic, readwrite) int32_t intervalMs;
  295. @property(nonatomic, readwrite) BOOL hasIntervalMs;
  296. @end
  297. #pragma mark - GtalkLoginRequest
  298. typedef GPB_ENUM(GtalkLoginRequest_FieldNumber) {
  299. GtalkLoginRequest_FieldNumber_Id_p = 1,
  300. GtalkLoginRequest_FieldNumber_Domain = 2,
  301. GtalkLoginRequest_FieldNumber_User = 3,
  302. GtalkLoginRequest_FieldNumber_Resource = 4,
  303. GtalkLoginRequest_FieldNumber_AuthToken = 5,
  304. GtalkLoginRequest_FieldNumber_DeviceId = 6,
  305. GtalkLoginRequest_FieldNumber_LastRmqId = 7,
  306. GtalkLoginRequest_FieldNumber_SettingArray = 8,
  307. GtalkLoginRequest_FieldNumber_ReceivedPersistentIdArray = 10,
  308. GtalkLoginRequest_FieldNumber_IncludeStreamIds = 11,
  309. GtalkLoginRequest_FieldNumber_HeartbeatStat = 13,
  310. GtalkLoginRequest_FieldNumber_UseRmq2 = 14,
  311. GtalkLoginRequest_FieldNumber_AccountId = 15,
  312. GtalkLoginRequest_FieldNumber_AuthService = 16,
  313. GtalkLoginRequest_FieldNumber_NetworkType = 17,
  314. GtalkLoginRequest_FieldNumber_Status = 18,
  315. GtalkLoginRequest_FieldNumber_TokenVersionInfo = 19,
  316. GtalkLoginRequest_FieldNumber_CellTower = 20,
  317. GtalkLoginRequest_FieldNumber_GcmStartTimeMs = 21,
  318. GtalkLoginRequest_FieldNumber_ClientEventArray = 22,
  319. GtalkLoginRequest_FieldNumber_OnFallback = 23,
  320. GtalkLoginRequest_FieldNumber_NoPendingUpstream = 24,
  321. GtalkLoginRequest_FieldNumber_ReconnectRequestId = 25,
  322. };
  323. @interface GtalkLoginRequest : GPBMessage
  324. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  325. /** Test to see if @c id_p has been set. */
  326. @property(nonatomic, readwrite) BOOL hasId_p;
  327. @property(nonatomic, readwrite, copy, null_resettable) NSString *domain;
  328. /** Test to see if @c domain has been set. */
  329. @property(nonatomic, readwrite) BOOL hasDomain;
  330. @property(nonatomic, readwrite, copy, null_resettable) NSString *user;
  331. /** Test to see if @c user has been set. */
  332. @property(nonatomic, readwrite) BOOL hasUser;
  333. @property(nonatomic, readwrite, copy, null_resettable) NSString *resource;
  334. /** Test to see if @c resource has been set. */
  335. @property(nonatomic, readwrite) BOOL hasResource;
  336. @property(nonatomic, readwrite, copy, null_resettable) NSString *authToken;
  337. /** Test to see if @c authToken has been set. */
  338. @property(nonatomic, readwrite) BOOL hasAuthToken;
  339. @property(nonatomic, readwrite, copy, null_resettable) NSString *deviceId;
  340. /** Test to see if @c deviceId has been set. */
  341. @property(nonatomic, readwrite) BOOL hasDeviceId;
  342. @property(nonatomic, readwrite) int64_t lastRmqId;
  343. @property(nonatomic, readwrite) BOOL hasLastRmqId;
  344. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkSetting*> *settingArray;
  345. /** The number of items in @c settingArray without causing the array to be created. */
  346. @property(nonatomic, readonly) NSUInteger settingArray_Count;
  347. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<NSString*> *receivedPersistentIdArray;
  348. /** The number of items in @c receivedPersistentIdArray without causing the array to be created. */
  349. @property(nonatomic, readonly) NSUInteger receivedPersistentIdArray_Count;
  350. @property(nonatomic, readwrite) BOOL includeStreamIds;
  351. @property(nonatomic, readwrite) BOOL hasIncludeStreamIds;
  352. @property(nonatomic, readwrite, strong, null_resettable) GtalkHeartbeatStat *heartbeatStat;
  353. /** Test to see if @c heartbeatStat has been set. */
  354. @property(nonatomic, readwrite) BOOL hasHeartbeatStat;
  355. @property(nonatomic, readwrite) BOOL useRmq2;
  356. @property(nonatomic, readwrite) BOOL hasUseRmq2;
  357. @property(nonatomic, readwrite) int64_t accountId;
  358. @property(nonatomic, readwrite) BOOL hasAccountId;
  359. @property(nonatomic, readwrite) GtalkLoginRequest_AuthService authService;
  360. @property(nonatomic, readwrite) BOOL hasAuthService;
  361. @property(nonatomic, readwrite) int32_t networkType;
  362. @property(nonatomic, readwrite) BOOL hasNetworkType;
  363. @property(nonatomic, readwrite) int64_t status;
  364. @property(nonatomic, readwrite) BOOL hasStatus;
  365. @property(nonatomic, readwrite, copy, null_resettable) NSString *tokenVersionInfo;
  366. /** Test to see if @c tokenVersionInfo has been set. */
  367. @property(nonatomic, readwrite) BOOL hasTokenVersionInfo;
  368. @property(nonatomic, readwrite, strong, null_resettable) GtalkCellTower *cellTower DEPRECATED_ATTRIBUTE;
  369. /** Test to see if @c cellTower has been set. */
  370. @property(nonatomic, readwrite) BOOL hasCellTower DEPRECATED_ATTRIBUTE;
  371. @property(nonatomic, readwrite) uint64_t gcmStartTimeMs;
  372. @property(nonatomic, readwrite) BOOL hasGcmStartTimeMs;
  373. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkClientEvent*> *clientEventArray;
  374. /** The number of items in @c clientEventArray without causing the array to be created. */
  375. @property(nonatomic, readonly) NSUInteger clientEventArray_Count;
  376. @property(nonatomic, readwrite) BOOL onFallback;
  377. @property(nonatomic, readwrite) BOOL hasOnFallback;
  378. @property(nonatomic, readwrite) BOOL noPendingUpstream;
  379. @property(nonatomic, readwrite) BOOL hasNoPendingUpstream;
  380. @property(nonatomic, readwrite) int32_t reconnectRequestId;
  381. @property(nonatomic, readwrite) BOOL hasReconnectRequestId;
  382. @end
  383. #pragma mark - GtalkLoginResponse
  384. typedef GPB_ENUM(GtalkLoginResponse_FieldNumber) {
  385. GtalkLoginResponse_FieldNumber_Id_p = 1,
  386. GtalkLoginResponse_FieldNumber_Jid = 2,
  387. GtalkLoginResponse_FieldNumber_Error = 3,
  388. GtalkLoginResponse_FieldNumber_SettingArray = 4,
  389. GtalkLoginResponse_FieldNumber_StreamId = 5,
  390. GtalkLoginResponse_FieldNumber_LastStreamIdReceived = 6,
  391. GtalkLoginResponse_FieldNumber_HeartbeatConfig = 7,
  392. GtalkLoginResponse_FieldNumber_ServerTimestamp = 8,
  393. };
  394. @interface GtalkLoginResponse : GPBMessage
  395. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  396. /** Test to see if @c id_p has been set. */
  397. @property(nonatomic, readwrite) BOOL hasId_p;
  398. @property(nonatomic, readwrite, copy, null_resettable) NSString *jid;
  399. /** Test to see if @c jid has been set. */
  400. @property(nonatomic, readwrite) BOOL hasJid;
  401. @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
  402. /** Test to see if @c error has been set. */
  403. @property(nonatomic, readwrite) BOOL hasError;
  404. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkSetting*> *settingArray;
  405. /** The number of items in @c settingArray without causing the array to be created. */
  406. @property(nonatomic, readonly) NSUInteger settingArray_Count;
  407. @property(nonatomic, readwrite) int32_t streamId;
  408. @property(nonatomic, readwrite) BOOL hasStreamId;
  409. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  410. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  411. @property(nonatomic, readwrite, strong, null_resettable) GtalkHeartbeatConfig *heartbeatConfig;
  412. /** Test to see if @c heartbeatConfig has been set. */
  413. @property(nonatomic, readwrite) BOOL hasHeartbeatConfig;
  414. @property(nonatomic, readwrite) int64_t serverTimestamp;
  415. @property(nonatomic, readwrite) BOOL hasServerTimestamp;
  416. @end
  417. #pragma mark - GtalkBindAccountRequest
  418. typedef GPB_ENUM(GtalkBindAccountRequest_FieldNumber) {
  419. GtalkBindAccountRequest_FieldNumber_Id_p = 1,
  420. GtalkBindAccountRequest_FieldNumber_Domain = 2,
  421. GtalkBindAccountRequest_FieldNumber_User = 3,
  422. GtalkBindAccountRequest_FieldNumber_Resource = 4,
  423. GtalkBindAccountRequest_FieldNumber_AuthToken = 5,
  424. GtalkBindAccountRequest_FieldNumber_PersistentId = 6,
  425. GtalkBindAccountRequest_FieldNumber_StreamId = 7,
  426. GtalkBindAccountRequest_FieldNumber_LastStreamIdReceived = 8,
  427. GtalkBindAccountRequest_FieldNumber_AccountId = 9,
  428. };
  429. @interface GtalkBindAccountRequest : GPBMessage
  430. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  431. /** Test to see if @c id_p has been set. */
  432. @property(nonatomic, readwrite) BOOL hasId_p;
  433. @property(nonatomic, readwrite, copy, null_resettable) NSString *domain;
  434. /** Test to see if @c domain has been set. */
  435. @property(nonatomic, readwrite) BOOL hasDomain;
  436. @property(nonatomic, readwrite, copy, null_resettable) NSString *user;
  437. /** Test to see if @c user has been set. */
  438. @property(nonatomic, readwrite) BOOL hasUser;
  439. @property(nonatomic, readwrite, copy, null_resettable) NSString *resource;
  440. /** Test to see if @c resource has been set. */
  441. @property(nonatomic, readwrite) BOOL hasResource;
  442. @property(nonatomic, readwrite, copy, null_resettable) NSString *authToken;
  443. /** Test to see if @c authToken has been set. */
  444. @property(nonatomic, readwrite) BOOL hasAuthToken;
  445. @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
  446. /** Test to see if @c persistentId has been set. */
  447. @property(nonatomic, readwrite) BOOL hasPersistentId;
  448. @property(nonatomic, readwrite) int32_t streamId;
  449. @property(nonatomic, readwrite) BOOL hasStreamId;
  450. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  451. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  452. @property(nonatomic, readwrite) int64_t accountId;
  453. @property(nonatomic, readwrite) BOOL hasAccountId;
  454. @end
  455. #pragma mark - GtalkBindAccountResponse
  456. typedef GPB_ENUM(GtalkBindAccountResponse_FieldNumber) {
  457. GtalkBindAccountResponse_FieldNumber_Id_p = 1,
  458. GtalkBindAccountResponse_FieldNumber_Jid = 2,
  459. GtalkBindAccountResponse_FieldNumber_Error = 3,
  460. GtalkBindAccountResponse_FieldNumber_StreamId = 4,
  461. GtalkBindAccountResponse_FieldNumber_LastStreamIdReceived = 5,
  462. };
  463. @interface GtalkBindAccountResponse : GPBMessage
  464. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  465. /** Test to see if @c id_p has been set. */
  466. @property(nonatomic, readwrite) BOOL hasId_p;
  467. @property(nonatomic, readwrite, copy, null_resettable) NSString *jid;
  468. /** Test to see if @c jid has been set. */
  469. @property(nonatomic, readwrite) BOOL hasJid;
  470. @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
  471. /** Test to see if @c error has been set. */
  472. @property(nonatomic, readwrite) BOOL hasError;
  473. @property(nonatomic, readwrite) int32_t streamId;
  474. @property(nonatomic, readwrite) BOOL hasStreamId;
  475. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  476. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  477. @end
  478. #pragma mark - GtalkStreamErrorStanza
  479. typedef GPB_ENUM(GtalkStreamErrorStanza_FieldNumber) {
  480. GtalkStreamErrorStanza_FieldNumber_Type = 1,
  481. GtalkStreamErrorStanza_FieldNumber_Text = 2,
  482. };
  483. @interface GtalkStreamErrorStanza : GPBMessage
  484. @property(nonatomic, readwrite, copy, null_resettable) NSString *type;
  485. /** Test to see if @c type has been set. */
  486. @property(nonatomic, readwrite) BOOL hasType;
  487. @property(nonatomic, readwrite, copy, null_resettable) NSString *text;
  488. /** Test to see if @c text has been set. */
  489. @property(nonatomic, readwrite) BOOL hasText;
  490. @end
  491. #pragma mark - GtalkClose
  492. @interface GtalkClose : GPBMessage
  493. @end
  494. #pragma mark - GtalkExtension
  495. typedef GPB_ENUM(GtalkExtension_FieldNumber) {
  496. GtalkExtension_FieldNumber_Id_p = 1,
  497. GtalkExtension_FieldNumber_Data_p = 2,
  498. };
  499. @interface GtalkExtension : GPBMessage
  500. @property(nonatomic, readwrite) int32_t id_p;
  501. @property(nonatomic, readwrite) BOOL hasId_p;
  502. @property(nonatomic, readwrite, copy, null_resettable) NSString *data_p;
  503. /** Test to see if @c data_p has been set. */
  504. @property(nonatomic, readwrite) BOOL hasData_p;
  505. @end
  506. #pragma mark - GtalkMessageStanza
  507. typedef GPB_ENUM(GtalkMessageStanza_FieldNumber) {
  508. GtalkMessageStanza_FieldNumber_RmqId = 1,
  509. GtalkMessageStanza_FieldNumber_Type = 2,
  510. GtalkMessageStanza_FieldNumber_Id_p = 3,
  511. GtalkMessageStanza_FieldNumber_From = 4,
  512. GtalkMessageStanza_FieldNumber_To = 5,
  513. GtalkMessageStanza_FieldNumber_Subject = 6,
  514. GtalkMessageStanza_FieldNumber_Body = 7,
  515. GtalkMessageStanza_FieldNumber_Thread = 8,
  516. GtalkMessageStanza_FieldNumber_Error = 9,
  517. GtalkMessageStanza_FieldNumber_ExtensionArray = 10,
  518. GtalkMessageStanza_FieldNumber_Nosave = 11,
  519. GtalkMessageStanza_FieldNumber_Timestamp = 12,
  520. GtalkMessageStanza_FieldNumber_PersistentId = 13,
  521. GtalkMessageStanza_FieldNumber_StreamId = 14,
  522. GtalkMessageStanza_FieldNumber_LastStreamIdReceived = 15,
  523. GtalkMessageStanza_FieldNumber_Read = 16,
  524. GtalkMessageStanza_FieldNumber_AccountId = 17,
  525. };
  526. @interface GtalkMessageStanza : GPBMessage
  527. @property(nonatomic, readwrite) int64_t rmqId;
  528. @property(nonatomic, readwrite) BOOL hasRmqId;
  529. @property(nonatomic, readwrite) GtalkMessageStanza_MessageType type;
  530. @property(nonatomic, readwrite) BOOL hasType;
  531. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  532. /** Test to see if @c id_p has been set. */
  533. @property(nonatomic, readwrite) BOOL hasId_p;
  534. @property(nonatomic, readwrite, copy, null_resettable) NSString *from;
  535. /** Test to see if @c from has been set. */
  536. @property(nonatomic, readwrite) BOOL hasFrom;
  537. @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
  538. /** Test to see if @c to has been set. */
  539. @property(nonatomic, readwrite) BOOL hasTo;
  540. @property(nonatomic, readwrite, copy, null_resettable) NSString *subject;
  541. /** Test to see if @c subject has been set. */
  542. @property(nonatomic, readwrite) BOOL hasSubject;
  543. @property(nonatomic, readwrite, copy, null_resettable) NSString *body;
  544. /** Test to see if @c body has been set. */
  545. @property(nonatomic, readwrite) BOOL hasBody;
  546. @property(nonatomic, readwrite, copy, null_resettable) NSString *thread;
  547. /** Test to see if @c thread has been set. */
  548. @property(nonatomic, readwrite) BOOL hasThread;
  549. @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
  550. /** Test to see if @c error has been set. */
  551. @property(nonatomic, readwrite) BOOL hasError;
  552. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkExtension*> *extensionArray;
  553. /** The number of items in @c extensionArray without causing the array to be created. */
  554. @property(nonatomic, readonly) NSUInteger extensionArray_Count;
  555. @property(nonatomic, readwrite) BOOL nosave;
  556. @property(nonatomic, readwrite) BOOL hasNosave;
  557. @property(nonatomic, readwrite) int64_t timestamp;
  558. @property(nonatomic, readwrite) BOOL hasTimestamp;
  559. @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
  560. /** Test to see if @c persistentId has been set. */
  561. @property(nonatomic, readwrite) BOOL hasPersistentId;
  562. @property(nonatomic, readwrite) int32_t streamId;
  563. @property(nonatomic, readwrite) BOOL hasStreamId;
  564. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  565. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  566. @property(nonatomic, readwrite) BOOL read;
  567. @property(nonatomic, readwrite) BOOL hasRead;
  568. @property(nonatomic, readwrite) int64_t accountId;
  569. @property(nonatomic, readwrite) BOOL hasAccountId;
  570. @end
  571. #pragma mark - GtalkPresenceStanza
  572. typedef GPB_ENUM(GtalkPresenceStanza_FieldNumber) {
  573. GtalkPresenceStanza_FieldNumber_RmqId = 1,
  574. GtalkPresenceStanza_FieldNumber_Type = 2,
  575. GtalkPresenceStanza_FieldNumber_Id_p = 3,
  576. GtalkPresenceStanza_FieldNumber_From = 4,
  577. GtalkPresenceStanza_FieldNumber_To = 5,
  578. GtalkPresenceStanza_FieldNumber_Show = 6,
  579. GtalkPresenceStanza_FieldNumber_Status = 7,
  580. GtalkPresenceStanza_FieldNumber_Priority = 8,
  581. GtalkPresenceStanza_FieldNumber_Error = 9,
  582. GtalkPresenceStanza_FieldNumber_ExtensionArray = 10,
  583. GtalkPresenceStanza_FieldNumber_Client = 11,
  584. GtalkPresenceStanza_FieldNumber_AvatarHash = 12,
  585. GtalkPresenceStanza_FieldNumber_PersistentId = 13,
  586. GtalkPresenceStanza_FieldNumber_StreamId = 14,
  587. GtalkPresenceStanza_FieldNumber_LastStreamIdReceived = 15,
  588. GtalkPresenceStanza_FieldNumber_CapabilitiesFlags = 16,
  589. GtalkPresenceStanza_FieldNumber_AccountId = 17,
  590. };
  591. @interface GtalkPresenceStanza : GPBMessage
  592. @property(nonatomic, readwrite) int64_t rmqId;
  593. @property(nonatomic, readwrite) BOOL hasRmqId;
  594. @property(nonatomic, readwrite) GtalkPresenceStanza_PresenceType type;
  595. @property(nonatomic, readwrite) BOOL hasType;
  596. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  597. /** Test to see if @c id_p has been set. */
  598. @property(nonatomic, readwrite) BOOL hasId_p;
  599. @property(nonatomic, readwrite, copy, null_resettable) NSString *from;
  600. /** Test to see if @c from has been set. */
  601. @property(nonatomic, readwrite) BOOL hasFrom;
  602. @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
  603. /** Test to see if @c to has been set. */
  604. @property(nonatomic, readwrite) BOOL hasTo;
  605. @property(nonatomic, readwrite) GtalkPresenceStanza_ShowType show;
  606. @property(nonatomic, readwrite) BOOL hasShow;
  607. @property(nonatomic, readwrite, copy, null_resettable) NSString *status;
  608. /** Test to see if @c status has been set. */
  609. @property(nonatomic, readwrite) BOOL hasStatus;
  610. @property(nonatomic, readwrite) int32_t priority;
  611. @property(nonatomic, readwrite) BOOL hasPriority;
  612. @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
  613. /** Test to see if @c error has been set. */
  614. @property(nonatomic, readwrite) BOOL hasError;
  615. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkExtension*> *extensionArray;
  616. /** The number of items in @c extensionArray without causing the array to be created. */
  617. @property(nonatomic, readonly) NSUInteger extensionArray_Count;
  618. @property(nonatomic, readwrite) GtalkPresenceStanza_ClientType client;
  619. @property(nonatomic, readwrite) BOOL hasClient;
  620. @property(nonatomic, readwrite, copy, null_resettable) NSString *avatarHash;
  621. /** Test to see if @c avatarHash has been set. */
  622. @property(nonatomic, readwrite) BOOL hasAvatarHash;
  623. @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
  624. /** Test to see if @c persistentId has been set. */
  625. @property(nonatomic, readwrite) BOOL hasPersistentId;
  626. @property(nonatomic, readwrite) int32_t streamId;
  627. @property(nonatomic, readwrite) BOOL hasStreamId;
  628. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  629. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  630. @property(nonatomic, readwrite) int32_t capabilitiesFlags;
  631. @property(nonatomic, readwrite) BOOL hasCapabilitiesFlags;
  632. @property(nonatomic, readwrite) int64_t accountId;
  633. @property(nonatomic, readwrite) BOOL hasAccountId;
  634. @end
  635. #pragma mark - GtalkBatchPresenceStanza
  636. typedef GPB_ENUM(GtalkBatchPresenceStanza_FieldNumber) {
  637. GtalkBatchPresenceStanza_FieldNumber_Id_p = 1,
  638. GtalkBatchPresenceStanza_FieldNumber_To = 2,
  639. GtalkBatchPresenceStanza_FieldNumber_PresenceArray = 3,
  640. GtalkBatchPresenceStanza_FieldNumber_PersistentId = 4,
  641. GtalkBatchPresenceStanza_FieldNumber_StreamId = 5,
  642. GtalkBatchPresenceStanza_FieldNumber_LastStreamIdReceived = 6,
  643. GtalkBatchPresenceStanza_FieldNumber_AccountId = 7,
  644. GtalkBatchPresenceStanza_FieldNumber_Type = 8,
  645. GtalkBatchPresenceStanza_FieldNumber_Error = 9,
  646. };
  647. @interface GtalkBatchPresenceStanza : GPBMessage
  648. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  649. /** Test to see if @c id_p has been set. */
  650. @property(nonatomic, readwrite) BOOL hasId_p;
  651. @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
  652. /** Test to see if @c to has been set. */
  653. @property(nonatomic, readwrite) BOOL hasTo;
  654. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkPresenceStanza*> *presenceArray;
  655. /** The number of items in @c presenceArray without causing the array to be created. */
  656. @property(nonatomic, readonly) NSUInteger presenceArray_Count;
  657. @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
  658. /** Test to see if @c persistentId has been set. */
  659. @property(nonatomic, readwrite) BOOL hasPersistentId;
  660. @property(nonatomic, readwrite) int32_t streamId;
  661. @property(nonatomic, readwrite) BOOL hasStreamId;
  662. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  663. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  664. @property(nonatomic, readwrite) int64_t accountId;
  665. @property(nonatomic, readwrite) BOOL hasAccountId;
  666. @property(nonatomic, readwrite) GtalkBatchPresenceStanza_Type type;
  667. @property(nonatomic, readwrite) BOOL hasType;
  668. @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
  669. /** Test to see if @c error has been set. */
  670. @property(nonatomic, readwrite) BOOL hasError;
  671. @end
  672. #pragma mark - GtalkIqStanza
  673. typedef GPB_ENUM(GtalkIqStanza_FieldNumber) {
  674. GtalkIqStanza_FieldNumber_RmqId = 1,
  675. GtalkIqStanza_FieldNumber_Type = 2,
  676. GtalkIqStanza_FieldNumber_Id_p = 3,
  677. GtalkIqStanza_FieldNumber_From = 4,
  678. GtalkIqStanza_FieldNumber_To = 5,
  679. GtalkIqStanza_FieldNumber_Error = 6,
  680. GtalkIqStanza_FieldNumber_Extension = 7,
  681. GtalkIqStanza_FieldNumber_PersistentId = 8,
  682. GtalkIqStanza_FieldNumber_StreamId = 9,
  683. GtalkIqStanza_FieldNumber_LastStreamIdReceived = 10,
  684. GtalkIqStanza_FieldNumber_AccountId = 11,
  685. GtalkIqStanza_FieldNumber_Status = 12,
  686. };
  687. @interface GtalkIqStanza : GPBMessage
  688. @property(nonatomic, readwrite) int64_t rmqId;
  689. @property(nonatomic, readwrite) BOOL hasRmqId;
  690. @property(nonatomic, readwrite) GtalkIqStanza_IqType type;
  691. @property(nonatomic, readwrite) BOOL hasType;
  692. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  693. /** Test to see if @c id_p has been set. */
  694. @property(nonatomic, readwrite) BOOL hasId_p;
  695. @property(nonatomic, readwrite, copy, null_resettable) NSString *from;
  696. /** Test to see if @c from has been set. */
  697. @property(nonatomic, readwrite) BOOL hasFrom;
  698. @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
  699. /** Test to see if @c to has been set. */
  700. @property(nonatomic, readwrite) BOOL hasTo;
  701. @property(nonatomic, readwrite, strong, null_resettable) GtalkErrorInfo *error;
  702. /** Test to see if @c error has been set. */
  703. @property(nonatomic, readwrite) BOOL hasError;
  704. @property(nonatomic, readwrite, strong, null_resettable) GtalkExtension *extension;
  705. /** Test to see if @c extension has been set. */
  706. @property(nonatomic, readwrite) BOOL hasExtension;
  707. @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
  708. /** Test to see if @c persistentId has been set. */
  709. @property(nonatomic, readwrite) BOOL hasPersistentId;
  710. @property(nonatomic, readwrite) int32_t streamId;
  711. @property(nonatomic, readwrite) BOOL hasStreamId;
  712. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  713. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  714. @property(nonatomic, readwrite) int64_t accountId;
  715. @property(nonatomic, readwrite) BOOL hasAccountId;
  716. @property(nonatomic, readwrite) int64_t status;
  717. @property(nonatomic, readwrite) BOOL hasStatus;
  718. @end
  719. #pragma mark - GtalkAppData
  720. typedef GPB_ENUM(GtalkAppData_FieldNumber) {
  721. GtalkAppData_FieldNumber_Key = 1,
  722. GtalkAppData_FieldNumber_Value = 2,
  723. };
  724. @interface GtalkAppData : GPBMessage
  725. @property(nonatomic, readwrite, copy, null_resettable) NSString *key;
  726. /** Test to see if @c key has been set. */
  727. @property(nonatomic, readwrite) BOOL hasKey;
  728. @property(nonatomic, readwrite, copy, null_resettable) NSString *value;
  729. /** Test to see if @c value has been set. */
  730. @property(nonatomic, readwrite) BOOL hasValue;
  731. @end
  732. #pragma mark - GtalkDataMessageStanza
  733. typedef GPB_ENUM(GtalkDataMessageStanza_FieldNumber) {
  734. GtalkDataMessageStanza_FieldNumber_RmqId = 1,
  735. GtalkDataMessageStanza_FieldNumber_Id_p = 2,
  736. GtalkDataMessageStanza_FieldNumber_From = 3,
  737. GtalkDataMessageStanza_FieldNumber_To = 4,
  738. GtalkDataMessageStanza_FieldNumber_Category = 5,
  739. GtalkDataMessageStanza_FieldNumber_Token = 6,
  740. GtalkDataMessageStanza_FieldNumber_AppDataArray = 7,
  741. GtalkDataMessageStanza_FieldNumber_FromTrustedServer = 8,
  742. GtalkDataMessageStanza_FieldNumber_PersistentId = 9,
  743. GtalkDataMessageStanza_FieldNumber_StreamId = 10,
  744. GtalkDataMessageStanza_FieldNumber_LastStreamIdReceived = 11,
  745. GtalkDataMessageStanza_FieldNumber_Permission = 12,
  746. GtalkDataMessageStanza_FieldNumber_RegId = 13,
  747. GtalkDataMessageStanza_FieldNumber_PkgSignature = 14,
  748. GtalkDataMessageStanza_FieldNumber_ClientId = 15,
  749. GtalkDataMessageStanza_FieldNumber_DeviceUserId = 16,
  750. GtalkDataMessageStanza_FieldNumber_Ttl = 17,
  751. GtalkDataMessageStanza_FieldNumber_Sent = 18,
  752. GtalkDataMessageStanza_FieldNumber_Queued = 19,
  753. GtalkDataMessageStanza_FieldNumber_Status = 20,
  754. GtalkDataMessageStanza_FieldNumber_RawData = 21,
  755. GtalkDataMessageStanza_FieldNumber_MaxDelay = 22,
  756. GtalkDataMessageStanza_FieldNumber_ActualDelay = 23,
  757. GtalkDataMessageStanza_FieldNumber_ImmediateAck = 24,
  758. GtalkDataMessageStanza_FieldNumber_DeliveryReceiptRequested = 25,
  759. GtalkDataMessageStanza_FieldNumber_ExternalMessageId = 26,
  760. GtalkDataMessageStanza_FieldNumber_Flags = 27,
  761. GtalkDataMessageStanza_FieldNumber_CellTower = 28,
  762. GtalkDataMessageStanza_FieldNumber_Priority = 29,
  763. };
  764. @interface GtalkDataMessageStanza : GPBMessage
  765. @property(nonatomic, readwrite) int64_t rmqId;
  766. @property(nonatomic, readwrite) BOOL hasRmqId;
  767. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  768. /** Test to see if @c id_p has been set. */
  769. @property(nonatomic, readwrite) BOOL hasId_p;
  770. @property(nonatomic, readwrite, copy, null_resettable) NSString *from;
  771. /** Test to see if @c from has been set. */
  772. @property(nonatomic, readwrite) BOOL hasFrom;
  773. @property(nonatomic, readwrite, copy, null_resettable) NSString *to;
  774. /** Test to see if @c to has been set. */
  775. @property(nonatomic, readwrite) BOOL hasTo;
  776. @property(nonatomic, readwrite, copy, null_resettable) NSString *category;
  777. /** Test to see if @c category has been set. */
  778. @property(nonatomic, readwrite) BOOL hasCategory;
  779. @property(nonatomic, readwrite, copy, null_resettable) NSString *token;
  780. /** Test to see if @c token has been set. */
  781. @property(nonatomic, readwrite) BOOL hasToken;
  782. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkAppData*> *appDataArray;
  783. /** The number of items in @c appDataArray without causing the array to be created. */
  784. @property(nonatomic, readonly) NSUInteger appDataArray_Count;
  785. @property(nonatomic, readwrite) BOOL fromTrustedServer;
  786. @property(nonatomic, readwrite) BOOL hasFromTrustedServer;
  787. @property(nonatomic, readwrite, copy, null_resettable) NSString *persistentId;
  788. /** Test to see if @c persistentId has been set. */
  789. @property(nonatomic, readwrite) BOOL hasPersistentId;
  790. @property(nonatomic, readwrite) int32_t streamId;
  791. @property(nonatomic, readwrite) BOOL hasStreamId;
  792. @property(nonatomic, readwrite) int32_t lastStreamIdReceived;
  793. @property(nonatomic, readwrite) BOOL hasLastStreamIdReceived;
  794. @property(nonatomic, readwrite, copy, null_resettable) NSString *permission;
  795. /** Test to see if @c permission has been set. */
  796. @property(nonatomic, readwrite) BOOL hasPermission;
  797. @property(nonatomic, readwrite, copy, null_resettable) NSString *regId;
  798. /** Test to see if @c regId has been set. */
  799. @property(nonatomic, readwrite) BOOL hasRegId;
  800. @property(nonatomic, readwrite, copy, null_resettable) NSString *pkgSignature;
  801. /** Test to see if @c pkgSignature has been set. */
  802. @property(nonatomic, readwrite) BOOL hasPkgSignature;
  803. @property(nonatomic, readwrite, copy, null_resettable) NSString *clientId;
  804. /** Test to see if @c clientId has been set. */
  805. @property(nonatomic, readwrite) BOOL hasClientId;
  806. @property(nonatomic, readwrite) int64_t deviceUserId;
  807. @property(nonatomic, readwrite) BOOL hasDeviceUserId;
  808. @property(nonatomic, readwrite) int32_t ttl;
  809. @property(nonatomic, readwrite) BOOL hasTtl;
  810. @property(nonatomic, readwrite) int64_t sent;
  811. @property(nonatomic, readwrite) BOOL hasSent;
  812. @property(nonatomic, readwrite) int32_t queued;
  813. @property(nonatomic, readwrite) BOOL hasQueued;
  814. @property(nonatomic, readwrite) int64_t status;
  815. @property(nonatomic, readwrite) BOOL hasStatus;
  816. @property(nonatomic, readwrite, copy, null_resettable) NSData *rawData;
  817. /** Test to see if @c rawData has been set. */
  818. @property(nonatomic, readwrite) BOOL hasRawData;
  819. @property(nonatomic, readwrite) int32_t maxDelay;
  820. @property(nonatomic, readwrite) BOOL hasMaxDelay;
  821. @property(nonatomic, readwrite) int32_t actualDelay;
  822. @property(nonatomic, readwrite) BOOL hasActualDelay;
  823. @property(nonatomic, readwrite) BOOL immediateAck;
  824. @property(nonatomic, readwrite) BOOL hasImmediateAck;
  825. @property(nonatomic, readwrite) BOOL deliveryReceiptRequested;
  826. @property(nonatomic, readwrite) BOOL hasDeliveryReceiptRequested;
  827. @property(nonatomic, readwrite, copy, null_resettable) NSString *externalMessageId;
  828. /** Test to see if @c externalMessageId has been set. */
  829. @property(nonatomic, readwrite) BOOL hasExternalMessageId;
  830. @property(nonatomic, readwrite) int64_t flags;
  831. @property(nonatomic, readwrite) BOOL hasFlags;
  832. @property(nonatomic, readwrite, strong, null_resettable) GtalkCellTower *cellTower DEPRECATED_ATTRIBUTE;
  833. /** Test to see if @c cellTower has been set. */
  834. @property(nonatomic, readwrite) BOOL hasCellTower DEPRECATED_ATTRIBUTE;
  835. @property(nonatomic, readwrite) int32_t priority;
  836. @property(nonatomic, readwrite) BOOL hasPriority;
  837. @end
  838. #pragma mark - GtalkTalkMetadata
  839. typedef GPB_ENUM(GtalkTalkMetadata_FieldNumber) {
  840. GtalkTalkMetadata_FieldNumber_Foreground = 1,
  841. };
  842. @interface GtalkTalkMetadata : GPBMessage
  843. @property(nonatomic, readwrite) BOOL foreground;
  844. @property(nonatomic, readwrite) BOOL hasForeground;
  845. @end
  846. #pragma mark - GtalkCellTower
  847. typedef GPB_ENUM(GtalkCellTower_FieldNumber) {
  848. GtalkCellTower_FieldNumber_Id_p = 1,
  849. GtalkCellTower_FieldNumber_KnownCongestionStatus = 2,
  850. };
  851. DEPRECATED_ATTRIBUTE
  852. @interface GtalkCellTower : GPBMessage
  853. @property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;
  854. /** Test to see if @c id_p has been set. */
  855. @property(nonatomic, readwrite) BOOL hasId_p;
  856. @property(nonatomic, readwrite) int32_t knownCongestionStatus;
  857. @property(nonatomic, readwrite) BOOL hasKnownCongestionStatus;
  858. @end
  859. #pragma mark - GtalkClientEvent
  860. typedef GPB_ENUM(GtalkClientEvent_FieldNumber) {
  861. GtalkClientEvent_FieldNumber_Type = 1,
  862. GtalkClientEvent_FieldNumber_NumberDiscardedEvents = 100,
  863. GtalkClientEvent_FieldNumber_NetworkType = 200,
  864. GtalkClientEvent_FieldNumber_NetworkPort = 201,
  865. GtalkClientEvent_FieldNumber_TimeConnectionStartedMs = 202,
  866. GtalkClientEvent_FieldNumber_TimeConnectionEndedMs = 203,
  867. GtalkClientEvent_FieldNumber_ErrorCode = 204,
  868. GtalkClientEvent_FieldNumber_TimeConnectionEstablishedMs = 300,
  869. GtalkClientEvent_FieldNumber_McsReconnectAction = 400,
  870. };
  871. @interface GtalkClientEvent : GPBMessage
  872. @property(nonatomic, readwrite) GtalkClientEvent_Type type;
  873. @property(nonatomic, readwrite) BOOL hasType;
  874. @property(nonatomic, readwrite) uint32_t numberDiscardedEvents;
  875. @property(nonatomic, readwrite) BOOL hasNumberDiscardedEvents;
  876. @property(nonatomic, readwrite) int32_t networkType;
  877. @property(nonatomic, readwrite) BOOL hasNetworkType;
  878. @property(nonatomic, readwrite) int32_t networkPort;
  879. @property(nonatomic, readwrite) BOOL hasNetworkPort;
  880. @property(nonatomic, readwrite) uint64_t timeConnectionStartedMs;
  881. @property(nonatomic, readwrite) BOOL hasTimeConnectionStartedMs;
  882. @property(nonatomic, readwrite) uint64_t timeConnectionEndedMs;
  883. @property(nonatomic, readwrite) BOOL hasTimeConnectionEndedMs;
  884. @property(nonatomic, readwrite) int32_t errorCode;
  885. @property(nonatomic, readwrite) BOOL hasErrorCode;
  886. @property(nonatomic, readwrite) uint64_t timeConnectionEstablishedMs;
  887. @property(nonatomic, readwrite) BOOL hasTimeConnectionEstablishedMs;
  888. @property(nonatomic, readwrite) GtalkClientEvent_McsReconnectAction mcsReconnectAction;
  889. @property(nonatomic, readwrite) BOOL hasMcsReconnectAction;
  890. @end
  891. NS_ASSUME_NONNULL_END
  892. CF_EXTERN_C_END
  893. #pragma clang diagnostic pop
  894. // @@protoc_insertion_point(global_scope)