thirdparty/google_appengine/google/appengine/api/urlfetch_service_pb.py
changeset 828 f5fd65cc3bf3
parent 297 35211afcd563
child 1278 a7766286a7be
equal deleted inserted replaced
827:88c186556a80 828:f5fd65cc3bf3
    55 
    55 
    56   def Equals(self, x):
    56   def Equals(self, x):
    57     if x is self: return 1
    57     if x is self: return 1
    58     return 1
    58     return 1
    59 
    59 
    60   def __eq__(self, other):
       
    61     return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
       
    62 
       
    63   def __ne__(self, other):
       
    64     return not (self == other)
       
    65 
       
    66   def IsInitialized(self, debug_strs=None):
    60   def IsInitialized(self, debug_strs=None):
    67     initialized = 1
    61     initialized = 1
    68     return initialized
    62     return initialized
    69 
    63 
    70   def ByteSize(self):
    64   def ByteSize(self):
   143     if self.has_key_ != x.has_key_: return 0
   137     if self.has_key_ != x.has_key_: return 0
   144     if self.has_key_ and self.key_ != x.key_: return 0
   138     if self.has_key_ and self.key_ != x.key_: return 0
   145     if self.has_value_ != x.has_value_: return 0
   139     if self.has_value_ != x.has_value_: return 0
   146     if self.has_value_ and self.value_ != x.value_: return 0
   140     if self.has_value_ and self.value_ != x.value_: return 0
   147     return 1
   141     return 1
   148 
       
   149   def __eq__(self, other):
       
   150     return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
       
   151 
       
   152   def __ne__(self, other):
       
   153     return not (self == other)
       
   154 
   142 
   155   def IsInitialized(self, debug_strs=None):
   143   def IsInitialized(self, debug_strs=None):
   156     initialized = 1
   144     initialized = 1
   157     if (not self.has_key_):
   145     if (not self.has_key_):
   158       initialized = 0
   146       initialized = 0
   317     if self.has_payload_ != x.has_payload_: return 0
   305     if self.has_payload_ != x.has_payload_: return 0
   318     if self.has_payload_ and self.payload_ != x.payload_: return 0
   306     if self.has_payload_ and self.payload_ != x.payload_: return 0
   319     if self.has_followredirects_ != x.has_followredirects_: return 0
   307     if self.has_followredirects_ != x.has_followredirects_: return 0
   320     if self.has_followredirects_ and self.followredirects_ != x.followredirects_: return 0
   308     if self.has_followredirects_ and self.followredirects_ != x.followredirects_: return 0
   321     return 1
   309     return 1
   322 
       
   323   def __eq__(self, other):
       
   324     return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
       
   325 
       
   326   def __ne__(self, other):
       
   327     return not (self == other)
       
   328 
   310 
   329   def IsInitialized(self, debug_strs=None):
   311   def IsInitialized(self, debug_strs=None):
   330     initialized = 1
   312     initialized = 1
   331     if (not self.has_method_):
   313     if (not self.has_method_):
   332       initialized = 0
   314       initialized = 0
   495     if self.has_key_ and self.key_ != x.key_: return 0
   477     if self.has_key_ and self.key_ != x.key_: return 0
   496     if self.has_value_ != x.has_value_: return 0
   478     if self.has_value_ != x.has_value_: return 0
   497     if self.has_value_ and self.value_ != x.value_: return 0
   479     if self.has_value_ and self.value_ != x.value_: return 0
   498     return 1
   480     return 1
   499 
   481 
   500   def __eq__(self, other):
       
   501     return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
       
   502 
       
   503   def __ne__(self, other):
       
   504     return not (self == other)
       
   505 
       
   506   def IsInitialized(self, debug_strs=None):
   482   def IsInitialized(self, debug_strs=None):
   507     initialized = 1
   483     initialized = 1
   508     if (not self.has_key_):
   484     if (not self.has_key_):
   509       initialized = 0
   485       initialized = 0
   510       if debug_strs is not None:
   486       if debug_strs is not None:
   633     for e1, e2 in zip(self.header_, x.header_):
   609     for e1, e2 in zip(self.header_, x.header_):
   634       if e1 != e2: return 0
   610       if e1 != e2: return 0
   635     if self.has_contentwastruncated_ != x.has_contentwastruncated_: return 0
   611     if self.has_contentwastruncated_ != x.has_contentwastruncated_: return 0
   636     if self.has_contentwastruncated_ and self.contentwastruncated_ != x.contentwastruncated_: return 0
   612     if self.has_contentwastruncated_ and self.contentwastruncated_ != x.contentwastruncated_: return 0
   637     return 1
   613     return 1
   638 
       
   639   def __eq__(self, other):
       
   640     return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other)
       
   641 
       
   642   def __ne__(self, other):
       
   643     return not (self == other)
       
   644 
   614 
   645   def IsInitialized(self, debug_strs=None):
   615   def IsInitialized(self, debug_strs=None):
   646     initialized = 1
   616     initialized = 1
   647     if (not self.has_statuscode_):
   617     if (not self.has_statuscode_):
   648       initialized = 0
   618       initialized = 0