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.

617 lines
18 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_extensions.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 GtalkOtrItem;
  39. @class GtalkPhoto;
  40. @class GtalkRosterItem;
  41. @class GtalkSharedStatus_StatusList;
  42. NS_ASSUME_NONNULL_BEGIN
  43. #pragma mark - Enum GtalkRosterItem_SubscriptionType
  44. typedef GPB_ENUM(GtalkRosterItem_SubscriptionType) {
  45. GtalkRosterItem_SubscriptionType_None = 0,
  46. GtalkRosterItem_SubscriptionType_To = 1,
  47. GtalkRosterItem_SubscriptionType_From = 2,
  48. GtalkRosterItem_SubscriptionType_Both = 3,
  49. GtalkRosterItem_SubscriptionType_Remove = 4,
  50. };
  51. GPBEnumDescriptor *GtalkRosterItem_SubscriptionType_EnumDescriptor(void);
  52. /**
  53. * Checks to see if the given value is defined by the enum or was not known at
  54. * the time this source was generated.
  55. **/
  56. BOOL GtalkRosterItem_SubscriptionType_IsValidValue(int32_t value);
  57. #pragma mark - Enum GtalkRosterItem_AskType
  58. typedef GPB_ENUM(GtalkRosterItem_AskType) {
  59. GtalkRosterItem_AskType_Subscribe = 0,
  60. };
  61. GPBEnumDescriptor *GtalkRosterItem_AskType_EnumDescriptor(void);
  62. /**
  63. * Checks to see if the given value is defined by the enum or was not known at
  64. * the time this source was generated.
  65. **/
  66. BOOL GtalkRosterItem_AskType_IsValidValue(int32_t value);
  67. #pragma mark - Enum GtalkRosterItem_DisplayType
  68. typedef GPB_ENUM(GtalkRosterItem_DisplayType) {
  69. GtalkRosterItem_DisplayType_Blocked = 0,
  70. GtalkRosterItem_DisplayType_Hidden = 1,
  71. GtalkRosterItem_DisplayType_Pinned = 2,
  72. };
  73. GPBEnumDescriptor *GtalkRosterItem_DisplayType_EnumDescriptor(void);
  74. /**
  75. * Checks to see if the given value is defined by the enum or was not known at
  76. * the time this source was generated.
  77. **/
  78. BOOL GtalkRosterItem_DisplayType_IsValidValue(int32_t value);
  79. #pragma mark - Enum GtalkSharedStatus_ShowType
  80. typedef GPB_ENUM(GtalkSharedStatus_ShowType) {
  81. GtalkSharedStatus_ShowType_Default = 0,
  82. GtalkSharedStatus_ShowType_Dnd = 1,
  83. };
  84. GPBEnumDescriptor *GtalkSharedStatus_ShowType_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 GtalkSharedStatus_ShowType_IsValidValue(int32_t value);
  90. #pragma mark - Enum GtalkPostAuthBatchQuery_CapabilitiesExtFlags
  91. typedef GPB_ENUM(GtalkPostAuthBatchQuery_CapabilitiesExtFlags) {
  92. GtalkPostAuthBatchQuery_CapabilitiesExtFlags_HasVoiceV1 = 1,
  93. GtalkPostAuthBatchQuery_CapabilitiesExtFlags_HasVideoV1 = 2,
  94. GtalkPostAuthBatchQuery_CapabilitiesExtFlags_HasCameraV1 = 4,
  95. GtalkPostAuthBatchQuery_CapabilitiesExtFlags_HasPmucV1 = 8,
  96. };
  97. GPBEnumDescriptor *GtalkPostAuthBatchQuery_CapabilitiesExtFlags_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 GtalkPostAuthBatchQuery_CapabilitiesExtFlags_IsValidValue(int32_t value);
  103. #pragma mark - GtalkGtalkExtensionsRoot
  104. /**
  105. * Exposes the extension registry for this file.
  106. *
  107. * The base class provides:
  108. * @code
  109. * + (GPBExtensionRegistry *)extensionRegistry;
  110. * @endcode
  111. * which is a @c GPBExtensionRegistry that includes all the extensions defined by
  112. * this file and all files that it depends on.
  113. **/
  114. @interface GtalkGtalkExtensionsRoot : GPBRootObject
  115. @end
  116. #pragma mark - GtalkRosterQuery
  117. typedef GPB_ENUM(GtalkRosterQuery_FieldNumber) {
  118. GtalkRosterQuery_FieldNumber_Etag = 1,
  119. GtalkRosterQuery_FieldNumber_NotModified = 2,
  120. GtalkRosterQuery_FieldNumber_ItemArray = 3,
  121. GtalkRosterQuery_FieldNumber_AvatarWidth = 4,
  122. GtalkRosterQuery_FieldNumber_AvatarHeight = 5,
  123. };
  124. @interface GtalkRosterQuery : GPBMessage
  125. @property(nonatomic, readwrite, copy, null_resettable) NSString *etag;
  126. /** Test to see if @c etag has been set. */
  127. @property(nonatomic, readwrite) BOOL hasEtag;
  128. @property(nonatomic, readwrite) BOOL notModified;
  129. @property(nonatomic, readwrite) BOOL hasNotModified;
  130. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkRosterItem*> *itemArray;
  131. /** The number of items in @c itemArray without causing the array to be created. */
  132. @property(nonatomic, readonly) NSUInteger itemArray_Count;
  133. @property(nonatomic, readwrite) int32_t avatarWidth;
  134. @property(nonatomic, readwrite) BOOL hasAvatarWidth;
  135. @property(nonatomic, readwrite) int32_t avatarHeight;
  136. @property(nonatomic, readwrite) BOOL hasAvatarHeight;
  137. @end
  138. #pragma mark - GtalkRosterItem
  139. typedef GPB_ENUM(GtalkRosterItem_FieldNumber) {
  140. GtalkRosterItem_FieldNumber_Jid = 1,
  141. GtalkRosterItem_FieldNumber_Name = 2,
  142. GtalkRosterItem_FieldNumber_Subscription = 3,
  143. GtalkRosterItem_FieldNumber_Ask = 4,
  144. GtalkRosterItem_FieldNumber_GroupArray = 5,
  145. GtalkRosterItem_FieldNumber_QuickContact = 6,
  146. GtalkRosterItem_FieldNumber_Display = 7,
  147. GtalkRosterItem_FieldNumber_Rejected = 8,
  148. };
  149. @interface GtalkRosterItem : GPBMessage
  150. @property(nonatomic, readwrite, copy, null_resettable) NSString *jid;
  151. /** Test to see if @c jid has been set. */
  152. @property(nonatomic, readwrite) BOOL hasJid;
  153. @property(nonatomic, readwrite, copy, null_resettable) NSString *name;
  154. /** Test to see if @c name has been set. */
  155. @property(nonatomic, readwrite) BOOL hasName;
  156. @property(nonatomic, readwrite) GtalkRosterItem_SubscriptionType subscription;
  157. @property(nonatomic, readwrite) BOOL hasSubscription;
  158. @property(nonatomic, readwrite) GtalkRosterItem_AskType ask;
  159. @property(nonatomic, readwrite) BOOL hasAsk;
  160. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<NSString*> *groupArray;
  161. /** The number of items in @c groupArray without causing the array to be created. */
  162. @property(nonatomic, readonly) NSUInteger groupArray_Count;
  163. @property(nonatomic, readwrite) BOOL quickContact;
  164. @property(nonatomic, readwrite) BOOL hasQuickContact;
  165. @property(nonatomic, readwrite) GtalkRosterItem_DisplayType display;
  166. @property(nonatomic, readwrite) BOOL hasDisplay;
  167. @property(nonatomic, readwrite) BOOL rejected;
  168. @property(nonatomic, readwrite) BOOL hasRejected;
  169. @end
  170. #pragma mark - GtalkRmqLastId
  171. typedef GPB_ENUM(GtalkRmqLastId_FieldNumber) {
  172. GtalkRmqLastId_FieldNumber_Id_p = 1,
  173. };
  174. @interface GtalkRmqLastId : GPBMessage
  175. @property(nonatomic, readwrite) int64_t id_p;
  176. @property(nonatomic, readwrite) BOOL hasId_p;
  177. @end
  178. #pragma mark - GtalkRmqAck
  179. typedef GPB_ENUM(GtalkRmqAck_FieldNumber) {
  180. GtalkRmqAck_FieldNumber_Id_p = 1,
  181. };
  182. @interface GtalkRmqAck : GPBMessage
  183. @property(nonatomic, readwrite) int64_t id_p;
  184. @property(nonatomic, readwrite) BOOL hasId_p;
  185. @end
  186. #pragma mark - GtalkVCard
  187. typedef GPB_ENUM(GtalkVCard_FieldNumber) {
  188. GtalkVCard_FieldNumber_Version = 1,
  189. GtalkVCard_FieldNumber_FullName = 2,
  190. GtalkVCard_FieldNumber_Photo = 3,
  191. GtalkVCard_FieldNumber_AvatarHash = 4,
  192. GtalkVCard_FieldNumber_Modified = 5,
  193. };
  194. @interface GtalkVCard : GPBMessage
  195. @property(nonatomic, readwrite, copy, null_resettable) NSString *version;
  196. /** Test to see if @c version has been set. */
  197. @property(nonatomic, readwrite) BOOL hasVersion;
  198. @property(nonatomic, readwrite, copy, null_resettable) NSString *fullName;
  199. /** Test to see if @c fullName has been set. */
  200. @property(nonatomic, readwrite) BOOL hasFullName;
  201. @property(nonatomic, readwrite, strong, null_resettable) GtalkPhoto *photo;
  202. /** Test to see if @c photo has been set. */
  203. @property(nonatomic, readwrite) BOOL hasPhoto;
  204. @property(nonatomic, readwrite, copy, null_resettable) NSString *avatarHash;
  205. /** Test to see if @c avatarHash has been set. */
  206. @property(nonatomic, readwrite) BOOL hasAvatarHash;
  207. @property(nonatomic, readwrite) BOOL modified;
  208. @property(nonatomic, readwrite) BOOL hasModified;
  209. @end
  210. #pragma mark - GtalkPhoto
  211. typedef GPB_ENUM(GtalkPhoto_FieldNumber) {
  212. GtalkPhoto_FieldNumber_Type = 1,
  213. GtalkPhoto_FieldNumber_Data_p = 2,
  214. };
  215. @interface GtalkPhoto : GPBMessage
  216. @property(nonatomic, readwrite, copy, null_resettable) NSString *type;
  217. /** Test to see if @c type has been set. */
  218. @property(nonatomic, readwrite) BOOL hasType;
  219. @property(nonatomic, readwrite, copy, null_resettable) NSString *data_p;
  220. /** Test to see if @c data_p has been set. */
  221. @property(nonatomic, readwrite) BOOL hasData_p;
  222. @end
  223. #pragma mark - GtalkChatRead
  224. typedef GPB_ENUM(GtalkChatRead_FieldNumber) {
  225. GtalkChatRead_FieldNumber_User = 1,
  226. };
  227. @interface GtalkChatRead : GPBMessage
  228. @property(nonatomic, readwrite, copy, null_resettable) NSString *user;
  229. /** Test to see if @c user has been set. */
  230. @property(nonatomic, readwrite) BOOL hasUser;
  231. @end
  232. #pragma mark - GtalkChatClosed
  233. typedef GPB_ENUM(GtalkChatClosed_FieldNumber) {
  234. GtalkChatClosed_FieldNumber_User = 1,
  235. };
  236. @interface GtalkChatClosed : GPBMessage
  237. @property(nonatomic, readwrite, copy, null_resettable) NSString *user;
  238. /** Test to see if @c user has been set. */
  239. @property(nonatomic, readwrite) BOOL hasUser;
  240. @end
  241. #pragma mark - GtalkCapabilities
  242. typedef GPB_ENUM(GtalkCapabilities_FieldNumber) {
  243. GtalkCapabilities_FieldNumber_Node = 1,
  244. GtalkCapabilities_FieldNumber_Ver = 2,
  245. GtalkCapabilities_FieldNumber_Ext = 3,
  246. GtalkCapabilities_FieldNumber_Hash_p = 4,
  247. };
  248. @interface GtalkCapabilities : GPBMessage
  249. @property(nonatomic, readwrite, copy, null_resettable) NSString *node;
  250. /** Test to see if @c node has been set. */
  251. @property(nonatomic, readwrite) BOOL hasNode;
  252. @property(nonatomic, readwrite, copy, null_resettable) NSString *ver;
  253. /** Test to see if @c ver has been set. */
  254. @property(nonatomic, readwrite) BOOL hasVer;
  255. @property(nonatomic, readwrite, copy, null_resettable) NSString *ext;
  256. /** Test to see if @c ext has been set. */
  257. @property(nonatomic, readwrite) BOOL hasExt;
  258. @property(nonatomic, readwrite, copy, null_resettable) NSString *hash_p;
  259. /** Test to see if @c hash_p has been set. */
  260. @property(nonatomic, readwrite) BOOL hasHash_p;
  261. @end
  262. #pragma mark - GtalkSharedStatus
  263. typedef GPB_ENUM(GtalkSharedStatus_FieldNumber) {
  264. GtalkSharedStatus_FieldNumber_StatusMax = 1,
  265. GtalkSharedStatus_FieldNumber_StatusListMax = 2,
  266. GtalkSharedStatus_FieldNumber_StatusListContentsMax = 3,
  267. GtalkSharedStatus_FieldNumber_Status = 4,
  268. GtalkSharedStatus_FieldNumber_Show = 5,
  269. GtalkSharedStatus_FieldNumber_StatusListArray = 6,
  270. GtalkSharedStatus_FieldNumber_Invisible = 9,
  271. GtalkSharedStatus_FieldNumber_StatusMinVersion = 10,
  272. };
  273. @interface GtalkSharedStatus : GPBMessage
  274. @property(nonatomic, readwrite) int32_t statusMax;
  275. @property(nonatomic, readwrite) BOOL hasStatusMax;
  276. @property(nonatomic, readwrite) int32_t statusListMax;
  277. @property(nonatomic, readwrite) BOOL hasStatusListMax;
  278. @property(nonatomic, readwrite) int32_t statusListContentsMax;
  279. @property(nonatomic, readwrite) BOOL hasStatusListContentsMax;
  280. @property(nonatomic, readwrite, copy, null_resettable) NSString *status;
  281. /** Test to see if @c status has been set. */
  282. @property(nonatomic, readwrite) BOOL hasStatus;
  283. @property(nonatomic, readwrite) GtalkSharedStatus_ShowType show;
  284. @property(nonatomic, readwrite) BOOL hasShow;
  285. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkSharedStatus_StatusList*> *statusListArray;
  286. /** The number of items in @c statusListArray without causing the array to be created. */
  287. @property(nonatomic, readonly) NSUInteger statusListArray_Count;
  288. @property(nonatomic, readwrite) BOOL invisible;
  289. @property(nonatomic, readwrite) BOOL hasInvisible;
  290. @property(nonatomic, readwrite) int32_t statusMinVersion;
  291. @property(nonatomic, readwrite) BOOL hasStatusMinVersion;
  292. @end
  293. #pragma mark - GtalkSharedStatus_StatusList
  294. typedef GPB_ENUM(GtalkSharedStatus_StatusList_FieldNumber) {
  295. GtalkSharedStatus_StatusList_FieldNumber_Show = 7,
  296. GtalkSharedStatus_StatusList_FieldNumber_StatusArray = 8,
  297. };
  298. @interface GtalkSharedStatus_StatusList : GPBMessage
  299. @property(nonatomic, readwrite) GtalkSharedStatus_ShowType show;
  300. @property(nonatomic, readwrite) BOOL hasShow;
  301. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<NSString*> *statusArray;
  302. /** The number of items in @c statusArray without causing the array to be created. */
  303. @property(nonatomic, readonly) NSUInteger statusArray_Count;
  304. @end
  305. #pragma mark - GtalkOtrQuery
  306. typedef GPB_ENUM(GtalkOtrQuery_FieldNumber) {
  307. GtalkOtrQuery_FieldNumber_NosaveDefault = 1,
  308. GtalkOtrQuery_FieldNumber_ItemArray = 2,
  309. GtalkOtrQuery_FieldNumber_Etag = 3,
  310. GtalkOtrQuery_FieldNumber_NotModified = 4,
  311. };
  312. @interface GtalkOtrQuery : GPBMessage
  313. @property(nonatomic, readwrite) BOOL nosaveDefault;
  314. @property(nonatomic, readwrite) BOOL hasNosaveDefault;
  315. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GtalkOtrItem*> *itemArray;
  316. /** The number of items in @c itemArray without causing the array to be created. */
  317. @property(nonatomic, readonly) NSUInteger itemArray_Count;
  318. @property(nonatomic, readwrite, copy, null_resettable) NSString *etag;
  319. /** Test to see if @c etag has been set. */
  320. @property(nonatomic, readwrite) BOOL hasEtag;
  321. @property(nonatomic, readwrite) BOOL notModified;
  322. @property(nonatomic, readwrite) BOOL hasNotModified;
  323. @end
  324. #pragma mark - GtalkOtrItem
  325. typedef GPB_ENUM(GtalkOtrItem_FieldNumber) {
  326. GtalkOtrItem_FieldNumber_Jid = 1,
  327. GtalkOtrItem_FieldNumber_Nosave = 2,
  328. GtalkOtrItem_FieldNumber_ChangedByBuddy = 3,
  329. };
  330. @interface GtalkOtrItem : GPBMessage
  331. @property(nonatomic, readwrite, copy, null_resettable) NSString *jid;
  332. /** Test to see if @c jid has been set. */
  333. @property(nonatomic, readwrite) BOOL hasJid;
  334. @property(nonatomic, readwrite) BOOL nosave;
  335. @property(nonatomic, readwrite) BOOL hasNosave;
  336. @property(nonatomic, readwrite) BOOL changedByBuddy;
  337. @property(nonatomic, readwrite) BOOL hasChangedByBuddy;
  338. @end
  339. #pragma mark - GtalkIdle
  340. typedef GPB_ENUM(GtalkIdle_FieldNumber) {
  341. GtalkIdle_FieldNumber_Idle = 1,
  342. GtalkIdle_FieldNumber_Away = 2,
  343. };
  344. @interface GtalkIdle : GPBMessage
  345. @property(nonatomic, readwrite) BOOL idle;
  346. @property(nonatomic, readwrite) BOOL hasIdle;
  347. @property(nonatomic, readwrite) BOOL away;
  348. @property(nonatomic, readwrite) BOOL hasAway;
  349. @end
  350. #pragma mark - GtalkPostAuthBatchQuery
  351. typedef GPB_ENUM(GtalkPostAuthBatchQuery_FieldNumber) {
  352. GtalkPostAuthBatchQuery_FieldNumber_Available = 1,
  353. GtalkPostAuthBatchQuery_FieldNumber_DeviceIdle = 2,
  354. GtalkPostAuthBatchQuery_FieldNumber_MobileIndicator = 3,
  355. GtalkPostAuthBatchQuery_FieldNumber_SharedStatusVersion = 4,
  356. GtalkPostAuthBatchQuery_FieldNumber_RosterEtag = 5,
  357. GtalkPostAuthBatchQuery_FieldNumber_OtrEtag = 6,
  358. GtalkPostAuthBatchQuery_FieldNumber_AvatarHash = 7,
  359. GtalkPostAuthBatchQuery_FieldNumber_VcardQueryStanzaId = 8,
  360. GtalkPostAuthBatchQuery_FieldNumber_CapabilitiesExtFlags = 9,
  361. };
  362. @interface GtalkPostAuthBatchQuery : GPBMessage
  363. @property(nonatomic, readwrite) BOOL available;
  364. @property(nonatomic, readwrite) BOOL hasAvailable;
  365. @property(nonatomic, readwrite) BOOL deviceIdle;
  366. @property(nonatomic, readwrite) BOOL hasDeviceIdle;
  367. @property(nonatomic, readwrite) BOOL mobileIndicator;
  368. @property(nonatomic, readwrite) BOOL hasMobileIndicator;
  369. @property(nonatomic, readwrite) int32_t sharedStatusVersion;
  370. @property(nonatomic, readwrite) BOOL hasSharedStatusVersion;
  371. @property(nonatomic, readwrite, copy, null_resettable) NSString *rosterEtag;
  372. /** Test to see if @c rosterEtag has been set. */
  373. @property(nonatomic, readwrite) BOOL hasRosterEtag;
  374. @property(nonatomic, readwrite, copy, null_resettable) NSString *otrEtag;
  375. /** Test to see if @c otrEtag has been set. */
  376. @property(nonatomic, readwrite) BOOL hasOtrEtag;
  377. @property(nonatomic, readwrite, copy, null_resettable) NSString *avatarHash;
  378. /** Test to see if @c avatarHash has been set. */
  379. @property(nonatomic, readwrite) BOOL hasAvatarHash;
  380. @property(nonatomic, readwrite, copy, null_resettable) NSString *vcardQueryStanzaId;
  381. /** Test to see if @c vcardQueryStanzaId has been set. */
  382. @property(nonatomic, readwrite) BOOL hasVcardQueryStanzaId;
  383. @property(nonatomic, readwrite) int32_t capabilitiesExtFlags;
  384. @property(nonatomic, readwrite) BOOL hasCapabilitiesExtFlags;
  385. @end
  386. #pragma mark - GtalkStreamAck
  387. @interface GtalkStreamAck : GPBMessage
  388. @end
  389. #pragma mark - GtalkSelectiveAck
  390. typedef GPB_ENUM(GtalkSelectiveAck_FieldNumber) {
  391. GtalkSelectiveAck_FieldNumber_IdArray = 1,
  392. };
  393. @interface GtalkSelectiveAck : GPBMessage
  394. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<NSString*> *idArray;
  395. /** The number of items in @c idArray without causing the array to be created. */
  396. @property(nonatomic, readonly) NSUInteger idArray_Count;
  397. @end
  398. NS_ASSUME_NONNULL_END
  399. CF_EXTERN_C_END
  400. #pragma clang diagnostic pop
  401. // @@protoc_insertion_point(global_scope)