thirdparty/google_appengine/google/appengine/datastore/entity_pb.py
changeset 828 f5fd65cc3bf3
parent 149 f2e327a7c5de
child 1278 a7766286a7be
--- a/thirdparty/google_appengine/google/appengine/datastore/entity_pb.py	Tue Jan 20 01:12:43 2009 +0000
+++ b/thirdparty/google_appengine/google/appengine/datastore/entity_pb.py	Tue Jan 20 13:19:45 2009 +0000
@@ -86,12 +86,6 @@
     if self.has_name_ and self.name_ != x.name_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_type_):
@@ -193,12 +187,6 @@
     if self.has_y_ and self.y_ != x.y_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_x_):
@@ -326,12 +314,6 @@
     if self.has_gaiaid_ and self.gaiaid_ != x.gaiaid_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_email_):
@@ -452,12 +434,6 @@
       if e1 != e2: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_app_):
@@ -662,12 +638,6 @@
     if self.has_referencevalue_ and self.referencevalue_ != x.referencevalue_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (self.has_pointvalue_ and not self.pointvalue_.IsInitialized(debug_strs)): initialized = 0
@@ -856,6 +826,7 @@
 
   BLOB         =   14
   TEXT         =   15
+  BYTESTRING   =   16
   ATOM_CATEGORY =    1
   ATOM_LINK    =    2
   ATOM_TITLE   =    3
@@ -873,6 +844,7 @@
   _Meaning_NAMES = {
     14: "BLOB",
     15: "TEXT",
+    16: "BYTESTRING",
     1: "ATOM_CATEGORY",
     2: "ATOM_LINK",
     3: "ATOM_TITLE",
@@ -984,12 +956,6 @@
     if self.has_multiple_ and self.multiple_ != x.multiple_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_name_):
@@ -1167,12 +1133,6 @@
     if self.has_name_ and self.name_ != x.name_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_type_):
@@ -1261,12 +1221,6 @@
       if e1 != e2: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     for p in self.element_:
@@ -1380,12 +1334,6 @@
     if self.has_path_ and self.path_ != x.path_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_app_):
@@ -1577,12 +1525,6 @@
     if self.has_gaiaid_ and self.gaiaid_ != x.gaiaid_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_email_):
@@ -1830,12 +1772,6 @@
       if e1 != e2: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_key_):
@@ -2099,12 +2035,6 @@
       if e1 != e2: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_index_id_):
@@ -2233,12 +2163,6 @@
     if self.has_direction_ and self.direction_ != x.direction_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_name_):
@@ -2352,12 +2276,6 @@
       if e1 != e2: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_entity_type_):
@@ -2548,12 +2466,6 @@
     if self.has_state_ and self.state_ != x.state_: return 0
     return 1
 
-  def __eq__(self, other):
-    return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
-
-  def __ne__(self, other):
-    return not (self == other)
-
   def IsInitialized(self, debug_strs=None):
     initialized = 1
     if (not self.has_app_id_):