'Add costs from the Cost protobuf.'

def AddCost(self, cost_proto):

    self.__throttle.AddTransfer(INDEX_MODIFICATIONS, cost_proto.index_writes())
    self.__throttle.AddTransfer(ENTITIES_MODIFIED, cost_proto.entity_writes())
    self.__throttle.AddTransfer(BANDWIDTH_UP, cost_proto.entity_write_bytes())
