equal
deleted
inserted
replaced
21 |
21 |
22 __pychecker__ = """maxreturns=0 maxbranches=0 no-callinit |
22 __pychecker__ = """maxreturns=0 maxbranches=0 no-callinit |
23 unusednames=printElemNumber,debug_strs no-special""" |
23 unusednames=printElemNumber,debug_strs no-special""" |
24 |
24 |
25 class PropertyValue_ReferenceValuePathElement(ProtocolBuffer.ProtocolMessage): |
25 class PropertyValue_ReferenceValuePathElement(ProtocolBuffer.ProtocolMessage): |
|
26 has_type_ = 0 |
|
27 type_ = "" |
|
28 has_id_ = 0 |
|
29 id_ = 0 |
|
30 has_name_ = 0 |
|
31 name_ = "" |
|
32 |
26 def __init__(self, contents=None): |
33 def __init__(self, contents=None): |
27 self.type_ = "" |
|
28 self.id_ = 0 |
|
29 self.name_ = "" |
|
30 self.has_type_ = 0 |
|
31 self.has_id_ = 0 |
|
32 self.has_name_ = 0 |
|
33 if contents is not None: self.MergeFromString(contents) |
34 if contents is not None: self.MergeFromString(contents) |
34 |
35 |
35 def type(self): return self.type_ |
36 def type(self): return self.type_ |
36 |
37 |
37 def set_type(self, x): |
38 def set_type(self, x): |
144 if self.has_id_: res+=prefix+("id: %s\n" % self.DebugFormatInt64(self.id_)) |
145 if self.has_id_: res+=prefix+("id: %s\n" % self.DebugFormatInt64(self.id_)) |
145 if self.has_name_: res+=prefix+("name: %s\n" % self.DebugFormatString(self.name_)) |
146 if self.has_name_: res+=prefix+("name: %s\n" % self.DebugFormatString(self.name_)) |
146 return res |
147 return res |
147 |
148 |
148 class PropertyValue_PointValue(ProtocolBuffer.ProtocolMessage): |
149 class PropertyValue_PointValue(ProtocolBuffer.ProtocolMessage): |
|
150 has_x_ = 0 |
|
151 x_ = 0.0 |
|
152 has_y_ = 0 |
|
153 y_ = 0.0 |
|
154 |
149 def __init__(self, contents=None): |
155 def __init__(self, contents=None): |
150 self.x_ = 0.0 |
|
151 self.y_ = 0.0 |
|
152 self.has_x_ = 0 |
|
153 self.has_y_ = 0 |
|
154 if contents is not None: self.MergeFromString(contents) |
156 if contents is not None: self.MergeFromString(contents) |
155 |
157 |
156 def x(self): return self.x_ |
158 def x(self): return self.x_ |
157 |
159 |
158 def set_x(self, x): |
160 def set_x(self, x): |
242 if self.has_x_: res+=prefix+("x: %s\n" % self.DebugFormat(self.x_)) |
244 if self.has_x_: res+=prefix+("x: %s\n" % self.DebugFormat(self.x_)) |
243 if self.has_y_: res+=prefix+("y: %s\n" % self.DebugFormat(self.y_)) |
245 if self.has_y_: res+=prefix+("y: %s\n" % self.DebugFormat(self.y_)) |
244 return res |
246 return res |
245 |
247 |
246 class PropertyValue_UserValue(ProtocolBuffer.ProtocolMessage): |
248 class PropertyValue_UserValue(ProtocolBuffer.ProtocolMessage): |
|
249 has_email_ = 0 |
|
250 email_ = "" |
|
251 has_auth_domain_ = 0 |
|
252 auth_domain_ = "" |
|
253 has_nickname_ = 0 |
|
254 nickname_ = "" |
|
255 has_gaiaid_ = 0 |
|
256 gaiaid_ = 0 |
|
257 |
247 def __init__(self, contents=None): |
258 def __init__(self, contents=None): |
248 self.email_ = "" |
|
249 self.auth_domain_ = "" |
|
250 self.nickname_ = "" |
|
251 self.gaiaid_ = 0 |
|
252 self.has_email_ = 0 |
|
253 self.has_auth_domain_ = 0 |
|
254 self.has_nickname_ = 0 |
|
255 self.has_gaiaid_ = 0 |
|
256 if contents is not None: self.MergeFromString(contents) |
259 if contents is not None: self.MergeFromString(contents) |
257 |
260 |
258 def email(self): return self.email_ |
261 def email(self): return self.email_ |
259 |
262 |
260 def set_email(self, x): |
263 def set_email(self, x): |
397 if self.has_nickname_: res+=prefix+("nickname: %s\n" % self.DebugFormatString(self.nickname_)) |
400 if self.has_nickname_: res+=prefix+("nickname: %s\n" % self.DebugFormatString(self.nickname_)) |
398 if self.has_gaiaid_: res+=prefix+("gaiaid: %s\n" % self.DebugFormatInt64(self.gaiaid_)) |
401 if self.has_gaiaid_: res+=prefix+("gaiaid: %s\n" % self.DebugFormatInt64(self.gaiaid_)) |
399 return res |
402 return res |
400 |
403 |
401 class PropertyValue_ReferenceValue(ProtocolBuffer.ProtocolMessage): |
404 class PropertyValue_ReferenceValue(ProtocolBuffer.ProtocolMessage): |
|
405 has_app_ = 0 |
|
406 app_ = "" |
|
407 |
402 def __init__(self, contents=None): |
408 def __init__(self, contents=None): |
403 self.app_ = "" |
|
404 self.pathelement_ = [] |
409 self.pathelement_ = [] |
405 self.has_app_ = 0 |
|
406 if contents is not None: self.MergeFromString(contents) |
410 if contents is not None: self.MergeFromString(contents) |
407 |
411 |
408 def app(self): return self.app_ |
412 def app(self): return self.app_ |
409 |
413 |
410 def set_app(self, x): |
414 def set_app(self, x): |
458 initialized = 1 |
462 initialized = 1 |
459 if (not self.has_app_): |
463 if (not self.has_app_): |
460 initialized = 0 |
464 initialized = 0 |
461 if debug_strs is not None: |
465 if debug_strs is not None: |
462 debug_strs.append('Required field: app not set.') |
466 debug_strs.append('Required field: app not set.') |
463 for i in xrange(len(self.pathelement_)): |
467 for p in self.pathelement_: |
464 if (not self.pathelement_[i].IsInitialized(debug_strs)): initialized=0 |
468 if not p.IsInitialized(debug_strs): initialized=0 |
465 return initialized |
469 return initialized |
466 |
470 |
467 def ByteSize(self): |
471 def ByteSize(self): |
468 n = 0 |
472 n = 0 |
469 n += self.lengthString(len(self.app_)) |
473 n += self.lengthString(len(self.app_)) |
509 res+=prefix+"}\n" |
513 res+=prefix+"}\n" |
510 cnt+=1 |
514 cnt+=1 |
511 return res |
515 return res |
512 |
516 |
513 class PropertyValue(ProtocolBuffer.ProtocolMessage): |
517 class PropertyValue(ProtocolBuffer.ProtocolMessage): |
|
518 has_int64value_ = 0 |
|
519 int64value_ = 0 |
|
520 has_booleanvalue_ = 0 |
|
521 booleanvalue_ = 0 |
|
522 has_stringvalue_ = 0 |
|
523 stringvalue_ = "" |
|
524 has_doublevalue_ = 0 |
|
525 doublevalue_ = 0.0 |
|
526 has_pointvalue_ = 0 |
|
527 pointvalue_ = None |
|
528 has_uservalue_ = 0 |
|
529 uservalue_ = None |
|
530 has_referencevalue_ = 0 |
|
531 referencevalue_ = None |
|
532 |
514 def __init__(self, contents=None): |
533 def __init__(self, contents=None): |
515 self.int64value_ = 0 |
|
516 self.booleanvalue_ = 0 |
|
517 self.stringvalue_ = "" |
|
518 self.doublevalue_ = 0.0 |
|
519 self.pointvalue_ = None |
|
520 self.uservalue_ = None |
|
521 self.referencevalue_ = None |
|
522 self.has_int64value_ = 0 |
|
523 self.has_booleanvalue_ = 0 |
|
524 self.has_stringvalue_ = 0 |
|
525 self.has_doublevalue_ = 0 |
|
526 self.has_pointvalue_ = 0 |
|
527 self.has_uservalue_ = 0 |
|
528 self.has_referencevalue_ = 0 |
|
529 self.lazy_init_lock_ = thread.allocate_lock() |
534 self.lazy_init_lock_ = thread.allocate_lock() |
530 if contents is not None: self.MergeFromString(contents) |
535 if contents is not None: self.MergeFromString(contents) |
531 |
536 |
532 def int64value(self): return self.int64value_ |
537 def int64value(self): return self.int64value_ |
533 |
538 |
884 } |
889 } |
885 |
890 |
886 def Meaning_Name(cls, x): return cls._Meaning_NAMES.get(x, "") |
891 def Meaning_Name(cls, x): return cls._Meaning_NAMES.get(x, "") |
887 Meaning_Name = classmethod(Meaning_Name) |
892 Meaning_Name = classmethod(Meaning_Name) |
888 |
893 |
|
894 has_meaning_ = 0 |
|
895 meaning_ = 0 |
|
896 has_meaning_uri_ = 0 |
|
897 meaning_uri_ = "" |
|
898 has_name_ = 0 |
|
899 name_ = "" |
|
900 has_value_ = 0 |
|
901 has_multiple_ = 0 |
|
902 multiple_ = 0 |
|
903 |
889 def __init__(self, contents=None): |
904 def __init__(self, contents=None): |
890 self.meaning_ = 0 |
|
891 self.meaning_uri_ = "" |
|
892 self.name_ = "" |
|
893 self.value_ = PropertyValue() |
905 self.value_ = PropertyValue() |
894 self.multiple_ = 0 |
|
895 self.has_meaning_ = 0 |
|
896 self.has_meaning_uri_ = 0 |
|
897 self.has_name_ = 0 |
|
898 self.has_value_ = 0 |
|
899 self.has_multiple_ = 0 |
|
900 if contents is not None: self.MergeFromString(contents) |
906 if contents is not None: self.MergeFromString(contents) |
901 |
907 |
902 def meaning(self): return self.meaning_ |
908 def meaning(self): return self.meaning_ |
903 |
909 |
904 def set_meaning(self, x): |
910 def set_meaning(self, x): |
1096 ) |
1102 ) |
1097 |
1103 |
1098 _STYLE = """""" |
1104 _STYLE = """""" |
1099 _STYLE_CONTENT_TYPE = """""" |
1105 _STYLE_CONTENT_TYPE = """""" |
1100 class Path_Element(ProtocolBuffer.ProtocolMessage): |
1106 class Path_Element(ProtocolBuffer.ProtocolMessage): |
|
1107 has_type_ = 0 |
|
1108 type_ = "" |
|
1109 has_id_ = 0 |
|
1110 id_ = 0 |
|
1111 has_name_ = 0 |
|
1112 name_ = "" |
|
1113 |
1101 def __init__(self, contents=None): |
1114 def __init__(self, contents=None): |
1102 self.type_ = "" |
|
1103 self.id_ = 0 |
|
1104 self.name_ = "" |
|
1105 self.has_type_ = 0 |
|
1106 self.has_id_ = 0 |
|
1107 self.has_name_ = 0 |
|
1108 if contents is not None: self.MergeFromString(contents) |
1115 if contents is not None: self.MergeFromString(contents) |
1109 |
1116 |
1110 def type(self): return self.type_ |
1117 def type(self): return self.type_ |
1111 |
1118 |
1112 def set_type(self, x): |
1119 def set_type(self, x): |
1219 if self.has_id_: res+=prefix+("id: %s\n" % self.DebugFormatInt64(self.id_)) |
1226 if self.has_id_: res+=prefix+("id: %s\n" % self.DebugFormatInt64(self.id_)) |
1220 if self.has_name_: res+=prefix+("name: %s\n" % self.DebugFormatString(self.name_)) |
1227 if self.has_name_: res+=prefix+("name: %s\n" % self.DebugFormatString(self.name_)) |
1221 return res |
1228 return res |
1222 |
1229 |
1223 class Path(ProtocolBuffer.ProtocolMessage): |
1230 class Path(ProtocolBuffer.ProtocolMessage): |
|
1231 |
1224 def __init__(self, contents=None): |
1232 def __init__(self, contents=None): |
1225 self.element_ = [] |
1233 self.element_ = [] |
1226 if contents is not None: self.MergeFromString(contents) |
1234 if contents is not None: self.MergeFromString(contents) |
1227 |
1235 |
1228 def element_size(self): return len(self.element_) |
1236 def element_size(self): return len(self.element_) |
1259 def __ne__(self, other): |
1267 def __ne__(self, other): |
1260 return not (self == other) |
1268 return not (self == other) |
1261 |
1269 |
1262 def IsInitialized(self, debug_strs=None): |
1270 def IsInitialized(self, debug_strs=None): |
1263 initialized = 1 |
1271 initialized = 1 |
1264 for i in xrange(len(self.element_)): |
1272 for p in self.element_: |
1265 if (not self.element_[i].IsInitialized(debug_strs)): initialized=0 |
1273 if not p.IsInitialized(debug_strs): initialized=0 |
1266 return initialized |
1274 return initialized |
1267 |
1275 |
1268 def ByteSize(self): |
1276 def ByteSize(self): |
1269 n = 0 |
1277 n = 0 |
1270 n += 2 * len(self.element_) |
1278 n += 2 * len(self.element_) |
1328 ) |
1336 ) |
1329 |
1337 |
1330 _STYLE = """""" |
1338 _STYLE = """""" |
1331 _STYLE_CONTENT_TYPE = """""" |
1339 _STYLE_CONTENT_TYPE = """""" |
1332 class Reference(ProtocolBuffer.ProtocolMessage): |
1340 class Reference(ProtocolBuffer.ProtocolMessage): |
|
1341 has_app_ = 0 |
|
1342 app_ = "" |
|
1343 has_path_ = 0 |
|
1344 |
1333 def __init__(self, contents=None): |
1345 def __init__(self, contents=None): |
1334 self.app_ = "" |
|
1335 self.path_ = Path() |
1346 self.path_ = Path() |
1336 self.has_app_ = 0 |
|
1337 self.has_path_ = 0 |
|
1338 if contents is not None: self.MergeFromString(contents) |
1347 if contents is not None: self.MergeFromString(contents) |
1339 |
1348 |
1340 def app(self): return self.app_ |
1349 def app(self): return self.app_ |
1341 |
1350 |
1342 def set_app(self, x): |
1351 def set_app(self, x): |
1486 ) |
1495 ) |
1487 |
1496 |
1488 _STYLE = """""" |
1497 _STYLE = """""" |
1489 _STYLE_CONTENT_TYPE = """""" |
1498 _STYLE_CONTENT_TYPE = """""" |
1490 class User(ProtocolBuffer.ProtocolMessage): |
1499 class User(ProtocolBuffer.ProtocolMessage): |
|
1500 has_email_ = 0 |
|
1501 email_ = "" |
|
1502 has_auth_domain_ = 0 |
|
1503 auth_domain_ = "" |
|
1504 has_nickname_ = 0 |
|
1505 nickname_ = "" |
|
1506 has_gaiaid_ = 0 |
|
1507 gaiaid_ = 0 |
|
1508 |
1491 def __init__(self, contents=None): |
1509 def __init__(self, contents=None): |
1492 self.email_ = "" |
|
1493 self.auth_domain_ = "" |
|
1494 self.nickname_ = "" |
|
1495 self.gaiaid_ = 0 |
|
1496 self.has_email_ = 0 |
|
1497 self.has_auth_domain_ = 0 |
|
1498 self.has_nickname_ = 0 |
|
1499 self.has_gaiaid_ = 0 |
|
1500 if contents is not None: self.MergeFromString(contents) |
1510 if contents is not None: self.MergeFromString(contents) |
1501 |
1511 |
1502 def email(self): return self.email_ |
1512 def email(self): return self.email_ |
1503 |
1513 |
1504 def set_email(self, x): |
1514 def set_email(self, x): |
1681 } |
1691 } |
1682 |
1692 |
1683 def Kind_Name(cls, x): return cls._Kind_NAMES.get(x, "") |
1693 def Kind_Name(cls, x): return cls._Kind_NAMES.get(x, "") |
1684 Kind_Name = classmethod(Kind_Name) |
1694 Kind_Name = classmethod(Kind_Name) |
1685 |
1695 |
|
1696 has_key_ = 0 |
|
1697 has_entity_group_ = 0 |
|
1698 has_owner_ = 0 |
|
1699 owner_ = None |
|
1700 has_kind_ = 0 |
|
1701 kind_ = 0 |
|
1702 has_kind_uri_ = 0 |
|
1703 kind_uri_ = "" |
|
1704 |
1686 def __init__(self, contents=None): |
1705 def __init__(self, contents=None): |
1687 self.key_ = Reference() |
1706 self.key_ = Reference() |
1688 self.entity_group_ = Path() |
1707 self.entity_group_ = Path() |
1689 self.owner_ = None |
|
1690 self.kind_ = 0 |
|
1691 self.kind_uri_ = "" |
|
1692 self.property_ = [] |
1708 self.property_ = [] |
1693 self.raw_property_ = [] |
1709 self.raw_property_ = [] |
1694 self.has_key_ = 0 |
|
1695 self.has_entity_group_ = 0 |
|
1696 self.has_owner_ = 0 |
|
1697 self.has_kind_ = 0 |
|
1698 self.has_kind_uri_ = 0 |
|
1699 self.lazy_init_lock_ = thread.allocate_lock() |
1710 self.lazy_init_lock_ = thread.allocate_lock() |
1700 if contents is not None: self.MergeFromString(contents) |
1711 if contents is not None: self.MergeFromString(contents) |
1701 |
1712 |
1702 def key(self): return self.key_ |
1713 def key(self): return self.key_ |
1703 |
1714 |
1836 initialized = 0 |
1847 initialized = 0 |
1837 if debug_strs is not None: |
1848 if debug_strs is not None: |
1838 debug_strs.append('Required field: entity_group not set.') |
1849 debug_strs.append('Required field: entity_group not set.') |
1839 elif not self.entity_group_.IsInitialized(debug_strs): initialized = 0 |
1850 elif not self.entity_group_.IsInitialized(debug_strs): initialized = 0 |
1840 if (self.has_owner_ and not self.owner_.IsInitialized(debug_strs)): initialized = 0 |
1851 if (self.has_owner_ and not self.owner_.IsInitialized(debug_strs)): initialized = 0 |
1841 for i in xrange(len(self.property_)): |
1852 for p in self.property_: |
1842 if (not self.property_[i].IsInitialized(debug_strs)): initialized=0 |
1853 if not p.IsInitialized(debug_strs): initialized=0 |
1843 for i in xrange(len(self.raw_property_)): |
1854 for p in self.raw_property_: |
1844 if (not self.raw_property_[i].IsInitialized(debug_strs)): initialized=0 |
1855 if not p.IsInitialized(debug_strs): initialized=0 |
1845 return initialized |
1856 return initialized |
1846 |
1857 |
1847 def ByteSize(self): |
1858 def ByteSize(self): |
1848 n = 0 |
1859 n = 0 |
1849 n += self.lengthString(self.key_.ByteSize()) |
1860 n += self.lengthString(self.key_.ByteSize()) |
2037 ) |
2048 ) |
2038 |
2049 |
2039 _STYLE = """""" |
2050 _STYLE = """""" |
2040 _STYLE_CONTENT_TYPE = """""" |
2051 _STYLE_CONTENT_TYPE = """""" |
2041 class CompositeProperty(ProtocolBuffer.ProtocolMessage): |
2052 class CompositeProperty(ProtocolBuffer.ProtocolMessage): |
|
2053 has_index_id_ = 0 |
|
2054 index_id_ = 0 |
|
2055 |
2042 def __init__(self, contents=None): |
2056 def __init__(self, contents=None): |
2043 self.index_id_ = 0 |
|
2044 self.value_ = [] |
2057 self.value_ = [] |
2045 self.has_index_id_ = 0 |
|
2046 if contents is not None: self.MergeFromString(contents) |
2058 if contents is not None: self.MergeFromString(contents) |
2047 |
2059 |
2048 def index_id(self): return self.index_id_ |
2060 def index_id(self): return self.index_id_ |
2049 |
2061 |
2050 def set_index_id(self, x): |
2062 def set_index_id(self, x): |
2173 } |
2185 } |
2174 |
2186 |
2175 def Direction_Name(cls, x): return cls._Direction_NAMES.get(x, "") |
2187 def Direction_Name(cls, x): return cls._Direction_NAMES.get(x, "") |
2176 Direction_Name = classmethod(Direction_Name) |
2188 Direction_Name = classmethod(Direction_Name) |
2177 |
2189 |
|
2190 has_name_ = 0 |
|
2191 name_ = "" |
|
2192 has_direction_ = 0 |
|
2193 direction_ = 1 |
|
2194 |
2178 def __init__(self, contents=None): |
2195 def __init__(self, contents=None): |
2179 self.name_ = "" |
|
2180 self.direction_ = 1 |
|
2181 self.has_name_ = 0 |
|
2182 self.has_direction_ = 0 |
|
2183 if contents is not None: self.MergeFromString(contents) |
2196 if contents is not None: self.MergeFromString(contents) |
2184 |
2197 |
2185 def name(self): return self.name_ |
2198 def name(self): return self.name_ |
2186 |
2199 |
2187 def set_name(self, x): |
2200 def set_name(self, x): |
2270 if self.has_name_: res+=prefix+("name: %s\n" % self.DebugFormatString(self.name_)) |
2283 if self.has_name_: res+=prefix+("name: %s\n" % self.DebugFormatString(self.name_)) |
2271 if self.has_direction_: res+=prefix+("direction: %s\n" % self.DebugFormatInt32(self.direction_)) |
2284 if self.has_direction_: res+=prefix+("direction: %s\n" % self.DebugFormatInt32(self.direction_)) |
2272 return res |
2285 return res |
2273 |
2286 |
2274 class Index(ProtocolBuffer.ProtocolMessage): |
2287 class Index(ProtocolBuffer.ProtocolMessage): |
|
2288 has_entity_type_ = 0 |
|
2289 entity_type_ = "" |
|
2290 has_ancestor_ = 0 |
|
2291 ancestor_ = 0 |
|
2292 |
2275 def __init__(self, contents=None): |
2293 def __init__(self, contents=None): |
2276 self.entity_type_ = "" |
|
2277 self.ancestor_ = 0 |
|
2278 self.property_ = [] |
2294 self.property_ = [] |
2279 self.has_entity_type_ = 0 |
|
2280 self.has_ancestor_ = 0 |
|
2281 if contents is not None: self.MergeFromString(contents) |
2295 if contents is not None: self.MergeFromString(contents) |
2282 |
2296 |
2283 def entity_type(self): return self.entity_type_ |
2297 def entity_type(self): return self.entity_type_ |
2284 |
2298 |
2285 def set_entity_type(self, x): |
2299 def set_entity_type(self, x): |
2352 debug_strs.append('Required field: entity_type not set.') |
2366 debug_strs.append('Required field: entity_type not set.') |
2353 if (not self.has_ancestor_): |
2367 if (not self.has_ancestor_): |
2354 initialized = 0 |
2368 initialized = 0 |
2355 if debug_strs is not None: |
2369 if debug_strs is not None: |
2356 debug_strs.append('Required field: ancestor not set.') |
2370 debug_strs.append('Required field: ancestor not set.') |
2357 for i in xrange(len(self.property_)): |
2371 for p in self.property_: |
2358 if (not self.property_[i].IsInitialized(debug_strs)): initialized=0 |
2372 if not p.IsInitialized(debug_strs): initialized=0 |
2359 return initialized |
2373 return initialized |
2360 |
2374 |
2361 def ByteSize(self): |
2375 def ByteSize(self): |
2362 n = 0 |
2376 n = 0 |
2363 n += self.lengthString(len(self.entity_type_)) |
2377 n += self.lengthString(len(self.entity_type_)) |
2456 } |
2470 } |
2457 |
2471 |
2458 def State_Name(cls, x): return cls._State_NAMES.get(x, "") |
2472 def State_Name(cls, x): return cls._State_NAMES.get(x, "") |
2459 State_Name = classmethod(State_Name) |
2473 State_Name = classmethod(State_Name) |
2460 |
2474 |
|
2475 has_app_id_ = 0 |
|
2476 app_id_ = "" |
|
2477 has_id_ = 0 |
|
2478 id_ = 0 |
|
2479 has_definition_ = 0 |
|
2480 has_state_ = 0 |
|
2481 state_ = 0 |
|
2482 |
2461 def __init__(self, contents=None): |
2483 def __init__(self, contents=None): |
2462 self.app_id_ = "" |
|
2463 self.id_ = 0 |
|
2464 self.definition_ = Index() |
2484 self.definition_ = Index() |
2465 self.state_ = 0 |
|
2466 self.has_app_id_ = 0 |
|
2467 self.has_id_ = 0 |
|
2468 self.has_definition_ = 0 |
|
2469 self.has_state_ = 0 |
|
2470 if contents is not None: self.MergeFromString(contents) |
2485 if contents is not None: self.MergeFromString(contents) |
2471 |
2486 |
2472 def app_id(self): return self.app_id_ |
2487 def app_id(self): return self.app_id_ |
2473 |
2488 |
2474 def set_app_id(self, x): |
2489 def set_app_id(self, x): |