code: def to_pb(self):
          
          condition_kwargs = {"predicate_filter": self.base_filter.to_pb()}
          if self.true_filter is not None:
              condition_kwargs["true_filter"] = self.true_filter.to_pb()
          if self.false_filter is not None:
              condition_kwargs["false_filter"] = self.false_filter.to_pb()
          condition = data_v2_pb2.RowFilter.Condition(**condition_kwargs)
          return data_v2_pb2.RowFilter(condition=condition)
docs: Converts the row filter to a protobuf.
  
          :rtype: :class:`.data_v2_pb2.RowFilter`
          :returns: The converted current object.