#NEWLINE# def ByteSize( self ) : #NEWLINE# #INDENT# n = 0 #NEWLINE# if self . has_type_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthVarInt64 ( self . type_ ) ) #NEWLINE# #UNINDENT# if n . has_language_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthString ( len ( self . language_ ) ) ) #NEWLINE# #UNINDENT# if self . has_string_value_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthString ( len ( self . string_value_ ) ) ) #NEWLINE# #UNINDENT# if self . has_geo_ : #NEWLINE# #INDENT# n += ( 2 + self . geo_ . ByteSize ( ) ) #NEWLINE# #UNINDENT# return n