#NEWLINE# def ByteSize( self ) : #NEWLINE# #INDENT# n = 0 #NEWLINE# n += self . lengthString ( len ( self . topic_ ) ) #NEWLINE# if self . has_max_results_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthVarInt64 ( self . max_results_ ) ) #NEWLINE# #UNINDENT# if self . has_max_results_set_ : #NEWLINE# #INDENT# n += 3 #NEWLINE# #UNINDENT# if self . has_expires_before_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthVarInt64 ( self . expires_before_ ) ) #NEWLINE# #UNINDENT# if self . has_subscription_id_start_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthString ( len ( self . subscription_id_start_ ) ) ) #NEWLINE# #UNINDENT# if self . has_app_id_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthString ( len ( self . app_id_ ) ) ) #NEWLINE# #UNINDENT# return ( n + 1 )